@elliemae/ds-icon 2.2.0-alpha.3 → 3.0.0-next.0

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,43 +1,12 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var DSIconColor_exports = {};
29
- __export(DSIconColor_exports, {
30
- default: () => DSIconColor_default
31
- });
32
- var React = __toESM(require("react"));
1
+ 'use strict';
2
+
33
3
  const ICONS_COLORS = {
34
- NEUTRAL: ["neutral", "900"],
35
- WHITE: ["neutral", "0"],
36
- DANGER: ["danger", "900"],
37
- WARNING: ["warning", "600"],
38
- SUCCESS: ["success", "900"],
39
- PRIMARY: ["brand-primary", "600"]
40
- };
41
- var DSIconColor_default = ICONS_COLORS;
42
- module.exports = __toCommonJS(DSIconColor_exports);
43
- //# sourceMappingURL=DSIconColor.js.map
4
+ NEUTRAL: ['neutral', '900'],
5
+ WHITE: ['neutral', '0'],
6
+ DANGER: ['danger', '900'],
7
+ WARNING: ['warning', '600'],
8
+ SUCCESS: ['success', '900'],
9
+ PRIMARY: ['brand-primary', '600']
10
+ };
11
+
12
+ module.exports = ICONS_COLORS;
package/cjs/DSIconSize.js CHANGED
@@ -1,44 +1,13 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var DSIconSize_exports = {};
29
- __export(DSIconSize_exports, {
30
- default: () => DSIconSize_default
31
- });
32
- var React = __toESM(require("react"));
1
+ 'use strict';
2
+
33
3
  const ICONS_SIZES = {
34
- XXS: "xxs",
35
- XS: "xs",
36
- S: "s",
37
- M: "m",
38
- L: "l",
39
- XL: "xl",
40
- XXL: "xxl"
41
- };
42
- var DSIconSize_default = ICONS_SIZES;
43
- module.exports = __toCommonJS(DSIconSize_exports);
44
- //# sourceMappingURL=DSIconSize.js.map
4
+ XXS: 'xxs',
5
+ XS: 'xs',
6
+ S: 's',
7
+ M: 'm',
8
+ L: 'l',
9
+ XL: 'xl',
10
+ XXL: 'xxl'
11
+ };
12
+
13
+ module.exports = ICONS_SIZES;
package/cjs/index.js CHANGED
@@ -1,44 +1,15 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __reExport = (target, module2, copyDefault, desc) => {
13
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
- for (let key of __getOwnPropNames(module2))
15
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
- }
18
- return target;
19
- };
20
- var __toESM = (module2, isNodeMode) => {
21
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
- };
23
- var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
- return (module2, temp) => {
25
- return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
- };
27
- })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
- var src_exports = {};
29
- __export(src_exports, {
30
- DSIconColors: () => import_DSIconColor2.default,
31
- DSIconSizes: () => import_DSIconSize2.default,
32
- default: () => src_default
33
- });
34
- var React = __toESM(require("react"));
35
- var import_DSIconColor = __toESM(require("./DSIconColor"));
36
- var import_DSIconSize = __toESM(require("./DSIconSize"));
37
- var import_DSIconColor2 = __toESM(require("./DSIconColor"));
38
- var import_DSIconSize2 = __toESM(require("./DSIconSize"));
39
- var src_default = {
40
- DSIconColors: import_DSIconColor.default,
41
- DSIconSizes: import_DSIconSize.default
42
- };
43
- module.exports = __toCommonJS(src_exports);
44
- //# sourceMappingURL=index.js.map
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var DSIconColor = require('./DSIconColor.js');
6
+ var DSIconSize = require('./DSIconSize.js');
7
+
8
+ var index = {
9
+ DSIconColors: DSIconColor,
10
+ DSIconSizes: DSIconSize
11
+ };
12
+
13
+ exports.DSIconColors = DSIconColor;
14
+ exports.DSIconSizes = DSIconSize;
15
+ exports["default"] = index;
@@ -1,14 +1,10 @@
1
- import * as React from "react";
2
1
  const ICONS_COLORS = {
3
- NEUTRAL: ["neutral", "900"],
4
- WHITE: ["neutral", "0"],
5
- DANGER: ["danger", "900"],
6
- WARNING: ["warning", "600"],
7
- SUCCESS: ["success", "900"],
8
- PRIMARY: ["brand-primary", "600"]
2
+ NEUTRAL: ['neutral', '900'],
3
+ WHITE: ['neutral', '0'],
4
+ DANGER: ['danger', '900'],
5
+ WARNING: ['warning', '600'],
6
+ SUCCESS: ['success', '900'],
7
+ PRIMARY: ['brand-primary', '600']
9
8
  };
