@tamagui/web 1.144.2 → 1.144.3
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/animationDriverTypes.test-d.cjs +49 -0
- package/dist/cjs/animationDriverTypes.test-d.js +51 -0
- package/dist/cjs/animationDriverTypes.test-d.js.map +6 -0
- package/dist/cjs/animationDriverTypes.test-d.native.js +52 -0
- package/dist/cjs/animationDriverTypes.test-d.native.js.map +1 -0
- package/dist/cjs/helpers/getDynamicVal.cjs +22 -1
- package/dist/cjs/helpers/getDynamicVal.js +22 -1
- package/dist/cjs/helpers/getDynamicVal.js.map +1 -1
- package/dist/cjs/helpers/getDynamicVal.native.js +22 -1
- package/dist/cjs/helpers/getDynamicVal.native.js.map +1 -1
- package/dist/cjs/helpers/getSplitStyles.cjs +3 -17
- package/dist/cjs/helpers/getSplitStyles.js +2 -24
- package/dist/cjs/helpers/getSplitStyles.js.map +1 -1
- package/dist/cjs/helpers/getSplitStyles.native.js +18 -10
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/cjs/helpers/mergeRenderElementProps.cjs +32 -0
- package/dist/cjs/helpers/mergeRenderElementProps.js +25 -0
- package/dist/cjs/helpers/mergeRenderElementProps.js.map +6 -0
- package/dist/cjs/helpers/mergeRenderElementProps.native.js +35 -0
- package/dist/cjs/helpers/mergeRenderElementProps.native.js.map +1 -0
- package/dist/cjs/helpers/mergeSlotStyleProps.cjs +39 -0
- package/dist/cjs/helpers/mergeSlotStyleProps.js +29 -0
- package/dist/cjs/helpers/mergeSlotStyleProps.js.map +6 -0
- package/dist/cjs/helpers/mergeSlotStyleProps.native.js +42 -0
- package/dist/cjs/helpers/mergeSlotStyleProps.native.js.map +1 -0
- package/dist/cjs/helpers/nativeOnlyProps.cjs +60 -0
- package/dist/cjs/helpers/nativeOnlyProps.js +55 -0
- package/dist/cjs/helpers/nativeOnlyProps.js.map +6 -0
- package/dist/cjs/helpers/nativeOnlyProps.native.js +63 -0
- package/dist/cjs/helpers/nativeOnlyProps.native.js.map +1 -0
- package/dist/cjs/helpers/normalizeColor.cjs +2 -1
- package/dist/cjs/helpers/normalizeColor.js +2 -1
- package/dist/cjs/helpers/normalizeColor.js.map +1 -1
- package/dist/cjs/helpers/normalizeColor.native.js +5 -3
- package/dist/cjs/helpers/normalizeColor.native.js.map +1 -1
- package/dist/cjs/helpers/resolveRem.cjs +32 -0
- package/dist/cjs/helpers/resolveRem.js +27 -0
- package/dist/cjs/helpers/resolveRem.js.map +6 -0
- package/dist/cjs/helpers/resolveRem.native.js +50 -0
- package/dist/cjs/helpers/resolveRem.native.js.map +1 -0
- package/dist/cjs/helpers/useRenderElement.cjs +48 -0
- package/dist/cjs/helpers/useRenderElement.js +42 -0
- package/dist/cjs/helpers/useRenderElement.js.map +6 -0
- package/dist/cjs/helpers/useRenderElement.native.js +52 -0
- package/dist/cjs/helpers/useRenderElement.native.js.map +1 -0
- package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.cjs +16 -0
- package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.js +14 -0
- package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.js.map +6 -0
- package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.native.js +19 -0
- package/dist/cjs/interfaces/TamaguiComponentPropsBaseBase.native.js.map +1 -0
- package/dist/esm/animationDriverTypes.test-d.js +51 -0
- package/dist/esm/animationDriverTypes.test-d.js.map +6 -0
- package/dist/esm/animationDriverTypes.test-d.mjs +50 -0
- package/dist/esm/animationDriverTypes.test-d.mjs.map +1 -0
- package/dist/esm/animationDriverTypes.test-d.native.js +50 -0
- package/dist/esm/animationDriverTypes.test-d.native.js.map +1 -0
- package/dist/esm/helpers/getDynamicVal.js +22 -1
- package/dist/esm/helpers/getDynamicVal.js.map +1 -1
- package/dist/esm/helpers/getDynamicVal.mjs +21 -1
- package/dist/esm/helpers/getDynamicVal.mjs.map +1 -1
- package/dist/esm/helpers/getDynamicVal.native.js +21 -1
- package/dist/esm/helpers/getDynamicVal.native.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.js +4 -31
- package/dist/esm/helpers/getSplitStyles.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs +6 -20
- package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +19 -11
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/mergeRenderElementProps.js +9 -0
- package/dist/esm/helpers/mergeRenderElementProps.js.map +6 -0
- package/dist/esm/helpers/mergeRenderElementProps.mjs +9 -0
- package/dist/esm/helpers/mergeRenderElementProps.mjs.map +1 -0
- package/dist/esm/helpers/mergeRenderElementProps.native.js +9 -0
- package/dist/esm/helpers/mergeRenderElementProps.native.js.map +1 -0
- package/dist/esm/helpers/mergeSlotStyleProps.js +14 -0
- package/dist/esm/helpers/mergeSlotStyleProps.js.map +6 -0
- package/dist/esm/helpers/mergeSlotStyleProps.mjs +16 -0
- package/dist/esm/helpers/mergeSlotStyleProps.mjs.map +1 -0
- package/dist/esm/helpers/mergeSlotStyleProps.native.js +16 -0
- package/dist/esm/helpers/mergeSlotStyleProps.native.js.map +1 -0
- package/dist/esm/helpers/nativeOnlyProps.js +39 -0
- package/dist/esm/helpers/nativeOnlyProps.js.map +6 -0
- package/dist/esm/helpers/nativeOnlyProps.mjs +37 -0
- package/dist/esm/helpers/nativeOnlyProps.mjs.map +1 -0
- package/dist/esm/helpers/nativeOnlyProps.native.js +37 -0
- package/dist/esm/helpers/nativeOnlyProps.native.js.map +1 -0
- package/dist/esm/helpers/normalizeColor.js +2 -1
- package/dist/esm/helpers/normalizeColor.js.map +1 -1
- package/dist/esm/helpers/normalizeColor.mjs +2 -1
- package/dist/esm/helpers/normalizeColor.mjs.map +1 -1
- package/dist/esm/helpers/normalizeColor.native.js +5 -3
- package/dist/esm/helpers/normalizeColor.native.js.map +1 -1
- package/dist/esm/helpers/resolveRem.js +11 -0
- package/dist/esm/helpers/resolveRem.js.map +6 -0
- package/dist/esm/helpers/resolveRem.mjs +8 -0
- package/dist/esm/helpers/resolveRem.mjs.map +1 -0
- package/dist/esm/helpers/resolveRem.native.js +23 -0
- package/dist/esm/helpers/resolveRem.native.js.map +1 -0
- package/dist/esm/helpers/useRenderElement.js +28 -0
- package/dist/esm/helpers/useRenderElement.js.map +6 -0
- package/dist/esm/helpers/useRenderElement.mjs +25 -0
- package/dist/esm/helpers/useRenderElement.mjs.map +1 -0
- package/dist/esm/helpers/useRenderElement.native.js +26 -0
- package/dist/esm/helpers/useRenderElement.native.js.map +1 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.js +1 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.js.map +6 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.mjs +2 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.mjs.map +1 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.native.js +2 -0
- package/dist/esm/interfaces/TamaguiComponentPropsBaseBase.native.js.map +1 -0
- package/package.json +12 -12
- package/src/helpers/getDynamicVal.ts +35 -0
- package/src/helpers/getSplitStyles.tsx +57 -29
- package/src/helpers/normalizeColor.ts +4 -0
- package/types/helpers/expandStyle.native.d.ts.map +1 -0
- package/types/helpers/getDynamicVal.d.ts +4 -0
- package/types/helpers/getDynamicVal.d.ts.map +1 -1
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/mergeRenderElementProps.d.ts.map +1 -0
- package/types/helpers/mergeSlotStyleProps.d.ts.map +1 -0
- package/types/helpers/nativeOnlyProps.d.ts.map +1 -0
- package/types/helpers/normalizeColor.d.ts.map +1 -1
- package/types/helpers/propMapper.native.d.ts.map +1 -0
- package/types/helpers/resolveRem.d.ts.map +1 -0
- package/types/helpers/resolveRem.native.d.ts.map +1 -0
- package/types/helpers/useRenderElement.d.ts.map +1 -0
- package/types/interfaces/TamaguiComponentPropsBaseBase.d.ts.map +1 -0
|
@@ -22,7 +22,7 @@ module.exports = __toCommonJS(normalizeColor_exports);
|
|
|
22
22
|
var import_normalize_css_color = require("@tamagui/normalize-css-color"), import_normalize_css_color2 = require("@tamagui/normalize-css-color");
|
|
23
23
|
const normalizeColor = (color, opacity) => {
|
|
24
24
|
if (color) {
|
|
25
|
-
if (color[0] === "$") return color;
|
|
25
|
+
if (typeof color != "string" || color[0] === "$") return color;
|
|
26
26
|
if (color.startsWith("var(")) {
|
|
27
27
|
if (typeof opacity == "number" && opacity < 1)
|
|
28
28
|
return `color-mix(in srgb, ${color} ${opacity * 100}%, transparent)`;
|
|
@@ -36,6 +36,7 @@ const normalizeColor = (color, opacity) => {
|
|
|
36
36
|
return color;
|
|
37
37
|
}
|
|
38
38
|
}, getRgba = (color) => {
|
|
39
|
+
if (typeof color != "string") return;
|
|
39
40
|
const colorNum = (0, import_normalize_css_color.normalizeCSSColor)(color);
|
|
40
41
|
if (colorNum != null)
|
|
41
42
|
return (0, import_normalize_css_color.rgba)(colorNum);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/helpers/normalizeColor.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAwC,yCAExCA,8BAAqB;AAEd,MAAM,iBAAiB,CAAC,OAAuB,YAAqB;AACzE,MAAK,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iCAAwC,yCAExCA,8BAAqB;AAEd,MAAM,iBAAiB,CAAC,OAAuB,YAAqB;AACzE,MAAK,OAGL;AAAA,QADI,OAAO,SAAU,YACjB,MAAM,CAAC,MAAM,IAAK,QAAO;AAC7B,QAAI,MAAM,WAAW,MAAM;AACzB,UAAI,OAAO,WAAY,YAAY,UAAU;AAC3C,eAAO,sBAAsB,KAAK,IAAI,UAAU,GAAG;AAAA,WAEhD;AACL,YAAMC,QAAO,QAAQ,KAAK;AAC1B,UAAIA,OAAM;AACR,cAAM,SAAS,GAAGA,MAAK,CAAC,IAAIA,MAAK,CAAC,IAAIA,MAAK,CAAC;AAC5C,eAAO,YAAY,IACf,OAAO,MAAM,MACb,QAAQ,MAAM,IAAI,WAAWA,MAAK,KAAK,CAAC;AAAA,MAC9C;AAAA,IACF;AACA,WAAO;AAAA;AACT,GAEa,UAAU,CAAC,UAAkB;AAExC,MAAI,OAAO,SAAU,SAAU;AAC/B,QAAM,eAAW,8CAAkB,KAAK;AACxC,MAAI,YAAY;AACd,eAAO,iCAAK,QAAQ;AAExB;",
|
|
5
5
|
"names": ["import_normalize_css_color", "rgba"]
|
|
6
6
|
}
|
|
@@ -31,7 +31,7 @@ var import_normalize_css_color = require("@tamagui/normalize-css-color"),
|
|
|
31
31
|
import_normalize_css_color2 = require("@tamagui/normalize-css-color"),
|
|
32
32
|
normalizeColor = function (color, opacity) {
|
|
33
33
|
if (color) {
|
|
34
|
-
if (color[0] === "$") return color;
|
|
34
|
+
if (typeof color != "string" || color[0] === "$") return color;
|
|
35
35
|
if (color.startsWith("var(")) {
|
|
36
36
|
if (typeof opacity == "number" && opacity < 1) return `color-mix(in srgb, ${color} ${opacity * 100}%, transparent)`;
|
|
37
37
|
} else {
|
|
@@ -46,7 +46,9 @@ var import_normalize_css_color = require("@tamagui/normalize-css-color"),
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
getRgba = function (color) {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
if (typeof color == "string") {
|
|
50
|
+
var colorNum = (0, import_normalize_css_color.normalizeCSSColor)(color);
|
|
51
|
+
if (colorNum != null) return (0, import_normalize_css_color.rgba)(colorNum);
|
|
52
|
+
}
|
|
51
53
|
};
|
|
52
54
|
//# sourceMappingURL=normalizeColor.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","normalizeColor_exports","__export","getRgba","normalizeColor","rgba","import_normalize_css_color2","module","exports","import_normalize_css_color","require","color","opacity","startsWith","rgba3","colors","r","g","b","_ref","a","colorNum","normalizeCSSColor"],"sources":["../../../src/helpers/normalizeColor.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAA,OAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAC,2BAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAZ,YAAA,CAAAK,sBAAwC;AAIjC,IAAAQ,0BAAwB,GAAuBC,OAAA,+BAAqB;EAAAJ,2BAAA,GAAAI,OAAA;EAAAN,cAAA,YAAAA,CAAAO,KAAA,EAAAC,OAAA;IACzE,IAAKD,KAAA,
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","normalizeColor_exports","__export","getRgba","normalizeColor","rgba","import_normalize_css_color2","module","exports","import_normalize_css_color","require","color","opacity","startsWith","rgba3","colors","r","g","b","_ref","a","colorNum","normalizeCSSColor"],"sources":["../../../src/helpers/normalizeColor.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAA,OAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAA,cAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAC,2BAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAZ,YAAA,CAAAK,sBAAwC;AAIjC,IAAAQ,0BAAwB,GAAuBC,OAAA,+BAAqB;EAAAJ,2BAAA,GAAAI,OAAA;EAAAN,cAAA,YAAAA,CAAAO,KAAA,EAAAC,OAAA;IACzE,IAAKD,KAAA,EAGL;MAAA,IADI,OAAOA,KAAA,IAAU,YACjBA,KAAA,CAAM,CAAC,MAAM,KAAK,OAAOA,KAAA;MAC7B,IAAIA,KAAA,CAAME,UAAA,CAAW,MAAM;QACzB,IAAI,OAAOD,OAAA,IAAY,YAAYA,OAAA,GAAU,GAC3C,OAAO,sBAAsBD,KAAK,IAAIC,OAAA,GAAU,GAAG;MAAA,OAEhD;QACL,IAAAE,KAAM,GAAAX,OAAO,CAAAQ,KAAQ;QACrB,IAAIG,KAAA,EAAM;UACR,IAAAC,MAAM,MAASD,KAAG,CAAAE,CAAA,IAAMF,KAAI,CAAAG,CAAA,IAAMH,KAAI,CAAAI,CAAA,EAAM;YAAAC,IAAA;UAC5C,OAAOP,OAAA,KAAY,IACf,OAAOG,MAAM,MACb,QAAQA,MAAM,IAAI,CAAAI,IAAA,GAAAP,OAAW,IAAKE,KAAM,CAAAM,CAAA,cAAAD,IAAA,cAAAA,IAAA;QAC9C;MACF;MACA,OAAOR,KAAA;IAAA;EACT;EAEaR,OAAA,GAAU,SAAAA,CAACQ,KAAkB;IAExC,IAAI,OAAOA,KAAA,IAAU,UAAU;MAC/B,IAAMU,QAAA,OAAWZ,0BAAA,CAAAa,iBAAA,EAAkBX,KAAK;MACxC,IAAIU,QAAA,IAAY,MACd,SAAO,EAAAZ,0BAAA,CAAAJ,IAAK,EAAAgB,QAAQ;IAExB","ignoreList":[]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var resolveRem_exports = {};
|
|
22
|
+
__export(resolveRem_exports, {
|
|
23
|
+
isRemValue: () => isRemValue,
|
|
24
|
+
resolveRem: () => resolveRem
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(resolveRem_exports);
|
|
27
|
+
function resolveRem(value) {
|
|
28
|
+
return value;
|
|
29
|
+
}
|
|
30
|
+
function isRemValue(value) {
|
|
31
|
+
return typeof value == "string" && value.includes("rem");
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var resolveRem_exports = {};
|
|
16
|
+
__export(resolveRem_exports, {
|
|
17
|
+
isRemValue: () => isRemValue,
|
|
18
|
+
resolveRem: () => resolveRem
|
|
19
|
+
});
|
|
20
|
+
module.exports = __toCommonJS(resolveRem_exports);
|
|
21
|
+
function resolveRem(value) {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
function isRemValue(value) {
|
|
25
|
+
return typeof value == "string" && value.includes("rem");
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=resolveRem.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var resolveRem_native_exports = {};
|
|
24
|
+
__export(resolveRem_native_exports, {
|
|
25
|
+
isRemValue: () => isRemValue,
|
|
26
|
+
resolveRem: () => resolveRem
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(resolveRem_native_exports);
|
|
29
|
+
var import_react_native = require("react-native"),
|
|
30
|
+
import_config = require("../config.native.js"),
|
|
31
|
+
remRegex = /(-?[\d.]+)rem/g;
|
|
32
|
+
function resolveRem(value) {
|
|
33
|
+
var _config_settings,
|
|
34
|
+
config = (0, import_config.getConfig)(),
|
|
35
|
+
_config_settings_remBaseFontSize,
|
|
36
|
+
baseFontSize = (_config_settings_remBaseFontSize = config == null || (_config_settings = config.settings) === null || _config_settings === void 0 ? void 0 : _config_settings.remBaseFontSize) !== null && _config_settings_remBaseFontSize !== void 0 ? _config_settings_remBaseFontSize : 16;
|
|
37
|
+
if (value.endsWith("rem") && !value.includes(" ")) {
|
|
38
|
+
var numericValue = Number.parseFloat(value);
|
|
39
|
+
if (!Number.isNaN(numericValue)) return import_react_native.PixelRatio.getFontScale() * baseFontSize * numericValue;
|
|
40
|
+
}
|
|
41
|
+
for (var result = 0, match; (match = remRegex.exec(value)) !== null;) {
|
|
42
|
+
var numericValue1 = Number.parseFloat(match[1]);
|
|
43
|
+
Number.isNaN(numericValue1) || (result += import_react_native.PixelRatio.getFontScale() * baseFontSize * numericValue1);
|
|
44
|
+
}
|
|
45
|
+
return remRegex.lastIndex = 0, result;
|
|
46
|
+
}
|
|
47
|
+
function isRemValue(value) {
|
|
48
|
+
return typeof value == "string" && value.includes("rem");
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=resolveRem.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["resolveRem_native_exports","__export","isRemValue","resolveRem","module","exports","__toCommonJS","import_react_native","require","import_config","remRegex","value","_config_settings","config","getConfig","_config_settings_remBaseFontSize","baseFontSize","settings","remBaseFontSize","endsWith","includes","numericValue","Number","parseFloat","isNaN","PixelRatio","getFontScale","result","match","exec","numericValue1","lastIndex"],"sources":["../../../src/helpers/resolveRem.native.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA,UAAA;EAAAC,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,yBAAA;AAAA,IAAAO,mBAAA,GAA2BC,OAAA;EAC3BC,aAAA,GAA0BD,OAAA;EACtBE,QAAA,GAAW;AAOJ,SAASP,WAAWQ,KAAA,EAAO;EAClC,IAAIC,gBAAA;IACAC,MAAA,OAASJ,aAAA,CAAAK,SAAA,EAAU;IACnBC,gCAAA;IACAC,YAAA,IAAgBD,gCAAA,GAAmCF,MAAA,IAAW,SAAsCD,gBAAA,GAAmBC,MAAA,CAAOI,QAAA,MAAc,QAAQL,gBAAA,KAAqB,SAA/E,SAAiGA,gBAAA,CAAiBM,eAAA,MAAqB,QAAQH,gCAAA,KAAqC,SAASA,gCAAA,GAAmC;EAE9T,IAAIJ,KAAA,CAAMQ,QAAA,CAAS,KAAK,KAAK,CAACR,KAAA,CAAMS,QAAA,CAAS,GAAG,GAAG;IAC/C,IAAIC,YAAA,GAAeC,MAAA,CAAOC,UAAA,CAAWZ,KAAK;IAC1C,IAAI,CAACW,MAAA,CAAOE,KAAA,CAAMH,YAAY,GAC1B,OAAOd,mBAAA,CAAAkB,UAAA,CAAWC,YAAA,CAAa,IAAIV,YAAA,GAAeK,YAAA;EAE1D;EAIA,SAFIM,MAAA,GAAS,GACTC,KAAA,GACGA,KAAA,GAAQlB,QAAA,CAASmB,IAAA,CAAKlB,KAAK,OAAO,OAAK;IAC1C,IAAImB,aAAA,GAAgBR,MAAA,CAAOC,UAAA,CAAWK,KAAA,CAAM,CAAC,CAAC;IACzCN,MAAA,CAAOE,KAAA,CAAMM,aAAa,MAC3BH,MAAA,IAAUpB,mBAAA,CAAAkB,UAAA,CAAWC,YAAA,CAAa,IAAIV,YAAA,GAAec,aAAA;EAE7D;EACA,OAAApB,QAAA,CAASqB,SAAA,GAAY,GAEdJ,MAAA;AACX;AAGW,SAASzB,WAAWS,KAAA,EAAO;EAClC,OAAO,OAAOA,KAAA,IAAU,YAAYA,KAAA,CAAMS,QAAA,CAAS,KAAK;AAC5D","ignoreList":[]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var useRenderElement_exports = {};
|
|
22
|
+
__export(useRenderElement_exports, {
|
|
23
|
+
evaluateRenderProp: () => evaluateRenderProp
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(useRenderElement_exports);
|
|
26
|
+
var import_react = require("react"),
|
|
27
|
+
import_compose_refs = require("@tamagui/compose-refs"),
|
|
28
|
+
import_mergeSlotStyleProps = require("./mergeSlotStyleProps.cjs");
|
|
29
|
+
function evaluateRenderProp(render, props, state, defaultElement) {
|
|
30
|
+
if (!render) return defaultElement;
|
|
31
|
+
const defaultChildren = defaultElement.props.children;
|
|
32
|
+
if (typeof render == "string") return (0, import_react.createElement)(render, props, defaultChildren);
|
|
33
|
+
if (typeof render == "function") return render(props, state);
|
|
34
|
+
if ((0, import_react.isValidElement)(render)) {
|
|
35
|
+
const renderProps = render.props,
|
|
36
|
+
renderRef = renderProps?.ref;
|
|
37
|
+
if (!renderProps || Object.keys(renderProps).length === 0) return renderRef ? (0, import_react.cloneElement)(render, {
|
|
38
|
+
...props,
|
|
39
|
+
ref: (0, import_compose_refs.composeRefs)(props.ref, renderRef)
|
|
40
|
+
}, defaultChildren) : (0, import_react.cloneElement)(render, props, defaultChildren);
|
|
41
|
+
const merged = (0, import_mergeSlotStyleProps.mergeSlotStyleProps)({
|
|
42
|
+
...props
|
|
43
|
+
}, renderProps),
|
|
44
|
+
children = renderProps.children ?? defaultChildren;
|
|
45
|
+
return (0, import_react.cloneElement)(render, merged, children);
|
|
46
|
+
}
|
|
47
|
+
return defaultElement;
|
|
48
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var useRenderElement_exports = {};
|
|
16
|
+
__export(useRenderElement_exports, {
|
|
17
|
+
evaluateRenderProp: () => evaluateRenderProp
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(useRenderElement_exports);
|
|
20
|
+
var import_react = require("react"), import_compose_refs = require("@tamagui/compose-refs"), import_mergeSlotStyleProps = require("./mergeSlotStyleProps");
|
|
21
|
+
function evaluateRenderProp(render, props, state, defaultElement) {
|
|
22
|
+
if (!render)
|
|
23
|
+
return defaultElement;
|
|
24
|
+
const defaultChildren = defaultElement.props.children;
|
|
25
|
+
if (typeof render == "string")
|
|
26
|
+
return (0, import_react.createElement)(render, props, defaultChildren);
|
|
27
|
+
if (typeof render == "function")
|
|
28
|
+
return render(props, state);
|
|
29
|
+
if ((0, import_react.isValidElement)(render)) {
|
|
30
|
+
const renderProps = render.props, renderRef = renderProps?.ref;
|
|
31
|
+
if (!renderProps || Object.keys(renderProps).length === 0)
|
|
32
|
+
return renderRef ? (0, import_react.cloneElement)(
|
|
33
|
+
render,
|
|
34
|
+
{ ...props, ref: (0, import_compose_refs.composeRefs)(props.ref, renderRef) },
|
|
35
|
+
defaultChildren
|
|
36
|
+
) : (0, import_react.cloneElement)(render, props, defaultChildren);
|
|
37
|
+
const merged = (0, import_mergeSlotStyleProps.mergeSlotStyleProps)({ ...props }, renderProps), children = renderProps.children ?? defaultChildren;
|
|
38
|
+
return (0, import_react.cloneElement)(render, merged, children);
|
|
39
|
+
}
|
|
40
|
+
return defaultElement;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=useRenderElement.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/helpers/useRenderElement.tsx"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAA4D,kBAC5D,sBAA4B,kCAE5B,6BAAoC;AAe7B,SAAS,mBACd,QACA,OACA,OACA,gBACoB;AACpB,MAAI,CAAC;AACH,WAAO;AAGT,QAAM,kBAAkB,eAAe,MAAM;AAG7C,MAAI,OAAO,UAAW;AACpB,eAAO,4BAAc,QAAQ,OAAO,eAAe;AAIrD,MAAI,OAAO,UAAW;AACpB,WAAO,OAAO,OAAO,KAAK;AAI5B,UAAI,6BAAe,MAAM,GAAG;AAC1B,UAAM,cAAc,OAAO,OACrB,YAAY,aAAa;AAG/B,QAAI,CAAC,eAAe,OAAO,KAAK,WAAW,EAAE,WAAW;AACtD,aAAI,gBACK;AAAA,QACL;AAAA,QACA,EAAE,GAAG,OAAO,SAAK,iCAAY,MAAM,KAAK,SAAS,EAAE;AAAA,QACnD;AAAA,MACF,QAEK,2BAAa,QAAQ,OAAc,eAAe;AAI3D,UAAM,aAAS,gDAAoB,EAAE,GAAG,MAAM,GAAG,WAAW,GACtD,WAAW,YAAY,YAAY;AACzC,eAAO,2BAAa,QAAQ,QAAe,QAAQ;AAAA,EACrD;AAEA,SAAO;AACT;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
23
|
+
var useRenderElement_exports = {};
|
|
24
|
+
__export(useRenderElement_exports, {
|
|
25
|
+
evaluateRenderProp: () => evaluateRenderProp
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(useRenderElement_exports);
|
|
28
|
+
var import_react = require("react"),
|
|
29
|
+
import_compose_refs = require("@tamagui/compose-refs"),
|
|
30
|
+
import_mergeSlotStyleProps = require("./mergeSlotStyleProps.native.js");
|
|
31
|
+
function evaluateRenderProp(render, props, state, defaultElement) {
|
|
32
|
+
if (!render) return defaultElement;
|
|
33
|
+
var defaultChildren = defaultElement.props.children;
|
|
34
|
+
if (typeof render == "string") return /* @__PURE__ */(0, import_react.createElement)(render, props, defaultChildren);
|
|
35
|
+
if (typeof render == "function") return render(props, state);
|
|
36
|
+
if (/* @__PURE__ */(0, import_react.isValidElement)(render)) {
|
|
37
|
+
var renderProps = render.props,
|
|
38
|
+
renderRef = renderProps?.ref;
|
|
39
|
+
if (!renderProps || Object.keys(renderProps).length === 0) return renderRef ? /* @__PURE__ */(0, import_react.cloneElement)(render, {
|
|
40
|
+
...props,
|
|
41
|
+
ref: (0, import_compose_refs.composeRefs)(props.ref, renderRef)
|
|
42
|
+
}, defaultChildren) : /* @__PURE__ */(0, import_react.cloneElement)(render, props, defaultChildren);
|
|
43
|
+
var merged = (0, import_mergeSlotStyleProps.mergeSlotStyleProps)({
|
|
44
|
+
...props
|
|
45
|
+
}, renderProps),
|
|
46
|
+
_renderProps_children,
|
|
47
|
+
children = (_renderProps_children = renderProps.children) !== null && _renderProps_children !== void 0 ? _renderProps_children : defaultChildren;
|
|
48
|
+
return /* @__PURE__ */(0, import_react.cloneElement)(render, merged, children);
|
|
49
|
+
}
|
|
50
|
+
return defaultElement;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=useRenderElement.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","useRenderElement_exports","__export","evaluateRenderProp","module","exports","import_react","require","import_compose_refs","import_mergeSlotStyleProps","render","props","state","defaultElement","defaultChildren","children","createElement","isValidElement","renderProps","renderRef","ref","Object","keys","length","cloneElement","composeRefs","merged","mergeSlotStyleProps","_renderProps_children"],"sources":["../../../src/helpers/useRenderElement.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,wBAAA;AAAAC,QAAA,CAAAD,wBAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAA4D,CAAAK,wBAC5D;AAiBO,IAAAK,YAAS,GAAAC,OAAA,QACd;EACAC,mBAEA,GAAAD,OACoB;EAAAE,0BAAA,GAAAF,OAAA;AACpB,SAAKJ,mBAAAO,MAAA,EAAAC,KAAA,EAAAC,KAAA,EAAAC,cAAA;EACH,KAAAH,MAAO,EAGT,OAAMG,cAAA;EAGN,IAAIC,eAAO,GAAWD,cAAA,CAAAF,KAAA,CAAAI,QAAA;EACpB,WAAAL,MAAO,cAIT,OAAI,eAAkB,IAAAJ,YAAA,CAAAU,aAAA,EAAAN,MAAA,EAAAC,KAAA,EAAAG,eAAA;EACpB,WAAOJ,MAAO,cAAY,EAI5B,OAAIA,MAAA,CAAAC,KAAA,EAAAC,KAAA;EACF,mBAAM,EAAc,EAAAN,YACd,CAAAW,cAAY,EAAAP,MAAA,GAAa;IAG/B,IAAIQ,WAAC,GAAAR,MAAe,CAAAC,KAAO;MAAKQ,SAAA,GAAWD,WAAE,EAAWE,GAAA;IACtD,KAAAF,WAAI,IAAAG,MACK,CAAAC,IAAA,CAAAJ,WAAA,EAAAK,MAAA,eACLJ,SAAA,sBAAAb,YAAA,CAAAkB,YAAA,EAAAd,MAAA;MACA,GAAEC,KAAG;MACLS,GAAA,MAAAZ,mBAAA,CAAAiB,WAAA,EAAAd,KAAA,CAAAS,GAAA,EAAAD,SAAA;IACF,GAAAL,eAEK,mBAAa,IAAAR,YAAsB,CAAAkB,YAAe,EAAAd,MAAA,EAAAC,KAAA,EAAAG,eAAA;IAI3D,IAAAY,MAAM,OAAAjB,0BAAS,CAAAkB,mBAAA;QAEf,GAAAhB;MACF,GAAAO,WAAA;MAAAU,qBAAA;MAAAb,QAAA,IAAAa,qBAAA,GAAAV,WAAA,CAAAH,QAAA,cAAAa,qBAAA,cAAAA,qBAAA,GAAAd,eAAA;IAEA,OAAO,mBAAAR,YAAA,CAAAkB,YAAA,EAAAd,MAAA,EAAAgB,MAAA,EAAAX,QAAA;EACT","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var TamaguiComponentPropsBaseBase_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(TamaguiComponentPropsBaseBase_exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
+
return to;
|
|
10
|
+
};
|
|
11
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
+
var TamaguiComponentPropsBaseBase_exports = {};
|
|
13
|
+
module.exports = __toCommonJS(TamaguiComponentPropsBaseBase_exports);
|
|
14
|
+
//# sourceMappingURL=TamaguiComponentPropsBaseBase.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __copyProps = (to, from, except, desc) => {
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
+
value: !0
|
|
16
|
+
}), mod);
|
|
17
|
+
var TamaguiComponentPropsBaseBase_exports = {};
|
|
18
|
+
module.exports = __toCommonJS(TamaguiComponentPropsBaseBase_exports);
|
|
19
|
+
//# sourceMappingURL=TamaguiComponentPropsBaseBase.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","TamaguiComponentPropsBaseBase_exports"],"sources":["../../../src/interfaces/TamaguiComponentPropsBaseBase.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,qCAAA","ignoreList":[]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { expectTypeOf, describe, test } from "vitest";
|
|
2
|
+
describe("AnimationsConfig types", () => {
|
|
3
|
+
test("AnimationsConfig accepts single driver", () => {
|
|
4
|
+
expectTypeOf().toMatchTypeOf();
|
|
5
|
+
}), test("AnimationsConfig accepts multi-driver object", () => {
|
|
6
|
+
expectTypeOf().toMatchTypeOf();
|
|
7
|
+
}), test("AnimationsConfigObject requires default key", () => {
|
|
8
|
+
expectTypeOf().toMatchTypeOf(), expectTypeOf().toMatchTypeOf();
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
describe("CreateTamaguiConfig animation types", () => {
|
|
12
|
+
test("CreateTamaguiConfig.animations accepts single driver", () => {
|
|
13
|
+
const _driver = {};
|
|
14
|
+
}), test("CreateTamaguiConfig.animations accepts multi-driver object", () => {
|
|
15
|
+
const _multi = {};
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
describe("TransitionKeys inference", () => {
|
|
19
|
+
test("TransitionKeys type exists and is string-based", () => {
|
|
20
|
+
expectTypeOf().toMatchTypeOf();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
describe("AnimationDriverKeys inference", () => {
|
|
24
|
+
test("AnimationDriverKeys is string or string union", () => {
|
|
25
|
+
expectTypeOf().toMatchTypeOf();
|
|
26
|
+
}), test("TypeOverride.animationDrivers exists in interface", () => {
|
|
27
|
+
expectTypeOf().toBeFunction();
|
|
28
|
+
}), test("AnimationDriverKeys always includes default", () => {
|
|
29
|
+
expectTypeOf().toMatchTypeOf();
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
describe("animatedBy prop", () => {
|
|
33
|
+
test("animatedBy exists on TamaguiComponentPropsBaseBase", () => {
|
|
34
|
+
expectTypeOf().toHaveProperty("animatedBy");
|
|
35
|
+
}), test("animatedBy accepts null", () => {
|
|
36
|
+
expectTypeOf().toMatchTypeOf();
|
|
37
|
+
}), test('animatedBy accepts "default"', () => {
|
|
38
|
+
expectTypeOf().toMatchTypeOf();
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
describe("Type regression scenarios", () => {
|
|
42
|
+
test("single driver config scenario", () => {
|
|
43
|
+
}), test("multiple drivers config scenario - CreateTamaguiConfig accepts it", () => {
|
|
44
|
+
const _config = {};
|
|
45
|
+
}), test("TypeOverride combines with inferred", () => {
|
|
46
|
+
expectTypeOf().toMatchTypeOf();
|
|
47
|
+
}), test("combined multiple drivers and override", () => {
|
|
48
|
+
expectTypeOf().toMatchTypeOf();
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=animationDriverTypes.test-d.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/animationDriverTypes.test-d.ts"],
|
|
4
|
+
"mappings": "AAYA,SAAS,cAAc,UAAU,YAAY;AA0B7C,SAAS,0BAA0B,MAAM;AACvC,OAAK,0CAA0C,MAAM;AACnD,iBAA4B,EAAE,cAAgC;AAAA,EAChE,CAAC,GAED,KAAK,gDAAgD,MAAM;AAKzD,iBAA0B,EAAE,cAAgC;AAAA,EAC9D,CAAC,GAED,KAAK,+CAA+C,MAAM;AAKxD,iBAA0B,EAAE,cAAsC,GAOlE,aAA4B,EAAE,cAAsC;AAAA,EACtE,CAAC;AACH,CAAC;AAMD,SAAS,uCAAuC,MAAM;AACpD,OAAK,wDAAwD,MAAM;AAMjE,UAAM,UAAsB,CAAC;AAAA,EAC/B,CAAC,GAED,KAAK,8DAA8D,MAAM;AASvE,UAAM,SAAqB,CAAC;AAAA,EAC9B,CAAC;AACH,CAAC;AAMD,SAAS,4BAA4B,MAAM;AACzC,OAAK,kDAAkD,MAAM;AAE3D,iBAA6B,EAAE,cAAsB;AAAA,EACvD,CAAC;AACH,CAAC;AAMD,SAAS,iCAAiC,MAAM;AAC9C,OAAK,iDAAiD,MAAM;AAE1D,iBAAwB,EAAE,cAAmC;AAAA,EAC/D,CAAC,GAED,KAAK,qDAAqD,MAAM;AAG9D,iBAA4B,EAAE,aAAa;AAAA,EAC7C,CAAC,GAYD,KAAK,+CAA+C,MAAM;AAExD,iBAAwB,EAAE,cAAmC;AAAA,EAC/D,CAAC;AACH,CAAC;AAMD,SAAS,mBAAmB,MAAM;AAChC,OAAK,sDAAsD,MAAM;AAE/D,iBAAoB,EAAE,eAAe,YAAY;AAAA,EACnD,CAAC,GAED,KAAK,2BAA2B,MAAM;AAGpC,iBAAmB,EAAE,cAA0B;AAAA,EACjD,CAAC,GAED,KAAK,gCAAgC,MAAM;AAGzC,iBAAwB,EAAE,cAA0B;AAAA,EACtD,CAAC;AACH,CAAC;AAMD,SAAS,6BAA6B,MAAM;AAO1C,OAAK,iCAAiC,MAAM;AAAA,EAG5C,CAAC,GAWD,KAAK,qEAAqE,MAAM;AAS9E,UAAM,UAAsB,CAAC;AAAA,EAC/B,CAAC,GAYD,KAAK,uCAAuC,MAAM;AAGhD,iBAAwB,EAAE,cAAmC;AAAA,EAC/D,CAAC,GAUD,KAAK,0CAA0C,MAAM;AAGnD,iBAAwB,EAAE,cAAmC;AAAA,EAC/D,CAAC;AACH,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { expectTypeOf, describe, test } from "vitest";
|
|
2
|
+
describe("AnimationsConfig types", () => {
|
|
3
|
+
test("AnimationsConfig accepts single driver", () => {
|
|
4
|
+
expectTypeOf().toMatchTypeOf();
|
|
5
|
+
}), test("AnimationsConfig accepts multi-driver object", () => {
|
|
6
|
+
expectTypeOf().toMatchTypeOf();
|
|
7
|
+
}), test("AnimationsConfigObject requires default key", () => {
|
|
8
|
+
expectTypeOf().toMatchTypeOf(), expectTypeOf().toMatchTypeOf();
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
describe("CreateTamaguiConfig animation types", () => {
|
|
12
|
+
test("CreateTamaguiConfig.animations accepts single driver", () => {
|
|
13
|
+
const _driver = {};
|
|
14
|
+
}), test("CreateTamaguiConfig.animations accepts multi-driver object", () => {
|
|
15
|
+
const _multi = {};
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
describe("TransitionKeys inference", () => {
|
|
19
|
+
test("TransitionKeys type exists and is string-based", () => {
|
|
20
|
+
expectTypeOf().toMatchTypeOf();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
describe("AnimationDriverKeys inference", () => {
|
|
24
|
+
test("AnimationDriverKeys is string or string union", () => {
|
|
25
|
+
expectTypeOf().toMatchTypeOf();
|
|
26
|
+
}), test("TypeOverride.animationDrivers exists in interface", () => {
|
|
27
|
+
expectTypeOf().toBeFunction();
|
|
28
|
+
}), test("AnimationDriverKeys always includes default", () => {
|
|
29
|
+
expectTypeOf().toMatchTypeOf();
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
describe("animatedBy prop", () => {
|
|
33
|
+
test("animatedBy exists on TamaguiComponentPropsBaseBase", () => {
|
|
34
|
+
expectTypeOf().toHaveProperty("animatedBy");
|
|
35
|
+
}), test("animatedBy accepts null", () => {
|
|
36
|
+
expectTypeOf().toMatchTypeOf();
|
|
37
|
+
}), test('animatedBy accepts "default"', () => {
|
|
38
|
+
expectTypeOf().toMatchTypeOf();
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
describe("Type regression scenarios", () => {
|
|
42
|
+
test("single driver config scenario", () => {}), test("multiple drivers config scenario - CreateTamaguiConfig accepts it", () => {
|
|
43
|
+
const _config = {};
|
|
44
|
+
}), test("TypeOverride combines with inferred", () => {
|
|
45
|
+
expectTypeOf().toMatchTypeOf();
|
|
46
|
+
}), test("combined multiple drivers and override", () => {
|
|
47
|
+
expectTypeOf().toMatchTypeOf();
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=animationDriverTypes.test-d.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["expectTypeOf","describe","test","toMatchTypeOf","_driver","_multi","toBeFunction","toHaveProperty","_config"],"sources":["../../src/animationDriverTypes.test-d.ts"],"sourcesContent":[null],"mappings":"AAYA,SAASA,YAAA,EAAcC,QAAA,EAAUC,IAAA,QAAY;AA0B7CD,QAAA,CAAS,0BAA0B,MAAM;EACvCC,IAAA,CAAK,0CAA0C,MAAM;IACnDF,YAAA,CAA4B,EAAEG,aAAA,CAAgC;EAChE,CAAC,GAEDD,IAAA,CAAK,gDAAgD,MAAM;IAKzDF,YAAA,CAA0B,EAAEG,aAAA,CAAgC;EAC9D,CAAC,GAEDD,IAAA,CAAK,+CAA+C,MAAM;IAKxDF,YAAA,CAA0B,EAAEG,aAAA,CAAsC,GAOlEH,YAAA,CAA4B,EAAEG,aAAA,CAAsC;EACtE,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,uCAAuC,MAAM;EACpDC,IAAA,CAAK,wDAAwD,MAAM;IAMjE,MAAME,OAAA,GAAsB,CAAC;EAC/B,CAAC,GAEDF,IAAA,CAAK,8DAA8D,MAAM;IASvE,MAAMG,MAAA,GAAqB,CAAC;EAC9B,CAAC;AACH,CAAC;AAMDJ,QAAA,CAAS,4BAA4B,MAAM;EACzCC,IAAA,CAAK,kDAAkD,MAAM;IAE3DF,YAAA,CAA6B,EAAEG,aAAA,CAAsB;EACvD,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,iCAAiC,MAAM;EAC9CC,IAAA,CAAK,iDAAiD,MAAM;IAE1DF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC,GAEDD,IAAA,CAAK,qDAAqD,MAAM;IAG9DF,YAAA,CAA4B,EAAEM,YAAA,CAAa;EAC7C,CAAC,GAYDJ,IAAA,CAAK,+CAA+C,MAAM;IAExDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,mBAAmB,MAAM;EAChCC,IAAA,CAAK,sDAAsD,MAAM;IAE/DF,YAAA,CAAoB,EAAEO,cAAA,CAAe,YAAY;EACnD,CAAC,GAEDL,IAAA,CAAK,2BAA2B,MAAM;IAGpCF,YAAA,CAAmB,EAAEG,aAAA,CAA0B;EACjD,CAAC,GAEDD,IAAA,CAAK,gCAAgC,MAAM;IAGzCF,YAAA,CAAwB,EAAEG,aAAA,CAA0B;EACtD,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,6BAA6B,MAAM;EAO1CC,IAAA,CAAK,iCAAiC,MAAM,CAG5C,CAAC,GAWDA,IAAA,CAAK,qEAAqE,MAAM;IAS9E,MAAMM,OAAA,GAAsB,CAAC;EAC/B,CAAC,GAYDN,IAAA,CAAK,uCAAuC,MAAM;IAGhDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC,GAUDD,IAAA,CAAK,0CAA0C,MAAM;IAGnDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { expectTypeOf, describe, test } from "vitest";
|
|
2
|
+
describe("AnimationsConfig types", function () {
|
|
3
|
+
test("AnimationsConfig accepts single driver", function () {
|
|
4
|
+
expectTypeOf().toMatchTypeOf();
|
|
5
|
+
}), test("AnimationsConfig accepts multi-driver object", function () {
|
|
6
|
+
expectTypeOf().toMatchTypeOf();
|
|
7
|
+
}), test("AnimationsConfigObject requires default key", function () {
|
|
8
|
+
expectTypeOf().toMatchTypeOf(), expectTypeOf().toMatchTypeOf();
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
describe("CreateTamaguiConfig animation types", function () {
|
|
12
|
+
test("CreateTamaguiConfig.animations accepts single driver", function () {
|
|
13
|
+
var _driver = {};
|
|
14
|
+
}), test("CreateTamaguiConfig.animations accepts multi-driver object", function () {
|
|
15
|
+
var _multi = {};
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
describe("TransitionKeys inference", function () {
|
|
19
|
+
test("TransitionKeys type exists and is string-based", function () {
|
|
20
|
+
expectTypeOf().toMatchTypeOf();
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
describe("AnimationDriverKeys inference", function () {
|
|
24
|
+
test("AnimationDriverKeys is string or string union", function () {
|
|
25
|
+
expectTypeOf().toMatchTypeOf();
|
|
26
|
+
}), test("TypeOverride.animationDrivers exists in interface", function () {
|
|
27
|
+
expectTypeOf().toBeFunction();
|
|
28
|
+
}), test("AnimationDriverKeys always includes default", function () {
|
|
29
|
+
expectTypeOf().toMatchTypeOf();
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
describe("animatedBy prop", function () {
|
|
33
|
+
test("animatedBy exists on TamaguiComponentPropsBaseBase", function () {
|
|
34
|
+
expectTypeOf().toHaveProperty("animatedBy");
|
|
35
|
+
}), test("animatedBy accepts null", function () {
|
|
36
|
+
expectTypeOf().toMatchTypeOf();
|
|
37
|
+
}), test('animatedBy accepts "default"', function () {
|
|
38
|
+
expectTypeOf().toMatchTypeOf();
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
describe("Type regression scenarios", function () {
|
|
42
|
+
test("single driver config scenario", function () {}), test("multiple drivers config scenario - CreateTamaguiConfig accepts it", function () {
|
|
43
|
+
var _config = {};
|
|
44
|
+
}), test("TypeOverride combines with inferred", function () {
|
|
45
|
+
expectTypeOf().toMatchTypeOf();
|
|
46
|
+
}), test("combined multiple drivers and override", function () {
|
|
47
|
+
expectTypeOf().toMatchTypeOf();
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=animationDriverTypes.test-d.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["expectTypeOf","describe","test","toMatchTypeOf","_driver","_multi","toBeFunction","toHaveProperty","_config"],"sources":["../../src/animationDriverTypes.test-d.ts"],"sourcesContent":[null],"mappings":"AAYA,SAASA,YAAA,EAAcC,QAAA,EAAUC,IAAA,QAAY;AA0B7CD,QAAA,CAAS,0BAA0B,YAAM;EACvCC,IAAA,CAAK,0CAA0C,YAAM;IACnDF,YAAA,CAA4B,EAAEG,aAAA,CAAgC;EAChE,CAAC,GAEDD,IAAA,CAAK,gDAAgD,YAAM;IAKzDF,YAAA,CAA0B,EAAEG,aAAA,CAAgC;EAC9D,CAAC,GAEDD,IAAA,CAAK,+CAA+C,YAAM;IAKxDF,YAAA,CAA0B,EAAEG,aAAA,CAAsC,GAOlEH,YAAA,CAA4B,EAAEG,aAAA,CAAsC;EACtE,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,uCAAuC,YAAM;EACpDC,IAAA,CAAK,wDAAwD,YAAM;IAMjE,IAAAE,OAAM,KAAsB;EAC9B,CAAC,GAEDF,IAAA,CAAK,8DAA8D,YAAM;IASvE,IAAAG,MAAM,KAAqB;EAC7B,CAAC;AACH,CAAC;AAMDJ,QAAA,CAAS,4BAA4B,YAAM;EACzCC,IAAA,CAAK,kDAAkD,YAAM;IAE3DF,YAAA,CAA6B,EAAEG,aAAA,CAAsB;EACvD,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,iCAAiC,YAAM;EAC9CC,IAAA,CAAK,iDAAiD,YAAM;IAE1DF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC,GAEDD,IAAA,CAAK,qDAAqD,YAAM;IAG9DF,YAAA,CAA4B,EAAEM,YAAA,CAAa;EAC7C,CAAC,GAYDJ,IAAA,CAAK,+CAA+C,YAAM;IAExDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,mBAAmB,YAAM;EAChCC,IAAA,CAAK,sDAAsD,YAAM;IAE/DF,YAAA,CAAoB,EAAEO,cAAA,CAAe,YAAY;EACnD,CAAC,GAEDL,IAAA,CAAK,2BAA2B,YAAM;IAGpCF,YAAA,CAAmB,EAAEG,aAAA,CAA0B;EACjD,CAAC,GAEDD,IAAA,CAAK,gCAAgC,YAAM;IAGzCF,YAAA,CAAwB,EAAEG,aAAA,CAA0B;EACtD,CAAC;AACH,CAAC;AAMDF,QAAA,CAAS,6BAA6B,YAAM;EAO1CC,IAAA,CAAK,iCAAiC,YAAM,CAG5C,CAAC,GAWDA,IAAA,CAAK,qEAAqE,YAAM;IAS9E,IAAAM,OAAM,KAAsB;EAC9B,CAAC,GAYDN,IAAA,CAAK,uCAAuC,YAAM;IAGhDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC,GAUDD,IAAA,CAAK,0CAA0C,YAAM;IAGnDF,YAAA,CAAwB,EAAEG,aAAA,CAAmC;EAC/D,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
function getOppositeScheme(scheme) {
|
|
2
2
|
return scheme === "dark" ? "light" : "dark";
|
|
3
3
|
}
|
|
4
|
+
const colorStyleKeys = {
|
|
5
|
+
backgroundColor: !0,
|
|
6
|
+
borderColor: !0,
|
|
7
|
+
borderTopColor: !0,
|
|
8
|
+
borderRightColor: !0,
|
|
9
|
+
borderBottomColor: !0,
|
|
10
|
+
borderLeftColor: !0,
|
|
11
|
+
borderBlockColor: !0,
|
|
12
|
+
borderBlockEndColor: !0,
|
|
13
|
+
borderBlockStartColor: !0,
|
|
14
|
+
color: !0,
|
|
15
|
+
shadowColor: !0,
|
|
16
|
+
textDecorationColor: !0,
|
|
17
|
+
textShadowColor: !0,
|
|
18
|
+
tintColor: !0,
|
|
19
|
+
outlineColor: !0
|
|
20
|
+
};
|
|
21
|
+
function isColorStyleKey(key) {
|
|
22
|
+
return colorStyleKeys[key] === !0;
|
|
23
|
+
}
|
|
4
24
|
function getDynamicVal({
|
|
5
25
|
scheme,
|
|
6
26
|
val,
|
|
@@ -20,6 +40,7 @@ function extractValueFromDynamic(val, scheme) {
|
|
|
20
40
|
export {
|
|
21
41
|
extractValueFromDynamic,
|
|
22
42
|
getDynamicVal,
|
|
23
|
-
getOppositeScheme
|
|
43
|
+
getOppositeScheme,
|
|
44
|
+
isColorStyleKey
|
|
24
45
|
};
|
|
25
46
|
//# sourceMappingURL=getDynamicVal.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/helpers/getDynamicVal.ts"],
|
|
4
|
-
"mappings": "AAAO,SAAS,kBAAkB,QAAgB;AAChD,SAAO,WAAW,SAAS,UAAU;AACvC;AAEO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AACF,GAAyD;AACvD,QAAM,iBAAiB,kBAAkB,MAAM;AAC/C,SAAO;AAAA,IACL,SAAS;AAAA,MACP,CAAC,MAAM,GAAG;AAAA,MACV,CAAC,cAAc,GAAG;AAAA,IACpB;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,KAAU,QAAgB;AAChE,SAAI,KAAM,UACD,IAAI,QAAW,MAAM,IAEvB;AACT;",
|
|
4
|
+
"mappings": "AAAO,SAAS,kBAAkB,QAAgB;AAChD,SAAO,WAAW,SAAS,UAAU;AACvC;AAYA,MAAM,iBAA0C;AAAA,EAC9C,iBAAiB;AAAA,EACjB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,OAAO;AAAA,EACP,aAAa;AAAA,EACb,qBAAqB;AAAA,EACrB,iBAAiB;AAAA,EACjB,WAAW;AAAA,EACX,cAAc;AAChB;AAKO,SAAS,gBAAgB,KAAsB;AACpD,SAAO,eAAe,GAAG,MAAM;AACjC;AAEO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AACF,GAAyD;AACvD,QAAM,iBAAiB,kBAAkB,MAAM;AAC/C,SAAO;AAAA,IACL,SAAS;AAAA,MACP,CAAC,MAAM,GAAG;AAAA,MACV,CAAC,cAAc,GAAG;AAAA,IACpB;AAAA,EACF;AACF;AAEO,SAAS,wBAAwB,KAAU,QAAgB;AAChE,SAAI,KAAM,UACD,IAAI,QAAW,MAAM,IAEvB;AACT;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|