@trinityui/design-system 2.11.1 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2171 -0
- package/CONTRIBUTING.md +180 -69
- package/LICENSE +21 -0
- package/MIGRATION.md +508 -28
- package/README.md +281 -120
- package/dist/IllustratedMessage.js +546 -1341
- package/dist/accessibility.d.ts +596 -18
- package/dist/accessibility.d.ts.map +1 -1
- package/dist/accessibility.js +458 -0
- package/dist/app-shell.js +17219 -9131
- package/dist/assets/index.d.ts +1 -1
- package/dist/charts.js +8507 -6059
- package/dist/color-contrast.d.ts +35 -0
- package/dist/color-contrast.d.ts.map +1 -0
- package/dist/commonjs-helpers.js +8 -0
- package/dist/component-color-references.d.ts +175 -0
- package/dist/component-color-references.d.ts.map +1 -0
- package/dist/components/AI/AIActions.d.ts +72 -12
- package/dist/components/AI/AIActions.d.ts.map +1 -1
- package/dist/components/AI/AIAvatar.d.ts +31 -3
- package/dist/components/AI/AIAvatar.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.d.ts +159 -77
- package/dist/components/AI/AIChainOfThought.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.types.d.ts +292 -40
- package/dist/components/AI/AIChainOfThought.types.d.ts.map +1 -1
- package/dist/components/AI/AIChainOfThought.utils.d.ts +25 -7
- package/dist/components/AI/AIChainOfThought.utils.d.ts.map +1 -1
- package/dist/components/AI/AIChat.d.ts +12 -0
- package/dist/components/AI/AIChat.d.ts.map +1 -1
- package/dist/components/AI/AIChatWelcome.d.ts +254 -0
- package/dist/components/AI/AIChatWelcome.d.ts.map +1 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts +134 -0
- package/dist/components/AI/AIClarificationPrompt.d.ts.map +1 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts +117 -0
- package/dist/components/AI/AIConfidenceBadge.d.ts.map +1 -0
- package/dist/components/AI/AIConfigContext.d.ts +100 -0
- package/dist/components/AI/AIConfigContext.d.ts.map +1 -0
- package/dist/components/AI/AIConfigProvider.d.ts +66 -0
- package/dist/components/AI/AIConfigProvider.d.ts.map +1 -0
- package/dist/components/AI/AIContainer.d.ts +80 -11
- package/dist/components/AI/AIContainer.d.ts.map +1 -1
- package/dist/components/AI/AIExplainability.d.ts +39 -5
- package/dist/components/AI/AIExplainability.d.ts.map +1 -1
- package/dist/components/AI/AIFeedbackControl.d.ts +113 -0
- package/dist/components/AI/AIFeedbackControl.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackForm.d.ts +117 -0
- package/dist/components/AI/AIFeedbackForm.d.ts.map +1 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts +16 -0
- package/dist/components/AI/AIFeedbackHostContext.d.ts.map +1 -0
- package/dist/components/AI/AILabel.d.ts +39 -6
- package/dist/components/AI/AILabel.d.ts.map +1 -1
- package/dist/components/AI/AIMessage.d.ts +337 -42
- package/dist/components/AI/AIMessage.d.ts.map +1 -1
- package/dist/components/AI/AIPlanReview.d.ts +194 -0
- package/dist/components/AI/AIPlanReview.d.ts.map +1 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts +119 -0
- package/dist/components/AI/AIQueryDisclosure.d.ts.map +1 -0
- package/dist/components/AI/AIRelatedQuestions.d.ts +50 -11
- package/dist/components/AI/AIRelatedQuestions.d.ts.map +1 -1
- package/dist/components/AI/AIResponseRenderer.d.ts +133 -21
- package/dist/components/AI/AIResponseRenderer.d.ts.map +1 -1
- package/dist/components/AI/AIResponseSourcesContext.d.ts +83 -0
- package/dist/components/AI/AIResponseSourcesContext.d.ts.map +1 -0
- package/dist/components/AI/AIReviewItem.d.ts +142 -0
- package/dist/components/AI/AIReviewItem.d.ts.map +1 -0
- package/dist/components/AI/AISourceChip.d.ts +135 -0
- package/dist/components/AI/AISourceChip.d.ts.map +1 -0
- package/dist/components/AI/AISources.d.ts +81 -11
- package/dist/components/AI/AISources.d.ts.map +1 -1
- package/dist/components/AI/AISourcesPanel.d.ts +43 -7
- package/dist/components/AI/AISourcesPanel.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.d.ts +104 -16
- package/dist/components/AI/AITextBlock.d.ts.map +1 -1
- package/dist/components/AI/AITextBlock.parser.d.ts +153 -0
- package/dist/components/AI/AITextBlock.parser.d.ts.map +1 -0
- package/dist/components/AI/AIVerificationBadge.d.ts +94 -0
- package/dist/components/AI/AIVerificationBadge.d.ts.map +1 -0
- package/dist/components/AI/AIVisuals.d.ts +92 -23
- package/dist/components/AI/AIVisuals.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceInput.d.ts +42 -11
- package/dist/components/AI/AIVoiceInput.d.ts.map +1 -1
- package/dist/components/AI/AIVoiceMode.d.ts +16 -2
- package/dist/components/AI/AIVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/BlockErrorBoundary.d.ts +77 -0
- package/dist/components/AI/BlockErrorBoundary.d.ts.map +1 -0
- package/dist/components/AI/ChatHeader.d.ts +41 -4
- package/dist/components/AI/ChatHeader.d.ts.map +1 -1
- package/dist/components/AI/ChatHistoryList.d.ts +25 -12
- package/dist/components/AI/ChatHistoryList.d.ts.map +1 -1
- package/dist/components/AI/ChatThread.d.ts +263 -13
- package/dist/components/AI/ChatThread.d.ts.map +1 -1
- package/dist/components/AI/InThreadContext.d.ts +14 -0
- package/dist/components/AI/InThreadContext.d.ts.map +1 -0
- package/dist/components/AI/InsightEngine.d.ts +270 -46
- package/dist/components/AI/InsightEngine.d.ts.map +1 -1
- package/dist/components/AI/InsightEngineInput.d.ts +47 -4
- package/dist/components/AI/InsightEngineInput.d.ts.map +1 -1
- package/dist/components/AI/MessageActionButton.d.ts +72 -0
- package/dist/components/AI/MessageActionButton.d.ts.map +1 -0
- package/dist/components/AI/QueryInput.d.ts.map +1 -1
- package/dist/components/AI/UserAvatar.d.ts +50 -4
- package/dist/components/AI/UserAvatar.d.ts.map +1 -1
- package/dist/components/AI/UserMessage.d.ts +32 -3
- package/dist/components/AI/UserMessage.d.ts.map +1 -1
- package/dist/components/AI/blockRendererContext.d.ts +64 -0
- package/dist/components/AI/blockRendererContext.d.ts.map +1 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts +48 -0
- package/dist/components/AI/hitlBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/index.d.ts +23 -6
- package/dist/components/AI/index.d.ts.map +1 -1
- package/dist/components/AI/moleculeBlockRenderers.d.ts +15 -0
- package/dist/components/AI/moleculeBlockRenderers.d.ts.map +1 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts +8 -0
- package/dist/components/AI/planReviewBlockRenderer.d.ts.map +1 -0
- package/dist/components/AI/strings/defaults.d.ts +31 -0
- package/dist/components/AI/strings/defaults.d.ts.map +1 -0
- package/dist/components/AI/tokens.d.ts +185 -20
- package/dist/components/AI/tokens.d.ts.map +1 -1
- package/dist/components/AI/types/hitl.d.ts +2294 -0
- package/dist/components/AI/types/hitl.d.ts.map +1 -0
- package/dist/components/AI/types/index.d.ts +2 -1
- package/dist/components/AI/types/index.d.ts.map +1 -1
- package/dist/components/AI/types/response.d.ts +428 -40
- package/dist/components/AI/types/response.d.ts.map +1 -1
- package/dist/components/AI/useBlockSources.d.ts +67 -0
- package/dist/components/AI/useBlockSources.d.ts.map +1 -0
- package/dist/components/AI/useBrowserVoiceMode.d.ts +31 -2
- package/dist/components/AI/useBrowserVoiceMode.d.ts.map +1 -1
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts +30 -0
- package/dist/components/AI/useWelcomeComposerHandoff.d.ts.map +1 -0
- package/dist/components/AI/utils/alphaIndex.d.ts +19 -0
- package/dist/components/AI/utils/alphaIndex.d.ts.map +1 -0
- package/dist/components/AI/utils/blockReady.d.ts +54 -0
- package/dist/components/AI/utils/blockReady.d.ts.map +1 -0
- package/dist/components/AI/utils/blocks.d.ts +28 -0
- package/dist/components/AI/utils/blocks.d.ts.map +1 -0
- package/dist/components/AI/utils/confidence.d.ts +182 -0
- package/dist/components/AI/utils/confidence.d.ts.map +1 -0
- package/dist/components/AI/utils/filters.d.ts +31 -0
- package/dist/components/AI/utils/filters.d.ts.map +1 -0
- package/dist/components/AI/utils/responseText.d.ts +8 -0
- package/dist/components/AI/utils/responseText.d.ts.map +1 -0
- package/dist/components/AI/utils/sources.d.ts +110 -0
- package/dist/components/AI/utils/sources.d.ts.map +1 -0
- package/dist/components/AIDigestCard/AIDigestCard.d.ts.map +1 -1
- package/dist/components/AIDigestCard/types.d.ts +42 -5
- package/dist/components/AIDigestCard/types.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFab.d.ts +33 -6
- package/dist/components/AppLayout/AIFab.d.ts.map +1 -1
- package/dist/components/AppLayout/AIFabLayout.deprecated.d.ts.map +1 -1
- package/dist/components/AppLayout/AppLayout.d.ts +143 -8
- package/dist/components/AppLayout/AppLayout.d.ts.map +1 -1
- package/dist/components/AppLayout/InsightEnginePanel.d.ts +315 -21
- package/dist/components/AppLayout/InsightEnginePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ResizablePanel.d.ts +145 -8
- package/dist/components/AppLayout/ResizablePanel.d.ts.map +1 -1
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts +6 -0
- package/dist/components/AppLayout/ThreadHistorySidebar.d.ts.map +1 -1
- package/dist/components/AppLayout/index.d.ts +3 -3
- package/dist/components/AppLayout/index.d.ts.map +1 -1
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts +32 -0
- package/dist/components/AppLayout/insightEnginePanel.demo.d.ts.map +1 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts +26 -0
- package/dist/components/AppLayout/panelPropsPath.d.ts.map +1 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts +49 -0
- package/dist/components/AppLayout/panelResizeTransition.d.ts.map +1 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts +40 -0
- package/dist/components/AppLayout/toChatThreadMessage.d.ts.map +1 -0
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts +5 -1
- package/dist/components/AssessmentDrawer/AssessmentDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/AuditDrawer.d.ts +4 -3
- package/dist/components/AuditDrawer/AuditDrawer.d.ts.map +1 -1
- package/dist/components/AuditDrawer/index.d.ts +1 -1
- package/dist/components/AuditDrawer/index.d.ts.map +1 -1
- package/dist/components/AuditDrawer/types.d.ts +39 -5
- package/dist/components/AuditDrawer/types.d.ts.map +1 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +6 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/dist/components/BulkActionDock/BulkActionDock.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +10 -2
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Charts/AreaChart.d.ts.map +1 -1
- package/dist/components/Charts/BarChart.d.ts.map +1 -1
- package/dist/components/Charts/ChartWrapper.d.ts.map +1 -1
- package/dist/components/Charts/ComposedChart.d.ts.map +1 -1
- package/dist/components/Charts/CustomLegend.d.ts +11 -2
- package/dist/components/Charts/CustomLegend.d.ts.map +1 -1
- package/dist/components/Charts/LineChart.d.ts.map +1 -1
- package/dist/components/Charts/PieChart.d.ts.map +1 -1
- package/dist/components/Charts/RadialChart.d.ts.map +1 -1
- package/dist/components/Charts/ScatterChart.d.ts.map +1 -1
- package/dist/components/Charts/Sparkline.d.ts.map +1 -1
- package/dist/components/Charts/gaugeGeometry.d.ts +35 -0
- package/dist/components/Charts/gaugeGeometry.d.ts.map +1 -0
- package/dist/components/Charts/highcharts.d.ts +23 -0
- package/dist/components/Charts/highcharts.d.ts.map +1 -0
- package/dist/components/Charts/highchartsUtils.d.ts +101 -6
- package/dist/components/Charts/highchartsUtils.d.ts.map +1 -1
- package/dist/components/Charts/index.d.ts +1 -1
- package/dist/components/Charts/index.d.ts.map +1 -1
- package/dist/components/Charts/tokens.d.ts +21 -0
- package/dist/components/Charts/tokens.d.ts.map +1 -1
- package/dist/components/Charts/types.d.ts +7 -7
- package/dist/components/Charts/types.d.ts.map +1 -1
- package/dist/components/ChipsInput/ChipsInput.d.ts.map +1 -1
- package/dist/components/ChoiceChips/ChoiceChips.d.ts +106 -0
- package/dist/components/ChoiceChips/ChoiceChips.d.ts.map +1 -0
- package/dist/components/ClearableTextField/ClearableTextField.d.ts +23 -2
- package/dist/components/ClearableTextField/ClearableTextField.d.ts.map +1 -1
- package/dist/components/CodeBlock/CodeBlock.d.ts +80 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +3 -2
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/CommandPalette/CommandPalette.d.ts +54 -3
- package/dist/components/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/components/CommandPalette/index.d.ts +1 -1
- package/dist/components/CommandPalette/index.d.ts.map +1 -1
- package/dist/components/CopyButton/CopyButton.d.ts +80 -0
- package/dist/components/CopyButton/CopyButton.d.ts.map +1 -0
- package/dist/components/DataCard/DataCard.d.ts +11 -1
- package/dist/components/DataCard/DataCard.d.ts.map +1 -1
- package/dist/components/DataTable/CellRenderers.d.ts +8 -11
- package/dist/components/DataTable/CellRenderers.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/components/DataTable/InlineAddRow.d.ts.map +1 -1
- package/dist/components/DataTable/columnContext.d.ts +8 -0
- package/dist/components/DataTable/columnContext.d.ts.map +1 -0
- package/dist/components/DataTable/index.d.ts +2 -2
- package/dist/components/DataTable/index.d.ts.map +1 -1
- package/dist/components/DataTable/labels.d.ts +13 -0
- package/dist/components/DataTable/labels.d.ts.map +1 -0
- package/dist/components/DataTable/types.d.ts +34 -0
- package/dist/components/DataTable/types.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DetailsPopover/DetailsPopover.d.ts +185 -0
- package/dist/components/DetailsPopover/DetailsPopover.d.ts.map +1 -0
- package/dist/components/DiffViewer/DiffViewer.d.ts +3 -2
- package/dist/components/DiffViewer/DiffViewer.d.ts.map +1 -1
- package/dist/components/Disclosure/Disclosure.d.ts +83 -0
- package/dist/components/Disclosure/Disclosure.d.ts.map +1 -0
- package/dist/components/DockLayout/DockLayout.d.ts +58 -0
- package/dist/components/DockLayout/DockLayout.d.ts.map +1 -1
- package/dist/components/DockLayout/index.d.ts +1 -1
- package/dist/components/DockLayout/index.d.ts.map +1 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts +5 -1
- package/dist/components/DocumentCard/DocumentCard.d.ts.map +1 -1
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts +6 -2
- package/dist/components/EntityDetailPanel/EntityDetailPanel.d.ts.map +1 -1
- package/dist/components/FileUpload/FileUpload.d.ts +141 -6
- package/dist/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FilterBar/FilterBar.d.ts +27 -1
- package/dist/components/FilterBar/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar/index.d.ts +1 -1
- package/dist/components/FilterBar/index.d.ts.map +1 -1
- package/dist/components/FlowAutoLayout/useFlowAutoLayout.d.ts.map +1 -1
- package/dist/components/GanttView/GanttView.d.ts +24 -0
- package/dist/components/GanttView/GanttView.d.ts.map +1 -1
- package/dist/components/GanttView/types.d.ts +33 -7
- package/dist/components/GanttView/types.d.ts.map +1 -1
- package/dist/components/GaugeCard/GaugeCard.d.ts +4 -3
- package/dist/components/GaugeCard/GaugeCard.d.ts.map +1 -1
- package/dist/components/GaugeCard/geometry.d.ts +59 -0
- package/dist/components/GaugeCard/geometry.d.ts.map +1 -0
- package/dist/components/GeoStatusMap/GeoStatusMap.d.ts.map +1 -1
- package/dist/components/GeoStatusMap/types.d.ts +8 -5
- package/dist/components/GeoStatusMap/types.d.ts.map +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts +1 -1
- package/dist/components/GoToTop/GoToTop.d.ts.map +1 -1
- package/dist/components/HierarchicalDrillDown/HierarchicalDrillDown.d.ts.map +1 -1
- package/dist/components/HistoricalDataIndicator/HistoricalDataIndicator.d.ts.map +1 -1
- package/dist/components/HtmlToMui/HtmlToMui.d.ts.map +1 -1
- package/dist/components/Icon.d.ts +567 -10
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/IllustratedMessage.d.ts +52 -3
- package/dist/components/IllustratedMessage.d.ts.map +1 -1
- package/dist/components/InlineEditableText/InlineEditableText.d.ts +117 -0
- package/dist/components/InlineEditableText/InlineEditableText.d.ts.map +1 -0
- package/dist/components/InsightCard/InsightCard.d.ts.map +1 -1
- package/dist/components/InsightCard/types.d.ts +10 -3
- package/dist/components/InsightCard/types.d.ts.map +1 -1
- package/dist/components/KeyValueList/KeyValueList.d.ts +94 -0
- package/dist/components/KeyValueList/KeyValueList.d.ts.map +1 -0
- package/dist/components/LandingPage/FeatureCard.d.ts +4 -0
- package/dist/components/LandingPage/FeatureCard.d.ts.map +1 -1
- package/dist/components/LandingPage/LandingPage.d.ts +43 -4
- package/dist/components/LandingPage/LandingPage.d.ts.map +1 -1
- package/dist/components/LandingPage/heroTone.d.ts +54 -0
- package/dist/components/LandingPage/heroTone.d.ts.map +1 -0
- package/dist/components/MentionsInput/MentionsInput.d.ts.map +1 -1
- package/dist/components/MetaChip/MetaChip.d.ts +113 -0
- package/dist/components/MetaChip/MetaChip.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +222 -20
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/NotificationCenter/NotificationCenter.d.ts.map +1 -1
- package/dist/components/OrgChart/OrgChart.d.ts +5 -0
- package/dist/components/OrgChart/OrgChart.d.ts.map +1 -1
- package/dist/components/OrgChart/types.d.ts +31 -7
- package/dist/components/OrgChart/types.d.ts.map +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.d.ts.map +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/components/PageTOC/PageTOC.d.ts +2 -1
- package/dist/components/PageTOC/PageTOC.d.ts.map +1 -1
- package/dist/components/Popper/Popper.d.ts +80 -9
- package/dist/components/Popper/Popper.d.ts.map +1 -1
- package/dist/components/Popper/index.d.ts +1 -1
- package/dist/components/Popper/index.d.ts.map +1 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts +5 -1
- package/dist/components/PredictiveTextInput/PredictiveTextInput.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +49 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SimpleTable/SimpleTable.d.ts +11 -2
- package/dist/components/SimpleTable/SimpleTable.d.ts.map +1 -1
- package/dist/components/SplitPane/SplitPane.d.ts +2 -1
- package/dist/components/SplitPane/SplitPane.d.ts.map +1 -1
- package/dist/components/StatusHero/StatusHero.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Badge.d.ts +6 -1
- package/dist/components/StatusIndicator/Badge.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Chip.d.ts +3 -1
- package/dist/components/StatusIndicator/Chip.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Indicators.d.ts +5 -1
- package/dist/components/StatusIndicator/Indicators.d.ts.map +1 -1
- package/dist/components/StatusIndicator/Legend.d.ts.map +1 -1
- package/dist/components/StatusIndicator/StatusIndicator.d.ts +98 -4
- package/dist/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/dist/components/StatusIndicator/index.d.ts +2 -2
- package/dist/components/StatusIndicator/index.d.ts.map +1 -1
- package/dist/components/StatusIndicator/types.d.ts +48 -1
- package/dist/components/StatusIndicator/types.d.ts.map +1 -1
- package/dist/components/StepList/StepList.d.ts +80 -0
- package/dist/components/StepList/StepList.d.ts.map +1 -0
- package/dist/components/StepList/StepStatusMarker.d.ts +39 -0
- package/dist/components/StepList/StepStatusMarker.d.ts.map +1 -0
- package/dist/components/StepList/stepStatus.d.ts +30 -0
- package/dist/components/StepList/stepStatus.d.ts.map +1 -0
- package/dist/components/SystemBanner/SystemBanner.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts +57 -3
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/timelineLabels.d.ts +70 -0
- package/dist/components/Timeline/timelineLabels.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/TopNavHeader.d.ts +18 -1
- package/dist/components/TopNavHeader.d.ts.map +1 -1
- package/dist/components/TopNavWithSidebar.d.ts +61 -2
- package/dist/components/TopNavWithSidebar.d.ts.map +1 -1
- package/dist/components/Tour/Tour.d.ts +18 -1
- package/dist/components/Tour/Tour.d.ts.map +1 -1
- package/dist/components/TransferList/TransferList.d.ts +123 -4
- package/dist/components/TransferList/TransferList.d.ts.map +1 -1
- package/dist/components/TransferList/index.d.ts +1 -1
- package/dist/components/TransferList/index.d.ts.map +1 -1
- package/dist/components/TreeView/TreeView.d.ts +97 -8
- package/dist/components/TreeView/TreeView.d.ts.map +1 -1
- package/dist/components/TreeView/index.d.ts +1 -1
- package/dist/components/TreeView/index.d.ts.map +1 -1
- package/dist/components/TrinityLoader.d.ts.map +1 -1
- package/dist/components/icons/featherExtensions.d.ts +55 -0
- package/dist/components/icons/featherExtensions.d.ts.map +1 -0
- package/dist/components/icons/materialExtensions.d.ts +20 -0
- package/dist/components/icons/materialExtensions.d.ts.map +1 -0
- package/dist/components/internal/index.d.ts +87 -0
- package/dist/components/internal/index.d.ts.map +1 -1
- package/dist/components/navigation/MenuListWithHeading.d.ts +33 -0
- package/dist/components/navigation/MenuListWithHeading.d.ts.map +1 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts +13 -0
- package/dist/components/navigation/clientSelectorLabels.d.ts.map +1 -0
- package/dist/components/navigation/components.d.ts +6 -0
- package/dist/components/navigation/components.d.ts.map +1 -1
- package/dist/components/shared/AsyncOutcomeAlert.d.ts +91 -0
- package/dist/components/shared/AsyncOutcomeAlert.d.ts.map +1 -0
- package/dist/components/shared/TrinityIconSvg.d.ts.map +1 -1
- package/dist/components/shared/TrinityLogoSvg.d.ts.map +1 -1
- package/dist/components/shared/bidi.d.ts +44 -0
- package/dist/components/shared/bidi.d.ts.map +1 -0
- package/dist/components/shared/bidiText.d.ts +25 -0
- package/dist/components/shared/bidiText.d.ts.map +1 -0
- package/dist/components/shared/containerQueries.d.ts +73 -0
- package/dist/components/shared/containerQueries.d.ts.map +1 -0
- package/dist/components/shared/createStringsContext.d.ts +69 -0
- package/dist/components/shared/createStringsContext.d.ts.map +1 -0
- package/dist/components/shared/direction.d.ts +46 -0
- package/dist/components/shared/direction.d.ts.map +1 -0
- package/dist/components/shared/focusTrap.d.ts +36 -0
- package/dist/components/shared/focusTrap.d.ts.map +1 -0
- package/dist/components/shared/getInitials.d.ts +29 -0
- package/dist/components/shared/getInitials.d.ts.map +1 -0
- package/dist/components/shared/headingLevel.d.ts +69 -0
- package/dist/components/shared/headingLevel.d.ts.map +1 -0
- package/dist/components/shared/mergeSlotProps.d.ts +50 -0
- package/dist/components/shared/mergeSlotProps.d.ts.map +1 -0
- package/dist/components/shared/mergeSx.d.ts +26 -0
- package/dist/components/shared/mergeSx.d.ts.map +1 -0
- package/dist/components/shared/motion.d.ts +110 -0
- package/dist/components/shared/motion.d.ts.map +1 -0
- package/dist/components/shared/occurrenceKeys.d.ts +23 -0
- package/dist/components/shared/occurrenceKeys.d.ts.map +1 -0
- package/dist/components/shared/primaryAction.d.ts +89 -0
- package/dist/components/shared/primaryAction.d.ts.map +1 -0
- package/dist/components/shared/resizeKeyboard.d.ts +68 -0
- package/dist/components/shared/resizeKeyboard.d.ts.map +1 -0
- package/dist/components/shared/rootProps.d.ts +117 -0
- package/dist/components/shared/rootProps.d.ts.map +1 -0
- package/dist/components/shared/safeContent.d.ts +9 -2
- package/dist/components/shared/safeContent.d.ts.map +1 -1
- package/dist/components/shared/targetSize.d.ts +64 -0
- package/dist/components/shared/targetSize.d.ts.map +1 -0
- package/dist/components/shared/useContainerInlineSize.d.ts +43 -0
- package/dist/components/shared/useContainerInlineSize.d.ts.map +1 -0
- package/dist/components/shared/useCopyAction.d.ts +35 -0
- package/dist/components/shared/useCopyAction.d.ts.map +1 -0
- package/dist/components/shared/useOverflow.d.ts +44 -0
- package/dist/components/shared/useOverflow.d.ts.map +1 -0
- package/dist/components/shared/useResizable.d.ts +106 -7
- package/dist/components/shared/useResizable.d.ts.map +1 -1
- package/dist/components/shared/warnDeprecated.d.ts +89 -15
- package/dist/components/shared/warnDeprecated.d.ts.map +1 -1
- package/dist/components/shared/zIndexRoles.d.ts +62 -0
- package/dist/components/shared/zIndexRoles.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts +213 -0
- package/dist/components/templates/AIReviewQueue/AIReviewQueueTemplate.d.ts.map +1 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts +2 -0
- package/dist/components/templates/AIReviewQueue/index.d.ts.map +1 -0
- package/dist/components/templates/Auth/AuthTemplate.d.ts.map +1 -1
- package/dist/components/templates/Auth/types.d.ts +4 -1
- package/dist/components/templates/Auth/types.d.ts.map +1 -1
- package/dist/components/templates/Catalog/CatalogTemplate.d.ts.map +1 -1
- package/dist/components/templates/ConnectorWizard/ConnectorWizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/InsightsCenter/InsightsCenterTemplate.d.ts.map +1 -1
- package/dist/components/templates/IntegrationDetail/IntegrationDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts +168 -10
- package/dist/components/templates/ListDetail/ListDetailTemplate.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/index.d.ts +1 -1
- package/dist/components/templates/ListDetail/index.d.ts.map +1 -1
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts +106 -0
- package/dist/components/templates/ListDetail/listDetailLabels.d.ts.map +1 -0
- package/dist/components/templates/Onboarding/OnboardingTemplate.d.ts.map +1 -1
- package/dist/components/templates/Settings/SettingsTemplate.d.ts +0 -3
- package/dist/components/templates/Settings/SettingsTemplate.d.ts.map +1 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts +4 -1
- package/dist/components/templates/Wizard/WizardTemplate.d.ts.map +1 -1
- package/dist/components/templates/index.d.ts +2 -1
- package/dist/components/templates/index.d.ts.map +1 -1
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.d.ts.map +1 -1
- package/dist/data-table.js +1 -0
- package/dist/data-table2.js +13522 -13465
- package/dist/data.js +213 -194
- package/dist/elk.bundled.js +47371 -0
- package/dist/essentials.d.ts +3 -3
- package/dist/essentials.d.ts.map +1 -1
- package/dist/essentials.js +179 -147
- package/dist/focus-on-replace.js +49 -0
- package/dist/form.d.ts +26 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/forms.js +575 -483
- package/dist/foundation.js +3704 -0
- package/dist/hooks/storageStore.d.ts +51 -0
- package/dist/hooks/storageStore.d.ts.map +1 -0
- package/dist/hooks/useAsyncAction.d.ts +65 -0
- package/dist/hooks/useAsyncAction.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.d.ts +190 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useFocusOnReplace.d.ts +95 -0
- package/dist/hooks/useFocusOnReplace.d.ts.map +1 -0
- package/dist/hooks/useTrinityPalette.d.ts +38 -40
- package/dist/hooks/useTrinityPalette.d.ts.map +1 -1
- package/dist/hooks.d.ts +44 -6
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +301 -0
- package/dist/index.d.ts +71 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13925 -60619
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts +203 -0
- package/dist/patterns/AICopilotPattern/AICopilotPattern.d.ts.map +1 -0
- package/dist/patterns/AICopilotPattern/index.d.ts +3 -0
- package/dist/patterns/AICopilotPattern/index.d.ts.map +1 -0
- package/dist/patterns/index.d.ts +15 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/presets/analytics.d.ts +8 -1
- package/dist/presets/analytics.d.ts.map +1 -1
- package/dist/presets/crm.d.ts +8 -1
- package/dist/presets/crm.d.ts.map +1 -1
- package/dist/presets/index.d.ts +1 -1
- package/dist/presets/portal.d.ts +8 -1
- package/dist/presets/portal.d.ts.map +1 -1
- package/dist/safe-content.js +69 -69
- package/dist/theme-augmentation.d.ts +388 -0
- package/dist/theme-augmentation.d.ts.map +1 -0
- package/dist/theme.d.ts +116 -30
- package/dist/theme.d.ts.map +1 -1
- package/dist/theme.js +891 -436
- package/dist/token-color.d.ts +14 -0
- package/dist/token-color.d.ts.map +1 -0
- package/dist/token-merge.d.ts +56 -0
- package/dist/token-merge.d.ts.map +1 -0
- package/dist/token-serialization.d.ts +65 -0
- package/dist/token-serialization.d.ts.map +1 -0
- package/dist/tokens.d.ts +882 -13
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -19
- package/dist/trinity.css +1077 -414
- package/package.json +111 -90
- package/dist/components/index.d.ts +0 -145
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/shared.d.ts +0 -92
- package/dist/components/shared.d.ts.map +0 -1
package/dist/data.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { InfoOutlined as
|
|
5
|
-
import { s as p } from "./
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
/* @__PURE__ */ e("stop", { offset: "
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as I from "react";
|
|
3
|
+
import { useTheme as F, Card as G, ButtonBase as J, CardContent as K, Box as i, Skeleton as R, Typography as c, Tooltip as W, IconButton as L } from "@mui/material";
|
|
4
|
+
import { InfoOutlined as U, MoreVert as Y, TrendingFlat as q, TrendingDown as E, TrendingUp as H } from "@mui/icons-material";
|
|
5
|
+
import { s as p, K as N, I as Q, J as X } from "./foundation.js";
|
|
6
|
+
const Z = ({ data: s, color: x, height: o = 40 }) => {
|
|
7
|
+
const h = `sparkline-gradient-${I.useId()}`;
|
|
8
|
+
if (!s || s.length < 2) return null;
|
|
9
|
+
const l = Math.min(...s), w = Math.max(...s) - l || 1, a = 100, m = s.map((S, b) => {
|
|
10
|
+
const r = b / (s.length - 1) * a, v = o - (S - l) / w * o;
|
|
11
|
+
return `${r},${v}`;
|
|
12
|
+
}).join(" "), y = `0,${o} ${m} ${a},${o}`;
|
|
13
|
+
return /* @__PURE__ */ n("svg", { width: "100%", height: o, viewBox: `0 0 ${a} ${o}`, preserveAspectRatio: "none", children: [
|
|
14
|
+
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ n("linearGradient", { id: h, x1: "0%", y1: "0%", x2: "0%", y2: "100%", children: [
|
|
15
|
+
/* @__PURE__ */ e("stop", { offset: "0%", stopColor: x, stopOpacity: 0.3 }),
|
|
16
|
+
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: x, stopOpacity: 0 })
|
|
16
17
|
] }) }),
|
|
17
18
|
/* @__PURE__ */ e(
|
|
18
19
|
"polygon",
|
|
19
20
|
{
|
|
20
|
-
points:
|
|
21
|
-
fill: `url(
|
|
21
|
+
points: y,
|
|
22
|
+
fill: `url(#${h})`
|
|
22
23
|
}
|
|
23
24
|
),
|
|
24
25
|
/* @__PURE__ */ e(
|
|
25
26
|
"polyline",
|
|
26
27
|
{
|
|
27
|
-
points:
|
|
28
|
+
points: m,
|
|
28
29
|
fill: "none",
|
|
29
|
-
stroke:
|
|
30
|
+
stroke: x,
|
|
30
31
|
strokeWidth: 2,
|
|
31
32
|
strokeLinecap: "round",
|
|
32
33
|
strokeLinejoin: "round"
|
|
33
34
|
}
|
|
34
35
|
)
|
|
35
36
|
] });
|
|
36
|
-
},
|
|
37
|
+
}, _ = {
|
|
37
38
|
small: {
|
|
38
39
|
padding: p.density.standard.cellPadding,
|
|
39
40
|
titleSize: "caption",
|
|
@@ -53,29 +54,30 @@ const H = ({ data: a, color: s, height: o = 40 }) => {
|
|
|
53
54
|
valueSize: "h3",
|
|
54
55
|
iconSize: 48
|
|
55
56
|
}
|
|
56
|
-
},
|
|
57
|
-
title:
|
|
57
|
+
}, ie = /* @__PURE__ */ I.forwardRef(function({
|
|
58
|
+
title: x,
|
|
58
59
|
value: o,
|
|
59
|
-
unit:
|
|
60
|
-
trend:
|
|
61
|
-
trendValue:
|
|
62
|
-
trendLabel:
|
|
63
|
-
sparklineData:
|
|
64
|
-
subtitle:
|
|
60
|
+
unit: h,
|
|
61
|
+
trend: l,
|
|
62
|
+
trendValue: g,
|
|
63
|
+
trendLabel: w = "vs last period",
|
|
64
|
+
sparklineData: a,
|
|
65
|
+
subtitle: m,
|
|
65
66
|
icon: y,
|
|
66
|
-
iconColor:
|
|
67
|
-
comparison:
|
|
68
|
-
loading:
|
|
69
|
-
infoTooltip:
|
|
67
|
+
iconColor: S = "primary",
|
|
68
|
+
comparison: b,
|
|
69
|
+
loading: r = !1,
|
|
70
|
+
infoTooltip: v,
|
|
70
71
|
onMoreClick: $,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
moreActionsLabel: C = "More actions",
|
|
73
|
+
onClick: u,
|
|
74
|
+
footer: T,
|
|
75
|
+
size: z = "medium",
|
|
76
|
+
variant: k = "default",
|
|
77
|
+
fullHeight: M = !1
|
|
78
|
+
}, P) {
|
|
79
|
+
const t = F(), f = _[z], j = I.useId(), B = () => {
|
|
80
|
+
switch (l) {
|
|
79
81
|
case "up":
|
|
80
82
|
return t.palette.success.main;
|
|
81
83
|
case "down":
|
|
@@ -83,16 +85,16 @@ const H = ({ data: a, color: s, height: o = 40 }) => {
|
|
|
83
85
|
default:
|
|
84
86
|
return t.palette.text.secondary;
|
|
85
87
|
}
|
|
86
|
-
},
|
|
87
|
-
switch (
|
|
88
|
+
}, O = () => {
|
|
89
|
+
switch (l) {
|
|
88
90
|
case "up":
|
|
89
|
-
return /* @__PURE__ */ e(
|
|
91
|
+
return /* @__PURE__ */ e(H, { sx: { fontSize: 18 } });
|
|
90
92
|
case "down":
|
|
91
|
-
return /* @__PURE__ */ e(
|
|
93
|
+
return /* @__PURE__ */ e(E, { sx: { fontSize: 18 } });
|
|
92
94
|
default:
|
|
93
|
-
return /* @__PURE__ */ e(
|
|
95
|
+
return /* @__PURE__ */ e(q, { sx: { fontSize: 18 } });
|
|
94
96
|
}
|
|
95
|
-
},
|
|
97
|
+
}, A = () => {
|
|
96
98
|
const d = t.palette.trinity?.status;
|
|
97
99
|
return {
|
|
98
100
|
primary: t.palette.action.selected,
|
|
@@ -102,8 +104,8 @@ const H = ({ data: a, color: s, height: o = 40 }) => {
|
|
|
102
104
|
warning: d?.warning?.background || t.palette.action.selected,
|
|
103
105
|
error: d?.error?.background || t.palette.action.selected,
|
|
104
106
|
info: d?.info?.background || t.palette.action.selected
|
|
105
|
-
}[
|
|
106
|
-
},
|
|
107
|
+
}[S] || t.palette.action.selected;
|
|
108
|
+
}, D = {
|
|
107
109
|
default: {},
|
|
108
110
|
outlined: {
|
|
109
111
|
border: `1px solid ${t.palette.divider}`,
|
|
@@ -115,163 +117,180 @@ const H = ({ data: a, color: s, height: o = 40 }) => {
|
|
|
115
117
|
boxShadow: "none"
|
|
116
118
|
}
|
|
117
119
|
};
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
|
|
120
|
+
return /* @__PURE__ */ n(
|
|
121
|
+
G,
|
|
120
122
|
{
|
|
121
|
-
ref:
|
|
122
|
-
elevation:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
123
|
+
ref: P,
|
|
124
|
+
elevation: k === "default" ? 1 : 0,
|
|
125
|
+
sx: [
|
|
126
|
+
{
|
|
127
|
+
borderRadius: p.borders.radiusPx.lg,
|
|
128
|
+
// 12px to match AI StatCard
|
|
129
|
+
height: M ? "100%" : "auto",
|
|
130
|
+
cursor: u ? "pointer" : "default",
|
|
131
|
+
transition: `all ${p.motion.duration.fast} ${p.motion.easing.default}`,
|
|
132
|
+
"&:hover": u ? {
|
|
133
|
+
boxShadow: t.shadows[4],
|
|
134
|
+
transform: "translateY(-2px)"
|
|
135
|
+
} : {},
|
|
136
|
+
...D[k]
|
|
137
|
+
},
|
|
138
|
+
// B-24: the primary-action overlay (B-13) instead of onClick on the Card.
|
|
139
|
+
u ? N : null
|
|
140
|
+
],
|
|
141
|
+
children: [
|
|
142
|
+
u && /* @__PURE__ */ e(
|
|
143
|
+
J,
|
|
139
144
|
{
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
disableRipple: !0,
|
|
146
|
+
onClick: u,
|
|
147
|
+
"aria-labelledby": r ? void 0 : j,
|
|
148
|
+
"aria-label": r ? x : void 0,
|
|
149
|
+
sx: Q
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ n(K, { sx: [{ p: `${f.padding}px !important` }, u ? X : null], children: [
|
|
153
|
+
/* @__PURE__ */ n(
|
|
154
|
+
i,
|
|
155
|
+
{
|
|
156
|
+
sx: {
|
|
157
|
+
display: "flex",
|
|
158
|
+
alignItems: "flex-start",
|
|
159
|
+
justifyContent: "space-between",
|
|
160
|
+
mb: 2
|
|
161
|
+
},
|
|
162
|
+
children: [
|
|
163
|
+
/* @__PURE__ */ n(i, { sx: { display: "flex", alignItems: "center", gap: 1.5 }, children: [
|
|
164
|
+
y && /* @__PURE__ */ e(
|
|
165
|
+
i,
|
|
166
|
+
{
|
|
167
|
+
sx: {
|
|
168
|
+
display: "flex",
|
|
169
|
+
alignItems: "center",
|
|
170
|
+
justifyContent: "center",
|
|
171
|
+
width: f.iconSize,
|
|
172
|
+
height: f.iconSize,
|
|
173
|
+
borderRadius: `${p.borders.radius.iconContainer}px`,
|
|
174
|
+
backgroundColor: A(),
|
|
175
|
+
color: t.palette[S].main
|
|
176
|
+
},
|
|
177
|
+
children: y
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
/* @__PURE__ */ n(i, { children: [
|
|
181
|
+
/* @__PURE__ */ n(i, { sx: { display: "flex", alignItems: "center", gap: 0.5 }, children: [
|
|
182
|
+
r ? /* @__PURE__ */ e(R, { width: 80, height: 20 }) : /* @__PURE__ */ e(
|
|
183
|
+
c,
|
|
184
|
+
{
|
|
185
|
+
id: j,
|
|
186
|
+
variant: f.titleSize,
|
|
187
|
+
color: "textSecondary",
|
|
188
|
+
sx: { fontWeight: 500 },
|
|
189
|
+
children: x
|
|
190
|
+
}
|
|
191
|
+
),
|
|
192
|
+
v && /* @__PURE__ */ e(W, { title: v, arrow: !0, children: /* @__PURE__ */ e(
|
|
193
|
+
U,
|
|
194
|
+
{
|
|
195
|
+
sx: {
|
|
196
|
+
fontSize: 14,
|
|
197
|
+
color: t.palette.text.disabled,
|
|
198
|
+
cursor: "help"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
) })
|
|
202
|
+
] }),
|
|
203
|
+
m && !r && /* @__PURE__ */ e(c, { variant: "caption", color: "textSecondary", children: m })
|
|
204
|
+
] })
|
|
205
|
+
] }),
|
|
206
|
+
$ && /* @__PURE__ */ e(W, { title: C, children: /* @__PURE__ */ e(
|
|
207
|
+
L,
|
|
208
|
+
{
|
|
209
|
+
size: "small",
|
|
210
|
+
"aria-label": C,
|
|
211
|
+
onClick: (d) => {
|
|
212
|
+
d.stopPropagation(), $(d);
|
|
213
|
+
},
|
|
214
|
+
sx: { mr: -1, mt: -0.5 },
|
|
215
|
+
children: /* @__PURE__ */ e(Y, { fontSize: "small" })
|
|
216
|
+
}
|
|
217
|
+
) })
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
),
|
|
221
|
+
/* @__PURE__ */ e(i, { sx: { mb: a ? 2 : l ? 1 : 0 }, children: r ? /* @__PURE__ */ e(R, { width: 120, height: 40 }) : /* @__PURE__ */ n(
|
|
222
|
+
c,
|
|
223
|
+
{
|
|
224
|
+
variant: f.valueSize,
|
|
225
|
+
sx: {
|
|
226
|
+
display: "flex",
|
|
227
|
+
alignItems: "baseline",
|
|
228
|
+
gap: 0.5,
|
|
229
|
+
fontWeight: 700
|
|
230
|
+
},
|
|
231
|
+
children: [
|
|
232
|
+
o,
|
|
233
|
+
h && /* @__PURE__ */ e(
|
|
234
|
+
c,
|
|
235
|
+
{
|
|
236
|
+
component: "span",
|
|
237
|
+
variant: "body2",
|
|
238
|
+
color: "textSecondary",
|
|
239
|
+
sx: { fontWeight: 400 },
|
|
240
|
+
children: h
|
|
241
|
+
}
|
|
242
|
+
)
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
) }),
|
|
246
|
+
a && a.length > 1 && !r && /* @__PURE__ */ e(i, { sx: { mb: 2, mx: -1 }, children: /* @__PURE__ */ e(
|
|
247
|
+
Z,
|
|
248
|
+
{
|
|
249
|
+
data: a,
|
|
250
|
+
color: B(),
|
|
251
|
+
height: z === "small" ? 30 : z === "large" ? 50 : 40
|
|
252
|
+
}
|
|
253
|
+
) }),
|
|
254
|
+
l && !r && /* @__PURE__ */ n(
|
|
255
|
+
i,
|
|
256
|
+
{
|
|
257
|
+
sx: {
|
|
258
|
+
display: "flex",
|
|
259
|
+
alignItems: "center",
|
|
260
|
+
gap: 1,
|
|
261
|
+
flexWrap: "wrap"
|
|
262
|
+
},
|
|
263
|
+
children: [
|
|
264
|
+
/* @__PURE__ */ n(
|
|
265
|
+
i,
|
|
150
266
|
{
|
|
151
267
|
sx: {
|
|
152
268
|
display: "flex",
|
|
153
269
|
alignItems: "center",
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
height: f.iconSize,
|
|
157
|
-
borderRadius: `${p.borders.radius.iconContainer}px`,
|
|
158
|
-
backgroundColor: R(),
|
|
159
|
-
color: t.palette[b].main
|
|
270
|
+
gap: 0.5,
|
|
271
|
+
color: B()
|
|
160
272
|
},
|
|
161
|
-
children:
|
|
273
|
+
children: [
|
|
274
|
+
O(),
|
|
275
|
+
g !== void 0 && /* @__PURE__ */ n(c, { variant: "body2", sx: { fontWeight: 600 }, children: [
|
|
276
|
+
g > 0 ? "+" : "",
|
|
277
|
+
g,
|
|
278
|
+
"%"
|
|
279
|
+
] })
|
|
280
|
+
]
|
|
162
281
|
}
|
|
163
282
|
),
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
children: s
|
|
173
|
-
}
|
|
174
|
-
),
|
|
175
|
-
z && /* @__PURE__ */ e(D, { title: z, arrow: !0, children: /* @__PURE__ */ e(
|
|
176
|
-
G,
|
|
177
|
-
{
|
|
178
|
-
sx: {
|
|
179
|
-
fontSize: 14,
|
|
180
|
-
color: t.palette.text.disabled,
|
|
181
|
-
cursor: "help"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
) })
|
|
185
|
-
] }),
|
|
186
|
-
g && !i && /* @__PURE__ */ e(c, { variant: "caption", color: "text.secondary", children: g })
|
|
187
|
-
] })
|
|
188
|
-
] }),
|
|
189
|
-
$ && /* @__PURE__ */ e(
|
|
190
|
-
F,
|
|
191
|
-
{
|
|
192
|
-
size: "small",
|
|
193
|
-
onClick: (d) => {
|
|
194
|
-
d.stopPropagation(), $(d);
|
|
195
|
-
},
|
|
196
|
-
sx: { mr: -1, mt: -0.5 },
|
|
197
|
-
children: /* @__PURE__ */ e(U, { fontSize: "small" })
|
|
198
|
-
}
|
|
199
|
-
)
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
),
|
|
203
|
-
/* @__PURE__ */ e(r, { sx: { mb: l ? 2 : h ? 1 : 0 }, children: i ? /* @__PURE__ */ e(T, { width: 120, height: 40 }) : /* @__PURE__ */ n(
|
|
204
|
-
c,
|
|
205
|
-
{
|
|
206
|
-
variant: f.valueSize,
|
|
207
|
-
sx: {
|
|
208
|
-
display: "flex",
|
|
209
|
-
alignItems: "baseline",
|
|
210
|
-
gap: 0.5,
|
|
211
|
-
fontWeight: 700
|
|
212
|
-
},
|
|
213
|
-
children: [
|
|
214
|
-
o,
|
|
215
|
-
x && /* @__PURE__ */ e(
|
|
216
|
-
c,
|
|
217
|
-
{
|
|
218
|
-
component: "span",
|
|
219
|
-
variant: "body2",
|
|
220
|
-
color: "text.secondary",
|
|
221
|
-
sx: { fontWeight: 400 },
|
|
222
|
-
children: x
|
|
223
|
-
}
|
|
224
|
-
)
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
) }),
|
|
228
|
-
l && l.length > 1 && !i && /* @__PURE__ */ e(r, { sx: { mb: 2, mx: -1 }, children: /* @__PURE__ */ e(
|
|
229
|
-
H,
|
|
230
|
-
{
|
|
231
|
-
data: l,
|
|
232
|
-
color: I(),
|
|
233
|
-
height: v === "small" ? 30 : v === "large" ? 50 : 40
|
|
234
|
-
}
|
|
235
|
-
) }),
|
|
236
|
-
h && !i && /* @__PURE__ */ n(
|
|
237
|
-
r,
|
|
238
|
-
{
|
|
239
|
-
sx: {
|
|
240
|
-
display: "flex",
|
|
241
|
-
alignItems: "center",
|
|
242
|
-
gap: 1,
|
|
243
|
-
flexWrap: "wrap"
|
|
244
|
-
},
|
|
245
|
-
children: [
|
|
246
|
-
/* @__PURE__ */ n(
|
|
247
|
-
r,
|
|
248
|
-
{
|
|
249
|
-
sx: {
|
|
250
|
-
display: "flex",
|
|
251
|
-
alignItems: "center",
|
|
252
|
-
gap: 0.5,
|
|
253
|
-
color: I()
|
|
254
|
-
},
|
|
255
|
-
children: [
|
|
256
|
-
P(),
|
|
257
|
-
u !== void 0 && /* @__PURE__ */ n(c, { variant: "body2", sx: { fontWeight: 600 }, children: [
|
|
258
|
-
u > 0 ? "+" : "",
|
|
259
|
-
u,
|
|
260
|
-
"%"
|
|
261
|
-
] })
|
|
262
|
-
]
|
|
263
|
-
}
|
|
264
|
-
),
|
|
265
|
-
/* @__PURE__ */ e(c, { variant: "caption", color: "text.secondary", children: m })
|
|
266
|
-
]
|
|
267
|
-
}
|
|
268
|
-
),
|
|
269
|
-
S && !i && /* @__PURE__ */ e(c, { variant: "caption", color: "text.secondary", sx: { mt: 1, display: "block" }, children: S }),
|
|
270
|
-
k && /* @__PURE__ */ e(r, { sx: { mt: 2, pt: 2, borderTop: `1px solid ${t.palette.divider}` }, children: k })
|
|
271
|
-
] })
|
|
283
|
+
/* @__PURE__ */ e(c, { variant: "caption", color: "textSecondary", children: w })
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
b && !r && /* @__PURE__ */ e(c, { variant: "caption", color: "textSecondary", sx: { mt: 1, display: "block" }, children: b }),
|
|
288
|
+
T && /* @__PURE__ */ e(i, { sx: { mt: 2, pt: 2, borderTop: `1px solid ${t.palette.divider}` }, children: T })
|
|
289
|
+
] })
|
|
290
|
+
]
|
|
272
291
|
}
|
|
273
292
|
);
|
|
274
293
|
});
|
|
275
294
|
export {
|
|
276
|
-
|
|
295
|
+
ie as D
|
|
277
296
|
};
|