tamagui 3.1.5 → 3.1.7

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.cjs CHANGED
@@ -26440,8 +26440,8 @@ var DialogContentImpl = createRefComponent(function(props, forwardedRef) {
26440
26440
  id: context.contentId,
26441
26441
  role: "dialog",
26442
26442
  "aria-modal": context.modal,
26443
- "aria-describedby": context.descriptionId,
26444
- "aria-labelledby": context.titleId,
26443
+ "aria-describedby": context.descriptionPresent ? context.descriptionId : void 0,
26444
+ "aria-labelledby": context.titlePresent ? context.titleId : void 0,
26445
26445
  "data-state": getState$3(context.open),
26446
26446
  pointerEvents: context.open ? "auto" : "none",
26447
26447
  onTransition
@@ -26451,12 +26451,26 @@ var DialogTitleFrame = styled(H2, { displayName: "DialogTitle" });
26451
26451
  var DialogTitle = createStyledHOC(DialogTitleFrame, function DialogTitle2(props, forwardedRef) {
26452
26452
  var { scope } = props, titleProps = _objectWithoutProperties(props, _excluded8$4);
26453
26453
  var context = useDialogContext(scope);
26454
+ var setTitlePresent = context.setTitlePresent;
26455
+ useIsomorphicLayoutEffect(function() {
26456
+ setTitlePresent(true);
26457
+ return function() {
26458
+ setTitlePresent(false);
26459
+ };
26460
+ }, [setTitlePresent]);
26454
26461
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogTitleFrame, _objectSpread2(_objectSpread2({ id: context.titleId }, titleProps), {}, { ref: forwardedRef }));
26455
26462
  });
26456
26463
  var DialogDescriptionFrame = styled(Paragraph, { displayName: "DialogDescription" });
26457
26464
  var DialogDescription = createStyledHOC(DialogDescriptionFrame, function DialogDescription2(props, forwardedRef) {
26458
26465
  var { scope } = props, descriptionProps = _objectWithoutProperties(props, _excluded9$4);
26459
26466
  var context = useDialogContext(scope);
26467
+ var setDescriptionPresent = context.setDescriptionPresent;
26468
+ useIsomorphicLayoutEffect(function() {
26469
+ setDescriptionPresent(true);
26470
+ return function() {
26471
+ setDescriptionPresent(false);
26472
+ };
26473
+ }, [setDescriptionPresent]);
26460
26474
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogDescriptionFrame, _objectSpread2(_objectSpread2({ id: context.descriptionId }, descriptionProps), {}, { ref: forwardedRef }));
26461
26475
  });
26462
26476
  var DialogCloseFrame = styled(View, {
@@ -26498,6 +26512,8 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26498
26512
  var contentRef = react$1.useRef(null);
26499
26513
  var presentPartIdsRef = react$1.useRef(/* @__PURE__ */ new Set());
26500
26514
  var [presentPartCount, setPresentPartCount] = react$1.useState(0);
26515
+ var [titleCount, setTitleCount] = react$1.useState(0);
26516
+ var [descriptionCount, setDescriptionCount] = react$1.useState(0);
26501
26517
  var [open, setOpen] = useControllableState({
26502
26518
  prop: openProp,
26503
26519
  defaultProp: defaultOpen,
@@ -26520,6 +26536,16 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26520
26536
  setPresentPartCount(presentPartIds.size);
26521
26537
  }
26522
26538
  }, []);
26539
+ var setTitlePresent = react$1.useCallback(function(present) {
26540
+ setTitleCount(function(count) {
26541
+ return Math.max(0, count + (present ? 1 : -1));
26542
+ });
26543
+ }, []);
26544
+ var setDescriptionPresent = react$1.useCallback(function(present) {
26545
+ setDescriptionCount(function(count) {
26546
+ return Math.max(0, count + (present ? 1 : -1));
26547
+ });
26548
+ }, []);
26523
26549
  var context = {
26524
26550
  dialogScope: scope,
26525
26551
  adaptScope,
@@ -26528,6 +26554,10 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26528
26554
  contentId,
26529
26555
  titleId,
26530
26556
  descriptionId,
26557
+ titlePresent: titleCount > 0,
26558
+ descriptionPresent: descriptionCount > 0,
26559
+ setTitlePresent,
26560
+ setDescriptionPresent,
26531
26561
  open,
26532
26562
  onOpenChange: setOpen,
26533
26563
  onOpenToggle,
@@ -30093,9 +30123,22 @@ var PopperAnchor = createStyledHOC(View, function PopperAnchor2(props, forwarded
30093
30123
  refs.setReference(node);
30094
30124
  });
30095
30125
  }, [refs]);
