@trinityui/design-system 2.11.1 → 2.13.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/CHANGELOG.md +2171 -0
- package/CONTRIBUTING.md +180 -69
- package/LICENSE +21 -0
- package/MIGRATION.md +508 -28
- 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 +17219 -9131
- 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 +159 -77
- package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.types.d.ts +292 -40
- 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 +81 -11
- 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 +104 -16
- 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 +47 -4
- 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 +143 -8
- 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.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/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 +18 -1
- package/dist/components/TopNavHeader.d.ts.map +1 -1
- package/dist/components/TopNavWithSidebar.d.ts +61 -2
- 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 +9 -2
- package/dist/components/shared/safeContent.d.ts.map +1 -1
- 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 +13925 -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 +69 -69
- 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
|
@@ -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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C;IACjB,QAAQ,CAAC,EAAE,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,kBA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pB,8BAA8B;IAC9B,UAAU,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/T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,EAAE,OAAO,CAAC,cAAc,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"}
|
|
@@ -14,6 +14,14 @@
|
|
|
14
14
|
* <StatusIndicator variant="dot" status="error" />
|
|
15
15
|
* ```
|
|
16
16
|
*
|
|
17
|
+
* This file is also the registry of internal names (ADR-02, D-01). Every name it
|
|
18
|
+
* exports, value or type, must stay off every package entry:
|
|
19
|
+
* src/__tests__/internal-api-boundary.test.ts checks the runtime exports and
|
|
20
|
+
* scripts/lib/declaration-boundary.mjs checks the built declarations. Nothing
|
|
21
|
+
* imports this barrel: consumers and sibling blocks import a block by its direct
|
|
22
|
+
* module path, which avoids ESM cycles. Use `export { … } from` lines only (no
|
|
23
|
+
* `export *`), so the checks can read the names.
|
|
24
|
+
*
|
|
17
25
|
* @internal
|
|
18
26
|
* @module internal
|
|
19
27
|
*/
|
|
@@ -24,4 +32,83 @@ export type { StatusChipProps, InlineStatusProps } from '../StatusIndicator/Chip
|
|
|
24
32
|
export { IconIndicator, ShapeIndicator, StatusDot } from '../StatusIndicator/Indicators';
|
|
25
33
|
export type { IconIndicatorProps, ShapeIndicatorProps, StatusDotProps } from '../StatusIndicator/Indicators';
|
|
26
34
|
export { CircleShape, SquareShape, DiamondShape, TriangleShape, HexagonShape, ShapeComponents, type ShapeProps, } from '../StatusIndicator/Shapes';
|
|
35
|
+
export { useRootProps, joinIds, isOwnedAttribute, warnOwnedAttributes, OWNED_ATTRIBUTES, __resetOwnedAttributeWarnings, } from '../shared/rootProps';
|
|
36
|
+
export type { TrinityRootProps, UseRootPropsOptions, RootPropsResult, IdList } from '../shared/rootProps';
|
|
37
|
+
export { mergeSx } from '../shared/mergeSx';
|
|
38
|
+
export type { SxPart } from '../shared/mergeSx';
|
|
39
|
+
export { mergeSlotProps } from '../shared/mergeSlotProps';
|
|
40
|
+
export type { SlotOwnProps, MergeSlotPropsOptions } from '../shared/mergeSlotProps';
|
|
41
|
+
export { containerWrapperSx, containerQueryWidth, containerUp, containerDown, type ContainerQuerySize, } from '../shared/containerQueries';
|
|
42
|
+
export { useOverflow } from '../shared/useOverflow';
|
|
43
|
+
export type { OverflowAxis, UseOverflowOptions, UseOverflowResult } from '../shared/useOverflow';
|
|
44
|
+
export { useContainerInlineSize } from '../shared/useContainerInlineSize';
|
|
45
|
+
export type { UseContainerInlineSizeOptions } from '../shared/useContainerInlineSize';
|
|
46
|
+
export { headingComponent, offsetHeadingComponent, type HeadingOffset, type HeadingElement, } from '../shared/headingLevel';
|
|
47
|
+
export { BidiIsolate } from '../shared/bidi';
|
|
48
|
+
export type { BidiIsolateProps } from '../shared/bidi';
|
|
49
|
+
export { isolateText, BIDI_ISOLATE_CONTROLS } from '../shared/bidiText';
|
|
50
|
+
export type { BidiDirection } from '../shared/bidiText';
|
|
51
|
+
export { occurrenceKeys } from '../shared/occurrenceKeys';
|
|
52
|
+
export { getInitials } from '../shared/getInitials';
|
|
53
|
+
export { getResizeKeyTarget, RESIZE_KEY_STEP, RESIZE_KEY_LARGE_STEP } from '../shared/resizeKeyboard';
|
|
54
|
+
export type { ResizeOrientation, ResizeGrowDirection, ResizeKeyOptions } from '../shared/resizeKeyboard';
|
|
55
|
+
export { toMs, useMotionTimeout, reducedMotion, keyframes } from '../shared/motion';
|
|
56
|
+
export { themeTransitions, reducedMotionBackstop, ESSENTIAL_MOTION_CLASS, REDUCED_MOTION_DURATION, } from '../shared/motion';
|
|
57
|
+
export { decodeEntities, isSafeHref, isSafeSrc, isRemoteSrc, warnUnsafeUrl, __resetUnsafeUrlWarnings, sanitizeInlineStyle, tokenizeHtml, renderSafeHtml, DROP_WITH_CONTENT_TAGS, DEFAULT_ALLOWED_TAGS, } from '../shared/safeContent';
|
|
58
|
+
export type { SafeStyleMap, SafeHtmlTag, RenderSafeHtmlOptions } from '../shared/safeContent';
|
|
59
|
+
export { isRtl, inlineSign, rotateInline, translateInlineStart } from '../shared/direction';
|
|
60
|
+
export type { DirectionSource } from '../shared/direction';
|
|
61
|
+
export { useCopyAction } from '../shared/useCopyAction';
|
|
62
|
+
export type { UseCopyActionOptions, UseCopyActionResult, CopyActionStatus } from '../shared/useCopyAction';
|
|
63
|
+
export { FocusTrap, TABBABLE_SELECTOR, firstTabbable } from '../shared/focusTrap';
|
|
64
|
+
export type { FocusTrapProps } from '../shared/focusTrap';
|
|
65
|
+
export { MetaChip } from '../MetaChip/MetaChip';
|
|
66
|
+
export type { MetaChipProps, MetaChipOwnProps, MetaChipTone, MetaChipColors } from '../MetaChip/MetaChip';
|
|
67
|
+
export { KeyValueList } from '../KeyValueList/KeyValueList';
|
|
68
|
+
export type { KeyValueListProps, KeyValueListOwnProps, KeyValueListItem, KeyValueListLayout } from '../KeyValueList/KeyValueList';
|
|
69
|
+
export { CopyButton } from '../CopyButton/CopyButton';
|
|
70
|
+
export type { CopyButtonProps, CopyButtonOwnProps, CopyButtonSource, CopyButtonLabels } from '../CopyButton/CopyButton';
|
|
71
|
+
export { CodeBlock } from '../CodeBlock/CodeBlock';
|
|
72
|
+
export type { CodeBlockProps, CodeBlockOwnProps, CodeBlockContent, CodeBlockLabels } from '../CodeBlock/CodeBlock';
|
|
73
|
+
export { Disclosure } from '../Disclosure/Disclosure';
|
|
74
|
+
export type { DisclosureProps, DisclosureOwnProps } from '../Disclosure/Disclosure';
|
|
75
|
+
export { ChoiceChips } from '../ChoiceChips/ChoiceChips';
|
|
76
|
+
export type { ChoiceChipsProps, ChoiceChipsBaseProps, ChoiceChipsSingleProps, ChoiceChipsMultipleProps, ChoiceChipsOption, ChoiceChipsActions } from '../ChoiceChips/ChoiceChips';
|
|
77
|
+
export { InlineEditableText } from '../InlineEditableText/InlineEditableText';
|
|
78
|
+
export type { InlineEditableTextProps, InlineEditableTextBaseProps, InlineEditableTextButtonProps, InlineEditableTextExternalProps, InlineEditableTextLabels, InlineEditableTextEditingReason } from '../InlineEditableText/InlineEditableText';
|
|
79
|
+
export { StepList } from '../StepList/StepList';
|
|
80
|
+
export type { StepListItem, StepListOwnProps, StepListProps, StepListSlot } from '../StepList/StepList';
|
|
81
|
+
export { StepStatusMarker } from '../StepList/StepStatusMarker';
|
|
82
|
+
export type { StepStatusMarkerProps } from '../StepList/StepStatusMarker';
|
|
83
|
+
export { STEP_STATUS_CATALOG, DEFAULT_STEP_STATUS_LABELS } from '../StepList/stepStatus';
|
|
84
|
+
export type { StepListStatus } from '../StepList/stepStatus';
|
|
85
|
+
export { DetailsPopover, useDetailsPopover } from '../DetailsPopover/DetailsPopover';
|
|
86
|
+
export type { DetailsPopoverProps, DetailsPopoverOwnProps, DetailsPopoverName, DetailsPopoverChangeReason, UseDetailsPopoverOptions, UseDetailsPopoverResult, } from '../DetailsPopover/DetailsPopover';
|
|
87
|
+
export { DeprecationSuppressionContext, useDeprecationWarning, warnOnce, warnDeprecated, __resetDevWarnings, } from '../shared/warnDeprecated';
|
|
88
|
+
export { useFocusOnReplace } from '../../hooks/useFocusOnReplace';
|
|
89
|
+
export type { FocusOnReplaceTarget, UseFocusOnReplaceOptions, UseFocusOnReplaceResult } from '../../hooks/useFocusOnReplace';
|
|
90
|
+
export { createStorageStore } from '../../hooks/storageStore';
|
|
91
|
+
export type { StorageArea, StorageStore } from '../../hooks/storageStore';
|
|
92
|
+
export { primaryActionContainerSx, primaryActionOverlaySx, primaryActionContentSx, PRIMARY_ACTION_INTERACTIVE_SELECTOR, } from '../shared/primaryAction';
|
|
93
|
+
export { AsyncOutcomeAlert } from '../shared/AsyncOutcomeAlert';
|
|
94
|
+
export type { AsyncOutcomeAlertProps } from '../shared/AsyncOutcomeAlert';
|
|
95
|
+
export { targetSizeHitAreaSx, TARGET_SIZE_FLOOR_PX } from '../shared/targetSize';
|
|
96
|
+
export { InThreadContext } from '../AI/InThreadContext';
|
|
97
|
+
export { MessageActionButton } from '../AI/MessageActionButton';
|
|
98
|
+
export type { BuiltInActionSpec } from '../AI/MessageActionButton';
|
|
99
|
+
export { getResponsePlainText } from '../AI/utils/responseText';
|
|
100
|
+
export { AI_AVATAR_SIZE_PX } from '../AI/AIAvatar';
|
|
101
|
+
export { getMessageContentInset } from '../AI/AIMessage';
|
|
102
|
+
export { AIBlockRendererProvider, useBlockRenderer, useBlockRendererMap, type AIBlockRendererMap, type AIBlockRendererProviderProps, } from '../AI/blockRendererContext';
|
|
103
|
+
export { BlockErrorBoundary, BlockUnavailable, type BlockErrorBoundaryProps, type BlockErrorContext, type BlockUnavailableProps, } from '../AI/BlockErrorBoundary';
|
|
104
|
+
export { queryBlockRenderer, clarificationBlockRenderer } from '../AI/moleculeBlockRenderers';
|
|
105
|
+
export { useBlockReadyAnnouncement, BlockReadyAnnouncementSuppressed, type UseBlockReadyAnnouncementOptions, } from '../AI/utils/blockReady';
|
|
106
|
+
export { getPendingRequiredClarification, useRequiredClarificationGate, type BlockGateMessage, type MessageBlockEventHandler, type RequiredClarificationGate, } from '../AI/utils/blocks';
|
|
107
|
+
export { planReviewBlockRenderer } from '../AI/planReviewBlockRenderer';
|
|
108
|
+
export { createStringsContext, mergeStrings, contentHash, useIdentityChurnWarning, type DeepPartial, type StringsProviderProps, type StringsContextKit, type StringsContextOptions, } from '../shared/createStringsContext';
|
|
109
|
+
export { DEFAULT_AI_STRINGS } from '../AI/strings/defaults';
|
|
110
|
+
export { AIStringsKit, AIThresholdsContext, AILocaleContext, AITimeZoneContext, AIInteractionContext, stripInteractionContent, type AIInteractionContextValue, } from '../AI/AIConfigContext';
|
|
111
|
+
export { parseMarkdown, parseInlineMarkdown, type MarkdownElementType, type ParsedElement, type InlinePart, LEGACY_INLINE_SYNTAX, type InlineSyntax, type InlineScanOptions, DEFAULT_INLINE_SYNTAX, CITATION_INLINE_SYNTAX, TRAILING_PARTIAL_CITATION, splitCitations, citationsToPlainText, type CitationRun, type SplitCitationsOptions, type CitationPlainTextOptions, } from '../AI/AITextBlock.parser';
|
|
112
|
+
export { AIResponseSourcesContext, AIResponseSourcesProvider, useResponseSources, useIsQueryRegistered, indexResponseSources, createQueryRegistry, cellKey, pointKey, type AIResponseSourcesProviderProps, type ResponseSourcesContextValue, type ResponseSourcesIndex, type QueryRegistry, type QueryRegistration, } from '../AI/AIResponseSourcesContext';
|
|
113
|
+
export { HostedFeedbackContext, useHostedFeedback } from '../AI/AIFeedbackHostContext';
|
|
27
114
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/internal/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/internal/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAQH,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,0BA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