@elliemae/ds-system 3.12.0-rc.0 → 3.12.0-rc.1
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/index.js +4 -2
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/xStyledWrapper.js +4 -1
- package/dist/cjs/xStyledWrapper.js.map +2 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/xStyledWrapper.js +4 -1
- package/dist/esm/xStyledWrapper.js.map +2 -2
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -26,9 +26,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
26
26
|
var src_exports = {};
|
|
27
27
|
__export(src_exports, {
|
|
28
28
|
ThemeContext: () => import_styled_components.ThemeContext,
|
|
29
|
+
XStyledWrapper: () => import_xStyledWrapper.XStyledWrapper,
|
|
29
30
|
position: () => import_system.position,
|
|
30
31
|
themeProviderHOC: () => import_themeProviderHOC.themeProviderHOC,
|
|
31
|
-
typography: () => import_system.typography
|
|
32
|
+
typography: () => import_system.typography,
|
|
33
|
+
xStyledCommonProps: () => import_xStyledWrapper.xStyledCommonProps
|
|
32
34
|
});
|
|
33
35
|
module.exports = __toCommonJS(src_exports);
|
|
34
36
|
var React = __toESM(require("react"));
|
|
@@ -40,7 +42,7 @@ __reExport(src_exports, require("./arithmetic"), module.exports);
|
|
|
40
42
|
__reExport(src_exports, require("./th"), module.exports);
|
|
41
43
|
__reExport(src_exports, require("./theme"), module.exports);
|
|
42
44
|
__reExport(src_exports, require("./ds-styled"), module.exports);
|
|
43
|
-
|
|
45
|
+
var import_xStyledWrapper = require("./xStyledWrapper");
|
|
44
46
|
var import_themeProviderHOC = require("./themeProviderHOC");
|
|
45
47
|
var import_system = require("@xstyled/system");
|
|
46
48
|
var import_styled_components = require("@xstyled/styled-components");
|
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 * from './globalStyles';\nexport * from './spaceUtilities';\nexport * from './mobileUtilities';\nexport * from './utils';\nexport * from './arithmetic';\nexport * from './th';\nexport * from './theme';\nexport * from './ds-styled';\nexport
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,2BAAd;AACA,wBAAc,6BADd;AAEA,wBAAc,8BAFd;AAGA,wBAAc,oBAHd;AAIA,wBAAc,yBAJd;AAKA,wBAAc,iBALd;AAMA,wBAAc,oBANd;AAOA,wBAAc,wBAPd;AAQA,
|
|
4
|
+
"sourcesContent": ["export * from './globalStyles';\nexport * from './spaceUtilities';\nexport * from './mobileUtilities';\nexport * from './utils';\nexport * from './arithmetic';\nexport * from './th';\nexport * from './theme';\nexport * from './ds-styled';\nexport { xStyledCommonProps, XStyledWrapper } from './xStyledWrapper';\n\nexport { themeProviderHOC } from './themeProviderHOC';\nexport { position, typography } from '@xstyled/system';\nexport { ThemeContext } from '@xstyled/styled-components';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAAc,2BAAd;AACA,wBAAc,6BADd;AAEA,wBAAc,8BAFd;AAGA,wBAAc,oBAHd;AAIA,wBAAc,yBAJd;AAKA,wBAAc,iBALd;AAMA,wBAAc,oBANd;AAOA,wBAAc,wBAPd;AAQA,4BAAmD;AAEnD,8BAAiC;AACjC,oBAAqC;AACrC,+BAA6B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -25,11 +25,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
25
25
|
var xStyledWrapper_exports = {};
|
|
26
26
|
__export(xStyledWrapper_exports, {
|
|
27
27
|
XStyledWrapper: () => XStyledWrapper,
|
|
28
|
-
default: () => xStyledWrapper_default
|
|
28
|
+
default: () => xStyledWrapper_default,
|
|
29
|
+
xStyledCommonProps: () => xStyledCommonProps
|
|
29
30
|
});
|
|
30
31
|
module.exports = __toCommonJS(xStyledWrapper_exports);
|
|
31
32
|
var React = __toESM(require("react"));
|
|
32
33
|
var import__ = require(".");
|
|
34
|
+
var import_system = require("@xstyled/system");
|
|
33
35
|
const XStyledWrapper = (0, import__.styled)("div")`
|
|
34
36
|
${import__.layout}
|
|
35
37
|
${import__.space}
|
|
@@ -40,5 +42,6 @@ const XStyledWrapper = (0, import__.styled)("div")`
|
|
|
40
42
|
${import__.flexboxes}
|
|
41
43
|
${import__.color}
|
|
42
44
|
`;
|
|
45
|
+
const xStyledCommonProps = (0, import_system.compose)(import__.background, import__.borders, import__.sizing, import__.space, import__.boxShadows, import__.flexboxes, import__.layout, import__.color);
|
|
43
46
|
var xStyledWrapper_default = XStyledWrapper;
|
|
44
47
|
//# sourceMappingURL=xStyledWrapper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/xStyledWrapper.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from '.';\nimport type {} from '@xstyled/util';\nimport type {} from '@xstyled/system';\n\nexport const XStyledWrapper = styled('div')`\n ${layout}\n ${space}\n ${sizing}\n ${background}\n ${borders}\n ${boxShadows}\n ${flexboxes}\n ${color}\n`;\n\nexport default XStyledWrapper;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,eAAiG;
|
|
4
|
+
"sourcesContent": ["import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from '.';\nimport type {} from '@xstyled/util';\nimport type {} from '@xstyled/system';\nimport { compose } from '@xstyled/system';\n\nexport const XStyledWrapper = styled('div')`\n ${layout}\n ${space}\n ${sizing}\n ${background}\n ${borders}\n ${boxShadows}\n ${flexboxes}\n ${color}\n`;\n\nexport const xStyledCommonProps = compose(background, borders, sizing, space, boxShadows, flexboxes, layout, color);\n\nexport default XStyledWrapper;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,eAAiG;AAGjG,oBAAwB;AAEjB,MAAM,qBAAiB,iBAAO,KAAK;AAAA,IACtC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,yBAAqB,uBAAQ,qBAAY,kBAAS,iBAAQ,gBAAO,qBAAY,oBAAW,iBAAQ,cAAK;AAElH,IAAO,yBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -7,14 +7,16 @@ export * from "./arithmetic";
|
|
|
7
7
|
export * from "./th";
|
|
8
8
|
export * from "./theme";
|
|
9
9
|
export * from "./ds-styled";
|
|
10
|
-
|
|
10
|
+
import { xStyledCommonProps, XStyledWrapper } from "./xStyledWrapper";
|
|
11
11
|
import { themeProviderHOC } from "./themeProviderHOC";
|
|
12
12
|
import { position, typography } from "@xstyled/system";
|
|
13
13
|
import { ThemeContext } from "@xstyled/styled-components";
|
|
14
14
|
export {
|
|
15
15
|
ThemeContext,
|
|
16
|
+
XStyledWrapper,
|
|
16
17
|
position,
|
|
17
18
|
themeProviderHOC,
|
|
18
|
-
typography
|
|
19
|
+
typography,
|
|
20
|
+
xStyledCommonProps
|
|
19
21
|
};
|
|
20
22
|
//# sourceMappingURL=index.js.map
|
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 * from './globalStyles';\nexport * from './spaceUtilities';\nexport * from './mobileUtilities';\nexport * from './utils';\nexport * from './arithmetic';\nexport * from './th';\nexport * from './theme';\nexport * from './ds-styled';\nexport
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './globalStyles';\nexport * from './spaceUtilities';\nexport * from './mobileUtilities';\nexport * from './utils';\nexport * from './arithmetic';\nexport * from './th';\nexport * from './theme';\nexport * from './ds-styled';\nexport { xStyledCommonProps, XStyledWrapper } from './xStyledWrapper';\n\nexport { themeProviderHOC } from './themeProviderHOC';\nexport { position, typography } from '@xstyled/system';\nexport { ThemeContext } from '@xstyled/styled-components';\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,SAAS,oBAAoB,sBAAsB;AAEnD,SAAS,wBAAwB;AACjC,SAAS,UAAU,kBAAkB;AACrC,SAAS,oBAAoB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from ".";
|
|
3
|
+
import { compose } from "@xstyled/system";
|
|
3
4
|
const XStyledWrapper = styled("div")`
|
|
4
5
|
${layout}
|
|
5
6
|
${space}
|
|
@@ -10,9 +11,11 @@ const XStyledWrapper = styled("div")`
|
|
|
10
11
|
${flexboxes}
|
|
11
12
|
${color}
|
|
12
13
|
`;
|
|
14
|
+
const xStyledCommonProps = compose(background, borders, sizing, space, boxShadows, flexboxes, layout, color);
|
|
13
15
|
var xStyledWrapper_default = XStyledWrapper;
|
|
14
16
|
export {
|
|
15
17
|
XStyledWrapper,
|
|
16
|
-
xStyledWrapper_default as default
|
|
18
|
+
xStyledWrapper_default as default,
|
|
19
|
+
xStyledCommonProps
|
|
17
20
|
};
|
|
18
21
|
//# sourceMappingURL=xStyledWrapper.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/xStyledWrapper.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from '.';\nimport type {} from '@xstyled/util';\nimport type {} from '@xstyled/system';\n\nexport const XStyledWrapper = styled('div')`\n ${layout}\n ${space}\n ${sizing}\n ${background}\n ${borders}\n ${boxShadows}\n ${flexboxes}\n ${color}\n`;\n\nexport default XStyledWrapper;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,QAAQ,YAAY,SAAS,QAAQ,OAAO,YAAY,WAAW,QAAQ,aAAa;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from '.';\nimport type {} from '@xstyled/util';\nimport type {} from '@xstyled/system';\nimport { compose } from '@xstyled/system';\n\nexport const XStyledWrapper = styled('div')`\n ${layout}\n ${space}\n ${sizing}\n ${background}\n ${borders}\n ${boxShadows}\n ${flexboxes}\n ${color}\n`;\n\nexport const xStyledCommonProps = compose(background, borders, sizing, space, boxShadows, flexboxes, layout, color);\n\nexport default XStyledWrapper;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,QAAQ,YAAY,SAAS,QAAQ,OAAO,YAAY,WAAW,QAAQ,aAAa;AAGjG,SAAS,eAAe;AAEjB,MAAM,iBAAiB,OAAO,KAAK;AAAA,IACtC;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAGG,MAAM,qBAAqB,QAAQ,YAAY,SAAS,QAAQ,OAAO,YAAY,WAAW,QAAQ,KAAK;AAElH,IAAO,yBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-system",
|
|
3
|
-
"version": "3.12.0-rc.
|
|
3
|
+
"version": "3.12.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - System",
|
|
6
6
|
"files": [
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@elliemae/pui-theme": "~2.6.0",
|
|
100
100
|
"@testing-library/jest-dom": "~5.16.4",
|
|
101
|
-
"styled-components": "~5.3.
|
|
101
|
+
"styled-components": "~5.3.6"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"@elliemae/pui-theme": "^2.6.0",
|
|
105
105
|
"lodash": "^4.17.21",
|
|
106
106
|
"react": "~17.0.2",
|
|
107
107
|
"react-dom": "^17.0.2",
|
|
108
|
-
"styled-components": "
|
|
108
|
+
"styled-components": "~5.3.6"
|
|
109
109
|
},
|
|
110
110
|
"scripts": {
|
|
111
111
|
"test": "node ../../scripts/testing/test.mjs",
|