@multiplatform.one/components 7.45.0 → 7.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Accordion/index.native.js +1 -1
- package/dist/cjs/Accordion/index.native.js.map +1 -1
- package/dist/cjs/Alert/index.native.js.map +1 -1
- package/dist/cjs/AnimateHeight/index.native.js.map +1 -1
- package/dist/cjs/Avatar/getInitials.native.js.map +1 -1
- package/dist/cjs/Avatar/index.native.js.map +1 -1
- package/dist/cjs/Badge/index.native.js.map +1 -1
- package/dist/cjs/Button.native.js.map +1 -1
- package/dist/cjs/Card.native.js.map +1 -1
- package/dist/cjs/CardFooter.native.js.map +1 -1
- package/dist/cjs/CardHeader.native.js.map +1 -1
- package/dist/cjs/Carousel/index.native.js +2 -2
- package/dist/cjs/Carousel/index.native.js.map +1 -1
- package/dist/cjs/Chip/index.native.js.map +1 -1
- package/dist/cjs/Collapsible.native.js.map +1 -1
- package/dist/cjs/ContextMenu/index.native.js.map +1 -1
- package/dist/cjs/CopyField/index.native.js.map +1 -1
- package/dist/cjs/Dialog.native.js.map +1 -1
- package/dist/cjs/DotIndicator/index.native.js.map +1 -1
- package/dist/cjs/DropdownMenu/index.cjs +5 -1
- package/dist/cjs/DropdownMenu/index.native.js +5 -1
- package/dist/cjs/DropdownMenu/index.native.js.map +1 -1
- package/dist/cjs/ErrorBoundary/index.native.js.map +1 -1
- package/dist/cjs/Heading.native.js.map +1 -1
- package/dist/cjs/Meter/index.native.js +1 -1
- package/dist/cjs/Meter/index.native.js.map +1 -1
- package/dist/cjs/Meter/meter.native.js.map +1 -1
- package/dist/cjs/OverflowRow/index.native.js +1 -1
- package/dist/cjs/OverflowRow/index.native.js.map +1 -1
- package/dist/cjs/Pagination.native.js +1 -1
- package/dist/cjs/Pagination.native.js.map +1 -1
- package/dist/cjs/Popover.cjs +145 -0
- package/dist/cjs/Popover.native.js +174 -0
- package/dist/cjs/Popover.native.js.map +1 -0
- package/dist/cjs/ProgressSteps/index.native.js.map +1 -1
- package/dist/cjs/Quote/index.native.js.map +1 -1
- package/dist/cjs/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/cjs/Separator/index.native.js.map +1 -1
- package/dist/cjs/SheetModal/detents.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.cjs +5 -2
- package/dist/cjs/SortableList/useSortableRows.native.js +5 -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.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/index.cjs +6 -0
- package/dist/cjs/Tooltip/nativePress.native.js.map +1 -1
- package/dist/cjs/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/cjs/TreeSelect/index.native.js +1 -1
- package/dist/cjs/TreeSelect/index.native.js.map +1 -1
- package/dist/cjs/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/cjs/Video/PlayerChrome.native.js.map +1 -1
- package/dist/cjs/Video/VideoFrame.native.js.map +1 -1
- package/dist/cjs/Video/types.native.js.map +1 -1
- package/dist/cjs/Wheel/index.native.js.map +1 -1
- package/dist/cjs/Wizard/index.native.js +2 -2
- package/dist/cjs/Wizard/index.native.js.map +1 -1
- package/dist/cjs/actions/ActionBar.native.js.map +1 -1
- package/dist/cjs/actions/DestructiveAction.native.js.map +1 -1
- package/dist/cjs/actions/devWarn.native.js.map +1 -1
- package/dist/cjs/actions/index.native.js.map +1 -1
- package/dist/cjs/actions/severity.native.js.map +1 -1
- package/dist/cjs/appShell/Dock.native.js.map +1 -1
- package/dist/cjs/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/cjs/appShell/SettingsSplit.native.js +1 -1
- package/dist/cjs/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/cjs/appShell/Springboard.native.js +1 -1
- package/dist/cjs/appShell/Springboard.native.js.map +1 -1
- package/dist/cjs/appShell/SystemBar.native.js.map +1 -1
- package/dist/cjs/appShell/TabBar.native.js +1 -1
- package/dist/cjs/appShell/TabBar.native.js.map +1 -1
- package/dist/cjs/appShell/appTile.native.js +1 -1
- package/dist/cjs/appShell/appTile.native.js.map +1 -1
- package/dist/cjs/appShell/index.native.js.map +1 -1
- package/dist/cjs/charts/Axis.native.js.map +1 -1
- package/dist/cjs/charts/BarChart.native.js.map +1 -1
- package/dist/cjs/charts/ChartDataView.native.js +1 -1
- package/dist/cjs/charts/ChartDataView.native.js.map +1 -1
- package/dist/cjs/charts/ChartSurface.native.js.map +1 -1
- package/dist/cjs/charts/LineChart.native.js.map +1 -1
- package/dist/cjs/charts/PieChart.native.js.map +1 -1
- package/dist/cjs/charts/Sparkline.native.js.map +1 -1
- package/dist/cjs/charts/accessibility.native.js.map +1 -1
- package/dist/cjs/charts/chartHeight.native.js.map +1 -1
- package/dist/cjs/charts/composeChart.native.js.map +1 -1
- package/dist/cjs/charts/index.native.js.map +1 -1
- package/dist/cjs/charts/math.native.js.map +1 -1
- package/dist/cjs/charts/series.native.js.map +1 -1
- package/dist/cjs/charts/svg.native.js.map +1 -1
- package/dist/cjs/charts/types.native.js.map +1 -1
- package/dist/cjs/charts/useChartTheme.native.js.map +1 -1
- package/dist/cjs/code/Code/index.native.js.map +1 -1
- package/dist/cjs/code/CodeBlock/index.native.js +7 -7
- package/dist/cjs/code/CodeBlock/index.native.js.map +1 -1
- package/dist/cjs/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/cjs/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/cjs/code/Highlighter/index.native.js.map +1 -1
- package/dist/cjs/code/Pre/index.native.js.map +1 -1
- package/dist/cjs/code/index.native.js +5 -5
- package/dist/cjs/code/index.native.js.map +1 -1
- package/dist/cjs/componentColors.native.js.map +1 -1
- package/dist/cjs/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/cjs/feedback/NotifyHost.native.js +2 -2
- package/dist/cjs/feedback/NotifyHost.native.js.map +1 -1
- package/dist/cjs/feedback/copy.native.js.map +1 -1
- package/dist/cjs/feedback/index.native.js.map +1 -1
- package/dist/cjs/feedback/notify.native.js.map +1 -1
- package/dist/cjs/feedback/route.native.js.map +1 -1
- package/dist/cjs/feedback/store.native.js.map +1 -1
- package/dist/cjs/hooks/index.native.js +1 -1
- package/dist/cjs/hooks/index.native.js.map +1 -1
- package/dist/cjs/hooks/useClipboard.native.js.map +1 -1
- package/dist/cjs/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/cjs/icons/CheckRegular.native.js.map +1 -1
- package/dist/cjs/icons/MinusRegular.native.js.map +1 -1
- package/dist/cjs/icons/index.native.js.map +1 -1
- package/dist/cjs/icons/lucide.native.js.map +1 -1
- package/dist/cjs/icons/themed.native.js.map +1 -1
- package/dist/cjs/images/Image/ImageFrame.native.js +1 -1
- package/dist/cjs/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/cjs/images/Image/index.native.js +1 -1
- package/dist/cjs/images/Image/shared.native.js +1 -1
- package/dist/cjs/images/Image/shared.native.js.map +1 -1
- package/dist/cjs/images/Image/types.native.js.map +1 -1
- package/dist/cjs/images/index.native.js.map +1 -1
- package/dist/cjs/index.native.js +32 -32
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/knobImmuneExports.cjs +0 -1
- package/dist/cjs/knobImmuneExports.native.js +0 -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.native.js +1 -1
- package/dist/cjs/layouts/attachments.native.js.map +1 -1
- package/dist/cjs/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/cjs/layouts/index.native.js +3 -3
- package/dist/cjs/layouts/index.native.js.map +1 -1
- package/dist/cjs/layouts/page.native.js +2 -2
- 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.native.js +1 -1
- package/dist/cjs/layouts/sidebar.native.js.map +1 -1
- package/dist/cjs/layouts/tags.native.js +2 -2
- package/dist/cjs/layouts/tags.native.js.map +1 -1
- package/dist/cjs/layouts/timeline.native.js +2 -2
- package/dist/cjs/layouts/timeline.native.js.map +1 -1
- package/dist/cjs/layouts/toolbar.native.js +1 -1
- package/dist/cjs/layouts/toolbar.native.js.map +1 -1
- package/dist/cjs/shared/actionScan.native.js.map +1 -1
- package/dist/cjs/shared/i18n.native.js.map +1 -1
- package/dist/cjs/shared/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.cjs +2 -1
- package/dist/cjs/tamagui.native.js +3 -2
- package/dist/cjs/tamagui.native.js.map +1 -1
- package/dist/cjs/testSetup.native.js.map +1 -1
- package/dist/cjs/utils/setTinted.native.js.map +1 -1
- package/dist/cjs/utils/unwrapText.native.js.map +1 -1
- package/dist/cjs/views/Calendar.native.js +1 -1
- package/dist/cjs/views/Calendar.native.js.map +1 -1
- package/dist/cjs/views/Dashboard.native.js +2 -2
- package/dist/cjs/views/Dashboard.native.js.map +1 -1
- package/dist/cjs/views/Gantt.native.js +2 -2
- package/dist/cjs/views/Gantt.native.js.map +1 -1
- package/dist/cjs/views/ImageGrid.native.js +1 -1
- package/dist/cjs/views/ImageGrid.native.js.map +1 -1
- package/dist/cjs/views/Kanban.native.js +1 -1
- package/dist/cjs/views/List.native.js.map +1 -1
- package/dist/cjs/views/Matrix.native.js +2 -2
- package/dist/cjs/views/Matrix.native.js.map +1 -1
- package/dist/cjs/views/ReportBuilder.native.js +2 -2
- package/dist/cjs/views/ReportBuilder.native.js.map +1 -1
- package/dist/cjs/views/TreeView.native.js.map +1 -1
- package/dist/cjs/views/calendarMath.native.js.map +1 -1
- package/dist/cjs/views/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/DropdownMenu/index.mjs +5 -1
- package/dist/esm/DropdownMenu/index.mjs.map +1 -1
- package/dist/esm/DropdownMenu/index.native.js +5 -1
- package/dist/esm/DropdownMenu/index.native.js.map +1 -1
- package/dist/esm/Popover.mjs +120 -0
- package/dist/esm/Popover.mjs.map +1 -0
- package/dist/esm/Popover.native.js +146 -0
- package/dist/esm/Popover.native.js.map +1 -0
- package/dist/esm/SortableList/useSortableRows.mjs +5 -2
- package/dist/esm/SortableList/useSortableRows.mjs.map +1 -1
- package/dist/esm/SortableList/useSortableRows.native.js +5 -2
- package/dist/esm/SortableList/useSortableRows.native.js.map +1 -1
- package/dist/esm/Tooltip/index.mjs +6 -0
- package/dist/esm/Tooltip/index.mjs.map +1 -1
- package/dist/esm/knobImmuneExports.mjs +0 -1
- package/dist/esm/knobImmuneExports.mjs.map +1 -1
- package/dist/esm/knobImmuneExports.native.js +0 -1
- package/dist/esm/knobImmuneExports.native.js.map +1 -1
- package/dist/esm/tamagui.mjs +2 -1
- package/dist/esm/tamagui.mjs.map +1 -1
- package/dist/esm/tamagui.native.js +2 -1
- package/dist/esm/tamagui.native.js.map +1 -1
- package/dist/jsx/Accordion/index.native.js +1 -1
- package/dist/jsx/Accordion/index.native.js.map +1 -1
- package/dist/jsx/Alert/index.native.js.map +1 -1
- package/dist/jsx/AnimateHeight/index.native.js.map +1 -1
- package/dist/jsx/Avatar/getInitials.native.js.map +1 -1
- package/dist/jsx/Avatar/index.native.js.map +1 -1
- package/dist/jsx/Badge/index.native.js.map +1 -1
- package/dist/jsx/Button.native.js.map +1 -1
- package/dist/jsx/Card.native.js.map +1 -1
- package/dist/jsx/CardFooter.native.js.map +1 -1
- package/dist/jsx/CardHeader.native.js.map +1 -1
- package/dist/jsx/Carousel/index.native.js +2 -2
- package/dist/jsx/Carousel/index.native.js.map +1 -1
- package/dist/jsx/Chip/index.native.js.map +1 -1
- package/dist/jsx/Collapsible.native.js.map +1 -1
- package/dist/jsx/ContextMenu/index.native.js.map +1 -1
- package/dist/jsx/CopyField/index.native.js.map +1 -1
- package/dist/jsx/Dialog.native.js.map +1 -1
- package/dist/jsx/DotIndicator/index.native.js.map +1 -1
- package/dist/jsx/DropdownMenu/index.mjs +5 -1
- package/dist/jsx/DropdownMenu/index.mjs.map +1 -1
- package/dist/jsx/DropdownMenu/index.native.js +5 -1
- package/dist/jsx/DropdownMenu/index.native.js.map +1 -1
- package/dist/jsx/ErrorBoundary/index.native.js.map +1 -1
- package/dist/jsx/Heading.native.js.map +1 -1
- package/dist/jsx/Meter/index.native.js +1 -1
- package/dist/jsx/Meter/index.native.js.map +1 -1
- package/dist/jsx/Meter/meter.native.js.map +1 -1
- package/dist/jsx/OverflowRow/index.native.js +1 -1
- package/dist/jsx/OverflowRow/index.native.js.map +1 -1
- package/dist/jsx/Pagination.native.js +1 -1
- package/dist/jsx/Pagination.native.js.map +1 -1
- package/dist/jsx/Popover.mjs +120 -0
- package/dist/jsx/Popover.mjs.map +1 -0
- package/dist/jsx/Popover.native.js +174 -0
- package/dist/jsx/Popover.native.js.map +1 -0
- package/dist/jsx/ProgressSteps/index.native.js.map +1 -1
- package/dist/jsx/Quote/index.native.js.map +1 -1
- package/dist/jsx/ScrollView/revealFocusedField.native.js.map +1 -1
- package/dist/jsx/Separator/index.native.js.map +1 -1
- package/dist/jsx/SheetModal/detents.native.js.map +1 -1
- package/dist/jsx/Skeleton/index.native.js.map +1 -1
- package/dist/jsx/SkipLink/index.native.js.map +1 -1
- package/dist/jsx/SortableList/SortableHandle.native.js.map +1 -1
- package/dist/jsx/SortableList/index.native.js.map +1 -1
- package/dist/jsx/SortableList/useSortableRows.mjs +5 -2
- package/dist/jsx/SortableList/useSortableRows.mjs.map +1 -1
- package/dist/jsx/SortableList/useSortableRows.native.js +5 -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.native.js.map +1 -1
- package/dist/jsx/ThemePresetPicker/index.native.js +1 -1
- 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/index.mjs +6 -0
- package/dist/jsx/Tooltip/index.mjs.map +1 -1
- package/dist/jsx/Tooltip/nativePress.native.js.map +1 -1
- package/dist/jsx/Tooltip/tooltipShared.native.js.map +1 -1
- package/dist/jsx/TreeSelect/index.native.js +1 -1
- package/dist/jsx/TreeSelect/index.native.js.map +1 -1
- package/dist/jsx/TreeSelect/treeSelectModel.native.js.map +1 -1
- package/dist/jsx/Video/PlayerChrome.native.js.map +1 -1
- package/dist/jsx/Video/VideoFrame.native.js.map +1 -1
- package/dist/jsx/Video/types.native.js.map +1 -1
- package/dist/jsx/Wheel/index.native.js.map +1 -1
- package/dist/jsx/Wizard/index.native.js +2 -2
- package/dist/jsx/Wizard/index.native.js.map +1 -1
- package/dist/jsx/actions/ActionBar.native.js.map +1 -1
- package/dist/jsx/actions/DestructiveAction.native.js.map +1 -1
- package/dist/jsx/actions/devWarn.native.js.map +1 -1
- package/dist/jsx/actions/index.native.js.map +1 -1
- package/dist/jsx/actions/severity.native.js.map +1 -1
- package/dist/jsx/appShell/Dock.native.js.map +1 -1
- package/dist/jsx/appShell/ScopeMenu.native.js.map +1 -1
- package/dist/jsx/appShell/SettingsSplit.native.js +1 -1
- package/dist/jsx/appShell/SettingsSplit.native.js.map +1 -1
- package/dist/jsx/appShell/Springboard.native.js +1 -1
- package/dist/jsx/appShell/Springboard.native.js.map +1 -1
- package/dist/jsx/appShell/SystemBar.native.js.map +1 -1
- package/dist/jsx/appShell/TabBar.native.js +1 -1
- package/dist/jsx/appShell/TabBar.native.js.map +1 -1
- package/dist/jsx/appShell/appTile.native.js +1 -1
- package/dist/jsx/appShell/appTile.native.js.map +1 -1
- package/dist/jsx/appShell/index.native.js.map +1 -1
- package/dist/jsx/charts/Axis.native.js.map +1 -1
- package/dist/jsx/charts/BarChart.native.js.map +1 -1
- package/dist/jsx/charts/ChartDataView.native.js +1 -1
- package/dist/jsx/charts/ChartDataView.native.js.map +1 -1
- package/dist/jsx/charts/ChartSurface.native.js.map +1 -1
- package/dist/jsx/charts/LineChart.native.js.map +1 -1
- package/dist/jsx/charts/PieChart.native.js.map +1 -1
- package/dist/jsx/charts/Sparkline.native.js.map +1 -1
- package/dist/jsx/charts/accessibility.native.js.map +1 -1
- package/dist/jsx/charts/chartHeight.native.js.map +1 -1
- package/dist/jsx/charts/composeChart.native.js.map +1 -1
- package/dist/jsx/charts/index.native.js.map +1 -1
- package/dist/jsx/charts/math.native.js.map +1 -1
- package/dist/jsx/charts/series.native.js.map +1 -1
- package/dist/jsx/charts/svg.native.js.map +1 -1
- package/dist/jsx/charts/types.native.js.map +1 -1
- package/dist/jsx/charts/useChartTheme.native.js.map +1 -1
- package/dist/jsx/code/Code/index.native.js.map +1 -1
- package/dist/jsx/code/CodeBlock/index.native.js +7 -7
- package/dist/jsx/code/CodeBlock/index.native.js.map +1 -1
- package/dist/jsx/code/HighlightedCode/index.native.js.map +1 -1
- package/dist/jsx/code/Highlighter/houseSyntaxTheme.native.js.map +1 -1
- package/dist/jsx/code/Highlighter/index.native.js.map +1 -1
- package/dist/jsx/code/Pre/index.native.js.map +1 -1
- package/dist/jsx/code/index.native.js +5 -5
- package/dist/jsx/code/index.native.js.map +1 -1
- package/dist/jsx/componentColors.native.js.map +1 -1
- package/dist/jsx/feedback/ConfirmDialog.native.js.map +1 -1
- package/dist/jsx/feedback/NotifyHost.native.js +2 -2
- package/dist/jsx/feedback/NotifyHost.native.js.map +1 -1
- package/dist/jsx/feedback/copy.native.js.map +1 -1
- package/dist/jsx/feedback/index.native.js.map +1 -1
- package/dist/jsx/feedback/notify.native.js.map +1 -1
- package/dist/jsx/feedback/route.native.js.map +1 -1
- package/dist/jsx/feedback/store.native.js.map +1 -1
- package/dist/jsx/hooks/index.native.js +1 -1
- package/dist/jsx/hooks/index.native.js.map +1 -1
- package/dist/jsx/hooks/useClipboard.native.js.map +1 -1
- package/dist/jsx/hooks/useDocumentTitle.native.js.map +1 -1
- package/dist/jsx/icons/CheckRegular.native.js.map +1 -1
- package/dist/jsx/icons/MinusRegular.native.js.map +1 -1
- package/dist/jsx/icons/index.native.js.map +1 -1
- package/dist/jsx/icons/lucide.native.js.map +1 -1
- package/dist/jsx/icons/themed.native.js.map +1 -1
- package/dist/jsx/images/Image/ImageFrame.native.js +1 -1
- package/dist/jsx/images/Image/ImageFrame.native.js.map +1 -1
- package/dist/jsx/images/Image/index.native.js +1 -1
- package/dist/jsx/images/Image/shared.native.js +1 -1
- package/dist/jsx/images/Image/shared.native.js.map +1 -1
- package/dist/jsx/images/Image/types.native.js.map +1 -1
- package/dist/jsx/images/index.native.js.map +1 -1
- package/dist/jsx/index.native.js +32 -32
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/knobImmuneExports.mjs +0 -1
- package/dist/jsx/knobImmuneExports.mjs.map +1 -1
- package/dist/jsx/knobImmuneExports.native.js +0 -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.native.js +1 -1
- package/dist/jsx/layouts/attachments.native.js.map +1 -1
- package/dist/jsx/layouts/breadcrumbs.native.js.map +1 -1
- package/dist/jsx/layouts/index.native.js +3 -3
- package/dist/jsx/layouts/index.native.js.map +1 -1
- package/dist/jsx/layouts/page.native.js +2 -2
- 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.native.js +1 -1
- package/dist/jsx/layouts/sidebar.native.js.map +1 -1
- package/dist/jsx/layouts/tags.native.js +2 -2
- package/dist/jsx/layouts/tags.native.js.map +1 -1
- package/dist/jsx/layouts/timeline.native.js +2 -2
- package/dist/jsx/layouts/timeline.native.js.map +1 -1
- package/dist/jsx/layouts/toolbar.native.js +1 -1
- package/dist/jsx/layouts/toolbar.native.js.map +1 -1
- package/dist/jsx/shared/actionScan.native.js.map +1 -1
- package/dist/jsx/shared/i18n.native.js.map +1 -1
- package/dist/jsx/shared/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.mjs +2 -1
- package/dist/jsx/tamagui.mjs.map +1 -1
- package/dist/jsx/tamagui.native.js +3 -2
- package/dist/jsx/tamagui.native.js.map +1 -1
- package/dist/jsx/testSetup.native.js.map +1 -1
- package/dist/jsx/utils/setTinted.native.js.map +1 -1
- package/dist/jsx/utils/unwrapText.native.js.map +1 -1
- package/dist/jsx/views/Calendar.native.js +1 -1
- package/dist/jsx/views/Calendar.native.js.map +1 -1
- package/dist/jsx/views/Dashboard.native.js +2 -2
- package/dist/jsx/views/Dashboard.native.js.map +1 -1
- package/dist/jsx/views/Gantt.native.js +2 -2
- package/dist/jsx/views/Gantt.native.js.map +1 -1
- package/dist/jsx/views/ImageGrid.native.js +1 -1
- package/dist/jsx/views/ImageGrid.native.js.map +1 -1
- package/dist/jsx/views/Kanban.native.js +1 -1
- package/dist/jsx/views/List.native.js.map +1 -1
- package/dist/jsx/views/Matrix.native.js +2 -2
- package/dist/jsx/views/Matrix.native.js.map +1 -1
- package/dist/jsx/views/ReportBuilder.native.js +2 -2
- package/dist/jsx/views/ReportBuilder.native.js.map +1 -1
- package/dist/jsx/views/TreeView.native.js.map +1 -1
- package/dist/jsx/views/calendarMath.native.js.map +1 -1
- package/dist/jsx/views/ganttMath.native.js.map +1 -1
- package/dist/jsx/views/index.native.js +1 -1
- package/dist/jsx/views/index.native.js.map +1 -1
- package/dist/jsx/views/kanbanDnd.native.js.map +1 -1
- package/dist/jsx/views/matrixMath.native.js.map +1 -1
- package/dist/jsx/views/treeViewDnd.native.js.map +1 -1
- package/dist/jsx/views/treeViewLayout.native.js.map +1 -1
- package/dist/jsx/views/treeViewMotion.native.js.map +1 -1
- package/dist/jsx/views/treeViewReveal.native.js.map +1 -1
- package/package.json +9 -9
- package/src/DropdownMenu/DropdownMenu.stories.tsx +19 -0
- package/src/DropdownMenu/index.tsx +6 -0
- package/src/Popover.coverTrigger.spec.tsx +99 -0
- package/src/Popover.tsx +180 -0
- package/src/PopoverContent.stories.tsx +22 -1
- package/src/SortableList/SortableList.native.spec.tsx +79 -0
- package/src/SortableList/useSortableRows.ts +7 -2
- package/src/Tooltip/Tooltip.spec.tsx +13 -0
- package/src/Tooltip/index.tsx +7 -0
- package/src/knobImmuneExports.ts +0 -1
- package/src/tamagui.spec.ts +2 -3
- package/src/tamagui.ts +2 -2
- package/types/DropdownMenu/index.d.ts +3 -1
- package/types/DropdownMenu/index.d.ts.map +1 -1
- package/types/Popover.d.ts +114 -0
- package/types/Popover.d.ts.map +1 -0
- package/types/SortableList/useSortableRows.d.ts.map +1 -1
- package/types/Tooltip/index.d.ts.map +1 -1
- package/types/knobImmuneExports.d.ts.map +1 -1
- package/types/tamagui.d.ts +3 -2
- package/types/tamagui.d.ts.map +1 -1
|
@@ -62,6 +62,25 @@ export const Default: Story = {
|
|
|
62
62
|
),
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
+
export const CoverTrigger: Story = {
|
|
66
|
+
render: () => (
|
|
67
|
+
<YStack padding="$4" gap="$4" alignItems="flex-start">
|
|
68
|
+
<DropdownMenu
|
|
69
|
+
anchorMode="cover-trigger"
|
|
70
|
+
items={[{ label: "Assigned to me" }, { label: "All entries" }]}
|
|
71
|
+
>
|
|
72
|
+
<Button icon={CaretDownIcon}>Timeline filters</Button>
|
|
73
|
+
</DropdownMenu>
|
|
74
|
+
<DropdownMenu
|
|
75
|
+
anchorMode="cover-trigger"
|
|
76
|
+
items={[{ label: "Overview" }, { label: "Accounts" }]}
|
|
77
|
+
>
|
|
78
|
+
<Button icon={CaretDownIcon}>WealthFlow navigation</Button>
|
|
79
|
+
</DropdownMenu>
|
|
80
|
+
</YStack>
|
|
81
|
+
),
|
|
82
|
+
};
|
|
83
|
+
|
|
65
84
|
export const IconsAndShortcuts: Story = {
|
|
66
85
|
args: { defaultOpen: true },
|
|
67
86
|
render: (args) => (
|
|
@@ -118,6 +118,8 @@ export interface DropdownMenuItemSpec {
|
|
|
118
118
|
export type DropdownMenuEntry = DropdownMenuItemSpec | { separator: true };
|
|
119
119
|
|
|
120
120
|
export interface DropdownMenuProps {
|
|
121
|
+
anchorMode?: "cover-trigger" | "attach";
|
|
122
|
+
triggerRow?: ReactNode;
|
|
121
123
|
/**
|
|
122
124
|
* Composable children (Trigger + Content), or — when `items` is given —
|
|
123
125
|
* the trigger element itself.
|
|
@@ -305,6 +307,8 @@ function DropdownMenuRoot({
|
|
|
305
307
|
closeOnSelect,
|
|
306
308
|
size,
|
|
307
309
|
triggerSizing = "content",
|
|
310
|
+
anchorMode = "cover-trigger",
|
|
311
|
+
triggerRow,
|
|
308
312
|
}: DropdownMenuProps) {
|
|
309
313
|
const [open, setOpen] = useControllableState({
|
|
310
314
|
prop: openProp,
|
|
@@ -402,6 +406,8 @@ function DropdownMenuRoot({
|
|
|
402
406
|
onOpenChange={setOpen}
|
|
403
407
|
skipReturnFocusRef={skipReturnFocusRef}
|
|
404
408
|
trigger={decorateTrigger(trigger, open, onArrow)}
|
|
409
|
+
anchorMode={anchorMode}
|
|
410
|
+
triggerRow={triggerRow}
|
|
405
411
|
contentPadding="none"
|
|
406
412
|
triggerSizing={triggerSizing}
|
|
407
413
|
{...coverContract}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { afterEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { fireEvent, waitFor, within } from "@testing-library/react";
|
|
3
|
+
import { renderWithProviders } from "@multiplatform.one/test-utils";
|
|
4
|
+
import { Button } from "@multiplatform.one/forms";
|
|
5
|
+
import { Popover } from "./index";
|
|
6
|
+
import { PopoverContent } from "./surfaces";
|
|
7
|
+
import { Popover as TamaguiPopover } from "tamagui";
|
|
8
|
+
|
|
9
|
+
afterEach(() => vi.restoreAllMocks());
|
|
10
|
+
|
|
11
|
+
describe("Popover cover-trigger adapter", () => {
|
|
12
|
+
it("preserves all published composition helpers", () => {
|
|
13
|
+
for (const key of [
|
|
14
|
+
"Trigger",
|
|
15
|
+
"Content",
|
|
16
|
+
"Anchor",
|
|
17
|
+
"Arrow",
|
|
18
|
+
"ScrollView",
|
|
19
|
+
"Adapt",
|
|
20
|
+
"FocusScope",
|
|
21
|
+
] as const) {
|
|
22
|
+
expect(Popover[key]).toBe(TamaguiPopover[key]);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it("opens by pointer and lets Popover.Close dismiss a collision sheet", async () => {
|
|
27
|
+
const original = HTMLElement.prototype.getBoundingClientRect;
|
|
28
|
+
vi.spyOn(HTMLElement.prototype, "getBoundingClientRect").mockImplementation(
|
|
29
|
+
function (this: HTMLElement) {
|
|
30
|
+
if (this.hasAttribute("data-fp-reference"))
|
|
31
|
+
return {
|
|
32
|
+
x: 40,
|
|
33
|
+
y: window.innerHeight - 40,
|
|
34
|
+
left: 40,
|
|
35
|
+
top: window.innerHeight - 40,
|
|
36
|
+
right: 160,
|
|
37
|
+
bottom: window.innerHeight,
|
|
38
|
+
width: 120,
|
|
39
|
+
height: 40,
|
|
40
|
+
toJSON: () => ({}),
|
|
41
|
+
};
|
|
42
|
+
return original.call(this);
|
|
43
|
+
},
|
|
44
|
+
);
|
|
45
|
+
const result = renderWithProviders(
|
|
46
|
+
<Popover anchorMode="cover-trigger">
|
|
47
|
+
<Popover.Trigger asChild>
|
|
48
|
+
<Button>Filters</Button>
|
|
49
|
+
</Popover.Trigger>
|
|
50
|
+
<PopoverContent>
|
|
51
|
+
<Popover.Close asChild>
|
|
52
|
+
<Button>Apply</Button>
|
|
53
|
+
</Popover.Close>
|
|
54
|
+
</PopoverContent>
|
|
55
|
+
</Popover>,
|
|
56
|
+
);
|
|
57
|
+
const trigger = result.getByRole("button", { name: "Filters" });
|
|
58
|
+
fireEvent.mouseDown(trigger, { detail: 1 });
|
|
59
|
+
fireEvent.mouseUp(trigger, { detail: 1 });
|
|
60
|
+
fireEvent.click(trigger, { detail: 1 });
|
|
61
|
+
const sheet = await result.findByTestId("floating-panel-sheet");
|
|
62
|
+
expect(result.queryByTestId("floating-panel-viewport")).toBeNull();
|
|
63
|
+
fireEvent.click(within(sheet).getByRole("button", { name: "Apply" }));
|
|
64
|
+
await waitFor(() => expect(document.activeElement).toBe(trigger));
|
|
65
|
+
});
|
|
66
|
+
it("keeps ordinary Popover composition on its existing overlay", async () => {
|
|
67
|
+
const result = renderWithProviders(
|
|
68
|
+
<Popover defaultOpen>
|
|
69
|
+
<Popover.Trigger asChild>
|
|
70
|
+
<Button>Details</Button>
|
|
71
|
+
</Popover.Trigger>
|
|
72
|
+
<PopoverContent>
|
|
73
|
+
<Button>Existing content</Button>
|
|
74
|
+
</PopoverContent>
|
|
75
|
+
</Popover>,
|
|
76
|
+
);
|
|
77
|
+
expect(await result.findByRole("button", { name: "Existing content" })).toBeTruthy();
|
|
78
|
+
expect(result.queryByTestId("floating-panel-viewport")).toBeNull();
|
|
79
|
+
});
|
|
80
|
+
it("uses the shared floating panel and preserves compositional close", async () => {
|
|
81
|
+
const result = renderWithProviders(
|
|
82
|
+
<Popover anchorMode="cover-trigger" triggerRow={<Button>Filters</Button>}>
|
|
83
|
+
<Popover.Trigger asChild>
|
|
84
|
+
<Button>Filters</Button>
|
|
85
|
+
</Popover.Trigger>
|
|
86
|
+
<PopoverContent>
|
|
87
|
+
<Popover.Close asChild>
|
|
88
|
+
<Button>Apply filters</Button>
|
|
89
|
+
</Popover.Close>
|
|
90
|
+
</PopoverContent>
|
|
91
|
+
</Popover>,
|
|
92
|
+
);
|
|
93
|
+
fireEvent.click(result.getByRole("button", { name: "Filters" }), { detail: 0 });
|
|
94
|
+
const panel = await result.findByTestId("floating-panel-viewport");
|
|
95
|
+
expect(within(panel).getByRole("button", { name: "Filters" })).toBeTruthy();
|
|
96
|
+
fireEvent.click(result.getByRole("button", { name: "Apply filters" }));
|
|
97
|
+
await waitFor(() => expect(result.queryByTestId("floating-panel-viewport")).toBeNull());
|
|
98
|
+
});
|
|
99
|
+
});
|
package/src/Popover.tsx
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Children,
|
|
3
|
+
Fragment,
|
|
4
|
+
cloneElement,
|
|
5
|
+
createContext,
|
|
6
|
+
forwardRef,
|
|
7
|
+
isValidElement,
|
|
8
|
+
useImperativeHandle,
|
|
9
|
+
useEffect,
|
|
10
|
+
useContext,
|
|
11
|
+
useState,
|
|
12
|
+
type ComponentProps,
|
|
13
|
+
type ComponentRef,
|
|
14
|
+
type ReactElement,
|
|
15
|
+
type ReactNode,
|
|
16
|
+
} from "react";
|
|
17
|
+
import { FloatingPanel } from "@multiplatform.one/forms";
|
|
18
|
+
import {
|
|
19
|
+
Popover as TamaguiPopover,
|
|
20
|
+
View,
|
|
21
|
+
useControllableState,
|
|
22
|
+
withStaticProperties,
|
|
23
|
+
} from "tamagui";
|
|
24
|
+
import type { PopoverProps as TamaguiPopoverProps } from "tamagui";
|
|
25
|
+
import { PopoverContent } from "./surfaces";
|
|
26
|
+
|
|
27
|
+
export type PopoverProps = TamaguiPopoverProps & {
|
|
28
|
+
anchorMode?: "cover-trigger" | "attach";
|
|
29
|
+
triggerRow?: ReactNode;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type Popover = {
|
|
33
|
+
anchorTo: (rect: { x: number; y: number; width: number; height: number }) => void;
|
|
34
|
+
toggle: () => void;
|
|
35
|
+
open: () => void;
|
|
36
|
+
close: () => void;
|
|
37
|
+
setOpen: (open: boolean) => void;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const CoverPopoverContext = createContext<(() => void) | null>(null);
|
|
41
|
+
|
|
42
|
+
const PopoverClose = forwardRef<
|
|
43
|
+
ComponentRef<typeof TamaguiPopover.Close>,
|
|
44
|
+
ComponentProps<typeof TamaguiPopover.Close>
|
|
45
|
+
>(function PopoverClose(props, ref) {
|
|
46
|
+
const close = useContext(CoverPopoverContext);
|
|
47
|
+
if (!close) return <TamaguiPopover.Close {...props} ref={ref} />;
|
|
48
|
+
return (
|
|
49
|
+
<View
|
|
50
|
+
{...props}
|
|
51
|
+
ref={ref}
|
|
52
|
+
onPress={(event) => {
|
|
53
|
+
props.onPress?.(event);
|
|
54
|
+
if (!event.defaultPrevented) close();
|
|
55
|
+
}}
|
|
56
|
+
/>
|
|
57
|
+
);
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
function parts(children: ReactNode): ReactElement<Record<string, any>>[] {
|
|
61
|
+
return Children.toArray(children).flatMap((child) => {
|
|
62
|
+
if (!isValidElement<Record<string, any>>(child)) return [];
|
|
63
|
+
return child.type === Fragment ? parts(child.props.children) : [child];
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const CoverPopover = forwardRef<Popover, PopoverProps>(function CoverPopover(
|
|
68
|
+
{
|
|
69
|
+
children,
|
|
70
|
+
open: openProp,
|
|
71
|
+
defaultOpen = false,
|
|
72
|
+
onOpenChange,
|
|
73
|
+
triggerRow,
|
|
74
|
+
anchorMode: _anchorMode,
|
|
75
|
+
..._props
|
|
76
|
+
},
|
|
77
|
+
ref,
|
|
78
|
+
) {
|
|
79
|
+
const [open, setOpen] = useControllableState({
|
|
80
|
+
prop: openProp,
|
|
81
|
+
defaultProp: defaultOpen,
|
|
82
|
+
onChange: onOpenChange,
|
|
83
|
+
});
|
|
84
|
+
const [anchorRect, setAnchorRect] = useState<Parameters<Popover["anchorTo"]>[0]>();
|
|
85
|
+
useImperativeHandle(
|
|
86
|
+
ref,
|
|
87
|
+
() => ({
|
|
88
|
+
anchorTo: setAnchorRect,
|
|
89
|
+
toggle: () => setOpen(!open),
|
|
90
|
+
open: () => setOpen(true),
|
|
91
|
+
close: () => setOpen(false),
|
|
92
|
+
setOpen,
|
|
93
|
+
}),
|
|
94
|
+
[open, setOpen],
|
|
95
|
+
);
|
|
96
|
+
const childrenParts = parts(children);
|
|
97
|
+
const triggerPart = childrenParts.find((child) => child.type === TamaguiPopover.Trigger);
|
|
98
|
+
const content = childrenParts.filter(
|
|
99
|
+
(child) => child.type === TamaguiPopover.Content || child.type === PopoverContent,
|
|
100
|
+
);
|
|
101
|
+
const unsupported = [
|
|
102
|
+
"onOpenAutoFocus",
|
|
103
|
+
"onCloseAutoFocus",
|
|
104
|
+
"onEscapeKeyDown",
|
|
105
|
+
"onPointerDownOutside",
|
|
106
|
+
"onFocusOutside",
|
|
107
|
+
"onInteractOutside",
|
|
108
|
+
"trapFocus",
|
|
109
|
+
"disableOutsidePointerEvents",
|
|
110
|
+
"disableFocusScope",
|
|
111
|
+
"forceMount",
|
|
112
|
+
];
|
|
113
|
+
const unsupportedContent = content.some((child) =>
|
|
114
|
+
unsupported.some((key) => child.props[key] != null),
|
|
115
|
+
);
|
|
116
|
+
useEffect(() => {
|
|
117
|
+
if (process.env.NODE_ENV !== "production" && (!content.length || unsupportedContent)) {
|
|
118
|
+
console.warn(
|
|
119
|
+
"Popover cover-trigger requires a direct Popover.Content or PopoverContent child and uses FloatingPanel focus and dismissal. Content-specific focus and dismissal overrides are not supported in this mode.",
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
}, [content.length, unsupportedContent]);
|
|
123
|
+
const trigger = triggerPart?.props.children ?? triggerRow;
|
|
124
|
+
const decorated = isValidElement(trigger)
|
|
125
|
+
? cloneElement(trigger as ReactElement<Record<string, unknown>>, {
|
|
126
|
+
"aria-haspopup": "dialog",
|
|
127
|
+
"aria-expanded": open,
|
|
128
|
+
})
|
|
129
|
+
: trigger;
|
|
130
|
+
return (
|
|
131
|
+
<CoverPopoverContext.Provider value={() => setOpen(false)}>
|
|
132
|
+
<FloatingPanel
|
|
133
|
+
open={open}
|
|
134
|
+
onOpenChange={setOpen}
|
|
135
|
+
anchorMode="cover-trigger"
|
|
136
|
+
trigger={decorated}
|
|
137
|
+
triggerRow={triggerRow}
|
|
138
|
+
anchorRect={anchorRect}
|
|
139
|
+
triggerSizing="content"
|
|
140
|
+
contentPadding="none"
|
|
141
|
+
>
|
|
142
|
+
{content.map((child, index) => {
|
|
143
|
+
const { children: body, ...contentProps } = child.props;
|
|
144
|
+
const viewProps = Object.fromEntries(
|
|
145
|
+
Object.entries(contentProps).filter(([key]) => !unsupported.includes(key)),
|
|
146
|
+
);
|
|
147
|
+
return (
|
|
148
|
+
<View key={child.key ?? index} {...(viewProps as ComponentProps<typeof View>)}>
|
|
149
|
+
{body}
|
|
150
|
+
</View>
|
|
151
|
+
);
|
|
152
|
+
})}
|
|
153
|
+
</FloatingPanel>
|
|
154
|
+
</CoverPopoverContext.Provider>
|
|
155
|
+
);
|
|
156
|
+
});
|
|
157
|
+
|
|
158
|
+
const PopoverRoot = forwardRef<Popover, PopoverProps>(function PopoverRoot(
|
|
159
|
+
{ anchorMode, triggerRow, ...props },
|
|
160
|
+
ref,
|
|
161
|
+
) {
|
|
162
|
+
if (anchorMode === "cover-trigger")
|
|
163
|
+
return <CoverPopover ref={ref} {...props} anchorMode={anchorMode} triggerRow={triggerRow} />;
|
|
164
|
+
return (
|
|
165
|
+
<CoverPopoverContext.Provider value={null}>
|
|
166
|
+
<TamaguiPopover ref={ref} {...props} />
|
|
167
|
+
</CoverPopoverContext.Provider>
|
|
168
|
+
);
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
export const Popover = withStaticProperties(PopoverRoot, {
|
|
172
|
+
Trigger: TamaguiPopover.Trigger,
|
|
173
|
+
Content: TamaguiPopover.Content,
|
|
174
|
+
Close: PopoverClose,
|
|
175
|
+
Anchor: TamaguiPopover.Anchor,
|
|
176
|
+
Adapt: TamaguiPopover.Adapt,
|
|
177
|
+
FocusScope: TamaguiPopover.FocusScope,
|
|
178
|
+
Arrow: TamaguiPopover.Arrow,
|
|
179
|
+
ScrollView: TamaguiPopover.ScrollView,
|
|
180
|
+
});
|
|
@@ -3,7 +3,8 @@ import { useState } from "react";
|
|
|
3
3
|
// Catalog Button (G-15 story honesty / LC-18, UX-P06).
|
|
4
4
|
import { Button } from "@multiplatform.one/forms";
|
|
5
5
|
import { OVERLAY_ANCHOR_GAP, useResolvedKnobs } from "@multiplatform.one/theme";
|
|
6
|
-
import { Paragraph,
|
|
6
|
+
import { Paragraph, SizableText, YStack } from "tamagui";
|
|
7
|
+
import { Popover } from "./Popover";
|
|
7
8
|
import { PopoverContent } from "./surfaces";
|
|
8
9
|
|
|
9
10
|
function PopoverHarness({
|
|
@@ -67,3 +68,23 @@ export const PlacementTop: Story = {
|
|
|
67
68
|
export const Closed: Story = {
|
|
68
69
|
render: () => <PopoverHarness startOpen={false} />,
|
|
69
70
|
};
|
|
71
|
+
|
|
72
|
+
export const CoverTrigger: Story = {
|
|
73
|
+
render: () => (
|
|
74
|
+
<YStack padding="$4" alignItems="flex-start">
|
|
75
|
+
<Popover anchorMode="cover-trigger" triggerRow={<Button>Panel filters</Button>}>
|
|
76
|
+
<Popover.Trigger asChild>
|
|
77
|
+
<Button>Panel filters</Button>
|
|
78
|
+
</Popover.Trigger>
|
|
79
|
+
<PopoverContent>
|
|
80
|
+
<YStack padding="$4" gap="$3">
|
|
81
|
+
<SizableText>Filter entries</SizableText>
|
|
82
|
+
<Popover.Close asChild>
|
|
83
|
+
<Button>Apply filters</Button>
|
|
84
|
+
</Popover.Close>
|
|
85
|
+
</YStack>
|
|
86
|
+
</PopoverContent>
|
|
87
|
+
</Popover>
|
|
88
|
+
</YStack>
|
|
89
|
+
),
|
|
90
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { fireEvent } from "@testing-library/react";
|
|
2
|
+
import { renderWithProviders } from "@multiplatform.one/test-utils";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { SortableList } from "./index";
|
|
6
|
+
|
|
7
|
+
// React Native defines a global `window`, but it is a plain object: no
|
|
8
|
+
// addEventListener / removeEventListener. A `typeof window` guard alone lets
|
|
9
|
+
// the keyboard and pointer listeners through, and Hermes throws
|
|
10
|
+
// "undefined is not a function" the moment an editable list mounts (FZ-7798).
|
|
11
|
+
const methods = ["addEventListener", "removeEventListener"] as const;
|
|
12
|
+
const saved = new Map<string, PropertyDescriptor | undefined>();
|
|
13
|
+
|
|
14
|
+
function stripWindowEvents() {
|
|
15
|
+
for (const name of methods) {
|
|
16
|
+
saved.set(name, Object.getOwnPropertyDescriptor(window, name));
|
|
17
|
+
Object.defineProperty(window, name, { configurable: true, writable: true, value: undefined });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function restoreWindowEvents() {
|
|
22
|
+
if (!saved.size) return;
|
|
23
|
+
for (const name of methods) {
|
|
24
|
+
const original = saved.get(name);
|
|
25
|
+
if (original) Object.defineProperty(window, name, original);
|
|
26
|
+
else delete (window as unknown as Record<string, unknown>)[name];
|
|
27
|
+
}
|
|
28
|
+
saved.clear();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const ITEMS = [
|
|
32
|
+
{ id: "mon", label: "Monday standup" },
|
|
33
|
+
{ id: "tue", label: "Tuesday review" },
|
|
34
|
+
{ id: "dep", label: "Deploy window" },
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
function Harness() {
|
|
38
|
+
const [items, setItems] = useState(ITEMS);
|
|
39
|
+
return (
|
|
40
|
+
<SortableList
|
|
41
|
+
items={items}
|
|
42
|
+
getId={(item) => item.id}
|
|
43
|
+
getLabel={(item) => item.label}
|
|
44
|
+
onChange={setItems}
|
|
45
|
+
aria-label="Sprint rituals"
|
|
46
|
+
/>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
describe("SortableList on React Native (window without event listeners)", () => {
|
|
51
|
+
beforeEach(stripWindowEvents);
|
|
52
|
+
afterEach(restoreWindowEvents);
|
|
53
|
+
|
|
54
|
+
it("mounts an editable list without calling window.addEventListener", () => {
|
|
55
|
+
expect(typeof window.addEventListener).toBe("undefined");
|
|
56
|
+
const { container, unmount } = renderWithProviders(<Harness />);
|
|
57
|
+
expect(container.querySelectorAll("[data-sortable-row]")).toHaveLength(3);
|
|
58
|
+
expect(container.querySelectorAll("[data-sortable-handle]")).toHaveLength(3);
|
|
59
|
+
unmount();
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it("a press on the grab handle does not throw", () => {
|
|
63
|
+
const { container, unmount } = renderWithProviders(<Harness />);
|
|
64
|
+
const handle = container.querySelector('[data-sortable-handle="tue"]') as HTMLElement;
|
|
65
|
+
expect(() =>
|
|
66
|
+
fireEvent.pointerDown(handle, { pointerType: "mouse", clientY: 10 }),
|
|
67
|
+
).not.toThrow();
|
|
68
|
+
unmount();
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it("keeps the keyboard reorder working where window has listeners (web)", () => {
|
|
72
|
+
restoreWindowEvents();
|
|
73
|
+
const onKey = vi.spyOn(window, "addEventListener");
|
|
74
|
+
const { unmount } = renderWithProviders(<Harness />);
|
|
75
|
+
expect(onKey.mock.calls.some(([type]) => type === "keydown")).toBe(true);
|
|
76
|
+
unmount();
|
|
77
|
+
onKey.mockRestore();
|
|
78
|
+
});
|
|
79
|
+
});
|
|
@@ -53,6 +53,11 @@ export interface UseSortableRowsOptions<T> {
|
|
|
53
53
|
|
|
54
54
|
const DEFAULT_ROW_SELECTOR = "[data-sortable-row], [data-child-row]";
|
|
55
55
|
|
|
56
|
+
// React Native has a global `window` with no event methods (FZ-7798).
|
|
57
|
+
function canListenOnWindow() {
|
|
58
|
+
return typeof window !== "undefined" && typeof window.addEventListener === "function";
|
|
59
|
+
}
|
|
60
|
+
|
|
56
61
|
const SortableSessionContext = createContext<{ sourceId: string | null }>({
|
|
57
62
|
sourceId: null,
|
|
58
63
|
});
|
|
@@ -226,7 +231,7 @@ export function useSortableRows<T>({
|
|
|
226
231
|
);
|
|
227
232
|
|
|
228
233
|
useEffect(() => {
|
|
229
|
-
if (!enabled ||
|
|
234
|
+
if (!enabled || !canListenOnWindow()) return;
|
|
230
235
|
const onKey = (e: KeyboardEvent) => {
|
|
231
236
|
const current = sessionRef.current;
|
|
232
237
|
if (current) {
|
|
@@ -289,7 +294,7 @@ export function useSortableRows<T>({
|
|
|
289
294
|
index: number,
|
|
290
295
|
e: { pointerType?: string; clientY: number; pointerId?: number; preventDefault?: () => void },
|
|
291
296
|
) => {
|
|
292
|
-
if (!enabled || !rowEnabled(index)) return;
|
|
297
|
+
if (!enabled || !rowEnabled(index) || !canListenOnWindow()) return;
|
|
293
298
|
e.preventDefault?.();
|
|
294
299
|
const pointerType = e.pointerType ?? "mouse";
|
|
295
300
|
let lifted = false;
|
|
@@ -103,6 +103,19 @@ describe("Tooltip interaction", () => {
|
|
|
103
103
|
fireEvent.keyDown(document, { key: "Escape" });
|
|
104
104
|
expect(onOpenChange).toHaveBeenCalledWith(false);
|
|
105
105
|
});
|
|
106
|
+
|
|
107
|
+
it("leaves Escape unclaimed for the menu or sheet beneath it (LC-139)", () => {
|
|
108
|
+
const onOpenChange = vi.fn();
|
|
109
|
+
renderWithProviders(
|
|
110
|
+
<Tooltip content="Hint" open onOpenChange={onOpenChange}>
|
|
111
|
+
<Button>Edit</Button>
|
|
112
|
+
</Tooltip>,
|
|
113
|
+
);
|
|
114
|
+
const escape = new KeyboardEvent("keydown", { key: "Escape", bubbles: true, cancelable: true });
|
|
115
|
+
document.body.dispatchEvent(escape);
|
|
116
|
+
expect(onOpenChange).toHaveBeenCalledWith(false);
|
|
117
|
+
expect(escape.defaultPrevented).toBe(false);
|
|
118
|
+
});
|
|
106
119
|
});
|
|
107
120
|
|
|
108
121
|
describe("Tooltip content rides the border, elevation and animation knobs", () => {
|
package/src/Tooltip/index.tsx
CHANGED
|
@@ -62,6 +62,8 @@ export {
|
|
|
62
62
|
export { TOOLTIP_NATIVE_LONG_PRESS_MS, createNativeTooltipPressHandlers } from "./nativePress";
|
|
63
63
|
export type { NativeTooltipPressHandlers } from "./nativePress";
|
|
64
64
|
|
|
65
|
+
const TOOLTIP_ALWAYS_DISABLE = { focus: true, "remove-scroll": true, dismiss: true } as const;
|
|
66
|
+
|
|
65
67
|
export function Tooltip({
|
|
66
68
|
children,
|
|
67
69
|
content,
|
|
@@ -165,6 +167,11 @@ export function Tooltip({
|
|
|
165
167
|
paddingVertical={pad.paddingVertical as never}
|
|
166
168
|
maxWidth={sizeRecipe.maxWidth}
|
|
167
169
|
{...transitionProps(knobProps.motion.overlay)}
|
|
170
|
+
// Escape is owned by the listener above, which leaves defaultPrevented
|
|
171
|
+
// alone. Tamagui's dismiss layer also claimed it with preventDefault,
|
|
172
|
+
// so a sheet opened while a tooltip was still mounted ignored Escape
|
|
173
|
+
// (LC-139).
|
|
174
|
+
alwaysDisable={TOOLTIP_ALWAYS_DISABLE}
|
|
168
175
|
role="tooltip"
|
|
169
176
|
data-tooltip="content"
|
|
170
177
|
data-tooltip-size={tooltipStop(knobProps.sizeToken)}
|
package/src/knobImmuneExports.ts
CHANGED
|
@@ -63,7 +63,6 @@ export const knobImmuneExports: Readonly<Record<string, string>> = {
|
|
|
63
63
|
// Logic shells with no painted frame of their own; the knob channel lands
|
|
64
64
|
// on the house content surfaces designed to fill them (DialogContent,
|
|
65
65
|
// PopoverContent, SheetFrame, ConfirmDialog).
|
|
66
|
-
Popover: "composition root; knobs land on house PopoverContent",
|
|
67
66
|
Sheet: "composition root; knobs land on house SheetFrame",
|
|
68
67
|
Portal: "reparenting utility; renders children elsewhere, paints nothing",
|
|
69
68
|
PortalProvider: "provider; paints nothing",
|
package/src/tamagui.spec.ts
CHANGED
|
@@ -78,7 +78,6 @@ const ALLOWLIST_VALUE_NAMES = [
|
|
|
78
78
|
// overlay composition roots — Adapt is dropped (R9 G8); compact vs
|
|
79
79
|
// regular overlays use useViewportGtSm / AdaptivePopup / FloatingPanel.
|
|
80
80
|
// Dialog and AlertDialog are house shadows (MPO-476).
|
|
81
|
-
"Popover",
|
|
82
81
|
"Portal",
|
|
83
82
|
"PortalProvider",
|
|
84
83
|
"Sheet",
|
|
@@ -209,8 +208,8 @@ describe("curated tamagui surface", () => {
|
|
|
209
208
|
).toBeUndefined();
|
|
210
209
|
});
|
|
211
210
|
|
|
212
|
-
it("keeps overlay composition roots Sheet
|
|
213
|
-
for (const name of ["Sheet", "
|
|
211
|
+
it("keeps overlay composition roots Sheet and Portal", () => {
|
|
212
|
+
for (const name of ["Sheet", "Portal"] as const) {
|
|
214
213
|
expect((pkg as Record<string, unknown>)[name], `barrel must keep "${name}"`).toBeDefined();
|
|
215
214
|
expect(
|
|
216
215
|
(pkg as Record<string, unknown>)[name],
|
package/src/tamagui.ts
CHANGED
|
@@ -78,7 +78,8 @@ export type { LinearGradientProps } from "tamagui/linear-gradient";
|
|
|
78
78
|
// Sheet, one shared child tree). Tamagui Menu / create-menu stay off this
|
|
79
79
|
// list (R9 G7). Tamagui Link stays off this list — house Text/Heading owns
|
|
80
80
|
// link chrome (R9 G11).
|
|
81
|
-
export {
|
|
81
|
+
export { Portal, PortalProvider, Sheet } from "tamagui";
|
|
82
|
+
export { Popover, type PopoverProps } from "./Popover";
|
|
82
83
|
// Dialog and AlertDialog are the tamagui roots with house close parts: raw
|
|
83
84
|
// Close names every button it wraps "Dialog Close" (MPO-476, ./Dialog.tsx).
|
|
84
85
|
export { AlertDialog, Dialog } from "./Dialog";
|
|
@@ -121,7 +122,6 @@ export type {
|
|
|
121
122
|
GetRef,
|
|
122
123
|
GroupProps,
|
|
123
124
|
ListItemProps,
|
|
124
|
-
PopoverProps,
|
|
125
125
|
RadiusTokens,
|
|
126
126
|
ScrollViewProps,
|
|
127
127
|
SheetProps,
|
|
@@ -41,6 +41,8 @@ export type DropdownMenuEntry = DropdownMenuItemSpec | {
|
|
|
41
41
|
separator: true;
|
|
42
42
|
};
|
|
43
43
|
export interface DropdownMenuProps {
|
|
44
|
+
anchorMode?: "cover-trigger" | "attach";
|
|
45
|
+
triggerRow?: ReactNode;
|
|
44
46
|
/**
|
|
45
47
|
* Composable children (Trigger + Content), or — when `items` is given —
|
|
46
48
|
* the trigger element itself.
|
|
@@ -79,7 +81,7 @@ declare const ItemRow: import("tamagui").TamaguiComponent<import("@tamagui/web")
|
|
|
79
81
|
selected?: boolean | undefined;
|
|
80
82
|
}, import("@tamagui/web").StaticConfigPublic>;
|
|
81
83
|
declare const SeparatorLine: import("tamagui").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
82
|
-
declare function DropdownMenuRoot({ children, items, open: openProp, defaultOpen, onOpenChange, placement, maxHeight, closeOnSelect, size, triggerSizing, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
declare function DropdownMenuRoot({ children, items, open: openProp, defaultOpen, onOpenChange, placement, maxHeight, closeOnSelect, size, triggerSizing, anchorMode, triggerRow, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
83
85
|
export interface DropdownMenuTriggerProps {
|
|
84
86
|
children?: ReactNode;
|
|
85
87
|
asChild?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/DropdownMenu/index.tsx"],"names":[],"mappings":"AA+BA,OAAO,EAcL,KAAK,SAAS,EAEf,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EACL,IAAI,EASL,MAAM,SAAS,CAAC;AAKjB,MAAM,MAAM,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