impact-nova 3.0.0-alpha.5 → 3.0.0-alpha.6

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.
Files changed (27) hide show
  1. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +56 -42
  2. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +48 -45
  3. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +31 -33
  4. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +18 -17
  5. package/dist/components/data/ag-grid-react/editable-utils.d.ts +9 -1
  6. package/dist/components/data/ag-grid-react/editable-utils.js +46 -41
  7. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
  8. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
  9. package/dist/components/data/expandable-list-item/sku-picker-chrome.js +35 -30
  10. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +1 -1
  11. package/dist/components/data-display/chart/chart-scatter3d.d.ts +39 -0
  12. package/dist/components/data-display/chart/chart-scatter3d.js +180 -0
  13. package/dist/components/data-display/chart/chart.js +125 -112
  14. package/dist/components/data-display/chart/chart.utils.js +122 -92
  15. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  16. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  17. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  18. package/dist/components/forms/choice-card/choice-card-percent.js +68 -50
  19. package/dist/components/forms/choice-card/choice-card.js +23 -23
  20. package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
  21. package/dist/components/forms/select/components/Submenu.js +3 -2
  22. package/dist/components/primitives/stepper/internals/stepper-summary.js +5 -5
  23. package/dist/impact-nova-components.css +32 -4
  24. package/dist/impact-nova.css +1 -1
  25. package/dist/llms/rules/installation.js +1 -1
  26. package/dist/llms/rules/requirements.js +1 -1
  27. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { jsx as o, jsxs as g } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as x } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import * as L from "@radix-ui/react-checkbox";
4
4
  import * as G from "@radix-ui/react-radio-group";
@@ -12,7 +12,7 @@ import { cn as l } from "../../../lib/utils.js";
12
12
  import { choiceCardCheckboxIndicatorClassName as H, choiceCardRadioIndicatorClassName as $ } from "./choice-card-indicator.variants.js";
13
13
  import { ChoiceCardFeaturedBackdrop as K } from "./choice-card-featured-backdrop.js";
14
14
  import { choiceCardVariants as W } from "./choice-card.variants.js";
