0.15.1 • Published 8 months ago

@freshworks/core v0.15.1

Weekly downloads
1,781
License
MIT
Repository
github
Last release
8 months ago

@freshworks/core

npm version npm

ember install @freshworks/core

Contains the core design modules of Freshworks DSM:

  1. variables
  2. animations
  3. utilities

To import these stylesheets in your host app, add any/all of the following to your app.scss as per your requirement.

@import "nucleus/variables";
@import "nucleus/animations";
@import "nucleus/utilities";

To import them in another dependent addon (e.g @freshdesk/button), add the following to the addon's index.js:

treeForAddonStyles(tree) {
  let coreStyleTree = new Funnel(this.getCoreStylesPath(), {
    destDir: 'nucleus'
  });
  return mergeTrees([coreStyleTree, tree]);
},

getCoreStylesPath() {
  let pkgPath = path.dirname(require.resolve(`@freshworks/core/package.json`));
  return path.join(pkgPath, 'app/styles');
}

REASON:

@nucleus/core's app style funnel needs to be merged with the addon's style funnel in order for those files to be recognised by ember-cli-sass. More info here

0.15.1

8 months ago

0.14.0

3 years ago

0.12.0

3 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.7.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.12

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.1-alpha.31

4 years ago

0.1.1-alpha.30

4 years ago

0.1.1-alpha.29

4 years ago

0.1.0

5 years ago