@elliemae/ds-icon 3.0.0-next.9 → 3.0.0-rc.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.
- package/dist/cjs/DSIconColor.js +9 -16
- package/dist/cjs/DSIconColor.js.map +1 -1
- package/dist/cjs/DSIconSize.js +9 -16
- package/dist/cjs/DSIconSize.js.map +1 -1
- package/dist/cjs/index.js +9 -16
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/DSIconColor.js.map +1 -1
- package/dist/esm/DSIconSize.js.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +6 -6
package/dist/cjs/DSIconColor.js
CHANGED
|
@@ -4,31 +4,25 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
17
|
+
return to;
|
|
19
18
|
};
|
|
20
|
-
var __toESM = (
|
|
21
|
-
|
|
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);
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
21
|
var DSIconColor_exports = {};
|
|
29
22
|
__export(DSIconColor_exports, {
|
|
30
23
|
default: () => DSIconColor_default
|
|
31
24
|
});
|
|
25
|
+
module.exports = __toCommonJS(DSIconColor_exports);
|
|
32
26
|
var React = __toESM(require("react"));
|
|
33
27
|
const ICONS_COLORS = {
|
|
34
28
|
NEUTRAL: ["neutral", "900"],
|
|
@@ -39,5 +33,4 @@ const ICONS_COLORS = {
|
|
|
39
33
|
PRIMARY: ["brand-primary", "600"]
|
|
40
34
|
};
|
|
41
35
|
var DSIconColor_default = ICONS_COLORS;
|
|
42
|
-
module.exports = __toCommonJS(DSIconColor_exports);
|
|
43
36
|
//# sourceMappingURL=DSIconColor.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSIconColor.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,eAAe;AAAA,EACnB,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,OAAO,CAAC,WAAW,GAAG;AAAA,EACtB,QAAQ,CAAC,UAAU,KAAK;AAAA,EACxB,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,SAAS,CAAC,iBAAiB,KAAK;AAClC;AAEA,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/DSIconSize.js
CHANGED
|
@@ -4,31 +4,25 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
17
|
+
return to;
|
|
19
18
|
};
|
|
20
|
-
var __toESM = (
|
|
21
|
-
|
|
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);
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
21
|
var DSIconSize_exports = {};
|
|
29
22
|
__export(DSIconSize_exports, {
|
|
30
23
|
default: () => DSIconSize_default
|
|
31
24
|
});
|
|
25
|
+
module.exports = __toCommonJS(DSIconSize_exports);
|
|
32
26
|
var React = __toESM(require("react"));
|
|
33
27
|
const ICONS_SIZES = {
|
|
34
28
|
XXS: "xxs",
|
|
@@ -40,5 +34,4 @@ const ICONS_SIZES = {
|
|
|
40
34
|
XXL: "xxl"
|
|
41
35
|
};
|
|
42
36
|
var DSIconSize_default = ICONS_SIZES;
|
|
43
|
-
module.exports = __toCommonJS(DSIconSize_exports);
|
|
44
37
|
//# sourceMappingURL=DSIconSize.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSIconSize.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;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;AACP;AAEA,IAAO,qBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,33 +4,27 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
8
7
|
var __export = (target, all) => {
|
|
9
8
|
for (var name in all)
|
|
10
9
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
10
|
};
|
|
12
|
-
var
|
|
13
|
-
if (
|
|
14
|
-
for (let key of __getOwnPropNames(
|
|
15
|
-
if (!__hasOwnProp.call(
|
|
16
|
-
__defProp(
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
16
|
}
|
|
18
|
-
return
|
|
17
|
+
return to;
|
|
19
18
|
};
|
|
20
|
-
var __toESM = (
|
|
21
|
-
|
|
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);
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
20
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
21
|
var src_exports = {};
|
|
29
22
|
__export(src_exports, {
|
|
30
23
|
DSIconColors: () => import_DSIconColor2.default,
|
|
31
24
|
DSIconSizes: () => import_DSIconSize2.default,
|
|
32
25
|
default: () => src_default
|
|
33
26
|
});
|
|
27
|
+
module.exports = __toCommonJS(src_exports);
|
|
34
28
|
var React = __toESM(require("react"));
|
|
35
29
|
var import_DSIconColor = __toESM(require("./DSIconColor"));
|
|
36
30
|
var import_DSIconSize = __toESM(require("./DSIconSize"));
|
|
@@ -40,5 +34,4 @@ var src_default = {
|
|
|
40
34
|
DSIconColors: import_DSIconColor.default,
|
|
41
35
|
DSIconSizes: import_DSIconSize.default
|
|
42
36
|
};
|
|
43
|
-
module.exports = __toCommonJS(src_exports);
|
|
44
37
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
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": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,yBAAyB;AACzB,wBAAwB;AAExB,0BAAwC;AACxC,yBAAuC;AAEvC,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSIconColor.tsx"],
|
|
4
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,
|
|
5
|
+
"mappings": "AAAA;ACAA,MAAM,eAAe;AAAA,EACnB,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,OAAO,CAAC,WAAW,GAAG;AAAA,EACtB,QAAQ,CAAC,UAAU,KAAK;AAAA,EACxB,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,SAAS,CAAC,WAAW,KAAK;AAAA,EAC1B,SAAS,CAAC,iBAAiB,KAAK;AAClC;AAEA,IAAO,sBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSIconSize.tsx"],
|
|
4
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;
|
|
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;AACP;AAEA,IAAO,qBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
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;
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AAEA;AACA;AAEA,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-icon",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Icon",
|
|
6
6
|
"files": [
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"reportFile": "tests.xml",
|
|
43
43
|
"indent": 4
|
|
44
44
|
},
|
|
45
|
-
"publishConfig": {
|
|
46
|
-
"access": "public",
|
|
47
|
-
"typeSafety": false
|
|
48
|
-
},
|
|
49
45
|
"scripts": {
|
|
50
46
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
51
47
|
"test": "node ../../scripts/testing/test.mjs",
|
|
52
48
|
"lint": "node ../../scripts/lint.mjs",
|
|
53
49
|
"dts": "node ../../scripts/dts.mjs",
|
|
54
50
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public",
|
|
54
|
+
"typeSafety": false
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|