tamagui 1.91.2 → 1.91.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.
@@ -3331,6 +3331,9 @@ var require_constants_native2 = __commonJS({
3331
3331
  }), mod);
3332
3332
  }, constants_exports = {};
3333
3333
  __export2(constants_exports, {
3334
+ FONT_DATA_ATTRIBUTE_NAME: function() {
3335
+ return FONT_DATA_ATTRIBUTE_NAME;
3336
+ },
3334
3337
  THEME_CLASSNAME_PREFIX: function() {
3335
3338
  return THEME_CLASSNAME_PREFIX;
3336
3339
  },
@@ -3345,7 +3348,7 @@ var require_constants_native2 = __commonJS({
3345
3348
  }
3346
3349
  });
3347
3350
  module2.exports = __toCommonJS2(constants_exports);
3348
- var THEME_NAME_SEPARATOR = "_", THEME_CLASSNAME_PREFIX = "t_", stackDefaultStyles = {}, webViewFlexCompatStyles = {
3351
+ var THEME_NAME_SEPARATOR = "_", THEME_CLASSNAME_PREFIX = "t_", FONT_DATA_ATTRIBUTE_NAME = "data-tamagui-font", stackDefaultStyles = {}, webViewFlexCompatStyles = {
3349
3352
  display: "flex",
3350
3353
  alignItems: "stretch",
3351
3354
  flexDirection: "column",
@@ -4113,9 +4116,9 @@ var require_useTheme_native = __commonJS({
4113
4116
  }
4114
4117
  var isNewTheme2 = !!(themeManager2 !== parentManager || props.inverse);
4115
4118
  isNewTheme2 && registerThemeManager(themeManager2);
4116
- var mounted2 = props.inverse ? isRoot || (prev == null ? void 0 : prev.mounted) : !0;
4119
+ var isWebSSR = import_constants4.isWeb ? !(0, import_config.getConfig)().disableSSR : !1, mounted2 = isWebSSR ? isRoot || (prev == null ? void 0 : prev.mounted) : !0;
4117
4120
  state2 || (isNewTheme2 ? state2 = themeManager2.state : (state2 = parentManager.state, themeManager2 = parentManager));
4118
- var wasInversed = prev == null ? void 0 : prev.inversed, nextInversed = isNewTheme2 && state2.scheme !== (parentManager == null ? void 0 : parentManager.state.scheme), inversed2 = nextInversed ? !0 : wasInversed != null ? !1 : null, response = {
4121
+ var wasInversed = prev == null ? void 0 : prev.inversed, isInherentlyInversed = isNewTheme2 && state2.scheme !== (parentManager == null ? void 0 : parentManager.state.scheme), inversed2 = isInherentlyInversed ? !0 : isWebSSR ? wasInversed != null ? !1 : null : props.inverse, response = {
4119
4122
  themeManager: themeManager2,
4120
4123
  isNewTheme: isNewTheme2,
4121
4124
  mounted: mounted2,
@@ -4170,7 +4173,7 @@ var require_useTheme_native = __commonJS({
4170
4173
  props.name,
4171
4174
  props.reset,
4172
4175
  mounted
4173
- ]), isInversingOnMount ? {
4176
+ ]), import_constants4.isWeb && isInversingOnMount ? {
4174
4177
  isNewTheme: !1,
4175
4178
  inversed: !1,
4176
4179
  themeManager: parentManager,
@@ -7651,7 +7654,7 @@ var require_getSplitStyles_native = __commonJS({
7651
7654
  if (isHOC)
7652
7655
  viewProps.style = normalizeStyle(styleProp);
7653
7656
  else
7654
- for (var isArray = Array.isArray(styleProp), len = isArray ? props.length : 1, i1 = 0; i1 < len; i1++) {
7657
+ for (var isArray = Array.isArray(styleProp), len = isArray ? styleProp.length : 1, i1 = 0; i1 < len; i1++) {
7655
7658
  var style1 = isArray ? styleProp[i1] : styleProp;
7656
7659
  if (style1)
7657
7660
  if (style1.$$css)
@@ -7661,6 +7664,14 @@ var require_getSplitStyles_native = __commonJS({
7661
7664
  (_styleState4 = styleState).style || (_styleState4.style = {}), Object.assign(styleState.style, normalizeStyle(style1));
7662
7665
  }
7663
7666
  }
7667
+ var style2 = styleState.style;
7668
+ if (style2 != null && style2.fontFamily) {
7669
+ var _getFont, faceInfo = (_getFont = (0, import_config.getFont)(style2.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;
7670
+ if (faceInfo) {
7671
+ var _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight, overrideFace = (_faceInfo_style_fontWeight = faceInfo[style2.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 || (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style2.fontStyle || "normal"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;
7672
+ overrideFace && (style2.fontFamily = overrideFace, styleState.fontFamily = overrideFace, delete style2.fontWeight, delete style2.fontStyle);
7673
+ }
7674
+ }
7664
7675
  var result = {
7665
7676
  space,
7666
7677
  hasMedia,
@@ -7673,15 +7684,7 @@ var require_getSplitStyles_native = __commonJS({
7673
7684
  dynamicThemeAccess,
7674
7685
  pseudoGroups,
7675
7686
  mediaGroups
7676
- }, style2 = styleState.style;
7677
- if (style2 != null && style2.fontFamily) {
7678
- var _getFont, faceInfo = (_getFont = (0, import_config.getFont)(style2.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;
7679
- if (faceInfo) {
7680
- var _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight, overrideFace = (_faceInfo_style_fontWeight = faceInfo[style2.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 || (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style2.fontStyle || "normal"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;
7681
- overrideFace && (style2.fontFamily = overrideFace, styleState.fontFamily = overrideFace, delete style2.fontWeight, delete style2.fontStyle);
7682
- }
7683
- }
7684
- var asChild = props.asChild, asChildExceptStyleLike = asChild === "except-style" || asChild === "except-style-web";
7687
+ }, asChild = props.asChild, asChildExceptStyleLike = asChild === "except-style" || asChild === "except-style-web";
7685
7688
  if (!asChildExceptStyleLike) {
7686
7689
  var style3 = styleState.style;
7687
7690
  if (0) {
@@ -8654,7 +8657,16 @@ var require_createComponent_native = __commonJS({
8654
8657
  return x();
8655
8658
  }), mouseUps.clear();
8656
8659
  }, addEventListener("mouseup", cancelTouches), addEventListener("touchend", cancelTouches), addEventListener("touchcancel", cancelTouches));
8657
- var cancelTouches, BaseText, BaseView, hasSetupBaseViews = !1;
8660
+ var cancelTouches, BaseText, BaseView, hasSetupBaseViews = !1, lastInteractionWasKeyboard = {
8661
+ value: !1
8662
+ };
8663
+ import_constants4.isWeb && globalThis.document && (document.addEventListener("keydown", function() {
8664
+ lastInteractionWasKeyboard.value = !0;
8665
+ }), document.addEventListener("mousedown", function() {
8666
+ lastInteractionWasKeyboard.value = !1;
8667
+ }), document.addEventListener("mousemove", function() {
8668
+ lastInteractionWasKeyboard.value = !1;
8669
+ }));
8658
8670
  function createComponent2(staticConfig) {
8659
8671
  var _staticConfig_defaultProps, componentName = staticConfig.componentName, config = null, defaultProps = staticConfig.defaultProps;
8660
8672
  (0, import_config.onConfiguredOnce)(function(conf) {
@@ -8695,9 +8707,7 @@ var require_createComponent_native = __commonJS({
8695
8707
  var debugProp = props.debug, componentName2 = props.componentName || staticConfig.componentName;
8696
8708
  if (0)
8697
8709
  var timer;
8698
- var stateRef = (0, import_react2.useRef)({
8699
- handleFocusVisible: !0
8700
- }), animationsConfig = componentContext.animationDriver, useAnimations = animationsConfig == null ? void 0 : animationsConfig.useAnimations, hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationsConfig == null ? void 0 : animationsConfig.supportsCSSVars, curState = stateRef.current, willBeAnimatedClient = function() {
8710
+ var stateRef = (0, import_react2.useRef)({}), animationsConfig = componentContext.animationDriver, useAnimations = animationsConfig == null ? void 0 : animationsConfig.useAnimations, hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationsConfig == null ? void 0 : animationsConfig.supportsCSSVars, curState = stateRef.current, willBeAnimatedClient = function() {
8701
8711
  var next = !!(hasAnimationProp && !isHOC && useAnimations);
8702
8712
  return !!(next || curState.hasAnimated);
8703
8713
  }(), willBeAnimated = !import_constants4.isServer && willBeAnimatedClient;
@@ -8862,11 +8872,11 @@ var require_createComponent_native = __commonJS({
8862
8872
  }
8863
8873
  var disposeGroupsListener;
8864
8874
  if (pseudoGroups || mediaGroups) {
8865
- var current = {
8875
+ var _componentContext_groups, current = {
8866
8876
  pseudo: {},
8867
8877
  media: {}
8868
8878
  };
8869
- disposeGroupsListener = componentContext.groups.subscribe(function(name2, param) {
8879
+ disposeGroupsListener = (_componentContext_groups = componentContext.groups) === null || _componentContext_groups === void 0 ? void 0 : _componentContext_groups.subscribe(function(name2, param) {
8870
8880
  var layout = param.layout, pseudo = param.pseudo, persist = function() {
8871
8881
  var group = _object_spread_props8(_object_spread9({}, state.group), _define_property9({}, name2, current));
8872
8882
  setStateShallow({
@@ -8893,7 +8903,7 @@ var require_createComponent_native = __commonJS({
8893
8903
  ]);
8894
8904
  var runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), runtimeFocusVisibleStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusVisibleStyle), attachFocus = !!(runtimePressStyle || runtimeFocusStyle || runtimeFocusVisibleStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onMouseDown || onMouseUp || onLongPress || onClick || pseudos != null && pseudos.focusVisibleStyle), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = !!(groupName || runtimeHoverStyle || onHoverIn || onHoverOut), attachHover = import_constants4.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), shouldAttach = !disabled && !props.asChild && !!(attachFocus || attachPress || attachHover || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle), needsPressState = !!(groupName || runtimeHoverStyle), events = shouldAttach ? _object_spread9(_object_spread_props8(_object_spread9({
8895
8905
  onPressOut: attachPress ? function(e) {
8896
- stateRef.current.handleFocusVisible = !0, unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
8906
+ unPress(), onPressOut == null || onPressOut(e), onMouseUp == null || onMouseUp(e);
8897
8907
  } : void 0
8898
8908
  }, (attachHover || attachPress) && {
8899
8909
  onMouseEnter: function(e) {
@@ -8906,7 +8916,7 @@ var require_createComponent_native = __commonJS({
8906
8916
  }
8907
8917
  }), {
8908
8918
  onPressIn: attachPress ? function(e) {
8909
- stateRef.current.handleFocusVisible = !1, runtimePressStyle && setStateShallow({
8919
+ runtimePressStyle && setStateShallow({
8910
8920
  press: !0,
8911
8921
  pressIn: !0
8912
8922
  }), onPressIn == null || onPressIn(e), onMouseDown == null || onMouseDown(e), import_constants4.isWeb && mouseUps.add(unPress);
@@ -8923,7 +8933,7 @@ var require_createComponent_native = __commonJS({
8923
8933
  pseudos != null && pseudos.focusVisibleStyle ? setTimeout(function() {
8924
8934
  setStateShallow({
8925
8935
  focus: !0,
8926
- focusVisible: !!stateRef.current.handleFocusVisible
8936
+ focusVisible: !!lastInteractionWasKeyboard.value
8927
8937
  });
8928
8938
  }, 0) : setStateShallow({
8929
8939
  focus: !0,
@@ -8931,7 +8941,7 @@ var require_createComponent_native = __commonJS({
8931
8941
  }), onFocus == null || onFocus(e);
8932
8942
  },
8933
8943
  onBlur: function(e) {
8934
- stateRef.current.handleFocusVisible = !0, setStateShallow({
8944
+ setStateShallow({
8935
8945
  focus: !1,
8936
8946
  focusVisible: !1
8937
8947
  }), onBlur == null || onBlur(e);
@@ -9880,11 +9890,11 @@ var require_insertFont_native = __commonJS({
9880
9890
  }
9881
9891
  });
9882
9892
  module2.exports = __toCommonJS2(insertFont_exports);
9883
- var import_config = require_config_native(), import_createFont = require_createFont_native(), import_createVariables = require_createVariables_native(), import_registerCSSVariable = require_registerCSSVariable_native();
9893
+ var import_config = require_config_native(), import_constants4 = require_constants_native2(), import_createFont = require_createFont_native(), import_createVariables = require_createVariables_native(), import_registerCSSVariable = require_registerCSSVariable_native();
9884
9894
  function insertFont2(name, fontIn) {
9885
9895
  var font = (0, import_createFont.createFont)(fontIn), tokened = (0, import_createVariables.createVariables)(font, name), parsed = parseFont(tokened);
9886
9896
  if (0)
9887
- var fontVars, style;
9897
+ var fontVars, styleElement;
9888
9898
  return (0, import_config.setConfigFont)(name, tokened, parsed), parsed;
9889
9899
  }
9890
9900
  var updateFont = insertFont2;
@@ -20845,7 +20855,7 @@ var require_Dialog_native = __commonJS({
20845
20855
  }, closeProps), {
20846
20856
  ref: forwardedRef,
20847
20857
  onPress: (0, import_helpers.composeEventHandlers)(props.onPress, function() {
20848
- console.warn("??"), context.onOpenChange(!1);
20858
+ context.onOpenChange(!1);
20849
20859
  })
20850
20860
  }));
20851
20861
  });
@@ -22859,7 +22869,10 @@ var require_Button_native = __commonJS({
22859
22869
  Text: Button2.Text
22860
22870
  }, textProps = _param.textProps, propsIn = _object_without_properties5(_param, [
22861
22871
  "textProps"
22862
- ]), _param_Text = _$_param.Text, Text3 = _param_Text === void 0 ? Button2.Text : _param_Text, isNested = (0, import_react2.useContext)(import_stacks3.ButtonNestingContext), propsActive = (0, import_web.useProps)(propsIn), icon = propsActive.icon, iconAfter = propsActive.iconAfter, space = propsActive.space, spaceFlex = propsActive.spaceFlex, _propsActive_scaleIcon = propsActive.scaleIcon, scaleIcon = _propsActive_scaleIcon === void 0 ? 1 : _propsActive_scaleIcon, _propsActive_scaleSpace = propsActive.scaleSpace, scaleSpace = _propsActive_scaleSpace === void 0 ? 0.66 : _propsActive_scaleSpace, separator = propsActive.separator, noTextWrap = propsActive.noTextWrap, fontFamily = propsActive.fontFamily, fontSize = propsActive.fontSize, fontWeight = propsActive.fontWeight, fontStyle = propsActive.fontStyle, letterSpacing = propsActive.letterSpacing, tag = propsActive.tag, ellipse = propsActive.ellipse, maxFontSizeMultiplier = propsActive.maxFontSizeMultiplier, restProps = _object_without_properties5(propsActive, [
22872
+ ]), _param_Text = _$_param.Text, Text3 = _param_Text === void 0 ? Button2.Text : _param_Text, isNested = (0, import_react2.useContext)(import_stacks3.ButtonNestingContext), propsActive = (0, import_web.useProps)(propsIn, {
22873
+ noNormalize: !0,
22874
+ noExpand: !0
22875
+ }), icon = propsActive.icon, iconAfter = propsActive.iconAfter, space = propsActive.space, spaceFlex = propsActive.spaceFlex, _propsActive_scaleIcon = propsActive.scaleIcon, scaleIcon = _propsActive_scaleIcon === void 0 ? 1 : _propsActive_scaleIcon, _propsActive_scaleSpace = propsActive.scaleSpace, scaleSpace = _propsActive_scaleSpace === void 0 ? 0.66 : _propsActive_scaleSpace, separator = propsActive.separator, noTextWrap = propsActive.noTextWrap, fontFamily = propsActive.fontFamily, fontSize = propsActive.fontSize, fontWeight = propsActive.fontWeight, fontStyle = propsActive.fontStyle, letterSpacing = propsActive.letterSpacing, tag = propsActive.tag, ellipse = propsActive.ellipse, maxFontSizeMultiplier = propsActive.maxFontSizeMultiplier, restProps = _object_without_properties5(propsActive, [
22863
22876
  "icon",
22864
22877
  "iconAfter",
22865
22878
  "space",
@@ -29455,7 +29468,7 @@ var require_Popper_native = __commonJS({
29455
29468
  "none"
29456
29469
  ] : rest.animateOnly,
29457
29470
  animatePresence: !1
29458
- }, !import_constants4.isWeb && floatingStyles);
29471
+ });
29459
29472
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Stack, _object_spread_props8(_object_spread9({}, getFloatingProps ? getFloatingProps(frameProps) : frameProps), {
29460
29473
  children: contents
29461
29474
  }));
@@ -29988,7 +30001,11 @@ var require_Popover_native = __commonJS({
29988
30001
  "disableRemoveScroll",
29989
30002
  "freezeContentsWhenHidden",
29990
30003
  "setIsFullyHidden"
29991
- ]), context = usePopoverContext(__scopePopover), open = context.open, keepChildrenMounted = context.keepChildrenMounted, popperContext = (0, import_popper.usePopperContext)(__scopePopover || POPOVER_SCOPE);
30004
+ ]), context = usePopoverContext(__scopePopover), open = context.open, keepChildrenMounted = context.keepChildrenMounted, popperContext = (0, import_popper.usePopperContext)(__scopePopover || POPOVER_SCOPE), handleExitComplete = React2.useCallback(function() {
30005
+ setIsFullyHidden == null || setIsFullyHidden(!0);
30006
+ }, [
30007
+ setIsFullyHidden
30008
+ ]);
29992
30009
  if (context.breakpointActive) {
29993
30010
  var childrenWithoutScrollView = React2.Children.toArray(children).map(function(child) {
29994
30011
  return /* @__PURE__ */ React2.isValidElement(child) && child.type === import_react_native4.ScrollView ? child.props.children : child;
@@ -30004,11 +30021,6 @@ var require_Popover_native = __commonJS({
30004
30021
  children: content
30005
30022
  });
30006
30023
  }
30007
- var handleExitComplete = React2.useCallback(function() {
30008
- setIsFullyHidden == null || setIsFullyHidden(!0);
30009
- }, [
30010
- setIsFullyHidden
30011
- ]);
30012
30024
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_animate.Animate, {
30013
30025
  type: "presence",
30014
30026
  present: !!open,
@@ -32117,6 +32129,7 @@ var require_SelectItem_native = __commonJS({
32117
32129
  backgrounded: !0,
32118
32130
  pressTheme: !0,
32119
32131
  hoverTheme: !0,
32132
+ focusTheme: !0,
32120
32133
  cursor: "default",
32121
32134
  size: size3,
32122
32135
  outlineOffset: -0.5,
@@ -32408,7 +32421,7 @@ var require_SelectTrigger_native = __commonJS({
32408
32421
  }
32409
32422
  });
32410
32423
  module2.exports = __toCommonJS2(SelectTrigger_exports);
32411
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native10(), import_list_item = require_index_native54(), React2 = __toESM2(require("react")), import_context = require_context_native();
32424
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native10(), import_core12 = require_index_native16(), import_list_item = require_index_native54(), React2 = __toESM2(require("react")), import_context = require_context_native();
32412
32425
  function _define_property9(obj, key, value) {
32413
32426
  return key in obj ? Object.defineProperty(obj, key, {
32414
32427
  value,
@@ -32462,7 +32475,7 @@ var require_SelectTrigger_native = __commonJS({
32462
32475
  key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
32463
32476
  return target;
32464
32477
  }
32465
- var TRIGGER_NAME = "SelectTrigger", SelectTrigger = /* @__PURE__ */ React2.forwardRef(function(props, forwardedRef) {
32478
+ var TRIGGER_NAME = "SelectTrigger", isPointerCoarse = import_core12.isWeb && import_core12.isClient ? window.matchMedia("(pointer:coarse)").matches : !0, SelectTrigger = /* @__PURE__ */ React2.forwardRef(function(props, forwardedRef) {
32466
32479
  var _context_floatingContext, __scopeSelect = props.__scopeSelect, _props_disabled = props.disabled, disabled = _props_disabled === void 0 ? !1 : _props_disabled, _props_unstyled = props.unstyled, unstyled = _props_unstyled === void 0 ? !1 : _props_unstyled, triggerProps = _object_without_properties5(props, [
32467
32480
  "__scopeSelect",
32468
32481
  "disabled",
@@ -36553,7 +36566,9 @@ var require_ToggleGroup_native = __commonJS({
36553
36566
  }
36554
36567
  }
36555
36568
  var TOGGLE_GROUP_NAME = "ToggleGroup", TOGGLE_GROUP_ITEM_NAME = "ToggleGroupItem", TOGGLE_GROUP_CONTEXT = "ToggleGroup", _createStyledContext = (0, import_web.createStyledContext)(), ToggleGroupItemProvider = _createStyledContext.Provider, useToggleGroupItemContext = _createStyledContext.useStyledContext, _createStyledContext1 = (0, import_web.createStyledContext)(), ToggleGroupContext = _createStyledContext1.Provider, useToggleGroupContext = _createStyledContext1.useStyledContext, ToggleGroupItem = import_Toggle.ToggleFrame.extractable(/* @__PURE__ */ import_react2.default.forwardRef(function(props, forwardedRef) {
36556
- var 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)({
36569
+ var disablePassStyles = props.disablePassStyles, rest = _object_without_properties5(props, [
36570
+ "disablePassStyles"
36571
+ ]), 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)({
36557
36572
  disabled
36558
36573
  }), _props_size, size3 = (_props_size = props.size) !== null && _props_size !== void 0 ? _props_size : context.size, sizeProps = props.unstyled ? {} : {
36559
36574
  width: void 0,
@@ -36567,7 +36582,7 @@ var require_ToggleGroup_native = __commonJS({
36567
36582
  }), commonProps = _object_spread_props8(_object_spread9({
36568
36583
  pressed,
36569
36584
  disabled
36570
- }, sizeProps, props), {
36585
+ }, sizeProps, rest), {
36571
36586
  children
36572
36587
  }), inner = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupItemImpl, _object_spread9(_object_spread_props8(_object_spread9({}, commonProps), {
36573
36588
  ref: forwardedRef,
@@ -36662,10 +36677,11 @@ var require_ToggleGroup_native = __commonJS({
36662
36677
  });
36663
36678
  }), ToggleGroupImplMultiple = /* @__PURE__ */ import_react2.default.forwardRef(function(props, forwardedRef) {
36664
36679
  var valueProp = props.value, defaultValue = props.defaultValue, _props_onValueChange = props.onValueChange, onValueChange = _props_onValueChange === void 0 ? function() {
36665
- } : _props_onValueChange, toggleGroupMultipleProps = _object_without_properties5(props, [
36680
+ } : _props_onValueChange, disableDeactivation = props.disableDeactivation, toggleGroupMultipleProps = _object_without_properties5(props, [
36666
36681
  "value",
36667
36682
  "defaultValue",
36668
- "onValueChange"
36683
+ "onValueChange",
36684
+ "disableDeactivation"
36669
36685
  ]), _useControllableState = _sliced_to_array((0, import_use_controllable_state.useControllableState)({
36670
36686
  prop: valueProp,
36671
36687
  defaultProp: defaultValue,