15
- const y = n.createContext(null), x = n.createContext({
15
+ const y = n.createContext(null), g = n.createContext({
16
16
  value: "",
17
17
  selected: !1,
18
18
  type: "single",
@@ -44,7 +44,7 @@ function Ce() {
44
44
  );
45
45
  }
46
46
  function pe() {
47
- return n.useContext(x);
47
+ return n.useContext(g);
48
48
  }
49
49
  function Z({
50
50
  selected: e,
@@ -266,7 +266,7 @@ const U = p(
266
266
  "aria-label": z
267
267
  }
268
268
  );
269
- return /* @__PURE__ */ o(x.Provider, { value: j, children: /* @__PURE__ */ g(
269
+ return /* @__PURE__ */ o(g.Provider, { value: j, children: /* @__PURE__ */ x(
270
270
  U,
271
271
  {
272
272
  ref: C,
@@ -279,7 +279,7 @@ const U = p(
279
279
  a,
280
280
  u.inCompare && l(
281
281
  "isolate grid w-full grid-rows-subgrid [grid-row:1/-1] gap-0",
282
- u.fit === "auto" ? "min-w-0 max-w-[420px]" : "min-w-[411px]"
282
+ u.fit === "auto" ? "min-w-0 max-w-[420px]" : "w-[411px] min-w-[411px] max-w-[411px]"
283
283
  )
284
284
  ),
285
285
  ...h,
@@ -295,7 +295,7 @@ const U = p(
295
295
  ), fe = p(
296
296
  "ChoiceCardIndicator",
297
297
  ({ className: e }, a) => {
298
- const { selected: t, type: r, disabled: c } = n.useContext(x);
298
+ const { selected: t, type: r, disabled: c } = n.useContext(g);
299
299
  return r === "multiple" ? /* @__PURE__ */ o(
300
300
  "span",
301
301
  {
@@ -361,9 +361,9 @@ function X({ className: e }) {
361
361
  }
362
362
  );
363
363
  }
364
- const ge = p(
364
+ const xe = p(
365
365
  "ChoiceCardRibbon",
366
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
366
+ ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ x(
367
367
  "div",
368
368
  {
369
369
  ref: r,
@@ -387,7 +387,7 @@ const ge = p(
387
387
  ]
388
388
  }
389
389
  )
390
- ), xe = p(
390
+ ), ge = p(
391
391
  "ChoiceCardFooter",
392
392
  ({ className: e, children: a, ...t }, r) => {
393
393
  const c = n.useContext(v);
@@ -409,7 +409,7 @@ const ge = p(
409
409
  ), we = p(
410
410
  "ChoiceCardContent",
411
411
  ({ className: e, children: a, ...t }, r) => {
412
- const { variant: c } = n.useContext(x);
412
+ const { variant: c } = n.useContext(g);
413
413
  return n.useContext(v).inCompare ? /* @__PURE__ */ o(
414
414
  "div",
415
415
  {
@@ -445,7 +445,7 @@ const ge = p(
445
445
  children: a
446
446
  }
447
447
  )), Ne = p("ChoiceCardTitle", ({ className: e, children: a, ...t }, r) => {
448
- const { selected: c, disabled: i, size: m, variant: h, labelIsExplicit: C, setAccessibleName: s } = n.useContext(x), u = n.useRef(null), f = _(r, u);
448
+ const { selected: c, disabled: i, size: m, variant: h, labelIsExplicit: C, setAccessibleName: s } = n.useContext(g), u = n.useRef(null), f = _(r, u);
449
449
  return n.useLayoutEffect(() => {
450
450
  if (C) return;
451
451
  const d = u.current?.textContent?.trim();
@@ -485,7 +485,7 @@ const ge = p(
485
485
  );
486
486
  }
487
487
  ), ye = p("ChoiceCardDescription", ({ className: e, children: a, ...t }, r) => {
488
- const { selected: c, disabled: i, variant: m } = n.useContext(x);
488
+ const { selected: c, disabled: i, variant: m } = n.useContext(g);
489
489
  return /* @__PURE__ */ o(
490
490
  "p",
491
491
  {
@@ -511,7 +511,7 @@ const ge = p(
511
511
  children: c = "Selected",
512
512
  ...i
513
513
  }, m) => {
514
- const { selected: h } = n.useContext(x);
514
+ const { selected: h } = n.useContext(g);
515
515
  return h ? /* @__PURE__ */ o(
516
516
  a ? T : "div",
517
517
  {
@@ -557,7 +557,7 @@ const ge = p(
557
557
  e
558
558
  ),
559
559
  ...t,
560
- children: c.map((i, m) => /* @__PURE__ */ g(n.Fragment, { children: [
560
+ children: c.map((i, m) => /* @__PURE__ */ x(n.Fragment, { children: [
561
561
  m > 0 ? /* @__PURE__ */ o("div", { className: "h-3 w-px shrink-0 bg-stroke-field", "aria-hidden": "true" }) : null,
562
562
  i
563
563
  ] }, m))
@@ -566,7 +566,7 @@ const ge = p(
566
566
  }
567
567
  ), Ie = p(
568
568
  "ChoiceCardStat",
569
- ({ className: e, value: a, label: t, ...r }, c) => /* @__PURE__ */ g(
569
+ ({ className: e, value: a, label: t, ...r }, c) => /* @__PURE__ */ x(
570
570
  "div",
571
571
  {
572
572
  ref: c,
@@ -585,14 +585,14 @@ const ge = p(
585
585
  );
586
586
  function Y(e, a) {
587
587
  if (e <= 0) return "max-content";
588
- const t = a === "auto" ? "minmax(0, 420px)" : "minmax(411px, 1fr)";
588
+ const t = a === "auto" ? "minmax(0, 420px)" : "411px";
589
589
  return `max-content ${Array.from(
590
590
  { length: e },
591
591
  (c, i) => i === 0 ? t : `1rem ${t}`
592
592
  ).join(" ")}`;
593
593
  }
594
594
  function ee({ rows: e }) {
595
- return /* @__PURE__ */ g(
595
+ return /* @__PURE__ */ x(
596
596
  "div",
597
597
  {
598
598
  "data-slot": "choice-card-compare-gutter",
@@ -615,7 +615,7 @@ function ee({ rows: e }) {
615
615
  }
616
616
  const te = p(
617
617
  "ChoiceCardCompareLabels",
618
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
618
+ ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ x(
619
619
  "div",
620
620
  {
621
621
  ref: r,
@@ -635,7 +635,7 @@ const te = p(
635
635
  )
636
636
  ), Pe = p(
637
637
  "ChoiceCardCompareLabel",
638
- ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ g(
638
+ ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ x(
639
639
  "div",
640
640
  {
641
641
  ref: r,
@@ -698,7 +698,7 @@ const te = p(
698
698
  e
699
699
  ),
700
700
  ...r,
701
- children: /* @__PURE__ */ g(
701
+ children: /* @__PURE__ */ x(
702
702
  "div",
703
703
  {
704
704
  className: l(
@@ -711,7 +711,7 @@ const te = p(
711
711
  },
712
712
  children: [
713
713
  m,
714
- h.map((s, u) => /* @__PURE__ */ g(n.Fragment, { children: [
714
+ h.map((s, u) => /* @__PURE__ */ x(n.Fragment, { children: [
715
715
  u > 0 && C > 0 ? /* @__PURE__ */ o(ee, { rows: C }) : null,
716
716
  s
717
717
  ] }, u))
@@ -733,13 +733,13 @@ export {
733
733
  we as ChoiceCardContent,
734
734
  ye as ChoiceCardDescription,
735
735
  K as ChoiceCardFeaturedBackdrop,
736
- xe as ChoiceCardFooter,
736
+ ge as ChoiceCardFooter,
737
737
  O as ChoiceCardGroup,
738
738
  ke as ChoiceCardHeader,
739
739
  ze as ChoiceCardIndex,
740
740
  fe as ChoiceCardIndicator,
741
741
  ve as ChoiceCardMedia,
742
- ge as ChoiceCardRibbon,
742
+ xe as ChoiceCardRibbon,
743
743
  Ie as ChoiceCardStat,
744
744
  Re as ChoiceCardStats,
745
745
  Se as ChoiceCardStatus,
@@ -1,8 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { cn as x } from "../../../../lib/utils.js";
3
+ import "react";
3
4
  import { OverflowTooltip as m } from "../../../feedback/tooltip/overflow-tooltip.js";
4
5
  import { isInvertedSelection as h, isOptionArray as d } from "../utils/select.js";
5
- function w({
6
+ function C({
6
7
  isMulti: u,
7
8
  isDisabled: p,
8
9
  internalValue: o,
@@ -52,5 +53,5 @@ function w({
52
53
  );
53
54
  }
54
55
  export {
55
- w as SelectTriggerValue
56
+ C as SelectTriggerValue
56
57
  };
@@ -1,13 +1,14 @@
1
1
  import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
2
  import * as i from "@radix-ui/react-popover";
3
3
  import { Checkbox as P } from "../../checkbox/checkbox.js";
4
+ import "react";
4
5
  import { OverflowTooltip as y } from "../../../feedback/tooltip/overflow-tooltip.js";
5
6
  import { ChevronRight as A, Checkmark as O } from "impact-nova-icons";
6
7
  import { cn as v } from "../../../../lib/utils.js";
7
8
  import { useOverlayPortalContainer as T } from "../../../../lib/overlay/overlay-portal-context.js";
8
9
  import { OVERLAY_NESTED_FLOATING_INSTANT_HIDE_CLASS as _ } from "../../../../lib/overlay/overlay-host.constants.js";
9
10
  import { useSuppressOptionClickForTextSelection as E } from "../hooks/useSuppressOptionClickForTextSelection.js";
10
- const G = ({
11
+ const R = ({
11
12
  parentOption: n,
12
13
  isMulti: u,
13
14
  isReadOnly: l,
@@ -105,5 +106,5 @@ const G = ({
105
106
  ] });
106
107
  };
107
108
  export {
108
- G as Submenu
109
+ R as Submenu
109
110
  };
@@ -14,12 +14,12 @@ const V = p.forwardRef(
14
14
  onStepClick: m,
15
15
  stepAriaLabel: f,
16
16
  ...h
17
- }, b) => {
18
- const x = o.length, c = !!m;
17
+ }, x) => {
18
+ const b = o.length, c = !!m;
19
19
  return /* @__PURE__ */ e(
20
20
  "div",
21
21
  {
22
- ref: b,
22
+ ref: x,
23
23
  className: i(S({ variant: "summary" }), d),
24
24
  "data-orientation": "horizontal",
25
25
  "data-variant": "summary",
@@ -36,7 +36,7 @@ const V = p.forwardRef(
36
36
  status: a,
37
37
  disabled: t.disabled,
38
38
  interactive: c,
39
- ariaLabel: f(s, x),
39
+ ariaLabel: f(s, b),
40
40
  isActive: r,
41
41
  onStepClick: m,
42
42
  className: i(
@@ -87,7 +87,7 @@ const V = p.forwardRef(
87
87
  alt: "",
88
88
  "aria-hidden": !0,
89
89
  "data-summary-connector": "",
90
- className: "relative z-[1] -rotate-90 bg-canvas"
90
+ className: "relative z-[1] -rotate-90"
91
91
  }
92
92
  ) : null
93
93
  ] }) : null
@@ -1776,6 +1776,16 @@ html.iris-agent-session *:not(.iris-agent-cursor):not(.iris-agent-cursor *):not(
1776
1776
  overflow: hidden;
1777
1777
  }
1778
1778
 
1779
+ /* AG Grid 36 sticky left/right pin is trapped by overflow:hidden on the header
1780
+ row, so pinned headers scroll with the center columns. Keep the clip for
1781
+ unpinned lists; open overflow when a pin region has cells. */
1782
+ [data-component="ag-grid-react"][data-variant="list"]
1783
+ .ag-header-row:has(.ag-grid-pinned-left-cells .ag-header-cell),
1784
+ [data-component="ag-grid-react"][data-variant="list"]
1785
+ .ag-header-row:has(.ag-grid-pinned-right-cells .ag-header-cell) {
1786
+ overflow: visible;
1787
+ }
1788
+
1779
1789
  [data-component="ag-grid-react"][data-variant="list"] .ag-header-cell,
1780
1790
  [data-component="ag-grid-react"][data-variant="list"] .ag-header-group-cell {
1781
1791
  height: var(--in-ag-list-header-height);
@@ -1793,22 +1803,40 @@ html.iris-agent-session *:not(.iris-agent-cursor):not(.iris-agent-cursor *):not(
1793
1803
  border-radius: var(--in-ag-list-radius);
1794
1804
  }
1795
1805
 
1796
- [data-component="ag-grid-react"][data-variant="list"] .ag-pinned-left-header:has(.ag-header-cell) {
1806
+ [data-component="ag-grid-react"][data-variant="list"] .ag-pinned-left-header:has(.ag-header-cell),
1807
+ [data-component="ag-grid-react"][data-variant="list"]
1808
+ .ag-header-row
1809
+ > .ag-grid-pinned-left-cells:has(.ag-header-cell) {
1797
1810
  border-radius: var(--in-ag-list-radius) 0 0 var(--in-ag-list-radius);
1811
+ background-color: var(--color-surface-muted);
1812
+ z-index: 2;
1798
1813
  }
1799
1814
 
1800
1815
  [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-left-header .ag-header-cell) .ag-header-viewport,
1801
- [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-left-header .ag-header-cell) .ag-header-row {
1816
+ [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-left-header .ag-header-cell) .ag-header-row,
1817
+ [data-component="ag-grid-react"][data-variant="list"]:has(
1818
+ .ag-header-row > .ag-grid-pinned-left-cells .ag-header-cell
1819
+ )
1820
+ .ag-header-row {
1802
1821
  border-top-left-radius: 0;
1803
1822
  border-bottom-left-radius: 0;
1804
1823
  }
1805
1824
 
1806
- [data-component="ag-grid-react"][data-variant="list"] .ag-pinned-right-header:has(.ag-header-cell) {
1825
+ [data-component="ag-grid-react"][data-variant="list"] .ag-pinned-right-header:has(.ag-header-cell),
1826
+ [data-component="ag-grid-react"][data-variant="list"]
1827
+ .ag-header-row
1828
+ > .ag-grid-pinned-right-cells:has(.ag-header-cell) {
1807
1829
  border-radius: 0 var(--in-ag-list-radius) var(--in-ag-list-radius) 0;
1830
+ background-color: var(--color-surface-muted);
1831
+ z-index: 2;
1808
1832
  }
1809
1833
 
1810
1834
  [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-right-header .ag-header-cell) .ag-header-viewport,
1811
- [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-right-header .ag-header-cell) .ag-header-row {
1835
+ [data-component="ag-grid-react"][data-variant="list"]:has(.ag-pinned-right-header .ag-header-cell) .ag-header-row,
1836
+ [data-component="ag-grid-react"][data-variant="list"]:has(
1837
+ .ag-header-row > .ag-grid-pinned-right-cells .ag-header-cell
1838
+ )
1839
+ .ag-header-row {
1812
1840
  border-top-right-radius: 0;
1813
1841
  border-bottom-right-radius: 0;
1814
1842
  }