@aivenio/aquarium 4.4.0 → 4.5.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/system.mjs CHANGED
@@ -716,6 +716,22 @@ var require_calendar = __commonJS({
716
716
  }
717
717
  });
718
718
 
719
+ // src/icons/camera.js
720
+ var require_camera = __commonJS({
721
+ "src/icons/camera.js"(exports) {
722
+ "use strict";
723
+ var data = {
724
+ "body": '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M1.333 5.584c0-.233 0-.35.01-.448a2 2 0 011.793-1.793c.098-.01.221-.01.467-.01.095 0 .143 0 .183-.002a1.333 1.333 0 001.156-.834c.015-.037.03-.08.058-.164.028-.084.042-.127.057-.164a1.333 1.333 0 011.156-.834c.04-.002.085-.002.174-.002h3.225c.09 0 .134 0 .174.002.514.032.964.356 1.156.834.015.037.03.08.058.164.028.084.042.127.057.164.192.478.642.802 1.156.834.04.002.088.002.183.002.246 0 .37 0 .467.01a2 2 0 011.794 1.793c.01.098.01.215.01.448V10.8c0 1.12 0 1.68-.219 2.108a2 2 0 01-.874.874c-.428.218-.988.218-2.108.218H4.533c-1.12 0-1.68 0-2.108-.218a2 2 0 01-.874-.874c-.218-.428-.218-.988-.218-2.108V5.584Z"/><path d="M8 11a2.667 2.667 0 100-5.334A2.667 2.667 0 008 11Z"/></g>',
725
+ "left": 0,
726
+ "top": 0,
727
+ "width": 16,
728
+ "height": 16
729
+ };
730
+ exports.__esModule = true;
731
+ exports.default = data;
732
+ }
733
+ });
734
+
719
735
  // src/icons/capslock.js
720
736
  var require_capslock = __commonJS({
721
737
  "src/icons/capslock.js"(exports) {
@@ -4657,6 +4673,7 @@ var import_bookmark = __toESM(require_bookmark());
4657
4673
  var import_box = __toESM(require_box());
4658
4674
  var import_briefcase = __toESM(require_briefcase());
4659
4675
  var import_calendar = __toESM(require_calendar());
4676
+ var import_camera = __toESM(require_camera());
4660
4677
  var import_capslock = __toESM(require_capslock());
4661
4678
  var import_caretDownFilled = __toESM(require_caretDownFilled());
4662
4679
  var import_caretDown = __toESM(require_caretDown());
@@ -7191,18 +7208,15 @@ var Transition = ({ children }) => {
7191
7208
  keys: (item) => item.key || "",
7192
7209
  config: { tension: 125, friction: 20, precision: 0.1 }
7193
7210
  });
7194
- return /* @__PURE__ */ React10.createElement(React10.Fragment, null, transitions((style, item) => (
7195
- // @ts-expect-error React spring does not yet support R19 types
7196
- /* @__PURE__ */ React10.createElement(animated.div, { style }, /* @__PURE__ */ React10.createElement(
7197
- "div",
7198
- {
7199
- ref: (ref) => {
7200
- ref && refMap.set(item, ref);
7201
- }
7202
- },
7203
- item
7204
- ))
7205
- )));
7211
+ return /* @__PURE__ */ React10.createElement(React10.Fragment, null, transitions((style, item) => /* @__PURE__ */ React10.createElement(animated.div, { style }, /* @__PURE__ */ React10.createElement(
7212
+ "div",
7213
+ {
7214
+ ref: (ref) => {
7215
+ ref && refMap.set(item, ref);
7216
+ }
7217
+ },
7218
+ item
7219
+ ))));
7206
7220
  };
7207
7221
 
7208
7222
  // src/atoms/Toast/Toast.tsx
@@ -7681,28 +7695,25 @@ var AccordionToggle = ({ panelId, onChange, ...rest }) => {
7681
7695
  }
7682
7696
  });
7683
7697
  const { buttonProps } = useButton({ elementType: "div", onPress: handleClick }, ref);
