tamagui 1.101.1 → 1.101.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 CHANGED
@@ -3029,63 +3029,6 @@ var require_pseudoDescriptors_native = __commonJS({
3029
3029
  }
3030
3030
  });
3031
3031
 
3032
- // ../web/dist/cjs/hooks/useDidHydrateOnce.native.js
3033
- var require_useDidHydrateOnce_native = __commonJS({
3034
- "../web/dist/cjs/hooks/useDidHydrateOnce.native.js"(exports2, module2) {
3035
- "use strict";
3036
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
3037
- for (var name in all) __defProp2(target, name, {
3038
- get: all[name],
3039
- enumerable: !0
3040
- });
3041
- }, __copyProps2 = function(to, from, except, desc) {
3042
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
3043
- if (from && typeof from == "object" || typeof from == "function") try {
3044
- for (var _loop = function() {
3045
- var key = _step.value;
3046
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
3047
- get: function() {
3048
- return from[key];
3049
- },
3050
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
3051
- });
3052
- }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
3053
- } catch (err) {
3054
- _didIteratorError = !0, _iteratorError = err;
3055
- } finally {
3056
- try {
3057
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
3058
- } finally {
3059
- if (_didIteratorError)
3060
- throw _iteratorError;
3061
- }
3062
- }
3063
- return to;
3064
- }, __toCommonJS2 = function(mod) {
3065
- return __copyProps2(__defProp2({}, "__esModule", {
3066
- value: !0
3067
- }), mod);
3068
- }, useDidHydrateOnce_exports = {};
3069
- __export2(useDidHydrateOnce_exports, {
3070
- useDidHydrateOnce: function() {
3071
- return useDidHydrateOnce;
3072
- },
3073
- useDidHydrateOnceRoot: function() {
3074
- return useDidHydrateOnceRoot;
3075
- }
3076
- });
3077
- module2.exports = __toCommonJS2(useDidHydrateOnce_exports);
3078
- var import_react4 = require("react");
3079
- function useDidHydrateOnceRoot() {
3080
- return process.env.TAMAGUI_REACT_19, !0;
3081
- }
3082
- var last = Date.now();
3083
- function useDidHydrateOnce() {
3084
- return !0;
3085
- }
3086
- }
3087
- });
3088
-
3089
3032
  // ../web/dist/cjs/hooks/useDisableSSR.native.js
