impact-nova 2.6.3 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
- package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
- package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
- package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
- package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
- package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
- package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
- package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
- package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
- package/dist/components/data/ag-grid-react/index.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.js +162 -146
- package/dist/components/data/data-table/data-table.js +85 -82
- package/dist/components/data/data-table/data-table.types.d.ts +5 -0
- package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
- package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
- package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
- package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
- package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
- package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
- package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
- package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
- package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
- package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
- package/dist/components/data-display/chart/chart.js +100 -93
- package/dist/components/data-display/chart/chart.types.d.ts +10 -0
- package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
- package/dist/components/data-display/chart/chart.utils.js +132 -35
- package/dist/components/data-display/chart/index.js +15 -13
- package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
- package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
- package/dist/components/data-display/globe-map/globe-map.js +161 -0
- package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
- package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
- package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
- package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
- package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
- package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
- package/dist/components/data-display/globe-map/index.d.ts +2 -0
- package/dist/components/data-display/globe-map/index.js +10 -0
- package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
- package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
- package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
- package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
- package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
- package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
- package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
- package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
- package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
- package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
- package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/index.js +12 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
- package/dist/components/data-display/notch-card/index.d.ts +2 -0
- package/dist/components/data-display/notch-card/index.js +6 -0
- package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
- package/dist/components/data-display/notch-card/notch-card.js +151 -0
- package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
- package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
- package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
- package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
- package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
- package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
- package/dist/components/feedback/hover-card/hover-card.js +28 -24
- package/dist/components/feedback/popover/popover.js +1 -1
- package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
- package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
- package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
- package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
- package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
- package/dist/components/flows/filter-strip/index.d.ts +1 -0
- package/dist/components/flows/filter-strip/index.js +4 -2
- package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
- package/dist/components/flows/iris-chat/index.d.ts +10 -0
- package/dist/components/flows/iris-chat/index.js +55 -0
- package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
- package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
- package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
- package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
- package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
- package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
- package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
- package/dist/components/flows/iris-chat/iris-chat.js +336 -0
- package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
- package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
- package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
- package/dist/components/flows/wizard/index.d.ts +2 -2
- package/dist/components/flows/wizard/index.js +17 -13
- package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
- package/dist/components/flows/wizard/wizard-context.js +15 -7
- package/dist/components/flows/wizard/wizard.d.ts +22 -4
- package/dist/components/flows/wizard/wizard.js +278 -174
- package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
- package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
- package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
- package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
- package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
- package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
- package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
- package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
- package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
- package/dist/components/forms/choice-card/choice-card.js +651 -170
- package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
- package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
- package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
- package/dist/components/forms/choice-card/index.d.ts +2 -1
- package/dist/components/forms/choice-card/index.js +27 -10
- package/dist/components/forms/combobox/combobox.js +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/layout/header/header.d.ts +3 -2
- package/dist/components/layout/header/header.js +67 -47
- package/dist/components/layout/header/header.types.d.ts +1 -0
- package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
- package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
- package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
- package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
- package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
- package/dist/components/primitives/iris/iris-control-context.js +44 -0
- package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
- package/dist/components/primitives/iris/iris-control-region.js +102 -0
- package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
- package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
- package/dist/components/primitives/iris/iris-control.variants.js +20 -0
- package/dist/components/primitives/iris/iris.d.ts +24 -0
- package/dist/components/primitives/iris/iris.js +232 -0
- package/dist/components/primitives/iris/iris.types.d.ts +35 -0
- package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
- package/dist/components/primitives/iris/iris.variants.js +120 -0
- package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
- package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
- package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
- package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
- package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
- package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
- package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
- package/dist/components/primitives/stepper/internals/step-model.js +10 -0
- package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
- package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
- package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
- package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
- package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
- package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
- package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
- package/dist/components/primitives/stepper/stepper.d.ts +1 -0
- package/dist/components/primitives/stepper/stepper.js +134 -52
- package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
- package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
- package/dist/components/primitives/stepper/stepper.variants.js +165 -5
- package/dist/components/primitives/tabs/tabs.d.ts +4 -1
- package/dist/components/primitives/tabs/tabs.js +131 -59
- package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
- package/dist/i18n/defaultMessages.d.ts +100 -0
- package/dist/i18n/defaultMessages.js +118 -21
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/de.js +99 -2
- package/dist/i18n/locales/es.js +99 -2
- package/dist/i18n/locales/hi.js +99 -2
- package/dist/i18n/locales/kn.js +99 -2
- package/dist/impact-nova-components.css +972 -2
- package/dist/impact-nova-tokens.scss +109 -1
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +585 -551
- package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
- package/dist/lib/virtualized/directional-range-extractor.js +39 -0
- package/dist/lib/virtualized/index.d.ts +3 -0
- package/dist/lib/virtualized/index.js +35 -27
- package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
- package/dist/lib/virtualized/scroll-seek.js +61 -0
- package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
- package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
- package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
- package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
- package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
- package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
- package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
- package/dist/lib/virtualized/useVirtualizedList.js +89 -87
- package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
- package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
- package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/node_modules/bail/index.js +7 -0
- package/dist/node_modules/ccount/index.js +12 -0
- package/dist/node_modules/comma-separated-tokens/index.js +9 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +43 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
- package/dist/node_modules/is-plain-obj/index.js +9 -0
- package/dist/node_modules/longest-streak/index.js +12 -0
- package/dist/node_modules/markdown-table/index.js +75 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
- package/dist/node_modules/micromark/lib/parse.js +32 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.js +44 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
- package/dist/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/node_modules/micromark-factory-space/index.js +29 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +39 -0
- package/dist/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +378 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +568 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/node_modules/remark-gfm/lib/index.js +13 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/node_modules/trim-lines/index.js +28 -0
- package/dist/node_modules/trough/lib/index.js +60 -0
- package/dist/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/node_modules/unified/lib/index.js +529 -0
- package/dist/node_modules/unist-util-is/lib/index.js +91 -0
- package/dist/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/node_modules/vfile/lib/index.js +406 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/node_modules/vfile-message/lib/index.js +91 -0
- package/dist/providers/app-providers.js +13 -11
- package/dist/tailwind.config.js +3 -1
- package/dist/theme/tailwind-colors.js +2 -1
- package/package.json +39 -4
|
@@ -4,13 +4,47 @@ const a = t("flex w-full gap-0", {
|
|
|
4
4
|
orientation: {
|
|
5
5
|
horizontal: "flex-row items-center",
|
|
6
6
|
vertical: "flex-col items-stretch"
|
|
7
|
+
},
|
|
8
|
+
variant: {
|
|
9
|
+
default: "",
|
|
10
|
+
compact: "w-full",
|
|
11
|
+
pipeline: "flex-col items-stretch gap-2",
|
|
12
|
+
track: "relative w-full flex-col items-stretch",
|
|
13
|
+
summary: "flex-row items-center",
|
|
14
|
+
rail: "relative flex-col items-stretch gap-4 overflow-visible"
|
|
7
15
|
}
|
|
8
16
|
},
|
|
17
|
+
compoundVariants: [
|
|
18
|
+
{
|
|
19
|
+
variant: "compact",
|
|
20
|
+
orientation: "vertical",
|
|
21
|
+
// Stretch so every pill shares one consistent width (not content-sized)
|
|
22
|
+
className: "flex-col items-stretch"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
variant: "compact",
|
|
26
|
+
orientation: "horizontal",
|
|
27
|
+
className: "flex-row items-stretch"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
variant: "pipeline",
|
|
31
|
+
className: "flex-col items-stretch gap-2"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
variant: "summary",
|
|
35
|
+
className: "flex-row items-center gap-0 overflow-visible ps-2"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
variant: "rail",
|
|
39
|
+
className: "relative w-full flex-col items-stretch gap-4 overflow-visible"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
9
42
|
defaultVariants: {
|
|
10
|
-
orientation: "horizontal"
|
|
43
|
+
orientation: "horizontal",
|
|
44
|
+
variant: "default"
|
|
11
45
|
}
|
|
12
46
|
}), r = t(
|
|
13
|
-
"relative flex items-center transition-all duration-200",
|
|
47
|
+
"relative flex items-center transition-all duration-200 motion-reduce:transition-none",
|
|
14
48
|
{
|
|
15
49
|
variants: {
|
|
16
50
|
orientation: {
|
|
@@ -60,8 +94,42 @@ const a = t("flex w-full gap-0", {
|
|
|
60
94
|
status: "default"
|
|
61
95
|
}
|
|
62
96
|
}
|
|
97
|
+
), s = t(
|
|
98
|
+
"flex h-6 w-6 shrink-0 items-center justify-center rounded-[8px] text-xs font-extrabold transition-all motion-reduce:transition-none",
|
|
99
|
+
{
|
|
100
|
+
variants: {
|
|
101
|
+
status: {
|
|
102
|
+
default: "bg-muted text-navigation-muted",
|
|
103
|
+
active: "bg-brand text-brand-foreground",
|
|
104
|
+
completed: "bg-success text-success-foreground"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
defaultVariants: {
|
|
108
|
+
status: "default"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
), n = t(
|
|
112
|
+
// Equal-width pills: fill the stretch axis (vertical stack / horizontal flex-1)
|
|
113
|
+
"relative flex h-[38px] w-full min-w-0 items-center gap-2 overflow-visible rounded-[8px] p-2",
|
|
114
|
+
{
|
|
115
|
+
variants: {
|
|
116
|
+
orientation: {
|
|
117
|
+
vertical: "",
|
|
118
|
+
horizontal: "flex-1 basis-0"
|
|
119
|
+
},
|
|
120
|
+
status: {
|
|
121
|
+
default: "bg-canvas-elevated",
|
|
122
|
+
active: "bg-brand-tint",
|
|
123
|
+
completed: "bg-feedback-success-surface"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
defaultVariants: {
|
|
127
|
+
orientation: "vertical",
|
|
128
|
+
status: "default"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
63
131
|
), o = t(
|
|
64
|
-
"flex
|
|
132
|
+
"flex size-[22px] shrink-0 items-center justify-center rounded-[8px] text-xs font-bold tracking-[-0.12px]",
|
|
65
133
|
{
|
|
66
134
|
variants: {
|
|
67
135
|
status: {
|
|
@@ -74,9 +142,101 @@ const a = t("flex w-full gap-0", {
|
|
|
74
142
|
status: "default"
|
|
75
143
|
}
|
|
76
144
|
}
|
|
145
|
+
), i = t(
|
|
146
|
+
"min-w-0 flex-1 truncate text-sm capitalize",
|
|
147
|
+
{
|
|
148
|
+
variants: {
|
|
149
|
+
status: {
|
|
150
|
+
default: "font-semibold leading-[21px] text-secondary-foreground",
|
|
151
|
+
active: "font-medium leading-5 text-brand",
|
|
152
|
+
completed: "font-semibold leading-[21px] text-[var(--color-stepper-complete-ink)]"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
defaultVariants: {
|
|
156
|
+
status: "default"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
), l = t(
|
|
160
|
+
"shrink-0 rounded-full transition-colors motion-reduce:transition-none",
|
|
161
|
+
{
|
|
162
|
+
variants: {
|
|
163
|
+
status: {
|
|
164
|
+
default: "size-2 bg-muted",
|
|
165
|
+
active: "relative z-[1] flex size-11 items-center justify-center bg-transparent",
|
|
166
|
+
completed: "size-2.5 bg-[var(--color-stepper-pipeline-dot)]"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
defaultVariants: {
|
|
170
|
+
status: "default"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
), c = t(
|
|
174
|
+
"relative flex shrink-0 flex-col items-start rounded-xl px-3 py-2",
|
|
175
|
+
{
|
|
176
|
+
variants: {
|
|
177
|
+
status: {
|
|
178
|
+
default: "bg-secondary",
|
|
179
|
+
active: "gap-0.5 border-2 border-brand bg-canvas-elevated shadow-elevation-card",
|
|
180
|
+
completed: "justify-center bg-secondary"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
defaultVariants: {
|
|
184
|
+
status: "default"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
), d = t(
|
|
188
|
+
"flex size-6 shrink-0 items-center justify-center rounded-md text-sm font-bold tracking-[-0.14px]",
|
|
189
|
+
{
|
|
190
|
+
variants: {
|
|
191
|
+
status: {
|
|
192
|
+
default: "bg-content-icon text-brand-foreground",
|
|
193
|
+
active: "bg-brand text-brand-foreground",
|
|
194
|
+
completed: "bg-success text-success-foreground"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
defaultVariants: {
|
|
198
|
+
status: "default"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
), u = t(
|
|
202
|
+
"relative flex min-h-[65px] w-[284px] shrink-0 flex-col items-start gap-2 rounded-lg px-3 py-2.5",
|
|
203
|
+
{
|
|
204
|
+
variants: {
|
|
205
|
+
status: {
|
|
206
|
+
default: "border border-stroke-hairline bg-canvas-elevated shadow-elevation-card",
|
|
207
|
+
active: "overflow-visible bg-brand-tint",
|
|
208
|
+
completed: "bg-feedback-success-surface"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
defaultVariants: {
|
|
212
|
+
status: "default"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
), f = t(
|
|
216
|
+
"flex size-5 shrink-0 items-center justify-center rounded-md text-xs font-bold tracking-[-0.12px]",
|
|
217
|
+
{
|
|
218
|
+
variants: {
|
|
219
|
+
status: {
|
|
220
|
+
default: "bg-content-icon text-brand-foreground",
|
|
221
|
+
active: "bg-brand text-brand-foreground",
|
|
222
|
+
completed: "bg-success text-success-foreground"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
defaultVariants: {
|
|
226
|
+
status: "default"
|
|
227
|
+
}
|
|
228
|
+
}
|
|
77
229
|
);
|
|
78
230
|
export {
|
|
79
|
-
o as
|
|
231
|
+
o as compactIconVariants,
|
|
232
|
+
i as compactLabelVariants,
|
|
233
|
+
n as compactStepVariants,
|
|
234
|
+
s as iconVariants,
|
|
235
|
+
l as pipelineDotVariants,
|
|
80
236
|
r as stepVariants,
|
|
81
|
-
a as stepperVariants
|
|
237
|
+
a as stepperVariants,
|
|
238
|
+
f as summaryIconVariants,
|
|
239
|
+
u as summaryStepVariants,
|
|
240
|
+
d as trackIconVariants,
|
|
241
|
+
c as trackStepVariants
|
|
82
242
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { TabsVariant } from './tabs.types';
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
4
|
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
4
|
-
variant?:
|
|
5
|
+
variant?: TabsVariant;
|
|
5
6
|
size?: import('./tabs.types').TabsSize;
|
|
6
7
|
hideInactiveLabel?: boolean;
|
|
7
8
|
tooltipClassName?: string;
|
|
@@ -18,5 +19,7 @@ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.Ta
|
|
|
18
19
|
declare const TabsImage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
19
20
|
activeImage: React.ReactNode;
|
|
20
21
|
inactiveImage: React.ReactNode;
|
|
22
|
+
activeOnHover?: boolean;
|
|
23
|
+
grayscaleInactive?: boolean;
|
|
21
24
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
25
|
export { Tabs, TabsList, TabsTrigger, TabsContent, TabsImage };
|
|
@@ -1,82 +1,125 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as r, jsxs as g, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
3
|
import * as b from "@radix-ui/react-tabs";
|
|
4
|
-
import { useControllableState as
|
|
5
|
-
import { createComponent as
|
|
6
|
-
import { cn as
|
|
7
|
-
const
|
|
4
|
+
import { useControllableState as $ } from "@radix-ui/react-use-controllable-state";
|
|
5
|
+
import { createComponent as z } from "../../../lib/primitives/create-component.js";
|
|
6
|
+
import { cn as i } from "../../../lib/utils.js";
|
|
7
|
+
const j = d.createContext({
|
|
8
8
|
variant: "line",
|
|
9
9
|
size: "default"
|
|
10
|
-
}),
|
|
10
|
+
}), B = (e, a) => {
|
|
11
11
|
const t = e.split(/\s+/);
|
|
12
12
|
return t.length <= a ? e : t.slice(0, a).join(" ") + "...";
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
}, I = "M5.98893 0.639668C6.62899 -0.213253 7.90856 -0.213192 8.5485 0.639668L14.2155 8.19533C15.0056 9.25033 14.2517 10.7546 12.9342 10.7549H1.60221C0.283983 10.7546 -0.467977 9.25001 0.322916 8.19533L5.98893 0.639668Z";
|
|
14
|
+
function L({
|
|
15
|
+
fillVar: e,
|
|
16
|
+
className: a
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ r(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
"aria-hidden": !0,
|
|
22
|
+
viewBox: "0 0 14.5376 10.7549",
|
|
23
|
+
className: i(
|
|
24
|
+
"pointer-events-none absolute start-6 bottom-0 z-[1] h-[10.75px] w-[14.54px] translate-y-[calc(100%-0.5px)]",
|
|
25
|
+
a
|
|
26
|
+
),
|
|
27
|
+
children: /* @__PURE__ */ r("g", { transform: "translate(0 10.7549) scale(1 -1)", children: /* @__PURE__ */ r("path", { d: I, fill: e, shapeRendering: "geometricPrecision" }) })
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
function M() {
|
|
32
|
+
return /* @__PURE__ */ g(N, { children: [
|
|
33
|
+
/* @__PURE__ */ r(
|
|
34
|
+
L,
|
|
35
|
+
{
|
|
36
|
+
fillVar: "var(--tab-hover-border, var(--color-tab-soft-accent-muted))",
|
|
37
|
+
className: "hidden group-hover:block group-data-[state=active]:hidden"
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
/* @__PURE__ */ r(
|
|
41
|
+
L,
|
|
42
|
+
{
|
|
43
|
+
fillVar: "var(--tab-border, var(--color-tab-soft-accent))",
|
|
44
|
+
className: "hidden group-data-[state=active]:block"
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
] });
|
|
48
|
+
}
|
|
49
|
+
const W = d.forwardRef(({ variant: e = "line", size: a = "default", hideInactiveLabel: t = !1, tooltipClassName: o, maxWords: n, renderTabTooltip: v, value: p, defaultValue: m, onValueChange: s, ...h }, y) => {
|
|
50
|
+
const [c, w] = $({
|
|
51
|
+
prop: p,
|
|
52
|
+
defaultProp: m,
|
|
53
|
+
onChange: (f) => {
|
|
54
|
+
f !== void 0 && s?.(f);
|
|
19
55
|
}
|
|
20
|
-
}),
|
|
21
|
-
() => ({ variant: e, size: a, activeValue:
|
|
22
|
-
[e, a,
|
|
56
|
+
}), T = d.useMemo(
|
|
57
|
+
() => ({ variant: e, size: a, activeValue: c, hideInactiveLabel: t, tooltipClassName: o, maxWords: n, renderTabTooltip: v }),
|
|
58
|
+
[e, a, c, t, o, n, v]
|
|
23
59
|
);
|
|
24
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ r(j.Provider, { value: T, children: /* @__PURE__ */ r(
|
|
25
61
|
b.Root,
|
|
26
62
|
{
|
|
27
|
-
ref:
|
|
28
|
-
value:
|
|
29
|
-
onValueChange:
|
|
63
|
+
ref: y,
|
|
64
|
+
value: c,
|
|
65
|
+
onValueChange: w,
|
|
30
66
|
"data-component": "tabs",
|
|
31
67
|
"data-variant": e,
|
|
32
|
-
...
|
|
68
|
+
...h
|
|
33
69
|
}
|
|
34
70
|
) });
|
|
35
71
|
});
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
const { variant: o } =
|
|
39
|
-
return /* @__PURE__ */
|
|
72
|
+
W.displayName = b.Root.displayName;
|
|
73
|
+
const D = d.forwardRef(({ className: e, ...a }, t) => {
|
|
74
|
+
const { variant: o } = d.useContext(j);
|
|
75
|
+
return /* @__PURE__ */ r(
|
|
40
76
|
b.List,
|
|
41
77
|
{
|
|
42
78
|
ref: t,
|
|
43
79
|
"data-tabs": "list",
|
|
44
|
-
className:
|
|
80
|
+
className: i(
|
|
45
81
|
"inline-flex items-center justify-center rounded-lg",
|
|
46
82
|
o === "line" && "h-[38px] bg-canvas-elevated border w-full justify-start gap-2 px-2 shrink-0 py-0",
|
|
83
|
+
o === "lineBorderless" && "h-[38px] w-full justify-start gap-2 shrink-0 py-0 bg-transparent border-0",
|
|
47
84
|
o === "pill" && "h-[38px] p-1 bg-brand-tint text-brand gap-1",
|
|
48
85
|
o === "outline" && "bg-transparent gap-2 w-full justify-start",
|
|
49
86
|
o === "box" && "h-auto bg-transparent border-0 w-full justify-start gap-[16px] p-0 shrink-0",
|
|
87
|
+
o === "soft" && "h-auto bg-transparent border-0 w-full justify-start gap-2 p-0 shrink-0 overflow-visible",
|
|
50
88
|
e
|
|
51
89
|
),
|
|
52
90
|
style: { overflow: "visible" },
|
|
53
91
|
...a
|
|
54
92
|
}
|
|
55
93
|
);
|
|
56
|
-
}),
|
|
57
|
-
const { variant: s, size:
|
|
58
|
-
|
|
59
|
-
const
|
|
94
|
+
}), F = d.forwardRef(({ className: e, icon: a, children: t, maxWords: o, activeColor: n, style: v, ...p }, m) => {
|
|
95
|
+
const { variant: s, size: h, activeValue: y, hideInactiveLabel: c, tooltipClassName: w, maxWords: T, renderTabTooltip: f } = d.useContext(j), S = s === "line" || s === "lineBorderless", x = o ?? T, u = y === p.value, k = typeof t == "string", V = k && x ? B(t, x) : t, A = k && x && t.split(/\s+/).length > x, P = c && !u || A, l = { ...v }, C = s === "box" || s === "soft";
|
|
96
|
+
C && n && (l["--tab-border"] = n.border, l["--tab-bg"] = n.bg, l["--tab-text"] = n.text, l["--tab-hover-border"] = `color-mix(in srgb, ${n.border} 40%, var(--color-background))`, l["--tab-hover-pedestal"] = `color-mix(in srgb, ${n.border} 40%, var(--color-stroke-field))`, l["--tab-pedestal-fill"] = `color-mix(in srgb, ${n.border} 40%, var(--color-background))`, l["--tab-hover-bg"] = `color-mix(in srgb, ${n.bg} 50%, white)`, l["--tab-hover-text"] = `color-mix(in srgb, ${n.text} 60%, var(--color-foreground-tertiary))`);
|
|
97
|
+
const R = C ? /* @__PURE__ */ g(N, { children: [
|
|
60
98
|
t,
|
|
61
|
-
|
|
99
|
+
s === "soft" && /* @__PURE__ */ r(M, {}),
|
|
100
|
+
s === "box" && u && /* @__PURE__ */ r(
|
|
62
101
|
"span",
|
|
63
102
|
{
|
|
64
|
-
className:
|
|
103
|
+
className: i(
|
|
104
|
+
"absolute -bottom-[5.5px] start-1/2 -translate-x-1/2 w-[11px] h-[11px] rotate-45 pointer-events-none",
|
|
105
|
+
"border-b border-e bg-inherit border-b-inherit border-e-inherit"
|
|
106
|
+
)
|
|
65
107
|
}
|
|
66
108
|
)
|
|
67
|
-
] }) : /* @__PURE__ */ N
|
|
68
|
-
a && /* @__PURE__ */
|
|
69
|
-
/* @__PURE__ */
|
|
109
|
+
] }) : /* @__PURE__ */ g(N, { children: [
|
|
110
|
+
a && /* @__PURE__ */ r("span", { className: i("h-4 w-4 shrink-0", !c || u ? "me-2" : "me-0"), children: a }),
|
|
111
|
+
/* @__PURE__ */ r("span", { className: i(c && !u && "sr-only"), children: V })
|
|
70
112
|
] });
|
|
71
|
-
return /* @__PURE__ */
|
|
113
|
+
return /* @__PURE__ */ r(
|
|
72
114
|
b.Trigger,
|
|
73
115
|
{
|
|
74
|
-
ref:
|
|
116
|
+
ref: m,
|
|
75
117
|
"data-tabs": "trigger",
|
|
76
|
-
className:
|
|
118
|
+
className: i(
|
|
77
119
|
"relative inline-flex items-center justify-center whitespace-nowrap text-sm font-medium transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",
|
|
78
|
-
|
|
79
|
-
"h-full rounded-none border-b-2 border-transparent px-1 text-[13px] font-medium capitalize text-content-tertiary
|
|
120
|
+
S && [
|
|
121
|
+
"h-full rounded-none border-b-2 border-transparent px-1 text-[13px] font-medium capitalize text-content-tertiary",
|
|
122
|
+
s === "line" && "-mb-[1px]",
|
|
80
123
|
"data-[state=active]:border-brand data-[state=active]:text-brand data-[state=active]:shadow-none",
|
|
81
124
|
"hover:text-brand py-1.5 px-3"
|
|
82
125
|
],
|
|
@@ -89,7 +132,7 @@ const B = i.forwardRef(({ className: e, ...a }, t) => {
|
|
|
89
132
|
"rounded-full border border-content-badge bg-canvas-elevated text-content-badge font-['Manrope']",
|
|
90
133
|
"hover:bg-canvas-muted hover:text-content",
|
|
91
134
|
"data-[state=active]:border-brand data-[state=active]:text-brand",
|
|
92
|
-
|
|
135
|
+
h === "sm" ? "h-[24px] px-[8px] py-[2px] text-xs" : "h-9 px-4 py-2"
|
|
93
136
|
],
|
|
94
137
|
s === "box" && [
|
|
95
138
|
"group flex flex-row items-center justify-between min-w-[231px] w-fit gap-4 min-h-[45px] h-auto py-2 px-[16px] rounded-[8px] bg-canvas-elevated text-content-tertiary transition-none overflow-visible",
|
|
@@ -100,49 +143,78 @@ const B = i.forwardRef(({ className: e, ...a }, t) => {
|
|
|
100
143
|
"data-[state=active]:bg-[color:var(--tab-bg,var(--color-tab-active-surface))]",
|
|
101
144
|
"data-[state=active]:text-[color:var(--tab-text,var(--color-tab-active-foreground))]"
|
|
102
145
|
],
|
|
146
|
+
s === "soft" && [
|
|
147
|
+
"tabs-soft-trigger group flex flex-row items-center justify-between gap-3 h-[54px] w-full min-w-0 py-1 px-4 rounded-2xl overflow-visible",
|
|
148
|
+
"border-[1.5px] border-stroke",
|
|
149
|
+
"text-base font-semibold capitalize text-secondary-foreground",
|
|
150
|
+
"hover:data-[state=inactive]:[--tab-gradient-from:var(--tab-hover-bg,var(--color-tab-soft-surface))]",
|
|
151
|
+
"hover:data-[state=inactive]:border-[color:var(--tab-hover-border,var(--color-tab-soft-accent-muted))] hover:data-[state=inactive]:text-content-secondary",
|
|
152
|
+
"data-[state=active]:[--tab-gradient-from:var(--tab-bg,var(--color-tab-soft-surface))]",
|
|
153
|
+
"data-[state=active]:border-[color:var(--tab-border,var(--color-tab-soft-accent))]",
|
|
154
|
+
"data-[state=active]:text-[color:var(--tab-text,var(--color-content))]"
|
|
155
|
+
],
|
|
103
156
|
e
|
|
104
157
|
),
|
|
158
|
+
...p,
|
|
105
159
|
style: l,
|
|
106
|
-
|
|
107
|
-
children: W && p ? p(C, t, y) : C
|
|
160
|
+
children: P && f ? f(R, t, w) : R
|
|
108
161
|
}
|
|
109
162
|
);
|
|
110
163
|
});
|
|
111
|
-
|
|
112
|
-
const
|
|
164
|
+
F.displayName = b.Trigger.displayName;
|
|
165
|
+
const _ = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ r(
|
|
113
166
|
b.Content,
|
|
114
167
|
{
|
|
115
168
|
ref: t,
|
|
116
169
|
"data-tabs": "content",
|
|
117
170
|
tabIndex: -1,
|
|
118
|
-
className:
|
|
171
|
+
className: i(
|
|
119
172
|
"mt-2 focus-visible:outline-none focus:outline-none",
|
|
120
173
|
e
|
|
121
174
|
),
|
|
122
175
|
...a
|
|
123
176
|
}
|
|
124
177
|
));
|
|
125
|
-
|
|
126
|
-
const
|
|
178
|
+
_.displayName = b.Content.displayName;
|
|
179
|
+
const G = z(
|
|
127
180
|
"TabsImage",
|
|
128
|
-
({ className: e, activeImage: a, inactiveImage: t,
|
|
181
|
+
({ className: e, activeImage: a, inactiveImage: t, activeOnHover: o = !1, grayscaleInactive: n = !1, ...v }, p) => /* @__PURE__ */ g(
|
|
129
182
|
"div",
|
|
130
183
|
{
|
|
131
|
-
ref:
|
|
184
|
+
ref: p,
|
|
132
185
|
"data-component": "tabs-image",
|
|
133
|
-
className:
|
|
134
|
-
...
|
|
186
|
+
className: i("relative flex items-center justify-center shrink-0", e),
|
|
187
|
+
...v,
|
|
135
188
|
children: [
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
|
|
189
|
+
/* @__PURE__ */ r(
|
|
190
|
+
"div",
|
|
191
|
+
{
|
|
192
|
+
className: i(
|
|
193
|
+
"flex group-data-[state=active]:hidden",
|
|
194
|
+
o && "group-hover:hidden",
|
|
195
|
+
n && "grayscale"
|
|
196
|
+
),
|
|
197
|
+
children: t
|
|
198
|
+
}
|
|
199
|
+
),
|
|
200
|
+
/* @__PURE__ */ r(
|
|
201
|
+
"div",
|
|
202
|
+
{
|
|
203
|
+
className: i(
|
|
204
|
+
"hidden group-data-[state=active]:flex",
|
|
205
|
+
o && "group-hover:flex"
|
|
206
|
+
),
|
|
207
|
+
children: a
|
|
208
|
+
}
|
|
209
|
+
)
|
|
138
210
|
]
|
|
139
211
|
}
|
|
140
212
|
)
|
|
141
213
|
);
|
|
142
214
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
215
|
+
W as Tabs,
|
|
216
|
+
_ as TabsContent,
|
|
217
|
+
G as TabsImage,
|
|
218
|
+
D as TabsList,
|
|
219
|
+
F as TabsTrigger
|
|
148
220
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InfoTooltipRender } from '../../../lib/primitives/info-slot.types';
|
|
2
2
|
import type * as React from "react";
|
|
3
3
|
import type * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
|
-
export type TabsVariant = "line" | "pill" | "outline" | "box";
|
|
4
|
+
export type TabsVariant = "line" | "lineBorderless" | "pill" | "outline" | "box" | "soft";
|
|
5
5
|
export type TabsSize = "default" | "sm";
|
|
6
6
|
export type ActiveColorConfig = {
|
|
7
7
|
text: string;
|
|
@@ -25,4 +25,8 @@ export type TabsTriggerProps = React.ComponentPropsWithoutRef<typeof TabsPrimiti
|
|
|
25
25
|
export type TabsImageProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
26
26
|
activeImage: React.ReactNode;
|
|
27
27
|
inactiveImage: React.ReactNode;
|
|
28
|
+
/** Show `activeImage` on trigger hover as well as the selected state. */
|
|
29
|
+
activeOnHover?: boolean;
|
|
30
|
+
/** Apply `grayscale` to `inactiveImage` (use one color asset for both states). */
|
|
31
|
+
grayscaleInactive?: boolean;
|
|
28
32
|
};
|
|
@@ -188,6 +188,8 @@ export interface AriaMessages {
|
|
|
188
188
|
dragHandle: string;
|
|
189
189
|
popover: string;
|
|
190
190
|
slider: string;
|
|
191
|
+
increase: string;
|
|
192
|
+
decrease: string;
|
|
191
193
|
}
|
|
192
194
|
export interface PromptMessages {
|
|
193
195
|
cancel: string;
|
|
@@ -279,6 +281,79 @@ export interface SidebarMessages {
|
|
|
279
281
|
}
|
|
280
282
|
export interface StepperMessages {
|
|
281
283
|
stepOfTotal: string;
|
|
284
|
+
pipelinePrefix: string;
|
|
285
|
+
stepsCount: string;
|
|
286
|
+
currentlyStep: string;
|
|
287
|
+
previousSteps: string;
|
|
288
|
+
nextSteps: string;
|
|
289
|
+
}
|
|
290
|
+
export interface IrisChatMessages {
|
|
291
|
+
askIris: string;
|
|
292
|
+
askAnything: string;
|
|
293
|
+
greetingHello: string;
|
|
294
|
+
greetingAfternoon: string;
|
|
295
|
+
greetingEvening: string;
|
|
296
|
+
greetingNight: string;
|
|
297
|
+
greetingSubtitle: string;
|
|
298
|
+
suggested: string;
|
|
299
|
+
suggestedWorkflows: string;
|
|
300
|
+
showMore: string;
|
|
301
|
+
viewMore: string;
|
|
302
|
+
recentChats: string;
|
|
303
|
+
artifacts: string;
|
|
304
|
+
menu: string;
|
|
305
|
+
disclaimer: string;
|
|
306
|
+
learnMore: string;
|
|
307
|
+
disclaimerTitle: string;
|
|
308
|
+
disclaimerBody: string;
|
|
309
|
+
send: string;
|
|
310
|
+
stop: string;
|
|
311
|
+
add: string;
|
|
312
|
+
attach: string;
|
|
313
|
+
attachFile: string;
|
|
314
|
+
attachImage: string;
|
|
315
|
+
mic: string;
|
|
316
|
+
listening: string;
|
|
317
|
+
model: string;
|
|
318
|
+
newChat: string;
|
|
319
|
+
minimize: string;
|
|
320
|
+
expand: string;
|
|
321
|
+
back: string;
|
|
322
|
+
filter: string;
|
|
323
|
+
filterType: string;
|
|
324
|
+
filterStatus: string;
|
|
325
|
+
filterLastActivity: string;
|
|
326
|
+
pin: string;
|
|
327
|
+
rename: string;
|
|
328
|
+
archive: string;
|
|
329
|
+
delete: string;
|
|
330
|
+
like: string;
|
|
331
|
+
dislike: string;
|
|
332
|
+
speak: string;
|
|
333
|
+
stopSpeaking: string;
|
|
334
|
+
copy: string;
|
|
335
|
+
copied: string;
|
|
336
|
+
retry: string;
|
|
337
|
+
feedbackTitle: string;
|
|
338
|
+
feedbackPlaceholder: string;
|
|
339
|
+
feedbackSubmit: string;
|
|
340
|
+
feedbackThanks: string;
|
|
341
|
+
feedbackNotAsked: string;
|
|
342
|
+
feedbackTone: string;
|
|
343
|
+
feedbackIncorrect: string;
|
|
344
|
+
feedbackOther: string;
|
|
345
|
+
download: string;
|
|
346
|
+
moreActions: string;
|
|
347
|
+
thinking: string;
|
|
348
|
+
processSteps: string;
|
|
349
|
+
citations: string;
|
|
350
|
+
today: string;
|
|
351
|
+
applySend: string;
|
|
352
|
+
removeAttachment: string;
|
|
353
|
+
generationError: string;
|
|
354
|
+
generationErrorBody: string;
|
|
355
|
+
cancelled: string;
|
|
356
|
+
copyCode: string;
|
|
282
357
|
}
|
|
283
358
|
export interface GuidanceMessages {
|
|
284
359
|
endTour: string;
|
|
@@ -336,6 +411,28 @@ export interface GridHeaderMessages {
|
|
|
336
411
|
chooseColumns: string;
|
|
337
412
|
resetColumns: string;
|
|
338
413
|
}
|
|
414
|
+
export interface HexTilemapMessages {
|
|
415
|
+
zoomIn: string;
|
|
416
|
+
zoomOut: string;
|
|
417
|
+
zoomReset: string;
|
|
418
|
+
zoomToFit: string;
|
|
419
|
+
zoomToPercent: string;
|
|
420
|
+
reset: string;
|
|
421
|
+
zoomMenu: string;
|
|
422
|
+
mapLabel: string;
|
|
423
|
+
hideSeries: string;
|
|
424
|
+
showSeries: string;
|
|
425
|
+
legend: string;
|
|
426
|
+
}
|
|
427
|
+
export interface GlobeMapMessages {
|
|
428
|
+
legend: string;
|
|
429
|
+
hideSeries: string;
|
|
430
|
+
showSeries: string;
|
|
431
|
+
mapLabel: string;
|
|
432
|
+
closePointCard: string;
|
|
433
|
+
trendingNow: string;
|
|
434
|
+
slideLabel: string;
|
|
435
|
+
}
|
|
339
436
|
export interface ImpactNovaMessages {
|
|
340
437
|
calendar: CalendarMessages;
|
|
341
438
|
datePicker: DatePickerMessages;
|
|
@@ -356,6 +453,9 @@ export interface ImpactNovaMessages {
|
|
|
356
453
|
sidebar: SidebarMessages;
|
|
357
454
|
stepper: StepperMessages;
|
|
358
455
|
guidance: GuidanceMessages;
|
|
456
|
+
irisChat: IrisChatMessages;
|
|
457
|
+
hexTilemap: HexTilemapMessages;
|
|
458
|
+
globeMap: GlobeMapMessages;
|
|
359
459
|
}
|
|
360
460
|
/** Default English messages used when no provider or partial override */
|
|
361
461
|
export declare const defaultMessages: ImpactNovaMessages;
|