tamagui 3.1.6 → 3.1.8
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 +40 -7
- package/dist/test.cjs +40 -7
- package/package.json +67 -67
- package/types/components/Dialog.d.ts +8 -0
- package/types/components/Dialog.d.ts.map +1 -1
package/dist/native.cjs
CHANGED
|
@@ -26170,8 +26170,7 @@ var DialogPortalFrame = styled(YStack, {
|
|
|
26170
26170
|
width: "web:auto",
|
|
26171
26171
|
height: "web:auto",
|
|
26172
26172
|
maxHeight: "web:100vh",
|
|
26173
|
-
zIndex: "web:1"
|
|
26174
|
-
render: "dialog"
|
|
26173
|
+
zIndex: "web:1"
|
|
26175
26174
|
});
|
|
26176
26175
|
var needsRepropagation$1 = needsPortalRepropagation();
|
|
26177
26176
|
var DialogPortalItem = function DialogPortalItem2(param) {
|
|
@@ -26194,7 +26193,6 @@ var DialogPortalItem = function DialogPortalItem2(param) {
|
|
|
26194
26193
|
};
|
|
26195
26194
|
var DialogPortal = createRefComponent(function(props, forwardedRef) {
|
|
26196
26195
|
var { scope, forceMount, children } = props, frameProps = _objectWithoutProperties(props, _excluded2$29);
|
|
26197
|
-
var ref = composeRefs(react$1.useRef(null), forwardedRef);
|
|
26198
26196
|
var context = useDialogContext(scope);
|
|
26199
26197
|
var portalContext = forceMount ? _objectSpread2(_objectSpread2({}, context), {}, { forceMount: true }) : context;
|
|
26200
26198
|
var keepMounted = forceMount || context.keepChildrenMounted;
|
|
@@ -26207,7 +26205,10 @@ var DialogPortal = createRefComponent(function(props, forwardedRef) {
|
|
|
26207
26205
|
});
|
|
26208
26206
|
var framedContents = !isVisible && !keepMounted && !isAdapted ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LayoutMeasurementController, {
|
|
26209
26207
|
disable: !context.open,
|
|
26210
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogPortalFrame, _objectSpread2(_objectSpread2(
|
|
26208
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogPortalFrame, _objectSpread2(_objectSpread2({
|
|
26209
|
+
ref: forwardedRef,
|
|
26210
|
+
pointerEvents: context.open && context.modal ? "auto" : "none"
|
|
26211
|
+
}, frameProps), {}, {
|
|
26211
26212
|
className: `_no_backdrop ` + (frameProps.className || ""),
|
|
26212
26213
|
children: contents
|
|
26213
26214
|
}))
|
|
@@ -26440,8 +26441,8 @@ var DialogContentImpl = createRefComponent(function(props, forwardedRef) {
|
|
|
26440
26441
|
id: context.contentId,
|
|
26441
26442
|
role: "dialog",
|
|
26442
26443
|
"aria-modal": context.modal,
|
|
26443
|
-
"aria-describedby": context.descriptionId,
|
|
26444
|
-
"aria-labelledby": context.titleId,
|
|
26444
|
+
"aria-describedby": context.descriptionPresent ? context.descriptionId : void 0,
|
|
26445
|
+
"aria-labelledby": context.titlePresent ? context.titleId : void 0,
|
|
26445
26446
|
"data-state": getState$3(context.open),
|
|
26446
26447
|
pointerEvents: context.open ? "auto" : "none",
|
|
26447
26448
|
onTransition
|
|
@@ -26451,12 +26452,26 @@ var DialogTitleFrame = styled(H2, { displayName: "DialogTitle" });
|
|
|
26451
26452
|
var DialogTitle = createStyledHOC(DialogTitleFrame, function DialogTitle2(props, forwardedRef) {
|
|
26452
26453
|
var { scope } = props, titleProps = _objectWithoutProperties(props, _excluded8$4);
|
|
26453
26454
|
var context = useDialogContext(scope);
|
|
26455
|
+
var setTitlePresent = context.setTitlePresent;
|
|
26456
|
+
useIsomorphicLayoutEffect(function() {
|
|
26457
|
+
setTitlePresent(true);
|
|
26458
|
+
return function() {
|
|
26459
|
+
setTitlePresent(false);
|
|
26460
|
+
};
|
|
26461
|
+
}, [setTitlePresent]);
|
|
26454
26462
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogTitleFrame, _objectSpread2(_objectSpread2({ id: context.titleId }, titleProps), {}, { ref: forwardedRef }));
|
|
26455
26463
|
});
|
|
26456
26464
|
var DialogDescriptionFrame = styled(Paragraph, { displayName: "DialogDescription" });
|
|
26457
26465
|
var DialogDescription = createStyledHOC(DialogDescriptionFrame, function DialogDescription2(props, forwardedRef) {
|
|
26458
26466
|
var { scope } = props, descriptionProps = _objectWithoutProperties(props, _excluded9$4);
|
|
26459
26467
|
var context = useDialogContext(scope);
|
|
26468
|
+
var setDescriptionPresent = context.setDescriptionPresent;
|
|
26469
|
+
useIsomorphicLayoutEffect(function() {
|
|
26470
|
+
setDescriptionPresent(true);
|
|
26471
|
+
return function() {
|
|
26472
|
+
setDescriptionPresent(false);
|
|
26473
|
+
};
|
|
26474
|
+
}, [setDescriptionPresent]);
|
|
26460
26475
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogDescriptionFrame, _objectSpread2(_objectSpread2({ id: context.descriptionId }, descriptionProps), {}, { ref: forwardedRef }));
|
|
26461
26476
|
});
|
|
26462
26477
|
var DialogCloseFrame = styled(View, {
|
|
@@ -26498,6 +26513,8 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26498
26513
|
var contentRef = react$1.useRef(null);
|
|
26499
26514
|
var presentPartIdsRef = react$1.useRef(/* @__PURE__ */ new Set());
|
|
26500
26515
|
var [presentPartCount, setPresentPartCount] = react$1.useState(0);
|
|
26516
|
+
var [titleCount, setTitleCount] = react$1.useState(0);
|
|
26517
|
+
var [descriptionCount, setDescriptionCount] = react$1.useState(0);
|
|
26501
26518
|
var [open, setOpen] = useControllableState({
|
|
26502
26519
|
prop: openProp,
|
|
26503
26520
|
defaultProp: defaultOpen,
|
|
@@ -26520,6 +26537,16 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26520
26537
|
setPresentPartCount(presentPartIds.size);
|
|
26521
26538
|
}
|
|
26522
26539
|
}, []);
|
|
26540
|
+
var setTitlePresent = react$1.useCallback(function(present) {
|
|
26541
|
+
setTitleCount(function(count) {
|
|
26542
|
+
return Math.max(0, count + (present ? 1 : -1));
|
|
26543
|
+
});
|
|
26544
|
+
}, []);
|
|
26545
|
+
var setDescriptionPresent = react$1.useCallback(function(present) {
|
|
26546
|
+
setDescriptionCount(function(count) {
|
|
26547
|
+
return Math.max(0, count + (present ? 1 : -1));
|
|
26548
|
+
});
|
|
26549
|
+
}, []);
|
|
26523
26550
|
var context = {
|
|
26524
26551
|
dialogScope: scope,
|
|
26525
26552
|
adaptScope,
|
|
@@ -26528,6 +26555,10 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26528
26555
|
contentId,
|
|
26529
26556
|
titleId,
|
|
26530
26557
|
descriptionId,
|
|
26558
|
+
titlePresent: titleCount > 0,
|
|
26559
|
+
descriptionPresent: descriptionCount > 0,
|
|
26560
|
+
setTitlePresent,
|
|
26561
|
+
setDescriptionPresent,
|
|
26531
26562
|
open,
|
|
26532
26563
|
onOpenChange: setOpen,
|
|
26533
26564
|
onOpenToggle,
|
|
@@ -35492,7 +35523,7 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
|
|
|
35492
35523
|
var parentSheet = react$1.default.useContext(ParentSheetContext);
|
|
35493
35524
|
var safeAreaInsets = useSafeAreaInsets();
|
|
35494
35525
|
var safeAreaTopInset = (_ref = safeAreaInsets === null || safeAreaInsets === void 0 ? void 0 : safeAreaInsets.top) !== null && _ref !== void 0 ? _ref : 0;
|
|
35495
|
-
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;
|
|
35526
|
+
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;
|
|
35496
35527
|
var state = useSheetOpenState(props);
|
|
35497
35528
|
var providerProps = useSheetProviderProps(props, state);
|
|
35498
35529
|
var { frameSize, setFrameSize, dismissOnSnapToBottom, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps;
|
|
@@ -36035,6 +36066,8 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
|
|
|
36035
36066
|
ref,
|
|
36036
36067
|
role: void 0,
|
|
36037
36068
|
"aria-modal": void 0,
|
|
36069
|
+
"aria-label": void 0,
|
|
36070
|
+
"aria-labelledby": void 0,
|
|
36038
36071
|
onLayout: handleAnimationViewLayout,
|
|
36039
36072
|
transition: isDragging || disableAnimation ? null : transition,
|
|
36040
36073
|
disableClassName: true,
|
package/dist/test.cjs
CHANGED
|
@@ -26318,8 +26318,7 @@ var DialogPortalFrame = styled(YStack, {
|
|
|
26318
26318
|
width: "web:auto",
|
|
26319
26319
|
height: "web:auto",
|
|
26320
26320
|
maxHeight: "web:100vh",
|
|
26321
|
-
zIndex: "web:1"
|
|
26322
|
-
render: "dialog"
|
|
26321
|
+
zIndex: "web:1"
|
|
26323
26322
|
});
|
|
26324
26323
|
var needsRepropagation$1 = needsPortalRepropagation();
|
|
26325
26324
|
var DialogPortalItem = function DialogPortalItem2(param) {
|
|
@@ -26342,7 +26341,6 @@ var DialogPortalItem = function DialogPortalItem2(param) {
|
|
|
26342
26341
|
};
|
|
26343
26342
|
var DialogPortal = createRefComponent(function(props, forwardedRef) {
|
|
26344
26343
|
var { scope, forceMount, children } = props, frameProps = _objectWithoutProperties(props, _excluded2$29);
|
|
26345
|
-
var ref = composeRefs(react$1.useRef(null), forwardedRef);
|
|
26346
26344
|
var context = useDialogContext(scope);
|
|
26347
26345
|
var portalContext = forceMount ? _objectSpread2(_objectSpread2({}, context), {}, { forceMount: true }) : context;
|
|
26348
26346
|
var keepMounted = forceMount || context.keepChildrenMounted;
|
|
@@ -26355,7 +26353,10 @@ var DialogPortal = createRefComponent(function(props, forwardedRef) {
|
|
|
26355
26353
|
});
|
|
26356
26354
|
var framedContents = !isVisible && !keepMounted && !isAdapted ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(LayoutMeasurementController, {
|
|
26357
26355
|
disable: !context.open,
|
|
26358
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogPortalFrame, _objectSpread2(_objectSpread2(
|
|
26356
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogPortalFrame, _objectSpread2(_objectSpread2({
|
|
26357
|
+
ref: forwardedRef,
|
|
26358
|
+
pointerEvents: context.open && context.modal ? "auto" : "none"
|
|
26359
|
+
}, frameProps), {}, {
|
|
26359
26360
|
className: `_no_backdrop ` + (frameProps.className || ""),
|
|
26360
26361
|
children: contents
|
|
26361
26362
|
}))
|
|
@@ -26588,8 +26589,8 @@ var DialogContentImpl = createRefComponent(function(props, forwardedRef) {
|
|
|
26588
26589
|
id: context.contentId,
|
|
26589
26590
|
role: "dialog",
|
|
26590
26591
|
"aria-modal": context.modal,
|
|
26591
|
-
"aria-describedby": context.descriptionId,
|
|
26592
|
-
"aria-labelledby": context.titleId,
|
|
26592
|
+
"aria-describedby": context.descriptionPresent ? context.descriptionId : void 0,
|
|
26593
|
+
"aria-labelledby": context.titlePresent ? context.titleId : void 0,
|
|
26593
26594
|
"data-state": getState$3(context.open),
|
|
26594
26595
|
pointerEvents: context.open ? "auto" : "none",
|
|
26595
26596
|
onTransition
|
|
@@ -26599,12 +26600,26 @@ var DialogTitleFrame = styled(H2, { displayName: "DialogTitle" });
|
|
|
26599
26600
|
var DialogTitle = createStyledHOC(DialogTitleFrame, function DialogTitle2(props, forwardedRef) {
|
|
26600
26601
|
var { scope } = props, titleProps = _objectWithoutProperties(props, _excluded8$4);
|
|
26601
26602
|
var context = useDialogContext(scope);
|
|
26603
|
+
var setTitlePresent = context.setTitlePresent;
|
|
26604
|
+
useIsomorphicLayoutEffect(function() {
|
|
26605
|
+
setTitlePresent(true);
|
|
26606
|
+
return function() {
|
|
26607
|
+
setTitlePresent(false);
|
|
26608
|
+
};
|
|
26609
|
+
}, [setTitlePresent]);
|
|
26602
26610
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogTitleFrame, _objectSpread2(_objectSpread2({ id: context.titleId }, titleProps), {}, { ref: forwardedRef }));
|
|
26603
26611
|
});
|
|
26604
26612
|
var DialogDescriptionFrame = styled(Paragraph, { displayName: "DialogDescription" });
|
|
26605
26613
|
var DialogDescription = createStyledHOC(DialogDescriptionFrame, function DialogDescription2(props, forwardedRef) {
|
|
26606
26614
|
var { scope } = props, descriptionProps = _objectWithoutProperties(props, _excluded9$4);
|
|
26607
26615
|
var context = useDialogContext(scope);
|
|
26616
|
+
var setDescriptionPresent = context.setDescriptionPresent;
|
|
26617
|
+
useIsomorphicLayoutEffect(function() {
|
|
26618
|
+
setDescriptionPresent(true);
|
|
26619
|
+
return function() {
|
|
26620
|
+
setDescriptionPresent(false);
|
|
26621
|
+
};
|
|
26622
|
+
}, [setDescriptionPresent]);
|
|
26608
26623
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogDescriptionFrame, _objectSpread2(_objectSpread2({ id: context.descriptionId }, descriptionProps), {}, { ref: forwardedRef }));
|
|
26609
26624
|
});
|
|
26610
26625
|
var DialogCloseFrame = styled(View, {
|
|
@@ -26646,6 +26661,8 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26646
26661
|
var contentRef = react$1.useRef(null);
|
|
26647
26662
|
var presentPartIdsRef = react$1.useRef(/* @__PURE__ */ new Set());
|
|
26648
26663
|
var [presentPartCount, setPresentPartCount] = react$1.useState(0);
|
|
26664
|
+
var [titleCount, setTitleCount] = react$1.useState(0);
|
|
26665
|
+
var [descriptionCount, setDescriptionCount] = react$1.useState(0);
|
|
26649
26666
|
var [open, setOpen] = useControllableState({
|
|
26650
26667
|
prop: openProp,
|
|
26651
26668
|
defaultProp: defaultOpen,
|
|
@@ -26668,6 +26685,16 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26668
26685
|
setPresentPartCount(presentPartIds.size);
|
|
26669
26686
|
}
|
|
26670
26687
|
}, []);
|
|
26688
|
+
var setTitlePresent = react$1.useCallback(function(present) {
|
|
26689
|
+
setTitleCount(function(count) {
|
|
26690
|
+
return Math.max(0, count + (present ? 1 : -1));
|
|
26691
|
+
});
|
|
26692
|
+
}, []);
|
|
26693
|
+
var setDescriptionPresent = react$1.useCallback(function(present) {
|
|
26694
|
+
setDescriptionCount(function(count) {
|
|
26695
|
+
return Math.max(0, count + (present ? 1 : -1));
|
|
26696
|
+
});
|
|
26697
|
+
}, []);
|
|
26671
26698
|
var context = {
|
|
26672
26699
|
dialogScope: scope,
|
|
26673
26700
|
adaptScope,
|
|
@@ -26676,6 +26703,10 @@ var Dialog$1 = withStaticProperties(createRefComponent(function Dialog2(props) {
|
|
|
26676
26703
|
contentId,
|
|
26677
26704
|
titleId,
|
|
26678
26705
|
descriptionId,
|
|
26706
|
+
titlePresent: titleCount > 0,
|
|
26707
|
+
descriptionPresent: descriptionCount > 0,
|
|
26708
|
+
setTitlePresent,
|
|
26709
|
+
setDescriptionPresent,
|
|
26679
26710
|
open,
|
|
26680
26711
|
onOpenChange: setOpen,
|
|
26681
26712
|
onOpenToggle,
|
|
@@ -35640,7 +35671,7 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
|
|
|
35640
35671
|
var parentSheet = react$1.default.useContext(ParentSheetContext);
|
|
35641
35672
|
var safeAreaInsets = useSafeAreaInsets();
|
|
35642
35673
|
var safeAreaTopInset = (_ref = safeAreaInsets === null || safeAreaInsets === void 0 ? void 0 : safeAreaInsets.top) !== null && _ref !== void 0 ? _ref : 0;
|
|
35643
|
-
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;
|
|
35674
|
+
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;
|
|
35644
35675
|
var state = useSheetOpenState(props);
|
|
35645
35676
|
var providerProps = useSheetProviderProps(props, state);
|
|
35646
35677
|
var { frameSize, setFrameSize, dismissOnSnapToBottom, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps;
|
|
@@ -36183,6 +36214,8 @@ var SheetImplementationCustom = createRefComponent(function SheetImplementationC
|
|
|
36183
36214
|
ref,
|
|
36184
36215
|
role: void 0,
|
|
36185
36216
|
"aria-modal": void 0,
|
|
36217
|
+
"aria-label": void 0,
|
|
36218
|
+
"aria-labelledby": void 0,
|
|
36186
36219
|
onLayout: handleAnimationViewLayout,
|
|
36187
36220
|
transition: isDragging || disableAnimation ? null : transition,
|
|
36188
36221
|
disableClassName: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.8",
|
|
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.
|
|
319
|
-
"@tamagui/adapt": "3.1.
|
|
320
|
-
"@tamagui/alert-dialog": "3.1.
|
|
321
|
-
"@tamagui/animate": "3.1.
|
|
322
|
-
"@tamagui/animate-presence": "3.1.
|
|
323
|
-
"@tamagui/avatar": "3.1.
|
|
324
|
-
"@tamagui/button": "3.1.
|
|
325
|
-
"@tamagui/card": "3.1.
|
|
326
|
-
"@tamagui/checkbox": "3.1.
|
|
327
|
-
"@tamagui/collapsible": "3.1.
|
|
328
|
-
"@tamagui/compose-refs": "3.1.
|
|
329
|
-
"@tamagui/constants": "3.1.
|
|
330
|
-
"@tamagui/context-menu": "3.1.
|
|
331
|
-
"@tamagui/core": "3.1.
|
|
332
|
-
"@tamagui/create-context": "3.1.
|
|
333
|
-
"@tamagui/create-menu": "3.1.
|
|
334
|
-
"@tamagui/dialog": "3.1.
|
|
335
|
-
"@tamagui/element": "3.1.
|
|
336
|
-
"@tamagui/fake-react-native": "3.1.
|
|
337
|
-
"@tamagui/field": "3.1.
|
|
338
|
-
"@tamagui/focusable": "3.1.
|
|
339
|
-
"@tamagui/font-size": "3.1.
|
|
340
|
-
"@tamagui/form": "3.1.
|
|
341
|
-
"@tamagui/get-font-sized": "3.1.
|
|
342
|
-
"@tamagui/get-token": "3.1.
|
|
343
|
-
"@tamagui/group": "3.1.
|
|
344
|
-
"@tamagui/helpers-tamagui": "3.1.
|
|
345
|
-
"@tamagui/image": "3.1.
|
|
346
|
-
"@tamagui/input": "3.1.
|
|
347
|
-
"@tamagui/label": "3.1.
|
|
348
|
-
"@tamagui/linear-gradient": "3.1.
|
|
349
|
-
"@tamagui/list-item": "3.1.
|
|
350
|
-
"@tamagui/menu": "3.1.
|
|
351
|
-
"@tamagui/polyfill-dev": "3.1.
|
|
352
|
-
"@tamagui/popover": "3.1.
|
|
353
|
-
"@tamagui/popper": "3.1.
|
|
354
|
-
"@tamagui/portal": "3.1.
|
|
355
|
-
"@tamagui/progress": "3.1.
|
|
356
|
-
"@tamagui/radio-group": "3.1.
|
|
357
|
-
"@tamagui/react-native-media-driver": "3.1.
|
|
358
|
-
"@tamagui/react-native-types": "3.1.
|
|
359
|
-
"@tamagui/scroll-view": "3.1.
|
|
360
|
-
"@tamagui/select": "3.1.
|
|
361
|
-
"@tamagui/separator": "3.1.
|
|
362
|
-
"@tamagui/shapes": "3.1.
|
|
363
|
-
"@tamagui/sheet": "3.1.
|
|
364
|
-
"@tamagui/slider": "3.1.
|
|
365
|
-
"@tamagui/spacer": "3.1.
|
|
366
|
-
"@tamagui/spinner": "3.1.
|
|
367
|
-
"@tamagui/stacks": "3.1.
|
|
368
|
-
"@tamagui/switch": "3.1.
|
|
369
|
-
"@tamagui/tabs": "3.1.
|
|
370
|
-
"@tamagui/text": "3.1.
|
|
371
|
-
"@tamagui/theme": "3.1.
|
|
372
|
-
"@tamagui/toast": "3.1.
|
|
373
|
-
"@tamagui/toggle-group": "3.1.
|
|
374
|
-
"@tamagui/tooltip": "3.1.
|
|
375
|
-
"@tamagui/ui": "3.1.
|
|
376
|
-
"@tamagui/use-controllable-state": "3.1.
|
|
377
|
-
"@tamagui/use-debounce": "3.1.
|
|
378
|
-
"@tamagui/use-force-update": "3.1.
|
|
379
|
-
"@tamagui/use-window-dimensions": "3.1.
|
|
380
|
-
"@tamagui/visually-hidden": "3.1.
|
|
381
|
-
"@tamagui/z-index-stack": "3.1.
|
|
318
|
+
"@tamagui/accordion": "3.1.8",
|
|
319
|
+
"@tamagui/adapt": "3.1.8",
|
|
320
|
+
"@tamagui/alert-dialog": "3.1.8",
|
|
321
|
+
"@tamagui/animate": "3.1.8",
|
|
322
|
+
"@tamagui/animate-presence": "3.1.8",
|
|
323
|
+
"@tamagui/avatar": "3.1.8",
|
|
324
|
+
"@tamagui/button": "3.1.8",
|
|
325
|
+
"@tamagui/card": "3.1.8",
|
|
326
|
+
"@tamagui/checkbox": "3.1.8",
|
|
327
|
+
"@tamagui/collapsible": "3.1.8",
|
|
328
|
+
"@tamagui/compose-refs": "3.1.8",
|
|
329
|
+
"@tamagui/constants": "3.1.8",
|
|
330
|
+
"@tamagui/context-menu": "3.1.8",
|
|
331
|
+
"@tamagui/core": "3.1.8",
|
|
332
|
+
"@tamagui/create-context": "3.1.8",
|
|
333
|
+
"@tamagui/create-menu": "3.1.8",
|
|
334
|
+
"@tamagui/dialog": "3.1.8",
|
|
335
|
+
"@tamagui/element": "3.1.8",
|
|
336
|
+
"@tamagui/fake-react-native": "3.1.8",
|
|
337
|
+
"@tamagui/field": "3.1.8",
|
|
338
|
+
"@tamagui/focusable": "3.1.8",
|
|
339
|
+
"@tamagui/font-size": "3.1.8",
|
|
340
|
+
"@tamagui/form": "3.1.8",
|
|
341
|
+
"@tamagui/get-font-sized": "3.1.8",
|
|
342
|
+
"@tamagui/get-token": "3.1.8",
|
|
343
|
+
"@tamagui/group": "3.1.8",
|
|
344
|
+
"@tamagui/helpers-tamagui": "3.1.8",
|
|
345
|
+
"@tamagui/image": "3.1.8",
|
|
346
|
+
"@tamagui/input": "3.1.8",
|
|
347
|
+
"@tamagui/label": "3.1.8",
|
|
348
|
+
"@tamagui/linear-gradient": "3.1.8",
|
|
349
|
+
"@tamagui/list-item": "3.1.8",
|
|
350
|
+
"@tamagui/menu": "3.1.8",
|
|
351
|
+
"@tamagui/polyfill-dev": "3.1.8",
|
|
352
|
+
"@tamagui/popover": "3.1.8",
|
|
353
|
+
"@tamagui/popper": "3.1.8",
|
|
354
|
+
"@tamagui/portal": "3.1.8",
|
|
355
|
+
"@tamagui/progress": "3.1.8",
|
|
356
|
+
"@tamagui/radio-group": "3.1.8",
|
|
357
|
+
"@tamagui/react-native-media-driver": "3.1.8",
|
|
358
|
+
"@tamagui/react-native-types": "3.1.8",
|
|
359
|
+
"@tamagui/scroll-view": "3.1.8",
|
|
360
|
+
"@tamagui/select": "3.1.8",
|
|
361
|
+
"@tamagui/separator": "3.1.8",
|
|
362
|
+
"@tamagui/shapes": "3.1.8",
|
|
363
|
+
"@tamagui/sheet": "3.1.8",
|
|
364
|
+
"@tamagui/slider": "3.1.8",
|
|
365
|
+
"@tamagui/spacer": "3.1.8",
|
|
366
|
+
"@tamagui/spinner": "3.1.8",
|
|
367
|
+
"@tamagui/stacks": "3.1.8",
|
|
368
|
+
"@tamagui/switch": "3.1.8",
|
|
369
|
+
"@tamagui/tabs": "3.1.8",
|
|
370
|
+
"@tamagui/text": "3.1.8",
|
|
371
|
+
"@tamagui/theme": "3.1.8",
|
|
372
|
+
"@tamagui/toast": "3.1.8",
|
|
373
|
+
"@tamagui/toggle-group": "3.1.8",
|
|
374
|
+
"@tamagui/tooltip": "3.1.8",
|
|
375
|
+
"@tamagui/ui": "3.1.8",
|
|
376
|
+
"@tamagui/use-controllable-state": "3.1.8",
|
|
377
|
+
"@tamagui/use-debounce": "3.1.8",
|
|
378
|
+
"@tamagui/use-force-update": "3.1.8",
|
|
379
|
+
"@tamagui/use-window-dimensions": "3.1.8",
|
|
380
|
+
"@tamagui/visually-hidden": "3.1.8",
|
|
381
|
+
"@tamagui/z-index-stack": "3.1.8"
|
|
382
382
|
},
|
|
383
383
|
"devDependencies": {
|
|
384
|
-
"@tamagui/build": "3.1.
|
|
384
|
+
"@tamagui/build": "3.1.8",
|
|
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": "
|
|
403
|
+
"releaseSourceCommit": "3ecd852835db022b4313b4542a3cb1e19d3e2b59"
|
|
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
|
|
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"}
|