30096
- var shouldHandleInHover = false;
30097
- var composedRefs = useComposedRefs(forwardedRef, ref, shouldHandleInHover ? void 0 : safeSetReference);
30098
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(View, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), refProps), {}, { ref: composedRefs }, shouldHandleInHover && {
30126
+ var isScopedWeb = false;
30127
+ var composedRefs = useComposedRefs(forwardedRef, ref, isScopedWeb ? void 0 : safeSetReference);
30128
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(View, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), refProps), {}, { ref: composedRefs }, isScopedWeb && {
30129
+ onFocus: function onFocus(e) {
30130
+ var _e_currentTarget;
30131
+ var _focusProps_onFocus;
30132
+ var focusProps = refProps !== null && refProps !== void 0 ? refProps : rest;
30133
+ (_focusProps_onFocus = focusProps.onFocus) === null || _focusProps_onFocus === void 0 || _focusProps_onFocus.call(focusProps, e);
30134
+ if (e.defaultPrevented || "isCanceled" in e && e.isCanceled) return;
30135
+ if (virtualRef) return;
30136
+ var el = (_e_currentTarget = e.currentTarget) !== null && _e_currentTarget !== void 0 ? _e_currentTarget : ref.current;
30137
+ if (el instanceof HTMLElement) {
30138
+ refs.setReference(el);
30139
+ update();
30140
+ }
30141
+ },
30099
30142
  onMouseEnter: function onMouseEnter(e) {
30100
30143
  var _e_currentTarget;
30101
30144
  var _hoverProps_onPointerEnter;
@@ -35479,7 +35522,7 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
35479
35522
  var parentSheet = react$1.default.useContext(ParentSheetContext);
35480
35523
  var safeAreaInsets = useSafeAreaInsets();
35481
35524
  var safeAreaTopInset = (_ref = safeAreaInsets === null || safeAreaInsets === void 0 ? void 0 : safeAreaInsets.top) !== null && _ref !== void 0 ? _ref : 0;
35482
- var { transition, transitionConfig: transitionConfigProp, modal = false, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = false, unmountChildrenWhenHidden = false, disableHideWhenClosed = false, portalProps, containerComponent: ContainerComponent = react$1.default.Fragment, onTransition } = props;
35525
+ var { transition, transitionConfig: transitionConfigProp, modal = false, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = false, unmountChildrenWhenHidden = false, disableHideWhenClosed = false, portalProps, containerComponent: ContainerComponent = react$1.default.Fragment, onTransition, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby } = props;
35483
35526
  var state = useSheetOpenState(props);
35484
35527
  var providerProps = useSheetProviderProps(props, state);
35485
35528
  var { frameSize, setFrameSize, dismissOnSnapToBottom, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps;
@@ -36020,6 +36063,10 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
36020
36063
  }),
36021
36064
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AnimatedView, {
36022
36065
  ref,
36066
+ role: void 0,
36067
+ "aria-modal": void 0,
36068
+ "aria-label": void 0,
36069
+ "aria-labelledby": void 0,
36023
36070
  onLayout: handleAnimationViewLayout,
36024
36071
  transition: isDragging || disableAnimation ? null : transition,
36025
36072
  disableClassName: true,
@@ -36052,13 +36099,14 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
36052
36099
  if (!shouldMountChildren) return null;
36053
36100
  var RNGHRoot = getGestureHandlerState().RootView;
36054
36101
  var mountedContents = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ContainerComponent, { children: contents });
36102
+ var gestureContents = RNGHRoot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RNGHRoot, {
36103
+ style: open ? rnghRootStyleOpen : rnghRootStyleClosed,
36104
+ children: mountedContents
36105
+ }) : mountedContents;
36055
36106
  var modalContents = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Portal, _objectSpread2(_objectSpread2({
36056
36107
  stackZIndex: zIndex,
36057
36108
  hidden: !isVisuallyActive
36058
- }, portalProps), {}, { children: RNGHRoot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RNGHRoot, {
36059
- style: open ? rnghRootStyleOpen : rnghRootStyleClosed,
36060
- children: mountedContents
36061
- }) : mountedContents }));
36109
+ }, portalProps), {}, { children: gestureContents }));
36062
36110
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SheetInsideSheetContext.Provider, {
36063
36111
  value: onInnerSheet,
36064
36112
  children: modalContents
package/dist/test.cjs CHANGED
@@ -26588,8 +26588,8 @@ var DialogContentImpl = createRefComponent(function(props, forwardedRef) {
26588
26588
  id: context.contentId,
26589
26589
  role: "dialog",
26590
26590
  "aria-modal": context.modal,
26591
- "aria-describedby": context.descriptionId,
26592
- "aria-labelledby": context.titleId,
26591
+ "aria-describedby": context.descriptionPresent ? context.descriptionId : void 0,
26592
+ "aria-labelledby": context.titlePresent ? context.titleId : void 0,
26593
26593
  "data-state": getState$3(context.open),
26594
26594
  pointerEvents: context.open ? "auto" : "none",
26595
26595
  onTransition
@@ -26599,12 +26599,26 @@ var DialogTitleFrame = styled(H2, { displayName: "DialogTitle" });
26599
26599
  var DialogTitle = createStyledHOC(DialogTitleFrame, function DialogTitle2(props, forwardedRef) {
26600
26600
  var { scope } = props, titleProps = _objectWithoutProperties(props, _excluded8$4);
26601
26601
  var context = useDialogContext(scope);
26602
+ var setTitlePresent = context.setTitlePresent;
26603
+ useIsomorphicLayoutEffect(function() {
26604
+ setTitlePresent(true);
26605
+ return function() {
26606
+ setTitlePresent(false);
26607
+ };
26608
+ }, [setTitlePresent]);
26602
26609
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogTitleFrame, _objectSpread2(_objectSpread2({ id: context.titleId }, titleProps), {}, { ref: forwardedRef }));
26603
26610
  });
26604
26611
  var DialogDescriptionFrame = styled(Paragraph, { displayName: "DialogDescription" });
26605
26612
  var DialogDescription = createStyledHOC(DialogDescriptionFrame, function DialogDescription2(props, forwardedRef) {
26606
26613
  var { scope } = props, descriptionProps = _objectWithoutProperties(props, _excluded9$4);
26607
26614
  var context = useDialogContext(scope);
26615
+ var setDescriptionPresent = context.setDescriptionPresent;
26616
+ useIsomorphicLayoutEffect(function() {
26617
+ setDescriptionPresent(true);
26618
+ return function() {
26619
+ setDescriptionPresent(false);
26620
+ };
26621
+ }, [setDescriptionPresent]);
26608
26622
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogDescriptionFrame, _objectSpread2(_objectSpread2({ id: context.descriptionId }, descriptionProps), {}, { ref: forwardedRef }));
26609
26623
  });
26610
26624
  var DialogCloseFrame = styled(View, {
@@ -26646,6 +26660,8 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26646
26660
  var contentRef = react$1.useRef(null);
26647
26661
  var presentPartIdsRef = react$1.useRef(/* @__PURE__ */ new Set());
26648
26662
  var [presentPartCount, setPresentPartCount] = react$1.useState(0);
26663
+ var [titleCount, setTitleCount] = react$1.useState(0);
26664
+ var [descriptionCount, setDescriptionCount] = react$1.useState(0);
26649
26665
  var [open, setOpen] = useControllableState({
26650
26666
  prop: openProp,
26651
26667
  defaultProp: defaultOpen,
@@ -26668,6 +26684,16 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26668
26684
  setPresentPartCount(presentPartIds.size);
26669
26685
  }
26670
26686
  }, []);
26687
+ var setTitlePresent = react$1.useCallback(function(present) {
26688
+ setTitleCount(function(count) {
26689
+ return Math.max(0, count + (present ? 1 : -1));
26690
+ });
26691
+ }, []);
26692
+ var setDescriptionPresent = react$1.useCallback(function(present) {
26693
+ setDescriptionCount(function(count) {
26694
+ return Math.max(0, count + (present ? 1 : -1));
26695
+ });
26696
+ }, []);
26671
26697
  var context = {
26672
26698
  dialogScope: scope,
26673
26699
  adaptScope,
@@ -26676,6 +26702,10 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
26676
26702
  contentId,
26677
26703
  titleId,
26678
26704
  descriptionId,
26705
+ titlePresent: titleCount > 0,
26706
+ descriptionPresent: descriptionCount > 0,
26707
+ setTitlePresent,
26708
+ setDescriptionPresent,
26679
26709
  open,
26680
26710
  onOpenChange: setOpen,
26681
26711
  onOpenToggle,
@@ -30241,9 +30271,22 @@ var PopperAnchor = createStyledHOC(View, function PopperAnchor2(props, forwarded
30241
30271
  refs.setReference(node);
30242
30272
  });
30243
30273
  }, [refs]);
30244
- var shouldHandleInHover = false;
30245
- var composedRefs = useComposedRefs(forwardedRef, ref, shouldHandleInHover ? void 0 : safeSetReference);
30246
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(View, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), refProps), {}, { ref: composedRefs }, shouldHandleInHover && {
30274
+ var isScopedWeb = false;
30275
+ var composedRefs = useComposedRefs(forwardedRef, ref, isScopedWeb ? void 0 : safeSetReference);
30276
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(View, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), refProps), {}, { ref: composedRefs }, isScopedWeb && {
30277
+ onFocus: function onFocus(e) {
30278
+ var _e_currentTarget;
30279
+ var _focusProps_onFocus;
30280
+ var focusProps = refProps !== null && refProps !== void 0 ? refProps : rest;
30281
+ (_focusProps_onFocus = focusProps.onFocus) === null || _focusProps_onFocus === void 0 || _focusProps_onFocus.call(focusProps, e);
30282
+ if (e.defaultPrevented || "isCanceled" in e && e.isCanceled) return;
30283
+ if (virtualRef) return;
30284
+ var el = (_e_currentTarget = e.currentTarget) !== null && _e_currentTarget !== void 0 ? _e_currentTarget : ref.current;
30285
+ if (el instanceof HTMLElement) {
30286
+ refs.setReference(el);
30287
+ update();
30288
+ }
30289
+ },
30247
30290
  onMouseEnter: function onMouseEnter(e) {
30248
30291
  var _e_currentTarget;
30249
30292
  var _hoverProps_onPointerEnter;
@@ -35627,7 +35670,7 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
35627
35670
  var parentSheet = react$1.default.useContext(ParentSheetContext);
35628
35671
  var safeAreaInsets = useSafeAreaInsets();
35629
35672
  var safeAreaTopInset = (_ref = safeAreaInsets === null || safeAreaInsets === void 0 ? void 0 : safeAreaInsets.top) !== null && _ref !== void 0 ? _ref : 0;
35630
- var { transition, transitionConfig: transitionConfigProp, modal = false, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = false, unmountChildrenWhenHidden = false, disableHideWhenClosed = false, portalProps, containerComponent: ContainerComponent = react$1.default.Fragment, onTransition } = props;
35673
+ var { transition, transitionConfig: transitionConfigProp, modal = false, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = false, unmountChildrenWhenHidden = false, disableHideWhenClosed = false, portalProps, containerComponent: ContainerComponent = react$1.default.Fragment, onTransition, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby } = props;
35631
35674
  var state = useSheetOpenState(props);
35632
35675
  var providerProps = useSheetProviderProps(props, state);
35633
35676
  var { frameSize, setFrameSize, dismissOnSnapToBottom, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps;
@@ -36168,6 +36211,10 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
36168
36211
  }),
36169
36212
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AnimatedView, {
36170
36213
  ref,
36214
+ role: void 0,
36215
+ "aria-modal": void 0,
36216
+ "aria-label": void 0,
36217
+ "aria-labelledby": void 0,
36171
36218
  onLayout: handleAnimationViewLayout,
36172
36219
  transition: isDragging || disableAnimation ? null : transition,
36173
36220
  disableClassName: true,
@@ -36200,13 +36247,14 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
36200
36247
  if (!shouldMountChildren) return null;
36201
36248
  var RNGHRoot = getGestureHandlerState().RootView;
36202
36249
  var mountedContents = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ContainerComponent, { children: contents });
36250
+ var gestureContents = RNGHRoot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RNGHRoot, {
36251
+ style: open ? rnghRootStyleOpen : rnghRootStyleClosed,
36252
+ children: mountedContents
36253
+ }) : mountedContents;
36203
36254
  var modalContents = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Portal, _objectSpread2(_objectSpread2({
36204
36255
  stackZIndex: zIndex,
36205
36256
  hidden: !isVisuallyActive
36206
- }, portalProps), {}, { children: RNGHRoot ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RNGHRoot, {
36207
- style: open ? rnghRootStyleOpen : rnghRootStyleClosed,
36208
- children: mountedContents
36209
- }) : mountedContents }));
36257
+ }, portalProps), {}, { children: gestureContents }));
36210
36258
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SheetInsideSheetContext.Provider, {
36211
36259
  value: onInnerSheet,
36212
36260
  children: modalContents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tamagui",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "license": "MIT",
5
5
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
6
6
  "description": "Style and UI for React (web and native) meet an optimizing compiler",
@@ -315,73 +315,73 @@
315
315
  "check-circular-deps": "npx madge --circular ./src/index.ts"
316
316
  },
