@elliemae/ds-icon 1.57.1-rc.0 → 2.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ICONS_COLORS = {
3
+ const ICONS_COLORS = {
4
4
  NEUTRAL: ['neutral', '900'],
5
5
  WHITE: ['neutral', '0'],
6
6
  DANGER: ['danger', '900'],
@@ -10,4 +10,3 @@ var ICONS_COLORS = {
10
10
  };
11
11
 
12
12
  module.exports = ICONS_COLORS;
13
- //# sourceMappingURL=DSIconColor.js.map
package/cjs/DSIconSize.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ICONS_SIZES = {
3
+ const ICONS_SIZES = {
4
4
  XXS: 'xxs',
5
5
  XS: 'xs',
6
6
  S: 's',
@@ -11,4 +11,3 @@ var ICONS_SIZES = {
11
11
  };
12
12
 
13
13
  module.exports = ICONS_SIZES;
14
- //# sourceMappingURL=DSIconSize.js.map
package/cjs/index.js CHANGED
@@ -12,5 +12,4 @@ var index = {
12
12
 
13
13
  exports.DSIconColors = DSIconColor;
14
14
  exports.DSIconSizes = DSIconSize;
15
- exports['default'] = index;
16
- //# sourceMappingURL=index.js.map
15
+ exports["default"] = index;
@@ -1,4 +1,4 @@
1
- var ICONS_COLORS = {
1
+ const ICONS_COLORS = {
2
2
  NEUTRAL: ['neutral', '900'],
3
3
  WHITE: ['neutral', '0'],
4
4
  DANGER: ['danger', '900'],
@@ -8,4 +8,3 @@ var ICONS_COLORS = {
8
8
  };
9
9
 
10
10
  export { ICONS_COLORS as default };
11
- //# sourceMappingURL=DSIconColor.js.map
package/esm/DSIconSize.js CHANGED
@@ -1,4 +1,4 @@
1
- var ICONS_SIZES = {
1
+ const ICONS_SIZES = {
2
2
  XXS: 'xxs',
3
3
  XS: 'xs',
4
4
  S: 's',
@@ -9,4 +9,3 @@ var ICONS_SIZES = {
9
9
  };
10
10
 
11
11
  export { ICONS_SIZES as default };
12
- //# sourceMappingURL=DSIconSize.js.map
package/esm/index.js CHANGED
@@ -9,4 +9,3 @@ var index = {
9
9
  };
10
10
 
11
11
  export { index as default };
12
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,14 +1,38 @@
1
1
  {
2
2
  "name": "@elliemae/ds-icon",
3
- "version": "1.57.1-rc.0",
3
+ "version": "2.0.0-alpha.11",
4
4
  "license": "MIT",
5
- "description": "Ellie Mae - Dim Sum - Icon",
6
- "module": "esm/index.js",
7
- "main": "cjs/index.js",
5
+ "description": "ICE MT - Dimsum - Icon",
6
+ "module": "./esm/index.js",
7
+ "main": "./cjs/index.js",
8
+ "types": "./types/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./esm/index.js",
12
+ "require": "./cjs/index.js"
13
+ },
14
+ "./DSIconSize": {
15
+ "import": "./esm/DSIconSize.js",
16
+ "require": "./cjs/DSIconSize.js"
17
+ },
18
+ "./DSIconColor": {
19
+ "import": "./esm/DSIconColor.js",
20
+ "require": "./cjs/DSIconColor.js"
21
+ }
22
+ },
8
23
  "sideEffects": [
9
24
  "*.css",
10
25
  "*.scss"
11
26
  ],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
30
+ },
31
+ "engines": {
32
+ "npm": ">=7",
33
+ "node": ">=14"
34
+ },
35
+ "author": "ICE MT",
12
36
  "scripts": {
13
37
  "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
14
38
  "prebuild": "exit 0",
@@ -17,6 +41,7 @@
17
41
  },
18
42
  "publishConfig": {
19
43
  "access": "public",
20
- "directory": "dist"
44
+ "directory": "dist",
45
+ "generateSubmodules": true
21
46
  }
22
47
  }
@@ -0,0 +1,9 @@
1
+ declare const ICONS_COLORS: {
2
+ NEUTRAL: string[];
3
+ WHITE: string[];
4
+ DANGER: string[];
5
+ WARNING: string[];
6
+ SUCCESS: string[];
7
+ PRIMARY: string[];
8
+ };
9
+ export default ICONS_COLORS;
@@ -0,0 +1,10 @@
1
+ declare const ICONS_SIZES: {
2
+ XXS: string;
3
+ XS: string;
4
+ S: string;
5
+ M: string;
6
+ L: string;
7
+ XL: string;
8
+ XXL: string;
9
+ };
10
+ export default ICONS_SIZES;
@@ -0,0 +1,22 @@
1
+ export { default as DSIconColors } from './DSIconColor';
2
+ export { default as DSIconSizes } from './DSIconSize';
3
+ declare const _default: {
4
+ DSIconColors: {
5
+ NEUTRAL: string[];
6
+ WHITE: string[];
7
+ DANGER: string[];
8
+ WARNING: string[];
9
+ SUCCESS: string[];
10
+ PRIMARY: string[];
11
+ };
12
+ DSIconSizes: {
13
+ XXS: string;
14
+ XS: string;
15
+ S: string;
16
+ M: string;
17
+ L: string;
18
+ XL: string;
19
+ XXL: string;
20
+ };
21
+ };
22
+ export default _default;
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@elliemae/ds-icon/DSIconColor",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ],
7
- "private": true,
8
- "main": "../cjs/DSIconColor.js",
9
- "module": "../esm/DSIconColor.js"
10
- }
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@elliemae/ds-icon/DSIconSize",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ],
7
- "private": true,
8
- "main": "../cjs/DSIconSize.js",
9
- "module": "../esm/DSIconSize.js"
10
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSIconColor.js","sources":["../../src/DSIconColor.tsx"],"sourcesContent":["const ICONS_COLORS = {\n NEUTRAL: ['neutral', '900'],\n WHITE: ['neutral', '0'],\n DANGER: ['danger', '900'],\n WARNING: ['warning', '600'],\n SUCCESS: ['success', '900'],\n PRIMARY: ['brand-primary', '600'],\n};\n\nexport default ICONS_COLORS;\n"],"names":["ICONS_COLORS","NEUTRAL","WHITE","DANGER","WARNING","SUCCESS","PRIMARY"],"mappings":";;IAAMA,YAAY,GAAG;AACnBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CADU;AAEnBC,EAAAA,KAAK,EAAE,CAAC,SAAD,EAAY,GAAZ,CAFY;AAGnBC,EAAAA,MAAM,EAAE,CAAC,QAAD,EAAW,KAAX,CAHW;AAInBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CAJU;AAKnBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CALU;AAMnBC,EAAAA,OAAO,EAAE,CAAC,eAAD,EAAkB,KAAlB;AANU;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSIconSize.js","sources":["../../src/DSIconSize.tsx"],"sourcesContent":["const ICONS_SIZES = {\n XXS: 'xxs',\n XS: 'xs',\n S: 's',\n M: 'm',\n L: 'l',\n XL: 'xl',\n XXL: 'xxl',\n};\n\nexport default ICONS_SIZES;\n"],"names":["ICONS_SIZES","XXS","XS","S","M","L","XL","XXL"],"mappings":";;IAAMA,WAAW,GAAG;AAClBC,EAAAA,GAAG,EAAE,KADa;AAElBC,EAAAA,EAAE,EAAE,IAFc;AAGlBC,EAAAA,CAAC,EAAE,GAHe;AAIlBC,EAAAA,CAAC,EAAE,GAJe;AAKlBC,EAAAA,CAAC,EAAE,GALe;AAMlBC,EAAAA,EAAE,EAAE,IANc;AAOlBC,EAAAA,GAAG,EAAE;AAPa;;;;"}
package/cjs/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.tsx"],"sourcesContent":["import DSIconColors from './DSIconColor';\nimport DSIconSizes from './DSIconSize';\n\nexport { default as DSIconColors } from './DSIconColor';\nexport { default as DSIconSizes } from './DSIconSize';\n\nexport default {\n DSIconColors,\n DSIconSizes,\n};\n"],"names":["DSIconColors","DSIconSizes"],"mappings":";;;;;;;AAMA,YAAe;AACbA,EAAAA,YAAY,EAAZA,WADa;AAEbC,EAAAA,WAAW,EAAXA;AAFa,CAAf;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSIconColor.js","sources":["../../src/DSIconColor.tsx"],"sourcesContent":["const ICONS_COLORS = {\n NEUTRAL: ['neutral', '900'],\n WHITE: ['neutral', '0'],\n DANGER: ['danger', '900'],\n WARNING: ['warning', '600'],\n SUCCESS: ['success', '900'],\n PRIMARY: ['brand-primary', '600'],\n};\n\nexport default ICONS_COLORS;\n"],"names":["ICONS_COLORS","NEUTRAL","WHITE","DANGER","WARNING","SUCCESS","PRIMARY"],"mappings":"IAAMA,YAAY,GAAG;AACnBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CADU;AAEnBC,EAAAA,KAAK,EAAE,CAAC,SAAD,EAAY,GAAZ,CAFY;AAGnBC,EAAAA,MAAM,EAAE,CAAC,QAAD,EAAW,KAAX,CAHW;AAInBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CAJU;AAKnBC,EAAAA,OAAO,EAAE,CAAC,SAAD,EAAY,KAAZ,CALU;AAMnBC,EAAAA,OAAO,EAAE,CAAC,eAAD,EAAkB,KAAlB;AANU;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSIconSize.js","sources":["../../src/DSIconSize.tsx"],"sourcesContent":["const ICONS_SIZES = {\n XXS: 'xxs',\n XS: 'xs',\n S: 's',\n M: 'm',\n L: 'l',\n XL: 'xl',\n XXL: 'xxl',\n};\n\nexport default ICONS_SIZES;\n"],"names":["ICONS_SIZES","XXS","XS","S","M","L","XL","XXL"],"mappings":"IAAMA,WAAW,GAAG;AAClBC,EAAAA,GAAG,EAAE,KADa;AAElBC,EAAAA,EAAE,EAAE,IAFc;AAGlBC,EAAAA,CAAC,EAAE,GAHe;AAIlBC,EAAAA,CAAC,EAAE,GAJe;AAKlBC,EAAAA,CAAC,EAAE,GALe;AAMlBC,EAAAA,EAAE,EAAE,IANc;AAOlBC,EAAAA,GAAG,EAAE;AAPa;;;;"}
package/esm/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../src/index.tsx"],"sourcesContent":["import DSIconColors from './DSIconColor';\nimport DSIconSizes from './DSIconSize';\n\nexport { default as DSIconColors } from './DSIconColor';\nexport { default as DSIconSizes } from './DSIconSize';\n\nexport default {\n DSIconColors,\n DSIconSizes,\n};\n"],"names":["DSIconColors","DSIconSizes"],"mappings":";;;;;AAMA,YAAe;AACbA,EAAAA,YAAY,EAAZA,YADa;AAEbC,EAAAA,WAAW,EAAXA;AAFa,CAAf;;;;"}