@aivenio/aquarium 2.17.0 → 2.19.0-rc1

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 (84) hide show
  1. package/dist/atoms.cjs +38 -4
  2. package/dist/atoms.mjs +38 -4
  3. package/dist/charts.cjs +16 -8
  4. package/dist/charts.mjs +16 -8
  5. package/dist/src/atoms/DataList/DataList.js +2 -2
  6. package/dist/src/atoms/Table/Table.d.ts +3 -1
  7. package/dist/src/atoms/Table/Table.js +2 -2
  8. package/dist/src/atoms/Typography/Typography.d.ts +2 -2
  9. package/dist/src/atoms/Typography/Typography.js +1 -1
  10. package/dist/src/charts/AreaChart/AreaChart.d.ts +1 -1
  11. package/dist/src/charts/BarChart/BarChart.d.ts +1 -1
  12. package/dist/src/charts/Legend/Legend.js +2 -1
  13. package/dist/src/charts/LineChart/LineChart.d.ts +1 -1
  14. package/dist/src/charts/PieChart/DoughnutChart.d.ts +1 -1
  15. package/dist/src/charts/PieChart/DoughnutChart.js +4 -4
  16. package/dist/src/charts/PieChart/PieChart.d.ts +1 -1
  17. package/dist/src/charts/PieChart/PieChart.js +2 -2
  18. package/dist/src/charts/PieChart/renderPieChildren.d.ts +1 -1
  19. package/dist/src/charts/PieChart/renderPieChildren.js +8 -4
  20. package/dist/src/charts/lib/utils.d.ts +1 -1
  21. package/dist/src/charts/lib/utils.js +5 -2
  22. package/dist/src/icons/collapsePanel.d.ts +9 -0
  23. package/dist/src/icons/collapsePanel.js +11 -0
  24. package/dist/src/icons/expandPanel.d.ts +9 -0
  25. package/dist/src/icons/expandPanel.js +11 -0
  26. package/dist/src/icons/index.d.ts +2 -0
  27. package/dist/src/icons/index.js +3 -1
  28. package/dist/src/molecules/Accordion/Accordion.js +7 -3
  29. package/dist/src/molecules/Avatar/Avatar.js +2 -2
  30. package/dist/src/molecules/Box/Box.d.ts +2 -2
  31. package/dist/src/molecules/Box/Box.js +1 -1
  32. package/dist/src/molecules/Button/Button.d.ts +19 -9
  33. package/dist/src/molecules/Button/Button.js +2 -2
  34. package/dist/src/molecules/Card/CardInputWrapper.d.ts +2 -2
  35. package/dist/src/molecules/Card/CardInputWrapper.js +2 -2
  36. package/dist/src/molecules/Context/Context.d.ts +1 -1
  37. package/dist/src/molecules/Context/Context.js +1 -1
  38. package/dist/src/molecules/DataList/DataList.js +3 -2
  39. package/dist/src/molecules/DataList/DataListComponents.d.ts +4 -4
  40. package/dist/src/molecules/DataList/DataListComponents.js +3 -2
  41. package/dist/src/molecules/DataList/DataListGroup.d.ts +1 -1
  42. package/dist/src/molecules/DataList/DataListGroup.js +7 -4
  43. package/dist/src/molecules/DataTable/DataTable.js +6 -4
  44. package/dist/src/molecules/Dropdown/Dropdown.js +1 -1
  45. package/dist/src/molecules/Element/Element.d.ts +1 -1
  46. package/dist/src/molecules/Flexbox/Flexbox.d.ts +2 -2
  47. package/dist/src/molecules/Flexbox/FlexboxItem.d.ts +2 -2
  48. package/dist/src/molecules/Grid/Grid.d.ts +2 -2
  49. package/dist/src/molecules/Grid/GridItem.d.ts +2 -2
  50. package/dist/src/molecules/ItemList/ItemList.js +11 -7
  51. package/dist/src/molecules/Link/Link.d.ts +2 -1
  52. package/dist/src/molecules/List/List.d.ts +1 -1
  53. package/dist/src/molecules/List/List.js +1 -1
  54. package/dist/src/molecules/ListItem/ListItem.d.ts +2 -1
  55. package/dist/src/molecules/ListItem/ListItem.js +1 -1
  56. package/dist/src/molecules/Popover/Popover.d.ts +1 -1
  57. package/dist/src/molecules/Popover/Popover.js +2 -2
  58. package/dist/src/molecules/Popover/PopoverOverlay.d.ts +2 -2
  59. package/dist/src/molecules/Popover/PopoverOverlay.js +1 -1
  60. package/dist/src/molecules/PopoverDialog/PopoverDialog.js +6 -2
  61. package/dist/src/molecules/Portal/Portal.d.ts +1 -1
  62. package/dist/src/molecules/Section/Section.js +7 -3
  63. package/dist/src/molecules/SegmentedControl/SegmentedControl.d.ts +2 -2
  64. package/dist/src/molecules/SegmentedControl/SegmentedControl.js +1 -1
  65. package/dist/src/molecules/Select/Select.js +1 -1
  66. package/dist/src/molecules/Tailwindify/Tailwindify.d.ts +1 -1
  67. package/dist/src/molecules/Tailwindify/Tailwindify.js +1 -1
  68. package/dist/src/molecules/Tooltip/useTooltipTriggerState.js +2 -2
  69. package/dist/src/molecules/Transition/Transition.js +8 -3
  70. package/dist/src/utils/stickyStyles.d.ts +2 -2
  71. package/dist/src/utils/stickyStyles.js +2 -2
  72. package/dist/src/utils/table/types.d.ts +0 -1
  73. package/dist/src/utils/table/types.js +1 -3
  74. package/dist/src/utils/table/useScrollTarget.d.ts +1 -1
  75. package/dist/src/utils/table/useScrollTarget.js +1 -1
  76. package/dist/src/utils/useInView.d.ts +1 -1
  77. package/dist/src/utils/useInView.js +1 -1
  78. package/dist/src/utils/useMeasure.d.ts +1 -1
  79. package/dist/system.cjs +118 -48
  80. package/dist/system.mjs +118 -48
  81. package/dist/tsconfig.module.tsbuildinfo +1 -1
  82. package/package.json +42 -34
  83. package/dist/src/molecules/Toast/Toast.spec.d.ts +0 -1
  84. package/dist/src/molecules/Toast/Toast.spec.js +0 -42
