@multiplatform.one/components 7.54.1 → 7.56.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/Accordion/index.native.js +1 -1
- package/dist/cjs/Accordion/index.native.js.map +1 -1
- package/dist/cjs/Alert/index.native.js.map +1 -1
- package/dist/cjs/AnimateHeight/index.native.js.map +1 -1
- package/dist/cjs/Avatar/getInitials.native.js.map +1 -1
- package/dist/cjs/Avatar/index.native.js.map +1 -1
- package/dist/cjs/Badge/index.native.js.map +1 -1
- package/dist/cjs/Button.native.js.map +1 -1
- package/dist/cjs/Card.native.js.map +1 -1
- package/dist/cjs/CardFooter.native.js.map +1 -1
- package/dist/cjs/CardHeader.cjs +22 -8
- package/dist/cjs/CardHeader.native.js +21 -7
- package/dist/cjs/CardHeader.native.js.map +1 -1
- package/dist/cjs/Carousel/index.native.js +2 -2
- package/dist/cjs/Carousel/index.native.js.map +1 -1
- package/dist/cjs/Chip/index.native.js.map +1 -1
- package/dist/cjs/Collapsible.native.js.map +1 -1
- package/dist/cjs/ContextMenu/index.native.js.map +1 -1
- package/dist/cjs/CopyField/index.native.js.map +1 -1
- package/dist/cjs/Dialog.native.js.map +1 -1
- package/dist/cjs/DotIndicator/index.native.js.map +1 -1
- package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
- package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
- package/dist/cjs/Heading.native.js.map +1 -1
- package/dist/cjs/Meter/index.native.js +1 -1
- package/dist/cjs/Meter/index.native.js.map +1 -1
- package/dist/cjs/Meter/meter.native.js.map +1 -1
- package/dist/cjs/OverflowRow/index.native.js +1 -1
- package/dist/cjs/OverflowRow/index.native.js.map +1 -1
- package/dist/cjs/Pagination.native.js +1 -1
- package/dist/cjs/Pagination.native.js.map +1 -1
- package/dist/cjs/Popover.native.js.map +1 -1
- package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
- package/dist/cjs/Quote/index.native.js.map +1 -1
- package/dist/cjs/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/cjs/Separator/index.native.js.map +1 -1
- package/dist/cjs/Sheet.native.js.map +1 -1
- package/dist/cjs/SheetModal/detents.cjs +18 -1
- package/dist/cjs/SheetModal/detents.native.js +19 -1
- package/dist/cjs/SheetModal/detents.native.js.map +1 -1
- package/dist/cjs/SheetModal/index.cjs +13 -3
- package/dist/cjs/SheetModal/index.native.js +1 -2
- package/dist/cjs/SheetModal/index.native.js.map +1 -1
- package/dist/cjs/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/cjs/Skeleton/index.native.js.map +1 -1
- package/dist/cjs/SkipLink/index.native.js.map +1 -1
- package/dist/cjs/SortableList/SortableHandle.native.js.map +1 -1
- package/dist/cjs/SortableList/index.native.js.map +1 -1
- package/dist/cjs/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/cjs/Tabs/index.cjs +10 -12
- package/dist/cjs/Tabs/index.native.js +11 -13
- package/dist/cjs/Tabs/index.native.js.map +1 -1
- package/dist/cjs/Text.native.js.map +1 -1
- package/dist/cjs/ThemePresetPicker/index.native.js +2 -2
- package/dist/cjs/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/cjs/Toast/index.native.js.map +1 -1
- package/dist/cjs/Toast/store.native.js.map +1 -1
- package/dist/cjs/Tooltip/nativePress.native.js.map +1 -1
- package/dist/cjs/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/cjs/TreeSelect/index.native.js +1 -1
- package/dist/cjs/TreeSelect/index.native.js.map +1 -1
- package/dist/cjs/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
- package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
- package/dist/cjs/Video/types.native.js.map +1 -1
- package/dist/cjs/Wheel/index.native.js.map +1 -1
- package/dist/cjs/Wizard/index.native.js +2 -2
- package/dist/cjs/Wizard/index.native.js.map +1 -1
- package/dist/cjs/actions/ActionBar.native.js.map +1 -1
- package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
- package/dist/cjs/actions/devWarn.native.js.map +1 -1
- package/dist/cjs/actions/index.native.js.map +1 -1
- package/dist/cjs/actions/severity.native.js.map +1 -1
- package/dist/cjs/appShell/Dock.native.js.map +1 -1
- package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/cjs/appShell/SettingsSplit.native.js +1 -1
- package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/cjs/appShell/Springboard.native.js +1 -1
- package/dist/cjs/appShell/Springboard.native.js.map +1 -1
- package/dist/cjs/appShell/SystemBar.native.js.map +1 -1
- package/dist/cjs/appShell/TabBar.native.js +1 -1
- package/dist/cjs/appShell/TabBar.native.js.map +1 -1
- package/dist/cjs/appShell/appTile.native.js +1 -1
- package/dist/cjs/appShell/appTile.native.js.map +1 -1
- package/dist/cjs/appShell/index.native.js.map +1 -1
- package/dist/cjs/charts/Axis.native.js.map +1 -1
- package/dist/cjs/charts/BarChart.native.js.map +1 -1
- package/dist/cjs/charts/ChartDataView.native.js +1 -1
- package/dist/cjs/charts/ChartDataView.native.js.map +1 -1
- package/dist/cjs/charts/ChartSurface.native.js.map +1 -1
- package/dist/cjs/charts/LineChart.native.js.map +1 -1
- package/dist/cjs/charts/PieChart.native.js.map +1 -1
- package/dist/cjs/charts/Sparkline.native.js.map +1 -1
- package/dist/cjs/charts/accessibility.native.js.map +1 -1
- package/dist/cjs/charts/chartHeight.native.js.map +1 -1
- package/dist/cjs/charts/composeChart.native.js.map +1 -1
- package/dist/cjs/charts/index.native.js.map +1 -1
- package/dist/cjs/charts/math.native.js.map +1 -1
- package/dist/cjs/charts/series.native.js.map +1 -1
- package/dist/cjs/charts/svg.native.js.map +1 -1
- package/dist/cjs/charts/types.native.js.map +1 -1
- package/dist/cjs/charts/useChartTheme.native.js.map +1 -1
- package/dist/cjs/code/Code/index.native.js.map +1 -1
- package/dist/cjs/code/CodeBlock/index.native.js +7 -7
- package/dist/cjs/code/CodeBlock/index.native.js.map +1 -1
- package/dist/cjs/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/cjs/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/cjs/code/Highlighter/index.native.js.map +1 -1
- package/dist/cjs/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
- package/dist/cjs/code/Pre/index.native.js.map +1 -1
- package/dist/cjs/code/index.native.js +5 -5
- package/dist/cjs/code/index.native.js.map +1 -1
- package/dist/cjs/componentColors.native.js.map +1 -1
- package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/cjs/feedback/NotifyHost.native.js +2 -2
- package/dist/cjs/feedback/NotifyHost.native.js.map +1 -1
- package/dist/cjs/feedback/copy.native.js.map +1 -1
- package/dist/cjs/feedback/index.native.js.map +1 -1
- package/dist/cjs/feedback/notify.native.js.map +1 -1
- package/dist/cjs/feedback/route.native.js.map +1 -1
- package/dist/cjs/feedback/store.native.js.map +1 -1
- package/dist/cjs/hooks/index.native.js +1 -1
- package/dist/cjs/hooks/index.native.js.map +1 -1
- package/dist/cjs/hooks/useClipboard.native.js.map +1 -1
- package/dist/cjs/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/cjs/icons/CheckRegular.native.js.map +1 -1
- package/dist/cjs/icons/MinusRegular.native.js.map +1 -1
- package/dist/cjs/icons/index.native.js.map +1 -1
- package/dist/cjs/icons/lucide.native.js.map +1 -1
- package/dist/cjs/icons/themed.native.js.map +1 -1
- package/dist/cjs/images/Image/ImageFrame.native.js +1 -1
- package/dist/cjs/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/cjs/images/Image/index.native.js +1 -1
- package/dist/cjs/images/Image/shared.native.js +1 -1
- package/dist/cjs/images/Image/shared.native.js.map +1 -1
- package/dist/cjs/images/Image/types.native.js.map +1 -1
- package/dist/cjs/images/index.native.js.map +1 -1
- package/dist/cjs/index.native.js +32 -32
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/knobImmuneExports.native.js.map +1 -1
- package/dist/cjs/layouts/AsyncBoundary.native.js +2 -2
- package/dist/cjs/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/cjs/layouts/Debug/index.native.js.map +1 -1
- package/dist/cjs/layouts/EmptyState.cjs +107 -33
- package/dist/cjs/layouts/EmptyState.native.js +111 -37
- package/dist/cjs/layouts/EmptyState.native.js.map +1 -1
- package/dist/cjs/layouts/IdentityPlate.cjs +127 -0
- package/dist/cjs/layouts/IdentityPlate.native.js +135 -0
- package/dist/cjs/layouts/IdentityPlate.native.js.map +1 -0
- package/dist/cjs/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
- package/dist/cjs/layouts/PageTemplates.native.js.map +1 -1
- package/dist/cjs/layouts/PaneScaffold.native.js.map +1 -1
- package/dist/cjs/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
- package/dist/cjs/layouts/StatusDot.cjs +72 -0
- package/dist/cjs/layouts/StatusDot.native.js +77 -0
- package/dist/cjs/layouts/StatusDot.native.js.map +1 -0
- package/dist/cjs/layouts/ViewSwitcher.native.js.map +1 -1
- package/dist/cjs/layouts/attachments.native.js +1 -1
- package/dist/cjs/layouts/attachments.native.js.map +1 -1
- package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/cjs/layouts/index.cjs +6 -0
- package/dist/cjs/layouts/index.native.js +9 -3
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/layouts/page.cjs +12 -4
- package/dist/cjs/layouts/page.native.js +14 -6
- package/dist/cjs/layouts/page.native.js.map +1 -1
- package/dist/cjs/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/cjs/layouts/screenScroll.native.js.map +1 -1
- package/dist/cjs/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/cjs/layouts/sidebar.native.js +1 -1
- package/dist/cjs/layouts/sidebar.native.js.map +1 -1
- package/dist/cjs/layouts/tags.native.js +2 -2
- package/dist/cjs/layouts/tags.native.js.map +1 -1
- package/dist/cjs/layouts/timeline.native.js +2 -2
- package/dist/cjs/layouts/timeline.native.js.map +1 -1
- package/dist/cjs/layouts/toolbar.native.js +1 -1
- package/dist/cjs/layouts/toolbar.native.js.map +1 -1
- package/dist/cjs/shared/actionScan.native.js.map +1 -1
- package/dist/cjs/shared/i18n.native.js.map +1 -1
- package/dist/cjs/shared/restoreRetries.native.js.map +1 -1
- package/dist/cjs/shared/t.native.js.map +1 -1
- package/dist/cjs/shared/textRidesText.native.js.map +1 -1
- package/dist/cjs/shared/useReturnFocusOnClose.native.js.map +1 -1
- package/dist/cjs/surfaces.cjs +4 -2
- package/dist/cjs/surfaces.native.js +5 -3
- package/dist/cjs/surfaces.native.js.map +1 -1
- package/dist/cjs/tamagui.native.js +1 -1
- package/dist/cjs/tamagui.native.js.map +1 -1
- package/dist/cjs/testSetup.native.js.map +1 -1
- package/dist/cjs/utils/setTinted.native.js.map +1 -1
- package/dist/cjs/utils/unwrapText.native.js.map +1 -1
- package/dist/cjs/views/Calendar.native.js +1 -1
- package/dist/cjs/views/Calendar.native.js.map +1 -1
- package/dist/cjs/views/Dashboard.native.js +2 -2
- package/dist/cjs/views/Dashboard.native.js.map +1 -1
- package/dist/cjs/views/Gantt.native.js +2 -2
- package/dist/cjs/views/Gantt.native.js.map +1 -1
- package/dist/cjs/views/GanttDateGrip.native.js.map +1 -1
- package/dist/cjs/views/ImageGrid.native.js +1 -1
- package/dist/cjs/views/ImageGrid.native.js.map +1 -1
- package/dist/cjs/views/Kanban.native.js +1 -1
- package/dist/cjs/views/List.native.js.map +1 -1
- package/dist/cjs/views/Matrix.native.js +2 -2
- package/dist/cjs/views/Matrix.native.js.map +1 -1
- package/dist/cjs/views/ReportBuilder.native.js +2 -2
- package/dist/cjs/views/ReportBuilder.native.js.map +1 -1
- package/dist/cjs/views/TreeView.native.js.map +1 -1
- package/dist/cjs/views/calendarMath.native.js.map +1 -1
- package/dist/cjs/views/ganttIntervals.native.js.map +1 -1
- package/dist/cjs/views/ganttMath.native.js.map +1 -1
- package/dist/cjs/views/index.native.js +1 -1
- package/dist/cjs/views/index.native.js.map +1 -1
- package/dist/cjs/views/kanbanDnd.native.js.map +1 -1
- package/dist/cjs/views/matrixMath.native.js.map +1 -1
- package/dist/cjs/views/treeViewDnd.native.js.map +1 -1
- package/dist/cjs/views/treeViewLayout.native.js.map +1 -1
- package/dist/cjs/views/treeViewMotion.native.js.map +1 -1
- package/dist/cjs/views/treeViewReveal.native.js.map +1 -1
- package/dist/esm/CardHeader.mjs +24 -10
- package/dist/esm/CardHeader.mjs.map +1 -1
- package/dist/esm/CardHeader.native.js +23 -9
- package/dist/esm/CardHeader.native.js.map +1 -1
- package/dist/esm/SheetModal/detents.mjs +15 -1
- package/dist/esm/SheetModal/detents.mjs.map +1 -1
- package/dist/esm/SheetModal/detents.native.js +16 -1
- package/dist/esm/SheetModal/detents.native.js.map +1 -1
- package/dist/esm/SheetModal/index.mjs +14 -4
- package/dist/esm/SheetModal/index.mjs.map +1 -1
- package/dist/esm/SheetModal/index.native.js +2 -3
- package/dist/esm/SheetModal/index.native.js.map +1 -1
- package/dist/esm/Tabs/index.mjs +10 -12
- package/dist/esm/Tabs/index.mjs.map +1 -1
- package/dist/esm/Tabs/index.native.js +10 -12
- package/dist/esm/Tabs/index.native.js.map +1 -1
- package/dist/esm/layouts/EmptyState.mjs +103 -29
- package/dist/esm/layouts/EmptyState.mjs.map +1 -1
- package/dist/esm/layouts/EmptyState.native.js +107 -33
- package/dist/esm/layouts/EmptyState.native.js.map +1 -1
- package/dist/esm/layouts/IdentityPlate.mjs +102 -0
- package/dist/esm/layouts/IdentityPlate.mjs.map +1 -0
- package/dist/esm/layouts/IdentityPlate.native.js +107 -0
- package/dist/esm/layouts/IdentityPlate.native.js.map +1 -0
- package/dist/esm/layouts/StatusDot.mjs +45 -0
- package/dist/esm/layouts/StatusDot.mjs.map +1 -0
- package/dist/esm/layouts/StatusDot.native.js +47 -0
- package/dist/esm/layouts/StatusDot.native.js.map +1 -0
- package/dist/esm/layouts/index.mjs +3 -1
- package/dist/esm/layouts/index.mjs.map +1 -1
- package/dist/esm/layouts/index.native.js +3 -1
- package/dist/esm/layouts/index.native.js.map +1 -1
- package/dist/esm/layouts/page.mjs +12 -5
- package/dist/esm/layouts/page.mjs.map +1 -1
- package/dist/esm/layouts/page.native.js +12 -5
- package/dist/esm/layouts/page.native.js.map +1 -1
- package/dist/esm/surfaces.mjs +5 -3
- package/dist/esm/surfaces.mjs.map +1 -1
- package/dist/esm/surfaces.native.js +5 -3
- package/dist/esm/surfaces.native.js.map +1 -1
- package/dist/jsx/Accordion/index.native.js +1 -1
- package/dist/jsx/Accordion/index.native.js.map +1 -1
- package/dist/jsx/Alert/index.native.js.map +1 -1
- package/dist/jsx/AnimateHeight/index.native.js.map +1 -1
- package/dist/jsx/Avatar/getInitials.native.js.map +1 -1
- package/dist/jsx/Avatar/index.native.js.map +1 -1
- package/dist/jsx/Badge/index.native.js.map +1 -1
- package/dist/jsx/Button.native.js.map +1 -1
- package/dist/jsx/Card.native.js.map +1 -1
- package/dist/jsx/CardFooter.native.js.map +1 -1
- package/dist/jsx/CardHeader.mjs +24 -10
- package/dist/jsx/CardHeader.mjs.map +1 -1
- package/dist/jsx/CardHeader.native.js +21 -7
- package/dist/jsx/CardHeader.native.js.map +1 -1
- package/dist/jsx/Carousel/index.native.js +2 -2
- package/dist/jsx/Carousel/index.native.js.map +1 -1
- package/dist/jsx/Chip/index.native.js.map +1 -1
- package/dist/jsx/Collapsible.native.js.map +1 -1
- package/dist/jsx/ContextMenu/index.native.js.map +1 -1
- package/dist/jsx/CopyField/index.native.js.map +1 -1
- package/dist/jsx/Dialog.native.js.map +1 -1
- package/dist/jsx/DotIndicator/index.native.js.map +1 -1
- package/dist/jsx/DropdownMenu/index.native.js.map +1 -1
- package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
- package/dist/jsx/Heading.native.js.map +1 -1
- package/dist/jsx/Meter/index.native.js +1 -1
- package/dist/jsx/Meter/index.native.js.map +1 -1
- package/dist/jsx/Meter/meter.native.js.map +1 -1
- package/dist/jsx/OverflowRow/index.native.js +1 -1
- package/dist/jsx/OverflowRow/index.native.js.map +1 -1
- package/dist/jsx/Pagination.native.js +1 -1
- package/dist/jsx/Pagination.native.js.map +1 -1
- package/dist/jsx/Popover.native.js.map +1 -1
- package/dist/jsx/ProgressSteps/index.native.js.map +1 -1
- package/dist/jsx/Quote/index.native.js.map +1 -1
- package/dist/jsx/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/jsx/Separator/index.native.js.map +1 -1
- package/dist/jsx/Sheet.native.js.map +1 -1
- package/dist/jsx/SheetModal/detents.mjs +15 -1
- package/dist/jsx/SheetModal/detents.mjs.map +1 -1
- package/dist/jsx/SheetModal/detents.native.js +19 -1
- package/dist/jsx/SheetModal/detents.native.js.map +1 -1
- package/dist/jsx/SheetModal/index.mjs +14 -4
- package/dist/jsx/SheetModal/index.mjs.map +1 -1
- package/dist/jsx/SheetModal/index.native.js +1 -2
- package/dist/jsx/SheetModal/index.native.js.map +1 -1
- package/dist/jsx/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/jsx/Skeleton/index.native.js.map +1 -1
- package/dist/jsx/SkipLink/index.native.js.map +1 -1
- package/dist/jsx/SortableList/SortableHandle.native.js.map +1 -1
- package/dist/jsx/SortableList/index.native.js.map +1 -1
- package/dist/jsx/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/jsx/Tabs/index.mjs +10 -12
- package/dist/jsx/Tabs/index.mjs.map +1 -1
- package/dist/jsx/Tabs/index.native.js +11 -13
- package/dist/jsx/Tabs/index.native.js.map +1 -1
- package/dist/jsx/Text.native.js.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.native.js +2 -2
- package/dist/jsx/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/jsx/Toast/index.native.js.map +1 -1
- package/dist/jsx/Toast/store.native.js.map +1 -1
- package/dist/jsx/Tooltip/nativePress.native.js.map +1 -1
- package/dist/jsx/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/jsx/TreeSelect/index.native.js +1 -1
- package/dist/jsx/TreeSelect/index.native.js.map +1 -1
- package/dist/jsx/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/jsx/Video/PlayerChrome.native.js.map +1 -1
- package/dist/jsx/Video/VideoFrame.native.js.map +1 -1
- package/dist/jsx/Video/types.native.js.map +1 -1
- package/dist/jsx/Wheel/index.native.js.map +1 -1
- package/dist/jsx/Wizard/index.native.js +2 -2
- package/dist/jsx/Wizard/index.native.js.map +1 -1
- package/dist/jsx/actions/ActionBar.native.js.map +1 -1
- package/dist/jsx/actions/DestructiveAction.native.js.map +1 -1
- package/dist/jsx/actions/devWarn.native.js.map +1 -1
- package/dist/jsx/actions/index.native.js.map +1 -1
- package/dist/jsx/actions/severity.native.js.map +1 -1
- package/dist/jsx/appShell/Dock.native.js.map +1 -1
- package/dist/jsx/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/jsx/appShell/SettingsSplit.native.js +1 -1
- package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/jsx/appShell/Springboard.native.js +1 -1
- package/dist/jsx/appShell/Springboard.native.js.map +1 -1
- package/dist/jsx/appShell/SystemBar.native.js.map +1 -1
- package/dist/jsx/appShell/TabBar.native.js +1 -1
- package/dist/jsx/appShell/TabBar.native.js.map +1 -1
- package/dist/jsx/appShell/appTile.native.js +1 -1
- package/dist/jsx/appShell/appTile.native.js.map +1 -1
- package/dist/jsx/appShell/index.native.js.map +1 -1
- package/dist/jsx/charts/Axis.native.js.map +1 -1
- package/dist/jsx/charts/BarChart.native.js.map +1 -1
- package/dist/jsx/charts/ChartDataView.native.js +1 -1
- package/dist/jsx/charts/ChartDataView.native.js.map +1 -1
- package/dist/jsx/charts/ChartSurface.native.js.map +1 -1
- package/dist/jsx/charts/LineChart.native.js.map +1 -1
- package/dist/jsx/charts/PieChart.native.js.map +1 -1
- package/dist/jsx/charts/Sparkline.native.js.map +1 -1
- package/dist/jsx/charts/accessibility.native.js.map +1 -1
- package/dist/jsx/charts/chartHeight.native.js.map +1 -1
- package/dist/jsx/charts/composeChart.native.js.map +1 -1
- package/dist/jsx/charts/index.native.js.map +1 -1
- package/dist/jsx/charts/math.native.js.map +1 -1
- package/dist/jsx/charts/series.native.js.map +1 -1
- package/dist/jsx/charts/svg.native.js.map +1 -1
- package/dist/jsx/charts/types.native.js.map +1 -1
- package/dist/jsx/charts/useChartTheme.native.js.map +1 -1
- package/dist/jsx/code/Code/index.native.js.map +1 -1
- package/dist/jsx/code/CodeBlock/index.native.js +7 -7
- package/dist/jsx/code/CodeBlock/index.native.js.map +1 -1
- package/dist/jsx/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/jsx/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/jsx/code/Highlighter/index.native.js.map +1 -1
- package/dist/jsx/code/Highlighter/namedGroupMatchAll.native.js.map +1 -1
- package/dist/jsx/code/Pre/index.native.js.map +1 -1
- package/dist/jsx/code/index.native.js +5 -5
- package/dist/jsx/code/index.native.js.map +1 -1
- package/dist/jsx/componentColors.native.js.map +1 -1
- package/dist/jsx/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/jsx/feedback/NotifyHost.native.js +2 -2
- package/dist/jsx/feedback/NotifyHost.native.js.map +1 -1
- package/dist/jsx/feedback/copy.native.js.map +1 -1
- package/dist/jsx/feedback/index.native.js.map +1 -1
- package/dist/jsx/feedback/notify.native.js.map +1 -1
- package/dist/jsx/feedback/route.native.js.map +1 -1
- package/dist/jsx/feedback/store.native.js.map +1 -1
- package/dist/jsx/hooks/index.native.js +1 -1
- package/dist/jsx/hooks/index.native.js.map +1 -1
- package/dist/jsx/hooks/useClipboard.native.js.map +1 -1
- package/dist/jsx/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/jsx/icons/CheckRegular.native.js.map +1 -1
- package/dist/jsx/icons/MinusRegular.native.js.map +1 -1
- package/dist/jsx/icons/index.native.js.map +1 -1
- package/dist/jsx/icons/lucide.native.js.map +1 -1
- package/dist/jsx/icons/themed.native.js.map +1 -1
- package/dist/jsx/images/Image/ImageFrame.native.js +1 -1
- package/dist/jsx/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/jsx/images/Image/index.native.js +1 -1
- package/dist/jsx/images/Image/shared.native.js +1 -1
- package/dist/jsx/images/Image/shared.native.js.map +1 -1
- package/dist/jsx/images/Image/types.native.js.map +1 -1
- package/dist/jsx/images/index.native.js.map +1 -1
- package/dist/jsx/index.native.js +32 -32
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/knobImmuneExports.native.js.map +1 -1
- package/dist/jsx/layouts/AsyncBoundary.native.js +2 -2
- package/dist/jsx/layouts/AsyncBoundary.native.js.map +1 -1
- package/dist/jsx/layouts/Debug/index.native.js.map +1 -1
- package/dist/jsx/layouts/EmptyState.mjs +103 -29
- package/dist/jsx/layouts/EmptyState.mjs.map +1 -1
- package/dist/jsx/layouts/EmptyState.native.js +111 -37
- package/dist/jsx/layouts/EmptyState.native.js.map +1 -1
- package/dist/jsx/layouts/IdentityPlate.mjs +102 -0
- package/dist/jsx/layouts/IdentityPlate.mjs.map +1 -0
- package/dist/jsx/layouts/IdentityPlate.native.js +135 -0
- package/dist/jsx/layouts/IdentityPlate.native.js.map +1 -0
- package/dist/jsx/layouts/KeyboardAvoidingWrapper/behavior.native.js.map +1 -1
- package/dist/jsx/layouts/PageTemplates.native.js.map +1 -1
- package/dist/jsx/layouts/PaneScaffold.native.js.map +1 -1
- package/dist/jsx/layouts/SafeAreaWrapper/insets.native.js.map +1 -1
- package/dist/jsx/layouts/StatusDot.mjs +45 -0
- package/dist/jsx/layouts/StatusDot.mjs.map +1 -0
- package/dist/jsx/layouts/StatusDot.native.js +77 -0
- package/dist/jsx/layouts/StatusDot.native.js.map +1 -0
- package/dist/jsx/layouts/ViewSwitcher.native.js.map +1 -1
- package/dist/jsx/layouts/attachments.native.js +1 -1
- package/dist/jsx/layouts/attachments.native.js.map +1 -1
- package/dist/jsx/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/jsx/layouts/index.mjs +3 -1
- package/dist/jsx/layouts/index.mjs.map +1 -1
- package/dist/jsx/layouts/index.native.js +9 -3
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/layouts/page.mjs +12 -5
- package/dist/jsx/layouts/page.mjs.map +1 -1
- package/dist/jsx/layouts/page.native.js +14 -6
- package/dist/jsx/layouts/page.native.js.map +1 -1
- package/dist/jsx/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/jsx/layouts/screenScroll.native.js.map +1 -1
- package/dist/jsx/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/jsx/layouts/sidebar.native.js +1 -1
- package/dist/jsx/layouts/sidebar.native.js.map +1 -1
- package/dist/jsx/layouts/tags.native.js +2 -2
- package/dist/jsx/layouts/tags.native.js.map +1 -1
- package/dist/jsx/layouts/timeline.native.js +2 -2
- package/dist/jsx/layouts/timeline.native.js.map +1 -1
- package/dist/jsx/layouts/toolbar.native.js +1 -1
- package/dist/jsx/layouts/toolbar.native.js.map +1 -1
- package/dist/jsx/shared/actionScan.native.js.map +1 -1
- package/dist/jsx/shared/i18n.native.js.map +1 -1
- package/dist/jsx/shared/restoreRetries.native.js.map +1 -1
- package/dist/jsx/shared/t.native.js.map +1 -1
- package/dist/jsx/shared/textRidesText.native.js.map +1 -1
- package/dist/jsx/shared/useReturnFocusOnClose.native.js.map +1 -1
- package/dist/jsx/surfaces.mjs +5 -3
- package/dist/jsx/surfaces.mjs.map +1 -1
- package/dist/jsx/surfaces.native.js +5 -3
- package/dist/jsx/surfaces.native.js.map +1 -1
- package/dist/jsx/tamagui.native.js +1 -1
- package/dist/jsx/tamagui.native.js.map +1 -1
- package/dist/jsx/testSetup.native.js.map +1 -1
- package/dist/jsx/utils/setTinted.native.js.map +1 -1
- package/dist/jsx/utils/unwrapText.native.js.map +1 -1
- package/dist/jsx/views/Calendar.native.js +1 -1
- package/dist/jsx/views/Calendar.native.js.map +1 -1
- package/dist/jsx/views/Dashboard.native.js +2 -2
- package/dist/jsx/views/Dashboard.native.js.map +1 -1
- package/dist/jsx/views/Gantt.native.js +2 -2
- package/dist/jsx/views/Gantt.native.js.map +1 -1
- package/dist/jsx/views/GanttDateGrip.native.js.map +1 -1
- package/dist/jsx/views/ImageGrid.native.js +1 -1
- package/dist/jsx/views/ImageGrid.native.js.map +1 -1
- package/dist/jsx/views/Kanban.native.js +1 -1
- package/dist/jsx/views/List.native.js.map +1 -1
- package/dist/jsx/views/Matrix.native.js +2 -2
- package/dist/jsx/views/Matrix.native.js.map +1 -1
- package/dist/jsx/views/ReportBuilder.native.js +2 -2
- package/dist/jsx/views/ReportBuilder.native.js.map +1 -1
- package/dist/jsx/views/TreeView.native.js.map +1 -1
- package/dist/jsx/views/calendarMath.native.js.map +1 -1
- package/dist/jsx/views/ganttIntervals.native.js.map +1 -1
- package/dist/jsx/views/ganttMath.native.js.map +1 -1
- package/dist/jsx/views/index.native.js +1 -1
- package/dist/jsx/views/index.native.js.map +1 -1
- package/dist/jsx/views/kanbanDnd.native.js.map +1 -1
- package/dist/jsx/views/matrixMath.native.js.map +1 -1
- package/dist/jsx/views/treeViewDnd.native.js.map +1 -1
- package/dist/jsx/views/treeViewLayout.native.js.map +1 -1
- package/dist/jsx/views/treeViewMotion.native.js.map +1 -1
- package/dist/jsx/views/treeViewReveal.native.js.map +1 -1
- package/package.json +9 -9
- package/src/Card.stories.tsx +83 -1
- package/src/CardHeader.spec.tsx +22 -0
- package/src/CardHeader.tsx +30 -13
- package/src/DropdownMenu/DropdownMenu.stories.tsx +1 -1
- package/src/OverflowRow/OverflowRow.stories.tsx +2 -2
- package/src/SheetFrame.stories.tsx +64 -1
- package/src/SheetModal/SheetModal.spec.tsx +18 -1
- package/src/SheetModal/detents.ts +28 -0
- package/src/SheetModal/index.native.tsx +2 -3
- package/src/SheetModal/index.tsx +15 -5
- package/src/Tabs/Tabs.gutter.spec.tsx +1 -1
- package/src/Tabs/Tabs.panelHeight.spec.tsx +5 -5
- package/src/Tabs/Tabs.scroll.spec.tsx +5 -5
- package/src/Tabs/Tabs.stories.tsx +9 -9
- package/src/Tabs/index.tsx +11 -4
- package/src/layouts/EmptyState.spec.tsx +33 -31
- package/src/layouts/EmptyState.stories.tsx +66 -3
- package/src/layouts/EmptyState.tsx +132 -42
- package/src/layouts/IdentityPlate.stories.tsx +150 -0
- package/src/layouts/IdentityPlate.tsx +117 -0
- package/src/layouts/StatusDot.tsx +53 -0
- package/src/layouts/index.tsx +13 -0
- package/src/layouts/navBar.spec.tsx +62 -2
- package/src/layouts/page.tsx +23 -9
- package/src/sheetScroll.native-press.spec.tsx +93 -0
- package/src/surfaces.tsx +7 -4
- package/types/CardHeader.d.ts +6 -1
- package/types/CardHeader.d.ts.map +1 -1
- package/types/SheetModal/detents.d.ts +21 -0
- package/types/SheetModal/detents.d.ts.map +1 -1
- package/types/SheetModal/index.d.ts +6 -1
- package/types/SheetModal/index.d.ts.map +1 -1
- package/types/SheetModal/index.native.d.ts.map +1 -1
- package/types/Tabs/index.d.ts.map +1 -1
- package/types/layouts/EmptyState.d.ts +17 -5
- package/types/layouts/EmptyState.d.ts.map +1 -1
- package/types/layouts/IdentityPlate.d.ts +26 -0
- package/types/layouts/IdentityPlate.d.ts.map +1 -0
- package/types/layouts/StatusDot.d.ts +13 -0
- package/types/layouts/StatusDot.d.ts.map +1 -0
- package/types/layouts/index.d.ts +2 -0
- package/types/layouts/index.d.ts.map +1 -1
- package/types/layouts/page.d.ts +14 -3
- package/types/layouts/page.d.ts.map +1 -1
- package/types/surfaces.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@multiplatform.one/components",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.56.0",
|
|
4
4
|
"description": "multiplatform.one ui components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@floating-ui/react": "^0.27.20",
|
|
61
|
-
"@multiplatform.one/forms": "^7.
|
|
62
|
-
"@multiplatform.one/i18n": "^7.
|
|
63
|
-
"@multiplatform.one/platform": "^7.
|
|
64
|
-
"@multiplatform.one/router": "^7.
|
|
65
|
-
"@multiplatform.one/theme": "^7.
|
|
61
|
+
"@multiplatform.one/forms": "^7.56.0",
|
|
62
|
+
"@multiplatform.one/i18n": "^7.56.0",
|
|
63
|
+
"@multiplatform.one/platform": "^7.56.0",
|
|
64
|
+
"@multiplatform.one/router": "^7.56.0",
|
|
65
|
+
"@multiplatform.one/theme": "^7.56.0",
|
|
66
66
|
"@phosphor-icons/react": "^2.1.10",
|
|
67
67
|
"@shopify/flash-list": "^2.3.1",
|
|
68
68
|
"@tamagui/colors": "2.7.6",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"tamagui": "2.7.6"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@multiplatform.one/config": "7.
|
|
93
|
-
"@multiplatform.one/storybook": "7.
|
|
94
|
-
"@multiplatform.one/test-utils": "7.
|
|
92
|
+
"@multiplatform.one/config": "7.56.0",
|
|
93
|
+
"@multiplatform.one/storybook": "7.56.0",
|
|
94
|
+
"@multiplatform.one/test-utils": "7.56.0",
|
|
95
95
|
"@tamagui/build": "2.7.6",
|
|
96
96
|
"@testing-library/jest-dom": "^7.0.1",
|
|
97
97
|
"@testing-library/react": "^16.3.3",
|
package/src/Card.stories.tsx
CHANGED
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
2
2
|
// Catalog Button (G-15 story honesty / LC-18, UX-P06).
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
Button,
|
|
5
|
+
DescriptionList,
|
|
6
|
+
Form,
|
|
7
|
+
FormActions,
|
|
8
|
+
Input,
|
|
9
|
+
formReadableMaxWidth,
|
|
10
|
+
} from "@multiplatform.one/forms";
|
|
11
|
+
import {
|
|
12
|
+
CompassIcon,
|
|
13
|
+
FileCodeIcon,
|
|
14
|
+
HouseLineIcon,
|
|
15
|
+
LinkIcon,
|
|
16
|
+
ShieldCheckIcon,
|
|
17
|
+
StarIcon,
|
|
18
|
+
} from "@phosphor-icons/react";
|
|
4
19
|
import { XStack, YStack } from "tamagui";
|
|
5
20
|
import { Card } from "./Card";
|
|
21
|
+
import { StatusDot } from "./layouts/StatusDot";
|
|
22
|
+
import { reportCopy } from "./feedback/copy";
|
|
6
23
|
import { Paragraph, SizableText } from "./Text";
|
|
7
24
|
|
|
8
25
|
const meta: Meta<typeof Card> = {
|
|
@@ -111,3 +128,68 @@ export const LongContent: Story = {
|
|
|
111
128
|
</Card>
|
|
112
129
|
),
|
|
113
130
|
};
|
|
131
|
+
|
|
132
|
+
// ── Sign-on (LC-169, FZ-7970 r3) ───────────────────────────────
|
|
133
|
+
// The SHC console's Identity › Sign-on cards rebuilt on MPO parts. Clay on
|
|
134
|
+
// the console's: "The shc cards still look like shit. There's no visual
|
|
135
|
+
// hairachy it's all just text that runs together", then on round 3: "Good but
|
|
136
|
+
// use better hierarchy communication with icons less verbose where possible."
|
|
137
|
+
// The three console cards repeated realm master and the same issuer, so the
|
|
138
|
+
// shared facts sit once in the first card and the checks card carries only
|
|
139
|
+
// what differs: each check's status as a dot and one word. Rows are inline
|
|
140
|
+
// (glyph and label leading, value trailing); the URLs stack, mono, cut in the
|
|
141
|
+
// middle, with copy.
|
|
142
|
+
|
|
143
|
+
const issuer = "https://91-98-47-56.sslip.io/auth/realms/master";
|
|
144
|
+
|
|
145
|
+
export const SignOn: Story = {
|
|
146
|
+
name: "Sign-on (LC-169)",
|
|
147
|
+
parameters: { layout: "fullscreen" },
|
|
148
|
+
render: (args) => (
|
|
149
|
+
<YStack padding="$4" gap="$3" backgroundColor="$background" minHeight="100%">
|
|
150
|
+
<Card {...args}>
|
|
151
|
+
<Card.Header status={<StatusDot tone="positive">OK</StatusDot>}>Sign-on</Card.Header>
|
|
152
|
+
<DescriptionList
|
|
153
|
+
placement="inline"
|
|
154
|
+
maxWidth="fluid"
|
|
155
|
+
onCopyResult={(ok) => reportCopy(ok)}
|
|
156
|
+
items={[
|
|
157
|
+
{ icon: <ShieldCheckIcon />, term: "Realm", value: "master" },
|
|
158
|
+
{ icon: <LinkIcon />, term: "Issuer", value: issuer, identifier: true },
|
|
159
|
+
]}
|
|
160
|
+
/>
|
|
161
|
+
</Card>
|
|
162
|
+
<Card {...args}>
|
|
163
|
+
<Card.Header>Checks</Card.Header>
|
|
164
|
+
<DescriptionList
|
|
165
|
+
placement="inline"
|
|
166
|
+
maxWidth="fluid"
|
|
167
|
+
onCopyResult={(ok) => reportCopy(ok)}
|
|
168
|
+
items={[
|
|
169
|
+
{
|
|
170
|
+
icon: <StarIcon />,
|
|
171
|
+
term: "Default realm",
|
|
172
|
+
children: <StatusDot tone="positive">OK</StatusDot>,
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
icon: <HouseLineIcon />,
|
|
176
|
+
term: "Realm for this host",
|
|
177
|
+
children: <StatusDot tone="positive">OK</StatusDot>,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
icon: <CompassIcon />,
|
|
181
|
+
term: "Discovery",
|
|
182
|
+
children: <StatusDot tone="positive">OK</StatusDot>,
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
icon: <FileCodeIcon />,
|
|
186
|
+
term: "Configuration",
|
|
187
|
+
value: `${issuer}/.well-known/openid-configuration`,
|
|
188
|
+
identifier: true,
|
|
189
|
+
},
|
|
190
|
+
]}
|
|
191
|
+
/>
|
|
192
|
+
</Card>
|
|
193
|
+
</YStack>
|
|
194
|
+
),
|
|
195
|
+
};
|
package/src/CardHeader.spec.tsx
CHANGED
|
@@ -141,3 +141,25 @@ describe("CardHeader design-law — T-HEADING text node (R7 / LC-82)", () => {
|
|
|
141
141
|
expect(container.querySelector('[data-slot="header"]')?.textContent).toContain("Title");
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
|
+
|
|
145
|
+
describe("CardHeader status (LC-169)", () => {
|
|
146
|
+
afterEach(cleanup);
|
|
147
|
+
|
|
148
|
+
it("status rides beside the title, never in its text run", () => {
|
|
149
|
+
const { container } = renderWithProviders(
|
|
150
|
+
<CardHeader status={<span data-testid="pill">ok</span>}>Default realm</CardHeader>,
|
|
151
|
+
);
|
|
152
|
+
const title = titleText(container as HTMLElement, "Default realm");
|
|
153
|
+
expect(title.textContent).toBe("Default realm");
|
|
154
|
+
const slot = container.querySelector('[data-slot="status"]') as HTMLElement;
|
|
155
|
+
expect(slot).not.toBeNull();
|
|
156
|
+
expect(slot.contains(screen.getByTestId("pill"))).toBe(true);
|
|
157
|
+
expect(title.contains(slot)).toBe(false);
|
|
158
|
+
expect(slot.parentElement).toBe(title.parentElement);
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
it("draws no status slot when none is given", () => {
|
|
162
|
+
const { container } = renderWithProviders(<CardHeader>Discovery</CardHeader>);
|
|
163
|
+
expect(container.querySelector('[data-slot="status"]')).toBeNull();
|
|
164
|
+
});
|
|
165
|
+
});
|
package/src/CardHeader.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useResolvedKnobs } from "@multiplatform.one/theme";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import { Card as TamaguiCard, SizableText, type ViewProps } from "tamagui";
|
|
3
|
+
import { Card as TamaguiCard, SizableText, XStack, type ViewProps } from "tamagui";
|
|
4
4
|
import { wrapBareTextChildren } from "./shared/textRidesText";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -9,9 +9,16 @@ import { wrapBareTextChildren } from "./shared/textRidesText";
|
|
|
9
9
|
* Nested hue is opt-in on the Card frame (R12) — this part does not wrap Tint.
|
|
10
10
|
* This host is a zero-padding slot
|
|
11
11
|
* (LC-09); T-HEADING rides the title TEXT node (LC-82 / R7), never the View.
|
|
12
|
+
*
|
|
13
|
+
* LC-169 CARD-HIERARCHY: the title is the card's headline, and a status is a
|
|
14
|
+
* pill or dot in `status`, beside the title, never words in the text run.
|
|
12
15
|
*/
|
|
13
16
|
|
|
14
|
-
export type CardHeaderProps = ViewProps & {
|
|
17
|
+
export type CardHeaderProps = ViewProps & {
|
|
18
|
+
children?: ReactNode;
|
|
19
|
+
/** A status pill or dot (a Chip, a Badge dot) drawn beside the title. */
|
|
20
|
+
status?: ReactNode;
|
|
21
|
+
};
|
|
15
22
|
|
|
16
23
|
/**
|
|
17
24
|
* Tamagui styled hosts drop JSX `data-*` on native (Toast gallery hole), so
|
|
@@ -29,8 +36,18 @@ function hostData(attrs: Record<string, string>): Record<string, unknown> {
|
|
|
29
36
|
return { dataSet };
|
|
30
37
|
}
|
|
31
38
|
|
|
32
|
-
export function CardHeader({ children, ...props }: CardHeaderProps) {
|
|
39
|
+
export function CardHeader({ children, status, ...props }: CardHeaderProps) {
|
|
33
40
|
const { knobProps } = useResolvedKnobs({ component: "Card" });
|
|
41
|
+
const title = wrapBareTextChildren(children, (label, key) => (
|
|
42
|
+
<SizableText
|
|
43
|
+
key={key}
|
|
44
|
+
flexShrink={1}
|
|
45
|
+
{...knobProps.heading}
|
|
46
|
+
{...hostData({ "data-heading-font": String(knobProps.heading.fontFamily) })}
|
|
47
|
+
>
|
|
48
|
+
{label}
|
|
49
|
+
</SizableText>
|
|
50
|
+
));
|
|
34
51
|
return (
|
|
35
52
|
<TamaguiCard.Header
|
|
36
53
|
padding={0}
|
|
@@ -38,16 +55,16 @@ export function CardHeader({ children, ...props }: CardHeaderProps) {
|
|
|
38
55
|
{...hostData({ "data-slot": "header" })}
|
|
39
56
|
{...props}
|
|
40
57
|
>
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
{
|
|
46
|
-
{...hostData({ "data-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</
|
|
50
|
-
)
|
|
58
|
+
{status == null ? (
|
|
59
|
+
title
|
|
60
|
+
) : (
|
|
61
|
+
<XStack alignItems="center" minWidth={0} {...knobProps.gapSm}>
|
|
62
|
+
{title}
|
|
63
|
+
<XStack flexShrink={0} alignItems="center" {...hostData({ "data-slot": "status" })}>
|
|
64
|
+
{status}
|
|
65
|
+
</XStack>
|
|
66
|
+
</XStack>
|
|
67
|
+
)}
|
|
51
68
|
</TamaguiCard.Header>
|
|
52
69
|
);
|
|
53
70
|
}
|
|
@@ -74,7 +74,7 @@ export const CoverTrigger: Story = {
|
|
|
74
74
|
</DropdownMenu>
|
|
75
75
|
<DropdownMenu
|
|
76
76
|
anchorMode="cover-trigger"
|
|
77
|
-
items={[{ label: "
|
|
77
|
+
items={[{ label: "Activity" }, { label: "Accounts" }]}
|
|
78
78
|
>
|
|
79
79
|
<Button icon={CaretDownIcon}>WealthFlow navigation</Button>
|
|
80
80
|
</DropdownMenu>
|
|
@@ -13,11 +13,11 @@ const meta: Meta<typeof OverflowRow> = {
|
|
|
13
13
|
};
|
|
14
14
|
export default meta;
|
|
15
15
|
type Story = StoryObj<typeof OverflowRow>;
|
|
16
|
-
const labels = ["
|
|
16
|
+
const labels = ["Activity", "Accounts", "Budgets", "Categories", "Reports", "Settings"];
|
|
17
17
|
|
|
18
18
|
function NavigationRow() {
|
|
19
19
|
const [offset, setOffset] = useState(0);
|
|
20
|
-
const [selected, setSelected] = useState("
|
|
20
|
+
const [selected, setSelected] = useState("Activity");
|
|
21
21
|
return (
|
|
22
22
|
<YStack gap="$3" width="$20" maxWidth="100%">
|
|
23
23
|
<OverflowRow onScroll={(event) => setOffset(Math.round(event.nativeEvent.contentOffset.x))}>
|
|
@@ -2,9 +2,11 @@ import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
3
|
// Catalog Button (G-15 story honesty / LC-18, UX-P06).
|
|
4
4
|
import { Button } from "@multiplatform.one/forms";
|
|
5
|
-
import { isWeb, YStack } from "tamagui";
|
|
5
|
+
import { isWeb, Sheet, YStack } from "tamagui";
|
|
6
|
+
import { ScrollView } from "./ScrollView";
|
|
6
7
|
import { SheetModal } from "./SheetModal";
|
|
7
8
|
import { SheetFrame } from "./surfaces";
|
|
9
|
+
import { Tabs } from "./Tabs";
|
|
8
10
|
import { Paragraph, SizableText } from "./Text";
|
|
9
11
|
|
|
10
12
|
function SheetHarness({ long = false, startOpen = true }: { long?: boolean; startOpen?: boolean }) {
|
|
@@ -47,6 +49,62 @@ function SheetHarness({ long = false, startOpen = true }: { long?: boolean; star
|
|
|
47
49
|
);
|
|
48
50
|
}
|
|
49
51
|
|
|
52
|
+
function panelRows(label: string) {
|
|
53
|
+
return (
|
|
54
|
+
<ScrollView>
|
|
55
|
+
<YStack gap="$2">
|
|
56
|
+
{Array.from({ length: 40 }).map((_, i) => (
|
|
57
|
+
<Paragraph key={i}>
|
|
58
|
+
{label} row {i + 1}
|
|
59
|
+
</Paragraph>
|
|
60
|
+
))}
|
|
61
|
+
</YStack>
|
|
62
|
+
</ScrollView>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* FZ-7771: an inline draggable sheet whose frame holds Tabs with scrolling
|
|
68
|
+
* panels, the SHC stack-sheet shape. The rows scroll; the grabber drags.
|
|
69
|
+
*/
|
|
70
|
+
function TabsInSheetHarness() {
|
|
71
|
+
const [position, setPosition] = useState(0);
|
|
72
|
+
return (
|
|
73
|
+
<YStack flex={1} minHeight={640}>
|
|
74
|
+
<Paragraph>Scroll the rows. Drag the grabber to resize the sheet.</Paragraph>
|
|
75
|
+
<Sheet
|
|
76
|
+
open
|
|
77
|
+
modal={false}
|
|
78
|
+
snapPoints={[85, 50]}
|
|
79
|
+
snapPointsMode="percent"
|
|
80
|
+
position={position}
|
|
81
|
+
onPositionChange={setPosition}
|
|
82
|
+
dismissOnSnapToBottom={false}
|
|
83
|
+
>
|
|
84
|
+
<Sheet.Handle
|
|
85
|
+
backgroundColor="$color8"
|
|
86
|
+
opacity={0.45}
|
|
87
|
+
height={5}
|
|
88
|
+
width={36}
|
|
89
|
+
borderRadius={100}
|
|
90
|
+
aria-label="Resize"
|
|
91
|
+
/>
|
|
92
|
+
<SheetFrame borderBottomLeftRadius={0} borderBottomRightRadius={0}>
|
|
93
|
+
<SizableText fontWeight="600">Stack</SizableText>
|
|
94
|
+
<Tabs
|
|
95
|
+
fill
|
|
96
|
+
defaultValue="services"
|
|
97
|
+
items={[
|
|
98
|
+
{ value: "services", label: "Services", content: panelRows("Service") },
|
|
99
|
+
{ value: "events", label: "Events", content: panelRows("Event") },
|
|
100
|
+
]}
|
|
101
|
+
/>
|
|
102
|
+
</SheetFrame>
|
|
103
|
+
</Sheet>
|
|
104
|
+
</YStack>
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
|
|
50
108
|
const meta: Meta<typeof SheetFrame> = {
|
|
51
109
|
title: "Components/SheetFrame",
|
|
52
110
|
component: SheetFrame,
|
|
@@ -77,3 +135,8 @@ export const LongScroll: Story = {
|
|
|
77
135
|
export const Closed: Story = {
|
|
78
136
|
render: () => <SheetHarness startOpen={false} />,
|
|
79
137
|
};
|
|
138
|
+
|
|
139
|
+
export const TabsInDraggableSheet: Story = {
|
|
140
|
+
parameters: { nativeGallery: { scroll: false } },
|
|
141
|
+
render: () => <TabsInSheetHarness />,
|
|
142
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { describe, expect, it } from "vitest";
|
|
2
|
-
import { mediumDetent, minSheetHeight, resolveSheetDetents } from "./detents";
|
|
2
|
+
import { mediumDetent, minSheetHeight, resolveSheetDetents, resolveWebSnap } from "./detents";
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
* MPO-68 AC-4 — "SheetModal's snapPoint prop either drives a detent or is
|
|
@@ -86,3 +86,20 @@ describe("resolveSheetDetents", () => {
|
|
|
86
86
|
expect(new Set(detents).size).toBe(detents.length);
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
|
+
|
|
90
|
+
describe("resolveWebSnap (FZ-7977)", () => {
|
|
91
|
+
it("a sheet with no snapPoint opens at its content's height", () => {
|
|
92
|
+
expect(resolveWebSnap({})).toEqual({ snapPointsMode: "fit" });
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
it("a caller's percent still sets the rest", () => {
|
|
96
|
+
expect(resolveWebSnap({ snapPoint: 85 })).toEqual({
|
|
97
|
+
snapPointsMode: "percent",
|
|
98
|
+
snapPoints: [85],
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
it("a fill sheet has no intrinsic height, so it keeps a percent rest", () => {
|
|
103
|
+
expect(resolveWebSnap({ fill: true })).toEqual({ snapPointsMode: "percent", snapPoints: [60] });
|
|
104
|
+
});
|
|
105
|
+
});
|
|
@@ -53,3 +53,31 @@ export function resolveSheetDetents({
|
|
|
53
53
|
const floor = Math.min(minSheetHeight, travel);
|
|
54
54
|
return Array.from(new Set(points.filter((h) => h >= floor))).sort((a, b) => b - a);
|
|
55
55
|
}
|
|
56
|
+
|
|
57
|
+
/** The large detent: the tallest a content-sized sheet grows, as a fraction of the window. */
|
|
58
|
+
export const largeDetentRatio = 0.85;
|
|
59
|
+
|
|
60
|
+
/** Percent rest of a `fill` sheet with no `snapPoint`: it has no intrinsic height to fit. */
|
|
61
|
+
export const fillSnapPoint = 60;
|
|
62
|
+
|
|
63
|
+
export type WebSnap =
|
|
64
|
+
| { snapPointsMode: "fit" }
|
|
65
|
+
| { snapPointsMode: "percent"; snapPoints: number[] };
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The web Sheet's snap props. FZ-7977: a sheet with no `snapPoint` opens at
|
|
69
|
+
* its content's height (capped at the large detent), the way the native twin
|
|
70
|
+
* already sizes to content, instead of a fixed 60% with a dead band under
|
|
71
|
+
* short content. A caller's percent still wins, and a `fill` sheet, which has
|
|
72
|
+
* no intrinsic height, keeps a percent rest.
|
|
73
|
+
*/
|
|
74
|
+
export function resolveWebSnap({
|
|
75
|
+
snapPoint,
|
|
76
|
+
fill,
|
|
77
|
+
}: {
|
|
78
|
+
snapPoint?: number;
|
|
79
|
+
fill?: boolean;
|
|
80
|
+
}): WebSnap {
|
|
81
|
+
if (snapPoint === undefined && !fill) return { snapPointsMode: "fit" };
|
|
82
|
+
return { snapPointsMode: "percent", snapPoints: [snapPoint ?? fillSnapPoint] };
|
|
83
|
+
}
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "react-native";
|
|
42
42
|
import { SafeAreaInsetsContext, initialWindowMetrics } from "react-native-safe-area-context";
|
|
43
43
|
|
|
44
|
-
import { minSheetHeight, resolveSheetDetents } from "./detents";
|
|
44
|
+
import { largeDetentRatio, minSheetHeight, resolveSheetDetents } from "./detents";
|
|
45
45
|
import { useTranslation } from "../shared/i18n";
|
|
46
46
|
import { useKeyboardInset } from "../shared/useKeyboardInset";
|
|
47
47
|
import { View, YStack } from "tamagui";
|
|
@@ -50,7 +50,6 @@ import { DialogRegionContext } from "../surfaces";
|
|
|
50
50
|
import type { SheetModalProps } from "./index";
|
|
51
51
|
export type { SheetModalProps } from "./index";
|
|
52
52
|
|
|
53
|
-
const sheetMaxHeightRatio = 0.85;
|
|
54
53
|
const bottomInset = Platform.OS === "ios" ? 24 : 16;
|
|
55
54
|
// Backdrop left visible above the sheet, so the scrim stays tappable.
|
|
56
55
|
const backdropStrip = 48;
|
|
@@ -111,7 +110,7 @@ export function SheetModal({
|
|
|
111
110
|
const available = Math.max(0, windowHeight - keyboardInset);
|
|
112
111
|
const maxHeight = Math.max(
|
|
113
112
|
minSheetHeight,
|
|
114
|
-
Math.round(Math.min(windowHeight *
|
|
113
|
+
Math.round(Math.min(windowHeight * largeDetentRatio, available - topInset - backdropStrip)),
|
|
115
114
|
);
|
|
116
115
|
|
|
117
116
|
/*
|
package/src/SheetModal/index.tsx
CHANGED
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
import { transitionProps, useResolvedKnobs } from "@multiplatform.one/theme";
|
|
13
13
|
import { OverlayStackProvider, useOverlayZIndex } from "@multiplatform.one/forms";
|
|
14
14
|
import { useEffect, useId, useRef, type ReactNode } from "react";
|
|
15
|
-
import { isWeb, Sheet, View } from "tamagui";
|
|
15
|
+
import { isWeb, Sheet, View, useWindowDimensions } from "tamagui";
|
|
16
16
|
import { DialogRegionContext, SheetFrame } from "../surfaces";
|
|
17
|
+
import { largeDetentRatio, resolveWebSnap } from "./detents";
|
|
17
18
|
import { useSheetFrameFocus } from "./useSheetFrameFocus";
|
|
18
19
|
|
|
19
20
|
export interface SheetModalProps {
|
|
@@ -22,7 +23,12 @@ export interface SheetModalProps {
|
|
|
22
23
|
children?: ReactNode;
|
|
23
24
|
/** Fixed content above the (scrollable) body, e.g. the sheet title. */
|
|
24
25
|
header?: ReactNode;
|
|
25
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Percent snap point. Web: the Sheet's snap point. Native: a drag detent.
|
|
28
|
+
* Omitted: the sheet opens at its content's height, capped at the large
|
|
29
|
+
* detent (HIG: a sheet as tall as what it holds). A `fill` sheet has no
|
|
30
|
+
* intrinsic height, so it falls back to 60%.
|
|
31
|
+
*/
|
|
26
32
|
snapPoint?: number;
|
|
27
33
|
/** Wrap children in the sheet's scroll container. */
|
|
28
34
|
scrollable?: boolean;
|
|
@@ -72,10 +78,12 @@ export function SheetModal({
|
|
|
72
78
|
onOpenChange,
|
|
73
79
|
children,
|
|
74
80
|
header,
|
|
75
|
-
snapPoint
|
|
81
|
+
snapPoint,
|
|
76
82
|
scrollable,
|
|
77
83
|
fill = false,
|
|
78
84
|
}: SheetModalProps) {
|
|
85
|
+
const snap = resolveWebSnap({ snapPoint, fill });
|
|
86
|
+
const { height: windowHeight } = useWindowDimensions();
|
|
79
87
|
const { knobProps } = useResolvedKnobs();
|
|
80
88
|
const sheetZIndex = useOverlayZIndex("sheet");
|
|
81
89
|
const transition = knobProps.motion.slide.transition;
|
|
@@ -91,8 +99,7 @@ export function SheetModal({
|
|
|
91
99
|
open={open}
|
|
92
100
|
onOpenChange={onOpenChange}
|
|
93
101
|
dismissOnSnapToBottom
|
|
94
|
-
|
|
95
|
-
snapPoints={[snapPoint]}
|
|
102
|
+
{...snap}
|
|
96
103
|
transition={transition}
|
|
97
104
|
zIndex={sheetZIndex}
|
|
98
105
|
portalProps={{ zIndex: sheetZIndex }}
|
|
@@ -121,6 +128,9 @@ export function SheetModal({
|
|
|
121
128
|
"aria-labelledby": header ? titleId : undefined,
|
|
122
129
|
} as Record<string, unknown>)}
|
|
123
130
|
{...knobProps.gap}
|
|
131
|
+
{...(snap.snapPointsMode === "fit"
|
|
132
|
+
? { maxHeight: Math.round(windowHeight * largeDetentRatio) }
|
|
133
|
+
: null)}
|
|
124
134
|
borderBottomLeftRadius={0}
|
|
125
135
|
borderBottomRightRadius={0}
|
|
126
136
|
overflow="hidden"
|
|
@@ -17,7 +17,7 @@ import { Tabs } from "./index";
|
|
|
17
17
|
afterEach(cleanup);
|
|
18
18
|
|
|
19
19
|
const items = [
|
|
20
|
-
{ value: "
|
|
20
|
+
{ value: "abilities", label: "Abilities", content: "Static, Lightning Rod" },
|
|
21
21
|
{ value: "stats", label: "Stats", content: "Stats content" },
|
|
22
22
|
];
|
|
23
23
|
|
|
@@ -34,7 +34,7 @@ afterEach(() => {
|
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
const items = [
|
|
37
|
-
{ value: "
|
|
37
|
+
{ value: "abilities", label: "Abilities", content: "Abilities content" },
|
|
38
38
|
{ value: "stats", label: "Stats", content: "Stats content" },
|
|
39
39
|
{ value: "moves", label: "Moves", content: "Loading moves" },
|
|
40
40
|
];
|
|
@@ -68,18 +68,18 @@ describe.each(["underline", "contained", "band"] as const)("%s panel height", (v
|
|
|
68
68
|
layout("stats", 0);
|
|
69
69
|
expect(getComputedStyle(host).minHeight).toBe("360px");
|
|
70
70
|
hostLayout(360);
|
|
71
|
-
fireEvent.click(screen.getByRole("tab", { name: "
|
|
71
|
+
fireEvent.click(screen.getByRole("tab", { name: "Abilities" }));
|
|
72
72
|
expect(getComputedStyle(host).minHeight).toBe("360px");
|
|
73
|
-
layout("
|
|
73
|
+
layout("abilities", 400);
|
|
74
74
|
expect(getComputedStyle(host).minHeight).toBe("");
|
|
75
|
-
layout("
|
|
75
|
+
layout("abilities", 180);
|
|
76
76
|
expect(getComputedStyle(host).minHeight).toBe("");
|
|
77
77
|
},
|
|
78
78
|
);
|
|
79
79
|
|
|
80
80
|
it("caps controlled switches at the window height and releases on width changes", () => {
|
|
81
81
|
const tree = renderWithProviders(
|
|
82
|
-
<Tabs items={items} lazyMount value="
|
|
82
|
+
<Tabs items={items} lazyMount value="abilities" variant={variant} />,
|
|
83
83
|
);
|
|
84
84
|
hostLayout(2000);
|
|
85
85
|
tree.rerender(<Tabs items={items} lazyMount value="stats" variant={variant} />);
|
|
@@ -7,7 +7,7 @@ import { Tabs, type TabsVariant } from "./index";
|
|
|
7
7
|
afterEach(cleanup);
|
|
8
8
|
|
|
9
9
|
const items = [
|
|
10
|
-
{ value: "
|
|
10
|
+
{ value: "abilities", label: "Abilities", content: <input aria-label="Abilities note" /> },
|
|
11
11
|
{ value: "stats", label: "Stats", content: <input aria-label="Stats note" /> },
|
|
12
12
|
{ value: "moves", label: "Moves", content: <input aria-label="Moves note" /> },
|
|
13
13
|
{ value: "unvisited", label: "Unvisited", content: <input aria-label="Unvisited note" /> },
|
|
@@ -27,7 +27,7 @@ describe.each<TabsVariant>(["underline", "contained", "band"])("%s lazy panels",
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
function Harness({ value }: { value?: string }) {
|
|
30
|
-
const [selected, setSelected] = useState("
|
|
30
|
+
const [selected, setSelected] = useState("abilities");
|
|
31
31
|
return (
|
|
32
32
|
<Profiler id="tabs" onRender={capture}>
|
|
33
33
|
<Tabs
|
|
@@ -47,10 +47,10 @@ describe.each<TabsVariant>(["underline", "contained", "band"])("%s lazy panels",
|
|
|
47
47
|
</Profiler>
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
|
-
const tree = renderWithProviders(<Harness value="
|
|
50
|
+
const tree = renderWithProviders(<Harness value="abilities" />);
|
|
51
51
|
expect(commits.length).toBeGreaterThan(0);
|
|
52
|
-
expect(commits.every((panels) => panels.join() === "
|
|
53
|
-
for (const value of ["stats", "moves", "
|
|
52
|
+
expect(commits.every((panels) => panels.join() === "Abilities note")).toBe(true);
|
|
53
|
+
for (const value of ["stats", "moves", "abilities", "stats", "moves"]) {
|
|
54
54
|
commits.length = 0;
|
|
55
55
|
const label = items.find((item) => item.value === value)!.label;
|
|
56
56
|
if (mode === "controlled prop") tree.rerender(<Harness value={value} />);
|
|
@@ -49,9 +49,9 @@ export default meta;
|
|
|
49
49
|
|
|
50
50
|
type Story = StoryObj<typeof Tabs>;
|
|
51
51
|
|
|
52
|
-
const Panel = ({ title, body }: { title
|
|
52
|
+
const Panel = ({ title, body }: { title?: string; body: string }) => (
|
|
53
53
|
<YStack gap="$2">
|
|
54
|
-
<Text fontWeight="700">{title}</Text>
|
|
54
|
+
{title ? <Text fontWeight="700">{title}</Text> : null}
|
|
55
55
|
<Text color="$color11">{body}</Text>
|
|
56
56
|
</YStack>
|
|
57
57
|
);
|
|
@@ -265,12 +265,12 @@ export const ScrollContinuity: Story = {
|
|
|
265
265
|
lazyMount
|
|
266
266
|
items={[
|
|
267
267
|
{
|
|
268
|
-
value: "
|
|
269
|
-
label: "
|
|
268
|
+
value: "activity",
|
|
269
|
+
label: "Activity",
|
|
270
270
|
content: (
|
|
271
271
|
<YStack gap="$2">
|
|
272
272
|
{Array.from({ length: 8 }, (_, index) => (
|
|
273
|
-
<Text key={index}>
|
|
273
|
+
<Text key={index}>Activity row {index + 1}</Text>
|
|
274
274
|
))}
|
|
275
275
|
</YStack>
|
|
276
276
|
),
|
|
@@ -386,8 +386,8 @@ export const EqualBand: Story = {
|
|
|
386
386
|
variant="band"
|
|
387
387
|
ariaLabel="Sections"
|
|
388
388
|
items={[
|
|
389
|
-
{ value: "overview", label: "Overview" },
|
|
390
389
|
{ value: "activity", label: "Activity" },
|
|
390
|
+
{ value: "members", label: "Members" },
|
|
391
391
|
{ value: "resources", label: "Resources" },
|
|
392
392
|
{ value: "reports", label: "Reports" },
|
|
393
393
|
{ value: "settings", label: "Settings" },
|
|
@@ -472,9 +472,9 @@ export const InPageGutter: Story = {
|
|
|
472
472
|
{...args}
|
|
473
473
|
items={[
|
|
474
474
|
{
|
|
475
|
-
value: "
|
|
476
|
-
label: "
|
|
477
|
-
content: <Panel
|
|
475
|
+
value: "abilities",
|
|
476
|
+
label: "Abilities",
|
|
477
|
+
content: <Panel body="Compound Eyes, Tinted Lens." />,
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
value: "stats",
|
package/src/Tabs/index.tsx
CHANGED
|
@@ -299,6 +299,15 @@ export function tabsScrollIntoViewX(
|
|
|
299
299
|
// neither :focus-visible nor focusVisibleStyle fire for the redirected tab —
|
|
300
300
|
// the ring is painted manually via the theme keyboard-modality tracker.
|
|
301
301
|
|
|
302
|
+
/**
|
|
303
|
+
* FZ-7771: web only. On native these focus pseudos make tamagui claim the
|
|
304
|
+
* touch responder at its start, so the panel took every touch from the
|
|
305
|
+
* ScrollView inside it and from a Sheet around it.
|
|
306
|
+
*/
|
|
307
|
+
const panelFocusReset = isWeb
|
|
308
|
+
? { focusStyle: { outlineWidth: 0 }, focusVisibleStyle: { outlineWidth: 0 } }
|
|
309
|
+
: undefined;
|
|
310
|
+
|
|
302
311
|
/**
|
|
303
312
|
* Underline tabs sit on a full-bleed hairline, so only the TOP outer corners
|
|
304
313
|
* round (LC-72 adapted to a baseline). Bottoms stay square against the rule.
|
|
@@ -965,8 +974,7 @@ function TabsRoot({
|
|
|
965
974
|
{...panelInset}
|
|
966
975
|
tabIndex={-1}
|
|
967
976
|
outlineWidth={0}
|
|
968
|
-
|
|
969
|
-
focusVisibleStyle={{ outlineWidth: 0 }}
|
|
977
|
+
{...panelFocusReset}
|
|
970
978
|
>
|
|
971
979
|
{panelBody(item.content)}
|
|
972
980
|
</TamaguiTabs.Content>
|
|
@@ -981,8 +989,7 @@ function TabsRoot({
|
|
|
981
989
|
{...panelInset}
|
|
982
990
|
tabIndex={-1}
|
|
983
991
|
outlineWidth={0}
|
|
984
|
-
|
|
985
|
-
focusVisibleStyle={{ outlineWidth: 0 }}
|
|
992
|
+
{...panelFocusReset}
|
|
986
993
|
>
|
|
987
994
|
{panelBody(item.content)}
|
|
988
995
|
</TamaguiTabs.Content>
|