impact-nova 3.0.0-alpha.2 → 3.0.0-alpha.22
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/README.md +1 -1
- package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +3 -1
- package/dist/components/data/ag-grid-react/ag-grid-list.demo-board.d.ts +46 -0
- package/dist/components/data/ag-grid-react/ag-grid-list.js +9 -8
- package/dist/components/data/ag-grid-react/ag-grid-list.key-attributes.d.ts +1 -0
- package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +65 -3
- package/dist/components/data/ag-grid-react/build-list-drag-column-defs.d.ts +8 -0
- package/dist/components/data/ag-grid-react/build-list-drag-column-defs.js +28 -0
- package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.d.ts +2 -0
- package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.js +15 -14
- package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.d.ts +10 -0
- package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.js +17 -0
- package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.d.ts +18 -0
- package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.js +32 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +71 -46
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +53 -49
- package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +45 -7
- package/dist/components/data/ag-grid-react/cell-renderers/index.js +70 -58
- package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +88 -76
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +31 -33
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +18 -17
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +5 -11
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +127 -51
- package/dist/components/data/ag-grid-react/editable-utils.d.ts +9 -1
- package/dist/components/data/ag-grid-react/editable-utils.js +46 -41
- package/dist/components/data/ag-grid-react/headers/custom-header.js +110 -108
- package/dist/components/data/ag-grid-react/headers/header-search-input.js +203 -199
- package/dist/components/data/ag-grid-react/index.d.ts +6 -1
- package/dist/components/data/ag-grid-react/index.js +316 -248
- package/dist/components/data/ag-grid-react/list-drag-grid-options.d.ts +34 -0
- package/dist/components/data/ag-grid-react/list-drag-grid-options.js +110 -0
- package/dist/components/data/ag-grid-react/list-drag-preview-card.d.ts +4 -0
- package/dist/components/data/ag-grid-react/list-drag-preview-card.js +14 -0
- package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.d.ts +20 -0
- package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.js +42 -0
- package/dist/components/data/ag-grid-react/list-find-highlight.d.ts +6 -0
- package/dist/components/data/ag-grid-react/list-find-highlight.js +7 -0
- package/dist/components/data/ag-grid-react/list-row-move.d.ts +84 -0
- package/dist/components/data/ag-grid-react/list-row-move.js +74 -0
- package/dist/components/data/ag-grid-react/numeric-column-header-alignment.d.ts +9 -0
- package/dist/components/data/ag-grid-react/numeric-column-header-alignment.js +67 -0
- package/dist/components/data/ag-grid-react/process-backend-columndefs.d.ts +10 -2
- package/dist/components/data/ag-grid-react/process-backend-columndefs.js +84 -0
- package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.d.ts +67 -0
- package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.js +162 -0
- package/dist/components/data/ag-grid-react/use-list-drag-preview.d.ts +20 -0
- package/dist/components/data/ag-grid-react/use-list-drag-preview.js +148 -0
- package/dist/components/data/ag-grid-react/use-list-find.d.ts +36 -0
- package/dist/components/data/ag-grid-react/use-list-row-drop-zones.d.ts +46 -0
- package/dist/components/data/ag-grid-react/use-list-row-drop-zones.js +92 -0
- package/dist/components/data/data-table/build-column-tree-from-grid.js +15 -15
- package/dist/components/data/data-table/column-picker-authority.js +9 -9
- package/dist/components/data/data-table/data-table-column-apply.js +30 -29
- package/dist/components/data/data-table/data-table-column-tree-cache.js +62 -60
- package/dist/components/data/data-table/data-table-list-header.d.ts +7 -0
- package/dist/components/data/data-table/data-table-list-header.js +31 -0
- package/dist/components/data/data-table/data-table-overlay.d.ts +6 -0
- package/dist/components/data/data-table/data-table-overlay.js +18 -0
- package/dist/components/data/data-table/data-table-picker-column-eligibility.d.ts +3 -0
- package/dist/components/data/data-table/data-table-picker-column-eligibility.js +24 -4
- package/dist/components/data/data-table/data-table.js +35 -34
- package/dist/components/data/data-table/data-table.types.d.ts +13 -2
- package/dist/components/data/data-table/index.d.ts +10 -0
- package/dist/components/data/data-table/index.js +64 -52
- package/dist/components/data/data-table/use-data-table-viewport.d.ts +10 -0
- package/dist/components/data/data-table/use-data-table-viewport.js +31 -0
- package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
- package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
- package/dist/components/data/expandable-list-item/index.d.ts +2 -0
- package/dist/components/data/expandable-list-item/index.js +20 -16
- package/dist/components/data/expandable-list-item/product-card-hero.d.ts +15 -0
- package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.d.ts +8 -0
- package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.js +41 -0
- package/dist/components/data/expandable-list-item/product-card-metrics-toggle.d.ts +13 -0
- package/dist/components/data/expandable-list-item/product-card-metrics-toggle.js +27 -0
- package/dist/components/data/expandable-list-item/sku-picker-chrome.d.ts +40 -0
- package/dist/components/data/expandable-list-item/sku-picker-chrome.js +150 -0
- package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +2 -1
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +5 -4
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +3 -2
- package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.d.ts +2 -0
- package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.js +16 -0
- package/dist/components/data/scenario-comparison/index.d.ts +3 -0
- package/dist/components/data/scenario-comparison/index.js +6 -0
- package/dist/components/data/scenario-comparison/scenario-comparison-column.d.ts +12 -0
- package/dist/components/data/scenario-comparison/scenario-comparison-column.js +172 -0
- package/dist/components/data/scenario-comparison/scenario-comparison-label.d.ts +6 -0
- package/dist/components/data/scenario-comparison/scenario-comparison-label.js +64 -0
- package/dist/components/data/scenario-comparison/scenario-comparison.d.ts +5 -0
- package/dist/components/data/scenario-comparison/scenario-comparison.js +127 -0
- package/dist/components/data/scenario-comparison/scenario-comparison.types.d.ts +56 -0
- package/dist/components/data/scenario-comparison/scenario-comparison.variants.d.ts +7 -0
- package/dist/components/data/scenario-comparison/scenario-comparison.variants.js +29 -0
- package/dist/components/data-display/badge/index.d.ts +2 -0
- package/dist/components/data-display/badge/index.js +4 -2
- package/dist/components/data-display/badge/trophy-icon.d.ts +6 -0
- package/dist/components/data-display/badge/trophy-icon.js +28 -0
- package/dist/components/data-display/chart/chart-heatmap-layout.d.ts +31 -0
- package/dist/components/data-display/chart/chart-heatmap-layout.js +72 -0
- package/dist/components/data-display/chart/chart-scatter3d.d.ts +39 -0
- package/dist/components/data-display/chart/chart-scatter3d.js +180 -0
- package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +1 -1
- package/dist/components/data-display/chart/chart.js +171 -143
- package/dist/components/data-display/chart/chart.types.d.ts +17 -0
- package/dist/components/data-display/chart/chart.utils.js +122 -92
- package/dist/components/data-display/heatmap-grid/heatmap-grid-play.d.ts +9 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.d.ts +32 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.js +93 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.d.ts +46 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.js +80 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.types.d.ts +54 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.d.ts +18 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.js +80 -0
- package/dist/components/data-display/heatmap-grid/index.d.ts +3 -0
- package/dist/components/data-display/heatmap-grid/index.js +14 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.d.ts +14 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.js +39 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.d.ts +29 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.js +33 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.d.ts +4 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.js +49 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.d.ts +3 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.js +173 -0
- package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.d.ts +12 -0
- package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.js +161 -0
- package/dist/components/data-display/stereo-scatter/index.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/index.js +10 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.d.ts +41 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.js +178 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.d.ts +14 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.js +29 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.d.ts +23 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.js +80 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine.d.ts +120 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-engine.js +519 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-math.d.ts +64 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-math.js +129 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-model.d.ts +37 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-model.js +71 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.d.ts +33 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.js +19 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.d.ts +4 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.js +19 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.js +75 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.js +149 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.d.ts +13 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.js +93 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.d.ts +2 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.js +62 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.d.ts +3 -0
- package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.js +41 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.d.ts +12 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.js +107 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.stories-data.d.ts +11 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.types.d.ts +69 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.d.ts +13 -0
- package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.js +42 -0
- package/dist/components/feedback/find-bar/collect-find-matches.d.ts +35 -0
- package/dist/components/feedback/find-bar/collect-find-matches.js +68 -0
- package/dist/components/feedback/find-bar/find-bar-shortcuts.d.ts +5 -0
- package/dist/components/feedback/find-bar/find-bar-shortcuts.js +27 -0
- package/dist/components/feedback/find-bar/find-bar.d.ts +7 -0
- package/dist/components/feedback/find-bar/find-bar.js +266 -0
- package/dist/components/feedback/find-bar/find-bar.types.d.ts +32 -0
- package/dist/components/feedback/find-bar/index.d.ts +4 -0
- package/dist/components/feedback/find-bar/index.js +11 -0
- package/dist/components/feedback/tooltip/button-icon-tooltip.d.ts +6 -1
- package/dist/components/feedback/tooltip/button-icon-tooltip.js +22 -17
- package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
- package/dist/components/feedback/tooltip/use-overflow-tooltip.js +44 -36
- package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
- package/dist/components/flows/filter-panel/filter-panel.js +4 -4
- package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.d.ts +5 -0
- package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.js +73 -0
- package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.d.ts +5 -0
- package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.js +49 -0
- package/dist/components/flows/iris-chat/IrisChatSnapTile.d.ts +8 -0
- package/dist/components/flows/iris-chat/IrisChatSnapTile.js +30 -0
- package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.d.ts +3 -0
- package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.js +25 -0
- package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.d.ts +4 -0
- package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.js +113 -0
- package/dist/components/flows/iris-chat/index.d.ts +3 -1
- package/dist/components/flows/iris-chat/index.js +58 -53
- package/dist/components/flows/iris-chat/iris-chat-artifact.js +46 -36
- package/dist/components/flows/iris-chat/iris-chat-chrome.d.ts +39 -0
- package/dist/components/flows/iris-chat/iris-chat-chrome.js +311 -0
- package/dist/components/flows/iris-chat/iris-chat-close-animation.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-close-animation.js +21 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.js +291 -234
- package/dist/components/flows/iris-chat/iris-chat-context.d.ts +16 -0
- package/dist/components/flows/iris-chat/iris-chat-context.js +14 -10
- package/dist/components/flows/iris-chat/iris-chat-copy-feedback.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-copy-feedback.js +16 -0
- package/dist/components/flows/iris-chat/iris-chat-frame.d.ts +32 -0
- package/dist/components/flows/iris-chat/iris-chat-frame.js +88 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +2 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.js +46 -20
- package/dist/components/flows/iris-chat/iris-chat-launch-animation.d.ts +11 -0
- package/dist/components/flows/iris-chat/iris-chat-launch-animation.js +35 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.js +82 -42
- package/dist/components/flows/iris-chat/iris-chat-menu.js +149 -117
- package/dist/components/flows/iris-chat/iris-chat-snap-presets.d.ts +7 -0
- package/dist/components/flows/iris-chat/iris-chat-snap-presets.js +83 -0
- package/dist/components/flows/iris-chat/iris-chat-speech.d.ts +52 -0
- package/dist/components/flows/iris-chat/iris-chat-speech.js +121 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.js +277 -220
- package/dist/components/flows/iris-chat/iris-chat-window-chrome.d.ts +33 -0
- package/dist/components/flows/iris-chat/iris-chat-window-chrome.js +37 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.js +15 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-window-geometry.js +113 -0
- package/dist/components/flows/iris-chat/iris-chat-window-handles.d.ts +6 -0
- package/dist/components/flows/iris-chat/iris-chat-window-handles.js +50 -0
- package/dist/components/flows/iris-chat/iris-chat-window-shell.d.ts +8 -0
- package/dist/components/flows/iris-chat/iris-chat-window-shell.js +37 -0
- package/dist/components/flows/iris-chat/iris-chat.d.ts +3 -39
- package/dist/components/flows/iris-chat/iris-chat.js +22 -330
- package/dist/components/flows/iris-chat/iris-chat.types.d.ts +20 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +4 -3
- package/dist/components/flows/iris-chat/iris-chat.variants.js +45 -22
- package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.d.ts +6 -0
- package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.js +23 -0
- package/dist/components/flows/iris-chat/use-iris-chat-root.d.ts +29 -0
- package/dist/components/flows/iris-chat/use-iris-chat-root.js +162 -0
- package/dist/components/forms/choice-card/choice-card-compare-scroll.d.ts +4 -0
- package/dist/components/forms/choice-card/choice-card-compare-scroll.js +6 -0
- package/dist/components/forms/choice-card/choice-card-percent.js +82 -51
- package/dist/components/forms/choice-card/choice-card.d.ts +14 -2
- package/dist/components/forms/choice-card/choice-card.js +470 -381
- package/dist/components/forms/choice-card/choice-card.types.d.ts +9 -2
- package/dist/components/forms/choice-card/choice-card.variants.js +24 -3
- package/dist/components/forms/input/input.js +5 -5
- package/dist/components/forms/select/components/SelectMenuPanel.js +15 -15
- package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
- package/dist/components/forms/select/components/Submenu.js +3 -2
- package/dist/components/layout/header/header.js +1 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.d.ts +3 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.js +12 -0
- package/dist/components/layout/horizontal-scroller/horizontal-scroller.js +181 -125
- package/dist/components/layout/horizontal-scroller/horizontal-scroller.types.d.ts +2 -0
- package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.d.ts +3 -1
- package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.js +77 -67
- package/dist/components/primitives/button/button.variants.js +1 -1
- package/dist/components/primitives/iris/iris-insight-truncated-text.d.ts +3 -0
- package/dist/components/primitives/iris/iris-insight-truncated-text.js +33 -0
- package/dist/components/primitives/iris/iris.d.ts +3 -1
- package/dist/components/primitives/iris/iris.js +85 -91
- package/dist/components/primitives/iris/iris.types.d.ts +9 -0
- package/dist/components/primitives/stepper/internals/step-model.d.ts +1 -1
- package/dist/components/primitives/stepper/internals/step-model.js +5 -5
- package/dist/components/primitives/stepper/internals/stepper-compact.js +13 -13
- package/dist/components/primitives/stepper/internals/stepper-pipeline.js +6 -6
- package/dist/components/primitives/stepper/internals/stepper-rail.js +15 -15
- package/dist/components/primitives/stepper/internals/stepper-summary.js +7 -7
- package/dist/components/primitives/stepper/internals/stepper-track.js +2 -2
- package/dist/components/primitives/stepper/stepper.js +99 -97
- package/dist/components/primitives/stepper/stepper.types.d.ts +4 -0
- package/dist/components/primitives/tabs/folder-tab-path.d.ts +6 -0
- package/dist/components/primitives/tabs/folder-tab-path.js +16 -0
- package/dist/components/primitives/tabs/tabs.js +178 -112
- package/dist/components/primitives/tabs/tabs.types.d.ts +1 -1
- package/dist/form-react/Fields/SelectField.js +66 -57
- package/dist/form-react/Fields/VirtualizedListField.d.ts +3 -0
- package/dist/form-react/Fields/VirtualizedListField.js +223 -0
- package/dist/form-react/fields.d.ts +1 -0
- package/dist/form-react/fields.js +28 -26
- package/dist/form-react/index.d.ts +1 -1
- package/dist/form-react/registry/defaultFieldRegistrations.d.ts +1 -1
- package/dist/form-react/registry/defaultFieldRegistrations.js +13 -12
- package/dist/form-react/types/fields.types.d.ts +48 -1
- package/dist/form-react/types/fieldsOutput.types.d.ts +4 -1
- package/dist/form-react/types/reactHookForm.types.d.ts +18 -1
- package/dist/form-react/utils/fieldDefaults.utils.js +1 -1
- package/dist/i18n/defaultMessages.d.ts +75 -0
- package/dist/i18n/defaultMessages.js +112 -42
- package/dist/i18n/impact-nova-i18n-defaults.d.ts +5 -0
- package/dist/i18n/impact-nova-i18n-defaults.js +4 -9
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/de.js +71 -1
- package/dist/i18n/locales/es.js +71 -1
- package/dist/i18n/locales/hi.js +71 -1
- package/dist/i18n/locales/kn.js +71 -1
- package/dist/impact-nova-components.css +372 -14
- package/dist/impact-nova-tokens.scss +4 -0
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +627 -601
- package/dist/lib/alphabetical-sort.d.ts +3 -0
- package/dist/lib/alphabetical-sort.js +13 -0
- package/dist/lib/guidance/engine/guidance-engine.js +26 -27
- package/dist/lib/guidance/engine/step-navigation.d.ts +1 -0
- package/dist/lib/guidance/engine/step-navigation.js +16 -9
- package/dist/lib/guidance/types/guidance.types.d.ts +9 -1
- package/dist/lib/virtualized/index.d.ts +2 -0
- package/dist/lib/virtualized/index.js +35 -31
- package/dist/lib/virtualized/list-index.d.ts +5 -0
- package/dist/lib/virtualized/list-index.js +13 -0
- package/dist/lib/virtualized/read-infinite-query-list.d.ts +14 -0
- package/dist/lib/virtualized/read-infinite-query-list.js +12 -0
- package/dist/lib/virtualized/types.d.ts +4 -2
- package/dist/lib/virtualized/useRowState.js +60 -56
- package/dist/lib/virtualized/useVirtualizedList.d.ts +5 -0
- package/dist/llms/rules/ag-grid.js +1 -1
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/real-world-patterns.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/tailwind.config.js +3 -0
- package/dist/theme/tailwind-colors.js +3 -0
- package/package.json +27 -4
|
@@ -1,118 +1,128 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as I, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { ChevronRight as
|
|
4
|
-
import { Button as
|
|
3
|
+
import { ChevronRight as R } from "impact-nova-icons";
|
|
4
|
+
import { Button as D } from "../../primitives/button/button.js";
|
|
5
5
|
import { useImpactNovaI18n as L } from "../../../i18n/use-impact-nova-i18n.js";
|
|
6
|
-
import { cn as
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
function $(a, o) {
|
|
10
|
-
if (!(!a && !o))
|
|
11
|
-
return a && o ? `linear-gradient(to right, transparent, black ${s}px, black calc(100% - ${s}px), transparent)` : o ? `linear-gradient(to right, black, black calc(100% - ${s}px), transparent 100%)` : `linear-gradient(to right, transparent, black ${s}px, black)`;
|
|
12
|
-
}
|
|
13
|
-
const u = "pointer-events-none absolute top-0 z-10 h-full w-14";
|
|
6
|
+
import { cn as o } from "../../../lib/utils.js";
|
|
7
|
+
import { horizontalScrollerEdgeFadeClassName as v, buildHorizontalScrollerMaskImage as C } from "./horizontal-scroller-mask.js";
|
|
8
|
+
import { useHorizontalScrollOverflow as A } from "./use-horizontal-scroll-overflow.js";
|
|
14
9
|
function F({
|
|
15
|
-
children:
|
|
16
|
-
scrollStep:
|
|
17
|
-
contentDependency:
|
|
18
|
-
hideScrollbar:
|
|
10
|
+
children: m,
|
|
11
|
+
scrollStep: h,
|
|
12
|
+
contentDependency: u,
|
|
13
|
+
hideScrollbar: l = !0,
|
|
19
14
|
viewportClassName: g,
|
|
20
|
-
viewportDataComponent:
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
viewportDataComponent: b = "scroll-overflow-affordance-viewport",
|
|
16
|
+
controlSize: p = "compact",
|
|
17
|
+
className: w,
|
|
18
|
+
...x
|
|
23
19
|
}) {
|
|
24
|
-
const { t:
|
|
25
|
-
scrollRef:
|
|
26
|
-
canScrollLeft:
|
|
27
|
-
canScrollRight:
|
|
28
|
-
scrollLeft:
|
|
29
|
-
scrollRight:
|
|
30
|
-
} =
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
const { t: s } = L(), {
|
|
21
|
+
scrollRef: y,
|
|
22
|
+
canScrollLeft: t,
|
|
23
|
+
canScrollRight: a,
|
|
24
|
+
scrollLeft: i,
|
|
25
|
+
scrollRight: c
|
|
26
|
+
} = A({ scrollStep: h, contentDependency: u }), f = C(
|
|
27
|
+
t,
|
|
28
|
+
a
|
|
29
|
+
), k = (e) => {
|
|
30
|
+
if (e.key === "ArrowLeft" && t) {
|
|
31
|
+
e.preventDefault(), i();
|
|
33
32
|
return;
|
|
34
33
|
}
|
|
35
|
-
e.key === "ArrowRight" &&
|
|
36
|
-
},
|
|
37
|
-
if (
|
|
38
|
-
const
|
|
39
|
-
return /* @__PURE__ */
|
|
40
|
-
|
|
34
|
+
e.key === "ArrowRight" && a && (e.preventDefault(), c());
|
|
35
|
+
}, d = (e, z, N) => {
|
|
36
|
+
if (N) return null;
|
|
37
|
+
const S = s(e === "left" ? "horizontalScroller.scrollLeft" : "horizontalScroller.scrollRight"), n = p === "default";
|
|
38
|
+
return /* @__PURE__ */ r(
|
|
39
|
+
D,
|
|
41
40
|
{
|
|
42
41
|
variant: "ghost",
|
|
43
|
-
size: "iconSm",
|
|
44
|
-
className:
|
|
45
|
-
"absolute top-1/2 z-20
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
size: n ? "icon" : "iconSm",
|
|
43
|
+
className: o(
|
|
44
|
+
"absolute top-1/2 z-20 -translate-y-1/2",
|
|
45
|
+
n ? o(
|
|
46
|
+
"h-8 w-8 shrink-0 rounded-md border border-solid border-border-subtle",
|
|
47
|
+
"bg-canvas-elevated text-content-tertiary shadow-sm",
|
|
48
|
+
"hover:bg-canvas-elevated hover:text-brand",
|
|
49
|
+
e === "left" ? "left-1" : "right-1"
|
|
50
|
+
) : o(
|
|
51
|
+
"!size-5 !min-h-5 !min-w-5 rounded-full border border-stroke-hairline p-0",
|
|
52
|
+
"bg-canvas-elevated/95 text-content-secondary shadow-sm",
|
|
53
|
+
"hover:bg-canvas-muted hover:text-content",
|
|
54
|
+
"[&_svg]:!size-3",
|
|
55
|
+
e === "left" ? "left-0.5" : "right-0.5"
|
|
56
|
+
)
|
|
50
57
|
),
|
|
51
|
-
onClick:
|
|
52
|
-
"aria-label":
|
|
58
|
+
onClick: z,
|
|
59
|
+
"aria-label": S,
|
|
53
60
|
"data-component": e === "left" ? "scroll-overflow-affordance-prev" : "scroll-overflow-affordance-next",
|
|
54
61
|
tabIndex: -1,
|
|
55
|
-
children: /* @__PURE__ */
|
|
56
|
-
|
|
62
|
+
children: /* @__PURE__ */ r(
|
|
63
|
+
R,
|
|
57
64
|
{
|
|
58
|
-
className:
|
|
65
|
+
className: o(
|
|
66
|
+
n ? "h-4 w-4" : void 0,
|
|
67
|
+
e === "left" && "rotate-180"
|
|
68
|
+
)
|
|
59
69
|
}
|
|
60
70
|
)
|
|
61
71
|
}
|
|
62
72
|
);
|
|
63
73
|
};
|
|
64
|
-
return /* @__PURE__ */
|
|
74
|
+
return /* @__PURE__ */ I(
|
|
65
75
|
"div",
|
|
66
76
|
{
|
|
67
|
-
className:
|
|
77
|
+
className: o("relative min-w-0", w),
|
|
68
78
|
"data-component": "scroll-overflow-affordance",
|
|
69
|
-
...
|
|
79
|
+
...x,
|
|
70
80
|
children: [
|
|
71
|
-
|
|
81
|
+
t ? /* @__PURE__ */ r(
|
|
72
82
|
"div",
|
|
73
83
|
{
|
|
74
84
|
"aria-hidden": !0,
|
|
75
85
|
"data-component": "scroll-overflow-affordance-fade-left",
|
|
76
|
-
className:
|
|
77
|
-
|
|
86
|
+
className: o(
|
|
87
|
+
v,
|
|
78
88
|
"left-0 bg-gradient-to-r from-canvas-elevated from-10% via-canvas-elevated/90 via-50% to-transparent"
|
|
79
89
|
)
|
|
80
90
|
}
|
|
81
91
|
) : null,
|
|
82
|
-
|
|
92
|
+
a ? /* @__PURE__ */ r(
|
|
83
93
|
"div",
|
|
84
94
|
{
|
|
85
95
|
"aria-hidden": !0,
|
|
86
96
|
"data-component": "scroll-overflow-affordance-fade-right",
|
|
87
|
-
className:
|
|
88
|
-
|
|
97
|
+
className: o(
|
|
98
|
+
v,
|
|
89
99
|
"right-0 bg-gradient-to-l from-canvas-elevated from-10% via-canvas-elevated/90 via-50% to-transparent"
|
|
90
100
|
)
|
|
91
101
|
}
|
|
92
102
|
) : null,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/* @__PURE__ */
|
|
103
|
+
d("left", i, !t),
|
|
104
|
+
d("right", c, !a),
|
|
105
|
+
/* @__PURE__ */ r(
|
|
96
106
|
"div",
|
|
97
107
|
{
|
|
98
|
-
ref:
|
|
108
|
+
ref: y,
|
|
99
109
|
tabIndex: 0,
|
|
100
|
-
onKeyDown:
|
|
101
|
-
className:
|
|
110
|
+
onKeyDown: k,
|
|
111
|
+
className: o(
|
|
102
112
|
"overflow-x-auto overflow-y-hidden overscroll-x-contain scroll-smooth outline-none",
|
|
103
113
|
"[-webkit-overflow-scrolling:touch]",
|
|
104
114
|
"focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
|
|
105
|
-
|
|
115
|
+
l && "scrollbar-hide",
|
|
106
116
|
g
|
|
107
117
|
),
|
|
108
118
|
style: {
|
|
109
|
-
scrollbarWidth:
|
|
110
|
-
msOverflowStyle:
|
|
111
|
-
WebkitMaskImage:
|
|
112
|
-
maskImage:
|
|
119
|
+
scrollbarWidth: l ? "none" : "auto",
|
|
120
|
+
msOverflowStyle: l ? "none" : "auto",
|
|
121
|
+
WebkitMaskImage: f,
|
|
122
|
+
maskImage: f
|
|
113
123
|
},
|
|
114
|
-
"data-component":
|
|
115
|
-
children:
|
|
124
|
+
"data-component": b,
|
|
125
|
+
children: m
|
|
116
126
|
}
|
|
117
127
|
)
|
|
118
128
|
]
|
|
@@ -12,7 +12,7 @@ const i = e(
|
|
|
12
12
|
secondary: "bg-secondary text-secondary-foreground hover:bg-accent hover:text-secondary-hover-foreground disabled:bg-disabled-surface disabled:text-disabled-foreground disabled:opacity-100",
|
|
13
13
|
tertiary: "border border-stroke-field bg-canvas text-content hover:bg-accent hover:text-secondary-hover-foreground hover:border-secondary-hover-foreground disabled:bg-disabled-surface disabled:border-stroke disabled:text-disabled-foreground disabled:opacity-100",
|
|
14
14
|
ghost: "text-content hover:bg-accent hover:text-accent-foreground disabled:text-disabled-foreground disabled:opacity-50",
|
|
15
|
-
link: "text-brand
|
|
15
|
+
link: "text-brand hover:text-brand-strong disabled:text-disabled-foreground disabled:opacity-50"
|
|
16
16
|
},
|
|
17
17
|
size: {
|
|
18
18
|
default: "h-8 min-h-8 px-3 py-1.5",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IrisInsightTruncatedTextProps } from './iris.types';
|
|
2
|
+
/** Default truncated Iris insight label + overflow tooltip (white fill, iris ring). */
|
|
3
|
+
export declare function IrisInsightTruncatedText({ children, overflowTooltipContent, className, triggerClassName, as, }: IrisInsightTruncatedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { OverflowTooltip as a } from "../../feedback/tooltip/overflow-tooltip.js";
|
|
3
|
+
import { cn as p } from "../../../lib/utils.js";
|
|
4
|
+
function c({
|
|
5
|
+
children: t,
|
|
6
|
+
overflowTooltipContent: o,
|
|
7
|
+
className: n,
|
|
8
|
+
triggerClassName: e,
|
|
9
|
+
as: r = "span"
|
|
10
|
+
}) {
|
|
11
|
+
const s = o ?? (typeof t == "string" ? t : void 0);
|
|
12
|
+
return /* @__PURE__ */ i(
|
|
13
|
+
a,
|
|
14
|
+
{
|
|
15
|
+
as: r,
|
|
16
|
+
triggerClassName: p(
|
|
17
|
+
"block w-full min-w-0 truncate whitespace-nowrap normal-case",
|
|
18
|
+
e
|
|
19
|
+
),
|
|
20
|
+
contentClassName: "iris-menu-overflow-tooltip",
|
|
21
|
+
variant: "secondary",
|
|
22
|
+
side: "top",
|
|
23
|
+
align: "end",
|
|
24
|
+
sideOffset: 8,
|
|
25
|
+
content: s,
|
|
26
|
+
className: n,
|
|
27
|
+
children: t
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export {
|
|
32
|
+
c as IrisInsightTruncatedText
|
|
33
|
+
};
|
|
@@ -14,11 +14,13 @@ declare const IrisMenu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
14
14
|
appearance?: import('./iris.types').IrisMenuAppearance;
|
|
15
15
|
onAskInChat?: () => void;
|
|
16
16
|
askInChatLabel?: string;
|
|
17
|
+
overflowTooltipContent?: React.ReactNode;
|
|
17
18
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
18
19
|
declare const IrisInsight: React.ForwardRefExoticComponent<IrisInsightProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
20
|
export { IrisControlProvider, IrisControlRegion, } from './iris-control-region';
|
|
20
21
|
export { IrisAgentCursor } from './iris-agent-cursor';
|
|
21
22
|
export { useIrisControl } from './iris-control-context';
|
|
23
|
+
export { IrisInsightTruncatedText } from './iris-insight-truncated-text';
|
|
22
24
|
export { IrisButton, IrisIconButton, IrisMenu, IrisInsight };
|
|
23
|
-
export type { IrisButtonProps, IrisIconButtonProps, IrisMenuProps, IrisInsightProps, } from './iris.types';
|
|
25
|
+
export type { IrisButtonProps, IrisIconButtonProps, IrisMenuProps, IrisInsightProps, IrisInsightTruncatedTextProps, } from './iris.types';
|
|
24
26
|
export type { IrisControlProviderProps, IrisControlRegionProps, IrisControlGlowPhase, IrisControlRegionVariant, } from './iris-control.types';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import * as x from "react";
|
|
3
|
-
import { Alan as
|
|
4
|
-
import { Button as
|
|
5
|
-
import { Popover as B, PopoverTrigger as z, PopoverContent as
|
|
6
|
-
import {
|
|
7
|
-
import { createComponent as
|
|
3
|
+
import { Alan as N } from "impact-nova-icons";
|
|
4
|
+
import { Button as w } from "../button/button.js";
|
|
5
|
+
import { Popover as B, PopoverTrigger as z, PopoverContent as T } from "../../feedback/popover/popover.js";
|
|
6
|
+
import { IrisInsightTruncatedText as A } from "./iris-insight-truncated-text.js";
|
|
7
|
+
import { createComponent as g } from "../../../lib/primitives/create-component.js";
|
|
8
8
|
import { cn as l } from "../../../lib/utils.js";
|
|
9
|
-
import { IrisAlanGradientIcon as
|
|
10
|
-
import { irisButtonToButtonSize as V, irisButtonVariants as
|
|
9
|
+
import { IrisAlanGradientIcon as v } from "./iris-alan-gradient-icon.js";
|
|
10
|
+
import { irisButtonToButtonSize as V, irisButtonVariants as k, irisChromeWrapperVariants as P, irisIconChromeWrapperVariants as S, irisIconFilledButtonVariants as j, irisIconButtonToButtonSize as y, irisIconButtonVariants as M, irisMenuVariants as O } from "./iris.variants.js";
|
|
11
11
|
import { IrisControlProvider as _, IrisControlRegion as $ } from "./iris-control-region.js";
|
|
12
12
|
import { IrisAgentCursor as ii } from "./iris-agent-cursor.js";
|
|
13
13
|
import { useIrisControl as ni } from "./iris-control-context.js";
|
|
@@ -15,95 +15,96 @@ const G = {
|
|
|
15
15
|
sm: 14,
|
|
16
16
|
md: 16,
|
|
17
17
|
lg: 16
|
|
18
|
-
}, U =
|
|
18
|
+
}, U = g(
|
|
19
19
|
"IrisButton",
|
|
20
20
|
({
|
|
21
21
|
className: n,
|
|
22
22
|
size: i = "md",
|
|
23
23
|
shape: o = "default",
|
|
24
|
-
children:
|
|
25
|
-
type:
|
|
26
|
-
...
|
|
27
|
-
}, a) => /* @__PURE__ */ t("span", { className: P({ shape: o }), children: /* @__PURE__ */
|
|
28
|
-
|
|
24
|
+
children: s,
|
|
25
|
+
type: r = "button",
|
|
26
|
+
...e
|
|
27
|
+
}, a) => /* @__PURE__ */ t("span", { className: P({ shape: o }), children: /* @__PURE__ */ p(
|
|
28
|
+
w,
|
|
29
29
|
{
|
|
30
30
|
ref: a,
|
|
31
|
-
type:
|
|
31
|
+
type: r,
|
|
32
32
|
variant: "ghost",
|
|
33
33
|
size: V[i],
|
|
34
34
|
"data-component": "iris-button",
|
|
35
35
|
"data-size": i,
|
|
36
36
|
"data-shape": o,
|
|
37
|
-
className: l(
|
|
38
|
-
...
|
|
37
|
+
className: l(k({ size: i }), n),
|
|
38
|
+
...e,
|
|
39
39
|
children: [
|
|
40
|
-
/* @__PURE__ */ t(
|
|
41
|
-
|
|
40
|
+
/* @__PURE__ */ t(v, { size: G[i] }),
|
|
41
|
+
s ?? "Ask Iris"
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
) })
|
|
45
|
-
), R =
|
|
45
|
+
), R = g(
|
|
46
46
|
"IrisIconButton",
|
|
47
47
|
({
|
|
48
48
|
className: n,
|
|
49
49
|
appearance: i = "outline",
|
|
50
50
|
size: o = "md",
|
|
51
|
-
shape:
|
|
52
|
-
type:
|
|
53
|
-
"aria-label":
|
|
51
|
+
shape: s = "default",
|
|
52
|
+
type: r = "button",
|
|
53
|
+
"aria-label": e = "Ask Iris",
|
|
54
54
|
...a
|
|
55
|
-
},
|
|
56
|
-
const
|
|
57
|
-
return i === "filled" ? /* @__PURE__ */ t("span", { className:
|
|
55
|
+
}, d) => {
|
|
56
|
+
const m = S({ appearance: i, shape: s }), c = i === "filled" ? /* @__PURE__ */ t(N, { size: 16, className: "text-brand-foreground" }) : /* @__PURE__ */ t(v, { size: 16 });
|
|
57
|
+
return i === "filled" ? /* @__PURE__ */ t("span", { className: m, children: /* @__PURE__ */ t(
|
|
58
58
|
"button",
|
|
59
59
|
{
|
|
60
|
-
ref:
|
|
61
|
-
type:
|
|
60
|
+
ref: d,
|
|
61
|
+
type: r,
|
|
62
62
|
"data-component": "iris-icon-button",
|
|
63
63
|
"data-appearance": i,
|
|
64
64
|
"data-size": o,
|
|
65
|
-
"data-shape":
|
|
66
|
-
"aria-label":
|
|
67
|
-
className: l(
|
|
65
|
+
"data-shape": s,
|
|
66
|
+
"aria-label": e,
|
|
67
|
+
className: l(j({ size: o }), n),
|
|
68
68
|
...a,
|
|
69
|
-
children:
|
|
69
|
+
children: c
|
|
70
70
|
}
|
|
71
|
-
) }) : /* @__PURE__ */ t("span", { className:
|
|
72
|
-
|
|
71
|
+
) }) : /* @__PURE__ */ t("span", { className: m, children: /* @__PURE__ */ t(
|
|
72
|
+
w,
|
|
73
73
|
{
|
|
74
|
-
ref:
|
|
75
|
-
type:
|
|
74
|
+
ref: d,
|
|
75
|
+
type: r,
|
|
76
76
|
variant: "ghost",
|
|
77
|
-
size:
|
|
77
|
+
size: y[o],
|
|
78
78
|
"data-component": "iris-icon-button",
|
|
79
79
|
"data-appearance": i,
|
|
80
80
|
"data-size": o,
|
|
81
|
-
"data-shape":
|
|
82
|
-
"aria-label":
|
|
83
|
-
className: l(
|
|
81
|
+
"data-shape": s,
|
|
82
|
+
"aria-label": e,
|
|
83
|
+
className: l(M({ size: o }), n),
|
|
84
84
|
...a,
|
|
85
|
-
children:
|
|
85
|
+
children: c
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
88
|
}
|
|
89
|
-
),
|
|
89
|
+
), C = g(
|
|
90
90
|
"IrisMenu",
|
|
91
91
|
({
|
|
92
92
|
className: n,
|
|
93
93
|
appearance: i = "loading",
|
|
94
94
|
children: o,
|
|
95
|
-
onAskInChat:
|
|
96
|
-
askInChatLabel:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
onAskInChat: s,
|
|
96
|
+
askInChatLabel: r = "Ask in chat",
|
|
97
|
+
overflowTooltipContent: e,
|
|
98
|
+
...a
|
|
99
|
+
}, d) => {
|
|
100
|
+
const m = i === "loading" || i === "status", c = i === "card", f = e ?? (typeof o == "string" ? o : void 0), u = /* @__PURE__ */ p(
|
|
100
101
|
"div",
|
|
101
102
|
{
|
|
102
|
-
ref:
|
|
103
|
+
ref: d,
|
|
103
104
|
"data-component": "iris-menu",
|
|
104
105
|
"data-appearance": i,
|
|
105
|
-
className: l(
|
|
106
|
-
...
|
|
106
|
+
className: l(O({ appearance: i }), n),
|
|
107
|
+
...a,
|
|
107
108
|
children: [
|
|
108
109
|
m && /* @__PURE__ */ t(
|
|
109
110
|
"span",
|
|
@@ -112,7 +113,7 @@ const G = {
|
|
|
112
113
|
"inline-flex shrink-0 items-center justify-center",
|
|
113
114
|
i === "status" ? "size-4" : "size-6"
|
|
114
115
|
),
|
|
115
|
-
children: /* @__PURE__ */ t(
|
|
116
|
+
children: /* @__PURE__ */ t(v, { size: i === "status" ? 16 : 20 })
|
|
116
117
|
}
|
|
117
118
|
),
|
|
118
119
|
/* @__PURE__ */ t(
|
|
@@ -125,20 +126,10 @@ const G = {
|
|
|
125
126
|
i === "status" && "min-w-0 flex-1 overflow-hidden",
|
|
126
127
|
i === "loading" && "whitespace-nowrap"
|
|
127
128
|
),
|
|
128
|
-
children: i === "status" ? /* @__PURE__ */ t(
|
|
129
|
-
A,
|
|
130
|
-
{
|
|
131
|
-
triggerClassName: "block w-full min-w-0 truncate whitespace-nowrap normal-case",
|
|
132
|
-
contentClassName: "iris-menu-overflow-tooltip",
|
|
133
|
-
variant: "secondary",
|
|
134
|
-
side: "top",
|
|
135
|
-
sideOffset: 10,
|
|
136
|
-
children: o
|
|
137
|
-
}
|
|
138
|
-
) : o
|
|
129
|
+
children: i === "status" ? /* @__PURE__ */ t(A, { overflowTooltipContent: f, children: o }) : o
|
|
139
130
|
}
|
|
140
131
|
),
|
|
141
|
-
c &&
|
|
132
|
+
c && s && /* @__PURE__ */ t(w, { variant: "outline", size: "sm", className: "max-h-7 capitalize", onClick: s, children: r })
|
|
142
133
|
]
|
|
143
134
|
}
|
|
144
135
|
);
|
|
@@ -147,41 +138,41 @@ const G = {
|
|
|
147
138
|
{
|
|
148
139
|
className: l(
|
|
149
140
|
"iris-edge-wash-shell iris-edge-wash-shell--menu rounded-xl motion-reduce:animate-none",
|
|
150
|
-
i === "status" && "iris-edge-wash-shell--fluid iris-edge-wash-shell--menu-plain"
|
|
141
|
+
i === "status" && "iris-edge-wash-shell--fluid iris-edge-wash-shell--menu-plain w-full min-w-0"
|
|
151
142
|
),
|
|
152
|
-
children:
|
|
143
|
+
children: u
|
|
153
144
|
}
|
|
154
|
-
) :
|
|
145
|
+
) : u;
|
|
155
146
|
}
|
|
156
|
-
), X =
|
|
147
|
+
), X = g(
|
|
157
148
|
"IrisInsight",
|
|
158
149
|
({
|
|
159
150
|
status: n = "idle",
|
|
160
151
|
iconSize: i = "md",
|
|
161
152
|
iconAppearance: o = "outline",
|
|
162
|
-
loadingLabel:
|
|
163
|
-
onTriggerClick:
|
|
164
|
-
onAskInChat:
|
|
153
|
+
loadingLabel: s = "Gathering insights...",
|
|
154
|
+
onTriggerClick: r,
|
|
155
|
+
onAskInChat: e,
|
|
165
156
|
askInChatLabel: a,
|
|
166
|
-
className:
|
|
167
|
-
children:
|
|
168
|
-
},
|
|
169
|
-
const [
|
|
157
|
+
className: d,
|
|
158
|
+
children: m
|
|
159
|
+
}, c) => {
|
|
160
|
+
const [f, u] = x.useState(!1), h = n === "loading" || n === "ready", b = n === "loading";
|
|
170
161
|
return x.useEffect(() => {
|
|
171
|
-
n === "loading" &&
|
|
162
|
+
n === "loading" && u(!0);
|
|
172
163
|
}, [n]), /* @__PURE__ */ t(
|
|
173
164
|
"div",
|
|
174
165
|
{
|
|
175
|
-
ref:
|
|
166
|
+
ref: c,
|
|
176
167
|
"data-component": "iris",
|
|
177
168
|
"data-status": n,
|
|
178
|
-
className: l("relative inline-flex items-start",
|
|
179
|
-
children: /* @__PURE__ */
|
|
169
|
+
className: l("relative inline-flex items-start", d),
|
|
170
|
+
children: /* @__PURE__ */ p(
|
|
180
171
|
B,
|
|
181
172
|
{
|
|
182
|
-
open:
|
|
183
|
-
onOpenChange: (
|
|
184
|
-
|
|
173
|
+
open: h ? f : !1,
|
|
174
|
+
onOpenChange: (I) => {
|
|
175
|
+
h && u(I);
|
|
185
176
|
},
|
|
186
177
|
children: [
|
|
187
178
|
/* @__PURE__ */ t(z, { asChild: !0, children: /* @__PURE__ */ t(
|
|
@@ -189,26 +180,28 @@ const G = {
|
|
|
189
180
|
{
|
|
190
181
|
size: i,
|
|
191
182
|
appearance: b ? "filled" : o,
|
|
192
|
-
"aria-expanded":
|
|
193
|
-
onClick: (
|
|
194
|
-
n === "idle" && (
|
|
183
|
+
"aria-expanded": f && h,
|
|
184
|
+
onClick: (I) => {
|
|
185
|
+
n === "idle" && (r?.(), I.preventDefault());
|
|
195
186
|
}
|
|
196
187
|
}
|
|
197
188
|
) }),
|
|
198
|
-
|
|
199
|
-
|
|
189
|
+
h && /* @__PURE__ */ t(
|
|
190
|
+
T,
|
|
200
191
|
{
|
|
201
192
|
align: "end",
|
|
202
193
|
side: "bottom",
|
|
203
194
|
sideOffset: 7,
|
|
204
195
|
className: "w-auto border-0 bg-transparent p-0 shadow-none motion-reduce:animate-none",
|
|
205
|
-
children: n === "loading" ? /* @__PURE__ */ t(
|
|
206
|
-
|
|
196
|
+
children: n === "loading" ? /* @__PURE__ */ t(C, { appearance: "loading", children: s }) : /* @__PURE__ */ t(
|
|
197
|
+
C,
|
|
207
198
|
{
|
|
208
199
|
appearance: "card",
|
|
209
|
-
onAskInChat:
|
|
200
|
+
onAskInChat: e ? () => {
|
|
201
|
+
e(), u(!1);
|
|
202
|
+
} : void 0,
|
|
210
203
|
askInChatLabel: a,
|
|
211
|
-
children:
|
|
204
|
+
children: m
|
|
212
205
|
}
|
|
213
206
|
)
|
|
214
207
|
}
|
|
@@ -227,6 +220,7 @@ export {
|
|
|
227
220
|
$ as IrisControlRegion,
|
|
228
221
|
R as IrisIconButton,
|
|
229
222
|
X as IrisInsight,
|
|
230
|
-
|
|
223
|
+
A as IrisInsightTruncatedText,
|
|
224
|
+
C as IrisMenu,
|
|
231
225
|
ni as useIrisControl
|
|
232
226
|
};
|
|
@@ -19,6 +19,15 @@ export type IrisMenuProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
19
19
|
appearance?: IrisMenuAppearance;
|
|
20
20
|
onAskInChat?: () => void;
|
|
21
21
|
askInChatLabel?: string;
|
|
22
|
+
/** Tooltip body when `children` is not a plain string (e.g. formatted insight copy). */
|
|
23
|
+
overflowTooltipContent?: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
export type IrisInsightTruncatedTextProps = {
|
|
26
|
+
children: React.ReactNode;
|
|
27
|
+
overflowTooltipContent?: React.ReactNode;
|
|
28
|
+
className?: string;
|
|
29
|
+
triggerClassName?: string;
|
|
30
|
+
as?: "span" | "p" | "div";
|
|
22
31
|
};
|
|
23
32
|
export type IrisInsightStatus = "idle" | "loading" | "ready";
|
|
24
33
|
export type IrisInsightProps = {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { StepItem, StepStatus } from '../stepper.types';
|
|
2
2
|
export declare function resolveStepItem(step: string | StepItem): StepItem;
|
|
3
|
-
export declare function stepStatus(stepNumber: number, currentStep: number): StepStatus;
|
|
3
|
+
export declare function stepStatus(stepNumber: number, currentStep: number, statusOverride?: StepStatus): StepStatus;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
function
|
|
1
|
+
function f(t) {
|
|
2
2
|
return typeof t == "string" ? { label: t } : t;
|
|
3
3
|
}
|
|
4
|
-
function
|
|
5
|
-
return t <
|
|
4
|
+
function l(t, n, e) {
|
|
5
|
+
return e === "completed" || e === "active" || e === "default" ? e : t < n ? "completed" : t === n ? "active" : "default";
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
f as resolveStepItem,
|
|
9
|
+
l as stepStatus
|
|
10
10
|
};
|