@elliemae/ds-utilities 3.0.0-next.54 → 3.0.0-next.57
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/hooks/useCallbackAfterRender.js +3 -2
- package/dist/cjs/hooks/useCallbackAfterRender.js.map +2 -2
- package/dist/cjs/objectUtilities.js +18 -2
- package/dist/cjs/objectUtilities.js.map +2 -2
- package/dist/cjs/props-helpers/xstyledProps/constants.js +2 -2
- package/dist/cjs/props-helpers/xstyledProps/constants.js.map +2 -2
- package/dist/cjs/props-helpers/xstyledProps/xstyledPropTypes.js +64 -55
- package/dist/cjs/props-helpers/xstyledProps/xstyledPropTypes.js.map +2 -2
- package/dist/esm/hooks/useCallbackAfterRender.js +4 -3
- package/dist/esm/hooks/useCallbackAfterRender.js.map +2 -2
- package/dist/esm/objectUtilities.js +18 -2
- package/dist/esm/objectUtilities.js.map +2 -2
- package/dist/esm/props-helpers/xstyledProps/constants.js +2 -2
- package/dist/esm/props-helpers/xstyledProps/constants.js.map +2 -2
- package/dist/esm/props-helpers/xstyledProps/xstyledPropTypes.js +64 -55
- package/dist/esm/props-helpers/xstyledProps/xstyledPropTypes.js.map +2 -2
- package/package.json +1 -1
|
@@ -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.
|
|
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,
|
|
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
|
|
29
|
-
const
|
|
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": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
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;
|
|
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:
|
|
30
|
-
m:
|
|
31
|
-
marginTop:
|
|
32
|
-
mt:
|
|
33
|
-
marginRight:
|
|
34
|
-
mr:
|
|
35
|
-
marginBottom:
|
|
36
|
-
mb:
|
|
37
|
-
marginLeft:
|
|
38
|
-
ml:
|
|
39
|
-
mx:
|
|
40
|
-
my:
|
|
41
|
-
padding:
|
|
42
|
-
p:
|
|
43
|
-
paddingTop:
|
|
44
|
-
pt:
|
|
45
|
-
paddingRight:
|
|
46
|
-
pr:
|
|
47
|
-
paddingBottom:
|
|
48
|
-
pb:
|
|
49
|
-
paddingLeft:
|
|
50
|
-
pl:
|
|
51
|
-
px:
|
|
52
|
-
py:
|
|
53
|
-
spaceY:
|
|
54
|
-
spaceX:
|
|
55
|
-
spaceXReverse:
|
|
56
|
-
spaceYReverse:
|
|
57
|
-
w:
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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\
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAA0B;
|
|
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,EACj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;AAAA,EACtE,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,UAAU,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACzE,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,WAAW,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EAC1E,QAAQ,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACvE,UAAU,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACzE,KAAK,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACpE,OAAO,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACtE,QAAQ,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,EACvE,MAAM,uBAAuB,YAAY,kBAAkB,EAAE,QAAQ;AAAA,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
|
-
|
|
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,
|
|
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
|
|
3
|
-
const
|
|
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", "
|
|
5
|
-
"mappings": "AAAA;
|
|
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;
|
|
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:
|
|
5
|
-
m:
|
|
6
|
-
marginTop:
|
|
7
|
-
mt:
|
|
8
|
-
marginRight:
|
|
9
|
-
mr:
|
|
10
|
-
marginBottom:
|
|
11
|
-
mb:
|
|
12
|
-
marginLeft:
|
|
13
|
-
ml:
|
|
14
|
-
mx:
|
|
15
|
-
my:
|
|
16
|
-
padding:
|
|
17
|
-
p:
|
|
18
|
-
paddingTop:
|
|
19
|
-
pt:
|
|
20
|
-
paddingRight:
|
|
21
|
-
pr:
|
|
22
|
-
paddingBottom:
|
|
23
|
-
pb:
|
|
24
|
-
paddingLeft:
|
|
25
|
-
pl:
|
|
26
|
-
px:
|
|
27
|
-
py:
|
|
28
|
-
spaceY:
|
|
29
|
-
spaceX:
|
|
30
|
-
spaceXReverse:
|
|
31
|
-
spaceYReverse:
|
|
32
|
-
w:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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\
|
|
5
|
-
"mappings": "AAAA;ACAA;
|
|
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,kBAAkB,EAAE,QAAQ;AAAA,E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