@elliemae/ds-spinner 3.16.0-next.2 → 3.16.0-next.20
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 +10 -6
- package/dist/cjs/DSSpinner.js.map +2 -2
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/esm/DSSpinner.js +1 -1
- package/dist/esm/DSSpinner.js.map +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/dist/types/DSSpinner.d.ts +6 -5
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -4
package/dist/cjs/DSSpinner.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -32,7 +36,7 @@ module.exports = __toCommonJS(DSSpinner_exports);
|
|
|
32
36
|
var React = __toESM(require("react"));
|
|
33
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
38
|
var import_react = require("react");
|
|
35
|
-
var
|
|
39
|
+
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
36
40
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
37
41
|
const blockName = "spinner";
|
|
38
42
|
const SpinnerContainer = (0, import_ds_classnames.aggregatedClasses)("div")(blockName);
|
|
@@ -60,14 +64,14 @@ DSSpinner.defaultProps = {
|
|
|
60
64
|
size: "m"
|
|
61
65
|
};
|
|
62
66
|
const spinnerProps = {
|
|
63
|
-
innerRef:
|
|
64
|
-
containerProps:
|
|
65
|
-
message:
|
|
66
|
-
size:
|
|
67
|
+
innerRef: import_ds_props_helpers.PropTypes.object.description("ref to the component s container"),
|
|
68
|
+
containerProps: import_ds_props_helpers.PropTypes.object.description("Set of Properties attached to the main container"),
|
|
69
|
+
message: import_ds_props_helpers.PropTypes.string.description("Text below the spinner"),
|
|
70
|
+
size: import_ds_props_helpers.PropTypes.oneOf(["xxs", "xs", "s", "m", "l", "xl", "xxl"]).description("Spinner size").defaultValue("m")
|
|
67
71
|
};
|
|
68
72
|
DSSpinner.propTypes = spinnerProps;
|
|
69
73
|
DSSpinner.displayName = "DSSpinner";
|
|
70
|
-
const SpinnerWithSchema = (0,
|
|
74
|
+
const SpinnerWithSchema = (0, import_ds_props_helpers.describe)(DSSpinner);
|
|
71
75
|
SpinnerWithSchema.propTypes = spinnerProps;
|
|
72
76
|
var DSSpinner_default = DSSpinner;
|
|
73
77
|
//# sourceMappingURL=DSSpinner.js.map
|
|
@@ -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, { useMemo } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/* eslint-disable import/no-unresolved */\nimport React, { useMemo } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\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 const render = useMemo(\n () => (\n <>\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) && <span role=\"alert\" aria-live=\"polite\" aria-label={ariaLabel || message} />}\n </>\n ),\n [ariaLabel, message, size, spinner],\n );\n return (\n <SpinnerContainer {...containerProps} ref={innerRef} aria-busy=\"true\" {...otherProps}>\n {render}\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;ADejB;AAdN,mBAA+B;AAC/B,8BAAoC;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,MAAM,GAAG,WAAW,MAAM;AACzG,QAAM,aAAS;AAAA,IACb,MACE,4EACG;AAAA,iBACC,6CAAC,WAAQ,YAAY,EAAE,KAAK,GAC1B;AAAA,oDAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,sDAAC,UAAK,GAAE,2DAA0D,MAAK,WAAU,QAAO,WAAU,GACpG;AAAA,QACA,4CAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,sDAAC,UAAK,GAAE,8DAA6D,MAAK,WAAU,QAAO,WAAU,GACvG;AAAA,QACA,4CAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,sDAAC,UAAK,GAAE,yDAAwD,MAAK,WAAU,QAAO,WAAU,GAClG;AAAA,QACA,4CAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,sDAAC,UAAK,GAAE,2DAA0D,MAAK,WAAU,QAAO,WAAU,GACpG;AAAA,SACF;AAAA,MAED,WAAW,4CAAC,kBAAe,YAAW,QAAQ,mBAAQ;AAAA,OACrD,aAAa,YAAY,4CAAC,UAAK,MAAK,SAAQ,aAAU,UAAS,cAAY,aAAa,SAAS;AAAA,OACrG;AAAA,IAEF,CAAC,WAAW,SAAS,MAAM,OAAO;AAAA,EACpC;AACA,SACE,4CAAC,oBAAkB,GAAG,gBAAgB,KAAK,UAAU,aAAU,QAAQ,GAAG,YACvE,kBACH;AAEJ;AAEA,UAAU,eAAe;AAAA,EACvB,gBAAgB,CAAC;AAAA,EACjB,SAAS;AAAA,EACT,MAAM;AACR;AAEA,MAAM,eAAe;AAAA,EACnB,UAAU,kCAAU,OAAO,YAAY,kCAAkC;AAAA,EACzE,gBAAgB,kCAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,SAAS,kCAAU,OAAO,YAAY,wBAAwB;AAAA,EAC9D,MAAM,kCAAU,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,kCAAS,SAAS;AAC5C,kBAAkB,YAAY;AAG9B,IAAO,oBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -30,5 +34,5 @@ __export(src_exports, {
|
|
|
30
34
|
});
|
|
31
35
|
module.exports = __toCommonJS(src_exports);
|
|
32
36
|
var React = __toESM(require("react"));
|
|
33
|
-
var import_DSSpinner = __toESM(require("./DSSpinner"));
|
|
37
|
+
var import_DSSpinner = __toESM(require("./DSSpinner.js"));
|
|
34
38
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAsD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/DSSpinner.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { describe, PropTypes } from "@elliemae/ds-
|
|
4
|
+
import { describe, PropTypes } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
6
|
const blockName = "spinner";
|
|
7
7
|
const SpinnerContainer = aggregatedClasses("div")(blockName);
|
|
@@ -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, { useMemo } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACejB,mBAIQ,KAFJ,YAFJ;AAdN,SAAgB,eAAe;AAC/B,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,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-unresolved */\nimport React, { useMemo } from 'react';\nimport { describe, PropTypes } from '@elliemae/ds-props-helpers';\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 const render = useMemo(\n () => (\n <>\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) && <span role=\"alert\" aria-live=\"polite\" aria-label={ariaLabel || message} />}\n </>\n ),\n [ariaLabel, message, size, spinner],\n );\n return (\n <SpinnerContainer {...containerProps} ref={innerRef} aria-busy=\"true\" {...otherProps}>\n {render}\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;ACejB,mBAIQ,KAFJ,YAFJ;AAdN,SAAgB,eAAe;AAC/B,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,MAAM,GAAG,WAAW,MAAM;AACzG,QAAM,SAAS;AAAA,IACb,MACE,iCACG;AAAA,iBACC,qBAAC,WAAQ,YAAY,EAAE,KAAK,GAC1B;AAAA,4BAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,8BAAC,UAAK,GAAE,2DAA0D,MAAK,WAAU,QAAO,WAAU,GACpG;AAAA,QACA,oBAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,8BAAC,UAAK,GAAE,8DAA6D,MAAK,WAAU,QAAO,WAAU,GACvG;AAAA,QACA,oBAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,8BAAC,UAAK,GAAE,yDAAwD,MAAK,WAAU,QAAO,WAAU,GAClG;AAAA,QACA,oBAAC,SAAI,WAAW,GAAG,gBAAgB,SAAQ,iBAAgB,OAAM,8BAC/D,8BAAC,UAAK,GAAE,2DAA0D,MAAK,WAAU,QAAO,WAAU,GACpG;AAAA,SACF;AAAA,MAED,WAAW,oBAAC,kBAAe,YAAW,QAAQ,mBAAQ;AAAA,OACrD,aAAa,YAAY,oBAAC,UAAK,MAAK,SAAQ,aAAU,UAAS,cAAY,aAAa,SAAS;AAAA,OACrG;AAAA,IAEF,CAAC,WAAW,SAAS,MAAM,OAAO;AAAA,EACpC;AACA,SACE,oBAAC,oBAAkB,GAAG,gBAAgB,KAAK,UAAU,aAAU,QAAQ,GAAG,YACvE,kBACH;AAEJ;AAEA,UAAU,eAAe;AAAA,EACvB,gBAAgB,CAAC;AAAA,EACjB,SAAS;AAAA,EACT,MAAM;AACR;AAEA,MAAM,eAAe;AAAA,EACnB,UAAU,UAAU,OAAO,YAAY,kCAAkC;AAAA,EACzE,gBAAgB,UAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,SAAS,UAAU,OAAO,YAAY,wBAAwB;AAAA,EAC9D,MAAM,UAAU,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,oBAAoB,SAAS,SAAS;AAC5C,kBAAkB,YAAY;AAG9B,IAAO,oBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner';\n"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner.js';\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,WAAW,mBAAmB,WAAAA,gBAAe;",
|
|
6
6
|
"names": ["default"]
|
|
7
7
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
declare const DSSpinner: {
|
|
2
3
|
({ containerProps, ariaLabel, spinner, innerRef, message, size, ...otherProps }: {
|
|
3
4
|
[x: string]: any;
|
|
@@ -14,14 +15,14 @@ declare const DSSpinner: {
|
|
|
14
15
|
size: string;
|
|
15
16
|
};
|
|
16
17
|
propTypes: {
|
|
17
|
-
innerRef: import("@elliemae/ds-
|
|
18
|
-
containerProps: import("@elliemae/ds-
|
|
19
|
-
message: import("@elliemae/ds-
|
|
20
|
-
size: import("@elliemae/ds-
|
|
18
|
+
innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
19
|
+
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
20
|
+
message: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
21
|
+
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
21
22
|
};
|
|
22
23
|
displayName: string;
|
|
23
24
|
};
|
|
24
|
-
declare const SpinnerWithSchema: import("@elliemae/ds-
|
|
25
|
+
declare const SpinnerWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
25
26
|
[x: string]: any;
|
|
26
27
|
containerProps?: {} | undefined;
|
|
27
28
|
ariaLabel: any;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner';
|
|
1
|
+
export { DSSpinner, SpinnerWithSchema, default } from './DSSpinner.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-spinner",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Spinner",
|
|
6
6
|
"files": [
|
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
"indent": 4
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elliemae/ds-classnames": "3.16.0-next.
|
|
43
|
-
"@elliemae/ds-
|
|
42
|
+
"@elliemae/ds-classnames": "3.16.0-next.20",
|
|
43
|
+
"@elliemae/ds-props-helpers": "3.16.0-next.20",
|
|
44
|
+
"@elliemae/ds-utilities": "3.16.0-next.20"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
46
47
|
"lodash": "^4.17.21",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"eslint:fix": "eslint --ext='.js,.jsx,.test.js,.ts,.tsx' --fix --config='../../.eslintrc.js' src/",
|
|
59
60
|
"dts": "node ../../scripts/dts.mjs",
|
|
60
61
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
61
|
-
"dev:build": "pnpm --filter {.}... build
|
|
62
|
+
"dev:build": "pnpm --filter {.}... build",
|
|
62
63
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
63
64
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
64
65
|
}
|