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,56 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ScenarioComparisonCell {
|
|
3
|
+
/** One entry per metric header, in the same order. A third header needs a third entry. */
|
|
4
|
+
values?: readonly ReactNode[];
|
|
5
|
+
/** Indexes in `values` that render as a success badge. Omit to keep every value as text. */
|
|
6
|
+
badgeIndexes?: readonly number[];
|
|
7
|
+
emphasized?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface ScenarioComparisonRow {
|
|
10
|
+
id: string;
|
|
11
|
+
label: ReactNode;
|
|
12
|
+
icon?: ReactNode;
|
|
13
|
+
swatch?: string;
|
|
14
|
+
children?: readonly ScenarioComparisonRow[];
|
|
15
|
+
}
|
|
16
|
+
export interface ScenarioComparisonColumn {
|
|
17
|
+
id: string;
|
|
18
|
+
title: ReactNode;
|
|
19
|
+
values?: Record<string, ScenarioComparisonCell>;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface FlatScenarioComparisonRow {
|
|
23
|
+
id: string;
|
|
24
|
+
label: ReactNode;
|
|
25
|
+
icon?: ReactNode;
|
|
26
|
+
swatch?: string;
|
|
27
|
+
depth: number;
|
|
28
|
+
emphasized: boolean;
|
|
29
|
+
}
|
|
30
|
+
export interface ScenarioComparisonLabelState {
|
|
31
|
+
row: FlatScenarioComparisonRow;
|
|
32
|
+
hovered: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface ScenarioComparisonCellState {
|
|
35
|
+
row: FlatScenarioComparisonRow;
|
|
36
|
+
column: ScenarioComparisonColumn;
|
|
37
|
+
cell?: ScenarioComparisonCell;
|
|
38
|
+
hovered: boolean;
|
|
39
|
+
}
|
|
40
|
+
export interface ScenarioComparisonProps {
|
|
41
|
+
title?: ReactNode;
|
|
42
|
+
badge?: ReactNode;
|
|
43
|
+
toolbar?: ReactNode;
|
|
44
|
+
rows: readonly ScenarioComparisonRow[];
|
|
45
|
+
columns: readonly ScenarioComparisonColumn[];
|
|
46
|
+
value?: string;
|
|
47
|
+
defaultValue?: string;
|
|
48
|
+
onValueChange?: (value: string) => void;
|
|
49
|
+
metricHeaders?: readonly ReactNode[];
|
|
50
|
+
selectLabel?: string;
|
|
51
|
+
selectedLabel?: string;
|
|
52
|
+
renderLabel?: (state: ScenarioComparisonLabelState) => ReactNode;
|
|
53
|
+
renderCell?: (state: ScenarioComparisonCellState) => ReactNode;
|
|
54
|
+
className?: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const scenarioComparisonRootVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
2
|
+
export declare const scenarioComparisonCardVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
3
|
+
export declare const scenarioComparisonRowsClassName = "min-h-0 overflow-x-hidden overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden";
|
|
4
|
+
export declare const scenarioComparisonLabelVariants: (props?: ({
|
|
5
|
+
kind?: "child" | "parent" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export declare const scenarioComparisonConnectorClassName = "h-px w-10 shrink-0 border-t border-dotted border-stroke-accent";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { cva as e } from "class-variance-authority";
|
|
2
|
+
const a = e(
|
|
3
|
+
"flex h-full min-h-0 min-w-0 flex-col gap-4 overflow-hidden rounded-lg bg-canvas-elevated px-4 py-3 shadow-elevation-header"
|
|
4
|
+
), o = e(
|
|
5
|
+
[
|
|
6
|
+
"grid h-full min-h-0 grid-rows-subgrid gap-0 overflow-hidden rounded-xl border border-solid border-stroke bg-none bg-canvas-elevated p-0 px-4 shadow-none [grid-row:1/-1]",
|
|
7
|
+
"data-[selected]:border-brand data-[selected]:bg-gradient-to-b data-[selected]:from-canvas-muted data-[selected]:to-canvas-elevated data-[selected]:shadow-[inset_3px_0_0_0_var(--color-primary)]"
|
|
8
|
+
]
|
|
9
|
+
), n = "min-h-0 overflow-x-hidden overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", d = e(
|
|
10
|
+
"inline-flex max-w-full min-w-0 items-center justify-center gap-1 rounded-full px-2 py-1 text-sm font-medium leading-[21px] capitalize",
|
|
11
|
+
{
|
|
12
|
+
variants: {
|
|
13
|
+
kind: {
|
|
14
|
+
parent: "border border-stroke-accent bg-accent text-accent-foreground",
|
|
15
|
+
child: "border-transparent"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
kind: "child"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
), t = "h-px w-10 shrink-0 border-t border-dotted border-stroke-accent";
|
|
23
|
+
export {
|
|
24
|
+
o as scenarioComparisonCardVariants,
|
|
25
|
+
t as scenarioComparisonConnectorClassName,
|
|
26
|
+
d as scenarioComparisonLabelVariants,
|
|
27
|
+
a as scenarioComparisonRootVariants,
|
|
28
|
+
n as scenarioComparisonRowsClassName
|
|
29
|
+
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Badge as e } from "./badge.js";
|
|
2
|
-
import { badgeVariants as
|
|
2
|
+
import { badgeVariants as p } from "./badge.variants.js";
|
|
3
|
+
import { Trophy as f } from "./trophy-icon.js";
|
|
3
4
|
export {
|
|
4
5
|
e as Badge,
|
|
5
|
-
|
|
6
|
+
f as Trophy,
|
|
7
|
+
p as badgeVariants
|
|
6
8
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export interface TrophyIconProps extends SVGProps<SVGSVGElement> {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
}
|
|
5
|
+
/** Outline trophy used on rank badges. The icon set has a medal, not this cup. */
|
|
6
|
+
export declare const Trophy: import('react').ForwardRefExoticComponent<Omit<TrophyIconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n } from "react";
|
|
3
|
+
const h = n(function({ size: C = 16, className: t, ...e }, i) {
|
|
4
|
+
const r = typeof C == "number" ? C : 16;
|
|
5
|
+
return /* @__PURE__ */ o(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
ref: i,
|
|
9
|
+
width: r,
|
|
10
|
+
height: r,
|
|
11
|
+
viewBox: "0 0 16 16",
|
|
12
|
+
fill: "none",
|
|
13
|
+
"aria-hidden": !0,
|
|
14
|
+
className: t,
|
|
15
|
+
...e,
|
|
16
|
+
children: /* @__PURE__ */ o(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M7.33333 12.6667V10.6C6.78889 10.4778 6.30278 10.2472 5.875 9.90833C5.44722 9.56944 5.13333 9.14444 4.93333 8.63333C4.1 8.53333 3.40278 8.16944 2.84167 7.54167C2.28056 6.91389 2 6.17778 2 5.33333V4.66667C2 4.3 2.13056 3.98611 2.39167 3.725C2.65278 3.46389 2.96667 3.33333 3.33333 3.33333H4.66667C4.66667 2.96667 4.79722 2.65278 5.05833 2.39167C5.31944 2.13056 5.63333 2 6 2H10C10.3667 2 10.6806 2.13056 10.9417 2.39167C11.2028 2.65278 11.3333 2.96667 11.3333 3.33333H12.6667C13.0333 3.33333 13.3472 3.46389 13.6083 3.725C13.8694 3.98611 14 4.3 14 4.66667V5.33333C14 6.17778 13.7194 6.91389 13.1583 7.54167C12.5972 8.16944 11.9 8.53333 11.0667 8.63333C10.8667 9.14444 10.5528 9.56944 10.125 9.90833C9.69722 10.2472 9.21111 10.4778 8.66667 10.6V12.6667H10.6667C10.8556 12.6667 11.0139 12.7306 11.1417 12.8583C11.2694 12.9861 11.3333 13.1444 11.3333 13.3333C11.3333 13.5222 11.2694 13.6806 11.1417 13.8083C11.0139 13.9361 10.8556 14 10.6667 14H5.33333C5.14444 14 4.98611 13.9361 4.85833 13.8083C4.73056 13.6806 4.66667 13.5222 4.66667 13.3333C4.66667 13.1444 4.73056 12.9861 4.85833 12.8583C4.98611 12.7306 5.14444 12.6667 5.33333 12.6667H7.33333ZM4.66667 7.2V4.66667H3.33333V5.33333C3.33333 5.75556 3.45556 6.13611 3.7 6.475C3.94444 6.81389 4.26667 7.05556 4.66667 7.2ZM9.41667 8.75C9.80556 8.36111 10 7.88889 10 7.33333V3.33333H6V7.33333C6 7.88889 6.19444 8.36111 6.58333 8.75C6.97222 9.13889 7.44444 9.33333 8 9.33333C8.55556 9.33333 9.02778 9.13889 9.41667 8.75ZM11.3333 7.2C11.7333 7.05556 12.0556 6.81389 12.3 6.475C12.5444 6.13611 12.6667 5.75556 12.6667 5.33333V4.66667H11.3333V7.2Z",
|
|
20
|
+
fill: "currentColor"
|
|
21
|
+
}
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
);
|
|
25
|
+
});
|
|
26
|
+
export {
|
|
27
|
+
h as Trophy
|
|
28
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChartProps } from './chart.types';
|
|
2
|
+
import type * as Highcharts from "highcharts";
|
|
3
|
+
/** Recommended heatmap row height when a consumer wants fixed cells. */
|
|
4
|
+
export declare const HEATMAP_CELL_MIN_HEIGHT_PX = 36;
|
|
5
|
+
/** Recommended heatmap column width floor when a consumer wants fixed cells. */
|
|
6
|
+
export declare const HEATMAP_CELL_MIN_WIDTH_PX = 72;
|
|
7
|
+
export type HeatmapChartBoxSize = {
|
|
8
|
+
height: number | string | undefined;
|
|
9
|
+
width: number | string | undefined;
|
|
10
|
+
minWidth?: number;
|
|
11
|
+
};
|
|
12
|
+
export type HeatmapChartBoxSizeInput = {
|
|
13
|
+
type?: ChartProps["type"];
|
|
14
|
+
height?: ChartProps["height"];
|
|
15
|
+
width?: ChartProps["width"];
|
|
16
|
+
cellMinHeight?: number;
|
|
17
|
+
cellMinWidth?: number;
|
|
18
|
+
fillContainer?: boolean;
|
|
19
|
+
rowCount: number;
|
|
20
|
+
columnCount: number;
|
|
21
|
+
verticalChrome?: number;
|
|
22
|
+
horizontalChrome?: number;
|
|
23
|
+
availableWidth?: number;
|
|
24
|
+
};
|
|
25
|
+
/** Margin + spacing around the heatmap plot band. */
|
|
26
|
+
export declare function readHeatmapChartChrome(options: Highcharts.Options | undefined): {
|
|
27
|
+
vertical: number;
|
|
28
|
+
horizontal: number;
|
|
29
|
+
};
|
|
30
|
+
export declare function readHeatmapChartBoxSize(input: HeatmapChartBoxSizeInput): HeatmapChartBoxSize;
|
|
31
|
+
export declare function readHeatmapChartBoxSizeFromProps(props: Pick<ChartProps, "type" | "height" | "width" | "cellMinHeight" | "cellMinWidth" | "fillContainer" | "xAxisCategories" | "yAxisCategories" | "options">): HeatmapChartBoxSize;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
function f(t) {
|
|
2
|
+
return Math.max(t, 1);
|
|
3
|
+
}
|
|
4
|
+
function i(t, e) {
|
|
5
|
+
return typeof t == "number" && Number.isFinite(t) ? t : e;
|
|
6
|
+
}
|
|
7
|
+
function C(t) {
|
|
8
|
+
return typeof t == "number" ? [t, t, t, t] : Array.isArray(t) && t.length >= 4 ? [
|
|
9
|
+
i(t[0], 10),
|
|
10
|
+
i(t[1], 10),
|
|
11
|
+
i(t[2], 15),
|
|
12
|
+
i(t[3], 10)
|
|
13
|
+
] : [10, 10, 15, 10];
|
|
14
|
+
}
|
|
15
|
+
function s(t) {
|
|
16
|
+
const e = t?.chart;
|
|
17
|
+
if (e === void 0 || Array.isArray(e))
|
|
18
|
+
return { vertical: 25, horizontal: 20 };
|
|
19
|
+
const [l, c, d, m] = C(
|
|
20
|
+
e.spacing
|
|
21
|
+
), n = i(e.marginTop, 0), a = i(e.marginRight, 0), o = i(e.marginBottom, 0), r = i(e.marginLeft, 0);
|
|
22
|
+
return {
|
|
23
|
+
vertical: n + l + o + d,
|
|
24
|
+
horizontal: r + m + a + c
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function v(t) {
|
|
28
|
+
return t.availableWidth !== void 0 && t.availableWidth > 0 ? t.availableWidth : typeof t.width == "number" ? t.width : 0;
|
|
29
|
+
}
|
|
30
|
+
function u(t) {
|
|
31
|
+
if (!(t.type === "heatmap" && (t.cellMinHeight !== void 0 || t.cellMinWidth !== void 0 || t.fillContainer === !0)))
|
|
32
|
+
return { height: t.height, width: t.width };
|
|
33
|
+
const l = f(t.rowCount), c = f(t.columnCount), d = t.verticalChrome ?? 0, m = t.horizontalChrome ?? 0, n = t.cellMinHeight, a = t.cellMinWidth, o = n === void 0 ? void 0 : l * n + d, r = o === void 0 ? t.height : typeof t.height == "number" ? Math.max(o, t.height) : o, h = a === void 0 ? void 0 : c * a + m;
|
|
34
|
+
if (h === void 0)
|
|
35
|
+
return {
|
|
36
|
+
height: r,
|
|
37
|
+
width: t.width
|
|
38
|
+
};
|
|
39
|
+
if (t.fillContainer === !0) {
|
|
40
|
+
const g = v(t);
|
|
41
|
+
return {
|
|
42
|
+
height: r,
|
|
43
|
+
width: g > 0 ? Math.max(h, g) : t.width ?? "100%",
|
|
44
|
+
minWidth: h
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
height: r,
|
|
49
|
+
width: h,
|
|
50
|
+
minWidth: h
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function w(t) {
|
|
54
|
+
const e = s(t.options);
|
|
55
|
+
return u({
|
|
56
|
+
type: t.type,
|
|
57
|
+
height: t.height,
|
|
58
|
+
width: t.width,
|
|
59
|
+
cellMinHeight: t.cellMinHeight,
|
|
60
|
+
cellMinWidth: t.cellMinWidth,
|
|
61
|
+
fillContainer: t.fillContainer,
|
|
62
|
+
rowCount: t.yAxisCategories?.length ?? 0,
|
|
63
|
+
columnCount: t.xAxisCategories?.length ?? 0,
|
|
64
|
+
verticalChrome: e.vertical,
|
|
65
|
+
horizontalChrome: e.horizontal
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
u as readHeatmapChartBoxSize,
|
|
70
|
+
w as readHeatmapChartBoxSizeFromProps,
|
|
71
|
+
s as readHeatmapChartChrome
|
|
72
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { default as Highcharts, Chart3dOptions } from 'highcharts';
|
|
2
|
+
import { ChartProps } from './chart.types';
|
|
3
|
+
type DragChart = {
|
|
4
|
+
container: object;
|
|
5
|
+
pointer: {
|
|
6
|
+
normalize: (event: unknown) => {
|
|
7
|
+
chartX: number;
|
|
8
|
+
chartY: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
options: {
|
|
12
|
+
chart?: {
|
|
13
|
+
options3d?: {
|
|
14
|
+
alpha?: number;
|
|
15
|
+
beta?: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
update: (options: {
|
|
20
|
+
chart: {
|
|
21
|
+
options3d: {
|
|
22
|
+
alpha: number;
|
|
23
|
+
beta: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}, redraw?: boolean, oneToOne?: boolean, animation?: boolean) => void;
|
|
27
|
+
};
|
|
28
|
+
type Unbind = () => void;
|
|
29
|
+
type AddEvent = (element: object, type: string, handler: (event: unknown) => void) => Unbind | void;
|
|
30
|
+
/** Drag-to-rotate for Highcharts 3D charts (bound from `chart.events.load`). */
|
|
31
|
+
export declare function attach3dDragRotation(chart: DragChart, addEvent: AddEvent): void;
|
|
32
|
+
export declare function enable3dDragRotation(this: DragChart): void;
|
|
33
|
+
export declare function chartUsesScatter3d(props: Pick<ChartProps, 'is3D' | 'type' | 'series'>): boolean;
|
|
34
|
+
type Chart3dFrame = NonNullable<Chart3dOptions['frame']>;
|
|
35
|
+
export declare function mergeScatter3dChartLoadHandlers(userLoad: Highcharts.ChartLoadCallbackFunction | undefined): Highcharts.ChartLoadCallbackFunction;
|
|
36
|
+
export declare function mergeScatter3dOptions3dFrame(base: Chart3dFrame | undefined, override: Chart3dFrame | undefined): Chart3dFrame | undefined;
|
|
37
|
+
/** Design-system defaults for 3D scatter (axes, frame, markers, drag rotation). */
|
|
38
|
+
export declare function getScatter3dHighchartsOptions(props: Pick<ChartProps, 'xAxisTitle' | 'yAxisTitle' | 'options'>): Highcharts.Options;
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import L from "highcharts";
|
|
2
|
+
import { getInitializedHighcharts as v } from "./initializeHighcharts.js";
|
|
3
|
+
const c = "var(--color-surface-muted)", g = 5;
|
|
4
|
+
function n(t) {
|
|
5
|
+
return typeof t == "function" ? t : void 0;
|
|
6
|
+
}
|
|
7
|
+
function S(t, e) {
|
|
8
|
+
let i;
|
|
9
|
+
const o = (l) => {
|
|
10
|
+
const h = t.pointer.normalize(l), y = h.chartX, x = h.chartY, A = t.options.chart?.options3d?.alpha ?? 0, z = t.options.chart?.options3d?.beta ?? 0, r = [], p = (d) => {
|
|
11
|
+
const m = t.pointer.normalize(d);
|
|
12
|
+
t.update(
|
|
13
|
+
{
|
|
14
|
+
chart: {
|
|
15
|
+
options3d: {
|
|
16
|
+
alpha: A + (m.chartY - x) / g,
|
|
17
|
+
beta: z + (y - m.chartX) / g
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
void 0,
|
|
22
|
+
void 0,
|
|
23
|
+
!1
|
|
24
|
+
);
|
|
25
|
+
}, f = () => {
|
|
26
|
+
r.forEach((d) => d?.()), r.length = 0, i = void 0;
|
|
27
|
+
};
|
|
28
|
+
i = f, r.push(n(e(document, "mousemove", p))), r.push(n(e(document, "touchmove", p))), r.push(n(e(document, "mouseup", f))), r.push(n(e(document, "touchend", f)));
|
|
29
|
+
}, s = [
|
|
30
|
+
n(e(t.container, "mousedown", o)),
|
|
31
|
+
n(e(t.container, "touchstart", o))
|
|
32
|
+
];
|
|
33
|
+
n(e(t, "destroy", () => {
|
|
34
|
+
i?.(), s.forEach((l) => l?.());
|
|
35
|
+
}));
|
|
36
|
+
}
|
|
37
|
+
function T() {
|
|
38
|
+
v();
|
|
39
|
+
const t = L.addEvent;
|
|
40
|
+
typeof t == "function" && S(this, t);
|
|
41
|
+
}
|
|
42
|
+
function F(t) {
|
|
43
|
+
return t.is3D ? t.type === "scatter3d" || t.series?.some((e) => "type" in e && e.type === "scatter3d") ? !0 : t.type === "scatter" : !1;
|
|
44
|
+
}
|
|
45
|
+
const k = {
|
|
46
|
+
color: "var(--color-foreground-tertiary)",
|
|
47
|
+
fontFamily: '"Manrope", sans-serif',
|
|
48
|
+
fontSize: "12px",
|
|
49
|
+
fontWeight: "500"
|
|
50
|
+
}, u = {
|
|
51
|
+
color: "var(--color-foreground-tertiary)",
|
|
52
|
+
fontFamily: '"Manrope", sans-serif',
|
|
53
|
+
fontSize: "14px",
|
|
54
|
+
fontWeight: "500",
|
|
55
|
+
lineHeight: "20px"
|
|
56
|
+
};
|
|
57
|
+
function D() {
|
|
58
|
+
return {
|
|
59
|
+
type: "linear",
|
|
60
|
+
categories: void 0,
|
|
61
|
+
startOnTick: !0,
|
|
62
|
+
endOnTick: !0,
|
|
63
|
+
showFirstLabel: !0,
|
|
64
|
+
showLastLabel: !0,
|
|
65
|
+
gridLineWidth: 1,
|
|
66
|
+
gridLineColor: "var(--color-border)",
|
|
67
|
+
gridLineDashStyle: "Solid",
|
|
68
|
+
minorGridLineWidth: 0,
|
|
69
|
+
lineWidth: 1,
|
|
70
|
+
lineColor: "var(--color-border)",
|
|
71
|
+
tickWidth: 0,
|
|
72
|
+
tickLength: 0,
|
|
73
|
+
labels: {
|
|
74
|
+
style: k,
|
|
75
|
+
position3d: "offset",
|
|
76
|
+
skew3d: !1
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function b(t, e) {
|
|
81
|
+
if (!e)
|
|
82
|
+
return t;
|
|
83
|
+
const i = ["bottom", "back", "left", "right", "top", "front"], o = { ...t, ...e };
|
|
84
|
+
for (const s of i)
|
|
85
|
+
e[s] && (o[s] = { ...t?.[s], ...e[s] });
|
|
86
|
+
return o;
|
|
87
|
+
}
|
|
88
|
+
function O(t) {
|
|
89
|
+
return function(...i) {
|
|
90
|
+
T.call(this), typeof t == "function" && t.apply(this, i);
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function R(t, e) {
|
|
94
|
+
return b(t, e);
|
|
95
|
+
}
|
|
96
|
+
function W(t) {
|
|
97
|
+
const i = t.options?.chart?.options3d, o = Array.isArray(t.options?.zAxis) ? t.options?.zAxis[0] : t.options?.zAxis, s = {
|
|
98
|
+
size: 1,
|
|
99
|
+
bottom: { color: c, size: 1, visible: !0 },
|
|
100
|
+
back: { color: c, size: 1, visible: !0 },
|
|
101
|
+
left: { color: c, size: 1, visible: !0 },
|
|
102
|
+
right: { color: c, size: 1, visible: !1 },
|
|
103
|
+
top: { color: "transparent", size: 0, visible: !1 },
|
|
104
|
+
front: { color: "transparent", size: 0, visible: !1 }
|
|
105
|
+
}, a = D();
|
|
106
|
+
return {
|
|
107
|
+
chart: {
|
|
108
|
+
type: "scatter3d",
|
|
109
|
+
spacingLeft: 0,
|
|
110
|
+
spacingRight: 0,
|
|
111
|
+
marginLeft: 24,
|
|
112
|
+
marginRight: 8,
|
|
113
|
+
options3d: {
|
|
114
|
+
enabled: !0,
|
|
115
|
+
alpha: 16,
|
|
116
|
+
beta: 22,
|
|
117
|
+
depth: 320,
|
|
118
|
+
viewDistance: 18,
|
|
119
|
+
fitToPlot: !0,
|
|
120
|
+
...i,
|
|
121
|
+
frame: b(s, i?.frame)
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
xAxis: {
|
|
125
|
+
...a,
|
|
126
|
+
crosshair: !1,
|
|
127
|
+
title: t.xAxisTitle ? {
|
|
128
|
+
text: t.xAxisTitle,
|
|
129
|
+
style: u,
|
|
130
|
+
position3d: "offset",
|
|
131
|
+
skew3d: !1
|
|
132
|
+
} : void 0
|
|
133
|
+
},
|
|
134
|
+
yAxis: {
|
|
135
|
+
...a,
|
|
136
|
+
title: t.yAxisTitle ? {
|
|
137
|
+
text: t.yAxisTitle,
|
|
138
|
+
style: u,
|
|
139
|
+
position3d: "offset",
|
|
140
|
+
skew3d: !1,
|
|
141
|
+
reserveSpace: !0,
|
|
142
|
+
margin: 18,
|
|
143
|
+
x: 0
|
|
144
|
+
} : void 0
|
|
145
|
+
},
|
|
146
|
+
zAxis: {
|
|
147
|
+
...a,
|
|
148
|
+
showFirstLabel: !1,
|
|
149
|
+
labels: {
|
|
150
|
+
...a.labels,
|
|
151
|
+
step: 5,
|
|
152
|
+
y: 14
|
|
153
|
+
},
|
|
154
|
+
title: {
|
|
155
|
+
text: o?.title?.text ?? "",
|
|
156
|
+
style: u,
|
|
157
|
+
position3d: "offset",
|
|
158
|
+
skew3d: !1
|
|
159
|
+
},
|
|
160
|
+
...o
|
|
161
|
+
},
|
|
162
|
+
plotOptions: {
|
|
163
|
+
scatter3d: {
|
|
164
|
+
marker: {
|
|
165
|
+
radius: 5,
|
|
166
|
+
symbol: "circle",
|
|
167
|
+
lineWidth: 0
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
export {
|
|
174
|
+
S as attach3dDragRotation,
|
|
175
|
+
F as chartUsesScatter3d,
|
|
176
|
+
T as enable3dDragRotation,
|
|
177
|
+
W as getScatter3dHighchartsOptions,
|
|
178
|
+
O as mergeScatter3dChartLoadHandlers,
|
|
179
|
+
R as mergeScatter3dOptions3dFrame
|
|
180
|
+
};
|
|
@@ -19,4 +19,4 @@ export declare function buildCategoryClusterHeatmapPoints(): CategoryClusterHeat
|
|
|
19
19
|
export declare function formatCategoryClusterHeatmapTooltip(formatterContext: object): string;
|
|
20
20
|
export declare const CATEGORY_CLUSTER_HEATMAP_SERIES: Highcharts.SeriesHeatmapOptions;
|
|
21
21
|
export declare const CATEGORY_CLUSTER_HEATMAP_OPTIONS: Highcharts.Options;
|
|
22
|
-
export declare const CATEGORY_CLUSTER_HEATMAP_SOURCE = "import {\n Chart,\n ChartContainer,\n ChartHeader,\n ChartTitle,\n ChartContent,\n} from 'impact-nova/chart';\nimport { Card } from 'impact-nova/card';\nimport { IrisMenu } from 'impact-nova/iris';\n\n<Card className=\"w-[880px] max-w-full rounded-lg p-3 shadow-elevation-card\">\n <ChartContainer>\n <ChartHeader>\n <ChartTitle>Category \u00D7 Cluster \u2014 ST%</ChartTitle>\n </ChartHeader>\n <IrisMenu appearance=\"status\">\n Cells are colour-coded against the 69% plan...\n </IrisMenu>\n <ChartContent>\n <Chart\n type=\"heatmap\"\n xAxisCategories={['A', 'B', 'C', 'D', 'E']}\n yAxisCategories={['Knitwear', 'Outerwear', 'Tops', 'Bottoms', 'Accessories', 'Denim']}\n showLegend={false}\n series={[{ type: 'heatmap', data, dataLabels: { enabled: true, format: '{point.value}%' } }]}\n options={{ yAxis: { reversed: true }, plotOptions: { heatmap: { borderRadius: 8, borderWidth: 4 } } }}\n />\n </ChartContent>\n </ChartContainer>\n</Card>";
|
|
22
|
+
export declare const CATEGORY_CLUSTER_HEATMAP_SOURCE = "import {\n Chart,\n ChartContainer,\n ChartHeader,\n ChartTitle,\n ChartContent,\n} from 'impact-nova/chart';\nimport { Card } from 'impact-nova/card';\nimport { IrisMenu } from 'impact-nova/iris';\n\n<Card className=\"w-[880px] max-w-full rounded-lg p-3 shadow-elevation-card\">\n <ChartContainer>\n <ChartHeader>\n <ChartTitle>Category \u00D7 Cluster \u2014 ST%</ChartTitle>\n </ChartHeader>\n <IrisMenu appearance=\"status\">\n Cells are colour-coded against the 69% plan...\n </IrisMenu>\n <ChartContent className=\"h-[352px] overflow-auto\">\n <Chart\n type=\"heatmap\"\n cellMinHeight={36}\n cellMinWidth={72}\n fillContainer\n xAxisCategories={['A', 'B', 'C', 'D', 'E']}\n yAxisCategories={['Knitwear', 'Outerwear', 'Tops', 'Bottoms', 'Accessories', 'Denim']}\n showLegend={false}\n series={[{ type: 'heatmap', data, dataLabels: { enabled: true, format: '{point.value}%' } }]}\n options={{ yAxis: { reversed: true }, plotOptions: { heatmap: { borderRadius: 8, borderWidth: 4 } } }}\n />\n </ChartContent>\n </ChartContainer>\n</Card>";
|