317
317
  "dependencies": {
318
- "@tamagui/accordion": "3.1.5",
319
- "@tamagui/adapt": "3.1.5",
320
- "@tamagui/alert-dialog": "3.1.5",
321
- "@tamagui/animate": "3.1.5",
322
- "@tamagui/animate-presence": "3.1.5",
323
- "@tamagui/avatar": "3.1.5",
324
- "@tamagui/button": "3.1.5",
325
- "@tamagui/card": "3.1.5",
326
- "@tamagui/checkbox": "3.1.5",
327
- "@tamagui/collapsible": "3.1.5",
328
- "@tamagui/compose-refs": "3.1.5",
329
- "@tamagui/constants": "3.1.5",
330
- "@tamagui/context-menu": "3.1.5",
331
- "@tamagui/core": "3.1.5",
332
- "@tamagui/create-context": "3.1.5",
333
- "@tamagui/create-menu": "3.1.5",
334
- "@tamagui/dialog": "3.1.5",
335
- "@tamagui/element": "3.1.5",
336
- "@tamagui/fake-react-native": "3.1.5",
337
- "@tamagui/field": "3.1.5",
338
- "@tamagui/focusable": "3.1.5",
339
- "@tamagui/font-size": "3.1.5",
340
- "@tamagui/form": "3.1.5",
341
- "@tamagui/get-font-sized": "3.1.5",
342
- "@tamagui/get-token": "3.1.5",
343
- "@tamagui/group": "3.1.5",
344
- "@tamagui/helpers-tamagui": "3.1.5",
345
- "@tamagui/image": "3.1.5",
346
- "@tamagui/input": "3.1.5",
347
- "@tamagui/label": "3.1.5",
348
- "@tamagui/linear-gradient": "3.1.5",
349
- "@tamagui/list-item": "3.1.5",
350
- "@tamagui/menu": "3.1.5",
351
- "@tamagui/polyfill-dev": "3.1.5",
352
- "@tamagui/popover": "3.1.5",
353
- "@tamagui/popper": "3.1.5",
354
- "@tamagui/portal": "3.1.5",
355
- "@tamagui/progress": "3.1.5",
356
- "@tamagui/radio-group": "3.1.5",
357
- "@tamagui/react-native-media-driver": "3.1.5",
358
- "@tamagui/react-native-types": "3.1.5",
359
- "@tamagui/scroll-view": "3.1.5",
360
- "@tamagui/select": "3.1.5",
361
- "@tamagui/separator": "3.1.5",
362
- "@tamagui/shapes": "3.1.5",
363
- "@tamagui/sheet": "3.1.5",
364
- "@tamagui/slider": "3.1.5",
365
- "@tamagui/spacer": "3.1.5",
366
- "@tamagui/spinner": "3.1.5",
367
- "@tamagui/stacks": "3.1.5",
368
- "@tamagui/switch": "3.1.5",
369
- "@tamagui/tabs": "3.1.5",
370
- "@tamagui/text": "3.1.5",
371
- "@tamagui/theme": "3.1.5",
372
- "@tamagui/toast": "3.1.5",
373
- "@tamagui/toggle-group": "3.1.5",
374
- "@tamagui/tooltip": "3.1.5",
375
- "@tamagui/ui": "3.1.5",
376
- "@tamagui/use-controllable-state": "3.1.5",
377
- "@tamagui/use-debounce": "3.1.5",
378
- "@tamagui/use-force-update": "3.1.5",
379
- "@tamagui/use-window-dimensions": "3.1.5",
380
- "@tamagui/visually-hidden": "3.1.5",
381
- "@tamagui/z-index-stack": "3.1.5"
318
+ "@tamagui/accordion": "3.1.7",
319
+ "@tamagui/adapt": "3.1.7",
320
+ "@tamagui/alert-dialog": "3.1.7",
321
+ "@tamagui/animate": "3.1.7",
322
+ "@tamagui/animate-presence": "3.1.7",
323
+ "@tamagui/avatar": "3.1.7",
324
+ "@tamagui/button": "3.1.7",
325
+ "@tamagui/card": "3.1.7",
326
+ "@tamagui/checkbox": "3.1.7",
327
+ "@tamagui/collapsible": "3.1.7",
328
+ "@tamagui/compose-refs": "3.1.7",
329
+ "@tamagui/constants": "3.1.7",
330
+ "@tamagui/context-menu": "3.1.7",
331
+ "@tamagui/core": "3.1.7",
332
+ "@tamagui/create-context": "3.1.7",
333
+ "@tamagui/create-menu": "3.1.7",
334
+ "@tamagui/dialog": "3.1.7",
335
+ "@tamagui/element": "3.1.7",
336
+ "@tamagui/fake-react-native": "3.1.7",
337
+ "@tamagui/field": "3.1.7",
338
+ "@tamagui/focusable": "3.1.7",
339
+ "@tamagui/font-size": "3.1.7",
340
+ "@tamagui/form": "3.1.7",
341
+ "@tamagui/get-font-sized": "3.1.7",
342
+ "@tamagui/get-token": "3.1.7",
343
+ "@tamagui/group": "3.1.7",
344
+ "@tamagui/helpers-tamagui": "3.1.7",
345
+ "@tamagui/image": "3.1.7",
346
+ "@tamagui/input": "3.1.7",
347
+ "@tamagui/label": "3.1.7",
348
+ "@tamagui/linear-gradient": "3.1.7",
349
+ "@tamagui/list-item": "3.1.7",
350
+ "@tamagui/menu": "3.1.7",
351
+ "@tamagui/polyfill-dev": "3.1.7",
352
+ "@tamagui/popover": "3.1.7",
353
+ "@tamagui/popper": "3.1.7",
354
+ "@tamagui/portal": "3.1.7",
355
+ "@tamagui/progress": "3.1.7",
356
+ "@tamagui/radio-group": "3.1.7",
357
+ "@tamagui/react-native-media-driver": "3.1.7",
358
+ "@tamagui/react-native-types": "3.1.7",
359
+ "@tamagui/scroll-view": "3.1.7",
360
+ "@tamagui/select": "3.1.7",
361
+ "@tamagui/separator": "3.1.7",
362
+ "@tamagui/shapes": "3.1.7",
363
+ "@tamagui/sheet": "3.1.7",
364
+ "@tamagui/slider": "3.1.7",
365
+ "@tamagui/spacer": "3.1.7",
366
+ "@tamagui/spinner": "3.1.7",
367
+ "@tamagui/stacks": "3.1.7",
368
+ "@tamagui/switch": "3.1.7",
369
+ "@tamagui/tabs": "3.1.7",
370
+ "@tamagui/text": "3.1.7",
371
+ "@tamagui/theme": "3.1.7",
372
+ "@tamagui/toast": "3.1.7",
373
+ "@tamagui/toggle-group": "3.1.7",
374
+ "@tamagui/tooltip": "3.1.7",
375
+ "@tamagui/ui": "3.1.7",
376
+ "@tamagui/use-controllable-state": "3.1.7",
377
+ "@tamagui/use-debounce": "3.1.7",
378
+ "@tamagui/use-force-update": "3.1.7",
379
+ "@tamagui/use-window-dimensions": "3.1.7",
380
+ "@tamagui/visually-hidden": "3.1.7",
381
+ "@tamagui/z-index-stack": "3.1.7"
382
382
  },
