cursedbelt 5.81.2 → 5.85.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/react/AuthGate.d.ts.map +1 -1
- package/dist/react/AuthGate.js +1 -0
- package/dist/react/AuthGate.js.map +1 -1
- package/dist/react/activity-bar/ActivityBar.d.ts +1 -1
- package/dist/react/activity-bar/ActivityBar.d.ts.map +1 -1
- package/dist/react/activity-bar/ActivityBar.js +2 -2
- package/dist/react/activity-bar/ActivityBar.js.map +1 -1
- package/dist/react/analytics/MetricDrilldown.d.ts +1 -1
- package/dist/react/analytics/MetricDrilldown.d.ts.map +1 -1
- package/dist/react/analytics/MetricDrilldown.js +2 -2
- package/dist/react/analytics/MetricDrilldown.js.map +1 -1
- package/dist/react/analytics/RangeTabs.d.ts +1 -1
- package/dist/react/analytics/RangeTabs.d.ts.map +1 -1
- package/dist/react/analytics/RangeTabs.js +2 -2
- package/dist/react/analytics/RangeTabs.js.map +1 -1
- package/dist/react/canvas-hud/AlignmentGuides.d.ts +26 -0
- package/dist/react/canvas-hud/AlignmentGuides.d.ts.map +1 -0
- package/dist/react/canvas-hud/AlignmentGuides.js +51 -0
- package/dist/react/canvas-hud/AlignmentGuides.js.map +1 -0
- package/dist/react/canvas-hud/CanvasMinimap.d.ts +1 -1
- package/dist/react/canvas-hud/CanvasMinimap.d.ts.map +1 -1
- package/dist/react/canvas-hud/CanvasMinimap.js +2 -2
- package/dist/react/canvas-hud/CanvasMinimap.js.map +1 -1
- package/dist/react/canvas-hud/CanvasNodeMenu.d.ts +1 -1
- package/dist/react/canvas-hud/CanvasNodeMenu.d.ts.map +1 -1
- package/dist/react/canvas-hud/CanvasNodeMenu.js +2 -2
- package/dist/react/canvas-hud/CanvasNodeMenu.js.map +1 -1
- package/dist/react/canvas-hud/CanvasSearchField.d.ts +1 -1
- package/dist/react/canvas-hud/CanvasSearchField.d.ts.map +1 -1
- package/dist/react/canvas-hud/CanvasSearchField.js +2 -2
- package/dist/react/canvas-hud/CanvasSearchField.js.map +1 -1
- package/dist/react/canvas-hud/HudControls.d.ts +3 -3
- package/dist/react/canvas-hud/HudControls.d.ts.map +1 -1
- package/dist/react/canvas-hud/HudControls.js +6 -6
- package/dist/react/canvas-hud/HudControls.js.map +1 -1
- package/dist/react/canvas-hud/alignment.d.ts +56 -0
- package/dist/react/canvas-hud/alignment.d.ts.map +1 -0
- package/dist/react/canvas-hud/alignment.js +100 -0
- package/dist/react/canvas-hud/alignment.js.map +1 -0
- package/dist/react/canvas-hud/index.d.ts +4 -0
- package/dist/react/canvas-hud/index.d.ts.map +1 -1
- package/dist/react/canvas-hud/index.js +2 -0
- package/dist/react/canvas-hud/index.js.map +1 -1
- package/dist/react/charts/AreaChart.d.ts +1 -1
- package/dist/react/charts/AreaChart.d.ts.map +1 -1
- package/dist/react/charts/AreaChart.js +2 -2
- package/dist/react/charts/AreaChart.js.map +1 -1
- package/dist/react/charts/BarChart.d.ts +9 -1
- package/dist/react/charts/BarChart.d.ts.map +1 -1
- package/dist/react/charts/BarChart.js +10 -3
- package/dist/react/charts/BarChart.js.map +1 -1
- package/dist/react/charts/ChartCard.d.ts +1 -1
- package/dist/react/charts/ChartCard.d.ts.map +1 -1
- package/dist/react/charts/ChartCard.js +2 -2
- package/dist/react/charts/ChartCard.js.map +1 -1
- package/dist/react/charts/ChartFrame.d.ts +1 -1
- package/dist/react/charts/ChartFrame.d.ts.map +1 -1
- package/dist/react/charts/ChartFrame.js +2 -2
- package/dist/react/charts/ChartFrame.js.map +1 -1
- package/dist/react/charts/ChartLegend.d.ts +1 -1
- package/dist/react/charts/ChartLegend.d.ts.map +1 -1
- package/dist/react/charts/ChartLegend.js +2 -2
- package/dist/react/charts/ChartLegend.js.map +1 -1
- package/dist/react/charts/ChartTooltip.d.ts +1 -1
- package/dist/react/charts/ChartTooltip.d.ts.map +1 -1
- package/dist/react/charts/ChartTooltip.js +2 -2
- package/dist/react/charts/ChartTooltip.js.map +1 -1
- package/dist/react/charts/HeatmapChart.d.ts +1 -1
- package/dist/react/charts/HeatmapChart.d.ts.map +1 -1
- package/dist/react/charts/HeatmapChart.js +2 -2
- package/dist/react/charts/HeatmapChart.js.map +1 -1
- package/dist/react/charts/IntervalTimeline.d.ts +1 -1
- package/dist/react/charts/IntervalTimeline.d.ts.map +1 -1
- package/dist/react/charts/IntervalTimeline.js +3 -3
- package/dist/react/charts/IntervalTimeline.js.map +1 -1
- package/dist/react/charts/LineChart.d.ts +1 -1
- package/dist/react/charts/LineChart.d.ts.map +1 -1
- package/dist/react/charts/LineChart.js +2 -2
- package/dist/react/charts/LineChart.js.map +1 -1
- package/dist/react/charts/PieChart.d.ts +1 -1
- package/dist/react/charts/PieChart.d.ts.map +1 -1
- package/dist/react/charts/PieChart.js +2 -2
- package/dist/react/charts/PieChart.js.map +1 -1
- package/dist/react/charts/RadialBarChart.d.ts +1 -1
- package/dist/react/charts/RadialBarChart.d.ts.map +1 -1
- package/dist/react/charts/RadialBarChart.js +2 -2
- package/dist/react/charts/RadialBarChart.js.map +1 -1
- package/dist/react/charts/Sparkline.d.ts +1 -1
- package/dist/react/charts/Sparkline.d.ts.map +1 -1
- package/dist/react/charts/Sparkline.js +2 -2
- package/dist/react/charts/Sparkline.js.map +1 -1
- package/dist/react/charts/TimeSeriesChart.d.ts +1 -1
- package/dist/react/charts/TimeSeriesChart.d.ts.map +1 -1
- package/dist/react/charts/TimeSeriesChart.js +3 -3
- package/dist/react/charts/TimeSeriesChart.js.map +1 -1
- package/dist/react/charts/Treemap.d.ts +1 -1
- package/dist/react/charts/Treemap.d.ts.map +1 -1
- package/dist/react/charts/Treemap.js +2 -2
- package/dist/react/charts/Treemap.js.map +1 -1
- package/dist/react/chat/Bubble.d.ts +1 -1
- package/dist/react/chat/Bubble.d.ts.map +1 -1
- package/dist/react/chat/Bubble.js +3 -3
- package/dist/react/chat/Bubble.js.map +1 -1
- package/dist/react/chat/DateMarker.d.ts +1 -1
- package/dist/react/chat/DateMarker.d.ts.map +1 -1
- package/dist/react/chat/DateMarker.js +2 -2
- package/dist/react/chat/DateMarker.js.map +1 -1
- package/dist/react/chat/MessageComposer.d.ts +1 -1
- package/dist/react/chat/MessageComposer.d.ts.map +1 -1
- package/dist/react/chat/MessageComposer.js +2 -2
- package/dist/react/chat/MessageComposer.js.map +1 -1
- package/dist/react/chat/MessageRow.d.ts +1 -1
- package/dist/react/chat/MessageRow.d.ts.map +1 -1
- package/dist/react/chat/MessageRow.js +3 -3
- package/dist/react/chat/MessageRow.js.map +1 -1
- package/dist/react/chat/MessageScroller.d.ts +1 -1
- package/dist/react/chat/MessageScroller.d.ts.map +1 -1
- package/dist/react/chat/MessageScroller.js +2 -2
- package/dist/react/chat/MessageScroller.js.map +1 -1
- package/dist/react/chat/MessageThread.d.ts +1 -1
- package/dist/react/chat/MessageThread.d.ts.map +1 -1
- package/dist/react/chat/MessageThread.js +2 -2
- package/dist/react/chat/MessageThread.js.map +1 -1
- package/dist/react/chat/PresenceRoster.d.ts +1 -1
- package/dist/react/chat/PresenceRoster.d.ts.map +1 -1
- package/dist/react/chat/PresenceRoster.js +2 -2
- package/dist/react/chat/PresenceRoster.js.map +1 -1
- package/dist/react/chat/StatusMarker.d.ts +1 -1
- package/dist/react/chat/StatusMarker.d.ts.map +1 -1
- package/dist/react/chat/StatusMarker.js +2 -2
- package/dist/react/chat/StatusMarker.js.map +1 -1
- package/dist/react/code-editor/CodeEditor.d.ts +1 -1
- package/dist/react/code-editor/CodeEditor.d.ts.map +1 -1
- package/dist/react/code-editor/CodeEditor.js +2 -2
- package/dist/react/code-editor/CodeEditor.js.map +1 -1
- package/dist/react/companion-link/CompanionLinkBar.d.ts +3 -2
- package/dist/react/companion-link/CompanionLinkBar.d.ts.map +1 -1
- package/dist/react/companion-link/CompanionLinkBar.js +3 -3
- package/dist/react/companion-link/CompanionLinkBar.js.map +1 -1
- package/dist/react/companion-link/CompanionLinkStatus.d.ts +1 -1
- package/dist/react/companion-link/CompanionLinkStatus.d.ts.map +1 -1
- package/dist/react/companion-link/CompanionLinkStatus.js +3 -3
- package/dist/react/companion-link/CompanionLinkStatus.js.map +1 -1
- package/dist/react/companion-link/StaleMirrorBanner.d.ts +1 -1
- package/dist/react/companion-link/StaleMirrorBanner.d.ts.map +1 -1
- package/dist/react/companion-link/StaleMirrorBanner.js +2 -2
- package/dist/react/companion-link/StaleMirrorBanner.js.map +1 -1
- package/dist/react/components/Accordion.d.ts +1 -1
- package/dist/react/components/Accordion.d.ts.map +1 -1
- package/dist/react/components/Accordion.js +2 -2
- package/dist/react/components/Accordion.js.map +1 -1
- package/dist/react/components/ActionBar.d.ts +3 -3
- package/dist/react/components/ActionBar.d.ts.map +1 -1
- package/dist/react/components/ActionBar.js +10 -10
- package/dist/react/components/ActionBar.js.map +1 -1
- package/dist/react/components/ActionGroup.d.ts +1 -1
- package/dist/react/components/ActionGroup.d.ts.map +1 -1
- package/dist/react/components/ActionGroup.js +2 -2
- package/dist/react/components/ActionGroup.js.map +1 -1
- package/dist/react/components/ActionsHelp.d.ts +1 -1
- package/dist/react/components/ActionsHelp.d.ts.map +1 -1
- package/dist/react/components/ActionsHelp.js +2 -2
- package/dist/react/components/ActionsHelp.js.map +1 -1
- package/dist/react/components/AddItemsMenu.d.ts +1 -1
- package/dist/react/components/AddItemsMenu.d.ts.map +1 -1
- package/dist/react/components/AddItemsMenu.js +2 -2
- package/dist/react/components/AddItemsMenu.js.map +1 -1
- package/dist/react/components/Alert.d.ts +1 -1
- package/dist/react/components/Alert.d.ts.map +1 -1
- package/dist/react/components/Alert.js +2 -2
- package/dist/react/components/Alert.js.map +1 -1
- package/dist/react/components/AmbientBackdrop.d.ts +1 -1
- package/dist/react/components/AmbientBackdrop.d.ts.map +1 -1
- package/dist/react/components/AmbientBackdrop.js +2 -2
- package/dist/react/components/AmbientBackdrop.js.map +1 -1
- package/dist/react/components/AppShell.d.ts +3 -3
- package/dist/react/components/AppShell.d.ts.map +1 -1
- package/dist/react/components/AppShell.js +17 -5
- package/dist/react/components/AppShell.js.map +1 -1
- package/dist/react/components/AsyncPanel.d.ts +1 -1
- package/dist/react/components/AsyncPanel.d.ts.map +1 -1
- package/dist/react/components/AsyncPanel.js +5 -5
- package/dist/react/components/AsyncPanel.js.map +1 -1
- package/dist/react/components/Autocomplete.d.ts +3 -3
- package/dist/react/components/Autocomplete.d.ts.map +1 -1
- package/dist/react/components/Autocomplete.js +2 -2
- package/dist/react/components/Autocomplete.js.map +1 -1
- package/dist/react/components/Avatar.d.ts +1 -1
- package/dist/react/components/Avatar.d.ts.map +1 -1
- package/dist/react/components/Avatar.js +3 -3
- package/dist/react/components/Avatar.js.map +1 -1
- package/dist/react/components/AvatarStack.d.ts +1 -1
- package/dist/react/components/AvatarStack.d.ts.map +1 -1
- package/dist/react/components/AvatarStack.js +2 -2
- package/dist/react/components/AvatarStack.js.map +1 -1
- package/dist/react/components/BannerLane.d.ts +1 -1
- package/dist/react/components/BannerLane.d.ts.map +1 -1
- package/dist/react/components/BannerLane.js +2 -2
- package/dist/react/components/BannerLane.js.map +1 -1
- package/dist/react/components/BuildFreshness.d.ts +3 -3
- package/dist/react/components/BuildFreshness.d.ts.map +1 -1
- package/dist/react/components/BuildFreshness.js +3 -3
- package/dist/react/components/BuildFreshness.js.map +1 -1
- package/dist/react/components/ButtonLink.d.ts +1 -1
- package/dist/react/components/ButtonLink.d.ts.map +1 -1
- package/dist/react/components/ButtonLink.js +2 -2
- package/dist/react/components/ButtonLink.js.map +1 -1
- package/dist/react/components/CardDisplayControls.d.ts +6 -1
- package/dist/react/components/CardDisplayControls.d.ts.map +1 -1
- package/dist/react/components/CardDisplayControls.js +3 -3
- package/dist/react/components/CardDisplayControls.js.map +1 -1
- package/dist/react/components/ChartTablePanel.d.ts +1 -1
- package/dist/react/components/ChartTablePanel.d.ts.map +1 -1
- package/dist/react/components/ChartTablePanel.js +2 -2
- package/dist/react/components/ChartTablePanel.js.map +1 -1
- package/dist/react/components/ChipFilterStrip.d.ts +1 -1
- package/dist/react/components/ChipFilterStrip.d.ts.map +1 -1
- package/dist/react/components/ChipFilterStrip.js +2 -2
- package/dist/react/components/ChipFilterStrip.js.map +1 -1
- package/dist/react/components/ChoiceGroup.d.ts +1 -1
- package/dist/react/components/ChoiceGroup.d.ts.map +1 -1
- package/dist/react/components/ChoiceGroup.js +2 -2
- package/dist/react/components/ChoiceGroup.js.map +1 -1
- package/dist/react/components/ChoiceMenu.d.ts +1 -1
- package/dist/react/components/ChoiceMenu.d.ts.map +1 -1
- package/dist/react/components/ChoiceMenu.js +2 -2
- package/dist/react/components/ChoiceMenu.js.map +1 -1
- package/dist/react/components/CodeArea.d.ts +1 -1
- package/dist/react/components/CodeArea.d.ts.map +1 -1
- package/dist/react/components/CodeArea.js +2 -2
- package/dist/react/components/CodeArea.js.map +1 -1
- package/dist/react/components/CodeFieldInput.d.ts +1 -1
- package/dist/react/components/CodeFieldInput.d.ts.map +1 -1
- package/dist/react/components/CodeFieldInput.js +2 -2
- package/dist/react/components/CodeFieldInput.js.map +1 -1
- package/dist/react/components/Collapsible.d.ts +1 -1
- package/dist/react/components/Collapsible.d.ts.map +1 -1
- package/dist/react/components/Collapsible.js +2 -2
- package/dist/react/components/Collapsible.js.map +1 -1
- package/dist/react/components/ColorField.d.ts +1 -1
- package/dist/react/components/ColorField.d.ts.map +1 -1
- package/dist/react/components/ColorField.js +2 -2
- package/dist/react/components/ColorField.js.map +1 -1
- package/dist/react/components/ColorSwatches.d.ts +1 -1
- package/dist/react/components/ColorSwatches.d.ts.map +1 -1
- package/dist/react/components/ColorSwatches.js +2 -2
- package/dist/react/components/ColorSwatches.js.map +1 -1
- package/dist/react/components/ComboboxField.d.ts.map +1 -1
- package/dist/react/components/ComboboxField.js +5 -2
- package/dist/react/components/ComboboxField.js.map +1 -1
- package/dist/react/components/CommentThread.d.ts +1 -1
- package/dist/react/components/CommentThread.d.ts.map +1 -1
- package/dist/react/components/CommentThread.js +2 -2
- package/dist/react/components/CommentThread.js.map +1 -1
- package/dist/react/components/ConfirmDialog.d.ts +1 -1
- package/dist/react/components/ConfirmDialog.d.ts.map +1 -1
- package/dist/react/components/ConfirmDialog.js +2 -2
- package/dist/react/components/ConfirmDialog.js.map +1 -1
- package/dist/react/components/ConnectionHealer.d.ts +1 -1
- package/dist/react/components/ConnectionHealer.d.ts.map +1 -1
- package/dist/react/components/ConnectionHealer.js +3 -3
- package/dist/react/components/ConnectionHealer.js.map +1 -1
- package/dist/react/components/ControlPanel.d.ts +2 -2
- package/dist/react/components/ControlPanel.d.ts.map +1 -1
- package/dist/react/components/ControlPanel.js +5 -5
- package/dist/react/components/ControlPanel.js.map +1 -1
- package/dist/react/components/CopyButton.d.ts +1 -1
- package/dist/react/components/CopyButton.d.ts.map +1 -1
- package/dist/react/components/CopyButton.js +2 -2
- package/dist/react/components/CopyButton.js.map +1 -1
- package/dist/react/components/CopyableText.d.ts +1 -1
- package/dist/react/components/CopyableText.d.ts.map +1 -1
- package/dist/react/components/CopyableText.js +3 -3
- package/dist/react/components/CopyableText.js.map +1 -1
- package/dist/react/components/DataTable/CardView.d.ts +1 -1
- package/dist/react/components/DataTable/CardView.d.ts.map +1 -1
- package/dist/react/components/DataTable/CardView.js +2 -2
- package/dist/react/components/DataTable/CardView.js.map +1 -1
- package/dist/react/components/DataTable/ColumnChecklist.d.ts +1 -1
- package/dist/react/components/DataTable/ColumnChecklist.d.ts.map +1 -1
- package/dist/react/components/DataTable/ColumnChecklist.js +2 -2
- package/dist/react/components/DataTable/ColumnChecklist.js.map +1 -1
- package/dist/react/components/DataTable/DataTable.d.ts +1 -1
- package/dist/react/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/react/components/DataTable/DataTable.js +2 -2
- package/dist/react/components/DataTable/DataTable.js.map +1 -1
- package/dist/react/components/DataTable/Pagination.d.ts +1 -1
- package/dist/react/components/DataTable/Pagination.d.ts.map +1 -1
- package/dist/react/components/DataTable/Pagination.js +2 -2
- package/dist/react/components/DataTable/Pagination.js.map +1 -1
- package/dist/react/components/DataTable/RowActions.d.ts +1 -1
- package/dist/react/components/DataTable/RowActions.d.ts.map +1 -1
- package/dist/react/components/DataTable/RowActions.js +2 -2
- package/dist/react/components/DataTable/RowActions.js.map +1 -1
- package/dist/react/components/DataTable/SearchBox.d.ts +1 -1
- package/dist/react/components/DataTable/SearchBox.d.ts.map +1 -1
- package/dist/react/components/DataTable/SearchBox.js +4 -4
- package/dist/react/components/DataTable/SearchBox.js.map +1 -1
- package/dist/react/components/DataTable/SortHeader.d.ts +3 -3
- package/dist/react/components/DataTable/SortHeader.d.ts.map +1 -1
- package/dist/react/components/DataTable/SortHeader.js +4 -4
- package/dist/react/components/DataTable/SortHeader.js.map +1 -1
- package/dist/react/components/DataTable/SortStack.d.ts +1 -1
- package/dist/react/components/DataTable/SortStack.d.ts.map +1 -1
- package/dist/react/components/DataTable/SortStack.js +2 -2
- package/dist/react/components/DataTable/SortStack.js.map +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.d.ts +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.d.ts.map +1 -1
- package/dist/react/components/DataTable/TableFilterBuilder.js +2 -2
- package/dist/react/components/DataTable/TableFilterBuilder.js.map +1 -1
- package/dist/react/components/DataTable/TableViewToggle.d.ts +1 -1
- package/dist/react/components/DataTable/TableViewToggle.d.ts.map +1 -1
- package/dist/react/components/DataTable/TableViewToggle.js +2 -2
- package/dist/react/components/DataTable/TableViewToggle.js.map +1 -1
- package/dist/react/components/DataTable/Toolbar.d.ts +1 -1
- package/dist/react/components/DataTable/Toolbar.d.ts.map +1 -1
- package/dist/react/components/DataTable/Toolbar.js +2 -2
- package/dist/react/components/DataTable/Toolbar.js.map +1 -1
- package/dist/react/components/DataTable/ViewOptionsMenu.d.ts +1 -1
- package/dist/react/components/DataTable/ViewOptionsMenu.d.ts.map +1 -1
- package/dist/react/components/DataTable/ViewOptionsMenu.js +2 -2
- package/dist/react/components/DataTable/ViewOptionsMenu.js.map +1 -1
- package/dist/react/components/DataTable/cells/CellRenderer.d.ts.map +1 -1
- package/dist/react/components/DataTable/cells/CellRenderer.js +6 -2
- package/dist/react/components/DataTable/cells/CellRenderer.js.map +1 -1
- package/dist/react/components/DataTable/cells/CodeCell.d.ts +1 -1
- package/dist/react/components/DataTable/cells/CodeCell.d.ts.map +1 -1
- package/dist/react/components/DataTable/cells/CodeCell.js +2 -2
- package/dist/react/components/DataTable/cells/CodeCell.js.map +1 -1
- package/dist/react/components/DataTable/cells/LinkCell.d.ts +1 -1
- package/dist/react/components/DataTable/cells/LinkCell.d.ts.map +1 -1
- package/dist/react/components/DataTable/cells/LinkCell.js +2 -2
- package/dist/react/components/DataTable/cells/LinkCell.js.map +1 -1
- package/dist/react/components/DataTable/cells/PasswordCell.d.ts +1 -1
- package/dist/react/components/DataTable/cells/PasswordCell.d.ts.map +1 -1
- package/dist/react/components/DataTable/cells/PasswordCell.js +2 -2
- package/dist/react/components/DataTable/cells/PasswordCell.js.map +1 -1
- package/dist/react/components/DatePicker.d.ts +1 -1
- package/dist/react/components/DatePicker.d.ts.map +1 -1
- package/dist/react/components/DatePicker.js +2 -2
- package/dist/react/components/DatePicker.js.map +1 -1
- package/dist/react/components/DateRangePicker.d.ts +1 -1
- package/dist/react/components/DateRangePicker.d.ts.map +1 -1
- package/dist/react/components/DateRangePicker.js +2 -2
- package/dist/react/components/DateRangePicker.js.map +1 -1
- package/dist/react/components/DateTimeField.d.ts +1 -1
- package/dist/react/components/DateTimeField.d.ts.map +1 -1
- package/dist/react/components/DateTimeField.js +2 -2
- package/dist/react/components/DateTimeField.js.map +1 -1
- package/dist/react/components/DiscardConfirmDialog.d.ts +1 -1
- package/dist/react/components/DiscardConfirmDialog.d.ts.map +1 -1
- package/dist/react/components/DiscardConfirmDialog.js +2 -2
- package/dist/react/components/DiscardConfirmDialog.js.map +1 -1
- package/dist/react/components/DisclosureButton.d.ts +2 -2
- package/dist/react/components/DisclosureButton.d.ts.map +1 -1
- package/dist/react/components/DisclosureButton.js +4 -4
- package/dist/react/components/DisclosureButton.js.map +1 -1
- package/dist/react/components/DragHandle.d.ts +1 -1
- package/dist/react/components/DragHandle.d.ts.map +1 -1
- package/dist/react/components/DragHandle.js +2 -2
- package/dist/react/components/DragHandle.js.map +1 -1
- package/dist/react/components/Drawer.d.ts +1 -1
- package/dist/react/components/Drawer.d.ts.map +1 -1
- package/dist/react/components/Drawer.js +2 -2
- package/dist/react/components/Drawer.js.map +1 -1
- package/dist/react/components/DropIndicator.d.ts +1 -1
- package/dist/react/components/DropIndicator.d.ts.map +1 -1
- package/dist/react/components/DropIndicator.js +3 -3
- package/dist/react/components/DropIndicator.js.map +1 -1
- package/dist/react/components/DropSlot.d.ts +1 -1
- package/dist/react/components/DropSlot.d.ts.map +1 -1
- package/dist/react/components/DropSlot.js +2 -2
- package/dist/react/components/DropSlot.js.map +1 -1
- package/dist/react/components/DropdownMenu.d.ts +1 -1
- package/dist/react/components/DropdownMenu.d.ts.map +1 -1
- package/dist/react/components/DropdownMenu.js +2 -2
- package/dist/react/components/DropdownMenu.js.map +1 -1
- package/dist/react/components/EditorPage.d.ts +2 -2
- package/dist/react/components/EditorPage.d.ts.map +1 -1
- package/dist/react/components/EditorPage.js +4 -4
- package/dist/react/components/EditorPage.js.map +1 -1
- package/dist/react/components/ElsewhereNotice.d.ts +1 -1
- package/dist/react/components/ElsewhereNotice.d.ts.map +1 -1
- package/dist/react/components/ElsewhereNotice.js +2 -2
- package/dist/react/components/ElsewhereNotice.js.map +1 -1
- package/dist/react/components/EmojiField.d.ts +1 -1
- package/dist/react/components/EmojiField.d.ts.map +1 -1
- package/dist/react/components/EmojiField.js +2 -2
- package/dist/react/components/EmojiField.js.map +1 -1
- package/dist/react/components/EmptyState.d.ts +1 -1
- package/dist/react/components/EmptyState.d.ts.map +1 -1
- package/dist/react/components/EmptyState.js +2 -2
- package/dist/react/components/EmptyState.js.map +1 -1
- package/dist/react/components/EnvCompare.d.ts +1 -1
- package/dist/react/components/EnvCompare.d.ts.map +1 -1
- package/dist/react/components/EnvCompare.js +3 -3
- package/dist/react/components/EnvCompare.js.map +1 -1
- package/dist/react/components/EnvEditor.d.ts +1 -1
- package/dist/react/components/EnvEditor.d.ts.map +1 -1
- package/dist/react/components/EnvEditor.js +2 -2
- package/dist/react/components/EnvEditor.js.map +1 -1
- package/dist/react/components/ErrorBoundary.d.ts +1 -1
- package/dist/react/components/ErrorBoundary.d.ts.map +1 -1
- package/dist/react/components/ErrorBoundary.js +3 -3
- package/dist/react/components/ErrorBoundary.js.map +1 -1
- package/dist/react/components/ErrorCard.d.ts +1 -1
- package/dist/react/components/ErrorCard.d.ts.map +1 -1
- package/dist/react/components/ErrorCard.js +2 -2
- package/dist/react/components/ErrorCard.js.map +1 -1
- package/dist/react/components/EventTimeline.d.ts +1 -1
- package/dist/react/components/EventTimeline.d.ts.map +1 -1
- package/dist/react/components/EventTimeline.js +2 -2
- package/dist/react/components/EventTimeline.js.map +1 -1
- package/dist/react/components/ExpandableRow.d.ts +1 -1
- package/dist/react/components/ExpandableRow.d.ts.map +1 -1
- package/dist/react/components/ExpandableRow.js +2 -2
- package/dist/react/components/ExpandableRow.js.map +1 -1
- package/dist/react/components/ExternalLink.d.ts +1 -1
- package/dist/react/components/ExternalLink.d.ts.map +1 -1
- package/dist/react/components/ExternalLink.js +4 -4
- package/dist/react/components/ExternalLink.js.map +1 -1
- package/dist/react/components/Field.d.ts +1 -1
- package/dist/react/components/Field.d.ts.map +1 -1
- package/dist/react/components/Field.js +2 -2
- package/dist/react/components/Field.js.map +1 -1
- package/dist/react/components/FieldGrid.d.ts +1 -1
- package/dist/react/components/FieldGrid.d.ts.map +1 -1
- package/dist/react/components/FieldGrid.js +2 -2
- package/dist/react/components/FieldGrid.js.map +1 -1
- package/dist/react/components/FileActions.d.ts +1 -1
- package/dist/react/components/FileActions.d.ts.map +1 -1
- package/dist/react/components/FileActions.js +2 -2
- package/dist/react/components/FileActions.js.map +1 -1
- package/dist/react/components/FileDropZone.d.ts +1 -1
- package/dist/react/components/FileDropZone.d.ts.map +1 -1
- package/dist/react/components/FileDropZone.js +2 -2
- package/dist/react/components/FileDropZone.js.map +1 -1
- package/dist/react/components/FileLocation.d.ts +1 -1
- package/dist/react/components/FileLocation.d.ts.map +1 -1
- package/dist/react/components/FileLocation.js +2 -2
- package/dist/react/components/FileLocation.js.map +1 -1
- package/dist/react/components/FileTypeIcon.d.ts +1 -1
- package/dist/react/components/FileTypeIcon.d.ts.map +1 -1
- package/dist/react/components/FileTypeIcon.js +2 -2
- package/dist/react/components/FileTypeIcon.js.map +1 -1
- package/dist/react/components/FindingsList.d.ts +1 -1
- package/dist/react/components/FindingsList.d.ts.map +1 -1
- package/dist/react/components/FindingsList.js +3 -3
- package/dist/react/components/FindingsList.js.map +1 -1
- package/dist/react/components/FormPreviewLayout.d.ts +1 -1
- package/dist/react/components/FormPreviewLayout.d.ts.map +1 -1
- package/dist/react/components/FormPreviewLayout.js +2 -2
- package/dist/react/components/FormPreviewLayout.js.map +1 -1
- package/dist/react/components/Guide.d.ts +2 -2
- package/dist/react/components/Guide.d.ts.map +1 -1
- package/dist/react/components/Guide.js +4 -4
- package/dist/react/components/Guide.js.map +1 -1
- package/dist/react/components/Heat.d.ts +130 -0
- package/dist/react/components/Heat.d.ts.map +1 -0
- package/dist/react/components/Heat.js +139 -0
- package/dist/react/components/Heat.js.map +1 -0
- package/dist/react/components/HoverCard.d.ts +1 -1
- package/dist/react/components/HoverCard.d.ts.map +1 -1
- package/dist/react/components/HoverCard.js +2 -2
- package/dist/react/components/HoverCard.js.map +1 -1
- package/dist/react/components/IconPicker.d.ts +1 -1
- package/dist/react/components/IconPicker.d.ts.map +1 -1
- package/dist/react/components/IconPicker.js +2 -2
- package/dist/react/components/IconPicker.js.map +1 -1
- package/dist/react/components/ImpactDialog.d.ts +1 -1
- package/dist/react/components/ImpactDialog.d.ts.map +1 -1
- package/dist/react/components/ImpactDialog.js +2 -2
- package/dist/react/components/ImpactDialog.js.map +1 -1
- package/dist/react/components/InfoHintImpl.d.ts +1 -1
- package/dist/react/components/InfoHintImpl.d.ts.map +1 -1
- package/dist/react/components/InfoHintImpl.js +2 -2
- package/dist/react/components/InfoHintImpl.js.map +1 -1
- package/dist/react/components/InheritBadge.d.ts +1 -1
- package/dist/react/components/InheritBadge.d.ts.map +1 -1
- package/dist/react/components/InheritBadge.js +2 -2
- package/dist/react/components/InheritBadge.js.map +1 -1
- package/dist/react/components/InlineEditableText.d.ts +1 -1
- package/dist/react/components/InlineEditableText.d.ts.map +1 -1
- package/dist/react/components/InlineEditableText.js +6 -6
- package/dist/react/components/InlineEditableText.js.map +1 -1
- package/dist/react/components/IsolatedFrame.d.ts +1 -1
- package/dist/react/components/IsolatedFrame.d.ts.map +1 -1
- package/dist/react/components/IsolatedFrame.js +4 -4
- package/dist/react/components/IsolatedFrame.js.map +1 -1
- package/dist/react/components/JsonEditor.d.ts +1 -1
- package/dist/react/components/JsonEditor.d.ts.map +1 -1
- package/dist/react/components/JsonEditor.js +2 -2
- package/dist/react/components/JsonEditor.js.map +1 -1
- package/dist/react/components/KanbanBoard.d.ts +1 -1
- package/dist/react/components/KanbanBoard.d.ts.map +1 -1
- package/dist/react/components/KanbanBoard.js +2 -2
- package/dist/react/components/KanbanBoard.js.map +1 -1
- package/dist/react/components/KeyBadge.d.ts +1 -1
- package/dist/react/components/KeyBadge.d.ts.map +1 -1
- package/dist/react/components/KeyBadge.js +5 -5
- package/dist/react/components/KeyBadge.js.map +1 -1
- package/dist/react/components/Lightbox.d.ts +1 -1
- package/dist/react/components/Lightbox.d.ts.map +1 -1
- package/dist/react/components/Lightbox.js +2 -2
- package/dist/react/components/Lightbox.js.map +1 -1
- package/dist/react/components/ListToolbar.d.ts +1 -1
- package/dist/react/components/ListToolbar.d.ts.map +1 -1
- package/dist/react/components/ListToolbar.js +2 -2
- package/dist/react/components/ListToolbar.js.map +1 -1
- package/dist/react/components/LogViewer.d.ts +1 -1
- package/dist/react/components/LogViewer.d.ts.map +1 -1
- package/dist/react/components/LogViewer.js +2 -2
- package/dist/react/components/LogViewer.js.map +1 -1
- package/dist/react/components/Menu.d.ts +3 -3
- package/dist/react/components/Menu.d.ts.map +1 -1
- package/dist/react/components/Menu.js +7 -7
- package/dist/react/components/Menu.js.map +1 -1
- package/dist/react/components/MeterList.d.ts +1 -1
- package/dist/react/components/MeterList.d.ts.map +1 -1
- package/dist/react/components/MeterList.js +5 -5
- package/dist/react/components/MeterList.js.map +1 -1
- package/dist/react/components/Modal.d.ts +1 -1
- package/dist/react/components/Modal.d.ts.map +1 -1
- package/dist/react/components/Modal.js +2 -2
- package/dist/react/components/Modal.js.map +1 -1
- package/dist/react/components/MultiSelectField.d.ts +1 -1
- package/dist/react/components/MultiSelectField.d.ts.map +1 -1
- package/dist/react/components/MultiSelectField.js +2 -2
- package/dist/react/components/MultiSelectField.js.map +1 -1
- package/dist/react/components/OnlineDot.d.ts +1 -1
- package/dist/react/components/OnlineDot.d.ts.map +1 -1
- package/dist/react/components/OnlineDot.js +2 -2
- package/dist/react/components/OnlineDot.js.map +1 -1
- package/dist/react/components/OtpInput.d.ts +1 -1
- package/dist/react/components/OtpInput.d.ts.map +1 -1
- package/dist/react/components/OtpInput.js +2 -2
- package/dist/react/components/OtpInput.js.map +1 -1
- package/dist/react/components/Page.d.ts +12 -1
- package/dist/react/components/Page.d.ts.map +1 -1
- package/dist/react/components/Page.js +10 -2
- package/dist/react/components/Page.js.map +1 -1
- package/dist/react/components/PageGuideButton.d.ts +1 -1
- package/dist/react/components/PageGuideButton.d.ts.map +1 -1
- package/dist/react/components/PageGuideButton.js +3 -3
- package/dist/react/components/PageGuideButton.js.map +1 -1
- package/dist/react/components/PageGuidePopover.d.ts +1 -1
- package/dist/react/components/PageGuidePopover.d.ts.map +1 -1
- package/dist/react/components/PageGuidePopover.js +2 -2
- package/dist/react/components/PageGuidePopover.js.map +1 -1
- package/dist/react/components/PanelGrid.d.ts +1 -1
- package/dist/react/components/PanelGrid.d.ts.map +1 -1
- package/dist/react/components/PanelGrid.js +3 -3
- package/dist/react/components/PanelGrid.js.map +1 -1
- package/dist/react/components/PanelSeparator.d.ts +1 -1
- package/dist/react/components/PanelSeparator.d.ts.map +1 -1
- package/dist/react/components/PanelSeparator.js +2 -2
- package/dist/react/components/PanelSeparator.js.map +1 -1
- package/dist/react/components/PathText.d.ts +1 -1
- package/dist/react/components/PathText.d.ts.map +1 -1
- package/dist/react/components/PathText.js +2 -2
- package/dist/react/components/PathText.js.map +1 -1
- package/dist/react/components/PointerDrag.d.ts +1 -1
- package/dist/react/components/PointerDrag.d.ts.map +1 -1
- package/dist/react/components/PointerDrag.js +2 -2
- package/dist/react/components/PointerDrag.js.map +1 -1
- package/dist/react/components/Popover.d.ts +2 -2
- package/dist/react/components/Popover.d.ts.map +1 -1
- package/dist/react/components/Popover.js +4 -4
- package/dist/react/components/Popover.js.map +1 -1
- package/dist/react/components/Progress.d.ts +2 -2
- package/dist/react/components/Progress.d.ts.map +1 -1
- package/dist/react/components/Progress.js +4 -4
- package/dist/react/components/Progress.js.map +1 -1
- package/dist/react/components/PromptDialog.d.ts +1 -1
- package/dist/react/components/PromptDialog.d.ts.map +1 -1
- package/dist/react/components/PromptDialog.js +2 -2
- package/dist/react/components/PromptDialog.js.map +1 -1
- package/dist/react/components/PropertyPicker.d.ts.map +1 -1
- package/dist/react/components/PropertyPicker.js +5 -2
- package/dist/react/components/PropertyPicker.js.map +1 -1
- package/dist/react/components/QueryBoundary.d.ts.map +1 -1
- package/dist/react/components/QueryBoundary.js +1 -0
- package/dist/react/components/QueryBoundary.js.map +1 -1
- package/dist/react/components/RatingField.d.ts +1 -1
- package/dist/react/components/RatingField.d.ts.map +1 -1
- package/dist/react/components/RatingField.js +2 -2
- package/dist/react/components/RatingField.js.map +1 -1
- package/dist/react/components/ReactionBar.d.ts +1 -1
- package/dist/react/components/ReactionBar.d.ts.map +1 -1
- package/dist/react/components/ReactionBar.js +2 -2
- package/dist/react/components/ReactionBar.js.map +1 -1
- package/dist/react/components/ReactionPicker.d.ts +1 -1
- package/dist/react/components/ReactionPicker.d.ts.map +1 -1
- package/dist/react/components/ReactionPicker.js +2 -2
- package/dist/react/components/ReactionPicker.js.map +1 -1
- package/dist/react/components/RenderField.d.ts +1 -1
- package/dist/react/components/RenderField.d.ts.map +1 -1
- package/dist/react/components/RenderField.js +2 -2
- package/dist/react/components/RenderField.js.map +1 -1
- package/dist/react/components/ResponsiveWorkbench.d.ts +1 -1
- package/dist/react/components/ResponsiveWorkbench.d.ts.map +1 -1
- package/dist/react/components/ResponsiveWorkbench.js +2 -2
- package/dist/react/components/ResponsiveWorkbench.js.map +1 -1
- package/dist/react/components/RevealAction.d.ts +1 -1
- package/dist/react/components/RevealAction.d.ts.map +1 -1
- package/dist/react/components/RevealAction.js +3 -3
- package/dist/react/components/RevealAction.js.map +1 -1
- package/dist/react/components/SaveIndicator.d.ts +1 -1
- package/dist/react/components/SaveIndicator.d.ts.map +1 -1
- package/dist/react/components/SaveIndicator.js +2 -2
- package/dist/react/components/SaveIndicator.js.map +1 -1
- package/dist/react/components/SearchInput.d.ts +9 -2
- package/dist/react/components/SearchInput.d.ts.map +1 -1
- package/dist/react/components/SearchInput.js +1 -1
- package/dist/react/components/SearchInput.js.map +1 -1
- package/dist/react/components/SecretInput.d.ts +1 -1
- package/dist/react/components/SecretInput.d.ts.map +1 -1
- package/dist/react/components/SecretInput.js +2 -2
- package/dist/react/components/SecretInput.js.map +1 -1
- package/dist/react/components/SectionNav.d.ts +1 -1
- package/dist/react/components/SectionNav.d.ts.map +1 -1
- package/dist/react/components/SectionNav.js +2 -2
- package/dist/react/components/SectionNav.js.map +1 -1
- package/dist/react/components/SegmentedControl.d.ts +1 -1
- package/dist/react/components/SegmentedControl.d.ts.map +1 -1
- package/dist/react/components/SegmentedControl.js +2 -2
- package/dist/react/components/SegmentedControl.js.map +1 -1
- package/dist/react/components/SelectFieldImpl.d.ts +1 -1
- package/dist/react/components/SelectFieldImpl.d.ts.map +1 -1
- package/dist/react/components/SelectFieldImpl.js +2 -2
- package/dist/react/components/SelectFieldImpl.js.map +1 -1
- package/dist/react/components/SelectionBar.d.ts +1 -1
- package/dist/react/components/SelectionBar.d.ts.map +1 -1
- package/dist/react/components/SelectionBar.js +2 -2
- package/dist/react/components/SelectionBar.js.map +1 -1
- package/dist/react/components/SettingsStrip.d.ts +1 -1
- package/dist/react/components/SettingsStrip.d.ts.map +1 -1
- package/dist/react/components/SettingsStrip.js +2 -2
- package/dist/react/components/SettingsStrip.js.map +1 -1
- package/dist/react/components/SheetTabStrip.d.ts.map +1 -1
- package/dist/react/components/SheetTabStrip.js +8 -8
- package/dist/react/components/SheetTabStrip.js.map +1 -1
- package/dist/react/components/Skeleton.d.ts +4 -4
- package/dist/react/components/Skeleton.d.ts.map +1 -1
- package/dist/react/components/Skeleton.js +10 -10
- package/dist/react/components/Skeleton.js.map +1 -1
- package/dist/react/components/Slider.d.ts +2 -2
- package/dist/react/components/Slider.d.ts.map +1 -1
- package/dist/react/components/Slider.js +4 -4
- package/dist/react/components/Slider.js.map +1 -1
- package/dist/react/components/SliderField.d.ts +1 -1
- package/dist/react/components/SliderField.d.ts.map +1 -1
- package/dist/react/components/SliderField.js +2 -2
- package/dist/react/components/SliderField.js.map +1 -1
- package/dist/react/components/Sparkline.d.ts +1 -1
- package/dist/react/components/Sparkline.d.ts.map +1 -1
- package/dist/react/components/Sparkline.js +2 -2
- package/dist/react/components/Sparkline.js.map +1 -1
- package/dist/react/components/Spinner.d.ts +1 -1
- package/dist/react/components/Spinner.d.ts.map +1 -1
- package/dist/react/components/Spinner.js +2 -2
- package/dist/react/components/Spinner.js.map +1 -1
- package/dist/react/components/SplitButton.d.ts +1 -1
- package/dist/react/components/SplitButton.d.ts.map +1 -1
- package/dist/react/components/SplitButton.js +2 -2
- package/dist/react/components/SplitButton.js.map +1 -1
- package/dist/react/components/SplitPane.d.ts +1 -1
- package/dist/react/components/SplitPane.d.ts.map +1 -1
- package/dist/react/components/SplitPane.js +2 -2
- package/dist/react/components/SplitPane.js.map +1 -1
- package/dist/react/components/StarRating.d.ts +1 -1
- package/dist/react/components/StarRating.d.ts.map +1 -1
- package/dist/react/components/StarRating.js +4 -4
- package/dist/react/components/StarRating.js.map +1 -1
- package/dist/react/components/StatStrip.d.ts +1 -1
- package/dist/react/components/StatStrip.d.ts.map +1 -1
- package/dist/react/components/StatStrip.js +2 -2
- package/dist/react/components/StatStrip.js.map +1 -1
- package/dist/react/components/StatTile.d.ts +1 -1
- package/dist/react/components/StatTile.d.ts.map +1 -1
- package/dist/react/components/StatTile.js +2 -2
- package/dist/react/components/StatTile.js.map +1 -1
- package/dist/react/components/StatTileGrid.d.ts +1 -1
- package/dist/react/components/StatTileGrid.d.ts.map +1 -1
- package/dist/react/components/StatTileGrid.js +2 -2
- package/dist/react/components/StatTileGrid.js.map +1 -1
- package/dist/react/components/SwatchPicker.d.ts +1 -1
- package/dist/react/components/SwatchPicker.d.ts.map +1 -1
- package/dist/react/components/SwatchPicker.js +2 -2
- package/dist/react/components/SwatchPicker.js.map +1 -1
- package/dist/react/components/Tabs.d.ts +1 -1
- package/dist/react/components/Tabs.d.ts.map +1 -1
- package/dist/react/components/Tabs.js +2 -2
- package/dist/react/components/Tabs.js.map +1 -1
- package/dist/react/components/TagStrip.d.ts +1 -1
- package/dist/react/components/TagStrip.d.ts.map +1 -1
- package/dist/react/components/TagStrip.js +2 -2
- package/dist/react/components/TagStrip.js.map +1 -1
- package/dist/react/components/TagsInput.d.ts +1 -1
- package/dist/react/components/TagsInput.d.ts.map +1 -1
- package/dist/react/components/TagsInput.js +2 -2
- package/dist/react/components/TagsInput.js.map +1 -1
- package/dist/react/components/ThresholdMeter.d.ts +1 -1
- package/dist/react/components/ThresholdMeter.d.ts.map +1 -1
- package/dist/react/components/ThresholdMeter.js +2 -2
- package/dist/react/components/ThresholdMeter.js.map +1 -1
- package/dist/react/components/TooltipImpl.d.ts +1 -1
- package/dist/react/components/TooltipImpl.d.ts.map +1 -1
- package/dist/react/components/TooltipImpl.js +5 -5
- package/dist/react/components/TooltipImpl.js.map +1 -1
- package/dist/react/components/TreeView.d.ts +1 -1
- package/dist/react/components/TreeView.d.ts.map +1 -1
- package/dist/react/components/TreeView.js +2 -2
- package/dist/react/components/TreeView.js.map +1 -1
- package/dist/react/components/Wizard/ReviewStep.d.ts +1 -1
- package/dist/react/components/Wizard/ReviewStep.d.ts.map +1 -1
- package/dist/react/components/Wizard/ReviewStep.js +2 -2
- package/dist/react/components/Wizard/ReviewStep.js.map +1 -1
- package/dist/react/components/Wizard/Stepper.d.ts +1 -1
- package/dist/react/components/Wizard/Stepper.d.ts.map +1 -1
- package/dist/react/components/Wizard/Stepper.js +2 -2
- package/dist/react/components/Wizard/Stepper.js.map +1 -1
- package/dist/react/components/Wizard/Wizard.d.ts +1 -1
- package/dist/react/components/Wizard/Wizard.d.ts.map +1 -1
- package/dist/react/components/Wizard/Wizard.js +2 -2
- package/dist/react/components/Wizard/Wizard.js.map +1 -1
- package/dist/react/components/auth/AuthCard.d.ts +1 -1
- package/dist/react/components/auth/AuthCard.d.ts.map +1 -1
- package/dist/react/components/auth/AuthCard.js +2 -2
- package/dist/react/components/auth/AuthCard.js.map +1 -1
- package/dist/react/components/auth/AuthForm.d.ts +1 -1
- package/dist/react/components/auth/AuthForm.d.ts.map +1 -1
- package/dist/react/components/auth/AuthForm.js +2 -2
- package/dist/react/components/auth/AuthForm.js.map +1 -1
- package/dist/react/components/auth/LoginForm.d.ts +1 -1
- package/dist/react/components/auth/LoginForm.d.ts.map +1 -1
- package/dist/react/components/auth/LoginForm.js +2 -2
- package/dist/react/components/auth/LoginForm.js.map +1 -1
- package/dist/react/components/auth/PasswordResetConfirm.d.ts +1 -1
- package/dist/react/components/auth/PasswordResetConfirm.d.ts.map +1 -1
- package/dist/react/components/auth/PasswordResetConfirm.js +2 -2
- package/dist/react/components/auth/PasswordResetConfirm.js.map +1 -1
- package/dist/react/components/auth/PasswordResetRequest.d.ts +1 -1
- package/dist/react/components/auth/PasswordResetRequest.d.ts.map +1 -1
- package/dist/react/components/auth/PasswordResetRequest.js +3 -3
- package/dist/react/components/auth/PasswordResetRequest.js.map +1 -1
- package/dist/react/components/auth/PasswordSetFields.d.ts +1 -1
- package/dist/react/components/auth/PasswordSetFields.d.ts.map +1 -1
- package/dist/react/components/auth/PasswordSetFields.js +2 -2
- package/dist/react/components/auth/PasswordSetFields.js.map +1 -1
- package/dist/react/components/auth/PasswordStrengthMeter.d.ts +1 -1
- package/dist/react/components/auth/PasswordStrengthMeter.d.ts.map +1 -1
- package/dist/react/components/auth/PasswordStrengthMeter.js +2 -2
- package/dist/react/components/auth/PasswordStrengthMeter.js.map +1 -1
- package/dist/react/components/auth/RegisterForm.d.ts +1 -1
- package/dist/react/components/auth/RegisterForm.d.ts.map +1 -1
- package/dist/react/components/auth/RegisterForm.js +2 -2
- package/dist/react/components/auth/RegisterForm.js.map +1 -1
- package/dist/react/components/auth/SetInitialPassword.d.ts +1 -1
- package/dist/react/components/auth/SetInitialPassword.d.ts.map +1 -1
- package/dist/react/components/auth/SetInitialPassword.js +2 -2
- package/dist/react/components/auth/SetInitialPassword.js.map +1 -1
- package/dist/react/components/auth/SignInCard.d.ts +1 -1
- package/dist/react/components/auth/SignInCard.d.ts.map +1 -1
- package/dist/react/components/auth/SignInCard.js +2 -2
- package/dist/react/components/auth/SignInCard.js.map +1 -1
- package/dist/react/components/auth/SignupForm.d.ts +1 -1
- package/dist/react/components/auth/SignupForm.d.ts.map +1 -1
- package/dist/react/components/auth/SignupForm.js +2 -2
- package/dist/react/components/auth/SignupForm.js.map +1 -1
- package/dist/react/components/auth/TotpEntry.d.ts +1 -1
- package/dist/react/components/auth/TotpEntry.d.ts.map +1 -1
- package/dist/react/components/auth/TotpEntry.js +2 -2
- package/dist/react/components/auth/TotpEntry.js.map +1 -1
- package/dist/react/components/auth/fields.d.ts +2 -2
- package/dist/react/components/auth/fields.d.ts.map +1 -1
- package/dist/react/components/auth/fields.js +4 -4
- package/dist/react/components/auth/fields.js.map +1 -1
- package/dist/react/components/calendar/CalendarLegend.d.ts +1 -1
- package/dist/react/components/calendar/CalendarLegend.d.ts.map +1 -1
- package/dist/react/components/calendar/CalendarLegend.js +2 -2
- package/dist/react/components/calendar/CalendarLegend.js.map +1 -1
- package/dist/react/components/calendar/DayAgenda.d.ts +1 -1
- package/dist/react/components/calendar/DayAgenda.d.ts.map +1 -1
- package/dist/react/components/calendar/DayAgenda.js +2 -2
- package/dist/react/components/calendar/DayAgenda.js.map +1 -1
- package/dist/react/components/calendar/EventChip.d.ts +1 -1
- package/dist/react/components/calendar/EventChip.d.ts.map +1 -1
- package/dist/react/components/calendar/EventChip.js +2 -2
- package/dist/react/components/calendar/EventChip.js.map +1 -1
- package/dist/react/components/calendar/MonthGrid.d.ts +1 -1
- package/dist/react/components/calendar/MonthGrid.d.ts.map +1 -1
- package/dist/react/components/calendar/MonthGrid.js +2 -2
- package/dist/react/components/calendar/MonthGrid.js.map +1 -1
- package/dist/react/components/calendar/WeekView.d.ts +1 -1
- package/dist/react/components/calendar/WeekView.d.ts.map +1 -1
- package/dist/react/components/calendar/WeekView.js +2 -2
- package/dist/react/components/calendar/WeekView.js.map +1 -1
- package/dist/react/components/fieldErrorText.d.ts +1 -1
- package/dist/react/components/fieldErrorText.d.ts.map +1 -1
- package/dist/react/components/fieldErrorText.js +2 -2
- package/dist/react/components/fieldErrorText.js.map +1 -1
- package/dist/react/components/filterChip.d.ts +1 -1
- package/dist/react/components/filterChip.d.ts.map +1 -1
- package/dist/react/components/filterChip.js +2 -2
- package/dist/react/components/filterChip.js.map +1 -1
- package/dist/react/components/layout.d.ts +1 -1
- package/dist/react/components/layout.d.ts.map +1 -1
- package/dist/react/components/layout.js +3 -3
- package/dist/react/components/layout.js.map +1 -1
- package/dist/react/components/sharing/RecipientAvatar.d.ts +1 -1
- package/dist/react/components/sharing/RecipientAvatar.d.ts.map +1 -1
- package/dist/react/components/sharing/RecipientAvatar.js +3 -3
- package/dist/react/components/sharing/RecipientAvatar.js.map +1 -1
- package/dist/react/components/sharing/RecipientPicker.d.ts +1 -1
- package/dist/react/components/sharing/RecipientPicker.d.ts.map +1 -1
- package/dist/react/components/sharing/RecipientPicker.js +2 -2
- package/dist/react/components/sharing/RecipientPicker.js.map +1 -1
- package/dist/react/components/sharing/ShareDialog.d.ts.map +1 -1
- package/dist/react/components/sharing/ShareDialog.js +10 -11
- package/dist/react/components/sharing/ShareDialog.js.map +1 -1
- package/dist/react/components/sharing/ShareEditor.d.ts +1 -1
- package/dist/react/components/sharing/ShareEditor.d.ts.map +1 -1
- package/dist/react/components/sharing/ShareEditor.js +4 -2
- package/dist/react/components/sharing/ShareEditor.js.map +1 -1
- package/dist/react/components/sharing/SharedWithUserDialog.d.ts +1 -1
- package/dist/react/components/sharing/SharedWithUserDialog.d.ts.map +1 -1
- package/dist/react/components/sharing/SharedWithUserDialog.js +2 -2
- package/dist/react/components/sharing/SharedWithUserDialog.js.map +1 -1
- package/dist/react/dashboard-grid/DashboardGrid.d.ts +1 -1
- package/dist/react/dashboard-grid/DashboardGrid.d.ts.map +1 -1
- package/dist/react/dashboard-grid/DashboardGrid.js +2 -2
- package/dist/react/dashboard-grid/DashboardGrid.js.map +1 -1
- package/dist/react/dashboard-grid/WidgetFrame.d.ts +1 -1
- package/dist/react/dashboard-grid/WidgetFrame.d.ts.map +1 -1
- package/dist/react/dashboard-grid/WidgetFrame.js +2 -2
- package/dist/react/dashboard-grid/WidgetFrame.js.map +1 -1
- package/dist/react/deep-link/links.d.ts +10 -1
- package/dist/react/deep-link/links.d.ts.map +1 -1
- package/dist/react/deep-link/links.js +2 -3
- package/dist/react/deep-link/links.js.map +1 -1
- package/dist/react/deep-link/useDeepLink.d.ts.map +1 -1
- package/dist/react/deep-link/useDeepLink.js +1 -0
- package/dist/react/deep-link/useDeepLink.js.map +1 -1
- package/dist/react/diff-viewer/DiffViewer.d.ts +1 -1
- package/dist/react/diff-viewer/DiffViewer.d.ts.map +1 -1
- package/dist/react/diff-viewer/DiffViewer.js +2 -2
- package/dist/react/diff-viewer/DiffViewer.js.map +1 -1
- package/dist/react/diff-viewer/TextComparePane.d.ts +1 -1
- package/dist/react/diff-viewer/TextComparePane.d.ts.map +1 -1
- package/dist/react/diff-viewer/TextComparePane.js +4 -4
- package/dist/react/diff-viewer/TextComparePane.js.map +1 -1
- package/dist/react/disk-usage/DiskUsageRulesEditor.d.ts +1 -1
- package/dist/react/disk-usage/DiskUsageRulesEditor.d.ts.map +1 -1
- package/dist/react/disk-usage/DiskUsageRulesEditor.js +2 -2
- package/dist/react/disk-usage/DiskUsageRulesEditor.js.map +1 -1
- package/dist/react/disk-usage/DiskUsageScanControls.d.ts +1 -1
- package/dist/react/disk-usage/DiskUsageScanControls.d.ts.map +1 -1
- package/dist/react/disk-usage/DiskUsageScanControls.js +2 -2
- package/dist/react/disk-usage/DiskUsageScanControls.js.map +1 -1
- package/dist/react/disk-usage/DiskUsageSummaryTiles.d.ts +1 -1
- package/dist/react/disk-usage/DiskUsageSummaryTiles.d.ts.map +1 -1
- package/dist/react/disk-usage/DiskUsageSummaryTiles.js +3 -3
- package/dist/react/disk-usage/DiskUsageSummaryTiles.js.map +1 -1
- package/dist/react/disk-usage/DiskUsageTree.d.ts +1 -1
- package/dist/react/disk-usage/DiskUsageTree.d.ts.map +1 -1
- package/dist/react/disk-usage/DiskUsageTree.js +2 -2
- package/dist/react/disk-usage/DiskUsageTree.js.map +1 -1
- package/dist/react/emoji/EmojiAutocomplete.d.ts +1 -1
- package/dist/react/emoji/EmojiAutocomplete.d.ts.map +1 -1
- package/dist/react/emoji/EmojiAutocomplete.js +2 -2
- package/dist/react/emoji/EmojiAutocomplete.js.map +1 -1
- package/dist/react/emoji/EmojiPicker.d.ts +1 -1
- package/dist/react/emoji/EmojiPicker.d.ts.map +1 -1
- package/dist/react/emoji/EmojiPicker.js +2 -2
- package/dist/react/emoji/EmojiPicker.js.map +1 -1
- package/dist/react/engagement/beacon.d.ts.map +1 -1
- package/dist/react/engagement/beacon.js +1 -0
- package/dist/react/engagement/beacon.js.map +1 -1
- package/dist/react/file-tree/FileTree.d.ts +1 -1
- package/dist/react/file-tree/FileTree.d.ts.map +1 -1
- package/dist/react/file-tree/FileTree.js +2 -2
- package/dist/react/file-tree/FileTree.js.map +1 -1
- package/dist/react/file-tree/FolderViewMenus.d.ts +3 -3
- package/dist/react/file-tree/FolderViewMenus.d.ts.map +1 -1
- package/dist/react/file-tree/FolderViewMenus.js +6 -6
- package/dist/react/file-tree/FolderViewMenus.js.map +1 -1
- package/dist/react/file-tree/FolderViewPanels.d.ts +3 -3
- package/dist/react/file-tree/FolderViewPanels.d.ts.map +1 -1
- package/dist/react/file-tree/FolderViewPanels.js +18 -11
- package/dist/react/file-tree/FolderViewPanels.js.map +1 -1
- package/dist/react/filter-rail/FilterRail.d.ts +15 -4
- package/dist/react/filter-rail/FilterRail.d.ts.map +1 -1
- package/dist/react/filter-rail/FilterRail.js +5 -5
- package/dist/react/filter-rail/FilterRail.js.map +1 -1
- package/dist/react/filter-rail/RailSection.d.ts +1 -1
- package/dist/react/filter-rail/RailSection.d.ts.map +1 -1
- package/dist/react/filter-rail/RailSection.js +3 -3
- package/dist/react/filter-rail/RailSection.js.map +1 -1
- package/dist/react/filter-rail/railResize.d.ts +1 -1
- package/dist/react/filter-rail/railResize.d.ts.map +1 -1
- package/dist/react/filter-rail/railResize.js +2 -2
- package/dist/react/filter-rail/railResize.js.map +1 -1
- package/dist/react/folder-tree/FolderActionsMenu.d.ts +1 -1
- package/dist/react/folder-tree/FolderActionsMenu.d.ts.map +1 -1
- package/dist/react/folder-tree/FolderActionsMenu.js +2 -2
- package/dist/react/folder-tree/FolderActionsMenu.js.map +1 -1
- package/dist/react/folder-tree/FolderBreadcrumb.d.ts +1 -1
- package/dist/react/folder-tree/FolderBreadcrumb.d.ts.map +1 -1
- package/dist/react/folder-tree/FolderBreadcrumb.js +3 -3
- package/dist/react/folder-tree/FolderBreadcrumb.js.map +1 -1
- package/dist/react/folder-tree/FolderPicker.d.ts +1 -1
- package/dist/react/folder-tree/FolderPicker.d.ts.map +1 -1
- package/dist/react/folder-tree/FolderPicker.js +2 -2
- package/dist/react/folder-tree/FolderPicker.js.map +1 -1
- package/dist/react/folder-tree/FolderTreeRail.d.ts +1 -1
- package/dist/react/folder-tree/FolderTreeRail.d.ts.map +1 -1
- package/dist/react/folder-tree/FolderTreeRail.js +2 -2
- package/dist/react/folder-tree/FolderTreeRail.js.map +1 -1
- package/dist/react/folder-tree/NewFolderControl.d.ts +1 -1
- package/dist/react/folder-tree/NewFolderControl.d.ts.map +1 -1
- package/dist/react/folder-tree/NewFolderControl.js +3 -3
- package/dist/react/folder-tree/NewFolderControl.js.map +1 -1
- package/dist/react/hooks/DragHandleIcon.d.ts +1 -1
- package/dist/react/hooks/DragHandleIcon.d.ts.map +1 -1
- package/dist/react/hooks/DragHandleIcon.js +2 -2
- package/dist/react/hooks/DragHandleIcon.js.map +1 -1
- package/dist/react/hooks/usePaletteDrag.d.ts.map +1 -1
- package/dist/react/hooks/usePaletteDrag.js +1 -0
- package/dist/react/hooks/usePaletteDrag.js.map +1 -1
- package/dist/react/icons.d.ts +1 -1
- package/dist/react/icons.d.ts.map +1 -1
- package/dist/react/icons.js +3 -3
- package/dist/react/icons.js.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +1 -0
- package/dist/react/index.js.map +1 -1
- package/dist/react/keep-awake/KeepAwake.d.ts.map +1 -1
- package/dist/react/keep-awake/KeepAwake.js +1 -0
- package/dist/react/keep-awake/KeepAwake.js.map +1 -1
- package/dist/react/layout/CCResizeBoundary.d.ts +1 -1
- package/dist/react/layout/CCResizeBoundary.d.ts.map +1 -1
- package/dist/react/layout/CCResizeBoundary.js +2 -2
- package/dist/react/layout/CCResizeBoundary.js.map +1 -1
- package/dist/react/layoutEngine/LayoutCanvas.d.ts +1 -1
- package/dist/react/layoutEngine/LayoutCanvas.d.ts.map +1 -1
- package/dist/react/layoutEngine/LayoutCanvas.js +5 -5
- package/dist/react/layoutEngine/LayoutCanvas.js.map +1 -1
- package/dist/react/layoutEngine/LayoutConfigDialog.d.ts +1 -1
- package/dist/react/layoutEngine/LayoutConfigDialog.d.ts.map +1 -1
- package/dist/react/layoutEngine/LayoutConfigDialog.js +2 -2
- package/dist/react/layoutEngine/LayoutConfigDialog.js.map +1 -1
- package/dist/react/layoutEngine/LayoutRenderer.d.ts +1 -1
- package/dist/react/layoutEngine/LayoutRenderer.d.ts.map +1 -1
- package/dist/react/layoutEngine/LayoutRenderer.js +2 -2
- package/dist/react/layoutEngine/LayoutRenderer.js.map +1 -1
- package/dist/react/layoutEngine/NodeInspector.d.ts +1 -1
- package/dist/react/layoutEngine/NodeInspector.d.ts.map +1 -1
- package/dist/react/layoutEngine/NodeInspector.js +2 -2
- package/dist/react/layoutEngine/NodeInspector.js.map +1 -1
- package/dist/react/layoutEngine/SuggestPanel.d.ts +1 -1
- package/dist/react/layoutEngine/SuggestPanel.d.ts.map +1 -1
- package/dist/react/layoutEngine/SuggestPanel.js +2 -2
- package/dist/react/layoutEngine/SuggestPanel.js.map +1 -1
- package/dist/react/lib/daypicker.js.map +1 -1
- package/dist/react/look/AppearanceFields.d.ts +1 -1
- package/dist/react/look/AppearanceFields.d.ts.map +1 -1
- package/dist/react/look/AppearanceFields.js +2 -2
- package/dist/react/look/AppearanceFields.js.map +1 -1
- package/dist/react/look/AppearancePanel.d.ts +1 -1
- package/dist/react/look/AppearancePanel.d.ts.map +1 -1
- package/dist/react/look/AppearancePanel.js +2 -2
- package/dist/react/look/AppearancePanel.js.map +1 -1
- package/dist/react/look/AppearanceSheet.d.ts +1 -1
- package/dist/react/look/AppearanceSheet.d.ts.map +1 -1
- package/dist/react/look/AppearanceSheet.js +2 -2
- package/dist/react/look/AppearanceSheet.js.map +1 -1
- package/dist/react/look/AppearanceSheetPanel.d.ts +1 -1
- package/dist/react/look/AppearanceSheetPanel.d.ts.map +1 -1
- package/dist/react/look/AppearanceSheetPanel.js +2 -2
- package/dist/react/look/AppearanceSheetPanel.js.map +1 -1
- package/dist/react/look/LookPicker.d.ts +1 -1
- package/dist/react/look/LookPicker.d.ts.map +1 -1
- package/dist/react/look/LookPicker.js +2 -2
- package/dist/react/look/LookPicker.js.map +1 -1
- package/dist/react/markdown/Markdown.d.ts +1 -1
- package/dist/react/markdown/Markdown.d.ts.map +1 -1
- package/dist/react/markdown/Markdown.js +2 -2
- package/dist/react/markdown/Markdown.js.map +1 -1
- package/dist/react/markdown/MarkdownDoc.d.ts +1 -1
- package/dist/react/markdown/MarkdownDoc.d.ts.map +1 -1
- package/dist/react/markdown/MarkdownDoc.js +2 -2
- package/dist/react/markdown/MarkdownDoc.js.map +1 -1
- package/dist/react/master-detail/DetailPane.d.ts +4 -4
- package/dist/react/master-detail/DetailPane.d.ts.map +1 -1
- package/dist/react/master-detail/DetailPane.js +8 -8
- package/dist/react/master-detail/DetailPane.js.map +1 -1
- package/dist/react/master-detail/MasterDetail.d.ts +13 -1
- package/dist/react/master-detail/MasterDetail.d.ts.map +1 -1
- package/dist/react/master-detail/MasterDetail.js +5 -5
- package/dist/react/master-detail/MasterDetail.js.map +1 -1
- package/dist/react/master-lock/MasterLockDialog.d.ts +1 -1
- package/dist/react/master-lock/MasterLockDialog.d.ts.map +1 -1
- package/dist/react/master-lock/MasterLockDialog.js +2 -2
- package/dist/react/master-lock/MasterLockDialog.js.map +1 -1
- package/dist/react/master-lock/MasterLockProvider.d.ts +1 -1
- package/dist/react/master-lock/MasterLockProvider.d.ts.map +1 -1
- package/dist/react/master-lock/MasterLockProvider.js +3 -2
- package/dist/react/master-lock/MasterLockProvider.js.map +1 -1
- package/dist/react/media/AutoMaskControls.d.ts +1 -1
- package/dist/react/media/AutoMaskControls.d.ts.map +1 -1
- package/dist/react/media/AutoMaskControls.js +2 -2
- package/dist/react/media/AutoMaskControls.js.map +1 -1
- package/dist/react/media/BrushSizeSlider.d.ts +1 -1
- package/dist/react/media/BrushSizeSlider.d.ts.map +1 -1
- package/dist/react/media/BrushSizeSlider.js +2 -2
- package/dist/react/media/BrushSizeSlider.js.map +1 -1
- package/dist/react/media/CanvasVideoPlayer.d.ts +1 -1
- package/dist/react/media/CanvasVideoPlayer.d.ts.map +1 -1
- package/dist/react/media/CanvasVideoPlayer.js +2 -2
- package/dist/react/media/CanvasVideoPlayer.js.map +1 -1
- package/dist/react/media/DenseGalleryShell.d.ts +2 -2
- package/dist/react/media/DenseGalleryShell.d.ts.map +1 -1
- package/dist/react/media/DenseGalleryShell.js +4 -4
- package/dist/react/media/DenseGalleryShell.js.map +1 -1
- package/dist/react/media/FocusViewer.d.ts +1 -1
- package/dist/react/media/FocusViewer.d.ts.map +1 -1
- package/dist/react/media/FocusViewer.js +2 -2
- package/dist/react/media/FocusViewer.js.map +1 -1
- package/dist/react/media/FrameGrabber.d.ts +1 -1
- package/dist/react/media/FrameGrabber.d.ts.map +1 -1
- package/dist/react/media/FrameGrabber.js +2 -2
- package/dist/react/media/FrameGrabber.js.map +1 -1
- package/dist/react/media/HoverScrubVideoThumb.d.ts +1 -1
- package/dist/react/media/HoverScrubVideoThumb.d.ts.map +1 -1
- package/dist/react/media/HoverScrubVideoThumb.js +3 -3
- package/dist/react/media/HoverScrubVideoThumb.js.map +1 -1
- package/dist/react/media/ImageEditor.d.ts +1 -1
- package/dist/react/media/ImageEditor.d.ts.map +1 -1
- package/dist/react/media/ImageEditor.js +3 -3
- package/dist/react/media/ImageEditor.js.map +1 -1
- package/dist/react/media/MaskPainter.d.ts +1 -1
- package/dist/react/media/MaskPainter.d.ts.map +1 -1
- package/dist/react/media/MaskPainter.js +2 -2
- package/dist/react/media/MaskPainter.js.map +1 -1
- package/dist/react/media/MediaCatalogueViewer.d.ts +1 -1
- package/dist/react/media/MediaCatalogueViewer.d.ts.map +1 -1
- package/dist/react/media/MediaCatalogueViewer.js +2 -2
- package/dist/react/media/MediaCatalogueViewer.js.map +1 -1
- package/dist/react/media/MediaCell.d.ts +1 -1
- package/dist/react/media/MediaCell.d.ts.map +1 -1
- package/dist/react/media/MediaCell.js +2 -2
- package/dist/react/media/MediaCell.js.map +1 -1
- package/dist/react/media/MediaLightbox.d.ts +1 -1
- package/dist/react/media/MediaLightbox.d.ts.map +1 -1
- package/dist/react/media/MediaLightbox.js +2 -2
- package/dist/react/media/MediaLightbox.js.map +1 -1
- package/dist/react/media/MediaResize.d.ts +2 -2
- package/dist/react/media/MediaResize.d.ts.map +1 -1
- package/dist/react/media/MediaResize.js +4 -4
- package/dist/react/media/MediaResize.js.map +1 -1
- package/dist/react/media/MediaThumb.d.ts +1 -1
- package/dist/react/media/MediaThumb.d.ts.map +1 -1
- package/dist/react/media/MediaThumb.js +3 -3
- package/dist/react/media/MediaThumb.js.map +1 -1
- package/dist/react/media/MediaUploadControl.d.ts +1 -1
- package/dist/react/media/MediaUploadControl.d.ts.map +1 -1
- package/dist/react/media/MediaUploadControl.js +2 -2
- package/dist/react/media/MediaUploadControl.js.map +1 -1
- package/dist/react/media/PictureControls.d.ts +1 -1
- package/dist/react/media/PictureControls.d.ts.map +1 -1
- package/dist/react/media/PictureControls.js +2 -2
- package/dist/react/media/PictureControls.js.map +1 -1
- package/dist/react/media/PictureEditor.d.ts +1 -1
- package/dist/react/media/PictureEditor.d.ts.map +1 -1
- package/dist/react/media/PictureEditor.js +2 -2
- package/dist/react/media/PictureEditor.js.map +1 -1
- package/dist/react/media/PlayerStrip.d.ts +1 -1
- package/dist/react/media/PlayerStrip.d.ts.map +1 -1
- package/dist/react/media/PlayerStrip.js +3 -3
- package/dist/react/media/PlayerStrip.js.map +1 -1
- package/dist/react/media/TrimRangeSlider.d.ts +1 -1
- package/dist/react/media/TrimRangeSlider.d.ts.map +1 -1
- package/dist/react/media/TrimRangeSlider.js +2 -2
- package/dist/react/media/TrimRangeSlider.js.map +1 -1
- package/dist/react/media/VideoChapterEditor.d.ts +1 -1
- package/dist/react/media/VideoChapterEditor.d.ts.map +1 -1
- package/dist/react/media/VideoChapterEditor.js +2 -2
- package/dist/react/media/VideoChapterEditor.js.map +1 -1
- package/dist/react/media/VideoCutEditor.d.ts +1 -1
- package/dist/react/media/VideoCutEditor.d.ts.map +1 -1
- package/dist/react/media/VideoCutEditor.js +2 -2
- package/dist/react/media/VideoCutEditor.js.map +1 -1
- package/dist/react/media/VideoPlayer.d.ts +2 -2
- package/dist/react/media/VideoPlayer.d.ts.map +1 -1
- package/dist/react/media/VideoPlayer.js +4 -4
- package/dist/react/media/VideoPlayer.js.map +1 -1
- package/dist/react/media/VideoSlideContent.d.ts +1 -1
- package/dist/react/media/VideoSlideContent.d.ts.map +1 -1
- package/dist/react/media/VideoSlideContent.js +2 -2
- package/dist/react/media/VideoSlideContent.js.map +1 -1
- package/dist/react/media/VideoTrimmer.d.ts +1 -1
- package/dist/react/media/VideoTrimmer.d.ts.map +1 -1
- package/dist/react/media/VideoTrimmer.js +2 -2
- package/dist/react/media/VideoTrimmer.js.map +1 -1
- package/dist/react/media/VideoTurner.d.ts +1 -1
- package/dist/react/media/VideoTurner.d.ts.map +1 -1
- package/dist/react/media/VideoTurner.js +2 -2
- package/dist/react/media/VideoTurner.js.map +1 -1
- package/dist/react/media/VirtualizedRows.d.ts +1 -1
- package/dist/react/media/VirtualizedRows.d.ts.map +1 -1
- package/dist/react/media/VirtualizedRows.js +2 -2
- package/dist/react/media/VirtualizedRows.js.map +1 -1
- package/dist/react/media/WaveformStrip.d.ts +1 -1
- package/dist/react/media/WaveformStrip.d.ts.map +1 -1
- package/dist/react/media/WaveformStrip.js +2 -2
- package/dist/react/media/WaveformStrip.js.map +1 -1
- package/dist/react/media/sourceFault.d.ts +1 -1
- package/dist/react/media/sourceFault.d.ts.map +1 -1
- package/dist/react/media/sourceFault.js +2 -2
- package/dist/react/media/sourceFault.js.map +1 -1
- package/dist/react/media-gallery/GalleryTable.d.ts +1 -1
- package/dist/react/media-gallery/GalleryTable.d.ts.map +1 -1
- package/dist/react/media-gallery/GalleryTable.js +2 -2
- package/dist/react/media-gallery/GalleryTable.js.map +1 -1
- package/dist/react/media-gallery/MediaGallery.d.ts +1 -1
- package/dist/react/media-gallery/MediaGallery.d.ts.map +1 -1
- package/dist/react/media-gallery/MediaGallery.js +3 -3
- package/dist/react/media-gallery/MediaGallery.js.map +1 -1
- package/dist/react/media-gallery/MediaMetaEditor.d.ts +1 -1
- package/dist/react/media-gallery/MediaMetaEditor.d.ts.map +1 -1
- package/dist/react/media-gallery/MediaMetaEditor.js +2 -2
- package/dist/react/media-gallery/MediaMetaEditor.js.map +1 -1
- package/dist/react/media-gallery/galleryItemMedia.d.ts +1 -1
- package/dist/react/media-gallery/galleryItemMedia.d.ts.map +1 -1
- package/dist/react/media-gallery/galleryItemMedia.js +2 -2
- package/dist/react/media-gallery/galleryItemMedia.js.map +1 -1
- package/dist/react/namespace/NamespaceTargetCapsule.d.ts +1 -1
- package/dist/react/namespace/NamespaceTargetCapsule.d.ts.map +1 -1
- package/dist/react/namespace/NamespaceTargetCapsule.js +2 -2
- package/dist/react/namespace/NamespaceTargetCapsule.js.map +1 -1
- package/dist/react/nav/BreadcrumbMenus.d.ts +2 -2
- package/dist/react/nav/BreadcrumbMenus.d.ts.map +1 -1
- package/dist/react/nav/BreadcrumbMenus.js +6 -4
- package/dist/react/nav/BreadcrumbMenus.js.map +1 -1
- package/dist/react/nav/BreadcrumbPivot.d.ts +1 -1
- package/dist/react/nav/BreadcrumbPivot.d.ts.map +1 -1
- package/dist/react/nav/BreadcrumbPivot.js +2 -2
- package/dist/react/nav/BreadcrumbPivot.js.map +1 -1
- package/dist/react/nav/BreadcrumbProvider.d.ts.map +1 -1
- package/dist/react/nav/BreadcrumbProvider.js +2 -0
- package/dist/react/nav/BreadcrumbProvider.js.map +1 -1
- package/dist/react/nav/BreadcrumbTrail.d.ts +1 -1
- package/dist/react/nav/BreadcrumbTrail.d.ts.map +1 -1
- package/dist/react/nav/BreadcrumbTrail.js +5 -3
- package/dist/react/nav/BreadcrumbTrail.js.map +1 -1
- package/dist/react/nav/Breadcrumbs.d.ts +3 -3
- package/dist/react/nav/Breadcrumbs.d.ts.map +1 -1
- package/dist/react/nav/Breadcrumbs.js +6 -6
- package/dist/react/nav/Breadcrumbs.js.map +1 -1
- package/dist/react/nav/ColorSwatchGrid.d.ts +1 -1
- package/dist/react/nav/ColorSwatchGrid.d.ts.map +1 -1
- package/dist/react/nav/ColorSwatchGrid.js +2 -2
- package/dist/react/nav/ColorSwatchGrid.js.map +1 -1
- package/dist/react/nav/CommandBar.d.ts +1 -1
- package/dist/react/nav/CommandBar.d.ts.map +1 -1
- package/dist/react/nav/CommandBar.js +2 -2
- package/dist/react/nav/CommandBar.js.map +1 -1
- package/dist/react/nav/HeaderSearch.d.ts +1 -1
- package/dist/react/nav/HeaderSearch.d.ts.map +1 -1
- package/dist/react/nav/HeaderSearch.js +2 -2
- package/dist/react/nav/HeaderSearch.js.map +1 -1
- package/dist/react/nav/HubTileGrid.d.ts +1 -1
- package/dist/react/nav/HubTileGrid.d.ts.map +1 -1
- package/dist/react/nav/HubTileGrid.js +2 -2
- package/dist/react/nav/HubTileGrid.js.map +1 -1
- package/dist/react/nav/NavColorPicker.d.ts +1 -1
- package/dist/react/nav/NavColorPicker.d.ts.map +1 -1
- package/dist/react/nav/NavColorPicker.js +2 -2
- package/dist/react/nav/NavColorPicker.js.map +1 -1
- package/dist/react/nav/NavItemMenu.d.ts +1 -1
- package/dist/react/nav/NavItemMenu.d.ts.map +1 -1
- package/dist/react/nav/NavItemMenu.js +2 -2
- package/dist/react/nav/NavItemMenu.js.map +1 -1
- package/dist/react/nav/PlaceBar.d.ts +4 -4
- package/dist/react/nav/PlaceBar.d.ts.map +1 -1
- package/dist/react/nav/PlaceBar.js +14 -9
- package/dist/react/nav/PlaceBar.js.map +1 -1
- package/dist/react/nav/RailPlaces.d.ts +48 -0
- package/dist/react/nav/RailPlaces.d.ts.map +1 -0
- package/dist/react/nav/RailPlaces.js +51 -0
- package/dist/react/nav/RailPlaces.js.map +1 -0
- package/dist/react/nav/SearchResults.d.ts +1 -1
- package/dist/react/nav/SearchResults.d.ts.map +1 -1
- package/dist/react/nav/SearchResults.js +3 -3
- package/dist/react/nav/SearchResults.js.map +1 -1
- package/dist/react/nav/SideNav.d.ts +4 -4
- package/dist/react/nav/SideNav.d.ts.map +1 -1
- package/dist/react/nav/SideNav.js +5 -4
- package/dist/react/nav/SideNav.js.map +1 -1
- package/dist/react/nav/SideNavCustomize.d.ts +3 -3
- package/dist/react/nav/SideNavCustomize.d.ts.map +1 -1
- package/dist/react/nav/SideNavCustomize.js +6 -6
- package/dist/react/nav/SideNavCustomize.js.map +1 -1
- package/dist/react/nav/TopBar.d.ts +7 -2
- package/dist/react/nav/TopBar.d.ts.map +1 -1
- package/dist/react/nav/TopBar.js +9 -4
- package/dist/react/nav/TopBar.js.map +1 -1
- package/dist/react/nav/index.d.ts +2 -1
- package/dist/react/nav/index.d.ts.map +1 -1
- package/dist/react/nav/index.js +2 -1
- package/dist/react/nav/index.js.map +1 -1
- package/dist/react/nav/navShared.d.ts +17 -1
- package/dist/react/nav/navShared.d.ts.map +1 -1
- package/dist/react/nav/navShared.js +13 -4
- package/dist/react/nav/navShared.js.map +1 -1
- package/dist/react/notifications/NotificationBell.d.ts +1 -1
- package/dist/react/notifications/NotificationBell.d.ts.map +1 -1
- package/dist/react/notifications/NotificationBell.js +2 -2
- package/dist/react/notifications/NotificationBell.js.map +1 -1
- package/dist/react/notifications/NotificationFeed.d.ts +1 -1
- package/dist/react/notifications/NotificationFeed.d.ts.map +1 -1
- package/dist/react/notifications/NotificationFeed.js +2 -2
- package/dist/react/notifications/NotificationFeed.js.map +1 -1
- package/dist/react/notifications/NotificationInbox.d.ts +1 -1
- package/dist/react/notifications/NotificationInbox.d.ts.map +1 -1
- package/dist/react/notifications/NotificationInbox.js +2 -2
- package/dist/react/notifications/NotificationInbox.js.map +1 -1
- package/dist/react/palette/CommandPalette.d.ts +1 -1
- package/dist/react/palette/CommandPalette.d.ts.map +1 -1
- package/dist/react/palette/CommandPalette.js +2 -2
- package/dist/react/palette/CommandPalette.js.map +1 -1
- package/dist/react/palette/Kbd.d.ts +1 -1
- package/dist/react/palette/Kbd.d.ts.map +1 -1
- package/dist/react/palette/Kbd.js +3 -3
- package/dist/react/palette/Kbd.js.map +1 -1
- package/dist/react/palette/ShortcutSheet.d.ts +1 -1
- package/dist/react/palette/ShortcutSheet.d.ts.map +1 -1
- package/dist/react/palette/ShortcutSheet.js +2 -2
- package/dist/react/palette/ShortcutSheet.js.map +1 -1
- package/dist/react/palette/commandSources.d.ts.map +1 -1
- package/dist/react/palette/commandSources.js +1 -0
- package/dist/react/palette/commandSources.js.map +1 -1
- package/dist/react/pdf-viewer/PdfPage.d.ts +1 -1
- package/dist/react/pdf-viewer/PdfPage.d.ts.map +1 -1
- package/dist/react/pdf-viewer/PdfPage.js +2 -2
- package/dist/react/pdf-viewer/PdfPage.js.map +1 -1
- package/dist/react/pdf-viewer/PdfViewer.d.ts +1 -1
- package/dist/react/pdf-viewer/PdfViewer.d.ts.map +1 -1
- package/dist/react/pdf-viewer/PdfViewer.js +5 -5
- package/dist/react/pdf-viewer/PdfViewer.js.map +1 -1
- package/dist/react/portal/CCPortalProvider.d.ts.map +1 -1
- package/dist/react/portal/CCPortalProvider.js +1 -0
- package/dist/react/portal/CCPortalProvider.js.map +1 -1
- package/dist/react/problem-detail/ProblemDetailView.d.ts +1 -1
- package/dist/react/problem-detail/ProblemDetailView.d.ts.map +1 -1
- package/dist/react/problem-detail/ProblemDetailView.js +2 -2
- package/dist/react/problem-detail/ProblemDetailView.js.map +1 -1
- package/dist/react/rich-text/RichTextEditor.d.ts.map +1 -1
- package/dist/react/rich-text/RichTextEditor.js +2 -2
- package/dist/react/rich-text/RichTextEditor.js.map +1 -1
- package/dist/react/rich-text/RichTextToolbar.d.ts +1 -1
- package/dist/react/rich-text/RichTextToolbar.d.ts.map +1 -1
- package/dist/react/rich-text/RichTextToolbar.js +2 -2
- package/dist/react/rich-text/RichTextToolbar.js.map +1 -1
- package/dist/react/sharing/SharePanel.d.ts +1 -1
- package/dist/react/sharing/SharePanel.d.ts.map +1 -1
- package/dist/react/sharing/SharePanel.js +2 -2
- package/dist/react/sharing/SharePanel.js.map +1 -1
- package/dist/react/slots/Slot.d.ts.map +1 -1
- package/dist/react/slots/Slot.js +1 -0
- package/dist/react/slots/Slot.js.map +1 -1
- package/dist/react/spreadsheet/SpreadsheetGrid.d.ts +1 -1
- package/dist/react/spreadsheet/SpreadsheetGrid.d.ts.map +1 -1
- package/dist/react/spreadsheet/SpreadsheetGrid.js +2 -2
- package/dist/react/spreadsheet/SpreadsheetGrid.js.map +1 -1
- package/dist/react/testReport/TestReportViewer.d.ts +1 -1
- package/dist/react/testReport/TestReportViewer.d.ts.map +1 -1
- package/dist/react/testReport/TestReportViewer.js +5 -5
- package/dist/react/testReport/TestReportViewer.js.map +1 -1
- package/dist/react/uiScale/UiScaleControl.d.ts +1 -1
- package/dist/react/uiScale/UiScaleControl.d.ts.map +1 -1
- package/dist/react/uiScale/UiScaleControl.js +2 -2
- package/dist/react/uiScale/UiScaleControl.js.map +1 -1
- package/dist/react/workbook-viewer/WorkbookViewer.d.ts +1 -1
- package/dist/react/workbook-viewer/WorkbookViewer.d.ts.map +1 -1
- package/dist/react/workbook-viewer/WorkbookViewer.js +5 -5
- package/dist/react/workbook-viewer/WorkbookViewer.js.map +1 -1
- package/dist/scripts/guardrailsEnforce.d.ts.map +1 -1
- package/dist/styles-areas/analytics.css +9 -9
- package/dist/styles-areas/canvas-hud.css +3 -2
- package/dist/styles-areas/core.css +13 -13
- package/dist/styles-areas/data-table.css +9 -9
- package/dist/styles-areas/filter-rail.css +2 -2
- package/dist/styles-areas/nav.css +7 -7
- package/dist/styles-areas/stats.css +20 -13
- package/dist/styles-utilities.css +21 -0
- package/dist/testing/designAudit.d.ts +1 -1
- package/dist/testing/designAudit.d.ts.map +1 -1
- package/dist/testing/designAudit.js +29 -0
- package/dist/testing/designAudit.js.map +1 -1
- package/dist/theme.css +3 -0
- package/package.json +4 -1
- package/scripts/attributesForwarded.spec.ts +45 -0
- package/scripts/attributesForwarded.ts +172 -0
- package/scripts/guardrailsEnforce.spec.ts +28 -0
- package/scripts/guardrailsEnforce.ts +40 -0
- package/scripts/styleAreas.ts +1 -0
- package/src/react/AuthGate.tsx +1 -0
- package/src/react/activity-bar/ActivityBar.tsx +2 -0
- package/src/react/analytics/MetricDrilldown.tsx +2 -0
- package/src/react/analytics/RangeTabs.tsx +2 -1
- package/src/react/canvas-hud/AlignmentGuides.tsx +95 -0
- package/src/react/canvas-hud/CanvasMinimap.tsx +2 -0
- package/src/react/canvas-hud/CanvasNodeMenu.tsx +2 -0
- package/src/react/canvas-hud/CanvasSearchField.tsx +2 -1
- package/src/react/canvas-hud/HudControls.tsx +6 -2
- package/src/react/canvas-hud/alignment.spec.tsx +149 -0
- package/src/react/canvas-hud/alignment.ts +143 -0
- package/src/react/canvas-hud/index.ts +6 -1
- package/src/react/charts/AreaChart.tsx +2 -1
- package/src/react/charts/BarChart.tsx +21 -3
- package/src/react/charts/ChartCard.tsx +2 -1
- package/src/react/charts/ChartFrame.tsx +2 -1
- package/src/react/charts/ChartLegend.tsx +2 -1
- package/src/react/charts/ChartTooltip.tsx +2 -0
- package/src/react/charts/HeatmapChart.tsx +2 -1
- package/src/react/charts/IntervalTimeline.tsx +3 -1
- package/src/react/charts/LineChart.tsx +2 -1
- package/src/react/charts/PieChart.tsx +2 -1
- package/src/react/charts/RadialBarChart.tsx +2 -1
- package/src/react/charts/Sparkline.tsx +2 -0
- package/src/react/charts/TimeSeriesChart.tsx +3 -2
- package/src/react/charts/Treemap.tsx +2 -1
- package/src/react/chat/Bubble.tsx +3 -0
- package/src/react/chat/DateMarker.tsx +2 -1
- package/src/react/chat/MessageComposer.tsx +2 -0
- package/src/react/chat/MessageRow.tsx +3 -0
- package/src/react/chat/MessageScroller.tsx +2 -1
- package/src/react/chat/MessageThread.tsx +2 -1
- package/src/react/chat/PresenceRoster.tsx +2 -2
- package/src/react/chat/StatusMarker.tsx +2 -1
- package/src/react/code-editor/CodeEditor.tsx +2 -0
- package/src/react/companion-link/CompanionLinkBar.tsx +13 -3
- package/src/react/companion-link/CompanionLinkStatus.tsx +3 -3
- package/src/react/companion-link/StaleMirrorBanner.tsx +2 -2
- package/src/react/components/Accordion.tsx +2 -1
- package/src/react/components/ActionBar.tsx +10 -7
- package/src/react/components/ActionGroup.tsx +2 -0
- package/src/react/components/ActionsHelp.tsx +2 -2
- package/src/react/components/AddItemsMenu.tsx +2 -0
- package/src/react/components/Alert.spec.tsx +11 -0
- package/src/react/components/Alert.tsx +2 -0
- package/src/react/components/AmbientBackdrop.tsx +2 -0
- package/src/react/components/AppShell.spec.tsx +30 -0
- package/src/react/components/AppShell.tsx +46 -6
- package/src/react/components/AsyncPanel.tsx +5 -3
- package/src/react/components/Autocomplete.tsx +18 -2
- package/src/react/components/Avatar.tsx +3 -2
- package/src/react/components/AvatarStack.tsx +2 -2
- package/src/react/components/BannerLane.tsx +2 -1
- package/src/react/components/BuildFreshness.tsx +8 -5
- package/src/react/components/ButtonLink.tsx +2 -0
- package/src/react/components/CardDisplayControls.spec.tsx +9 -0
- package/src/react/components/CardDisplayControls.tsx +9 -2
- package/src/react/components/ChartTablePanel.tsx +2 -0
- package/src/react/components/ChipFilterStrip.tsx +2 -1
- package/src/react/components/ChoiceGroup.tsx +2 -1
- package/src/react/components/ChoiceMenu.tsx +2 -0
- package/src/react/components/CodeArea.tsx +2 -0
- package/src/react/components/CodeFieldInput.tsx +2 -1
- package/src/react/components/Collapsible.tsx +2 -0
- package/src/react/components/ColorField.tsx +2 -0
- package/src/react/components/ColorSwatches.tsx +2 -1
- package/src/react/components/ComboboxField.tsx +7 -0
- package/src/react/components/CommentThread.tsx +2 -1
- package/src/react/components/ConfirmDialog.tsx +2 -0
- package/src/react/components/ConnectionHealer.tsx +8 -3
- package/src/react/components/ControlPanel.tsx +5 -4
- package/src/react/components/CopyButton.tsx +2 -0
- package/src/react/components/CopyableText.tsx +3 -1
- package/src/react/components/DataTable/CardView.tsx +2 -1
- package/src/react/components/DataTable/ColumnChecklist.tsx +2 -1
- package/src/react/components/DataTable/DataTable.tsx +2 -1
- package/src/react/components/DataTable/Pagination.tsx +2 -2
- package/src/react/components/DataTable/RowActions.tsx +2 -0
- package/src/react/components/DataTable/SearchBox.tsx +15 -17
- package/src/react/components/DataTable/SortHeader.tsx +7 -4
- package/src/react/components/DataTable/SortStack.tsx +2 -0
- package/src/react/components/DataTable/TableFilterBuilder.tsx +2 -0
- package/src/react/components/DataTable/TableViewToggle.tsx +2 -1
- package/src/react/components/DataTable/Toolbar.tsx +2 -1
- package/src/react/components/DataTable/ViewOptionsMenu.tsx +2 -1
- package/src/react/components/DataTable/cells/CellRenderer.tsx +6 -2
- package/src/react/components/DataTable/cells/CodeCell.tsx +2 -1
- package/src/react/components/DataTable/cells/LinkCell.tsx +2 -1
- package/src/react/components/DataTable/cells/PasswordCell.tsx +2 -2
- package/src/react/components/DatePicker.tsx +2 -0
- package/src/react/components/DateRangePicker.tsx +2 -0
- package/src/react/components/DateTimeField.tsx +2 -1
- package/src/react/components/DiscardConfirmDialog.tsx +2 -0
- package/src/react/components/DisclosureButton.tsx +4 -1
- package/src/react/components/DragHandle.tsx +2 -1
- package/src/react/components/Drawer.tsx +2 -0
- package/src/react/components/DropIndicator.tsx +3 -3
- package/src/react/components/DropSlot.tsx +2 -1
- package/src/react/components/DropdownMenu.tsx +2 -0
- package/src/react/components/EditorPage.tsx +4 -2
- package/src/react/components/ElsewhereNotice.tsx +2 -0
- package/src/react/components/EmojiField.tsx +2 -0
- package/src/react/components/EmptyState.tsx +2 -0
- package/src/react/components/EnvCompare.tsx +3 -1
- package/src/react/components/EnvEditor.tsx +2 -0
- package/src/react/components/ErrorBoundary.tsx +3 -3
- package/src/react/components/ErrorCard.tsx +2 -0
- package/src/react/components/EventTimeline.tsx +2 -2
- package/src/react/components/ExpandableRow.tsx +2 -0
- package/src/react/components/ExternalLink.tsx +4 -2
- package/src/react/components/Field.tsx +2 -0
- package/src/react/components/FieldGrid.tsx +2 -1
- package/src/react/components/FileActions.tsx +2 -2
- package/src/react/components/FileDropZone.tsx +2 -0
- package/src/react/components/FileLocation.tsx +2 -0
- package/src/react/components/FileTypeIcon.tsx +2 -0
- package/src/react/components/FindingsList.tsx +3 -1
- package/src/react/components/FormPreviewLayout.tsx +2 -1
- package/src/react/components/Guide.tsx +4 -4
- package/src/react/components/Heat.spec.tsx +136 -0
- package/src/react/components/Heat.tsx +249 -0
- package/src/react/components/HoverCard.tsx +2 -0
- package/src/react/components/IconPicker.tsx +2 -1
- package/src/react/components/ImpactDialog.tsx +2 -0
- package/src/react/components/InfoHintImpl.tsx +2 -0
- package/src/react/components/InheritBadge.tsx +2 -1
- package/src/react/components/InlineEditableText.tsx +6 -3
- package/src/react/components/IsolatedFrame.tsx +4 -3
- package/src/react/components/JsonEditor.tsx +2 -0
- package/src/react/components/KanbanBoard.tsx +2 -1
- package/src/react/components/KeyBadge.tsx +16 -12
- package/src/react/components/Lightbox.tsx +2 -1
- package/src/react/components/ListToolbar.tsx +2 -0
- package/src/react/components/LogViewer.tsx +2 -1
- package/src/react/components/Menu.tsx +7 -5
- package/src/react/components/MeterList.tsx +12 -7
- package/src/react/components/Modal.tsx +2 -0
- package/src/react/components/MultiSelectField.tsx +2 -0
- package/src/react/components/OnlineDot.tsx +2 -2
- package/src/react/components/OtpInput.tsx +2 -1
- package/src/react/components/Page.spec.tsx +1 -0
- package/src/react/components/Page.tsx +10 -0
- package/src/react/components/PageGuideButton.tsx +3 -2
- package/src/react/components/PageGuidePopover.tsx +2 -1
- package/src/react/components/PanelGrid.tsx +3 -1
- package/src/react/components/PanelSeparator.tsx +2 -0
- package/src/react/components/PathText.tsx +2 -0
- package/src/react/components/PointerDrag.tsx +2 -1
- package/src/react/components/Popover.tsx +4 -2
- package/src/react/components/Progress.tsx +4 -0
- package/src/react/components/PromptDialog.tsx +2 -0
- package/src/react/components/PropertyPicker.tsx +7 -0
- package/src/react/components/QueryBoundary.tsx +1 -0
- package/src/react/components/RatingField.tsx +2 -0
- package/src/react/components/ReactionBar.tsx +2 -2
- package/src/react/components/ReactionPicker.tsx +2 -1
- package/src/react/components/RenderField.tsx +2 -1
- package/src/react/components/ResponsiveWorkbench.tsx +2 -1
- package/src/react/components/RevealAction.tsx +3 -1
- package/src/react/components/SaveIndicator.tsx +2 -2
- package/src/react/components/SearchInput.spec.tsx +11 -5
- package/src/react/components/SearchInput.tsx +10 -3
- package/src/react/components/SecretInput.tsx +2 -0
- package/src/react/components/SectionNav.tsx +2 -2
- package/src/react/components/SegmentedControl.tsx +2 -1
- package/src/react/components/SelectFieldImpl.tsx +2 -0
- package/src/react/components/SelectionBar.tsx +2 -1
- package/src/react/components/SettingsStrip.tsx +2 -2
- package/src/react/components/SheetTabStrip.tsx +27 -10
- package/src/react/components/Skeleton.tsx +10 -9
- package/src/react/components/Slider.tsx +4 -0
- package/src/react/components/SliderField.tsx +2 -0
- package/src/react/components/Sparkline.tsx +2 -1
- package/src/react/components/Spinner.tsx +2 -1
- package/src/react/components/SplitButton.tsx +2 -1
- package/src/react/components/SplitPane.tsx +2 -0
- package/src/react/components/StarRating.tsx +4 -2
- package/src/react/components/StatStrip.tsx +8 -1
- package/src/react/components/StatTile.tsx +2 -1
- package/src/react/components/StatTileGrid.tsx +2 -1
- package/src/react/components/SwatchPicker.tsx +2 -0
- package/src/react/components/Tabs.tsx +2 -0
- package/src/react/components/TagStrip.tsx +2 -0
- package/src/react/components/TagsInput.tsx +2 -0
- package/src/react/components/ThresholdMeter.tsx +2 -1
- package/src/react/components/TooltipImpl.tsx +5 -3
- package/src/react/components/TreeView.tsx +2 -0
- package/src/react/components/Wizard/ReviewStep.tsx +2 -1
- package/src/react/components/Wizard/Stepper.tsx +2 -0
- package/src/react/components/Wizard/Wizard.tsx +2 -1
- package/src/react/components/attributesForwarded.spec.tsx +42 -0
- package/src/react/components/auth/AuthCard.tsx +2 -0
- package/src/react/components/auth/AuthForm.tsx +2 -1
- package/src/react/components/auth/LoginForm.tsx +2 -0
- package/src/react/components/auth/PasswordResetConfirm.tsx +2 -0
- package/src/react/components/auth/PasswordResetRequest.tsx +3 -1
- package/src/react/components/auth/PasswordSetFields.tsx +2 -0
- package/src/react/components/auth/PasswordStrengthMeter.tsx +2 -1
- package/src/react/components/auth/RegisterForm.tsx +2 -0
- package/src/react/components/auth/SetInitialPassword.tsx +2 -0
- package/src/react/components/auth/SignInCard.tsx +2 -1
- package/src/react/components/auth/SignupForm.tsx +2 -0
- package/src/react/components/auth/TotpEntry.tsx +2 -0
- package/src/react/components/auth/fields.tsx +4 -2
- package/src/react/components/calendar/CalendarLegend.tsx +2 -1
- package/src/react/components/calendar/DayAgenda.tsx +2 -1
- package/src/react/components/calendar/EventChip.tsx +2 -2
- package/src/react/components/calendar/MonthGrid.tsx +2 -1
- package/src/react/components/calendar/WeekView.tsx +2 -1
- package/src/react/components/fieldErrorText.tsx +2 -2
- package/src/react/components/filterChip.tsx +2 -1
- package/src/react/components/layout.tsx +3 -3
- package/src/react/components/sharing/RecipientAvatar.tsx +3 -1
- package/src/react/components/sharing/RecipientPicker.tsx +2 -1
- package/src/react/components/sharing/ShareDialog.tsx +11 -23
- package/src/react/components/sharing/ShareEditor.tsx +4 -1
- package/src/react/components/sharing/SharedWithUserDialog.tsx +2 -1
- package/src/react/dashboard-grid/DashboardGrid.tsx +2 -1
- package/src/react/dashboard-grid/WidgetFrame.tsx +2 -0
- package/src/react/deep-link/links.spec.ts +16 -2
- package/src/react/deep-link/links.ts +12 -3
- package/src/react/deep-link/useDeepLink.tsx +1 -0
- package/src/react/diff-viewer/DiffViewer.tsx +2 -0
- package/src/react/diff-viewer/TextComparePane.tsx +4 -2
- package/src/react/disk-usage/DiskUsageRulesEditor.tsx +2 -1
- package/src/react/disk-usage/DiskUsageScanControls.tsx +2 -1
- package/src/react/disk-usage/DiskUsageSummaryTiles.tsx +3 -1
- package/src/react/disk-usage/DiskUsageTree.tsx +2 -1
- package/src/react/emoji/EmojiAutocomplete.tsx +2 -1
- package/src/react/emoji/EmojiPicker.tsx +2 -0
- package/src/react/engagement/beacon.tsx +1 -0
- package/src/react/file-tree/FileTree.tsx +2 -0
- package/src/react/file-tree/FolderViewMenus.tsx +6 -4
- package/src/react/file-tree/FolderViewPanels.tsx +26 -16
- package/src/react/filter-rail/FilterRail.tsx +26 -4
- package/src/react/filter-rail/RailSection.tsx +3 -2
- package/src/react/filter-rail/railResize.tsx +2 -1
- package/src/react/folder-tree/FolderActionsMenu.tsx +2 -0
- package/src/react/folder-tree/FolderBreadcrumb.tsx +3 -1
- package/src/react/folder-tree/FolderPicker.tsx +2 -1
- package/src/react/folder-tree/FolderTreeRail.tsx +2 -1
- package/src/react/folder-tree/NewFolderControl.tsx +3 -1
- package/src/react/hooks/DragHandleIcon.tsx +2 -2
- package/src/react/hooks/usePaletteDrag.tsx +1 -0
- package/src/react/icons.tsx +3 -3
- package/src/react/index.ts +19 -0
- package/src/react/keep-awake/KeepAwake.tsx +1 -0
- package/src/react/layout/CCResizeBoundary.tsx +2 -2
- package/src/react/layoutEngine/LayoutCanvas.tsx +11 -3
- package/src/react/layoutEngine/LayoutConfigDialog.tsx +2 -0
- package/src/react/layoutEngine/LayoutRenderer.tsx +2 -1
- package/src/react/layoutEngine/NodeInspector.tsx +2 -1
- package/src/react/layoutEngine/SuggestPanel.tsx +2 -1
- package/src/react/lib/daypicker.tsx +1 -1
- package/src/react/look/AppearanceFields.tsx +2 -2
- package/src/react/look/AppearancePanel.tsx +2 -1
- package/src/react/look/AppearanceSheet.tsx +2 -2
- package/src/react/look/AppearanceSheetPanel.tsx +2 -2
- package/src/react/look/LookPicker.tsx +2 -1
- package/src/react/markdown/Markdown.tsx +2 -2
- package/src/react/markdown/MarkdownDoc.tsx +2 -2
- package/src/react/master-detail/DetailPane.tsx +8 -5
- package/src/react/master-detail/MasterDetail.tsx +14 -3
- package/src/react/master-lock/MasterLockDialog.tsx +2 -0
- package/src/react/master-lock/MasterLockProvider.tsx +3 -1
- package/src/react/media/AutoMaskControls.tsx +2 -0
- package/src/react/media/BrushSizeSlider.tsx +2 -2
- package/src/react/media/CanvasVideoPlayer.tsx +2 -0
- package/src/react/media/DenseGalleryShell.tsx +4 -1
- package/src/react/media/FocusViewer.tsx +2 -1
- package/src/react/media/FrameGrabber.tsx +2 -0
- package/src/react/media/HoverScrubVideoThumb.tsx +3 -0
- package/src/react/media/ImageEditor.tsx +3 -1
- package/src/react/media/MaskPainter.tsx +2 -0
- package/src/react/media/MediaCatalogueViewer.tsx +2 -1
- package/src/react/media/MediaCell.tsx +2 -1
- package/src/react/media/MediaLightbox.tsx +2 -1
- package/src/react/media/MediaResize.tsx +16 -4
- package/src/react/media/MediaThumb.tsx +3 -0
- package/src/react/media/MediaUploadControl.tsx +2 -1
- package/src/react/media/PictureControls.tsx +2 -1
- package/src/react/media/PictureEditor.tsx +2 -0
- package/src/react/media/PlayerStrip.tsx +3 -2
- package/src/react/media/TrimRangeSlider.tsx +2 -1
- package/src/react/media/VideoChapterEditor.tsx +2 -0
- package/src/react/media/VideoCutEditor.tsx +2 -0
- package/src/react/media/VideoPlayer.tsx +4 -0
- package/src/react/media/VideoSlideContent.tsx +2 -1
- package/src/react/media/VideoTrimmer.tsx +2 -0
- package/src/react/media/VideoTurner.tsx +2 -0
- package/src/react/media/VirtualizedRows.tsx +2 -0
- package/src/react/media/WaveformStrip.tsx +2 -1
- package/src/react/media/sourceFault.tsx +2 -1
- package/src/react/media-gallery/GalleryTable.tsx +2 -0
- package/src/react/media-gallery/MediaGallery.tsx +3 -0
- package/src/react/media-gallery/MediaMetaEditor.tsx +2 -0
- package/src/react/media-gallery/galleryItemMedia.tsx +2 -0
- package/src/react/namespace/NamespaceTargetCapsule.tsx +2 -0
- package/src/react/nav/BreadcrumbMenus.tsx +6 -0
- package/src/react/nav/BreadcrumbPivot.tsx +2 -1
- package/src/react/nav/BreadcrumbProvider.tsx +2 -0
- package/src/react/nav/BreadcrumbTrail.tsx +5 -0
- package/src/react/nav/Breadcrumbs.tsx +6 -0
- package/src/react/nav/ColorSwatchGrid.tsx +2 -1
- package/src/react/nav/CommandBar.tsx +2 -1
- package/src/react/nav/HeaderSearch.tsx +2 -1
- package/src/react/nav/HubTileGrid.tsx +2 -1
- package/src/react/nav/NavColorPicker.tsx +2 -0
- package/src/react/nav/NavItemMenu.tsx +2 -0
- package/src/react/nav/PlaceBar.tsx +24 -13
- package/src/react/nav/RailPlaces.spec.tsx +111 -0
- package/src/react/nav/RailPlaces.tsx +192 -0
- package/src/react/nav/SearchResults.tsx +3 -2
- package/src/react/nav/SideNav.tsx +13 -6
- package/src/react/nav/SideNavCustomize.tsx +6 -3
- package/src/react/nav/TopBar.tsx +9 -0
- package/src/react/nav/index.ts +5 -0
- package/src/react/nav/navShared.tsx +25 -0
- package/src/react/notifications/NotificationBell.tsx +2 -0
- package/src/react/notifications/NotificationFeed.tsx +2 -1
- package/src/react/notifications/NotificationInbox.tsx +2 -1
- package/src/react/palette/CommandPalette.tsx +2 -0
- package/src/react/palette/Kbd.tsx +3 -3
- package/src/react/palette/ShortcutSheet.tsx +2 -0
- package/src/react/palette/commandSources.tsx +1 -0
- package/src/react/pdf-viewer/PdfPage.tsx +2 -1
- package/src/react/pdf-viewer/PdfViewer.tsx +5 -2
- package/src/react/portal/CCPortalProvider.tsx +1 -0
- package/src/react/problem-detail/ProblemDetailView.tsx +2 -1
- package/src/react/rich-text/RichTextEditor.tsx +2 -0
- package/src/react/rich-text/RichTextToolbar.tsx +2 -2
- package/src/react/sharing/SharePanel.tsx +2 -1
- package/src/react/slots/Slot.tsx +1 -0
- package/src/react/spreadsheet/SpreadsheetGrid.tsx +2 -0
- package/src/react/testReport/TestReportViewer.tsx +5 -4
- package/src/react/uiScale/UiScaleControl.tsx +2 -1
- package/src/react/workbook-viewer/WorkbookViewer.tsx +5 -2
- package/src/styles-areas/analytics.css +9 -9
- package/src/styles-areas/canvas-hud.css +3 -2
- package/src/styles-areas/core.css +13 -13
- package/src/styles-areas/data-table.css +9 -9
- package/src/styles-areas/filter-rail.css +2 -2
- package/src/styles-areas/nav.css +7 -7
- package/src/styles-areas/stats.css +20 -13
- package/src/styles-utilities.css +21 -0
- package/src/testing/designAudit.ts +30 -0
- package/src/theme.css +3 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CNV-12 — alignment guides while dragging (forge task 3437). The owner asked for Mural's lines: as
|
|
3
|
+
* an item is dragged, a hairline shows when one of its edges or its middle lines up with another
|
|
4
|
+
* item's, and the item settles onto that line. Figma, Miro and Mural all draw the same thing.
|
|
5
|
+
*
|
|
6
|
+
* Pure — no React, no DOM — so a canvas built on React Flow (desk, arch) and one built on its own
|
|
7
|
+
* stage use the same rule, pinned by `alignment.spec.tsx`. Everything is in WORLD units; the caller
|
|
8
|
+
* turns its screen tolerance into world units by dividing by the view's scale, so the pull feels the
|
|
9
|
+
* same at every zoom.
|
|
10
|
+
*/
|
|
11
|
+
import type { CanvasBounds } from './viewport.js';
|
|
12
|
+
/** How close, in SCREEN pixels, an edge or a middle must come to another's before it snaps. */
|
|
13
|
+
export declare const ALIGNMENT_TOLERANCE = 6;
|
|
14
|
+
/**
|
|
15
|
+
* One line to draw. `axis: 'x'` is a VERTICAL line at `x = at`, running from `y = from` to
|
|
16
|
+
* `y = to`; `axis: 'y'` is a horizontal one at `y = at`, running along x.
|
|
17
|
+
*/
|
|
18
|
+
export interface AlignmentGuide {
|
|
19
|
+
axis: 'x' | 'y';
|
|
20
|
+
at: number;
|
|
21
|
+
from: number;
|
|
22
|
+
to: number;
|
|
23
|
+
}
|
|
24
|
+
export interface AlignmentSnap {
|
|
25
|
+
/** What to add to the dragged item's position so it sits on the nearest line — 0 when none is near. */
|
|
26
|
+
dx: number;
|
|
27
|
+
dy: number;
|
|
28
|
+
/** Every line the item rests on AFTER the snap, merged per position, spanning every item it meets. */
|
|
29
|
+
guides: AlignmentGuide[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Where `moving` should settle, and the guides to draw there. `others` is every item it may line up
|
|
33
|
+
* with — never the item itself, nor anything travelling with it (a multi-selection, a group's
|
|
34
|
+
* contents). `tolerance` is in world units: `ALIGNMENT_TOLERANCE / view.scale`.
|
|
35
|
+
*
|
|
36
|
+
* Each axis snaps on its own, to the closest line within tolerance, so an item can settle on a
|
|
37
|
+
* vertical and a horizontal guide at once. A guide is drawn for every line that matches after the
|
|
38
|
+
* snap — two neighbours sharing a left edge make one line through all three — and runs from the
|
|
39
|
+
* farthest item it touches to the farthest on the other side, the way Mural draws it.
|
|
40
|
+
*
|
|
41
|
+
* `axis` limits it to one direction for an item that only moves one way — family's lineages slide
|
|
42
|
+
* sideways and never change row, so `'x'` (vertical lines only): a row of cards would otherwise draw
|
|
43
|
+
* a horizontal line along every generation.
|
|
44
|
+
*/
|
|
45
|
+
export declare function snapToAlignment(moving: CanvasBounds, others: readonly CanvasBounds[], tolerance: number, axis?: 'x' | 'y' | 'both'): AlignmentSnap;
|
|
46
|
+
/** The box around several — what a multi-selection drags as one. `null` for none. */
|
|
47
|
+
export declare function unionBounds(boxes: readonly CanvasBounds[]): CanvasBounds | null;
|
|
48
|
+
/**
|
|
49
|
+
* Snapping is suspended while ⌘ (or Ctrl) is held — Figma's convention, so an item can still be
|
|
50
|
+
* put a few pixels off a line on purpose. Read from the drag's own pointer event.
|
|
51
|
+
*/
|
|
52
|
+
export declare function snapSuspended(event: {
|
|
53
|
+
metaKey?: boolean;
|
|
54
|
+
ctrlKey?: boolean;
|
|
55
|
+
} | null | undefined): boolean;
|
|
56
|
+
//# sourceMappingURL=alignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alignment.d.ts","sourceRoot":"","sources":["../../../src/react/canvas-hud/alignment.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,+FAA+F;AAC/F,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,GAAG,GAAG,GAAG,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,aAAa;IAC5B,uGAAuG;IACvG,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,sGAAsG;IACtG,MAAM,EAAE,cAAc,EAAE,CAAC;CAC1B;AAuBD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,YAAY,EACpB,MAAM,EAAE,SAAS,YAAY,EAAE,EAC/B,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE,GAAG,GAAG,GAAG,GAAG,MAAe,GAChC,aAAa,CA4Cf;AAED,qFAAqF;AACrF,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,GAAG,YAAY,GAAG,IAAI,CAa/E;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEzG"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/** How close, in SCREEN pixels, an edge or a middle must come to another's before it snaps. */
|
|
2
|
+
export const ALIGNMENT_TOLERANCE = 6;
|
|
3
|
+
const NONE = { dx: 0, dy: 0, guides: [] };
|
|
4
|
+
/** Start, middle, end — the three lines of a box along one axis. */
|
|
5
|
+
function lines(start, size) {
|
|
6
|
+
return [start, start + size / 2, start + size];
|
|
7
|
+
}
|
|
8
|
+
/** The smallest move along one axis that puts any of `moving`'s lines on any of `targets`' lines. */
|
|
9
|
+
function nearest(moving, targets, tolerance) {
|
|
10
|
+
let best = Number.POSITIVE_INFINITY;
|
|
11
|
+
for (const target of targets) {
|
|
12
|
+
for (const want of target) {
|
|
13
|
+
for (const have of moving) {
|
|
14
|
+
const delta = want - have;
|
|
15
|
+
if (Math.abs(delta) <= tolerance && Math.abs(delta) < Math.abs(best))
|
|
16
|
+
best = delta;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return Number.isFinite(best) ? best : 0;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Where `moving` should settle, and the guides to draw there. `others` is every item it may line up
|
|
24
|
+
* with — never the item itself, nor anything travelling with it (a multi-selection, a group's
|
|
25
|
+
* contents). `tolerance` is in world units: `ALIGNMENT_TOLERANCE / view.scale`.
|
|
26
|
+
*
|
|
27
|
+
* Each axis snaps on its own, to the closest line within tolerance, so an item can settle on a
|
|
28
|
+
* vertical and a horizontal guide at once. A guide is drawn for every line that matches after the
|
|
29
|
+
* snap — two neighbours sharing a left edge make one line through all three — and runs from the
|
|
30
|
+
* farthest item it touches to the farthest on the other side, the way Mural draws it.
|
|
31
|
+
*
|
|
32
|
+
* `axis` limits it to one direction for an item that only moves one way — family's lineages slide
|
|
33
|
+
* sideways and never change row, so `'x'` (vertical lines only): a row of cards would otherwise draw
|
|
34
|
+
* a horizontal line along every generation.
|
|
35
|
+
*/
|
|
36
|
+
export function snapToAlignment(moving, others, tolerance, axis = 'both') {
|
|
37
|
+
if (others.length === 0 || !(tolerance > 0))
|
|
38
|
+
return NONE;
|
|
39
|
+
const near = others.filter((other) => other.width >= 0 && other.height >= 0 && Number.isFinite(other.x) && Number.isFinite(other.y));
|
|
40
|
+
const dx = axis === 'y' ? 0 : nearest(lines(moving.x, moving.width), near.map((other) => lines(other.x, other.width)), tolerance);
|
|
41
|
+
const dy = axis === 'x' ? 0 : nearest(lines(moving.y, moving.height), near.map((other) => lines(other.y, other.height)), tolerance);
|
|
42
|
+
const placed = { x: moving.x + dx, y: moving.y + dy, width: moving.width, height: moving.height };
|
|
43
|
+
// Lines that already coincide count; a hair of float error must not hide one.
|
|
44
|
+
const epsilon = Math.min(tolerance, 0.5);
|
|
45
|
+
const guides = [];
|
|
46
|
+
const add = (axis, at, from, to) => {
|
|
47
|
+
const same = guides.find((guide) => guide.axis === axis && Math.abs(guide.at - at) <= epsilon);
|
|
48
|
+
if (same) {
|
|
49
|
+
same.from = Math.min(same.from, from);
|
|
50
|
+
same.to = Math.max(same.to, to);
|
|
51
|
+
}
|
|
52
|
+
else
|
|
53
|
+
guides.push({ axis, at, from, to });
|
|
54
|
+
};
|
|
55
|
+
const ownX = lines(placed.x, placed.width);
|
|
56
|
+
const ownY = lines(placed.y, placed.height);
|
|
57
|
+
/** The lines of `theirs` that `own` sits on — without the middle when both edges match too,
|
|
58
|
+
* since a box the same size as its neighbour would otherwise draw three parallel lines. */
|
|
59
|
+
const matched = (own, theirs) => {
|
|
60
|
+
const hits = theirs.map((at) => own.some((have) => Math.abs(have - at) <= epsilon));
|
|
61
|
+
return theirs.filter((_, index) => hits[index] && !(index === 1 && hits[0] && hits[2]));
|
|
62
|
+
};
|
|
63
|
+
for (const other of near) {
|
|
64
|
+
if (axis !== 'y')
|
|
65
|
+
for (const at of matched(ownX, lines(other.x, other.width))) {
|
|
66
|
+
add('x', at, Math.min(placed.y, other.y), Math.max(placed.y + placed.height, other.y + other.height));
|
|
67
|
+
}
|
|
68
|
+
if (axis !== 'x')
|
|
69
|
+
for (const at of matched(ownY, lines(other.y, other.height))) {
|
|
70
|
+
add('y', at, Math.min(placed.x, other.x), Math.max(placed.x + placed.width, other.x + other.width));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
if (guides.length === 0 && dx === 0 && dy === 0)
|
|
74
|
+
return NONE;
|
|
75
|
+
return { dx, dy, guides };
|
|
76
|
+
}
|
|
77
|
+
/** The box around several — what a multi-selection drags as one. `null` for none. */
|
|
78
|
+
export function unionBounds(boxes) {
|
|
79
|
+
if (boxes.length === 0)
|
|
80
|
+
return null;
|
|
81
|
+
let left = Number.POSITIVE_INFINITY;
|
|
82
|
+
let top = Number.POSITIVE_INFINITY;
|
|
83
|
+
let right = Number.NEGATIVE_INFINITY;
|
|
84
|
+
let bottom = Number.NEGATIVE_INFINITY;
|
|
85
|
+
for (const box of boxes) {
|
|
86
|
+
left = Math.min(left, box.x);
|
|
87
|
+
top = Math.min(top, box.y);
|
|
88
|
+
right = Math.max(right, box.x + box.width);
|
|
89
|
+
bottom = Math.max(bottom, box.y + box.height);
|
|
90
|
+
}
|
|
91
|
+
return { x: left, y: top, width: right - left, height: bottom - top };
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Snapping is suspended while ⌘ (or Ctrl) is held — Figma's convention, so an item can still be
|
|
95
|
+
* put a few pixels off a line on purpose. Read from the drag's own pointer event.
|
|
96
|
+
*/
|
|
97
|
+
export function snapSuspended(event) {
|
|
98
|
+
return !!(event?.metaKey || event?.ctrlKey);
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=alignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alignment.js","sourceRoot":"","sources":["../../../src/react/canvas-hud/alignment.ts"],"names":[],"mappings":"AAYA,+FAA+F;AAC/F,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAqBrC,MAAM,IAAI,GAAkB,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AAEzD,oEAAoE;AACpE,SAAS,KAAK,CAAC,KAAa,EAAE,IAAY;IACxC,OAAO,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,qGAAqG;AACrG,SAAS,OAAO,CAAC,MAAyB,EAAE,OAAuC,EAAE,SAAiB;IACpG,IAAI,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACpC,KAAK,M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B,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3C,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE,CAAC;AACxE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,KAAkE;IAC9F,OAAO,CAAC,CAAC,CAAC,KAAK,EAAE,OAAO,IAAI,KAAK,EAAE,OAAO,CAAC,CAAC;AAC9C,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export type { AlignmentGuide, AlignmentSnap } from './alignment.js';
|
|
2
|
+
export { ALIGNMENT_TOLERANCE, snapSuspended, snapToAlignment, unionBounds } from './alignment.js';
|
|
3
|
+
export type { AlignmentGuidesProps } from './AlignmentGuides.js';
|
|
4
|
+
export { AlignmentGuides, useSnapSuspended } from './AlignmentGuides.js';
|
|
1
5
|
export type { CanvasMinimapProps } from './CanvasMinimap.js';
|
|
2
6
|
export { CanvasMinimap } from './CanvasMinimap.js';
|
|
3
7
|
export type { CanvasNodeMenuItem, CanvasNodeMenuProps, CanvasNodeMenuSection } from './CanvasNodeMenu.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EA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
|
1
|
+
export { ALIGNMENT_TOLERANCE, snapSuspended, snapToAlignment, unionBounds } from './alignment.js';
|
|
2
|
+
export { AlignmentGuides, useSnapSuspended } from './AlignmentGuides.js';
|
|
1
3
|
export { CanvasMinimap } from './CanvasMinimap.js';
|
|
2
4
|
export { CanvasNodeMenu } from './CanvasNodeMenu.js';
|
|
3
5
|
export { CanvasSearchField } from './CanvasSearchField.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/react/canvas-hud/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElG,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAEzE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExF,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAUlF,OAAO,EACL,UAAU,EACV,UAAU,EACV,QAAQ,EACR,OAAO,EACP,eAAe,EACf,aAAa,EACb,aAAa,EACb,eAAe,EACf,MAAM,GACP,MAAM,eAAe,CAAC"}
|
|
@@ -23,5 +23,5 @@ export type AreaChartProps = {
|
|
|
23
23
|
labelFormatter?: (label: string | number) => string;
|
|
24
24
|
};
|
|
25
25
|
/** Multi-series area chart with token-colored gradient fills (per-instance ids). */
|
|
26
|
-
export declare function AreaChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, stacked, yWidth, xTickFormatter, valueFormatter, labelFormatter, }: AreaChartProps): import("react").JSX.Element;
|
|
26
|
+
export declare function AreaChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, stacked, yWidth, xTickFormatter, valueFormatter, labelFormatter, ...rest }: AreaChartProps): import("react").JSX.Element;
|
|
27
27
|
//# sourceMappingURL=AreaChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AreaChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/AreaChart.tsx"],"names":[],"mappings":"AAaA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAA8B,MAAM,aAAa,CAAC;AAEvH,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0GAA0G;IAC1G,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACpD,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,iCAAiC;IACjC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,C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AAM,EACN,IAAW,EACX,OAAe,EACf,MAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,+BAmEhB"}
|
|
@@ -5,10 +5,10 @@ import { legendContent } from './ChartLegend.js';
|
|
|
5
5
|
import { tooltipContent } from './ChartTooltip.js';
|
|
6
6
|
import { axisProps, valueAxisProps, seriesColor, useGradientId } from './shared.js';
|
|
7
7
|
/** Multi-series area chart with token-colored gradient fills (per-instance ids). */
|
|
8
|
-
export function AreaChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, stacked = false, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, }) {
|
|
8
|
+
export function AreaChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, stacked = false, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, ...rest }) {
|
|
9
9
|
const gradId = useGradientId();
|
|
10
10
|
const showLegend = (box) => legend ?? (!box.legendInHeader && series.length > 1);
|
|
11
|
-
return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RAreaChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [_jsx("defs", { children: series.map((s, i) => {
|
|
11
|
+
return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RAreaChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [_jsx("defs", { children: series.map((s, i) => {
|
|
12
12
|
const c = seriesColor(t, s, i);
|
|
13
13
|
return (_jsxs("linearGradient", { id: `${gradId}-${s.dataKey}`, x1: '0', y1: '0', x2: '0', y2: '1', children: [_jsx("stop", { offset: '0%', stopColor: c, stopOpacity: 0.2 }), _jsx("stop", { offset: '100%', stopColor: c, stopOpacity: 0.02 })] }, s.dataKey));
|
|
14
14
|
}) }), grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, vertical: false })), _jsx(XAxis, { dataKey: xKey, ...axisProps(t, box), tickFormatter: xTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(24) }), _jsx(YAxis, { ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth, axisLine: false }), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { stroke: t.foregroundMuted, strokeWidth: 1, strokeOpacity: 0.5 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AreaChart.js","sourceRoot":"","sources":["../../../src/react/charts/AreaChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,IAAI,EACJ,aAAa,EACb,MAAM,EACN,SAAS,IAAI,UAAU,EACvB,OAAO,EACP,KAAK,EACL,KAAK,GACN,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAqC,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA0BvH,oFAAoF;AACpF,MAAM,UAAU,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,GAAG,IAAI,EACb,MAAM,EACN,IAAI,GAAG,IAAI,EACX,OAAO,GAAG,KAAK,EACf,MAAM,GAAG,MAAM,EACf,cAAc,EACd,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"AreaChart.js","sourceRoot":"","sources":["../../../src/react/charts/AreaChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,IAAI,EACJ,aAAa,EACb,MAAM,EACN,SAAS,IAAI,UAAU,EACvB,OAAO,EACP,KAAK,EACL,KAAK,GACN,MAAM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EAAE,EAAE;oBACnB,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;oBAC/B,OAAO,CACL,KAAC,IAAI,IAEH,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,EACpC,OAAO,EAAE,CAAC,CAAC,OAAO,EAClB,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,OAAO,EACzB,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EACrD,MAAM,EAAE,CAAC,EACT,WAAW,EAAE,GAAG,CAAC,MAAM,EACvB,IAAI,EAAE,QAAQ,MAAM,IAAI,CAAC,CAAC,OAAO,GAAG,EACpC,iBAAiB,EAAE,KAAK,IARnB,CAAC,CAAC,OAAO,CASd,CACH,CAAC;gBACJ,CAAC,CAAC,IACS,CACd,GACU,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ChartDatum, type ChartSeries } from './shared.js';
|
|
2
|
+
import { type ChartTone } from './tokens.js';
|
|
2
3
|
export type BarChartProps = {
|
|
3
4
|
data: ChartDatum[];
|
|
4
5
|
/** Key for the category axis in each datum. */
|
|
@@ -24,7 +25,14 @@ export type BarChartProps = {
|
|
|
24
25
|
valueFormatter?: (value: number) => string;
|
|
25
26
|
/** Format the tooltip header. */
|
|
26
27
|
labelFormatter?: (label: string | number) => string;
|
|
28
|
+
/**
|
|
29
|
+
* Colour each BAR by its datum rather than its series — the heat of a cost against the fleet's
|
|
30
|
+
* median (`heatChartTone(heatBandOf(…))`), a budget's bar turning at its thresholds. Return
|
|
31
|
+
* `undefined` to keep the series colour. CHT-7: colour is meaning, so the tones are the status
|
|
32
|
+
* tones, never a free hex.
|
|
33
|
+
*/
|
|
34
|
+
colorBy?: (datum: ChartDatum, index: number) => ChartTone | undefined;
|
|
27
35
|
};
|
|
28
36
|
/** Vertical/horizontal, grouped/stacked bar chart with rounded corners. */
|
|
29
|
-
export declare function BarChart({ data, xKey, series, ariaLabel, height, orientation, stacked, legend, grid, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, }: BarChartProps): import("react").JSX.Element;
|
|
37
|
+
export declare function BarChart({ data, xKey, series, ariaLabel, height, orientation, stacked, legend, grid, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, colorBy, ...rest }: BarChartProps): import("react").JSX.Element;
|
|
30
38
|
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":"AAKA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAAe,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":"AAKA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAAe,MAAM,aAAa,CAAC;AACxG,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,aAAa,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gEAAgE;IAChE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC3D,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,iCAAiC;IACjC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IACpD;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,2EAA2E;AAC3E,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,WAAwB,EACxB,OAAe,EACf,MAAM,EACN,IAAW,EACX,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,OAAO,EACP,GAAG,IAAI,EACR,EAAE,aAAa,+BAsFf"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Bar, CartesianGrid, Legend, BarChart as RBarChart, Tooltip, XAxis, YAxis } from 'recharts';
|
|
2
|
+
import { Bar, CartesianGrid, Cell, Legend, BarChart as RBarChart, Tooltip, XAxis, YAxis } from 'recharts';
|
|
3
3
|
import { ChartFrame } from './ChartFrame.js';
|
|
4
4
|
import { legendContent } from './ChartLegend.js';
|
|
5
5
|
import { tooltipContent } from './ChartTooltip.js';
|
|
6
6
|
import { axisProps, valueAxisProps, seriesColor } from './shared.js';
|
|
7
|
+
import { toneColor } from './tokens.js';
|
|
7
8
|
/** Vertical/horizontal, grouped/stacked bar chart with rounded corners. */
|
|
8
|
-
export function BarChart({ data, xKey, series, ariaLabel, height, orientation = 'vertical', stacked = false, legend, grid = true, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, }) {
|
|
9
|
+
export function BarChart({ data, xKey, series, ariaLabel, height, orientation = 'vertical', stacked = false, legend, grid = true, yWidth, categoryTickFormatter, valueFormatter, labelFormatter, colorBy, ...rest }) {
|
|
9
10
|
const horizontal = orientation === 'horizontal';
|
|
10
11
|
const showLegend = (box) => legend ?? (!box.legendInHeader && series.length > 1);
|
|
11
12
|
// Round only the outer end of each bar; for a stack, only the last (outer) series.
|
|
@@ -15,6 +16,12 @@ export function BarChart({ data, xKey, series, ariaLabel, height, orientation =
|
|
|
15
16
|
return [0, 0, 0, 0];
|
|
16
17
|
return horizontal ? [0, 4, 4, 0] : [4, 4, 0, 0];
|
|
17
18
|
};
|
|
18
|
-
return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RBarChart, { data: data, layout: horizontal ? 'vertical' : 'horizontal', margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, horizontal: !horizontal, vertical: horizontal })), horizontal ? (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter) }), _jsx(YAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, width: yWidth ?? 44, axisLine: false })] })) : (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(8) }), _jsx(YAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth ?? 'auto', axisLine: false })] })), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { fill: t.foregroundMuted, fillOpacity: 0.08 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => (_jsx(Bar, { dataKey: s.dataKey, name: s.name ?? s.dataKey, stackId: stacked ? (s.stackId ?? 'stack') : s.stackId, fill: seriesColor(t, s, i), radius: cornersFor(i), isAnimationActive: false
|
|
19
|
+
return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RBarChart, { data: data, layout: horizontal ? 'vertical' : 'horizontal', margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [grid && (_jsx(CartesianGrid, { strokeDasharray: '3 3', stroke: t.foregroundMuted, strokeOpacity: 0.3, horizontal: !horizontal, vertical: horizontal })), horizontal ? (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter) }), _jsx(YAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, width: yWidth ?? 44, axisLine: false })] })) : (_jsxs(_Fragment, { children: [_jsx(XAxis, { type: 'category', dataKey: xKey, ...axisProps(t, box), tickFormatter: categoryTickFormatter, interval: 'preserveStartEnd', minTickGap: box.gap(8) }), _jsx(YAxis, { type: 'number', ...axisProps(t, box), ...valueAxisProps(box, valueFormatter), width: yWidth ?? 'auto', axisLine: false })] })), _jsx(Tooltip, { content: tooltipContent(t, labelFormatter, valueFormatter), cursor: { fill: t.foregroundMuted, fillOpacity: 0.08 }, isAnimationActive: false }), showLegend(box) && _jsx(Legend, { content: legendContent(t), itemSorter: null }), series.map((s, i) => (_jsx(Bar, { dataKey: s.dataKey, name: s.name ?? s.dataKey, stackId: stacked ? (s.stackId ?? 'stack') : s.stackId, fill: seriesColor(t, s, i), radius: cornersFor(i), isAnimationActive: false, children: colorBy
|
|
20
|
+
? data.map((d, j) => {
|
|
21
|
+
const tone = colorBy(d, j);
|
|
22
|
+
// Keyed on the category value: a bar IS its datum, and recharts matches cells to bars by position.
|
|
23
|
+
return _jsx(Cell, { fill: tone ? toneColor(t, tone) : seriesColor(t, s, i) }, `${s.dataKey}-${String(d[xKey] ?? j)}`);
|
|
24
|
+
})
|
|
25
|
+
: null }, s.dataKey)))] })) }));
|
|
19
26
|
}
|
|
20
27
|
//# sourceMappingURL=BarChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.js","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,IAAI,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"BarChart.js","sourceRoot":"","sources":["../../../src/react/charts/BarChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,IAAI,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1G,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAqC,WAAW,EAAE,MAAM,aAAa,CAAC;AACxG,OAAO,EAAkB,SAAS,EAAE,MAAM,aAAa,CAAC;AAsCxD,2EAA2E;AAC3E,MAAM,UAAU,QAAQ,CAAC,EACvB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,WAAW,GAAG,UAAU,EACxB,OAAO,GAAG,KAAK,EACf,MAAM,EACN,IAAI,GAAG,IAAI,EACX,MAAM,EACN,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,OAAO,EACP,GAAG,IAAI,EACO;IACd,MAAM,UAAU,GAAG,WAAW,KAAK,YAAY,CAAC;IAChD,MAAM,UAAU,GAAG,CAAC,GAAa,EAAE,EAAE,CA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CAAC,CAAC,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EACrD,IAAI,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAC1B,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,EACrB,iBAAiB,EAAE,KAAK,YAEvB,OAAO;wBACN,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;4BAChB,MAAM,IAAI,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAC3B,mGAAmG;4BACnG,OAAO,KAAC,IAAI,IAA8C,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IAA9F,GAAG,CAAC,CAAC,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAA4D,CAAC;wBACvH,CAAC,CAAC;wBACJ,CAAC,CAAC,IAAI,IAdH,CAAC,CAAC,OAAO,CAeV,CACP,CAAC,IACQ,CACb,GACU,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -54,5 +54,5 @@ export declare function legendColor(item: ChartCardLegendItem, index: number, to
|
|
|
54
54
|
* Build an operations-console Trends section from this and a `DataTable` with no app-local
|
|
55
55
|
* styling (`docs/design/blueprints/operations-console.md`).
|
|
56
56
|
*/
|
|
57
|
-
export declare function ChartCard({ title, subtitle, legend, actions, loading, empty, height, children, className, }: ChartCardProps): import("react").JSX.Element;
|
|
57
|
+
export declare function ChartCard({ title, subtitle, legend, actions, loading, empty, height, children, className, ...rest }: ChartCardProps): import("react").JSX.Element;
|
|
58
58
|
//# sourceMappingURL=ChartCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartCard.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAU/C,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAkB,MAAM,aAAa,CAAC;AAE/E,oEAAoE;AACpE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,yCAAyC;IACzC,KAAK,EAAE,SAAS,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC/B,2EAA2E;IAC3E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kFAAkF;IAClF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,WAAW,CAAC,EAAE,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,SAAS,CAAA;KAAE,CAAC;IACpF,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,qFAAqF;IACrF,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,MAAM,CAEjG;AAkBD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAe,EACf,KAAa,EACb,MAAM,EACN,QAAQ,EACR,SAAS,
|
|
1
|
+
{"version":3,"file":"ChartCard.d.ts","sourceRoot":"","sources":["../../../src/react/charts/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, className }) {
|
|
|
32
32
|
* Build an operations-console Trends section from this and a `DataTable` with no app-local
|
|
33
33
|
* styling (`docs/design/blueprints/operations-console.md`).
|
|
34
34
|
*/
|
|
35
|
-
export function ChartCard({ title, subtitle, legend, actions, loading = false, empty = false, height, children, className, }) {
|
|
35
|
+
export function ChartCard({ title, subtitle, legend, actions, loading = false, empty = false, height, children, className, ...rest }) {
|
|
36
36
|
const bodyRef = useRef(null);
|
|
37
37
|
const tokens = useChartTokens(bodyRef);
|
|
38
38
|
const { width } = useElementSize(bodyRef, { layout: true });
|
|
@@ -42,6 +42,6 @@ export function ChartCard({ title, subtitle, legend, actions, loading = false, e
|
|
|
42
42
|
// than push the plot down the screen.
|
|
43
43
|
const foldLegend = phone && legend != null && legend.length > 3;
|
|
44
44
|
const emptyContent = empty === true ? { title: 'No data for this range' } : empty || null;
|
|
45
|
-
return (_jsxs(Surface, { level: 'flat', pad: 'md', radius: 'lg', className: cn('flex min-w-0 flex-col gap-3', className), "data-cb-chart-card": '', children: [_jsxs("div", { className: 'flex min-w-0 flex-wrap items-start justify-between gap-x-4 gap-y-2', children: [_jsxs("div", { className: 'flex min-w-0 flex-col gap-0.5', children: [_jsx("h3", { className: 'truncate text-sm font-semibold text-foreground', children: title }), subtitle != null && _jsx("p", { className: 'truncate text-xs tabular-nums text-muted-foreground', children: subtitle })] }), _jsxs("div", { className: 'flex min-w-0 flex-wrap items-center justify-end gap-x-3 gap-y-2', children: [legend && legend.length > 0 && !foldLegend && _jsx(LegendList, { items: legend, tokens: tokens, className: 'justify-end' }), foldLegend && legend && (_jsx(Popover, { trigger: _jsx(Button, { variant: 'ghost', size: 'sm', tooltip: 'Show what each color is', tooltipMobile: 'off', children: `Legend · ${legend.length}` }), align: 'end', label: 'Chart legend', children: _jsx(LegendList, { items: legend, tokens: tokens, className: 'flex-col items-start' }) })), actions] })] }), _jsx("div", { ref: bodyRef, className: 'min-w-0', "data-cb-chart-body": '', children: loading ? (_jsx(Skeleton, { className: 'w-full rounded-md', style: { height: plotHeight }, "data-cb-chart-skeleton": '' })) : emptyContent ? (_jsx("div", { className: 'flex w-full items-center justify-center rounded-md border border-dashed border-border', style: { height: plotHeight }, children: _jsx(EmptyState, { compact: true, title: emptyContent.title, description: emptyContent.description, action: emptyContent.action }) })) : (_jsx(ChartCardContext.Provider, { value: { legendInHeader: legend != null && legend.length > 0, height }, children: children })) })] }));
|
|
45
|
+
return (_jsxs(Surface, { ...rest, level: 'flat', pad: 'md', radius: 'lg', className: cn('flex min-w-0 flex-col gap-3', className), "data-cb-chart-card": '', children: [_jsxs("div", { className: 'flex min-w-0 flex-wrap items-start justify-between gap-x-4 gap-y-2', children: [_jsxs("div", { className: 'flex min-w-0 flex-col gap-0.5', children: [_jsx("h3", { className: 'truncate text-sm font-semibold text-foreground', children: title }), subtitle != null && _jsx("p", { className: 'truncate text-xs tabular-nums text-muted-foreground', children: subtitle })] }), _jsxs("div", { className: 'flex min-w-0 flex-wrap items-center justify-end gap-x-3 gap-y-2', children: [legend && legend.length > 0 && !foldLegend && _jsx(LegendList, { items: legend, tokens: tokens, className: 'justify-end' }), foldLegend && legend && (_jsx(Popover, { trigger: _jsx(Button, { variant: 'ghost', size: 'sm', tooltip: 'Show what each color is', tooltipMobile: 'off', children: `Legend · ${legend.length}` }), align: 'end', label: 'Chart legend', children: _jsx(LegendList, { items: legend, tokens: tokens, className: 'flex-col items-start' }) })), actions] })] }), _jsx("div", { ref: bodyRef, className: 'min-w-0', "data-cb-chart-body": '', children: loading ? (_jsx(Skeleton, { className: 'w-full rounded-md', style: { height: plotHeight }, "data-cb-chart-skeleton": '' })) : emptyContent ? (_jsx("div", { className: 'flex w-full items-center justify-center rounded-md border border-dashed border-border', style: { height: plotHeight }, children: _jsx(EmptyState, { compact: true, title: emptyContent.title, description: emptyContent.description, action: emptyContent.action }) })) : (_jsx(ChartCardContext.Provider, { value: { legendInHeader: legend != null && legend.length > 0, height }, children: children })) })] }));
|
|
46
46
|
}
|
|
47
47
|
//# sour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S,wBAAoB,EAAE,YACzD,OAAO,CAAC,CAAC,CAAC,CACT,KAAC,QAAQ,IAAC,SAAS,EAAC,mBAAmB,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,4BAAyB,EAAE,GAAG,CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CACjB,cAAK,SAAS,EAAC,uFAAuF,EAAC,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,YAClI,KAAC,UAAU,IAAC,OAAO,QAAC,KAAK,EAAE,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,MAAM,GAAI,GACjH,CACP,CAAC,CAAC,CAAC,CACF,KAAC,gBAAgB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,IAAI,IAAI,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,EAAE,YAC9F,QAAQ,GACiB,CAC7B,GACG,IACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -22,5 +22,5 @@ export type ChartFrameProps = {
|
|
|
22
22
|
* (a sidebar folding re-measures it) and derives the plot's shape and its marks' weight
|
|
23
23
|
* from it — see `chartBox`. All wrappers below build on it.
|
|
24
24
|
*/
|
|
25
|
-
export declare function ChartFrame({ ariaLabel, height, className, children }: ChartFrameProps): import("react").JSX.Element;
|
|
25
|
+
export declare function ChartFrame({ ariaLabel, height, className, children, ...rest }: ChartFrameProps): import("react").JSX.Element;
|
|
26
26
|
//# sourceMappingURL=ChartFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartFrame.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,KAAK,QAAQ,EAA8B,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,aAAa,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG;IAC5B,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,KAAK,YAAY,CAAC;CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,eAAe,+
|
|
1
|
+
{"version":3,"file":"ChartFrame.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAE,KAAK,QAAQ,EAA8B,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,KAAK,WAAW,EAAkB,MAAM,aAAa,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG;IAC5B,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,KAAK,YAAY,CAAC;CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,eAAe,+BAqB9F"}
|
|
@@ -13,12 +13,12 @@ import { useChartTokens } from './tokens.js';
|
|
|
13
13
|
* (a sidebar folding re-measures it) and derives the plot's shape and its marks' weight
|
|
14
14
|
* from it — see `chartBox`. All wrappers below build on it.
|
|
15
15
|
*/
|
|
16
|
-
export function ChartFrame({ ariaLabel, height, className, children }) {
|
|
16
|
+
export function ChartFrame({ ariaLabel, height, className, children, ...rest }) {
|
|
17
17
|
const ref = useRef(null);
|
|
18
18
|
const tokens = useChartTokens(ref);
|
|
19
19
|
const { width } = useElementSize(ref, { layout: true });
|
|
20
20
|
const card = useContext(ChartCardContext);
|
|
21
21
|
const box = chartBox(width, { height: height ?? card?.height, legendInHeader: card?.legendInHeader ?? false });
|
|
22
|
-
return (_jsx("div", { ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', "data-cb-chart-tier": box.tier, className: cn('w-full min-w-0', className), children: _jsx(ResponsiveContainer, { width: '100%', height: box.height, children: children(tokens, box) }) }));
|
|
22
|
+
return (_jsx("div", { ...rest, ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', "data-cb-chart-tier": box.tier, className: cn('w-full min-w-0', className), children: _jsx(ResponsiveContainer, { width: '100%', height: box.height, children: children(tokens, box) }) }));
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=ChartFrame.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartFrame.js","sourceRoot":"","sources":["../../../src/react/charts/ChartFrame.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAqB,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAiB,gBAAgB,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAoB,cAAc,EAAE,MAAM,aAAa,CAAC;AAgB/D;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EA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MAAM,EAAC,MAAM,EAAE,GAAG,CAAC,MAAM,YACjD,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,GACF,GAClB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -11,7 +11,7 @@ export type ChartLegendProps = {
|
|
|
11
11
|
tokens?: ChartTokens;
|
|
12
12
|
};
|
|
13
13
|
/** A themed recharts legend: horizontal color chips that wrap on narrow widths. */
|
|
14
|
-
export declare function ChartLegend({ payload, tokens }: ChartLegendProps): import("react").JSX.Element | null;
|
|
14
|
+
export declare function ChartLegend({ payload, tokens, ...rest }: ChartLegendProps): import("react").JSX.Element | null;
|
|
15
15
|
/**
|
|
16
16
|
* Build a `<Legend content={…}>` renderer bound to the chart's live tokens. Pair it with
|
|
17
17
|
* `itemSorter={null}`: recharts 3 sorts legend items by name unless told not to, so a chart
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,aAAa,CAAC;AAEhE,KAAK,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAElG,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAwB,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,aAAa,CAAC;AAEhE,KAAK,UAAU,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAElG,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAwB,EAAE,GAAG,IAAI,EAAE,EAAE,gBAAgB,sCAiC3F;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,WAAW,MAAM,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,gCAE9E,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FALLBACK_TOKENS } from './tokens.js';
|
|
3
3
|
/** A themed recharts legend: horizontal color chips that wrap on narrow widths. */
|
|
4
|
-
export function ChartLegend({ payload, tokens = FALLBACK_TOKENS }) {
|
|
4
|
+
export function ChartLegend({ payload, tokens = FALLBACK_TOKENS, ...rest }) {
|
|
5
5
|
// A series drawn with `legendType='none'` (a band, a helper area) still arrives in recharts'
|
|
6
6
|
// payload, marked `type: 'none'`; the default legend drops it and so must this one — the
|
|
7
7
|
// time series listed its band's "hi" and a swatchless "lo" as series (forge task 2593).
|
|
8
8
|
const items = payload?.filter((entry) => entry.type !== 'none') ?? [];
|
|
9
9
|
if (!items.length)
|
|
10
10
|
return null;
|
|
11
|
-
return (_jsx("ul", { className: 'm-0 flex list-none flex-wrap items-center justify-center gap-x-4 gap-y-1 p-0 pt-2 text-xs', style: { color: tokens.foreground }, children: items.map((entry, i) => (_jsxs("li", { className: 'flex items-center gap-1.5', children: [_jsx("span", { className: 'inline-block h-2.5 w-2.5 shrink-0 rounded-xs', style: { backgroundColor: entry.color } }), _jsx("span", { children: entry.value })] }, typeof entry.value === 'string' || typeof entry.value === 'number'
|
|
11
|
+
return (_jsx("ul", { ...rest, className: 'm-0 flex list-none flex-wrap items-center justify-center gap-x-4 gap-y-1 p-0 pt-2 text-xs', style: { color: tokens.foreground }, children: items.map((entry, i) => (_jsxs("li", { className: 'flex items-center gap-1.5', children: [_jsx("span", { className: 'inline-block h-2.5 w-2.5 shrink-0 rounded-xs', style: { backgroundColor: entry.color } }), _jsx("span", { children: entry.value })] }, typeof entry.value === 'string' || typeof entry.value === 'number'
|
|
12
12
|
? String(entry.value)
|
|
13
13
|
: String(entry.dataKey ?? i)))) }));
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.js","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAShE,mFAAmF;AACnF,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe,EAAoB;
|
|
1
|
+
{"version":3,"file":"ChartLegend.js","sourceRoot":"","sources":["../../../src/react/charts/ChartLegend.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAShE,mFAAmF;AACnF,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe,EAAE,GAAG,IAAI,EAAoB;IAC1F,6FAA6F;IAC7F,yFAAyF;IACzF,wFAAwF;IACxF,MAAM,KAAK,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,EAAE,CAAC;IACtE,IAAI,CAAC,KAAK,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAC/B,OAAO,CACL,gBACM,IAAI,EACR,SAAS,EAAC,2FAA2F,EACrG,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,UAAU,EAAE,YAElC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAIvB,cAME,SAAS,EAAC,2BAA2B,aAErC,eACE,SAAS,EAAC,8CAA8C,EACxD,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,KAAK,EAAE,GACvC,EACF,yBAAO,KAAK,CAAC,KAAK,GAAQ,KAVxB,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ;YAChE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC;YACrB,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAS7B,CACN,CAAC,GACC,CACN,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAmB,EAAE,EAAE,CAAC,CAAC,CAAwB,EAAE,EAAE,CAAC,CAClF,KAAC,WAAW,IAAC,OAAO,EAAE,CAAC,CAAC,OAAsC,EAAE,MAAM,EAAE,MAAM,GAAI,CACnF,CAAC"}
|
|
@@ -21,7 +21,7 @@ export type ChartTooltipProps = {
|
|
|
21
21
|
* lighter elevation in dark mode), with border + text from the tokens. Charts pass it
|
|
22
22
|
* via `tooltipContent(tokens)`; standalone it falls back to the dark token set.
|
|
23
23
|
*/
|
|
24
|
-
export declare function ChartTooltip({ active, payload, label, tokens, labelFormatter, valueFormatter, }: ChartTooltipProps): import("react").JSX.Element | null;
|
|
24
|
+
export declare function ChartTooltip({ active, payload, label, tokens, labelFormatter, valueFormatter, ...rest }: ChartTooltipProps): import("react").JSX.Element | null;
|
|
25
25
|
/**
|
|
26
26
|
* Build a `<Tooltip content={…}>` renderer bound to the chart's live tokens. recharts
|
|
27
27
|
* hands the content fn loosely-typed props; we narrow to ChartTooltip's shape.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartTooltip.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,aAAa,CAAC;AAEhE,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,SAAS,CAAC;IACvD,+BAA+B;IAC/B,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,SAAS,CAAC;CAC9D,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAwB,EACxB,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"ChartTooltip.d.ts","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"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@ import { FALLBACK_TOKENS } from './tokens.js';
|
|
|
5
5
|
* lighter elevation in dark mode), with border + text from the tokens. Charts pass it
|
|
6
6
|
* via `tooltipContent(tokens)`; standalone it falls back to the dark token set.
|
|
7
7
|
*/
|
|
8
|
-
export function ChartTooltip({ active, payload, label, tokens = FALLBACK_TOKENS, labelFormatter, valueFormatter, }) {
|
|
8
|
+
export function ChartTooltip({ active, payload, label, tokens = FALLBACK_TOKENS, labelFormatter, valueFormatter, ...rest }) {
|
|
9
9
|
if (!active || !payload?.length)
|
|
10
10
|
return null;
|
|
11
|
-
return (_jsxs("div", { className: 'rounded-lg px-3 py-2 text-xs shadow-[var(--shadow-popover)]', style: {
|
|
11
|
+
return (_jsxs("div", { ...rest, className: 'rounded-lg px-3 py-2 text-xs shadow-[var(--shadow-popover)]', style: {
|
|
12
12
|
backgroundColor: tokens.surface,
|
|
13
13
|
border: `1px solid ${tokens.border}`,
|
|
14
14
|
color: tokens.foreground,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartTooltip.js","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAoBhE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,GAAG,eAAe,EACxB,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"ChartTooltip.js","sourceRoot":"","sources":["../../../src/react/charts/ChartTooltip.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,eAAe,EAAE,MAAM,aAAa,CAAC;AAoBhE;;;;GAIG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,MAAM,EACN,OAAO,EACP,KAAK,EACL,MAAM,GAAG,eAAe,EACxB,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACW;IAClB,IAAI,CAAC,MAAM,IAAI,CAAC,OAAO,EAAE,MAAM;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,IAAI,CAAC,CAAC,CAStC,CACP,CAAC;gBACJ,CAAC,CAAC,GACE,IACF,CACP,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GACzB,CACE,MAAmB,EACnB,cAAoD,EACpD,cAAoD,EACpD,EAAE,CACJ,CAAC,CAAmE,EAAE,EAAE,CAAC,CACvE,KAAC,YAAY,IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAChB,OAAO,EAAE,CAAC,CAAC,OAAuC,EAClD,KAAK,EAAE,CAAC,CAAC,KAAK,EACd,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,GAC9B,CACH,CAAC"}
|
|
@@ -67,5 +67,5 @@ export declare function heatFraction(value: number, max: number): number;
|
|
|
67
67
|
* real zero renders at the ramp's floor. A grid that paints them identically
|
|
68
68
|
* says a sleeping host and an idle host are the same thing.
|
|
69
69
|
*/
|
|
70
|
-
export declare function HeatmapChart({ cells, rows, columns, ariaLabel, tone, rowLabel, columnLabel, cellTitle, valueFormatter, max, cellHeight, legend, footnote, onCellClick, className, }: HeatmapChartProps): import("react").JSX.Element;
|
|
70
|
+
export declare function HeatmapChart({ cells, rows, columns, ariaLabel, tone, rowLabel, columnLabel, cellTitle, valueFormatter, max, cellHeight, legend, footnote, onCellClick, className, ...rest }: HeatmapChartProps): import("react").JSX.Element;
|
|
71
71
|
//# sourceMappingURL=HeatmapChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/HeatmapChart.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAGnE,OAAO,EAAoB,KAAK,SAAS,EAA6B,MAAM,aAAa,CAAC;AAI1F,uFAAuF;AACvF,MAAM,MAAM,WAAW,GAAG;IACxB,kEAAkE;IAClE,GAAG,EAAE,MAAM,CAAC;I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CAAC,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF;;;;;;;;GAQG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAG/D;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,SAAS,EACT,IAAe,EACf,QAAmB,EACnB,WAAsB,EACtB,SAAS,EACT,cAAiC,EACjC,GAAG,EACH,UAAe,EACf,MAAa,EACb,QAAQ,EACR,WAAW,EACX,SAAS,EACT,GAAG,IAAI,EACR,EAAE,iBAAiB,+BAiGnB"}
|
|
@@ -41,7 +41,7 @@ export function heatFraction(value, max) {
|
|
|
41
41
|
* real zero renders at the ramp's floor. A grid that paints them identically
|
|
42
42
|
* says a sleeping host and an idle host are the same thing.
|
|
43
43
|
*/
|
|
44
|
-
export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent', rowLabel = (r) => r, columnLabel = (c) => c, cellTitle, valueFormatter = (v) => String(v), max, cellHeight = 18, legend = true, footnote, onCellClick, className, }) {
|
|
44
|
+
export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent', rowLabel = (r) => r, columnLabel = (c) => c, cellTitle, valueFormatter = (v) => String(v), max, cellHeight = 18, legend = true, footnote, onCellClick, className, ...rest }) {
|
|
45
45
|
const ref = useRef(null);
|
|
46
46
|
const tokens = useChartTokens(ref);
|
|
47
47
|
const hue = toneColor(tokens, tone);
|
|
@@ -51,7 +51,7 @@ export function HeatmapChart({ cells, rows, columns, ariaLabel, tone = 'accent',
|
|
|
51
51
|
const bottom = observed.length > 0 ? Math.min(...observed) : 0;
|
|
52
52
|
const title = (cell) => cellTitle?.(cell) ??
|
|
53
53
|
`${rowLabel(cell.row)} · ${cell.column}: ${cell.value === null ? 'no data' : valueFormatter(cell.value)}`;
|
|
54
|
-
return (_jsxs("div", { ref: ref, "data-cb-chart": '', className: cn('flex w-full min-w-0 flex-col gap-2', className), children: [_jsxs("div", { role: 'img', "aria-label": ariaLabel, className: 'grid min-w-0 gap-0.5',
|
|
54
|
+
return (_jsxs("div", { ...rest, ref: ref, "data-cb-chart": '', className: cn('flex w-full min-w-0 flex-col gap-2', className), children: [_jsxs("div", { role: 'img', "aria-label": ariaLabel, className: 'grid min-w-0 gap-0.5',
|
|
55
55
|
// The row-label column is sized to its content; every data column shares
|
|
56
56
|
// the remainder equally, so the grid fits its container at any width.
|
|
57
57
|
style: { gridTemplateColumns: `auto repeat(${columns.length}, minmax(0, 1fr))` }, children: [_jsx("div", { "aria-hidden": true }), columns.map((column, i) => (_jsx("div", { "aria-hidden": true, className: 'cb-meta-label truncate text-center text-caption leading-none', children: columnLabel(column, i) }, column))), rows.map((row) => (_jsx(Row, { label: rowLabel(row), children: columns.map((column) => {
|