package/dist/system.mjs CHANGED
@@ -1180,6 +1180,22 @@ var require_coinsHand = __commonJS({
1180
1180
  }
1181
1181
  });
1182
1182
 
1183
+ // src/icons/collapsePanel.js
1184
+ var require_collapsePanel = __commonJS({
1185
+ "src/icons/collapsePanel.js"(exports) {
1186
+ "use strict";
1187
+ var data = {
1188
+ "body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8.182 10h9.09m-9.09 0 3.636 3.636M8.182 10l3.636-3.636M2.727 2.727v14.546"/>',
1189
+ "left": 0,
1190
+ "top": 0,
1191
+ "width": 20,
1192
+ "height": 20
1193
+ };
1194
+ exports.__esModule = true;
1195
+ exports.default = data;
1196
+ }
1197
+ });
1198
+
1183
1199
  // src/icons/comment.js
1184
1200
  var require_comment = __commonJS({
1185
1201
  "src/icons/comment.js"(exports) {
@@ -1772,6 +1788,22 @@ var require_expandAll = __commonJS({
1772
1788
  }
1773
1789
  });
1774
1790
 
1791
+ // src/icons/expandPanel.js
1792
+ var require_expandPanel = __commonJS({
1793
+ "src/icons/expandPanel.js"(exports) {
1794
+ "use strict";
1795
+ var data = {
1796
+ "body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M11.818 10h-9.09m9.09 0-3.636 3.636M11.818 10 8.182 6.364m9.091-3.637v14.546"/>',
1797
+ "left": 0,
1798
+ "top": 0,
1799
+ "width": 20,
1800
+ "height": 20
1801
+ };
1802
+ exports.__esModule = true;
1803
+ exports.default = data;
1804
+ }
1805
+ });
1806
+
1775
1807
  // src/icons/export.js
1776
1808
  var require_export = __commonJS({
1777
1809
  "src/icons/export.js"(exports) {
@@ -4624,6 +4656,7 @@ var import_codeFile = __toESM(require_codeFile());
4624
4656
  var import_code = __toESM(require_code());
4625
4657
  var import_cog = __toESM(require_cog());
4626
4658
  var import_coinsHand = __toESM(require_coinsHand());
4659
+ var import_collapsePanel = __toESM(require_collapsePanel());
4627
4660
  var import_comment = __toESM(require_comment());
4628
4661
  var import_confirm = __toESM(require_confirm());
4629
4662
  var import_console = __toESM(require_console());
@@ -4661,6 +4694,7 @@ var import_endorsed = __toESM(require_endorsed());
4661
4694
  var import_envelope = __toESM(require_envelope());
4662
4695
  var import_error = __toESM(require_error());
4663
4696
  var import_expandAll = __toESM(require_expandAll());
4697
+ var import_expandPanel = __toESM(require_expandPanel());
4664
4698
  var import_export = __toESM(require_export());
4665
4699
  var import_eyeOff = __toESM(require_eyeOff());
4666
4700
  var import_eyeOpen = __toESM(require_eyeOpen());
@@ -6801,7 +6835,7 @@ function useTooltipTriggerState(props = {}) {
6801
6835
  const { delay = TOOLTIP_DELAY } = props;
6802
6836
  const { isOpen, open, close } = useOverlayTriggerState(props);
6803
6837
  const id = useMemo(() => `${++tooltipId}`, []);
6804
- const closeTimeout = useRef();
6838
+ const closeTimeout = useRef(null);
6805
6839
  const isUnmounted = useRef(false);
6806
6840
  const ensureTooltipEntry = () => {
6807
6841
  tooltips[id] = hideTooltip;
@@ -7130,7 +7164,7 @@ var asButton = (Component, isDropdownButton) => {
7130
7164
  hasChildren && /* @__PURE__ */ React9.createElement("div", null, children)
7131
7165
  );
7132
7166
  } else {
7133
- return children;
7167
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null, children);
7134
7168
  }
7135
7169
  };
7136
7170
  const buttonComponent = /* @__PURE__ */ React9.createElement(
@@ -7234,7 +7268,18 @@ var Transition = ({ children }) => {
7234
7268
  keys: (item) => item.key || "",
7235
7269
  config: { tension: 125, friction: 20, precision: 0.1 }
7236
7270
  });
7237
- return /* @__PURE__ */ React11.createElement(React11.Fragment, null, transitions((style, item) => /* @__PURE__ */ React11.createElement(animated.div, { style }, /* @__PURE__ */ React11.createElement("div", { ref: (ref) => ref && refMap.set(item, ref) }, item))));
7271
+ return /* @__PURE__ */ React11.createElement(React11.Fragment, null, transitions((style, item) => (
7272
+ // @ts-expect-error React spring does not yet support R19 types
7273
+ /* @__PURE__ */ React11.createElement(animated.div, { style }, /* @__PURE__ */ React11.createElement(
7274
+ "div",
7275
+ {
7276
+ ref: (ref) => {
7277
+ ref && refMap.set(item, ref);
7278
+ }
7279
+ },
7280
+ item
7281
+ ))
7282
+ )));
7238
7283
  };
7239
7284
 
7240
7285
  // src/atoms/Toast/Toast.tsx
@@ -7723,25 +7768,28 @@ var AccordionToggle = ({ panelId, onChange, ...rest }) => {
7723
7768
  }
7724
7769
  });
7725
7770
  const { buttonProps } = useButton({ elementType: "div", onPress: handleClick }, ref);
7726
- return /* @__PURE__ */ React20.createElement(
7727
- animated3.div,
7728
- {
7729
- ...rest,
7730
- ...{
7731
- ...buttonProps,
7732
- onPointerDown: (e) => {
7733
- e.preventDefault();
7734
- handleClick();
7735
- }
7771
+ return (
7772
+ // @ts-expect-error React spring does not yet support R19 types
7773
+ /* @__PURE__ */ React20.createElement(
7774
+ animated3.div,
7775
+ {
7776
+ ...rest,
7777
+ ...{
7778
+ ...buttonProps,
7779
+ onPointerDown: (e) => {
7780
+ e.preventDefault();
7781
+ handleClick();
7782
+ }
7783
+ },
7784
+ ref,
7785
+ "aria-label": "accordion toggle",
7786
+ "aria-expanded": openPanelId === id,
7787
+ "aria-controls": `${id}-content`,
7788
+ style: { transform },
7789
+ className: tw("text-default focus:outline-none focusable")
7736
7790
  },
7737
- ref,
7738
- "aria-label": "accordion toggle",
7739
- "aria-expanded": openPanelId === id,
7740
- "aria-controls": `${id}-content`,
7741
- style: { transform },
7742
- className: tw("text-default focus:outline-none focusable")
7743
- },
7744
- /* @__PURE__ */ React20.createElement(Icon2, { icon: import_caretUp.default, height: 22, width: 22 })
7791
+ /* @__PURE__ */ React20.createElement(Icon2, { icon: import_caretUp.default, height: 22, width: 22 })
7792
+ )
7745
7793
  );
7746
7794
  };
7747
7795
  var AccordionPanel = ({ children, panelId, ...rest }) => {
@@ -7757,17 +7805,20 @@ var AccordionPanel = ({ children, panelId, ...rest }) => {
7757
7805
  duration: 150
7758
7806
  }
7759
7807
  });
7760
- return /* @__PURE__ */ React20.createElement(
7761
- animated3.div,
7762
- {
7763
- role: "region",
7764
- ...rest,
7765
- id: `${id}-content`,
7766
- "aria-labelledby": `${id}-summary`,
7767
- "aria-hidden": !isOpen ? "true" : void 0,
7768
- style
7769
- },
7770
- /* @__PURE__ */ React20.createElement("div", { ref }, children)
7808
+ return (
7809
+ // @ts-expect-error React spring does not yet support R19 types
7810
+ /* @__PURE__ */ React20.createElement(
7811
+ animated3.div,
7812
+ {
7813
+ role: "region",
7814
+ ...rest,
7815
+ id: `${id}-content`,
7816
+ "aria-labelledby": `${id}-summary`,
7817
+ "aria-hidden": !isOpen ? "true" : void 0,
7818
+ style
7819
+ },
7820
+ /* @__PURE__ */ React20.createElement("div", { ref }, children)
7821
+ )
7771
7822
  );
7772
7823
  };
7773
7824
  var AccordionUnanimatedPanel = ({ children, panelId }) => {
@@ -8048,7 +8099,7 @@ var Skeleton = ({
8048
8099
 
8049
8100
  // src/molecules/Avatar/Avatar.tsx
8050
8101
  var AvatarStack = ({ images }) => /* @__PURE__ */ React24.createElement(Box, { display: "flex", className: tw("[&>*:not(:first-child)]:-ml-3") }, images.map(
8051
- (image, index) => image ? /* @__PURE__ */ React24.createElement(Avatar, { key: `${image}.${index}`, image, imageAlt: "" }) : /* @__PURE__ */ React24.createElement(Avatar.Skeleton, { key: index })
8102
+ (image, index) => image ? /* @__PURE__ */ React24.createElement(Avatar, { key: `${image}.${index}`, image }) : /* @__PURE__ */ React24.createElement(Avatar.Skeleton, { key: index })
8052
8103
  ));
8053
8104
  var Avatar = ({ image, imageAlt = "" }) => /* @__PURE__ */ React24.createElement("img", { src: image, className: classNames(tw("w-[32px] h-[32px]"), "Aquarium-Avatar"), alt: imageAlt });
8054
8105
  var AvatarSkeleton = () => /* @__PURE__ */ React24.createElement(Skeleton, { height: 32, width: 32, className: tw("rounded-full") });
@@ -8674,7 +8725,7 @@ var Template = ({
8674
8725
  };
8675
8726
 
8676
8727
  // src/molecules/Card/CardInputWrapper.tsx
8677
- var CardInputWrapper = ({ input, children }) => input ? /* @__PURE__ */ React37.createElement(Template, { columns: ["1", "auto"], columnGap: "4", alignContent: "space-between" }, children, input) : children;
8728
+ var CardInputWrapper = ({ input, children }) => input ? /* @__PURE__ */ React37.createElement(Template, { columns: ["1", "auto"], columnGap: "4", alignContent: "space-between" }, children, input) : /* @__PURE__ */ React37.createElement(React37.Fragment, null, children);
8678
8729
 
8679
8730
  // src/molecules/Card/Compact.tsx
8680
8731
  import React39, { useContext as useContext4, useRef as useRef3 } from "react";
@@ -10488,7 +10539,7 @@ var TableRow = ({ children, className, disabled, ...rest }) => /* @__PURE__ */ R
10488
10539
  "tr",
10489
10540
  {
10490
10541
  ...rest,
10491
- ...{ inert: disabled ? "" : void 0 },
10542
+ ...{ inert: disabled },
10492
10543
  className: classNames(rowClassNames, className, {
10493
10544
  "opacity-70": disabled
10494
10545
  })
@@ -10648,7 +10699,7 @@ var Row = ({
10648
10699
  {
10649
10700
  ...rest,
10650
10701
  role: isGroup ? "rowgroup" : "row",
10651
- ...{ inert: disabled ? "" : void 0 },
10702
+ ...{ inert: disabled },
10652
10703
  className: classNames(tw("contents"), className, {
10653
10704
  "[&>*]:border-b-transparent": noDivider,
10654
10705
  "children:opacity-70": disabled,
@@ -10772,7 +10823,10 @@ function useStickyStyles(scrollProgress, axis, { borderColor, boxShadowColor })
10772
10823
  }
10773
10824
  };
10774
10825
  }
10775
- function useScrollProgress({ containerRef, skip }) {
10826
+ function useScrollProgress({
10827
+ containerRef,
10828
+ skip
10829
+ }) {
10776
10830
  const [scrollState, setScrollState] = useState10(null);
10777
10831
  const throttledSetScrollState = throttle(({ scrollX, scrollXProgress }) => {
10778
10832
  setScrollState({ scrollX, scrollXProgress });
@@ -10850,7 +10904,6 @@ var cellProps = (column) => {
10850
10904
  }
10851
10905
  }
10852
10906
  return {
10853
- key: column.key ?? column.headerName,
10854
10907
  align,
10855
10908
  stickyColumn: column.sticky
10856
10909
  };
@@ -11323,6 +11376,7 @@ var DataListRow = ({
11323
11376
  const cell2 = /* @__PURE__ */ React68.createElement(
11324
11377
  DataList.Cell,
11325
11378
  {
11379
+ key: column.key ?? column.headerName,
11326
11380
  ...cellProps(column),
11327
11381
  ...additionalColumnProps(column, columnIndex, columns, row),
11328
11382
  className: rowClassName?.(row, index, rows)
@@ -11600,6 +11654,7 @@ var DataListGroup = ({
11600
11654
  renderItem: (column, idx) => /* @__PURE__ */ React69.createElement(
11601
11655
  DataList.Cell,
11602
11656
  {
11657
+ key: column.key ?? column.headerName,
11603
11658
  ...cellProps(column),
11604
11659
  className: tw("gap-3"),
11605
11660
  style: idx === 0 ? { paddingLeft: `${GAP + level * INDENTATION}px` } : void 0
@@ -11809,10 +11864,11 @@ var DataList2 = ({
11809
11864
  direction: sort && sort.column.headerName === column.headerName ? sort.direction : "none",
11810
11865
  onClick: () => updateSort(column),
11811
11866
  sticky,
11867
+ key: column.key ?? column.headerName,
11812
11868
  ...cellProps(column)
11813
11869
  },
11814
11870
  headerContentAndIcon
11815
- ) : /* @__PURE__ */ React72.createElement(DataList.HeadCell, { ...cellProps(column), sticky }, headerContentAndIcon);
11871
+ ) : /* @__PURE__ */ React72.createElement(DataList.HeadCell, { key: column.key ?? column.headerName, ...cellProps(column), sticky }, headerContentAndIcon);
11816
11872
  return createAnimatedCell({
11817
11873
  cellElement: cell2,
11818
11874
  stickyStyles,
@@ -12043,12 +12099,14 @@ var DataTable = ({
12043
12099
  onClick: () => updateSort(column),
12044
12100
  style: { width: column.width },
12045
12101
  "aria-label": column.headerInvisible ? column.headerName : void 0,
12102
+ key: column.key ?? column.headerName,
12046
12103
  ...cellProps(column)
12047
12104
  },
12048
12105
  headerContentAndIcon
12049
12106
  ) : /* @__PURE__ */ React75.createElement(
12050
12107
  Table2.Cell,
12051
12108
  {
12109
+ key: column.key ?? column.headerName,
12052
12110
  ...cellProps(column),
12053
12111
  style: { width: column.width },
12054
12112
  "aria-label": column.headerInvisible ? column.headerName : void 0
@@ -12078,7 +12136,15 @@ var DataTable = ({
12078
12136
  items: columns,
12079
12137
  renderItem: (column) => {
12080
12138
  return createAnimatedCell({
12081
- cellElement: /* @__PURE__ */ React75.createElement(Table2.Cell, { ...cellProps(column), className: rowClassName?.(row, index, rows) }, renderCell(column, row, index, sortedRows)),
12139
+ cellElement: /* @__PURE__ */ React75.createElement(
12140
+ Table2.Cell,
12141
+ {
12142
+ key: column.key ?? column.headerName,
12143
+ ...cellProps(column),
12144
+ className: rowClassName?.(row, index, rows)
12145
+ },
12146
+ renderCell(column, row, index, sortedRows)
12147
+ ),
12082
12148
  stickyStyles,
12083
12149
  stickyColumn: cellProps(column).stickyColumn
12084
12150
  });
@@ -12137,7 +12203,7 @@ var renderCell = (column, row, index, rows) => {
12137
12203
  } else {
12138
12204
  cellContent = row[column.field];
12139
12205
  }
12140
- return column.tooltip ? /* @__PURE__ */ React75.createElement(Tooltip, { ...column.tooltip(row, index, rows) }, cellContent) : cellContent;
12206
+ return column.tooltip ? /* @__PURE__ */ React75.createElement(Tooltip, { ...column.tooltip(row, index, rows) }, cellContent) : /* @__PURE__ */ React75.createElement(React75.Fragment, null, cellContent);
12141
12207
  };
12142
12208
  DataTable.Skeleton = DataListSkeleton;
12143
12209
 
@@ -13302,9 +13368,9 @@ var PopoverTriggerWrapper = ({ children, ...rest }) => {
13302
13368
  const trigger = React92.Children.only(children);
13303
13369
  const { pressProps } = usePress2({ ...rest, ref });
13304
13370
  return React92.cloneElement(trigger, {
13305
- "ref": ref,
13306
13371
  ...mergeProps3(pressProps, trigger.props),
13307
- "aria-controls": rest["aria-controls"] ?? pressProps["aria-controls"]
13372
+ "aria-controls": rest["aria-controls"] ?? pressProps["aria-controls"],
13373
+ "ref": ref
13308
13374
  });
13309
13375
  };
13310
13376
 
@@ -14506,7 +14572,7 @@ var PopoverDialog2 = ({ placement, open, title, secondaryAction, primaryAction,
14506
14572
  secondaryAction.text
14507
14573
  ), /* @__PURE__ */ React112.createElement(Popover3.Button, { kind: "ghost", key: primaryAction.text, dense: true, ...omit18(primaryAction, "text") }, primaryAction.text))));
14508
14574
  }
14509
- return child;
14575
+ return child instanceof Promise ? /* @__PURE__ */ React112.createElement(React112.Fragment, null, child) : child;
14510
14576
  };
14511
14577
  return /* @__PURE__ */ React112.createElement(Popover3, { type: "dialog", isOpen: open, placement, containFocus: true }, React112.Children.map(children, wrapPromptWithBody));
14512
14578
  };
@@ -14911,7 +14977,8 @@ var Section4 = (props) => {
14911
14977
  id: toggleId,
14912
14978
  collapsible: _collapsible
14913
14979
  },
14914
- _collapsible && /* @__PURE__ */ React121.createElement(animated6.div, { style: { transform } }, /* @__PURE__ */ React121.createElement(Section3.Toggle, null)),
14980
+ _collapsible && // @ts-expect-error React spring does not yet support R19 types
14981
+ /* @__PURE__ */ React121.createElement(animated6.div, { style: { transform } }, /* @__PURE__ */ React121.createElement(Section3.Toggle, null)),
14915
14982
  /* @__PURE__ */ React121.createElement(Section3.Title, { id: titleId }, /* @__PURE__ */ React121.createElement(LineClamp2, { lines: 1 }, title), props.tag && /* @__PURE__ */ React121.createElement(TagLabel, { ...props.tag }), props.badge && /* @__PURE__ */ React121.createElement(Chip2, { text: props.badge }), props.chip && /* @__PURE__ */ React121.createElement(StatusChip, { ...props.chip })),
14916
14983
  subtitle && /* @__PURE__ */ React121.createElement(Section3.Subtitle, { className: tw("row-start-2", { "col-start-2": _collapsible }) }, /* @__PURE__ */ React121.createElement(LineClamp2, { lines: 1 }, subtitle))
14917
14984
  ), !isCollapsed && /* @__PURE__ */ React121.createElement(Section3.Actions, null, props.switch && /* @__PURE__ */ React121.createElement(Switch2, { ...props.switch }), menu && /* @__PURE__ */ React121.createElement(Box.Flex, { alignItems: "center" }, /* @__PURE__ */ React121.createElement(
@@ -14923,7 +14990,8 @@ var Section4 = (props) => {
14923
14990
  },
14924
14991
  /* @__PURE__ */ React121.createElement(DropdownMenu2.Trigger, null, /* @__PURE__ */ React121.createElement(Button.Icon, { "aria-label": menuAriaLabel, icon: import_more6.default })),
14925
14992
  menu
14926
- )), props.actions && castArray7(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.select && /* @__PURE__ */ React121.createElement(SelectBase, { "aria-labelledby": titleId, ...props.select }))), !hasTabs && !isCollapsed && /* @__PURE__ */ React121.createElement(animated6.div, { className: tw(`h-[1px]`), style: { backgroundColor: "var(--aquarium-border-color-muted)" } })), /* @__PURE__ */ React121.createElement(
14993
+ )), props.actions && castArray7(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.select && /* @__PURE__ */ React121.createElement(SelectBase, { "aria-labelledby": titleId, ...props.select }))), !hasTabs && !isCollapsed && // @ts-expect-error React spring does not yet support R19 types
14994
+ /* @__PURE__ */ React121.createElement(animated6.div, { className: tw(`h-[1px]`), style: { backgroundColor: "var(--aquarium-border-color-muted)" } })), /* @__PURE__ */ React121.createElement(
14927
14995
  animated6.div,
14928
14996
  {
14929
14997
  id: regionId,
@@ -15335,12 +15403,13 @@ var ItemList = ({
15335
15403
  setSortState(newState);
15336
15404
  onSortChanged?.(newState);
15337
15405
  },
15406
+ key: column.key ?? column.headerName,
15338
15407
  ...cellProps(column)
15339
15408
  },
15340
15409
  column.headerName
15341
15410
  );
15342
15411
  }
15343
- return /* @__PURE__ */ React132.createElement(DataList.HeadCell, { ...cellProps(column), sticky }, column.headerName);
15412
+ return /* @__PURE__ */ React132.createElement(DataList.HeadCell, { key: column.key ?? column.headerName, ...cellProps(column), sticky }, column.headerName);
15344
15413
  })), /* @__PURE__ */ React132.createElement(Rows, { columns, items: sortedItems, level: 0, ...infiniteProps }));
15345
15414
  };
15346
15415
  var Rows = ({ columns, items, level, isLastGroup, ...infiniteProps }) => {
@@ -15360,6 +15429,7 @@ var Rows = ({ columns, items, level, isLastGroup, ...infiniteProps }) => {
15360
15429
  renderItem: (column, columnIndex) => /* @__PURE__ */ React132.createElement(
15361
15430
  DataList.Cell,
15362
15431
  {
15432
+ key: column.key ?? column.headerName,
15363
15433
  ...cellProps(column),
15364
15434
  style: level > 1 && columnIndex === 0 ? { paddingLeft: (level - 1) * 60 } : void 0
15365
15435
  },
@@ -15380,7 +15450,7 @@ var Rows = ({ columns, items, level, isLastGroup, ...infiniteProps }) => {
15380
15450
  }
15381
15451
  );
15382
15452
  };
15383
- var WithGroup = ({ level, children }) => level === 0 ? /* @__PURE__ */ React132.createElement(DataList.Row, { isGroup: true }, children) : children;
15453
+ var WithGroup = ({ level, children }) => level === 0 ? /* @__PURE__ */ React132.createElement(DataList.Row, { isGroup: true }, children) : /* @__PURE__ */ React132.createElement(React132.Fragment, null, children);
15384
15454
 
15385
15455
  // src/molecules/index.ts
15386
15456
  var SelectItem = Select.Item;