tamagui 1.80.3 → 1.80.4
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 +5 -7
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +5 -7
- package/dist/test.native.js.map +1 -1
- package/package.json +52 -52
package/dist/native.js
CHANGED
|
@@ -10193,7 +10193,7 @@ var require_SheetImplementationCustom_native = __commonJS({
|
|
|
10193
10193
|
(point) => getYPositions(snapPointsMode, point, screenSize, frameSize)
|
|
10194
10194
|
),
|
|
10195
10195
|
[screenSize, frameSize, snapPoints, snapPointsMode]
|
|
10196
|
-
), { animationDriver } = (0, import_core13.useConfiguration)(), { useAnimatedNumber, useAnimatedNumberStyle, useAnimatedNumberReaction } = animationDriver, AnimatedView = animationDriver.View;
|
|
10196
|
+
), { animationDriver } = (0, import_core13.useConfiguration)(), { useAnimatedNumber, useAnimatedNumberStyle, useAnimatedNumberReaction } = animationDriver, AnimatedView = animationDriver.View ?? import_core13.Stack;
|
|
10197
10197
|
(0, import_constants4.useIsomorphicLayoutEffect)(() => {
|
|
10198
10198
|
if (parentSheetContext && open)
|
|
10199
10199
|
return parentSheetContext(!0), () => {
|
|
@@ -18225,8 +18225,7 @@ var require_Tabs_native = __commonJS({
|
|
|
18225
18225
|
});
|
|
18226
18226
|
module2.exports = __toCommonJS2(Tabs_exports);
|
|
18227
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, {
|
|
18228
|
-
name: TAB_LIST_NAME
|
|
18229
|
-
focusable: !0
|
|
18228
|
+
name: TAB_LIST_NAME
|
|
18230
18229
|
}), TabsList = TabsListFrame.extractable(
|
|
18231
18230
|
React2.forwardRef(
|
|
18232
18231
|
(props, forwardedRef) => {
|
|
@@ -18235,7 +18234,6 @@ var require_Tabs_native = __commonJS({
|
|
|
18235
18234
|
import_roving_focus.RovingFocusGroup,
|
|
18236
18235
|
{
|
|
18237
18236
|
__scopeRovingFocusGroup: __scopeTabs || TABS_CONTEXT,
|
|
18238
|
-
asChild: "except-style",
|
|
18239
18237
|
orientation: context.orientation,
|
|
18240
18238
|
dir: context.dir,
|
|
18241
18239
|
loop,
|
|
@@ -18258,12 +18256,12 @@ var require_Tabs_native = __commonJS({
|
|
|
18258
18256
|
TabsList.displayName = TAB_LIST_NAME;
|
|
18259
18257
|
var TRIGGER_NAME = "TabsTrigger", TabsTriggerFrame = (0, import_web.styled)(import_stacks3.ThemeableStack, {
|
|
18260
18258
|
name: TRIGGER_NAME,
|
|
18259
|
+
tag: "button",
|
|
18261
18260
|
justifyContent: "center",
|
|
18262
18261
|
alignItems: "center",
|
|
18263
18262
|
flexWrap: "nowrap",
|
|
18264
18263
|
flexDirection: "row",
|
|
18265
18264
|
cursor: "pointer",
|
|
18266
|
-
focusable: !0,
|
|
18267
18265
|
userSelect: "none",
|
|
18268
18266
|
variants: {
|
|
18269
18267
|
size: {
|
|
@@ -18330,11 +18328,11 @@ var require_Tabs_native = __commonJS({
|
|
|
18330
18328
|
};
|
|
18331
18329
|
}, [context.triggersCount]), React2.useEffect(() => {
|
|
18332
18330
|
isSelected && layout && (onInteraction == null || onInteraction("select", layout));
|
|
18333
|
-
}, [isSelected, value, layout]), /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_web.Theme, { name: isSelected ? "active" : null, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
18331
|
+
}, [isSelected, value, layout]), /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_web.Theme, { name: isSelected ? "active" : null, forceClassName: !0, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
18334
18332
|
import_roving_focus.RovingFocusGroup.Item,
|
|
18335
18333
|
{
|
|
18336
18334
|
__scopeRovingFocusGroup: __scopeTabs || TABS_CONTEXT,
|
|
18337
|
-
asChild:
|
|
18335
|
+
asChild: !0,
|
|
18338
18336
|
focusable: !disabled,
|
|
18339
18337
|
active: isSelected,
|
|
18340
18338
|
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|