@tamagui/core 1.73.0 → 1.73.2
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/native.js +265 -261
- package/dist/native.js.map +2 -2
- package/dist/test.native.js +259 -256
- package/dist/test.native.js.map +2 -2
- package/package.json +6 -6
- package/types/index.d.ts +4 -4
package/dist/test.native.js
CHANGED
|
@@ -11,8 +11,8 @@ var __commonJS = (cb, mod) => function() {
|
|
|
11
11
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
12
|
};
|
|
13
13
|
var __export = (target, all) => {
|
|
14
|
-
for (var
|
|
15
|
-
__defProp(target,
|
|
14
|
+
for (var name in all)
|
|
15
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
16
16
|
}, __copyProps = (to, from, except, desc) => {
|
|
17
17
|
if (from && typeof from == "object" || typeof from == "function")
|
|
18
18
|
for (let key of __getOwnPropNames(from))
|
|
@@ -32,8 +32,8 @@ var require_utils_native = __commonJS({
|
|
|
32
32
|
"../react-native-use-responder-events/dist/cjs/utils.native.js"(exports, module2) {
|
|
33
33
|
"use strict";
|
|
34
34
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
35
|
-
for (var
|
|
36
|
-
__defProp2(target,
|
|
35
|
+
for (var name in all)
|
|
36
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
37
37
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
38
38
|
if (from && typeof from == "object" || typeof from == "function")
|
|
39
39
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -136,8 +136,8 @@ var require_createResponderEvent_native = __commonJS({
|
|
|
136
136
|
"../react-native-use-responder-events/dist/cjs/createResponderEvent.native.js"(exports, module2) {
|
|
137
137
|
"use strict";
|
|
138
138
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
139
|
-
for (var
|
|
140
|
-
__defProp2(target,
|
|
139
|
+
for (var name in all)
|
|
140
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
141
141
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
142
142
|
if (from && typeof from == "object" || typeof from == "function")
|
|
143
143
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -255,8 +255,8 @@ var require_types_native = __commonJS({
|
|
|
255
255
|
"../react-native-use-responder-events/dist/cjs/types.native.js"(exports, module2) {
|
|
256
256
|
"use strict";
|
|
257
257
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
258
|
-
for (var
|
|
259
|
-
__defProp2(target,
|
|
258
|
+
for (var name in all)
|
|
259
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
260
260
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
261
261
|
if (from && typeof from == "object" || typeof from == "function")
|
|
262
262
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -313,8 +313,8 @@ var require_ResponderTouchHistoryStore_native = __commonJS({
|
|
|
313
313
|
"../react-native-use-responder-events/dist/cjs/ResponderTouchHistoryStore.native.js"(exports, module2) {
|
|
314
314
|
"use strict";
|
|
315
315
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
316
|
-
for (var
|
|
317
|
-
__defProp2(target,
|
|
316
|
+
for (var name in all)
|
|
317
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
318
318
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
319
319
|
if (from && typeof from == "object" || typeof from == "function")
|
|
320
320
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -427,8 +427,8 @@ var require_ResponderSystem_native = __commonJS({
|
|
|
427
427
|
"../react-native-use-responder-events/dist/cjs/ResponderSystem.native.js"(exports, module2) {
|
|
428
428
|
"use strict";
|
|
429
429
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
430
|
-
for (var
|
|
431
|
-
__defProp2(target,
|
|
430
|
+
for (var name in all)
|
|
431
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
432
432
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
433
433
|
if (from && typeof from == "object" || typeof from == "function")
|
|
434
434
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -634,8 +634,8 @@ var require_useResponderEvents_native = __commonJS({
|
|
|
634
634
|
"../react-native-use-responder-events/dist/cjs/useResponderEvents.native.js"(exports, module2) {
|
|
635
635
|
"use strict";
|
|
636
636
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
637
|
-
for (var
|
|
638
|
-
__defProp2(target,
|
|
637
|
+
for (var name in all)
|
|
638
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
639
639
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
640
640
|
if (from && typeof from == "object" || typeof from == "function")
|
|
641
641
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -697,8 +697,8 @@ var require_clamp_native = __commonJS({
|
|
|
697
697
|
"../helpers/dist/cjs/clamp.native.js"(exports, module2) {
|
|
698
698
|
"use strict";
|
|
699
699
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
700
|
-
for (var
|
|
701
|
-
__defProp2(target,
|
|
700
|
+
for (var name in all)
|
|
701
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
702
702
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
703
703
|
if (from && typeof from == "object" || typeof from == "function")
|
|
704
704
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -720,8 +720,8 @@ var require_composeEventHandlers_native = __commonJS({
|
|
|
720
720
|
"../helpers/dist/cjs/composeEventHandlers.native.js"(exports, module2) {
|
|
721
721
|
"use strict";
|
|
722
722
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
723
|
-
for (var
|
|
724
|
-
__defProp2(target,
|
|
723
|
+
for (var name in all)
|
|
724
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
725
725
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
726
726
|
if (from && typeof from == "object" || typeof from == "function")
|
|
727
727
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -747,8 +747,8 @@ var require_concatClassName_native = __commonJS({
|
|
|
747
747
|
"../helpers/dist/cjs/concatClassName.native.js"(exports, module2) {
|
|
748
748
|
"use strict";
|
|
749
749
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
750
|
-
for (var
|
|
751
|
-
__defProp2(target,
|
|
750
|
+
for (var name in all)
|
|
751
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
752
752
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
753
753
|
if (from && typeof from == "object" || typeof from == "function")
|
|
754
754
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -771,19 +771,19 @@ var require_concatClassName_native = __commonJS({
|
|
|
771
771
|
}
|
|
772
772
|
let names = Array.isArray(cns) ? cns : cns.split(" "), numNames = names.length;
|
|
773
773
|
for (let i = numNames - 1; i >= 0; i--) {
|
|
774
|
-
let
|
|
775
|
-
if (!
|
|
774
|
+
let name = names[i];
|
|
775
|
+
if (!name || name === " ")
|
|
776
776
|
continue;
|
|
777
|
-
if (
|
|
778
|
-
final =
|
|
777
|
+
if (name[0] !== "_") {
|
|
778
|
+
final = name + " " + final;
|
|
779
779
|
continue;
|
|
780
780
|
}
|
|
781
|
-
let splitIndex =
|
|
781
|
+
let splitIndex = name.indexOf("-");
|
|
782
782
|
if (splitIndex < 1) {
|
|
783
|
-
final =
|
|
783
|
+
final = name + " " + final;
|
|
784
784
|
continue;
|
|
785
785
|
}
|
|
786
|
-
let isMediaQuery =
|
|
786
|
+
let isMediaQuery = name[splitIndex + 1] === "_", styleKey = name.slice(1, name.lastIndexOf("-")), mediaKey = isMediaQuery ? name.slice(splitIndex + 2, splitIndex + 7) : null, uid = mediaKey ? styleKey + mediaKey : styleKey;
|
|
787
787
|
if (usedPrefixes.indexOf(uid) > -1)
|
|
788
788
|
continue;
|
|
789
789
|
usedPrefixes.push(uid);
|
|
@@ -794,7 +794,7 @@ var require_concatClassName_native = __commonJS({
|
|
|
794
794
|
return po && po[propKey] && propName in po[propKey] && po[propKey] !== null;
|
|
795
795
|
}
|
|
796
796
|
return po && propName in po && po[propName] !== null;
|
|
797
|
-
}) || (final =
|
|
797
|
+
}) || (final = name + " " + final);
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
return final;
|
|
@@ -812,8 +812,8 @@ var require_index_native2 = __commonJS({
|
|
|
812
812
|
"../constants/dist/cjs/index.native.js"(exports, module2) {
|
|
813
813
|
"use strict";
|
|
814
814
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
815
|
-
for (var
|
|
816
|
-
__defProp2(target,
|
|
815
|
+
for (var name in all)
|
|
816
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
817
817
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
818
818
|
if (from && typeof from == "object" || typeof from == "function")
|
|
819
819
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -843,8 +843,8 @@ var require_validStyleProps_native = __commonJS({
|
|
|
843
843
|
"../helpers/dist/cjs/validStyleProps.native.js"(exports, module2) {
|
|
844
844
|
"use strict";
|
|
845
845
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
846
|
-
for (var
|
|
847
|
-
__defProp2(target,
|
|
846
|
+
for (var name in all)
|
|
847
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
848
848
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
849
849
|
if (from && typeof from == "object" || typeof from == "function")
|
|
850
850
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1069,8 +1069,8 @@ var require_index_native3 = __commonJS({
|
|
|
1069
1069
|
"../simple-hash/dist/cjs/index.native.js"(exports, module2) {
|
|
1070
1070
|
"use strict";
|
|
1071
1071
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1072
|
-
for (var
|
|
1073
|
-
__defProp2(target,
|
|
1072
|
+
for (var name in all)
|
|
1073
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1074
1074
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1075
1075
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1076
1076
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1134,8 +1134,8 @@ var require_config_native = __commonJS({
|
|
|
1134
1134
|
"../web/dist/cjs/config.native.js"(exports, module2) {
|
|
1135
1135
|
"use strict";
|
|
1136
1136
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1137
|
-
for (var
|
|
1138
|
-
__defProp2(target,
|
|
1137
|
+
for (var name in all)
|
|
1138
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1139
1139
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1140
1140
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1141
1141
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1163,8 +1163,8 @@ var require_config_native = __commonJS({
|
|
|
1163
1163
|
module2.exports = __toCommonJS2(config_exports);
|
|
1164
1164
|
var import_constants2 = require_index_native2(), conf, setConfig = (next) => {
|
|
1165
1165
|
conf = next, configListeners.forEach((cb) => cb(next));
|
|
1166
|
-
}, setConfigFont = (
|
|
1167
|
-
conf.fonts[
|
|
1166
|
+
}, setConfigFont = (name, font, fontParsed) => {
|
|
1167
|
+
conf.fonts[name] = font, conf.fontsParsed[`$${name}`] = fontParsed;
|
|
1168
1168
|
}, getConfig2 = () => {
|
|
1169
1169
|
if (!conf)
|
|
1170
1170
|
throw new Error(
|
|
@@ -1190,13 +1190,13 @@ var require_config_native = __commonJS({
|
|
|
1190
1190
|
conf ? cb(conf) : configListeners.add(cb);
|
|
1191
1191
|
}, updateConfig2 = (key, value) => {
|
|
1192
1192
|
Object.assign(conf[key], value);
|
|
1193
|
-
}, getFont = (
|
|
1193
|
+
}, getFont = (name) => {
|
|
1194
1194
|
var _a;
|
|
1195
1195
|
let conf2 = getConfig2();
|
|
1196
|
-
return conf2.fontsParsed[
|
|
1196
|
+
return conf2.fontsParsed[name] ?? ((_a = Object.entries(conf2.fontsParsed).find(
|
|
1197
1197
|
([k]) => {
|
|
1198
1198
|
var _a2, _b;
|
|
1199
|
-
return ((_b = (_a2 = conf2.fontsParsed[k]) == null ? void 0 : _a2.family) == null ? void 0 : _b.val) ===
|
|
1199
|
+
return ((_b = (_a2 = conf2.fontsParsed[k]) == null ? void 0 : _a2.family) == null ? void 0 : _b.val) === name;
|
|
1200
1200
|
}
|
|
1201
1201
|
)) == null ? void 0 : _a[1]);
|
|
1202
1202
|
}, devConfig;
|
|
@@ -1210,8 +1210,8 @@ var require_createVariable_native = __commonJS({
|
|
|
1210
1210
|
"../web/dist/cjs/createVariable.native.js"(exports, module2) {
|
|
1211
1211
|
"use strict";
|
|
1212
1212
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1213
|
-
for (var
|
|
1214
|
-
__defProp2(target,
|
|
1213
|
+
for (var name in all)
|
|
1214
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1215
1215
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1216
1216
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1217
1217
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1234,13 +1234,13 @@ var require_createVariable_native = __commonJS({
|
|
|
1234
1234
|
var import_constants2 = require_index_native2(), import_helpers = require_index_native4(), import_config = require_config_native(), IS_VAR = "isVar", createVariable = (props, skipHash = !1) => {
|
|
1235
1235
|
if (!skipHash && isVariable(props))
|
|
1236
1236
|
return props;
|
|
1237
|
-
let { key, name
|
|
1237
|
+
let { key, name, val } = props;
|
|
1238
1238
|
return {
|
|
1239
1239
|
[IS_VAR]: !0,
|
|
1240
1240
|
key,
|
|
1241
|
-
name: skipHash ? "" : (0, import_helpers.simpleHash)(
|
|
1241
|
+
name: skipHash ? "" : (0, import_helpers.simpleHash)(name, 40),
|
|
1242
1242
|
val,
|
|
1243
|
-
variable: import_constants2.isWeb ? skipHash ? `var(--${
|
|
1243
|
+
variable: import_constants2.isWeb ? skipHash ? `var(--${name})` : createCSSVariable(name) : ""
|
|
1244
1244
|
};
|
|
1245
1245
|
};
|
|
1246
1246
|
function variableToString(vrble, getValue = !1) {
|
|
@@ -1266,8 +1266,8 @@ var require_createVariable_native = __commonJS({
|
|
|
1266
1266
|
return isVariable(v) ? v.variable : v;
|
|
1267
1267
|
}
|
|
1268
1268
|
var createCSSVariable = (nameProp, includeVar = !0) => {
|
|
1269
|
-
let
|
|
1270
|
-
return includeVar ? `var(--${
|
|
1269
|
+
let name = (0, import_helpers.simpleHash)(nameProp, 60);
|
|
1270
|
+
return includeVar ? `var(--${name})` : name;
|
|
1271
1271
|
};
|
|
1272
1272
|
}
|
|
1273
1273
|
});
|
|
@@ -1277,8 +1277,8 @@ var require_insertStyleRule_native = __commonJS({
|
|
|
1277
1277
|
"../web/dist/cjs/helpers/insertStyleRule.native.js"(exports, module2) {
|
|
1278
1278
|
"use strict";
|
|
1279
1279
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1280
|
-
for (var
|
|
1281
|
-
__defProp2(target,
|
|
1280
|
+
for (var name in all)
|
|
1281
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1282
1282
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1283
1283
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1284
1284
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1397,9 +1397,9 @@ var require_insertStyleRule_native = __commonJS({
|
|
|
1397
1397
|
theme: values
|
|
1398
1398
|
};
|
|
1399
1399
|
for (let selector of selectors) {
|
|
1400
|
-
let scheme = selector.includes("t_dark") ? "dark" : selector.includes("t_light") ? "light" : "",
|
|
1401
|
-
|
|
1402
|
-
let themeName = `${scheme}${scheme &&
|
|
1400
|
+
let scheme = selector.includes("t_dark") ? "dark" : selector.includes("t_light") ? "light" : "", name = selector.slice(selector.lastIndexOf(".t_") + 3);
|
|
1401
|
+
name.startsWith(scheme) && (name = name.slice(scheme.length + 1)), scheme === name && (scheme = "");
|
|
1402
|
+
let themeName = `${scheme}${scheme && name ? "_" : ""}${name}`;
|
|
1403
1403
|
dedupedEntry.names.includes(themeName) || dedupedEntry.names.push(themeName);
|
|
1404
1404
|
}
|
|
1405
1405
|
return dedupedEntry;
|
|
@@ -1459,8 +1459,8 @@ var require_createProxy_native = __commonJS({
|
|
|
1459
1459
|
"../web/dist/cjs/helpers/createProxy.native.js"(exports, module2) {
|
|
1460
1460
|
"use strict";
|
|
1461
1461
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1462
|
-
for (var
|
|
1463
|
-
__defProp2(target,
|
|
1462
|
+
for (var name in all)
|
|
1463
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1464
1464
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1465
1465
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1466
1466
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1482,8 +1482,8 @@ var require_matchMedia_native = __commonJS({
|
|
|
1482
1482
|
"../web/dist/cjs/helpers/matchMedia.native.js"(exports, module2) {
|
|
1483
1483
|
"use strict";
|
|
1484
1484
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1485
|
-
for (var
|
|
1486
|
-
__defProp2(target,
|
|
1485
|
+
for (var name in all)
|
|
1486
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1487
1487
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1488
1488
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1489
1489
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1517,8 +1517,8 @@ var require_pseudoDescriptors_native = __commonJS({
|
|
|
1517
1517
|
"../web/dist/cjs/helpers/pseudoDescriptors.native.js"(exports, module2) {
|
|
1518
1518
|
"use strict";
|
|
1519
1519
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1520
|
-
for (var
|
|
1521
|
-
__defProp2(target,
|
|
1520
|
+
for (var name in all)
|
|
1521
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1522
1522
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1523
1523
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1524
1524
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1570,8 +1570,8 @@ var require_objectIdentityKey_native = __commonJS({
|
|
|
1570
1570
|
"../web/dist/cjs/helpers/objectIdentityKey.native.js"(exports, module2) {
|
|
1571
1571
|
"use strict";
|
|
1572
1572
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1573
|
-
for (var
|
|
1574
|
-
__defProp2(target,
|
|
1573
|
+
for (var name in all)
|
|
1574
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1575
1575
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1576
1576
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1577
1577
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1607,8 +1607,8 @@ var require_createStyledContext_native = __commonJS({
|
|
|
1607
1607
|
"../web/dist/cjs/helpers/createStyledContext.native.js"(exports, module2) {
|
|
1608
1608
|
"use strict";
|
|
1609
1609
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1610
|
-
for (var
|
|
1611
|
-
__defProp2(target,
|
|
1610
|
+
for (var name in all)
|
|
1611
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1612
1612
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1613
1613
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1614
1614
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1650,8 +1650,8 @@ var require_ComponentContext_native = __commonJS({
|
|
|
1650
1650
|
"../web/dist/cjs/contexts/ComponentContext.native.js"(exports, module2) {
|
|
1651
1651
|
"use strict";
|
|
1652
1652
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1653
|
-
for (var
|
|
1654
|
-
__defProp2(target,
|
|
1653
|
+
for (var name in all)
|
|
1654
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1655
1655
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1656
1656
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1657
1657
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1668,8 +1668,8 @@ var require_ComponentContext_native = __commonJS({
|
|
|
1668
1668
|
language: null,
|
|
1669
1669
|
animationDriver: null,
|
|
1670
1670
|
groups: {
|
|
1671
|
-
emit: (
|
|
1672
|
-
listeners.forEach((l) => l(
|
|
1671
|
+
emit: (name, state) => {
|
|
1672
|
+
listeners.forEach((l) => l(name, state));
|
|
1673
1673
|
},
|
|
1674
1674
|
subscribe(cb) {
|
|
1675
1675
|
return listeners.add(cb), () => {
|
|
@@ -1687,8 +1687,8 @@ var require_useDisableSSR_native = __commonJS({
|
|
|
1687
1687
|
"../web/dist/cjs/hooks/useDisableSSR.native.js"(exports, module2) {
|
|
1688
1688
|
"use strict";
|
|
1689
1689
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1690
|
-
for (var
|
|
1691
|
-
__defProp2(target,
|
|
1690
|
+
for (var name in all)
|
|
1691
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1692
1692
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1693
1693
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1694
1694
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1716,8 +1716,8 @@ var require_useMedia_native = __commonJS({
|
|
|
1716
1716
|
"../web/dist/cjs/hooks/useMedia.native.js"(exports, module2) {
|
|
1717
1717
|
"use strict";
|
|
1718
1718
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1719
|
-
for (var
|
|
1720
|
-
__defProp2(target,
|
|
1719
|
+
for (var name in all)
|
|
1720
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1721
1721
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1722
1722
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1723
1723
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1855,8 +1855,8 @@ var require_Tamagui_native = __commonJS({
|
|
|
1855
1855
|
"../web/dist/cjs/Tamagui.native.js"(exports, module2) {
|
|
1856
1856
|
"use strict";
|
|
1857
1857
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1858
|
-
for (var
|
|
1859
|
-
__defProp2(target,
|
|
1858
|
+
for (var name in all)
|
|
1859
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1860
1860
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1861
1861
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1862
1862
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1909,8 +1909,8 @@ var require_compose_refs_native = __commonJS({
|
|
|
1909
1909
|
"../compose-refs/dist/cjs/compose-refs.native.js"(exports, module2) {
|
|
1910
1910
|
"use strict";
|
|
1911
1911
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1912
|
-
for (var
|
|
1913
|
-
__defProp2(target,
|
|
1912
|
+
for (var name in all)
|
|
1913
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1914
1914
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1915
1915
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1916
1916
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1962,8 +1962,8 @@ var require_index_native6 = __commonJS({
|
|
|
1962
1962
|
"../use-did-finish-ssr/dist/cjs/index.native.js"(exports, module2) {
|
|
1963
1963
|
"use strict";
|
|
1964
1964
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1965
|
-
for (var
|
|
1966
|
-
__defProp2(target,
|
|
1965
|
+
for (var name in all)
|
|
1966
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1967
1967
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1968
1968
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1969
1969
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -1990,8 +1990,8 @@ var require_constants_native = __commonJS({
|
|
|
1990
1990
|
"../web/dist/cjs/constants/constants.native.js"(exports, module2) {
|
|
1991
1991
|
"use strict";
|
|
1992
1992
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
1993
|
-
for (var
|
|
1994
|
-
__defProp2(target,
|
|
1993
|
+
for (var name in all)
|
|
1994
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
1995
1995
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
1996
1996
|
if (from && typeof from == "object" || typeof from == "function")
|
|
1997
1997
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2015,8 +2015,8 @@ var require_defaultComponentState_native = __commonJS({
|
|
|
2015
2015
|
"../web/dist/cjs/defaultComponentState.native.js"(exports, module2) {
|
|
2016
2016
|
"use strict";
|
|
2017
2017
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2018
|
-
for (var
|
|
2019
|
-
__defProp2(target,
|
|
2018
|
+
for (var name in all)
|
|
2019
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2020
2020
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2021
2021
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2022
2022
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2050,8 +2050,8 @@ var require_createShallowSetState_native = __commonJS({
|
|
|
2050
2050
|
"../web/dist/cjs/helpers/createShallowSetState.native.js"(exports, module2) {
|
|
2051
2051
|
"use strict";
|
|
2052
2052
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2053
|
-
for (var
|
|
2054
|
-
__defProp2(target,
|
|
2053
|
+
for (var name in all)
|
|
2054
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2055
2055
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2056
2056
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2057
2057
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2080,8 +2080,8 @@ var require_accessibilityDirectMap_native = __commonJS({
|
|
|
2080
2080
|
"../web/dist/cjs/constants/accessibilityDirectMap.native.js"(exports, module2) {
|
|
2081
2081
|
"use strict";
|
|
2082
2082
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2083
|
-
for (var
|
|
2084
|
-
__defProp2(target,
|
|
2083
|
+
for (var name in all)
|
|
2084
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2085
2085
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2086
2086
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2087
2087
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2155,8 +2155,8 @@ var require_isDevTools_native = __commonJS({
|
|
|
2155
2155
|
"../web/dist/cjs/constants/isDevTools.native.js"(exports, module2) {
|
|
2156
2156
|
"use strict";
|
|
2157
2157
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2158
|
-
for (var
|
|
2159
|
-
__defProp2(target,
|
|
2158
|
+
for (var name in all)
|
|
2159
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2160
2160
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2161
2161
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2162
2162
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2182,8 +2182,8 @@ var require_getGroupPropParts_native = __commonJS({
|
|
|
2182
2182
|
"../web/dist/cjs/helpers/getGroupPropParts.native.js"(exports, module2) {
|
|
2183
2183
|
"use strict";
|
|
2184
2184
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2185
|
-
for (var
|
|
2186
|
-
__defProp2(target,
|
|
2185
|
+
for (var name in all)
|
|
2186
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2187
2187
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2188
2188
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2189
2189
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2196,8 +2196,8 @@ var require_getGroupPropParts_native = __commonJS({
|
|
|
2196
2196
|
module2.exports = __toCommonJS2(getGroupPropParts_exports);
|
|
2197
2197
|
var import_useMedia = require_useMedia_native();
|
|
2198
2198
|
function getGroupPropParts(groupProp) {
|
|
2199
|
-
let mediaQueries = (0, import_useMedia.getMedia)(), [_,
|
|
2200
|
-
return media ? pseudo = part4 : pseudo = part3, { name
|
|
2199
|
+
let mediaQueries = (0, import_useMedia.getMedia)(), [_, name, part3, part4] = groupProp.split("-"), pseudo, media = part3 in mediaQueries ? part3 : void 0;
|
|
2200
|
+
return media ? pseudo = part4 : pseudo = part3, { name, pseudo, media };
|
|
2201
2201
|
}
|
|
2202
2202
|
}
|
|
2203
2203
|
});
|
|
@@ -2207,8 +2207,8 @@ var require_createMediaStyle_native = __commonJS({
|
|
|
2207
2207
|
"../web/dist/cjs/helpers/createMediaStyle.native.js"(exports, module2) {
|
|
2208
2208
|
"use strict";
|
|
2209
2209
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2210
|
-
for (var
|
|
2211
|
-
__defProp2(target,
|
|
2210
|
+
for (var name in all)
|
|
2211
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2212
2212
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2213
2213
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2214
2214
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2229,7 +2229,7 @@ var require_createMediaStyle_native = __commonJS({
|
|
|
2229
2229
|
if (isThemeMedia || isGroup) {
|
|
2230
2230
|
let groupInfo = (0, import_getGroupPropParts.getGroupPropParts)(mediaKeyIn), mediaName = groupInfo == null ? void 0 : groupInfo.name;
|
|
2231
2231
|
groupMediaKey = groupInfo == null ? void 0 : groupInfo.media, isGroup && (containerName = mediaName);
|
|
2232
|
-
let
|
|
2232
|
+
let name = (isGroup ? "group_" : "") + mediaName, selectorStart = styleInner.indexOf(":root"), selectorEnd = styleInner.lastIndexOf("{"), selector = styleInner.slice(selectorStart, selectorEnd), precedenceSpace = conf.themeClassNameOnRoot ? "" : " ", pseudoSelectorName = groupInfo.pseudo ? groupPseudoToPseudoCSSMap[groupInfo.pseudo] || groupInfo.pseudo : void 0, pseudoSelector = pseudoSelectorName ? `:${pseudoSelectorName}` : "", presedencePrefix = `:root${precedenceImportancePrefix}${precedenceSpace}`, mediaSelector = `.t_${name}${pseudoSelector}`, nextSelector = `${presedencePrefix}${mediaSelector} ${selector.replace(
|
|
2233
2233
|
":root",
|
|
2234
2234
|
""
|
|
2235
2235
|
)}`;
|
|
@@ -2269,8 +2269,8 @@ var require_expandStyle_native = __commonJS({
|
|
|
2269
2269
|
"../web/dist/cjs/helpers/expandStyle.native.js"(exports, module2) {
|
|
2270
2270
|
"use strict";
|
|
2271
2271
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all2) => {
|
|
2272
|
-
for (var
|
|
2273
|
-
__defProp2(target,
|
|
2272
|
+
for (var name in all2)
|
|
2273
|
+
__defProp2(target, name, { get: all2[name], enumerable: !0 });
|
|
2274
2274
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2275
2275
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2276
2276
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2454,8 +2454,8 @@ var require_normalize_color = __commonJS({
|
|
|
2454
2454
|
let int = parseFloat(str);
|
|
2455
2455
|
return int < 0 ? 0 : int > 100 ? 1 : int / 100;
|
|
2456
2456
|
}
|
|
2457
|
-
function normalizeKeyword(
|
|
2458
|
-
switch (
|
|
2457
|
+
function normalizeKeyword(name) {
|
|
2458
|
+
switch (name) {
|
|
2459
2459
|
case "transparent":
|
|
2460
2460
|
return 0;
|
|
2461
2461
|
case "aliceblue":
|
|
@@ -2768,8 +2768,8 @@ var require_index_native7 = __commonJS({
|
|
|
2768
2768
|
"../normalize-css-color/dist/cjs/index.native.js"(exports, module2) {
|
|
2769
2769
|
"use strict";
|
|
2770
2770
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2771
|
-
for (var
|
|
2772
|
-
__defProp2(target,
|
|
2771
|
+
for (var name in all)
|
|
2772
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2773
2773
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2774
2774
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2775
2775
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2808,8 +2808,8 @@ var require_defaultOffset_native = __commonJS({
|
|
|
2808
2808
|
"../web/dist/cjs/helpers/defaultOffset.native.js"(exports, module2) {
|
|
2809
2809
|
"use strict";
|
|
2810
2810
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2811
|
-
for (var
|
|
2812
|
-
__defProp2(target,
|
|
2811
|
+
for (var name in all)
|
|
2812
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2813
2813
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2814
2814
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2815
2815
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2829,8 +2829,8 @@ var require_normalizeColor_native = __commonJS({
|
|
|
2829
2829
|
"../web/dist/cjs/helpers/normalizeColor.native.js"(exports, module2) {
|
|
2830
2830
|
"use strict";
|
|
2831
2831
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2832
|
-
for (var
|
|
2833
|
-
__defProp2(target,
|
|
2832
|
+
for (var name in all)
|
|
2833
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2834
2834
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2835
2835
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2836
2836
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2861,8 +2861,8 @@ var require_normalizeValueWithProperty_native = __commonJS({
|
|
|
2861
2861
|
"../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports, module2) {
|
|
2862
2862
|
"use strict";
|
|
2863
2863
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2864
|
-
for (var
|
|
2865
|
-
__defProp2(target,
|
|
2864
|
+
for (var name in all)
|
|
2865
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2866
2866
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2867
2867
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2868
2868
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2903,8 +2903,8 @@ var require_normalizeShadow_native = __commonJS({
|
|
|
2903
2903
|
"../web/dist/cjs/helpers/normalizeShadow.native.js"(exports, module2) {
|
|
2904
2904
|
"use strict";
|
|
2905
2905
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2906
|
-
for (var
|
|
2907
|
-
__defProp2(target,
|
|
2906
|
+
for (var name in all)
|
|
2907
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2908
2908
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2909
2909
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2910
2910
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2944,8 +2944,8 @@ var require_expandStyles_native = __commonJS({
|
|
|
2944
2944
|
"../web/dist/cjs/helpers/expandStyles.native.js"(exports, module2) {
|
|
2945
2945
|
"use strict";
|
|
2946
2946
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2947
|
-
for (var
|
|
2948
|
-
__defProp2(target,
|
|
2947
|
+
for (var name in all)
|
|
2948
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2949
2949
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2950
2950
|
if (from && typeof from == "object" || typeof from == "function")
|
|
2951
2951
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -2993,8 +2993,8 @@ var require_getStylesAtomic_native = __commonJS({
|
|
|
2993
2993
|
"../web/dist/cjs/helpers/getStylesAtomic.native.js"(exports, module2) {
|
|
2994
2994
|
"use strict";
|
|
2995
2995
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2996
|
-
for (var
|
|
2997
|
-
__defProp2(target,
|
|
2996
|
+
for (var name in all)
|
|
2997
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2998
2998
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
2999
2999
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3000
3000
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3019,8 +3019,8 @@ var require_getVariantExtras_native = __commonJS({
|
|
|
3019
3019
|
"../web/dist/cjs/helpers/getVariantExtras.native.js"(exports, module2) {
|
|
3020
3020
|
"use strict";
|
|
3021
3021
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3022
|
-
for (var
|
|
3023
|
-
__defProp2(target,
|
|
3022
|
+
for (var name in all)
|
|
3023
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3024
3024
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3025
3025
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3026
3026
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3066,11 +3066,11 @@ var require_getVariantExtras_native = __commonJS({
|
|
|
3066
3066
|
let next = {
|
|
3067
3067
|
...fonts,
|
|
3068
3068
|
...Object.fromEntries(
|
|
3069
|
-
Object.entries(language).map(([
|
|
3069
|
+
Object.entries(language).map(([name, lang]) => {
|
|
3070
3070
|
if (lang === "default")
|
|
3071
3071
|
return [];
|
|
3072
|
-
let langKey = `$${
|
|
3073
|
-
return [`$${
|
|
3072
|
+
let langKey = `$${name}_${lang}`;
|
|
3073
|
+
return [`$${name}`, fonts[langKey]];
|
|
3074
3074
|
})
|
|
3075
3075
|
)
|
|
3076
3076
|
};
|
|
@@ -3084,8 +3084,8 @@ var require_isObj_native = __commonJS({
|
|
|
3084
3084
|
"../web/dist/cjs/helpers/isObj.native.js"(exports, module2) {
|
|
3085
3085
|
"use strict";
|
|
3086
3086
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3087
|
-
for (var
|
|
3088
|
-
__defProp2(target,
|
|
3087
|
+
for (var name in all)
|
|
3088
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3089
3089
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3090
3090
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3091
3091
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3105,8 +3105,8 @@ var require_propMapper_native = __commonJS({
|
|
|
3105
3105
|
"../web/dist/cjs/helpers/propMapper.native.js"(exports, module2) {
|
|
3106
3106
|
"use strict";
|
|
3107
3107
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3108
|
-
for (var
|
|
3109
|
-
__defProp2(target,
|
|
3108
|
+
for (var name in all)
|
|
3109
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3110
3110
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3111
3111
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3112
3112
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3144,9 +3144,9 @@ var require_propMapper_native = __commonJS({
|
|
|
3144
3144
|
let variantValue = getVariantDefinition(variants[key], value, conf);
|
|
3145
3145
|
if (!variantValue) {
|
|
3146
3146
|
if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value != "boolean") {
|
|
3147
|
-
let
|
|
3147
|
+
let name = staticConfig.componentName || "[UnnamedComponent]";
|
|
3148
3148
|
console.warn(
|
|
3149
|
-
`No variant found: ${
|
|
3149
|
+
`No variant found: ${name} has variant "${key}", but no matching value "${value}"`
|
|
3150
3150
|
);
|
|
3151
3151
|
}
|
|
3152
3152
|
return;
|
|
@@ -3222,9 +3222,9 @@ var require_propMapper_native = __commonJS({
|
|
|
3222
3222
|
res[fKey] = val;
|
|
3223
3223
|
}
|
|
3224
3224
|
return res;
|
|
3225
|
-
}, tokenCats = ["size", "color", "radius", "space", "zIndex"].map((
|
|
3226
|
-
name
|
|
3227
|
-
spreadName: `...${
|
|
3225
|
+
}, tokenCats = ["size", "color", "radius", "space", "zIndex"].map((name) => ({
|
|
3226
|
+
name,
|
|
3227
|
+
spreadName: `...${name}`
|
|
3228
3228
|
}));
|
|
3229
3229
|
function getVariantDefinition(variant, value, conf) {
|
|
3230
3230
|
if (typeof variant == "function")
|
|
@@ -3234,8 +3234,8 @@ var require_propMapper_native = __commonJS({
|
|
|
3234
3234
|
return exact;
|
|
3235
3235
|
if (value != null) {
|
|
3236
3236
|
let { tokensParsed } = conf;
|
|
3237
|
-
for (let { name
|
|
3238
|
-
if (spreadName in variant && value in tokensParsed[
|
|
3237
|
+
for (let { name, spreadName } of tokenCats)
|
|
3238
|
+
if (spreadName in variant && value in tokensParsed[name])
|
|
3239
3239
|
return variant[spreadName];
|
|
3240
3240
|
let fontSizeVariant = variant["...fontSize"];
|
|
3241
3241
|
if (fontSizeVariant && conf.fontSizeTokens.has(value))
|
|
@@ -3296,8 +3296,8 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
3296
3296
|
"../web/dist/cjs/helpers/getSplitStyles.native.js"(exports, module2) {
|
|
3297
3297
|
"use strict";
|
|
3298
3298
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3299
|
-
for (var
|
|
3300
|
-
__defProp2(target,
|
|
3299
|
+
for (var name in all)
|
|
3300
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3301
3301
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3302
3302
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3303
3303
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3410,7 +3410,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
3410
3410
|
if (expanded) {
|
|
3411
3411
|
for (let [key, val] of expanded)
|
|
3412
3412
|
if (!(val == null || key in usedKeys)) {
|
|
3413
|
-
if (isPseudo = key in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key), isMediaOrPseudo = isMedia || isPseudo, isVariant = variants && key in variants, (inlineProps != null && inlineProps.has(key) || IS_STATIC && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key)) && (viewProps[key] = props[key] ?? val), isHOC && (isMediaOrPseudo || ((_b = parentStaticConfig == null ? void 0 : parentStaticConfig.variants) == null ? void 0 : _b[keyInit]))) {
|
|
3413
|
+
if (isPseudo = key in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key), isMediaOrPseudo = isMedia || isPseudo, isVariant = variants && key in variants, (inlineProps != null && inlineProps.has(key) || IS_STATIC && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key)) && (viewProps[key] = props[key] ?? val), styleProps.noExpand && isPseudo || isHOC && (isMediaOrPseudo || ((_b = parentStaticConfig == null ? void 0 : parentStaticConfig.variants) == null ? void 0 : _b[keyInit]))) {
|
|
3414
3414
|
passDownProp(viewProps, key, val, isMediaOrPseudo);
|
|
3415
3415
|
continue;
|
|
3416
3416
|
}
|
|
@@ -3445,8 +3445,8 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
3445
3445
|
mergeStyle(styleState, pkey, defaultVal);
|
|
3446
3446
|
}
|
|
3447
3447
|
} else {
|
|
3448
|
-
let curImportance = usedKeys[
|
|
3449
|
-
importance >= curImportance && (pseudos ||= {}, pseudos[key] ||= {}, pseudos[key][pkey] = val2, mergeStyle(styleState, pkey, val2), usedKeys[pkey]
|
|
3448
|
+
let curImportance = usedKeys[pkey] || 0;
|
|
3449
|
+
importance >= curImportance && (pseudos ||= {}, pseudos[key] ||= {}, pseudos[key][pkey] = val2, mergeStyle(styleState, pkey, val2), usedKeys[pkey] = Math.max(usedKeys[pkey], importance));
|
|
3450
3450
|
}
|
|
3451
3451
|
}
|
|
3452
3452
|
if (!isDisabled)
|
|
@@ -3703,8 +3703,8 @@ var require_mergeProps_native = __commonJS({
|
|
|
3703
3703
|
"../web/dist/cjs/helpers/mergeProps.native.js"(exports, module2) {
|
|
3704
3704
|
"use strict";
|
|
3705
3705
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3706
|
-
for (var
|
|
3707
|
-
__defProp2(target,
|
|
3706
|
+
for (var name in all)
|
|
3707
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3708
3708
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3709
3709
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3710
3710
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3746,8 +3746,8 @@ var require_proxyThemeVariables_native = __commonJS({
|
|
|
3746
3746
|
"../web/dist/cjs/helpers/proxyThemeVariables.native.js"(exports, module2) {
|
|
3747
3747
|
"use strict";
|
|
3748
3748
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3749
|
-
for (var
|
|
3750
|
-
__defProp2(target,
|
|
3749
|
+
for (var name in all)
|
|
3750
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3751
3751
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3752
3752
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3753
3753
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3778,8 +3778,8 @@ var require_ThemeManagerContext_native = __commonJS({
|
|
|
3778
3778
|
"../web/dist/cjs/helpers/ThemeManagerContext.native.js"(exports, module2) {
|
|
3779
3779
|
"use strict";
|
|
3780
3780
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3781
|
-
for (var
|
|
3782
|
-
__defProp2(target,
|
|
3781
|
+
for (var name in all)
|
|
3782
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3783
3783
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3784
3784
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3785
3785
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3799,8 +3799,8 @@ var require_ThemeManager_native = __commonJS({
|
|
|
3799
3799
|
"../web/dist/cjs/helpers/ThemeManager.native.js"(exports, module2) {
|
|
3800
3800
|
"use strict";
|
|
3801
3801
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3802
|
-
for (var
|
|
3803
|
-
__defProp2(target,
|
|
3802
|
+
for (var name in all)
|
|
3803
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3804
3804
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3805
3805
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3806
3806
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3873,8 +3873,8 @@ var require_ThemeManager_native = __commonJS({
|
|
|
3873
3873
|
};
|
|
3874
3874
|
}
|
|
3875
3875
|
};
|
|
3876
|
-
function getNextThemeClassName(
|
|
3877
|
-
return `t_sub_theme ${import_constants22.THEME_CLASSNAME_PREFIX}${
|
|
3876
|
+
function getNextThemeClassName(name) {
|
|
3877
|
+
return `t_sub_theme ${import_constants22.THEME_CLASSNAME_PREFIX}${name}`.replace("light_", "").replace("dark_", "");
|
|
3878
3878
|
}
|
|
3879
3879
|
function getState(props, parentManager) {
|
|
3880
3880
|
var _a, _b, _c, _d, _e, _f;
|
|
@@ -3949,8 +3949,8 @@ var require_getThemeUnwrapped_native = __commonJS({
|
|
|
3949
3949
|
"../web/dist/cjs/hooks/getThemeUnwrapped.native.js"(exports, module2) {
|
|
3950
3950
|
"use strict";
|
|
3951
3951
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3952
|
-
for (var
|
|
3953
|
-
__defProp2(target,
|
|
3952
|
+
for (var name in all)
|
|
3953
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3954
3954
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3955
3955
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3956
3956
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -3971,8 +3971,8 @@ var require_useTheme_native = __commonJS({
|
|
|
3971
3971
|
"../web/dist/cjs/hooks/useTheme.native.js"(exports, module2) {
|
|
3972
3972
|
"use strict";
|
|
3973
3973
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
3974
|
-
for (var
|
|
3975
|
-
__defProp2(target,
|
|
3974
|
+
for (var name in all)
|
|
3975
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
3976
3976
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
3977
3977
|
if (from && typeof from == "object" || typeof from == "function")
|
|
3978
3978
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4071,7 +4071,7 @@ var require_useTheme_native = __commonJS({
|
|
|
4071
4071
|
isNewTheme && themeManager && activeThemeManagers.add(themeManager), (isNewTheme || getShouldUpdateTheme(themeManager)) && setThemeState(createState);
|
|
4072
4072
|
let selfListenerDispose = themeManager.onChangeTheme((_a, _b, forced) => {
|
|
4073
4073
|
forced && setThemeState((prev) => createState(prev, !0));
|
|
4074
|
-
}), disposeChangeListener = parentManager == null ? void 0 : parentManager.onChangeTheme((
|
|
4074
|
+
}), disposeChangeListener = parentManager == null ? void 0 : parentManager.onChangeTheme((name, manager) => {
|
|
4075
4075
|
((shouldUpdate == null ? void 0 : shouldUpdate()) ?? !!(keys != null && keys.length || isNewTheme)) && setThemeState(createState);
|
|
4076
4076
|
}, themeManager.id);
|
|
4077
4077
|
return () => {
|
|
@@ -4121,7 +4121,7 @@ var require_useTheme_native = __commonJS({
|
|
|
4121
4121
|
themeManager2 = getNewThemeManager(), state2 = { ...themeManager2.state };
|
|
4122
4122
|
}
|
|
4123
4123
|
let isNewTheme2 = !!(themeManager2 !== parentManager || props.inverse), mounted2 = props.inverse ? isRoot || (prev == null ? void 0 : prev.mounted) : !0;
|
|
4124
|
-
return state2 || (isNewTheme2 ? state2 = themeManager2.state : (state2 = parentManager.state, themeManager2 = parentManager)), !force && state2.name === ((_a = prev == null ? void 0 : prev.state) == null ? void 0 : _a.name) ? prev : {
|
|
4124
|
+
return state2 || (isNewTheme2 ? state2 = themeManager2.state : (state2 = parentManager.state, themeManager2 = parentManager)), !force && (state2 == null ? void 0 : state2.name) === ((_a = prev == null ? void 0 : prev.state) == null ? void 0 : _a.name) ? prev : {
|
|
4125
4125
|
state: state2,
|
|
4126
4126
|
themeManager: themeManager2,
|
|
4127
4127
|
isNewTheme: isNewTheme2,
|
|
@@ -4137,8 +4137,8 @@ var require_ThemeDebug_native = __commonJS({
|
|
|
4137
4137
|
"../web/dist/cjs/views/ThemeDebug.native.js"(exports, module2) {
|
|
4138
4138
|
"use strict";
|
|
4139
4139
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4140
|
-
for (var
|
|
4141
|
-
__defProp2(target,
|
|
4140
|
+
for (var name in all)
|
|
4141
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4142
4142
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4143
4143
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4144
4144
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4164,8 +4164,8 @@ var require_Theme_native = __commonJS({
|
|
|
4164
4164
|
"../web/dist/cjs/views/Theme.native.js"(exports, module2) {
|
|
4165
4165
|
"use strict";
|
|
4166
4166
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4167
|
-
for (var
|
|
4168
|
-
__defProp2(target,
|
|
4167
|
+
for (var name in all)
|
|
4168
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4169
4169
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4170
4170
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4171
4171
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4239,11 +4239,11 @@ var require_Theme_native = __commonJS({
|
|
|
4239
4239
|
isRoot && (className = className.replace("t_sub_theme", ""));
|
|
4240
4240
|
let themedChildren = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: `${className} _dsp_contents is_Theme`, style: colorStyle, children });
|
|
4241
4241
|
if (inverse != null || forceClassName) {
|
|
4242
|
-
let
|
|
4242
|
+
let name = ((_d = themeState.state) == null ? void 0 : _d.name) || "";
|
|
4243
4243
|
themedChildren = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
4244
4244
|
"span",
|
|
4245
4245
|
{
|
|
4246
|
-
className: `${
|
|
4246
|
+
className: `${name.startsWith("light") ? "t_light" : name.startsWith("dark") ? "t_dark" : ""} _dsp_contents ${inverse ? "is_inversed" : ""}`,
|
|
4247
4247
|
children: themedChildren
|
|
4248
4248
|
}
|
|
4249
4249
|
);
|
|
@@ -4258,8 +4258,8 @@ var require_themeable_native = __commonJS({
|
|
|
4258
4258
|
"../web/dist/cjs/helpers/themeable.native.js"(exports, module2) {
|
|
4259
4259
|
"use strict";
|
|
4260
4260
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4261
|
-
for (var
|
|
4262
|
-
__defProp2(target,
|
|
4261
|
+
for (var name in all)
|
|
4262
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4263
4263
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4264
4264
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4265
4265
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4308,8 +4308,8 @@ var require_setupHooks_native = __commonJS({
|
|
|
4308
4308
|
"../web/dist/cjs/setupHooks.native.js"(exports, module2) {
|
|
4309
4309
|
"use strict";
|
|
4310
4310
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4311
|
-
for (var
|
|
4312
|
-
__defProp2(target,
|
|
4311
|
+
for (var name in all)
|
|
4312
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4313
4313
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4314
4314
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4315
4315
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4333,8 +4333,8 @@ var require_Slot_native = __commonJS({
|
|
|
4333
4333
|
"../web/dist/cjs/views/Slot.native.js"(exports, module2) {
|
|
4334
4334
|
"use strict";
|
|
4335
4335
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4336
|
-
for (var
|
|
4337
|
-
__defProp2(target,
|
|
4336
|
+
for (var name in all)
|
|
4337
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4338
4338
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4339
4339
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4340
4340
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4384,8 +4384,8 @@ var require_createComponent_native = __commonJS({
|
|
|
4384
4384
|
"../web/dist/cjs/createComponent.native.js"(exports, module2) {
|
|
4385
4385
|
"use strict";
|
|
4386
4386
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4387
|
-
for (var
|
|
4388
|
-
__defProp2(target,
|
|
4387
|
+
for (var name in all)
|
|
4388
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4389
4389
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4390
4390
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4391
4391
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4609,8 +4609,8 @@ var require_createComponent_native = __commonJS({
|
|
|
4609
4609
|
media: {}
|
|
4610
4610
|
};
|
|
4611
4611
|
disposeGroupsListener = componentContext.groups.subscribe(
|
|
4612
|
-
(
|
|
4613
|
-
if (pseudo && pseudoGroups != null && pseudoGroups.has(
|
|
4612
|
+
(name, { layout, pseudo }) => {
|
|
4613
|
+
if (pseudo && pseudoGroups != null && pseudoGroups.has(name))
|
|
4614
4614
|
Object.assign(current.pseudo, pseudo), persist();
|
|
4615
4615
|
else if (layout && mediaGroups) {
|
|
4616
4616
|
let mediaState22 = getMediaState(mediaGroups, layout), next = (0, import_createShallowSetState.mergeIfNotShallowEqual)(current.media, mediaState22);
|
|
@@ -4621,7 +4621,7 @@ var require_createComponent_native = __commonJS({
|
|
|
4621
4621
|
// force it to be referentially different so it always updates
|
|
4622
4622
|
group: {
|
|
4623
4623
|
...state.group,
|
|
4624
|
-
[
|
|
4624
|
+
[name]: current
|
|
4625
4625
|
}
|
|
4626
4626
|
});
|
|
4627
4627
|
}
|
|
@@ -4641,7 +4641,7 @@ var require_createComponent_native = __commonJS({
|
|
|
4641
4641
|
fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
|
|
4642
4642
|
let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
|
|
4643
4643
|
viewProps.style = style;
|
|
4644
|
-
let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick),
|
|
4644
|
+
let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants2.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants2.isWeb || asChild), events = !!(attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle) && !isDisabled && !props.asChild ? {
|
|
4645
4645
|
onPressOut: attachPress ? (e) => {
|
|
4646
4646
|
unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
|
|
4647
4647
|
} : void 0,
|
|
@@ -4706,7 +4706,12 @@ var require_createComponent_native = __commonJS({
|
|
|
4706
4706
|
}
|
|
4707
4707
|
};
|
|
4708
4708
|
}, [groupName]);
|
|
4709
|
-
if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, { groups: subGroupContext, children: content })), content = disableThemeProp ? content : (0, import_Theme.useThemedChildren)(themeState, content, themeStateProps),
|
|
4709
|
+
if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, { groups: subGroupContext, children: content })), content = disableThemeProp ? content : (0, import_Theme.useThemedChildren)(themeState, content, themeStateProps), staticConfig.context) {
|
|
4710
|
+
let contextProps = staticConfig.context.props;
|
|
4711
|
+
for (let key in contextProps)
|
|
4712
|
+
(key in style || key in viewProps) && (overriddenContextProps ||= {}, overriddenContextProps[key] = style[key] ?? viewProps[key]);
|
|
4713
|
+
}
|
|
4714
|
+
if (overriddenContextProps) {
|
|
4710
4715
|
let Provider = staticConfig.context.Provider;
|
|
4711
4716
|
content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Provider, { ...contextValue, ...overriddenContextProps, children: content });
|
|
4712
4717
|
}
|
|
@@ -4885,8 +4890,8 @@ var require_createShorthands_native = __commonJS({
|
|
|
4885
4890
|
"../web/dist/cjs/createShorthands.native.js"(exports, module2) {
|
|
4886
4891
|
"use strict";
|
|
4887
4892
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4888
|
-
for (var
|
|
4889
|
-
__defProp2(target,
|
|
4893
|
+
for (var name in all)
|
|
4894
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4890
4895
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4891
4896
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4892
4897
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4908,8 +4913,8 @@ var require_createTheme_native = __commonJS({
|
|
|
4908
4913
|
"../web/dist/cjs/createTheme.native.js"(exports, module2) {
|
|
4909
4914
|
"use strict";
|
|
4910
4915
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4911
|
-
for (var
|
|
4912
|
-
__defProp2(target,
|
|
4916
|
+
for (var name in all)
|
|
4917
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4913
4918
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4914
4919
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4915
4920
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4929,8 +4934,8 @@ var require_createVariables_native = __commonJS({
|
|
|
4929
4934
|
"../web/dist/cjs/createVariables.native.js"(exports, module2) {
|
|
4930
4935
|
"use strict";
|
|
4931
4936
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4932
|
-
for (var
|
|
4933
|
-
__defProp2(target,
|
|
4937
|
+
for (var name in all)
|
|
4938
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4934
4939
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4935
4940
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4936
4941
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4952,17 +4957,17 @@ var require_createVariables_native = __commonJS({
|
|
|
4952
4957
|
res[key] = val;
|
|
4953
4958
|
continue;
|
|
4954
4959
|
}
|
|
4955
|
-
let niceKey = (0, import_helpers.simpleHash)(key),
|
|
4956
|
-
if (
|
|
4960
|
+
let niceKey = (0, import_helpers.simpleHash)(key), name = isFont ? niceKey.slice(0, 2) : i;
|
|
4961
|
+
if (name = parentPath ? `${parentPath}-${name}` : niceKey, val && typeof val == "object") {
|
|
4957
4962
|
res[key] = createVariables(
|
|
4958
4963
|
tokens[key],
|
|
4959
|
-
|
|
4964
|
+
name,
|
|
4960
4965
|
!1
|
|
4961
4966
|
/* note: don't pass isFont down, we want to avoid it past the first level */
|
|
4962
4967
|
);
|
|
4963
4968
|
continue;
|
|
4964
4969
|
}
|
|
4965
|
-
let finalValue = (0, import_createVariable.isVariable)(val) ? val : (0, import_createVariable.createVariable)({ val, name
|
|
4970
|
+
let finalValue = (0, import_createVariable.isVariable)(val) ? val : (0, import_createVariable.createVariable)({ val, name, key: keyWithPrefix });
|
|
4966
4971
|
res[key] = finalValue;
|
|
4967
4972
|
}
|
|
4968
4973
|
return cache.set(res, !0), res;
|
|
@@ -4975,8 +4980,8 @@ var require_getThemeCSSRules_native = __commonJS({
|
|
|
4975
4980
|
"../web/dist/cjs/helpers/getThemeCSSRules.native.js"(exports, module2) {
|
|
4976
4981
|
"use strict";
|
|
4977
4982
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
4978
|
-
for (var
|
|
4979
|
-
__defProp2(target,
|
|
4983
|
+
for (var name in all)
|
|
4984
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
4980
4985
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
4981
4986
|
if (from && typeof from == "object" || typeof from == "function")
|
|
4982
4987
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -4998,8 +5003,8 @@ var require_proxyThemeToParents_native = __commonJS({
|
|
|
4998
5003
|
"../web/dist/cjs/helpers/proxyThemeToParents.native.js"(exports, module2) {
|
|
4999
5004
|
"use strict";
|
|
5000
5005
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5001
|
-
for (var
|
|
5002
|
-
__defProp2(target,
|
|
5006
|
+
for (var name in all)
|
|
5007
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5003
5008
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5004
5009
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5005
5010
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5015,8 +5020,8 @@ var require_proxyThemeToParents_native = __commonJS({
|
|
|
5015
5020
|
var import_config = require_config_native(), import_getThemeUnwrapped = require_getThemeUnwrapped_native(), themesRaw = {};
|
|
5016
5021
|
function proxyThemesToParents(dedupedThemes) {
|
|
5017
5022
|
for (let { names, theme } of dedupedThemes)
|
|
5018
|
-
for (let
|
|
5019
|
-
themesRaw[
|
|
5023
|
+
for (let name of names)
|
|
5024
|
+
themesRaw[name] = theme;
|
|
5020
5025
|
let themes = {};
|
|
5021
5026
|
for (let { names, theme } of dedupedThemes)
|
|
5022
5027
|
for (let themeName of names) {
|
|
@@ -5052,8 +5057,8 @@ var require_registerCSSVariable_native = __commonJS({
|
|
|
5052
5057
|
"../web/dist/cjs/helpers/registerCSSVariable.native.js"(exports, module2) {
|
|
5053
5058
|
"use strict";
|
|
5054
5059
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5055
|
-
for (var
|
|
5056
|
-
__defProp2(target,
|
|
5060
|
+
for (var name in all)
|
|
5061
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5057
5062
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5058
5063
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5059
5064
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5077,8 +5082,8 @@ var require_themes_native = __commonJS({
|
|
|
5077
5082
|
"../web/dist/cjs/helpers/themes.native.js"(exports, module2) {
|
|
5078
5083
|
"use strict";
|
|
5079
5084
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5080
|
-
for (var
|
|
5081
|
-
__defProp2(target,
|
|
5085
|
+
for (var name in all)
|
|
5086
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5082
5087
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5083
5088
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5084
5089
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5110,8 +5115,8 @@ var require_createFont_native = __commonJS({
|
|
|
5110
5115
|
"../web/dist/cjs/createFont.native.js"(exports, module2) {
|
|
5111
5116
|
"use strict";
|
|
5112
5117
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5113
|
-
for (var
|
|
5114
|
-
__defProp2(target,
|
|
5118
|
+
for (var name in all)
|
|
5119
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5115
5120
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5116
5121
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5117
5122
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5163,8 +5168,8 @@ var require_insertFont_native = __commonJS({
|
|
|
5163
5168
|
"../web/dist/cjs/insertFont.native.js"(exports, module2) {
|
|
5164
5169
|
"use strict";
|
|
5165
5170
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5166
|
-
for (var
|
|
5167
|
-
__defProp2(target,
|
|
5171
|
+
for (var name in all)
|
|
5172
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5168
5173
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5169
5174
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5170
5175
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5179,9 +5184,9 @@ var require_insertFont_native = __commonJS({
|
|
|
5179
5184
|
});
|
|
5180
5185
|
module2.exports = __toCommonJS2(insertFont_exports);
|
|
5181
5186
|
var import_config = require_config_native(), import_createFont = require_createFont_native(), import_createVariables = require_createVariables_native(), import_registerCSSVariable = require_registerCSSVariable_native();
|
|
5182
|
-
function insertFont(
|
|
5183
|
-
let font = (0, import_createFont.createFont)(fontIn), tokened = (0, import_createVariables.createVariables)(font,
|
|
5184
|
-
return (0, import_config.setConfigFont)(
|
|
5187
|
+
function insertFont(name, fontIn) {
|
|
5188
|
+
let font = (0, import_createFont.createFont)(fontIn), tokened = (0, import_createVariables.createVariables)(font, name), parsed = parseFont(tokened);
|
|
5189
|
+
return (0, import_config.setConfigFont)(name, tokened, parsed), parsed;
|
|
5185
5190
|
}
|
|
5186
5191
|
var updateFont = insertFont;
|
|
5187
5192
|
function parseFont(definition) {
|
|
@@ -5225,8 +5230,8 @@ var require_createTamagui_native = __commonJS({
|
|
|
5225
5230
|
"../web/dist/cjs/createTamagui.native.js"(exports, module2) {
|
|
5226
5231
|
"use strict";
|
|
5227
5232
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5228
|
-
for (var
|
|
5229
|
-
__defProp2(target,
|
|
5233
|
+
for (var name in all)
|
|
5234
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5230
5235
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5231
5236
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5232
5237
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5291,9 +5296,9 @@ var require_createTamagui_native = __commonJS({
|
|
|
5291
5296
|
};
|
|
5292
5297
|
var declarationsToRuleSet = declarationsToRuleSet2;
|
|
5293
5298
|
for (let key in fontsParsed) {
|
|
5294
|
-
let fontParsed = fontsParsed[key], [
|
|
5299
|
+
let fontParsed = fontsParsed[key], [name, language] = key.includes("_") ? key.split("_") : [key], fontVars = (0, import_insertFont.registerFontVariables)(fontParsed);
|
|
5295
5300
|
fontDeclarations[key] = {
|
|
5296
|
-
name:
|
|
5301
|
+
name: name.slice(1),
|
|
5297
5302
|
declarations: fontVars,
|
|
5298
5303
|
language
|
|
5299
5304
|
};
|
|
@@ -5301,7 +5306,7 @@ var require_createTamagui_native = __commonJS({
|
|
|
5301
5306
|
let sep = "";
|
|
5302
5307
|
if (cssRuleSets.push(declarationsToRuleSet2(declarations)), fontDeclarations)
|
|
5303
5308
|
for (let key in fontDeclarations) {
|
|
5304
|
-
let { name
|
|
5309
|
+
let { name, declarations: declarations2, language = "default" } = fontDeclarations[key], fontSelector = `.font_${name}`, langSelector = `:root .t_lang-${name}-${language} ${fontSelector}`, selectors = language === "default" ? ` ${fontSelector}, ${langSelector}` : langSelector, specificRuleSet = declarationsToRuleSet2(declarations2, selectors);
|
|
5305
5310
|
cssRuleSets.push(specificRuleSet);
|
|
5306
5311
|
}
|
|
5307
5312
|
}
|
|
@@ -5344,7 +5349,6 @@ ${runtimeStyles}`;
|
|
|
5344
5349
|
!defaultFontName && configIn.fonts && (defaultFontName = Object.keys(configIn.fonts)[0]), (defaultFontName == null ? void 0 : defaultFontName[0]) === "$" && (defaultFontName = defaultFontName.slice(1));
|
|
5345
5350
|
let defaultFont = `$${defaultFontName}`, config = {
|
|
5346
5351
|
fonts: {},
|
|
5347
|
-
groupNames: [],
|
|
5348
5352
|
settings: {},
|
|
5349
5353
|
onlyAllowShorthands: !1,
|
|
5350
5354
|
fontLanguages: [],
|
|
@@ -5397,8 +5401,8 @@ var require_createTokens_native = __commonJS({
|
|
|
5397
5401
|
"../web/dist/cjs/createTokens.native.js"(exports, module2) {
|
|
5398
5402
|
"use strict";
|
|
5399
5403
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5400
|
-
for (var
|
|
5401
|
-
__defProp2(target,
|
|
5404
|
+
for (var name in all)
|
|
5405
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5402
5406
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5403
5407
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5404
5408
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5421,8 +5425,8 @@ var require_mergeVariants_native = __commonJS({
|
|
|
5421
5425
|
"../web/dist/cjs/helpers/mergeVariants.native.js"(exports, module2) {
|
|
5422
5426
|
"use strict";
|
|
5423
5427
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5424
|
-
for (var
|
|
5425
|
-
__defProp2(target,
|
|
5428
|
+
for (var name in all)
|
|
5429
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5426
5430
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5427
5431
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5428
5432
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5472,8 +5476,8 @@ var require_setupReactNative_native = __commonJS({
|
|
|
5472
5476
|
"../web/dist/cjs/setupReactNative.native.js"(exports, module2) {
|
|
5473
5477
|
"use strict";
|
|
5474
5478
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5475
|
-
for (var
|
|
5476
|
-
__defProp2(target,
|
|
5479
|
+
for (var name in all)
|
|
5480
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5477
5481
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5478
5482
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5479
5483
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5510,8 +5514,8 @@ var require_styled_native = __commonJS({
|
|
|
5510
5514
|
"../web/dist/cjs/styled.native.js"(exports, module2) {
|
|
5511
5515
|
"use strict";
|
|
5512
5516
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5513
|
-
for (var
|
|
5514
|
-
__defProp2(target,
|
|
5517
|
+
for (var name in all)
|
|
5518
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5515
5519
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5516
5520
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5517
5521
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5530,7 +5534,7 @@ var require_styled_native = __commonJS({
|
|
|
5530
5534
|
if (options) {
|
|
5531
5535
|
let {
|
|
5532
5536
|
variants,
|
|
5533
|
-
name
|
|
5537
|
+
name,
|
|
5534
5538
|
defaultVariants,
|
|
5535
5539
|
acceptsClassName: acceptsClassNameProp,
|
|
5536
5540
|
context,
|
|
@@ -5542,7 +5546,7 @@ var require_styled_native = __commonJS({
|
|
|
5542
5546
|
}), parentStaticConfig && (parentStaticConfig.isHOC && !parentStaticConfig.isStyledHOC || (defaultProps = {
|
|
5543
5547
|
...parentStaticConfig.defaultProps,
|
|
5544
5548
|
...defaultProps
|
|
5545
|
-
}, parentStaticConfig.variants && (variants = (0, import_mergeVariants.mergeVariants)(parentStaticConfig.variants, variants)))), parentStaticConfig != null && parentStaticConfig.isHOC &&
|
|
5549
|
+
}, parentStaticConfig.variants && (variants = (0, import_mergeVariants.mergeVariants)(parentStaticConfig.variants, variants)))), parentStaticConfig != null && parentStaticConfig.isHOC && name && (defaultProps.componentName = name);
|
|
5546
5550
|
let isText = !!(staticExtractionOptions != null && staticExtractionOptions.isText || parentStaticConfig != null && parentStaticConfig.isText), acceptsClassName = acceptsClassNameProp ?? (isPlainStyledComponent || isReactNative || (parentStaticConfig == null ? void 0 : parentStaticConfig.isHOC) && (parentStaticConfig == null ? void 0 : parentStaticConfig.acceptsClassName)), conf = {
|
|
5547
5551
|
...parentStaticConfig,
|
|
5548
5552
|
...staticExtractionOptions,
|
|
@@ -5554,7 +5558,7 @@ var require_styled_native = __commonJS({
|
|
|
5554
5558
|
variants,
|
|
5555
5559
|
defaultProps,
|
|
5556
5560
|
defaultVariants,
|
|
5557
|
-
componentName:
|
|
5561
|
+
componentName: name || (parentStaticConfig == null ? void 0 : parentStaticConfig.componentName),
|
|
5558
5562
|
isReactNative,
|
|
5559
5563
|
isText,
|
|
5560
5564
|
acceptsClassName,
|
|
@@ -5606,8 +5610,8 @@ var require_getExpandedShorthands_native = __commonJS({
|
|
|
5606
5610
|
"../web/dist/cjs/helpers/getExpandedShorthands.native.js"(exports, module2) {
|
|
5607
5611
|
"use strict";
|
|
5608
5612
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5609
|
-
for (var
|
|
5610
|
-
__defProp2(target,
|
|
5613
|
+
for (var name in all)
|
|
5614
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5611
5615
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5612
5616
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5613
5617
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5636,8 +5640,8 @@ var require_isTamaguiComponent_native = __commonJS({
|
|
|
5636
5640
|
"../web/dist/cjs/helpers/isTamaguiComponent.native.js"(exports, module2) {
|
|
5637
5641
|
"use strict";
|
|
5638
5642
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5639
|
-
for (var
|
|
5640
|
-
__defProp2(target,
|
|
5643
|
+
for (var name in all)
|
|
5644
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5641
5645
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5642
5646
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5643
5647
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5648,9 +5652,9 @@ var require_isTamaguiComponent_native = __commonJS({
|
|
|
5648
5652
|
isTamaguiComponent: () => isTamaguiComponent
|
|
5649
5653
|
});
|
|
5650
5654
|
module2.exports = __toCommonJS2(isTamaguiComponent_exports);
|
|
5651
|
-
function isTamaguiComponent(comp,
|
|
5655
|
+
function isTamaguiComponent(comp, name) {
|
|
5652
5656
|
let config = comp == null ? void 0 : comp.staticConfig;
|
|
5653
|
-
return !!(config && (!
|
|
5657
|
+
return !!(config && (!name || name === config.componentName));
|
|
5654
5658
|
}
|
|
5655
5659
|
}
|
|
5656
5660
|
});
|
|
@@ -5660,8 +5664,8 @@ var require_isTamaguiElement_native = __commonJS({
|
|
|
5660
5664
|
"../web/dist/cjs/helpers/isTamaguiElement.native.js"(exports, module2) {
|
|
5661
5665
|
"use strict";
|
|
5662
5666
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5663
|
-
for (var
|
|
5664
|
-
__defProp2(target,
|
|
5667
|
+
for (var name in all)
|
|
5668
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5665
5669
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5666
5670
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5667
5671
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5672,7 +5676,7 @@ var require_isTamaguiElement_native = __commonJS({
|
|
|
5672
5676
|
isTamaguiElement: () => isTamaguiElement
|
|
5673
5677
|
});
|
|
5674
5678
|
module2.exports = __toCommonJS2(isTamaguiElement_exports);
|
|
5675
|
-
var import_react = require("react"), import_isTamaguiComponent = require_isTamaguiComponent_native(), isTamaguiElement = (child,
|
|
5679
|
+
var import_react = require("react"), import_isTamaguiComponent = require_isTamaguiComponent_native(), isTamaguiElement = (child, name) => (0, import_react.isValidElement)(child) && (0, import_isTamaguiComponent.isTamaguiComponent)(child.type, name);
|
|
5676
5680
|
}
|
|
5677
5681
|
});
|
|
5678
5682
|
|
|
@@ -5681,8 +5685,8 @@ var require_withStaticProperties_native = __commonJS({
|
|
|
5681
5685
|
"../web/dist/cjs/helpers/withStaticProperties.native.js"(exports, module2) {
|
|
5682
5686
|
"use strict";
|
|
5683
5687
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5684
|
-
for (var
|
|
5685
|
-
__defProp2(target,
|
|
5688
|
+
for (var name in all)
|
|
5689
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5686
5690
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5687
5691
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5688
5692
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5716,8 +5720,8 @@ var require_useThemeName_native = __commonJS({
|
|
|
5716
5720
|
"../web/dist/cjs/hooks/useThemeName.native.js"(exports, module2) {
|
|
5717
5721
|
"use strict";
|
|
5718
5722
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5719
|
-
for (var
|
|
5720
|
-
__defProp2(target,
|
|
5723
|
+
for (var name in all)
|
|
5724
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5721
5725
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5722
5726
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5723
5727
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5730,14 +5734,14 @@ var require_useThemeName_native = __commonJS({
|
|
|
5730
5734
|
module2.exports = __toCommonJS2(useThemeName_exports);
|
|
5731
5735
|
var import_constants2 = require_index_native2(), import_react = require("react"), import_ThemeManagerContext = require_ThemeManagerContext_native();
|
|
5732
5736
|
function useThemeName(opts) {
|
|
5733
|
-
let manager = (0, import_react.useContext)(import_ThemeManagerContext.ThemeManagerContext), [
|
|
5737
|
+
let manager = (0, import_react.useContext)(import_ThemeManagerContext.ThemeManagerContext), [name, setName] = (0, import_react.useState)((manager == null ? void 0 : manager.state.name) || "");
|
|
5734
5738
|
return (0, import_constants2.useIsomorphicLayoutEffect)(() => {
|
|
5735
5739
|
if (manager)
|
|
5736
5740
|
return setName(manager.state.name), manager.onChangeTheme((next, manager2) => {
|
|
5737
|
-
let
|
|
5738
|
-
|
|
5741
|
+
let name2 = opts != null && opts.parent && manager2.state.parentName || next;
|
|
5742
|
+
name2 && setName(name2);
|
|
5739
5743
|
});
|
|
5740
|
-
}, [manager == null ? void 0 : manager.state.name]),
|
|
5744
|
+
}, [manager == null ? void 0 : manager.state.name]), name;
|
|
5741
5745
|
}
|
|
5742
5746
|
}
|
|
5743
5747
|
});
|
|
@@ -5747,8 +5751,8 @@ var require_useConfiguration_native = __commonJS({
|
|
|
5747
5751
|
"../web/dist/cjs/hooks/useConfiguration.native.js"(exports, module2) {
|
|
5748
5752
|
"use strict";
|
|
5749
5753
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5750
|
-
for (var
|
|
5751
|
-
__defProp2(target,
|
|
5754
|
+
for (var name in all)
|
|
5755
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5752
5756
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5753
5757
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5754
5758
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5775,8 +5779,8 @@ var require_useIsTouchDevice_native = __commonJS({
|
|
|
5775
5779
|
"../web/dist/cjs/hooks/useIsTouchDevice.native.js"(exports, module2) {
|
|
5776
5780
|
"use strict";
|
|
5777
5781
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5778
|
-
for (var
|
|
5779
|
-
__defProp2(target,
|
|
5782
|
+
for (var name in all)
|
|
5783
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5780
5784
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5781
5785
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5782
5786
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5796,8 +5800,8 @@ var require_Stack_native = __commonJS({
|
|
|
5796
5800
|
"../web/dist/cjs/views/Stack.native.js"(exports, module2) {
|
|
5797
5801
|
"use strict";
|
|
5798
5802
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5799
|
-
for (var
|
|
5800
|
-
__defProp2(target,
|
|
5803
|
+
for (var name in all)
|
|
5804
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5801
5805
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5802
5806
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5803
5807
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5821,8 +5825,8 @@ var require_useProps_native = __commonJS({
|
|
|
5821
5825
|
"../web/dist/cjs/hooks/useProps.native.js"(exports, module2) {
|
|
5822
5826
|
"use strict";
|
|
5823
5827
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5824
|
-
for (var
|
|
5825
|
-
__defProp2(target,
|
|
5828
|
+
for (var name in all)
|
|
5829
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5826
5830
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5827
5831
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5828
5832
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5881,8 +5885,8 @@ var require_View_native = __commonJS({
|
|
|
5881
5885
|
"../web/dist/cjs/views/View.native.js"(exports, module2) {
|
|
5882
5886
|
"use strict";
|
|
5883
5887
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5884
|
-
for (var
|
|
5885
|
-
__defProp2(target,
|
|
5888
|
+
for (var name in all)
|
|
5889
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5886
5890
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5887
5891
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5888
5892
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5908,8 +5912,8 @@ var require_Text_native = __commonJS({
|
|
|
5908
5912
|
"../web/dist/cjs/views/Text.native.js"(exports, module2) {
|
|
5909
5913
|
"use strict";
|
|
5910
5914
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5911
|
-
for (var
|
|
5912
|
-
__defProp2(target,
|
|
5915
|
+
for (var name in all)
|
|
5916
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5913
5917
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5914
5918
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5915
5919
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5924,7 +5928,6 @@ var require_Text_native = __commonJS({
|
|
|
5924
5928
|
acceptsClassName: !0,
|
|
5925
5929
|
isText: !0,
|
|
5926
5930
|
defaultProps: {
|
|
5927
|
-
color: "$color",
|
|
5928
5931
|
display: "flex",
|
|
5929
5932
|
suppressHighlighting: !0
|
|
5930
5933
|
},
|
|
@@ -5955,8 +5958,8 @@ var require_ThemeProvider_native = __commonJS({
|
|
|
5955
5958
|
"../web/dist/cjs/views/ThemeProvider.native.js"(exports, module2) {
|
|
5956
5959
|
"use strict";
|
|
5957
5960
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5958
|
-
for (var
|
|
5959
|
-
__defProp2(target,
|
|
5961
|
+
for (var name in all)
|
|
5962
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5960
5963
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5961
5964
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5962
5965
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -5992,8 +5995,8 @@ var require_FontLanguage_native = __commonJS({
|
|
|
5992
5995
|
"../web/dist/cjs/views/FontLanguage.native.js"(exports, module2) {
|
|
5993
5996
|
"use strict";
|
|
5994
5997
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
5995
|
-
for (var
|
|
5996
|
-
__defProp2(target,
|
|
5998
|
+
for (var name in all)
|
|
5999
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
5997
6000
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
5998
6001
|
if (from && typeof from == "object" || typeof from == "function")
|
|
5999
6002
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -6016,8 +6019,8 @@ var require_TamaguiProvider_native = __commonJS({
|
|
|
6016
6019
|
"../web/dist/cjs/views/TamaguiProvider.native.js"(exports, module2) {
|
|
6017
6020
|
"use strict";
|
|
6018
6021
|
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6019
|
-
for (var
|
|
6020
|
-
__defProp2(target,
|
|
6022
|
+
for (var name in all)
|
|
6023
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6021
6024
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
6022
6025
|
if (from && typeof from == "object" || typeof from == "function")
|
|
6023
6026
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -6068,8 +6071,8 @@ var require_Configuration_native = __commonJS({
|
|
|
6068
6071
|
"../web/dist/cjs/views/Configuration.native.js"(exports, module2) {
|
|
6069
6072
|
"use strict";
|
|
6070
6073
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6071
|
-
for (var
|
|
6072
|
-
__defProp2(target,
|
|
6074
|
+
for (var name in all)
|
|
6075
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6073
6076
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
6074
6077
|
if (from && typeof from == "object" || typeof from == "function")
|
|
6075
6078
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -6089,8 +6092,8 @@ var require_useGet_native = __commonJS({
|
|
|
6089
6092
|
"../use-event/dist/cjs/useGet.native.js"(exports, module2) {
|
|
6090
6093
|
"use strict";
|
|
6091
6094
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6092
|
-
for (var
|
|
6093
|
-
__defProp2(target,
|
|
6095
|
+
for (var name in all)
|
|
6096
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6094
6097
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
6095
6098
|
if (from && typeof from == "object" || typeof from == "function")
|
|
6096
6099
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -6122,8 +6125,8 @@ var require_useEvent_native = __commonJS({
|
|
|
6122
6125
|
"../use-event/dist/cjs/useEvent.native.js"(exports, module2) {
|
|
6123
6126
|
"use strict";
|
|
6124
6127
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6125
|
-
for (var
|
|
6126
|
-
__defProp2(target,
|
|
6128
|
+
for (var name in all)
|
|
6129
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6127
6130
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
6128
6131
|
if (from && typeof from == "object" || typeof from == "function")
|
|
6129
6132
|
for (let key of __getOwnPropNames2(from))
|
|
@@ -6165,8 +6168,8 @@ var require_index_native9 = __commonJS({
|
|
|
6165
6168
|
"../web/dist/cjs/index.native.js"(exports, module2) {
|
|
6166
6169
|
"use strict";
|
|
6167
6170
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
6168
|
-
for (var
|
|
6169
|
-
__defProp2(target,
|
|
6171
|
+
for (var name in all)
|
|
6172
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
6170
6173
|
}, __copyProps2 = (to, from, except, desc) => {
|
|
6171
6174
|
if (from && typeof from == "object" || typeof from == "function")
|
|
6172
6175
|
for (let key of __getOwnPropNames2(from))
|