383
383
  "devDependencies": {
384
- "@tamagui/build": "3.1.5",
384
+ "@tamagui/build": "3.1.7",
385
385
  "react": "19.3.0",
386
386
  "react-native": "0.88.0",
387
387
  "react-native-web": "~0.21.4"
@@ -400,5 +400,5 @@
400
400
  ],
401
401
  "module:jsx": "dist/jsx",
402
402
  "removeSideEffects": true,
403
- "releaseSourceCommit": "11f32458a825e58f6c5038491924c399c4439c51"
403
+ "releaseSourceCommit": "26475c76726a42f1250f34f8a6cbd6a623213002"
404
404
  }
@@ -33,6 +33,10 @@ export declare const DialogContent: import("@tamagui/core").TamaguiComponent<imp
33
33
  contentId: string;
34
34
  titleId: string;
35
35
  descriptionId: string;
36
+ titlePresent: boolean;
37
+ descriptionPresent: boolean;
38
+ setTitlePresent(present: boolean): void;
39
+ setDescriptionPresent(present: boolean): void;
36
40
  onOpenToggle(): void;
37
41
  open: Exclude<import("@tamagui/dialog").DialogProps['open'], void | null>;
38
42
  onOpenChange: Exclude<import("@tamagui/dialog").DialogProps['onOpenChange'], void | null>;
