@multiplatform.one/components 9.1.0 → 9.3.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.cjs +1 -1
- package/dist/cjs/Avatar/index.native.js +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.native.js.map +1 -1
- package/dist/cjs/Carousel/geometry.native.js.map +1 -1
- package/dist/cjs/Carousel/index.native.js +3 -3
- package/dist/cjs/Carousel/index.native.js.map +1 -1
- package/dist/cjs/ChatTurn/index.native.js.map +1 -1
- package/dist/cjs/CheckGlyph/MenuCheckColumn.native.js.map +1 -1
- package/dist/cjs/CheckGlyph/index.native.js.map +1 -1
- package/dist/cjs/Chip/index.cjs +37 -16
- package/dist/cjs/Chip/index.native.js +38 -16
- package/dist/cjs/Chip/index.native.js.map +1 -1
- package/dist/cjs/ChoiceChips/index.native.js +1 -1
- package/dist/cjs/ChoiceChips/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/CopyMenuButton.native.js +1 -1
- package/dist/cjs/CopyField/CopyMenuButton.native.js.map +1 -1
- package/dist/cjs/CopyField/index.native.js.map +1 -1
- package/dist/cjs/Dialog.native.js +1 -1
- package/dist/cjs/Dialog.native.js.map +1 -1
- package/dist/cjs/Diff/diff.native.js.map +1 -1
- package/dist/cjs/Diff/index.native.js.map +1 -1
- package/dist/cjs/DotIndicator/index.native.js.map +1 -1
- package/dist/cjs/DrillStack/DrillBar.native.js.map +1 -1
- package/dist/cjs/DrillStack/context.native.js.map +1 -1
- package/dist/cjs/DrillStack/drillMotion.native.js.map +1 -1
- package/dist/cjs/DropDownPanel/index.native.js.map +1 -1
- package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
- package/dist/cjs/DropdownMenu/menuSettle.native.js.map +1 -1
- package/dist/cjs/ElapsedProgress/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/Kbd/index.native.js.map +1 -1
- package/dist/cjs/Kbd/keys.native.js.map +1 -1
- package/dist/cjs/Lightbox/MediaControl.native.js.map +1 -1
- package/dist/cjs/Lightbox/index.gnome.native.js.map +1 -1
- package/dist/cjs/Lightbox/index.native.js +1 -1
- package/dist/cjs/Lightbox/shared.native.js.map +1 -1
- package/dist/cjs/Lightbox/useLightbox.native.js.map +1 -1
- package/dist/cjs/MachineLiteral/index.native.js.map +1 -1
- package/dist/cjs/Material/index.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.cjs +3 -3
- package/dist/cjs/Meter/meter.native.js +3 -3
- package/dist/cjs/Meter/meter.native.js.map +1 -1
- package/dist/cjs/MiddleEllipsisText/middleSplit.native.js.map +1 -1
- package/dist/cjs/MiddleEllipsisText/types.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 +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/SchemeToggle/index.native.js +1 -1
- package/dist/cjs/SchemeToggle/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/SheetBodyRegion.cjs +44 -0
- package/dist/cjs/SheetModal/SheetBodyRegion.native.js +48 -0
- package/dist/cjs/SheetModal/SheetBodyRegion.native.js.map +1 -0
- package/dist/cjs/SheetModal/SheetHeader.cjs +11 -14
- package/dist/cjs/SheetModal/SheetHeader.native.js +11 -14
- package/dist/cjs/SheetModal/SheetHeader.native.js.map +1 -1
- package/dist/cjs/SheetModal/SheetNavigation.native.js.map +1 -1
- package/dist/cjs/SheetModal/detents.native.js.map +1 -1
- package/dist/cjs/SheetModal/index.cjs +64 -21
- package/dist/cjs/SheetModal/index.native.js +92 -68
- package/dist/cjs/SheetModal/index.native.js.map +1 -1
- package/dist/cjs/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/cjs/SheetScrollView/index.native.js +1 -1
- package/dist/cjs/SheetScrollView/index.native.js.map +1 -1
- package/dist/cjs/SheetScrollView/sheetHandoff.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/SortableList/useUserOrder.native.js.map +1 -1
- package/dist/cjs/SwipeDismissRow/index.native.js.map +1 -1
- package/dist/cjs/Tabs/index.cjs +63 -13
- package/dist/cjs/Tabs/index.native.js +74 -19
- 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 +1 -1
- 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 +2 -2
- 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/DangerSection.native.js.map +1 -1
- package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
- package/dist/cjs/actions/HeaderActions.native.js +2 -2
- package/dist/cjs/actions/HeaderActions.native.js.map +1 -1
- package/dist/cjs/actions/StandardAction.cjs +62 -1
- package/dist/cjs/actions/StandardAction.native.js +64 -2
- package/dist/cjs/actions/StandardAction.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/AppShell.native.js +1 -1
- package/dist/cjs/appShell/AppShell.native.js.map +1 -1
- package/dist/cjs/appShell/BottomChromeClearance.native.js.map +1 -1
- package/dist/cjs/appShell/Dock.native.js.map +1 -1
- package/dist/cjs/appShell/MpoTabHost.native.js.map +1 -1
- package/dist/cjs/appShell/ScopeMenu.native.js +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 +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/TabHost.native.js +24 -3
- package/dist/cjs/appShell/TabHost.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/bottomChrome.cjs +3 -0
- package/dist/cjs/appShell/bottomChrome.native.js +3 -0
- package/dist/cjs/appShell/bottomChrome.native.js.map +1 -1
- package/dist/cjs/appShell/index.cjs +2 -1
- package/dist/cjs/appShell/index.native.js +2 -1
- package/dist/cjs/appShell/index.native.js.map +1 -1
- package/dist/cjs/appShell/stackBack.native.js.map +1 -1
- package/dist/cjs/appShell/systemBarFit.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.cjs +0 -1
- package/dist/cjs/charts/ChartDataView.native.js +2 -3
- 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 +8 -8
- 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/HoldSelect/tapGate.native.js.map +1 -1
- package/dist/cjs/code/LogView.cjs +1 -1
- package/dist/cjs/code/LogView.native.js +2 -2
- package/dist/cjs/code/LogView.native.js.map +1 -1
- package/dist/cjs/code/PayloadView/index.native.js +5 -5
- package/dist/cjs/code/PayloadView/index.native.js.map +1 -1
- package/dist/cjs/code/PayloadView/payloadModel.native.js.map +1 -1
- package/dist/cjs/code/Pre/index.native.js.map +1 -1
- package/dist/cjs/code/index.native.js +7 -7
- 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/formLayouts/FormLayouts.native.js +1 -1
- package/dist/cjs/formLayouts/FormLayouts.native.js.map +1 -1
- package/dist/cjs/formLayouts/PreferencePanel.native.js +2 -2
- package/dist/cjs/formLayouts/PreferencePanel.native.js.map +1 -1
- package/dist/cjs/formLayouts/SingleTaskColumn.native.js.map +1 -1
- package/dist/cjs/formLayouts/index.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.cjs +16 -8
- package/dist/cjs/icons/lucide.native.js +16 -8
- package/dist/cjs/icons/lucide.native.js.map +1 -1
- package/dist/cjs/icons/themed.cjs +4 -1
- package/dist/cjs/icons/themed.native.js +4 -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/framing.native.js.map +1 -1
- package/dist/cjs/images/Image/index.native.js +1 -1
- package/dist/cjs/images/Image/mediaRadius.native.js.map +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/RemoteArt/index.native.js +1 -1
- package/dist/cjs/images/RemoteArt/remoteArtCache.native.js.map +1 -1
- package/dist/cjs/images/RemoteArt/svgMarkup.native.js.map +1 -1
- package/dist/cjs/images/RemoteArt/types.native.js.map +1 -1
- package/dist/cjs/images/index.native.js.map +1 -1
- package/dist/cjs/index.gnome.native.js +22 -22
- package/dist/cjs/index.gnome.native.js.map +1 -1
- package/dist/cjs/index.native.js +46 -46
- 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.native.js +1 -1
- package/dist/cjs/layouts/EmptyState.native.js.map +1 -1
- package/dist/cjs/layouts/IdentityPlate.native.js +1 -1
- package/dist/cjs/layouts/IdentityPlate.native.js.map +1 -1
- 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 +9 -2
- package/dist/cjs/layouts/StatusDot.native.js +9 -2
- package/dist/cjs/layouts/StatusDot.native.js.map +1 -1
- package/dist/cjs/layouts/StatusGlyphStrip.cjs +1 -1
- package/dist/cjs/layouts/StatusGlyphStrip.native.js +2 -2
- package/dist/cjs/layouts/StatusGlyphStrip.native.js.map +1 -1
- package/dist/cjs/layouts/ViewSwitcher.native.js.map +1 -1
- package/dist/cjs/layouts/asyncFailure.native.js.map +1 -1
- package/dist/cjs/layouts/attachments.native.js +2 -2
- package/dist/cjs/layouts/attachments.native.js.map +1 -1
- package/dist/cjs/layouts/barTitleSpan.native.js.map +1 -1
- package/dist/cjs/layouts/bottomAccessory.native.js.map +1 -1
- package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/cjs/layouts/index.cjs +1 -0
- package/dist/cjs/layouts/index.native.js +4 -3
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/layouts/page.cjs +25 -2
- package/dist/cjs/layouts/page.native.js +29 -4
- 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.cjs +3 -6
- package/dist/cjs/layouts/sidebar.native.js +4 -7
- 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.cjs +4 -3
- package/dist/cjs/layouts/timeline.native.js +6 -5
- 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 +1 -1
- package/dist/cjs/surfaces.native.js +2 -2
- 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/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/CardGrid.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/FilePreview.cjs +1 -1
- package/dist/cjs/views/FilePreview.native.js +4 -4
- package/dist/cjs/views/FilePreview.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 +2 -2
- 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/ListGroup.native.js +1 -1
- package/dist/cjs/views/ListGroup.native.js.map +1 -1
- package/dist/cjs/views/ListRow.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/ShortcutCard.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/sameNameScope.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/cjs/views/usePageFlowLoadMore.native.js.map +1 -1
- package/dist/cjs/views/widgetChrome.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.mjs +1 -1
- package/dist/esm/Avatar/index.native.js +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/ChatTurn/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 +37 -17
- package/dist/esm/Chip/index.mjs.map +1 -1
- package/dist/esm/Chip/index.native.js +38 -17
- package/dist/esm/Chip/index.native.js.map +1 -1
- package/dist/esm/ChoiceChips/index.native.js.map +1 -1
- 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.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/DrillStack/DrillBar.native.js.map +1 -1
- package/dist/esm/DrillStack/context.native.js.map +1 -1
- package/dist/esm/DrillStack/drillMotion.native.js.map +1 -1
- package/dist/esm/DropDownPanel/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.mjs +3 -3
- package/dist/esm/Meter/meter.mjs.map +1 -1
- package/dist/esm/Meter/meter.native.js +3 -3
- package/dist/esm/Meter/meter.native.js.map +1 -1
- package/dist/esm/MiddleEllipsisText/middleSplit.native.js.map +1 -1
- package/dist/esm/MiddleEllipsisText/types.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/SheetBodyRegion.mjs +19 -0
- package/dist/esm/SheetModal/SheetBodyRegion.mjs.map +1 -0
- package/dist/esm/SheetModal/SheetBodyRegion.native.js +20 -0
- package/dist/esm/SheetModal/SheetBodyRegion.native.js.map +1 -0
- package/dist/esm/SheetModal/SheetHeader.mjs +11 -14
- package/dist/esm/SheetModal/SheetHeader.mjs.map +1 -1
- package/dist/esm/SheetModal/SheetHeader.native.js +11 -14
- 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/index.mjs +68 -25
- package/dist/esm/SheetModal/index.mjs.map +1 -1
- package/dist/esm/SheetModal/index.native.js +94 -70
- package/dist/esm/SheetModal/index.native.js.map +1 -1
- package/dist/esm/SheetModal/useSheetFrameFocus.native.js.map +1 -1
- package/dist/esm/SheetScrollView/index.native.js.map +1 -1
- package/dist/esm/SheetScrollView/sheetHandoff.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/SwipeDismissRow/index.native.js.map +1 -1
- package/dist/esm/Tabs/index.mjs +63 -13
- package/dist/esm/Tabs/index.mjs.map +1 -1
- package/dist/esm/Tabs/index.native.js +73 -18
- package/dist/esm/Tabs/index.native.js.map +1 -1
- package/dist/esm/Text.native.js.map +1 -1
- 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.mjs +63 -2
- package/dist/esm/actions/StandardAction.mjs.map +1 -1
- package/dist/esm/actions/StandardAction.native.js +64 -2
- 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.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/TabHost.native.js +26 -5
- package/dist/esm/appShell/TabHost.native.js.map +1 -1
- package/dist/esm/appShell/appTile.native.js.map +1 -1
- package/dist/esm/appShell/bottomChrome.mjs +2 -1
- package/dist/esm/appShell/bottomChrome.mjs.map +1 -1
- package/dist/esm/appShell/bottomChrome.native.js +2 -1
- package/dist/esm/appShell/bottomChrome.native.js.map +1 -1
- package/dist/esm/appShell/index.mjs +2 -2
- package/dist/esm/appShell/index.mjs.map +1 -1
- package/dist/esm/appShell/index.native.js +2 -2
- package/dist/esm/appShell/index.native.js.map +1 -1
- package/dist/esm/appShell/stackBack.native.js.map +1 -1
- package/dist/esm/appShell/systemBarFit.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.mjs +0 -1
- package/dist/esm/charts/ChartDataView.mjs.map +1 -1
- package/dist/esm/charts/ChartDataView.native.js +0 -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/HoldSelect/tapGate.native.js.map +1 -1
- package/dist/esm/code/LogView.mjs +1 -1
- package/dist/esm/code/LogView.mjs.map +1 -1
- package/dist/esm/code/LogView.native.js +1 -1
- package/dist/esm/code/LogView.native.js.map +1 -1
- package/dist/esm/code/PayloadView/index.native.js.map +1 -1
- package/dist/esm/code/PayloadView/payloadModel.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.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.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/SingleTaskColumn.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/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.mjs +11 -3
- package/dist/esm/icons/lucide.mjs.map +1 -1
- package/dist/esm/icons/lucide.native.js +11 -3
- package/dist/esm/icons/lucide.native.js.map +1 -1
- package/dist/esm/icons/themed.mjs +4 -1
- package/dist/esm/icons/themed.mjs.map +1 -1
- package/dist/esm/icons/themed.native.js +4 -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/RemoteArt/remoteArtCache.native.js.map +1 -1
- package/dist/esm/images/RemoteArt/svgMarkup.native.js.map +1 -1
- package/dist/esm/images/RemoteArt/types.native.js.map +1 -1
- package/dist/esm/images/index.native.js.map +1 -1
- package/dist/esm/index.gnome.native.js.map +1 -1
- package/dist/esm/index.native.js.map +1 -1
- package/dist/esm/knobImmuneExports.native.js.map +1 -1
- 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.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.mjs +8 -2
- package/dist/esm/layouts/StatusDot.mjs.map +1 -1
- package/dist/esm/layouts/StatusDot.native.js +8 -2
- package/dist/esm/layouts/StatusDot.native.js.map +1 -1
- package/dist/esm/layouts/StatusGlyphStrip.mjs +2 -2
- package/dist/esm/layouts/StatusGlyphStrip.mjs.map +1 -1
- package/dist/esm/layouts/StatusGlyphStrip.native.js +2 -2
- 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.native.js.map +1 -1
- 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 -2
- package/dist/esm/layouts/index.mjs.map +1 -1
- package/dist/esm/layouts/index.native.js +2 -2
- package/dist/esm/layouts/index.native.js.map +1 -1
- package/dist/esm/layouts/page.mjs +26 -3
- package/dist/esm/layouts/page.mjs.map +1 -1
- package/dist/esm/layouts/page.native.js +28 -3
- 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.mjs +3 -6
- package/dist/esm/layouts/sidebar.mjs.map +1 -1
- package/dist/esm/layouts/sidebar.native.js +3 -6
- 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.mjs +2 -1
- package/dist/esm/layouts/timeline.mjs.map +1 -1
- package/dist/esm/layouts/timeline.native.js +2 -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.mjs +1 -1
- package/dist/esm/surfaces.mjs.map +1 -1
- package/dist/esm/surfaces.native.js +1 -1
- package/dist/esm/surfaces.native.js.map +1 -1
- package/dist/esm/tamagui.native.js.map +1 -1
- package/dist/esm/testSetup.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.native.js.map +1 -1
- package/dist/esm/views/Dashboard.native.js.map +1 -1
- package/dist/esm/views/FilePreview.mjs +1 -1
- package/dist/esm/views/FilePreview.mjs.map +1 -1
- package/dist/esm/views/FilePreview.native.js +1 -1
- package/dist/esm/views/FilePreview.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.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.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/Avatar/index.mjs +1 -1
- package/dist/jsx/Avatar/index.native.js +1 -1
- package/dist/jsx/Chip/index.mjs +37 -17
- package/dist/jsx/Chip/index.mjs.map +1 -1
- package/dist/jsx/Chip/index.native.js +38 -16
- package/dist/jsx/Chip/index.native.js.map +1 -1
- package/dist/jsx/Meter/meter.mjs +3 -3
- package/dist/jsx/Meter/meter.mjs.map +1 -1
- package/dist/jsx/Meter/meter.native.js +3 -3
- package/dist/jsx/Meter/meter.native.js.map +1 -1
- package/dist/jsx/SheetModal/SheetBodyRegion.mjs +19 -0
- package/dist/jsx/SheetModal/SheetBodyRegion.mjs.map +1 -0
- package/dist/jsx/SheetModal/SheetBodyRegion.native.js +48 -0
- package/dist/jsx/SheetModal/SheetBodyRegion.native.js.map +1 -0
- package/dist/jsx/SheetModal/SheetHeader.mjs +11 -14
- package/dist/jsx/SheetModal/SheetHeader.mjs.map +1 -1
- package/dist/jsx/SheetModal/SheetHeader.native.js +11 -14
- package/dist/jsx/SheetModal/SheetHeader.native.js.map +1 -1
- package/dist/jsx/SheetModal/index.mjs +68 -25
- package/dist/jsx/SheetModal/index.mjs.map +1 -1
- package/dist/jsx/SheetModal/index.native.js +92 -68
- package/dist/jsx/SheetModal/index.native.js.map +1 -1
- package/dist/jsx/Tabs/index.mjs +63 -13
- package/dist/jsx/Tabs/index.mjs.map +1 -1
- package/dist/jsx/Tabs/index.native.js +73 -18
- package/dist/jsx/Tabs/index.native.js.map +1 -1
- package/dist/jsx/actions/StandardAction.mjs +63 -2
- package/dist/jsx/actions/StandardAction.mjs.map +1 -1
- package/dist/jsx/actions/StandardAction.native.js +63 -1
- package/dist/jsx/actions/StandardAction.native.js.map +1 -1
- package/dist/jsx/appShell/TabHost.native.js +24 -3
- package/dist/jsx/appShell/TabHost.native.js.map +1 -1
- package/dist/jsx/appShell/bottomChrome.mjs +2 -1
- package/dist/jsx/appShell/bottomChrome.mjs.map +1 -1
- package/dist/jsx/appShell/bottomChrome.native.js +3 -0
- package/dist/jsx/appShell/bottomChrome.native.js.map +1 -1
- package/dist/jsx/appShell/index.mjs +2 -2
- package/dist/jsx/appShell/index.mjs.map +1 -1
- package/dist/jsx/appShell/index.native.js +2 -1
- package/dist/jsx/charts/ChartDataView.mjs +0 -1
- package/dist/jsx/charts/ChartDataView.mjs.map +1 -1
- package/dist/jsx/charts/ChartDataView.native.js +0 -1
- package/dist/jsx/charts/ChartDataView.native.js.map +1 -1
- package/dist/jsx/code/LogView.mjs +1 -1
- package/dist/jsx/code/LogView.mjs.map +1 -1
- package/dist/jsx/code/LogView.native.js +1 -1
- package/dist/jsx/code/LogView.native.js.map +1 -1
- package/dist/jsx/icons/lucide.mjs +11 -3
- package/dist/jsx/icons/lucide.mjs.map +1 -1
- package/dist/jsx/icons/lucide.native.js +16 -8
- package/dist/jsx/icons/lucide.native.js.map +1 -1
- package/dist/jsx/icons/themed.mjs +4 -1
- package/dist/jsx/icons/themed.mjs.map +1 -1
- package/dist/jsx/icons/themed.native.js +4 -1
- package/dist/jsx/icons/themed.native.js.map +1 -1
- package/dist/jsx/layouts/StatusDot.mjs +8 -2
- package/dist/jsx/layouts/StatusDot.mjs.map +1 -1
- package/dist/jsx/layouts/StatusDot.native.js +9 -2
- package/dist/jsx/layouts/StatusDot.native.js.map +1 -1
- package/dist/jsx/layouts/StatusGlyphStrip.mjs +2 -2
- package/dist/jsx/layouts/StatusGlyphStrip.mjs.map +1 -1
- package/dist/jsx/layouts/StatusGlyphStrip.native.js +1 -1
- package/dist/jsx/layouts/StatusGlyphStrip.native.js.map +1 -1
- package/dist/jsx/layouts/index.mjs +2 -2
- package/dist/jsx/layouts/index.mjs.map +1 -1
- package/dist/jsx/layouts/index.native.js +1 -0
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/layouts/page.mjs +26 -3
- package/dist/jsx/layouts/page.mjs.map +1 -1
- package/dist/jsx/layouts/page.native.js +27 -2
- package/dist/jsx/layouts/page.native.js.map +1 -1
- package/dist/jsx/layouts/sidebar.mjs +3 -6
- package/dist/jsx/layouts/sidebar.mjs.map +1 -1
- package/dist/jsx/layouts/sidebar.native.js +3 -6
- package/dist/jsx/layouts/sidebar.native.js.map +1 -1
- package/dist/jsx/layouts/timeline.mjs +2 -1
- package/dist/jsx/layouts/timeline.mjs.map +1 -1
- package/dist/jsx/layouts/timeline.native.js +4 -3
- package/dist/jsx/layouts/timeline.native.js.map +1 -1
- package/dist/jsx/surfaces.mjs +1 -1
- package/dist/jsx/surfaces.mjs.map +1 -1
- package/dist/jsx/surfaces.native.js +1 -1
- package/dist/jsx/views/FilePreview.mjs +1 -1
- package/dist/jsx/views/FilePreview.mjs.map +1 -1
- package/dist/jsx/views/FilePreview.native.js +1 -1
- package/dist/jsx/views/FilePreview.native.js.map +1 -1
- package/package.json +7 -7
- package/src/Avatar/index.tsx +1 -1
- package/src/Chip/Chip.native-press.spec.tsx +48 -0
- package/src/Chip/Chip.stories.tsx +14 -0
- package/src/Chip/Chip.trailingArea.spec.tsx +259 -0
- package/src/Chip/Chip.trailingToggle.spec.tsx +2 -2
- package/src/Chip/index.tsx +44 -18
- package/src/Meter/Meter.spec.tsx +5 -4
- package/src/Meter/meter.ts +4 -3
- package/src/SheetFrame.stories.tsx +2 -2
- package/src/SheetModal/SheetBodyRegion.tsx +19 -0
- package/src/SheetModal/SheetHeader.tsx +23 -27
- package/src/SheetModal/SheetModal.consumerProps.native.spec.tsx +89 -0
- package/src/SheetModal/SheetModal.consumerProps.spec.tsx +104 -0
- package/src/SheetModal/SheetModal.grabber.spec.tsx +52 -10
- package/src/SheetModal/SheetModal.native.spec.tsx +90 -6
- package/src/SheetModal/SheetModal.noHeaderBar.spec.tsx +103 -0
- package/src/SheetModal/SheetModal.onDismiss.spec.tsx +35 -0
- package/src/SheetModal/SheetModal.stories.spec.tsx +11 -13
- package/src/SheetModal/SheetModal.stories.tsx +2 -6
- package/src/SheetModal/SheetModal.titleRow.spec.tsx +203 -0
- package/src/SheetModal/index.native.tsx +88 -57
- package/src/SheetModal/index.tsx +126 -29
- package/src/SheetScrollView/SheetScrollView.stories.tsx +2 -2
- package/src/Tabs/Tabs.measurement.spec.tsx +2 -2
- package/src/Tabs/Tabs.stories.tsx +6 -3
- package/src/Tabs/Tabs.tamagui.spec.tsx +213 -0
- package/src/Tabs/index.tsx +96 -25
- package/src/actions/ActionButton.spec.tsx +31 -0
- package/src/actions/StandardAction.tsx +72 -4
- package/src/appShell/TabHost.native.tsx +50 -5
- package/src/appShell/TabHost.nestedScroll.spec.tsx +177 -0
- package/src/appShell/bottomChrome.ts +2 -0
- package/src/appShell/index.ts +1 -1
- package/src/charts/ChartDataView.tsx +0 -1
- package/src/charts/Charts.stories.tsx +20 -0
- package/src/code/LogView.tsx +1 -1
- package/src/icons/lucide.glyphGrid.spec.tsx +41 -0
- package/src/icons/lucide.ts +21 -2
- package/src/icons/themed.tsx +6 -2
- package/src/layouts/Sidebar.spec.tsx +29 -0
- package/src/layouts/StatusDot.tsx +9 -1
- package/src/layouts/StatusGlyphStrip.tsx +2 -2
- package/src/layouts/index.tsx +1 -0
- package/src/layouts/page.tsx +35 -2
- package/src/layouts/severityShape.spec.tsx +31 -0
- package/src/layouts/sidebar.tsx +5 -3
- package/src/layouts/timeline.tsx +1 -1
- package/src/layouts/warningScope.spec.tsx +71 -0
- package/src/surfaces.spec.tsx +6 -2
- package/src/surfaces.tsx +1 -1
- package/src/textAccentSecondary.spec.tsx +2 -2
- package/src/views/FilePreview.tsx +1 -8
- package/src/views/filePreview.spec.tsx +3 -4
- package/types/Chip/index.d.ts +15 -1
- package/types/Chip/index.d.ts.map +1 -1
- package/types/Collapsible.d.ts +1 -1
- package/types/Dialog.d.ts +3 -3
- package/types/Meter/meter.d.ts +5 -4
- package/types/Meter/meter.d.ts.map +1 -1
- package/types/SheetModal/SheetBodyRegion.d.ts +9 -0
- package/types/SheetModal/SheetBodyRegion.d.ts.map +1 -0
- package/types/SheetModal/SheetHeader.d.ts +4 -4
- package/types/SheetModal/SheetHeader.d.ts.map +1 -1
- package/types/SheetModal/index.d.ts +26 -4
- package/types/SheetModal/index.d.ts.map +1 -1
- package/types/SheetModal/index.native.d.ts +1 -1
- package/types/SheetModal/index.native.d.ts.map +1 -1
- package/types/Tabs/index.d.ts +2 -2
- package/types/Tabs/index.d.ts.map +1 -1
- package/types/actions/StandardAction.d.ts +4 -3
- package/types/actions/StandardAction.d.ts.map +1 -1
- package/types/appShell/TabHost.native.d.ts.map +1 -1
- package/types/appShell/bottomChrome.d.ts +1 -0
- package/types/appShell/bottomChrome.d.ts.map +1 -1
- package/types/appShell/index.d.ts +1 -1
- package/types/appShell/index.d.ts.map +1 -1
- package/types/charts/ChartDataView.d.ts.map +1 -1
- package/types/icons/lucide.d.ts +7 -3
- package/types/icons/lucide.d.ts.map +1 -1
- package/types/icons/themed.d.ts.map +1 -1
- package/types/layouts/StatusDot.d.ts +2 -0
- package/types/layouts/StatusDot.d.ts.map +1 -1
- package/types/layouts/StatusGlyphStrip.d.ts.map +1 -1
- package/types/layouts/index.d.ts +1 -1
- package/types/layouts/index.d.ts.map +1 -1
- package/types/layouts/page.d.ts.map +1 -1
- package/types/layouts/sidebar.d.ts.map +1 -1
- package/types/layouts/timeline.d.ts.map +1 -1
- package/types/views/FilePreview.d.ts.map +1 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FZ-8640: a native tab screen is its own native frame, so a scroll view
|
|
3
|
+
* outside the TabHost cannot carry what is in it. In Kitchen Sink the TabHost
|
|
4
|
+
* story sits inside the story page's scrolling Screen; its own Screen merged
|
|
5
|
+
* into that page (LC-159) and drew no scroll view, so rows past the tab's
|
|
6
|
+
* frame were clipped and could not be reached. Under a native tab the Screen
|
|
7
|
+
* keeps the page's one gutter but owns its scroll view, and that scroll view
|
|
8
|
+
* ends with the tab bar's clearance once.
|
|
9
|
+
*/
|
|
10
|
+
import { renderWithProviders } from "@multiplatform.one/test-utils";
|
|
11
|
+
import { cleanup, screen } from "@testing-library/react";
|
|
12
|
+
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
13
|
+
import { Screen } from "../layouts/page";
|
|
14
|
+
import { useBottomEdgeOwnedByTabHost } from "@multiplatform.one/theme";
|
|
15
|
+
import type { TabBarItem } from "./TabBar";
|
|
16
|
+
import { type NativeTabs, NativeTabHost } from "./TabHost.native";
|
|
17
|
+
|
|
18
|
+
afterEach(() => {
|
|
19
|
+
vi.restoreAllMocks();
|
|
20
|
+
cleanup();
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
const Glyph = () => null;
|
|
24
|
+
|
|
25
|
+
const items: TabBarItem[] = [
|
|
26
|
+
{ key: "/", label: "Home", icon: Glyph, nativeIcon: { sfSymbol: "house" } },
|
|
27
|
+
{ key: "/pokemon", label: "Pokemon", icon: Glyph, nativeIcon: { sfSymbol: "sparkles" } },
|
|
28
|
+
];
|
|
29
|
+
|
|
30
|
+
const fakeTabs: NativeTabs = {
|
|
31
|
+
Host: ({ children }) => <div data-testid="native-host">{children}</div>,
|
|
32
|
+
Screen: ({ children, tabKey }) => <section data-testid={`tab-${tabKey}`}>{children}</section>,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const rows = Array.from({ length: 30 }, (_, i) => `Row ${i + 1}`);
|
|
36
|
+
|
|
37
|
+
function TabPage() {
|
|
38
|
+
return (
|
|
39
|
+
<NativeTabHost tabs={fakeTabs} items={items} activeKey="/pokemon" onTabPress={vi.fn()}>
|
|
40
|
+
<Screen scrollViewProps={{ testID: "tab-scroll" } as never}>
|
|
41
|
+
{rows.map((row) => (
|
|
42
|
+
<span key={row}>{row}</span>
|
|
43
|
+
))}
|
|
44
|
+
</Screen>
|
|
45
|
+
</NativeTabHost>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function bottomPads(el: Element): string[] {
|
|
50
|
+
return String(el.className)
|
|
51
|
+
.split(" ")
|
|
52
|
+
.filter((c) => c.startsWith("_pb-") && c !== "_pb-0px");
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
function outerColumn(container: HTMLElement): Element {
|
|
56
|
+
return [...container.querySelectorAll('[data-testid="screen"]')].find(
|
|
57
|
+
(el) => !el.hasAttribute("data-screen-nested"),
|
|
58
|
+
)!;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
function EdgeProbe() {
|
|
62
|
+
return <span data-testid="edge">{String(useBottomEdgeOwnedByTabHost())}</span>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function clearanceIn(el: HTMLElement): number {
|
|
66
|
+
const spacers = el.querySelectorAll<HTMLElement>('[data-testid="screen-chrome-clearance"]');
|
|
67
|
+
return spacers.length;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
describe("a Screen under a native tab inside another page (FZ-8640)", () => {
|
|
71
|
+
it("owns its scroll view, so every row can scroll into the tab's frame", () => {
|
|
72
|
+
renderWithProviders(
|
|
73
|
+
<Screen scrollViewProps={{ testID: "page-scroll" } as never}>
|
|
74
|
+
<TabPage />
|
|
75
|
+
</Screen>,
|
|
76
|
+
);
|
|
77
|
+
const tabScroll = screen.getByTestId("tab-scroll");
|
|
78
|
+
expect(screen.getByTestId("tab-/pokemon").contains(tabScroll)).toBe(true);
|
|
79
|
+
expect(tabScroll.contains(screen.getByText("Row 30"))).toBe(true);
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
it("ends that scroll view with the tab bar's clearance, once", () => {
|
|
83
|
+
renderWithProviders(
|
|
84
|
+
<Screen scrollViewProps={{ testID: "page-scroll" } as never}>
|
|
85
|
+
<TabPage />
|
|
86
|
+
</Screen>,
|
|
87
|
+
);
|
|
88
|
+
const tabScroll = screen.getByTestId("tab-scroll");
|
|
89
|
+
expect(clearanceIn(tabScroll)).toBe(1);
|
|
90
|
+
const spacer = tabScroll.querySelector<HTMLElement>('[data-testid="screen-chrome-clearance"]')!;
|
|
91
|
+
expect(spacer.compareDocumentPosition(screen.getByText("Row 30"))).toBe(
|
|
92
|
+
Node.DOCUMENT_POSITION_PRECEDING,
|
|
93
|
+
);
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
it("leaves the outer page unpadded for a bar inside its own content", () => {
|
|
97
|
+
renderWithProviders(
|
|
98
|
+
<Screen scrollViewProps={{ testID: "page-scroll" } as never}>
|
|
99
|
+
<TabPage />
|
|
100
|
+
</Screen>,
|
|
101
|
+
);
|
|
102
|
+
const page = screen.getByTestId("page-scroll");
|
|
103
|
+
const tabScroll = screen.getByTestId("tab-scroll");
|
|
104
|
+
const all = [...page.querySelectorAll('[data-testid="screen-chrome-clearance"]')];
|
|
105
|
+
expect(all.filter((el) => !tabScroll.contains(el))).toEqual([]);
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
it("ends the tab's scroll with the page's bottom gutter above the clearance", () => {
|
|
109
|
+
const { container } = renderWithProviders(
|
|
110
|
+
<Screen>
|
|
111
|
+
<TabPage />
|
|
112
|
+
</Screen>,
|
|
113
|
+
);
|
|
114
|
+
const nested = container.querySelector("[data-screen-nested]") as HTMLElement;
|
|
115
|
+
const bottom = String(nested.className)
|
|
116
|
+
.split(" ")
|
|
117
|
+
.filter((c) => c.startsWith("_pb-"));
|
|
118
|
+
expect(bottom.length).toBe(1);
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
it("gives the page's bottom edge to the tab host, so the bar sits on the screen's inset", () => {
|
|
122
|
+
const plain = renderWithProviders(
|
|
123
|
+
<Screen>
|
|
124
|
+
<span>Row</span>
|
|
125
|
+
</Screen>,
|
|
126
|
+
);
|
|
127
|
+
expect(bottomPads(outerColumn(plain.container)).length).toBeGreaterThan(0);
|
|
128
|
+
plain.unmount();
|
|
129
|
+
const { container } = renderWithProviders(
|
|
130
|
+
<Screen>
|
|
131
|
+
<TabPage />
|
|
132
|
+
</Screen>,
|
|
133
|
+
);
|
|
134
|
+
expect(bottomPads(outerColumn(container))).toEqual([]);
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
it("tells a host frame around the page that the tab host owns the bottom edge", () => {
|
|
138
|
+
const { rerender } = renderWithProviders(
|
|
139
|
+
<>
|
|
140
|
+
<EdgeProbe />
|
|
141
|
+
<Screen>
|
|
142
|
+
<TabPage />
|
|
143
|
+
</Screen>
|
|
144
|
+
</>,
|
|
145
|
+
);
|
|
146
|
+
expect(screen.getByTestId("edge").textContent).toBe("true");
|
|
147
|
+
rerender(
|
|
148
|
+
<>
|
|
149
|
+
<EdgeProbe />
|
|
150
|
+
<Screen>
|
|
151
|
+
<span>Row</span>
|
|
152
|
+
</Screen>
|
|
153
|
+
</>,
|
|
154
|
+
);
|
|
155
|
+
expect(screen.getByTestId("edge").textContent).toBe("false");
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
it("keeps the page's one gutter: the tab's Screen pads no sides of its own", () => {
|
|
159
|
+
const { container } = renderWithProviders(
|
|
160
|
+
<Screen>
|
|
161
|
+
<TabPage />
|
|
162
|
+
</Screen>,
|
|
163
|
+
);
|
|
164
|
+
const nested = container.querySelector("[data-screen-nested]") as HTMLElement;
|
|
165
|
+
expect(nested).not.toBeNull();
|
|
166
|
+
const sides = String(nested.className)
|
|
167
|
+
.split(" ")
|
|
168
|
+
.filter((c) => ["_pl-", "_pr-", "_p-", "_px-"].some((p) => c.startsWith(p)));
|
|
169
|
+
expect(sides).toEqual([]);
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
it("is a page of its own at the top of an app (One's routes), unchanged", () => {
|
|
173
|
+
const { container } = renderWithProviders(<TabPage />);
|
|
174
|
+
expect(container.querySelector("[data-screen-nested]")).toBeNull();
|
|
175
|
+
expect(screen.getByTestId("tab-scroll").contains(screen.getByText("Row 30"))).toBe(true);
|
|
176
|
+
});
|
|
177
|
+
});
|
|
@@ -66,3 +66,5 @@ export function setFloatingBarMounted(id: symbol, mounted: boolean) {
|
|
|
66
66
|
export function useFloatingBarMounted(): boolean {
|
|
67
67
|
return useSyncExternalStore(bars.subscribe, bars.get, bars.empty);
|
|
68
68
|
}
|
|
69
|
+
|
|
70
|
+
export { setBottomEdgeOwnedByTabHost, useBottomEdgeOwnedByTabHost } from "@multiplatform.one/theme";
|
package/src/appShell/index.ts
CHANGED
|
@@ -7,5 +7,5 @@ export * from "./Springboard";
|
|
|
7
7
|
export type { AppEntry } from "./appTile";
|
|
8
8
|
export * from "./SettingsSplit";
|
|
9
9
|
export * from "./AppShell";
|
|
10
|
-
export { useBottomChromeInset } from "./bottomChrome";
|
|
10
|
+
export { useBottomChromeInset, useBottomEdgeOwnedByTabHost } from "./bottomChrome";
|
|
11
11
|
export { BottomChromeClearance } from "./BottomChromeClearance";
|
|
@@ -63,6 +63,26 @@ export const BarCategorical = {
|
|
|
63
63
|
),
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
+
export const SixCategories = {
|
|
67
|
+
render: () => {
|
|
68
|
+
const six = [
|
|
69
|
+
{ label: "North", value: 42 },
|
|
70
|
+
{ label: "South", value: 35 },
|
|
71
|
+
{ label: "East", value: 28 },
|
|
72
|
+
{ label: "West", value: 24 },
|
|
73
|
+
{ label: "Central", value: 18 },
|
|
74
|
+
{ label: "Online", value: 12 },
|
|
75
|
+
];
|
|
76
|
+
return (
|
|
77
|
+
<YStack maxWidth={560} gap="$4">
|
|
78
|
+
<BarChart data={six} categorical title="Orders by region" />
|
|
79
|
+
<PieChart data={six} title="Orders by region" />
|
|
80
|
+
<LineChart data={six} title="Orders by region" />
|
|
81
|
+
</YStack>
|
|
82
|
+
);
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
|
|
66
86
|
export const Line = {
|
|
67
87
|
render: () => (
|
|
68
88
|
<YStack maxWidth={560} gap="$4">
|
package/src/code/LogView.tsx
CHANGED
|
@@ -36,7 +36,7 @@ interface ScrollMetrics {
|
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
const levelInk = { warn: "
|
|
39
|
+
const levelInk = { warn: "warningInk", error: "red11" } as const;
|
|
40
40
|
const levelGlyph = { warn: WarningIcon, error: XCircleIcon } as const;
|
|
41
41
|
|
|
42
42
|
function clockTime(time: string | Date): string {
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vitest-environment jsdom
|
|
3
|
+
*
|
|
4
|
+
* FZ-8996: MPO's own lucide MenuIcon inside a Button drew as one solid blob,
|
|
5
|
+
* because Button outlined it with Phosphor's 8-unit bold stroke on lucide's
|
|
6
|
+
* 24-unit grid. MPO's lucide re-exports carry their grid, so Button leaves
|
|
7
|
+
* their stroke alone. The repro is WealthFlow's header button.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { Button } from "@multiplatform.one/forms";
|
|
11
|
+
import { renderWithProviders } from "@multiplatform.one/test-utils";
|
|
12
|
+
import { cleanup, screen } from "@testing-library/react";
|
|
13
|
+
import { afterEach, describe, expect, it } from "vitest";
|
|
14
|
+
import { Eye, MenuIcon, Pencil } from "./lucide";
|
|
15
|
+
|
|
16
|
+
afterEach(cleanup);
|
|
17
|
+
|
|
18
|
+
function strokeWidths(label: string): string[] {
|
|
19
|
+
const button = screen.getByLabelText(label);
|
|
20
|
+
return Array.from(button.querySelectorAll("svg, svg *"))
|
|
21
|
+
.map((node) => node.getAttribute("stroke-width") ?? node.getAttribute("strokeWidth"))
|
|
22
|
+
.filter((value): value is string => value != null);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
describe("MPO's lucide icons keep their own stroke in a Button (FZ-8996)", () => {
|
|
26
|
+
it.each([
|
|
27
|
+
["component", <Button key="c" size="$3" chromeless icon={MenuIcon} aria-label="Controls" />],
|
|
28
|
+
["element", <Button key="e" icon={<MenuIcon />} aria-label="Controls" />],
|
|
29
|
+
])("MenuIcon as a %s draws lucide's 2-unit lines, not an 8-unit blob", (_kind, ui) => {
|
|
30
|
+
renderWithProviders(ui);
|
|
31
|
+
const widths = strokeWidths("Controls");
|
|
32
|
+
expect(widths.length).toBeGreaterThan(0);
|
|
33
|
+
expect(widths.every((w) => Number(w) <= 2)).toBe(true);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it("every lucide re-export is marked", () => {
|
|
37
|
+
for (const Icon of [Eye, MenuIcon, Pencil]) {
|
|
38
|
+
expect((Icon as unknown as { mpGlyphGrid?: number }).mpGlyphGrid).toBe(24);
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
package/src/icons/lucide.ts
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
/** Thin re-export so apps/packages/features never import @tamagui/lucide-icons-2. */
|
|
2
|
-
|
|
2
|
+
import { markGlyphGrid } from "@multiplatform.one/forms";
|
|
3
|
+
import {
|
|
4
|
+
Eye as LucideEye,
|
|
5
|
+
EyeOff as LucideEyeOff,
|
|
6
|
+
Github as LucideGithub,
|
|
7
|
+
Info as LucideInfo,
|
|
8
|
+
Mail as LucideMail,
|
|
9
|
+
Menu as LucideMenu,
|
|
10
|
+
Pencil as LucidePencil,
|
|
11
|
+
} from "@tamagui/lucide-icons-2";
|
|
12
|
+
|
|
13
|
+
// FZ-8996: lucide draws on a 24-unit grid with its own stroke, so a Button
|
|
14
|
+
// must not outline it with Phosphor's 256-grid bold stroke.
|
|
15
|
+
const LUCIDE_GRID = 24;
|
|
16
|
+
export const Eye = markGlyphGrid(LucideEye, LUCIDE_GRID);
|
|
17
|
+
export const EyeOff = markGlyphGrid(LucideEyeOff, LUCIDE_GRID);
|
|
18
|
+
export const Github = markGlyphGrid(LucideGithub, LUCIDE_GRID);
|
|
19
|
+
export const Info = markGlyphGrid(LucideInfo, LUCIDE_GRID);
|
|
20
|
+
export const Mail = markGlyphGrid(LucideMail, LUCIDE_GRID);
|
|
21
|
+
export const Pencil = markGlyphGrid(LucidePencil, LUCIDE_GRID);
|
|
3
22
|
// Aliased: bare `Menu` is the lucide hamburger. Tamagui Menu / create-menu
|
|
4
23
|
// are unused leftovers and are not house barrel names (R9 G7). Package
|
|
5
24
|
// root re-exports this as `Menu` after the curated tamagui surface.
|
|
6
|
-
export
|
|
25
|
+
export const MenuIcon = markGlyphGrid(LucideMenu, LUCIDE_GRID);
|
package/src/icons/themed.tsx
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useTouchSurface, sizeRecipeForToken, useGlyphColor } from "@multiplatform.one/theme";
|
|
2
|
+
import { glyphGrid, markGlyphGrid } from "@multiplatform.one/forms";
|
|
2
3
|
import type { FC } from "react";
|
|
3
4
|
import { getVariable, isWeb, useProps, useTheme } from "tamagui";
|
|
4
5
|
|
|
@@ -8,7 +9,7 @@ import { getVariable, isWeb, useProps, useTheme } from "tamagui";
|
|
|
8
9
|
* MinusRegular contract: SVG defaults MUST NOT fall back to black).
|
|
9
10
|
*/
|
|
10
11
|
export function themed<A extends FC>(Component: A) {
|
|
11
|
-
|
|
12
|
+
const Themed = (props: any) => {
|
|
12
13
|
const touch = useTouchSurface();
|
|
13
14
|
const { color, disableTheme, size } = useProps(props);
|
|
14
15
|
const theme = useTheme();
|
|
@@ -29,5 +30,8 @@ export function themed<A extends FC>(Component: A) {
|
|
|
29
30
|
size={typeof size === "string" ? sizeRecipeForToken(size, { touch }).iconSize : size}
|
|
30
31
|
/>
|
|
31
32
|
);
|
|
32
|
-
}
|
|
33
|
+
};
|
|
34
|
+
// FZ-8996: the wrapper draws on its glyph's grid, so Button still knows it.
|
|
35
|
+
const grid = glyphGrid(Component);
|
|
36
|
+
return (grid === undefined ? Themed : markGlyphGrid(Themed, grid)) as unknown as A;
|
|
33
37
|
}
|
|
@@ -216,3 +216,32 @@ describe("Sidebar on the shell material (FZ-7996)", () => {
|
|
|
216
216
|
expect(rows[1]!.previousElementSibling?.hasAttribute("data-sidebar-row")).toBe(false);
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
+
|
|
220
|
+
describe("Sidebar row hairlines (LC-02)", () => {
|
|
221
|
+
const sections = [
|
|
222
|
+
{
|
|
223
|
+
title: "Navigation",
|
|
224
|
+
items: [
|
|
225
|
+
{ value: "a", label: "Alpha", onPress: () => {} },
|
|
226
|
+
{ value: "b", label: "Beta", onPress: () => {} },
|
|
227
|
+
{ value: "c", label: "Gamma", onPress: () => {} },
|
|
228
|
+
],
|
|
229
|
+
},
|
|
230
|
+
];
|
|
231
|
+
|
|
232
|
+
it("runs each hairline the panel's full width", () => {
|
|
233
|
+
const result = renderWithProviders(<Sidebar sections={sections} />);
|
|
234
|
+
const group = result.container.querySelector("[data-sidebar-group]")!;
|
|
235
|
+
const hairlines = [...group.querySelectorAll('[data-sidebar-hairline="full"]')];
|
|
236
|
+
expect(hairlines).toHaveLength(2);
|
|
237
|
+
for (const hairline of hairlines) {
|
|
238
|
+
expect(hairline.parentElement).toBe(group);
|
|
239
|
+
const insets = String(hairline.className)
|
|
240
|
+
.split(/\s+/)
|
|
241
|
+
.filter((atom) => /^_(p|px|pl|pr|ps|pe|m|mx|ml|mr|ms|me)-/.test(atom))
|
|
242
|
+
.filter((atom) => !/^_pe-(none|auto|box-none|box-only)$/.test(atom))
|
|
243
|
+
.filter((atom) => !/-0(px)?$/.test(atom));
|
|
244
|
+
expect(insets).toEqual([]);
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
@@ -13,11 +13,19 @@ export type StatusTone = "positive" | "warning" | "critical" | "neutral";
|
|
|
13
13
|
|
|
14
14
|
export const statusToneInk: Record<StatusTone, string> = {
|
|
15
15
|
positive: "$green9",
|
|
16
|
-
warning: "$
|
|
16
|
+
warning: "$warningMark",
|
|
17
17
|
critical: "$red9",
|
|
18
18
|
neutral: "$color9",
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
/** The tone's ink for words, where step 9 is too pale to read (LC-288). */
|
|
22
|
+
export const statusToneText: Record<StatusTone, string> = {
|
|
23
|
+
positive: "$green11",
|
|
24
|
+
warning: "$warningInk",
|
|
25
|
+
critical: "$red11",
|
|
26
|
+
neutral: "$color11",
|
|
27
|
+
};
|
|
28
|
+
|
|
21
29
|
export function StatusMark({ tone }: { tone: StatusTone }) {
|
|
22
30
|
return (
|
|
23
31
|
<View
|
|
@@ -12,7 +12,7 @@ import type { ReactNode } from "react";
|
|
|
12
12
|
import { Text, View, XStack, isWeb } from "tamagui";
|
|
13
13
|
import { useTranslation } from "../shared/i18n";
|
|
14
14
|
import { Tooltip } from "../Tooltip";
|
|
15
|
-
import { StatusMark,
|
|
15
|
+
import { StatusMark, statusToneText, type StatusTone } from "./StatusDot";
|
|
16
16
|
|
|
17
17
|
export interface StatusGlyph {
|
|
18
18
|
key?: string;
|
|
@@ -66,7 +66,7 @@ function GlyphCheck({ item }: { item: StatusGlyph }) {
|
|
|
66
66
|
{showReason ? (
|
|
67
67
|
<Text
|
|
68
68
|
{...knobProps.textRole.meta}
|
|
69
|
-
color={
|
|
69
|
+
color={statusToneText[item.tone] as never}
|
|
70
70
|
numberOfLines={1}
|
|
71
71
|
>
|
|
72
72
|
{item.reason}
|
package/src/layouts/index.tsx
CHANGED
package/src/layouts/page.tsx
CHANGED
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
cloneElement,
|
|
58
58
|
createContext,
|
|
59
59
|
isValidElement,
|
|
60
|
+
useCallback,
|
|
60
61
|
useContext,
|
|
61
62
|
useState,
|
|
62
63
|
type ReactElement,
|
|
@@ -180,7 +181,10 @@ export function Screen(props: ScreenProps) {
|
|
|
180
181
|
* does not scroll. It never pins a second top bar (its `topBar` sits at the
|
|
181
182
|
* head of its content), never avoids the keyboard a second time, and opens no
|
|
182
183
|
* bottom edge of its own. Its large title stays a heading in the content so
|
|
183
|
-
* the parent's bar keeps the parent's title.
|
|
184
|
+
* the parent's bar keeps the parent's title. Where the parent's region runs
|
|
185
|
+
* under the bottom chrome (a native tab screen), the scroll view it owns ends
|
|
186
|
+
* with the page's bottom gutter and the chrome's clearance, so its last row
|
|
187
|
+
* rests one gutter above the tab bar.
|
|
184
188
|
*/
|
|
185
189
|
function NestedScreen({
|
|
186
190
|
parent,
|
|
@@ -208,6 +212,7 @@ function NestedScreen({
|
|
|
208
212
|
scrolls={scroll || parent.scrolls}
|
|
209
213
|
inset={inset}
|
|
210
214
|
capped={parent.capped || cap !== null}
|
|
215
|
+
holdBottomEdge={parent.holdBottomEdge}
|
|
211
216
|
>
|
|
212
217
|
{ownInset ? <PageGutter inset={ownInset}>{children}</PageGutter> : children}
|
|
213
218
|
</ScreenNesting>
|
|
@@ -223,6 +228,9 @@ function NestedScreen({
|
|
|
223
228
|
width="100%"
|
|
224
229
|
{...(cap ? { maxWidth: cap, alignSelf: "center" } : null)}
|
|
225
230
|
{...(ownInset ? knobProps.panelPadding : null)}
|
|
231
|
+
{...(ownsScroll && parent.underChrome && parent.inset
|
|
232
|
+
? { paddingBottom: parent.inset }
|
|
233
|
+
: null)}
|
|
226
234
|
{...knobProps.gapLg}
|
|
227
235
|
{...rest}
|
|
228
236
|
>
|
|
@@ -248,6 +256,14 @@ function NestedScreen({
|
|
|
248
256
|
}}
|
|
249
257
|
>
|
|
250
258
|
{column}
|
|
259
|
+
{parent.underChrome ? (
|
|
260
|
+
<YStack
|
|
261
|
+
height={parent.underChrome}
|
|
262
|
+
flexShrink={0}
|
|
263
|
+
aria-hidden
|
|
264
|
+
data-testid="screen-chrome-clearance"
|
|
265
|
+
/>
|
|
266
|
+
) : null}
|
|
251
267
|
</ScrollView>
|
|
252
268
|
</YStack>
|
|
253
269
|
</ScreenScrollScope>
|
|
@@ -314,6 +330,17 @@ function PageShell({
|
|
|
314
330
|
const scrollState = useScreenScrollController();
|
|
315
331
|
useReportScreenScroll(scrollState.state, Boolean(topBar), useInlinePageTitle());
|
|
316
332
|
const [accessories] = useState(createBottomAccessoryStore);
|
|
333
|
+
const [edgeHolders, setEdgeHolders] = useState<ReadonlySet<symbol>>(() => new Set());
|
|
334
|
+
const holdBottomEdge = useCallback((id: symbol, held: boolean) => {
|
|
335
|
+
setEdgeHolders((prev) => {
|
|
336
|
+
if (prev.has(id) === held) return prev;
|
|
337
|
+
const next = new Set(prev);
|
|
338
|
+
if (held) next.add(id);
|
|
339
|
+
else next.delete(id);
|
|
340
|
+
return next;
|
|
341
|
+
});
|
|
342
|
+
}, []);
|
|
343
|
+
const edgeHeld = edgeHolders.size > 0;
|
|
317
344
|
const inset = noPadding ? null : (knobProps.panelPadding.padding as string);
|
|
318
345
|
const cap = maxWidth && !bleed ? maxWidth : null;
|
|
319
346
|
|
|
@@ -328,6 +355,7 @@ function PageShell({
|
|
|
328
355
|
width="100%"
|
|
329
356
|
{...(maxWidth && !bleed ? { maxWidth, alignSelf: "center" } : null)}
|
|
330
357
|
{...(noPadding ? null : knobProps.panelPadding)}
|
|
358
|
+
{...(edgeHeld ? { paddingBottom: 0 } : null)}
|
|
331
359
|
{...knobProps.gapLg}
|
|
332
360
|
{...rest}
|
|
333
361
|
>
|
|
@@ -335,7 +363,12 @@ function PageShell({
|
|
|
335
363
|
insetToken lets PageHeader bleed its hairline to the column edges. */}
|
|
336
364
|
<PageHeadingScope insetToken={noPadding ? null : (knobProps.panelPadding.padding as string)}>
|
|
337
365
|
<PageGutter inset={noPadding ? null : (knobProps.panelPadding.padding as string)}>
|
|
338
|
-
<ScreenNesting
|
|
366
|
+
<ScreenNesting
|
|
367
|
+
scrolls={scroll}
|
|
368
|
+
inset={inset}
|
|
369
|
+
capped={cap !== null}
|
|
370
|
+
holdBottomEdge={holdBottomEdge}
|
|
371
|
+
>
|
|
339
372
|
{children}
|
|
340
373
|
</ScreenNesting>
|
|
341
374
|
</PageGutter>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { render } from "@testing-library/react";
|
|
2
|
+
import { expect, it } from "vitest";
|
|
3
|
+
import { createDefaultThemeConfig } from "@multiplatform.one/theme";
|
|
4
|
+
import { TamaguiProvider } from "tamagui";
|
|
5
|
+
import { Chip } from "../Chip";
|
|
6
|
+
import { StatusDot } from "./StatusDot";
|
|
7
|
+
|
|
8
|
+
it("LC-288: a status is a round mark with its word, a red category is a chip with no status mark", () => {
|
|
9
|
+
const config = createDefaultThemeConfig({});
|
|
10
|
+
const view = render(
|
|
11
|
+
<TamaguiProvider config={config.tamagui} defaultTheme="light">
|
|
12
|
+
<StatusDot tone="critical">Down</StatusDot>
|
|
13
|
+
<Chip color="red">Billing</Chip>
|
|
14
|
+
</TamaguiProvider>,
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
const mark = view.container.querySelector<HTMLElement>('[data-tone="critical"]');
|
|
18
|
+
expect(mark).toBeTruthy();
|
|
19
|
+
const markStyle = getComputedStyle(mark as HTMLElement);
|
|
20
|
+
expect(markStyle.width).toMatch(/^\d+(\.\d+)?px$/);
|
|
21
|
+
expect(markStyle.width).toBe(markStyle.height);
|
|
22
|
+
expect(Number.parseFloat(markStyle.borderTopLeftRadius) * 2).toBe(
|
|
23
|
+
Number.parseFloat(markStyle.width),
|
|
24
|
+
);
|
|
25
|
+
expect(view.getByText("Down")).toBeTruthy();
|
|
26
|
+
|
|
27
|
+
const chip = view.getByText("Billing").closest("[data-chip]") as HTMLElement;
|
|
28
|
+
expect(chip).toBeTruthy();
|
|
29
|
+
expect(chip.querySelector("[data-tone]")).toBeNull();
|
|
30
|
+
expect(getComputedStyle(chip).borderTopLeftRadius).not.toBe(markStyle.borderTopLeftRadius);
|
|
31
|
+
});
|
package/src/layouts/sidebar.tsx
CHANGED
|
@@ -288,9 +288,11 @@ export function Sidebar({
|
|
|
288
288
|
return (
|
|
289
289
|
<Fragment key={itemKey}>
|
|
290
290
|
{itemIdx > 0 && !material ? (
|
|
291
|
-
<
|
|
292
|
-
|
|
293
|
-
|
|
291
|
+
<Separator
|
|
292
|
+
alignSelf="stretch"
|
|
293
|
+
data-sidebar-hairline="full"
|
|
294
|
+
{...hairline.line}
|
|
295
|
+
/>
|
|
294
296
|
) : null}
|
|
295
297
|
<XStack
|
|
296
298
|
data-group-position={position}
|
package/src/layouts/timeline.tsx
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
UserIcon,
|
|
11
11
|
UserPlusIcon,
|
|
12
12
|
} from "@phosphor-icons/react";
|
|
13
|
+
import { Button } from "@multiplatform.one/forms";
|
|
13
14
|
import { useDirection } from "../hooks/useDirection";
|
|
14
15
|
import {
|
|
15
16
|
MIN_PRESS_TARGET,
|
|
@@ -30,7 +31,6 @@ import {
|
|
|
30
31
|
import React, { useCallback, useMemo, useState } from "react";
|
|
31
32
|
import { useTranslation } from "../shared/i18n";
|
|
32
33
|
import {
|
|
33
|
-
Button,
|
|
34
34
|
H2,
|
|
35
35
|
H3,
|
|
36
36
|
H4,
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { cleanup, render } from "@testing-library/react";
|
|
2
|
+
import { afterEach, describe, expect, it } from "vitest";
|
|
3
|
+
import { createDefaultThemeConfig, normalizeToHex } from "@multiplatform.one/theme";
|
|
4
|
+
import { TamaguiProvider } from "tamagui";
|
|
5
|
+
import { Avatar } from "../Avatar";
|
|
6
|
+
import { LogView } from "../code/LogView";
|
|
7
|
+
import { Meter } from "../Meter";
|
|
8
|
+
import { StatusDot } from "./StatusDot";
|
|
9
|
+
import { StatusGlyphStrip } from "./StatusGlyphStrip";
|
|
10
|
+
|
|
11
|
+
const config = createDefaultThemeConfig({});
|
|
12
|
+
const themes = config.tamagui.themes as unknown as Record<string, Record<string, { val: string }>>;
|
|
13
|
+
|
|
14
|
+
afterEach(cleanup);
|
|
15
|
+
|
|
16
|
+
function scope(scheme: "light" | "dark") {
|
|
17
|
+
const warning = themes[`${scheme}_warning`] ?? {};
|
|
18
|
+
const root = themes[scheme] ?? {};
|
|
19
|
+
const read = (theme: Record<string, { val: string }>, key: string) =>
|
|
20
|
+
normalizeToHex(theme[key]?.val ?? root[key]?.val ?? "");
|
|
21
|
+
return {
|
|
22
|
+
mark: read(warning, "color9"),
|
|
23
|
+
ink: read(warning, "color11"),
|
|
24
|
+
fill: read(warning, scheme === "light" ? "color11" : "color9"),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
const paint = (el: Element | null, prop: "backgroundColor" | "color") =>
|
|
29
|
+
el ? normalizeToHex(getComputedStyle(el as HTMLElement)[prop]) : null;
|
|
30
|
+
|
|
31
|
+
describe("LC-288: status painters read the warning scope, never the yellow ramp", () => {
|
|
32
|
+
for (const scheme of ["light", "dark"] as const) {
|
|
33
|
+
it(`paints warning marks and words in the warning scope's amber (${scheme})`, () => {
|
|
34
|
+
const { mark, ink, fill } = scope(scheme);
|
|
35
|
+
expect(mark).not.toBe(normalizeToHex(themes[scheme]?.yellow9?.val ?? ""));
|
|
36
|
+
const view = render(
|
|
37
|
+
<TamaguiProvider config={config.tamagui} defaultTheme={scheme}>
|
|
38
|
+
<StatusDot tone="warning">Degraded</StatusDot>
|
|
39
|
+
<StatusGlyphStrip
|
|
40
|
+
items={[{ icon: <span />, label: "Backups", tone: "warning", reason: "Late" }]}
|
|
41
|
+
/>
|
|
42
|
+
<Avatar name="Ada Lovelace" status="away" />
|
|
43
|
+
<Meter label="Disk usage" value={7} min={0} max={8} low={6.4} high={7.6} optimum={0} />
|
|
44
|
+
<LogView
|
|
45
|
+
label="Sync worker log"
|
|
46
|
+
follow={false}
|
|
47
|
+
entries={[{ time: "2026-11-03T12:00:00Z", level: "warn", message: "Retrying" }]}
|
|
48
|
+
/>
|
|
49
|
+
</TamaguiProvider>,
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
for (const dot of view.container.querySelectorAll('[data-tone="warning"][aria-hidden]')) {
|
|
53
|
+
expect(paint(dot, "backgroundColor"), "StatusMark").toBe(mark);
|
|
54
|
+
}
|
|
55
|
+
expect(paint(view.getByText("Late"), "color"), "glyph strip reason").toBe(ink);
|
|
56
|
+
|
|
57
|
+
const pip = [...view.container.querySelectorAll("*")].find(
|
|
58
|
+
(el) => paint(el, "backgroundColor") === mark && el.closest("[data-tone]") == null,
|
|
59
|
+
);
|
|
60
|
+
expect(pip, "Avatar away pip paints the mark").toBeTruthy();
|
|
61
|
+
const bar = [...view.container.querySelectorAll('[data-meter-fill="$warningFill"] *')].concat(
|
|
62
|
+
[...view.container.querySelectorAll('[data-meter-fill="$warningFill"]')],
|
|
63
|
+
);
|
|
64
|
+
expect(
|
|
65
|
+
bar.some((el) => paint(el, "backgroundColor") === fill),
|
|
66
|
+
"Meter warn bar paints warningFill",
|
|
67
|
+
).toBe(true);
|
|
68
|
+
expect(paint(view.getByText("Retrying"), "color"), "LogView warn message").toBe(ink);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
});
|