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
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import { useControllableState as T } from "@radix-ui/react-use-controllable-state";
|
|
3
|
+
import { readIsIrisChatWindowPlacement as te } from "./iris-chat-context.js";
|
|
4
|
+
import { createDefaultIrisChatFrame as g, readIrisChatMaxFrameSize as ne, readIrisChatFrameWithSizeAnchoredAtBottomRight as re, IRIS_CHAT_FRAME_DEFAULT_HEIGHT_PX as ae, IRIS_CHAT_FRAME_DEFAULT_WIDTH_PX as oe, createCompactIrisChatFrame as se, readIrisChatViewport as x } from "./iris-chat-frame.js";
|
|
5
|
+
import { readIrisChatFrameIsCompact as ie, createIrisChatSnapFrame as ce } from "./iris-chat-snap-presets.js";
|
|
6
|
+
import { readIrisChatCloseTransform as le, IRIS_CHAT_CLOSE_ANIMATION_MS as ue, readIrisChatCloseAnimationStyle as me } from "./iris-chat-close-animation.js";
|
|
7
|
+
import { readIrisChatLaunchAnimationEnabled as z, runIrisChatOpenFromLaunchTarget as fe } from "./iris-chat-launch-animation.js";
|
|
8
|
+
function Fe(N) {
|
|
9
|
+
const {
|
|
10
|
+
open: W,
|
|
11
|
+
defaultOpen: E = !0,
|
|
12
|
+
onOpenChange: D,
|
|
13
|
+
placement: q,
|
|
14
|
+
defaultPlacement: S = "dock-right",
|
|
15
|
+
onPlacementChange: B,
|
|
16
|
+
frame: U,
|
|
17
|
+
defaultFrame: _,
|
|
18
|
+
onFrameChange: V,
|
|
19
|
+
closeAnimationTarget: p,
|
|
20
|
+
onCloseAnimationComplete: w
|
|
21
|
+
} = N, C = n.useRef(null), r = n.useRef(null), d = n.useRef(null), F = n.useRef(!1), [a, P] = n.useState(!1), [v, L] = n.useState(!1), [X, l] = T({
|
|
22
|
+
prop: W,
|
|
23
|
+
defaultProp: E,
|
|
24
|
+
onChange: D
|
|
25
|
+
}), [G, u] = T({
|
|
26
|
+
prop: q,
|
|
27
|
+
defaultProp: S,
|
|
28
|
+
onChange: B
|
|
29
|
+
}), [M, b] = T({
|
|
30
|
+
prop: U,
|
|
31
|
+
defaultProp: _ ?? g(),
|
|
32
|
+
onChange: V
|
|
33
|
+
}), A = n.useRef(
|
|
34
|
+
M ?? _ ?? g()
|
|
35
|
+
), o = X ?? E, h = G ?? S, s = M ?? g(), m = te(h);
|
|
36
|
+
function j(e) {
|
|
37
|
+
b(e);
|
|
38
|
+
}
|
|
39
|
+
function i(e) {
|
|
40
|
+
b(e);
|
|
41
|
+
}
|
|
42
|
+
function J() {
|
|
43
|
+
i(g());
|
|
44
|
+
}
|
|
45
|
+
function H() {
|
|
46
|
+
A.current = s, i(se(s)), u("minimized");
|
|
47
|
+
}
|
|
48
|
+
function K() {
|
|
49
|
+
i(A.current), u("float");
|
|
50
|
+
}
|
|
51
|
+
function Q(e) {
|
|
52
|
+
A.current = s, i(ce(e, x())), u("float");
|
|
53
|
+
}
|
|
54
|
+
function Y() {
|
|
55
|
+
const e = x();
|
|
56
|
+
if (ie(s, h)) {
|
|
57
|
+
const c = ne(e);
|
|
58
|
+
i(
|
|
59
|
+
re(
|
|
60
|
+
s,
|
|
61
|
+
Math.min(oe, c.width),
|
|
62
|
+
Math.min(ae, c.height),
|
|
63
|
+
e
|
|
64
|
+
)
|
|
65
|
+
), u("float");
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
H();
|
|
69
|
+
}
|
|
70
|
+
n.useEffect(() => () => {
|
|
71
|
+
r.current !== null && window.clearTimeout(r.current), d.current?.();
|
|
72
|
+
}, []);
|
|
73
|
+
const R = n.useCallback(() => {
|
|
74
|
+
r.current !== null && (window.clearTimeout(r.current), r.current = null);
|
|
75
|
+
const e = C.current;
|
|
76
|
+
e && (e.style.transform = "", e.style.opacity = "", e.style.transition = "", e.style.pointerEvents = ""), P(!1), l(!1), w?.();
|
|
77
|
+
}, [w, l]), I = n.useCallback(
|
|
78
|
+
(e) => {
|
|
79
|
+
requestAnimationFrame(() => {
|
|
80
|
+
const c = p?.() ?? null;
|
|
81
|
+
z({ target: c, panel: e, isWindowPlacement: m }) && (d.current?.(), L(!0), d.current = fe({
|
|
82
|
+
panel: e,
|
|
83
|
+
target: c,
|
|
84
|
+
onComplete: () => {
|
|
85
|
+
d.current = null, L(!1);
|
|
86
|
+
}
|
|
87
|
+
}));
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
[p, m]
|
|
91
|
+
), f = n.useRef(!1);
|
|
92
|
+
n.useLayoutEffect(() => {
|
|
93
|
+
if (!o) {
|
|
94
|
+
F.current = !1, f.current = !1;
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
if (F.current || a)
|
|
98
|
+
return;
|
|
99
|
+
F.current = !0, f.current = !0;
|
|
100
|
+
const e = C.current;
|
|
101
|
+
e && (f.current = !1, I(e));
|
|
102
|
+
}, [a, o, I]);
|
|
103
|
+
const Z = n.useCallback(
|
|
104
|
+
(e) => {
|
|
105
|
+
C.current = e, e && f.current && (f.current = !1, I(e));
|
|
106
|
+
},
|
|
107
|
+
[I]
|
|
108
|
+
), $ = n.useCallback(() => {
|
|
109
|
+
if (!o || a)
|
|
110
|
+
return;
|
|
111
|
+
const e = p?.() ?? null, t = C.current;
|
|
112
|
+
if (!z({
|
|
113
|
+
target: e,
|
|
114
|
+
panel: t,
|
|
115
|
+
isWindowPlacement: m
|
|
116
|
+
}) || t === null || e === null) {
|
|
117
|
+
l(!1);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const ee = le(
|
|
121
|
+
t.getBoundingClientRect(),
|
|
122
|
+
e.getBoundingClientRect()
|
|
123
|
+
), y = me(ee);
|
|
124
|
+
P(!0), t.style.pointerEvents = "none", t.style.transformOrigin = "center center", t.style.transition = y.transition, t.style.opacity = y.opacity, requestAnimationFrame(() => {
|
|
125
|
+
t.style.transform = y.transform;
|
|
126
|
+
});
|
|
127
|
+
const O = (k) => {
|
|
128
|
+
k.target !== t || k.propertyName !== "transform" || (t.removeEventListener("transitionend", O), R());
|
|
129
|
+
};
|
|
130
|
+
t.addEventListener("transitionend", O), r.current = window.setTimeout(() => {
|
|
131
|
+
t.removeEventListener("transitionend", O), R();
|
|
132
|
+
}, ue + 80);
|
|
133
|
+
}, [p, R, a, m, o, l]);
|
|
134
|
+
return {
|
|
135
|
+
resolvedOpen: o,
|
|
136
|
+
resolvedPlacement: h,
|
|
137
|
+
isClosing: a,
|
|
138
|
+
isOpening: v,
|
|
139
|
+
providerValue: {
|
|
140
|
+
open: o,
|
|
141
|
+
setOpen: l,
|
|
142
|
+
requestClose: $,
|
|
143
|
+
isClosing: a,
|
|
144
|
+
isOpening: v,
|
|
145
|
+
registerPanelNode: Z,
|
|
146
|
+
placement: h,
|
|
147
|
+
setPlacement: u,
|
|
148
|
+
frame: s,
|
|
149
|
+
setFrame: j,
|
|
150
|
+
commitFrame: i,
|
|
151
|
+
resetFrame: J,
|
|
152
|
+
applyCompactFrame: H,
|
|
153
|
+
expandFromCompactFrame: K,
|
|
154
|
+
applySnapPreset: Q,
|
|
155
|
+
toggleWindowSize: Y,
|
|
156
|
+
isWindowPlacement: m
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
export {
|
|
161
|
+
Fe as useIrisChatRoot
|
|
162
|
+
};
|
|
@@ -1,72 +1,103 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ArrowUp as
|
|
3
|
-
import { createComponent as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { useImpactNovaI18n as
|
|
6
|
-
function
|
|
7
|
-
return Math.min(
|
|
1
|
+
import { jsxs as f, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowUp as I, ArrowDown as N } from "impact-nova-icons";
|
|
3
|
+
import { createComponent as j } from "../../../lib/primitives/create-component.js";
|
|
4
|
+
import { cn as l } from "../../../lib/utils.js";
|
|
5
|
+
import { useImpactNovaI18n as A } from "../../../i18n/use-impact-nova-i18n.js";
|
|
6
|
+
function z(c, n, s) {
|
|
7
|
+
return Math.min(s, Math.max(n, c));
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const m = "inline-flex h-[11px] w-5 shrink-0 select-none cursor-pointer border-0 p-0 bg-canvas-muted text-content-icon transition-[color,background-color,transform] duration-150 motion-reduce:transition-none enabled:hover:bg-stroke-track enabled:hover:text-content-tertiary enabled:active:scale-[0.98] enabled:active:bg-stroke-hairline enabled:active:text-content focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-focus-ring focus-visible:ring-inset disabled:cursor-not-allowed disabled:opacity-40", $ = j(
|
|
10
10
|
"ChoiceCardPercent",
|
|
11
11
|
({
|
|
12
|
-
className:
|
|
13
|
-
value:
|
|
14
|
-
onValueChange:
|
|
15
|
-
min:
|
|
16
|
-
max:
|
|
17
|
-
step:
|
|
18
|
-
suffix:
|
|
19
|
-
increaseLabel:
|
|
20
|
-
decreaseLabel:
|
|
21
|
-
disabled:
|
|
22
|
-
onKeyDown:
|
|
23
|
-
...
|
|
24
|
-
},
|
|
25
|
-
const { t:
|
|
26
|
-
function
|
|
27
|
-
|
|
12
|
+
className: c,
|
|
13
|
+
value: n,
|
|
14
|
+
onValueChange: s,
|
|
15
|
+
min: d = 0,
|
|
16
|
+
max: b = 100,
|
|
17
|
+
step: t = 1,
|
|
18
|
+
suffix: h = "%",
|
|
19
|
+
increaseLabel: x,
|
|
20
|
+
decreaseLabel: g,
|
|
21
|
+
disabled: r,
|
|
22
|
+
onKeyDown: w,
|
|
23
|
+
...v
|
|
24
|
+
}, k) => {
|
|
25
|
+
const { t: p } = A(), y = x ?? p("aria.increase"), C = g ?? p("aria.decrease"), D = !r && n > d, u = !r && n < b;
|
|
26
|
+
function i(e) {
|
|
27
|
+
r || s?.(z(n + e, d, b));
|
|
28
28
|
}
|
|
29
|
-
function
|
|
30
|
-
e.
|
|
29
|
+
function o(e) {
|
|
30
|
+
e.stopPropagation();
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
function P(e) {
|
|
33
|
+
e.key === "ArrowUp" ? (e.preventDefault(), i(t)) : e.key === "ArrowDown" && (e.preventDefault(), i(-t)), w?.(e);
|
|
34
|
+
}
|
|
35
|
+
return /* @__PURE__ */ f(
|
|
33
36
|
"div",
|
|
34
37
|
{
|
|
35
|
-
ref:
|
|
36
|
-
...
|
|
38
|
+
ref: k,
|
|
39
|
+
...v,
|
|
37
40
|
"data-slot": "choice-card-percent",
|
|
38
41
|
role: "group",
|
|
39
|
-
"aria-disabled":
|
|
40
|
-
tabIndex:
|
|
41
|
-
onKeyDown:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
"aria-disabled": r || void 0,
|
|
43
|
+
tabIndex: r ? void 0 : 0,
|
|
44
|
+
onKeyDown: P,
|
|
45
|
+
onPointerDown: o,
|
|
46
|
+
onClick: o,
|
|
47
|
+
className: l(
|
|
48
|
+
"relative z-[1] box-border flex h-8 w-[111px] items-center gap-2.5 overflow-hidden rounded-[8px] border border-stroke-field bg-canvas py-1 pl-3 pr-1 transition-colors",
|
|
49
|
+
"hover:border-brand focus-within:border-brand focus-within:outline-none",
|
|
50
|
+
r && "pointer-events-none border-stroke bg-disabled-surface opacity-100 hover:border-stroke",
|
|
51
|
+
c
|
|
46
52
|
),
|
|
47
53
|
children: [
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
/* @__PURE__ */ a(
|
|
55
|
+
"button",
|
|
56
|
+
{
|
|
57
|
+
type: "button",
|
|
58
|
+
tabIndex: -1,
|
|
59
|
+
disabled: !u,
|
|
60
|
+
className: "min-w-0 flex-1 truncate border-0 bg-transparent p-0 text-left text-sm font-normal leading-4 text-content disabled:opacity-40",
|
|
61
|
+
onPointerDown: o,
|
|
62
|
+
onClick: (e) => {
|
|
63
|
+
o(e), i(t);
|
|
64
|
+
},
|
|
65
|
+
children: `${n}${h}`
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ f("div", { className: "flex h-[23px] shrink-0 flex-col gap-px", children: [
|
|
69
|
+
/* @__PURE__ */ a(
|
|
51
70
|
"button",
|
|
52
71
|
{
|
|
53
72
|
type: "button",
|
|
54
|
-
"aria-label":
|
|
55
|
-
disabled: !
|
|
56
|
-
className:
|
|
57
|
-
|
|
58
|
-
|
|
73
|
+
"aria-label": y,
|
|
74
|
+
disabled: !u,
|
|
75
|
+
className: l(
|
|
76
|
+
m,
|
|
77
|
+
"items-center justify-center rounded-tr-sm"
|
|
78
|
+
),
|
|
79
|
+
onPointerDown: o,
|
|
80
|
+
onClick: (e) => {
|
|
81
|
+
o(e), i(t);
|
|
82
|
+
},
|
|
83
|
+
children: /* @__PURE__ */ a(I, { size: 10 })
|
|
59
84
|
}
|
|
60
85
|
),
|
|
61
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ a(
|
|
62
87
|
"button",
|
|
63
88
|
{
|
|
64
89
|
type: "button",
|
|
65
|
-
"aria-label":
|
|
66
|
-
disabled: !
|
|
67
|
-
className:
|
|
68
|
-
|
|
69
|
-
|
|
90
|
+
"aria-label": C,
|
|
91
|
+
disabled: !D,
|
|
92
|
+
className: l(
|
|
93
|
+
m,
|
|
94
|
+
"items-center justify-center rounded-br-sm"
|
|
95
|
+
),
|
|
96
|
+
onPointerDown: o,
|
|
97
|
+
onClick: (e) => {
|
|
98
|
+
o(e), i(-t);
|
|
99
|
+
},
|
|
100
|
+
children: /* @__PURE__ */ a(N, { size: 10 })
|
|
70
101
|
}
|
|
71
102
|
)
|
|
72
103
|
] })
|
|
@@ -76,5 +107,5 @@ const U = z(
|
|
|
76
107
|
}
|
|
77
108
|
);
|
|
78
109
|
export {
|
|
79
|
-
|
|
110
|
+
$ as ChoiceCardPercent
|
|
80
111
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChoiceCardGroupProps, ChoiceCardProps, ChoiceCardContentProps, ChoiceCardHeaderProps, ChoiceCardFooterProps, ChoiceCardBackgroundProps, ChoiceCardIndexProps, ChoiceCardStatsProps, ChoiceCardCompareLabelsProps, ChoiceCardCompareLabelProps, ChoiceCardCompareLeadProps, ChoiceCardCompareRowProps, ChoiceCardVariant } from './choice-card.types';
|
|
1
|
+
import { ChoiceCardGroupProps, ChoiceCardProps, ChoiceCardContentProps, ChoiceCardHeaderProps, ChoiceCardFooterProps, ChoiceCardBackgroundProps, ChoiceCardIndexProps, ChoiceCardStatsProps, ChoiceCardCompareFit, ChoiceCardCompareLabelsProps, ChoiceCardCompareLabelProps, ChoiceCardCompareLeadProps, ChoiceCardCompareRowProps, ChoiceCardVariant } from './choice-card.types';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
export type { ChoiceCardGroupProps, ChoiceCardGroupMultipleProps, ChoiceCardGroupSingleProps, ChoiceCardProps, ChoiceCardContentProps, ChoiceCardHeaderProps, ChoiceCardRibbonProps, ChoiceCardFooterProps, ChoiceCardBackgroundProps, ChoiceCardStatusProps, ChoiceCardIndexProps, ChoiceCardStatsProps, ChoiceCardStatProps, ChoiceCardCompareProps, ChoiceCardCompareFit, ChoiceCardCompareLabelsProps, ChoiceCardCompareLabelProps, ChoiceCardCompareLeadProps, ChoiceCardCompareRowProps, ChoiceCardPercentProps, ChoiceCardVariant, } from './choice-card.types';
|
|
4
4
|
export { ChoiceCardPercent } from './choice-card-percent';
|
|
@@ -13,6 +13,15 @@ interface ChoiceCardItemContextValue {
|
|
|
13
13
|
labelIsExplicit: boolean;
|
|
14
14
|
setAccessibleName: (name: string) => void;
|
|
15
15
|
}
|
|
16
|
+
type ChoiceCardCompareContextValue = {
|
|
17
|
+
inCompare: boolean;
|
|
18
|
+
rows: number;
|
|
19
|
+
fit: ChoiceCardCompareFit;
|
|
20
|
+
scrollRows: boolean;
|
|
21
|
+
rowMinHeight: string;
|
|
22
|
+
syncRowsScroll: (event: React.UIEvent<HTMLDivElement>) => void;
|
|
23
|
+
};
|
|
24
|
+
export declare function useChoiceCardCompare(): ChoiceCardCompareContextValue;
|
|
16
25
|
export declare function useChoiceCardGroup(): {
|
|
17
26
|
value: string | string[] | undefined;
|
|
18
27
|
type: "single" | "multiple";
|
|
@@ -24,6 +33,7 @@ declare const ChoiceCardGroup: React.FC<ChoiceCardGroupProps>;
|
|
|
24
33
|
declare const ChoiceCard: React.ForwardRefExoticComponent<ChoiceCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
34
|
declare const ChoiceCardIndicator: React.ForwardRefExoticComponent<{
|
|
26
35
|
className?: string;
|
|
36
|
+
shape?: "checkbox" | "radio";
|
|
27
37
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
28
38
|
declare const ChoiceCardBackground: React.ForwardRefExoticComponent<ChoiceCardBackgroundProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
39
|
declare const ChoiceCardRibbon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -51,7 +61,9 @@ declare const ChoiceCardCompareLabel: React.ForwardRefExoticComponent<ChoiceCard
|
|
|
51
61
|
declare const ChoiceCardCompareLead: React.ForwardRefExoticComponent<ChoiceCardCompareLeadProps & React.RefAttributes<HTMLDivElement>>;
|
|
52
62
|
declare const ChoiceCardCompareRow: React.ForwardRefExoticComponent<ChoiceCardCompareRowProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
63
|
declare const ChoiceCardCompare: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
54
|
-
fit?:
|
|
64
|
+
fit?: ChoiceCardCompareFit;
|
|
65
|
+
rowMinHeight?: string;
|
|
66
|
+
scrollRows?: boolean;
|
|
55
67
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
56
68
|
export { ChoiceCardFeaturedBackdrop } from './choice-card-featured-backdrop';
|
|
57
69
|
export { ChoiceCardGroup, ChoiceCard, ChoiceCardIndicator, ChoiceCardBackground, ChoiceCardRibbon, ChoiceCardFooter, ChoiceCardContent, ChoiceCardMedia, ChoiceCardTitle, ChoiceCardHeader, ChoiceCardDescription, ChoiceCardStatus, ChoiceCardIndex, ChoiceCardStats, ChoiceCardStat, ChoiceCardCompare, ChoiceCardCompareLabels, ChoiceCardCompareLabel, ChoiceCardCompareLead, ChoiceCardCompareRow, };
|