@multiplatform.one/components 7.85.1 → 7.87.0
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/cjs/Chip/index.cjs +1 -1
- package/dist/cjs/Chip/index.native.js +1 -1
- package/dist/cjs/Chip/index.native.js.map +1 -1
- package/dist/cjs/ChoiceChips/index.cjs +63 -0
- package/dist/cjs/ChoiceChips/index.native.js +71 -0
- package/dist/cjs/ChoiceChips/index.native.js.map +1 -0
- package/dist/cjs/Dialog.cjs +86 -3
- package/dist/cjs/Dialog.native.js +94 -3
- package/dist/cjs/Dialog.native.js.map +1 -1
- package/dist/cjs/ThemePresetPicker/index.cjs +15 -32
- package/dist/cjs/ThemePresetPicker/index.native.js +17 -32
- package/dist/cjs/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/cjs/appShell/AppShell.cjs +28 -9
- package/dist/cjs/appShell/AppShell.native.js +55 -13
- package/dist/cjs/appShell/AppShell.native.js.map +1 -1
- package/dist/cjs/feedback/ConfirmDialog.cjs +15 -2
- package/dist/cjs/feedback/ConfirmDialog.native.js +16 -2
- package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/cjs/feedback/index.cjs +1 -0
- package/dist/cjs/feedback/index.native.js +1 -0
- package/dist/cjs/feedback/index.native.js.map +1 -1
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/index.native.js +1 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/layouts/AsyncBoundary.cjs +70 -21
- package/dist/cjs/layouts/AsyncBoundary.native.js +72 -21
- package/dist/cjs/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/cjs/layouts/IdentityPlate.cjs +17 -16
- package/dist/cjs/layouts/IdentityPlate.native.js +19 -18
- package/dist/cjs/layouts/IdentityPlate.native.js.map +1 -1
- package/dist/cjs/layouts/asyncFailure.cjs +104 -0
- package/dist/cjs/layouts/asyncFailure.native.js +133 -0
- package/dist/cjs/layouts/asyncFailure.native.js.map +1 -0
- package/dist/cjs/layouts/index.cjs +4 -1
- package/dist/cjs/layouts/index.native.js +3 -0
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/tamagui.cjs +1 -0
- package/dist/cjs/tamagui.native.js +1 -0
- package/dist/cjs/tamagui.native.js.map +1 -1
- package/dist/cjs/views/CardGrid.cjs +106 -0
- package/dist/cjs/views/CardGrid.native.js +116 -0
- package/dist/cjs/views/CardGrid.native.js.map +1 -0
- package/dist/cjs/views/ImageGrid.cjs +9 -2
- package/dist/cjs/views/ImageGrid.native.js +9 -2
- package/dist/cjs/views/ImageGrid.native.js.map +1 -1
- package/dist/cjs/views/index.cjs +2 -0
- package/dist/cjs/views/index.native.js +2 -0
- package/dist/cjs/views/index.native.js.map +1 -1
- package/dist/esm/Accordion/index.native.js.map +1 -1
- package/dist/esm/AnimateHeight/index.native.js.map +1 -1
- package/dist/esm/Avatar/getInitials.native.js.map +1 -1
- package/dist/esm/Avatar/index.native.js.map +1 -1
- package/dist/esm/Badge/index.native.js.map +1 -1
- package/dist/esm/Button.native.js.map +1 -1
- package/dist/esm/Carousel/geometry.native.js.map +1 -1
- package/dist/esm/Carousel/index.native.js.map +1 -1
- package/dist/esm/CheckGlyph/MenuCheckColumn.native.js.map +1 -1
- package/dist/esm/CheckGlyph/index.native.js.map +1 -1
- package/dist/esm/Chip/index.mjs +1 -1
- package/dist/esm/Chip/index.mjs.map +1 -1
- package/dist/esm/Chip/index.native.js +1 -1
- package/dist/esm/Chip/index.native.js.map +1 -1
- package/dist/esm/ChoiceChips/index.mjs +38 -0
- package/dist/esm/ChoiceChips/index.mjs.map +1 -0
- package/dist/esm/ChoiceChips/index.native.js +43 -0
- package/dist/esm/ChoiceChips/index.native.js.map +1 -0
- package/dist/esm/Collapsible.native.js.map +1 -1
- package/dist/esm/ContextMenu/index.native.js.map +1 -1
- package/dist/esm/CopyField/CopyMenuButton.native.js.map +1 -1
- package/dist/esm/CopyField/index.native.js.map +1 -1
- package/dist/esm/Dialog.mjs +88 -6
- package/dist/esm/Dialog.mjs.map +1 -1
- package/dist/esm/Dialog.native.js +96 -6
- package/dist/esm/Dialog.native.js.map +1 -1
- package/dist/esm/Diff/diff.native.js.map +1 -1
- package/dist/esm/Diff/index.native.js.map +1 -1
- package/dist/esm/DotIndicator/index.native.js.map +1 -1
- package/dist/esm/DropdownMenu/index.native.js.map +1 -1
- package/dist/esm/DropdownMenu/menuSettle.native.js.map +1 -1
- package/dist/esm/ElapsedProgress/index.native.js.map +1 -1
- package/dist/esm/ErrorBoundary/index.native.js.map +1 -1
- package/dist/esm/Heading.native.js.map +1 -1
- package/dist/esm/Kbd/index.native.js.map +1 -1
- package/dist/esm/Kbd/keys.native.js.map +1 -1
- package/dist/esm/Lightbox/MediaControl.native.js.map +1 -1
- package/dist/esm/Lightbox/index.gnome.native.js.map +1 -1
- package/dist/esm/Lightbox/shared.native.js.map +1 -1
- package/dist/esm/Lightbox/useLightbox.native.js.map +1 -1
- package/dist/esm/MachineLiteral/index.native.js.map +1 -1
- package/dist/esm/Material/index.native.js.map +1 -1
- package/dist/esm/Meter/index.native.js.map +1 -1
- package/dist/esm/Meter/meter.native.js.map +1 -1
- package/dist/esm/OverflowRow/index.native.js.map +1 -1
- package/dist/esm/Pagination.native.js.map +1 -1
- package/dist/esm/Popover.native.js.map +1 -1
- package/dist/esm/ProgressSteps/index.native.js.map +1 -1
- package/dist/esm/Quote/index.native.js.map +1 -1
- package/dist/esm/SchemeToggle/index.native.js.map +1 -1
- package/dist/esm/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/esm/Separator/index.native.js.map +1 -1
- package/dist/esm/Sheet.native.js.map +1 -1
- package/dist/esm/SheetModal/SheetHeader.native.js.map +1 -1
- package/dist/esm/SheetModal/SheetNavigation.native.js.map +1 -1
- package/dist/esm/SheetModal/detents.native.js.map +1 -1
- package/dist/esm/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/esm/Skeleton/index.native.js.map +1 -1
- package/dist/esm/SkipLink/index.native.js.map +1 -1
- package/dist/esm/SortableList/SortableHandle.native.js.map +1 -1
- package/dist/esm/SortableList/index.native.js.map +1 -1
- package/dist/esm/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/esm/SortableList/useUserOrder.native.js.map +1 -1
- package/dist/esm/Tabs/index.native.js.map +1 -1
- package/dist/esm/Text.native.js.map +1 -1
- package/dist/esm/ThemePresetPicker/index.mjs +16 -33
- package/dist/esm/ThemePresetPicker/index.mjs.map +1 -1
- package/dist/esm/ThemePresetPicker/index.native.js +18 -33
- package/dist/esm/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/esm/Toast/index.native.js.map +1 -1
- package/dist/esm/Toast/store.native.js.map +1 -1
- package/dist/esm/Tooltip/nativePress.native.js.map +1 -1
- package/dist/esm/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/esm/TreeSelect/index.native.js.map +1 -1
- package/dist/esm/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/esm/Video/PlayerChrome.native.js.map +1 -1
- package/dist/esm/Video/VideoFrame.native.js.map +1 -1
- package/dist/esm/Video/types.native.js.map +1 -1
- package/dist/esm/Wheel/index.native.js.map +1 -1
- package/dist/esm/Wizard/index.native.js.map +1 -1
- package/dist/esm/actions/ActionBar.native.js.map +1 -1
- package/dist/esm/actions/DangerSection.native.js.map +1 -1
- package/dist/esm/actions/DestructiveAction.native.js.map +1 -1
- package/dist/esm/actions/HeaderActions.native.js.map +1 -1
- package/dist/esm/actions/StandardAction.native.js.map +1 -1
- package/dist/esm/actions/devWarn.native.js.map +1 -1
- package/dist/esm/actions/index.native.js.map +1 -1
- package/dist/esm/actions/severity.native.js.map +1 -1
- package/dist/esm/appShell/AppShell.mjs +28 -9
- package/dist/esm/appShell/AppShell.mjs.map +1 -1
- package/dist/esm/appShell/AppShell.native.js +55 -13
- package/dist/esm/appShell/AppShell.native.js.map +1 -1
- package/dist/esm/appShell/BottomChromeClearance.native.js.map +1 -1
- package/dist/esm/appShell/Dock.native.js.map +1 -1
- package/dist/esm/appShell/MpoTabHost.native.js.map +1 -1
- package/dist/esm/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/esm/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/esm/appShell/Springboard.native.js.map +1 -1
- package/dist/esm/appShell/SystemBar.native.js.map +1 -1
- package/dist/esm/appShell/TabBar.native.js.map +1 -1
- package/dist/esm/appShell/appTile.native.js.map +1 -1
- package/dist/esm/appShell/bottomChrome.native.js.map +1 -1
- package/dist/esm/appShell/index.native.js.map +1 -1
- package/dist/esm/charts/Axis.native.js.map +1 -1
- package/dist/esm/charts/BarChart.native.js.map +1 -1
- package/dist/esm/charts/ChartDataView.native.js.map +1 -1
- package/dist/esm/charts/ChartSurface.native.js.map +1 -1
- package/dist/esm/charts/LineChart.native.js.map +1 -1
- package/dist/esm/charts/PieChart.native.js.map +1 -1
- package/dist/esm/charts/Sparkline.native.js.map +1 -1
- package/dist/esm/charts/accessibility.native.js.map +1 -1
- package/dist/esm/charts/chartHeight.native.js.map +1 -1
- package/dist/esm/charts/composeChart.native.js.map +1 -1
- package/dist/esm/charts/index.native.js.map +1 -1
- package/dist/esm/charts/math.native.js.map +1 -1
- package/dist/esm/charts/series.native.js.map +1 -1
- package/dist/esm/charts/svg.native.js.map +1 -1
- package/dist/esm/charts/types.native.js.map +1 -1
- package/dist/esm/charts/useChartTheme.native.js.map +1 -1
- package/dist/esm/code/Code/index.native.js.map +1 -1
- package/dist/esm/code/CodeBlock/index.native.js.map +1 -1
- package/dist/esm/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/esm/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/esm/code/Highlighter/index.native.js.map +1 -1
- package/dist/esm/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
- package/dist/esm/code/LogView.native.js.map +1 -1
- package/dist/esm/code/Pre/index.native.js.map +1 -1
- package/dist/esm/code/index.native.js.map +1 -1
- package/dist/esm/componentColors.native.js.map +1 -1
- package/dist/esm/feedback/ConfirmDialog.mjs +14 -2
- package/dist/esm/feedback/ConfirmDialog.mjs.map +1 -1
- package/dist/esm/feedback/ConfirmDialog.native.js +15 -2
- package/dist/esm/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/esm/feedback/NotifyHost.native.js.map +1 -1
- package/dist/esm/feedback/copy.native.js.map +1 -1
- package/dist/esm/feedback/index.mjs +2 -2
- package/dist/esm/feedback/index.mjs.map +1 -1
- package/dist/esm/feedback/index.native.js +2 -2
- package/dist/esm/feedback/index.native.js.map +1 -1
- package/dist/esm/feedback/notify.native.js.map +1 -1
- package/dist/esm/feedback/route.native.js.map +1 -1
- package/dist/esm/feedback/store.native.js.map +1 -1
- package/dist/esm/formLayouts/FormLayouts.native.js.map +1 -1
- package/dist/esm/formLayouts/PreferencePanel.native.js.map +1 -1
- package/dist/esm/formLayouts/index.native.js.map +1 -1
- package/dist/esm/hooks/index.native.js.map +1 -1
- package/dist/esm/hooks/useClipboard.native.js.map +1 -1
- package/dist/esm/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/esm/hooks/useHoldCue.native.js.map +1 -1
- package/dist/esm/icons/CheckRegular.native.js.map +1 -1
- package/dist/esm/icons/MinusRegular.native.js.map +1 -1
- package/dist/esm/icons/index.native.js.map +1 -1
- package/dist/esm/icons/lucide.native.js.map +1 -1
- package/dist/esm/icons/themed.native.js.map +1 -1
- package/dist/esm/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/esm/images/Image/framing.native.js.map +1 -1
- package/dist/esm/images/Image/mediaRadius.native.js.map +1 -1
- package/dist/esm/images/Image/shared.native.js.map +1 -1
- package/dist/esm/images/Image/types.native.js.map +1 -1
- package/dist/esm/images/index.native.js.map +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +1 -0
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/knobImmuneExports.native.js.map +1 -1
- package/dist/esm/layouts/AsyncBoundary.mjs +70 -21
- package/dist/esm/layouts/AsyncBoundary.mjs.map +1 -1
- package/dist/esm/layouts/AsyncBoundary.native.js +72 -21
- package/dist/esm/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/esm/layouts/Debug/index.native.js.map +1 -1
- package/dist/esm/layouts/EmptyState.native.js.map +1 -1
- package/dist/esm/layouts/IdentityPlate.mjs +17 -16
- package/dist/esm/layouts/IdentityPlate.mjs.map +1 -1
- package/dist/esm/layouts/IdentityPlate.native.js +19 -18
- package/dist/esm/layouts/IdentityPlate.native.js.map +1 -1
- package/dist/esm/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
- package/dist/esm/layouts/PageTemplates.native.js.map +1 -1
- package/dist/esm/layouts/PaneScaffold.native.js.map +1 -1
- package/dist/esm/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
- package/dist/esm/layouts/StatusDot.native.js.map +1 -1
- package/dist/esm/layouts/StatusGlyphStrip.native.js.map +1 -1
- package/dist/esm/layouts/ViewSwitcher.native.js.map +1 -1
- package/dist/esm/layouts/asyncFailure.mjs +78 -0
- package/dist/esm/layouts/asyncFailure.mjs.map +1 -0
- package/dist/esm/layouts/asyncFailure.native.js +104 -0
- package/dist/esm/layouts/asyncFailure.native.js.map +1 -0
- package/dist/esm/layouts/attachments.native.js.map +1 -1
- package/dist/esm/layouts/barTitleSpan.native.js.map +1 -1
- package/dist/esm/layouts/bottomAccessory.native.js.map +1 -1
- package/dist/esm/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/esm/layouts/index.mjs +2 -1
- package/dist/esm/layouts/index.mjs.map +1 -1
- package/dist/esm/layouts/index.native.js +2 -1
- package/dist/esm/layouts/index.native.js.map +1 -1
- package/dist/esm/layouts/page.native.js.map +1 -1
- package/dist/esm/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/esm/layouts/screenScroll.native.js.map +1 -1
- package/dist/esm/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/esm/layouts/sidebar.native.js.map +1 -1
- package/dist/esm/layouts/tags.native.js.map +1 -1
- package/dist/esm/layouts/timeline.native.js.map +1 -1
- package/dist/esm/layouts/toolbar.native.js.map +1 -1
- package/dist/esm/shared/actionScan.native.js.map +1 -1
- package/dist/esm/shared/i18n.native.js.map +1 -1
- package/dist/esm/shared/restoreRetries.native.js.map +1 -1
- package/dist/esm/shared/t.native.js.map +1 -1
- package/dist/esm/shared/textRidesText.native.js.map +1 -1
- package/dist/esm/shared/useReturnFocusOnClose.native.js.map +1 -1
- package/dist/esm/surfaces.native.js.map +1 -1
- package/dist/esm/tamagui.mjs +2 -2
- package/dist/esm/tamagui.mjs.map +1 -1
- package/dist/esm/tamagui.native.js +2 -2
- package/dist/esm/tamagui.native.js.map +1 -1
- package/dist/esm/testSetup.native.js.map +1 -1
- package/dist/esm/utils/setTinted.native.js.map +1 -1
- package/dist/esm/utils/unwrapText.native.js.map +1 -1
- package/dist/esm/views/Calendar.native.js.map +1 -1
- package/dist/esm/views/CardGrid.mjs +70 -0
- package/dist/esm/views/CardGrid.mjs.map +1 -0
- package/dist/esm/views/CardGrid.native.js +77 -0
- package/dist/esm/views/CardGrid.native.js.map +1 -0
- package/dist/esm/views/Dashboard.native.js.map +1 -1
- package/dist/esm/views/Gantt.native.js.map +1 -1
- package/dist/esm/views/GanttDateGrip.native.js.map +1 -1
- package/dist/esm/views/ImageGrid.mjs +9 -3
- package/dist/esm/views/ImageGrid.mjs.map +1 -1
- package/dist/esm/views/ImageGrid.native.js +9 -3
- package/dist/esm/views/ImageGrid.native.js.map +1 -1
- package/dist/esm/views/List.native.js.map +1 -1
- package/dist/esm/views/ListGroup.native.js.map +1 -1
- package/dist/esm/views/ListRow.native.js.map +1 -1
- package/dist/esm/views/Matrix.native.js.map +1 -1
- package/dist/esm/views/ReportBuilder.native.js.map +1 -1
- package/dist/esm/views/ShortcutCard.native.js.map +1 -1
- package/dist/esm/views/TreeView.native.js.map +1 -1
- package/dist/esm/views/calendarMath.native.js.map +1 -1
- package/dist/esm/views/ganttIntervals.native.js.map +1 -1
- package/dist/esm/views/ganttMath.native.js.map +1 -1
- package/dist/esm/views/index.mjs +2 -1
- package/dist/esm/views/index.mjs.map +1 -1
- package/dist/esm/views/index.native.js +2 -1
- package/dist/esm/views/index.native.js.map +1 -1
- package/dist/esm/views/kanbanDnd.native.js.map +1 -1
- package/dist/esm/views/matrixMath.native.js.map +1 -1
- package/dist/esm/views/sameNameScope.native.js.map +1 -1
- package/dist/esm/views/treeViewDnd.native.js.map +1 -1
- package/dist/esm/views/treeViewLayout.native.js.map +1 -1
- package/dist/esm/views/treeViewMotion.native.js.map +1 -1
- package/dist/esm/views/treeViewReveal.native.js.map +1 -1
- package/dist/esm/views/usePageFlowLoadMore.native.js.map +1 -1
- package/dist/esm/views/widgetChrome.native.js.map +1 -1
- package/dist/jsx/Chip/index.mjs +1 -1
- package/dist/jsx/Chip/index.mjs.map +1 -1
- package/dist/jsx/Chip/index.native.js +1 -1
- package/dist/jsx/Chip/index.native.js.map +1 -1
- package/dist/jsx/ChoiceChips/index.mjs +38 -0
- package/dist/jsx/ChoiceChips/index.mjs.map +1 -0
- package/dist/jsx/ChoiceChips/index.native.js +71 -0
- package/dist/jsx/ChoiceChips/index.native.js.map +1 -0
- package/dist/jsx/Dialog.mjs +88 -6
- package/dist/jsx/Dialog.mjs.map +1 -1
- package/dist/jsx/Dialog.native.js +94 -3
- package/dist/jsx/Dialog.native.js.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.mjs +16 -33
- package/dist/jsx/ThemePresetPicker/index.mjs.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.native.js +17 -32
- package/dist/jsx/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/jsx/appShell/AppShell.mjs +28 -9
- package/dist/jsx/appShell/AppShell.mjs.map +1 -1
- package/dist/jsx/appShell/AppShell.native.js +55 -13
- package/dist/jsx/appShell/AppShell.native.js.map +1 -1
- package/dist/jsx/feedback/ConfirmDialog.mjs +14 -2
- package/dist/jsx/feedback/ConfirmDialog.mjs.map +1 -1
- package/dist/jsx/feedback/ConfirmDialog.native.js +16 -2
- package/dist/jsx/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/jsx/feedback/index.mjs +2 -2
- package/dist/jsx/feedback/index.mjs.map +1 -1
- package/dist/jsx/feedback/index.native.js +1 -0
- package/dist/jsx/feedback/index.native.js.map +1 -1
- package/dist/jsx/index.js +1 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +1 -0
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/jsx/index.native.js +1 -0
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/layouts/AsyncBoundary.mjs +70 -21
- package/dist/jsx/layouts/AsyncBoundary.mjs.map +1 -1
- package/dist/jsx/layouts/AsyncBoundary.native.js +72 -21
- package/dist/jsx/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/jsx/layouts/IdentityPlate.mjs +17 -16
- package/dist/jsx/layouts/IdentityPlate.mjs.map +1 -1
- package/dist/jsx/layouts/IdentityPlate.native.js +19 -18
- package/dist/jsx/layouts/IdentityPlate.native.js.map +1 -1
- package/dist/jsx/layouts/asyncFailure.mjs +78 -0
- package/dist/jsx/layouts/asyncFailure.mjs.map +1 -0
- package/dist/jsx/layouts/asyncFailure.native.js +133 -0
- package/dist/jsx/layouts/asyncFailure.native.js.map +1 -0
- package/dist/jsx/layouts/index.mjs +2 -1
- package/dist/jsx/layouts/index.mjs.map +1 -1
- package/dist/jsx/layouts/index.native.js +3 -0
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/tamagui.mjs +2 -2
- package/dist/jsx/tamagui.mjs.map +1 -1
- package/dist/jsx/tamagui.native.js +1 -0
- package/dist/jsx/tamagui.native.js.map +1 -1
- package/dist/jsx/views/CardGrid.mjs +70 -0
- package/dist/jsx/views/CardGrid.mjs.map +1 -0
- package/dist/jsx/views/CardGrid.native.js +116 -0
- package/dist/jsx/views/CardGrid.native.js.map +1 -0
- package/dist/jsx/views/ImageGrid.mjs +9 -3
- package/dist/jsx/views/ImageGrid.mjs.map +1 -1
- package/dist/jsx/views/ImageGrid.native.js +9 -2
- package/dist/jsx/views/ImageGrid.native.js.map +1 -1
- package/dist/jsx/views/index.mjs +2 -1
- package/dist/jsx/views/index.mjs.map +1 -1
- package/dist/jsx/views/index.native.js +2 -0
- package/dist/jsx/views/index.native.js.map +1 -1
- package/package.json +9 -9
- package/src/Chip/index.tsx +5 -2
- package/src/ChoiceChips/ChoiceChips.spec.tsx +58 -0
- package/src/ChoiceChips/ChoiceChips.stories.tsx +49 -0
- package/src/ChoiceChips/index.tsx +57 -0
- package/src/Dialog.phoneSheet.spec.tsx +186 -0
- package/src/Dialog.tsx +143 -5
- package/src/ThemePresetPicker/ThemePresetPicker.spec.tsx +5 -13
- package/src/ThemePresetPicker/index.tsx +16 -41
- package/src/appShell/AppShell.spec.tsx +47 -0
- package/src/appShell/AppShell.stories.spec.tsx +27 -0
- package/src/appShell/AppShell.stories.tsx +82 -11
- package/src/appShell/AppShell.tsx +36 -12
- package/src/feedback/ConfirmDialog.tsx +26 -2
- package/src/feedback/index.ts +1 -1
- package/src/index.ts +1 -0
- package/src/layouts/AsyncBoundary.reason.spec.tsx +161 -0
- package/src/layouts/AsyncBoundary.stories.tsx +26 -0
- package/src/layouts/AsyncBoundary.tsx +107 -25
- package/src/layouts/IdentityPlate.native-press.spec.tsx +71 -0
- package/src/layouts/IdentityPlate.spec.tsx +69 -0
- package/src/layouts/IdentityPlate.tsx +14 -17
- package/src/layouts/asyncFailure.ts +110 -0
- package/src/layouts/index.tsx +7 -0
- package/src/layouts/pageTitleOneLine.spec.tsx +26 -0
- package/src/overlayStack.native-press.spec.tsx +34 -0
- package/src/surfaces.spec.tsx +42 -0
- package/src/tamagui.ts +8 -2
- package/src/testUtilsTimeouts.spec.ts +8 -0
- package/src/views/CardGrid.spec.tsx +95 -0
- package/src/views/CardGrid.stories.tsx +70 -0
- package/src/views/CardGrid.tsx +85 -0
- package/src/views/ImageGrid.tsx +13 -5
- package/src/views/index.ts +1 -0
- package/types/Chip/index.d.ts +4 -1
- package/types/Chip/index.d.ts.map +1 -1
- package/types/ChoiceChips/index.d.ts +24 -0
- package/types/ChoiceChips/index.d.ts.map +1 -0
- package/types/Dialog.d.ts +262 -2
- package/types/Dialog.d.ts.map +1 -1
- package/types/ThemePresetPicker/index.d.ts +1 -3
- package/types/ThemePresetPicker/index.d.ts.map +1 -1
- package/types/appShell/AppShell.d.ts +8 -0
- package/types/appShell/AppShell.d.ts.map +1 -1
- package/types/feedback/ConfirmDialog.d.ts +13 -1
- package/types/feedback/ConfirmDialog.d.ts.map +1 -1
- package/types/feedback/index.d.ts +1 -1
- package/types/feedback/index.d.ts.map +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/layouts/AsyncBoundary.d.ts +16 -1
- package/types/layouts/AsyncBoundary.d.ts.map +1 -1
- package/types/layouts/IdentityPlate.d.ts +1 -1
- package/types/layouts/IdentityPlate.d.ts.map +1 -1
- package/types/layouts/asyncFailure.d.ts +21 -0
- package/types/layouts/asyncFailure.d.ts.map +1 -0
- package/types/layouts/index.d.ts +1 -0
- package/types/layouts/index.d.ts.map +1 -1
- package/types/tamagui.d.ts +2 -2
- package/types/tamagui.d.ts.map +1 -1
- package/types/views/CardGrid.d.ts +10 -0
- package/types/views/CardGrid.d.ts.map +1 -0
- package/types/views/ImageGrid.d.ts +10 -1
- package/types/views/ImageGrid.d.ts.map +1 -1
- package/types/views/index.d.ts +1 -0
- package/types/views/index.d.ts.map +1 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
+
get: () => from[key],
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
}), mod);
|
|
23
|
+
var asyncFailure_exports = {};
|
|
24
|
+
__export(asyncFailure_exports, {
|
|
25
|
+
asyncFailure: () => asyncFailure,
|
|
26
|
+
isReasonCode: () => isReasonCode
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(asyncFailure_exports);
|
|
29
|
+
const defaultReasons = {
|
|
30
|
+
timeout: {
|
|
31
|
+
cause: "The server took too long to answer."
|
|
32
|
+
},
|
|
33
|
+
busy: {
|
|
34
|
+
cause: "The server is busy."
|
|
35
|
+
},
|
|
36
|
+
unreachable: {
|
|
37
|
+
cause: "Can't reach the server."
|
|
38
|
+
},
|
|
39
|
+
down: {
|
|
40
|
+
cause: "The server is down."
|
|
41
|
+
},
|
|
42
|
+
failed: {
|
|
43
|
+
cause: "The server couldn't finish the request."
|
|
44
|
+
},
|
|
45
|
+
too_large: {
|
|
46
|
+
cause: "The response is too large to load.",
|
|
47
|
+
retry: false,
|
|
48
|
+
next: "Retrying won't help until the view asks for less."
|
|
49
|
+
},
|
|
50
|
+
credentials_refused: {
|
|
51
|
+
cause: "The server turned down its login.",
|
|
52
|
+
retry: false,
|
|
53
|
+
next: "Retrying won't help until its login is fixed."
|
|
54
|
+
},
|
|
55
|
+
session_ended: {
|
|
56
|
+
cause: "Your session ended.",
|
|
57
|
+
retry: false,
|
|
58
|
+
next: "Sign out and back in."
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const families = [[/timeout|timed_out/, "timeout"], [/too_large|payload_large/, "too_large"], [/denied_login|credentials|source_denied/, "credentials_refused"], [/authentication|session_expired|session_ended|unauthori[sz]ed|login_required/, "session_ended"], [/unreachable|connection_refused|network/, "unreachable"], [/busy|overloaded|rate_limit/, "busy"], [/_down$|^down$|unavailable/, "down"]];
|
|
62
|
+
const refusals = /permission|forbidden|not_permitted|not_allowed/;
|
|
63
|
+
const codeShape = /^[a-z0-9_.:-]+$/;
|
|
64
|
+
function isReasonCode(value) {
|
|
65
|
+
if (typeof value !== "string" || !codeShape.test(value)) return false;
|
|
66
|
+
if (/[_.:-]/.test(value) || value in defaultReasons) return true;
|
|
67
|
+
return refusals.test(value) || families.some(([pattern]) => pattern.test(value));
|
|
68
|
+
}
|
|
69
|
+
function lookup(code, reasons) {
|
|
70
|
+
const own = reasons?.[code];
|
|
71
|
+
if (own) return own;
|
|
72
|
+
const exact = defaultReasons[code];
|
|
73
|
+
if (exact) return exact;
|
|
74
|
+
for (const [pattern, family] of families) {
|
|
75
|
+
if (pattern.test(code)) return reasons?.[family] ?? defaultReasons[family];
|
|
76
|
+
}
|
|
77
|
+
return reasons?.failed ?? defaultReasons.failed;
|
|
78
|
+
}
|
|
79
|
+
function asyncFailure({
|
|
80
|
+
subject,
|
|
81
|
+
reason,
|
|
82
|
+
retry = false,
|
|
83
|
+
live = false,
|
|
84
|
+
reasons
|
|
85
|
+
}) {
|
|
86
|
+
const code = typeof reason === "string" && codeShape.test(reason) ? reason : "failed";
|
|
87
|
+
if (refusals.test(code) && !reasons?.[code]) {
|
|
88
|
+
return {
|
|
89
|
+
title: subject ? `${subject} isn't open to this account` : "This isn't open to this account",
|
|
90
|
+
description: "Ask an admin for access.",
|
|
91
|
+
retry: false,
|
|
92
|
+
refusal: true
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
const entry = lookup(code, reasons);
|
|
96
|
+
const retryable = entry.retry !== false;
|
|
97
|
+
const next = entry.next ?? (retryable && retry ? live ? "It will retry; tap Retry to try now." : "Tap Retry to try again." : "Try again later.");
|
|
98
|
+
return {
|
|
99
|
+
title: subject ? `${subject} didn't load` : "Couldn't load data",
|
|
100
|
+
description: `${entry.cause} ${next}`,
|
|
101
|
+
retry: retryable && retry,
|
|
102
|
+
refusal: false
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
+
value: true
|
|
24
|
+
}), mod);
|
|
25
|
+
var asyncFailure_exports = {};
|
|
26
|
+
__export(asyncFailure_exports, {
|
|
27
|
+
asyncFailure: () => asyncFailure,
|
|
28
|
+
isReasonCode: () => isReasonCode
|
|
29
|
+
});
|
|
30
|
+
module.exports = __toCommonJS(asyncFailure_exports);
|
|
31
|
+
var defaultReasons = {
|
|
32
|
+
timeout: {
|
|
33
|
+
cause: "The server took too long to answer."
|
|
34
|
+
},
|
|
35
|
+
busy: {
|
|
36
|
+
cause: "The server is busy."
|
|
37
|
+
},
|
|
38
|
+
unreachable: {
|
|
39
|
+
cause: "Can't reach the server."
|
|
40
|
+
},
|
|
41
|
+
down: {
|
|
42
|
+
cause: "The server is down."
|
|
43
|
+
},
|
|
44
|
+
failed: {
|
|
45
|
+
cause: "The server couldn't finish the request."
|
|
46
|
+
},
|
|
47
|
+
too_large: {
|
|
48
|
+
cause: "The response is too large to load.",
|
|
49
|
+
retry: false,
|
|
50
|
+
next: "Retrying won't help until the view asks for less."
|
|
51
|
+
},
|
|
52
|
+
credentials_refused: {
|
|
53
|
+
cause: "The server turned down its login.",
|
|
54
|
+
retry: false,
|
|
55
|
+
next: "Retrying won't help until its login is fixed."
|
|
56
|
+
},
|
|
57
|
+
session_ended: {
|
|
58
|
+
cause: "Your session ended.",
|
|
59
|
+
retry: false,
|
|
60
|
+
next: "Sign out and back in."
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
var families = [[/timeout|timed_out/, "timeout"], [/too_large|payload_large/, "too_large"], [/denied_login|credentials|source_denied/, "credentials_refused"], [/authentication|session_expired|session_ended|unauthori[sz]ed|login_required/, "session_ended"], [/unreachable|connection_refused|network/, "unreachable"], [/busy|overloaded|rate_limit/, "busy"], [/_down$|^down$|unavailable/, "down"]];
|
|
64
|
+
var refusals = /permission|forbidden|not_permitted|not_allowed/;
|
|
65
|
+
var codeShape = /^[a-z0-9_.:-]+$/;
|
|
66
|
+
function isReasonCode(value) {
|
|
67
|
+
if (typeof value !== "string" || !codeShape.test(value)) return false;
|
|
68
|
+
if (/[_.:-]/.test(value) || value in defaultReasons) return true;
|
|
69
|
+
return refusals.test(value) || families.some(function (param) {
|
|
70
|
+
var [pattern] = param;
|
|
71
|
+
return pattern.test(value);
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function lookup(code, reasons) {
|
|
75
|
+
var _ref;
|
|
76
|
+
var own = reasons === null || reasons === void 0 ? void 0 : reasons[code];
|
|
77
|
+
if (own) return own;
|
|
78
|
+
var exact = defaultReasons[code];
|
|
79
|
+
if (exact) return exact;
|
|
80
|
+
var _iteratorNormalCompletion = true,
|
|
81
|
+
_didIteratorError = false,
|
|
82
|
+
_iteratorError = void 0;
|
|
83
|
+
try {
|
|
84
|
+
for (var _iterator = families[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
85
|
+
var [pattern, family] = _step.value;
|
|
86
|
+
var _ref1;
|
|
87
|
+
if (pattern.test(code)) return (_ref1 = reasons === null || reasons === void 0 ? void 0 : reasons[family]) !== null && _ref1 !== void 0 ? _ref1 : defaultReasons[family];
|
|
88
|
+
}
|
|
89
|
+
} catch (err) {
|
|
90
|
+
_didIteratorError = true;
|
|
91
|
+
_iteratorError = err;
|
|
92
|
+
} finally {
|
|
93
|
+
try {
|
|
94
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
95
|
+
_iterator.return();
|
|
96
|
+
}
|
|
97
|
+
} finally {
|
|
98
|
+
if (_didIteratorError) {
|
|
99
|
+
throw _iteratorError;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return (_ref = reasons === null || reasons === void 0 ? void 0 : reasons.failed) !== null && _ref !== void 0 ? _ref : defaultReasons.failed;
|
|
104
|
+
}
|
|
105
|
+
function asyncFailure(param) {
|
|
106
|
+
var {
|
|
107
|
+
subject,
|
|
108
|
+
reason,
|
|
109
|
+
retry = false,
|
|
110
|
+
live = false,
|
|
111
|
+
reasons
|
|
112
|
+
} = param;
|
|
113
|
+
var _entry_next;
|
|
114
|
+
var code = typeof reason === "string" && codeShape.test(reason) ? reason : "failed";
|
|
115
|
+
if (refusals.test(code) && !(reasons === null || reasons === void 0 ? void 0 : reasons[code])) {
|
|
116
|
+
return {
|
|
117
|
+
title: subject ? `${subject} isn't open to this account` : "This isn't open to this account",
|
|
118
|
+
description: "Ask an admin for access.",
|
|
119
|
+
retry: false,
|
|
120
|
+
refusal: true
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
var entry = lookup(code, reasons);
|
|
124
|
+
var retryable = entry.retry !== false;
|
|
125
|
+
var next = (_entry_next = entry.next) !== null && _entry_next !== void 0 ? _entry_next : retryable && retry ? live ? "It will retry; tap Retry to try now." : "Tap Retry to try again." : "Try again later.";
|
|
126
|
+
return {
|
|
127
|
+
title: subject ? `${subject} didn't load` : "Couldn't load data",
|
|
128
|
+
description: `${entry.cause} ${next}`,
|
|
129
|
+
retry: retryable && retry,
|
|
130
|
+
refusal: false
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=asyncFailure.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","asyncFailure_exports","asyncFailure","isReasonCode","module","exports","defaultReasons","timeout","cause","busy","unreachable","down","failed","too_large","retry","next","credentials_refused","session_ended","families","refusals","codeShape","test","some","param","pattern","lookup","code","reasons","_ref","own","exact","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","done","family","_ref1","err","return","subject","reason","live","_entry_next","title","description","refusal","entry","retryable"],"sources":["asyncFailure.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar asyncFailure_exports = {};\n__export(asyncFailure_exports, {\n asyncFailure: () => asyncFailure,\n isReasonCode: () => isReasonCode\n});\nmodule.exports = __toCommonJS(asyncFailure_exports);\nvar defaultReasons = {\n timeout: {\n cause: \"The server took too long to answer.\"\n },\n busy: {\n cause: \"The server is busy.\"\n },\n unreachable: {\n cause: \"Can't reach the server.\"\n },\n down: {\n cause: \"The server is down.\"\n },\n failed: {\n cause: \"The server couldn't finish the request.\"\n },\n too_large: {\n cause: \"The response is too large to load.\",\n retry: false,\n next: \"Retrying won't help until the view asks for less.\"\n },\n credentials_refused: {\n cause: \"The server turned down its login.\",\n retry: false,\n next: \"Retrying won't help until its login is fixed.\"\n },\n session_ended: {\n cause: \"Your session ended.\",\n retry: false,\n next: \"Sign out and back in.\"\n }\n};\nvar families = [\n [\n /timeout|timed_out/,\n \"timeout\"\n ],\n [\n /too_large|payload_large/,\n \"too_large\"\n ],\n [\n /denied_login|credentials|source_denied/,\n \"credentials_refused\"\n ],\n [\n /authentication|session_expired|session_ended|unauthori[sz]ed|login_required/,\n \"session_ended\"\n ],\n [\n /unreachable|connection_refused|network/,\n \"unreachable\"\n ],\n [\n /busy|overloaded|rate_limit/,\n \"busy\"\n ],\n [\n /_down$|^down$|unavailable/,\n \"down\"\n ]\n];\nvar refusals = /permission|forbidden|not_permitted|not_allowed/;\nvar codeShape = /^[a-z0-9_.:-]+$/;\nfunction isReasonCode(value) {\n if (typeof value !== \"string\" || !codeShape.test(value)) return false;\n if (/[_.:-]/.test(value) || value in defaultReasons) return true;\n return refusals.test(value) || families.some(function(param) {\n var [pattern] = param;\n return pattern.test(value);\n });\n}\nfunction lookup(code, reasons) {\n var _ref;\n var own = reasons === null || reasons === void 0 ? void 0 : reasons[code];\n if (own) return own;\n var exact = defaultReasons[code];\n if (exact) return exact;\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = families[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var [pattern, family] = _step.value;\n var _ref1;\n if (pattern.test(code)) return (_ref1 = reasons === null || reasons === void 0 ? void 0 : reasons[family]) !== null && _ref1 !== void 0 ? _ref1 : defaultReasons[family];\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return (_ref = reasons === null || reasons === void 0 ? void 0 : reasons.failed) !== null && _ref !== void 0 ? _ref : defaultReasons.failed;\n}\nfunction asyncFailure(param) {\n var { subject, reason, retry = false, live = false, reasons } = param;\n var _entry_next;\n var code = typeof reason === \"string\" && codeShape.test(reason) ? reason : \"failed\";\n if (refusals.test(code) && !(reasons === null || reasons === void 0 ? void 0 : reasons[code])) {\n return {\n title: subject ? `${subject} isn't open to this account` : \"This isn't open to this account\",\n description: \"Ask an admin for access.\",\n retry: false,\n refusal: true\n };\n }\n var entry = lookup(code, reasons);\n var retryable = entry.retry !== false;\n var next = (_entry_next = entry.next) !== null && _entry_next !== void 0 ? _entry_next : retryable && retry ? live ? \"It will retry; tap Retry to try now.\" : \"Tap Retry to try again.\" : \"Try again later.\";\n return {\n title: subject ? `${subject} didn't load` : \"Couldn't load data\",\n description: `${entry.cause} ${next}`,\n retry: retryable && retry,\n refusal: false\n };\n}\n//# sourceMappingURL=asyncFailure.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CA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;EACA,IAAIC,KAAK,GAAGzB,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC;EACjC,IAAIwB,SAAS,GAAGD,KAAK,CAACpC,KAAK,KAAK,KAAK;EACrC,IAAIC,IAAI,GAAG,CAAC+B,WAAW,GAAGI,KAAK,CAACnC,IAAI,MAAM,IAAI,IAAI+B,WAAW,KAAK,KAAK,CAAC,GAAGA,WAAW,GAAGK,SAAS,IAAIrC,KAAK,GAAG+B,IAAI,GAAG,sCAAsC,GAAG,yBAAyB,GAAG,kBAAkB;EAC5M,OAAO;IACLE,KAAK,EAAEJ,OAAO,GAAG,GAAGA,OAAO,cAAc,GAAG,oBAAoB;IAChEK,WAAW,EAAE,GAAGE,KAAK,CAAC1C,KAAK,IAAIO,IAAI,EAAE;IACrCD,KAAK,EAAEqC,SAAS,IAAIrC,KAAK;IACzBmC,OAAO,EAAE;EACX,CAAC;AACH","ignoreList":[]}
|
|
@@ -31,7 +31,9 @@ __export(layouts_exports, {
|
|
|
31
31
|
StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,
|
|
32
32
|
StatusMark: () => import_StatusDot.StatusMark,
|
|
33
33
|
__resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,
|
|
34
|
+
asyncFailure: () => import_asyncFailure.asyncFailure,
|
|
34
35
|
asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,
|
|
36
|
+
isReasonCode: () => import_asyncFailure.isReasonCode,
|
|
35
37
|
resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,
|
|
36
38
|
statusToneInk: () => import_StatusDot.statusToneInk,
|
|
37
39
|
useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,
|
|
@@ -60,4 +62,5 @@ var import_EmptyState = require("./EmptyState.cjs");
|
|
|
60
62
|
var import_IdentityPlate = require("./IdentityPlate.cjs");
|
|
61
63
|
var import_StatusDot = require("./StatusDot.cjs");
|
|
62
64
|
var import_StatusGlyphStrip = require("./StatusGlyphStrip.cjs");
|
|
63
|
-
var import_AsyncBoundary = require("./AsyncBoundary.cjs");
|
|
65
|
+
var import_AsyncBoundary = require("./AsyncBoundary.cjs");
|
|
66
|
+
var import_asyncFailure = require("./asyncFailure.cjs");
|
|
@@ -33,7 +33,9 @@ __export(layouts_exports, {
|
|
|
33
33
|
StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,
|
|
34
34
|
StatusMark: () => import_StatusDot.StatusMark,
|
|
35
35
|
__resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,
|
|
36
|
+
asyncFailure: () => import_asyncFailure.asyncFailure,
|
|
36
37
|
asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,
|
|
38
|
+
isReasonCode: () => import_asyncFailure.isReasonCode,
|
|
37
39
|
resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,
|
|
38
40
|
statusToneInk: () => import_StatusDot.statusToneInk,
|
|
39
41
|
useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,
|
|
@@ -63,4 +65,5 @@ var import_IdentityPlate = require("./IdentityPlate.native.js");
|
|
|
63
65
|
var import_StatusDot = require("./StatusDot.native.js");
|
|
64
66
|
var import_StatusGlyphStrip = require("./StatusGlyphStrip.native.js");
|
|
65
67
|
var import_AsyncBoundary = require("./AsyncBoundary.native.js");
|
|
68
|
+
var import_asyncFailure = require("./asyncFailure.native.js");
|
|
66
69
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","layouts_exports","AsyncBoundary","import_AsyncBoundary","AsyncSkeleton","EmptyState","import_EmptyState","IdentityPlate","import_IdentityPlate","StatusDot","import_StatusDot","StatusGlyphStrip","import_StatusGlyphStrip","StatusMark","__resetAsyncDevWarnSeen","asyncLoadDelayMs","resolveAsyncStatus","statusToneInk","useAsyncBoundary","useAsyncCount","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar layouts_exports = {};\n__export(layouts_exports, {\n AsyncBoundary: () => import_AsyncBoundary.AsyncBoundary,\n AsyncSkeleton: () => import_AsyncBoundary.AsyncSkeleton,\n EmptyState: () => import_EmptyState.EmptyState,\n IdentityPlate: () => import_IdentityPlate.IdentityPlate,\n StatusDot: () => import_StatusDot.StatusDot,\n StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,\n StatusMark: () => import_StatusDot.StatusMark,\n __resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,\n asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,\n resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,\n statusToneInk: () => import_StatusDot.statusToneInk,\n useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,\n useAsyncCount: () => import_AsyncBoundary.useAsyncCount\n});\nmodule.exports = __toCommonJS(layouts_exports);\n__reExport(layouts_exports, require(\"./Debug\"), module.exports);\n__reExport(layouts_exports, require(\"./SafeAreaWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./KeyboardAvoidingWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./sidebar\"), module.exports);\n__reExport(layouts_exports, require(\"./toolbar\"), module.exports);\n__reExport(layouts_exports, require(\"./ViewSwitcher\"), module.exports);\n__reExport(layouts_exports, require(\"./breadcrumbs\"), module.exports);\n__reExport(layouts_exports, require(\"./attachments\"), module.exports);\n__reExport(layouts_exports, require(\"./tags\"), module.exports);\n__reExport(layouts_exports, require(\"./timeline\"), module.exports);\n__reExport(layouts_exports, require(\"./page\"), module.exports);\n__reExport(layouts_exports, require(\"./pageHeadingScope\"), module.exports);\n__reExport(layouts_exports, require(\"./screenScroll\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomAccessory\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomSafeArea\"), module.exports);\n__reExport(layouts_exports, require(\"./PageTemplates\"), module.exports);\n__reExport(layouts_exports, require(\"./shellSidebarSlot\"), module.exports);\n__reExport(layouts_exports, require(\"./PaneScaffold\"), module.exports);\nvar import_EmptyState = require(\"./EmptyState\");\nvar import_IdentityPlate = require(\"./IdentityPlate\");\nvar import_StatusDot = require(\"./StatusDot\");\nvar import_StatusGlyphStrip = require(\"./StatusGlyphStrip\");\nvar import_AsyncBoundary = require(\"./AsyncBoundary\");\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;E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CAACD,aAAa;EACvDE,aAAa,EAAEA,CAAA,KAAMD,oBAAoB,CAACC,aAAa;EACvDC,UAAU,EAAEA,CAAA,KAAMC,iBAAiB,CAACD,UAAU;EAC9CE,aAAa,EAAEA,CAAA,KAAMC,oBAAoB,CAACD,aAAa;EACvDE,SAAS,EAAEA,CAAA,KAAMC,gBAAgB,CAACD,SAAS;EAC3CE,gBAAgB,EAAEA,CAAA,KAAMC,uBAAuB,CAACD,gBAAgB;EAChEE,UAAU,EAAEA,CAAA,KAAMH,gBAAgB,CAACG,UAAU;EAC7CC,uBAAuB,EAAEA,CAAA,KAAMX,oBAAoB,CAACW,uBAAuB;EAC3EC,gBAAgB,EAAEA,CAAA,
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__reExport","mod","secondTarget","__toCommonJS","value","layouts_exports","AsyncBoundary","import_AsyncBoundary","AsyncSkeleton","EmptyState","import_EmptyState","IdentityPlate","import_IdentityPlate","StatusDot","import_StatusDot","StatusGlyphStrip","import_StatusGlyphStrip","StatusMark","__resetAsyncDevWarnSeen","asyncFailure","import_asyncFailure","asyncLoadDelayMs","isReasonCode","resolveAsyncStatus","statusToneInk","useAsyncBoundary","useAsyncCount","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar layouts_exports = {};\n__export(layouts_exports, {\n AsyncBoundary: () => import_AsyncBoundary.AsyncBoundary,\n AsyncSkeleton: () => import_AsyncBoundary.AsyncSkeleton,\n EmptyState: () => import_EmptyState.EmptyState,\n IdentityPlate: () => import_IdentityPlate.IdentityPlate,\n StatusDot: () => import_StatusDot.StatusDot,\n StatusGlyphStrip: () => import_StatusGlyphStrip.StatusGlyphStrip,\n StatusMark: () => import_StatusDot.StatusMark,\n __resetAsyncDevWarnSeen: () => import_AsyncBoundary.__resetAsyncDevWarnSeen,\n asyncFailure: () => import_asyncFailure.asyncFailure,\n asyncLoadDelayMs: () => import_AsyncBoundary.asyncLoadDelayMs,\n isReasonCode: () => import_asyncFailure.isReasonCode,\n resolveAsyncStatus: () => import_AsyncBoundary.resolveAsyncStatus,\n statusToneInk: () => import_StatusDot.statusToneInk,\n useAsyncBoundary: () => import_AsyncBoundary.useAsyncBoundary,\n useAsyncCount: () => import_AsyncBoundary.useAsyncCount\n});\nmodule.exports = __toCommonJS(layouts_exports);\n__reExport(layouts_exports, require(\"./Debug\"), module.exports);\n__reExport(layouts_exports, require(\"./SafeAreaWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./KeyboardAvoidingWrapper\"), module.exports);\n__reExport(layouts_exports, require(\"./sidebar\"), module.exports);\n__reExport(layouts_exports, require(\"./toolbar\"), module.exports);\n__reExport(layouts_exports, require(\"./ViewSwitcher\"), module.exports);\n__reExport(layouts_exports, require(\"./breadcrumbs\"), module.exports);\n__reExport(layouts_exports, require(\"./attachments\"), module.exports);\n__reExport(layouts_exports, require(\"./tags\"), module.exports);\n__reExport(layouts_exports, require(\"./timeline\"), module.exports);\n__reExport(layouts_exports, require(\"./page\"), module.exports);\n__reExport(layouts_exports, require(\"./pageHeadingScope\"), module.exports);\n__reExport(layouts_exports, require(\"./screenScroll\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomAccessory\"), module.exports);\n__reExport(layouts_exports, require(\"./bottomSafeArea\"), module.exports);\n__reExport(layouts_exports, require(\"./PageTemplates\"), module.exports);\n__reExport(layouts_exports, require(\"./shellSidebarSlot\"), module.exports);\n__reExport(layouts_exports, require(\"./PaneScaffold\"), module.exports);\nvar import_EmptyState = require(\"./EmptyState\");\nvar import_IdentityPlate = require(\"./IdentityPlate\");\nvar import_StatusDot = require(\"./StatusDot\");\nvar import_StatusGlyphStrip = require(\"./StatusGlyphStrip\");\nvar import_AsyncBoundary = require(\"./AsyncBoundary\");\nvar import_asyncFailure = require(\"./asyncFailure\");\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IA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AC,0BAAgB,CAAC","ignoreList":[]}
|
package/dist/cjs/tamagui.cjs
CHANGED
|
@@ -78,6 +78,7 @@ __export(tamagui_exports, {
|
|
|
78
78
|
isWeb: () => import_tamagui5.isWeb,
|
|
79
79
|
styled: () => import_tamagui5.styled,
|
|
80
80
|
useControllableState: () => import_tamagui4.useControllableState,
|
|
81
|
+
useDialogPresentsAsSheet: () => import_Dialog.useDialogPresentsAsSheet,
|
|
81
82
|
useDidFinishSSR: () => import_tamagui4.useDidFinishSSR,
|
|
82
83
|
useEvent: () => import_tamagui4.useEvent,
|
|
83
84
|
useMedia: () => import_tamagui4.useMedia,
|
|
@@ -80,6 +80,7 @@ __export(tamagui_exports, {
|
|
|
80
80
|
isWeb: () => import_tamagui5.isWeb,
|
|
81
81
|
styled: () => import_tamagui5.styled,
|
|
82
82
|
useControllableState: () => import_tamagui4.useControllableState,
|
|
83
|
+
useDialogPresentsAsSheet: () => import_Dialog.useDialogPresentsAsSheet,
|
|
83
84
|
useDidFinishSSR: () => import_tamagui4.useDidFinishSSR,
|
|
84
85
|
useEvent: () => import_tamagui4.useEvent,
|
|
85
86
|
useMedia: () => import_tamagui4.useMedia,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","tamagui_exports","AlertDialog","import_Dialog","AnimatePresence","import_tamagui3","Circle","import_tamagui","Collapsible","import_Collapsible","Dialog","Group","LinearGradient","import_linear_gradient","ListItem","Popover","import_Popover","Portal","import_tamagui2","PortalProvider","ScrollView","import_ScrollView","Sheet","import_Sheet","Spacer","Square","TamaguiAnchor","import_tamagui7","Anchor","TamaguiButton","import_tamagui6","Button","TamaguiCheckbox","Checkbox","TamaguiH1","H1","TamaguiH2","H2","TamaguiH3","H3","TamaguiH4","H4","TamaguiH5","H5","TamaguiH6","H6","TamaguiHeading","Heading","TamaguiInput","Input","TamaguiLabel","Label","TamaguiParagraph","Paragraph","TamaguiProgress","Progress","TamaguiProvider","TamaguiRadioGroup","RadioGroup","TamaguiSelect","Select","TamaguiSeparator","Separator","TamaguiSizableText","SizableText","TamaguiSlider","Slider","TamaguiSpinner","Spinner","TamaguiSwitch","Switch","TamaguiText","Text","TamaguiTextArea","TextArea","TamaguiToggleGroup","ToggleGroup","Theme","Unspaced","View","VisuallyHidden","XGroup","XStack","YGroup","YStack","createStyledContext","import_tamagui5","getToken","getTokenValue","getTokens","isClient","isWeb","styled","useControllableState","import_tamagui4","useDidFinishSSR","useEvent","useMedia","usePropsAndStyle","useTheme","useThemeName","withStaticProperties","module","exports","require"],"sources":["tamagui.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar tamagui_exports = {};\n__export(tamagui_exports, {\n AlertDialog: () => import_Dialog.AlertDialog,\n AnimatePresence: () => import_tamagui3.AnimatePresence,\n Circle: () => import_tamagui.Circle,\n Collapsible: () => import_Collapsible.Collapsible,\n Dialog: () => import_Dialog.Dialog,\n Group: () => import_tamagui.Group,\n LinearGradient: () => import_linear_gradient.LinearGradient,\n ListItem: () => import_tamagui.ListItem,\n Popover: () => import_Popover.Popover,\n Portal: () => import_tamagui2.Portal,\n PortalProvider: () => import_tamagui2.PortalProvider,\n ScrollView: () => import_ScrollView.ScrollView,\n Sheet: () => import_Sheet.Sheet,\n Spacer: () => import_tamagui.Spacer,\n Square: () => import_tamagui.Square,\n TamaguiAnchor: () => import_tamagui7.Anchor,\n TamaguiButton: () => import_tamagui6.Button,\n TamaguiCheckbox: () => import_tamagui6.Checkbox,\n TamaguiH1: () => import_tamagui7.H1,\n TamaguiH2: () => import_tamagui7.H2,\n TamaguiH3: () => import_tamagui7.H3,\n TamaguiH4: () => import_tamagui7.H4,\n TamaguiH5: () => import_tamagui7.H5,\n TamaguiH6: () => import_tamagui7.H6,\n TamaguiHeading: () => import_tamagui7.Heading,\n TamaguiInput: () => import_tamagui6.Input,\n TamaguiLabel: () => import_tamagui6.Label,\n TamaguiParagraph: () => import_tamagui7.Paragraph,\n TamaguiProgress: () => import_tamagui6.Progress,\n TamaguiProvider: () => import_tamagui3.TamaguiProvider,\n TamaguiRadioGroup: () => import_tamagui6.RadioGroup,\n TamaguiSelect: () => import_tamagui6.Select,\n TamaguiSeparator: () => import_tamagui6.Separator,\n TamaguiSizableText: () => import_tamagui7.SizableText,\n TamaguiSlider: () => import_tamagui6.Slider,\n TamaguiSpinner: () => import_tamagui6.Spinner,\n TamaguiSwitch: () => import_tamagui6.Switch,\n TamaguiText: () => import_tamagui7.Text,\n TamaguiTextArea: () => import_tamagui6.TextArea,\n TamaguiToggleGroup: () => import_tamagui6.ToggleGroup,\n Theme: () => import_tamagui3.Theme,\n Unspaced: () => import_tamagui.Unspaced,\n View: () => import_tamagui.View,\n VisuallyHidden: () => import_tamagui.VisuallyHidden,\n XGroup: () => import_tamagui.XGroup,\n XStack: () => import_tamagui.XStack,\n YGroup: () => import_tamagui.YGroup,\n YStack: () => import_tamagui.YStack,\n createStyledContext: () => import_tamagui5.createStyledContext,\n getToken: () => import_tamagui5.getToken,\n getTokenValue: () => import_tamagui5.getTokenValue,\n getTokens: () => import_tamagui5.getTokens,\n isClient: () => import_tamagui5.isClient,\n isWeb: () => import_tamagui5.isWeb,\n styled: () => import_tamagui5.styled,\n useControllableState: () => import_tamagui4.useControllableState,\n useDidFinishSSR: () => import_tamagui4.useDidFinishSSR,\n useEvent: () => import_tamagui4.useEvent,\n useMedia: () => import_tamagui4.useMedia,\n usePropsAndStyle: () => import_tamagui4.usePropsAndStyle,\n useTheme: () => import_tamagui4.useTheme,\n useThemeName: () => import_tamagui4.useThemeName,\n withStaticProperties: () => import_tamagui5.withStaticProperties\n});\nmodule.exports = __toCommonJS(tamagui_exports);\nvar import_tamagui = require(\"tamagui\");\nvar import_ScrollView = require(\"./ScrollView\");\nvar import_linear_gradient = require(\"tamagui/linear-gradient\");\nvar import_tamagui2 = require(\"tamagui\");\nvar import_Sheet = require(\"./Sheet\");\nvar import_Popover = require(\"./Popover\");\nvar import_Dialog = require(\"./Dialog\");\nvar import_tamagui3 = require(\"tamagui\");\nvar import_tamagui4 = require(\"tamagui\");\nvar import_tamagui5 = require(\"tamagui\");\nvar import_tamagui6 = require(\"tamagui\");\nvar import_tamagui7 = require(\"tamagui\");\nvar import_Collapsible = require(\"./Collapsible\");\n//# sourceMappingURL=tamagui.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GA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,IAAI/F,kBAAkB,GAAG+F,OAAO,CAAC,yBAAe,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","tamagui_exports","AlertDialog","import_Dialog","AnimatePresence","import_tamagui3","Circle","import_tamagui","Collapsible","import_Collapsible","Dialog","Group","LinearGradient","import_linear_gradient","ListItem","Popover","import_Popover","Portal","import_tamagui2","PortalProvider","ScrollView","import_ScrollView","Sheet","import_Sheet","Spacer","Square","TamaguiAnchor","import_tamagui7","Anchor","TamaguiButton","import_tamagui6","Button","TamaguiCheckbox","Checkbox","TamaguiH1","H1","TamaguiH2","H2","TamaguiH3","H3","TamaguiH4","H4","TamaguiH5","H5","TamaguiH6","H6","TamaguiHeading","Heading","TamaguiInput","Input","TamaguiLabel","Label","TamaguiParagraph","Paragraph","TamaguiProgress","Progress","TamaguiProvider","TamaguiRadioGroup","RadioGroup","TamaguiSelect","Select","TamaguiSeparator","Separator","TamaguiSizableText","SizableText","TamaguiSlider","Slider","TamaguiSpinner","Spinner","TamaguiSwitch","Switch","TamaguiText","Text","TamaguiTextArea","TextArea","TamaguiToggleGroup","ToggleGroup","Theme","Unspaced","View","VisuallyHidden","XGroup","XStack","YGroup","YStack","createStyledContext","import_tamagui5","getToken","getTokenValue","getTokens","isClient","isWeb","styled","useControllableState","import_tamagui4","useDialogPresentsAsSheet","useDidFinishSSR","useEvent","useMedia","usePropsAndStyle","useTheme","useThemeName","withStaticProperties","module","exports","require"],"sources":["tamagui.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar tamagui_exports = {};\n__export(tamagui_exports, {\n AlertDialog: () => import_Dialog.AlertDialog,\n AnimatePresence: () => import_tamagui3.AnimatePresence,\n Circle: () => import_tamagui.Circle,\n Collapsible: () => import_Collapsible.Collapsible,\n Dialog: () => import_Dialog.Dialog,\n Group: () => import_tamagui.Group,\n LinearGradient: () => import_linear_gradient.LinearGradient,\n ListItem: () => import_tamagui.ListItem,\n Popover: () => import_Popover.Popover,\n Portal: () => import_tamagui2.Portal,\n PortalProvider: () => import_tamagui2.PortalProvider,\n ScrollView: () => import_ScrollView.ScrollView,\n Sheet: () => import_Sheet.Sheet,\n Spacer: () => import_tamagui.Spacer,\n Square: () => import_tamagui.Square,\n TamaguiAnchor: () => import_tamagui7.Anchor,\n TamaguiButton: () => import_tamagui6.Button,\n TamaguiCheckbox: () => import_tamagui6.Checkbox,\n TamaguiH1: () => import_tamagui7.H1,\n TamaguiH2: () => import_tamagui7.H2,\n TamaguiH3: () => import_tamagui7.H3,\n TamaguiH4: () => import_tamagui7.H4,\n TamaguiH5: () => import_tamagui7.H5,\n TamaguiH6: () => import_tamagui7.H6,\n TamaguiHeading: () => import_tamagui7.Heading,\n TamaguiInput: () => import_tamagui6.Input,\n TamaguiLabel: () => import_tamagui6.Label,\n TamaguiParagraph: () => import_tamagui7.Paragraph,\n TamaguiProgress: () => import_tamagui6.Progress,\n TamaguiProvider: () => import_tamagui3.TamaguiProvider,\n TamaguiRadioGroup: () => import_tamagui6.RadioGroup,\n TamaguiSelect: () => import_tamagui6.Select,\n TamaguiSeparator: () => import_tamagui6.Separator,\n TamaguiSizableText: () => import_tamagui7.SizableText,\n TamaguiSlider: () => import_tamagui6.Slider,\n TamaguiSpinner: () => import_tamagui6.Spinner,\n TamaguiSwitch: () => import_tamagui6.Switch,\n TamaguiText: () => import_tamagui7.Text,\n TamaguiTextArea: () => import_tamagui6.TextArea,\n TamaguiToggleGroup: () => import_tamagui6.ToggleGroup,\n Theme: () => import_tamagui3.Theme,\n Unspaced: () => import_tamagui.Unspaced,\n View: () => import_tamagui.View,\n VisuallyHidden: () => import_tamagui.VisuallyHidden,\n XGroup: () => import_tamagui.XGroup,\n XStack: () => import_tamagui.XStack,\n YGroup: () => import_tamagui.YGroup,\n YStack: () => import_tamagui.YStack,\n createStyledContext: () => import_tamagui5.createStyledContext,\n getToken: () => import_tamagui5.getToken,\n getTokenValue: () => import_tamagui5.getTokenValue,\n getTokens: () => import_tamagui5.getTokens,\n isClient: () => import_tamagui5.isClient,\n isWeb: () => import_tamagui5.isWeb,\n styled: () => import_tamagui5.styled,\n useControllableState: () => import_tamagui4.useControllableState,\n useDialogPresentsAsSheet: () => import_Dialog.useDialogPresentsAsSheet,\n useDidFinishSSR: () => import_tamagui4.useDidFinishSSR,\n useEvent: () => import_tamagui4.useEvent,\n useMedia: () => import_tamagui4.useMedia,\n usePropsAndStyle: () => import_tamagui4.usePropsAndStyle,\n useTheme: () => import_tamagui4.useTheme,\n useThemeName: () => import_tamagui4.useThemeName,\n withStaticProperties: () => import_tamagui5.withStaticProperties\n});\nmodule.exports = __toCommonJS(tamagui_exports);\nvar import_tamagui = require(\"tamagui\");\nvar import_ScrollView = require(\"./ScrollView\");\nvar import_linear_gradient = require(\"tamagui/linear-gradient\");\nvar import_tamagui2 = require(\"tamagui\");\nvar import_Sheet = require(\"./Sheet\");\nvar import_Popover = require(\"./Popover\");\nvar import_Dialog = require(\"./Dialog\");\nvar import_tamagui3 = require(\"tamagui\");\nvar import_tamagui4 = require(\"tamagui\");\nvar import_tamagui5 = require(\"tamagui\");\nvar import_tamagui6 = require(\"tamagui\");\nvar import_tamagui7 = require(\"tamagui\");\nvar import_Collapsible = require(\"./Collapsible\");\n//# sourceMappingURL=tamagui.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;EAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,IAAI,OAAOA,IAAI,KAAK,UAAU,EAAE;IAClE,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,IAAI,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,EAC/CnB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;EACxH;EACA,OAAOE,EAAE;AACX,CAAC;AACD,IAAIM,YAAY,GAAIC,GAAG,IAAKR,WAAW,CAACh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1G,YAAY,CAACG,eAAe,CAAC;AAC9C,IAAIM,cAAc,GAAGkG,OAAO,CAAC,SAAS,CAAC;AACvC,IAAIpF,iBAAiB,GAAGoF,OAAO,CAAC,cAAc,CAAC;AAC/C,IAAI5F,sBAAsB,GAAG4F,OAAO,CAAC,yBAAyB,CAAC;AAC/D,IAAIvF,eAAe,GAAGuF,OAAO,CAAC,SAAS,CAAC;AACxC,IAAIlF,YAAY,GAAGkF,OAAO,CAAC,mBAAS,CAAC;AACrC,IAAIzF,cAAc,GAAGyF,OAAO,CAAC,qBAAW,CAAC;AACzC,IAAItG,aAAa,GAAGsG,OAAO,CAAC,oBAAU,CAAC;AACvC,IAAIpG,eAAe,GAAGoG,OAAO,CAAC,SAAS,CAAC;AACxC,IAAIX,eAAe,GAAGW,OAAO,CAAC,SAAS,CAAC;AACxC,IAAInB,eAAe,GAAGmB,OAAO,CAAC,SAAS,CAAC;AACxC,IAAI3E,eAAe,GAAG2E,OAAO,CAAC,SAAS,CAAC;AACxC,IAAI9E,eAAe,GAAG8E,OAAO,CAAC,SAAS,CAAC;AACxC,IAAIhG,kBAAkB,GAAGgG,OAAO,CAAC,yBAAe,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: () => from[key],
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
24
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
25
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
26
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: true
|
|
30
|
+
}) : target, mod));
|
|
31
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: true
|
|
33
|
+
}), mod);
|
|
34
|
+
var CardGrid_exports = {};
|
|
35
|
+
__export(CardGrid_exports, {
|
|
36
|
+
CardGrid: () => CardGrid
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(CardGrid_exports);
|
|
39
|
+
var import_theme = require("@multiplatform.one/theme");
|
|
40
|
+
var import_react = __toESM(require("react"));
|
|
41
|
+
var import_tamagui = require("tamagui");
|
|
42
|
+
var import_ImageGrid = require("./ImageGrid.cjs");
|
|
43
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
44
|
+
const stretchCell = import_tamagui.isWeb ? {
|
|
45
|
+
style: {
|
|
46
|
+
display: "grid",
|
|
47
|
+
gridTemplateColumns: "minmax(0, 1fr)",
|
|
48
|
+
justifyItems: "stretch"
|
|
49
|
+
}
|
|
50
|
+
} : void 0;
|
|
51
|
+
function CardGrid({
|
|
52
|
+
children,
|
|
53
|
+
minCardWidth = "sm",
|
|
54
|
+
maxColumns,
|
|
55
|
+
onLayout,
|
|
56
|
+
...stackProps
|
|
57
|
+
}) {
|
|
58
|
+
const gridId = (0, import_react.useId)();
|
|
59
|
+
const [width, setWidth] = (0, import_react.useState)();
|
|
60
|
+
const minTileWidth = typeof minCardWidth === "number" ? minCardWidth : import_theme.tileSizeLadder[minCardWidth].minWidth;
|
|
61
|
+
const geometry = (0, import_ImageGrid.useImageGridGeometry)({
|
|
62
|
+
minTileWidth,
|
|
63
|
+
width
|
|
64
|
+
});
|
|
65
|
+
const columns = Math.max(1, Math.min(geometry.columns, maxColumns ?? geometry.columns));
|
|
66
|
+
const {
|
|
67
|
+
gutter
|
|
68
|
+
} = geometry;
|
|
69
|
+
const handleLayout = (0, import_react.useCallback)(event => {
|
|
70
|
+
const measured = event.nativeEvent.layout.width;
|
|
71
|
+
if (measured > 0) setWidth(prev => prev === measured ? prev : measured);
|
|
72
|
+
onLayout?.(event);
|
|
73
|
+
}, [onLayout]);
|
|
74
|
+
const cards = import_react.default.Children.toArray(children);
|
|
75
|
+
const rowCount = Math.ceil(cards.length / columns);
|
|
76
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
77
|
+
"data-card-grid": true,
|
|
78
|
+
"data-columns": columns,
|
|
79
|
+
gap: gutter,
|
|
80
|
+
width: "100%",
|
|
81
|
+
maxWidth: "100%",
|
|
82
|
+
onLayout: handleLayout,
|
|
83
|
+
...stackProps,
|
|
84
|
+
children: Array.from({
|
|
85
|
+
length: rowCount
|
|
86
|
+
}, (_, row) => {
|
|
87
|
+
const rowCards = cards.slice(row * columns, row * columns + columns);
|
|
88
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
89
|
+
"data-card-grid-row": true,
|
|
90
|
+
gap: gutter,
|
|
91
|
+
children: [rowCards.map((card, col) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
92
|
+
...import_ImageGrid.tileTrack,
|
|
93
|
+
"data-card-grid-cell": true,
|
|
94
|
+
...stretchCell,
|
|
95
|
+
children: card
|
|
96
|
+
}, `${gridId}-cell-${row}-${col}`)), Array.from({
|
|
97
|
+
length: columns - rowCards.length
|
|
98
|
+
}, (_2, pad) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
99
|
+
...import_ImageGrid.tileTrack,
|
|
100
|
+
"data-card-grid-pad": true,
|
|
101
|
+
"aria-hidden": true
|
|
102
|
+
}, `${gridId}-pad-${row}-${pad}`))]
|
|
103
|
+
}, `${gridId}-row-${row}`);
|
|
104
|
+
})
|
|
105
|
+
});
|
|
106
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
18
|
+
get: () => from[key],
|
|
19
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
+
value: mod,
|
|
31
|
+
enumerable: true
|
|
32
|
+
}) : target, mod));
|
|
33
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
}), mod);
|
|
36
|
+
var CardGrid_exports = {};
|
|
37
|
+
__export(CardGrid_exports, {
|
|
38
|
+
CardGrid: () => CardGrid
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(CardGrid_exports);
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var import_theme = require("@multiplatform.one/theme");
|
|
43
|
+
var import_react = __toESM(require("react"));
|
|
44
|
+
var import_tamagui = require("tamagui");
|
|
45
|
+
var import_ImageGrid = require("./ImageGrid.native.js");
|
|
46
|
+
var stretchCell = import_tamagui.isWeb ? {
|
|
47
|
+
style: {
|
|
48
|
+
display: "grid",
|
|
49
|
+
gridTemplateColumns: "minmax(0, 1fr)",
|
|
50
|
+
justifyItems: "stretch"
|
|
51
|
+
}
|
|
52
|
+
} : void 0;
|
|
53
|
+
function CardGrid(param) {
|
|
54
|
+
var {
|
|
55
|
+
children,
|
|
56
|
+
minCardWidth = "sm",
|
|
57
|
+
maxColumns,
|
|
58
|
+
onLayout,
|
|
59
|
+
...stackProps
|
|
60
|
+
} = param;
|
|
61
|
+
var gridId = (0, import_react.useId)();
|
|
62
|
+
var [width, setWidth] = (0, import_react.useState)();
|
|
63
|
+
var minTileWidth = typeof minCardWidth === "number" ? minCardWidth : import_theme.tileSizeLadder[minCardWidth].minWidth;
|
|
64
|
+
var geometry = (0, import_ImageGrid.useImageGridGeometry)({
|
|
65
|
+
minTileWidth,
|
|
66
|
+
width
|
|
67
|
+
});
|
|
68
|
+
var columns = Math.max(1, Math.min(geometry.columns, maxColumns !== null && maxColumns !== void 0 ? maxColumns : geometry.columns));
|
|
69
|
+
var {
|
|
70
|
+
gutter
|
|
71
|
+
} = geometry;
|
|
72
|
+
var handleLayout = (0, import_react.useCallback)(function (event) {
|
|
73
|
+
var measured = event.nativeEvent.layout.width;
|
|
74
|
+
if (measured > 0) setWidth(function (prev) {
|
|
75
|
+
return prev === measured ? prev : measured;
|
|
76
|
+
});
|
|
77
|
+
onLayout === null || onLayout === void 0 ? void 0 : onLayout(event);
|
|
78
|
+
}, [onLayout]);
|
|
79
|
+
var cards = import_react.default.Children.toArray(children);
|
|
80
|
+
var rowCount = Math.ceil(cards.length / columns);
|
|
81
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
82
|
+
"data-card-grid": true,
|
|
83
|
+
"data-columns": columns,
|
|
84
|
+
gap: gutter,
|
|
85
|
+
width: "100%",
|
|
86
|
+
maxWidth: "100%",
|
|
87
|
+
onLayout: handleLayout,
|
|
88
|
+
...stackProps,
|
|
89
|
+
children: Array.from({
|
|
90
|
+
length: rowCount
|
|
91
|
+
}, function (_, row) {
|
|
92
|
+
var rowCards = cards.slice(row * columns, row * columns + columns);
|
|
93
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
94
|
+
"data-card-grid-row": true,
|
|
95
|
+
gap: gutter,
|
|
96
|
+
children: [rowCards.map(function (card, col) {
|
|
97
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
98
|
+
...import_ImageGrid.tileTrack,
|
|
99
|
+
"data-card-grid-cell": true,
|
|
100
|
+
...stretchCell,
|
|
101
|
+
children: card
|
|
102
|
+
}, `${gridId}-cell-${row}-${col}`);
|
|
103
|
+
}), Array.from({
|
|
104
|
+
length: columns - rowCards.length
|
|
105
|
+
}, function (_2, pad) {
|
|
106
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.View, {
|
|
107
|
+
...import_ImageGrid.tileTrack,
|
|
108
|
+
"data-card-grid-pad": true,
|
|
109
|
+
"aria-hidden": true
|
|
110
|
+
}, `${gridId}-pad-${row}-${pad}`);
|
|
111
|
+
})]
|
|
112
|
+
}, `${gridId}-row-${row}`);
|
|
113
|
+
})
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=CardGrid.native.js.map
|