@multiplatform.one/components 7.46.0 → 7.47.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.cjs +1 -1
- package/dist/cjs/Alert/index.native.js +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.native.js.map +1 -1
- package/dist/cjs/Carousel/index.cjs +1 -1
- package/dist/cjs/Carousel/index.native.js +3 -3
- package/dist/cjs/Carousel/index.native.js.map +1 -1
- package/dist/cjs/Chip/index.cjs +18 -7
- package/dist/cjs/Chip/index.native.js +20 -8
- 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.cjs +2 -2
- package/dist/cjs/ErrorBoundary/index.native.js +2 -2
- package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
- package/dist/cjs/Heading.cjs +8 -127
- package/dist/cjs/Heading.native.js +7 -133
- 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.cjs +1 -0
- package/dist/cjs/OverflowRow/index.native.js +2 -1
- package/dist/cjs/OverflowRow/index.native.js.map +1 -1
- package/dist/cjs/Pagination.cjs +4 -1
- package/dist/cjs/Pagination.native.js +5 -2
- package/dist/cjs/Pagination.native.js.map +1 -1
- package/dist/cjs/Popover.native.js.map +1 -1
- package/dist/cjs/ProgressSteps/index.cjs +1 -1
- package/dist/cjs/ProgressSteps/index.native.js +1 -1
- package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
- package/dist/cjs/Quote/index.cjs +1 -0
- package/dist/cjs/Quote/index.native.js +1 -0
- 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/SheetModal/detents.native.js.map +1 -1
- package/dist/cjs/Skeleton/index.native.js.map +1 -1
- package/dist/cjs/SkipLink/index.cjs +1 -2
- package/dist/cjs/SkipLink/index.native.js +1 -2
- 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.cjs +2 -1
- package/dist/cjs/SortableList/index.native.js +2 -1
- package/dist/cjs/SortableList/index.native.js.map +1 -1
- package/dist/cjs/SortableList/useSortableRows.cjs +2 -2
- package/dist/cjs/SortableList/useSortableRows.native.js +2 -2
- package/dist/cjs/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/cjs/Tabs/index.native.js +1 -1
- package/dist/cjs/Tabs/index.native.js.map +1 -1
- package/dist/cjs/Text.cjs +5 -116
- package/dist/cjs/Text.native.js +4 -120
- package/dist/cjs/Text.native.js.map +1 -1
- package/dist/cjs/ThemePlayground/index.cjs +3 -2
- package/dist/cjs/ThemePresetPicker/index.cjs +21 -22
- package/dist/cjs/ThemePresetPicker/index.native.js +22 -23
- 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.cjs +2 -1
- package/dist/cjs/TreeSelect/index.native.js +3 -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.cjs +1 -1
- package/dist/cjs/Video/PlayerChrome.native.js +1 -1
- package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
- package/dist/cjs/Video/VideoFrame.cjs +2 -1
- package/dist/cjs/Video/VideoFrame.native.js +2 -1
- package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
- package/dist/cjs/Video/index.cjs +3 -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.cjs +3 -2
- package/dist/cjs/actions/DestructiveAction.native.js +3 -2
- 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.cjs +2 -1
- package/dist/cjs/appShell/ScopeMenu.native.js +2 -1
- package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/cjs/appShell/SettingsSplit.cjs +5 -4
- package/dist/cjs/appShell/SettingsSplit.native.js +6 -5
- package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/cjs/appShell/Springboard.cjs +2 -1
- package/dist/cjs/appShell/Springboard.native.js +3 -2
- package/dist/cjs/appShell/Springboard.native.js.map +1 -1
- package/dist/cjs/appShell/SystemBar.cjs +2 -1
- package/dist/cjs/appShell/SystemBar.native.js +2 -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/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.cjs +1 -1
- package/dist/cjs/feedback/ConfirmDialog.native.js +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.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/ViewSwitcher.native.js.map +1 -1
- package/dist/cjs/layouts/attachments.cjs +11 -10
- package/dist/cjs/layouts/attachments.native.js +12 -11
- package/dist/cjs/layouts/attachments.native.js.map +1 -1
- package/dist/cjs/layouts/breadcrumbs.cjs +3 -2
- package/dist/cjs/layouts/breadcrumbs.native.js +3 -2
- package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/cjs/layouts/index.native.js +3 -3
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/layouts/page.cjs +80 -8
- package/dist/cjs/layouts/page.native.js +84 -10
- package/dist/cjs/layouts/page.native.js.map +1 -1
- package/dist/cjs/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/cjs/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/cjs/layouts/sidebar.cjs +3 -1
- package/dist/cjs/layouts/sidebar.native.js +4 -2
- package/dist/cjs/layouts/sidebar.native.js.map +1 -1
- package/dist/cjs/layouts/tags.cjs +2 -1
- package/dist/cjs/layouts/tags.native.js +4 -3
- package/dist/cjs/layouts/tags.native.js.map +1 -1
- package/dist/cjs/layouts/timeline.cjs +14 -13
- package/dist/cjs/layouts/timeline.native.js +16 -15
- package/dist/cjs/layouts/timeline.native.js.map +1 -1
- package/dist/cjs/layouts/toolbar.cjs +2 -1
- package/dist/cjs/layouts/toolbar.native.js +3 -2
- package/dist/cjs/layouts/toolbar.native.js.map +1 -1
- package/dist/cjs/linearGradientSetup.cjs +18 -0
- package/dist/cjs/linearGradientSetup.native.js +4 -0
- package/dist/cjs/linearGradientSetup.native.js.map +1 -0
- package/dist/cjs/shared/actionScan.native.js.map +1 -1
- package/dist/cjs/shared/i18n.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.native.js +1 -1
- 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.cjs +14 -13
- package/dist/cjs/views/Calendar.native.js +15 -14
- 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.cjs +188 -55
- package/dist/cjs/views/Gantt.native.js +203 -57
- package/dist/cjs/views/Gantt.native.js.map +1 -1
- package/dist/cjs/views/GanttDateGrip.cjs +216 -0
- package/dist/cjs/views/GanttDateGrip.native.js +259 -0
- package/dist/cjs/views/GanttDateGrip.native.js.map +1 -0
- package/dist/cjs/views/ImageGrid.native.js +1 -1
- package/dist/cjs/views/ImageGrid.native.js.map +1 -1
- package/dist/cjs/views/Kanban.cjs +3 -2
- package/dist/cjs/views/Kanban.native.js +4 -3
- package/dist/cjs/views/Kanban.native.js.map +1 -1
- package/dist/cjs/views/List.cjs +13 -3
- package/dist/cjs/views/List.native.js +14 -3
- package/dist/cjs/views/List.native.js.map +1 -1
- package/dist/cjs/views/Matrix.cjs +2 -1
- package/dist/cjs/views/Matrix.native.js +4 -3
- 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.cjs +3 -2
- package/dist/cjs/views/TreeView.native.js +3 -2
- 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.cjs +85 -0
- package/dist/cjs/views/ganttIntervals.native.js +92 -0
- package/dist/cjs/views/ganttIntervals.native.js.map +1 -0
- 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/Alert/index.mjs +2 -2
- package/dist/esm/Alert/index.mjs.map +1 -1
- package/dist/esm/Alert/index.native.js +2 -2
- package/dist/esm/Alert/index.native.js.map +1 -1
- package/dist/esm/Carousel/index.mjs +1 -1
- package/dist/esm/Carousel/index.mjs.map +1 -1
- package/dist/esm/Carousel/index.native.js +1 -1
- package/dist/esm/Carousel/index.native.js.map +1 -1
- package/dist/esm/Chip/index.mjs +18 -7
- package/dist/esm/Chip/index.mjs.map +1 -1
- package/dist/esm/Chip/index.native.js +20 -8
- package/dist/esm/Chip/index.native.js.map +1 -1
- package/dist/esm/ErrorBoundary/index.mjs +1 -1
- package/dist/esm/ErrorBoundary/index.mjs.map +1 -1
- package/dist/esm/ErrorBoundary/index.native.js +1 -1
- package/dist/esm/ErrorBoundary/index.native.js.map +1 -1
- package/dist/esm/Heading.mjs +1 -120
- package/dist/esm/Heading.mjs.map +1 -1
- package/dist/esm/Heading.native.js +1 -127
- package/dist/esm/Heading.native.js.map +1 -1
- package/dist/esm/OverflowRow/index.mjs.map +1 -1
- package/dist/esm/OverflowRow/index.native.js.map +1 -1
- package/dist/esm/Pagination.mjs +4 -1
- package/dist/esm/Pagination.mjs.map +1 -1
- package/dist/esm/Pagination.native.js +4 -1
- package/dist/esm/Pagination.native.js.map +1 -1
- package/dist/esm/ProgressSteps/index.mjs +2 -2
- package/dist/esm/ProgressSteps/index.mjs.map +1 -1
- package/dist/esm/ProgressSteps/index.native.js +2 -2
- package/dist/esm/ProgressSteps/index.native.js.map +1 -1
- package/dist/esm/Quote/index.mjs +2 -1
- package/dist/esm/Quote/index.mjs.map +1 -1
- package/dist/esm/Quote/index.native.js +2 -1
- package/dist/esm/Quote/index.native.js.map +1 -1
- package/dist/esm/SkipLink/index.mjs +1 -2
- package/dist/esm/SkipLink/index.mjs.map +1 -1
- package/dist/esm/SkipLink/index.native.js +1 -2
- package/dist/esm/SkipLink/index.native.js.map +1 -1
- package/dist/esm/SortableList/index.mjs +5 -4
- package/dist/esm/SortableList/index.mjs.map +1 -1
- package/dist/esm/SortableList/index.native.js +5 -4
- package/dist/esm/SortableList/index.native.js.map +1 -1
- package/dist/esm/SortableList/useSortableRows.mjs +2 -2
- package/dist/esm/SortableList/useSortableRows.mjs.map +1 -1
- package/dist/esm/SortableList/useSortableRows.native.js +2 -2
- package/dist/esm/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/esm/Text.mjs +1 -112
- package/dist/esm/Text.mjs.map +1 -1
- package/dist/esm/Text.native.js +1 -117
- package/dist/esm/Text.native.js.map +1 -1
- package/dist/esm/ThemePlayground/index.mjs +2 -1
- package/dist/esm/ThemePlayground/index.mjs.map +1 -1
- package/dist/esm/ThemePresetPicker/index.mjs +21 -22
- package/dist/esm/ThemePresetPicker/index.mjs.map +1 -1
- package/dist/esm/ThemePresetPicker/index.native.js +21 -22
- package/dist/esm/ThemePresetPicker/index.native.js.map +1 -1
- package/dist/esm/TreeSelect/index.mjs +6 -5
- package/dist/esm/TreeSelect/index.mjs.map +1 -1
- package/dist/esm/TreeSelect/index.native.js +6 -5
- package/dist/esm/TreeSelect/index.native.js.map +1 -1
- package/dist/esm/Video/PlayerChrome.mjs +1 -1
- package/dist/esm/Video/PlayerChrome.mjs.map +1 -1
- package/dist/esm/Video/PlayerChrome.native.js +1 -1
- package/dist/esm/Video/PlayerChrome.native.js.map +1 -1
- package/dist/esm/Video/VideoFrame.mjs +3 -2
- package/dist/esm/Video/VideoFrame.mjs.map +1 -1
- package/dist/esm/Video/VideoFrame.native.js +3 -2
- package/dist/esm/Video/VideoFrame.native.js.map +1 -1
- package/dist/esm/Video/index.mjs +3 -1
- package/dist/esm/Video/index.mjs.map +1 -1
- package/dist/esm/actions/DestructiveAction.mjs +2 -1
- package/dist/esm/actions/DestructiveAction.mjs.map +1 -1
- package/dist/esm/actions/DestructiveAction.native.js +2 -1
- package/dist/esm/actions/DestructiveAction.native.js.map +1 -1
- package/dist/esm/appShell/ScopeMenu.mjs +2 -1
- package/dist/esm/appShell/ScopeMenu.mjs.map +1 -1
- package/dist/esm/appShell/ScopeMenu.native.js +2 -1
- package/dist/esm/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/esm/appShell/SettingsSplit.mjs +5 -4
- package/dist/esm/appShell/SettingsSplit.mjs.map +1 -1
- package/dist/esm/appShell/SettingsSplit.native.js +5 -4
- package/dist/esm/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/esm/appShell/Springboard.mjs +3 -2
- package/dist/esm/appShell/Springboard.mjs.map +1 -1
- package/dist/esm/appShell/Springboard.native.js +3 -2
- package/dist/esm/appShell/Springboard.native.js.map +1 -1
- package/dist/esm/appShell/SystemBar.mjs +2 -1
- package/dist/esm/appShell/SystemBar.mjs.map +1 -1
- package/dist/esm/appShell/SystemBar.native.js +2 -1
- package/dist/esm/appShell/SystemBar.native.js.map +1 -1
- package/dist/esm/feedback/ConfirmDialog.mjs +1 -1
- package/dist/esm/feedback/ConfirmDialog.mjs.map +1 -1
- package/dist/esm/feedback/ConfirmDialog.native.js +1 -1
- package/dist/esm/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/esm/layouts/attachments.mjs +3 -2
- package/dist/esm/layouts/attachments.mjs.map +1 -1
- package/dist/esm/layouts/attachments.native.js +3 -2
- package/dist/esm/layouts/attachments.native.js.map +1 -1
- package/dist/esm/layouts/breadcrumbs.mjs +3 -2
- package/dist/esm/layouts/breadcrumbs.mjs.map +1 -1
- package/dist/esm/layouts/breadcrumbs.native.js +3 -2
- package/dist/esm/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/esm/layouts/page.mjs +80 -10
- package/dist/esm/layouts/page.mjs.map +1 -1
- package/dist/esm/layouts/page.native.js +82 -10
- package/dist/esm/layouts/page.native.js.map +1 -1
- package/dist/esm/layouts/sidebar.mjs +5 -3
- package/dist/esm/layouts/sidebar.mjs.map +1 -1
- package/dist/esm/layouts/sidebar.native.js +5 -3
- package/dist/esm/layouts/sidebar.native.js.map +1 -1
- package/dist/esm/layouts/tags.mjs +6 -5
- package/dist/esm/layouts/tags.mjs.map +1 -1
- package/dist/esm/layouts/tags.native.js +6 -5
- package/dist/esm/layouts/tags.native.js.map +1 -1
- package/dist/esm/layouts/timeline.mjs +4 -3
- package/dist/esm/layouts/timeline.mjs.map +1 -1
- package/dist/esm/layouts/timeline.native.js +4 -3
- package/dist/esm/layouts/timeline.native.js.map +1 -1
- package/dist/esm/layouts/toolbar.mjs +2 -1
- package/dist/esm/layouts/toolbar.mjs.map +1 -1
- package/dist/esm/layouts/toolbar.native.js +2 -1
- package/dist/esm/layouts/toolbar.native.js.map +1 -1
- package/dist/esm/linearGradientSetup.mjs +2 -0
- package/dist/esm/linearGradientSetup.mjs.map +1 -0
- package/dist/esm/linearGradientSetup.native.js +2 -0
- package/dist/esm/linearGradientSetup.native.js.map +1 -0
- package/dist/esm/views/Calendar.mjs +7 -6
- package/dist/esm/views/Calendar.mjs.map +1 -1
- package/dist/esm/views/Calendar.native.js +7 -6
- package/dist/esm/views/Calendar.native.js.map +1 -1
- package/dist/esm/views/Gantt.mjs +196 -63
- package/dist/esm/views/Gantt.mjs.map +1 -1
- package/dist/esm/views/Gantt.native.js +209 -63
- package/dist/esm/views/Gantt.native.js.map +1 -1
- package/dist/esm/views/GanttDateGrip.mjs +191 -0
- package/dist/esm/views/GanttDateGrip.mjs.map +1 -0
- package/dist/esm/views/GanttDateGrip.native.js +231 -0
- package/dist/esm/views/GanttDateGrip.native.js.map +1 -0
- package/dist/esm/views/Kanban.mjs +5 -4
- package/dist/esm/views/Kanban.mjs.map +1 -1
- package/dist/esm/views/Kanban.native.js +3 -2
- package/dist/esm/views/Kanban.native.js.map +1 -1
- package/dist/esm/views/List.mjs +13 -5
- package/dist/esm/views/List.mjs.map +1 -1
- package/dist/esm/views/List.native.js +14 -5
- package/dist/esm/views/List.native.js.map +1 -1
- package/dist/esm/views/Matrix.mjs +10 -9
- package/dist/esm/views/Matrix.mjs.map +1 -1
- package/dist/esm/views/Matrix.native.js +10 -9
- package/dist/esm/views/Matrix.native.js.map +1 -1
- package/dist/esm/views/TreeView.mjs +5 -4
- package/dist/esm/views/TreeView.mjs.map +1 -1
- package/dist/esm/views/TreeView.native.js +5 -4
- package/dist/esm/views/TreeView.native.js.map +1 -1
- package/dist/esm/views/ganttIntervals.mjs +57 -0
- package/dist/esm/views/ganttIntervals.mjs.map +1 -0
- package/dist/esm/views/ganttIntervals.native.js +61 -0
- package/dist/esm/views/ganttIntervals.native.js.map +1 -0
- package/dist/jsx/Accordion/index.native.js +1 -1
- package/dist/jsx/Accordion/index.native.js.map +1 -1
- package/dist/jsx/Alert/index.mjs +2 -2
- package/dist/jsx/Alert/index.mjs.map +1 -1
- package/dist/jsx/Alert/index.native.js +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.native.js.map +1 -1
- package/dist/jsx/Carousel/index.mjs +1 -1
- package/dist/jsx/Carousel/index.mjs.map +1 -1
- package/dist/jsx/Carousel/index.native.js +3 -3
- package/dist/jsx/Carousel/index.native.js.map +1 -1
- package/dist/jsx/Chip/index.mjs +18 -7
- package/dist/jsx/Chip/index.mjs.map +1 -1
- package/dist/jsx/Chip/index.native.js +20 -8
- 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.mjs +1 -1
- package/dist/jsx/ErrorBoundary/index.mjs.map +1 -1
- package/dist/jsx/ErrorBoundary/index.native.js +2 -2
- package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
- package/dist/jsx/Heading.mjs +1 -120
- package/dist/jsx/Heading.mjs.map +1 -1
- package/dist/jsx/Heading.native.js +7 -133
- 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.mjs.map +1 -1
- package/dist/jsx/OverflowRow/index.native.js +2 -1
- package/dist/jsx/OverflowRow/index.native.js.map +1 -1
- package/dist/jsx/Pagination.mjs +4 -1
- package/dist/jsx/Pagination.mjs.map +1 -1
- package/dist/jsx/Pagination.native.js +5 -2
- package/dist/jsx/Pagination.native.js.map +1 -1
- package/dist/jsx/Popover.native.js.map +1 -1
- package/dist/jsx/ProgressSteps/index.mjs +2 -2
- package/dist/jsx/ProgressSteps/index.mjs.map +1 -1
- package/dist/jsx/ProgressSteps/index.native.js +1 -1
- package/dist/jsx/ProgressSteps/index.native.js.map +1 -1
- package/dist/jsx/Quote/index.mjs +2 -1
- package/dist/jsx/Quote/index.mjs.map +1 -1
- package/dist/jsx/Quote/index.native.js +1 -0
- 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/SheetModal/detents.native.js.map +1 -1
- package/dist/jsx/Skeleton/index.native.js.map +1 -1
- package/dist/jsx/SkipLink/index.mjs +1 -2
- package/dist/jsx/SkipLink/index.mjs.map +1 -1
- package/dist/jsx/SkipLink/index.native.js +1 -2
- 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.mjs +5 -4
- package/dist/jsx/SortableList/index.mjs.map +1 -1
- package/dist/jsx/SortableList/index.native.js +2 -1
- package/dist/jsx/SortableList/index.native.js.map +1 -1
- package/dist/jsx/SortableList/useSortableRows.mjs +2 -2
- package/dist/jsx/SortableList/useSortableRows.mjs.map +1 -1
- package/dist/jsx/SortableList/useSortableRows.native.js +2 -2
- package/dist/jsx/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/jsx/Tabs/index.native.js +1 -1
- package/dist/jsx/Tabs/index.native.js.map +1 -1
- package/dist/jsx/Text.mjs +1 -112
- package/dist/jsx/Text.mjs.map +1 -1
- package/dist/jsx/Text.native.js +4 -120
- package/dist/jsx/Text.native.js.map +1 -1
- package/dist/jsx/ThemePlayground/index.mjs +2 -1
- package/dist/jsx/ThemePlayground/index.mjs.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.mjs +21 -22
- package/dist/jsx/ThemePresetPicker/index.mjs.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.native.js +22 -23
- 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.mjs +6 -5
- package/dist/jsx/TreeSelect/index.mjs.map +1 -1
- package/dist/jsx/TreeSelect/index.native.js +3 -2
- 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.mjs +1 -1
- package/dist/jsx/Video/PlayerChrome.mjs.map +1 -1
- package/dist/jsx/Video/PlayerChrome.native.js +1 -1
- package/dist/jsx/Video/PlayerChrome.native.js.map +1 -1
- package/dist/jsx/Video/VideoFrame.mjs +3 -2
- package/dist/jsx/Video/VideoFrame.mjs.map +1 -1
- package/dist/jsx/Video/VideoFrame.native.js +2 -1
- package/dist/jsx/Video/VideoFrame.native.js.map +1 -1
- package/dist/jsx/Video/index.mjs +3 -1
- package/dist/jsx/Video/index.mjs.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.mjs +2 -1
- package/dist/jsx/actions/DestructiveAction.mjs.map +1 -1
- package/dist/jsx/actions/DestructiveAction.native.js +3 -2
- 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.mjs +2 -1
- package/dist/jsx/appShell/ScopeMenu.mjs.map +1 -1
- package/dist/jsx/appShell/ScopeMenu.native.js +2 -1
- package/dist/jsx/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/jsx/appShell/SettingsSplit.mjs +5 -4
- package/dist/jsx/appShell/SettingsSplit.mjs.map +1 -1
- package/dist/jsx/appShell/SettingsSplit.native.js +6 -5
- package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/jsx/appShell/Springboard.mjs +3 -2
- package/dist/jsx/appShell/Springboard.mjs.map +1 -1
- package/dist/jsx/appShell/Springboard.native.js +3 -2
- package/dist/jsx/appShell/Springboard.native.js.map +1 -1
- package/dist/jsx/appShell/SystemBar.mjs +2 -1
- package/dist/jsx/appShell/SystemBar.mjs.map +1 -1
- package/dist/jsx/appShell/SystemBar.native.js +2 -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/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.mjs +1 -1
- package/dist/jsx/feedback/ConfirmDialog.mjs.map +1 -1
- package/dist/jsx/feedback/ConfirmDialog.native.js +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.native.js.map +1 -1
- 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/ViewSwitcher.native.js.map +1 -1
- package/dist/jsx/layouts/attachments.mjs +3 -2
- package/dist/jsx/layouts/attachments.mjs.map +1 -1
- package/dist/jsx/layouts/attachments.native.js +12 -11
- package/dist/jsx/layouts/attachments.native.js.map +1 -1
- package/dist/jsx/layouts/breadcrumbs.mjs +3 -2
- package/dist/jsx/layouts/breadcrumbs.mjs.map +1 -1
- package/dist/jsx/layouts/breadcrumbs.native.js +3 -2
- package/dist/jsx/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/jsx/layouts/index.native.js +3 -3
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/layouts/page.mjs +80 -10
- package/dist/jsx/layouts/page.mjs.map +1 -1
- package/dist/jsx/layouts/page.native.js +84 -10
- package/dist/jsx/layouts/page.native.js.map +1 -1
- package/dist/jsx/layouts/pageHeadingScope.native.js.map +1 -1
- package/dist/jsx/layouts/shellSidebarSlot.native.js.map +1 -1
- package/dist/jsx/layouts/sidebar.mjs +5 -3
- package/dist/jsx/layouts/sidebar.mjs.map +1 -1
- package/dist/jsx/layouts/sidebar.native.js +4 -2
- package/dist/jsx/layouts/sidebar.native.js.map +1 -1
- package/dist/jsx/layouts/tags.mjs +6 -5
- package/dist/jsx/layouts/tags.mjs.map +1 -1
- package/dist/jsx/layouts/tags.native.js +4 -3
- package/dist/jsx/layouts/tags.native.js.map +1 -1
- package/dist/jsx/layouts/timeline.mjs +4 -3
- package/dist/jsx/layouts/timeline.mjs.map +1 -1
- package/dist/jsx/layouts/timeline.native.js +16 -15
- package/dist/jsx/layouts/timeline.native.js.map +1 -1
- package/dist/jsx/layouts/toolbar.mjs +2 -1
- package/dist/jsx/layouts/toolbar.mjs.map +1 -1
- package/dist/jsx/layouts/toolbar.native.js +3 -2
- package/dist/jsx/layouts/toolbar.native.js.map +1 -1
- package/dist/jsx/linearGradientSetup.mjs +2 -0
- package/dist/jsx/linearGradientSetup.mjs.map +1 -0
- package/dist/jsx/linearGradientSetup.native.js +4 -0
- package/dist/jsx/linearGradientSetup.native.js.map +1 -0
- package/dist/jsx/shared/actionScan.native.js.map +1 -1
- package/dist/jsx/shared/i18n.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.native.js +1 -1
- 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.mjs +7 -6
- package/dist/jsx/views/Calendar.mjs.map +1 -1
- package/dist/jsx/views/Calendar.native.js +15 -14
- 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.mjs +196 -63
- package/dist/jsx/views/Gantt.mjs.map +1 -1
- package/dist/jsx/views/Gantt.native.js +203 -57
- package/dist/jsx/views/Gantt.native.js.map +1 -1
- package/dist/jsx/views/GanttDateGrip.mjs +191 -0
- package/dist/jsx/views/GanttDateGrip.mjs.map +1 -0
- package/dist/jsx/views/GanttDateGrip.native.js +259 -0
- package/dist/jsx/views/GanttDateGrip.native.js.map +1 -0
- package/dist/jsx/views/ImageGrid.native.js +1 -1
- package/dist/jsx/views/ImageGrid.native.js.map +1 -1
- package/dist/jsx/views/Kanban.mjs +5 -4
- package/dist/jsx/views/Kanban.mjs.map +1 -1
- package/dist/jsx/views/Kanban.native.js +4 -3
- package/dist/jsx/views/Kanban.native.js.map +1 -1
- package/dist/jsx/views/List.mjs +13 -5
- package/dist/jsx/views/List.mjs.map +1 -1
- package/dist/jsx/views/List.native.js +14 -3
- package/dist/jsx/views/List.native.js.map +1 -1
- package/dist/jsx/views/Matrix.mjs +10 -9
- package/dist/jsx/views/Matrix.mjs.map +1 -1
- package/dist/jsx/views/Matrix.native.js +4 -3
- 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.mjs +5 -4
- package/dist/jsx/views/TreeView.mjs.map +1 -1
- package/dist/jsx/views/TreeView.native.js +3 -2
- 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.mjs +57 -0
- package/dist/jsx/views/ganttIntervals.mjs.map +1 -0
- package/dist/jsx/views/ganttIntervals.native.js +92 -0
- package/dist/jsx/views/ganttIntervals.native.js.map +1 -0
- 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 +12 -10
- package/src/Accordion/Accordion.stories.tsx +2 -1
- package/src/Alert/Alert.stories.tsx +2 -1
- package/src/Alert/index.tsx +2 -1
- package/src/AnimateHeight/AnimateHeight.stories.tsx +2 -1
- package/src/Avatar/Avatar.stories.tsx +2 -1
- package/src/Badge/Badge.stories.tsx +2 -1
- package/src/Card.stories.tsx +2 -1
- package/src/CardFooter.stories.tsx +2 -1
- package/src/CardHeader.stories.tsx +2 -1
- package/src/Carousel/Carousel.stories.tsx +2 -1
- package/src/Carousel/index.tsx +1 -1
- package/src/Chip/Chip.borderLadder.spec.tsx +3 -3
- package/src/Chip/Chip.ink.spec.tsx +70 -2
- package/src/Chip/Chip.spec.tsx +7 -4
- package/src/Chip/Chip.stories.tsx +2 -1
- package/src/Chip/index.tsx +29 -7
- package/src/ContextMenu/ContextMenu.stories.tsx +2 -1
- package/src/DialogContent.stories.tsx +2 -1
- package/src/DotIndicator/DotIndicator.stories.tsx +2 -1
- package/src/DropdownMenu/DropdownMenu.stories.tsx +2 -1
- package/src/ErrorBoundary/ErrorBoundary.stories.tsx +2 -1
- package/src/ErrorBoundary/index.tsx +1 -1
- package/src/Heading.native.spec.tsx +13 -5
- package/src/Heading.spec.tsx +55 -11
- package/src/Heading.tsx +3 -66
- package/src/Meter/Meter.spec.tsx +4 -4
- package/src/OverflowRow/index.tsx +1 -0
- package/src/Pagination.stories.tsx +2 -1
- package/src/Pagination.tsx +9 -1
- package/src/Panel.stories.tsx +2 -1
- package/src/PopoverContent.stories.tsx +2 -1
- package/src/ProgressSteps/index.tsx +5 -1
- package/src/Quote/index.tsx +9 -2
- package/src/Separator/Separator.stories.tsx +2 -1
- package/src/SheetFrame.stories.tsx +2 -1
- package/src/SheetModal/SheetModal.stories.tsx +2 -1
- package/src/Skeleton/Skeleton.stories.tsx +2 -1
- package/src/SkipLink/SkipLink.stories.tsx +2 -1
- package/src/SkipLink/index.tsx +1 -2
- package/src/SortableList/index.tsx +14 -6
- package/src/SortableList/useSortableRows.ts +3 -2
- package/src/Tabs/Tabs.stories.tsx +2 -1
- package/src/Text.spec.tsx +22 -0
- package/src/Text.tsx +9 -133
- package/src/ThemePlayground/ExpoThemeColors.stories.tsx +60 -0
- package/src/ThemePlayground/index.tsx +2 -1
- package/src/ThemePresetPicker/ThemePresetPicker.spec.tsx +20 -0
- package/src/ThemePresetPicker/ThemePresetPicker.stories.spec.tsx +34 -12
- package/src/ThemePresetPicker/ThemePresetPicker.stories.tsx +11 -3
- package/src/ThemePresetPicker/index.tsx +35 -29
- package/src/Toast/Toast.stories.tsx +2 -1
- package/src/Tooltip/Tooltip.spec.tsx +1 -1
- package/src/TreeSelect/index.tsx +10 -9
- package/src/Video/PlayerChrome.tsx +1 -1
- package/src/Video/VideoFrame.tsx +4 -3
- package/src/Video/index.tsx +3 -1
- package/src/Wheel/Wheel.stories.tsx +2 -1
- package/src/actions/ActionBar.stories.tsx +2 -1
- package/src/actions/DestructiveAction.stories.tsx +2 -1
- package/src/actions/DestructiveAction.tsx +2 -1
- package/src/appShell/ScopeMenu.tsx +2 -1
- package/src/appShell/SettingsSplit.stories.tsx +2 -1
- package/src/appShell/SettingsSplit.tsx +6 -5
- package/src/appShell/Springboard.tsx +3 -2
- package/src/appShell/SystemBar.tsx +2 -1
- package/src/charts/Axis.stories.tsx +2 -1
- package/src/charts/ChartSurface.stories.tsx +2 -1
- package/src/charts/Charts.stories.tsx +2 -1
- package/src/code/CodeInline.stories.tsx +3 -1
- package/src/feedback/ConfirmDialog.stories.tsx +2 -1
- package/src/feedback/ConfirmDialog.tsx +1 -1
- package/src/feedback/Notify.stories.tsx +2 -1
- package/src/icons/CheckRegular.stories.tsx +2 -1
- package/src/icons/MinusRegular.stories.tsx +2 -1
- package/src/layouts/AsyncBoundary.stories.tsx +2 -1
- package/src/layouts/Attachments.stories.tsx +2 -1
- package/src/layouts/Debug/DebugLayout.stories.tsx +2 -1
- package/src/layouts/KeyboardAvoidingWrapper/KeyboardAvoidingWrapper.stories.tsx +2 -2
- package/src/layouts/PageHeader.stories.tsx +2 -1
- package/src/layouts/PageSection.stories.tsx +2 -1
- package/src/layouts/PageTemplates.stories.tsx +64 -2
- package/src/layouts/PaneScaffold.stories.tsx +2 -2
- package/src/layouts/SafeAreaWrapper/SafeAreaWrapper.stories.tsx +2 -2
- package/src/layouts/Screen.stories.tsx +2 -1
- package/src/layouts/Sidebar.stories.tsx +2 -1
- package/src/layouts/Tags.stories.tsx +2 -1
- package/src/layouts/Timeline.stories.tsx +2 -1
- package/src/layouts/Toolbar.stories.tsx +2 -1
- package/src/layouts/ViewSwitcher.stories.tsx +2 -1
- package/src/layouts/attachments.tsx +4 -3
- package/src/layouts/breadcrumbs.tsx +4 -3
- package/src/layouts/page.tsx +98 -9
- package/src/layouts/pageChrome.phone.spec.tsx +58 -0
- package/src/layouts/sidebar.tsx +7 -5
- package/src/layouts/tags-trigger.spec.tsx +3 -3
- package/src/layouts/tags.tsx +14 -9
- package/src/layouts/timeline.tsx +6 -5
- package/src/layouts/toolbar.tsx +2 -1
- package/src/linearGradientSetup.native.spec.ts +19 -0
- package/src/linearGradientSetup.native.ts +3 -0
- package/src/linearGradientSetup.ts +1 -0
- package/src/views/Calendar.tsx +12 -11
- package/src/views/Gantt.intervals.spec.tsx +69 -0
- package/src/views/Gantt.scroll.spec.tsx +42 -0
- package/src/views/Gantt.spec.tsx +4 -5
- package/src/views/Gantt.stories.tsx +19 -0
- package/src/views/Gantt.tsx +230 -106
- package/src/views/GanttDateGrip.native.spec.tsx +118 -0
- package/src/views/GanttDateGrip.tsx +266 -0
- package/src/views/ImageGrid.stories.tsx +2 -1
- package/src/views/Kanban.native.spec.tsx +98 -0
- package/src/views/Kanban.native.tsx +3 -2
- package/src/views/Kanban.stories.tsx +2 -1
- package/src/views/Kanban.tsx +15 -6
- package/src/views/List.spec.tsx +18 -0
- package/src/views/List.tsx +17 -2
- package/src/views/Matrix.tsx +22 -17
- package/src/views/TreeView.reveal.stories.tsx +2 -1
- package/src/views/TreeView.tsx +15 -6
- package/src/views/dataIdentity.spec.tsx +5 -1
- package/src/views/ganttIntervals.spec.ts +84 -0
- package/src/views/ganttIntervals.ts +91 -0
- package/src/views/index.ts +2 -0
- package/types/Alert/index.d.ts.map +1 -1
- package/types/Chip/index.d.ts +5 -3
- package/types/Chip/index.d.ts.map +1 -1
- package/types/Collapsible.d.ts +1 -1
- package/types/Heading.d.ts +2 -9
- package/types/Heading.d.ts.map +1 -1
- package/types/OverflowRow/index.d.ts +1 -0
- package/types/OverflowRow/index.d.ts.map +1 -1
- package/types/Pagination.d.ts +6 -1
- package/types/Pagination.d.ts.map +1 -1
- package/types/ProgressSteps/index.d.ts.map +1 -1
- package/types/Quote/index.d.ts.map +1 -1
- package/types/SkipLink/index.d.ts.map +1 -1
- package/types/SortableList/index.d.ts.map +1 -1
- package/types/SortableList/useSortableRows.d.ts.map +1 -1
- package/types/Tabs/index.d.ts +1 -1
- package/types/Text.d.ts +2 -12
- package/types/Text.d.ts.map +1 -1
- package/types/ThemePlayground/index.d.ts.map +1 -1
- package/types/ThemePresetPicker/index.d.ts +3 -1
- package/types/ThemePresetPicker/index.d.ts.map +1 -1
- package/types/TreeSelect/index.d.ts.map +1 -1
- package/types/Video/VideoFrame.d.ts.map +1 -1
- package/types/Video/index.d.ts.map +1 -1
- package/types/actions/DestructiveAction.d.ts.map +1 -1
- package/types/appShell/ScopeMenu.d.ts.map +1 -1
- package/types/appShell/SettingsSplit.d.ts.map +1 -1
- package/types/appShell/Springboard.d.ts.map +1 -1
- package/types/appShell/SystemBar.d.ts.map +1 -1
- package/types/layouts/attachments.d.ts.map +1 -1
- package/types/layouts/breadcrumbs.d.ts.map +1 -1
- package/types/layouts/page.d.ts +21 -3
- package/types/layouts/page.d.ts.map +1 -1
- package/types/layouts/sidebar.d.ts.map +1 -1
- package/types/layouts/tags.d.ts.map +1 -1
- package/types/layouts/timeline.d.ts.map +1 -1
- package/types/layouts/toolbar.d.ts.map +1 -1
- package/types/linearGradientSetup.d.ts +2 -0
- package/types/linearGradientSetup.d.ts.map +1 -0
- package/types/linearGradientSetup.native.d.ts +2 -0
- package/types/linearGradientSetup.native.d.ts.map +1 -0
- package/types/views/Calendar.d.ts.map +1 -1
- package/types/views/Gantt.d.ts +9 -21
- package/types/views/Gantt.d.ts.map +1 -1
- package/types/views/GanttDateGrip.d.ts +22 -0
- package/types/views/GanttDateGrip.d.ts.map +1 -0
- package/types/views/Kanban.d.ts.map +1 -1
- package/types/views/List.d.ts +17 -0
- package/types/views/List.d.ts.map +1 -1
- package/types/views/Matrix.d.ts.map +1 -1
- package/types/views/TreeView.d.ts.map +1 -1
- package/types/views/ganttIntervals.d.ts +11 -0
- package/types/views/ganttIntervals.d.ts.map +1 -0
- package/types/views/index.d.ts +1 -0
- package/types/views/index.d.ts.map +1 -1
package/src/Text.tsx
CHANGED
|
@@ -1,133 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* native nothing reaches them at all. AN-8 ("never render app text through
|
|
11
|
-
* bare typography") was unfollowable — there was no house Text to follow it
|
|
12
|
-
* with.
|
|
13
|
-
*
|
|
14
|
-
* ARCHITECTURE (Button/Spinner shadow precedent): the thinnest legal shape
|
|
15
|
-
* is a wrapper that spreads the COMPLETE knob fragments onto the raw
|
|
16
|
-
* primitive and forwards consumer props LAST (STD-EJECT-LAST). The
|
|
17
|
-
* fragments are props, not CSS, so the same code path styles web AND native
|
|
18
|
-
* — the text node itself carries fontFamily/fontWeight/color on every
|
|
19
|
-
* platform (the MPO-44/48 lesson: the frame is not the text node).
|
|
20
|
-
*
|
|
21
|
-
* WEIGHT RIDES LAST (MPO-446). `size` and `fontFamily` are variants on the
|
|
22
|
-
* raw primitive, and tamagui's getFontSized writes the font ramp's weight
|
|
23
|
-
* (`var(--f-weight-N)`) at the position that key holds in the props object.
|
|
24
|
-
* A knob weight spread before a consumer `size` lost to it, and a consumer
|
|
25
|
-
* `fontWeight` sat at the knob's position too, since a spread key keeps its
|
|
26
|
-
* first slot. So the weight is split off the fragment and written as the
|
|
27
|
-
* final prop: the knob's, or the consumer's when one is passed.
|
|
28
|
-
*
|
|
29
|
-
* Knob channels wired here:
|
|
30
|
-
* - bodyFont → knobProps.body.fontFamily (every platform, not just web)
|
|
31
|
-
* - fontWeight → knobProps.body.fontWeight (regular 400 / bold 700 —
|
|
32
|
-
* 500/600 are not label weights; see tamagui-rendered-reference.md §9)
|
|
33
|
-
* - textAccent → knobProps.textAccentColor (high $color / medium+low
|
|
34
|
-
* $color11, the AA legibility floor) on Text/SizableText/Paragraph.
|
|
35
|
-
* - link ink → Anchor paints the accent, as the most chromatic step of the
|
|
36
|
-
* theme's accent ramp that still clears AA on both page surfaces
|
|
37
|
-
* (`useAccentOnSurface`). House Text owns link chrome (Clay 2026-09-26,
|
|
38
|
-
* MPO-21 G11-A); a consumer `color` still ejects.
|
|
39
|
-
*
|
|
40
|
-
* The default is the registered body font's `$true` stop: 15/23 on web,
|
|
41
|
-
* 17/22 on native, with weight from the fontWeight knob. SizableText keeps
|
|
42
|
-
* the size-token scale. Consumer size, fontSize and lineHeight still win.
|
|
43
|
-
*
|
|
44
|
-
* Raw primitives stay reachable as TamaguiText / TamaguiSizableText /
|
|
45
|
-
* TamaguiParagraph / TamaguiAnchor (./tamagui.ts escape hatches, LC-45).
|
|
46
|
-
*/
|
|
47
|
-
import { useAccentOnSurface, useResolvedKnobs } from "@multiplatform.one/theme";
|
|
48
|
-
import {
|
|
49
|
-
Anchor as RawAnchor,
|
|
50
|
-
type AnchorProps,
|
|
51
|
-
Paragraph as RawParagraph,
|
|
52
|
-
type ParagraphProps as RawParagraphProps,
|
|
53
|
-
SizableText as RawSizableText,
|
|
54
|
-
type SizableTextProps,
|
|
55
|
-
Text as RawText,
|
|
56
|
-
type TextProps as RawTextProps,
|
|
57
|
-
} from "tamagui";
|
|
58
|
-
|
|
59
|
-
export type { AnchorProps, SizableTextProps };
|
|
60
|
-
|
|
61
|
-
interface TypographyProps {
|
|
62
|
-
variant?: "body" | "mutedMono";
|
|
63
|
-
tabular?: boolean;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type TextProps = RawTextProps & TypographyProps;
|
|
67
|
-
export type ParagraphProps = RawParagraphProps & TypographyProps;
|
|
68
|
-
|
|
69
|
-
type Weight = TextProps["fontWeight"];
|
|
70
|
-
|
|
71
|
-
/** The body fragment without its weight, and the weight a voice writes last. */
|
|
72
|
-
function useBodyVoice(fontWeight: Weight, { variant, tabular }: TypographyProps = {}) {
|
|
73
|
-
const { knobProps } = useResolvedKnobs();
|
|
74
|
-
const { fontWeight: knobWeight, ...body } = knobProps.body;
|
|
75
|
-
return {
|
|
76
|
-
body,
|
|
77
|
-
variantProps: variant === "mutedMono" ? knobProps.typography.mutedMono : undefined,
|
|
78
|
-
digitProps: tabular ? knobProps.typography.tabular : undefined,
|
|
79
|
-
color: knobProps.textAccentColor,
|
|
80
|
-
weight: fontWeight ?? (knobWeight as Weight),
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function Text({ fontWeight, variant, tabular, style, ...props }: TextProps) {
|
|
85
|
-
const { body, color, weight, variantProps, digitProps } = useBodyVoice(fontWeight, {
|
|
86
|
-
variant,
|
|
87
|
-
tabular: tabular && props.fontVariant === undefined,
|
|
88
|
-
});
|
|
89
|
-
return (
|
|
90
|
-
<RawText
|
|
91
|
-
fontSize="$true"
|
|
92
|
-
lineHeight="$true"
|
|
93
|
-
{...body}
|
|
94
|
-
color={color}
|
|
95
|
-
{...variantProps}
|
|
96
|
-
{...digitProps}
|
|
97
|
-
{...props}
|
|
98
|
-
style={digitProps?.style ? [digitProps.style, ...[style].flat()] : style}
|
|
99
|
-
fontWeight={weight}
|
|
100
|
-
/>
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function SizableText({ fontWeight, ...props }: SizableTextProps) {
|
|
105
|
-
const { body, color, weight } = useBodyVoice(fontWeight);
|
|
106
|
-
return <RawSizableText {...body} color={color} {...props} fontWeight={weight} />;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function Paragraph({ fontWeight, variant, tabular, style, ...props }: ParagraphProps) {
|
|
110
|
-
const { body, color, weight, variantProps, digitProps } = useBodyVoice(fontWeight, {
|
|
111
|
-
variant,
|
|
112
|
-
tabular: tabular && props.fontVariant === undefined,
|
|
113
|
-
});
|
|
114
|
-
return (
|
|
115
|
-
<RawParagraph
|
|
116
|
-
fontSize="$true"
|
|
117
|
-
lineHeight="$true"
|
|
118
|
-
{...body}
|
|
119
|
-
color={color}
|
|
120
|
-
{...variantProps}
|
|
121
|
-
{...digitProps}
|
|
122
|
-
{...props}
|
|
123
|
-
style={digitProps?.style ? [digitProps.style, ...[style].flat()] : style}
|
|
124
|
-
fontWeight={weight}
|
|
125
|
-
/>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
export function Anchor({ fontWeight, ...props }: AnchorProps) {
|
|
130
|
-
const { body, weight } = useBodyVoice(fontWeight);
|
|
131
|
-
const linkInk = useAccentOnSurface();
|
|
132
|
-
return <RawAnchor {...body} color={linkInk} {...props} fontWeight={weight} />;
|
|
133
|
-
}
|
|
1
|
+
// The house body voices live in @multiplatform.one/theme so packages below
|
|
2
|
+
// components share them (FZ-7739); this module keeps the catalog's paths.
|
|
3
|
+
export { Anchor, Paragraph, SizableText, Text } from "@multiplatform.one/theme";
|
|
4
|
+
export type {
|
|
5
|
+
AnchorProps,
|
|
6
|
+
ParagraphProps,
|
|
7
|
+
SizableTextProps,
|
|
8
|
+
TextProps,
|
|
9
|
+
} from "@multiplatform.one/theme";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Paragraph, XStack, YStack } from "@multiplatform.one/components";
|
|
2
|
+
import { createExpoThemeColors } from "@multiplatform.one/theme/expo";
|
|
3
|
+
import {
|
|
4
|
+
getPresetPreviewColors,
|
|
5
|
+
boldPreset,
|
|
6
|
+
defaultPreset,
|
|
7
|
+
densePreset,
|
|
8
|
+
heroPreset,
|
|
9
|
+
roomyPreset,
|
|
10
|
+
} from "@multiplatform.one/theme";
|
|
11
|
+
|
|
12
|
+
export default {
|
|
13
|
+
title: "Theme/ExpoThemeColors",
|
|
14
|
+
parameters: {
|
|
15
|
+
docs: {
|
|
16
|
+
description: {
|
|
17
|
+
component:
|
|
18
|
+
"Native launch colors follow the build preset. Each panel uses that theme's background token; the text shows the opaque hex passed to Expo. A new native binary is required to change launch assets.",
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const presets = {
|
|
25
|
+
default: defaultPreset,
|
|
26
|
+
bold: boldPreset,
|
|
27
|
+
dense: densePreset,
|
|
28
|
+
hero: heroPreset,
|
|
29
|
+
roomy: roomyPreset,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const allPresets = {
|
|
33
|
+
render: () => (
|
|
34
|
+
<YStack gap="$4">
|
|
35
|
+
{Object.entries(presets).map(([preset, definition]) => {
|
|
36
|
+
const colors = createExpoThemeColors({ preset });
|
|
37
|
+
return (
|
|
38
|
+
<YStack key={preset} gap="$2">
|
|
39
|
+
<Paragraph>{preset}</Paragraph>
|
|
40
|
+
<XStack gap="$3" flexWrap="wrap">
|
|
41
|
+
{(["light", "dark"] as const).map((scheme) => {
|
|
42
|
+
const colorsForScheme = getPresetPreviewColors(definition.theme, scheme);
|
|
43
|
+
const background =
|
|
44
|
+
scheme === "light"
|
|
45
|
+
? colors.splash.backgroundColor
|
|
46
|
+
: colors.splash.dark.backgroundColor;
|
|
47
|
+
return (
|
|
48
|
+
<YStack key={scheme} backgroundColor={background} padding="$4" gap="$2">
|
|
49
|
+
<Paragraph color={colorsForScheme.ink}>{scheme} launch background</Paragraph>
|
|
50
|
+
<Paragraph color={colorsForScheme.ink}>{background}</Paragraph>
|
|
51
|
+
</YStack>
|
|
52
|
+
);
|
|
53
|
+
})}
|
|
54
|
+
</XStack>
|
|
55
|
+
</YStack>
|
|
56
|
+
);
|
|
57
|
+
})}
|
|
58
|
+
</YStack>
|
|
59
|
+
),
|
|
60
|
+
};
|
|
@@ -2,10 +2,11 @@ import { ThemeDevtoolsPanel } from "@multiplatform.one/theme";
|
|
|
2
2
|
import { PaletteIcon } from "@phosphor-icons/react";
|
|
3
3
|
import { Suspense, lazy, useState, type ComponentType } from "react";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import {
|
|
5
|
+
import { YStack } from "tamagui";
|
|
6
6
|
import { Button } from "../Button";
|
|
7
7
|
import { SheetModal } from "../SheetModal";
|
|
8
8
|
import { Tooltip } from "../Tooltip";
|
|
9
|
+
import { SizableText, Text } from "../Text";
|
|
9
10
|
|
|
10
11
|
export interface ThemePlaygroundProps {
|
|
11
12
|
testID?: string;
|
|
@@ -50,6 +50,26 @@ function Fixture({
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
describe("ThemePresetPicker", () => {
|
|
53
|
+
it("draws the LC-131 selected recipe and exposes scroll cues when preset choices overflow", async () => {
|
|
54
|
+
render(<Fixture />);
|
|
55
|
+
const selected = screen.getByRole("button", { name: "Preset: Default" });
|
|
56
|
+
expect(selected.className).toContain("_bg-selectedBac");
|
|
57
|
+
expect(selected.className).toContain("_btc-transparent");
|
|
58
|
+
expect(selected.className).not.toContain("_btc-accentColor");
|
|
59
|
+
const row = screen.getByLabelText("Preset");
|
|
60
|
+
Object.defineProperties(row, {
|
|
61
|
+
scrollWidth: { value: 900, configurable: true },
|
|
62
|
+
offsetWidth: { value: 300, configurable: true },
|
|
63
|
+
scrollHeight: { value: 40, configurable: true },
|
|
64
|
+
offsetHeight: { value: 40, configurable: true },
|
|
65
|
+
});
|
|
66
|
+
await act(async () => {
|
|
67
|
+
fireEvent.scroll(row, { target: { scrollLeft: 0 } });
|
|
68
|
+
await new Promise((resolve) => setTimeout(resolve, 120));
|
|
69
|
+
});
|
|
70
|
+
expect(screen.getByTestId("overflow-row-end-fade")).toBeDefined();
|
|
71
|
+
});
|
|
72
|
+
|
|
53
73
|
it("lists registered presets at render time, including later registrations", () => {
|
|
54
74
|
registerPreset("night-owl", defaultPreset);
|
|
55
75
|
render(<Fixture />);
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
useSchemePreference,
|
|
12
12
|
usePresetContext,
|
|
13
13
|
} from "@multiplatform.one/theme";
|
|
14
|
-
import { useThemeName, useTheme as useTamaguiTheme } from "tamagui";
|
|
14
|
+
import { type ThemeName, useThemeName, useTheme as useTamaguiTheme } from "tamagui";
|
|
15
15
|
import meta from "./ThemePresetPicker.stories";
|
|
16
16
|
|
|
17
17
|
const config = createDefaultThemeConfig({ presets: { default: defaultPreset, bold: boldPreset } });
|
|
18
18
|
afterEach(cleanup);
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
function renderGallery(color?: ThemeName) {
|
|
21
21
|
const cookies = new Cookies({});
|
|
22
22
|
let palette = "";
|
|
23
|
-
let
|
|
23
|
+
let probedColor: unknown;
|
|
24
24
|
let preset: ReturnType<typeof usePresetContext>;
|
|
25
25
|
function useProbedScheme() {
|
|
26
26
|
palette = useThemeName();
|
|
27
|
-
|
|
27
|
+
probedColor = useTamaguiTheme().color5?.val;
|
|
28
28
|
preset = usePresetContext();
|
|
29
29
|
return useSchemePreference();
|
|
30
30
|
}
|
|
@@ -35,7 +35,7 @@ it("renders and switches the real gallery story without a Storybook hooks contex
|
|
|
35
35
|
return (
|
|
36
36
|
<CookiesProvider cookies={cookies}>
|
|
37
37
|
<ThemeProvider config={config} systemTheme="light">
|
|
38
|
-
<Preset preset="default" theme=
|
|
38
|
+
<Preset preset="default" theme={color}>
|
|
39
39
|
<GalleryStory key={storyKey} />
|
|
40
40
|
</Preset>
|
|
41
41
|
</ThemeProvider>
|
|
@@ -43,19 +43,41 @@ it("renders and switches the real gallery story without a Storybook hooks contex
|
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
const view = render(<Fixture />);
|
|
46
|
-
|
|
46
|
+
return {
|
|
47
|
+
probe: () => ({ palette, color: probedColor, preset: preset! }),
|
|
48
|
+
remount: () => view.rerender(<Fixture storyKey={1} />),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
it("renders and switches the real gallery story without a Storybook hooks context", () => {
|
|
53
|
+
const gallery = renderGallery();
|
|
54
|
+
const initialColor = gallery.probe().color;
|
|
47
55
|
fireEvent.click(screen.getByRole("button", { name: "Preset: Bold" }));
|
|
48
56
|
expect(screen.getByRole("button", { name: "Preset: Bold" }).getAttribute("aria-pressed")).toBe(
|
|
49
57
|
"true",
|
|
50
58
|
);
|
|
51
|
-
expect(palette).toBe("light_pink");
|
|
52
|
-
expect(color).not.toBe(initialColor);
|
|
53
|
-
expect(preset
|
|
59
|
+
expect(gallery.probe().palette).toBe("light_pink");
|
|
60
|
+
expect(gallery.probe().color).not.toBe(initialColor);
|
|
61
|
+
expect(gallery.probe().preset.preset.knobs.borderRadius).toBe(boldPreset.knobs.borderRadius);
|
|
54
62
|
fireEvent.click(screen.getByRole("button", { name: "Scheme: Dark" }));
|
|
55
|
-
expect(palette).toBe("dark_pink");
|
|
56
|
-
|
|
63
|
+
expect(gallery.probe().palette).toBe("dark_pink");
|
|
64
|
+
gallery.remount();
|
|
65
|
+
expect(screen.getByRole("button", { name: "Preset: Bold" }).getAttribute("aria-pressed")).toBe(
|
|
66
|
+
"true",
|
|
67
|
+
);
|
|
68
|
+
expect(gallery.probe().palette).toBe("dark_pink");
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it("keeps a picked colour when the story switches to a tinted preset (LC-123)", () => {
|
|
72
|
+
const gallery = renderGallery("blue" as ThemeName);
|
|
73
|
+
fireEvent.click(screen.getByRole("button", { name: "Scheme: Light" }));
|
|
74
|
+
expect(gallery.probe().palette).toBe("light_blue");
|
|
75
|
+
fireEvent.click(screen.getByRole("button", { name: "Preset: Bold" }));
|
|
57
76
|
expect(screen.getByRole("button", { name: "Preset: Bold" }).getAttribute("aria-pressed")).toBe(
|
|
58
77
|
"true",
|
|
59
78
|
);
|
|
60
|
-
expect(palette).toBe("
|
|
79
|
+
expect(gallery.probe().palette).toBe("light_blue");
|
|
80
|
+
expect(gallery.probe().preset.preset.knobs.borderRadius).toBe(boldPreset.knobs.borderRadius);
|
|
81
|
+
fireEvent.click(screen.getByRole("button", { name: "Scheme: Dark" }));
|
|
82
|
+
expect(gallery.probe().palette).toBe("dark_blue");
|
|
61
83
|
});
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
2
2
|
import { Theme } from "tamagui";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
getPreset,
|
|
5
|
+
Preset,
|
|
6
|
+
usePresetContext,
|
|
7
|
+
usePresetSwitch,
|
|
8
|
+
useSchemePreference,
|
|
9
|
+
} from "@multiplatform.one/theme";
|
|
4
10
|
import { ThemePresetPicker, type ThemePresetPickerProps } from "./index";
|
|
5
11
|
|
|
6
12
|
function PickerStory(props: ThemePresetPickerProps) {
|
|
7
13
|
const { presetName } = usePresetSwitch();
|
|
8
14
|
const scheme = useSchemePreference();
|
|
15
|
+
// LC-123: the toolbar colour beats the picked preset's own tint.
|
|
16
|
+
const color = usePresetContext()?.color;
|
|
9
17
|
return (
|
|
10
18
|
<Theme name={scheme.value}>
|
|
11
|
-
<Theme name={getPreset(presetName)?.theme || undefined}>
|
|
12
|
-
<Preset preset={presetName} cascade={false}>
|
|
19
|
+
<Theme name={color || getPreset(presetName)?.theme || undefined}>
|
|
20
|
+
<Preset preset={presetName} cascade={false} theme={color}>
|
|
13
21
|
<ThemePresetPicker {...props} />
|
|
14
22
|
</Preset>
|
|
15
23
|
</Theme>
|
|
@@ -5,9 +5,10 @@ import {
|
|
|
5
5
|
type SchemePreference,
|
|
6
6
|
} from "@multiplatform.one/theme";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
|
-
import {
|
|
9
|
-
import { Paragraph, XStack, YStack } from "tamagui";
|
|
8
|
+
import { YStack, type ColorTokens } from "tamagui";
|
|
10
9
|
import { Chip } from "../Chip";
|
|
10
|
+
import { OverflowRow } from "../OverflowRow";
|
|
11
|
+
import { Paragraph } from "../Text";
|
|
11
12
|
|
|
12
13
|
export interface ThemePresetPickerProps {
|
|
13
14
|
rows?: ReadonlyArray<"scheme" | "preset">;
|
|
@@ -15,6 +16,7 @@ export interface ThemePresetPickerProps {
|
|
|
15
16
|
/** Signed-in owner; none records this device's signed-out choice. */
|
|
16
17
|
userId?: string | null;
|
|
17
18
|
testID?: string;
|
|
19
|
+
fadeColor?: ColorTokens;
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
const titleCase = (name: string) =>
|
|
@@ -28,6 +30,7 @@ export function ThemePresetPicker({
|
|
|
28
30
|
useUserScheme = useSchemePreference,
|
|
29
31
|
userId,
|
|
30
32
|
testID = "theme-preset-picker",
|
|
33
|
+
fadeColor,
|
|
31
34
|
}: ThemePresetPickerProps) {
|
|
32
35
|
const { t } = useTranslation();
|
|
33
36
|
const scheme = useUserScheme();
|
|
@@ -35,7 +38,7 @@ export function ThemePresetPicker({
|
|
|
35
38
|
const presets = ["default", ...getPresetNames().filter((name) => name !== "default")];
|
|
36
39
|
const selectedPreset = presets.includes(preset.presetName) ? preset.presetName : "default";
|
|
37
40
|
return (
|
|
38
|
-
<YStack testID={testID} gap="$
|
|
41
|
+
<YStack testID={testID} gap="$3">
|
|
39
42
|
{rows.map((row) => {
|
|
40
43
|
const label = t(`themePresetPicker.${row}`, { defaultValue: titleCase(row) });
|
|
41
44
|
const options = row === "scheme" ? (["system", "light", "dark"] as const) : presets;
|
|
@@ -44,32 +47,35 @@ export function ThemePresetPicker({
|
|
|
44
47
|
<Paragraph fontSize="$2" color="$color11">
|
|
45
48
|
{label}
|
|
46
49
|
</Paragraph>
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
50
|
+
<OverflowRow
|
|
51
|
+
gap="$1.5"
|
|
52
|
+
fadeColor={fadeColor}
|
|
53
|
+
keyboardShouldPersistTaps="handled"
|
|
54
|
+
accessibilityLabel={label}
|
|
55
|
+
>
|
|
56
|
+
{options.map((name) => {
|
|
57
|
+
const optionLabel = t(`themePresetPicker.${row}s.${name}`, {
|
|
58
|
+
defaultValue: titleCase(name),
|
|
59
|
+
});
|
|
60
|
+
return (
|
|
61
|
+
<Chip
|
|
62
|
+
key={name}
|
|
63
|
+
aria-label={`${label}: ${optionLabel}`}
|
|
64
|
+
selected={(row === "scheme" ? scheme.setting : selectedPreset) === name}
|
|
65
|
+
onPress={() => {
|
|
66
|
+
if (
|
|
67
|
+
row === "scheme" &&
|
|
68
|
+
(name === "system" || name === "light" || name === "dark")
|
|
69
|
+
)
|
|
70
|
+
scheme.set(name);
|
|
71
|
+
else preset.choosePreset(name, userId ?? null);
|
|
72
|
+
}}
|
|
73
|
+
>
|
|
74
|
+
{optionLabel}
|
|
75
|
+
</Chip>
|
|
76
|
+
);
|
|
77
|
+
})}
|
|
78
|
+
</OverflowRow>
|
|
73
79
|
</YStack>
|
|
74
80
|
);
|
|
75
81
|
})}
|
|
@@ -2,7 +2,7 @@ import { action } from "@multiplatform.one/storybook";
|
|
|
2
2
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
3
3
|
import { useEffect, useRef, useState } from "react";
|
|
4
4
|
import { Button } from "@multiplatform.one/forms";
|
|
5
|
-
import {
|
|
5
|
+
import { XStack, YStack } from "tamagui";
|
|
6
6
|
import { SheetModal } from "../SheetModal";
|
|
7
7
|
import {
|
|
8
8
|
Toast,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
type ToastShowOptions,
|
|
14
14
|
} from "./index";
|
|
15
15
|
import { resetToasts } from "./store";
|
|
16
|
+
import { Text } from "../Text";
|
|
16
17
|
|
|
17
18
|
const intents: ToastIntent[] = ["accent", "success", "warning", "error"];
|
|
18
19
|
|
|
@@ -160,7 +160,7 @@ describe("Tooltip content rides the border, elevation and animation knobs", () =
|
|
|
160
160
|
});
|
|
161
161
|
expect(small).toMatchObject({
|
|
162
162
|
mounted: true,
|
|
163
|
-
border: "_btw-
|
|
163
|
+
border: "_btw-1px",
|
|
164
164
|
shadow: "_bxsh-0px11px22px",
|
|
165
165
|
});
|
|
166
166
|
// Overlay large is the ladder's own $5 dialog stop, not the control $4 (MPO-99).
|
package/src/TreeSelect/index.tsx
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "@multiplatform.one/theme";
|
|
31
31
|
import { useDismiss, useInteractions, FloatingFocusManager } from "@floating-ui/react";
|
|
32
32
|
import { useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
33
|
-
import { Text, View, XStack, YStack, isWeb, type GetProps } from "tamagui";
|
|
33
|
+
import { Text as TamaguiText, View, XStack, YStack, isWeb, type GetProps } from "tamagui";
|
|
34
34
|
import { useDirection } from "../hooks/useDirection";
|
|
35
35
|
import { useTranslation } from "../shared/i18n";
|
|
36
36
|
import type { TreeNode } from "../views/TreeView";
|
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
flattenVisible,
|
|
43
43
|
type FlatTreeRow,
|
|
44
44
|
} from "./treeSelectModel";
|
|
45
|
+
import { Text } from "../Text";
|
|
45
46
|
|
|
46
47
|
export type { TreeNode as TreeSelectNode } from "../views/TreeView";
|
|
47
48
|
|
|
@@ -241,7 +242,7 @@ function TreeSelectRows({
|
|
|
241
242
|
>
|
|
242
243
|
{leadingIcon}
|
|
243
244
|
</View>
|
|
244
|
-
<
|
|
245
|
+
<TamaguiText
|
|
245
246
|
{...knobProps.body}
|
|
246
247
|
fontSize={13}
|
|
247
248
|
lineHeight={24}
|
|
@@ -251,11 +252,11 @@ function TreeSelectRows({
|
|
|
251
252
|
minWidth={0}
|
|
252
253
|
>
|
|
253
254
|
{node.label}
|
|
254
|
-
</
|
|
255
|
+
</TamaguiText>
|
|
255
256
|
{hasChildren && childCount > 0 ? (
|
|
256
|
-
<
|
|
257
|
+
<TamaguiText fontFamily="$mono" fontSize={11} lineHeight={21} color="$color8">
|
|
257
258
|
{childCount}
|
|
258
|
-
</
|
|
259
|
+
</TamaguiText>
|
|
259
260
|
) : null}
|
|
260
261
|
{isSelected ? (
|
|
261
262
|
<View flexShrink={0} width={14} height={14}>
|
|
@@ -333,9 +334,9 @@ function EmptyFilterRow({ message }: { message: string }) {
|
|
|
333
334
|
minHeight={44}
|
|
334
335
|
paddingHorizontal="$3"
|
|
335
336
|
>
|
|
336
|
-
<
|
|
337
|
+
<TamaguiText {...knobProps.body} color={formCommonColors.text}>
|
|
337
338
|
{message}
|
|
338
|
-
</
|
|
339
|
+
</TamaguiText>
|
|
339
340
|
</XStack>
|
|
340
341
|
);
|
|
341
342
|
}
|
|
@@ -984,9 +985,9 @@ export function TreeSelect({
|
|
|
984
985
|
knobProps={knobProps as never}
|
|
985
986
|
disabled={disabled}
|
|
986
987
|
>
|
|
987
|
-
<
|
|
988
|
+
<TamaguiText paddingVertical="$2" paddingHorizontal="$3" {...knobProps.body}>
|
|
988
989
|
{display ?? "—"}
|
|
989
|
-
</
|
|
990
|
+
</TamaguiText>
|
|
990
991
|
</FieldLayout>
|
|
991
992
|
</YStack>
|
|
992
993
|
);
|
|
@@ -161,7 +161,7 @@ function SeekBar({
|
|
|
161
161
|
e.stopPropagation?.();
|
|
162
162
|
e.preventDefault?.();
|
|
163
163
|
const target = e.currentTarget;
|
|
164
|
-
if (!target || e.clientX == null) return;
|
|
164
|
+
if (!target || e.clientX == null || typeof document === "undefined") return;
|
|
165
165
|
onSeekingChange(true);
|
|
166
166
|
seekAt(e.clientX, target);
|
|
167
167
|
const move = (ev: PointerEvent) => seekAt(ev.clientX, target);
|
package/src/Video/VideoFrame.tsx
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useResolvedKnobs } from "@multiplatform.one/theme";
|
|
2
2
|
import type { ReactNode } from "react";
|
|
3
|
-
import { Paragraph, YStack, styled } from "tamagui";
|
|
3
|
+
import { Paragraph as TamaguiParagraph, YStack, styled } from "tamagui";
|
|
4
4
|
import { wrapBareTextChildren } from "../shared/textRidesText";
|
|
5
|
+
import { Paragraph } from "../Text";
|
|
5
6
|
|
|
6
7
|
export const VideoFrame = styled(YStack, {
|
|
7
8
|
name: "Video",
|
|
@@ -31,14 +32,14 @@ export function VideoCaption({ children }: { children: ReactNode }) {
|
|
|
31
32
|
return (
|
|
32
33
|
<Paragraph render="figcaption" color={knobProps.textAccentColor as "$color11"}>
|
|
33
34
|
{wrapBareTextChildren(children, (label, key) => (
|
|
34
|
-
<
|
|
35
|
+
<TamaguiParagraph
|
|
35
36
|
key={key}
|
|
36
37
|
render="span"
|
|
37
38
|
{...knobProps.body}
|
|
38
39
|
color={knobProps.textAccentColor as "$color11"}
|
|
39
40
|
>
|
|
40
41
|
{label}
|
|
41
|
-
</
|
|
42
|
+
</TamaguiParagraph>
|
|
42
43
|
))}
|
|
43
44
|
</Paragraph>
|
|
44
45
|
);
|
package/src/Video/index.tsx
CHANGED
|
@@ -11,7 +11,9 @@ export type { VideoProps } from "./types";
|
|
|
11
11
|
const HIDE_MS = 2500;
|
|
12
12
|
|
|
13
13
|
function asVideoElement(node: unknown): HTMLVideoElement | null {
|
|
14
|
-
if (!node || typeof HTMLVideoElement === "undefined")
|
|
14
|
+
if (!node || typeof HTMLVideoElement === "undefined" || typeof Element === "undefined") {
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
15
17
|
if (node instanceof HTMLVideoElement) return node;
|
|
16
18
|
if (node instanceof Element) {
|
|
17
19
|
if (node.tagName === "VIDEO") return node as HTMLVideoElement;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { XStack, YStack } from "tamagui";
|
|
4
4
|
import { Wheel } from "./index";
|
|
5
|
+
import { Text } from "../Text";
|
|
5
6
|
|
|
6
7
|
const meta: Meta<typeof Wheel> = {
|
|
7
8
|
title: "Components/Wheel",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Button } from "@multiplatform.one/forms";
|
|
2
2
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
3
3
|
import { useState } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { YStack } from "tamagui";
|
|
5
5
|
import { Card } from "../surfaces";
|
|
6
6
|
import { ActionBar, type ActionBarProps } from "./ActionBar";
|
|
7
|
+
import { Paragraph } from "../Text";
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Presses land in the story itself rather than the Actions panel: the panel's
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { action } from "@multiplatform.one/storybook";
|
|
2
2
|
import { Button } from "@multiplatform.one/forms";
|
|
3
3
|
import type { Meta, StoryObj } from "@storybook/react-native-web-vite";
|
|
4
|
-
import {
|
|
4
|
+
import { YStack } from "tamagui";
|
|
5
5
|
import { ActionBar } from "./ActionBar";
|
|
6
6
|
import { DestructiveAction } from "./DestructiveAction";
|
|
7
|
+
import { Paragraph } from "../Text";
|
|
7
8
|
|
|
8
9
|
const meta: Meta<typeof DestructiveAction> = {
|
|
9
10
|
title: "Components/DestructiveAction",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { Button, formatActionLabel, type ButtonProps } from "@multiplatform.one/forms";
|
|
9
9
|
import { useCallback, useState, type ReactNode } from "react";
|
|
10
10
|
import { useTranslation } from "../shared/i18n";
|
|
11
|
-
import { Input,
|
|
11
|
+
import { Input, YStack } from "tamagui";
|
|
12
12
|
import { ConfirmDialog } from "../feedback/ConfirmDialog";
|
|
13
13
|
import { withInterp } from "../shared/t";
|
|
14
14
|
import {
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
type DestructiveSeverity,
|
|
19
19
|
type DestructiveSeverityHints,
|
|
20
20
|
} from "./severity";
|
|
21
|
+
import { Paragraph } from "../Text";
|
|
21
22
|
|
|
22
23
|
export type DestructiveConfirmContext = {
|
|
23
24
|
verb: string;
|