3090
3033
  var require_useDisableSSR_native = __commonJS({
3091
3034
  "../web/dist/cjs/hooks/useDisableSSR.native.js"(exports2, module2) {
@@ -3223,7 +3166,7 @@ var require_useMedia_native = __commonJS({
3223
3166
  }
3224
3167
  });
3225
3168
  module2.exports = __toCommonJS2(useMedia_exports);
3226
- var import_constants4 = require_index_native6(), import_react4 = require("react"), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_useDidHydrateOnce = require_useDidHydrateOnce_native(), import_useDisableSSR = require_useDisableSSR_native();
3169
+ var import_constants4 = require_index_native6(), import_react4 = require("react"), import_config = require_config_native(), import_matchMedia = require_matchMedia_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_useDisableSSR = require_useDisableSSR_native();
3227
3170
  function _array_like_to_array2(arr, len) {
3228
3171
  (len == null || len > arr.length) && (len = arr.length);
3229
3172
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
@@ -3232,9 +3175,6 @@ var require_useMedia_native = __commonJS({
3232
3175
  function _array_with_holes(arr) {
3233
3176
  if (Array.isArray(arr)) return arr;
3234
3177
  }
3235
- function _array_without_holes2(arr) {
3236
- if (Array.isArray(arr)) return _array_like_to_array2(arr);
3237
- }
3238
3178
  function _define_property9(obj, key, value) {
3239
3179
  return key in obj ? Object.defineProperty(obj, key, {
3240
3180
  value,
@@ -3243,9 +3183,6 @@ var require_useMedia_native = __commonJS({
3243
3183
  writable: !0
3244
3184
  }) : obj[key] = value, obj;
3245
3185
  }
3246
- function _iterable_to_array2(iter) {
3247
- if ((typeof Symbol > "u" ? "undefined" : _type_of(Symbol)) < "u" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3248
- }
3249
3186
  function _iterable_to_array_limit(arr, i) {
3250
3187
  var _i = arr == null ? null : (typeof Symbol > "u" ? "undefined" : _type_of(Symbol)) < "u" && arr[Symbol.iterator] || arr["@@iterator"];
3251
3188
  if (_i != null) {
@@ -3267,9 +3204,6 @@ var require_useMedia_native = __commonJS({
3267
3204
  function _non_iterable_rest() {
3268
3205
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3269
3206
  }
3270
- function _non_iterable_spread2() {
3271
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3272
- }
3273
3207
  function _object_spread9(target) {
3274
3208
  for (var i = 1; i < arguments.length; i++) {
3275
3209
  var source = arguments[i] != null ? arguments[i] : {}, ownKeys22 = Object.keys(source);
@@ -3299,9 +3233,6 @@ var require_useMedia_native = __commonJS({
3299
3233
  function _sliced_to_array(arr, i) {
3300
3234
  return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array2(arr, i) || _non_iterable_rest();
3301
3235
  }
3302
- function _to_consumable_array2(arr) {
3303
- return _array_without_holes2(arr) || _iterable_to_array2(arr) || _unsupported_iterable_to_array2(arr) || _non_iterable_spread2();
3304
- }
3305
3236
  function _unsupported_iterable_to_array2(o, minLen) {
3306
3237
  if (o) {
3307
3238
  if (typeof o == "string") return _array_like_to_array2(o, minLen);
@@ -3360,7 +3291,7 @@ var require_useMedia_native = __commonJS({
3360
3291
  }), update();
3361
3292
  };
3362
3293
  if (!(import_constants4.isWeb && import_constants4.isServer) && setupVersion !== mediaVersion) {
3363
- setupVersion = mediaVersion, process.env.NODE_ENV === "development" && unlisten();
3294
+ setupVersion = mediaVersion, unlisten();
3364
3295
  for (var key in mediaQueryConfig3) _loop(key);
3365
3296
  }
3366
3297
  }
@@ -3376,45 +3307,42 @@ var require_useMedia_native = __commonJS({
3376
3307
  function setMediaShouldUpdate(ref, props) {
3377
3308
  return States.set(ref, _object_spread9({}, States.get(ref), props));
3378
3309
  }
3379
- function getSnapshot(param) {
3380
- var touched = param.touched, prev = param.prev, enabled = param.enabled;
3381
- if (enabled === !1) return prev;
3382
- var hasntUpdated = !touched || touched.every(function(key) {
3383
- return mediaState3[key] === prev[key];
3384
- });
3385
- return hasntUpdated ? prev : mediaState3;
3310
+ function subscribe(subscriber) {
3311
+ return listeners.add(subscriber), function() {
3312
+ listeners.delete(subscriber);
3313
+ };
3386
3314
  }
3387
- function useMedia3(uidIn, componentContext) {
3388
- var debug = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, uid = uidIn ?? (0, import_react4.useRef)(), hasHydrated = (0, import_useDidHydrateOnce.useDidHydrateOnce)(), isHydrated = !import_constants4.isWeb || (0, import_useDisableSSR.getDisableSSR)(componentContext) || hasHydrated, initialState = isHydrated ? mediaState3 : initState, componentState = States.get(uid);
3315
+ function useMedia3(uidIn, componentContext, debug) {
3316
+ var uid = uidIn ?? (0, import_react4.useRef)(), disableSSR = (0, import_useDisableSSR.getDisableSSR)(componentContext), initialState = (disableSSR || !import_constants4.isWeb ? mediaState3 : initState) || {}, componentState = States.get(uid);
3389
3317
  componentState || (componentState = {
3390
3318
  prev: initialState
3391
3319
  }, States.set(uid, componentState));
3392
- var _useState = _sliced_to_array((0, import_react4.useState)(initialState), 2), state = _useState[0], setState = _useState[1];
3393
- return (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3394
- var update = function() {
3395
- setState(function(prev) {
3396
- var componentState2 = States.get(uid);
3397
- process.env.NODE_ENV === "development" && debug && console.info("useMedia() update?", getSnapshot(componentState2) !== prev, {
3398
- componentState: componentState2,
3399
- touched: _to_consumable_array2(componentState2.touched || []),
3400
- prev: _object_spread9({}, componentState2.prev),
3401
- next: getSnapshot(componentState2),
3402
- mediaState: _object_spread9({}, mediaState3)
3403
- });
3404
- var next = getSnapshot(componentState2);
3405
- return next !== prev ? (componentState2.prev = next, next) : prev;
3406
- });
3407
- };
3408
- return update(), listeners.add(update), function() {
3409
- listeners.delete(update);
3410
- };
3411
- }, [
3412
- uid
3413
- ]), new Proxy(state, {
3320
+ var getSnapshot = function() {
3321
+ if (!componentState) return initialState;
3322
+ var keys = componentState.keys, _componentState_prev = componentState.prev, prev = _componentState_prev === void 0 ? initialState : _componentState_prev;
3323
+ if (componentState && componentState.enabled === !1) return prev;
3324
+ var _componentState_keys, _ref, testKeys = (_ref = (_componentState_keys = componentState == null ? void 0 : componentState.keys) !== null && _componentState_keys !== void 0 ? _componentState_keys : (!componentState || componentState.enabled) && keys) !== null && _ref !== void 0 ? _ref : null, hasntUpdated = !testKeys || (testKeys == null ? void 0 : testKeys.every(function(key) {
3325
+ return mediaState3[key] === prev[key];
3326
+ }));
3327
+ return hasntUpdated ? prev : (componentState.prev = mediaState3, mediaState3);
3328
+ }, state;
3329
+ if (process.env.TAMAGUI_SYNC_MEDIA_QUERY) state = (0, import_react4.useSyncExternalStore)(subscribe, getSnapshot, function() {
3330
+ return initialState;
3331
+ });
3332
+ else {
3333
+ var _useState = _sliced_to_array((0, import_react4.useState)(initialState), 2), internalState = _useState[0], setState = _useState[1];
3334
+ state = internalState, (0, import_constants4.useIsomorphicLayoutEffect)(function() {
3335
+ var update = function() {
3336
+ setState(getSnapshot);
3337
+ };
3338
+ return update(), subscribe(update);
3339
+ }, []);
3340
+ }
3341
+ return new Proxy(state, {
3414
3342
  get: function(_, key) {
3415
3343
  if (typeof key == "string") {
3416
3344
  var _componentState;
3417
- (_componentState = componentState).touched || (_componentState.touched = []), componentState.touched.includes(key) || componentState.touched.push(key), process.env.NODE_ENV === "development" && debug && console.info("useMedia() TOUCH", key);
3345
+ (_componentState = componentState).keys || (_componentState.keys = []), componentState.keys.includes(key) || componentState.keys.push(key), process.env.NODE_ENV === "development" && debug && console.info("useMedia() TOUCH", key);
3418
3346
  }
3419
3347
  return Reflect.get(state, key);
3420
3348
  }
@@ -8709,6 +8637,63 @@ var require_themeable_native = __commonJS({
8709
8637
  }
8710
8638
  });
8711
8639
 
8640
+ // ../web/dist/cjs/hooks/useDidHydrateOnce.native.js
8641
+ var require_useDidHydrateOnce_native = __commonJS({
8642
+ "../web/dist/cjs/hooks/useDidHydrateOnce.native.js"(exports2, module2) {
8643
+ "use strict";
8644
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
8645
+ for (var name in all) __defProp2(target, name, {
8646
+ get: all[name],
8647
+ enumerable: !0
8648
+ });
8649
+ }, __copyProps2 = function(to, from, except, desc) {
8650
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
8651
+ if (from && typeof from == "object" || typeof from == "function") try {
8652
+ for (var _loop = function() {
8653
+ var key = _step.value;
8654
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
8655
+ get: function() {
8656
+ return from[key];
8657
+ },
8658
+ enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
8659
+ });
8660
+ }, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
8661
+ } catch (err) {
8662
+ _didIteratorError = !0, _iteratorError = err;
8663
+ } finally {
8664
+ try {
8665
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
8666
+ } finally {
8667
+ if (_didIteratorError)
8668
+ throw _iteratorError;
8669
+ }
8670
+ }
8671
+ return to;
8672
+ }, __toCommonJS2 = function(mod) {
8673
+ return __copyProps2(__defProp2({}, "__esModule", {
8674
+ value: !0
8675
+ }), mod);
8676
+ }, useDidHydrateOnce_exports = {};
8677
+ __export2(useDidHydrateOnce_exports, {
8678
+ useDidHydrateOnce: function() {
8679
+ return useDidHydrateOnce;
8680
+ },
8681
+ useDidHydrateOnceRoot: function() {
8682
+ return useDidHydrateOnceRoot;
8683
+ }
8684
+ });
8685
+ module2.exports = __toCommonJS2(useDidHydrateOnce_exports);
8686
+ var import_react4 = require("react");
8687
+ function useDidHydrateOnceRoot() {
8688
+ return !0;
8689
+ }
8690
+ var last = Date.now();
8691
+ function useDidHydrateOnce() {
8692
+ return !0;
8693
+ }
8694
+ }
8695
+ });
8696
+
8712
8697
  // ../web/dist/cjs/setupHooks.native.js
8713
8698
  var require_setupHooks_native = __commonJS({
8714
8699
  "../web/dist/cjs/setupHooks.native.js"(exports2, module2) {
@@ -9522,7 +9507,7 @@ var require_createComponent_native = __commonJS({
9522
9507
  var isMediaArray = splitStyles.hasMedia && Array.isArray(splitStyles.hasMedia), shouldListenForMedia = (0, import_createVariable.didGetVariableValue)() || isMediaArray || noClassNames && splitStyles.hasMedia === !0, mediaListeningKeys = isMediaArray ? splitStyles.hasMedia : null;
9523
9508
  process.env.NODE_ENV === "development" && debugProp && console.info("useMedia() createComponent", shouldListenForMedia, mediaListeningKeys), (0, import_useMedia.setMediaShouldUpdate)(stateRef, {
9524
9509
  enabled: shouldListenForMedia,
9525
- touched: mediaListeningKeys
9510
+ keys: mediaListeningKeys
9526
9511
  });
9527
9512
  var viewPropsIn = splitStyles.viewProps, pseudos = splitStyles.pseudos, splitStylesStyle = splitStyles.style, classNames = splitStyles.classNames, space = splitStyles.space, propsWithAnimation = props, asChild = viewPropsIn.asChild, children = viewPropsIn.children, themeShallow = viewPropsIn.themeShallow, _spaceDirection = viewPropsIn.spaceDirection, onPress = viewPropsIn.onPress, onLongPress = viewPropsIn.onLongPress, onPressIn = viewPropsIn.onPressIn, onPressOut = viewPropsIn.onPressOut, onHoverIn = viewPropsIn.onHoverIn, onHoverOut = viewPropsIn.onHoverOut, onMouseUp = viewPropsIn.onMouseUp, onMouseDown = viewPropsIn.onMouseDown, onMouseEnter = viewPropsIn.onMouseEnter, onMouseLeave = viewPropsIn.onMouseLeave, onFocus = viewPropsIn.onFocus, onBlur = viewPropsIn.onBlur, separator = viewPropsIn.separator, _forceStyle = viewPropsIn.forceStyle, onClick = viewPropsIn.onClick, _themeProp = viewPropsIn.theme, defaultVariants = viewPropsIn.defaultVariants, nonTamaguiProps = _object_without_properties5(viewPropsIn, [
9528
9513
  "asChild",
@@ -21081,9 +21066,7 @@ var require_Dialog_native = __commonJS({
21081
21066
  onPress: (0, import_helpers.composeEventHandlers)(props.onPress, context.onOpenToggle)
21082
21067
  }))
21083
21068
  });
21084
- });
21085
- DialogTrigger.displayName = TRIGGER_NAME;
21086
- var PORTAL_NAME = "DialogPortal", _createDialogContext1 = _sliced_to_array(createDialogContext(PORTAL_NAME, {
21069
+ }), PORTAL_NAME = "DialogPortal", _createDialogContext1 = _sliced_to_array(createDialogContext(PORTAL_NAME, {
21087
21070
  forceMount: void 0
21088
21071
  }), 2), PortalProvider2 = _createDialogContext1[0], usePortalContext = _createDialogContext1[1], DialogPortalFrame = (0, import_core12.styled)(import_stacks3.YStack, {
21089
21072
  pointerEvents: "none",
@@ -21169,9 +21152,7 @@ var require_Dialog_native = __commonJS({
21169
21152
  });
21170
21153
  }
21171
21154
  return contents;
21172
- };
21173
- DialogPortal.displayName = PORTAL_NAME;
21174
- var PassthroughTheme = function(param) {
21155
+ }, PassthroughTheme = function(param) {
21175
21156
  var children = param.children, themeName = (0, import_core12.useThemeName)();
21176
21157
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_core12.Theme, {
21177
21158
  name: themeName,
@@ -21186,29 +21167,14 @@ var require_Dialog_native = __commonJS({
21186
21167
  ]), portalContext = usePortalContext(OVERLAY_NAME, __scopeDialog), _props_forceMount = props.forceMount, forceMount = _props_forceMount === void 0 ? portalContext.forceMount : _props_forceMount, overlayProps = _object_without_properties5(props, [
21187
21168
  "forceMount"
21188
21169
  ]), context = useDialogContext(OVERLAY_NAME, __scopeDialog), showSheet = useShowDialogSheet(context);
21189
- return !forceMount && (!context.modal || showSheet) ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogOverlayImpl, _object_spread_props8(_object_spread9({
21190
- context
21170
+ return !forceMount && (!context.modal || showSheet) ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogOverlayFrame, _object_spread_props8(_object_spread9({
21171
+ "data-state": getState(context.open),
21172
+ // We re-enable pointer-events prevented by `Dialog.Content` to allow scrolling the overlay.
21173
+ pointerEvents: context.open ? "auto" : "none"
21191
21174
  }, overlayProps), {
21192
21175
  ref: forwardedRef
21193
21176
  }));
21194
- }));
21195
- DialogOverlay.displayName = OVERLAY_NAME;
21196
- var DialogOverlayImpl = /* @__PURE__ */ React2.forwardRef(function(props, forwardedRef) {
21197
- var context = props.context, overlayProps = _object_without_properties5(props, [
21198
- "context"
21199
- ]);
21200
- return (
21201
- // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
21202
- // ie. when `Overlay` and `Content` are siblings
21203
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogOverlayFrame, _object_spread_props8(_object_spread9({
21204
- "data-state": getState(context.open),
21205
- // We re-enable pointer-events prevented by `Dialog.Content` to allow scrolling the overlay.
21206
- pointerEvents: context.open ? "auto" : "none"
21207
- }, overlayProps), {
21208
- ref: forwardedRef
21209
- }))
21210
- );
21211
- }), CONTENT_NAME = "DialogContent", DialogContentFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
21177
+ })), CONTENT_NAME = "DialogContent", DialogContentFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
21212
21178
  name: CONTENT_NAME,
21213
21179
  tag: "dialog",
21214
21180
  variants: {
@@ -21261,9 +21227,7 @@ var require_Dialog_native = __commonJS({
21261
21227
  children: contents
21262
21228
  })
21263
21229
  });
21264
- }));
21265
- DialogContent.displayName = CONTENT_NAME;
21266
- var DialogContentModal = /* @__PURE__ */ React2.forwardRef(function(_param, forwardedRef) {
21230
+ })), DialogContentModal = /* @__PURE__ */ React2.forwardRef(function(_param, forwardedRef) {
21267
21231
  var children = _param.children, context = _param.context, props = _object_without_properties5(_param, [
21268
21232
  "children",
21269
21233
  "context"
@@ -21385,20 +21349,18 @@ var require_Dialog_native = __commonJS({
21385
21349
  })
21386
21350
  ]
21387
21351
  }) : contents;
21388
- }), TITLE_NAME = "DialogTitle", DialogTitleFrame = (0, import_core12.styled)(import_text2.H2, {
21389
- name: TITLE_NAME
21352
+ }), DialogTitleFrame = (0, import_core12.styled)(import_text2.H2, {
21353
+ name: "DialogTitle"
21390
21354
  }), DialogTitle = DialogTitleFrame.styleable(function(props, forwardedRef) {
21391
21355
  var __scopeDialog = props.__scopeDialog, titleProps = _object_without_properties5(props, [
21392
21356
  "__scopeDialog"
21393
- ]), context = useDialogContext(TITLE_NAME, __scopeDialog);
21357
+ ]), context = useDialogContext("DialogTitle", __scopeDialog);
21394
21358
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(DialogTitleFrame, _object_spread_props8(_object_spread9({
21395
21359
  id: context.titleId
21396
21360
  }, titleProps), {
21397
21361
  ref: forwardedRef
21398
21362
  }));
21399
- });
21400
- DialogTitle.displayName = TITLE_NAME;
21401
- var DialogDescriptionFrame = (0, import_core12.styled)(import_text2.Paragraph, {
21363
+ }), DialogDescriptionFrame = (0, import_core12.styled)(import_text2.Paragraph, {
21402
21364
  name: "DialogDescription"
21403
21365
  }), DESCRIPTION_NAME = "DialogDescription", DialogDescription = DialogDescriptionFrame.styleable(function(props, forwardedRef) {
21404
21366
  var __scopeDialog = props.__scopeDialog, descriptionProps = _object_without_properties5(props, [
@@ -21409,9 +21371,7 @@ var require_Dialog_native = __commonJS({
21409
21371
  }, descriptionProps), {
21410
21372
  ref: forwardedRef
21411
21373
  }));
21412
- });
21413
- DialogDescription.displayName = DESCRIPTION_NAME;
21414
- var CLOSE_NAME = "DialogClose", DialogCloseFrame = (0, import_core12.styled)(import_core12.View, {
21374
+ }), CLOSE_NAME = "DialogClose", DialogCloseFrame = (0, import_core12.styled)(import_core12.View, {
21415
21375
  name: CLOSE_NAME,
21416
21376
  tag: "button"
21417
21377
  }), DialogClose = DialogCloseFrame.styleable(function(props, forwardedRef) {
@@ -21437,7 +21397,7 @@ var require_Dialog_native = __commonJS({
21437
21397
  }
21438
21398
  var TITLE_WARNING_NAME = "DialogTitleWarning", _createContext = _sliced_to_array((0, import_create_context.createContext)(TITLE_WARNING_NAME, {
21439
21399
  contentName: CONTENT_NAME,
21440
- titleName: TITLE_NAME,
21400
+ titleName: "DialogTitle",
21441
21401
  docsSlug: "dialog"
21442
21402
  }), 2), DialogWarningProvider = _createContext[0], useWarningContext = _createContext[1], TitleWarning = function(param) {
21443
21403
  var titleId = param.titleId;
@@ -21540,7 +21500,7 @@ var require_Dialog_native = __commonJS({
21540
21500
  Close: DialogClose,
21541
21501
  Sheet: import_sheet.Sheet.Controlled,
21542
21502
  Adapt: import_adapt.Adapt
21543
- }), SHEET_CONTENTS_NAME = "DialogSheetContents", DialogSheetContents = function(_param) {
21503
+ }), DialogSheetContents = function(_param) {
21544
21504
  var name = _param.name, props = _object_without_properties5(_param, [
21545
21505
  "name"
21546
21506
  ]);
@@ -21548,9 +21508,7 @@ var require_Dialog_native = __commonJS({
21548
21508
  forwardProps: props,
21549
21509
  name
21550
21510
  });
21551
- };
21552
- DialogSheetContents.displayName = SHEET_CONTENTS_NAME;
21553
- var getSheetContentsName = function(param) {
21511
+ }, getSheetContentsName = function(param) {
21554
21512
  var scopeKey = param.scopeKey, contentId = param.contentId;
21555
21513
  return "".concat(scopeKey || contentId, "SheetContents");
21556
21514
  }, DialogSheetController = function(props) {