@elliemae/ds-utilities 3.0.0-next.52 → 3.0.0-next.55

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,9 +25,10 @@ __export(useCallbackAfterRender_exports, {
25
25
  module.exports = __toCommonJS(useCallbackAfterRender_exports);
26
26
  var React = __toESM(require("react"));
27
27
  var import_react = require("react");
28
- const useCallbackAfterRender = () => {
28
+ const useCallbackAfterRender = (isLayout = false) => {
29
29
  const lastRun = (0, import_react.useRef)(null);
30
- (0, import_react.useEffect)(() => {
30
+ const effect = (0, import_react.useMemo)(() => isLayout ? import_react.useLayoutEffect : import_react.useEffect, [isLayout]);
31
+ effect(() => {
31
32
  lastRun.current?.();
32
33
  lastRun.current = null;
33
34
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/hooks/useCallbackAfterRender.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { useRef, useEffect } from 'react';\n\ntype Callback = (callback: () => void) => void;\n\n// Inspired in https://github.com/ryuuji3/react-hooks/blob/4b183d61c30abf17efeab2240f8ff652a5dbb8e2/packages/use-callback-after-render/src/hooks/useCallbackAfterRender.ts\nexport const useCallbackAfterRender = (): Callback => {\n const lastRun = useRef<(() => void) | null>(null);\n\n useEffect(() => {\n lastRun.current?.();\n lastRun.current = null;\n });\n\n return (callback) => {\n lastRun.current = callback; // schedule callback after render\n };\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkC;AAK3B,MAAM,yBAAyB,MAAgB;AACpD,QAAM,UAAU,yBAA4B,IAAI;AAEhD,8BAAU,MAAM;AACd,YAAQ,UAAU;AAClB,YAAQ,UAAU;AAAA,EACpB,CAAC;AAED,SAAO,CAAC,aAAa;AACnB,YAAQ,UAAU;AAAA,EACpB;AACF;",
4
+ "sourcesContent": ["import { useRef, useLayoutEffect, useMemo, useEffect } from 'react';\n\ntype Callback = (callback: () => void) => void;\n\n// Inspired in https://github.com/ryuuji3/react-hooks/blob/4b183d61c30abf17efeab2240f8ff652a5dbb8e2/packages/use-callback-after-render/src/hooks/useCallbackAfterRender.ts\nexport const useCallbackAfterRender = (isLayout = false): Callback => {\n const lastRun = useRef<(() => void) | null>(null);\n\n const effect = useMemo(() => (isLayout ? useLayoutEffect : useEffect), [isLayout]);\n\n effect(() => {\n lastRun.current?.();\n lastRun.current = null;\n });\n\n return (callback) => {\n lastRun.current = callback; // schedule callback after render\n };\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAA4D;AAKrD,MAAM,yBAAyB,CAAC,WAAW,UAAoB;AACpE,QAAM,UAAU,yBAA4B,IAAI;AAEhD,QAAM,SAAS,0BAAQ,MAAO,WAAW,+BAAkB,wBAAY,CAAC,QAAQ,CAAC;AAEjF,SAAO,MAAM;AACX,YAAQ,UAAU;AAClB,YAAQ,UAAU;AAAA,EACpB,CAAC;AAED,SAAO,CAAC,aAAa;AACnB,YAAQ,UAAU;AAAA,EACpB;AACF;",
6
6
  "names": []
7
7
  }
@@ -25,6 +25,22 @@ __export(objectUtilities_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(objectUtilities_exports);
27
27
  var React = __toESM(require("react"));
28
- const getObjectValuesToArray = (object) => JSON.stringify(object).match(/(?<=:").+?(?=")/g);
29
- const getObjectKeysToArray = (object) => JSON.stringify(object).match(/(?<=")[^:"]+?(?=":)/g);
28
+ const JSONKeyValueRegExp = /"(.+?)": "(.+?)",?$/gm;
29
+ const prettyStringfy = (obj) => JSON.stringify(obj, null, 2);
30
+ function getFirstGroup(regexp, str) {
31
+ const array = [...str.matchAll(regexp)];
32
+ const firstGroup = array.map((m) => m[1]).filter((v) => v !== void 0);
33
+ if (firstGroup.length > 0)
34
+ return firstGroup;
35
+ return null;
36
+ }
37
+ function getSecondGroup(regexp, str) {
38
+ const array = [...str.matchAll(regexp)];
39
+ const secondGroup = array.map((m) => m[2]).filter((v) => v !== void 0);
40
+ if (secondGroup.length > 0)
41
+ return secondGroup;
42
+ return null;
43
+ }
44
+ const getObjectValuesToArray = (obj) => getSecondGroup(JSONKeyValueRegExp, prettyStringfy(obj));
45
+ const getObjectKeysToArray = (obj) => getFirstGroup(JSONKeyValueRegExp, prettyStringfy(obj));
30
46
  //# sourceMappingURL=objectUtilities.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/objectUtilities.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const getObjectValuesToArray = (object: Record<string, unknown>): string[] | null =>\n JSON.stringify(object).match(/(?<=:\").+?(?=\")/g);\n\nexport const getObjectKeysToArray = (object: Record<string, unknown>): string[] | null =>\n JSON.stringify(object).match(/(?<=\")[^:\"]+?(?=\":)/g);\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,yBAAyB,CAAC,WACrC,KAAK,UAAU,MAAM,EAAE,MAAM,kBAAkB;AAE1C,MAAM,uBAAuB,CAAC,WACnC,KAAK,UAAU,MAAM,EAAE,MAAM,sBAAsB;",
4
+ "sourcesContent": ["const JSONKeyValueRegExp = /\"(.+?)\": \"(.+?)\",?$/gm;\nconst prettyStringfy = (obj: Record<string, unknown>): string => JSON.stringify(obj, null, 2);\nfunction getFirstGroup(regexp: RegExp, str: string) {\n const array = [...str.matchAll(regexp)];\n const firstGroup = array.map((m) => m[1]).filter((v) => v !== undefined);\n if (firstGroup.length > 0) return firstGroup;\n return null;\n}\nfunction getSecondGroup(regexp: RegExp, str: string) {\n const array = [...str.matchAll(regexp)];\n const secondGroup = array.map((m) => m[2]).filter((v) => v !== undefined);\n if (secondGroup.length > 0) return secondGroup;\n return null;\n}\nexport const getObjectValuesToArray = (obj: Record<string, unknown>): string[] | null =>\n getSecondGroup(JSONKeyValueRegExp, prettyStringfy(obj));\n\nexport const getObjectKeysToArray = (obj: Record<string, unknown>): string[] | null =>\n getFirstGroup(JSONKeyValueRegExp, prettyStringfy(obj));", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB,CAAC,QAAyC,KAAK,UAAU,KAAK,MAAM,CAAC;AAC5F,uBAAuB,QAAgB,KAAa;AAClD,QAAM,QAAQ,CAAC,GAAG,IAAI,SAAS,MAAM,CAAC;AACtC,QAAM,aAAa,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,MAAM,MAAS;AACvE,MAAI,WAAW,SAAS;AAAG,WAAO;AAClC,SAAO;AACT;AACA,wBAAwB,QAAgB,KAAa;AACnD,QAAM,QAAQ,CAAC,GAAG,IAAI,SAAS,MAAM,CAAC;AACtC,QAAM,cAAc,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,MAAM,MAAS;AACxE,MAAI,YAAY,SAAS;AAAG,WAAO;AACnC,SAAO;AACT;AACO,MAAM,yBAAyB,CAAC,QACrC,eAAe,oBAAoB,eAAe,GAAG,CAAC;AAEjD,MAAM,uBAAuB,CAAC,QACnC,cAAc,oBAAoB,eAAe,GAAG,CAAC;",
6
6
  "names": []
7
7
  }
@@ -54,8 +54,8 @@ const paddingKeys = [
54
54
  "py"
55
55
  ];
56
56
  const spaceKeys = ["spaceY", "spaceX", "spaceXReverse", "spaceYReverse"];
57
- const widthKeys = ["w", "maxWidth", "maxW", "minWidth", "minW"];
58
- const heightKeys = ["h", "maxHeight", "maxH", "minHeight", "minH"];
57
+ const widthKeys = ["width", "w", "maxWidth", "maxW", "minWidth", "minW"];
58
+ const heightKeys = ["height", "h", "maxHeight", "maxH", "minHeight", "minH"];
59
59
  const maskSizeKeys = ["maskSize"];
60
60
  const spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];
61
61
  const sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/props-helpers/xstyledProps/constants.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["const marginKeys = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'm',\n 'mt',\n 'mr',\n 'mb',\n 'ml',\n 'mx',\n 'my',\n];\n\nconst paddingKeys = [\n 'padding',\n 'p',\n 'paddingTop',\n 'pt',\n 'paddingRight',\n 'pr',\n 'paddingBottom',\n 'pb',\n 'paddingLeft',\n 'pl',\n 'px',\n 'py',\n];\n\nconst spaceKeys = ['spaceY', 'spaceX', 'spaceXReverse', 'spaceYReverse'];\n\nconst widthKeys = ['w', 'maxWidth', 'maxW', 'minWidth', 'minW'];\n\nconst heightKeys = ['h', 'maxHeight', 'maxH', 'minHeight', 'minH'];\n\nconst maskSizeKeys = ['maskSize'];\n\nconst spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];\nconst sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];\nexport const layoutKeys = [\n 'display',\n 'float',\n 'boxSizing',\n 'container',\n 'overflow',\n 'overflowX',\n 'overflowY',\n 'zIndex',\n 'position',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'visibility',\n 'overscrollBehavior',\n 'objectFit',\n];\n\nexport const xstyledKeys = Object.fromEntries(\n [...spacingKeys, ...sizingKeys, ...layoutKeys].map((item) => [item, true]),\n) as Record<string, true>;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,cAAc;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,YAAY,CAAC,UAAU,UAAU,iBAAiB,eAAe;AAEvE,MAAM,YAAY,CAAC,KAAK,YAAY,QAAQ,YAAY,MAAM;AAE9D,MAAM,aAAa,CAAC,KAAK,aAAa,QAAQ,aAAa,MAAM;AAEjE,MAAM,eAAe,CAAC,UAAU;AAEhC,MAAM,cAAc,CAAC,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS;AAChE,MAAM,aAAa,CAAC,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY;AACzD,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,cAAc,OAAO,YAChC,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAC3E;",
4
+ "sourcesContent": ["const marginKeys = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'm',\n 'mt',\n 'mr',\n 'mb',\n 'ml',\n 'mx',\n 'my',\n];\n\nconst paddingKeys = [\n 'padding',\n 'p',\n 'paddingTop',\n 'pt',\n 'paddingRight',\n 'pr',\n 'paddingBottom',\n 'pb',\n 'paddingLeft',\n 'pl',\n 'px',\n 'py',\n];\n\nconst spaceKeys = ['spaceY', 'spaceX', 'spaceXReverse', 'spaceYReverse'];\n\nconst widthKeys = ['width', 'w', 'maxWidth', 'maxW', 'minWidth', 'minW'];\n\nconst heightKeys = ['height', 'h', 'maxHeight', 'maxH', 'minHeight', 'minH'];\n\nconst maskSizeKeys = ['maskSize'];\n\nconst spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];\nconst sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];\nexport const layoutKeys = [\n 'display',\n 'float',\n 'boxSizing',\n 'container',\n 'overflow',\n 'overflowX',\n 'overflowY',\n 'zIndex',\n 'position',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'visibility',\n 'overscrollBehavior',\n 'objectFit',\n];\n\nexport const xstyledKeys = Object.fromEntries(\n [...spacingKeys, ...sizingKeys, ...layoutKeys].map((item) => [item, true]),\n) as Record<string, true>;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,cAAc;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,YAAY,CAAC,UAAU,UAAU,iBAAiB,eAAe;AAEvE,MAAM,YAAY,CAAC,SAAS,KAAK,YAAY,QAAQ,YAAY,MAAM;AAEvE,MAAM,aAAa,CAAC,UAAU,KAAK,aAAa,QAAQ,aAAa,MAAM;AAE3E,MAAM,eAAe,CAAC,UAAU;AAEhC,MAAM,cAAc,CAAC,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS;AAChE,MAAM,aAAa,CAAC,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY;AACzD,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,cAAc,OAAO,YAChC,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAC3E;",
6
6
  "names": []
7
7
  }
@@ -25,61 +25,70 @@ __export(xstyledPropTypes_exports, {
25
25
  module.exports = __toCommonJS(xstyledPropTypes_exports);
26
26
  var React = __toESM(require("react"));
27
27
  var import_propTypes = require("../propTypes");
28
+ const xstyledGenericPropType = import_propTypes.PropTypes.oneOfType([
29
+ import_propTypes.PropTypes.number,
30
+ import_propTypes.PropTypes.string,
31
+ import_propTypes.PropTypes.object,
32
+ import_propTypes.PropTypes.bool
33
+ ]);
34
+ const genericDescription = "Applies to the root container. For more info read xstyled docs";
28
35
  const xstyledPropTypes = {
29
- margin: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
30
- m: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
31
- marginTop: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
32
- mt: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
33
- marginRight: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
34
- mr: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
35
- marginBottom: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
36
- mb: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
37
- marginLeft: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
38
- ml: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
39
- mx: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
40
- my: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
41
- padding: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
42
- p: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
43
- paddingTop: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
44
- pt: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
45
- paddingRight: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
46
- pr: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
47
- paddingBottom: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
48
- pb: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
49
- paddingLeft: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
50
- pl: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
51
- px: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
52
- py: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
53
- spaceY: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
54
- spaceX: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
55
- spaceXReverse: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
56
- spaceYReverse: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
57
- w: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
58
- maxWidth: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
59
- maxW: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
60
- minWidth: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
61
- minW: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
62
- h: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
63
- maxHeight: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
64
- maxH: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
65
- minHeight: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
66
- minH: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
67
- maskSize: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
68
- display: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
69
- float: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
70
- boxSizing: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
71
- container: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
72
- overflow: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
73
- overflowX: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
74
- overflowY: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
75
- zIndex: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
76
- position: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
77
- top: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
78
- right: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
79
- bottom: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
80
- left: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
81
- visibility: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
82
- overscrollBehavior: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
83
- objectFit: import_propTypes.PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled()
36
+ margin: xstyledGenericPropType.description(genericDescription).xstyled(),
37
+ m: xstyledGenericPropType.description(genericDescription).xstyled(),
38
+ marginTop: xstyledGenericPropType.description(genericDescription).xstyled(),
39
+ mt: xstyledGenericPropType.description(genericDescription).xstyled(),
40
+ marginRight: xstyledGenericPropType.description(genericDescription).xstyled(),
41
+ mr: xstyledGenericPropType.description(genericDescription).xstyled(),
42
+ marginBottom: xstyledGenericPropType.description(genericDescription).xstyled(),
43
+ mb: xstyledGenericPropType.description(genericDescription).xstyled(),
44
+ marginLeft: xstyledGenericPropType.description(genericDescription).xstyled(),
45
+ ml: xstyledGenericPropType.description(genericDescription).xstyled(),
46
+ mx: xstyledGenericPropType.description(genericDescription).xstyled(),
47
+ my: xstyledGenericPropType.description(genericDescription).xstyled(),
48
+ padding: xstyledGenericPropType.description(genericDescription).xstyled(),
49
+ p: xstyledGenericPropType.description(genericDescription).xstyled(),
50
+ paddingTop: xstyledGenericPropType.description(genericDescription).xstyled(),
51
+ pt: xstyledGenericPropType.description(genericDescription).xstyled(),
52
+ paddingRight: xstyledGenericPropType.description(genericDescription).xstyled(),
53
+ pr: xstyledGenericPropType.description(genericDescription).xstyled(),
54
+ paddingBottom: xstyledGenericPropType.description(genericDescription).xstyled(),
55
+ pb: xstyledGenericPropType.description(genericDescription).xstyled(),
56
+ paddingLeft: xstyledGenericPropType.description(genericDescription).xstyled(),
57
+ pl: xstyledGenericPropType.description(genericDescription).xstyled(),
58
+ px: xstyledGenericPropType.description(genericDescription).xstyled(),
59
+ py: xstyledGenericPropType.description(genericDescription).xstyled(),
60
+ spaceY: xstyledGenericPropType.description(genericDescription).xstyled(),
61
+ spaceX: xstyledGenericPropType.description(genericDescription).xstyled(),
62
+ spaceXReverse: xstyledGenericPropType.description(genericDescription).xstyled(),
63
+ spaceYReverse: xstyledGenericPropType.description(genericDescription).xstyled(),
64
+ w: xstyledGenericPropType.description(genericDescription).xstyled(),
65
+ width: xstyledGenericPropType.description(genericDescription).xstyled(),
66
+ maxWidth: xstyledGenericPropType.description(genericDescription).xstyled(),
67
+ maxW: xstyledGenericPropType.description(genericDescription).xstyled(),
68
+ minWidth: xstyledGenericPropType.description(genericDescription).xstyled(),
69
+ minW: xstyledGenericPropType.description(genericDescription).xstyled(),
70
+ h: xstyledGenericPropType.description(genericDescription).xstyled(),
71
+ height: xstyledGenericPropType.description(genericDescription).xstyled(),
72
+ maxHeight: xstyledGenericPropType.description(genericDescription).xstyled(),
73
+ maxH: xstyledGenericPropType.description(genericDescription).xstyled(),
74
+ minHeight: xstyledGenericPropType.description(genericDescription).xstyled(),
75
+ minH: xstyledGenericPropType.description(genericDescription).xstyled(),
76
+ maskSize: xstyledGenericPropType.description(genericDescription).xstyled(),
77
+ display: xstyledGenericPropType.description(genericDescription).xstyled(),
78
+ float: xstyledGenericPropType.description(genericDescription).xstyled(),
79
+ boxSizing: xstyledGenericPropType.description(genericDescription).xstyled(),
80
+ container: xstyledGenericPropType.description(genericDescription).xstyled(),
81
+ overflow: xstyledGenericPropType.description(genericDescription).xstyled(),
82
+ overflowX: xstyledGenericPropType.description(genericDescription).xstyled(),
83
+ overflowY: xstyledGenericPropType.description(genericDescription).xstyled(),
84
+ zIndex: xstyledGenericPropType.description(genericDescription).xstyled(),
85
+ position: xstyledGenericPropType.description(genericDescription).xstyled(),
86
+ top: xstyledGenericPropType.description(genericDescription).xstyled(),
87
+ right: xstyledGenericPropType.description(genericDescription).xstyled(),
88
+ bottom: xstyledGenericPropType.description(genericDescription).xstyled(),
89
+ left: xstyledGenericPropType.description(genericDescription).xstyled(),
90
+ visibility: xstyledGenericPropType.description(genericDescription).xstyled(),
91
+ overscrollBehavior: xstyledGenericPropType.description(genericDescription).xstyled(),
92
+ objectFit: xstyledGenericPropType.description(genericDescription).xstyled()
84
93
  };
85
94
  //# sourceMappingURL=xstyledPropTypes.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/props-helpers/xstyledProps/xstyledPropTypes.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes } from '../propTypes';\n\nexport const xstyledPropTypes = {\n margin: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n m: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginTop: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mt: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginRight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mr: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginBottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mb: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginLeft: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n ml: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mx: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n my: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n padding: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n p: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingTop: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pt: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingRight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pr: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingBottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pb: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingLeft: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pl: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n px: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n py: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceY: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceX: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceXReverse: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceYReverse: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n w: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxWidth: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxW: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minWidth: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minW: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n h: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxHeight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxH: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minHeight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minH: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maskSize: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n display: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n float: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n boxSizing: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n container: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflow: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflowX: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflowY: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n zIndex: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n position: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n top: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n right: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n bottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n left: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n visibility: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overscrollBehavior: PropTypes.any\n .description('Applies to the root container. For more info read xstyled docs')\n .xstyled(),\n objectFit: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA0B;AAEnB,MAAM,mBAAmB;AAAA,EAC9B,QAAQ,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,GAAG,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EACvG,WAAW,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC/G,IAAI,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EACxG,aAAa,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA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IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,UAAU,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC9G,KAAK,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EACzG,OAAO,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC3G,QAAQ,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,MAAM,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC1G,YAAY,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAChH,oBAAoB,2BAAU,IAC3B,YAAY,gEAAgE,EAC5E,QAAQ;AAAA,EACX,WAAW,2BAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AACjH;",
4
+ "sourcesContent": ["import { PropTypes } from '../propTypes';\n\n// Based on https://github.com/gregberge/xstyled/blob/c0c92b459bb3a5de46d7854be3667861f816baa5/packages/prop-types/src/index.ts\nconst xstyledGenericPropType = PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n PropTypes.object,\n PropTypes.bool,\n]);\n\nconst genericDescription = 'Applies to the root container. For more info read xstyled docs';\n\nexport const xstyledPropTypes = {\n margin: xstyledGenericPropType.description(genericDescription).xstyled(),\n m: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginTop: xstyledGenericPropType.description(genericDescription).xstyled(),\n mt: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginRight: xstyledGenericPropType.description(genericDescription).xstyled(),\n mr: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginBottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n mb: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginLeft: xstyledGenericPropType.description(genericDescription).xstyled(),\n ml: xstyledGenericPropType.description(genericDescription).xstyled(),\n mx: xstyledGenericPropType.description(genericDescription).xstyled(),\n my: xstyledGenericPropType.description(genericDescription).xstyled(),\n padding: xstyledGenericPropType.description(genericDescription).xstyled(),\n p: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingTop: xstyledGenericPropType.description(genericDescription).xstyled(),\n pt: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingRight: xstyledGenericPropType.description(genericDescription).xstyled(),\n pr: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingBottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n pb: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingLeft: xstyledGenericPropType.description(genericDescription).xstyled(),\n pl: xstyledGenericPropType.description(genericDescription).xstyled(),\n px: xstyledGenericPropType.description(genericDescription).xstyled(),\n py: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceY: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceX: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceXReverse: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceYReverse: xstyledGenericPropType.description(genericDescription).xstyled(),\n w: xstyledGenericPropType.description(genericDescription).xstyled(),\n width: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxWidth: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxW: xstyledGenericPropType.description(genericDescription).xstyled(),\n minWidth: xstyledGenericPropType.description(genericDescription).xstyled(),\n minW: xstyledGenericPropType.description(genericDescription).xstyled(),\n h: xstyledGenericPropType.description(genericDescription).xstyled(),\n height: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxHeight: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxH: xstyledGenericPropType.description(genericDescription).xstyled(),\n minHeight: xstyledGenericPropType.description(genericDescription).xstyled(),\n minH: xstyledGenericPropType.description(genericDescription).xstyled(),\n maskSize: xstyledGenericPropType.description(genericDescription).xstyled(),\n display: xstyledGenericPropType.description(genericDescription).xstyled(),\n float: xstyledGenericPropType.description(genericDescription).xstyled(),\n boxSizing: xstyledGenericPropType.description(genericDescription).xstyled(),\n container: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflow: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflowX: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflowY: xstyledGenericPropType.description(genericDescription).xstyled(),\n zIndex: xstyledGenericPropType.description(genericDescription).xstyled(),\n position: xstyledGenericPropType.description(genericDescription).xstyled(),\n top: xstyledGenericPropType.description(genericDescription).xstyled(),\n right: xstyledGenericPropType.description(genericDescription).xstyled(),\n bottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n left: xstyledGenericPropType.description(genericDescription).xstyled(),\n visibility: xstyledGenericPropType.description(genericDescription).xstyled(),\n overscrollBehavior: xstyledGenericPropType.description(genericDescription).xstyled(),\n objectFit: xstyledGenericPropType.description(genericDescription).xstyled(),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA0B;AAG1B,MAAM,yBAAyB,2BAAU,UAAU;AAAA,EACjD,2BAAU;AAAA,EACV,2BAAU;AAAA,EACV,2BAAU;AAAA,EACV,2BAAU;AACZ,CAAC;AAED,MAAM,qBAAqB;AAEpB,MAAM,mBAAmB;AAAA,EAC9B,QAAQ,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACvE,GAAG,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAClE,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,aAAa,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC5E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,cAAc,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC7E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,YAAY,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ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,EACrE,YAAY,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC3E,oBAAoB,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnF,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAC5E;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,9 @@
1
1
  import * as React from "react";
2
- import { useRef, useEffect } from "react";
3
- const useCallbackAfterRender = () => {
2
+ import { useRef, useLayoutEffect, useMemo, useEffect } from "react";
3
+ const useCallbackAfterRender = (isLayout = false) => {
4
4
  const lastRun = useRef(null);
5
- useEffect(() => {
5
+ const effect = useMemo(() => isLayout ? useLayoutEffect : useEffect, [isLayout]);
6
+ effect(() => {
6
7
  lastRun.current?.();
7
8
  lastRun.current = null;
8
9
  });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/hooks/useCallbackAfterRender.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useRef, useEffect } from 'react';\n\ntype Callback = (callback: () => void) => void;\n\n// Inspired in https://github.com/ryuuji3/react-hooks/blob/4b183d61c30abf17efeab2240f8ff652a5dbb8e2/packages/use-callback-after-render/src/hooks/useCallbackAfterRender.ts\nexport const useCallbackAfterRender = (): Callback => {\n const lastRun = useRef<(() => void) | null>(null);\n\n useEffect(() => {\n lastRun.current?.();\n lastRun.current = null;\n });\n\n return (callback) => {\n lastRun.current = callback; // schedule callback after render\n };\n};\n"],
5
- "mappings": "AAAA;ACAA;AAKO,MAAM,yBAAyB,MAAgB;AACpD,QAAM,UAAU,OAA4B,IAAI;AAEhD,YAAU,MAAM;AACd,YAAQ,UAAU;AAClB,YAAQ,UAAU;AAAA,EACpB,CAAC;AAED,SAAO,CAAC,aAAa;AACnB,YAAQ,UAAU;AAAA,EACpB;AACF;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { useRef, useLayoutEffect, useMemo, useEffect } from 'react';\n\ntype Callback = (callback: () => void) => void;\n\n// Inspired in https://github.com/ryuuji3/react-hooks/blob/4b183d61c30abf17efeab2240f8ff652a5dbb8e2/packages/use-callback-after-render/src/hooks/useCallbackAfterRender.ts\nexport const useCallbackAfterRender = (isLayout = false): Callback => {\n const lastRun = useRef<(() => void) | null>(null);\n\n const effect = useMemo(() => (isLayout ? useLayoutEffect : useEffect), [isLayout]);\n\n effect(() => {\n lastRun.current?.();\n lastRun.current = null;\n });\n\n return (callback) => {\n lastRun.current = callback; // schedule callback after render\n };\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAKO,MAAM,yBAAyB,CAAC,WAAW,UAAoB;AACpE,QAAM,UAAU,OAA4B,IAAI;AAEhD,QAAM,SAAS,QAAQ,MAAO,WAAW,kBAAkB,WAAY,CAAC,QAAQ,CAAC;AAEjF,SAAO,MAAM;AACX,YAAQ,UAAU;AAClB,YAAQ,UAAU;AAAA,EACpB,CAAC;AAED,SAAO,CAAC,aAAa;AACnB,YAAQ,UAAU;AAAA,EACpB;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,22 @@
1
1
  import * as React from "react";
2
- const getObjectValuesToArray = (object) => JSON.stringify(object).match(/(?<=:").+?(?=")/g);
3
- const getObjectKeysToArray = (object) => JSON.stringify(object).match(/(?<=")[^:"]+?(?=":)/g);
2
+ const JSONKeyValueRegExp = /"(.+?)": "(.+?)",?$/gm;
3
+ const prettyStringfy = (obj) => JSON.stringify(obj, null, 2);
4
+ function getFirstGroup(regexp, str) {
5
+ const array = [...str.matchAll(regexp)];
6
+ const firstGroup = array.map((m) => m[1]).filter((v) => v !== void 0);
7
+ if (firstGroup.length > 0)
8
+ return firstGroup;
9
+ return null;
10
+ }
11
+ function getSecondGroup(regexp, str) {
12
+ const array = [...str.matchAll(regexp)];
13
+ const secondGroup = array.map((m) => m[2]).filter((v) => v !== void 0);
14
+ if (secondGroup.length > 0)
15
+ return secondGroup;
16
+ return null;
17
+ }
18
+ const getObjectValuesToArray = (obj) => getSecondGroup(JSONKeyValueRegExp, prettyStringfy(obj));
19
+ const getObjectKeysToArray = (obj) => getFirstGroup(JSONKeyValueRegExp, prettyStringfy(obj));
4
20
  export {
5
21
  getObjectKeysToArray,
6
22
  getObjectValuesToArray
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/objectUtilities.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const getObjectValuesToArray = (object: Record<string, unknown>): string[] | null =>\n JSON.stringify(object).match(/(?<=:\").+?(?=\")/g);\n\nexport const getObjectKeysToArray = (object: Record<string, unknown>): string[] | null =>\n JSON.stringify(object).match(/(?<=\")[^:\"]+?(?=\":)/g);\n"],
5
- "mappings": "AAAA;ACAO,MAAM,yBAAyB,CAAC,WACrC,KAAK,UAAU,MAAM,EAAE,MAAM,kBAAkB;AAE1C,MAAM,uBAAuB,CAAC,WACnC,KAAK,UAAU,MAAM,EAAE,MAAM,sBAAsB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "const JSONKeyValueRegExp = /\"(.+?)\": \"(.+?)\",?$/gm;\nconst prettyStringfy = (obj: Record<string, unknown>): string => JSON.stringify(obj, null, 2);\nfunction getFirstGroup(regexp: RegExp, str: string) {\n const array = [...str.matchAll(regexp)];\n const firstGroup = array.map((m) => m[1]).filter((v) => v !== undefined);\n if (firstGroup.length > 0) return firstGroup;\n return null;\n}\nfunction getSecondGroup(regexp: RegExp, str: string) {\n const array = [...str.matchAll(regexp)];\n const secondGroup = array.map((m) => m[2]).filter((v) => v !== undefined);\n if (secondGroup.length > 0) return secondGroup;\n return null;\n}\nexport const getObjectValuesToArray = (obj: Record<string, unknown>): string[] | null =>\n getSecondGroup(JSONKeyValueRegExp, prettyStringfy(obj));\n\nexport const getObjectKeysToArray = (obj: Record<string, unknown>): string[] | null =>\n getFirstGroup(JSONKeyValueRegExp, prettyStringfy(obj));"],
5
+ "mappings": "AAAA;ACAA,MAAM,qBAAqB;AAC3B,MAAM,iBAAiB,CAAC,QAAyC,KAAK,UAAU,KAAK,MAAM,CAAC;AAC5F,uBAAuB,QAAgB,KAAa;AAClD,QAAM,QAAQ,CAAC,GAAG,IAAI,SAAS,MAAM,CAAC;AACtC,QAAM,aAAa,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,MAAM,MAAS;AACvE,MAAI,WAAW,SAAS;AAAG,WAAO;AAClC,SAAO;AACT;AACA,wBAAwB,QAAgB,KAAa;AACnD,QAAM,QAAQ,CAAC,GAAG,IAAI,SAAS,MAAM,CAAC;AACtC,QAAM,cAAc,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,MAAM,MAAS;AACxE,MAAI,YAAY,SAAS;AAAG,WAAO;AACnC,SAAO;AACT;AACO,MAAM,yBAAyB,CAAC,QACrC,eAAe,oBAAoB,eAAe,GAAG,CAAC;AAEjD,MAAM,uBAAuB,CAAC,QACnC,cAAc,oBAAoB,eAAe,GAAG,CAAC;",
6
6
  "names": []
7
7
  }
@@ -28,8 +28,8 @@ const paddingKeys = [
28
28
  "py"
29
29
  ];
30
30
  const spaceKeys = ["spaceY", "spaceX", "spaceXReverse", "spaceYReverse"];
31
- const widthKeys = ["w", "maxWidth", "maxW", "minWidth", "minW"];
32
- const heightKeys = ["h", "maxHeight", "maxH", "minHeight", "minH"];
31
+ const widthKeys = ["width", "w", "maxWidth", "maxW", "minWidth", "minW"];
32
+ const heightKeys = ["height", "h", "maxHeight", "maxH", "minHeight", "minH"];
33
33
  const maskSizeKeys = ["maskSize"];
34
34
  const spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];
35
35
  const sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/props-helpers/xstyledProps/constants.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "const marginKeys = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'm',\n 'mt',\n 'mr',\n 'mb',\n 'ml',\n 'mx',\n 'my',\n];\n\nconst paddingKeys = [\n 'padding',\n 'p',\n 'paddingTop',\n 'pt',\n 'paddingRight',\n 'pr',\n 'paddingBottom',\n 'pb',\n 'paddingLeft',\n 'pl',\n 'px',\n 'py',\n];\n\nconst spaceKeys = ['spaceY', 'spaceX', 'spaceXReverse', 'spaceYReverse'];\n\nconst widthKeys = ['w', 'maxWidth', 'maxW', 'minWidth', 'minW'];\n\nconst heightKeys = ['h', 'maxHeight', 'maxH', 'minHeight', 'minH'];\n\nconst maskSizeKeys = ['maskSize'];\n\nconst spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];\nconst sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];\nexport const layoutKeys = [\n 'display',\n 'float',\n 'boxSizing',\n 'container',\n 'overflow',\n 'overflowX',\n 'overflowY',\n 'zIndex',\n 'position',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'visibility',\n 'overscrollBehavior',\n 'objectFit',\n];\n\nexport const xstyledKeys = Object.fromEntries(\n [...spacingKeys, ...sizingKeys, ...layoutKeys].map((item) => [item, true]),\n) as Record<string, true>;\n"],
5
- "mappings": "AAAA;ACAA,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,cAAc;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,YAAY,CAAC,UAAU,UAAU,iBAAiB,eAAe;AAEvE,MAAM,YAAY,CAAC,KAAK,YAAY,QAAQ,YAAY,MAAM;AAE9D,MAAM,aAAa,CAAC,KAAK,aAAa,QAAQ,aAAa,MAAM;AAEjE,MAAM,eAAe,CAAC,UAAU;AAEhC,MAAM,cAAc,CAAC,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS;AAChE,MAAM,aAAa,CAAC,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY;AACzD,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,cAAc,OAAO,YAChC,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAC3E;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "const marginKeys = [\n 'margin',\n 'marginTop',\n 'marginRight',\n 'marginBottom',\n 'marginLeft',\n 'm',\n 'mt',\n 'mr',\n 'mb',\n 'ml',\n 'mx',\n 'my',\n];\n\nconst paddingKeys = [\n 'padding',\n 'p',\n 'paddingTop',\n 'pt',\n 'paddingRight',\n 'pr',\n 'paddingBottom',\n 'pb',\n 'paddingLeft',\n 'pl',\n 'px',\n 'py',\n];\n\nconst spaceKeys = ['spaceY', 'spaceX', 'spaceXReverse', 'spaceYReverse'];\n\nconst widthKeys = ['width', 'w', 'maxWidth', 'maxW', 'minWidth', 'minW'];\n\nconst heightKeys = ['height', 'h', 'maxHeight', 'maxH', 'minHeight', 'minH'];\n\nconst maskSizeKeys = ['maskSize'];\n\nconst spacingKeys = [...marginKeys, ...paddingKeys, ...spaceKeys];\nconst sizingKeys = [...widthKeys, ...heightKeys, ...maskSizeKeys];\nexport const layoutKeys = [\n 'display',\n 'float',\n 'boxSizing',\n 'container',\n 'overflow',\n 'overflowX',\n 'overflowY',\n 'zIndex',\n 'position',\n 'top',\n 'right',\n 'bottom',\n 'left',\n 'visibility',\n 'overscrollBehavior',\n 'objectFit',\n];\n\nexport const xstyledKeys = Object.fromEntries(\n [...spacingKeys, ...sizingKeys, ...layoutKeys].map((item) => [item, true]),\n) as Record<string, true>;\n"],
5
+ "mappings": "AAAA;ACAA,MAAM,aAAa;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,cAAc;AAAA,EAClB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEA,MAAM,YAAY,CAAC,UAAU,UAAU,iBAAiB,eAAe;AAEvE,MAAM,YAAY,CAAC,SAAS,KAAK,YAAY,QAAQ,YAAY,MAAM;AAEvE,MAAM,aAAa,CAAC,UAAU,KAAK,aAAa,QAAQ,aAAa,MAAM;AAE3E,MAAM,eAAe,CAAC,UAAU;AAEhC,MAAM,cAAc,CAAC,GAAG,YAAY,GAAG,aAAa,GAAG,SAAS;AAChE,MAAM,aAAa,CAAC,GAAG,WAAW,GAAG,YAAY,GAAG,YAAY;AACzD,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,cAAc,OAAO,YAChC,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,IAAI,CAAC,CAC3E;",
6
6
  "names": []
7
7
  }
@@ -1,61 +1,70 @@
1
1
  import * as React from "react";
2
2
  import { PropTypes } from "../propTypes";
3
+ const xstyledGenericPropType = PropTypes.oneOfType([
4
+ PropTypes.number,
5
+ PropTypes.string,
6
+ PropTypes.object,
7
+ PropTypes.bool
8
+ ]);
9
+ const genericDescription = "Applies to the root container. For more info read xstyled docs";
3
10
  const xstyledPropTypes = {
4
- margin: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
5
- m: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
6
- marginTop: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
7
- mt: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
8
- marginRight: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
9
- mr: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
10
- marginBottom: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
11
- mb: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
12
- marginLeft: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
13
- ml: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
14
- mx: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
15
- my: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
16
- padding: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
17
- p: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
18
- paddingTop: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
19
- pt: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
20
- paddingRight: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
21
- pr: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
22
- paddingBottom: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
23
- pb: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
24
- paddingLeft: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
25
- pl: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
26
- px: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
27
- py: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
28
- spaceY: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
29
- spaceX: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
30
- spaceXReverse: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
31
- spaceYReverse: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
32
- w: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
33
- maxWidth: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
34
- maxW: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
35
- minWidth: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
36
- minW: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
37
- h: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
38
- maxHeight: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
39
- maxH: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
40
- minHeight: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
41
- minH: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
42
- maskSize: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
43
- display: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
44
- float: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
45
- boxSizing: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
46
- container: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
47
- overflow: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
48
- overflowX: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
49
- overflowY: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
50
- zIndex: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
51
- position: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
52
- top: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
53
- right: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
54
- bottom: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
55
- left: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
56
- visibility: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
57
- overscrollBehavior: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled(),
58
- objectFit: PropTypes.any.description("Applies to the root container. For more info read xstyled docs").xstyled()
11
+ margin: xstyledGenericPropType.description(genericDescription).xstyled(),
12
+ m: xstyledGenericPropType.description(genericDescription).xstyled(),
13
+ marginTop: xstyledGenericPropType.description(genericDescription).xstyled(),
14
+ mt: xstyledGenericPropType.description(genericDescription).xstyled(),
15
+ marginRight: xstyledGenericPropType.description(genericDescription).xstyled(),
16
+ mr: xstyledGenericPropType.description(genericDescription).xstyled(),
17
+ marginBottom: xstyledGenericPropType.description(genericDescription).xstyled(),
18
+ mb: xstyledGenericPropType.description(genericDescription).xstyled(),
19
+ marginLeft: xstyledGenericPropType.description(genericDescription).xstyled(),
20
+ ml: xstyledGenericPropType.description(genericDescription).xstyled(),
21
+ mx: xstyledGenericPropType.description(genericDescription).xstyled(),
22
+ my: xstyledGenericPropType.description(genericDescription).xstyled(),
23
+ padding: xstyledGenericPropType.description(genericDescription).xstyled(),
24
+ p: xstyledGenericPropType.description(genericDescription).xstyled(),
25
+ paddingTop: xstyledGenericPropType.description(genericDescription).xstyled(),
26
+ pt: xstyledGenericPropType.description(genericDescription).xstyled(),
27
+ paddingRight: xstyledGenericPropType.description(genericDescription).xstyled(),
28
+ pr: xstyledGenericPropType.description(genericDescription).xstyled(),
29
+ paddingBottom: xstyledGenericPropType.description(genericDescription).xstyled(),
30
+ pb: xstyledGenericPropType.description(genericDescription).xstyled(),
31
+ paddingLeft: xstyledGenericPropType.description(genericDescription).xstyled(),
32
+ pl: xstyledGenericPropType.description(genericDescription).xstyled(),
33
+ px: xstyledGenericPropType.description(genericDescription).xstyled(),
34
+ py: xstyledGenericPropType.description(genericDescription).xstyled(),
35
+ spaceY: xstyledGenericPropType.description(genericDescription).xstyled(),
36
+ spaceX: xstyledGenericPropType.description(genericDescription).xstyled(),
37
+ spaceXReverse: xstyledGenericPropType.description(genericDescription).xstyled(),
38
+ spaceYReverse: xstyledGenericPropType.description(genericDescription).xstyled(),
39
+ w: xstyledGenericPropType.description(genericDescription).xstyled(),
40
+ width: xstyledGenericPropType.description(genericDescription).xstyled(),
41
+ maxWidth: xstyledGenericPropType.description(genericDescription).xstyled(),
42
+ maxW: xstyledGenericPropType.description(genericDescription).xstyled(),
43
+ minWidth: xstyledGenericPropType.description(genericDescription).xstyled(),
44
+ minW: xstyledGenericPropType.description(genericDescription).xstyled(),
45
+ h: xstyledGenericPropType.description(genericDescription).xstyled(),
46
+ height: xstyledGenericPropType.description(genericDescription).xstyled(),
47
+ maxHeight: xstyledGenericPropType.description(genericDescription).xstyled(),
48
+ maxH: xstyledGenericPropType.description(genericDescription).xstyled(),
49
+ minHeight: xstyledGenericPropType.description(genericDescription).xstyled(),
50
+ minH: xstyledGenericPropType.description(genericDescription).xstyled(),
51
+ maskSize: xstyledGenericPropType.description(genericDescription).xstyled(),
52
+ display: xstyledGenericPropType.description(genericDescription).xstyled(),
53
+ float: xstyledGenericPropType.description(genericDescription).xstyled(),
54
+ boxSizing: xstyledGenericPropType.description(genericDescription).xstyled(),
55
+ container: xstyledGenericPropType.description(genericDescription).xstyled(),
56
+ overflow: xstyledGenericPropType.description(genericDescription).xstyled(),
57
+ overflowX: xstyledGenericPropType.description(genericDescription).xstyled(),
58
+ overflowY: xstyledGenericPropType.description(genericDescription).xstyled(),
59
+ zIndex: xstyledGenericPropType.description(genericDescription).xstyled(),
60
+ position: xstyledGenericPropType.description(genericDescription).xstyled(),
61
+ top: xstyledGenericPropType.description(genericDescription).xstyled(),
62
+ right: xstyledGenericPropType.description(genericDescription).xstyled(),
63
+ bottom: xstyledGenericPropType.description(genericDescription).xstyled(),
64
+ left: xstyledGenericPropType.description(genericDescription).xstyled(),
65
+ visibility: xstyledGenericPropType.description(genericDescription).xstyled(),
66
+ overscrollBehavior: xstyledGenericPropType.description(genericDescription).xstyled(),
67
+ objectFit: xstyledGenericPropType.description(genericDescription).xstyled()
59
68
  };
60
69
  export {
61
70
  xstyledPropTypes
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/props-helpers/xstyledProps/xstyledPropTypes.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '../propTypes';\n\nexport const xstyledPropTypes = {\n margin: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n m: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginTop: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mt: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginRight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mr: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginBottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mb: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n marginLeft: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n ml: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n mx: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n my: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n padding: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n p: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingTop: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pt: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingRight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pr: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingBottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pb: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n paddingLeft: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n pl: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n px: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n py: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceY: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceX: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceXReverse: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n spaceYReverse: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n w: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxWidth: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxW: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minWidth: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minW: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n h: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxHeight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maxH: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minHeight: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n minH: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n maskSize: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n display: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n float: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n boxSizing: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n container: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflow: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflowX: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overflowY: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n zIndex: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n position: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n top: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n right: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n bottom: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n left: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n visibility: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n overscrollBehavior: PropTypes.any\n .description('Applies to the root container. For more info read xstyled docs')\n .xstyled(),\n objectFit: PropTypes.any.description('Applies to the root container. For more info read xstyled docs').xstyled(),\n};\n"],
5
- "mappings": "AAAA;ACAA;AAEO,MAAM,mBAAmB;AAAA,EAC9B,QAAQ,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,GAAG,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EACvG,WAAW,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC/G,IAAI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AAY,gEAAgE,EAAE,QAAQ;AAAA,EAC/G,QAAQ,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,UAAU,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC9G,KAAK,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EACzG,OAAO,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC3G,QAAQ,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC5G,MAAM,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAC1G,YAAY,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AAAA,EAChH,oBAAoB,UAAU,IAC3B,YAAY,gEAAgE,EAC5E,QAAQ;AAAA,EACX,WAAW,UAAU,IAAI,YAAY,gEAAgE,EAAE,QAAQ;AACjH;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '../propTypes';\n\n// Based on https://github.com/gregberge/xstyled/blob/c0c92b459bb3a5de46d7854be3667861f816baa5/packages/prop-types/src/index.ts\nconst xstyledGenericPropType = PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n PropTypes.object,\n PropTypes.bool,\n]);\n\nconst genericDescription = 'Applies to the root container. For more info read xstyled docs';\n\nexport const xstyledPropTypes = {\n margin: xstyledGenericPropType.description(genericDescription).xstyled(),\n m: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginTop: xstyledGenericPropType.description(genericDescription).xstyled(),\n mt: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginRight: xstyledGenericPropType.description(genericDescription).xstyled(),\n mr: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginBottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n mb: xstyledGenericPropType.description(genericDescription).xstyled(),\n marginLeft: xstyledGenericPropType.description(genericDescription).xstyled(),\n ml: xstyledGenericPropType.description(genericDescription).xstyled(),\n mx: xstyledGenericPropType.description(genericDescription).xstyled(),\n my: xstyledGenericPropType.description(genericDescription).xstyled(),\n padding: xstyledGenericPropType.description(genericDescription).xstyled(),\n p: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingTop: xstyledGenericPropType.description(genericDescription).xstyled(),\n pt: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingRight: xstyledGenericPropType.description(genericDescription).xstyled(),\n pr: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingBottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n pb: xstyledGenericPropType.description(genericDescription).xstyled(),\n paddingLeft: xstyledGenericPropType.description(genericDescription).xstyled(),\n pl: xstyledGenericPropType.description(genericDescription).xstyled(),\n px: xstyledGenericPropType.description(genericDescription).xstyled(),\n py: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceY: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceX: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceXReverse: xstyledGenericPropType.description(genericDescription).xstyled(),\n spaceYReverse: xstyledGenericPropType.description(genericDescription).xstyled(),\n w: xstyledGenericPropType.description(genericDescription).xstyled(),\n width: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxWidth: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxW: xstyledGenericPropType.description(genericDescription).xstyled(),\n minWidth: xstyledGenericPropType.description(genericDescription).xstyled(),\n minW: xstyledGenericPropType.description(genericDescription).xstyled(),\n h: xstyledGenericPropType.description(genericDescription).xstyled(),\n height: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxHeight: xstyledGenericPropType.description(genericDescription).xstyled(),\n maxH: xstyledGenericPropType.description(genericDescription).xstyled(),\n minHeight: xstyledGenericPropType.description(genericDescription).xstyled(),\n minH: xstyledGenericPropType.description(genericDescription).xstyled(),\n maskSize: xstyledGenericPropType.description(genericDescription).xstyled(),\n display: xstyledGenericPropType.description(genericDescription).xstyled(),\n float: xstyledGenericPropType.description(genericDescription).xstyled(),\n boxSizing: xstyledGenericPropType.description(genericDescription).xstyled(),\n container: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflow: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflowX: xstyledGenericPropType.description(genericDescription).xstyled(),\n overflowY: xstyledGenericPropType.description(genericDescription).xstyled(),\n zIndex: xstyledGenericPropType.description(genericDescription).xstyled(),\n position: xstyledGenericPropType.description(genericDescription).xstyled(),\n top: xstyledGenericPropType.description(genericDescription).xstyled(),\n right: xstyledGenericPropType.description(genericDescription).xstyled(),\n bottom: xstyledGenericPropType.description(genericDescription).xstyled(),\n left: xstyledGenericPropType.description(genericDescription).xstyled(),\n visibility: xstyledGenericPropType.description(genericDescription).xstyled(),\n overscrollBehavior: xstyledGenericPropType.description(genericDescription).xstyled(),\n objectFit: xstyledGenericPropType.description(genericDescription).xstyled(),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAGA,MAAM,yBAAyB,UAAU,UAAU;AAAA,EACjD,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AACZ,CAAC;AAED,MAAM,qBAAqB;AAEpB,MAAM,mBAAmB;AAAA,EAC9B,QAAQ,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACvE,GAAG,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAClE,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,aAAa,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC5E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,cAAc,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC7E,IAAI,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnE,YAAY,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC3E,IAAI,uBAAuB,YAAY,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,EAAE,QAAQ;AAAA,EAC3E,oBAAoB,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACnF,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAC5E;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-utilities",
3
- "version": "3.0.0-next.52",
3
+ "version": "3.0.0-next.55",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Utilities",
6
6
  "files": [