@trinityui/design-system 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2209 -0
- package/CONTRIBUTING.md +180 -69
- package/LICENSE +21 -0
- package/MIGRATION.md +523 -21
- package/README.md +281 -120
- package/dist/IllustratedMessage.js +546 -1341
- package/dist/accessibility.d.ts +596 -18
- package/dist/accessibility.d.ts.map +1 -1
- package/dist/accessibility.js +458 -0
- package/dist/app-shell.js +17230 -9097
- package/dist/assets/index.d.ts +1 -1
- package/dist/charts.js +8507 -6059
- package/dist/color-contrast.d.ts +35 -0
- package/dist/color-contrast.d.ts.map +1 -0
- package/dist/commonjs-helpers.js +8 -0
- package/dist/component-color-references.d.ts +175 -0
- package/dist/component-color-references.d.ts.map +1 -0
- package/dist/components/AI/AIActions.d.ts +72 -12
- package/dist/components/AI/AIActions.d.ts.map +1 -1
- package/dist/components/AI/AIAvatar.d.ts +31 -3
- package/dist/components/AI/AIAvatar.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.d.ts +192 -72
- package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.types.d.ts +296 -34
- package/dist/components/AI/AIChainOfThought.types.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.utils.d.ts +25 -7
- package/dist/components/AI/AIChainOfThought.utils.d.ts.map +1 -1
- package/dist/components/AI/AIChat.d.ts +12 -0
- package/dist/components/AI/AIChat.d.ts.map +1 -1
- package/dist/components/AI/AIChatWelcome.d.ts +254 -0
- package/dist/components/AI/AIChatWelcome.d.ts.map +1 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts +134 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts.map +1 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts +117 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts.map +1 -0
- package/dist/components/AI/AIConfigContext.d.ts +100 -0
- package/dist/components/AI/AIConfigContext.d.ts.map +1 -0
- package/dist/components/AI/AIConfigProvider.d.ts +66 -0
- package/dist/components/AI/AIConfigProvider.d.ts.map +1 -0
- package/dist/components/AI/AIContainer.d.ts +80 -11
- package/dist/components/AI/AIContainer.d.ts.map +1 -1
- package/dist/components/AI/AIExplainability.d.ts +39 -5
- package/dist/components/AI/AIExplainability.d.ts.map +1 -1
- package/dist/components/AI/AIFeedbackControl.d.ts +113 -0
- package/dist/components/AI/AIFeedbackControl.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackForm.d.ts +117 -0
- package/dist/components/AI/AIFeedbackForm.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts +16 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts.map +1 -0
- package/dist/components/AI/AILabel.d.ts +39 -6
- package/dist/components/AI/AILabel.d.ts.map +1 -1
- package/dist/components/AI/AIMessage.d.ts +337 -42
- package/dist/components/AI/AIMessage.d.ts.map +1 -1
- package/dist/components/AI/AIPlanReview.d.ts +194 -0
- package/dist/components/AI/AIPlanReview.d.ts.map +1 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts +119 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts.map +1 -0
- package/dist/components/AI/AIRelatedQuestions.d.ts +50 -11
- package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -1
- package/dist/components/AI/AIResponseRenderer.d.ts +133 -21
- package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -1
- package/dist/components/AI/AIResponseSourcesContext.d.ts +83 -0
- package/dist/components/AI/AIResponseSourcesContext.d.ts.map +1 -0
- package/dist/components/AI/AIReviewItem.d.ts +142 -0
- package/dist/components/AI/AIReviewItem.d.ts.map +1 -0
- package/dist/components/AI/AISourceChip.d.ts +135 -0
- package/dist/components/AI/AISourceChip.d.ts.map +1 -0
- package/dist/components/AI/AISources.d.ts +91 -13
- package/dist/components/AI/AISources.d.ts.map +1 -1
- package/dist/components/AI/AISourcesPanel.d.ts +43 -7
- package/dist/components/AI/AISourcesPanel.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.d.ts +107 -17
- package/dist/components/AI/AITextBlock.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.parser.d.ts +153 -0
- package/dist/components/AI/AITextBlock.parser.d.ts.map +1 -0
- package/dist/components/AI/AIVerificationBadge.d.ts +94 -0
- package/dist/components/AI/AIVerificationBadge.d.ts.map +1 -0
- package/dist/components/AI/AIVisuals.d.ts +92 -23
- package/dist/components/AI/AIVisuals.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceInput.d.ts +42 -11
- package/dist/components/AI/AIVoiceInput.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceMode.d.ts +16 -2
- package/dist/components/AI/AIVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/BlockErrorBoundary.d.ts +77 -0
- package/dist/components/AI/BlockErrorBoundary.d.ts.map +1 -0
- package/dist/components/AI/ChatHeader.d.ts +41 -4
- package/dist/components/AI/ChatHeader.d.ts.map +1 -1
- package/dist/components/AI/ChatHistoryList.d.ts +25 -12
- package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
- package/dist/components/AI/ChatThread.d.ts +263 -13
- package/dist/components/AI/ChatThread.d.ts.map +1 -1
- package/dist/components/AI/InThreadContext.d.ts +14 -0
- package/dist/components/AI/InThreadContext.d.ts.map +1 -0
- package/dist/components/AI/InsightEngine.d.ts +270 -46
- package/dist/components/AI/InsightEngine.d.ts.map +1 -1
- package/dist/components/AI/InsightEngineInput.d.ts +52 -5
- package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
- package/dist/components/AI/MessageActionButton.d.ts +72 -0
- package/dist/components/AI/MessageActionButton.d.ts.map +1 -0
- package/dist/components/AI/QueryInput.d.ts.map +1 -1
- package/dist/components/AI/UserAvatar.d.ts +50 -4
- package/dist/components/AI/UserAvatar.d.ts.map +1 -1
- package/dist/components/AI/UserMessage.d.ts +32 -3
- package/dist/components/AI/UserMessage.d.ts.map +1 -1
- package/dist/components/AI/blockRendererContext.d.ts +64 -0
- package/dist/components/AI/blockRendererContext.d.ts.map +1 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts +48 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/index.d.ts +23 -6
- package/dist/components/AI/index.d.ts.map +1 -1
- package/dist/components/AI/moleculeBlockRenderers.d.ts +15 -0
- package/dist/components/AI/moleculeBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts +8 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts.map +1 -0
- package/dist/components/AI/strings/defaults.d.ts +31 -0
- package/dist/components/AI/strings/defaults.d.ts.map +1 -0
- package/dist/components/AI/tokens.d.ts +185 -20
- package/dist/components/AI/tokens.d.ts.map +1 -1
- package/dist/components/AI/types/hitl.d.ts +2294 -0
- package/dist/components/AI/types/hitl.d.ts.map +1 -0
- package/dist/components/AI/types/index.d.ts +2 -1
- package/dist/components/AI/types/index.d.ts.map +1 -1
- package/dist/components/AI/types/response.d.ts +428 -40
- package/dist/components/AI/types/response.d.ts.map +1 -1
- package/dist/components/AI/useBlockSources.d.ts +67 -0
- package/dist/components/AI/useBlockSources.d.ts.map +1 -0
- package/dist/components/AI/useBrowserVoiceMode.d.ts +31 -2
- package/dist/components/AI/useBrowserVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts +30 -0
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts.map +1 -0
- package/dist/components/AI/utils/alphaIndex.d.ts +19 -0
- package/dist/components/AI/utils/alphaIndex.d.ts.map +1 -0
- package/dist/components/AI/utils/blockReady.d.ts +54 -0
- package/dist/components/AI/utils/blockReady.d.ts.map +1 -0
- package/dist/components/AI/utils/blocks.d.ts +28 -0
- package/dist/components/AI/utils/blocks.d.ts.map +1 -0
- package/dist/components/AI/utils/confidence.d.ts +182 -0
- package/dist/components/AI/utils/confidence.d.ts.map +1 -0
- package/dist/components/AI/utils/filters.d.ts +31 -0
- package/dist/components/AI/utils/filters.d.ts.map +1 -0
- package/dist/components/AI/utils/responseText.d.ts +8 -0
- package/dist/components/AI/utils/responseText.d.ts.map +1 -0
- package/dist/components/AI/utils/sources.d.ts +110 -0
- package/dist/components/AI/utils/sources.d.ts.map +1 -0
- package/dist/components/AIDigestCard/AIDigestCard.d.ts.map +1 -1
- package/dist/components/AIDigestCard/types.d.ts +42 -5
- package/dist/components/AIDigestCard/types.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFab.d.ts +33 -6
- package/dist/components/AppLayout/AIFab.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -1
- package/dist/components/AppLayout/AppLayout.d.ts +135 -7
- package/dist/components/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/components/AppLayout/InsightEnginePanel.d.ts +315 -21
- package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ResizablePanel.d.ts +145 -8
- package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +6 -0
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
- package/dist/components/AppLayout/index.d.ts +3 -3
- package/dist/components/AppLayout/index.d.ts.map +1 -1
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts +32 -0
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts.map +1 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts +26 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts.map +1 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts +49 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts.map +1 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts +40 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts.map +1 -0
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts +5 -1
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/AuditDrawer.d.ts +4 -3
- package/dist/components/AuditDrawer/AuditDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/index.d.ts +1 -1
- package/dist/components/AuditDrawer/index.d.ts.map +1 -1
- package/dist/components/AuditDrawer/types.d.ts +39 -5
- package/dist/components/AuditDrawer/types.d.ts.map +1 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +6 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/dist/components/BulkActionDock/BulkActionDock.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +10 -2
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Charts/AreaChart.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.d.ts.map +1 -1
- package/dist/components/Charts/ChartWrapper.d.ts.map +1 -1
- package/dist/components/Charts/ComposedChart.d.ts.map +1 -1
- package/dist/components/Charts/CustomLegend.d.ts +11 -2
- package/dist/components/Charts/CustomLegend.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.d.ts.map +1 -1
- package/dist/components/Charts/RadialChart.d.ts.map +1 -1
- package/dist/components/Charts/ScatterChart.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.d.ts.map +1 -1
- package/dist/components/Charts/gaugeGeometry.d.ts +35 -0
- package/dist/components/Charts/gaugeGeometry.d.ts.map +1 -0
- package/dist/components/Charts/highcharts.d.ts +23 -0
- package/dist/components/Charts/highcharts.d.ts.map +1 -0
- package/dist/components/Charts/highchartsUtils.d.ts +101 -6
- package/dist/components/Charts/highchartsUtils.d.ts.map +1 -1
- package/dist/components/Charts/index.d.ts +1 -1
- package/dist/components/Charts/index.d.ts.map +1 -1
- package/dist/components/Charts/tokens.d.ts +21 -0
- package/dist/components/Charts/tokens.d.ts.map +1 -1
- package/dist/components/Charts/types.d.ts +7 -7
- package/dist/components/Charts/types.d.ts.map +1 -1
- package/dist/components/ChipsInput/ChipsInput.d.ts.map +1 -1
- package/dist/components/ChoiceChips/ChoiceChips.d.ts +106 -0
- package/dist/components/ChoiceChips/ChoiceChips.d.ts.map +1 -0
- package/dist/components/ClearableTextField/ClearableTextField.d.ts +23 -2
- package/dist/components/ClearableTextField/ClearableTextField.d.ts.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +80 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +3 -2
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +54 -3
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/CommandPalette/index.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +80 -0
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/DataCard/DataCard.d.ts +11 -1
- package/dist/components/DataCard/DataCard.d.ts.map +1 -1
- package/dist/components/DataTable/CellRenderers.d.ts +8 -11
- package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -1
- package/dist/components/DataTable/columnContext.d.ts +8 -0
- package/dist/components/DataTable/columnContext.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +2 -2
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DataTable/labels.d.ts +13 -0
- package/dist/components/DataTable/labels.d.ts.map +1 -0
- package/dist/components/DataTable/types.d.ts +34 -0
- package/dist/components/DataTable/types.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DetailsPopover/DetailsPopover.d.ts +185 -0
- package/dist/components/DetailsPopover/DetailsPopover.d.ts.map +1 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts +3 -2
- package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -1
- package/dist/components/Disclosure/Disclosure.d.ts +83 -0
- package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
- package/dist/components/DockLayout/DockLayout.d.ts +58 -0
- package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
- package/dist/components/DockLayout/index.d.ts +1 -1
- package/dist/components/DockLayout/index.d.ts.map +1 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts +5 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts.map +1 -1
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts +6 -2
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.d.ts +141 -6
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FilterBar/FilterBar.d.ts +27 -1
- package/dist/components/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar/index.d.ts +1 -1
- package/dist/components/FilterBar/index.d.ts.map +1 -1
- package/dist/components/FlowAutoLayout/useFlowAutoLayout.d.ts.map +1 -1
- package/dist/components/GanttView/GanttView.d.ts +24 -0
- package/dist/components/GanttView/GanttView.d.ts.map +1 -1
- package/dist/components/GanttView/types.d.ts +33 -7
- package/dist/components/GanttView/types.d.ts.map +1 -1
- package/dist/components/GaugeCard/GaugeCard.d.ts +4 -3
- package/dist/components/GaugeCard/GaugeCard.d.ts.map +1 -1
- package/dist/components/GaugeCard/geometry.d.ts +59 -0
- package/dist/components/GaugeCard/geometry.d.ts.map +1 -0
- package/dist/components/GeoStatusMap/GeoStatusMap.d.ts.map +1 -1
- package/dist/components/GeoStatusMap/types.d.ts +8 -5
- package/dist/components/GeoStatusMap/types.d.ts.map +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts.map +1 -1
- package/dist/components/HierarchicalDrillDown/HierarchicalDrillDown.d.ts.map +1 -1
- package/dist/components/HistoricalDataIndicator/HistoricalDataIndicator.d.ts.map +1 -1
- package/dist/components/HtmlToMui/HtmlToMui.d.ts +32 -2
- package/dist/components/HtmlToMui/HtmlToMui.d.ts.map +1 -1
- package/dist/components/Icon.d.ts +567 -10
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/IllustratedMessage.d.ts +52 -3
- package/dist/components/IllustratedMessage.d.ts.map +1 -1
- package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
- package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
- package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
- package/dist/components/InsightCard/types.d.ts +10 -3
- package/dist/components/InsightCard/types.d.ts.map +1 -1
- package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
- package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
- package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
- package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
- package/dist/components/LandingPage/LandingPage.d.ts +43 -4
- package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
- package/dist/components/LandingPage/heroTone.d.ts +54 -0
- package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
- package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
- package/dist/components/MetaChip/MetaChip.d.ts +113 -0
- package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +222 -20
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
- package/dist/components/OrgChart/OrgChart.d.ts +5 -0
- package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
- package/dist/components/OrgChart/types.d.ts +31 -7
- package/dist/components/OrgChart/types.d.ts.map +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/components/PageTOC/PageTOC.d.ts +2 -1
- package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
- package/dist/components/Popper/Popper.d.ts +80 -9
- package/dist/components/Popper/Popper.d.ts.map +1 -1
- package/dist/components/Popper/index.d.ts +1 -1
- package/dist/components/Popper/index.d.ts.map +1 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
- package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts +48 -4
- package/dist/components/SandboxedIframeRenderer/SandboxedIframeRenderer.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +49 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
- package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
- package/dist/components/SplitPane/SplitPane.d.ts +2 -1
- package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
- package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Badge.d.ts +6 -1
- package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Chip.d.ts +3 -1
- package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
- package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
- package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/dist/components/StatusIndicator/index.d.ts +2 -2
- package/dist/components/StatusIndicator/index.d.ts.map +1 -1
- package/dist/components/StatusIndicator/types.d.ts +48 -1
- package/dist/components/StatusIndicator/types.d.ts.map +1 -1
- package/dist/components/StepList/StepList.d.ts +80 -0
- package/dist/components/StepList/StepList.d.ts.map +1 -0
- package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
- package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
- package/dist/components/StepList/stepStatus.d.ts +30 -0
- package/dist/components/StepList/stepStatus.d.ts.map +1 -0
- package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +57 -3
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/timelineLabels.d.ts +70 -0
- package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/TopNavHeader.d.ts +6 -0
- package/dist/components/TopNavHeader.d.ts.map +1 -1
- package/dist/components/TopNavWithSidebar.d.ts +49 -1
- package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
- package/dist/components/Tour/Tour.d.ts +18 -1
- package/dist/components/Tour/Tour.d.ts.map +1 -1
- package/dist/components/TransferList/TransferList.d.ts +123 -4
- package/dist/components/TransferList/TransferList.d.ts.map +1 -1
- package/dist/components/TransferList/index.d.ts +1 -1
- package/dist/components/TransferList/index.d.ts.map +1 -1
- package/dist/components/TreeView/TreeView.d.ts +97 -8
- package/dist/components/TreeView/TreeView.d.ts.map +1 -1
- package/dist/components/TreeView/index.d.ts +1 -1
- package/dist/components/TreeView/index.d.ts.map +1 -1
- package/dist/components/TrinityLoader.d.ts.map +1 -1
- package/dist/components/icons/featherExtensions.d.ts +55 -0
- package/dist/components/icons/featherExtensions.d.ts.map +1 -0
- package/dist/components/icons/materialExtensions.d.ts +20 -0
- package/dist/components/icons/materialExtensions.d.ts.map +1 -0
- package/dist/components/internal/index.d.ts +87 -0
- package/dist/components/internal/index.d.ts.map +1 -1
- package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
- package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
- package/dist/components/navigation/components.d.ts +6 -0
- package/dist/components/navigation/components.d.ts.map +1 -1
- package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
- package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
- package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
- package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
- package/dist/components/shared/bidi.d.ts +44 -0
- package/dist/components/shared/bidi.d.ts.map +1 -0
- package/dist/components/shared/bidiText.d.ts +25 -0
- package/dist/components/shared/bidiText.d.ts.map +1 -0
- package/dist/components/shared/containerQueries.d.ts +73 -0
- package/dist/components/shared/containerQueries.d.ts.map +1 -0
- package/dist/components/shared/createStringsContext.d.ts +69 -0
- package/dist/components/shared/createStringsContext.d.ts.map +1 -0
- package/dist/components/shared/direction.d.ts +46 -0
- package/dist/components/shared/direction.d.ts.map +1 -0
- package/dist/components/shared/focusTrap.d.ts +36 -0
- package/dist/components/shared/focusTrap.d.ts.map +1 -0
- package/dist/components/shared/getInitials.d.ts +29 -0
- package/dist/components/shared/getInitials.d.ts.map +1 -0
- package/dist/components/shared/headingLevel.d.ts +69 -0
- package/dist/components/shared/headingLevel.d.ts.map +1 -0
- package/dist/components/shared/mergeSlotProps.d.ts +50 -0
- package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
- package/dist/components/shared/mergeSx.d.ts +26 -0
- package/dist/components/shared/mergeSx.d.ts.map +1 -0
- package/dist/components/shared/motion.d.ts +110 -0
- package/dist/components/shared/motion.d.ts.map +1 -0
- package/dist/components/shared/occurrenceKeys.d.ts +23 -0
- package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
- package/dist/components/shared/primaryAction.d.ts +89 -0
- package/dist/components/shared/primaryAction.d.ts.map +1 -0
- package/dist/components/shared/resizeKeyboard.d.ts +68 -0
- package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
- package/dist/components/shared/rootProps.d.ts +117 -0
- package/dist/components/shared/rootProps.d.ts.map +1 -0
- package/dist/components/shared/safeContent.d.ts +136 -0
- package/dist/components/shared/safeContent.d.ts.map +1 -0
- package/dist/components/shared/targetSize.d.ts +64 -0
- package/dist/components/shared/targetSize.d.ts.map +1 -0
- package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
- package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
- package/dist/components/shared/useCopyAction.d.ts +35 -0
- package/dist/components/shared/useCopyAction.d.ts.map +1 -0
- package/dist/components/shared/useOverflow.d.ts +44 -0
- package/dist/components/shared/useOverflow.d.ts.map +1 -0
- package/dist/components/shared/useResizable.d.ts +106 -7
- package/dist/components/shared/useResizable.d.ts.map +1 -1
- package/dist/components/shared/warnDeprecated.d.ts +89 -15
- package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
- package/dist/components/shared/zIndexRoles.d.ts +62 -0
- package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
- package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
- package/dist/components/templates/Auth/types.d.ts +4 -1
- package/dist/components/templates/Auth/types.d.ts.map +1 -1
- package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
- package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
- package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/index.d.ts +1 -1
- package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
- package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
- package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
- package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/index.d.ts +2 -1
- package/dist/components/templates/index.d.ts.map +1 -1
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +1 -0
- package/dist/data-table2.js +13522 -13465
- package/dist/data.js +213 -194
- package/dist/elk.bundled.js +47371 -0
- package/dist/essentials.d.ts +3 -3
- package/dist/essentials.d.ts.map +1 -1
- package/dist/essentials.js +179 -147
- package/dist/focus-on-replace.js +49 -0
- package/dist/form.d.ts +26 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/forms.js +575 -483
- package/dist/foundation.js +3704 -0
- package/dist/hooks/storageStore.d.ts +51 -0
- package/dist/hooks/storageStore.d.ts.map +1 -0
- package/dist/hooks/useAsyncAction.d.ts +65 -0
- package/dist/hooks/useAsyncAction.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.d.ts +190 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useFocusOnReplace.d.ts +95 -0
- package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
- package/dist/hooks/useTrinityPalette.d.ts +38 -40
- package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
- package/dist/hooks.d.ts +44 -6
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +301 -0
- package/dist/index.d.ts +71 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13923 -60619
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
- package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
- package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
- package/dist/patterns/index.d.ts +15 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/presets/analytics.d.ts +8 -1
- package/dist/presets/analytics.d.ts.map +1 -1
- package/dist/presets/crm.d.ts +8 -1
- package/dist/presets/crm.d.ts.map +1 -1
- package/dist/presets/index.d.ts +1 -1
- package/dist/presets/portal.d.ts +8 -1
- package/dist/presets/portal.d.ts.map +1 -1
- package/dist/safe-content.js +792 -0
- package/dist/theme-augmentation.d.ts +388 -0
- package/dist/theme-augmentation.d.ts.map +1 -0
- package/dist/theme.d.ts +116 -30
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +891 -436
- package/dist/token-color.d.ts +14 -0
- package/dist/token-color.d.ts.map +1 -0
- package/dist/token-merge.d.ts +56 -0
- package/dist/token-merge.d.ts.map +1 -0
- package/dist/token-serialization.d.ts +65 -0
- package/dist/token-serialization.d.ts.map +1 -0
- package/dist/tokens.d.ts +882 -13
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -19
- package/dist/trinity.css +1077 -414
- package/package.json +111 -90
- package/dist/components/index.d.ts +0 -145
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/shared.d.ts +0 -92
- package/dist/components/shared.d.ts.map +0 -1
|
@@ -51,6 +51,12 @@ export interface TopNavHeaderProps {
|
|
|
51
51
|
}[];
|
|
52
52
|
/** Callback fired when the user selects a different client. */
|
|
53
53
|
onClientChange?: (clientId: string) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Accessible name of the client picker's trigger, from the current client (B-37).
|
|
56
|
+
* @default (client) => `Switch client, current: ${client}`
|
|
57
|
+
* @since 2.13.0
|
|
58
|
+
*/
|
|
59
|
+
clientSelectorLabel?: (client: string) => string;
|
|
54
60
|
/** User initials displayed in the avatar circle. @default 'RD' */
|
|
55
61
|
userInitials?: string;
|
|
56
62
|
/** Full name of the logged-in user, shown in the user menu header. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNavHeader.d.ts","sourceRoot":"","sources":["../../src/components/TopNavHeader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TopNavHeader.d.ts","sourceRoot":"","sources":["../../src/components/TopNavHeader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsD/B,UAAU,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,wEAAwE;AACxE,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,+EAA+E;IAC/E,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CAAC;IAC1C;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;IACjD;;;;;;;;;;OAUG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAED,QAAA,MAAM,YAAY,uFA2pBhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -14,6 +14,28 @@ interface NavItem {
|
|
|
14
14
|
label: string;
|
|
15
15
|
icon: React.ReactNode;
|
|
16
16
|
isSpecial?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* What the item does (H-11). `'page'` navigates: a click selects it and it
|
|
19
|
+
* carries `aria-current="page"` while selected. `'toggle'` opens and closes
|
|
20
|
+
* something on the page (a panel): it is never selected, never carries
|
|
21
|
+
* `aria-current`, and its selected styling follows `expanded`. A click still
|
|
22
|
+
* fires `onNavItemClick`.
|
|
23
|
+
* @default 'page'
|
|
24
|
+
* @since 2.13.0
|
|
25
|
+
*/
|
|
26
|
+
kind?: 'page' | 'toggle';
|
|
27
|
+
/**
|
|
28
|
+
* A toggle item's state: rendered as `aria-expanded` when defined, and its
|
|
29
|
+
* selected styling while `true`.
|
|
30
|
+
* @since 2.13.0
|
|
31
|
+
*/
|
|
32
|
+
expanded?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Id of the element a toggle item opens, rendered as `aria-controls` when
|
|
35
|
+
* defined. Pass it only while that element is in the document.
|
|
36
|
+
* @since 2.13.0
|
|
37
|
+
*/
|
|
38
|
+
controls?: string;
|
|
17
39
|
}
|
|
18
40
|
interface App {
|
|
19
41
|
id: string;
|
|
@@ -45,6 +67,12 @@ interface TopNavWithSidebarProps {
|
|
|
45
67
|
}[];
|
|
46
68
|
/** Callback fired when the user selects a different client. */
|
|
47
69
|
onClientChange?: (clientId: string) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Accessible name of the client picker's trigger, from the current client (B-37).
|
|
72
|
+
* @default (client) => `Switch client, current: ${client}`
|
|
73
|
+
* @since 2.13.0
|
|
74
|
+
*/
|
|
75
|
+
clientSelectorLabel?: (client: string) => string;
|
|
48
76
|
/** User initials displayed in the avatar circle. @default 'RD' */
|
|
49
77
|
userInitials?: string;
|
|
50
78
|
/** Full name of the logged-in user, shown in the user menu header. */
|
|
@@ -61,8 +89,28 @@ interface TopNavWithSidebarProps {
|
|
|
61
89
|
apps?: App[];
|
|
62
90
|
/** Array of navigation items rendered in the sidebar. */
|
|
63
91
|
navItems?: NavItem[];
|
|
64
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* ID of the selected navigation item (controlled). The highlight and `aria-current` follow
|
|
94
|
+
* this prop on every render, so derive it from your router's location. A click does not
|
|
95
|
+
* move the highlight by itself: update the prop from `onSelectedNavItemChange` (or
|
|
96
|
+
* `onNavItemClick`). Leave it `undefined` to let the sidebar keep the selection
|
|
97
|
+
* (`defaultSelectedNavItem`).
|
|
98
|
+
*/
|
|
65
99
|
selectedNavItem?: string;
|
|
100
|
+
/**
|
|
101
|
+
* The item selected first when `selectedNavItem` is not passed (uncontrolled); a click
|
|
102
|
+
* on a page item then moves the selection. Read on the first render only.
|
|
103
|
+
* @default 'home'
|
|
104
|
+
* @since 2.13.0
|
|
105
|
+
*/
|
|
106
|
+
defaultSelectedNavItem?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Fired when the user selects a different page item (not for `kind: 'toggle'` items,
|
|
109
|
+
* and not for the item that is already selected), in both modes. Receives the new and
|
|
110
|
+
* the previously selected ID. A controlled `selectedNavItem` should be set from here.
|
|
111
|
+
* @since 2.13.0
|
|
112
|
+
*/
|
|
113
|
+
onSelectedNavItemChange?: (itemId: string, previousId: string | undefined) => void;
|
|
66
114
|
/**
|
|
67
115
|
* Callback fired when a sidebar navigation item is clicked.
|
|
68
116
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopNavWithSidebar.d.ts","sourceRoot":"","sources":["../../src/components/TopNavWithSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TopNavWithSidebar.d.ts","sourceRoot":"","sources":["../../src/components/TopNavWithSidebar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwE/B,UAAU,OAAO;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;OAQG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,qDAAqD;AACrD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,UAAU,sBAAsB;IAC9B,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CA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AE,MAAM,KAAK,IAAI,CAAC;IAC/D,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kFAAkF;IAClF,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,0DAA0D;IAC1D,uBAAuB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACtD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7B,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;IACjD;;;OAGG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC;AAWD,QAAA,MAAM,iBAAiB,+FA8xBrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Guided Tour component inspired by Ant Design Tour.
|
|
3
3
|
* @module components/Tour
|
|
4
|
+
*
|
|
5
|
+
* C-37+: the tour step is a dialog on MUI's overlay machinery. A masked tour (the default) is a
|
|
6
|
+
* modal dialog on MUI Modal: focus moves into the step and returns to where it was on close, the
|
|
7
|
+
* page behind is inert (hidden from assistive technology and unreachable by Tab or pointer), and
|
|
8
|
+
* Escape closes through Modal's `onClose` reason. A tour with `mask={false}` is a non-modal
|
|
9
|
+
* dialog: focus still moves in and returns, the page stays usable, and Escape and the arrow keys
|
|
10
|
+
* work while focus is in the step. The scroll to a target is instant under reduced motion.
|
|
4
11
|
*/
|
|
5
12
|
import * as React from 'react';
|
|
6
13
|
export type TourPlacement = 'center' | 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'leftTop' | 'leftBottom' | 'right' | 'rightTop' | 'rightBottom';
|
|
@@ -30,9 +37,19 @@ export interface TourProps {
|
|
|
30
37
|
steps: TourStep[];
|
|
31
38
|
current?: number;
|
|
32
39
|
onChange?: (current: number) => void;
|
|
33
|
-
|
|
40
|
+
/**
|
|
41
|
+
* Called when the tour closes, with why: `'closeButton'`, `'escapeKeyDown'` or `'finish'` (after
|
|
42
|
+
* `onFinish`). The reason is new in 2.13.0.
|
|
43
|
+
*/
|
|
44
|
+
onClose?: (reason?: 'closeButton' | 'escapeKeyDown' | 'finish') => void;
|
|
34
45
|
onFinish?: () => void;
|
|
46
|
+
/**
|
|
47
|
+
* The dimmed mask with a cut-out around the target. A masked tour (the default) is modal: the
|
|
48
|
+
* page behind it, the target included, is inert while it is open. With `mask={false}` the tour
|
|
49
|
+
* is non-modal and the page stays usable. A step's own `mask` changes only the visual mask.
|
|
50
|
+
*/
|
|
35
51
|
mask?: boolean | TourMaskConfig;
|
|
52
|
+
/** Escape closes the tour and the arrow keys move between steps, while focus is in it. */
|
|
36
53
|
keyboard?: boolean;
|
|
37
54
|
placement?: TourPlacement;
|
|
38
55
|
type?: TourType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Tour.d.ts","sourceRoot":"","sources":["../../../src/components/Tour/Tour.tsx"],"names":[],"mappings":"AAAA;;;;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E,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,aAAa,GAAG,eAAe,GAAG,QAAQ,KAAK,IAAI,CAAC;IACxE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,cAAc,CAAC;IAChC,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,qBAAqB,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACxD,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;IACvE,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAC;IAC3G,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoCD,eAAO,MAAM,IAAI,kFAqYf,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -10,8 +10,22 @@
|
|
|
10
10
|
* rightItems={[]}
|
|
11
11
|
* />
|
|
12
12
|
* ```
|
|
13
|
+
*
|
|
14
|
+
* Accessibility (B-23, WAI-ARIA APG checkbox pattern):
|
|
15
|
+
* - Each item row is a `role="checkbox"` with `aria-checked`, named by its
|
|
16
|
+
* content. Space or Enter toggles it; disabled rows are skipped by Tab and
|
|
17
|
+
* expose `aria-disabled`. The check mark inside the row is decorative.
|
|
18
|
+
* - Each list is named by its panel title. The header select-all checkbox is
|
|
19
|
+
* named "Select all {title}" and reports `aria-checked="mixed"` while only
|
|
20
|
+
* some enabled items are checked.
|
|
21
|
+
* - The four icon-only move buttons are named by `labels`, and show the same
|
|
22
|
+
* text as a tooltip.
|
|
23
|
+
* - After a move, focus goes to the first moved item in the destination list
|
|
24
|
+
* (the activated button disables itself), and a polite live region announces
|
|
25
|
+
* the move, for example "Moved 2 items to Selected".
|
|
13
26
|
*/
|
|
14
27
|
import * as React from 'react';
|
|
28
|
+
import { type SxProps, type Theme } from '@mui/material';
|
|
15
29
|
export interface TransferListItem {
|
|
16
30
|
/** Unique identifier */
|
|
17
31
|
id: string;
|
|
@@ -24,6 +38,92 @@ export interface TransferListItem {
|
|
|
24
38
|
/** Custom data */
|
|
25
39
|
data?: Record<string, unknown>;
|
|
26
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* Overridable user-facing strings of {@link TransferList} (H-47 label
|
|
43
|
+
* overrides). Pass any subset through the `labels` prop; keys you leave out
|
|
44
|
+
* keep their English defaults. Strings that depend on a panel take its title
|
|
45
|
+
* (`leftTitle` or `rightTitle`) as an argument, so the two panels get distinct
|
|
46
|
+
* names.
|
|
47
|
+
*
|
|
48
|
+
* @since 2.13.0
|
|
49
|
+
*/
|
|
50
|
+
export interface TransferListLabels {
|
|
51
|
+
/**
|
|
52
|
+
* Accessible name and tooltip of the icon-only button that moves every
|
|
53
|
+
* enabled item from the left list to the right list.
|
|
54
|
+
* @default 'Move all right'
|
|
55
|
+
*/
|
|
56
|
+
moveAllRight: string;
|
|
57
|
+
/**
|
|
58
|
+
* Accessible name and tooltip of the icon-only button that moves the checked
|
|
59
|
+
* items from the left list to the right list.
|
|
60
|
+
* @default 'Move selected right'
|
|
61
|
+
*/
|
|
62
|
+
moveSelectedRight: string;
|
|
63
|
+
/**
|
|
64
|
+
* Accessible name and tooltip of the icon-only button that moves the checked
|
|
65
|
+
* items from the right list to the left list.
|
|
66
|
+
* @default 'Move selected left'
|
|
67
|
+
*/
|
|
68
|
+
moveSelectedLeft: string;
|
|
69
|
+
/**
|
|
70
|
+
* Accessible name and tooltip of the icon-only button that moves every
|
|
71
|
+
* enabled item from the right list to the left list.
|
|
72
|
+
* @default 'Move all left'
|
|
73
|
+
*/
|
|
74
|
+
moveAllLeft: string;
|
|
75
|
+
/**
|
|
76
|
+
* Accessible name of a panel's header select-all checkbox.
|
|
77
|
+
* @default ({ title }) => `Select all ${title}`
|
|
78
|
+
*/
|
|
79
|
+
selectAll: (args: {
|
|
80
|
+
title: string;
|
|
81
|
+
}) => string;
|
|
82
|
+
/**
|
|
83
|
+
* Accessible name of a panel's search field (shown when `searchable` is set).
|
|
84
|
+
* The visible placeholder stays `searchPlaceholder`.
|
|
85
|
+
* @default ({ title }) => `Search ${title}`
|
|
86
|
+
*/
|
|
87
|
+
search: (args: {
|
|
88
|
+
title: string;
|
|
89
|
+
}) => string;
|
|
90
|
+
/**
|
|
91
|
+
* Accessible name and tooltip of the clear button inside a panel's search
|
|
92
|
+
* field. The button is shown while the field has text.
|
|
93
|
+
* @default ({ title }) => `Clear search ${title}`
|
|
94
|
+
*/
|
|
95
|
+
clearSearch: (args: {
|
|
96
|
+
title: string;
|
|
97
|
+
}) => string;
|
|
98
|
+
/**
|
|
99
|
+
* Visible caption under a panel title: how many of the panel's items are
|
|
100
|
+
* checked.
|
|
101
|
+
* @default ({ count, total }) => `${count}/${total} selected`
|
|
102
|
+
*/
|
|
103
|
+
selectedCount: (args: {
|
|
104
|
+
count: number;
|
|
105
|
+
total: number;
|
|
106
|
+
}) => string;
|
|
107
|
+
/**
|
|
108
|
+
* Visible message in a panel that has no items.
|
|
109
|
+
* @default 'No items'
|
|
110
|
+
*/
|
|
111
|
+
empty: string;
|
|
112
|
+
/**
|
|
113
|
+
* Visible message in a panel whose search matches no items.
|
|
114
|
+
* @default 'No matches found'
|
|
115
|
+
*/
|
|
116
|
+
noMatches: string;
|
|
117
|
+
/**
|
|
118
|
+
* Polite live-region announcement made after items move. `title` is the
|
|
119
|
+
* destination panel's title.
|
|
120
|
+
* @default ({ count, title }) => (count === 1 ? `Moved 1 item to ${title}` : `Moved ${count} items to ${title}`)
|
|
121
|
+
*/
|
|
122
|
+
moved: (args: {
|
|
123
|
+
count: number;
|
|
124
|
+
title: string;
|
|
125
|
+
}) => string;
|
|
126
|
+
}
|
|
27
127
|
/**
|
|
28
128
|
* Props for TransferList component.
|
|
29
129
|
*/
|
|
@@ -32,9 +132,15 @@ export interface TransferListProps {
|
|
|
32
132
|
leftItems: TransferListItem[];
|
|
33
133
|
/** Items in the right (selected) list */
|
|
34
134
|
rightItems: TransferListItem[];
|
|
35
|
-
/**
|
|
135
|
+
/**
|
|
136
|
+
* Title for left list. It also names the left list, and is passed to the
|
|
137
|
+
* `selectAll`, `search`, `clearSearch` and `moved` labels.
|
|
138
|
+
*/
|
|
36
139
|
leftTitle?: string;
|
|
37
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Title for right list. It also names the right list, and is passed to the
|
|
142
|
+
* `selectAll`, `search`, `clearSearch` and `moved` labels.
|
|
143
|
+
*/
|
|
38
144
|
rightTitle?: string;
|
|
39
145
|
/** Enable search filtering */
|
|
40
146
|
searchable?: boolean;
|
|
@@ -44,7 +150,11 @@ export interface TransferListProps {
|
|
|
44
150
|
height?: number | string;
|
|
45
151
|
/** Callback when items are transferred */
|
|
46
152
|
onChange?: (leftItems: TransferListItem[], rightItems: TransferListItem[]) => void;
|
|
47
|
-
/**
|
|
153
|
+
/**
|
|
154
|
+
* Custom render function for the row content. The row itself is the
|
|
155
|
+
* `role="checkbox"` control, so the rendered content becomes its accessible
|
|
156
|
+
* name: render text, not interactive elements (links, buttons, inputs).
|
|
157
|
+
*/
|
|
48
158
|
renderItem?: (item: TransferListItem, selected: boolean) => React.ReactNode;
|
|
49
159
|
/** Show "move all" buttons */
|
|
50
160
|
showMoveAll?: boolean;
|
|
@@ -52,10 +162,19 @@ export interface TransferListProps {
|
|
|
52
162
|
disabled?: boolean;
|
|
53
163
|
/** Dense mode */
|
|
54
164
|
dense?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Overrides for the component's user-facing strings: the move buttons' names
|
|
167
|
+
* and tooltips, the select-all, search and clear-search names, the selected
|
|
168
|
+
* count, the empty and no-match messages, and the move announcement. Partial:
|
|
169
|
+
* keys you leave out keep their English defaults (see
|
|
170
|
+
* {@link TransferListLabels}).
|
|
171
|
+
* @since 2.13.0
|
|
172
|
+
*/
|
|
173
|
+
labels?: Partial<TransferListLabels>;
|
|
55
174
|
/** Custom class name */
|
|
56
175
|
className?: string;
|
|
57
176
|
/** Custom styles */
|
|
58
|
-
sx?:
|
|
177
|
+
sx?: SxProps<Theme>;
|
|
59
178
|
}
|
|
60
179
|
export declare const TransferList: React.ForwardRefExoticComponent<TransferListProps & React.RefAttributes<HTMLDivElement>>;
|
|
61
180
|
export default TransferList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferList.d.ts","sourceRoot":"","sources":["../../../src/components/TransferList/TransferList.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TransferList.d.ts","sourceRoot":"","sources":["../../../src/components/TransferList/TransferList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAgBL,KAAK,OAAO,EACZ,KAAK,KAAK,EACX,MAAM,eAAe,CAAC;AAoBvB,MAAM,WAAW,gBAAgB;IAC/B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,IAAI,CAAC,EA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CAAC,EAAE,OAAO,CAAC;IACrB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,EAAE,UAAU,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;IACnF;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC;IAC5E,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACrC,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AA4QD,eAAO,MAAM,YAAY,0FA4NxB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { TransferList, type TransferListProps, type TransferListItem } from './TransferList';
|
|
1
|
+
export { TransferList, type TransferListProps, type TransferListItem, type TransferListLabels, } from './TransferList';
|
|
2
2
|
export { default } from './TransferList';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TransferList/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TransferList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Tree view component with expand/collapse, selection, filtering, and optional drag-and-drop.
|
|
3
|
+
*
|
|
4
|
+
* Keyboard model (WAI-ARIA APG Tree View), through the toolkit's `useRovingTabIndex` (registry form):
|
|
5
|
+
* - The tree is one Tab stop. Tab lands on the first visible selected node, otherwise on the first
|
|
6
|
+
* enabled node. After the user moves focus inside the tree, the Tab stop stays on the node they
|
|
7
|
+
* last focused.
|
|
8
|
+
* - ArrowDown / ArrowUp move between visible nodes, and Home / End jump to the first / last one.
|
|
9
|
+
* Disabled nodes are skipped, and focus never leaves this tree.
|
|
10
|
+
* - ArrowRight expands a closed branch, or moves to the first child of an open one.
|
|
11
|
+
* - ArrowLeft collapses an open branch, or moves to the parent node.
|
|
12
|
+
* - Enter or Space selects the focused node.
|
|
13
|
+
* - Typeahead (typing a character to jump to a node) is not implemented.
|
|
14
|
+
* - With `draggable` and `onDrop`, Shift+F10 or the ContextMenu key opens the node's move menu
|
|
15
|
+
* (B-59): Move up, Move down, Move into previous item and Move out to parent, each calling
|
|
16
|
+
* `onDrop` as a drag would. Each row also has a "Node actions" button for pointer users, outside
|
|
17
|
+
* the Tab order. Escape closes the menu and focus returns to the node.
|
|
18
|
+
*
|
|
19
|
+
* The expand/collapse chevrons ("Expand {label}" / "Collapse {label}", with a tooltip) and the
|
|
20
|
+
* checkboxes are pointer affordances outside the Tab order. Clicking either one moves focus to its
|
|
21
|
+
* node, so keyboard navigation continues from there.
|
|
3
22
|
* @module components/TreeView
|
|
4
23
|
* @example
|
|
5
24
|
* ```tsx
|
|
@@ -11,16 +30,50 @@
|
|
|
11
30
|
* ```
|
|
12
31
|
*/
|
|
13
32
|
import * as React from 'react';
|
|
33
|
+
import { type SxProps, type Theme } from '@mui/material';
|
|
34
|
+
/**
|
|
35
|
+
* TreeView's overridable strings for the move menu (NAMING.md, "Label overrides (non-AI)"). Pass
|
|
36
|
+
* any subset through the `labels` prop; keys you leave out keep their defaults (B-59).
|
|
37
|
+
*
|
|
38
|
+
* @since 2.13.0
|
|
39
|
+
*/
|
|
40
|
+
export interface TreeViewLabels {
|
|
41
|
+
/**
|
|
42
|
+
* Names a row's actions button and is its tooltip.
|
|
43
|
+
* @default ({ label }) => `Actions for ${label}`
|
|
44
|
+
*/
|
|
45
|
+
nodeActions: (args: {
|
|
46
|
+
label: string;
|
|
47
|
+
}) => string;
|
|
48
|
+
/** @default 'Move up' */
|
|
49
|
+
moveUp: string;
|
|
50
|
+
/** @default 'Move down' */
|
|
51
|
+
moveDown: string;
|
|
52
|
+
/** @default 'Move into previous item' */
|
|
53
|
+
moveInto: string;
|
|
54
|
+
/** @default 'Move out to parent' */
|
|
55
|
+
moveOut: string;
|
|
56
|
+
/** Announced after a move from the menu. @default ({ label }) => `Moved ${label}` */
|
|
57
|
+
moved: (args: {
|
|
58
|
+
label: string;
|
|
59
|
+
}) => string;
|
|
60
|
+
}
|
|
14
61
|
export interface TreeNode {
|
|
15
62
|
/** Unique identifier for the node */
|
|
16
63
|
id: string;
|
|
17
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Display label. It also names the node's expand/collapse button
|
|
66
|
+
* ("Expand {label}" / "Collapse {label}") and its checkbox.
|
|
67
|
+
*/
|
|
18
68
|
label: string;
|
|
19
69
|
/** Optional icon element */
|
|
20
70
|
icon?: React.ReactNode;
|
|
21
71
|
/** Child nodes */
|
|
22
72
|
children?: TreeNode[];
|
|
23
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Whether node is disabled. A disabled node cannot be selected or expanded, and it is never
|
|
75
|
+
* focused: the arrow keys skip it and it is never the Tab stop.
|
|
76
|
+
*/
|
|
24
77
|
disabled?: boolean;
|
|
25
78
|
/** Custom data attached to node */
|
|
26
79
|
data?: Record<string, unknown>;
|
|
@@ -31,15 +84,24 @@ export interface TreeNode {
|
|
|
31
84
|
export interface TreeViewProps {
|
|
32
85
|
/** Tree data structure */
|
|
33
86
|
data: TreeNode[];
|
|
34
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Currently selected node IDs. Before the user moves focus inside the tree, the first visible
|
|
89
|
+
* selected node is the tree's Tab stop; without a visible selected node, the first enabled node is.
|
|
90
|
+
*/
|
|
35
91
|
selected?: string[];
|
|
36
92
|
/** Currently expanded node IDs */
|
|
37
93
|
expanded?: string[];
|
|
38
94
|
/** Enable multi-select mode */
|
|
39
95
|
multiSelect?: boolean;
|
|
40
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Show checkboxes for selection. The checkboxes mirror `aria-selected` for pointer users. They
|
|
98
|
+
* are outside the Tab order and are named by the node label.
|
|
99
|
+
*/
|
|
41
100
|
showCheckboxes?: boolean;
|
|
42
|
-
/**
|
|
101
|
+
/**
|
|
102
|
+
* Enable search/filter. The search field is a `ClearableTextField`. Its clear button is named
|
|
103
|
+
* "Clear search", and clearing it with the keyboard returns focus to the field.
|
|
104
|
+
*/
|
|
43
105
|
searchable?: boolean;
|
|
44
106
|
/** Search placeholder text */
|
|
45
107
|
searchPlaceholder?: string;
|
|
@@ -63,16 +125,43 @@ export interface TreeViewProps {
|
|
|
63
125
|
onNodeClick?: (node: TreeNode) => void;
|
|
64
126
|
/** Callback when node is double clicked */
|
|
65
127
|
onNodeDoubleClick?: (node: TreeNode) => void;
|
|
66
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Custom node render function. Its output replaces the default label and is rendered inside a
|
|
130
|
+
* flex wrapper (`display: flex`, `flex: 1`, `minWidth: 0`). The wrapper's text is the treeitem's
|
|
131
|
+
* accessible name, so render the node's label as text there.
|
|
132
|
+
*/
|
|
67
133
|
renderNode?: (node: TreeNode, props: TreeNodeRenderProps) => React.ReactNode;
|
|
68
134
|
/** Enable drag and drop */
|
|
69
135
|
draggable?: boolean;
|
|
70
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Callback when node is dropped. With `draggable`, it also enables the move menu (B-59), the
|
|
138
|
+
* keyboard and single-pointer alternative to dragging: Move up calls it with the previous
|
|
139
|
+
* sibling and 'before', Move down with the next sibling and 'after', Move into previous item
|
|
140
|
+
* with the previous sibling and 'inside', and Move out to parent with the parent and 'after'.
|
|
141
|
+
*/
|
|
71
142
|
onDrop?: (draggedId: string, targetId: string, position: 'before' | 'after' | 'inside') => void;
|
|
143
|
+
/**
|
|
144
|
+
* Overrides for the move menu's strings (any subset).
|
|
145
|
+
* @since 2.13.0
|
|
146
|
+
*/
|
|
147
|
+
labels?: Partial<TreeViewLabels>;
|
|
72
148
|
/** Custom class name */
|
|
73
149
|
className?: string;
|
|
74
150
|
/** Custom styles */
|
|
75
|
-
sx?:
|
|
151
|
+
sx?: SxProps<Theme>;
|
|
152
|
+
/**
|
|
153
|
+
* Accessible name of the tree (the `role="tree"` element). Describe what the tree contains, for
|
|
154
|
+
* example "Project files". Prefer `aria-labelledby` when a visible heading names the tree.
|
|
155
|
+
* @default 'Tree view' (applied only when `aria-labelledby` is not set)
|
|
156
|
+
* @since 2.13.0
|
|
157
|
+
*/
|
|
158
|
+
'aria-label'?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Id of the element, usually a visible heading, that names the tree. It takes precedence over
|
|
161
|
+
* `aria-label`, and the default name is then not applied.
|
|
162
|
+
* @since 2.13.0
|
|
163
|
+
*/
|
|
164
|
+
'aria-labelledby'?: string;
|
|
76
165
|
}
|
|
77
166
|
/**
|
|
78
167
|
* Props for TreeNodeRender component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../src/components/TreeView/TreeView.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../src/components/TreeView/TreeView.tsx"],"names":[],"m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CAAC,CAAC;IACjC,wBAAwB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;CACtB;AA2cD,eAAO,MAAM,QAAQ,sFAkXnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { TreeView, type TreeViewProps, type TreeNode, type TreeNodeRenderProps } from './TreeView';
|
|
1
|
+
export { TreeView, type TreeViewProps, type TreeViewLabels, type TreeNode, type TreeNodeRenderProps } from './TreeView';
|
|
2
2
|
export { default } from './TreeView';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TreeView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,QAAQ,EAAE,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TreeView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,QAAQ,EAAE,KAAK,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACxH,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrinityLoader.d.ts","sourceRoot":"","sources":["../../src/components/TrinityLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"TrinityLoader.d.ts","sourceRoot":"","sources":["../../src/components/TrinityLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAG1E,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACjE,MAAM,MAAM,oBAAoB,GAC5B,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,QAAQ,CAAC;AAEb,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,IAAI,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;IAClC,wCAAwC;IACxC,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,gDAAgD;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqBD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2NtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Feather-style glyphs that react-feather 2.0.10 does not ship (C-17, C-OD-7).
|
|
3
|
+
* @module components/icons/featherExtensions
|
|
4
|
+
*
|
|
5
|
+
* @internal — not part of the public API; see ADR-02. Icon's Feather map uses them.
|
|
6
|
+
*
|
|
7
|
+
* Every glyph is drawn on Feather's 24px grid with a 2px round stroke, so it
|
|
8
|
+
* sits beside the react-feather glyphs, and takes the same props: `size`,
|
|
9
|
+
* `color` (the stroke, `currentColor` by default) and svg attributes, with the
|
|
10
|
+
* ref on the svg. The I-06 manifest (docs/remediation/I-06-icon-manifest.md)
|
|
11
|
+
* lists each one with its Material pair; their design sign-off is open there.
|
|
12
|
+
*
|
|
13
|
+
* Sources and licenses:
|
|
14
|
+
* - BadgeCheck, History, Pin, PinOff, Sparkles, Rows and (C-28) SignalHigh,
|
|
15
|
+
* SignalMedium and SignalLow: path data after Lucide (https://lucide.dev),
|
|
16
|
+
* ISC License. Copyright (c) for portions of
|
|
17
|
+
* Lucide are held by Cole Bemis 2013-2022 as part of Feather (MIT); all
|
|
18
|
+
* other copyright (c) for Lucide are held by Lucide Contributors 2022.
|
|
19
|
+
* Permission to use, copy, modify, and/or distribute this software for any
|
|
20
|
+
* purpose with or without fee is hereby granted, provided that the above
|
|
21
|
+
* copyright notice and this permission notice appear in all copies.
|
|
22
|
+
* - DatabaseSearch: Feather's Database and Search shapes (MIT, Copyright (c)
|
|
23
|
+
* 2013-2017 Cole Bemis), scaled and combined for Trinity.
|
|
24
|
+
* - ThumbsUpFilled and ThumbsDownFilled: react-feather's ThumbsUp and
|
|
25
|
+
* ThumbsDown (MIT) with `fill="currentColor"`.
|
|
26
|
+
*/
|
|
27
|
+
import * as React from 'react';
|
|
28
|
+
import { type IconProps } from 'react-feather';
|
|
29
|
+
/** A Feather-style icon component: react-feather's props, the ref on the svg. */
|
|
30
|
+
export type FeatherExtensionIcon = React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
|
|
31
|
+
/** 'verified': a badge with a check (Material Verified). */
|
|
32
|
+
export declare const FeatherBadgeCheck: FeatherExtensionIcon;
|
|
33
|
+
/** 'history': a clock with a counter-clockwise arrow (Material History). */
|
|
34
|
+
export declare const FeatherHistory: FeatherExtensionIcon;
|
|
35
|
+
/** 'database-search': a database with a magnifier (Material ManageSearch). */
|
|
36
|
+
export declare const FeatherDatabaseSearch: FeatherExtensionIcon;
|
|
37
|
+
/** 'pin': a push pin (Material PushPin). */
|
|
38
|
+
export declare const FeatherPin: FeatherExtensionIcon;
|
|
39
|
+
/** 'unpin': the push pin struck through, a different shape from 'pin' (ADR-33: not fill alone). */
|
|
40
|
+
export declare const FeatherPinOff: FeatherExtensionIcon;
|
|
41
|
+
/** 'sparkles': the AI sparkle (Material AutoAwesome); replaces the Star stand-in. */
|
|
42
|
+
export declare const FeatherSparkles: FeatherExtensionIcon;
|
|
43
|
+
/** 'view-stream': stacked rows in a frame (Material ViewStream). */
|
|
44
|
+
export declare const FeatherRows: FeatherExtensionIcon;
|
|
45
|
+
/** 'confidence-high': three bars and the base dot (Material SignalCellularAlt). */
|
|
46
|
+
export declare const FeatherSignalHigh: FeatherExtensionIcon;
|
|
47
|
+
/** 'confidence-medium': two bars and the base dot (Material SignalCellularAlt2Bar). */
|
|
48
|
+
export declare const FeatherSignalMedium: FeatherExtensionIcon;
|
|
49
|
+
/** 'confidence-low': one bar and the base dot (Material SignalCellularAlt1Bar). */
|
|
50
|
+
export declare const FeatherSignalLow: FeatherExtensionIcon;
|
|
51
|
+
/** 'thumbs-up-filled': react-feather's ThumbsUp, filled (Material ThumbUp). */
|
|
52
|
+
export declare const FeatherThumbsUpFilled: FeatherExtensionIcon;
|
|
53
|
+
/** 'thumbs-down-filled': react-feather's ThumbsDown, filled (Material ThumbDown). */
|
|
54
|
+
export declare const FeatherThumbsDownFilled: FeatherExtensionIcon;
|
|
55
|
+
//# sourceMappingURL=featherExtensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"featherExtensions.d.ts","sourceRoot":"","sources":["../../../src/components/icons/featherExtensions.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,eAAe,CAAC;AAErE,iFAAiF;AACjF,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AA0BnH,4DAA4D;AAC5D,eAAO,MAAM,iBAAiB,EAAE,oBAS/B,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,cAAc,EAAE,oBAU5B,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,qBAAqB,EAAE,oBAanC,CAAC;AAEF,4CAA4C;AAC5C,eAAO,MAAM,UAAU,EAAE,oBASxB,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,aAAa,EAAE,oBAW3B,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,eAAe,EAAE,oBAY7B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,WAAW,EAAE,oBAUzB,CAAC;AASF,mFAAmF;AACnF,eAAO,MAAM,iBAAiB,EAAE,oBAQ/B,CAAC;AAEF,uFAAuF;AACvF,eAAO,MAAM,mBAAmB,EAAE,oBAQjC,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,gBAAgB,EAAE,oBAQ9B,CAAC;AAMF,+EAA+E;AAC/E,eAAO,MAAM,qBAAqB,EAAE,oBAIjC,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,uBAAuB,EAAE,oBAIrC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Material-style glyphs that @mui/icons-material 9.4.0 does not ship (C-17).
|
|
3
|
+
* @module components/icons/materialExtensions
|
|
4
|
+
*
|
|
5
|
+
* @internal — not part of the public API; see ADR-02. Icon's Material map uses them.
|
|
6
|
+
*
|
|
7
|
+
* Built with MUI's createSvgIcon, so they render and behave like the
|
|
8
|
+
* @mui/icons-material glyphs (SvgIcon, decorative by default, the ref on the
|
|
9
|
+
* svg). The I-06 manifest (docs/remediation/I-06-icon-manifest.md) lists each
|
|
10
|
+
* one; their design sign-off is open there.
|
|
11
|
+
*
|
|
12
|
+
* Sources and licenses: PushPinOff is Material's PushPin path (Apache License
|
|
13
|
+
* 2.0, Google; distributed in @mui/icons-material, MIT) with a diagonal bar
|
|
14
|
+
* added for Trinity.
|
|
15
|
+
*/
|
|
16
|
+
/** 'unpin': the push pin struck through, a different shape from 'pin' (ADR-33: not fill alone). */
|
|
17
|
+
export declare const PushPinOff: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
18
|
+
muiName: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=materialExtensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"materialExtensions.d.ts","sourceRoot":"","sources":["../../../src/components/icons/materialExtensions.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,mGAAmG;AACnG,eAAO,MAAM,UAAU;;CAStB,CAAC"}
|