@@ -108,6 +112,10 @@ export declare const Dialog: import("@tamagui/core").Combined<import("@tamagui/c
108
112
  contentId: string;
109
113
  titleId: string;
110
114
  descriptionId: string;
115
+ titlePresent: boolean;
116
+ descriptionPresent: boolean;
117
+ setTitlePresent(present: boolean): void;
118
+ setDescriptionPresent(present: boolean): void;
111
119
  onOpenToggle(): void;
112
120
  open: Exclude<import("@tamagui/dialog").DialogProps['open'], void | null>;
113
121
  onOpenChange: Exclude<import("@tamagui/dialog").DialogProps['onOpenChange'], void | null>;
@@ -1 +1 @@
1
- {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/components/Dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,eAAO,MAAM,mBAAmB;aAC9B,eAAe,EAAE,YAAY;CACrB,CAAA;AAEV,eAAO,MAAM,mBAAmB;aAC9B,eAAe,EAAE,YAAY;aAC7B,WAAW,EAAE,CAAC;aACd,WAAW,EAAE,cAAc;aAC3B,OAAO,EAAE,GAAG;aACZ,YAAY,EAAE,GAAG;aACjB,OAAO;CACC,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;uEAGxB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sUAGxB,CAAA;AAcF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjB,CAAA"}
1
+ {"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/components/Dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,eAAe,CAAA;AAEtB,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAA;AAEnC,eAAO,MAAM,mBAAmB;aAC9B,eAAe,EAAE,YAAY;CACrB,CAAA;AAEV,eAAO,MAAM,mBAAmB;aAC9B,eAAe,EAAE,YAAY;aAC7B,WAAW,EAAE,CAAC;aACd,WAAW,EAAE,cAAc;aAC3B,OAAO,EAAE,GAAG;aACZ,YAAY,EAAE,GAAG;aACjB,OAAO;CACC,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;uEAGxB,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sUAGxB,CAAA;AAcF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUjB,CAAA"}
@@ -20,7 +20,8 @@ export declare const SheetBackground: import("@tamagui/core").TamaguiComponent<i
20
20
  }, "scope"> & {
21
21
  scope?: import("@tamagui/sheet").SheetScopes;
22
22
  }, import("@tamagui/core").StackStyleBase, Omit<{}, "disableHideBottomOverflow" | "scope">, import("@tamagui/core").StaticConfigPublic>;
23
- export declare const SheetScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
23
+ export declare const SheetScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "pointerEvents" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
24
+ pointerEvents?: import("@tamagui/core").ViewProps['pointerEvents'];
24
25
  style?: import("@tamagui/core").StackNonStyleProps['style'];
25
26
  contentContainerStyle?: import("@tamagui/core").StylePiece | import("@tamagui/core").StackNonStyleProps['style'];
26
27
  refreshControl?: React.ReactElement<{
@@ -60,7 +61,8 @@ declare const sheetParts: {
60
61
  }, import("@tamagui/core").StackStyleBase, {
61
62
  open?: boolean | undefined;
62
63
  }>>;
63
- ScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
64
+ ScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "pointerEvents" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
65
+ pointerEvents?: import("@tamagui/core").ViewProps['pointerEvents'];
64
66
  style?: import("@tamagui/core").StackNonStyleProps['style'];
65
67
  contentContainerStyle?: import("@tamagui/core").StylePiece | import("@tamagui/core").StackNonStyleProps['style'];
66
68
  refreshControl?: React.ReactElement<{
@@ -102,7 +104,8 @@ export declare const SheetControlled: Combined<import("@tamagui/core").RefCompon
102
104
  }, import("@tamagui/core").StackStyleBase, {
103
105
  open?: boolean | undefined;
104
106
  }>>;
105
- ScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
107
+ ScrollView: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/scroll-view").ScrollViewRef, Omit<import("@tamagui/core").TamaguiComponentPropsBaseBase & Omit<import("@tamagui/core").StackNonStyleProps, "onScroll" | "style"> & import("@tamagui/core").RNViewProps & Omit<import("@tamagui/react-native-types").ScrollViewProps, "contentContainerStyle" | "keyboardShouldPersistTaps" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onScrollToTop" | "pointerEvents" | "refreshControl" | keyof import("@tamagui/core").RNViewProps | keyof import("@tamagui/core").StackNonStyleProps> & {
108
+ pointerEvents?: import("@tamagui/core").ViewProps['pointerEvents'];
106
109
  style?: import("@tamagui/core").StackNonStyleProps['style'];
107
110
  contentContainerStyle?: import("@tamagui/core").StylePiece | import("@tamagui/core").StackNonStyleProps['style'];
108
111
  refreshControl?: React.ReactElement<{
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../src/components/Sheet.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,KAAK,UAAU,EAAmB,MAAM,gBAAgB,CAAA;AA2BzF,eAAO,MAAM,WAAW;;;;GAMtB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;wDAIvB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;8IAOzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;uIAK1B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;+CAO1B,CAAA;AAEF,QAAA,MAAM,UAAU;IACd,SAAS;;;;;IACT,UAAU;;;;;IACV,OAAO;;;;;IACP,MAAM;;;;;IACN,UAAU;;;;;;;;;;;;;;;;;;;CACX,CAAA;AAID,eAAO,MAAM,SAAS,0GAIrB,CAAA;AASD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAA;AAEpF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAC1B,OAAO,SAAS,EAChB,OAAO,UAAU,GAAG;IAClB,IAAI,EAAE,OAAO,SAAS,CAAA;IACtB,UAAU,EAAE,OAAO,eAAe,CAAA;IAClC,mBAAmB,EAAE,OAAO,aAAa,CAAC,mBAAmB,CAAA;CAC9D,CAMD,CAAA"}
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../src/components/Sheet.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,KAAK,UAAU,EAAmB,MAAM,gBAAgB,CAAA;AA2BzF,eAAO,MAAM,WAAW;;;;GAMtB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;wDAIvB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;8IAOzB,CAAA;AAEF,eAAO,MAAM,eAAe;;;;uIAK1B,CAAA;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;+CAO1B,CAAA;AAEF,QAAA,MAAM,UAAU;IACd,SAAS;;;;;IACT,UAAU;;;;;IACV,OAAO;;;;;IACP,MAAM;;;;;IACN,UAAU;;;;;;;;;;;;;;;;;;;;CACX,CAAA;AAID,eAAO,MAAM,SAAS,0GAIrB,CAAA;AASD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwD,CAAA;AAEpF,eAAO,MAAM,KAAK,EAAE,QAAQ,CAC1B,OAAO,SAAS,EAChB,OAAO,UAAU,GAAG;IAClB,IAAI,EAAE,OAAO,SAAS,CAAA;IACtB,UAAU,EAAE,OAAO,eAAe,CAAA;IAClC,mBAAmB,EAAE,OAAO,aAAa,CAAC,mBAAmB,CAAA;CAC9D,CAMD,CAAA"}