@elliemae/ds-icon 2.2.1 → 2.3.0-alpha.4
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 +42 -11
- package/cjs/DSIconColor.js.map +7 -0
- package/cjs/DSIconSize.js +43 -12
- package/cjs/DSIconSize.js.map +7 -0
- package/cjs/index.js +44 -15
- package/cjs/index.js.map +7 -0
- package/esm/DSIconColor.js +12 -8
- package/esm/DSIconColor.js.map +7 -0
- package/esm/DSIconSize.js +13 -9
- package/esm/DSIconSize.js.map +7 -0
- package/esm/index.js +14 -10
- package/esm/index.js.map +7 -0
- package/package.json +1 -1
package/cjs/DSIconColor.js
CHANGED
|
@@ -1,12 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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"));
|
|
3
33
|
const ICONS_COLORS = {
|
|
4
|
-
NEUTRAL: [
|
|
5
|
-
WHITE: [
|
|
6
|
-
DANGER: [
|
|
7
|
-
WARNING: [
|
|
8
|
-
SUCCESS: [
|
|
9
|
-
PRIMARY: [
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
module.exports =
|
|
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
|
|
@@ -0,0 +1,7 @@
|
|
|
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
CHANGED
|
@@ -1,13 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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"));
|
|
3
33
|
const ICONS_SIZES = {
|
|
4
|
-
XXS:
|
|
5
|
-
XS:
|
|
6
|
-
S:
|
|
7
|
-
M:
|
|
8
|
-
L:
|
|
9
|
-
XL:
|
|
10
|
-
XXL:
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
module.exports =
|
|
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
|
|
@@ -0,0 +1,7 @@
|
|
|
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
CHANGED
|
@@ -1,15 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
package/cjs/index.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
const ICONS_COLORS = {
|
|
2
|
-
NEUTRAL: [
|
|
3
|
-
WHITE: [
|
|
4
|
-
DANGER: [
|
|
5
|
-
WARNING: [
|
|
6
|
-
SUCCESS: [
|
|
7
|
-
PRIMARY: [
|
|
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"]
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
-
export {
|
|
10
|
+
var DSIconColor_default = ICONS_COLORS;
|
|
11
|
+
export {
|
|
12
|
+
DSIconColor_default as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=DSIconColor.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
const ICONS_SIZES = {
|
|
2
|
-
XXS:
|
|
3
|
-
XS:
|
|
4
|
-
S:
|
|
5
|
-
M:
|
|
6
|
-
L:
|
|
7
|
-
XL:
|
|
8
|
-
XXL:
|
|
3
|
+
XXS: "xxs",
|
|
4
|
+
XS: "xs",
|
|
5
|
+
S: "s",
|
|
6
|
+
M: "m",
|
|
7
|
+
L: "l",
|
|
8
|
+
XL: "xl",
|
|
9
|
+
XXL: "xxl"
|
|
9
10
|
};
|
|
10
|
-
|
|
11
|
-
export {
|
|
11
|
+
var DSIconSize_default = ICONS_SIZES;
|
|
12
|
+
export {
|
|
13
|
+
DSIconSize_default as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=DSIconSize.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
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
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
DSIconColors
|
|
8
|
-
DSIconSizes
|
|
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
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
export {
|
|
11
|
+
default2 as DSIconColors,
|
|
12
|
+
default3 as DSIconSizes,
|
|
13
|
+
src_default as default
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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
|
+
}
|