7684
- return (
7685
- // @ts-expect-error React spring does not yet support R19 types
7686
- /* @__PURE__ */ React19.createElement(
7687
- animated3.div,
7688
- {
7689
- ...rest,
7690
- ...{
7691
- ...buttonProps,
7692
- onPointerDown: (e) => {
7693
- e.preventDefault();
7694
- handleClick();
7695
- }
7696
- },
7697
- ref,
7698
- "aria-label": "accordion toggle",
7699
- "aria-expanded": openPanelId === id,
7700
- "aria-controls": `${id}-content`,
7701
- style: { transform },
7702
- className: tw("text-default focus:outline-none focusable")
7698
+ return /* @__PURE__ */ React19.createElement(
7699
+ animated3.div,
7700
+ {
7701
+ ...rest,
7702
+ ...{
7703
+ ...buttonProps,
7704
+ onPointerDown: (e) => {
7705
+ e.preventDefault();
7706
+ handleClick();
7707
+ }
7703
7708
  },
7704
- /* @__PURE__ */ React19.createElement(Icon3, { icon: import_caretUp.default, height: 22, width: 22 })
7705
- )
7709
+ ref,
7710
+ "aria-label": "accordion toggle",
7711
+ "aria-expanded": openPanelId === id,
7712
+ "aria-controls": `${id}-content`,
7713
+ style: { transform },
7714
+ className: tw("text-default focus:outline-none focusable")
7715
+ },
7716
+ /* @__PURE__ */ React19.createElement(Icon3, { icon: import_caretUp.default, height: 22, width: 22 })
7706
7717
  );
7707
7718
  };
7708
7719
  var AccordionPanel = ({ children, panelId, ...rest }) => {
@@ -7718,20 +7729,17 @@ var AccordionPanel = ({ children, panelId, ...rest }) => {
7718
7729
  duration: 150
7719
7730
  }
7720
7731
  });
7721
- return (
7722
- // @ts-expect-error React spring does not yet support R19 types
7723
- /* @__PURE__ */ React19.createElement(
7724
- animated3.div,
7725
- {
7726
- role: "region",
7727
- ...rest,
7728
- id: `${id}-content`,
7729
- "aria-labelledby": `${id}-summary`,
7730
- "aria-hidden": !isOpen ? "true" : void 0,
7731
- style
7732
- },
7733
- /* @__PURE__ */ React19.createElement("div", { ref }, children)
7734
- )
7732
+ return /* @__PURE__ */ React19.createElement(
7733
+ animated3.div,
7734
+ {
7735
+ role: "region",
7736
+ ...rest,
7737
+ id: `${id}-content`,
7738
+ "aria-labelledby": `${id}-summary`,
7739
+ "aria-hidden": !isOpen ? "true" : void 0,
7740
+ style
7741
+ },
7742
+ /* @__PURE__ */ React19.createElement("div", { ref }, children)
7735
7743
  );
7736
7744
  };
7737
7745
  var AccordionUnanimatedPanel = ({ children, panelId }) => {
@@ -9934,7 +9942,7 @@ var Container2 = ({ maxWidth = "xl", children }) => /* @__PURE__ */ React56.crea
9934
9942
  );
9935
9943
 
9936
9944
  // src/molecules/DataList/DataList.tsx
9937
- import React76, { useRef as useRef8 } from "react";
9945
+ import React76, { useRef as useRef9 } from "react";
9938
9946
  import { useControlledState } from "@react-stately/utils";
9939
9947
  import { castArray as castArray2, compact, groupBy as groupBy2, isArray as isArray2, isFunction as isFunction3, noop as noop2 } from "lodash-es";
9940
9948
 
@@ -10802,8 +10810,8 @@ DataList.Toolbar = {
10802
10810
  };
10803
10811
 
10804
10812
  // src/utils/stickyStyles.tsx
10805
- import React65, { useMemo as useMemo3, useState as useState10 } from "react";
10806
- import { animated as animated4, useScroll, useSpring as useSpring3 } from "@react-spring/web";
10813
+ import React65, { useCallback as useCallback2, useLayoutEffect as useLayoutEffect2, useMemo as useMemo3, useRef as useRef8, useState as useState10 } from "react";
10814
+ import { animated as animated4, useSpring as useSpring3 } from "@react-spring/web";
10807
10815
  import { throttle } from "lodash-es";
