tamagui 1.80.0 → 1.80.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 +123 -106
- package/dist/native.js.map +3 -3
- package/dist/test.native.js +123 -106
- package/dist/test.native.js.map +3 -3
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -4987,7 +4987,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
4987
4987
|
let avoidAnimationStyle = keepStyleSSR && state.unmounted === !0, fontFamily = isText ? splitStyles.fontFamily || ((_i = staticConfig.defaultProps) == null ? void 0 : _i.fontFamily) : null;
|
|
4988
4988
|
fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
|
|
4989
4989
|
let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
|
|
4990
|
-
viewProps.style = style;
|
|
4990
|
+
asChild === "except-style" || asChild === "except-style-web" || (viewProps.style = style);
|
|
4991
4991
|
let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachFocus = !!(runtimePressStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants4.isWeb || asChild), shouldAttach = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);
|
|
4992
4992
|
process.env.NODE_ENV === "development" && time && time`events-setup`;
|
|
4993
4993
|
let events = shouldAttach && !isDisabled && !props.asChild ? {
|
|
@@ -15614,7 +15614,7 @@ var require_Popover_native = __commonJS({
|
|
|
15614
15614
|
style: {
|
|
15615
15615
|
display: "contents"
|
|
15616
15616
|
},
|
|
15617
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15617
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_animate_presence.ResetPresence, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
15618
15618
|
import_focus_scope.FocusScope,
|
|
15619
15619
|
{
|
|
15620
15620
|
loop: !0,
|
|
@@ -15622,9 +15622,9 @@ var require_Popover_native = __commonJS({
|
|
|
15622
15622
|
trapped: trapFocus,
|
|
15623
15623
|
onMountAutoFocus: onOpenAutoFocus,
|
|
15624
15624
|
onUnmountAutoFocus: onCloseAutoFocus,
|
|
15625
|
-
children:
|
|
15625
|
+
children: contents
|
|
15626
15626
|
}
|
|
15627
|
-
)
|
|
15627
|
+
) })
|
|
15628
15628
|
}
|
|
15629
15629
|
)
|
|
15630
15630
|
},
|
|
@@ -15910,6 +15910,61 @@ var require_index_native56 = __commonJS({
|
|
|
15910
15910
|
}
|
|
15911
15911
|
});
|
|
15912
15912
|
|
|
15913
|
+
// ../roving-focus/dist/cjs/RovingFocusGroup.native.js
|
|
15914
|
+
var require_RovingFocusGroup_native = __commonJS({
|
|
15915
|
+
"../roving-focus/dist/cjs/RovingFocusGroup.native.js"(exports, module2) {
|
|
15916
|
+
"use strict";
|
|
15917
|
+
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
15918
|
+
for (var name in all)
|
|
15919
|
+
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
15920
|
+
}, __copyProps2 = (to, from, except, desc) => {
|
|
15921
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
15922
|
+
for (let key of __getOwnPropNames2(from))
|
|
15923
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
15924
|
+
return to;
|
|
15925
|
+
}, __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
15926
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
15927
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
15928
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
15929
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
15930
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
15931
|
+
mod
|
|
15932
|
+
)), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), RovingFocusGroup_native_exports = {};
|
|
15933
|
+
__export2(RovingFocusGroup_native_exports, {
|
|
15934
|
+
RovingFocusGroup: () => RovingFocusGroup,
|
|
15935
|
+
createRovingFocusGroupScope: () => createRovingFocusGroupScope
|
|
15936
|
+
});
|
|
15937
|
+
module2.exports = __toCommonJS2(RovingFocusGroup_native_exports);
|
|
15938
|
+
var import_core13 = require_index_native15(), import_helpers = require_index_native7(), import_react2 = __toESM2(require("react")), import_jsx_runtime6 = require("react/jsx-runtime"), ITEM_NAME = "RovingFocusGroupItem", RovingFocusGroupItem = import_react2.default.forwardRef(
|
|
15939
|
+
({ children, ...props }, _ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core13.Stack, { ...props, children })
|
|
15940
|
+
);
|
|
15941
|
+
RovingFocusGroupItem.displayName = ITEM_NAME;
|
|
15942
|
+
var GROUP_NAME = "RovingFocusGroup", RovingFocusGroup = (0, import_helpers.withStaticProperties)(
|
|
15943
|
+
import_react2.default.forwardRef(({ children, ...props }, _ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core13.Stack, { ...props, children })),
|
|
15944
|
+
{
|
|
15945
|
+
Item: RovingFocusGroupItem
|
|
15946
|
+
}
|
|
15947
|
+
);
|
|
15948
|
+
RovingFocusGroup.displayName = GROUP_NAME;
|
|
15949
|
+
var createRovingFocusGroupScope = () => () => ({});
|
|
15950
|
+
}
|
|
15951
|
+
});
|
|
15952
|
+
|
|
15953
|
+
// ../roving-focus/dist/cjs/index.native.js
|
|
15954
|
+
var require_index_native57 = __commonJS({
|
|
15955
|
+
"../roving-focus/dist/cjs/index.native.js"(exports, module2) {
|
|
15956
|
+
"use strict";
|
|
15957
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = (to, from, except, desc) => {
|
|
15958
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
15959
|
+
for (let key of __getOwnPropNames2(from))
|
|
15960
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
15961
|
+
return to;
|
|
15962
|
+
}, __reExport2 = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), src_exports2 = {};
|
|
15963
|
+
module2.exports = __toCommonJS2(src_exports2);
|
|
15964
|
+
__reExport2(src_exports2, require_RovingFocusGroup_native(), module2.exports);
|
|
15965
|
+
}
|
|
15966
|
+
});
|
|
15967
|
+
|
|
15913
15968
|
// ../radio-group/dist/cjs/RadioGroup.native.js
|
|
15914
15969
|
var require_RadioGroup_native = __commonJS({
|
|
15915
15970
|
"../radio-group/dist/cjs/RadioGroup.native.js"(exports, module2) {
|
|
@@ -15935,7 +15990,7 @@ var require_RadioGroup_native = __commonJS({
|
|
|
15935
15990
|
createRadioGroupScope: () => createRadioGroupScope
|
|
15936
15991
|
});
|
|
15937
15992
|
module2.exports = __toCommonJS2(RadioGroup_exports);
|
|
15938
|
-
var import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_core13 = require_index_native15(), import_create_context = require_index_native25(), import_focusable2 = require_index_native44(), import_get_token2 = require_index_native17(), import_helpers = require_index_native7(), import_label = require_index_native45(), import_stacks3 = require_index_native19(), import_use_controllable_state = require_index_native9(), import_use_previous = require_index_native46(), React2 = __toESM2(require("react")), import_jsx_runtime6 = require("react/jsx-runtime"), RADIO_GROUP_NAME = "RadioGroup", ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], [createRadioGroupContext, createRadioGroupScope] = (0, import_create_context.createContextScope)(RADIO_GROUP_NAME), [RadioGroupProvider, useRadioGroupContext] = createRadioGroupContext(RADIO_GROUP_NAME), getState = (checked) => checked ? "checked" : "unchecked", RADIO_GROUP_INDICATOR_NAME = "RadioGroupIndicator", RadioIndicatorFrame = (0, import_core13.styled)(import_stacks3.ThemeableStack, {
|
|
15993
|
+
var import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_core13 = require_index_native15(), import_create_context = require_index_native25(), import_focusable2 = require_index_native44(), import_get_token2 = require_index_native17(), import_helpers = require_index_native7(), import_label = require_index_native45(), import_roving_focus = require_index_native57(), import_stacks3 = require_index_native19(), import_use_controllable_state = require_index_native9(), import_use_previous = require_index_native46(), React2 = __toESM2(require("react")), import_jsx_runtime6 = require("react/jsx-runtime"), RADIO_GROUP_NAME = "RadioGroup", ARROW_KEYS = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], [createRadioGroupContext, createRadioGroupScope] = (0, import_create_context.createContextScope)(RADIO_GROUP_NAME), [RadioGroupProvider, useRadioGroupContext] = createRadioGroupContext(RADIO_GROUP_NAME), getState = (checked) => checked ? "checked" : "unchecked", RADIO_GROUP_INDICATOR_NAME = "RadioGroupIndicator", RadioIndicatorFrame = (0, import_core13.styled)(import_stacks3.ThemeableStack, {
|
|
15939
15994
|
name: RADIO_GROUP_INDICATOR_NAME,
|
|
15940
15995
|
variants: {
|
|
15941
15996
|
unstyled: {
|
|
@@ -16090,36 +16145,45 @@ var require_RadioGroup_native = __commonJS({
|
|
|
16090
16145
|
}
|
|
16091
16146
|
) : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
|
|
16092
16147
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
16093
|
-
|
|
16148
|
+
import_roving_focus.RovingFocusGroup.Item,
|
|
16094
16149
|
{
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16150
|
+
__scopeRovingFocusGroup: RADIO_GROUP_NAME,
|
|
16151
|
+
asChild: "except-style",
|
|
16152
|
+
focusable: !isDisabled,
|
|
16153
|
+
active: checked,
|
|
16154
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
16155
|
+
RadioGroupItemFrame,
|
|
16156
|
+
{
|
|
16157
|
+
"data-state": getState(checked),
|
|
16158
|
+
"data-disabled": isDisabled ? "" : void 0,
|
|
16159
|
+
role: "radio",
|
|
16160
|
+
"aria-labelledby": labelledBy,
|
|
16161
|
+
"aria-checked": checked,
|
|
16162
|
+
"aria-required": required,
|
|
16163
|
+
disabled: isDisabled,
|
|
16164
|
+
ref: composedRefs,
|
|
16165
|
+
...import_constants4.isWeb && {
|
|
16166
|
+
type: "button",
|
|
16167
|
+
value
|
|
16168
|
+
},
|
|
16169
|
+
...itemProps,
|
|
16170
|
+
onPress: (0, import_helpers.composeEventHandlers)(props.onPress, (event) => {
|
|
16171
|
+
checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
|
|
16172
|
+
}),
|
|
16173
|
+
...import_constants4.isWeb && {
|
|
16174
|
+
onKeyDown: (0, import_helpers.composeEventHandlers)(
|
|
16175
|
+
props.onKeyDown,
|
|
16176
|
+
(event) => {
|
|
16177
|
+
event.key === "Enter" && event.preventDefault();
|
|
16178
|
+
}
|
|
16179
|
+
),
|
|
16180
|
+
onFocus: (0, import_helpers.composeEventHandlers)(itemProps.onFocus, () => {
|
|
16181
|
+
var _a;
|
|
16182
|
+
isArrowKeyPressedRef.current && ((_a = ref.current) == null || _a.click());
|
|
16183
|
+
})
|
|
16116
16184
|
}
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
var _a;
|
|
16120
|
-
isArrowKeyPressedRef.current && ((_a = ref.current) == null || _a.click());
|
|
16121
|
-
})
|
|
16122
|
-
}
|
|
16185
|
+
}
|
|
16186
|
+
)
|
|
16123
16187
|
}
|
|
16124
16188
|
),
|
|
16125
16189
|
isFormControl && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -16220,14 +16284,22 @@ var require_RadioGroup_native = __commonJS({
|
|
|
16220
16284
|
native,
|
|
16221
16285
|
accentColor,
|
|
16222
16286
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
16223
|
-
|
|
16287
|
+
import_roving_focus.RovingFocusGroup,
|
|
16224
16288
|
{
|
|
16225
|
-
|
|
16226
|
-
"aria-orientation": orientation,
|
|
16227
|
-
ref: forwardedRef,
|
|
16289
|
+
__scopeRovingFocusGroup: RADIO_GROUP_NAME,
|
|
16228
16290
|
orientation,
|
|
16229
|
-
|
|
16230
|
-
|
|
16291
|
+
loop: !0,
|
|
16292
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
16293
|
+
RadioGroupFrame,
|
|
16294
|
+
{
|
|
16295
|
+
role: "radiogroup",
|
|
16296
|
+
"aria-orientation": orientation,
|
|
16297
|
+
ref: forwardedRef,
|
|
16298
|
+
orientation,
|
|
16299
|
+
"data-disabled": disabled ? "" : void 0,
|
|
16300
|
+
...radioGroupProps
|
|
16301
|
+
}
|
|
16302
|
+
)
|
|
16231
16303
|
}
|
|
16232
16304
|
)
|
|
16233
16305
|
}
|
|
@@ -16245,7 +16317,7 @@ var require_RadioGroup_native = __commonJS({
|
|
|
16245
16317
|
});
|
|
16246
16318
|
|
|
16247
16319
|
// ../radio-group/dist/cjs/index.native.js
|
|
16248
|
-
var
|
|
16320
|
+
var require_index_native58 = __commonJS({
|
|
16249
16321
|
"../radio-group/dist/cjs/index.native.js"(exports, module2) {
|
|
16250
16322
|
"use strict";
|
|
16251
16323
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = (to, from, except, desc) => {
|
|
@@ -16308,7 +16380,7 @@ var require_Separator_native = __commonJS({
|
|
|
16308
16380
|
});
|
|
16309
16381
|
|
|
16310
16382
|
// ../separator/dist/cjs/index.native.js
|
|
16311
|
-
var
|
|
16383
|
+
var require_index_native59 = __commonJS({
|
|
16312
16384
|
"../separator/dist/cjs/index.native.js"(exports, module2) {
|
|
16313
16385
|
"use strict";
|
|
16314
16386
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = (to, from, except, desc) => {
|
|
@@ -16808,7 +16880,7 @@ var require_Select_native = __commonJS({
|
|
|
16808
16880
|
SelectSeparator: () => SelectSeparator
|
|
16809
16881
|
});
|
|
16810
16882
|
module2.exports = __toCommonJS2(Select_exports);
|
|
16811
|
-
var import_adapt = require_index_native24(), import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_core13 = require_index_native15(), import_get_token2 = require_index_native17(), import_helpers = require_index_native7(), import_list_item = require_index_native51(), import_portal2 = require_index_native29(), import_separator =
|
|
16883
|
+
var import_adapt = require_index_native24(), import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_core13 = require_index_native15(), import_get_token2 = require_index_native17(), import_helpers = require_index_native7(), import_list_item = require_index_native51(), import_portal2 = require_index_native29(), import_separator = require_index_native59(), import_sheet = require_index_native34(), import_stacks3 = require_index_native19(), import_text2 = require_index_native21(), import_use_controllable_state = require_index_native9(), React2 = __toESM2(require("react")), import_constants22 = require_constants_native4(), import_context = require_context_native(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), import_jsx_runtime6 = require("react/jsx-runtime"), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core13.styled)(import_text2.SizableText, {
|
|
16812
16884
|
name: VALUE_NAME,
|
|
16813
16885
|
userSelect: "none"
|
|
16814
16886
|
}), SelectValue = SelectValueFrame.styleable(function({
|
|
@@ -17094,7 +17166,7 @@ var require_Select_native = __commonJS({
|
|
|
17094
17166
|
});
|
|
17095
17167
|
|
|
17096
17168
|
// ../select/dist/cjs/index.native.js
|
|
17097
|
-
var
|
|
17169
|
+
var require_index_native60 = __commonJS({
|
|
17098
17170
|
"../select/dist/cjs/index.native.js"(exports, module2) {
|
|
17099
17171
|
"use strict";
|
|
17100
17172
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = (to, from, except, desc) => {
|
|
@@ -17751,7 +17823,7 @@ var require_Slider_native = __commonJS({
|
|
|
17751
17823
|
});
|
|
17752
17824
|
|
|
17753
17825
|
// ../slider/dist/cjs/index.native.js
|
|
17754
|
-
var
|
|
17826
|
+
var require_index_native61 = __commonJS({
|
|
17755
17827
|
"../slider/dist/cjs/index.native.js"(exports, module2) {
|
|
17756
17828
|
"use strict";
|
|
17757
17829
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
@@ -18101,7 +18173,7 @@ var require_createSwitch_native = __commonJS({
|
|
|
18101
18173
|
});
|
|
18102
18174
|
|
|
18103
18175
|
// ../switch/dist/cjs/index.native.js
|
|
18104
|
-
var
|
|
18176
|
+
var require_index_native62 = __commonJS({
|
|
18105
18177
|
"../switch/dist/cjs/index.native.js"(exports, module2) {
|
|
18106
18178
|
"use strict";
|
|
18107
18179
|
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
@@ -18128,61 +18200,6 @@ var require_index_native61 = __commonJS({
|
|
|
18128
18200
|
}
|
|
18129
18201
|
});
|
|
18130
18202
|
|
|
18131
|
-
// ../roving-focus/dist/cjs/RovingFocusGroup.native.js
|
|
18132
|
-
var require_RovingFocusGroup_native = __commonJS({
|
|
18133
|
-
"../roving-focus/dist/cjs/RovingFocusGroup.native.js"(exports, module2) {
|
|
18134
|
-
"use strict";
|
|
18135
|
-
var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
|
|
18136
|
-
for (var name in all)
|
|
18137
|
-
__defProp2(target, name, { get: all[name], enumerable: !0 });
|
|
18138
|
-
}, __copyProps2 = (to, from, except, desc) => {
|
|
18139
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
18140
|
-
for (let key of __getOwnPropNames2(from))
|
|
18141
|
-
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
18142
|
-
return to;
|
|
18143
|
-
}, __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
|
|
18144
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18145
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
18146
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
18147
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
18148
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
18149
|
-
mod
|
|
18150
|
-
)), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), RovingFocusGroup_native_exports = {};
|
|
18151
|
-
__export2(RovingFocusGroup_native_exports, {
|
|
18152
|
-
RovingFocusGroup: () => RovingFocusGroup,
|
|
18153
|
-
createRovingFocusGroupScope: () => createRovingFocusGroupScope
|
|
18154
|
-
});
|
|
18155
|
-
module2.exports = __toCommonJS2(RovingFocusGroup_native_exports);
|
|
18156
|
-
var import_core13 = require_index_native15(), import_helpers = require_index_native7(), import_react2 = __toESM2(require("react")), import_jsx_runtime6 = require("react/jsx-runtime"), ITEM_NAME = "RovingFocusGroupItem", RovingFocusGroupItem = import_react2.default.forwardRef(
|
|
18157
|
-
({ children, ...props }, _ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core13.Stack, { ...props, children })
|
|
18158
|
-
);
|
|
18159
|
-
RovingFocusGroupItem.displayName = ITEM_NAME;
|
|
18160
|
-
var GROUP_NAME = "RovingFocusGroup", RovingFocusGroup = (0, import_helpers.withStaticProperties)(
|
|
18161
|
-
import_react2.default.forwardRef(({ children, ...props }, _ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core13.Stack, { ...props, children })),
|
|
18162
|
-
{
|
|
18163
|
-
Item: RovingFocusGroupItem
|
|
18164
|
-
}
|
|
18165
|
-
);
|
|
18166
|
-
RovingFocusGroup.displayName = GROUP_NAME;
|
|
18167
|
-
var createRovingFocusGroupScope = () => () => ({});
|
|
18168
|
-
}
|
|
18169
|
-
});
|
|
18170
|
-
|
|
18171
|
-
// ../roving-focus/dist/cjs/index.native.js
|
|
18172
|
-
var require_index_native62 = __commonJS({
|
|
18173
|
-
"../roving-focus/dist/cjs/index.native.js"(exports, module2) {
|
|
18174
|
-
"use strict";
|
|
18175
|
-
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __copyProps2 = (to, from, except, desc) => {
|
|
18176
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
18177
|
-
for (let key of __getOwnPropNames2(from))
|
|
18178
|
-
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
|
|
18179
|
-
return to;
|
|
18180
|
-
}, __reExport2 = (target, mod, secondTarget) => (__copyProps2(target, mod, "default"), secondTarget && __copyProps2(secondTarget, mod, "default")), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), src_exports2 = {};
|
|
18181
|
-
module2.exports = __toCommonJS2(src_exports2);
|
|
18182
|
-
__reExport2(src_exports2, require_RovingFocusGroup_native(), module2.exports);
|
|
18183
|
-
}
|
|
18184
|
-
});
|
|
18185
|
-
|
|
18186
18203
|
// ../tabs/dist/cjs/Tabs.native.js
|
|
18187
18204
|
var require_Tabs_native = __commonJS({
|
|
18188
18205
|
"../tabs/dist/cjs/Tabs.native.js"(exports, module2) {
|
|
@@ -18207,7 +18224,7 @@ var require_Tabs_native = __commonJS({
|
|
|
18207
18224
|
Tabs: () => Tabs
|
|
18208
18225
|
});
|
|
18209
18226
|
module2.exports = __toCommonJS2(Tabs_exports);
|
|
18210
|
-
var import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_get_button_sized2 = require_index_native18(), import_group = require_index_native50(), import_helpers = require_index_native7(), import_roving_focus =
|
|
18227
|
+
var import_compose_refs = require_index_native10(), import_constants4 = require_index_native(), import_get_button_sized2 = require_index_native18(), import_group = require_index_native50(), import_helpers = require_index_native7(), import_roving_focus = require_index_native57(), import_stacks3 = require_index_native19(), import_use_controllable_state = require_index_native9(), import_use_direction = require_index_native22(), import_web = require_index_native12(), React2 = __toESM2(require("react")), import_jsx_runtime6 = require("react/jsx-runtime"), TABS_CONTEXT = "TabsContext", TAB_LIST_NAME = "TabsList", TabsListFrame = (0, import_web.styled)(import_group.Group, {
|
|
18211
18228
|
name: TAB_LIST_NAME,
|
|
18212
18229
|
focusable: !0
|
|
18213
18230
|
}), TabsList = TabsListFrame.extractable(
|
|
@@ -18812,7 +18829,7 @@ var require_ToggleGroup_native = __commonJS({
|
|
|
18812
18829
|
ToggleGroup: () => ToggleGroup
|
|
18813
18830
|
});
|
|
18814
18831
|
module2.exports = __toCommonJS2(ToggleGroup_exports);
|
|
18815
|
-
var import_constants4 = require_index_native(), import_focusable2 = require_index_native44(), import_font_size = require_index_native40(), import_get_token2 = require_index_native17(), import_group = require_index_native50(), import_helpers = require_index_native7(), import_helpers_tamagui = require_index_native41(), import_roving_focus =
|
|
18832
|
+
var import_constants4 = require_index_native(), import_focusable2 = require_index_native44(), import_font_size = require_index_native40(), import_get_token2 = require_index_native17(), import_group = require_index_native50(), import_helpers = require_index_native7(), import_helpers_tamagui = require_index_native41(), import_roving_focus = require_index_native57(), import_use_controllable_state = require_index_native9(), import_use_direction = require_index_native22(), import_web = require_index_native12(), import_react2 = __toESM2(require("react")), import_Toggle = require_Toggle_native(), import_jsx_runtime6 = require("react/jsx-runtime"), TOGGLE_GROUP_NAME = "ToggleGroup", TOGGLE_GROUP_ITEM_NAME = "ToggleGroupItem", TOGGLE_GROUP_CONTEXT = "ToggleGroup", { Provider: ToggleGroupItemProvider, useStyledContext: useToggleGroupItemContext } = (0, import_web.createStyledContext)(), { Provider: ToggleGroupContext, useStyledContext: useToggleGroupContext } = (0, import_web.createStyledContext)(), ToggleGroupItem = import_Toggle.ToggleFrame.extractable(
|
|
18816
18833
|
import_react2.default.forwardRef(
|
|
18817
18834
|
(props, forwardedRef) => {
|
|
18818
18835
|
let valueContext = useToggleGroupValueContext(props.__scopeToggleGroup), context = useToggleGroupContext(props.__scopeToggleGroup), pressed = valueContext == null ? void 0 : valueContext.value.includes(props.value), disabled = context.disabled || props.disabled || !1, groupItemProps = (0, import_group.useGroupItem)({ disabled }), size2 = props.size ?? context.size, sizeProps = props.unstyled ? {} : {
|
|
@@ -19387,15 +19404,15 @@ __reExport(src_exports, __toESM(require_index_native55()), module.exports);
|
|
|
19387
19404
|
__reExport(src_exports, __toESM(require_index_native54()), module.exports);
|
|
19388
19405
|
__reExport(src_exports, __toESM(require_index_native29()), module.exports);
|
|
19389
19406
|
__reExport(src_exports, __toESM(require_index_native56()), module.exports);
|
|
19390
|
-
__reExport(src_exports, __toESM(
|
|
19407
|
+
__reExport(src_exports, __toESM(require_index_native58()), module.exports);
|
|
19391
19408
|
__reExport(src_exports, __toESM(require_index_native33()), module.exports);
|
|
19409
|
+
__reExport(src_exports, __toESM(require_index_native60()), module.exports);
|
|
19392
19410
|
__reExport(src_exports, __toESM(require_index_native59()), module.exports);
|
|
19393
|
-
__reExport(src_exports, __toESM(require_index_native58()), module.exports);
|
|
19394
19411
|
__reExport(src_exports, __toESM(require_index_native38()), module.exports);
|
|
19395
19412
|
__reExport(src_exports, __toESM(require_index_native34()), module.exports);
|
|
19396
|
-
__reExport(src_exports, __toESM(require_index_native60()), module.exports);
|
|
19397
|
-
__reExport(src_exports, __toESM(require_index_native19()), module.exports);
|
|
19398
19413
|
__reExport(src_exports, __toESM(require_index_native61()), module.exports);
|
|
19414
|
+
__reExport(src_exports, __toESM(require_index_native19()), module.exports);
|
|
19415
|
+
__reExport(src_exports, __toESM(require_index_native62()), module.exports);
|
|
19399
19416
|
__reExport(src_exports, __toESM(require_index_native63()), module.exports);
|
|
19400
19417
|
__reExport(src_exports, __toESM(require_index_native21()), module.exports);
|
|
19401
19418
|
__reExport(src_exports, __toESM(require_index_native64()), module.exports);
|