@elliemae/ds-skeleton 3.1.0-next.2 → 3.1.0-next.5
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.
|
@@ -25,7 +25,6 @@ __export(components_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(components_exports);
|
|
26
26
|
var React = __toESM(require("react"));
|
|
27
27
|
var import_ds_system = require("@elliemae/ds-system");
|
|
28
|
-
var import_styled_components = require("@xstyled/styled-components");
|
|
29
28
|
var import_exported_related = require("../exported-related");
|
|
30
29
|
var import_animation = require("./animation");
|
|
31
30
|
var import_variants = require("./variants");
|
|
@@ -43,8 +42,8 @@ const StyledSkeleton = (0, import_ds_system.styled)("span", { name: import_expor
|
|
|
43
42
|
|
|
44
43
|
animation: ${import_animation.pulseKeyframe} 1.5s ease-in-out 0.5s infinite;
|
|
45
44
|
|
|
46
|
-
${
|
|
47
|
-
${
|
|
48
|
-
${
|
|
45
|
+
${import_ds_system.layout}
|
|
46
|
+
${import_ds_system.space}
|
|
47
|
+
${import_ds_system.sizing}
|
|
49
48
|
`;
|
|
50
49
|
//# sourceMappingURL=components.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/styled/components.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { styled, th
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,
|
|
4
|
+
"sourcesContent": ["import { styled, th, layout, space, sizing } from '@elliemae/ds-system';\nimport { DSSkeletonName, DSSkeletonSlots } from '../exported-related';\nimport { pulseKeyframe } from './animation';\nimport { circularVariantCss, textVariantCss, withChildrenCss } from './variants';\n\ninterface StyledSkeletonProps {\n variant: 'circular' | 'rectangular' | 'text';\n withChildren: boolean;\n}\n\nexport const StyledSkeleton = styled('span', { name: DSSkeletonName, slot: DSSkeletonSlots.ROOT })<StyledSkeletonProps>`\n display: block;\n height: 20px;\n background-color: ${th.color('neutral-400')}2f;\n ${(props) => {\n if (props.variant === 'circular') return circularVariantCss;\n if (props.variant === 'text') return textVariantCss;\n }}\n ${(props) => (props.withChildren ? withChildrenCss : '')}\n \n animation: ${pulseKeyframe} 1.5s ease-in-out 0.5s infinite;\n\n ${layout}\n ${space}\n ${sizing}\n`;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAkD;AAClD,8BAAgD;AAChD,uBAA8B;AAC9B,sBAAoE;AAO7D,MAAM,iBAAiB,6BAAO,QAAQ,EAAE,MAAM,wCAAgB,MAAM,wCAAgB,KAAK,CAAC;AAAA;AAAA;AAAA,sBAG3E,oBAAG,MAAM,aAAa;AAAA,IACxC,CAAC,UAAU;AACX,MAAI,MAAM,YAAY;AAAY,WAAO;AACzC,MAAI,MAAM,YAAY;AAAQ,WAAO;AACvC;AAAA,IACE,CAAC,UAAW,MAAM,eAAe,kCAAkB;AAAA;AAAA,eAExC;AAAA;AAAA,IAEX;AAAA,IACA;AAAA,IACA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { styled, th } from "@elliemae/ds-system";
|
|
3
|
-
import { layout, space, sizing } from "@xstyled/styled-components";
|
|
2
|
+
import { styled, th, layout, space, sizing } from "@elliemae/ds-system";
|
|
4
3
|
import { DSSkeletonName, DSSkeletonSlots } from "../exported-related";
|
|
5
4
|
import { pulseKeyframe } from "./animation";
|
|
6
5
|
import { circularVariantCss, textVariantCss, withChildrenCss } from "./variants";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/styled/components.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, th
|
|
5
|
-
"mappings": "AAAA;ACAA;AACA;AACA;AACA;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, th, layout, space, sizing } from '@elliemae/ds-system';\nimport { DSSkeletonName, DSSkeletonSlots } from '../exported-related';\nimport { pulseKeyframe } from './animation';\nimport { circularVariantCss, textVariantCss, withChildrenCss } from './variants';\n\ninterface StyledSkeletonProps {\n variant: 'circular' | 'rectangular' | 'text';\n withChildren: boolean;\n}\n\nexport const StyledSkeleton = styled('span', { name: DSSkeletonName, slot: DSSkeletonSlots.ROOT })<StyledSkeletonProps>`\n display: block;\n height: 20px;\n background-color: ${th.color('neutral-400')}2f;\n ${(props) => {\n if (props.variant === 'circular') return circularVariantCss;\n if (props.variant === 'text') return textVariantCss;\n }}\n ${(props) => (props.withChildren ? withChildrenCss : '')}\n \n animation: ${pulseKeyframe} 1.5s ease-in-out 0.5s infinite;\n\n ${layout}\n ${space}\n ${sizing}\n`;\n"],
|
|
5
|
+
"mappings": "AAAA;ACAA;AACA;AACA;AACA;AAOO,MAAM,iBAAiB,OAAO,QAAQ,EAAE,MAAM,gBAAgB,MAAM,gBAAgB,KAAK,CAAC;AAAA;AAAA;AAAA,sBAG3E,GAAG,MAAM,aAAa;AAAA,IACxC,CAAC,UAAU;AACX,MAAI,MAAM,YAAY;AAAY,WAAO;AACzC,MAAI,MAAM,YAAY;AAAQ,WAAO;AACvC;AAAA,IACE,CAAC,UAAW,MAAM,eAAe,kBAAkB;AAAA;AAAA,eAExC;AAAA;AAAA,IAEX;AAAA,IACA;AAAA,IACA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-skeleton",
|
|
3
|
-
"version": "3.1.0-next.
|
|
3
|
+
"version": "3.1.0-next.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Read More",
|
|
6
6
|
"files": [
|
|
@@ -34,20 +34,12 @@
|
|
|
34
34
|
"reportFile": "tests.xml",
|
|
35
35
|
"indent": 4
|
|
36
36
|
},
|
|
37
|
-
"scripts": {
|
|
38
|
-
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
39
|
-
"test": "node ../../scripts/testing/test.mjs",
|
|
40
|
-
"lint": "node ../../scripts/lint.mjs",
|
|
41
|
-
"dts": "node ../../scripts/dts.mjs",
|
|
42
|
-
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
|
|
43
|
-
},
|
|
44
37
|
"dependencies": {
|
|
45
|
-
"@elliemae/ds-system": "3.1.0-next.
|
|
46
|
-
"@elliemae/ds-utilities": "3.1.0-next.
|
|
38
|
+
"@elliemae/ds-system": "3.1.0-next.5",
|
|
39
|
+
"@elliemae/ds-utilities": "3.1.0-next.5",
|
|
47
40
|
"@xstyled/styled-components": "~3.1.2"
|
|
48
41
|
},
|
|
49
42
|
"devDependencies": {
|
|
50
|
-
"@testing-library/react": "~12.1.2",
|
|
51
43
|
"styled-components": "~5.3.3"
|
|
52
44
|
},
|
|
53
45
|
"peerDependencies": {
|
|
@@ -58,5 +50,13 @@
|
|
|
58
50
|
"publishConfig": {
|
|
59
51
|
"access": "public",
|
|
60
52
|
"typeSafety": false
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
56
|
+
"test": "node ../../scripts/testing/test.mjs",
|
|
57
|
+
"lint": "node ../../scripts/lint.mjs",
|
|
58
|
+
"dts": "node ../../scripts/dts.mjs",
|
|
59
|
+
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
60
|
+
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
61
61
|
}
|
|
62
|
-
}
|
|
62
|
+
}
|