@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.
- package/cjs/DSIconColor.js +11 -42
- package/cjs/DSIconSize.js +12 -43
- package/cjs/index.js +15 -44
- package/esm/DSIconColor.js +8 -12
- package/esm/DSIconSize.js +9 -13
- package/esm/index.js +10 -14
- package/package.json +1 -1
- package/cjs/DSIconColor.js.map +0 -7
- package/cjs/DSIconSize.js.map +0 -7
- package/cjs/index.js.map +0 -7
- package/esm/DSIconColor.js.map +0 -7
- package/esm/DSIconSize.js.map +0 -7
- package/esm/index.js.map +0 -7
package/cjs/DSIconColor.js
CHANGED
|
@@ -1,43 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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: [
|
|
35
|
-
WHITE: [
|
|
36
|
-
DANGER: [
|
|
37
|
-
WARNING: [
|
|
38
|
-
SUCCESS: [
|
|
39
|
-
PRIMARY: [
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
module.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
|
-
|
|
2
|
-
|
|
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:
|
|
35
|
-
XS:
|
|
36
|
-
S:
|
|
37
|
-
M:
|
|
38
|
-
L:
|
|
39
|
-
XL:
|
|
40
|
-
XXL:
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
module.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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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;
|
package/esm/DSIconColor.js
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
const ICONS_COLORS = {
|
|
3
|
-
NEUTRAL: [
|
|
4
|
-
WHITE: [
|
|
5
|
-
DANGER: [
|
|
6
|
-
WARNING: [
|
|
7
|
-
SUCCESS: [
|
|
8
|
-
PRIMARY: [
|
|
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
|
-
|
|
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:
|
|
4
|
-
XS:
|
|
5
|
-
S:
|
|
6
|
-
M:
|
|
7
|
-
L:
|
|
8
|
-
XL:
|
|
9
|
-
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
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
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
|
-
|
|
11
|
-
|
|
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
package/cjs/DSIconColor.js.map
DELETED
|
@@ -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
|
-
}
|
package/cjs/DSIconSize.js.map
DELETED
|
@@ -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
|
-
}
|
package/esm/DSIconColor.js.map
DELETED
|
@@ -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
|
-
}
|
package/esm/DSIconSize.js.map
DELETED
|
@@ -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
|
-
}
|