@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/essentials.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { lightTheme, darkTheme, brandColors, useTrinityTokens } from './theme';
|
|
2
2
|
export { semanticTokens, baseTokens } from './tokens';
|
|
3
3
|
export { StatusIndicator, StatusLegend } from './components/StatusIndicator';
|
|
4
|
-
export type { StatusType, SeverityLevel, StatusSize, StatusConfig } from './components/StatusIndicator';
|
|
4
|
+
export type { StatusType, SeverityLevel, StatusSize, StatusConfig, StatusIndicatorProps, StatusVariant, StatusIndicatorColors, } from './components/StatusIndicator';
|
|
5
5
|
export { Modal, ConfirmDialog, useConfirmDialog } from './components/Modal';
|
|
6
|
-
export type { ModalProps, ConfirmDialogProps, ModalVariant } from './components/Modal';
|
|
6
|
+
export type { ModalProps, ConfirmDialogProps, ConfirmDialogReasonField, ModalVariant, ModalLabels } from './components/Modal';
|
|
7
7
|
export { ToastProvider, useToast, Toast } from './components/Toast';
|
|
8
8
|
export type { ToastProps, ToastSeverity, ToastPosition, ToastProviderProps } from './components/Toast';
|
|
9
9
|
export { DataCard } from './components/DataCard';
|
|
@@ -11,7 +11,7 @@ export type { DataCardProps, TrendDirection } from './components/DataCard';
|
|
|
11
11
|
export { SimpleTable } from './components/SimpleTable';
|
|
12
12
|
export type { SimpleTableProps, SimpleTableColumn, SortDirection } from './components/SimpleTable';
|
|
13
13
|
export { FileUpload } from './components/FileUpload';
|
|
14
|
-
export type { FileUploadProps, UploadFile, FileUploadVariant } from './components/FileUpload';
|
|
14
|
+
export type { FileUploadProps, UploadFile, FileUploadVariant, FileUploadLabels } from './components/FileUpload';
|
|
15
15
|
export { IllustratedMessage } from './components/IllustratedMessage';
|
|
16
16
|
export type { IllustrationType, IllustratedMessageProps } from './components/IllustratedMessage';
|
|
17
17
|
/**
|
package/dist/essentials.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"essentials.d.ts","sourceRoot":"","sources":["../src/essentials.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAM/E,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAQtD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC7E,YAAY,
|
|
1
|
+
{"version":3,"file":"essentials.d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AiC,CAAC;AAKjG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG"}
|
package/dist/essentials.js
CHANGED
|
@@ -1,152 +1,166 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
'use client';
|
|
2
|
+
import { brandColors as Je, darkTheme as Ke, lightTheme as Ue, useTrinityTokens as ze } from "./theme.js";
|
|
3
|
+
import { K as fe, I as ue, J as me, Y as be } from "./foundation.js";
|
|
4
|
+
import { i as Qe, s as Xe } from "./foundation.js";
|
|
5
|
+
import { I as et, S as tt, T as rt, a as at, u as nt } from "./IllustratedMessage.js";
|
|
6
|
+
import { C as st, M as ot, S as lt, a as dt } from "./app-shell.js";
|
|
7
|
+
import { D as ht } from "./data.js";
|
|
8
|
+
import { F as gt } from "./forms.js";
|
|
9
|
+
import { jsxs as b, jsx as t, Fragment as Y } from "react/jsx-runtime";
|
|
10
|
+
import q, { useState as C, useCallback as x, useMemo as W, useRef as xe } from "react";
|
|
11
|
+
import { useTheme as Te, Paper as Se, TableContainer as ke, Table as ye, TableHead as Ce, TableRow as P, TableCell as h, Checkbox as $, TableSortLabel as Pe, alpha as V, TableBody as ve, ButtonBase as Re, Box as Ie, TablePagination as Ae, Skeleton as w, Typography as _e } from "@mui/material";
|
|
12
|
+
import Ee from "@mui/utils/useEnhancedEffect";
|
|
13
|
+
import { V as Oe } from "./accessibility.js";
|
|
10
14
|
function D(r, n) {
|
|
11
15
|
return n.split(".").reduce((a, i) => {
|
|
12
16
|
if (a && typeof a == "object" && i in a)
|
|
13
17
|
return a[i];
|
|
14
18
|
}, r);
|
|
15
19
|
}
|
|
16
|
-
function
|
|
17
|
-
const i = D(r, a),
|
|
18
|
-
return
|
|
20
|
+
function H(r, n, a) {
|
|
21
|
+
const i = D(r, a), s = D(n, a);
|
|
22
|
+
return s == null ? -1 : i == null ? 1 : s < i ? -1 : s > i ? 1 : 0;
|
|
19
23
|
}
|
|
20
|
-
function
|
|
21
|
-
|
|
24
|
+
function Be(r) {
|
|
25
|
+
const a = r.target?.closest?.(be);
|
|
26
|
+
return !!(a && r.currentTarget.contains(a) && a !== r.currentTarget);
|
|
22
27
|
}
|
|
23
|
-
|
|
28
|
+
function Ve(r, n) {
|
|
29
|
+
return r === "desc" ? (a, i) => H(a, i, n) : (a, i) => -H(a, i, n);
|
|
30
|
+
}
|
|
31
|
+
const De = ({ columns: r, rows: n, hasCheckbox: a }) => {
|
|
24
32
|
const i = [60, 80, 70, 90, 75, 85, 65, 95];
|
|
25
|
-
return /* @__PURE__ */ t(
|
|
26
|
-
a && /* @__PURE__ */ t(
|
|
27
|
-
Array.from({ length: r }).map((
|
|
28
|
-
|
|
33
|
+
return /* @__PURE__ */ t(Y, { children: Array.from({ length: n }).map((s, f) => /* @__PURE__ */ b(P, { children: [
|
|
34
|
+
a && /* @__PURE__ */ t(h, { padding: "checkbox", children: /* @__PURE__ */ t(w, { variant: "rectangular", width: 18, height: 18 }) }),
|
|
35
|
+
Array.from({ length: r }).map((l, d) => /* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(
|
|
36
|
+
w,
|
|
29
37
|
{
|
|
30
38
|
variant: "text",
|
|
31
|
-
width: `${i[(
|
|
39
|
+
width: `${i[(f + d) % i.length]}%`
|
|
32
40
|
}
|
|
33
|
-
) },
|
|
34
|
-
] },
|
|
35
|
-
},
|
|
36
|
-
function
|
|
41
|
+
) }, d))
|
|
42
|
+
] }, f)) });
|
|
43
|
+
}, Le = ({ message: r, colSpan: n, component: a }) => /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(h, { colSpan: n, align: "center", sx: { py: 8 }, children: a || /* @__PURE__ */ t(_e, { color: "textSecondary", variant: "body2", children: r }) }) });
|
|
44
|
+
function Ne({
|
|
37
45
|
rows: r,
|
|
38
46
|
columns: n,
|
|
39
47
|
loading: a = !1,
|
|
40
48
|
loadingRows: i = 5,
|
|
41
|
-
selectable:
|
|
42
|
-
selectionMode:
|
|
43
|
-
selected:
|
|
44
|
-
onSelectionChange:
|
|
45
|
-
onRowClick:
|
|
46
|
-
pagination:
|
|
47
|
-
rowsPerPageOptions:
|
|
48
|
-
defaultRowsPerPage:
|
|
49
|
-
defaultSortColumn:
|
|
50
|
-
defaultSortDirection:
|
|
51
|
-
size:
|
|
52
|
-
stickyHeader:
|
|
53
|
-
maxHeight:
|
|
54
|
-
emptyMessage:
|
|
55
|
-
emptyComponent:
|
|
56
|
-
ariaLabel:
|
|
57
|
-
},
|
|
58
|
-
const u =
|
|
59
|
-
|
|
60
|
-
), [
|
|
49
|
+
selectable: s = !1,
|
|
50
|
+
selectionMode: f = "multiple",
|
|
51
|
+
selected: l = [],
|
|
52
|
+
onSelectionChange: d,
|
|
53
|
+
onRowClick: T,
|
|
54
|
+
pagination: v = !0,
|
|
55
|
+
rowsPerPageOptions: J = [5, 10, 25, 50],
|
|
56
|
+
defaultRowsPerPage: K = 10,
|
|
57
|
+
defaultSortColumn: U,
|
|
58
|
+
defaultSortDirection: z = "asc",
|
|
59
|
+
size: G = "medium",
|
|
60
|
+
stickyHeader: Q = !1,
|
|
61
|
+
maxHeight: X,
|
|
62
|
+
emptyMessage: Z = "No data available",
|
|
63
|
+
emptyComponent: ee,
|
|
64
|
+
ariaLabel: te = "data table"
|
|
65
|
+
}, re) {
|
|
66
|
+
const u = Te(), ae = q.useId(), [m, ne] = C(z), [c, ie] = C(
|
|
67
|
+
U || (n[0]?.id ?? "")
|
|
68
|
+
), [y, L] = C(0), [S, se] = C(K), oe = x(
|
|
61
69
|
(e) => {
|
|
62
|
-
|
|
70
|
+
ne(c === e && m === "asc" ? "desc" : "asc"), ie(e);
|
|
63
71
|
},
|
|
64
|
-
[
|
|
65
|
-
),
|
|
72
|
+
[m, c]
|
|
73
|
+
), le = x(
|
|
66
74
|
(e) => {
|
|
67
75
|
if (e.target.checked) {
|
|
68
|
-
const
|
|
69
|
-
|
|
76
|
+
const p = r.map((g) => g.id);
|
|
77
|
+
d?.(p);
|
|
70
78
|
return;
|
|
71
79
|
}
|
|
72
|
-
|
|
80
|
+
d?.([]);
|
|
73
81
|
},
|
|
74
|
-
[r,
|
|
75
|
-
),
|
|
82
|
+
[r, d]
|
|
83
|
+
), N = x(
|
|
76
84
|
(e) => {
|
|
77
|
-
if (
|
|
78
|
-
|
|
85
|
+
if (f === "single") {
|
|
86
|
+
d?.(l.includes(e) ? [] : [e]);
|
|
79
87
|
return;
|
|
80
88
|
}
|
|
81
|
-
const
|
|
82
|
-
let
|
|
83
|
-
|
|
89
|
+
const p = l.indexOf(e);
|
|
90
|
+
let g = [];
|
|
91
|
+
p === -1 ? g = [...l, e] : g = l.filter((k) => k !== e), d?.(g);
|
|
84
92
|
},
|
|
85
|
-
[
|
|
86
|
-
),
|
|
87
|
-
|
|
88
|
-
}, []),
|
|
93
|
+
[l, f, d]
|
|
94
|
+
), de = x((e, p) => {
|
|
95
|
+
L(p);
|
|
96
|
+
}, []), ce = x(
|
|
89
97
|
(e) => {
|
|
90
|
-
|
|
98
|
+
se(parseInt(e.target.value, 10)), L(0);
|
|
91
99
|
},
|
|
92
100
|
[]
|
|
93
|
-
),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
) :
|
|
97
|
-
(e) =>
|
|
98
|
-
[
|
|
99
|
-
),
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
), R = W(() => c ? [...r].sort(Ve(m, c)) : r, [r, m, c]), j = W(() => v ? R.slice(
|
|
102
|
+
y * S,
|
|
103
|
+
y * S + S
|
|
104
|
+
) : R, [R, v, y, S]), he = x(
|
|
105
|
+
(e) => l.includes(e),
|
|
106
|
+
[l]
|
|
107
|
+
), I = l.length, A = r.length, F = A > 0 && I === A, _ = I > 0 && I < A, E = xe(null);
|
|
108
|
+
Ee(() => {
|
|
109
|
+
E.current && (E.current.indeterminate = _);
|
|
110
|
+
});
|
|
111
|
+
const pe = n.length + (s ? 1 : 0);
|
|
112
|
+
return /* @__PURE__ */ b(
|
|
113
|
+
Se,
|
|
102
114
|
{
|
|
103
|
-
ref:
|
|
115
|
+
ref: re,
|
|
104
116
|
sx: {
|
|
105
117
|
width: "100%",
|
|
106
118
|
overflow: "hidden",
|
|
107
119
|
borderRadius: 2
|
|
108
120
|
},
|
|
109
121
|
children: [
|
|
110
|
-
/* @__PURE__ */ t(
|
|
111
|
-
|
|
122
|
+
/* @__PURE__ */ t(ke, { sx: { maxHeight: X }, children: /* @__PURE__ */ b(
|
|
123
|
+
ye,
|
|
112
124
|
{
|
|
113
|
-
stickyHeader:
|
|
114
|
-
size:
|
|
115
|
-
"aria-label":
|
|
125
|
+
stickyHeader: Q,
|
|
126
|
+
size: G,
|
|
127
|
+
"aria-label": te,
|
|
116
128
|
children: [
|
|
117
|
-
/* @__PURE__ */ t(
|
|
118
|
-
|
|
119
|
-
|
|
129
|
+
/* @__PURE__ */ t(Ce, { children: /* @__PURE__ */ b(P, { children: [
|
|
130
|
+
s && f === "multiple" && /* @__PURE__ */ t(h, { padding: "checkbox", children: /* @__PURE__ */ t(
|
|
131
|
+
$,
|
|
120
132
|
{
|
|
121
133
|
color: "primary",
|
|
122
|
-
indeterminate:
|
|
123
|
-
checked:
|
|
124
|
-
onChange:
|
|
134
|
+
indeterminate: _,
|
|
135
|
+
checked: F,
|
|
136
|
+
onChange: le,
|
|
125
137
|
slotProps: { input: {
|
|
126
|
-
"aria-label": "select all rows"
|
|
138
|
+
"aria-label": "select all rows",
|
|
139
|
+
"aria-checked": _ ? "mixed" : F,
|
|
140
|
+
ref: E
|
|
127
141
|
} }
|
|
128
142
|
}
|
|
129
143
|
) }),
|
|
130
|
-
|
|
144
|
+
s && f === "single" && /* @__PURE__ */ t(h, { padding: "checkbox" }),
|
|
131
145
|
n.map((e) => /* @__PURE__ */ t(
|
|
132
|
-
|
|
146
|
+
h,
|
|
133
147
|
{
|
|
134
148
|
align: e.align ?? "left",
|
|
135
149
|
style: { minWidth: e.minWidth },
|
|
136
|
-
sortDirection: c === e.id ?
|
|
150
|
+
sortDirection: c === e.id ? m : !1,
|
|
137
151
|
sx: {
|
|
138
152
|
fontWeight: 600,
|
|
139
|
-
backgroundColor: u.palette.mode === "dark" ?
|
|
153
|
+
backgroundColor: u.palette.mode === "dark" ? V(u.palette.background.paper, 0.9) : u.palette.grey[50]
|
|
140
154
|
},
|
|
141
|
-
children: e.sortable !== !1 ? /* @__PURE__ */
|
|
142
|
-
|
|
155
|
+
children: e.sortable !== !1 ? /* @__PURE__ */ b(
|
|
156
|
+
Pe,
|
|
143
157
|
{
|
|
144
158
|
active: c === e.id,
|
|
145
|
-
direction: c === e.id ?
|
|
146
|
-
onClick: () =>
|
|
159
|
+
direction: c === e.id ? m : "asc",
|
|
160
|
+
onClick: () => oe(e.id),
|
|
147
161
|
children: [
|
|
148
162
|
e.label,
|
|
149
|
-
c === e.id ? /* @__PURE__ */ t(
|
|
163
|
+
c === e.id ? /* @__PURE__ */ t(Oe, { children: m === "desc" ? "sorted descending" : "sorted ascending" }) : null
|
|
150
164
|
]
|
|
151
165
|
}
|
|
152
166
|
) : e.label
|
|
@@ -154,42 +168,39 @@ function Te({
|
|
|
154
168
|
String(e.id)
|
|
155
169
|
))
|
|
156
170
|
] }) }),
|
|
157
|
-
/* @__PURE__ */ t(
|
|
158
|
-
|
|
171
|
+
/* @__PURE__ */ t(ve, { children: a ? /* @__PURE__ */ t(
|
|
172
|
+
De,
|
|
159
173
|
{
|
|
160
174
|
columns: n.length,
|
|
161
175
|
rows: i,
|
|
162
|
-
hasCheckbox:
|
|
176
|
+
hasCheckbox: s
|
|
163
177
|
}
|
|
164
178
|
) : j.length === 0 ? /* @__PURE__ */ t(
|
|
165
|
-
|
|
179
|
+
Le,
|
|
166
180
|
{
|
|
167
|
-
message:
|
|
168
|
-
colSpan:
|
|
169
|
-
component:
|
|
181
|
+
message: Z,
|
|
182
|
+
colSpan: pe,
|
|
183
|
+
component: ee
|
|
170
184
|
}
|
|
171
|
-
) : j.map((e) => {
|
|
172
|
-
const
|
|
173
|
-
return /* @__PURE__ */
|
|
174
|
-
|
|
185
|
+
) : j.map((e, p) => {
|
|
186
|
+
const g = he(e.id), k = `${ae}-row-${p}`, M = s || !!T;
|
|
187
|
+
return /* @__PURE__ */ b(
|
|
188
|
+
P,
|
|
175
189
|
{
|
|
176
190
|
hover: !0,
|
|
177
|
-
onClick: () => {
|
|
178
|
-
|
|
179
|
-
},
|
|
180
|
-
|
|
181
|
-
"aria-checked": d ? o : void 0,
|
|
182
|
-
tabIndex: -1,
|
|
183
|
-
selected: o,
|
|
191
|
+
onClick: M ? (o) => {
|
|
192
|
+
Be(o) || (s && N(e.id), T?.(e));
|
|
193
|
+
} : void 0,
|
|
194
|
+
selected: g,
|
|
184
195
|
sx: {
|
|
185
|
-
cursor:
|
|
196
|
+
cursor: M ? "pointer" : "default",
|
|
186
197
|
"&.Mui-selected": {
|
|
187
|
-
backgroundColor:
|
|
198
|
+
backgroundColor: V(
|
|
188
199
|
u.palette.primary.main,
|
|
189
200
|
u.palette.mode === "dark" ? 0.16 : 0.08
|
|
190
201
|
),
|
|
191
202
|
"&:hover": {
|
|
192
|
-
backgroundColor:
|
|
203
|
+
backgroundColor: V(
|
|
193
204
|
u.palette.primary.main,
|
|
194
205
|
u.palette.mode === "dark" ? 0.24 : 0.12
|
|
195
206
|
)
|
|
@@ -197,19 +208,40 @@ function Te({
|
|
|
197
208
|
}
|
|
198
209
|
},
|
|
199
210
|
children: [
|
|
200
|
-
|
|
201
|
-
|
|
211
|
+
s && /* @__PURE__ */ t(h, { padding: "checkbox", children: /* @__PURE__ */ t(
|
|
212
|
+
$,
|
|
202
213
|
{
|
|
203
214
|
color: "primary",
|
|
204
|
-
checked:
|
|
215
|
+
checked: g,
|
|
216
|
+
onChange: () => N(e.id),
|
|
205
217
|
slotProps: { input: {
|
|
206
|
-
"aria-labelledby":
|
|
218
|
+
"aria-labelledby": k
|
|
207
219
|
} }
|
|
208
220
|
}
|
|
209
221
|
) }),
|
|
210
|
-
n.map((
|
|
211
|
-
const
|
|
212
|
-
return /* @__PURE__ */ t(
|
|
222
|
+
n.map((o, ge) => {
|
|
223
|
+
const O = D(e, o.id), B = o.render ? o.render(O, e) : o.format ? o.format(O) : String(O ?? "");
|
|
224
|
+
return ge !== 0 ? /* @__PURE__ */ t(h, { align: o.align ?? "left", children: B }, String(o.id)) : /* @__PURE__ */ t(
|
|
225
|
+
h,
|
|
226
|
+
{
|
|
227
|
+
id: k,
|
|
228
|
+
align: o.align ?? "left",
|
|
229
|
+
sx: T ? fe : void 0,
|
|
230
|
+
children: T ? /* @__PURE__ */ b(Y, { children: [
|
|
231
|
+
/* @__PURE__ */ t(
|
|
232
|
+
Re,
|
|
233
|
+
{
|
|
234
|
+
disableRipple: !0,
|
|
235
|
+
"aria-labelledby": k,
|
|
236
|
+
onClick: () => T(e),
|
|
237
|
+
sx: ue
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ t(Ie, { component: "span", sx: me, children: B })
|
|
241
|
+
] }) : B
|
|
242
|
+
},
|
|
243
|
+
String(o.id)
|
|
244
|
+
);
|
|
213
245
|
})
|
|
214
246
|
]
|
|
215
247
|
},
|
|
@@ -219,40 +251,40 @@ function Te({
|
|
|
219
251
|
]
|
|
220
252
|
}
|
|
221
253
|
) }),
|
|
222
|
-
|
|
223
|
-
|
|
254
|
+
v && !a && r.length > 0 && /* @__PURE__ */ t(
|
|
255
|
+
Ae,
|
|
224
256
|
{
|
|
225
|
-
rowsPerPageOptions:
|
|
257
|
+
rowsPerPageOptions: J,
|
|
226
258
|
component: "div",
|
|
227
259
|
count: r.length,
|
|
228
|
-
rowsPerPage:
|
|
229
|
-
page:
|
|
230
|
-
onPageChange:
|
|
231
|
-
onRowsPerPageChange:
|
|
260
|
+
rowsPerPage: S,
|
|
261
|
+
page: y,
|
|
262
|
+
onPageChange: de,
|
|
263
|
+
onRowsPerPageChange: ce
|
|
232
264
|
}
|
|
233
265
|
)
|
|
234
266
|
]
|
|
235
267
|
}
|
|
236
268
|
);
|
|
237
269
|
}
|
|
238
|
-
const
|
|
270
|
+
const He = /* @__PURE__ */ q.forwardRef(Ne);
|
|
239
271
|
export {
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
272
|
+
st as ConfirmDialog,
|
|
273
|
+
ht as DataCard,
|
|
274
|
+
gt as FileUpload,
|
|
275
|
+
et as IllustratedMessage,
|
|
276
|
+
ot as Modal,
|
|
277
|
+
He as SimpleTable,
|
|
278
|
+
lt as StatusIndicator,
|
|
279
|
+
tt as StatusLegend,
|
|
280
|
+
rt as Toast,
|
|
281
|
+
at as ToastProvider,
|
|
282
|
+
Qe as baseTokens,
|
|
283
|
+
Je as brandColors,
|
|
284
|
+
Ke as darkTheme,
|
|
285
|
+
Ue as lightTheme,
|
|
286
|
+
Xe as semanticTokens,
|
|
287
|
+
dt as useConfirmDialog,
|
|
288
|
+
nt as useToast,
|
|
289
|
+
ze as useTrinityTokens
|
|
258
290
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
import R from "@mui/utils/useEnhancedEffect";
|
|
3
|
+
import f from "@mui/utils/getActiveElement";
|
|
4
|
+
import p from "@mui/utils/ownerDocument";
|
|
5
|
+
function a(t, n) {
|
|
6
|
+
return n == null || n === t.body || n === t.documentElement;
|
|
7
|
+
}
|
|
8
|
+
function k(t) {
|
|
9
|
+
return !!(!t.isConnected || t.matches(":disabled") || t.closest("[inert]") !== null || typeof t.checkVisibility == "function" && !t.checkVisibility());
|
|
10
|
+
}
|
|
11
|
+
function d(t) {
|
|
12
|
+
return t ? (typeof t == "function" ? t() : t.current) ?? null : null;
|
|
13
|
+
}
|
|
14
|
+
function g(t) {
|
|
15
|
+
return !t || !t.isConnected ? !1 : (t.focus(), f(p(t)) === t);
|
|
16
|
+
}
|
|
17
|
+
function C(t = {}) {
|
|
18
|
+
const { target: n, fallbackRef: b } = t, s = i.useRef(null), u = i.useRef(null), [, h] = i.useState(0), m = i.useCallback((c) => {
|
|
19
|
+
if (typeof document > "u") return;
|
|
20
|
+
const e = p(s.current), r = f(e);
|
|
21
|
+
u.current = {
|
|
22
|
+
doc: e,
|
|
23
|
+
trigger: a(e, r) ? null : r,
|
|
24
|
+
target: c
|
|
25
|
+
}, h((o) => o + 1);
|
|
26
|
+
}, []);
|
|
27
|
+
return R(() => {
|
|
28
|
+
const c = u.current;
|
|
29
|
+
if (!c) return;
|
|
30
|
+
const { doc: e, trigger: r } = c, o = f(e), l = r === null || k(r);
|
|
31
|
+
if (a(e, o)) {
|
|
32
|
+
if (!l) {
|
|
33
|
+
u.current = null;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
} else if (o === r) {
|
|
37
|
+
if (!l) return;
|
|
38
|
+
} else {
|
|
39
|
+
u.current = null;
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
u.current = null, !g(d(c.target ?? n ?? s)) && (g(d(b)) || process.env.NODE_ENV !== "production" && console.warn(
|
|
43
|
+
"[trinity] useFocusOnReplace: focus was lost, but neither the target nor the fallback could take focus. Pass a connected, focusable element as the target or fallbackRef."
|
|
44
|
+
));
|
|
45
|
+
}), { targetRef: s, focusAfterCommit: m };
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
C as u
|
|
49
|
+
};
|
package/dist/form.d.ts
CHANGED
|
@@ -7,10 +7,28 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
export type ValidationRule<T = unknown> = {
|
|
9
9
|
/** Validation function - return true if valid, false or error message if invalid */
|
|
10
|
-
validate: (value: T) => boolean | string;
|
|
10
|
+
validate: (value: T, values?: Record<string, unknown>) => boolean | string;
|
|
11
11
|
/** Error message if validate returns false */
|
|
12
12
|
message?: string;
|
|
13
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* An asynchronous validation rule: `validate` resolves to `true` when the value
|
|
16
|
+
* is valid, or to `false` or an error message when it is not.
|
|
17
|
+
*
|
|
18
|
+
* @since 2.13.0
|
|
19
|
+
*/
|
|
20
|
+
export type AsyncValidationRule<T = unknown> = {
|
|
21
|
+
/** Async validation function using the same value/snapshot contract */
|
|
22
|
+
validate: (value: T, values?: Record<string, unknown>) => Promise<boolean | string>;
|
|
23
|
+
/** Error message if validate resolves to false */
|
|
24
|
+
message?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A synchronous or asynchronous validation rule.
|
|
28
|
+
*
|
|
29
|
+
* @since 2.13.0
|
|
30
|
+
*/
|
|
31
|
+
export type FormValidationRule<T = unknown> = ValidationRule<T> | AsyncValidationRule<T>;
|
|
14
32
|
export type FieldState = {
|
|
15
33
|
/** Current field value */
|
|
16
34
|
value: unknown;
|
|
@@ -27,7 +45,7 @@ export type FieldConfig<T = unknown> = {
|
|
|
27
45
|
/** Initial value */
|
|
28
46
|
initialValue?: T;
|
|
29
47
|
/** Validation rules */
|
|
30
|
-
rules?:
|
|
48
|
+
rules?: FormValidationRule<T>[];
|
|
31
49
|
/** Whether to validate on change */
|
|
32
50
|
validateOnChange?: boolean;
|
|
33
51
|
/** Whether to validate on blur */
|
|
@@ -48,6 +66,8 @@ export type FormState = {
|
|
|
48
66
|
isTouched: boolean;
|
|
49
67
|
/** Whether any field is dirty */
|
|
50
68
|
isDirty: boolean;
|
|
69
|
+
/** Most recent submit failure, if any */
|
|
70
|
+
submitError?: unknown | null;
|
|
51
71
|
};
|
|
52
72
|
export type FormContextValue = {
|
|
53
73
|
/** Form state */
|
|
@@ -84,6 +104,8 @@ export interface FormProviderProps {
|
|
|
84
104
|
onSubmit?: (values: Record<string, unknown>) => void | Promise<void>;
|
|
85
105
|
/** Called when validation fails */
|
|
86
106
|
onValidationError?: (errors: Record<string, string>) => void;
|
|
107
|
+
/** Called when the submit handler rejects or throws */
|
|
108
|
+
onSubmitError?: (error: unknown) => void;
|
|
87
109
|
/** Whether to validate all fields on submit */
|
|
88
110
|
validateOnSubmit?: boolean;
|
|
89
111
|
}
|
|
@@ -115,7 +137,7 @@ export interface UseFormFieldOptions<T = unknown> {
|
|
|
115
137
|
/** Initial value */
|
|
116
138
|
initialValue?: T;
|
|
117
139
|
/** Validation rules */
|
|
118
|
-
rules?:
|
|
140
|
+
rules?: FormValidationRule<T>[];
|
|
119
141
|
/** Whether to validate on change */
|
|
120
142
|
validateOnChange?: boolean;
|
|
121
143
|
/** Whether to validate on blur */
|
|
@@ -208,5 +230,5 @@ export declare const max: (maxValue: number, message?: string) => ValidationRule
|
|
|
208
230
|
/**
|
|
209
231
|
* Custom validation rule.
|
|
210
232
|
*/
|
|
211
|
-
export declare const custom: <T>(validateFn:
|
|
233
|
+
export declare const custom: <T>(validateFn: ValidationRule<T>["validate"], message?: string) => ValidationRule<T>;
|
|
212
234
|
//# sourceMappingURL=form.d.ts.map
|
package/dist/form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../src/form.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmF,MAAM,OAAO,CAAC;AAMxG,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,OAAO,IAAI;IACxC,oFAAoF;IACpF,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../src/form.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAmF,MAAM,OAAO,CAAC;AAMxG,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,OAAO,IAAI;IACxC,oFAAoF;IACpF,QAAQ,EAAE,CACR,KAAK,EAAE,CAAC,EACR,MAAM,CAAC,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