@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/FileUpload.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAoCxE,gGAAgG;AAChG,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;AAElE;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,2BAA2B;IAC3B,IAAI,EAAE,IAAI,CAAC;IACX,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB;IACpB,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,OAAO,CAAC;IACvD,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,SAAS,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IAC9C;;;;;OAKG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;CAC5C;AAWD;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,qBAAqB;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;IAC9C,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACvC;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACnC,oBAAoB;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AA0ED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,UAAU,wFAuuBrB,CAAC;AA8FH,eAAe,UAAU,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { FileUpload, type FileUploadProps, type UploadFile, type FileUploadVariant, } from './FileUpload';
|
|
1
|
+
export { FileUpload, type FileUploadProps, type UploadFile, type FileUploadVariant, type FileUploadLabels, } from './FileUpload';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,GACtB,MAAM,cAAc,CAAC"}
|
|
@@ -44,8 +44,28 @@ export interface FilterPreset {
|
|
|
44
44
|
icon?: React.ReactNode;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Strings FilterBar renders that contain a count. Pass a partial object to `labels`; keys you
|
|
48
|
+
* leave out (or set to `undefined`) keep their English defaults.
|
|
49
|
+
*
|
|
50
|
+
* @since 2.13.0
|
|
48
51
|
*/
|
|
52
|
+
export interface FilterBarLabels {
|
|
53
|
+
/**
|
|
54
|
+
* Value of a multiselect filter's chip when more than one option is selected.
|
|
55
|
+
* @default ({ count }) => `${count} selected`
|
|
56
|
+
*/
|
|
57
|
+
selectedCount: (args: {
|
|
58
|
+
count: number;
|
|
59
|
+
}) => string;
|
|
60
|
+
/**
|
|
61
|
+
* Text of the chip that stands for the active filters past `maxVisibleChips`; it opens the
|
|
62
|
+
* filter menu.
|
|
63
|
+
* @default ({ count }) => `+${count} more`
|
|
64
|
+
*/
|
|
65
|
+
moreFilters: (args: {
|
|
66
|
+
count: number;
|
|
67
|
+
}) => string;
|
|
68
|
+
}
|
|
49
69
|
/**
|
|
50
70
|
* Args passed to a custom filter-editor renderer. Returned ReactNode is
|
|
51
71
|
* rendered inside the filter's Popover.
|
|
@@ -112,6 +132,12 @@ export interface FilterBarProps {
|
|
|
112
132
|
* ```
|
|
113
133
|
*/
|
|
114
134
|
renderFilterEditor?: (args: FilterEditorRenderArgs) => React.ReactNode | undefined;
|
|
135
|
+
/**
|
|
136
|
+
* Overrides for FilterBar's count strings. Keys you leave out keep their English defaults
|
|
137
|
+
* (see {@link FilterBarLabels}).
|
|
138
|
+
* @since 2.13.0
|
|
139
|
+
*/
|
|
140
|
+
labels?: Partial<FilterBarLabels>;
|
|
115
141
|
}
|
|
116
142
|
export declare const FilterBar: React.ForwardRefExoticComponent<FilterBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
117
143
|
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/components/FilterBar/FilterBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FilterBar.d.ts","sourceRoot":"","sources":["../../../src/components/FilterBar/FilterBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA+B/B,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE7F,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB;IAClB,IAAI,EAAE,UAAU,CAAC;IACjB,qCAAqC;IACrC,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC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AC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IACzD,oBAAoB;IACpB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,uCAAuC;IACvC,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAChD,iDAAiD;IACjD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,KAAK,IAAI,CAAC;IAC9D,8BAA8B;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,mBAAmB;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iDAAiD;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,sBAAsB,KAAK,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;IACnF;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACnC;AAoKD,eAAO,MAAM,SAAS,uFAqfpB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { FilterBar, type FilterBarProps, type FilterConfig, type FilterValue, type FilterPreset } from './FilterBar';
|
|
1
|
+
export { FilterBar, type FilterBarProps, type FilterBarLabels, type FilterConfig, type FilterValue, type FilterPreset } from './FilterBar';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilterBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/FilterBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFlowAutoLayout.d.ts","sourceRoot":"","sources":["../../../src/components/FlowAutoLayout/useFlowAutoLayout.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"useFlowAutoLayout.d.ts","sourceRoot":"","sources":["../../../src/components/FlowAutoLayout/useFlowAutoLayout.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,EAAY,KAAK,IAAI,EAAE,KAAK,IAAI,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,GAAG,IAAI,CAAC;AACtD,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5D,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,mBAAmB,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB,CAAC,KAAK,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,SAAS,IAAI,GAAG,IAAI;IACxF,KAAK,EAAE,KAAK,EAAE,CAAC;IACf,KAAK,EAAE,KAAK,EAAE,CAAC;CAChB;AA4ND,wBAAsB,kBAAkB,CAAC,KAAK,SAAS,IAAI,EAAE,KAAK,SAAS,IAAI,EAC7E,KAAK,EAAE,KAAK,EAAE,EACd,KAAK,EAAE,KAAK,EAAE,EACd,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAiB7C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,SAAS,IAAI,GAAG,IAAI,EAAE,KAAK,SAAS,IAAI,GAAG,IAAI,EACpF,QAAQ,CAAC,EAAE,qBAAqB;;yBAMrB,KAAK,EAAE,SACP,KAAK,EAAE,cACF,qBAAqB,KAChC,OAAO,CAAC,oBAAoB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;EAkBjD;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -13,6 +13,30 @@
|
|
|
13
13
|
* Each arrow goes from one task's right edge to the dependent's left edge
|
|
14
14
|
* via an L-shaped elbow (right → down → right).
|
|
15
15
|
*
|
|
16
|
+
* Interaction (B-20): with `onSelect`, every task-list row, bar and milestone
|
|
17
|
+
* is a `ButtonBase` (WAI-ARIA APG Button pattern: own tab stop, Enter and
|
|
18
|
+
* Space activate, theme focus ring). Without `onSelect` they are plain
|
|
19
|
+
* elements and nothing is pressable. Tooltips use `describeChild`, so they
|
|
20
|
+
* describe the control instead of renaming it; each bar and milestone also
|
|
21
|
+
* points `aria-describedby` at a visually hidden plain-text summary. The
|
|
22
|
+
* scroll root reserves the sticky task column and header as scroll padding,
|
|
23
|
+
* so focus scrolling never leaves a focused bar, milestone or row entirely
|
|
24
|
+
* under them (WCAG 2.4.11); focusing a row or group chevron in the sticky
|
|
25
|
+
* column scrolls only vertically.
|
|
26
|
+
*
|
|
27
|
+
* SSR (ADR-27): the summary formats its dates with a fixed en-US/UTC format
|
|
28
|
+
* on the server and during hydration, then with the runtime locale (as the
|
|
29
|
+
* tooltip does) once mounted. A server/client difference in that text (a
|
|
30
|
+
* local-time date in two time zones) never fails hydration: the span tolerates
|
|
31
|
+
* it and is re-created with the client's text after mount.
|
|
32
|
+
*
|
|
33
|
+
* Colour: the surfaces that carry focus rings (root, task list, rows, group
|
|
34
|
+
* rows, timeline grid) use theme palette roles, so the mode-aware ring keeps
|
|
35
|
+
* at least 3:1 against them in light and dark. Both sticky header strips use
|
|
36
|
+
* the same roles (`background.default`, `divider`), and the "Task" caption,
|
|
37
|
+
* tick labels and row descriptions use `text.secondary` (at least 4.5:1 on
|
|
38
|
+
* their surfaces in both modes).
|
|
39
|
+
*
|
|
16
40
|
* @module components/GanttView
|
|
17
41
|
*/
|
|
18
42
|
import * as React from 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GanttView.d.ts","sourceRoot":"","sources":["../../../src/components/GanttView/GanttView.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"GanttView.d.ts","sourceRoot":"","sources":["../../../src/components/GanttView/GanttView.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EACV,cAAc,EAKf,MAAM,SAAS,CAAC;AAoNjB;;GAEG;AACH,eAAO,MAAM,SAAS,uFA2uBrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -21,7 +21,11 @@ export type GanttSeverity = 'success' | 'warning' | 'error' | 'info' | 'neutral'
|
|
|
21
21
|
export interface GanttTask {
|
|
22
22
|
/** Stable id. */
|
|
23
23
|
id: string;
|
|
24
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Display label in the left-hand task list. It also names a milestone
|
|
26
|
+
* diamond (a ReactNode label is referenced from the task list) and starts
|
|
27
|
+
* the bar or milestone description.
|
|
28
|
+
*/
|
|
25
29
|
label: ReactNode;
|
|
26
30
|
/** Optional secondary text shown under the label. */
|
|
27
31
|
description?: ReactNode;
|
|
@@ -35,11 +39,14 @@ export interface GanttTask {
|
|
|
35
39
|
progress?: number;
|
|
36
40
|
/** Optional ids of tasks this depends on — renders arrow from each dependency's end to this task's start. */
|
|
37
41
|
dependsOn?: ReadonlyArray<string>;
|
|
38
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Optional assignee — rendered as short text on the bar. With `onSelect`
|
|
44
|
+
* that text is the bar button's accessible name (the label otherwise).
|
|
45
|
+
*/
|
|
39
46
|
assignee?: string;
|
|
40
47
|
/** Marked as a milestone — renders as a diamond marker instead of a bar (uses `start` only). */
|
|
41
48
|
milestone?: boolean;
|
|
42
|
-
/** Disabled —
|
|
49
|
+
/** Disabled — dims the bar or milestone. It does not block selection. */
|
|
43
50
|
disabled?: boolean;
|
|
44
51
|
}
|
|
45
52
|
/**
|
|
@@ -86,15 +93,30 @@ export interface GanttViewProps {
|
|
|
86
93
|
tickWidth?: number;
|
|
87
94
|
/** Row height. Default 36. */
|
|
88
95
|
rowHeight?: number;
|
|
89
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Left-side label column width. The scroll region also uses it as its left
|
|
98
|
+
* scroll padding, so a bar or milestone that takes focus is never left
|
|
99
|
+
* entirely under the sticky column. A bar that is already partly visible
|
|
100
|
+
* beside the column is not moved, so part of it can stay under the column.
|
|
101
|
+
* @default 220
|
|
102
|
+
*/
|
|
90
103
|
labelColumnWidth?: number;
|
|
91
104
|
/** Maximum visible height before vertical scroll engages. Default 480. */
|
|
92
105
|
maxHeight?: number | string;
|
|
93
106
|
/** Show today line (vertical dashed). Default true. */
|
|
94
107
|
showToday?: boolean;
|
|
95
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Currently selected task id. The selected task's row is highlighted (and
|
|
110
|
+
* carries `aria-current="true"` when `onSelect` is set), and its bar or
|
|
111
|
+
* milestone shows a selection ring.
|
|
112
|
+
*/
|
|
96
113
|
selectedId?: string;
|
|
97
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Called with the task when a task-list row, bar or milestone is activated
|
|
116
|
+
* by click, Enter or Space. When set, each of those renders as a button with
|
|
117
|
+
* its own Tab stop (WAI-ARIA APG Button pattern). When omitted they are
|
|
118
|
+
* plain, non-interactive elements.
|
|
119
|
+
*/
|
|
98
120
|
onSelect?: (task: GanttTask) => void;
|
|
99
121
|
/** Called when a group chevron is clicked. */
|
|
100
122
|
onGroupToggle?: (group: GanttGroup) => void;
|
|
@@ -104,7 +126,11 @@ export interface GanttViewProps {
|
|
|
104
126
|
hideDependencies?: boolean;
|
|
105
127
|
/** sx for the root container. */
|
|
106
128
|
sx?: SxProps<Theme>;
|
|
107
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Accessible name of the root `role="region"`. The region is a scroll
|
|
131
|
+
* container with `tabIndex={0}`, so keyboard users can reach and scroll it.
|
|
132
|
+
* @default 'Gantt timeline'
|
|
133
|
+
*/
|
|
108
134
|
ariaLabel?: string;
|
|
109
135
|
}
|
|
110
136
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/GanttView/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpD;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAEjF;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,iBAAiB;IACjB,EAAE,EAAE,MAAM,CAAC;IACX
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/GanttView/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe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6
|
-
*
|
|
4
|
+
* Visual: 260° arc (speedometer style) sweeping clockwise from 7 o'clock over
|
|
5
|
+
* 12 o'clock to 5 o'clock, with the value centred on the arc's circle. The
|
|
6
|
+
* track uses the theme's border role; the value arc uses the severity color
|
|
7
|
+
* from `theme.palette`. The geometry lives in `./geometry`.
|
|
7
8
|
*
|
|
8
9
|
* Why SVG and not Highcharts: a single gauge can be drawn in ~5 path lines
|
|
9
10
|
* with no chart dependency. Avoids bundle bloat for a primitive that's used
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GaugeCard.d.ts","sourceRoot":"","sources":["../../../src/components/GaugeCard/GaugeCard.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"GaugeCard.d.ts","sourceRoot":"","sources":["../../../src/components/GaugeCard/GaugeCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,OAAO,KAAK,EACV,cAAc,EAIf,MAAM,SAAS,CAAC;AAmKjB,eAAO,MAAM,SAAS,uFAsMrB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Arc geometry for GaugeCard.
|
|
3
|
+
*
|
|
4
|
+
* The gauge is a 260° arc on one circle. It starts at 220° (7 o'clock, angles
|
|
5
|
+
* in degrees counter-clockwise from 3 o'clock) and runs clockwise over 12
|
|
6
|
+
* o'clock to −40° (5 o'clock), so the 100° opening is centred at the bottom.
|
|
7
|
+
*
|
|
8
|
+
* Every visible part (track, value arc, loading arc, target tick) is derived
|
|
9
|
+
* from the same {@link GaugeGeometry}, so they share one centre by
|
|
10
|
+
* construction. The value arc is the track path itself, cut to length with
|
|
11
|
+
* `pathLength="1"` and a stroke dash of `fraction`, so it cannot drift off the
|
|
12
|
+
* track and its transition runs along the circle.
|
|
13
|
+
*
|
|
14
|
+
* @internal Not exported from the package; the GaugeCard tests import it.
|
|
15
|
+
* @module components/GaugeCard/geometry
|
|
16
|
+
*/
|
|
17
|
+
/** Start angle of the arc, in degrees counter-clockwise from 3 o'clock. */
|
|
18
|
+
export declare const GAUGE_START_ANGLE = 220;
|
|
19
|
+
/** Total sweep of the arc, in degrees (clockwise on screen). */
|
|
20
|
+
export declare const GAUGE_SWEEP = 260;
|
|
21
|
+
/** The drawing box and circle of one gauge. All values are in px (SVG user units). */
|
|
22
|
+
export interface GaugeGeometry {
|
|
23
|
+
/** SVG width (equals the preset diameter). */
|
|
24
|
+
width: number;
|
|
25
|
+
/** SVG height: the arc, its round caps and a target tick at either end fit inside. */
|
|
26
|
+
height: number;
|
|
27
|
+
/** Centre of the circle. */
|
|
28
|
+
cx: number;
|
|
29
|
+
cy: number;
|
|
30
|
+
/** Radius of the stroke's centre line. */
|
|
31
|
+
r: number;
|
|
32
|
+
strokeWidth: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Geometry for a gauge of `diameter` px with a stroke of `strokeWidth` px. The
|
|
36
|
+
* circle, its stroke and the target tick fit in `width` × `height`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function gaugeGeometry(diameter: number, strokeWidth: number): GaugeGeometry;
|
|
39
|
+
/**
|
|
40
|
+
* Position of `value` within `[min, max]`, from 0 to 1. Values outside the
|
|
41
|
+
* range are clamped; an empty or inverted range, or a non-finite value, is 0.
|
|
42
|
+
*/
|
|
43
|
+
export declare function gaugeFraction(value: number, min: number, max: number): number;
|
|
44
|
+
/** Point at fraction `t` (0 = start, 1 = end) of the arc, on a circle of `radius`. */
|
|
45
|
+
export declare function pointOnGauge(t: number, geometry: GaugeGeometry, radius?: number): {
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* SVG path of the whole arc (the track). Decreasing math angle is clockwise on
|
|
51
|
+
* screen, which is SVG's positive direction: sweep-flag 1. The arc is longer
|
|
52
|
+
* than 180°, so large-arc-flag is 1. With these flags the endpoints resolve to
|
|
53
|
+
* the circle centred on (cx, cy); the wrong pair resolves them to the circle
|
|
54
|
+
* mirrored across the chord, which is what pulled the arcs off centre before.
|
|
55
|
+
*/
|
|
56
|
+
export declare function gaugeTrackPath(geometry: GaugeGeometry): string;
|
|
57
|
+
/** Inner diameter of the ring (the free space inside the stroke), in px. */
|
|
58
|
+
export declare function gaugeInnerDiameter(geometry: GaugeGeometry): number;
|
|
59
|
+
//# sourceMappingURL=geometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../src/components/GaugeCard/geometry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,MAAM,CAAC;AACrC,gEAAgE;AAChE,eAAO,MAAM,WAAW,MAAM,CAAC;AAO/B,sFAAsF;AACtF,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,sFAAsF;IACtF,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,CAAC,EAAE,MAAM,CAAC;IACV,WAAW,EAAE,MAAM,CAAC;CACrB;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,aAAa,CAWlF;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAI7E;AAED,sFAAsF;AACtF,wBAAgB,YAAY,CAC1B,CAAC,EAAE,MAAM,EACT,QAAQ,EAAE,aAAa,EACvB,MAAM,GAAE,MAAmB,GAC1B;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAO1B;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAK9D;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM,CAElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeoStatusMap.d.ts","sourceRoot":"","sources":["../../../src/components/GeoStatusMap/GeoStatusMap.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GeoStatusMap.d.ts","sourceRoot":"","sources":["../../../src/components/GeoStatusMap/GeoStatusMap.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EACV,iBAAiB,EAIlB,MAAM,SAAS,CAAC;AAoJjB,eAAO,MAAM,YAAY,EA0QnB,CAAC,KAAK,EACV,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KAClE,KAAK,CAAC,YAAY,CAAC;AAExB,eAAe,YAAY,CAAC"}
|
|
@@ -77,7 +77,10 @@ export interface GeoStatusMapProps<TMeta = unknown> {
|
|
|
77
77
|
* region. See the stories for examples.
|
|
78
78
|
*/
|
|
79
79
|
baseMap: ReactNode;
|
|
80
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* SVG viewBox. Should match the projection's extent. The map is drawn full width, and its
|
|
82
|
+
* height follows the viewBox's aspect ratio (up to `maxHeight`, then it scrolls).
|
|
83
|
+
*/
|
|
81
84
|
viewBox: string;
|
|
82
85
|
/** Locations to overlay as markers. */
|
|
83
86
|
locations: ReadonlyArray<GeoLocation<TMeta>>;
|
|
@@ -101,17 +104,17 @@ export interface GeoStatusMapProps<TMeta = unknown> {
|
|
|
101
104
|
showLegend?: boolean;
|
|
102
105
|
/** Legend label override per severity. */
|
|
103
106
|
legendLabels?: Partial<Record<GeoSeverity, ReactNode>>;
|
|
104
|
-
/** Fill color for the base map paths. Default
|
|
107
|
+
/** Fill color for the base map paths. Default: the theme's `surface.sunken` role (light and dark). */
|
|
105
108
|
baseMapFill?: string;
|
|
106
|
-
/** Stroke color for the base map paths. Default
|
|
109
|
+
/** Stroke color for the base map paths. Default: the theme's `border.default` role (light and dark). */
|
|
107
110
|
baseMapStroke?: string;
|
|
108
|
-
/** Background color of the canvas. Default
|
|
111
|
+
/** Background color of the canvas. Default: the theme's `surface.subtle` role (light and dark). */
|
|
109
112
|
canvasBackground?: string;
|
|
110
113
|
/** Maximum visible height. Default 480. */
|
|
111
114
|
maxHeight?: number | string;
|
|
112
115
|
/** sx for the root container. */
|
|
113
116
|
sx?: SxProps<Theme>;
|
|
114
|
-
/** Accessible
|
|
117
|
+
/** Accessible name of the map region. Default "Geographic status map". */
|
|
115
118
|
ariaLabel?: string;
|
|
116
119
|
}
|
|
117
120
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/GeoStatusMap/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEpD;;;;;;;;;GASG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;AAE/E;;;;;;;;;GASG;AACH,MAAM,WAAW,WAAW,CAAC,KAAK,GAAG,OAAO;IAC1C,iBAAiB;IACjB,EAAE,EAAE,MAAM,CAAC;IACX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,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,CAAC;IACvD,sGAAsG;IACtG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wGAAwG;IACxG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mGAAmG;IACnG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,iCAAiC;IACjC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -15,7 +15,7 @@ import { type FabProps } from '@mui/material';
|
|
|
15
15
|
export interface GoToTopProps {
|
|
16
16
|
/** Custom click handler for the floating action button */
|
|
17
17
|
handleClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
-
/** Selector used by the default click handler */
|
|
18
|
+
/** Selector used by the default click handler, which scrolls the match into view smoothly (a jump when the user prefers reduced motion) */
|
|
19
19
|
anchorSelector?: string;
|
|
20
20
|
/** Bottom offset in pixels */
|
|
21
21
|
bottom?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoToTop.d.ts","sourceRoot":"","sources":["../../../src/components/GoToTop/GoToTop.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQxD,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC7D,
|
|
1
|
+
{"version":3,"file":"GoToTop.d.ts","sourceRoot":"","sources":["../../../src/components/GoToTop/GoToTop.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQxD,MAAM,WAAW,YAAY;IAC3B,0DAA0D;IAC1D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC7D,2IAA2I;IAC3I,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB;IAChB,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;IAC1B,eAAe;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACxB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,OAAO,qFAsClB,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HierarchicalDrillDown.d.ts","sourceRoot":"","sources":["../../../src/components/HierarchicalDrillDown/HierarchicalDrillDown.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"HierarchicalDrillDown.d.ts","sourceRoot":"","sources":["../../../src/components/HierarchicalDrillDown/HierarchicalDrillDown.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AA+NjB,eAAO,MAAM,qBAAqB,EAiJ7B,CAAC,KAAK,EACT,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KAC3E,KAAK,CAAC,YAAY,CAAC;AAExB,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HistoricalDataIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/HistoricalDataIndicator/HistoricalDataIndicator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,4BAA4B,EAAoB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"HistoricalDataIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/HistoricalDataIndicator/HistoricalDataIndicator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,4BAA4B,EAAoB,MAAM,SAAS,CAAC;AAY9E,eAAO,MAAM,uBAAuB,qGAgGlC,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
|
|
@@ -3,13 +3,16 @@
|
|
|
3
3
|
* @module components/HtmlToMui
|
|
4
4
|
* @example
|
|
5
5
|
* ```tsx
|
|
6
|
-
*
|
|
6
|
+
* // Internal component: not exported from the package yet (export decision OD-I7).
|
|
7
|
+
* import { HtmlToMui } from '../components/HtmlToMui';
|
|
7
8
|
*
|
|
8
9
|
* <HtmlToMui html="<h2>Overview</h2><p><strong>Safe</strong> rich content.</p>" />
|
|
9
10
|
* ```
|
|
10
11
|
*/
|
|
11
12
|
import * as React from "react";
|
|
12
13
|
import { type SxProps, type Theme, type TypographyProps } from "@mui/material";
|
|
14
|
+
/** Untrusted-content policies come from one shared module (ADR-09). */
|
|
15
|
+
type RemoteImagePolicy = "block" | "allow";
|
|
13
16
|
export interface HtmlToMuiProps {
|
|
14
17
|
/**
|
|
15
18
|
* Raw HTML to convert.
|
|
@@ -29,11 +32,38 @@ export interface HtmlToMuiProps {
|
|
|
29
32
|
*/
|
|
30
33
|
className?: string;
|
|
31
34
|
/**
|
|
32
|
-
* When true,
|
|
35
|
+
* When true, drops dangerous elements (script, style, iframe, object, form, svg, …)
|
|
36
|
+
* together with their content. URL, style and class policies always apply,
|
|
37
|
+
* whatever this is set to.
|
|
33
38
|
* @default true
|
|
34
39
|
*/
|
|
35
40
|
sanitize?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Remote (http, https, protocol-relative) image sources. `"block"` removes them
|
|
43
|
+
* so untrusted content cannot fetch third-party URLs (tracking pixels);
|
|
44
|
+
* relative, `blob:` and raster `data:image/*` sources always render.
|
|
45
|
+
* @default "block"
|
|
46
|
+
*/
|
|
47
|
+
remoteImages?: RemoteImagePolicy;
|
|
48
|
+
/**
|
|
49
|
+
* Restrict passed-through `class` tokens to this list. When omitted, every class
|
|
50
|
+
* except MUI (`Mui*`, `Mui-*`, `mui-*`, any case) and Emotion (`css-*`) names
|
|
51
|
+
* passes through — untrusted
|
|
52
|
+
* content can still match your own global class selectors, so set this when
|
|
53
|
+
* the HTML is not fully trusted.
|
|
54
|
+
*/
|
|
55
|
+
allowedClasses?: readonly string[];
|
|
36
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Converts an HTML string into MUI-styled React nodes through the shared
|
|
59
|
+
* safe-content policies (ADR-09).
|
|
60
|
+
*
|
|
61
|
+
* Known issue (SSR): parsing needs `DOMParser`. Where it is unavailable (server
|
|
62
|
+
* rendering), the component renders the tag-stripped text in one paragraph, and
|
|
63
|
+
* the client then renders the parsed tree, so hydration does not match. Recorded
|
|
64
|
+
* as an ADR-27 (3) waiver owned by remediation Step 8; render it client-only, or
|
|
65
|
+
* use `renderSafeHtml`-based components, when server rendering matters.
|
|
66
|
+
*/
|
|
37
67
|
export declare const HtmlToMui: React.ForwardRefExoticComponent<HtmlToMuiProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
68
|
export default HtmlToMui;
|
|
39
69
|
//# sourceMappingURL=HtmlToMui.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HtmlToMui.d.ts","sourceRoot":"","sources":["../../../src/components/HtmlToMui/HtmlToMui.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"HtmlToMui.d.ts","sourceRoot":"","sources":["../../../src/components/HtmlToMui/HtmlToMui.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAWL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AAWvB,uEAAuE;AACvE,KAAK,iBAAiB,GAAG,OAAO,GAAG,OAAO,CAAC;AAgD3C,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,kBAAkB,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACpC;AA8RD;;;;;;;;;GASG;AACH,eAAO,MAAM,SAAS,uFAyCpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
|