tamagui 1.75.9 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/views/Input.js +1 -1
- package/dist/cjs/views/Input.js.map +1 -1
- package/dist/cjs/views/Input.native.js +1 -1
- package/dist/cjs/views/Input.native.js.map +1 -1
- package/dist/cjs/views/Text.js +1 -1
- package/dist/cjs/views/Text.js.map +1 -1
- package/dist/cjs/views/Text.native.js +1 -1
- package/dist/cjs/views/Text.native.js.map +1 -1
- package/dist/cjs/views/TextArea.js +1 -1
- package/dist/cjs/views/TextArea.js.map +1 -1
- package/dist/cjs/views/TextArea.native.js +1 -1
- package/dist/cjs/views/TextArea.native.js.map +1 -1
- package/dist/esm/views/Input.js +1 -1
- package/dist/esm/views/Input.js.map +1 -1
- package/dist/esm/views/Input.native.js +1 -1
- package/dist/esm/views/Input.native.js.map +1 -1
- package/dist/esm/views/Text.js +1 -1
- package/dist/esm/views/Text.js.map +1 -1
- package/dist/esm/views/Text.native.js +1 -1
- package/dist/esm/views/Text.native.js.map +1 -1
- package/dist/esm/views/TextArea.js +1 -1
- package/dist/esm/views/TextArea.js.map +1 -1
- package/dist/esm/views/TextArea.native.js +1 -1
- package/dist/esm/views/TextArea.native.js.map +1 -1
- package/dist/jsx/views/Input.js +1 -1
- package/dist/jsx/views/Input.js.map +1 -1
- package/dist/jsx/views/Input.native.js +1 -1
- package/dist/jsx/views/Input.native.js.map +1 -1
- package/dist/jsx/views/Text.js +1 -1
- package/dist/jsx/views/Text.js.map +1 -1
- package/dist/jsx/views/Text.native.js +1 -1
- package/dist/jsx/views/Text.native.js.map +1 -1
- package/dist/jsx/views/TextArea.js +1 -1
- package/dist/jsx/views/TextArea.js.map +1 -1
- package/dist/jsx/views/TextArea.native.js +1 -1
- package/dist/jsx/views/TextArea.native.js.map +1 -1
- package/dist/native.js +144 -147
- package/dist/native.js.map +3 -3
- package/dist/test.native.js +113 -117
- package/dist/test.native.js.map +3 -3
- package/package.json +57 -52
- package/src/views/Input.tsx +1 -1
- package/src/views/Text.tsx +1 -1
- package/src/views/TextArea.tsx +1 -1
- package/types/views/Input.d.ts +2 -2
package/dist/test.native.js
CHANGED
|
@@ -1671,7 +1671,7 @@ var require_createMediaStyle_native = __commonJS({
|
|
|
1671
1671
|
// @ts-ignore
|
|
1672
1672
|
prefixes[mediaKey]
|
|
1673
1673
|
), prefix = groupMediaKey ? `@container ${containerName}` : "@media";
|
|
1674
|
-
groupMediaKey && (styleInner = styleRule), styleInner.includes(prefix) ? styleRule = styleInner.replace("{", ` and ${mediaQuery} {`) : styleRule = `${prefix} ${mediaQuery}{${precedenceImportancePrefix}${styleInner}}`, groupMediaKey && (styleRule = `@supports (contain: inline-size) {${styleRule}}`);
|
|
1674
|
+
groupMediaKey && (styleInner = styleRule), styleInner.includes(prefix) ? styleRule = styleInner.replace("{", ` and ${mediaQuery} {`) : styleRule = `${prefix} ${mediaQuery}{${precedenceImportancePrefix}${styleInner}}`, groupMediaKey && (styleRule = `@supports (contain: ${conf.settings.webContainerType || "inline-size"}) {${styleRule}}`);
|
|
1675
1675
|
}
|
|
1676
1676
|
return {
|
|
1677
1677
|
property,
|
|
@@ -2357,6 +2357,29 @@ var require_getStylesAtomic_native = __commonJS({
|
|
|
2357
2357
|
}
|
|
2358
2358
|
});
|
|
2359
2359
|
|
|
2360
|
+
// ../web/dist/cjs/helpers/log.native.js
|
|
2361
|
+
var require_log_native = __commonJS({
|
|
2362
|
+
"../web/dist/cjs/helpers/log.native.js"(exports, module2) {
|
|
2363
|
+
"use strict";
|
|
2364
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
2365
|
+
for (var name in all)
|
|
2366
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
2367
|
+
}, __copyProps2 = (to, from, except, desc) => {
|
|
2368
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
2369
|
+
for (let key of __getOwnPropNames2(from))
|
|
2370
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
2371
|
+
return to;
|
|
2372
|
+
}, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), log_exports = {};
|
|
2373
|
+
__export2(log_exports, {
|
|
2374
|
+
log: () => log
|
|
2375
|
+
});
|
|
2376
|
+
module2.exports = __toCommonJS2(log_exports);
|
|
2377
|
+
function log(...args) {
|
|
2378
|
+
return console.log(...args);
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
});
|
|
2382
|
+
|
|
2360
2383
|
// ../web/dist/cjs/helpers/expandStyle.native.js
|
|
2361
2384
|
var require_expandStyle_native = __commonJS({
|
|
2362
2385
|
"../web/dist/cjs/helpers/expandStyle.native.js"(exports, module2) {
|
|
@@ -2760,7 +2783,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
2760
2783
|
useSplitStyles: () => useSplitStyles
|
|
2761
2784
|
});
|
|
2762
2785
|
module2.exports = __toCommonJS2(getSplitStyles_exports);
|
|
2763
|
-
var import_constants = require_index_native2(), import_helpers = require_index_native4(), import_react2 = require("react"), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_native(), import_insertStyleRule = require_insertStyleRule_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), fontFamilyKey = "fontFamily", IS_STATIC = process.env.IS_STATIC === "is_static", conf, PROP_SPLIT = "-", getSplitStyles = (props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug) => {
|
|
2786
|
+
var import_constants = require_index_native2(), import_helpers = require_index_native4(), import_react2 = require("react"), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_native(), import_insertStyleRule = require_insertStyleRule_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), fontFamilyKey = "fontFamily", IS_STATIC = process.env.IS_STATIC === "is_static", conf, PROP_SPLIT = "-", getSplitStyles = (props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug) => {
|
|
2764
2787
|
var _a, _b, _c, _e, _f, _g;
|
|
2765
2788
|
conf = conf || (0, import_config.getConfig)(), import_constants.isWeb && styleProps.isAnimated && conf.animations.isReactNative && !styleProps.noNormalize && (styleProps.noNormalize = "values");
|
|
2766
2789
|
let { shorthands } = conf, {
|
|
@@ -3880,7 +3903,7 @@ var require_createComponent_native = __commonJS({
|
|
|
3880
3903
|
spacedChildren: () => spacedChildren2
|
|
3881
3904
|
});
|
|
3882
3905
|
module2.exports = __toCommonJS2(createComponent_exports);
|
|
3883
|
-
var import_compose_refs = require_index_native5(), import_constants = require_index_native2(), import_helpers = require_index_native4(), import_use_did_finish_ssr = require_index_native6(), import_react2 = __toESM2(require("react")), import_config = require_config_native(), import_constants2 = require_constants_native2(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_createShallowSetState = require_createShallowSetState_native(), import_getSplitStyles = require_getSplitStyles_native(), import_mergeProps = require_mergeProps_native(), import_proxyThemeVariables = require_proxyThemeVariables_native(), import_themeable = require_themeable_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), import_ThemeDebug = require_ThemeDebug_native(), import_jsx_runtime6 = require("react/jsx-runtime"), tamaguiConfig, AnimatedText, AnimatedView, initialTheme, mouseUps = /* @__PURE__ */ new Set();
|
|
3906
|
+
var import_compose_refs = require_index_native5(), import_constants = require_index_native2(), import_helpers = require_index_native4(), import_use_did_finish_ssr = require_index_native6(), import_react2 = __toESM2(require("react")), import_config = require_config_native(), import_constants2 = require_constants_native2(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_createShallowSetState = require_createShallowSetState_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_proxyThemeVariables = require_proxyThemeVariables_native(), import_themeable = require_themeable_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), import_ThemeDebug = require_ThemeDebug_native(), import_jsx_runtime6 = require("react/jsx-runtime"), tamaguiConfig, AnimatedText, AnimatedView, initialTheme, mouseUps = /* @__PURE__ */ new Set();
|
|
3884
3907
|
if (typeof document < "u") {
|
|
3885
3908
|
let cancelTouches = () => {
|
|
3886
3909
|
mouseUps.forEach((x) => x()), mouseUps.clear();
|
|
@@ -4843,12 +4866,15 @@ ${runtimeStyles}`;
|
|
|
4843
4866
|
!defaultFontName && configIn.fonts && (defaultFontName = Object.keys(configIn.fonts)[0]), (defaultFontName == null ? void 0 : defaultFontName[0]) === "$" && (defaultFontName = defaultFontName.slice(1));
|
|
4844
4867
|
let defaultFont = `$${defaultFontName}`, config = {
|
|
4845
4868
|
fonts: {},
|
|
4846
|
-
settings: {},
|
|
4847
4869
|
onlyAllowShorthands: !1,
|
|
4848
4870
|
fontLanguages: [],
|
|
4849
4871
|
animations: {},
|
|
4850
4872
|
media: {},
|
|
4851
4873
|
...configIn,
|
|
4874
|
+
settings: {
|
|
4875
|
+
webContainerType: "size",
|
|
4876
|
+
...configIn.settings
|
|
4877
|
+
},
|
|
4852
4878
|
tokens,
|
|
4853
4879
|
// vite made this into a function if it wasn't set
|
|
4854
4880
|
shorthands,
|
|
@@ -8100,7 +8126,7 @@ var require_SizableText_native = __commonJS({
|
|
|
8100
8126
|
fontFamily: "$body",
|
|
8101
8127
|
variants,
|
|
8102
8128
|
defaultVariants: {
|
|
8103
|
-
unstyled:
|
|
8129
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
8104
8130
|
}
|
|
8105
8131
|
});
|
|
8106
8132
|
}
|
|
@@ -8577,7 +8603,7 @@ var require_Accordion_native = __commonJS({
|
|
|
8577
8603
|
}
|
|
8578
8604
|
},
|
|
8579
8605
|
defaultVariants: {
|
|
8580
|
-
unstyled:
|
|
8606
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
8581
8607
|
}
|
|
8582
8608
|
}), AccordionTrigger = AccordionTriggerFrame.styleable(function(props, forwardedRef) {
|
|
8583
8609
|
let { __scopeAccordion, ...triggerProps } = props, accordionContext = useAccordionContext(__scopeAccordion), itemContext = useAccordionItemContext(__scopeAccordion), collapsibleContext = useAccordionCollapsibleContext(__scopeAccordion);
|
|
@@ -8602,7 +8628,7 @@ var require_Accordion_native = __commonJS({
|
|
|
8602
8628
|
}
|
|
8603
8629
|
},
|
|
8604
8630
|
defaultVariants: {
|
|
8605
|
-
unstyled:
|
|
8631
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
8606
8632
|
}
|
|
8607
8633
|
}), AccordionContent = AccordionContentFrame.styleable(function(props, forwardedRef) {
|
|
8608
8634
|
let { __scopeAccordion, ...contentProps } = props, accordionContext = useAccordionContext(__scopeAccordion), itemContext = useAccordionItemContext(__scopeAccordion);
|
|
@@ -10263,7 +10289,7 @@ var require_Sheet_native = __commonJS({
|
|
|
10263
10289
|
}
|
|
10264
10290
|
},
|
|
10265
10291
|
defaultVariants: {
|
|
10266
|
-
unstyled:
|
|
10292
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10267
10293
|
}
|
|
10268
10294
|
}), Overlay = (0, import_core13.styled)(import_stacks3.ThemeableStack, {
|
|
10269
10295
|
name: import_constants.SHEET_OVERLAY_NAME,
|
|
@@ -10289,7 +10315,7 @@ var require_Sheet_native = __commonJS({
|
|
|
10289
10315
|
}
|
|
10290
10316
|
},
|
|
10291
10317
|
defaultVariants: {
|
|
10292
|
-
unstyled:
|
|
10318
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10293
10319
|
}
|
|
10294
10320
|
}), Frame = (0, import_core13.styled)(import_stacks3.YStack, {
|
|
10295
10321
|
name: import_constants.SHEET_NAME,
|
|
@@ -10307,7 +10333,7 @@ var require_Sheet_native = __commonJS({
|
|
|
10307
10333
|
}
|
|
10308
10334
|
},
|
|
10309
10335
|
defaultVariants: {
|
|
10310
|
-
unstyled:
|
|
10336
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10311
10337
|
}
|
|
10312
10338
|
}), Sheet = (0, import_createSheet.createSheet)({
|
|
10313
10339
|
Frame,
|
|
@@ -10478,7 +10504,7 @@ var require_Dialog_native = __commonJS({
|
|
|
10478
10504
|
}
|
|
10479
10505
|
},
|
|
10480
10506
|
defaultVariants: {
|
|
10481
|
-
unstyled:
|
|
10507
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10482
10508
|
}
|
|
10483
10509
|
}), DialogPortalItem = (props) => {
|
|
10484
10510
|
let themeName = (0, import_core13.useThemeName)(), context = useDialogContext(PORTAL_NAME, props.__scopeDialog);
|
|
@@ -10564,7 +10590,7 @@ var require_Dialog_native = __commonJS({
|
|
|
10564
10590
|
},
|
|
10565
10591
|
defaultVariants: {
|
|
10566
10592
|
size: "$true",
|
|
10567
|
-
unstyled:
|
|
10593
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10568
10594
|
}
|
|
10569
10595
|
}), DialogContent = DialogContentFrame.extractable(
|
|
10570
10596
|
React2.forwardRef(
|
|
@@ -10730,7 +10756,7 @@ var require_Dialog_native = __commonJS({
|
|
|
10730
10756
|
}
|
|
10731
10757
|
},
|
|
10732
10758
|
defaultVariants: {
|
|
10733
|
-
unstyled:
|
|
10759
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
10734
10760
|
}
|
|
10735
10761
|
}), DialogClose = DialogCloseFrame.styleable(
|
|
10736
10762
|
(props, forwardedRef) => {
|
|
@@ -11463,10 +11489,10 @@ var require_useCurrentColor_native = __commonJS({
|
|
|
11463
11489
|
});
|
|
11464
11490
|
module2.exports = __toCommonJS2(useCurrentColor_exports);
|
|
11465
11491
|
var import_web = require_index_native9(), useCurrentColor = (colorProp) => {
|
|
11466
|
-
var _a;
|
|
11492
|
+
var _a, _b;
|
|
11467
11493
|
let theme = (0, import_web.useTheme)();
|
|
11468
11494
|
return (0, import_web.getVariable)(
|
|
11469
|
-
colorProp || ((_a = theme[colorProp]) == null ? void 0 : _a.get("web")) || theme.color.get("web")
|
|
11495
|
+
colorProp || ((_a = theme[colorProp]) == null ? void 0 : _a.get("web")) || ((_b = theme.color) == null ? void 0 : _b.get("web"))
|
|
11470
11496
|
);
|
|
11471
11497
|
};
|
|
11472
11498
|
}
|
|
@@ -11611,7 +11637,7 @@ var require_Button_native = __commonJS({
|
|
|
11611
11637
|
}
|
|
11612
11638
|
},
|
|
11613
11639
|
defaultVariants: {
|
|
11614
|
-
unstyled:
|
|
11640
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11615
11641
|
}
|
|
11616
11642
|
}), ButtonText = (0, import_web.styled)(import_text2.SizableText, {
|
|
11617
11643
|
name: "Button",
|
|
@@ -11630,7 +11656,7 @@ var require_Button_native = __commonJS({
|
|
|
11630
11656
|
}
|
|
11631
11657
|
},
|
|
11632
11658
|
defaultVariants: {
|
|
11633
|
-
unstyled:
|
|
11659
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11634
11660
|
}
|
|
11635
11661
|
}), ButtonIcon = (props) => {
|
|
11636
11662
|
let { children, scaleIcon = 1 } = props, { size: size2, color } = (0, import_react2.useContext)(ButtonContext), iconSize = (typeof size2 == "number" ? size2 * 0.5 : (0, import_font_size.getFontSize)(size2)) * scaleIcon;
|
|
@@ -11674,7 +11700,7 @@ var require_Button_native = __commonJS({
|
|
|
11674
11700
|
Text3,
|
|
11675
11701
|
{ children: propsIn.children, fontFamily, fontSize, textProps },
|
|
11676
11702
|
Text3 === ButtonText && propsActive.unstyled !== !0 ? {
|
|
11677
|
-
unstyled:
|
|
11703
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1",
|
|
11678
11704
|
size: size2
|
|
11679
11705
|
} : void 0
|
|
11680
11706
|
), inner = (0, import_web.spacedChildren)({
|
|
@@ -11771,7 +11797,7 @@ var require_Card_native = __commonJS({
|
|
|
11771
11797
|
}
|
|
11772
11798
|
},
|
|
11773
11799
|
defaultVariants: {
|
|
11774
|
-
unstyled:
|
|
11800
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11775
11801
|
}
|
|
11776
11802
|
}), CardHeader = (0, import_web.styled)(import_stacks3.ThemeableStack, {
|
|
11777
11803
|
name: "CardHeader",
|
|
@@ -11791,7 +11817,7 @@ var require_Card_native = __commonJS({
|
|
|
11791
11817
|
}
|
|
11792
11818
|
},
|
|
11793
11819
|
defaultVariants: {
|
|
11794
|
-
unstyled:
|
|
11820
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11795
11821
|
}
|
|
11796
11822
|
}), CardFooter = (0, import_web.styled)(CardHeader, {
|
|
11797
11823
|
name: "CardFooter",
|
|
@@ -11806,7 +11832,7 @@ var require_Card_native = __commonJS({
|
|
|
11806
11832
|
}
|
|
11807
11833
|
},
|
|
11808
11834
|
defaultVariants: {
|
|
11809
|
-
unstyled:
|
|
11835
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11810
11836
|
}
|
|
11811
11837
|
}), CardBackground = (0, import_web.styled)(import_stacks3.ThemeableStack, {
|
|
11812
11838
|
name: "CardBackground",
|
|
@@ -11822,7 +11848,7 @@ var require_Card_native = __commonJS({
|
|
|
11822
11848
|
}
|
|
11823
11849
|
},
|
|
11824
11850
|
defaultVariants: {
|
|
11825
|
-
unstyled:
|
|
11851
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
11826
11852
|
}
|
|
11827
11853
|
}), Card = (0, import_web.withStaticProperties)(CardFrame, {
|
|
11828
11854
|
Header: CardHeader,
|
|
@@ -12032,7 +12058,7 @@ var require_Label_native = __commonJS({
|
|
|
12032
12058
|
}
|
|
12033
12059
|
},
|
|
12034
12060
|
defaultVariants: {
|
|
12035
|
-
unstyled:
|
|
12061
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
12036
12062
|
}
|
|
12037
12063
|
}), LabelComponent = React2.forwardRef(
|
|
12038
12064
|
(props, forwardedRef) => {
|
|
@@ -12285,7 +12311,7 @@ var require_Checkbox_native = __commonJS({
|
|
|
12285
12311
|
}
|
|
12286
12312
|
},
|
|
12287
12313
|
defaultVariants: {
|
|
12288
|
-
unstyled:
|
|
12314
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
12289
12315
|
}
|
|
12290
12316
|
}), [createCheckboxContext, createCheckboxScope] = (0, import_create_context.createContextScope)(CHECKBOX_NAME), [CheckboxProvider, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME), CheckboxComponent = CheckboxFrame.styleable(function(props, forwardedRef) {
|
|
12291
12317
|
let {
|
|
@@ -12977,7 +13003,7 @@ var require_Group_native = __commonJS({
|
|
|
12977
13003
|
})
|
|
12978
13004
|
},
|
|
12979
13005
|
defaultVariants: {
|
|
12980
|
-
unstyled:
|
|
13006
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
12981
13007
|
}
|
|
12982
13008
|
});
|
|
12983
13009
|
function createGroup(verticalDefault) {
|
|
@@ -13201,7 +13227,7 @@ var require_ListItem_native = __commonJS({
|
|
|
13201
13227
|
}
|
|
13202
13228
|
},
|
|
13203
13229
|
defaultVariants: {
|
|
13204
|
-
unstyled:
|
|
13230
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
13205
13231
|
}
|
|
13206
13232
|
}), ListItemText = (0, import_web.styled)(import_text2.SizableText, {
|
|
13207
13233
|
name: "ListItemText",
|
|
@@ -13218,7 +13244,7 @@ var require_ListItem_native = __commonJS({
|
|
|
13218
13244
|
}
|
|
13219
13245
|
},
|
|
13220
13246
|
defaultVariants: {
|
|
13221
|
-
unstyled:
|
|
13247
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
13222
13248
|
}
|
|
13223
13249
|
}), ListItemSubtitle = (0, import_web.styled)(ListItemText, {
|
|
13224
13250
|
name: "ListItemSubtitle",
|
|
@@ -13241,7 +13267,7 @@ var require_ListItem_native = __commonJS({
|
|
|
13241
13267
|
}
|
|
13242
13268
|
},
|
|
13243
13269
|
defaultVariants: {
|
|
13244
|
-
unstyled:
|
|
13270
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
13245
13271
|
}
|
|
13246
13272
|
}), ListItemTitle = (0, import_web.styled)(ListItemText, {
|
|
13247
13273
|
name: "ListItemTitle"
|
|
@@ -14642,7 +14668,7 @@ var require_Popper_native = __commonJS({
|
|
|
14642
14668
|
}
|
|
14643
14669
|
},
|
|
14644
14670
|
defaultVariants: {
|
|
14645
|
-
unstyled:
|
|
14671
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
14646
14672
|
}
|
|
14647
14673
|
}), PopperContent = React2.forwardRef(function(props, forwardedRef) {
|
|
14648
14674
|
let { __scopePopper, ...rest } = props, { strategy, placement, refs, x, y, getFloatingProps, size: size2, isMounted, update } = usePopperContext(__scopePopper), contentRefs = (0, import_compose_refs.useComposedRefs)(refs.setFloating, forwardedRef), contents = React2.useMemo(() => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -14679,7 +14705,7 @@ var require_Popper_native = __commonJS({
|
|
|
14679
14705
|
}
|
|
14680
14706
|
},
|
|
14681
14707
|
defaultVariants: {
|
|
14682
|
-
unstyled:
|
|
14708
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
14683
14709
|
}
|
|
14684
14710
|
}), PopperArrowOuterFrame = (0, import_core13.styled)(import_stacks3.YStack, {
|
|
14685
14711
|
name: "PopperArrowOuter",
|
|
@@ -14696,7 +14722,7 @@ var require_Popper_native = __commonJS({
|
|
|
14696
14722
|
}
|
|
14697
14723
|
},
|
|
14698
14724
|
defaultVariants: {
|
|
14699
|
-
unstyled:
|
|
14725
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
14700
14726
|
}
|
|
14701
14727
|
}), opposites = {
|
|
14702
14728
|
top: "bottom",
|
|
@@ -14764,35 +14790,6 @@ var require_index_native54 = __commonJS({
|
|
|
14764
14790
|
}
|
|
14765
14791
|
});
|
|
14766
14792
|
|
|
14767
|
-
// ../../node_modules/react-freeze/dist/index.js
|
|
14768
|
-
var require_dist2 = __commonJS({
|
|
14769
|
-
"../../node_modules/react-freeze/dist/index.js"(exports) {
|
|
14770
|
-
function _interopDefault(ex) {
|
|
14771
|
-
return ex && typeof ex == "object" && "default" in ex ? ex.default : ex;
|
|
14772
|
-
}
|
|
14773
|
-
var React2 = require("react"), React__default = _interopDefault(React2);
|
|
14774
|
-
function Suspender(_ref) {
|
|
14775
|
-
var freeze = _ref.freeze, children = _ref.children, promiseCache = React2.useRef({}).current;
|
|
14776
|
-
if (freeze && !promiseCache.promise)
|
|
14777
|
-
throw promiseCache.promise = new Promise(function(resolve) {
|
|
14778
|
-
promiseCache.resolve = resolve;
|
|
14779
|
-
}), promiseCache.promise;
|
|
14780
|
-
if (freeze)
|
|
14781
|
-
throw promiseCache.promise;
|
|
14782
|
-
return promiseCache.promise && (promiseCache.resolve(), promiseCache.promise = void 0), React__default.createElement(React2.Fragment, null, children);
|
|
14783
|
-
}
|
|
14784
|
-
function Freeze(_ref2) {
|
|
14785
|
-
var freeze = _ref2.freeze, children = _ref2.children, _ref2$placeholder = _ref2.placeholder, placeholder = _ref2$placeholder === void 0 ? null : _ref2$placeholder;
|
|
14786
|
-
return React__default.createElement(React2.Suspense, {
|
|
14787
|
-
fallback: placeholder
|
|
14788
|
-
}, React__default.createElement(Suspender, {
|
|
14789
|
-
freeze
|
|
14790
|
-
}, children));
|
|
14791
|
-
}
|
|
14792
|
-
exports.Freeze = Freeze;
|
|
14793
|
-
}
|
|
14794
|
-
});
|
|
14795
|
-
|
|
14796
14793
|
// ../popover/dist/cjs/useFloatingContext.native.js
|
|
14797
14794
|
var require_useFloatingContext_native = __commonJS({
|
|
14798
14795
|
"../popover/dist/cjs/useFloatingContext.native.js"(exports, module2) {
|
|
@@ -14846,7 +14843,7 @@ var require_Popover_native = __commonJS({
|
|
|
14846
14843
|
usePopoverContext: () => usePopoverContext
|
|
14847
14844
|
});
|
|
14848
14845
|
module2.exports = __toCommonJS2(Popover_exports);
|
|
14849
|
-
var import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native24(), import_animate = require_index_native52(), import_aria_hidden = require_index_native26(), import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_floating = require_index_native53(), import_focus_scope = require_index_native28(), import_popper = require_index_native54(), import_portal2 = require_index_native29(), import_remove_scroll = require_index_native30(), import_sheet = require_index_native34(), import_stacks3 = require_index_native19(), import_use_controllable_state = require_index_native12(), React2 = __toESM2(require("react")),
|
|
14846
|
+
var import_polyfill_dev = require_polyfill_dev(), import_adapt = require_index_native24(), import_animate = require_index_native52(), import_aria_hidden = require_index_native26(), import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_floating = require_index_native53(), import_focus_scope = require_index_native28(), import_popper = require_index_native54(), import_portal2 = require_index_native29(), import_remove_scroll = require_index_native30(), import_sheet = require_index_native34(), import_stacks3 = require_index_native19(), import_use_controllable_state = require_index_native12(), React2 = __toESM2(require("react")), import_react_native4 = require("react-native"), import_useFloatingContext = require_useFloatingContext_native(), import_jsx_runtime6 = require("react/jsx-runtime"), POPOVER_SCOPE = "PopoverScope", PopoverContext = (0, import_core13.createStyledContext)({}), usePopoverContext = PopoverContext.useStyledContext, PopoverAnchor = React2.forwardRef(function(props, forwardedRef) {
|
|
14850
14847
|
let { __scopePopover, ...rest } = props, context = usePopoverContext(__scopePopover), { onCustomAnchorAdd, onCustomAnchorRemove } = context || {};
|
|
14851
14848
|
return React2.useEffect(() => (onCustomAnchorAdd(), () => onCustomAnchorRemove()), [onCustomAnchorAdd, onCustomAnchorRemove]), /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
14852
14849
|
import_popper.PopperAnchor,
|
|
@@ -14971,50 +14968,41 @@ var require_Popover_native = __commonJS({
|
|
|
14971
14968
|
setIsFullyHidden(!0);
|
|
14972
14969
|
},
|
|
14973
14970
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
14974
|
-
|
|
14971
|
+
import_popper.PopperContent,
|
|
14975
14972
|
{
|
|
14976
|
-
|
|
14973
|
+
__scopePopper: __scopePopover || POPOVER_SCOPE,
|
|
14974
|
+
"data-state": getState(open),
|
|
14975
|
+
id: context.contentId,
|
|
14976
|
+
ref: forwardedRef,
|
|
14977
|
+
...contentProps,
|
|
14977
14978
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
14978
|
-
|
|
14979
|
+
import_remove_scroll.RemoveScroll,
|
|
14979
14980
|
{
|
|
14980
|
-
|
|
14981
|
-
|
|
14982
|
-
|
|
14983
|
-
|
|
14984
|
-
|
|
14981
|
+
enabled: disableRemoveScroll ? !1 : open,
|
|
14982
|
+
allowPinchZoom: !0,
|
|
14983
|
+
removeScrollBar: !1,
|
|
14984
|
+
style: {
|
|
14985
|
+
display: "contents"
|
|
14986
|
+
},
|
|
14985
14987
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
14986
|
-
|
|
14988
|
+
import_focus_scope.FocusScope,
|
|
14987
14989
|
{
|
|
14988
|
-
|
|
14989
|
-
|
|
14990
|
-
|
|
14991
|
-
|
|
14992
|
-
|
|
14993
|
-
|
|
14994
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
14995
|
-
import_focus_scope.FocusScope,
|
|
14996
|
-
{
|
|
14997
|
-
loop: !0,
|
|
14998
|
-
enabled: disableFocusScope ? !1 : open,
|
|
14999
|
-
trapped: trapFocus,
|
|
15000
|
-
onMountAutoFocus: onOpenAutoFocus,
|
|
15001
|
-
onUnmountAutoFocus: onCloseAutoFocus,
|
|
15002
|
-
children: contents
|
|
15003
|
-
}
|
|
15004
|
-
)
|
|
14990
|
+
loop: !0,
|
|
14991
|
+
enabled: disableFocusScope ? !1 : open,
|
|
14992
|
+
trapped: trapFocus,
|
|
14993
|
+
onMountAutoFocus: onOpenAutoFocus,
|
|
14994
|
+
onUnmountAutoFocus: onCloseAutoFocus,
|
|
14995
|
+
children: contents
|
|
15005
14996
|
}
|
|
15006
14997
|
)
|
|
15007
|
-
}
|
|
15008
|
-
context.contentId
|
|
14998
|
+
}
|
|
15009
14999
|
)
|
|
15010
|
-
}
|
|
15000
|
+
},
|
|
15001
|
+
context.contentId
|
|
15011
15002
|
)
|
|
15012
15003
|
}
|
|
15013
15004
|
);
|
|
15014
|
-
}),
|
|
15015
|
-
let last = React2.useRef();
|
|
15016
|
-
return props.freeze || (last.current = props.children), /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_freeze.Freeze, { placeholder: last.current, ...props });
|
|
15017
|
-
}, PopoverClose = React2.forwardRef(function(props, forwardedRef) {
|
|
15005
|
+
}), PopoverClose = React2.forwardRef(function(props, forwardedRef) {
|
|
15018
15006
|
let { __scopePopover, ...rest } = props, context = usePopoverContext(__scopePopover);
|
|
15019
15007
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15020
15008
|
import_stacks3.YStack,
|
|
@@ -15028,9 +15016,9 @@ var require_Popover_native = __commonJS({
|
|
|
15028
15016
|
)
|
|
15029
15017
|
}
|
|
15030
15018
|
);
|
|
15031
|
-
}), PopoverArrow =
|
|
15032
|
-
let { __scopePopover, ...rest } = props;
|
|
15033
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15019
|
+
}), PopoverArrow = import_popper.PopperArrow.styleable(function(props, forwardedRef) {
|
|
15020
|
+
let { __scopePopover, ...rest } = props, context = usePopoverContext(__scopePopover);
|
|
15021
|
+
return useSheetBreakpointActive(context.sheetBreakpoint) ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15034
15022
|
import_popper.PopperArrow,
|
|
15035
15023
|
{
|
|
15036
15024
|
__scopePopper: __scopePopover || POPOVER_SCOPE,
|
|
@@ -15048,6 +15036,8 @@ var require_Popover_native = __commonJS({
|
|
|
15048
15036
|
onOpenChange,
|
|
15049
15037
|
__scopePopover,
|
|
15050
15038
|
keepChildrenMounted,
|
|
15039
|
+
hoverable,
|
|
15040
|
+
disableFocus,
|
|
15051
15041
|
...restProps
|
|
15052
15042
|
} = props, id = React2.useId(), { when, AdaptProvider } = (0, import_adapt.useAdaptParent)({
|
|
15053
15043
|
Contents: React2.useCallback(() => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_portal2.PortalHost, { name: `${id}PopoverContents` }), [])
|
|
@@ -15055,16 +15045,22 @@ var require_Popover_native = __commonJS({
|
|
|
15055
15045
|
prop: openProp,
|
|
15056
15046
|
defaultProp: defaultOpen || !1,
|
|
15057
15047
|
onChange: onOpenChange
|
|
15058
|
-
}),
|
|
15048
|
+
}), sheetActive = useSheetBreakpointActive(sheetBreakpoint), floatingContext = (0, import_useFloatingContext.useFloatingContext)({
|
|
15049
|
+
open,
|
|
15050
|
+
setOpen,
|
|
15051
|
+
disable: sheetActive,
|
|
15052
|
+
hoverable,
|
|
15053
|
+
disableFocus
|
|
15054
|
+
}), popoverContext = {
|
|
15059
15055
|
id,
|
|
15060
15056
|
sheetBreakpoint,
|
|
15061
15057
|
contentId: React2.useId(),
|
|
15062
15058
|
triggerRef,
|
|
15063
15059
|
open,
|
|
15064
|
-
breakpointActive,
|
|
15060
|
+
breakpointActive: sheetActive,
|
|
15065
15061
|
onOpenChange: setOpen,
|
|
15066
15062
|
onOpenToggle: (0, import_core13.useEvent)(() => {
|
|
15067
|
-
open &&
|
|
15063
|
+
open && sheetActive || setOpen(!open);
|
|
15068
15064
|
}),
|
|
15069
15065
|
hasCustomAnchor,
|
|
15070
15066
|
onCustomAnchorAdd: React2.useCallback(() => setHasCustomAnchor(!0), []),
|
|
@@ -15169,7 +15165,7 @@ var require_Progress_native = __commonJS({
|
|
|
15169
15165
|
}
|
|
15170
15166
|
},
|
|
15171
15167
|
defaultVariants: {
|
|
15172
|
-
unstyled:
|
|
15168
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
15173
15169
|
}
|
|
15174
15170
|
}), ProgressIndicator = ProgressIndicatorFrame.styleable(function(props, forwardedRef) {
|
|
15175
15171
|
let { __scopeProgress, ...indicatorProps } = props, context = useProgressContext(INDICATOR_NAME, __scopeProgress), pct = context.max - (context.value ?? 0), x = -(context.width === 0 ? 300 : context.width) * (pct / 100);
|
|
@@ -15227,7 +15223,7 @@ var require_Progress_native = __commonJS({
|
|
|
15227
15223
|
}
|
|
15228
15224
|
},
|
|
15229
15225
|
defaultVariants: {
|
|
15230
|
-
unstyled:
|
|
15226
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
15231
15227
|
}
|
|
15232
15228
|
}), Progress = (0, import_core13.withStaticProperties)(
|
|
15233
15229
|
ProgressFrame.styleable(function(props, forwardedRef) {
|
|
@@ -15323,7 +15319,7 @@ var require_RadioGroup_native = __commonJS({
|
|
|
15323
15319
|
}
|
|
15324
15320
|
},
|
|
15325
15321
|
defaultVariants: {
|
|
15326
|
-
unstyled:
|
|
15322
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
15327
15323
|
}
|
|
15328
15324
|
}), RadioIndicator = RadioIndicatorFrame.extractable(
|
|
15329
15325
|
React2.forwardRef(
|
|
@@ -15407,7 +15403,7 @@ var require_RadioGroup_native = __commonJS({
|
|
|
15407
15403
|
}
|
|
15408
15404
|
},
|
|
15409
15405
|
defaultVariants: {
|
|
15410
|
-
unstyled:
|
|
15406
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
15411
15407
|
}
|
|
15412
15408
|
}), RadioGroupItem = RadioGroupItemFrame.extractable(
|
|
15413
15409
|
React2.forwardRef(
|
|
@@ -15976,7 +15972,7 @@ var require_SelectItemText_native = __commonJS({
|
|
|
15976
15972
|
}
|
|
15977
15973
|
},
|
|
15978
15974
|
defaultVariants: {
|
|
15979
|
-
unstyled:
|
|
15975
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
15980
15976
|
}
|
|
15981
15977
|
}), SelectItemText = SelectItemTextFrame.styleable(function(props, forwardedRef) {
|
|
15982
15978
|
let { __scopeSelect, className, ...itemTextProps } = props, context = (0, import_context.useSelectContext)(ITEM_TEXT_NAME, __scopeSelect), itemParentContext = (0, import_context.useSelectItemParentContext)(ITEM_TEXT_NAME, __scopeSelect), ref = React2.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), itemContext = (0, import_SelectItem.useSelectItemContext)(ITEM_TEXT_NAME, __scopeSelect), contents = React2.useRef();
|
|
@@ -16870,7 +16866,7 @@ var require_Slider_native = __commonJS({
|
|
|
16870
16866
|
}
|
|
16871
16867
|
},
|
|
16872
16868
|
defaultVariants: {
|
|
16873
|
-
unstyled:
|
|
16869
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
16874
16870
|
}
|
|
16875
16871
|
}), SliderTrack = React2.forwardRef(
|
|
16876
16872
|
(props, forwardedRef) => {
|
|
@@ -16950,7 +16946,7 @@ var require_Slider_native = __commonJS({
|
|
|
16950
16946
|
}
|
|
16951
16947
|
},
|
|
16952
16948
|
defaultVariants: {
|
|
16953
|
-
unstyled:
|
|
16949
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
16954
16950
|
}
|
|
16955
16951
|
}), SliderThumb = SliderThumbFrame.styleable(function(props, forwardedRef) {
|
|
16956
16952
|
let { __scopeSlider, index, size: sizeProp, ...thumbProps } = props, context = (0, import_constants.useSliderContext)(THUMB_NAME, __scopeSlider), orientation = (0, import_constants.useSliderOrientationContext)(THUMB_NAME, __scopeSlider), [thumb, setThumb] = React2.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(
|
|
@@ -17155,7 +17151,7 @@ var require_SwitchContext_native = __commonJS({
|
|
|
17155
17151
|
disabled: !1,
|
|
17156
17152
|
size: void 0,
|
|
17157
17153
|
frameWidth: 0,
|
|
17158
|
-
unstyled:
|
|
17154
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
17159
17155
|
});
|
|
17160
17156
|
}
|
|
17161
17157
|
});
|
|
@@ -17203,7 +17199,7 @@ var require_Switch_native = __commonJS({
|
|
|
17203
17199
|
}
|
|
17204
17200
|
},
|
|
17205
17201
|
defaultVariants: {
|
|
17206
|
-
unstyled:
|
|
17202
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
17207
17203
|
}
|
|
17208
17204
|
}), getSwitchHeight = (val) => Math.round((0, import_core13.getVariableValue)((0, import_get_token2.getSize)(val)) * 0.65), getSwitchWidth = (val) => getSwitchHeight(val) * 2, SwitchFrame = (0, import_core13.styled)(import_stacks3.YStack, {
|
|
17209
17205
|
name: "Switch",
|
|
@@ -17241,7 +17237,7 @@ var require_Switch_native = __commonJS({
|
|
|
17241
17237
|
}
|
|
17242
17238
|
},
|
|
17243
17239
|
defaultVariants: {
|
|
17244
|
-
unstyled:
|
|
17240
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
17245
17241
|
}
|
|
17246
17242
|
});
|
|
17247
17243
|
}
|
|
@@ -17293,7 +17289,7 @@ var require_createSwitch_native = __commonJS({
|
|
|
17293
17289
|
Thumb,
|
|
17294
17290
|
{
|
|
17295
17291
|
...(unstyledProp ?? unstyledContext ?? !1) === !1 && {
|
|
17296
|
-
unstyled:
|
|
17292
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1",
|
|
17297
17293
|
size: sizeProp ?? sizeContext ?? "$true",
|
|
17298
17294
|
...!disableActiveTheme && {
|
|
17299
17295
|
theme: checked ? "active" : null
|
|
@@ -17637,7 +17633,7 @@ var require_Tabs_native = __commonJS({
|
|
|
17637
17633
|
}
|
|
17638
17634
|
},
|
|
17639
17635
|
defaultVariants: {
|
|
17640
|
-
unstyled:
|
|
17636
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
17641
17637
|
}
|
|
17642
17638
|
}), TabsTrigger = TabsTriggerFrame.extractable(
|
|
17643
17639
|
React2.forwardRef(
|
|
@@ -18095,7 +18091,7 @@ var require_Toggle_native = __commonJS({
|
|
|
18095
18091
|
}
|
|
18096
18092
|
},
|
|
18097
18093
|
defaultVariants: {
|
|
18098
|
-
unstyled:
|
|
18094
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
18099
18095
|
}
|
|
18100
18096
|
}), Toggle = React2.forwardRef(function(props, forwardedRef) {
|
|
18101
18097
|
let {
|
|
@@ -18307,7 +18303,7 @@ var require_ToggleGroup_native = __commonJS({
|
|
|
18307
18303
|
}
|
|
18308
18304
|
},
|
|
18309
18305
|
defaultVariants: {
|
|
18310
|
-
unstyled:
|
|
18306
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
18311
18307
|
}
|
|
18312
18308
|
}), ToggleGroupImpl = ToggleGroupImplElementFrame.extractable(
|
|
18313
18309
|
import_react2.default.forwardRef(
|
|
@@ -18877,7 +18873,7 @@ var import_jsx_runtime3 = require("react/jsx-runtime"), defaultStyles = {
|
|
|
18877
18873
|
}
|
|
18878
18874
|
},
|
|
18879
18875
|
defaultVariants: {
|
|
18880
|
-
unstyled:
|
|
18876
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
18881
18877
|
}
|
|
18882
18878
|
}), Input = InputFrame.styleable((propsIn, ref) => {
|
|
18883
18879
|
let props = useInputProps(propsIn, ref);
|
|
@@ -18967,7 +18963,7 @@ var import_jsx_runtime5 = require("react/jsx-runtime"), TextAreaFrame = (0, impo
|
|
|
18967
18963
|
}
|
|
18968
18964
|
},
|
|
18969
18965
|
defaultVariants: {
|
|
18970
|
-
unstyled:
|
|
18966
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
18971
18967
|
}
|
|
18972
18968
|
}), TextArea = TextAreaFrame.styleable((propsIn, ref) => {
|
|
18973
18969
|
let props = useInputProps(propsIn, ref), linesProp = {
|
|
@@ -18987,7 +18983,7 @@ var import_core11 = __toESM(require_index_native15()), Text2 = (0, import_core11
|
|
|
18987
18983
|
}
|
|
18988
18984
|
},
|
|
18989
18985
|
defaultVariants: {
|
|
18990
|
-
unstyled:
|
|
18986
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
18991
18987
|
}
|
|
18992
18988
|
});
|
|
18993
18989
|
|