@elliemae/ds-system 3.12.0-next.1 → 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 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,6 +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);
45
+ var import_xStyledWrapper = require("./xStyledWrapper");
43
46
  var import_themeProviderHOC = require("./themeProviderHOC");
44
47
  var import_system = require("@xstyled/system");
45
48
  var import_styled_components = require("@xstyled/styled-components");
@@ -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 { 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;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,8BAAiC;AACjC,oBAAqC;AACrC,+BAA6B;",
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
  }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
22
+ mod
23
+ ));
24
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
+ var xStyledWrapper_exports = {};
26
+ __export(xStyledWrapper_exports, {
27
+ XStyledWrapper: () => XStyledWrapper,
28
+ default: () => xStyledWrapper_default,
29
+ xStyledCommonProps: () => xStyledCommonProps
30
+ });
31
+ module.exports = __toCommonJS(xStyledWrapper_exports);
32
+ var React = __toESM(require("react"));
33
+ var import__ = require(".");
34
+ var import_system = require("@xstyled/system");
35
+ const XStyledWrapper = (0, import__.styled)("div")`
36
+ ${import__.layout}
37
+ ${import__.space}
38
+ ${import__.sizing}
39
+ ${import__.background}
40
+ ${import__.borders}
41
+ ${import__.boxShadows}
42
+ ${import__.flexboxes}
43
+ ${import__.color}
44
+ `;
45
+ const xStyledCommonProps = (0, import_system.compose)(import__.background, import__.borders, import__.sizing, import__.space, import__.boxShadows, import__.flexboxes, import__.layout, import__.color);
46
+ var xStyledWrapper_default = XStyledWrapper;
47
+ //# sourceMappingURL=xStyledWrapper.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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';\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
+ "names": []
7
+ }
package/dist/esm/index.js CHANGED
@@ -7,13 +7,16 @@ export * from "./arithmetic";
7
7
  export * from "./th";
8
8
  export * from "./theme";
9
9
  export * from "./ds-styled";
10
+ import { xStyledCommonProps, XStyledWrapper } from "./xStyledWrapper";
10
11
  import { themeProviderHOC } from "./themeProviderHOC";
11
12
  import { position, typography } from "@xstyled/system";
12
13
  import { ThemeContext } from "@xstyled/styled-components";
13
14
  export {
14
15
  ThemeContext,
16
+ XStyledWrapper,
15
17
  position,
16
18
  themeProviderHOC,
17
- typography
19
+ typography,
20
+ xStyledCommonProps
18
21
  };
19
22
  //# sourceMappingURL=index.js.map
@@ -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 { 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,wBAAwB;AACjC,SAAS,UAAU,kBAAkB;AACrC,SAAS,oBAAoB;",
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
  }
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ import { styled, background, borders, sizing, space, boxShadows, flexboxes, layout, color } from ".";
3
+ import { compose } from "@xstyled/system";
4
+ const XStyledWrapper = styled("div")`
5
+ ${layout}
6
+ ${space}
7
+ ${sizing}
8
+ ${background}
9
+ ${borders}
10
+ ${boxShadows}
11
+ ${flexboxes}
12
+ ${color}
13
+ `;
14
+ const xStyledCommonProps = compose(background, borders, sizing, space, boxShadows, flexboxes, layout, color);
15
+ var xStyledWrapper_default = XStyledWrapper;
16
+ export {
17
+ XStyledWrapper,
18
+ xStyledWrapper_default as default,
19
+ xStyledCommonProps
20
+ };
21
+ //# sourceMappingURL=xStyledWrapper.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 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';\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
+ "names": []
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-system",
3
- "version": "3.12.0-next.1",
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.5"
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": "^5.3.5"
108
+ "styled-components": "~5.3.6"
109
109
  },
110
110
  "scripts": {
111
111
  "test": "node ../../scripts/testing/test.mjs",