cursedbelt 5.82.0 → 5.85.1
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 +1 -1
- package/dist/react/canvas-hud/AlignmentGuides.d.ts.map +1 -1
- package/dist/react/canvas-hud/AlignmentGuides.js +2 -2
- package/dist/react/canvas-hud/AlignmentGuides.js.map +1 -1
- 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/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/lib/overlayMotion.d.ts +8 -2
- package/dist/react/lib/overlayMotion.d.ts.map +1 -1
- package/dist/react/lib/overlayMotion.js +18 -4
- package/dist/react/lib/overlayMotion.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/core.css +20 -20
- 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 +18 -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 +2 -1
- 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/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/lib/overlayMotion.ts +19 -4
- 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/core.css +20 -20
- 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 +18 -0
- package/src/testing/designAudit.ts +30 -0
- package/src/theme.css +3 -0
|
@@ -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,MA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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,EAA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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,MA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AS,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,EACT,GAAG,IAAI,EACR,EAAE,cAAc,+BAmDhB"}
|
|
@@ -32,7 +32,7 @@ function LegendList({ items, tokens, 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
|
//# sourceMappingURL=ChartCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartCard.js","sourceRoot":"","sources":["../../../src/react/charts/ChartCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAoC,cAAc,EAAE,MAAM,aAAa,CAAC;A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|
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,EAAE,SAAS,EAAE,QAAQ,EAAmB;
|
|
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,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAmB;IAC7F,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IACzC,MAAM,MAAM,GAAG,cAAc,CAAC,GAAG,CAAC,CAAC;IACnC,MAAM,EAAE,KAAK,EAAE,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACxD,MAAM,IAAI,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC1C,MAAM,GAAG,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,IAAI,KAAK,EAAE,CAAC,CAAC;IAC/G,OAAO,CACL,iBACM,IAAI,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,KAAK,gBACE,SAAS,mBACP,EAAE,wBACI,GAAG,CAAC,IAAI,EAC5B,SAAS,EAAE,EAAE,CAAC,gBAAgB,EAAE,SAAS,CAAC,YAE1C,KAAC,mBAAmB,IAAC,KAAK,EAAC,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,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 -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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AC,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,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,sCAuCnB;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,GAEvB,QAAQ,WAAW,EACnB,iBAAiB,iBAAiB,CAAC,gBAAgB,CAAC,EACpD,iBAAiB,iBAAiB,CAAC,gBAAgB,CAAC,MAErD,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,gCASnE,CAAC"}
|
|
@@ -5,10 +5,10 @@ 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":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AC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;oBACzF,OAAO,CAGL,eAA8C,SAAS,EAAC,yBAAyB,aAC/E,eACE,SAAS,EAAC,4CAA4C,EACtD,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,KAAK,EAAE,GACvC,EACD,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,eAAM,SAAS,EAAC,YAAY,YAAE,KAAK,CAAC,IAAI,GAAQ,EACvE,eAAM,SAAS,EAAC,yCAAyC,YACtD,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,GACpD,KARC,MAAM,CAAC,IAAI,IAAI,KAAK,CAAC,OAAO,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;IACZ,wEAAwE;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,iFAAiF;IACjF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,iCAAiC;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,gFAAgF;IAChF,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxD,sEAAsE;IACtE,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,MAAM,CAAC;IAC1C,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;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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) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapChart.js","sourceRoot":"","sources":["../../../src/react/charts/HeatmapChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAsC,MAAM,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAoC,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAyC1C,0EAA0E;AAC1E,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,MAAc,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,MAAM,EAAE,CAAC;AAEvE;;;;;;;;GAQG;AACH,MAAM,UAAU,YAAY,CAAC,KAAa,EAAE,GAAW;IACrD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;QAAE,OAAO,CAAC,CAAC;IAC3E,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC;AAC/C,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,YAAY,CAAC,EAC3B,KAAK,EACL,IAAI,EACJ,OAAO,EACP,SAAS,EACT,IAAI,GAAG,QAAQ,EACf,QAAQ,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EACnB,WAAW,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EACtB,SAAS,EACT,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,MAA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,KAAK,GACF,EACL,QAAQ,IACR,CACJ,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,EAClB,KAAK,EACL,SAAS,EACT,KAAK,EACL,UAAU,GAMX;IACC,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,CACL,KAAC,OAAO,IAAC,OAAO,EAAE,KAAK,YACrB,cAAK,IAAI,EAAC,KAAK,gBAAa,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAI,GACjE,CACX,CAAC;IACJ,CAAC;IACD,uFAAuF;IACvF,gFAAgF;IAChF,OAAO,CACL,KAAC,OAAO,IAAC,OAAO,EAAE,KAAK,YACrB;YACE,wFAAwF;YACxF,mFAAmF;YACnF,6BAA6B;YAC7B,IAAI,EAAC,QAAQ,gBACD,KAAK,EACjB,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,EACpC,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,UAAU,GACnB,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -87,7 +87,7 @@ export interface IntervalTimelineProps {
|
|
|
87
87
|
* It also renders FORECAST intervals (`projected: true`, drawn as outlines), so
|
|
88
88
|
* a simulated drain and the run that actually happened can be shown on one axis.
|
|
89
89
|
*/
|
|
90
|
-
export declare function IntervalTimeline({ intervals, window: windowProp, bands, markers, ariaLabel, laneHeight, maxLanes, showConcurrency, formatTime, formatDuration, onSelect, className, }: IntervalTimelineProps): import("react").JSX.Element;
|
|
90
|
+
export declare function IntervalTimeline({ intervals, window: windowProp, bands, markers, ariaLabel, laneHeight, maxLanes, showConcurrency, formatTime, formatDuration, onSelect, className, ...rest }: IntervalTimelineProps): import("react").JSX.Element;
|
|
91
91
|
/**
|
|
92
92
|
* Greedy first-fit lane packing — the thing that makes overlap visible.
|
|
93
93
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntervalTimeline.d.ts","sourceRoot":"","sources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,EAAE,SAAS,gBAAgB,EAAE,EACtC,QAAQ,EAAE,MAAM,GACf;IAAE,MAAM,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,gBAAgB,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAkBtG"}
|
|
@@ -32,7 +32,7 @@ import { RAW_BUTTON } from '../lib/cn.js';
|
|
|
32
32
|
* It also renders FORECAST intervals (`projected: true`, drawn as outlines), so
|
|
33
33
|
* a simulated drain and the run that actually happened can be shown on one axis.
|
|
34
34
|
*/
|
|
35
|
-
export function IntervalTimeline({ intervals, window: windowProp, bands = [], markers = [], ariaLabel, laneHeight = 18, maxLanes = 14, showConcurrency = true, formatTime = (t) => new Date(t).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }), formatDuration = defaultDuration, onSelect, className, }) {
|
|
35
|
+
export function IntervalTimeline({ intervals, window: windowProp, bands = [], markers = [], ariaLabel, laneHeight = 18, maxLanes = 14, showConcurrency = true, formatTime = (t) => new Date(t).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }), formatDuration = defaultDuration, onSelect, className, ...rest }) {
|
|
36
36
|
const ref = useId();
|
|
37
37
|
const rootRef = useRef(null);
|
|
38
38
|
const tokens = useChartTokens(rootRef);
|
|
@@ -49,9 +49,9 @@ export function IntervalTimeline({ intervals, window: windowProp, bands = [], ma
|
|
|
49
49
|
const pct = (t) => ((t - view.from) / view.span) * 100;
|
|
50
50
|
const clampedPct = (t) => Math.max(0, Math.min(100, pct(t)));
|
|
51
51
|
if (view.usable.length === 0) {
|
|
52
|
-
return (_jsx("div", { ref: rootRef, className: cn('flex h-24 items-center justify-center text-muted-foreground text-xs', className), children: "Nothing ran in this window." }));
|
|
52
|
+
return (_jsx("div", { ...rest, ref: rootRef, className: cn('flex h-24 items-center justify-center text-muted-foreground text-xs', className), children: "Nothing ran in this window." }));
|
|
53
53
|
}
|
|
54
|
-
return (_jsxs("div", { ref: rootRef, className: cn('flex min-w-0 flex-col gap-1.5', className), children: [_jsxs("div", {
|
|
54
|
+
return (_jsxs("div", { ...rest, ref: rootRef, className: cn('flex min-w-0 flex-col gap-1.5', className), children: [_jsxs("div", {
|
|
55
55
|
// guardrails-ignore no-hand-rolled-surface: a chart's plot well (sunken, fixed height, drawn into) — an instrument surface, not a card
|
|
56
56
|
role: 'img', "aria-label": ariaLabel, className: 'relative w-full overflow-hidden rounded-md border border-border bg-surface-sunken', style: { height: lanes.laneCount * laneHeight + 8 }, children: [bands.map((b) => (_jsx("span", { "aria-hidden": true, className: 'absolute inset-y-0 opacity-25', style: {
|
|
57
57
|
left: `${clampedPct(b.from)}%`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntervalTimeline.js","sourceRoot":"","sources":["../../../src/react/charts/IntervalTimeline.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkB,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAkB,SAAS,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AA0D1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,UAAU,gBAAgB,CAAC,EAC/B,SAAS,EACT,MAAM,EAAE,UAAU,EAClB,KAAK,GAAG,EAAE,EACV,OAAO,GAAG,EAAE,EACZ,SAAS,EACT,UAAU,GAAG,EAAE,EACf,QAAQ,GAAG,EAAE,EACb,eAAe,GAAG,IAAI,EACtB,UAAU,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,CA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CAAC,CAAC;IAClC,CAAC;IACD,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC;AACvE,CAAC;AAED,SAAS,eAAe,CAAC,EAAU;IACjC,IAAI,EAAE,GAAG,MAAM;QAAE,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC;IACpD,IAAI,EAAE,GAAG,SAAS;QAAE,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC;IACzD,OAAO,GAAG,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;AAC3C,CAAC"}
|
|
@@ -21,5 +21,5 @@ export type LineChartProps = {
|
|
|
21
21
|
labelFormatter?: (label: string | number) => string;
|
|
22
22
|
};
|
|
23
23
|
/** Multi-series line chart. Colors come from the tokens; callers pass no color props. */
|
|
24
|
-
export declare function LineChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, yWidth, xTickFormatter, valueFormatter, labelFormatter, }: LineChartProps): import("react").JSX.Element;
|
|
24
|
+
export declare function LineChart({ data, xKey, series, ariaLabel, height, smooth, legend, grid, yWidth, xTickFormatter, valueFormatter, labelFormatter, ...rest }: LineChartProps): import("react").JSX.Element;
|
|
25
25
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/LineChart.tsx"],"names":[],"mappings":"AAaA,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,WAAW,EAAe,MAAM,aAAa,CAAC;AAExG,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,uDAAuD;IACvD,IAAI,EAAE,MAAM,CAAC;IACb,MAAM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O,CAAC;IACjB,6CAA6C;IAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,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,CAAC;CACrD,CAAC;AAEF,yFAAyF;AACzF,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAa,EACb,MAAM,EACN,IAAW,EACX,MAAe,EACf,cAAc,EACd,cAAc,EACd,cAAc,EACd,GAAG,IAAI,EACR,EAAE,cAAc,+BA6ChB"}
|
|
@@ -5,8 +5,8 @@ import { legendContent } from './ChartLegend.js';
|
|
|
5
5
|
import { tooltipContent } from './ChartTooltip.js';
|
|
6
6
|
import { axisProps, valueAxisProps, seriesColor } from './shared.js';
|
|
7
7
|
/** Multi-series line chart. Colors come from the tokens; callers pass no color props. */
|
|
8
|
-
export function LineChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, }) {
|
|
8
|
+
export function LineChart({ data, xKey, series, ariaLabel, height, smooth = true, legend, grid = true, yWidth = 'auto', xTickFormatter, valueFormatter, labelFormatter, ...rest }) {
|
|
9
9
|
const showLegend = (box) => legend ?? (!box.legendInHeader && series.length > 1);
|
|
10
|
-
return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RLineChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [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) => (_jsx(Line, { type: smooth ? 'monotone' : 'linear', dataKey: s.dataKey, name: s.name ?? s.dataKey, stroke: seriesColor(t, s, i), strokeWidth: box.stroke, dot: false, activeDot: { r: 3 }, isAnimationActive: false }, s.dataKey)))] })) }));
|
|
10
|
+
return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t, box) => (_jsxs(RLineChart, { data: data, margin: { top: 8, right: 12, bottom: 0, left: 0 }, children: [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) => (_jsx(Line, { type: smooth ? 'monotone' : 'linear', dataKey: s.dataKey, name: s.name ?? s.dataKey, stroke: seriesColor(t, s, i), strokeWidth: box.stroke, dot: false, activeDot: { r: 3 }, isAnimationActive: false }, s.dataKey)))] })) }));
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=LineChart.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.js","sourceRoot":"","sources":["../../../src/react/charts/LineChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,MAAM,EACN,IAAI,EACJ,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,MAAM,aAAa,CAAC;AAwBxG,yFAAyF;AACzF,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,MAAM,GAAG,MAAM,EACf,cAAc,EACd,cAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"LineChart.js","sourceRoot":"","sources":["../../../src/react/charts/LineChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,MAAM,EACN,IAAI,EACJ,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,MAAM,aAAa,CAAC;AAwBxG,yFAAyF;AACzF,MAAM,UAAU,SAAS,CAAC,EACxB,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,MAAM,GAAG,IAAI,EACb,MAAM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GAAG,EAAE,EACzE,iBAAiB,EAAE,KAAK,GACxB,EACD,UAAU,CAAC,GAAG,CAAC,IAAI,KAAC,MAAM,IAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,GAAI,EAC1E,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,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,MAAM,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAC5B,WAAW,EAAE,GAAG,CAAC,MAAM,EACvB,GAAG,EAAE,KAAK,EACV,SAAS,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EACnB,iBAAiB,EAAE,KAAK,IARnB,CAAC,CAAC,OAAO,CASd,CACH,CAAC,IACS,CACd,GACU,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -32,7 +32,7 @@ export type PieChartProps = {
|
|
|
32
32
|
valueFormatter?: (value: number) => string;
|
|
33
33
|
};
|
|
34
34
|
/** Pie / donut chart. Slice colors come from the tokens (or per-datum semantic tone). */
|
|
35
|
-
export declare function PieChart({ data, ariaLabel, height, donut, legend, labels, valueFormatter, }: PieChartProps): import("react").JSX.Element;
|
|
35
|
+
export declare function PieChart({ data, ariaLabel, height, donut, legend, labels, valueFormatter, ...rest }: PieChartProps): import("react").JSX.Element;
|
|
36
36
|
export type DonutChartProps = Omit<PieChartProps, 'donut'>;
|
|
37
37
|
/** A donut is a Pie with the center cut out — the dashboard default for part-of-whole. */
|
|
38
38
|
export declare function DonutChart(props: DonutChartProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PieChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/PieChart.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,QAAQ,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAKzE;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,QAAQ,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAGjF;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C,CAAC;AAEF,yFAAyF;AACzF,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,SAAS,EACT,MAAY,EACZ,KAAa,EACb,MAAa,EACb,MAAc,EACd,cAAc,
|
|
1
|
+
{"version":3,"file":"PieChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/PieChart.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,QAAQ,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAKzE;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,SAAS,QAAQ,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAGjF;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C,CAAC;AAEF,yFAAyF;AACzF,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,SAAS,EACT,MAAY,EACZ,KAAa,EACb,MAAa,EACb,MAAc,EACd,cAAc,EACd,GAAG,IAAI,EACR,EAAE,aAAa,+BA6Cf;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;AAE3D,0FAA0F;AAC1F,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEhD"}
|
|
@@ -25,8 +25,8 @@ export function sliceGapDegrees(data, donut) {
|
|
|
25
25
|
return data.filter((d) => d.value > 0).length > 1 ? SLICE_GAP_DEG : 0;
|
|
26
26
|
}
|
|
27
27
|
/** Pie / donut chart. Slice colors come from the tokens (or per-datum semantic tone). */
|
|
28
|
-
export function PieChart({ data, ariaLabel, height = 240, donut = false, legend = true, labels = false, valueFormatter, }) {
|
|
29
|
-
return (_jsx(ChartFrame, { ariaLabel: ariaLabel, height: height, children: (t) => (_jsxs(RPieChart, { margin: { top: 8, right: 8, bottom: 8, left: 8 }, children: [_jsx(Pie, { data: data, dataKey: 'value', nameKey: 'name',
|
|
28
|
+
export function PieChart({ data, ariaLabel, height = 240, donut = false, legend = true, labels = false, valueFormatter, ...rest }) {
|
|
29
|
+
return (_jsx(ChartFrame, { ...rest, ariaLabel: ariaLabel, height: height, children: (t) => (_jsxs(RPieChart, { margin: { top: 8, right: 8, bottom: 8, left: 8 }, children: [_jsx(Pie, { data: data, dataKey: 'value', nameKey: 'name',
|
|
30
30
|
// 🔴 The Pie was the ONE series in this library still animating —
|
|
31
31
|
// every other chart here disables it — and on a LIVE-POLLING
|
|
32
32
|
// dashboard that is not a nicety, it is why the chart is blank.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PieChart.js","sourceRoot":"","sources":["../../../src/react/charts/PieChart.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,IAAI,SAAS,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAC7E,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,WAAW,EAAE,MAAM,aAAa,CAAC;AAK1C,sCAAsC;AACtC,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,eAAe,CAAC,IAAyB,EAAE,KAAc;IACvE,IAAI,CAAC,KAAK;QAAE,OAAO,CAAC,CAAC;IACrB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AACxE,CAAC;AAgBD,yFAAyF;AACzF,MAAM,UAAU,QAAQ,CAAC,EACvB,IAAI,EACJ,SAAS,EACT,MAAM,GAAG,GAAG,EACZ,KAAK,GAAG,KAAK,EACb,MAAM,GAAG,IAAI,EACb,MAAM,GAAG,KAAK,EACd,cAAc,
|
|
1
|
+
{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UAAU,UAAU,CAAC,KAAsB;IAC/C,OAAO,KAAC,QAAQ,OAAK,KAAK,EAAE,KAAK,SAAG,CAAC;AACvC,CAAC"}
|
|
@@ -20,5 +20,5 @@ export type RadialBarChartProps = {
|
|
|
20
20
|
* derives no usable legend payload for this, so the legend is rendered with cursedbelt's
|
|
21
21
|
* own ChartLegend below the SVG (which also keeps it out of the responsive sizing box).
|
|
22
22
|
*/
|
|
23
|
-
export declare function RadialBarChart({ data, ariaLabel, height, max, legend, valueFormatter, }: RadialBarChartProps): import("react").JSX.Element;
|
|
23
|
+
export declare function RadialBarChart({ data, ariaLabel, height, max, legend, valueFormatter, ...rest }: RadialBarChartProps): import("react").JSX.Element;
|
|
24
24
|
//# sourceMappingURL=RadialBarChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadialBarChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/RadialBarChart.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,aAAa,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,EACT,MAAY,EACZ,GAAG,EACH,MAAa,EACb,cAAc,
|
|
1
|
+
{"version":3,"file":"RadialBarChart.d.ts","sourceRoot":"","sources":["../../../src/react/charts/RadialBarChart.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAkB,MAAM,aAAa,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,CAAA;CAAE,CAAC;AAE5E,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,WAAW,EAAE,CAAC;IACpB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,EACT,MAAY,EACZ,GAAG,EACH,MAAa,EACb,cAAc,EACd,GAAG,IAAI,EACR,EAAE,mBAAmB,+BAsCrB"}
|
|
@@ -10,11 +10,11 @@ import { useChartTokens } from './tokens.js';
|
|
|
10
10
|
* derives no usable legend payload for this, so the legend is rendered with cursedbelt's
|
|
11
11
|
* own ChartLegend below the SVG (which also keeps it out of the responsive sizing box).
|
|
12
12
|
*/
|
|
13
|
-
export function RadialBarChart({ data, ariaLabel, height = 240, max, legend = true, valueFormatter, }) {
|
|
13
|
+
export function RadialBarChart({ data, ariaLabel, height = 240, max, legend = true, valueFormatter, ...rest }) {
|
|
14
14
|
const ref = useRef(null);
|
|
15
15
|
const tokens = useChartTokens(ref);
|
|
16
16
|
const rings = data.map((d, i) => ({ ...d, fill: seriesColor(tokens, d, i) }));
|
|
17
17
|
const domainMax = max ?? Math.max(1, ...data.map((d) => d.value));
|
|
18
|
-
return (_jsxs("div", { ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', className: 'w-full', children: [_jsx(ResponsiveContainer, { width: '100%', height: height, children: _jsxs(RRadialBarChart, { data: rings, innerRadius: '30%', outerRadius: '100%', startAngle: 90, endAngle: -270, margin: { top: 8, right: 8, bottom: 8, left: 8 }, children: [_jsx(PolarAngleAxis, { type: 'number', domain: [0, domainMax], tick: false }), _jsx(RadialBar, { dataKey: 'value', background: { fill: tokens.foregroundMuted, fillOpacity: 0.12 }, cornerRadius: 6, isAnimationActive: true }), _jsx(Tooltip, { content: tooltipContent(tokens, undefined, valueFormatter), cursor: false, isAnimationActive: false })] }) }), legend && (_jsx(ChartLegend, { tokens: tokens, payload: rings.map((d) => ({ value: d.name, color: d.fill, dataKey: d.name })) }))] }));
|
|
18
|
+
return (_jsxs("div", { ...rest, ref: ref, role: 'img', "aria-label": ariaLabel, "data-cb-chart": '', className: 'w-full', children: [_jsx(ResponsiveContainer, { width: '100%', height: height, children: _jsxs(RRadialBarChart, { data: rings, innerRadius: '30%', outerRadius: '100%', startAngle: 90, endAngle: -270, margin: { top: 8, right: 8, bottom: 8, left: 8 }, children: [_jsx(PolarAngleAxis, { type: 'number', domain: [0, domainMax], tick: false }), _jsx(RadialBar, { dataKey: 'value', background: { fill: tokens.foregroundMuted, fillOpacity: 0.12 }, cornerRadius: 6, isAnimationActive: true }), _jsx(Tooltip, { content: tooltipContent(tokens, undefined, valueFormatter), cursor: false, isAnimationActive: false })] }) }), legend && (_jsx(ChartLegend, { tokens: tokens, payload: rings.map((d) => ({ value: d.name, color: d.fill, dataKey: d.name })) }))] }));
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=RadialBarChart.js.map
|