10808
10816
  function useStickyStyles(scrollProgress, axis, { borderColor, boxShadowColor }) {
10809
10817
  const { startValue, endValue } = useMemo3(() => {
@@ -10850,24 +10858,51 @@ function useStickyStyles(scrollProgress, axis, { borderColor, boxShadowColor })
10850
10858
  }
10851
10859
  function useScrollProgress({
10852
10860
  containerRef,
10853
- skip
10861
+ skip,
10862
+ throttleMs = 50
10854
10863
  }) {
10855
10864
  const [scrollState, setScrollState] = useState10(null);
10856
- const throttledSetScrollState = throttle(({ scrollX, scrollXProgress }) => {
10857
- setScrollState({ scrollX, scrollXProgress });
10858
- }, 50);
10859
- useScroll({
10860
- container: containerRef,
10861
- onChange: ({ value: { scrollX, scrollXProgress } }) => {
10862
- throttledSetScrollState({ scrollX, scrollXProgress });
10863
- },
10864
- default: {
10865
- immediate: true
10866
- },
10867
- pause: skip
10868
- // This prevents tracking of scrollXProgress when there are no sticky columns
10869
- });
10870
- const isContainerUnscrollable = scrollState && scrollState.scrollX === 0 && scrollState.scrollXProgress === 1;
10865
+ const currentStateRef = useRef8(null);
10866
+ const throttledSetScrollState = useMemo3(
10867
+ () => throttle((value) => {
10868
+ const currentState = currentStateRef.current;
10869
+ if (currentState?.scrollX === value.scrollX && currentState.scrollXProgress === value.scrollXProgress) {
10870
+ return;
10871
+ }
10872
+ currentStateRef.current = value;
10873
+ setScrollState(value);
10874
+ }, throttleMs),
10875
+ [throttleMs]
10876
+ );
10877
+ const handleScroll = useCallback2(() => {
10878
+ const element = containerRef.current;
10879
+ if (!element) {
10880
+ return;
10881
+ }
10882
+ const scrollX = element.scrollLeft;
10883
+ const maxScrollX = element.scrollWidth - element.clientWidth;
10884
+ const scrollXProgress = maxScrollX > 0 ? scrollX / maxScrollX : 1;
10885
+ throttledSetScrollState({ scrollX, scrollXProgress });
10886
+ }, [containerRef, throttledSetScrollState]);
10887
+ useLayoutEffect2(() => {
10888
+ if (skip) {
10889
+ return;
10890
+ }
10891
+ const element = containerRef.current;
10892
+ if (!element) {
10893
+ return;
10894
+ }
10895
+ element.addEventListener("scroll", handleScroll, { passive: true });
10896
+ const resizeObserver = new ResizeObserver(handleScroll);
10897
+ resizeObserver.observe(element);
10898
+ handleScroll();
10899
+ return () => {
10900
+ element.removeEventListener("scroll", handleScroll);
10901
+ resizeObserver.disconnect();
10902
+ throttledSetScrollState.cancel();
10903
+ };
10904
+ }, [containerRef, handleScroll, throttledSetScrollState, skip]);
10905
+ const isContainerUnscrollable = scrollState?.scrollX === 0 && scrollState.scrollXProgress === 1;
10871
10906
  if (!scrollState || isContainerUnscrollable) {
10872
10907
  return null;
10873
10908
  }
@@ -11712,7 +11747,7 @@ var DataList2 = ({
11712
11747
  toolbar,
11713
11748
  ...rest
11714
11749
  }) => {
11715
- const containerRef = useRef8(null);
11750
+ const containerRef = useRef9(null);
11716
11751
  const hasStickyColumns = columns.some((column) => column.sticky);
11717
11752
  const stickyStyles = useScrollStyles({ containerRef, skip: !hasStickyColumns });
11718
11753
  const [selected, setSelected] = useControlledState(
@@ -11923,7 +11958,7 @@ DataList2.Skeleton = DataListSkeleton;
11923
11958
  DataList2.Toolbar = DataListToolbar;
11924
11959
 
11925
11960
  // src/molecules/DataTable/DataTable.tsx
11926
- import React79, { useRef as useRef9 } from "react";
11961
+ import React79, { useRef as useRef10 } from "react";
11927
11962
  import classNames10 from "classnames";
11928
11963
  import { compact as compact2, isFunction as isFunction4 } from "lodash-es";
11929
11964
 
@@ -11983,7 +12018,7 @@ var DataTable = ({
11983
12018
  onPrev,
11984
12019
  ...rest
11985
12020
  }) => {
11986
- const containerRef = useRef9(null);
12021
+ const containerRef = useRef10(null);
11987
12022
  const hasStickyColumns = columns.some((column) => column.sticky);
11988
12023
  const stickyStyles = useScrollStyles({ containerRef, skip: !hasStickyColumns });
11989
12024
  const defaultSortedColumn = columns.find((c) => c.headerName === defaultSort?.headerName);
@@ -15105,7 +15140,8 @@ var modalStyles = tv13({
15105
15140
  titleContainer: "flex flex-col grow",
15106
15141
  title: "",
15107
15142
  closeButtonContainer: "absolute top-[24px] right-[28px]",
15108
- body: "px-7 grow overflow-y-auto text-default",
15143
+ body: "grow overflow-y-auto text-default",
15144
+ bodyContent: "px-7",
15109
15145
  footer: "px-7 py-6",
15110
15146
  actions: "flex gap-4 justify-end"
15111
15147
  },
@@ -15129,12 +15165,12 @@ var modalStyles = tv13({
15129
15165
  overlay: "py-0",
15130
15166
  dialog: "w-dvw h-dvh mx-0 rounded-none",
15131
15167
  header: "border-b-1 border-muted",
15132
- body: "pt-6"
15168
+ bodyContent: "pt-6"
15133
15169
  }
15134
15170
  },
15135
15171
  noFooter: {
15136
15172
  true: {
15137
- body: "pb-6"
15173
+ bodyContent: "pb-6"
15138
15174
  }
15139
15175
  },
15140
15176
  backgroundImage: {
@@ -15233,8 +15269,8 @@ Modal.TitleContainer = ({ children, className, ...rest }) => {
15233
15269
  return /* @__PURE__ */ React89.createElement("div", { ...rest, className: titleContainer({ className }) }, children);
15234
15270
  };
15235
15271
  Modal.Body = ({ children, className, noFooter = false, maxHeight, style, size, ...rest }) => {
15236
- const { body } = modalStyles({ size });
15237
- return /* @__PURE__ */ React89.createElement("div", { ...rest, className: body({ noFooter, className }), style: { maxHeight, ...style } }, children);
15272
+ const { body, bodyContent } = modalStyles({ size });
15273
+ return /* @__PURE__ */ React89.createElement("div", { ...rest, className: body({ className }), style: { maxHeight, ...style } }, /* @__PURE__ */ React89.createElement("div", { className: bodyContent({ noFooter }) }, children));
15238
15274
  };
15239
15275
  Modal.Footer = ({ children, className, ...rest }) => {
15240
15276
  const { footer } = modalStyles();
@@ -15296,7 +15332,7 @@ var ModalTitle = ({ children, ...props }) => {
15296
15332
  };
15297
15333
 
15298
15334
  // src/molecules/Tabs/Tabs.tsx
15299
- import React92, { useEffect as useEffect8, useLayoutEffect as useLayoutEffect2, useRef as useRef10, useState as useState11 } from "react";
15335
+ import React92, { useEffect as useEffect8, useLayoutEffect as useLayoutEffect3, useRef as useRef11, useState as useState11 } from "react";
15300
15336
  import { isNumber as isNumber6, kebabCase } from "lodash-es";
15301
15337
  var import_chevronLeft5 = __toESM(require_chevronLeft());
15302
15338
  var import_chevronRight5 = __toESM(require_chevronRight());
@@ -15413,9 +15449,9 @@ var createTabsComponent = (TabComponent, TabItemComponent, displayName, renderCh
15413
15449
  const [selected, setSelected] = useState11(value ?? defaultValue ?? firstTabValue ?? 0);
15414
15450
  const [leftCaret, showLeftCaret] = useState11(false);
15415
15451
  const [rightCaret, showRightCaret] = useState11(false);
15416
- const parentRef = useRef10(null);
15417
- const containerRef = useRef10(null);
15418
- const tabsRef = useRef10(null);
15452
+ const parentRef = useRef11(null);
15453
+ const containerRef = useRef11(null);
15454
+ const tabsRef = useRef11(null);
15419
15455
  const revealSelectedTab = ({ smooth }) => {
15420
15456
  const container = containerRef.current;
15421
15457
  const tabs = tabsRef.current;
@@ -15458,7 +15494,7 @@ var createTabsComponent = (TabComponent, TabItemComponent, displayName, renderCh
15458
15494
  setSelected(value);
15459
15495
  revealSelectedTab({ smooth: value !== selected });
15460
15496
  }, [value, React92.Children.count(children)]);
15461
- useLayoutEffect2(() => {
15497
+ useLayoutEffect3(() => {
15462
15498
  updateCarets();
15463
15499
  containerRef.current?.addEventListener("scroll", updateCarets);
15464
15500
  window.addEventListener("resize", updateCarets);
@@ -16109,7 +16145,7 @@ var ModalTabs = createTabsComponent(
16109
16145
  );
16110
16146
 
16111
16147
  // src/molecules/MultiInput/MultiInput.tsx
16112
- import React103, { useEffect as useEffect9, useRef as useRef11, useState as useState12 } from "react";
16148
+ import React103, { useEffect as useEffect9, useRef as useRef12, useState as useState12 } from "react";
16113
16149
  import { useId as useId13 } from "@react-aria/utils";
16114
16150
  import { castArray as castArray5, identity, omit as omit13 } from "lodash-es";
16115
16151
 
@@ -16190,7 +16226,7 @@ var MultiInputBase = ({
16190
16226
  valid = true,
16191
16227
  ...props
16192
16228
  }) => {
16193
- const inputRef = useRef11(null);
16229
+ const inputRef = useRef12(null);
16194
16230
  const [items, setItems] = useState12(value ?? defaultValue ?? []);
16195
16231
  const [hasFocus, setFocus] = useState12(false);
16196
16232
  const keyCodes = [delimiter !== "enter" ? " " : null, delimiter !== "space" ? "Enter" : null].filter(identity);
@@ -16359,7 +16395,7 @@ MultiInput.Skeleton = MultiInputSkeleton;
16359
16395
  MultiInput.Skeleton.displayName = "MultiInput.Skeleton";
16360
16396
 
16361
16397
  // src/molecules/MultiSelect/MultiSelect.tsx
16362
- import React104, { useEffect as useEffect10, useRef as useRef12, useState as useState13 } from "react";
16398
+ import React104, { useEffect as useEffect10, useRef as useRef13, useState as useState13 } from "react";
16363
16399
  import { ariaHideOutside as ariaHideOutside3 } from "@react-aria/overlays";
16364
16400
  import { useId as useId14 } from "@react-aria/utils";
16365
16401
  import { useCombobox as useCombobox2, useMultipleSelection } from "downshift";
@@ -16389,10 +16425,10 @@ var MultiSelectBase = ({
16389
16425
  children,
16390
16426
  ...props
16391
16427
  }) => {
16392
- const popoverRef = useRef12(null);
16393
- const targetRef = useRef12(null);
16394
- const menuRef = useRef12(null);
16395
- const inputRef = useRef12(null);
16428
+ const popoverRef = useRef13(null);
16429
+ const targetRef = useRef13(null);
16430
+ const menuRef = useRef13(null);
16431
+ const inputRef = useRef13(null);
16396
16432
  const [inputValue, setInputValue] = useState13("");
16397
16433
  const [hasFocus, setFocus] = useState13(false);
16398
16434
  const { selectedItems, addSelectedItem, removeSelectedItem, getDropdownProps, getSelectedItemProps } = useMultipleSelection(
@@ -16802,7 +16838,7 @@ import { castArray as castArray6 } from "lodash-es";
16802
16838
  // src/atoms/PageHeader/PageHeader.tsx
16803
16839
  import React108 from "react";
16804
16840
  var PageHeader = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-row flex-wrap gap-4 pb-6"), className), ...rest }, children);
16805
- PageHeader.Container = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-col grow gap-0"), className), ...rest }, children);
16841
+ PageHeader.Container = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-col flex-1 basis-[--aquarium-screens-xs]"), className), ...rest }, children);
16806
16842
  PageHeader.TitleContainer = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-col justify-center gap-2"), className), ...rest }, children);
16807
16843
  PageHeader.Title = ({ isSubHeader = false, children, ...rest }) => /* @__PURE__ */ React108.createElement(
16808
16844
  Typography2,
@@ -16816,7 +16852,7 @@ PageHeader.Title = ({ isSubHeader = false, children, ...rest }) => /* @__PURE__
16816
16852
  );
16817
16853
  PageHeader.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ React108.createElement(Typography2.Small, { ...rest, color: "default" }, children);
16818
16854
  PageHeader.Chips = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex gap-3"), className), ...rest }, children);
16819
- PageHeader.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-row gap-4 self-start"), className), ...rest }, children);
16855
+ PageHeader.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ React108.createElement("div", { className: classNames(tw("flex flex-row-reverse sm:flex-row gap-4 self-start"), className), ...rest }, children);
16820
16856
 
16821
16857
  // src/molecules/PageHeader/PageHeader.tsx
16822
16858
  var import_more5 = __toESM(require_more());
@@ -17070,7 +17106,7 @@ RadioButtonGroup.Skeleton = RadioButtonGroupSkeleton;
17070
17106
  RadioButtonGroup.Skeleton.displayName = "RadioButtonGroup.Skeleton";
17071
17107
 
17072
17108
  // src/molecules/Section/Section.tsx
17073
- import React120, { useRef as useRef13 } from "react";
17109
+ import React120, { useRef as useRef14 } from "react";
17074
17110
  import { useButton as useButton4 } from "@react-aria/button";
17075
17111
  import { useId as useId17 } from "@react-aria/utils";
17076
17112
  import { animated as animated6, useSpring as useSpring5 } from "@react-spring/web";
@@ -17241,8 +17277,8 @@ var Section3 = (props) => {
17241
17277
  const [isCollapsed, setCollapsed] = React120.useState(_collapsed ?? _defaultCollapsed);
17242
17278
  const [isResting, setResting] = React120.useState(true);
17243
17279
  const [ref, { height }] = useMeasure();
17244
- const toggleAreaRef = useRef13(null);
17245
- const isMounted = useRef13(true);
17280
+ const toggleAreaRef = useRef14(null);
17281
+ const isMounted = useRef14(true);
17246
17282
  React120.useEffect(
17247
17283
  () => () => {
17248
17284
  isMounted.current = false;
@@ -17301,8 +17337,7 @@ var Section3 = (props) => {
17301
17337
  id: toggleId,
17302
17338
  collapsible: _collapsible
17303
17339
  },
17304
- _collapsible && // @ts-expect-error React spring does not yet support R19 types
17305
- /* @__PURE__ */ React120.createElement(animated6.div, { style: { transform } }, /* @__PURE__ */ React120.createElement(Section2.Toggle, null)),
17340
+ _collapsible && /* @__PURE__ */ React120.createElement(animated6.div, { style: { transform } }, /* @__PURE__ */ React120.createElement(Section2.Toggle, null)),
17306
17341
  /* @__PURE__ */ React120.createElement(Section2.Title, { id: titleId }, /* @__PURE__ */ React120.createElement(LineClamp2, { lines: 1 }, title), props.tag && /* @__PURE__ */ React120.createElement(TagLabel, { ...props.tag }), props.badge && /* @__PURE__ */ React120.createElement(Chip2, { text: props.badge }), props.chip && /* @__PURE__ */ React120.createElement(StatusChip, { ...props.chip })),
17307
17342
  subtitle && /* @__PURE__ */ React120.createElement(Section2.Subtitle, { className: tw("row-start-2", { "col-start-2": _collapsible }) }, /* @__PURE__ */ React120.createElement(LineClamp2, { lines: 1 }, subtitle))
17308
17343
  ), !isCollapsed && /* @__PURE__ */ React120.createElement(Section2.Actions, null, props.switch && /* @__PURE__ */ React120.createElement(Switch2, { ...props.switch }), menu && /* @__PURE__ */ React120.createElement(Box.Flex, { alignItems: "center" }, /* @__PURE__ */ React120.createElement(
@@ -17314,8 +17349,7 @@ var Section3 = (props) => {
17314
17349
  },
17315
17350
  /* @__PURE__ */ React120.createElement(DropdownMenu2.Trigger, null, /* @__PURE__ */ React120.createElement(Button2.Icon, { "aria-label": menuAriaLabel, icon: import_more6.default })),
17316
17351
  menu
17317
- )), props.actions && castArray7(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.select && /* @__PURE__ */ React120.createElement(SelectBase, { "aria-labelledby": titleId, ...props.select }))), !hasTabs && !isCollapsed && // @ts-expect-error React spring does not yet support R19 types
17318
- /* @__PURE__ */ React120.createElement(animated6.div, { className: tw(`h-[1px]`), style: { backgroundColor: "var(--aquarium-border-color-muted)" } })), /* @__PURE__ */ React120.createElement(
17352
+ )), props.actions && castArray7(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.select && /* @__PURE__ */ React120.createElement(SelectBase, { "aria-labelledby": titleId, ...props.select }))), !hasTabs && !isCollapsed && /* @__PURE__ */ React120.createElement(animated6.div, { className: tw(`h-[1px]`), style: { backgroundColor: "var(--aquarium-border-color-muted)" } })), /* @__PURE__ */ React120.createElement(
17319
17353
  animated6.div,
17320
17354
  {
17321
17355
  id: regionId,