10
- var DSIconColor_default = ICONS_COLORS;
11
- export {
12
- DSIconColor_default as default
13
- };
14
- //# sourceMappingURL=DSIconColor.js.map
9
+
10
+ export { ICONS_COLORS as default };
package/esm/DSIconSize.js CHANGED
@@ -1,15 +1,11 @@
1
- import * as React from "react";
2
1
  const ICONS_SIZES = {
3
- XXS: "xxs",
4
- XS: "xs",
5
- S: "s",
6
- M: "m",
7
- L: "l",
8
- XL: "xl",
9
- XXL: "xxl"
2
+ XXS: 'xxs',
3
+ XS: 'xs',
4
+ S: 's',
5
+ M: 'm',
6
+ L: 'l',
7
+ XL: 'xl',
8
+ XXL: 'xxl'
10
9
  };
11
- var DSIconSize_default = ICONS_SIZES;
12
- export {
13
- DSIconSize_default as default
14
- };
15
- //# sourceMappingURL=DSIconSize.js.map
10
+
11
+ export { ICONS_SIZES as default };
package/esm/index.js CHANGED
@@ -1,15 +1,11 @@
1
- import * as React from "react";
2
- import DSIconColors from "./DSIconColor";
3
- import DSIconSizes from "./DSIconSize";
4
- import { default as default2 } from "./DSIconColor";
5
- import { default as default3 } from "./DSIconSize";
6
- var src_default = {
7
- DSIconColors,
8
- DSIconSizes
1
+ import ICONS_COLORS from './DSIconColor.js';
2
+ export { default as DSIconColors } from './DSIconColor.js';
3
+ import ICONS_SIZES from './DSIconSize.js';
4
+ export { default as DSIconSizes } from './DSIconSize.js';
5
+
6
+ var index = {
7
+ DSIconColors: ICONS_COLORS,
8
+ DSIconSizes: ICONS_SIZES
9
9
  };
10
- export {
11
- default2 as DSIconColors,
12
- default3 as DSIconSizes,
13
- src_default as default
14
- };
15
- //# sourceMappingURL=index.js.map
10
+
11
+ export { index as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-icon",
3
- "version": "2.2.0-alpha.3",
3
+ "version": "3.0.0-next.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Icon",
6
6
  "module": "./esm/index.js",
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DSIconColor.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "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", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,eAAe;AAAA,EACnB,SAAS,CAAC,WAAW;AAAA,EACrB,OAAO,CAAC,WAAW;AAAA,EACnB,QAAQ,CAAC,UAAU;AAAA,EACnB,SAAS,CAAC,WAAW;AAAA,EACrB,SAAS,CAAC,WAAW;AAAA,EACrB,SAAS,CAAC,iBAAiB;AAAA;AAG7B,IAAO,sBAAQ;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/DSIconSize.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "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", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,cAAc;AAAA,EAClB,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AAAA;AAGP,IAAO,qBAAQ;",
6
- "names": []
7
- }
package/cjs/index.js.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "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", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,yBAAyB;AACzB,wBAAwB;AAExB,0BAAwC;AACxC,yBAAuC;AAEvC,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AAAA;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSIconColor.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA;ACAA,MAAM,eAAe;AAAA,EACnB,SAAS,CAAC,WAAW;AAAA,EACrB,OAAO,CAAC,WAAW;AAAA,EACnB,QAAQ,CAAC,UAAU;AAAA,EACnB,SAAS,CAAC,WAAW;AAAA,EACrB,SAAS,CAAC,WAAW;AAAA,EACrB,SAAS,CAAC,iBAAiB;AAAA;AAG7B,IAAO,sBAAQ;",
6
- "names": []
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSIconSize.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA;ACAA,MAAM,cAAc;AAAA,EAClB,KAAK;AAAA,EACL,IAAI;AAAA,EACJ,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,KAAK;AAAA;AAGP,IAAO,qBAAQ;",
6
- "names": []
7
- }
package/esm/index.js.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
- "mappings": "AAAA;ACAA;AACA;AAEA;AACA;AAEA,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AAAA;",
6
- "names": []
7
- }