@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
package/dist/tokens.d.ts
CHANGED
|
@@ -154,6 +154,13 @@ export interface TrinityEasing {
|
|
|
154
154
|
smooth: string;
|
|
155
155
|
bounce: string;
|
|
156
156
|
elastic: string;
|
|
157
|
+
/**
|
|
158
|
+
* Exponential ease-out, `cubic-bezier(0.16, 1, 0.3, 1)`: a fast start that settles softly.
|
|
159
|
+
* The source of `semanticTokens.motion.easing.emphasized`. Optional, so token sets written
|
|
160
|
+
* before 2.13.0 still compile (E-32).
|
|
161
|
+
* @since 2.13.0
|
|
162
|
+
*/
|
|
163
|
+
expoOut?: string;
|
|
157
164
|
}
|
|
158
165
|
export interface TrinityOpacity {
|
|
159
166
|
0: number;
|
|
@@ -259,6 +266,39 @@ export interface TrinityStatusSet {
|
|
|
259
266
|
success: TrinityStatusColors;
|
|
260
267
|
info: TrinityStatusColors;
|
|
261
268
|
}
|
|
269
|
+
/**
|
|
270
|
+
* The content color on a solid fill of each status role's `text` color (ADR-03-R7, C-OD-6 A):
|
|
271
|
+
* the label and icon color of a contained status button, a filled chip or a status badge.
|
|
272
|
+
*
|
|
273
|
+
* The Trinity theme maps `status.<x>.text` and `onStatus.<x>` to MUI's `palette.<x>.main` and
|
|
274
|
+
* `palette.<x>.contrastText`; the CSS package ships them as `--trinity-status-<x>-text` and
|
|
275
|
+
* `--trinity-on-status-<x>`.
|
|
276
|
+
*
|
|
277
|
+
* @since 2.13.0
|
|
278
|
+
*/
|
|
279
|
+
export interface TrinityOnStatusColors {
|
|
280
|
+
error: string;
|
|
281
|
+
warning: string;
|
|
282
|
+
success: string;
|
|
283
|
+
info: string;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* The statuses of the StatusIndicator catalog (`semanticTokens.colors.indicator`).
|
|
287
|
+
*
|
|
288
|
+
* @since 2.13.0
|
|
289
|
+
*/
|
|
290
|
+
export type TrinityIndicatorStatus = 'error' | 'critical' | 'failed' | 'rejected' | 'warning' | 'caution' | 'pending' | 'inProgress' | 'running' | 'success' | 'complete' | 'approved' | 'active' | 'enabled' | 'info' | 'new' | 'updated' | 'neutral' | 'draft' | 'inactive' | 'disabled' | 'cancelled' | 'unknown' | 'beta' | 'experimental';
|
|
291
|
+
/**
|
|
292
|
+
* One catalog entry: the text (`fg`) on the fill (`bg`), and for light fills an `outline` that
|
|
293
|
+
* keeps the fill visible on light surfaces.
|
|
294
|
+
*
|
|
295
|
+
* @since 2.13.0
|
|
296
|
+
*/
|
|
297
|
+
export interface TrinityIndicatorTokenColor {
|
|
298
|
+
fg: string;
|
|
299
|
+
bg: string;
|
|
300
|
+
outline?: string;
|
|
301
|
+
}
|
|
262
302
|
export interface TrinitySemanticColors {
|
|
263
303
|
brand: TrinityBrandColors;
|
|
264
304
|
text: TrinityTextColors;
|
|
@@ -266,6 +306,137 @@ export interface TrinitySemanticColors {
|
|
|
266
306
|
border: TrinityBorderColors;
|
|
267
307
|
interactive: TrinityInteractiveColors;
|
|
268
308
|
status: TrinityStatusSet;
|
|
309
|
+
/**
|
|
310
|
+
* Content colors on a solid status fill (ADR-03-R7). Optional, so a token set written before
|
|
311
|
+
* 2.13.0 still compiles; the theme falls back to the defaults of the same mode.
|
|
312
|
+
*
|
|
313
|
+
* @since 2.13.0
|
|
314
|
+
*/
|
|
315
|
+
onStatus?: TrinityOnStatusColors;
|
|
316
|
+
chart: TrinityChartColors;
|
|
317
|
+
/**
|
|
318
|
+
* AI color roles (ADR-03, ADR-03-R15). Optional, so a token set written before 2.13.0 still
|
|
319
|
+
* compiles; the theme falls back to the defaults.
|
|
320
|
+
*
|
|
321
|
+
* @since 2.13.0
|
|
322
|
+
*/
|
|
323
|
+
ai?: TrinityAIColors;
|
|
324
|
+
/**
|
|
325
|
+
* The StatusIndicator catalog (E-43+). Optional, so a token set written before 2.13.0 still
|
|
326
|
+
* compiles; the theme falls back to the defaults. `palette.trinity.indicator` is built from it.
|
|
327
|
+
*
|
|
328
|
+
* @since 2.13.0
|
|
329
|
+
*/
|
|
330
|
+
indicator?: Record<TrinityIndicatorStatus, TrinityIndicatorTokenColor>;
|
|
331
|
+
/**
|
|
332
|
+
* The favorite role (ADR-03-R10): the colour of a pinned or favorite mark, such as the filled
|
|
333
|
+
* star of a starred thread. It references `status.warning.text` (light #B45309, dark #FDE68A),
|
|
334
|
+
* so an override of that role reaches it unless `favorite` is overridden too, but it is its
|
|
335
|
+
* own role: its meaning does not change with the status roles. A state glyph, so it needs
|
|
336
|
+
* 3:1 on its surface (WCAG 1.4.11); the filled icon is the non-colour cue. Optional, so a
|
|
337
|
+
* token set written before 2.13.0 still compiles.
|
|
338
|
+
*
|
|
339
|
+
* @since 2.13.0
|
|
340
|
+
*/
|
|
341
|
+
favorite?: string;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Decorative AI presence colors for the voice orb and the composer glow (ADR-03-R11).
|
|
345
|
+
*
|
|
346
|
+
* @since 2.13.0
|
|
347
|
+
*/
|
|
348
|
+
export interface TrinityAIPresenceColors {
|
|
349
|
+
blue: string;
|
|
350
|
+
violet: string;
|
|
351
|
+
purple: string;
|
|
352
|
+
coral: string;
|
|
353
|
+
base: string;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* The twelve AI color roles (ADR-03, amended by ADR-03-R15), one set per mode.
|
|
357
|
+
*
|
|
358
|
+
* - `primary`: AI text and accent lines. Light references `brand.secondary`.
|
|
359
|
+
* - `primaryFill` and `onPrimaryFill`: a fill under white content, and that content.
|
|
360
|
+
* - `accent`: the warm AI accent. Light references `brand.accent`.
|
|
361
|
+
* - `surface`, `border`, `badgeBackground`: light tints derived from `brand.secondary`
|
|
362
|
+
* (5%, 20% and 15%), recomputed when `brand.secondary` is overridden.
|
|
363
|
+
* - `surfaceHover`, `surfaceEmphasis`, `surfaceEmphasisHover`: hover and emphasis tints.
|
|
364
|
+
* - `typingIndicator`, `focusRing`.
|
|
365
|
+
*
|
|
366
|
+
* Three optional sub-groups sit beside them: the decorative `presence` colors, `avatarFill`,
|
|
367
|
+
* the AIAvatar's gradient stops, and `canvasFill`, the AI start screen's canvas wash.
|
|
368
|
+
*
|
|
369
|
+
* Read them in components through `getTrinityPalette(theme).ai` or `useTrinityPalette().ai`.
|
|
370
|
+
*
|
|
371
|
+
* @since 2.13.0
|
|
372
|
+
*/
|
|
373
|
+
export interface TrinityAIColors {
|
|
374
|
+
primary: string;
|
|
375
|
+
primaryFill: string;
|
|
376
|
+
onPrimaryFill: string;
|
|
377
|
+
accent: string;
|
|
378
|
+
surface: string;
|
|
379
|
+
surfaceHover: string;
|
|
380
|
+
surfaceEmphasis: string;
|
|
381
|
+
surfaceEmphasisHover: string;
|
|
382
|
+
border: string;
|
|
383
|
+
badgeBackground: string;
|
|
384
|
+
typingIndicator: string;
|
|
385
|
+
focusRing: string;
|
|
386
|
+
/** Decorative presence colors (ADR-03-R11). */
|
|
387
|
+
presence?: TrinityAIPresenceColors;
|
|
388
|
+
/**
|
|
389
|
+
* The AIAvatar's brand gradient stops, top (`start`) to bottom (`end`), under white content
|
|
390
|
+
* (`onPrimaryFill`); `gradient.avatar` is built from them. Coral 800 to purple 700 in both
|
|
391
|
+
* modes (owner decision 2026-10-08). The dark `accent` and `primaryFill` (coral 400, purple
|
|
392
|
+
* 600) would leave the white icon at 2.5-2.9:1, so the avatar has its own pair. Optional, so a
|
|
393
|
+
* token set without it falls back to the defaults of the same mode.
|
|
394
|
+
*
|
|
395
|
+
* @since 2.13.0
|
|
396
|
+
*/
|
|
397
|
+
avatarFill?: {
|
|
398
|
+
start: string;
|
|
399
|
+
end: string;
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* The completed share of an AI progress graphic: the completed phase dots of AIChainOfThought's
|
|
403
|
+
* thought process and the fill of its insight confidence bar (owner mockups 2026-10-08). A
|
|
404
|
+
* graphic colour, 3:1 or more on the paper, the AI surface and the sunken surface of its mode
|
|
405
|
+
* (WCAG 1.4.11); never text. Optional, so a token set without it falls back to the default of
|
|
406
|
+
* the same mode.
|
|
407
|
+
*
|
|
408
|
+
* @since 2.13.0
|
|
409
|
+
*/
|
|
410
|
+
progress?: string;
|
|
411
|
+
/**
|
|
412
|
+
* The AI start screen's canvas wash (AIChatWelcome, owner concepts 2026-10-08): a very soft
|
|
413
|
+
* lavender (`start`) and pink (`end`) that `gradient.canvas` lays over the paper toward the
|
|
414
|
+
* bottom right. Decorative only: text on it keeps 4.5:1 (light purple 50 and coral 50;
|
|
415
|
+
* dark 16% purple 700 and 10% coral 800 over the paper). Optional, so a token set without it
|
|
416
|
+
* falls back to the defaults of the same mode.
|
|
417
|
+
*
|
|
418
|
+
* @since 2.13.0
|
|
419
|
+
*/
|
|
420
|
+
canvasFill?: {
|
|
421
|
+
start: string;
|
|
422
|
+
end: string;
|
|
423
|
+
};
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* Chart color roles (categorical, sequential, diverging, grid, axis).
|
|
427
|
+
*
|
|
428
|
+
* @since 2.13.0
|
|
429
|
+
*/
|
|
430
|
+
export interface TrinityChartColors {
|
|
431
|
+
categorical: Record<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8, string>;
|
|
432
|
+
sequential: Record<1 | 2 | 3 | 4 | 5 | 6, string>;
|
|
433
|
+
diverging: {
|
|
434
|
+
negative: string;
|
|
435
|
+
neutral: string;
|
|
436
|
+
positive: string;
|
|
437
|
+
};
|
|
438
|
+
grid: string;
|
|
439
|
+
axis: string;
|
|
269
440
|
}
|
|
270
441
|
export interface TrinityTypographyStyle {
|
|
271
442
|
fontSize: string;
|
|
@@ -312,6 +483,21 @@ export interface TrinityComponentSpacing {
|
|
|
312
483
|
gapMd: number;
|
|
313
484
|
gapLg: number;
|
|
314
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* Container widths in px for container queries on narrow hosts (E-19, ADR-11 §5): a panel
|
|
488
|
+
* 320px wide inside a desktop viewport. JavaScript-only, with no CSS custom property, because
|
|
489
|
+
* a custom property cannot be an `@container` operand (H-08); components read them through
|
|
490
|
+
* the internal container-query helpers.
|
|
491
|
+
* @since 2.13.0
|
|
492
|
+
*/
|
|
493
|
+
export interface TrinityContainerQuerySizes {
|
|
494
|
+
/** The narrowest supported container (320px): everything must work, nothing may scroll sideways. */
|
|
495
|
+
narrow: number;
|
|
496
|
+
/** Below this width (360px) footers and toolbars wrap or collapse. */
|
|
497
|
+
compact: number;
|
|
498
|
+
/** From this width (600px) a component may use its full desktop layout. */
|
|
499
|
+
regular: number;
|
|
500
|
+
}
|
|
315
501
|
export interface TrinityLayoutSpacing {
|
|
316
502
|
pagePadding: number;
|
|
317
503
|
sectionGap: number;
|
|
@@ -328,6 +514,12 @@ export interface TrinityLayoutSpacing {
|
|
|
328
514
|
gutter: number;
|
|
329
515
|
/** Content area padding (64px) */
|
|
330
516
|
contentPadding: number;
|
|
517
|
+
/**
|
|
518
|
+
* Container widths for container queries (E-19). JavaScript-only: no CSS variable.
|
|
519
|
+
* Optional, so token sets written before 2.13.0 still compile (E-32).
|
|
520
|
+
* @since 2.13.0
|
|
521
|
+
*/
|
|
522
|
+
containerQuery?: TrinityContainerQuerySizes;
|
|
331
523
|
}
|
|
332
524
|
export interface TrinitySemanticSpacing {
|
|
333
525
|
component: TrinityComponentSpacing;
|
|
@@ -363,15 +555,67 @@ export interface TrinitySemanticMotionDuration {
|
|
|
363
555
|
fast: string;
|
|
364
556
|
normal: string;
|
|
365
557
|
slow: string;
|
|
558
|
+
/**
|
|
559
|
+
* Long entrances and expansions (400ms), such as an AI panel or a reasoning step opening.
|
|
560
|
+
* @since 2.13.0
|
|
561
|
+
*/
|
|
562
|
+
slower?: string;
|
|
366
563
|
}
|
|
367
564
|
export interface TrinitySemanticMotionEasing {
|
|
368
565
|
default: string;
|
|
369
566
|
enter: string;
|
|
370
567
|
exit: string;
|
|
568
|
+
/**
|
|
569
|
+
* Emphasized entrance: a fast start that settles softly (`baseTokens.easing.expoOut`).
|
|
570
|
+
* @since 2.13.0
|
|
571
|
+
*/
|
|
572
|
+
emphasized?: string;
|
|
573
|
+
/**
|
|
574
|
+
* A slight overshoot for playful confirmations (`baseTokens.easing.bounce`). Not for
|
|
575
|
+
* content that must stay readable while it moves.
|
|
576
|
+
* @since 2.13.0
|
|
577
|
+
*/
|
|
578
|
+
overshoot?: string;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* Durations of one cycle of a looping animation. Loops stop under reduced motion with their
|
|
582
|
+
* state still visible (docs/TOKEN_USAGE_RULES.md, "Motion").
|
|
583
|
+
* @since 2.13.0
|
|
584
|
+
*/
|
|
585
|
+
export interface TrinitySemanticMotionLoop {
|
|
586
|
+
/** One turn of a spinner (800ms). */
|
|
587
|
+
spin: string;
|
|
588
|
+
/** One cycle of a typing or streaming indicator (1200ms). */
|
|
589
|
+
typing: string;
|
|
590
|
+
/** One sweep of a loading shimmer (1500ms). */
|
|
591
|
+
shimmer: string;
|
|
592
|
+
/** One cycle of a pulse or breathing indicator (2000ms). */
|
|
593
|
+
pulse: string;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Delays between the items of a staggered entrance.
|
|
597
|
+
* @since 2.13.0
|
|
598
|
+
*/
|
|
599
|
+
export interface TrinitySemanticMotionStagger {
|
|
600
|
+
/** Dense lists and chips (50ms). */
|
|
601
|
+
tight: string;
|
|
602
|
+
/** Cards and list rows (100ms). */
|
|
603
|
+
normal: string;
|
|
371
604
|
}
|
|
372
605
|
export interface TrinitySemanticMotion {
|
|
373
606
|
duration: TrinitySemanticMotionDuration;
|
|
374
607
|
easing: TrinitySemanticMotionEasing;
|
|
608
|
+
/**
|
|
609
|
+
* Looping animation cycles (E-13). Optional, so token sets written before 2.13.0 still
|
|
610
|
+
* compile (E-32).
|
|
611
|
+
* @since 2.13.0
|
|
612
|
+
*/
|
|
613
|
+
loop?: TrinitySemanticMotionLoop;
|
|
614
|
+
/**
|
|
615
|
+
* Staggered entrance delays (E-13). Optional, as `loop`.
|
|
616
|
+
* @since 2.13.0
|
|
617
|
+
*/
|
|
618
|
+
stagger?: TrinitySemanticMotionStagger;
|
|
375
619
|
}
|
|
376
620
|
/** Overlay effects for interaction states and backdrops */
|
|
377
621
|
export interface TrinityOverlayEffects {
|
|
@@ -615,9 +859,25 @@ export interface TrinityPadding {
|
|
|
615
859
|
export interface TrinityButtonColors {
|
|
616
860
|
background: string;
|
|
617
861
|
backgroundHover: string;
|
|
862
|
+
/** Optional for compatibility with consumer-authored token sets. */
|
|
863
|
+
backgroundActive?: string;
|
|
618
864
|
text: string;
|
|
619
865
|
border?: string;
|
|
620
866
|
textHover?: string;
|
|
867
|
+
/** Optional for compatibility with consumer-authored token sets. */
|
|
868
|
+
textActive?: string;
|
|
869
|
+
/** Border on hover, where it differs from the resting border. @since 2.13.0 */
|
|
870
|
+
borderHover?: string;
|
|
871
|
+
/** Border while pressed, where it differs from the resting border. @since 2.13.0 */
|
|
872
|
+
borderActive?: string;
|
|
873
|
+
/** Fill of a disabled or pending button, where the family has its own. @since 2.13.0 */
|
|
874
|
+
backgroundDisabled?: string;
|
|
875
|
+
/** Label of a disabled or pending button, where the family has its own. @since 2.13.0 */
|
|
876
|
+
textDisabled?: string;
|
|
877
|
+
/** Border of a disabled or pending button, where the family has its own. @since 2.13.0 */
|
|
878
|
+
borderDisabled?: string;
|
|
879
|
+
/** Keyboard focus outline colour, where the family has its own. @since 2.13.0 */
|
|
880
|
+
focusOutline?: string;
|
|
621
881
|
}
|
|
622
882
|
export interface TrinityButtonTokens {
|
|
623
883
|
height: TrinityComponentSize<number>;
|
|
@@ -627,6 +887,18 @@ export interface TrinityButtonTokens {
|
|
|
627
887
|
primary: TrinityButtonColors;
|
|
628
888
|
secondary: TrinityButtonColors;
|
|
629
889
|
outlined: TrinityButtonColors;
|
|
890
|
+
/**
|
|
891
|
+
* The filled button for navy brand surfaces (hero, header, sidebar): white fill, navy label,
|
|
892
|
+
* coral on hover. The same in light and dark mode, because the navy chrome does not change
|
|
893
|
+
* with the mode. React: `<Button variant="contained" color="onBrand">`. @since 2.13.0
|
|
894
|
+
*/
|
|
895
|
+
onBrand?: TrinityButtonColors;
|
|
896
|
+
/**
|
|
897
|
+
* The outlined button for navy brand surfaces: white border and label, coral on hover. The
|
|
898
|
+
* same in light and dark mode. React: `<Button variant="outlined" color="onBrand">`.
|
|
899
|
+
* @since 2.13.0
|
|
900
|
+
*/
|
|
901
|
+
onBrandOutlined?: TrinityButtonColors;
|
|
630
902
|
}
|
|
631
903
|
export interface TrinityInputBorderColors {
|
|
632
904
|
default: string;
|
|
@@ -714,6 +986,7 @@ export interface TrinityModalTokens {
|
|
|
714
986
|
padding: number;
|
|
715
987
|
borderRadius: number;
|
|
716
988
|
shadow: string;
|
|
989
|
+
background?: string;
|
|
717
990
|
backdropOpacity: number;
|
|
718
991
|
width: TrinityModalWidth;
|
|
719
992
|
}
|
|
@@ -724,6 +997,11 @@ export interface TrinitySwitchSize {
|
|
|
724
997
|
export interface TrinitySwitchTrack {
|
|
725
998
|
off: string;
|
|
726
999
|
on: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* The 2px track outline (light gray 300, dark gray 500). Optional so token sets written for
|
|
1002
|
+
* earlier versions stay valid; the theme falls back to the same grays. @since 2.13.0
|
|
1003
|
+
*/
|
|
1004
|
+
border?: string;
|
|
727
1005
|
}
|
|
728
1006
|
export interface TrinitySwitchTokens {
|
|
729
1007
|
width: TrinitySwitchSize;
|
|
@@ -788,16 +1066,46 @@ export interface TrinityDarkModeTextColors {
|
|
|
788
1066
|
secondary: string;
|
|
789
1067
|
tertiary: string;
|
|
790
1068
|
disabled: string;
|
|
1069
|
+
/** Text on a light inverse surface while the surrounding application is dark. */
|
|
1070
|
+
inverse?: string;
|
|
1071
|
+
brand?: string;
|
|
1072
|
+
link?: string;
|
|
1073
|
+
linkHover?: string;
|
|
1074
|
+
error?: string;
|
|
1075
|
+
success?: string;
|
|
1076
|
+
warning?: string;
|
|
791
1077
|
}
|
|
792
1078
|
export interface TrinityDarkModeBackgroundColors {
|
|
793
1079
|
primary: string;
|
|
794
1080
|
secondary: string;
|
|
795
1081
|
tertiary: string;
|
|
1082
|
+
inverse?: string;
|
|
1083
|
+
brandSubtle?: string;
|
|
1084
|
+
accentSubtle?: string;
|
|
796
1085
|
}
|
|
797
1086
|
export interface TrinityDarkModeBorderColors {
|
|
798
1087
|
default: string;
|
|
799
1088
|
subtle: string;
|
|
800
1089
|
strong: string;
|
|
1090
|
+
focus?: string;
|
|
1091
|
+
error?: string;
|
|
1092
|
+
success?: string;
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Dark-mode surface colors (elevated, sunken, overlay and status surfaces).
|
|
1096
|
+
*
|
|
1097
|
+
* @since 2.13.0
|
|
1098
|
+
*/
|
|
1099
|
+
export interface TrinityDarkModeSurfaceColors {
|
|
1100
|
+
elevated: string;
|
|
1101
|
+
sunken: string;
|
|
1102
|
+
/** A neutral fill under an icon (ADR-03-R9). @since 2.13.0 */
|
|
1103
|
+
neutralFill?: string;
|
|
1104
|
+
overlay: string;
|
|
1105
|
+
success: string;
|
|
1106
|
+
error: string;
|
|
1107
|
+
warning: string;
|
|
1108
|
+
info: string;
|
|
801
1109
|
}
|
|
802
1110
|
export interface TrinityDarkModeColors {
|
|
803
1111
|
text: TrinityDarkModeTextColors;
|
|
@@ -816,9 +1124,128 @@ export interface TrinityDarkModeColors {
|
|
|
816
1124
|
success: TrinityStatusColors;
|
|
817
1125
|
info: TrinityStatusColors;
|
|
818
1126
|
};
|
|
1127
|
+
/**
|
|
1128
|
+
* Dark content colors on a solid status fill (ADR-03-R7). Optional, so a token set written
|
|
1129
|
+
* before 2.13.0 still compiles.
|
|
1130
|
+
*
|
|
1131
|
+
* @since 2.13.0
|
|
1132
|
+
*/
|
|
1133
|
+
onStatus?: TrinityOnStatusColors;
|
|
1134
|
+
/**
|
|
1135
|
+
* The dark favorite role (ADR-03-R10): references the dark `status.warning.text` (#FDE68A).
|
|
1136
|
+
* Optional, so a token set written before 2.13.0 still compiles.
|
|
1137
|
+
*
|
|
1138
|
+
* @since 2.13.0
|
|
1139
|
+
*/
|
|
1140
|
+
favorite?: string;
|
|
1141
|
+
indicator?: {
|
|
1142
|
+
inProgress?: Partial<{
|
|
1143
|
+
fg: string;
|
|
1144
|
+
bg: string;
|
|
1145
|
+
outline: string;
|
|
1146
|
+
}>;
|
|
1147
|
+
running?: Partial<{
|
|
1148
|
+
fg: string;
|
|
1149
|
+
bg: string;
|
|
1150
|
+
outline: string;
|
|
1151
|
+
}>;
|
|
1152
|
+
/** @since 2.13.0 The dark info-family fill (ADR-03-R8). */
|
|
1153
|
+
info?: Partial<{
|
|
1154
|
+
fg: string;
|
|
1155
|
+
bg: string;
|
|
1156
|
+
outline: string;
|
|
1157
|
+
}>;
|
|
1158
|
+
/** @since 2.13.0 */
|
|
1159
|
+
new?: Partial<{
|
|
1160
|
+
fg: string;
|
|
1161
|
+
bg: string;
|
|
1162
|
+
outline: string;
|
|
1163
|
+
}>;
|
|
1164
|
+
/** @since 2.13.0 */
|
|
1165
|
+
updated?: Partial<{
|
|
1166
|
+
fg: string;
|
|
1167
|
+
bg: string;
|
|
1168
|
+
outline: string;
|
|
1169
|
+
}>;
|
|
1170
|
+
};
|
|
1171
|
+
chart?: Pick<TrinityChartColors, 'grid' | 'axis'>;
|
|
1172
|
+
/**
|
|
1173
|
+
* Dark AI color roles (ADR-03-R15). Optional, so a token set written before 2.13.0 still
|
|
1174
|
+
* compiles.
|
|
1175
|
+
*
|
|
1176
|
+
* @since 2.13.0
|
|
1177
|
+
*/
|
|
1178
|
+
ai?: TrinityAIColors;
|
|
1179
|
+
surface?: TrinityDarkModeSurfaceColors;
|
|
1180
|
+
/**
|
|
1181
|
+
* The avatar text pairs in dark mode (ADR-03-R9): the same as light, because the avatar fills
|
|
1182
|
+
* do not change with the mode. @since 2.13.0
|
|
1183
|
+
*/
|
|
1184
|
+
avatar?: {
|
|
1185
|
+
foregrounds?: readonly string[];
|
|
1186
|
+
};
|
|
1187
|
+
focus?: {
|
|
1188
|
+
ring: string;
|
|
1189
|
+
ringOffset: string;
|
|
1190
|
+
};
|
|
1191
|
+
selection?: {
|
|
1192
|
+
background: string;
|
|
1193
|
+
text: string;
|
|
1194
|
+
};
|
|
1195
|
+
switch?: {
|
|
1196
|
+
track: Partial<{
|
|
1197
|
+
off: string;
|
|
1198
|
+
on: string;
|
|
1199
|
+
border: string;
|
|
1200
|
+
}>;
|
|
1201
|
+
};
|
|
1202
|
+
button?: {
|
|
1203
|
+
primary?: Partial<{
|
|
1204
|
+
background: string;
|
|
1205
|
+
}>;
|
|
1206
|
+
secondary?: Partial<{
|
|
1207
|
+
background: string;
|
|
1208
|
+
}>;
|
|
1209
|
+
outlined?: Partial<{
|
|
1210
|
+
border: string;
|
|
1211
|
+
text: string;
|
|
1212
|
+
}>;
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Dark-mode shadow tokens: the shadow scale, semantic shadows and glows.
|
|
1217
|
+
*
|
|
1218
|
+
* @since 2.13.0
|
|
1219
|
+
*/
|
|
1220
|
+
export interface TrinityDarkModeShadowTokens {
|
|
1221
|
+
scale: TrinityShadows;
|
|
1222
|
+
semantic: TrinitySemanticShadows;
|
|
1223
|
+
glow: {
|
|
1224
|
+
primary: string;
|
|
1225
|
+
accent: string;
|
|
1226
|
+
info: string;
|
|
1227
|
+
};
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* Dark-mode effect tokens: overlays, shadow effects, the focus ring and glow, and state layers.
|
|
1231
|
+
*
|
|
1232
|
+
* `focus.ring` is a box-shadow, like the light `semantic.effects.focus.ring`: the static
|
|
1233
|
+
* stylesheet declares both as `--trinity-focus-ring`, which consumers write into `box-shadow`.
|
|
1234
|
+
*
|
|
1235
|
+
* @since 2.13.0
|
|
1236
|
+
*/
|
|
1237
|
+
export interface TrinityDarkModeEffectTokens {
|
|
1238
|
+
overlay: TrinityOverlayEffects;
|
|
1239
|
+
shadow: TrinityShadowEffects;
|
|
1240
|
+
focus: Pick<TrinityFocusEffects, 'ring' | 'glow'>;
|
|
1241
|
+
state: TrinityStateEffects;
|
|
819
1242
|
}
|
|
820
1243
|
export interface TrinityDarkModeTokens {
|
|
821
1244
|
colors: TrinityDarkModeColors;
|
|
1245
|
+
/** Optional so consumer-authored legacy token sets remain source-compatible. */
|
|
1246
|
+
shadows?: TrinityDarkModeShadowTokens;
|
|
1247
|
+
/** Optional so consumer-authored legacy token sets remain source-compatible. */
|
|
1248
|
+
effects?: TrinityDarkModeEffectTokens;
|
|
822
1249
|
}
|
|
823
1250
|
export interface TrinityTokens {
|
|
824
1251
|
base: TrinityBaseTokens;
|
|
@@ -1042,6 +1469,7 @@ export declare const baseTokens: {
|
|
|
1042
1469
|
smooth: string;
|
|
1043
1470
|
bounce: string;
|
|
1044
1471
|
elastic: string;
|
|
1472
|
+
expoOut: string;
|
|
1045
1473
|
};
|
|
1046
1474
|
opacity: {
|
|
1047
1475
|
0: number;
|
|
@@ -1102,6 +1530,7 @@ export declare const semanticTokens: {
|
|
|
1102
1530
|
surface: {
|
|
1103
1531
|
elevated: string;
|
|
1104
1532
|
sunken: string;
|
|
1533
|
+
neutralFill: string;
|
|
1105
1534
|
overlay: string;
|
|
1106
1535
|
success: string;
|
|
1107
1536
|
error: string;
|
|
@@ -1153,6 +1582,13 @@ export declare const semanticTokens: {
|
|
|
1153
1582
|
border: string;
|
|
1154
1583
|
};
|
|
1155
1584
|
};
|
|
1585
|
+
onStatus: {
|
|
1586
|
+
error: string;
|
|
1587
|
+
warning: string;
|
|
1588
|
+
success: string;
|
|
1589
|
+
info: string;
|
|
1590
|
+
};
|
|
1591
|
+
favorite: string;
|
|
1156
1592
|
/**
|
|
1157
1593
|
* Status Indicator Colors
|
|
1158
1594
|
* Semantic colors for StatusIndicator components (dots, badges, chips)
|
|
@@ -1264,8 +1700,91 @@ export declare const semanticTokens: {
|
|
|
1264
1700
|
bg: string;
|
|
1265
1701
|
};
|
|
1266
1702
|
};
|
|
1703
|
+
chart: {
|
|
1704
|
+
categorical: {
|
|
1705
|
+
1: string;
|
|
1706
|
+
2: string;
|
|
1707
|
+
3: string;
|
|
1708
|
+
4: string;
|
|
1709
|
+
5: string;
|
|
1710
|
+
6: string;
|
|
1711
|
+
7: string;
|
|
1712
|
+
8: string;
|
|
1713
|
+
};
|
|
1714
|
+
sequential: {
|
|
1715
|
+
1: string;
|
|
1716
|
+
2: string;
|
|
1717
|
+
3: string;
|
|
1718
|
+
4: string;
|
|
1719
|
+
5: string;
|
|
1720
|
+
6: string;
|
|
1721
|
+
};
|
|
1722
|
+
diverging: {
|
|
1723
|
+
negative: string;
|
|
1724
|
+
neutral: string;
|
|
1725
|
+
positive: string;
|
|
1726
|
+
};
|
|
1727
|
+
grid: string;
|
|
1728
|
+
axis: string;
|
|
1729
|
+
};
|
|
1730
|
+
ai: {
|
|
1731
|
+
primary: string;
|
|
1732
|
+
primaryFill: string;
|
|
1733
|
+
onPrimaryFill: string;
|
|
1734
|
+
accent: string;
|
|
1735
|
+
surface: string;
|
|
1736
|
+
surfaceHover: string;
|
|
1737
|
+
surfaceEmphasis: string;
|
|
1738
|
+
surfaceEmphasisHover: string;
|
|
1739
|
+
border: string;
|
|
1740
|
+
badgeBackground: string;
|
|
1741
|
+
typingIndicator: string;
|
|
1742
|
+
focusRing: string;
|
|
1743
|
+
presence: {
|
|
1744
|
+
blue: string;
|
|
1745
|
+
violet: string;
|
|
1746
|
+
purple: string;
|
|
1747
|
+
coral: string;
|
|
1748
|
+
base: string;
|
|
1749
|
+
};
|
|
1750
|
+
avatarFill: {
|
|
1751
|
+
start: string;
|
|
1752
|
+
end: string;
|
|
1753
|
+
};
|
|
1754
|
+
progress: string;
|
|
1755
|
+
canvasFill: {
|
|
1756
|
+
start: string;
|
|
1757
|
+
end: string;
|
|
1758
|
+
};
|
|
1759
|
+
};
|
|
1267
1760
|
avatar: {
|
|
1761
|
+
/**
|
|
1762
|
+
* Solid avatar fills. Not every entry carries white text: render the initials or icon in
|
|
1763
|
+
* the aligned `foregrounds` entry (ADR-03-R9, E-49+). Measured with WCAG relative luminance,
|
|
1764
|
+
* the same in light and dark mode:
|
|
1765
|
+
*
|
|
1766
|
+
* | # | Fill | White | gray[900] | Text |
|
|
1767
|
+
* |---|---|---|---|---|
|
|
1768
|
+
* | 0 | indigo[600] #5F33EB | 6.64:1 | 2.99:1 | white |
|
|
1769
|
+
* | 1 | purple[600] #8D49CE | 5.28:1 | 3.76:1 | white |
|
|
1770
|
+
* | 2 | coral[600] #FF7167 | 2.68:1 | 7.39:1 | gray[900] |
|
|
1771
|
+
* | 3 | azure[600] #239DDD | 3.02:1 | 6.57:1 | gray[900] |
|
|
1772
|
+
* | 4 | navy[700] #30316E | 11.73:1 | 1.69:1 | white |
|
|
1773
|
+
* | 5 | indigo[500] #6739ED | 6.20:1 | 3.20:1 | white |
|
|
1774
|
+
* | 6 | purple[500] #9950D3 | 4.72:1 | 4.20:1 | white |
|
|
1775
|
+
* | 7 | coral[500] #FF796F | 2.55:1 | 7.78:1 | gray[900] |
|
|
1776
|
+
*
|
|
1777
|
+
* The values are unchanged (a token value change is major). A later value change for the
|
|
1778
|
+
* three light fills is a v3.0 candidate.
|
|
1779
|
+
*/
|
|
1268
1780
|
backgrounds: string[];
|
|
1781
|
+
/**
|
|
1782
|
+
* The text or icon colour for each `backgrounds` entry, index for index (ADR-03-R9): every
|
|
1783
|
+
* pair is 4.72:1 or more. Pick a pair by one index, never a background alone.
|
|
1784
|
+
*
|
|
1785
|
+
* @since 2.13.0
|
|
1786
|
+
*/
|
|
1787
|
+
foregrounds: readonly string[];
|
|
1269
1788
|
online: string;
|
|
1270
1789
|
offline: string;
|
|
1271
1790
|
busy: string;
|
|
@@ -1428,6 +1947,11 @@ export declare const semanticTokens: {
|
|
|
1428
1947
|
aiPanelWidth: number;
|
|
1429
1948
|
gutter: number;
|
|
1430
1949
|
contentPadding: number;
|
|
1950
|
+
containerQuery: {
|
|
1951
|
+
narrow: number;
|
|
1952
|
+
compact: number;
|
|
1953
|
+
regular: number;
|
|
1954
|
+
};
|
|
1431
1955
|
};
|
|
1432
1956
|
};
|
|
1433
1957
|
borders: {
|
|
@@ -1513,11 +2037,24 @@ export declare const semanticTokens: {
|
|
|
1513
2037
|
fast: string;
|
|
1514
2038
|
normal: string;
|
|
1515
2039
|
slow: string;
|
|
2040
|
+
slower: string;
|
|
1516
2041
|
};
|
|
1517
2042
|
easing: {
|
|
1518
2043
|
default: string;
|
|
1519
2044
|
enter: string;
|
|
1520
2045
|
exit: string;
|
|
2046
|
+
emphasized: string;
|
|
2047
|
+
overshoot: string;
|
|
2048
|
+
};
|
|
2049
|
+
loop: {
|
|
2050
|
+
spin: string;
|
|
2051
|
+
typing: string;
|
|
2052
|
+
shimmer: string;
|
|
2053
|
+
pulse: string;
|
|
2054
|
+
};
|
|
2055
|
+
stagger: {
|
|
2056
|
+
tight: string;
|
|
2057
|
+
normal: string;
|
|
1521
2058
|
};
|
|
1522
2059
|
};
|
|
1523
2060
|
effects: {
|
|
@@ -1685,11 +2222,13 @@ export declare const semanticTokens: {
|
|
|
1685
2222
|
};
|
|
1686
2223
|
};
|
|
1687
2224
|
/**
|
|
1688
|
-
* Canonical brand colors derived from baseTokens.
|
|
2225
|
+
* Canonical brand colors derived from baseTokens: the single source of brand constants.
|
|
1689
2226
|
*
|
|
1690
|
-
*
|
|
1691
|
-
*
|
|
1692
|
-
* to `import { brandColors } from '../tokens'`.
|
|
2227
|
+
* theme.ts exports a view of this object with the legacy shape (the package root and
|
|
2228
|
+
* essentials export that view), so both always hold the same values. Components should
|
|
2229
|
+
* migrate from `import { brandColors } from '../theme'` to `import { brandColors } from '../tokens'`.
|
|
2230
|
+
* These are read-only constants: to rebrand, pass token overrides to createTrinityTheme or
|
|
2231
|
+
* createTrinityThemePreset.
|
|
1693
2232
|
*
|
|
1694
2233
|
* MAPPING TABLE:
|
|
1695
2234
|
* ┌─────────────────────────┬───────────┬──────────────────────────────┐
|
|
@@ -1713,6 +2252,9 @@ export declare const semanticTokens: {
|
|
|
1713
2252
|
*
|
|
1714
2253
|
* NOTE: neutral.gray100 naming is misleading - it's actually gray[200] (#E5E7EB).
|
|
1715
2254
|
* This is preserved for backwards compatibility with theme.ts.
|
|
2255
|
+
*
|
|
2256
|
+
* neutral.darkBg and neutral.darkPaper are deprecated: they are not the dark theme's surfaces
|
|
2257
|
+
* (darkModeTokens.colors.background.primary and .secondary are).
|
|
1716
2258
|
*/
|
|
1717
2259
|
export declare const brandColors: {
|
|
1718
2260
|
readonly primary: {
|
|
@@ -1738,7 +2280,15 @@ export declare const brandColors: {
|
|
|
1738
2280
|
readonly gray700: string;
|
|
1739
2281
|
readonly gray800: string;
|
|
1740
2282
|
readonly gray900: string;
|
|
2283
|
+
/**
|
|
2284
|
+
* @deprecated Not the dark theme's page colour. Use `theme.palette.background.default`
|
|
2285
|
+
* (or `palette.trinity.surface`). Removed in v3.0.
|
|
2286
|
+
*/
|
|
1741
2287
|
readonly darkBg: string;
|
|
2288
|
+
/**
|
|
2289
|
+
* @deprecated Not the dark theme's paper colour. Use `theme.palette.background.paper`
|
|
2290
|
+
* (or `palette.trinity.surface.elevated`). Removed in v3.0.
|
|
2291
|
+
*/
|
|
1742
2292
|
readonly darkPaper: string;
|
|
1743
2293
|
};
|
|
1744
2294
|
};
|
|
@@ -1776,19 +2326,53 @@ export declare const componentTokens: {
|
|
|
1776
2326
|
primary: {
|
|
1777
2327
|
background: string;
|
|
1778
2328
|
backgroundHover: string;
|
|
2329
|
+
backgroundActive: string;
|
|
1779
2330
|
text: string;
|
|
2331
|
+
textHover: string;
|
|
2332
|
+
textActive: string;
|
|
1780
2333
|
};
|
|
1781
2334
|
secondary: {
|
|
1782
2335
|
background: string;
|
|
1783
2336
|
backgroundHover: string;
|
|
2337
|
+
backgroundActive: string;
|
|
1784
2338
|
text: string;
|
|
2339
|
+
textHover: string;
|
|
2340
|
+
textActive: string;
|
|
1785
2341
|
};
|
|
1786
2342
|
outlined: {
|
|
1787
2343
|
background: string;
|
|
1788
2344
|
backgroundHover: string;
|
|
2345
|
+
backgroundActive: string;
|
|
2346
|
+
border: string;
|
|
2347
|
+
text: string;
|
|
2348
|
+
textHover: string;
|
|
2349
|
+
textActive: string;
|
|
2350
|
+
};
|
|
2351
|
+
onBrand: {
|
|
2352
|
+
background: string;
|
|
2353
|
+
backgroundHover: string;
|
|
2354
|
+
backgroundActive: string;
|
|
2355
|
+
text: string;
|
|
2356
|
+
textHover: string;
|
|
2357
|
+
textActive: string;
|
|
2358
|
+
backgroundDisabled: string;
|
|
2359
|
+
textDisabled: string;
|
|
2360
|
+
focusOutline: string;
|
|
2361
|
+
};
|
|
2362
|
+
onBrandOutlined: {
|
|
2363
|
+
background: string;
|
|
2364
|
+
backgroundHover: string;
|
|
2365
|
+
backgroundActive: string;
|
|
1789
2366
|
border: string;
|
|
2367
|
+
borderHover: string;
|
|
2368
|
+
borderActive: string;
|
|
1790
2369
|
text: string;
|
|
1791
2370
|
textHover: string;
|
|
2371
|
+
textActive: string;
|
|
2372
|
+
backgroundDisabled: string;
|
|
2373
|
+
textDisabled: string;
|
|
2374
|
+
borderDisabled: string;
|
|
2375
|
+
focusOutline: string;
|
|
1792
2376
|
};
|
|
1793
2377
|
};
|
|
1794
2378
|
input: {
|
|
@@ -1902,6 +2486,7 @@ export declare const componentTokens: {
|
|
|
1902
2486
|
padding: number;
|
|
1903
2487
|
borderRadius: number;
|
|
1904
2488
|
shadow: string;
|
|
2489
|
+
background: string;
|
|
1905
2490
|
backdropOpacity: number;
|
|
1906
2491
|
width: {
|
|
1907
2492
|
small: number;
|
|
@@ -1926,6 +2511,7 @@ export declare const componentTokens: {
|
|
|
1926
2511
|
track: {
|
|
1927
2512
|
off: string;
|
|
1928
2513
|
on: string;
|
|
2514
|
+
border: string;
|
|
1929
2515
|
};
|
|
1930
2516
|
};
|
|
1931
2517
|
navigation: {
|
|
@@ -2276,6 +2862,13 @@ export declare const scaleHierarchy: {
|
|
|
2276
2862
|
readonly minimum: 44;
|
|
2277
2863
|
readonly comfortable: 48;
|
|
2278
2864
|
readonly spacious: 56;
|
|
2865
|
+
/**
|
|
2866
|
+
* The program-wide floor for every pointer target: 24 by 24 CSS pixels, WCAG 2.2 SC 2.5.8
|
|
2867
|
+
* Target Size (Minimum, AA), ratified by DN-12 (2026-10-05). Compact controls reach it
|
|
2868
|
+
* through the shared hit-area recipe (C-40+), which grows the hit area to this size
|
|
2869
|
+
* without changing the visual size. CSS: `--trinity-touch-target-floor`.
|
|
2870
|
+
*/
|
|
2871
|
+
readonly floor: 24;
|
|
2279
2872
|
};
|
|
2280
2873
|
};
|
|
2281
2874
|
/**
|
|
@@ -2380,7 +2973,7 @@ export declare const spacingHierarchy: {
|
|
|
2380
2973
|
*/
|
|
2381
2974
|
/** Get elevation styles for a given level */
|
|
2382
2975
|
export declare function getElevation(level: keyof typeof elevationHierarchy): {
|
|
2383
|
-
zIndex: 0 |
|
|
2976
|
+
zIndex: 0 | 1 | 1000 | 10 | 1020 | 1040 | 1050 | 1060 | 1070;
|
|
2384
2977
|
boxShadow: "none" | "0 1px 2px 0 rgb(0 0 0 / 0.05)" | "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)" | "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)" | "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)" | "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
|
|
2385
2978
|
};
|
|
2386
2979
|
/** Get typography styles for a given hierarchy */
|
|
@@ -2391,19 +2984,26 @@ export declare function getAttentionColor(level: keyof typeof attentionHierarchy
|
|
|
2391
2984
|
export declare function getHierarchySpacing(category: 'micro' | 'component' | 'section' | 'layout', size: number): number;
|
|
2392
2985
|
export declare const darkModeTokens: TrinityDarkModeTokens;
|
|
2393
2986
|
export declare const darkModeShadows: {
|
|
2394
|
-
|
|
2395
|
-
sm: string;
|
|
2396
|
-
base: string;
|
|
2397
|
-
md: string;
|
|
2398
|
-
lg: string;
|
|
2399
|
-
xl: string;
|
|
2400
|
-
'2xl': string;
|
|
2401
|
-
glow: {
|
|
2987
|
+
readonly glow: {
|
|
2402
2988
|
primary: string;
|
|
2403
2989
|
accent: string;
|
|
2404
2990
|
info: string;
|
|
2405
2991
|
};
|
|
2992
|
+
readonly none: string;
|
|
2993
|
+
readonly sm: string;
|
|
2994
|
+
readonly base: string;
|
|
2995
|
+
readonly md: string;
|
|
2996
|
+
readonly lg: string;
|
|
2997
|
+
readonly xl: string;
|
|
2998
|
+
readonly '2xl': string;
|
|
2999
|
+
readonly inner: string;
|
|
2406
3000
|
};
|
|
3001
|
+
/**
|
|
3002
|
+
* Dark-mode effect tokens (overlays, shadows, focus glow, state layers).
|
|
3003
|
+
*
|
|
3004
|
+
* @since 2.13.0
|
|
3005
|
+
*/
|
|
3006
|
+
export declare const darkModeEffects: TrinityDarkModeEffectTokens;
|
|
2407
3007
|
export interface BrandVariant {
|
|
2408
3008
|
name: string;
|
|
2409
3009
|
primary: {
|
|
@@ -2464,6 +3064,7 @@ export declare function getBrandSemanticTokens(variant: keyof typeof brandVarian
|
|
|
2464
3064
|
surface: {
|
|
2465
3065
|
elevated: string;
|
|
2466
3066
|
sunken: string;
|
|
3067
|
+
neutralFill: string;
|
|
2467
3068
|
overlay: string;
|
|
2468
3069
|
success: string;
|
|
2469
3070
|
error: string;
|
|
@@ -2515,6 +3116,13 @@ export declare function getBrandSemanticTokens(variant: keyof typeof brandVarian
|
|
|
2515
3116
|
border: string;
|
|
2516
3117
|
};
|
|
2517
3118
|
};
|
|
3119
|
+
onStatus: {
|
|
3120
|
+
error: string;
|
|
3121
|
+
warning: string;
|
|
3122
|
+
success: string;
|
|
3123
|
+
info: string;
|
|
3124
|
+
};
|
|
3125
|
+
favorite: string;
|
|
2518
3126
|
/**
|
|
2519
3127
|
* Status Indicator Colors
|
|
2520
3128
|
* Semantic colors for StatusIndicator components (dots, badges, chips)
|
|
@@ -2626,8 +3234,91 @@ export declare function getBrandSemanticTokens(variant: keyof typeof brandVarian
|
|
|
2626
3234
|
bg: string;
|
|
2627
3235
|
};
|
|
2628
3236
|
};
|
|
3237
|
+
chart: {
|
|
3238
|
+
categorical: {
|
|
3239
|
+
1: string;
|
|
3240
|
+
2: string;
|
|
3241
|
+
3: string;
|
|
3242
|
+
4: string;
|
|
3243
|
+
5: string;
|
|
3244
|
+
6: string;
|
|
3245
|
+
7: string;
|
|
3246
|
+
8: string;
|
|
3247
|
+
};
|
|
3248
|
+
sequential: {
|
|
3249
|
+
1: string;
|
|
3250
|
+
2: string;
|
|
3251
|
+
3: string;
|
|
3252
|
+
4: string;
|
|
3253
|
+
5: string;
|
|
3254
|
+
6: string;
|
|
3255
|
+
};
|
|
3256
|
+
diverging: {
|
|
3257
|
+
negative: string;
|
|
3258
|
+
neutral: string;
|
|
3259
|
+
positive: string;
|
|
3260
|
+
};
|
|
3261
|
+
grid: string;
|
|
3262
|
+
axis: string;
|
|
3263
|
+
};
|
|
3264
|
+
ai: {
|
|
3265
|
+
primary: string;
|
|
3266
|
+
primaryFill: string;
|
|
3267
|
+
onPrimaryFill: string;
|
|
3268
|
+
accent: string;
|
|
3269
|
+
surface: string;
|
|
3270
|
+
surfaceHover: string;
|
|
3271
|
+
surfaceEmphasis: string;
|
|
3272
|
+
surfaceEmphasisHover: string;
|
|
3273
|
+
border: string;
|
|
3274
|
+
badgeBackground: string;
|
|
3275
|
+
typingIndicator: string;
|
|
3276
|
+
focusRing: string;
|
|
3277
|
+
presence: {
|
|
3278
|
+
blue: string;
|
|
3279
|
+
violet: string;
|
|
3280
|
+
purple: string;
|
|
3281
|
+
coral: string;
|
|
3282
|
+
base: string;
|
|
3283
|
+
};
|
|
3284
|
+
avatarFill: {
|
|
3285
|
+
start: string;
|
|
3286
|
+
end: string;
|
|
3287
|
+
};
|
|
3288
|
+
progress: string;
|
|
3289
|
+
canvasFill: {
|
|
3290
|
+
start: string;
|
|
3291
|
+
end: string;
|
|
3292
|
+
};
|
|
3293
|
+
};
|
|
2629
3294
|
avatar: {
|
|
3295
|
+
/**
|
|
3296
|
+
* Solid avatar fills. Not every entry carries white text: render the initials or icon in
|
|
3297
|
+
* the aligned `foregrounds` entry (ADR-03-R9, E-49+). Measured with WCAG relative luminance,
|
|
3298
|
+
* the same in light and dark mode:
|
|
3299
|
+
*
|
|
3300
|
+
* | # | Fill | White | gray[900] | Text |
|
|
3301
|
+
* |---|---|---|---|---|
|
|
3302
|
+
* | 0 | indigo[600] #5F33EB | 6.64:1 | 2.99:1 | white |
|
|
3303
|
+
* | 1 | purple[600] #8D49CE | 5.28:1 | 3.76:1 | white |
|
|
3304
|
+
* | 2 | coral[600] #FF7167 | 2.68:1 | 7.39:1 | gray[900] |
|
|
3305
|
+
* | 3 | azure[600] #239DDD | 3.02:1 | 6.57:1 | gray[900] |
|
|
3306
|
+
* | 4 | navy[700] #30316E | 11.73:1 | 1.69:1 | white |
|
|
3307
|
+
* | 5 | indigo[500] #6739ED | 6.20:1 | 3.20:1 | white |
|
|
3308
|
+
* | 6 | purple[500] #9950D3 | 4.72:1 | 4.20:1 | white |
|
|
3309
|
+
* | 7 | coral[500] #FF796F | 2.55:1 | 7.78:1 | gray[900] |
|
|
3310
|
+
*
|
|
3311
|
+
* The values are unchanged (a token value change is major). A later value change for the
|
|
3312
|
+
* three light fills is a v3.0 candidate.
|
|
3313
|
+
*/
|
|
2630
3314
|
backgrounds: string[];
|
|
3315
|
+
/**
|
|
3316
|
+
* The text or icon colour for each `backgrounds` entry, index for index (ADR-03-R9): every
|
|
3317
|
+
* pair is 4.72:1 or more. Pick a pair by one index, never a background alone.
|
|
3318
|
+
*
|
|
3319
|
+
* @since 2.13.0
|
|
3320
|
+
*/
|
|
3321
|
+
foregrounds: readonly string[];
|
|
2631
3322
|
online: string;
|
|
2632
3323
|
offline: string;
|
|
2633
3324
|
busy: string;
|
|
@@ -2790,6 +3481,11 @@ export declare function getBrandSemanticTokens(variant: keyof typeof brandVarian
|
|
|
2790
3481
|
aiPanelWidth: number;
|
|
2791
3482
|
gutter: number;
|
|
2792
3483
|
contentPadding: number;
|
|
3484
|
+
containerQuery: {
|
|
3485
|
+
narrow: number;
|
|
3486
|
+
compact: number;
|
|
3487
|
+
regular: number;
|
|
3488
|
+
};
|
|
2793
3489
|
};
|
|
2794
3490
|
};
|
|
2795
3491
|
borders: {
|
|
@@ -2875,11 +3571,24 @@ export declare function getBrandSemanticTokens(variant: keyof typeof brandVarian
|
|
|
2875
3571
|
fast: string;
|
|
2876
3572
|
normal: string;
|
|
2877
3573
|
slow: string;
|
|
3574
|
+
slower: string;
|
|
2878
3575
|
};
|
|
2879
3576
|
easing: {
|
|
2880
3577
|
default: string;
|
|
2881
3578
|
enter: string;
|
|
2882
3579
|
exit: string;
|
|
3580
|
+
emphasized: string;
|
|
3581
|
+
overshoot: string;
|
|
3582
|
+
};
|
|
3583
|
+
loop: {
|
|
3584
|
+
spin: string;
|
|
3585
|
+
typing: string;
|
|
3586
|
+
shimmer: string;
|
|
3587
|
+
pulse: string;
|
|
3588
|
+
};
|
|
3589
|
+
stagger: {
|
|
3590
|
+
tight: string;
|
|
3591
|
+
normal: string;
|
|
2883
3592
|
};
|
|
2884
3593
|
};
|
|
2885
3594
|
effects: {
|
|
@@ -3308,6 +4017,13 @@ export declare const hierarchy: {
|
|
|
3308
4017
|
readonly minimum: 44;
|
|
3309
4018
|
readonly comfortable: 48;
|
|
3310
4019
|
readonly spacious: 56;
|
|
4020
|
+
/**
|
|
4021
|
+
* The program-wide floor for every pointer target: 24 by 24 CSS pixels, WCAG 2.2 SC 2.5.8
|
|
4022
|
+
* Target Size (Minimum, AA), ratified by DN-12 (2026-10-05). Compact controls reach it
|
|
4023
|
+
* through the shared hit-area recipe (C-40+), which grows the hit area to this size
|
|
4024
|
+
* without changing the visual size. CSS: `--trinity-touch-target-floor`.
|
|
4025
|
+
*/
|
|
4026
|
+
readonly floor: 24;
|
|
3311
4027
|
};
|
|
3312
4028
|
};
|
|
3313
4029
|
/** Contrast levels */
|
|
@@ -3616,6 +4332,7 @@ export declare const tokens: {
|
|
|
3616
4332
|
smooth: string;
|
|
3617
4333
|
bounce: string;
|
|
3618
4334
|
elastic: string;
|
|
4335
|
+
expoOut: string;
|
|
3619
4336
|
};
|
|
3620
4337
|
opacity: {
|
|
3621
4338
|
0: number;
|
|
@@ -3676,6 +4393,7 @@ export declare const tokens: {
|
|
|
3676
4393
|
surface: {
|
|
3677
4394
|
elevated: string;
|
|
3678
4395
|
sunken: string;
|
|
4396
|
+
neutralFill: string;
|
|
3679
4397
|
overlay: string;
|
|
3680
4398
|
success: string;
|
|
3681
4399
|
error: string;
|
|
@@ -3727,6 +4445,13 @@ export declare const tokens: {
|
|
|
3727
4445
|
border: string;
|
|
3728
4446
|
};
|
|
3729
4447
|
};
|
|
4448
|
+
onStatus: {
|
|
4449
|
+
error: string;
|
|
4450
|
+
warning: string;
|
|
4451
|
+
success: string;
|
|
4452
|
+
info: string;
|
|
4453
|
+
};
|
|
4454
|
+
favorite: string;
|
|
3730
4455
|
/**
|
|
3731
4456
|
* Status Indicator Colors
|
|
3732
4457
|
* Semantic colors for StatusIndicator components (dots, badges, chips)
|
|
@@ -3838,8 +4563,91 @@ export declare const tokens: {
|
|
|
3838
4563
|
bg: string;
|
|
3839
4564
|
};
|
|
3840
4565
|
};
|
|
4566
|
+
chart: {
|
|
4567
|
+
categorical: {
|
|
4568
|
+
1: string;
|
|
4569
|
+
2: string;
|
|
4570
|
+
3: string;
|
|
4571
|
+
4: string;
|
|
4572
|
+
5: string;
|
|
4573
|
+
6: string;
|
|
4574
|
+
7: string;
|
|
4575
|
+
8: string;
|
|
4576
|
+
};
|
|
4577
|
+
sequential: {
|
|
4578
|
+
1: string;
|
|
4579
|
+
2: string;
|
|
4580
|
+
3: string;
|
|
4581
|
+
4: string;
|
|
4582
|
+
5: string;
|
|
4583
|
+
6: string;
|
|
4584
|
+
};
|
|
4585
|
+
diverging: {
|
|
4586
|
+
negative: string;
|
|
4587
|
+
neutral: string;
|
|
4588
|
+
positive: string;
|
|
4589
|
+
};
|
|
4590
|
+
grid: string;
|
|
4591
|
+
axis: string;
|
|
4592
|
+
};
|
|
4593
|
+
ai: {
|
|
4594
|
+
primary: string;
|
|
4595
|
+
primaryFill: string;
|
|
4596
|
+
onPrimaryFill: string;
|
|
4597
|
+
accent: string;
|
|
4598
|
+
surface: string;
|
|
4599
|
+
surfaceHover: string;
|
|
4600
|
+
surfaceEmphasis: string;
|
|
4601
|
+
surfaceEmphasisHover: string;
|
|
4602
|
+
border: string;
|
|
4603
|
+
badgeBackground: string;
|
|
4604
|
+
typingIndicator: string;
|
|
4605
|
+
focusRing: string;
|
|
4606
|
+
presence: {
|
|
4607
|
+
blue: string;
|
|
4608
|
+
violet: string;
|
|
4609
|
+
purple: string;
|
|
4610
|
+
coral: string;
|
|
4611
|
+
base: string;
|
|
4612
|
+
};
|
|
4613
|
+
avatarFill: {
|
|
4614
|
+
start: string;
|
|
4615
|
+
end: string;
|
|
4616
|
+
};
|
|
4617
|
+
progress: string;
|
|
4618
|
+
canvasFill: {
|
|
4619
|
+
start: string;
|
|
4620
|
+
end: string;
|
|
4621
|
+
};
|
|
4622
|
+
};
|
|
3841
4623
|
avatar: {
|
|
4624
|
+
/**
|
|
4625
|
+
* Solid avatar fills. Not every entry carries white text: render the initials or icon in
|
|
4626
|
+
* the aligned `foregrounds` entry (ADR-03-R9, E-49+). Measured with WCAG relative luminance,
|
|
4627
|
+
* the same in light and dark mode:
|
|
4628
|
+
*
|
|
4629
|
+
* | # | Fill | White | gray[900] | Text |
|
|
4630
|
+
* |---|---|---|---|---|
|
|
4631
|
+
* | 0 | indigo[600] #5F33EB | 6.64:1 | 2.99:1 | white |
|
|
4632
|
+
* | 1 | purple[600] #8D49CE | 5.28:1 | 3.76:1 | white |
|
|
4633
|
+
* | 2 | coral[600] #FF7167 | 2.68:1 | 7.39:1 | gray[900] |
|
|
4634
|
+
* | 3 | azure[600] #239DDD | 3.02:1 | 6.57:1 | gray[900] |
|
|
4635
|
+
* | 4 | navy[700] #30316E | 11.73:1 | 1.69:1 | white |
|
|
4636
|
+
* | 5 | indigo[500] #6739ED | 6.20:1 | 3.20:1 | white |
|
|
4637
|
+
* | 6 | purple[500] #9950D3 | 4.72:1 | 4.20:1 | white |
|
|
4638
|
+
* | 7 | coral[500] #FF796F | 2.55:1 | 7.78:1 | gray[900] |
|
|
4639
|
+
*
|
|
4640
|
+
* The values are unchanged (a token value change is major). A later value change for the
|
|
4641
|
+
* three light fills is a v3.0 candidate.
|
|
4642
|
+
*/
|
|
3842
4643
|
backgrounds: string[];
|
|
4644
|
+
/**
|
|
4645
|
+
* The text or icon colour for each `backgrounds` entry, index for index (ADR-03-R9): every
|
|
4646
|
+
* pair is 4.72:1 or more. Pick a pair by one index, never a background alone.
|
|
4647
|
+
*
|
|
4648
|
+
* @since 2.13.0
|
|
4649
|
+
*/
|
|
4650
|
+
foregrounds: readonly string[];
|
|
3843
4651
|
online: string;
|
|
3844
4652
|
offline: string;
|
|
3845
4653
|
busy: string;
|
|
@@ -4002,6 +4810,11 @@ export declare const tokens: {
|
|
|
4002
4810
|
aiPanelWidth: number;
|
|
4003
4811
|
gutter: number;
|
|
4004
4812
|
contentPadding: number;
|
|
4813
|
+
containerQuery: {
|
|
4814
|
+
narrow: number;
|
|
4815
|
+
compact: number;
|
|
4816
|
+
regular: number;
|
|
4817
|
+
};
|
|
4005
4818
|
};
|
|
4006
4819
|
};
|
|
4007
4820
|
borders: {
|
|
@@ -4087,11 +4900,24 @@ export declare const tokens: {
|
|
|
4087
4900
|
fast: string;
|
|
4088
4901
|
normal: string;
|
|
4089
4902
|
slow: string;
|
|
4903
|
+
slower: string;
|
|
4090
4904
|
};
|
|
4091
4905
|
easing: {
|
|
4092
4906
|
default: string;
|
|
4093
4907
|
enter: string;
|
|
4094
4908
|
exit: string;
|
|
4909
|
+
emphasized: string;
|
|
4910
|
+
overshoot: string;
|
|
4911
|
+
};
|
|
4912
|
+
loop: {
|
|
4913
|
+
spin: string;
|
|
4914
|
+
typing: string;
|
|
4915
|
+
shimmer: string;
|
|
4916
|
+
pulse: string;
|
|
4917
|
+
};
|
|
4918
|
+
stagger: {
|
|
4919
|
+
tight: string;
|
|
4920
|
+
normal: string;
|
|
4095
4921
|
};
|
|
4096
4922
|
};
|
|
4097
4923
|
effects: {
|
|
@@ -4288,19 +5114,53 @@ export declare const tokens: {
|
|
|
4288
5114
|
primary: {
|
|
4289
5115
|
background: string;
|
|
4290
5116
|
backgroundHover: string;
|
|
5117
|
+
backgroundActive: string;
|
|
4291
5118
|
text: string;
|
|
5119
|
+
textHover: string;
|
|
5120
|
+
textActive: string;
|
|
4292
5121
|
};
|
|
4293
5122
|
secondary: {
|
|
4294
5123
|
background: string;
|
|
4295
5124
|
backgroundHover: string;
|
|
5125
|
+
backgroundActive: string;
|
|
4296
5126
|
text: string;
|
|
5127
|
+
textHover: string;
|
|
5128
|
+
textActive: string;
|
|
4297
5129
|
};
|
|
4298
5130
|
outlined: {
|
|
4299
5131
|
background: string;
|
|
4300
5132
|
backgroundHover: string;
|
|
5133
|
+
backgroundActive: string;
|
|
5134
|
+
border: string;
|
|
5135
|
+
text: string;
|
|
5136
|
+
textHover: string;
|
|
5137
|
+
textActive: string;
|
|
5138
|
+
};
|
|
5139
|
+
onBrand: {
|
|
5140
|
+
background: string;
|
|
5141
|
+
backgroundHover: string;
|
|
5142
|
+
backgroundActive: string;
|
|
5143
|
+
text: string;
|
|
5144
|
+
textHover: string;
|
|
5145
|
+
textActive: string;
|
|
5146
|
+
backgroundDisabled: string;
|
|
5147
|
+
textDisabled: string;
|
|
5148
|
+
focusOutline: string;
|
|
5149
|
+
};
|
|
5150
|
+
onBrandOutlined: {
|
|
5151
|
+
background: string;
|
|
5152
|
+
backgroundHover: string;
|
|
5153
|
+
backgroundActive: string;
|
|
4301
5154
|
border: string;
|
|
5155
|
+
borderHover: string;
|
|
5156
|
+
borderActive: string;
|
|
4302
5157
|
text: string;
|
|
4303
5158
|
textHover: string;
|
|
5159
|
+
textActive: string;
|
|
5160
|
+
backgroundDisabled: string;
|
|
5161
|
+
textDisabled: string;
|
|
5162
|
+
borderDisabled: string;
|
|
5163
|
+
focusOutline: string;
|
|
4304
5164
|
};
|
|
4305
5165
|
};
|
|
4306
5166
|
input: {
|
|
@@ -4414,6 +5274,7 @@ export declare const tokens: {
|
|
|
4414
5274
|
padding: number;
|
|
4415
5275
|
borderRadius: number;
|
|
4416
5276
|
shadow: string;
|
|
5277
|
+
background: string;
|
|
4417
5278
|
backdropOpacity: number;
|
|
4418
5279
|
width: {
|
|
4419
5280
|
small: number;
|
|
@@ -4438,6 +5299,7 @@ export declare const tokens: {
|
|
|
4438
5299
|
track: {
|
|
4439
5300
|
off: string;
|
|
4440
5301
|
on: string;
|
|
5302
|
+
border: string;
|
|
4441
5303
|
};
|
|
4442
5304
|
};
|
|
4443
5305
|
navigation: {
|
|
@@ -4739,6 +5601,13 @@ export declare const tokens: {
|
|
|
4739
5601
|
readonly minimum: 44;
|
|
4740
5602
|
readonly comfortable: 48;
|
|
4741
5603
|
readonly spacious: 56;
|
|
5604
|
+
/**
|
|
5605
|
+
* The program-wide floor for every pointer target: 24 by 24 CSS pixels, WCAG 2.2 SC 2.5.8
|
|
5606
|
+
* Target Size (Minimum, AA), ratified by DN-12 (2026-10-05). Compact controls reach it
|
|
5607
|
+
* through the shared hit-area recipe (C-40+), which grows the hit area to this size
|
|
5608
|
+
* without changing the visual size. CSS: `--trinity-touch-target-floor`.
|
|
5609
|
+
*/
|
|
5610
|
+
readonly floor: 24;
|
|
4742
5611
|
};
|
|
4743
5612
|
};
|
|
4744
5613
|
/** Contrast levels */
|