@elliemae/ds-spinner 3.5.0-rc.5 → 3.5.0-rc.6
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/DSSpinner.js +49 -43
- package/dist/cjs/DSSpinner.js.map +2 -2
- package/dist/esm/DSSpinner.js +49 -43
- package/dist/esm/DSSpinner.js.map +2 -2
- package/package.json +3 -3
package/dist/cjs/DSSpinner.js
CHANGED
|
@@ -37,49 +37,55 @@ const blockName = "spinner";
|
|
|
37
37
|
const SpinnerContainer = (0, import_ds_classnames.aggregatedClasses)("div")(blockName);
|
|
38
38
|
const SpinnerMessage = (0, import_ds_classnames.aggregatedClasses)("span")(blockName, "message");
|
|
39
39
|
const Spinner = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "spinner");
|
|
40
|
-
const DSSpinner = ({ containerProps = {}, innerRef, message, size, ...otherProps }) =>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
40
|
+
const DSSpinner = ({ containerProps = {}, ariaLabel, spinner, innerRef, message, size, ...otherProps }) => {
|
|
41
|
+
console.log(spinner, "CustomSpinner2");
|
|
42
|
+
return /* @__PURE__ */ import_react.default.createElement(SpinnerContainer, {
|
|
43
|
+
...containerProps,
|
|
44
|
+
ref: innerRef,
|
|
45
|
+
"aria-busy": "true",
|
|
46
|
+
...otherProps
|
|
47
|
+
}, spinner && /* @__PURE__ */ import_react.default.createElement(Spinner, {
|
|
48
|
+
classProps: { size }
|
|
49
|
+
}, /* @__PURE__ */ import_react.default.createElement("svg", {
|
|
50
|
+
className: `${blockName}-tl`,
|
|
51
|
+
viewBox: "0 0 16.6 16.6",
|
|
52
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
53
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
54
|
+
d: "M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z",
|
|
55
|
+
fill: "#408a90",
|
|
56
|
+
stroke: "#fbfbfb"
|
|
57
|
+
})), /* @__PURE__ */ import_react.default.createElement("svg", {
|
|
58
|
+
className: `${blockName}-tr`,
|
|
59
|
+
viewBox: "0 0 16.6 16.6",
|
|
60
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
61
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
62
|
+
d: "M16.1,16.1A15.6,15.6,0,0,0,.5.5,15.6,15.6,0,0,0,16.1,16.1Z",
|
|
63
|
+
fill: "#f7901e",
|
|
64
|
+
stroke: "#fbfbfb"
|
|
65
|
+
})), /* @__PURE__ */ import_react.default.createElement("svg", {
|
|
66
|
+
className: `${blockName}-br`,
|
|
67
|
+
viewBox: "0 0 16.6 16.6",
|
|
68
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
69
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
70
|
+
d: "M.5.5A15.6,15.6,0,0,0,16.1,16.1,15.6,15.6,0,0,0,.5.5Z",
|
|
71
|
+
fill: "#0067ab",
|
|
72
|
+
stroke: "#fbfbfb"
|
|
73
|
+
})), /* @__PURE__ */ import_react.default.createElement("svg", {
|
|
74
|
+
className: `${blockName}-bl`,
|
|
75
|
+
viewBox: "0 0 16.6 16.6",
|
|
76
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
77
|
+
}, /* @__PURE__ */ import_react.default.createElement("path", {
|
|
78
|
+
d: "M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z",
|
|
79
|
+
fill: "#00acdc",
|
|
80
|
+
stroke: "#fbfbfb"
|
|
81
|
+
}))), message && /* @__PURE__ */ import_react.default.createElement(SpinnerMessage, {
|
|
82
|
+
ariaHidden: "true"
|
|
83
|
+
}, message), (ariaLabel || message) && /* @__PURE__ */ import_react.default.createElement(SpinnerMessage, {
|
|
84
|
+
role: "alert",
|
|
85
|
+
"aria-live": "polite",
|
|
86
|
+
"aria-label": ariaLabel || message
|
|
87
|
+
}));
|
|
88
|
+
};
|
|
83
89
|
DSSpinner.defaultProps = {
|
|
84
90
|
containerProps: {},
|
|
85
91
|
message: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSSpinner.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable import/no-unresolved */\nimport React from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'spinner';\n\nconst SpinnerContainer = aggregatedClasses('div')(blockName);\nconst SpinnerMessage = aggregatedClasses('span')(blockName, 'message');\nconst Spinner = aggregatedClasses('div')(blockName, 'spinner');\n\n// TODO: do we want dynamic position of the text (top, right, bottom, left)?\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,0BAAoC;AACpC,2BAAkC;AAElC,MAAM,YAAY;AAElB,MAAM,uBAAmB,wCAAkB,KAAK,EAAE,SAAS;AAC3D,MAAM,qBAAiB,wCAAkB,MAAM,EAAE,WAAW,SAAS;AACrE,MAAM,cAAU,wCAAkB,KAAK,EAAE,WAAW,SAAS;
|
|
4
|
+
"sourcesContent": ["/* eslint-disable import/no-unresolved */\nimport React from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'spinner';\n\nconst SpinnerContainer = aggregatedClasses('div')(blockName);\nconst SpinnerMessage = aggregatedClasses('span')(blockName, 'message');\nconst Spinner = aggregatedClasses('div')(blockName, 'spinner');\n\n// TODO: do we want dynamic position of the text (top, right, bottom, left)?\nconst DSSpinner = ({ containerProps = {}, ariaLabel, spinner, innerRef, message, size, ...otherProps }) => {\n console.log(spinner, 'CustomSpinner2');\n return (\n <SpinnerContainer {...containerProps} ref={innerRef} aria-busy=\"true\" {...otherProps}>\n {spinner && (\n <Spinner classProps={{ size }}>\n <svg className={`${blockName}-tl`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z\" fill=\"#408a90\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-tr`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1,16.1A15.6,15.6,0,0,0,.5.5,15.6,15.6,0,0,0,16.1,16.1Z\" fill=\"#f7901e\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-br`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M.5.5A15.6,15.6,0,0,0,16.1,16.1,15.6,15.6,0,0,0,.5.5Z\" fill=\"#0067ab\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-bl`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z\" fill=\"#00acdc\" stroke=\"#fbfbfb\" />\n </svg>\n </Spinner>\n )}\n {message && <SpinnerMessage ariaHidden=\"true\">{message}</SpinnerMessage>}\n {(ariaLabel || message) && <SpinnerMessage role=\"alert\" aria-live=\"polite\" aria-label={ariaLabel || message} />}\n </SpinnerContainer>\n );\n};\n\nDSSpinner.defaultProps = {\n containerProps: {},\n message: '',\n size: 'm',\n};\n\nconst spinnerProps = {\n innerRef: PropTypes.object.description('ref to the component s container'),\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n message: PropTypes.string.description('Text below the spinner'),\n size: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl']).description('Spinner size').defaultValue('m'),\n};\n\nDSSpinner.propTypes = spinnerProps;\nDSSpinner.displayName = 'DSSpinner';\nconst SpinnerWithSchema = describe(DSSpinner);\nSpinnerWithSchema.propTypes = spinnerProps;\n\nexport { DSSpinner, SpinnerWithSchema };\nexport default DSSpinner;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAkB;AAClB,0BAAoC;AACpC,2BAAkC;AAElC,MAAM,YAAY;AAElB,MAAM,uBAAmB,wCAAkB,KAAK,EAAE,SAAS;AAC3D,MAAM,qBAAiB,wCAAkB,MAAM,EAAE,WAAW,SAAS;AACrE,MAAM,cAAU,wCAAkB,KAAK,EAAE,WAAW,SAAS;AAG7D,MAAM,YAAY,CAAC,EAAE,iBAAiB,CAAC,GAAG,WAAW,SAAS,UAAU,SAAS,SAAS,WAAW,MAAM;AACzG,UAAQ,IAAI,SAAS,gBAAgB;AACrC,SACE,6BAAAA,QAAA,cAAC;AAAA,IAAkB,GAAG;AAAA,IAAgB,KAAK;AAAA,IAAU,aAAU;AAAA,IAAQ,GAAG;AAAA,KACvE,WACC,6BAAAA,QAAA,cAAC;A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,SAAS,8BAAU,OAAO,YAAY,wBAAwB;AAAA,EAC9D,MAAM,8BAAU,MAAM,CAAC,OAAO,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,CAAC,EAAE,YAAY,cAAc,EAAE,aAAa,GAAG;AAC/G;AAEA,UAAU,YAAY;AACtB,UAAU,cAAc;AACxB,MAAM,wBAAoB,8BAAS,SAAS;AAC5C,kBAAkB,YAAY;AAG9B,IAAO,oBAAQ;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
package/dist/esm/DSSpinner.js
CHANGED
|
@@ -6,49 +6,55 @@ const blockName = "spinner";
|
|
|
6
6
|
const SpinnerContainer = aggregatedClasses("div")(blockName);
|
|
7
7
|
const SpinnerMessage = aggregatedClasses("span")(blockName, "message");
|
|
8
8
|
const Spinner = aggregatedClasses("div")(blockName, "spinner");
|
|
9
|
-
const DSSpinner = ({ containerProps = {}, innerRef, message, size, ...otherProps }) =>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
9
|
+
const DSSpinner = ({ containerProps = {}, ariaLabel, spinner, innerRef, message, size, ...otherProps }) => {
|
|
10
|
+
console.log(spinner, "CustomSpinner2");
|
|
11
|
+
return /* @__PURE__ */ React2.createElement(SpinnerContainer, {
|
|
12
|
+
...containerProps,
|
|
13
|
+
ref: innerRef,
|
|
14
|
+
"aria-busy": "true",
|
|
15
|
+
...otherProps
|
|
16
|
+
}, spinner && /* @__PURE__ */ React2.createElement(Spinner, {
|
|
17
|
+
classProps: { size }
|
|
18
|
+
}, /* @__PURE__ */ React2.createElement("svg", {
|
|
19
|
+
className: `${blockName}-tl`,
|
|
20
|
+
viewBox: "0 0 16.6 16.6",
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
+
}, /* @__PURE__ */ React2.createElement("path", {
|
|
23
|
+
d: "M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z",
|
|
24
|
+
fill: "#408a90",
|
|
25
|
+
stroke: "#fbfbfb"
|
|
26
|
+
})), /* @__PURE__ */ React2.createElement("svg", {
|
|
27
|
+
className: `${blockName}-tr`,
|
|
28
|
+
viewBox: "0 0 16.6 16.6",
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
30
|
+
}, /* @__PURE__ */ React2.createElement("path", {
|
|
31
|
+
d: "M16.1,16.1A15.6,15.6,0,0,0,.5.5,15.6,15.6,0,0,0,16.1,16.1Z",
|
|
32
|
+
fill: "#f7901e",
|
|
33
|
+
stroke: "#fbfbfb"
|
|
34
|
+
})), /* @__PURE__ */ React2.createElement("svg", {
|
|
35
|
+
className: `${blockName}-br`,
|
|
36
|
+
viewBox: "0 0 16.6 16.6",
|
|
37
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
38
|
+
}, /* @__PURE__ */ React2.createElement("path", {
|
|
39
|
+
d: "M.5.5A15.6,15.6,0,0,0,16.1,16.1,15.6,15.6,0,0,0,.5.5Z",
|
|
40
|
+
fill: "#0067ab",
|
|
41
|
+
stroke: "#fbfbfb"
|
|
42
|
+
})), /* @__PURE__ */ React2.createElement("svg", {
|
|
43
|
+
className: `${blockName}-bl`,
|
|
44
|
+
viewBox: "0 0 16.6 16.6",
|
|
45
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
+
}, /* @__PURE__ */ React2.createElement("path", {
|
|
47
|
+
d: "M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z",
|
|
48
|
+
fill: "#00acdc",
|
|
49
|
+
stroke: "#fbfbfb"
|
|
50
|
+
}))), message && /* @__PURE__ */ React2.createElement(SpinnerMessage, {
|
|
51
|
+
ariaHidden: "true"
|
|
52
|
+
}, message), (ariaLabel || message) && /* @__PURE__ */ React2.createElement(SpinnerMessage, {
|
|
53
|
+
role: "alert",
|
|
54
|
+
"aria-live": "polite",
|
|
55
|
+
"aria-label": ariaLabel || message
|
|
56
|
+
}));
|
|
57
|
+
};
|
|
52
58
|
DSSpinner.defaultProps = {
|
|
53
59
|
containerProps: {},
|
|
54
60
|
message: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSSpinner.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-unresolved */\nimport React from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'spinner';\n\nconst SpinnerContainer = aggregatedClasses('div')(blockName);\nconst SpinnerMessage = aggregatedClasses('span')(blockName, 'message');\nconst Spinner = aggregatedClasses('div')(blockName, 'spinner');\n\n// TODO: do we want dynamic position of the text (top, right, bottom, left)?\
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACCvB,OAAOA,YAAW;AAClB,SAAS,UAAU,iBAAiB;AACpC,SAAS,yBAAyB;AAElC,MAAM,YAAY;AAElB,MAAM,mBAAmB,kBAAkB,KAAK,EAAE,SAAS;AAC3D,MAAM,iBAAiB,kBAAkB,MAAM,EAAE,WAAW,SAAS;AACrE,MAAM,UAAU,kBAAkB,KAAK,EAAE,WAAW,SAAS;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-unresolved */\nimport React from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\n\nconst blockName = 'spinner';\n\nconst SpinnerContainer = aggregatedClasses('div')(blockName);\nconst SpinnerMessage = aggregatedClasses('span')(blockName, 'message');\nconst Spinner = aggregatedClasses('div')(blockName, 'spinner');\n\n// TODO: do we want dynamic position of the text (top, right, bottom, left)?\nconst DSSpinner = ({ containerProps = {}, ariaLabel, spinner, innerRef, message, size, ...otherProps }) => {\n console.log(spinner, 'CustomSpinner2');\n return (\n <SpinnerContainer {...containerProps} ref={innerRef} aria-busy=\"true\" {...otherProps}>\n {spinner && (\n <Spinner classProps={{ size }}>\n <svg className={`${blockName}-tl`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z\" fill=\"#408a90\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-tr`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1,16.1A15.6,15.6,0,0,0,.5.5,15.6,15.6,0,0,0,16.1,16.1Z\" fill=\"#f7901e\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-br`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M.5.5A15.6,15.6,0,0,0,16.1,16.1,15.6,15.6,0,0,0,.5.5Z\" fill=\"#0067ab\" stroke=\"#fbfbfb\" />\n </svg>\n <svg className={`${blockName}-bl`} viewBox=\"0 0 16.6 16.6\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.1.5A15.6,15.6,0,0,0,.5,16.1,15.6,15.6,0,0,0,16.1.5Z\" fill=\"#00acdc\" stroke=\"#fbfbfb\" />\n </svg>\n </Spinner>\n )}\n {message && <SpinnerMessage ariaHidden=\"true\">{message}</SpinnerMessage>}\n {(ariaLabel || message) && <SpinnerMessage role=\"alert\" aria-live=\"polite\" aria-label={ariaLabel || message} />}\n </SpinnerContainer>\n );\n};\n\nDSSpinner.defaultProps = {\n containerProps: {},\n message: '',\n size: 'm',\n};\n\nconst spinnerProps = {\n innerRef: PropTypes.object.description('ref to the component s container'),\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n message: PropTypes.string.description('Text below the spinner'),\n size: PropTypes.oneOf(['xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl']).description('Spinner size').defaultValue('m'),\n};\n\nDSSpinner.propTypes = spinnerProps;\nDSSpinner.displayName = 'DSSpinner';\nconst SpinnerWithSchema = describe(DSSpinner);\nSpinnerWithSchema.propTypes = spinnerProps;\n\nexport { DSSpinner, SpinnerWithSchema };\nexport default DSSpinner;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACCvB,OAAOA,YAAW;AAClB,SAAS,UAAU,iBAAiB;AACpC,SAAS,yBAAyB;AAElC,MAAM,YAAY;AAElB,MAAM,mBAAmB,kBAAkB,KAAK,EAAE,SAAS;AAC3D,MAAM,iBAAiB,kBAAkB,MAAM,EAAE,WAAW,SAAS;AACrE,MAAM,UAAU,kBAAkB,KAAK,EAAE,WAAW,SAAS;AAG7D,MAAM,YAAY,CAAC,EAAE,iBAAiB,CAAC,GAAG,WAAW,SAAS,UAAU,SAAS,SAAS,WAAW,MAAM;AACzG,UAAQ,IAAI,SAAS,gBAAgB;AACrC,SACE,gBAAAA,OAAA,cAAC;AAAA,IAAkB,GAAG;AAAA,IAAgB,KAAK;AAAA,IAAU,aAAU;AAAA,IAAQ,GAAG;AAAA,KACvE,WACC,gBAAAA,OAAA,cAAC;AAAA,IAAQ,YAAY,EAAE,KAAK;AAAA,KAC1B,gBAAAA,OAAA,cAAC;AAAA,IAAI,WAAW,GAAG;AAAA,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AAK,MAAM,KAAK,CAAC,EAAE,YAAY,cAAc,EAAE,aAAa,GAAG;AAC/G;AAEA,UAAU,YAAY;AACtB,UAAU,cAAc;AACxB,MAAM,oBAAoB,SAAS,SAAS;AAC5C,kBAAkB,YAAY;AAG9B,IAAO,oBAAQ;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-spinner",
|
|
3
|
-
"version": "3.5.0-rc.
|
|
3
|
+
"version": "3.5.0-rc.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Spinner",
|
|
6
6
|
"files": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"indent": 4
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elliemae/ds-classnames": "3.5.0-rc.
|
|
43
|
-
"@elliemae/ds-utilities": "3.5.0-rc.
|
|
42
|
+
"@elliemae/ds-classnames": "3.5.0-rc.6",
|
|
43
|
+
"@elliemae/ds-utilities": "3.5.0-rc.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"lodash": "^4.17.21",
|