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,41 +1,44 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
1
|
+
import { jsx as s, jsxs as A } from "react/jsx-runtime";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
import
|
|
3
|
+
import k from "highcharts-react-official";
|
|
4
4
|
import { cn as p } from "../../../lib/utils.js";
|
|
5
|
-
import { Skeleton as
|
|
6
|
-
import { Collapse as
|
|
7
|
-
import { Button as
|
|
8
|
-
import { getInitializedHighcharts as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
import { Skeleton as I } from "../skeleton/skeleton.js";
|
|
6
|
+
import { Collapse as U, Expand as V } from "impact-nova-icons";
|
|
7
|
+
import { Button as J } from "../../primitives/button/button.js";
|
|
8
|
+
import { getInitializedHighcharts as K } from "./initializeHighcharts.js";
|
|
9
|
+
import { readHeatmapChartBoxSizeFromProps as Q } from "./chart-heatmap-layout.js";
|
|
10
|
+
import { getBaseChartOptions as X, applySeriesGradient as Y } from "./chart.utils.js";
|
|
11
|
+
import { resolveHighchartsOptions as Z } from "./resolve-highcharts-options.js";
|
|
12
|
+
import { chartUsesScatter3d as _ } from "./chart-scatter3d.js";
|
|
13
|
+
import { useImpactNovaI18n as $ } from "../../../i18n/use-impact-nova-i18n.js";
|
|
14
|
+
/* empty css */
|
|
15
|
+
const z = K(), H = t.createContext(null), W = () => {
|
|
16
|
+
const n = t.useContext(H);
|
|
17
|
+
if (!n)
|
|
15
18
|
throw new Error("Chart components must be used within a ChartContainer");
|
|
16
|
-
return
|
|
17
|
-
},
|
|
18
|
-
({ className:
|
|
19
|
-
const
|
|
20
|
-
|
|
19
|
+
return n;
|
|
20
|
+
}, B = t.forwardRef(
|
|
21
|
+
({ className: n, children: r, isLoading: i = !1, ...o }, m) => {
|
|
22
|
+
const a = t.useRef(null), c = t.useRef(null), [g, d] = t.useState(null), [f, C] = t.useState(!1), [R, y] = t.useState(!1), q = t.useCallback((e) => {
|
|
23
|
+
a.current = e, d(e);
|
|
21
24
|
}, []);
|
|
22
|
-
t.useImperativeHandle(
|
|
23
|
-
const
|
|
24
|
-
const e =
|
|
25
|
-
e && (
|
|
26
|
-
e.requestFullscreen ? e.requestFullscreen() : "webkitRequestFullscreen" in e ? e.webkitRequestFullscreen() : "msRequestFullscreen" in e && e.msRequestFullscreen(),
|
|
25
|
+
t.useImperativeHandle(m, () => a.current);
|
|
26
|
+
const w = () => {
|
|
27
|
+
const e = a.current;
|
|
28
|
+
e && (y(!0), e.classList.add("fullscreen-animating"), setTimeout(() => {
|
|
29
|
+
e.requestFullscreen ? e.requestFullscreen() : "webkitRequestFullscreen" in e ? e.webkitRequestFullscreen() : "msRequestFullscreen" in e && e.msRequestFullscreen(), C(!0), e.classList.remove("fullscreen-animating");
|
|
27
30
|
}, 200));
|
|
28
|
-
},
|
|
29
|
-
const e =
|
|
30
|
-
e && (
|
|
31
|
-
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen(),
|
|
31
|
+
}, x = () => {
|
|
32
|
+
const e = a.current;
|
|
33
|
+
e && (y(!0), e.classList.add("fullscreen-animating-out"), setTimeout(() => {
|
|
34
|
+
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen(), C(!1), e.classList.remove("fullscreen-animating-out");
|
|
32
35
|
}, 200));
|
|
33
|
-
},
|
|
34
|
-
|
|
36
|
+
}, v = () => {
|
|
37
|
+
f ? x() : w();
|
|
35
38
|
};
|
|
36
39
|
return t.useEffect(() => {
|
|
37
40
|
const e = () => {
|
|
38
|
-
document.fullscreenElement || document.webkitFullscreenElement || document.msFullscreenElement ||
|
|
41
|
+
document.fullscreenElement || document.webkitFullscreenElement || document.msFullscreenElement || C(!1);
|
|
39
42
|
};
|
|
40
43
|
return document.addEventListener("fullscreenchange", e), document.addEventListener("webkitfullscreenchange", e), () => {
|
|
41
44
|
document.removeEventListener("fullscreenchange", e), document.removeEventListener(
|
|
@@ -44,169 +47,194 @@ const R = T(), S = t.createContext(null), A = () => {
|
|
|
44
47
|
);
|
|
45
48
|
};
|
|
46
49
|
}, []), t.useEffect(() => {
|
|
47
|
-
if (!
|
|
48
|
-
const e =
|
|
49
|
-
let
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
const
|
|
53
|
-
if (!
|
|
54
|
-
const
|
|
55
|
-
if (
|
|
56
|
-
const
|
|
57
|
-
e.setSize(
|
|
50
|
+
if (!c?.current?.chart) return;
|
|
51
|
+
const e = c.current.chart;
|
|
52
|
+
let l = null;
|
|
53
|
+
const h = () => {
|
|
54
|
+
f && a.current ? (l && cancelAnimationFrame(l), l = requestAnimationFrame(() => {
|
|
55
|
+
const u = a.current;
|
|
56
|
+
if (!u) return;
|
|
57
|
+
const E = u.getBoundingClientRect(), F = u.querySelector('[class*="ChartContent"]');
|
|
58
|
+
if (F) {
|
|
59
|
+
const b = F.getBoundingClientRect();
|
|
60
|
+
e.setSize(b.width, b.height, !1);
|
|
58
61
|
} else
|
|
59
|
-
e.setSize(
|
|
60
|
-
|
|
62
|
+
e.setSize(E.width, E.height, !1);
|
|
63
|
+
l = null;
|
|
61
64
|
})) : (e.setSize(null, null, !1), e.reflow());
|
|
62
65
|
};
|
|
63
|
-
return window.addEventListener("resize",
|
|
64
|
-
|
|
66
|
+
return window.addEventListener("resize", h), () => {
|
|
67
|
+
l && cancelAnimationFrame(l), window.removeEventListener("resize", h);
|
|
65
68
|
};
|
|
66
|
-
}, [
|
|
67
|
-
|
|
69
|
+
}, [f]), /* @__PURE__ */ s(
|
|
70
|
+
H.Provider,
|
|
68
71
|
{
|
|
69
72
|
value: {
|
|
70
|
-
isExpanded:
|
|
71
|
-
toggleFullscreen:
|
|
72
|
-
isLoading:
|
|
73
|
-
containerRef:
|
|
74
|
-
containerElement:
|
|
75
|
-
chartComponentRef:
|
|
73
|
+
isExpanded: f,
|
|
74
|
+
toggleFullscreen: v,
|
|
75
|
+
isLoading: i,
|
|
76
|
+
containerRef: a,
|
|
77
|
+
containerElement: g,
|
|
78
|
+
chartComponentRef: c
|
|
76
79
|
},
|
|
77
80
|
children: /* @__PURE__ */ s(
|
|
78
81
|
"div",
|
|
79
82
|
{
|
|
80
|
-
ref:
|
|
83
|
+
ref: q,
|
|
81
84
|
"data-component": "chart",
|
|
82
85
|
className: p(
|
|
83
|
-
|
|
86
|
+
n,
|
|
84
87
|
"w-full relative bg-canvas-elevated transition-all duration-200 ease-in-out",
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
f && "fixed inset-0 z-50 h-screen w-screen p-4 bg-canvas flex flex-col",
|
|
89
|
+
R && "overflow-hidden"
|
|
87
90
|
),
|
|
88
|
-
...
|
|
89
|
-
children:
|
|
91
|
+
...o,
|
|
92
|
+
children: r
|
|
90
93
|
}
|
|
91
94
|
)
|
|
92
95
|
}
|
|
93
96
|
);
|
|
94
97
|
}
|
|
95
98
|
);
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
({ className:
|
|
99
|
+
B.displayName = "ChartContainer";
|
|
100
|
+
const ee = t.forwardRef(
|
|
101
|
+
({ className: n, children: r, ...i }, o) => /* @__PURE__ */ s("div", { ref: o, className: p("flex items-center justify-between mb-4", n), ...i, children: r })
|
|
99
102
|
);
|
|
100
|
-
|
|
101
|
-
const
|
|
102
|
-
({ className:
|
|
103
|
+
ee.displayName = "ChartHeader";
|
|
104
|
+
const te = t.forwardRef(
|
|
105
|
+
({ className: n, ...r }, i) => /* @__PURE__ */ s("h3", { ref: i, className: p("text-lg font-semibold leading-none tracking-tight", n), ...r })
|
|
103
106
|
);
|
|
104
|
-
|
|
105
|
-
const
|
|
106
|
-
({ className:
|
|
107
|
+
te.displayName = "ChartTitle";
|
|
108
|
+
const ne = t.forwardRef(
|
|
109
|
+
({ className: n, ...r }, i) => /* @__PURE__ */ s("div", { ref: i, className: p("flex items-center gap-2", n), ...r })
|
|
107
110
|
);
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
({ className:
|
|
111
|
-
const { t:
|
|
112
|
-
return /* @__PURE__ */
|
|
113
|
-
|
|
111
|
+
ne.displayName = "ChartActions";
|
|
112
|
+
const se = t.forwardRef(
|
|
113
|
+
({ className: n, ...r }, i) => {
|
|
114
|
+
const { t: o } = $(), { toggleFullscreen: m, isExpanded: a } = W(), c = o("aria.toggleFullscreen");
|
|
115
|
+
return /* @__PURE__ */ A(
|
|
116
|
+
J,
|
|
114
117
|
{
|
|
115
118
|
variant: "ghost",
|
|
116
119
|
size: "icon",
|
|
117
|
-
onClick:
|
|
118
|
-
ref:
|
|
119
|
-
className: p("h-8 w-8",
|
|
120
|
-
"aria-label":
|
|
121
|
-
...
|
|
120
|
+
onClick: m,
|
|
121
|
+
ref: i,
|
|
122
|
+
className: p("h-8 w-8", n),
|
|
123
|
+
"aria-label": c,
|
|
124
|
+
...r,
|
|
122
125
|
children: [
|
|
123
|
-
|
|
124
|
-
/* @__PURE__ */ s("span", { className: "sr-only", children:
|
|
126
|
+
a ? /* @__PURE__ */ s(U, { className: "h-4 w-4" }) : /* @__PURE__ */ s(V, { className: "h-4 w-4" }),
|
|
127
|
+
/* @__PURE__ */ s("span", { className: "sr-only", children: c })
|
|
125
128
|
]
|
|
126
129
|
}
|
|
127
130
|
);
|
|
128
131
|
}
|
|
129
132
|
);
|
|
130
|
-
|
|
131
|
-
const
|
|
132
|
-
({ className:
|
|
133
|
-
const { isLoading:
|
|
134
|
-
return
|
|
135
|
-
|
|
136
|
-
/* @__PURE__ */ s(
|
|
137
|
-
/* @__PURE__ */ s(
|
|
133
|
+
se.displayName = "ChartFullScreen";
|
|
134
|
+
const P = t.forwardRef(
|
|
135
|
+
({ className: n, children: r, loader: i, ...o }, m) => {
|
|
136
|
+
const { isLoading: a, chartComponentRef: c, isExpanded: g } = W();
|
|
137
|
+
return a && i ? /* @__PURE__ */ s("div", { ref: m, className: p(n, "w-full relative flex items-center justify-center flex-1 min-h-[300px]", g && "min-h-0"), ...o, children: i }) : /* @__PURE__ */ A("div", { ref: m, className: p(n, "w-full relative flex-1 min-h-[300px]", g && "min-h-0"), ...o, children: [
|
|
138
|
+
a && /* @__PURE__ */ A("div", { className: "absolute inset-0 z-10 bg-canvas/50 flex flex-col gap-2 p-4", children: [
|
|
139
|
+
/* @__PURE__ */ s(I, { className: "h-8 w-1/3" }),
|
|
140
|
+
/* @__PURE__ */ s(I, { className: "flex-1 w-full" })
|
|
138
141
|
] }),
|
|
139
|
-
t.Children.map(
|
|
142
|
+
t.Children.map(r, (d) => t.isValidElement(d) ? t.cloneElement(d, { ref: c }) : d)
|
|
140
143
|
] });
|
|
141
144
|
}
|
|
142
145
|
);
|
|
143
|
-
|
|
144
|
-
const
|
|
145
|
-
(
|
|
146
|
+
P.displayName = "ChartContent";
|
|
147
|
+
const re = t.forwardRef(
|
|
148
|
+
(n, r) => {
|
|
146
149
|
const {
|
|
147
|
-
height:
|
|
148
|
-
width:
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
150
|
+
height: i,
|
|
151
|
+
width: o,
|
|
152
|
+
cellMinHeight: m,
|
|
153
|
+
cellMinWidth: a,
|
|
154
|
+
fillContainer: c,
|
|
155
|
+
className: g,
|
|
156
|
+
isLoading: d,
|
|
157
|
+
loader: f,
|
|
158
|
+
title: C,
|
|
159
|
+
noWrapper: R,
|
|
160
|
+
gradient: y,
|
|
161
|
+
children: q,
|
|
162
|
+
is3D: w,
|
|
163
|
+
type: x,
|
|
164
|
+
series: v,
|
|
165
|
+
...e
|
|
166
|
+
} = n, l = Q({
|
|
167
|
+
type: x,
|
|
168
|
+
height: i,
|
|
169
|
+
width: o,
|
|
170
|
+
cellMinHeight: m,
|
|
171
|
+
cellMinWidth: a,
|
|
172
|
+
fillContainer: c,
|
|
173
|
+
xAxisCategories: e.xAxisCategories,
|
|
174
|
+
yAxisCategories: e.yAxisCategories,
|
|
175
|
+
options: e.options
|
|
176
|
+
}), h = l.height, u = l.width, E = typeof h == "number" ? h : null, F = typeof u == "number" ? u : null, b = t.useContext(H), [j, T] = t.useState(null), M = t.useCallback((N) => {
|
|
177
|
+
T(N);
|
|
178
|
+
}, []), O = _({ is3D: w, type: x, series: v }), D = t.useMemo(() => {
|
|
179
|
+
const N = X({ title: C, is3D: w, type: x, series: v, ...e });
|
|
161
180
|
return {
|
|
162
|
-
...
|
|
181
|
+
...N,
|
|
163
182
|
chart: {
|
|
164
|
-
...
|
|
165
|
-
height:
|
|
166
|
-
width:
|
|
183
|
+
...N.chart,
|
|
184
|
+
height: E,
|
|
185
|
+
width: F
|
|
167
186
|
}
|
|
168
187
|
};
|
|
169
|
-
}, [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
),
|
|
173
|
-
height: typeof
|
|
174
|
-
width: typeof
|
|
188
|
+
}, [C, E, F, w, x, v, e]), G = b?.containerElement ?? j ?? (typeof document > "u" ? null : document.documentElement), S = Y(
|
|
189
|
+
Z(D, G),
|
|
190
|
+
y
|
|
191
|
+
), L = {
|
|
192
|
+
height: typeof h == "number" ? h : h ?? "100%",
|
|
193
|
+
width: typeof u == "number" ? u : u ?? "100%",
|
|
194
|
+
...l.minWidth !== void 0 ? { minWidth: l.minWidth } : {}
|
|
175
195
|
};
|
|
176
|
-
return
|
|
177
|
-
|
|
196
|
+
return R ? /* @__PURE__ */ s("div", { ref: M, className: "h-full w-full", children: /* @__PURE__ */ s(
|
|
197
|
+
k,
|
|
178
198
|
{
|
|
179
|
-
highcharts:
|
|
180
|
-
options:
|
|
181
|
-
ref:
|
|
182
|
-
containerProps: { style:
|
|
199
|
+
highcharts: z,
|
|
200
|
+
options: S,
|
|
201
|
+
ref: r,
|
|
202
|
+
containerProps: { style: L }
|
|
183
203
|
}
|
|
184
|
-
) }) :
|
|
185
|
-
|
|
204
|
+
) }) : b ? /* @__PURE__ */ s(
|
|
205
|
+
k,
|
|
186
206
|
{
|
|
187
|
-
highcharts:
|
|
188
|
-
options:
|
|
189
|
-
ref:
|
|
190
|
-
containerProps: { style:
|
|
207
|
+
highcharts: z,
|
|
208
|
+
options: S,
|
|
209
|
+
ref: r,
|
|
210
|
+
containerProps: { style: L }
|
|
191
211
|
}
|
|
192
|
-
) : /* @__PURE__ */ s(
|
|
193
|
-
|
|
212
|
+
) : /* @__PURE__ */ s(
|
|
213
|
+
B,
|
|
194
214
|
{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
215
|
+
className: g,
|
|
216
|
+
isLoading: d,
|
|
217
|
+
"data-slot": O ? "chart-scatter3d" : void 0,
|
|
218
|
+
children: /* @__PURE__ */ s(P, { loader: f, children: /* @__PURE__ */ s(
|
|
219
|
+
k,
|
|
220
|
+
{
|
|
221
|
+
highcharts: z,
|
|
222
|
+
options: S,
|
|
223
|
+
ref: r,
|
|
224
|
+
containerProps: { style: L }
|
|
225
|
+
}
|
|
226
|
+
) })
|
|
199
227
|
}
|
|
200
|
-
)
|
|
228
|
+
);
|
|
201
229
|
}
|
|
202
230
|
);
|
|
203
|
-
|
|
231
|
+
re.displayName = "Chart";
|
|
204
232
|
export {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
233
|
+
re as Chart,
|
|
234
|
+
ne as ChartActions,
|
|
235
|
+
B as ChartContainer,
|
|
236
|
+
P as ChartContent,
|
|
237
|
+
se as ChartFullScreen,
|
|
238
|
+
ee as ChartHeader,
|
|
239
|
+
te as ChartTitle
|
|
212
240
|
};
|
|
@@ -33,6 +33,23 @@ export interface ChartProps {
|
|
|
33
33
|
*/
|
|
34
34
|
gradient?: boolean | ChartGradientOptions;
|
|
35
35
|
options?: Highcharts.Options;
|
|
36
|
+
/**
|
|
37
|
+
* Heatmap only. Fixed row height in px. Chart height becomes
|
|
38
|
+
* `rows * cellMinHeight + chrome` so appending rows does not shrink cells.
|
|
39
|
+
* Omit to keep stretch-to-`height` behavior.
|
|
40
|
+
*/
|
|
41
|
+
cellMinHeight?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Heatmap only. Minimum column width in px. Combine with `fillContainer`
|
|
44
|
+
* to grow columns when the host is wider than `columns * cellMinWidth`.
|
|
45
|
+
*/
|
|
46
|
+
cellMinWidth?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Heatmap only. Extra host width goes to columns (CSS `width: 100%` + `minWidth`).
|
|
49
|
+
* When omitted, `cellMinWidth` shrink-wraps the chart to the min width.
|
|
50
|
+
* Does not fetch or page data — overflow and `onEndReached` stay on the consumer.
|
|
51
|
+
*/
|
|
52
|
+
fillContainer?: boolean;
|
|
36
53
|
height?: number | string;
|
|
37
54
|
width?: number | string;
|
|
38
55
|
className?: string;
|