@tamagui/web 1.142.0 → 1.143.0
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/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/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/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/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/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/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/types/helpers/nativeOnlyProps.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/interfaces/TamaguiComponentPropsBaseBase.d.ts.map +1 -0
|
@@ -0,0 +1,60 @@
|
|
|
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 nativeOnlyProps_exports = {};
|
|
22
|
+
__export(nativeOnlyProps_exports, {
|
|
23
|
+
nativeOnlyProps: () => nativeOnlyProps
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(nativeOnlyProps_exports);
|
|
26
|
+
const nativeOnlyProps = {
|
|
27
|
+
accessibilityElementsHidden: 1,
|
|
28
|
+
accessibilityIgnoresInvertColors: 1,
|
|
29
|
+
accessibilityLanguage: 1,
|
|
30
|
+
adjustsFontSizeToFit: 1,
|
|
31
|
+
allowFontScaling: 1,
|
|
32
|
+
android_hyphenationFrequency: 1,
|
|
33
|
+
dataDetectorType: 1,
|
|
34
|
+
dynamicTypeRamp: 1,
|
|
35
|
+
elevationAndroid: 1,
|
|
36
|
+
ellipsizeMode: 1,
|
|
37
|
+
hapticFeedback: 1,
|
|
38
|
+
hapticStyle: 1,
|
|
39
|
+
hitSlop: 1,
|
|
40
|
+
importantForAccessibility: 1,
|
|
41
|
+
lineBreakStrategyIOS: 1,
|
|
42
|
+
maxFontSizeMultiplier: 1,
|
|
43
|
+
minimumFontScale: 1,
|
|
44
|
+
needsOffscreenAlphaCompositing: 1,
|
|
45
|
+
nextFocusDown: 1,
|
|
46
|
+
nextFocusForward: 1,
|
|
47
|
+
nextFocusLeft: 1,
|
|
48
|
+
nextFocusRight: 1,
|
|
49
|
+
nextFocusUp: 1,
|
|
50
|
+
onAccessibilityAction: 1,
|
|
51
|
+
onAccessibilityEscape: 1,
|
|
52
|
+
onAccessibilityTap: 1,
|
|
53
|
+
onMagicTap: 1,
|
|
54
|
+
onTextLayout: 1,
|
|
55
|
+
pressRetentionOffset: 1,
|
|
56
|
+
selectionColor: 1,
|
|
57
|
+
shouldRasterizeIOS: 1,
|
|
58
|
+
suppressHighlighting: 1,
|
|
59
|
+
textBreakStrategy: 1
|
|
60
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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 nativeOnlyProps_exports = {};
|
|
16
|
+
__export(nativeOnlyProps_exports, {
|
|
17
|
+
nativeOnlyProps: () => nativeOnlyProps
|
|
18
|
+
});
|
|
19
|
+
module.exports = __toCommonJS(nativeOnlyProps_exports);
|
|
20
|
+
const nativeOnlyProps = {
|
|
21
|
+
accessibilityElementsHidden: 1,
|
|
22
|
+
accessibilityIgnoresInvertColors: 1,
|
|
23
|
+
accessibilityLanguage: 1,
|
|
24
|
+
adjustsFontSizeToFit: 1,
|
|
25
|
+
allowFontScaling: 1,
|
|
26
|
+
android_hyphenationFrequency: 1,
|
|
27
|
+
dataDetectorType: 1,
|
|
28
|
+
dynamicTypeRamp: 1,
|
|
29
|
+
elevationAndroid: 1,
|
|
30
|
+
ellipsizeMode: 1,
|
|
31
|
+
hapticFeedback: 1,
|
|
32
|
+
hapticStyle: 1,
|
|
33
|
+
hitSlop: 1,
|
|
34
|
+
importantForAccessibility: 1,
|
|
35
|
+
lineBreakStrategyIOS: 1,
|
|
36
|
+
maxFontSizeMultiplier: 1,
|
|
37
|
+
minimumFontScale: 1,
|
|
38
|
+
needsOffscreenAlphaCompositing: 1,
|
|
39
|
+
nextFocusDown: 1,
|
|
40
|
+
nextFocusForward: 1,
|
|
41
|
+
nextFocusLeft: 1,
|
|
42
|
+
nextFocusRight: 1,
|
|
43
|
+
nextFocusUp: 1,
|
|
44
|
+
onAccessibilityAction: 1,
|
|
45
|
+
onAccessibilityEscape: 1,
|
|
46
|
+
onAccessibilityTap: 1,
|
|
47
|
+
onMagicTap: 1,
|
|
48
|
+
onTextLayout: 1,
|
|
49
|
+
pressRetentionOffset: 1,
|
|
50
|
+
selectionColor: 1,
|
|
51
|
+
shouldRasterizeIOS: 1,
|
|
52
|
+
suppressHighlighting: 1,
|
|
53
|
+
textBreakStrategy: 1
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=nativeOnlyProps.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/helpers/nativeOnlyProps.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,kBAAkB;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,kCAAkC;AAAA,EAClC,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,8BAA8B;AAAA,EAC9B,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,SAAS;AAAA,EACT,2BAA2B;AAAA,EAC3B,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,gCAAgC;AAAA,EAChC,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,oBAAoB;AAAA,EACpB,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,mBAAmB;AACrB;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 nativeOnlyProps_exports = {};
|
|
24
|
+
__export(nativeOnlyProps_exports, {
|
|
25
|
+
nativeOnlyProps: () => nativeOnlyProps
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(nativeOnlyProps_exports);
|
|
28
|
+
var nativeOnlyProps = {
|
|
29
|
+
accessibilityElementsHidden: 1,
|
|
30
|
+
accessibilityIgnoresInvertColors: 1,
|
|
31
|
+
accessibilityLanguage: 1,
|
|
32
|
+
adjustsFontSizeToFit: 1,
|
|
33
|
+
allowFontScaling: 1,
|
|
34
|
+
android_hyphenationFrequency: 1,
|
|
35
|
+
dataDetectorType: 1,
|
|
36
|
+
dynamicTypeRamp: 1,
|
|
37
|
+
elevationAndroid: 1,
|
|
38
|
+
ellipsizeMode: 1,
|
|
39
|
+
hapticFeedback: 1,
|
|
40
|
+
hapticStyle: 1,
|
|
41
|
+
hitSlop: 1,
|
|
42
|
+
importantForAccessibility: 1,
|
|
43
|
+
lineBreakStrategyIOS: 1,
|
|
44
|
+
maxFontSizeMultiplier: 1,
|
|
45
|
+
minimumFontScale: 1,
|
|
46
|
+
needsOffscreenAlphaCompositing: 1,
|
|
47
|
+
nextFocusDown: 1,
|
|
48
|
+
nextFocusForward: 1,
|
|
49
|
+
nextFocusLeft: 1,
|
|
50
|
+
nextFocusRight: 1,
|
|
51
|
+
nextFocusUp: 1,
|
|
52
|
+
onAccessibilityAction: 1,
|
|
53
|
+
onAccessibilityEscape: 1,
|
|
54
|
+
onAccessibilityTap: 1,
|
|
55
|
+
onMagicTap: 1,
|
|
56
|
+
onTextLayout: 1,
|
|
57
|
+
pressRetentionOffset: 1,
|
|
58
|
+
selectionColor: 1,
|
|
59
|
+
shouldRasterizeIOS: 1,
|
|
60
|
+
suppressHighlighting: 1,
|
|
61
|
+
textBreakStrategy: 1
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=nativeOnlyProps.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","nativeOnlyProps_exports","__export","nativeOnlyProps","module","exports","accessibilityElementsHidden","accessibilityIgnoresInvertColors","accessibilityLanguage","adjustsFontSizeToFit","allowFontScaling","android_hyphenationFrequency","dataDetectorType","dynamicTypeRamp","elevationAndroid","ellipsizeMode","hapticFeedback","hapticStyle","hitSlop","importantForAccessibility","lineBreakStrategyIOS","maxFontSizeMultiplier","minimumFontScale","needsOffscreenAlphaCompositing","nextFocusDown","nextFocusForward","nextFocusLeft","nextFocusRight","nextFocusUp","onAccessibilityAction","onAccessibilityEscape","onAccessibilityTap","onMagicTap","onTextLayout","pressRetentionOffset","selectionColor","shouldRasterizeIOS","suppressHighlighting","textBreakStrategy"],"sources":["../../../src/helpers/nativeOnlyProps.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAGOC,MAAM,CAAAC,OAAA,GAAAT,YAAkB,CAAAK,uBAAA;AAAA,IAC7BE,eAAA;EACAG,2BAAA;EACAC,gCAAuB;EACvBC,qBAAA,EAAsB;EACtBC,oBAAkB;EAClBC,gBAAA;EACAC,4BAAkB;EAClBC,gBAAA,EAAiB;EACjBC,eAAA,GAAkB;EAClBC,gBAAe;EACfC,aAAA,GAAgB;EAChBC,cAAa;EACbC,WAAS;EACTC,OAAA;EACAC,yBAAsB;EACtBC,oBAAA,GAAuB;EACvBC,qBAAkB;EAClBC,gBAAA;EACAC,8BAAe;EACfC,aAAA;EACAC,gBAAe;EACfC,aAAA,GAAgB;EAChBC,cAAa;EACbC,WAAA;EACAC,qBAAA,EAAuB;EACvBC,qBAAoB;EACpBC,kBAAY;EACZC,UAAA;EACAC,YAAA;EACAC,oBAAgB;EAChBC,cAAA;EACAC,kBAAA;EACAC,oBAAmB;EACrBC,iBAAA","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,GAA0B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OwnPropertyDescriptor;
|
|
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,39 @@
|
|
|
1
|
+
const nativeOnlyProps = {
|
|
2
|
+
accessibilityElementsHidden: 1,
|
|
3
|
+
accessibilityIgnoresInvertColors: 1,
|
|
4
|
+
accessibilityLanguage: 1,
|
|
5
|
+
adjustsFontSizeToFit: 1,
|
|
6
|
+
allowFontScaling: 1,
|
|
7
|
+
android_hyphenationFrequency: 1,
|
|
8
|
+
dataDetectorType: 1,
|
|
9
|
+
dynamicTypeRamp: 1,
|
|
10
|
+
elevationAndroid: 1,
|
|
11
|
+
ellipsizeMode: 1,
|
|
12
|
+
hapticFeedback: 1,
|
|
13
|
+
hapticStyle: 1,
|
|
14
|
+
hitSlop: 1,
|
|
15
|
+
importantForAccessibility: 1,
|
|
16
|
+
lineBreakStrategyIOS: 1,
|
|
17
|
+
maxFontSizeMultiplier: 1,
|
|
18
|
+
minimumFontScale: 1,
|
|
19
|
+
needsOffscreenAlphaCompositing: 1,
|
|
20
|
+
nextFocusDown: 1,
|
|
21
|
+
nextFocusForward: 1,
|
|
22
|
+
nextFocusLeft: 1,
|
|
23
|
+
nextFocusRight: 1,
|
|
24
|
+
nextFocusUp: 1,
|
|
25
|
+
onAccessibilityAction: 1,
|
|
26
|
+
onAccessibilityEscape: 1,
|
|
27
|
+
onAccessibilityTap: 1,
|
|
28
|
+
onMagicTap: 1,
|
|
29
|
+
onTextLayout: 1,
|
|
30
|
+
pressRetentionOffset: 1,
|
|
31
|
+
selectionColor: 1,
|
|
32
|
+
shouldRasterizeIOS: 1,
|
|
33
|
+
suppressHighlighting: 1,
|
|
34
|
+
textBreakStrategy: 1
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
nativeOnlyProps
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=nativeOnlyProps.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/helpers/nativeOnlyProps.ts"],
|
|
4
|
+
"mappings": "AAGO,MAAM,kBAAkB;AAAA,EAC7B,6BAA6B;AAAA,EAC7B,kCAAkC;AAAA,EAClC,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,8BAA8B;AAAA,EAC9B,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,SAAS;AAAA,EACT,2BAA2B;AAAA,EAC3B,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,gCAAgC;AAAA,EAChC,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,oBAAoB;AAAA,EACpB,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,mBAAmB;AACrB;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const nativeOnlyProps = {
|
|
2
|
+
accessibilityElementsHidden: 1,
|
|
3
|
+
accessibilityIgnoresInvertColors: 1,
|
|
4
|
+
accessibilityLanguage: 1,
|
|
5
|
+
adjustsFontSizeToFit: 1,
|
|
6
|
+
allowFontScaling: 1,
|
|
7
|
+
android_hyphenationFrequency: 1,
|
|
8
|
+
dataDetectorType: 1,
|
|
9
|
+
dynamicTypeRamp: 1,
|
|
10
|
+
elevationAndroid: 1,
|
|
11
|
+
ellipsizeMode: 1,
|
|
12
|
+
hapticFeedback: 1,
|
|
13
|
+
hapticStyle: 1,
|
|
14
|
+
hitSlop: 1,
|
|
15
|
+
importantForAccessibility: 1,
|
|
16
|
+
lineBreakStrategyIOS: 1,
|
|
17
|
+
maxFontSizeMultiplier: 1,
|
|
18
|
+
minimumFontScale: 1,
|
|
19
|
+
needsOffscreenAlphaCompositing: 1,
|
|
20
|
+
nextFocusDown: 1,
|
|
21
|
+
nextFocusForward: 1,
|
|
22
|
+
nextFocusLeft: 1,
|
|
23
|
+
nextFocusRight: 1,
|
|
24
|
+
nextFocusUp: 1,
|
|
25
|
+
onAccessibilityAction: 1,
|
|
26
|
+
onAccessibilityEscape: 1,
|
|
27
|
+
onAccessibilityTap: 1,
|
|
28
|
+
onMagicTap: 1,
|
|
29
|
+
onTextLayout: 1,
|
|
30
|
+
pressRetentionOffset: 1,
|
|
31
|
+
selectionColor: 1,
|
|
32
|
+
shouldRasterizeIOS: 1,
|
|
33
|
+
suppressHighlighting: 1,
|
|
34
|
+
textBreakStrategy: 1
|
|
35
|
+
};
|
|
36
|
+
export { nativeOnlyProps };
|
|
37
|
+
//# sourceMappingURL=nativeOnlyProps.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["nativeOnlyProps","accessibilityElementsHidden","accessibilityIgnoresInvertColors","accessibilityLanguage","adjustsFontSizeToFit","allowFontScaling","android_hyphenationFrequency","dataDetectorType","dynamicTypeRamp","elevationAndroid","ellipsizeMode","hapticFeedback","hapticStyle","hitSlop","importantForAccessibility","lineBreakStrategyIOS","maxFontSizeMultiplier","minimumFontScale","needsOffscreenAlphaCompositing","nextFocusDown","nextFocusForward","nextFocusLeft","nextFocusRight","nextFocusUp","onAccessibilityAction","onAccessibilityEscape","onAccessibilityTap","onMagicTap","onTextLayout","pressRetentionOffset","selectionColor","shouldRasterizeIOS","suppressHighlighting","textBreakStrategy"],"sources":["../../../src/helpers/nativeOnlyProps.ts"],"sourcesContent":[null],"mappings":"AAGO,MAAMA,eAAA,GAAkB;EAC7BC,2BAAA,EAA6B;EAC7BC,gCAAA,EAAkC;EAClCC,qBAAA,EAAuB;EACvBC,oBAAA,EAAsB;EACtBC,gBAAA,EAAkB;EAClBC,4BAAA,EAA8B;EAC9BC,gBAAA,EAAkB;EAClBC,eAAA,EAAiB;EACjBC,gBAAA,EAAkB;EAClBC,aAAA,EAAe;EACfC,cAAA,EAAgB;EAChBC,WAAA,EAAa;EACbC,OAAA,EAAS;EACTC,yBAAA,EAA2B;EAC3BC,oBAAA,EAAsB;EACtBC,qBAAA,EAAuB;EACvBC,gBAAA,EAAkB;EAClBC,8BAAA,EAAgC;EAChCC,aAAA,EAAe;EACfC,gBAAA,EAAkB;EAClBC,aAAA,EAAe;EACfC,cAAA,EAAgB;EAChBC,WAAA,EAAa;EACbC,qBAAA,EAAuB;EACvBC,qBAAA,EAAuB;EACvBC,kBAAA,EAAoB;EACpBC,UAAA,EAAY;EACZC,YAAA,EAAc;EACdC,oBAAA,EAAsB;EACtBC,cAAA,EAAgB;EAChBC,kBAAA,EAAoB;EACpBC,oBAAA,EAAsB;EACtBC,iBAAA,EAAmB;AACrB","ignoreList":[]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var nativeOnlyProps = {
|
|
2
|
+
accessibilityElementsHidden: 1,
|
|
3
|
+
accessibilityIgnoresInvertColors: 1,
|
|
4
|
+
accessibilityLanguage: 1,
|
|
5
|
+
adjustsFontSizeToFit: 1,
|
|
6
|
+
allowFontScaling: 1,
|
|
7
|
+
android_hyphenationFrequency: 1,
|
|
8
|
+
dataDetectorType: 1,
|
|
9
|
+
dynamicTypeRamp: 1,
|
|
10
|
+
elevationAndroid: 1,
|
|
11
|
+
ellipsizeMode: 1,
|
|
12
|
+
hapticFeedback: 1,
|
|
13
|
+
hapticStyle: 1,
|
|
14
|
+
hitSlop: 1,
|
|
15
|
+
importantForAccessibility: 1,
|
|
16
|
+
lineBreakStrategyIOS: 1,
|
|
17
|
+
maxFontSizeMultiplier: 1,
|
|
18
|
+
minimumFontScale: 1,
|
|
19
|
+
needsOffscreenAlphaCompositing: 1,
|
|
20
|
+
nextFocusDown: 1,
|
|
21
|
+
nextFocusForward: 1,
|
|
22
|
+
nextFocusLeft: 1,
|
|
23
|
+
nextFocusRight: 1,
|
|
24
|
+
nextFocusUp: 1,
|
|
25
|
+
onAccessibilityAction: 1,
|
|
26
|
+
onAccessibilityEscape: 1,
|
|
27
|
+
onAccessibilityTap: 1,
|
|
28
|
+
onMagicTap: 1,
|
|
29
|
+
onTextLayout: 1,
|
|
30
|
+
pressRetentionOffset: 1,
|
|
31
|
+
selectionColor: 1,
|
|
32
|
+
shouldRasterizeIOS: 1,
|
|
33
|
+
suppressHighlighting: 1,
|
|
34
|
+
textBreakStrategy: 1
|
|
35
|
+
};
|
|
36
|
+
export { nativeOnlyProps };
|
|
37
|
+
//# sourceMappingURL=nativeOnlyProps.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["nativeOnlyProps","accessibilityElementsHidden","accessibilityIgnoresInvertColors","accessibilityLanguage","adjustsFontSizeToFit","allowFontScaling","android_hyphenationFrequency","dataDetectorType","dynamicTypeRamp","elevationAndroid","ellipsizeMode","hapticFeedback","hapticStyle","hitSlop","importantForAccessibility","lineBreakStrategyIOS","maxFontSizeMultiplier","minimumFontScale","needsOffscreenAlphaCompositing","nextFocusDown","nextFocusForward","nextFocusLeft","nextFocusRight","nextFocusUp","onAccessibilityAction","onAccessibilityEscape","onAccessibilityTap","onMagicTap","onTextLayout","pressRetentionOffset","selectionColor","shouldRasterizeIOS","suppressHighlighting","textBreakStrategy"],"sources":["../../../src/helpers/nativeOnlyProps.ts"],"sourcesContent":[null],"mappings":"AAGO,IAAAA,eAAM;EACXC,2BAAA,EAA6B;EAC7BC,gCAAA,EAAkC;EAClCC,qBAAA,EAAuB;EACvBC,oBAAA,EAAsB;EACtBC,gBAAA,EAAkB;EAClBC,4BAAA,EAA8B;EAC9BC,gBAAA,EAAkB;EAClBC,eAAA,EAAiB;EACjBC,gBAAA,EAAkB;EAClBC,aAAA,EAAe;EACfC,cAAA,EAAgB;EAChBC,WAAA,EAAa;EACbC,OAAA,EAAS;EACTC,yBAAA,EAA2B;EAC3BC,oBAAA,EAAsB;EACtBC,qBAAA,EAAuB;EACvBC,gBAAA,EAAkB;EAClBC,8BAAA,EAAgC;EAChCC,aAAA,EAAe;EACfC,gBAAA,EAAkB;EAClBC,aAAA,EAAe;EACfC,cAAA,EAAgB;EAChBC,WAAA,EAAa;EACbC,qBAAA,EAAuB;EACvBC,qBAAA,EAAuB;EACvBC,kBAAA,EAAoB;EACpBC,UAAA,EAAY;EACZC,YAAA,EAAc;EACdC,oBAAA,EAAsB;EACtBC,cAAA,EAAgB;EAChBC,kBAAA,EAAoB;EACpBC,oBAAA,EAAsB;EACtBC,iBAAA,EAAmB;AACrB","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["resolveRem","value","isRemValue","includes"],"sources":["../../../src/helpers/resolveRem.ts"],"sourcesContent":[null],"mappings":"AAOO,SAASA,WAAWC,KAAA,EAAuB;EAChD,OAAOA,KAAA;AACT;AAKO,SAASC,WAAWD,KAAA,EAAiC;EAC1D,OAAO,OAAOA,KAAA,IAAU,YAAYA,KAAA,CAAME,QAAA,CAAS,KAAK;AAC1D","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PixelRatio } from "react-native";
|
|
2
|
+
import { getConfig } from "../config.native.js";
|
|
3
|
+
var remRegex = /(-?[\d.]+)rem/g;
|
|
4
|
+
function resolveRem(value) {
|
|
5
|
+
var _config_settings,
|
|
6
|
+
config = getConfig(),
|
|
7
|
+
_config_settings_remBaseFontSize,
|
|
8
|
+
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;
|
|
9
|
+
if (value.endsWith("rem") && !value.includes(" ")) {
|
|
10
|
+
var numericValue = Number.parseFloat(value);
|
|
11
|
+
if (!Number.isNaN(numericValue)) return PixelRatio.getFontScale() * baseFontSize * numericValue;
|
|
12
|
+
}
|
|
13
|
+
for (var result = 0, match; (match = remRegex.exec(value)) !== null;) {
|
|
14
|
+
var numericValue1 = Number.parseFloat(match[1]);
|
|
15
|
+
Number.isNaN(numericValue1) || (result += PixelRatio.getFontScale() * baseFontSize * numericValue1);
|
|
16
|
+
}
|
|
17
|
+
return remRegex.lastIndex = 0, result;
|
|
18
|
+
}
|
|
19
|
+
function isRemValue(value) {
|
|
20
|
+
return typeof value == "string" && value.includes("rem");
|
|
21
|
+
}
|
|
22
|
+
export { isRemValue, resolveRem };
|
|
23
|
+
//# sourceMappingURL=resolveRem.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PixelRatio","getConfig","remRegex","resolveRem","value","_config_settings","config","_config_settings_remBaseFontSize","baseFontSize","settings","remBaseFontSize","endsWith","includes","numericValue","Number","parseFloat","isNaN","getFontScale","result","match","exec","numericValue1","lastIndex","isRemValue"],"sources":["../../../src/helpers/resolveRem.native.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,SAAA,QAAiB;AAC1B,IAAIC,QAAA,GAAW;AAOJ,SAASC,WAAWC,KAAA,EAAO;EAClC,IAAIC,gBAAA;IACAC,MAAA,GAASL,SAAA,CAAU;IACnBM,gCAAA;IACAC,YAAA,IAAgBD,gCAAA,GAAmCD,MAAA,IAAW,SAAsCD,gBAAA,GAAmBC,MAAA,CAAOG,QAAA,MAAc,QAAQJ,gBAAA,KAAqB,SAA/E,SAAiGA,gBAAA,CAAiBK,eAAA,MAAqB,QAAQH,gCAAA,KAAqC,SAASA,gCAAA,GAAmC;EAE9T,IAAIH,KAAA,CAAMO,QAAA,CAAS,KAAK,KAAK,CAACP,KAAA,CAAMQ,QAAA,CAAS,GAAG,GAAG;IAC/C,IAAIC,YAAA,GAAeC,MAAA,CAAOC,UAAA,CAAWX,KAAK;IAC1C,IAAI,CAACU,MAAA,CAAOE,KAAA,CAAMH,YAAY,GAC1B,OAAOb,UAAA,CAAWiB,YAAA,CAAa,IAAIT,YAAA,GAAeK,YAAA;EAE1D;EAIA,SAFIK,MAAA,GAAS,GACTC,KAAA,GACGA,KAAA,GAAQjB,QAAA,CAASkB,IAAA,CAAKhB,KAAK,OAAO,OAAK;IAC1C,IAAIiB,aAAA,GAAgBP,MAAA,CAAOC,UAAA,CAAWI,KAAA,CAAM,CAAC,CAAC;IACzCL,MAAA,CAAOE,KAAA,CAAMK,aAAa,MAC3BH,MAAA,IAAUlB,UAAA,CAAWiB,YAAA,CAAa,IAAIT,YAAA,GAAea,aAAA;EAE7D;EACA,OAAAnB,QAAA,CAASoB,SAAA,GAAY,GAEdJ,MAAA;AACX;AAGW,SAASK,WAAWnB,KAAA,EAAO;EAClC,OAAO,OAAOA,KAAA,IAAU,YAAYA,KAAA,CAAMQ,QAAA,CAAS,KAAK;AAC5D","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=TamaguiComponentPropsBaseBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/web",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.143.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"reset.css"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tamagui/compose-refs": "1.
|
|
32
|
-
"@tamagui/constants": "1.
|
|
33
|
-
"@tamagui/helpers": "1.
|
|
34
|
-
"@tamagui/is-equal-shallow": "1.
|
|
35
|
-
"@tamagui/normalize-css-color": "1.
|
|
36
|
-
"@tamagui/timer": "1.
|
|
37
|
-
"@tamagui/types": "1.
|
|
38
|
-
"@tamagui/use-did-finish-ssr": "1.
|
|
39
|
-
"@tamagui/use-event": "1.
|
|
40
|
-
"@tamagui/use-force-update": "1.
|
|
31
|
+
"@tamagui/compose-refs": "1.143.0",
|
|
32
|
+
"@tamagui/constants": "1.143.0",
|
|
33
|
+
"@tamagui/helpers": "1.143.0",
|
|
34
|
+
"@tamagui/is-equal-shallow": "1.143.0",
|
|
35
|
+
"@tamagui/normalize-css-color": "1.143.0",
|
|
36
|
+
"@tamagui/timer": "1.143.0",
|
|
37
|
+
"@tamagui/types": "1.143.0",
|
|
38
|
+
"@tamagui/use-did-finish-ssr": "1.143.0",
|
|
39
|
+
"@tamagui/use-event": "1.143.0",
|
|
40
|
+
"@tamagui/use-force-update": "1.143.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "*",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"react-native": "*"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tamagui/build": "1.
|
|
48
|
+
"@tamagui/build": "1.143.0",
|
|
49
49
|
"@testing-library/react": "^16.1.0",
|
|
50
50
|
"csstype": "^3.0.10",
|
|
51
51
|
"react": "*",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeOnlyProps.d.ts","sourceRoot":"","sources":["../../src/helpers/nativeOnlyProps.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveRem.d.ts","sourceRoot":"","sources":["../../src/helpers/resolveRem.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAE1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveRem.native.d.ts","sourceRoot":"","sources":["../../src/helpers/resolveRem.native.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,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