tamagui 1.95.2 → 1.95.3

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.
@@ -23574,14 +23574,14 @@ var require_registerFocusable_native = __commonJS({
23574
23574
  return focusFocusable;
23575
23575
  },
23576
23576
  registerFocusable: function() {
23577
- return registerFocusable3;
23577
+ return registerFocusable2;
23578
23578
  },
23579
23579
  unregisterFocusable: function() {
23580
23580
  return unregisterFocusable;
23581
23581
  }
23582
23582
  });
23583
23583
  module2.exports = __toCommonJS2(registerFocusable_native_exports);
23584
- var InputsMap = /* @__PURE__ */ new Map(), registerFocusable3 = function(id, input) {
23584
+ var InputsMap = /* @__PURE__ */ new Map(), registerFocusable2 = function(id, input) {
23585
23585
  return InputsMap.set(id, input), function() {
23586
23586
  InputsMap.delete(id);
23587
23587
  };
@@ -25354,7 +25354,7 @@ var require_use_sync_external_store_shim_native_development = __commonJS({
25354
25354
  function is(x, y) {
25355
25355
  return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
25356
25356
  }
25357
- var objectIs = typeof Object.is == "function" ? Object.is : is, useState = React2.useState, useEffect3 = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1;
25357
+ var objectIs = typeof Object.is == "function" ? Object.is : is, useState = React2.useState, useEffect2 = React2.useEffect, useLayoutEffect = React2.useLayoutEffect, useDebugValue2 = React2.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1;
25358
25358
  function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
25359
25359
  didWarnOld18Alpha || React2.startTransition !== void 0 && (didWarnOld18Alpha = !0, error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
25360
25360
  var value = getSnapshot();
@@ -25376,7 +25376,7 @@ var require_use_sync_external_store_shim_native_development = __commonJS({
25376
25376
  subscribe,
25377
25377
  value,
25378
25378
  getSnapshot
25379
- ]), useEffect3(function() {
25379
+ ]), useEffect2(function() {
25380
25380
  checkIfSnapshotChanged(inst) && forceUpdate({
25381
25381
  inst
25382
25382
  });
@@ -25424,7 +25424,7 @@ var require_with_selector_development = __commonJS({
25424
25424
  function is(x, y) {
25425
25425
  return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
25426
25426
  }
25427
- var objectIs = typeof Object.is == "function" ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef3 = React2.useRef, useEffect3 = React2.useEffect, useMemo = React2.useMemo, useDebugValue2 = React2.useDebugValue;
25427
+ var objectIs = typeof Object.is == "function" ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef3 = React2.useRef, useEffect2 = React2.useEffect, useMemo = React2.useMemo, useDebugValue2 = React2.useDebugValue;
25428
25428
  function useSyncExternalStoreWithSelector2(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
25429
25429
  var instRef = useRef3(null), inst;
25430
25430
  instRef.current === null ? (inst = {
@@ -25463,7 +25463,7 @@ var require_with_selector_development = __commonJS({
25463
25463
  selector,
25464
25464
  isEqual
25465
25465
  ]), getSelection = _useMemo[0], getServerSelection = _useMemo[1], value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
25466
- return useEffect3(function() {
25466
+ return useEffect2(function() {
25467
25467
  inst.hasValue = !0, inst.value = value;
25468
25468
  }, [
25469
25469
  value
@@ -37873,20 +37873,7 @@ var defaultStyles = _object_spread_props6(_object_spread6({
37873
37873
  }
37874
37874
  }), Input = InputFrame.styleable(function(propsIn, forwardedRef) {
37875
37875
  var ref = (0, import_react2.useRef)(null), composedRefs = (0, import_core7.useComposedRefs)(forwardedRef, ref), props = useInputProps(propsIn, composedRefs);
37876
- return (0, import_react2.useEffect)(function() {
37877
- if (props.id && !props.disabled)
37878
- return (0, import_focusable.registerFocusable)(props.id, {
37879
- focusAndSelect: function() {
37880
- var _ref_current;
37881
- (_ref_current = ref.current) === null || _ref_current === void 0 || _ref_current.focus();
37882
- },
37883
- focus: function() {
37884
- }
37885
- });
37886
- }, [
37887
- props.id,
37888
- props.disabled
37889
- ]), /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(InputFrame, _object_spread6({}, props));
37876
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(InputFrame, _object_spread6({}, props));
37890
37877
  });
37891
37878
  function useInputProps(props, ref) {
37892
37879
  var _theme_placeholderColorProp, _theme_placeholderColor, theme = (0, import_core7.useTheme)(), _useFocusable = (0, import_focusable.useFocusable)({