@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
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
|
|
14
|
+
import { type TrinityRootProps, type TrinitySlotProps } from '../../shared/rootProps';
|
|
15
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
16
|
+
import { type ListDetailTemplateLabels } from './listDetailLabels';
|
|
17
|
+
export type { ListDetailTemplateLabels } from './listDetailLabels';
|
|
18
|
+
/** An item of the list. */
|
|
19
|
+
export interface ListDetailItem {
|
|
15
20
|
/** Unique identifier */
|
|
16
21
|
id: string;
|
|
17
22
|
/** Primary text */
|
|
@@ -34,18 +39,38 @@ export interface ListItem {
|
|
|
34
39
|
icon?: React.ReactNode;
|
|
35
40
|
}
|
|
36
41
|
/**
|
|
37
|
-
*
|
|
42
|
+
* The third argument of `renderListItem`: wires a custom row to the template's selection, so it
|
|
43
|
+
* behaves like a default row (onSelect, the detail drawer on a small screen, aria-current).
|
|
44
|
+
*
|
|
45
|
+
* @since 2.13.0
|
|
38
46
|
*/
|
|
39
|
-
export interface
|
|
47
|
+
export interface ListDetailItemHelpers {
|
|
48
|
+
/** Selects the item: calls `onSelect` and, while the template is collapsed, opens the detail. */
|
|
49
|
+
select(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Props for the row's pressable element: `onClick` selects the item, `aria-current` marks the
|
|
52
|
+
* selected row and `id` lets the template return focus to it when the detail closes.
|
|
53
|
+
*/
|
|
54
|
+
getItemProps(): {
|
|
55
|
+
onClick: () => void;
|
|
56
|
+
'aria-current': 'true' | undefined;
|
|
57
|
+
id: string;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* ListDetailTemplate's own props (the HTML attributes of the root are added in
|
|
62
|
+
* {@link ListDetailTemplateProps}).
|
|
63
|
+
*/
|
|
64
|
+
export interface ListDetailTemplateOwnProps<T extends ListDetailItem = ListDetailItem> {
|
|
40
65
|
/** List items */
|
|
41
|
-
items:
|
|
66
|
+
items: T[];
|
|
42
67
|
/** Currently selected item ID */
|
|
43
68
|
selectedId?: string | null;
|
|
44
69
|
/** Callback when item is selected */
|
|
45
|
-
onSelect?: (item:
|
|
46
|
-
/** Detail panel content */
|
|
70
|
+
onSelect?: (item: T) => void;
|
|
71
|
+
/** Detail panel content, shown while an item is selected (`selectedId` is set) */
|
|
47
72
|
detailContent?: React.ReactNode;
|
|
48
|
-
/** Placeholder when no item selected */
|
|
73
|
+
/** Placeholder when no item is selected; shown even when `detailContent` is set */
|
|
49
74
|
emptyDetailContent?: React.ReactNode;
|
|
50
75
|
/** Search value */
|
|
51
76
|
searchValue?: string;
|
|
@@ -73,8 +98,12 @@ export interface ListDetailTemplateProps {
|
|
|
73
98
|
maxListWidth?: number;
|
|
74
99
|
/** Show search bar */
|
|
75
100
|
showSearch?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
|
|
101
|
+
/**
|
|
102
|
+
* Custom render function for list items. The third argument (`helpers`, since 2.13.0) wires
|
|
103
|
+
* the row to the selection: spread `helpers.getItemProps()` on its pressable element, or call
|
|
104
|
+
* `helpers.select()`. A renderer that ignores it behaves as before.
|
|
105
|
+
*/
|
|
106
|
+
renderListItem?: (item: T, selected: boolean, helpers: ListDetailItemHelpers) => React.ReactNode;
|
|
78
107
|
/** Show filter button */
|
|
79
108
|
showFilter?: boolean;
|
|
80
109
|
/** Filter click handler */
|
|
@@ -83,6 +112,135 @@ export interface ListDetailTemplateProps {
|
|
|
83
112
|
filterCount?: number;
|
|
84
113
|
/** Empty list message */
|
|
85
114
|
emptyListMessage?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the detail drawer is open while the template is collapsed (controlled). Selecting an
|
|
117
|
+
* item opens it; Back, Escape and the drawer's close set it to false.
|
|
118
|
+
* @since 2.13.0
|
|
119
|
+
*/
|
|
120
|
+
detailOpen?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Initial `detailOpen` when uncontrolled.
|
|
123
|
+
* @default false
|
|
124
|
+
* @since 2.13.0
|
|
125
|
+
*/
|
|
126
|
+
defaultDetailOpen?: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Called when the detail drawer opens or closes, in both modes.
|
|
129
|
+
* @since 2.13.0
|
|
130
|
+
*/
|
|
131
|
+
onDetailOpenChange?: (open: boolean) => void;
|
|
132
|
+
/**
|
|
133
|
+
* What collapses the split view into a list plus a full-width detail drawer:
|
|
134
|
+
* - `'viewport'` (default, as before): the viewport is below the theme's `md` breakpoint;
|
|
135
|
+
* - `'container'`: the template's own width cannot fit the list column, the gap and a
|
|
136
|
+
* `compact` detail column (the list width when numeric, else `minListWidth`, plus the
|
|
137
|
+
* theme's `compact` container width, 360px by default). For templates hosted in a narrow
|
|
138
|
+
* region of a wide viewport, such as beside the AppLayout AI panel. The server render and
|
|
139
|
+
* the first client render show the split view (ADR-27).
|
|
140
|
+
* @default 'viewport'
|
|
141
|
+
* @since 2.13.0
|
|
142
|
+
*/
|
|
143
|
+
collapseMode?: 'viewport' | 'container';
|
|
144
|
+
/**
|
|
145
|
+
* With `collapseMode="container"`: the width in px below which the template collapses,
|
|
146
|
+
* instead of the derived threshold.
|
|
147
|
+
* @since 2.13.0
|
|
148
|
+
*/
|
|
149
|
+
collapseBelow?: number;
|
|
150
|
+
/**
|
|
151
|
+
* The number of items in the whole collection, when `items` holds only the loaded part (a
|
|
152
|
+
* paged or server-filtered queue). Every row gets `aria-setsize` (this value, else the number
|
|
153
|
+
* of rows shown) and `aria-posinset`, so a screen reader reads "3 of 250".
|
|
154
|
+
* @since 2.13.0
|
|
155
|
+
*/
|
|
156
|
+
totalCount?: number;
|
|
157
|
+
/**
|
|
158
|
+
* How the built-in search filters `items`: a predicate `(item, query)`, or `false` to show
|
|
159
|
+
* every item as given (server-side search: the consumer filters through `onSearchChange`, and
|
|
160
|
+
* the template never hides a server match). By default an item matches when its title or
|
|
161
|
+
* subtitle contains the query, ignoring case.
|
|
162
|
+
* @since 2.13.0
|
|
163
|
+
*/
|
|
164
|
+
filterItems?: false | ((item: T, query: string) => boolean);
|
|
165
|
+
/**
|
|
166
|
+
* More items can be loaded: a Load more button follows the list, inside its scroll area.
|
|
167
|
+
* @since 2.13.0
|
|
168
|
+
*/
|
|
169
|
+
hasMore?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Loads the next items (append them to `items`). May return a promise: while it is pending
|
|
172
|
+
* the button is aria-disabled and aria-busy and ignores presses; a rejection keeps the button
|
|
173
|
+
* and is reported through `globalThis.reportError` (ADR-07). When the new items arrive,
|
|
174
|
+
* labels.moreLoaded({ count }) is announced.
|
|
175
|
+
* @since 2.13.0
|
|
176
|
+
*/
|
|
177
|
+
onLoadMore?: () => void | Promise<void>;
|
|
178
|
+
/**
|
|
179
|
+
* More items are loading (for an `onLoadMore` that returns nothing and loads elsewhere):
|
|
180
|
+
* the button shows labels.loadingMore and is aria-disabled and aria-busy.
|
|
181
|
+
* @since 2.13.0
|
|
182
|
+
*/
|
|
183
|
+
loadingMore?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Content shown when the list has no items (after the search filter), in place of
|
|
186
|
+
* `emptyListMessage`: an illustrated empty state, a "Clear filters" action.
|
|
187
|
+
* @since 2.13.0
|
|
188
|
+
*/
|
|
189
|
+
listEmptyContent?: React.ReactNode;
|
|
190
|
+
/**
|
|
191
|
+
* Content shown instead of the list when loading the items failed: an error message with a
|
|
192
|
+
* retry action. Takes precedence over the items and the empty state; `loading` still shows
|
|
193
|
+
* the skeleton.
|
|
194
|
+
* @since 2.13.0
|
|
195
|
+
*/
|
|
196
|
+
listErrorContent?: React.ReactNode;
|
|
197
|
+
/**
|
|
198
|
+
* Overrides for the template's built-in strings: accessible names, tooltips and hidden
|
|
199
|
+
* text. Keys you leave out keep their English defaults (see {@link ListDetailTemplateLabels}).
|
|
200
|
+
* @since 2.13.0
|
|
201
|
+
*/
|
|
202
|
+
labels?: Partial<ListDetailTemplateLabels>;
|
|
203
|
+
/**
|
|
204
|
+
* Added to the root element's classes.
|
|
205
|
+
* @since 2.13.0
|
|
206
|
+
*/
|
|
207
|
+
className?: string;
|
|
208
|
+
/**
|
|
209
|
+
* Styles for the root element, applied after the template's own (object, array or function
|
|
210
|
+
* form).
|
|
211
|
+
* @since 2.13.0
|
|
212
|
+
*/
|
|
213
|
+
sx?: SxProps<Theme>;
|
|
214
|
+
/**
|
|
215
|
+
* Props for the template's parts (ADR-04 (6)): `className`, `sx`, `id` and HTML attributes,
|
|
216
|
+
* merged with the part's own. `listPanel` and `detailPanel` are the two panels (Paper),
|
|
217
|
+
* `search` the search input, `list` the ul and `drawerPaper` the detail drawer's paper on a
|
|
218
|
+
* small screen. Owned attributes (role, aria-modal, aria-busy, ...) stay the template's.
|
|
219
|
+
* @since 2.13.0
|
|
220
|
+
*/
|
|
221
|
+
slotProps?: {
|
|
222
|
+
listPanel?: TrinitySlotProps<HTMLDivElement>;
|
|
223
|
+
detailPanel?: TrinitySlotProps<HTMLDivElement>;
|
|
224
|
+
search?: TrinitySlotProps<HTMLInputElement>;
|
|
225
|
+
list?: TrinitySlotProps<HTMLUListElement>;
|
|
226
|
+
drawerPaper?: TrinitySlotProps<HTMLDivElement>;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Props for ListDetailTemplate component: its own props plus the HTML attributes of the root
|
|
231
|
+
* div (ADR-04). Generic over the item type: pass items of a type that extends
|
|
232
|
+
* {@link ListDetailItem}, and `onSelect` and `renderListItem` receive that type.
|
|
233
|
+
*/
|
|
234
|
+
export interface ListDetailTemplateProps<T extends ListDetailItem = ListDetailItem> extends ListDetailTemplateOwnProps<T>, TrinityRootProps<HTMLDivElement, ListDetailTemplateOwnProps> {
|
|
86
235
|
}
|
|
87
|
-
|
|
236
|
+
/**
|
|
237
|
+
* A master-detail split view: a searchable list and a detail pane that follows the selection,
|
|
238
|
+
* collapsing to a full-width drawer on small screens.
|
|
239
|
+
*
|
|
240
|
+
* Generic over the item type (`<ListDetailTemplate<MyItem> items={myItems} onSelect={(item) =>
|
|
241
|
+
* item.myField} />`; usually inferred from `items`). The forwardRef result is cast to this generic
|
|
242
|
+
* call signature, which keeps `ref`; static members such as `displayName` are not part of the
|
|
243
|
+
* declared type, so read them through a cast.
|
|
244
|
+
*/
|
|
245
|
+
export declare const ListDetailTemplate: <T extends ListDetailItem = ListDetailItem>(props: ListDetailTemplateProps<T> & React.RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
88
246
|
//# sourceMappingURL=ListDetailTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListDetailTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/ListDetail/ListDetailTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ListDetailTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/ListDetail/ListDetailTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAqC/B,OAAO,EAAgB,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACpG,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAkD,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEnH,YAAY,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEnE,2BAA2B;AAC3B,MAAM,WAAW,cAAc;IAC7B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wCAAwC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,MAAM,CAAC,EAAE,SAAS,GAA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,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ListDetailTemplate, type ListDetailTemplateProps, type
|
|
1
|
+
export { ListDetailTemplate, type ListDetailTemplateProps, type ListDetailItem, type ListDetailItemHelpers, type ListDetailTemplateLabels, } from './ListDetailTemplate';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/ListDetail/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/ListDetail/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,GAC9B,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview ListDetailTemplate's overridable strings and their English defaults (H-19,
|
|
3
|
+
* NAMING.md "Label overrides (non-AI)", H-47).
|
|
4
|
+
* @module components/templates/ListDetail/listDetailLabels
|
|
5
|
+
*/
|
|
6
|
+
/** The status values a list item can carry (ListDetailItem['status']). */
|
|
7
|
+
type ListDetailItemStatus = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
8
|
+
/**
|
|
9
|
+
* Strings ListDetailTemplate renders. Pass a partial object to `labels`; keys you leave out (or
|
|
10
|
+
* set to `undefined`) keep their English defaults. `searchPlaceholder` and `emptyListMessage`
|
|
11
|
+
* stay flat props.
|
|
12
|
+
*
|
|
13
|
+
* @since 2.13.0
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDetailTemplateLabels {
|
|
16
|
+
/**
|
|
17
|
+
* Accessible name of the search field.
|
|
18
|
+
* @default 'Search'
|
|
19
|
+
*/
|
|
20
|
+
search: string;
|
|
21
|
+
/**
|
|
22
|
+
* Name and tooltip of the button that clears the search.
|
|
23
|
+
* @default 'Clear search'
|
|
24
|
+
*/
|
|
25
|
+
clearSearch: string;
|
|
26
|
+
/**
|
|
27
|
+
* Name and tooltip of the filter button (`showFilter`), with the active filter count.
|
|
28
|
+
* @default ({ count }) => (count > 0 ? `Filters, ${count} active` : 'Filters')
|
|
29
|
+
*/
|
|
30
|
+
filterButton: (args: {
|
|
31
|
+
count: number;
|
|
32
|
+
}) => string;
|
|
33
|
+
/**
|
|
34
|
+
* Name and tooltip of the button that closes the detail on a small screen.
|
|
35
|
+
* @default 'Back'
|
|
36
|
+
*/
|
|
37
|
+
back: string;
|
|
38
|
+
/**
|
|
39
|
+
* Visually hidden text read with an unread item, so unread is not conveyed by the dot and the
|
|
40
|
+
* font weight alone (WCAG 1.4.1).
|
|
41
|
+
* @default 'Unread'
|
|
42
|
+
*/
|
|
43
|
+
unread: string;
|
|
44
|
+
/**
|
|
45
|
+
* Visually hidden text read with an item that has a `status`, so the status is not conveyed by
|
|
46
|
+
* colour alone (WCAG 1.4.1). A status without an entry gets no text; keys you pass are merged
|
|
47
|
+
* over the defaults one by one.
|
|
48
|
+
* @default { success: 'Success', warning: 'Warning', error: 'Error', info: 'Info' }
|
|
49
|
+
*/
|
|
50
|
+
status: Partial<Record<ListDetailItemStatus, string>>;
|
|
51
|
+
/**
|
|
52
|
+
* Visually hidden text of the list while `loading` is true.
|
|
53
|
+
* @default 'Loading'
|
|
54
|
+
*/
|
|
55
|
+
loading: string;
|
|
56
|
+
/**
|
|
57
|
+
* Accessible name of the detail drawer on a small screen when there is no `detailHeader` to
|
|
58
|
+
* name it, and of the detail's scroll area while its content scrolls (it then takes focus,
|
|
59
|
+
* so the keyboard can scroll it).
|
|
60
|
+
* @default 'Details'
|
|
61
|
+
*/
|
|
62
|
+
detail: string;
|
|
63
|
+
/**
|
|
64
|
+
* Announced politely after the search changes (debounced): how many rows match.
|
|
65
|
+
* @default ({ count }) => (count === 0 ? 'No results' : count === 1 ? '1 result' : `${count} results`)
|
|
66
|
+
*/
|
|
67
|
+
resultsCount: (args: {
|
|
68
|
+
count: number;
|
|
69
|
+
}) => string;
|
|
70
|
+
/**
|
|
71
|
+
* Text of the load-more button (`hasMore` with `onLoadMore`).
|
|
72
|
+
* @default 'Load more'
|
|
73
|
+
*/
|
|
74
|
+
loadMore: string;
|
|
75
|
+
/**
|
|
76
|
+
* Text of the load-more button while more items load.
|
|
77
|
+
* @default 'Loading more'
|
|
78
|
+
*/
|
|
79
|
+
loadingMore: string;
|
|
80
|
+
/**
|
|
81
|
+
* Announced politely when a load-more adds items.
|
|
82
|
+
* @default ({ count }) => (count === 1 ? '1 more item loaded' : `${count} more items loaded`)
|
|
83
|
+
*/
|
|
84
|
+
moreLoaded: (args: {
|
|
85
|
+
count: number;
|
|
86
|
+
}) => string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* English defaults for {@link ListDetailTemplateLabels}.
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
export declare const DEFAULT_LIST_DETAIL_LABELS: ListDetailTemplateLabels;
|
|
93
|
+
/**
|
|
94
|
+
* Merges the consumer's partial labels over the defaults. A key set to `undefined` keeps its
|
|
95
|
+
* default; `status` is merged per value.
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
export declare function resolveListDetailLabels(overrides: Partial<ListDetailTemplateLabels> | undefined): ListDetailTemplateLabels;
|
|
99
|
+
/**
|
|
100
|
+
* The hidden status text for an item, or undefined for an item without a status or a status
|
|
101
|
+
* without a label.
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
export declare function listDetailStatusLabel(labels: ListDetailTemplateLabels, status: ListDetailItemStatus | undefined): string | undefined;
|
|
105
|
+
export {};
|
|
106
|
+
//# sourceMappingURL=listDetailLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listDetailLabels.d.ts","sourceRoot":"","sources":["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,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAGpI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OnboardingTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Onboarding/OnboardingTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OnboardingTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Onboarding/OnboardingTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,MAAM,WAAW,eAAe;IAC9B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB;IAChB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gCAAgC;IAChC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,4CAA4C;IAC5C,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,qDAAqD;IACrD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kFAAkF;IAClF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,gGAyM9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Settings/SettingsTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SettingsTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Settings/SettingsTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0B/B,MAAM,WAAW,eAAe;IAC9B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW;IACX,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,kBAAkB;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,+CAA+C;IAC/C,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB;IACtB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B;AAQD,MAAM,WAAW,qBAAqB;IACpC,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,uBAAuB;IACvB,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,iCAAiC;IACjC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,wBAAwB;IACxB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oCAAoC;IACpC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gCAAgC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uBAAuB;IACvB,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACjD,qBAAqB;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,oBAAoB;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AA2GD,eAAO,MAAM,gBAAgB,8FAsO5B,CAAC"}
|
|
@@ -58,7 +58,10 @@ export interface WizardTemplateProps {
|
|
|
58
58
|
finishLabel?: string;
|
|
59
59
|
/** Cancel-button label. Default "Cancel". */
|
|
60
60
|
cancelLabel?: string;
|
|
61
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Loading on Next/Finish: shows a spinner, and the footer buttons ignore clicks while keeping
|
|
63
|
+
* focus (aria-disabled; Next/Finish also aria-busy), so focus never drops to the page.
|
|
64
|
+
*/
|
|
62
65
|
loading?: boolean;
|
|
63
66
|
/** Title shown above the stepper. */
|
|
64
67
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WizardTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Wizard/WizardTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,MAAM,WAAW,UAAU;IACzB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4EAA4E;IAC5E,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB
|
|
1
|
+
{"version":3,"file":"WizardTemplate.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/Wizard/WizardTemplate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,MAAM,WAAW,UAAU;IACzB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,mBAAmB;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,4EAA4E;IAC5E,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAAC;IACnC,kEAAkE;IAClE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B;AAYD,eAAO,MAAM,cAAc,4FAwN1B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { DashboardTemplate, type DashboardTemplateProps } from './Dashboard';
|
|
2
2
|
export type { KpiItem, ActivityItem } from './Dashboard/DashboardTemplate';
|
|
3
3
|
export { SettingsTemplate, type SettingsTemplateProps, type SettingsSection, type SettingsNavItem } from './Settings';
|
|
4
|
-
export { ListDetailTemplate, type ListDetailTemplateProps, type ListDetailItem } from './ListDetail';
|
|
4
|
+
export { ListDetailTemplate, type ListDetailTemplateProps, type ListDetailItem, type ListDetailItemHelpers, type ListDetailTemplateLabels, } from './ListDetail';
|
|
5
5
|
export { AuthTemplate, type AuthTemplateProps, type AuthMode, type AuthAction, type AuthFooterLink, } from './Auth';
|
|
6
6
|
export { ErrorPageTemplate, type ErrorPageTemplateProps, type ErrorAction, type ErrorCode, } from './ErrorPage';
|
|
7
7
|
export { WizardTemplate, type WizardTemplateProps, type WizardStep, } from './Wizard';
|
|
@@ -12,4 +12,5 @@ export { IntegrationDetailTemplate, type IntegrationDetailTemplateProps, type In
|
|
|
12
12
|
export { ConnectorWizardTemplate, type ConnectorWizardTemplateProps, type ConnectorType, type ConnectorAuthField, type ConnectorConfigField, type ConnectorTestStatus, } from './ConnectorWizard';
|
|
13
13
|
export { PlanHero, type PlanHeroProps, type PlanCard, type PlanFeature, type PlanBillingCycle, } from './PlanHero';
|
|
14
14
|
export { InsightsCenterTemplate, type InsightsCenterTemplateProps, type InsightCardItem, type InsightsCenterLayout, } from './InsightsCenter';
|
|
15
|
+
export { AIReviewQueueTemplate, type AIReviewQueueTemplateProps, type AIReviewQueueTemplateOwnProps, type AIReviewQueueHistoryEntry, type AIReviewQueueError, } from './AIReviewQueue';
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/templates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC7E,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAG3E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGtH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/templates/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC7E,YAAY,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAG3E,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAGtH,OAAO,EACL,kBA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AAoB,GAC1B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC"}
|
package/dist/data-table.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DataTable, setAgGridEnterpriseLicenseKey } from './components/DataTable';
|
|
2
|
-
export type { DataTableProps, TrinityColumnDef, RowAction } from './components/DataTable';
|
|
2
|
+
export type { DataTableProps, DataTableLabels, TrinityColumnDef, RowAction } from './components/DataTable';
|
|
3
3
|
//# sourceMappingURL=data-table.d.ts.map
|
package/dist/data-table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../src/data-table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAClF,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../src/data-table.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAClF,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/data-table.js
CHANGED