@aivenio/aquarium 6.0.1 → 6.0.2

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/styles.css CHANGED
@@ -842,6 +842,66 @@ video {
842
842
  .icon-stroke-2 svg path {
843
843
  stroke-width: 2;
844
844
  }
845
+ .alert-action-information.text-primary-default{
846
+ --tw-text-opacity: 1;
847
+ color: rgba(14, 71, 118, 1);
848
+ color: rgb(14 71 118 / var(--tw-text-opacity, 1));
849
+ }
850
+ .alert-action-information.text-primary-default:where([data-rac])[data-hovered]{
851
+ --tw-text-opacity: 1;
852
+ color: rgba(31, 133, 217, 1);
853
+ color: rgb(31 133 217 / var(--tw-text-opacity, 1));
854
+ }
855
+ .alert-action-information.text-primary-default:where(:not([data-rac])):hover{
856
+ --tw-text-opacity: 1;
857
+ color: rgba(31, 133, 217, 1);
858
+ color: rgb(31 133 217 / var(--tw-text-opacity, 1));
859
+ }
860
+ .alert-action-warning.text-primary-default{
861
+ --tw-text-opacity: 1;
862
+ color: rgba(72, 49, 5, 1);
863
+ color: rgb(72 49 5 / var(--tw-text-opacity, 1));
864
+ }
865
+ .alert-action-warning.text-primary-default:where([data-rac])[data-hovered]{
866
+ --tw-text-opacity: 1;
867
+ color: rgba(202, 141, 21, 1);
868
+ color: rgb(202 141 21 / var(--tw-text-opacity, 1));
869
+ }
870
+ .alert-action-warning.text-primary-default:where(:not([data-rac])):hover{
871
+ --tw-text-opacity: 1;
872
+ color: rgba(202, 141, 21, 1);
873
+ color: rgb(202 141 21 / var(--tw-text-opacity, 1));
874
+ }
875
+ .alert-action-error.text-primary-default{
876
+ --tw-text-opacity: 1;
877
+ color: rgba(100, 12, 12, 1);
878
+ color: rgb(100 12 12 / var(--tw-text-opacity, 1));
879
+ }
880
+ .alert-action-error.text-primary-default:where([data-rac])[data-hovered]{
881
+ --tw-text-opacity: 1;
882
+ color: rgba(213, 28, 28, 1);
883
+ color: rgb(213 28 28 / var(--tw-text-opacity, 1));
884
+ }
885
+ .alert-action-error.text-primary-default:where(:not([data-rac])):hover{
886
+ --tw-text-opacity: 1;
887
+ color: rgba(213, 28, 28, 1);
888
+ color: rgb(213 28 28 / var(--tw-text-opacity, 1));
889
+ }
890
+ .alert-action-success.text-primary-default{
891
+ --tw-text-opacity: 1;
892
+ color: rgba(7, 103, 51, 1);
893
+ color: rgb(7 103 51 / var(--tw-text-opacity, 1));
894
+ }
895
+ .alert-action-success.text-primary-default:where([data-rac])[data-hovered]{
896
+ --tw-text-opacity: 1;
897
+ color: rgba(10, 178, 86, 1);
898
+ color: rgb(10 178 86 / var(--tw-text-opacity, 1));
899
+ }
900
+ .alert-action-success.text-primary-default:where(:not([data-rac])):hover{
901
+ --tw-text-opacity: 1;
902
+ color: rgba(10, 178, 86, 1);
903
+ color: rgb(10 178 86 / var(--tw-text-opacity, 1));
904
+ }
845
905
  /* https://tailwindcss.com/docs/using-with-preprocessors */
846
906
  /* @import statements must come first*/
847
907
  .\!container{
@@ -1805,6 +1865,12 @@ video {
1805
1865
  border-top-right-radius: 4px;
1806
1866
  border-top-right-radius: var(--aquarium-border-radius-default);
1807
1867
  }
1868
+ .rounded-t-lg{
1869
+ border-top-left-radius: 6px;
1870
+ border-top-left-radius: var(--aquarium-border-radius-lg);
1871
+ border-top-right-radius: 6px;
1872
+ border-top-right-radius: var(--aquarium-border-radius-lg);
1873
+ }
1808
1874
  .border{
1809
1875
  border-width: 1px;
1810
1876
  border-width: var(--aquarium-border-width-default);
@@ -3805,6 +3871,30 @@ code{
3805
3871
  .aquarium-theme-dark .Aquarium-Alert\.Banner svg .fill-error-10 {
3806
3872
  --aquarium-colors-error-10: rgba(105, 25, 30, 1);
3807
3873
  }
3874
+ .aquarium-theme-dark .alert-action-information {
3875
+ color: rgba(89, 210, 244, 1);
3876
+ }
3877
+ .aquarium-theme-dark .alert-action-information:hover {
3878
+ color: rgba(130, 224, 250, 1);
3879
+ }
3880
+ .aquarium-theme-dark .alert-action-success.text-primary-default {
3881
+ color: rgba(95, 250, 116, 1);
3882
+ }
3883
+ .aquarium-theme-dark .alert-action-success.text-primary-default:hover {
3884
+ color: rgba(147, 252, 162, 1);
3885
+ }
3886
+ .aquarium-theme-dark .alert-action-warning.text-primary-default {
3887
+ color: rgba(255, 229, 94, 1);
3888
+ }
3889
+ .aquarium-theme-dark .alert-action-warning.text-primary-default:hover {
3890
+ color: rgba(255, 241, 168, 1);
3891
+ }
3892
+ .aquarium-theme-dark .alert-action-error.text-primary-default {
3893
+ color: rgba(255, 99, 91, 1);
3894
+ }
3895
+ .aquarium-theme-dark .alert-action-error.text-primary-default:hover {
3896
+ color: rgba(255, 172, 168, 1);
3897
+ }
3808
3898
  .aquarium-theme-dark .Aquarium-Dropdown\.Item.bg-muted,
3809
3899
  .aquarium-theme-dark .Aquarium-Dropdown\.Item.hover\:bg-muted:hover,
3810
3900
  .aquarium-theme-dark .Aquarium-DropdownMenu\.Item.bg-muted,
package/dist/system.cjs CHANGED
@@ -2705,11 +2705,11 @@ var import_tailwind_variants3 = require("tailwind-variants");
2705
2705
  // src/utils/constants.ts
2706
2706
  var import_tailwind_variants2 = require("tailwind-variants");
2707
2707
  var inputStyles = (0, import_tailwind_variants2.tv)({
2708
- base: "block w-full rounded-sm typography-default text-default disabled:cursor-not-allowed disabled:border-default disabled:bg-medium disabled:text-inactive placeholder:text-inactive focus:outline-none",
2708
+ base: "block w-full rounded typography-default text-default disabled:cursor-not-allowed disabled:border-default disabled:bg-medium disabled:text-inactive placeholder:text-inactive focus:outline-none",
2709
2709
  variants: {
2710
2710
  readOnly: {
2711
2711
  true: "border-none resize-none cursor-default bg-transparent",
2712
- false: "px-3 py-3 bg-transparent"
2712
+ false: "px-3 py-3 bg-layer"
2713
2713
  },
2714
2714
  valid: {
2715
2715
  true: "",
@@ -2726,7 +2726,7 @@ var inputStyles = (0, import_tailwind_variants2.tv)({
2726
2726
  }
2727
2727
  });
2728
2728
  var focusRingStyle = (0, import_tailwind_variants2.tv)({
2729
- base: "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-action-focus focus-visible:ring-offset-body rounded-sm"
2729
+ base: "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-action-focus focus-visible:ring-offset-body rounded"
2730
2730
  });
2731
2731
  var interactiveTextStyles = (0, import_tailwind_variants2.tv)({
2732
2732
  base: "text-primary-default active:text-primary-active focus-visible:text-primary-active hover:text-primary-graphic disabled:text-inactive visited:text-primary-intense"
@@ -3718,7 +3718,7 @@ Banner.Dismiss = ({ type, ...rest }) => {
3718
3718
  Banner.Dismiss.displayName = "Alert.Banner.Dismiss";
3719
3719
 
3720
3720
  // src/molecules/Alert/Alert.tsx
3721
- var renderActions = (action, dense = false) => action && /* @__PURE__ */ import_react30.default.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ import_react30.default.createElement(Button2.Ghost, { dense, ...(0, import_lodash_es8.omit)(action, "text") }, action.text), isLink(action) && /* @__PURE__ */ import_react30.default.createElement(Link2.Button.Ghost, { dense, ...(0, import_lodash_es8.omit)(action, "text") }, action.text));
3721
+ var renderActions = (action, type, dense = false) => action && /* @__PURE__ */ import_react30.default.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ import_react30.default.createElement(Button2.Ghost, { dense, ...(0, import_lodash_es8.omit)(action, "text"), UNSAFE_className: `alert-action-${type}` }, action.text), isLink(action) && /* @__PURE__ */ import_react30.default.createElement(Link2.Button.Ghost, { dense, ...(0, import_lodash_es8.omit)(action, "text"), className: `alert-action-${type}` }, action.text));
3722
3722
  var Alert2 = ({
3723
3723
  type,
3724
3724
  title,
@@ -3741,7 +3741,7 @@ var Alert2 = ({
3741
3741
  /* @__PURE__ */ import_react30.default.createElement(Alert.Icon, { type, dense: Boolean(title) }),
3742
3742
  title && /* @__PURE__ */ import_react30.default.createElement(Alert.Title, { id: titleID }, title),
3743
3743
  /* @__PURE__ */ import_react30.default.createElement(Alert.Description, { id: descriptionID }, children),
3744
- renderActions(action, true),
3744
+ renderActions(action, type, true),
3745
3745
  onDismiss && /* @__PURE__ */ import_react30.default.createElement(Alert.Dismiss, { onClick: onDismiss })
3746
3746
  );
3747
3747
  };
@@ -3756,7 +3756,7 @@ var Banner2 = ({ type, title, children, action, onDismiss }) => {
3756
3756
  "aria-describedby": descriptionID,
3757
3757
  "aria-labelledby": title ? titleID : void 0
3758
3758
  },
3759
- /* @__PURE__ */ import_react30.default.createElement(Alert.Banner.Content, null, /* @__PURE__ */ import_react30.default.createElement(Typography2.Default, null, /* @__PURE__ */ import_react30.default.createElement(Typography2.DefaultStrong, { htmlTag: "span" }, title), children && " ", children), renderActions(action)),
3759
+ /* @__PURE__ */ import_react30.default.createElement(Alert.Banner.Content, null, /* @__PURE__ */ import_react30.default.createElement(Typography2.Default, null, /* @__PURE__ */ import_react30.default.createElement(Typography2.DefaultStrong, { htmlTag: "span" }, title), children && " ", children), renderActions(action, type)),
3760
3760
  onDismiss && /* @__PURE__ */ import_react30.default.createElement(Alert.Banner.Dismiss, { onClick: onDismiss })
3761
3761
  );
3762
3762
  };
@@ -4004,7 +4004,7 @@ var Breadcrumbs = (props) => {
4004
4004
  })));
4005
4005
  };
4006
4006
  var asCrumb = (Component, displayName, options = { isActive: false }) => {
4007
- const Crumb2 = import_react36.default.forwardRef(({ icon, children, ...rest }, ref) => /* @__PURE__ */ import_react36.default.createElement(Component, { ref, ...rest, role: "link" }, /* @__PURE__ */ import_react36.default.createElement(
4007
+ const Crumb2 = import_react36.default.forwardRef(({ icon, children, ...rest }, ref) => /* @__PURE__ */ import_react36.default.createElement(Component, { ref, ...rest, role: "link", className: focusRingStyle() }, /* @__PURE__ */ import_react36.default.createElement(
4008
4008
  "span",
4009
4009
  {
4010
4010
  className: (0, import_clsx10.clsx)("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
@@ -5479,6 +5479,7 @@ var ChoiceChip = ({
5479
5479
  name,
5480
5480
  value,
5481
5481
  disabled,
5482
+ "aria-label": ariaLabel,
5482
5483
  ...rest
5483
5484
  }) => {
5484
5485
  const [selected, setSelected] = (0, import_utils7.useControlledState)(checked, defaultChecked, onChange);
@@ -5486,7 +5487,7 @@ var ChoiceChip = ({
5486
5487
  const handleChange = () => {
5487
5488
  setSelected(!selected);
5488
5489
  };
5489
- return /* @__PURE__ */ import_react60.default.createElement("label", { className: label(), ...rest }, /* @__PURE__ */ import_react60.default.createElement(
5490
+ return /* @__PURE__ */ import_react60.default.createElement("label", { className: label(), "aria-label": ariaLabel, ...rest }, /* @__PURE__ */ import_react60.default.createElement(
5490
5491
  "input",
5491
5492
  {
5492
5493
  type: selectionMode,
@@ -11176,7 +11177,7 @@ var modalStyles = (0, import_tailwind_variants24.tv)({
11176
11177
  subtitle: "max-w-[700px]",
11177
11178
  closeButtonContainer: "absolute top-[24px] right-[28px]",
11178
11179
  body: [
11179
- "grow overflow-y-auto text-default flex flex-col",
11180
+ "grow overflow-y-auto text-default flex flex-col outline-none",
11180
11181
  bodyMaskClasses({ position: "before" }),
11181
11182
  bodyMaskClasses({ position: "after" })
11182
11183
  ],
@@ -11880,7 +11881,7 @@ var EmptyStateLayout = /* @__PURE__ */ ((EmptyStateLayout2) => {
11880
11881
  })(EmptyStateLayout || {});
11881
11882
  var isVerticalLayout = (layout) => layout === "vertical" /* Vertical */;
11882
11883
  var emptyStateClasses = (0, import_tailwind_variants25.tv)({
11883
- base: "Aquarium-EmptyState rounded flex bg-transparent border-default py-l6 max-h-[800px] w-full",
11884
+ base: "Aquarium-EmptyState rounded flex bg-transparent border-default py-l6 w-full",
11884
11885
  variants: {
11885
11886
  layout: {
11886
11887
  vertical: "flex-col justify-center items-center gap-7 text-center px-9",
@@ -11893,7 +11894,7 @@ var emptyStateClasses = (0, import_tailwind_variants25.tv)({
11893
11894
  },
11894
11895
  fullHeight: {
11895
11896
  true: "h-full",
11896
- false: ""
11897
+ false: "max-h-[800px]"
11897
11898
  }
11898
11899
  },
11899
11900
  defaultVariants: {
@@ -12184,7 +12185,7 @@ var Modal2 = ({
12184
12185
  className: styles.overlay({ className: "Aquarium-Modal" })
12185
12186
  },
12186
12187
  size !== "screen" && /* @__PURE__ */ import_react111.default.createElement(Modal.BackDrop, { className: styles.backdrop() }),
12187
- /* @__PURE__ */ import_react111.default.createElement(import_react_aria_components19.Modal, { className: styles.dialog() }, /* @__PURE__ */ import_react111.default.createElement(import_react_aria_components19.Dialog, { className: "flex flex-col grow overflow-y-auto" }, ({ close }) => /* @__PURE__ */ import_react111.default.createElement(import_react111.default.Fragment, null, /* @__PURE__ */ import_react111.default.createElement(Modal.CloseButtonContainer, null, /* @__PURE__ */ import_react111.default.createElement(Button2.Icon, { "aria-label": "Close", icon: cross_default, onClick: close })), headerImage !== void 0 && /* @__PURE__ */ import_react111.default.createElement(Modal.HeaderImage, { backgroundImage: headerImage }), /* @__PURE__ */ import_react111.default.createElement(
12188
+ /* @__PURE__ */ import_react111.default.createElement(import_react_aria_components19.Modal, { className: styles.dialog() }, /* @__PURE__ */ import_react111.default.createElement(import_react_aria_components19.Dialog, { className: "flex flex-col grow overflow-y-auto outline-none" }, ({ close }) => /* @__PURE__ */ import_react111.default.createElement(import_react111.default.Fragment, null, /* @__PURE__ */ import_react111.default.createElement(Modal.CloseButtonContainer, null, /* @__PURE__ */ import_react111.default.createElement(Button2.Icon, { "aria-label": "Close", icon: cross_default, onClick: close })), headerImage !== void 0 && /* @__PURE__ */ import_react111.default.createElement(Modal.HeaderImage, { backgroundImage: headerImage }), /* @__PURE__ */ import_react111.default.createElement(
12188
12189
  Modal.Header,
12189
12190
  {
12190
12191
  kind: "dialog",
@@ -13300,7 +13301,7 @@ var import_tailwind_variants31 = require("tailwind-variants");
13300
13301
  var sectionStyles = (0, import_tailwind_variants31.tv)({
13301
13302
  slots: {
13302
13303
  base: "border border-muted rounded-lg",
13303
- header: "px-5 py-3 flex gap-5 justify-between items-center",
13304
+ header: "px-5 py-3 flex gap-5 justify-between items-center rounded-t-lg",
13304
13305
  titleContainer: "grow grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 items-center min-h-[38px]",
13305
13306
  actions: "flex gap-4 justify-end",
13306
13307
  body: "p-5 rounded-lg"
package/dist/system.mjs CHANGED
@@ -2533,11 +2533,11 @@ import { tv as tv3 } from "tailwind-variants";
2533
2533
  // src/utils/constants.ts
2534
2534
  import { tv as tv2 } from "tailwind-variants";
2535
2535
  var inputStyles = tv2({
2536
- base: "block w-full rounded-sm typography-default text-default disabled:cursor-not-allowed disabled:border-default disabled:bg-medium disabled:text-inactive placeholder:text-inactive focus:outline-none",
2536
+ base: "block w-full rounded typography-default text-default disabled:cursor-not-allowed disabled:border-default disabled:bg-medium disabled:text-inactive placeholder:text-inactive focus:outline-none",
2537
2537
  variants: {
2538
2538
  readOnly: {
2539
2539
  true: "border-none resize-none cursor-default bg-transparent",
2540
- false: "px-3 py-3 bg-transparent"
2540
+ false: "px-3 py-3 bg-layer"
2541
2541
  },
2542
2542
  valid: {
2543
2543
  true: "",
@@ -2554,7 +2554,7 @@ var inputStyles = tv2({
2554
2554
  }
2555
2555
  });
2556
2556
  var focusRingStyle = tv2({
2557
- base: "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-action-focus focus-visible:ring-offset-body rounded-sm"
2557
+ base: "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-action-focus focus-visible:ring-offset-body rounded"
2558
2558
  });
2559
2559
  var interactiveTextStyles = tv2({
2560
2560
  base: "text-primary-default active:text-primary-active focus-visible:text-primary-active hover:text-primary-graphic disabled:text-inactive visited:text-primary-intense"
@@ -3546,7 +3546,7 @@ Banner.Dismiss = ({ type, ...rest }) => {
3546
3546
  Banner.Dismiss.displayName = "Alert.Banner.Dismiss";
3547
3547
 
3548
3548
  // src/molecules/Alert/Alert.tsx
3549
- var renderActions = (action, dense = false) => action && /* @__PURE__ */ React24.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ React24.createElement(Button2.Ghost, { dense, ...omit2(action, "text") }, action.text), isLink(action) && /* @__PURE__ */ React24.createElement(Link2.Button.Ghost, { dense, ...omit2(action, "text") }, action.text));
3549
+ var renderActions = (action, type, dense = false) => action && /* @__PURE__ */ React24.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ React24.createElement(Button2.Ghost, { dense, ...omit2(action, "text"), UNSAFE_className: `alert-action-${type}` }, action.text), isLink(action) && /* @__PURE__ */ React24.createElement(Link2.Button.Ghost, { dense, ...omit2(action, "text"), className: `alert-action-${type}` }, action.text));
3550
3550
  var Alert2 = ({
3551
3551
  type,
3552
3552
  title,
@@ -3569,7 +3569,7 @@ var Alert2 = ({
3569
3569
  /* @__PURE__ */ React24.createElement(Alert.Icon, { type, dense: Boolean(title) }),
3570
3570
  title && /* @__PURE__ */ React24.createElement(Alert.Title, { id: titleID }, title),
3571
3571
  /* @__PURE__ */ React24.createElement(Alert.Description, { id: descriptionID }, children),
3572
- renderActions(action, true),
3572
+ renderActions(action, type, true),
3573
3573
  onDismiss && /* @__PURE__ */ React24.createElement(Alert.Dismiss, { onClick: onDismiss })
3574
3574
  );
3575
3575
  };
@@ -3584,7 +3584,7 @@ var Banner2 = ({ type, title, children, action, onDismiss }) => {
3584
3584
  "aria-describedby": descriptionID,
3585
3585
  "aria-labelledby": title ? titleID : void 0
3586
3586
  },
3587
- /* @__PURE__ */ React24.createElement(Alert.Banner.Content, null, /* @__PURE__ */ React24.createElement(Typography2.Default, null, /* @__PURE__ */ React24.createElement(Typography2.DefaultStrong, { htmlTag: "span" }, title), children && " ", children), renderActions(action)),
3587
+ /* @__PURE__ */ React24.createElement(Alert.Banner.Content, null, /* @__PURE__ */ React24.createElement(Typography2.Default, null, /* @__PURE__ */ React24.createElement(Typography2.DefaultStrong, { htmlTag: "span" }, title), children && " ", children), renderActions(action, type)),
3588
3588
  onDismiss && /* @__PURE__ */ React24.createElement(Alert.Banner.Dismiss, { onClick: onDismiss })
3589
3589
  );
3590
3590
  };
@@ -3832,7 +3832,7 @@ var Breadcrumbs = (props) => {
3832
3832
  })));
3833
3833
  };
3834
3834
  var asCrumb = (Component, displayName, options = { isActive: false }) => {
3835
- const Crumb2 = React30.forwardRef(({ icon, children, ...rest }, ref) => /* @__PURE__ */ React30.createElement(Component, { ref, ...rest, role: "link" }, /* @__PURE__ */ React30.createElement(
3835
+ const Crumb2 = React30.forwardRef(({ icon, children, ...rest }, ref) => /* @__PURE__ */ React30.createElement(Component, { ref, ...rest, role: "link", className: focusRingStyle() }, /* @__PURE__ */ React30.createElement(
3836
3836
  "span",
3837
3837
  {
3838
3838
  className: clsx10("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
@@ -5307,6 +5307,7 @@ var ChoiceChip = ({
5307
5307
  name,
5308
5308
  value,
5309
5309
  disabled,
5310
+ "aria-label": ariaLabel,
5310
5311
  ...rest
5311
5312
  }) => {
5312
5313
  const [selected, setSelected] = useControlledState(checked, defaultChecked, onChange);
@@ -5314,7 +5315,7 @@ var ChoiceChip = ({
5314
5315
  const handleChange = () => {
5315
5316
  setSelected(!selected);
5316
5317
  };
5317
- return /* @__PURE__ */ React53.createElement("label", { className: label(), ...rest }, /* @__PURE__ */ React53.createElement(
5318
+ return /* @__PURE__ */ React53.createElement("label", { className: label(), "aria-label": ariaLabel, ...rest }, /* @__PURE__ */ React53.createElement(
5318
5319
  "input",
5319
5320
  {
5320
5321
  type: selectionMode,
@@ -11053,7 +11054,7 @@ var modalStyles = tv24({
11053
11054
  subtitle: "max-w-[700px]",
11054
11055
  closeButtonContainer: "absolute top-[24px] right-[28px]",
11055
11056
  body: [
11056
- "grow overflow-y-auto text-default flex flex-col",
11057
+ "grow overflow-y-auto text-default flex flex-col outline-none",
11057
11058
  bodyMaskClasses({ position: "before" }),
11058
11059
  bodyMaskClasses({ position: "after" })
11059
11060
  ],
@@ -11757,7 +11758,7 @@ var EmptyStateLayout = /* @__PURE__ */ ((EmptyStateLayout2) => {
11757
11758
  })(EmptyStateLayout || {});
11758
11759
  var isVerticalLayout = (layout) => layout === "vertical" /* Vertical */;
11759
11760
  var emptyStateClasses = tv25({
11760
- base: "Aquarium-EmptyState rounded flex bg-transparent border-default py-l6 max-h-[800px] w-full",
11761
+ base: "Aquarium-EmptyState rounded flex bg-transparent border-default py-l6 w-full",
11761
11762
  variants: {
11762
11763
  layout: {
11763
11764
  vertical: "flex-col justify-center items-center gap-7 text-center px-9",
@@ -11770,7 +11771,7 @@ var emptyStateClasses = tv25({
11770
11771
  },
11771
11772
  fullHeight: {
11772
11773
  true: "h-full",
11773
- false: ""
11774
+ false: "max-h-[800px]"
11774
11775
  }
11775
11776
  },
11776
11777
  defaultVariants: {
@@ -12066,7 +12067,7 @@ var Modal2 = ({
12066
12067
  className: styles.overlay({ className: "Aquarium-Modal" })
12067
12068
  },
12068
12069
  size !== "screen" && /* @__PURE__ */ React102.createElement(Modal.BackDrop, { className: styles.backdrop() }),
12069
- /* @__PURE__ */ React102.createElement(AriaModal2, { className: styles.dialog() }, /* @__PURE__ */ React102.createElement(AriaDialog3, { className: "flex flex-col grow overflow-y-auto" }, ({ close }) => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Modal.CloseButtonContainer, null, /* @__PURE__ */ React102.createElement(Button2.Icon, { "aria-label": "Close", icon: cross_default, onClick: close })), headerImage !== void 0 && /* @__PURE__ */ React102.createElement(Modal.HeaderImage, { backgroundImage: headerImage }), /* @__PURE__ */ React102.createElement(
12070
+ /* @__PURE__ */ React102.createElement(AriaModal2, { className: styles.dialog() }, /* @__PURE__ */ React102.createElement(AriaDialog3, { className: "flex flex-col grow overflow-y-auto outline-none" }, ({ close }) => /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(Modal.CloseButtonContainer, null, /* @__PURE__ */ React102.createElement(Button2.Icon, { "aria-label": "Close", icon: cross_default, onClick: close })), headerImage !== void 0 && /* @__PURE__ */ React102.createElement(Modal.HeaderImage, { backgroundImage: headerImage }), /* @__PURE__ */ React102.createElement(
12070
12071
  Modal.Header,
12071
12072
  {
12072
12073
  kind: "dialog",
@@ -13182,7 +13183,7 @@ import { tv as tv31 } from "tailwind-variants";
13182
13183
  var sectionStyles = tv31({
13183
13184
  slots: {
13184
13185
  base: "border border-muted rounded-lg",
13185
- header: "px-5 py-3 flex gap-5 justify-between items-center",
13186
+ header: "px-5 py-3 flex gap-5 justify-between items-center rounded-t-lg",
13186
13187
  titleContainer: "grow grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 items-center min-h-[38px]",
13187
13188
  actions: "flex gap-4 justify-end",
13188
13189
  body: "p-5 rounded-lg"