@aivenio/aquarium 1.47.0 → 1.48.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.
Files changed (44) hide show
  1. package/dist/_variables.scss +1 -1
  2. package/dist/atoms.cjs +151 -15
  3. package/dist/atoms.mjs +150 -15
  4. package/dist/src/atoms/Alert/Alert.d.ts +14 -0
  5. package/dist/src/atoms/Alert/Alert.js +60 -3
  6. package/dist/src/atoms/Card/Card.d.ts +1 -1
  7. package/dist/src/atoms/DataList/DataList.js +3 -3
  8. package/dist/src/atoms/Navigation/Navigation.js +2 -2
  9. package/dist/src/atoms/Section/Section.d.ts +1 -1
  10. package/dist/src/atoms/Section/Section.js +3 -3
  11. package/dist/src/atoms/Select/Select.js +5 -6
  12. package/dist/src/atoms/Table/Table.d.ts +9 -1
  13. package/dist/src/atoms/Table/Table.js +4 -2
  14. package/dist/src/molecules/Accordion/Accordion.d.ts +1 -0
  15. package/dist/src/molecules/Accordion/Accordion.js +2 -2
  16. package/dist/src/molecules/Alert/Alert.d.ts +7 -1
  17. package/dist/src/molecules/Alert/Alert.js +22 -4
  18. package/dist/src/molecules/Avatar/Avatar.d.ts +5 -0
  19. package/dist/src/molecules/Avatar/Avatar.js +3 -3
  20. package/dist/src/molecules/Banner/Banner.js +3 -2
  21. package/dist/src/molecules/Card/Card.js +2 -2
  22. package/dist/src/molecules/Card/types.d.ts +2 -1
  23. package/dist/src/molecules/DataList/DataList.js +13 -10
  24. package/dist/src/molecules/DataList/DataListSkeleton.js +4 -4
  25. package/dist/src/molecules/DropdownMenu/DropdownMenu.js +3 -3
  26. package/dist/src/molecules/ListItem/ListItem.js +2 -2
  27. package/dist/src/molecules/PageHeader/PageHeader.js +2 -2
  28. package/dist/src/molecules/Pagination/Pagination.js +3 -3
  29. package/dist/src/molecules/Popover/Popover.js +4 -3
  30. package/dist/src/molecules/Section/Section.js +7 -6
  31. package/dist/src/molecules/Table/Table.d.ts +1 -0
  32. package/dist/src/molecules/Table/Table.js +2 -1
  33. package/dist/src/molecules/Template/Template.d.ts +1 -0
  34. package/dist/src/molecules/Template/Template.js +3 -3
  35. package/dist/src/molecules/Typography/Typography.d.ts +4 -0
  36. package/dist/src/molecules/Typography/Typography.js +28 -4
  37. package/dist/src/utils/setupTests.js +2 -2
  38. package/dist/styles.css +62 -6
  39. package/dist/system.cjs +509 -325
  40. package/dist/system.mjs +503 -319
  41. package/dist/tsconfig.module.tsbuildinfo +1 -1
  42. package/dist/types/tailwindGenerated.d.ts +1 -1
  43. package/dist/types/utils.d.ts +3 -0
  44. package/package.json +2 -2
package/dist/system.mjs CHANGED
@@ -4622,7 +4622,7 @@ __export(molecules_exports, {
4622
4622
  Avatar: () => Avatar,
4623
4623
  AvatarStack: () => AvatarStack,
4624
4624
  Badge: () => Badge,
4625
- Banner: () => Banner2,
4625
+ Banner: () => Banner4,
4626
4626
  BorderBox: () => BorderBox,
4627
4627
  Box: () => Box,
4628
4628
  Breadcrumbs: () => Breadcrumbs,
@@ -4749,8 +4749,8 @@ import {
4749
4749
 
4750
4750
  // src/utils/tailwind.ts
4751
4751
  import originalClassNames from "classnames";
4752
- function cleanClassNames(classNames10) {
4753
- const tokens = classNames10.split(/\s+/);
4752
+ function cleanClassNames(classNames11) {
4753
+ const tokens = classNames11.split(/\s+/);
4754
4754
  return tokens.filter((item) => item).join(" ");
4755
4755
  }
4756
4756
  function tw(classesOrModifiers1, classesOrModifiers2, classesOrModifiers3, classesOrModifiers4, classesOrModifiers5, classesOrModifiers6, classesOrModifiers7, classesOrModifiers8, classesOrModifiers9, classesOrModifiers10) {
@@ -4894,15 +4894,15 @@ var Group = React2.forwardRef((_a, ref) => {
4894
4894
  });
4895
4895
  var Item = React2.forwardRef(
4896
4896
  (_a, ref) => {
4897
- var _b = _a, { highlighted, selected, className, children } = _b, props = __objRest(_b, ["highlighted", "selected", "className", "children"]);
4897
+ var _b = _a, { highlighted, selected, className, disabled, children } = _b, props = __objRest(_b, ["highlighted", "selected", "className", "disabled", "children"]);
4898
4898
  return /* @__PURE__ */ React2.createElement("li", __spreadValues({
4899
4899
  ref,
4900
4900
  className: classNames(className, "flex items-center gap-x-3 p-3 typography-small", {
4901
- "cursor-pointer": !props.disabled,
4902
- "bg-grey-0": highlighted,
4903
- "text-grey-20": props.disabled,
4904
- "hover:bg-grey-0": !props.disabled
4905
- })
4901
+ "cursor-pointer hover:bg-grey-0": !disabled,
4902
+ "cursor-not-allowed opacity-40 grayscale": disabled,
4903
+ "bg-grey-0": highlighted
4904
+ }),
4905
+ "aria-disabled": disabled || void 0
4906
4906
  }, props), /* @__PURE__ */ React2.createElement("span", {
4907
4907
  className: tw("grow flex gap-x-3")
4908
4908
  }, children), selected && /* @__PURE__ */ React2.createElement(InlineIcon, {
@@ -4957,8 +4957,8 @@ var Select = {
4957
4957
  };
4958
4958
 
4959
4959
  // src/molecules/Alert/Alert.tsx
4960
- import React18 from "react";
4961
- import { useId } from "@react-aria/utils";
4960
+ import React19 from "react";
4961
+ import { useId as useId2 } from "@react-aria/utils";
4962
4962
  import omit from "lodash/omit";
4963
4963
 
4964
4964
  // src/molecules/Button/Button.tsx
@@ -6924,8 +6924,9 @@ var SecondaryDropdownButton = React15.forwardRef((props, ref) => /* @__PURE__ */
6924
6924
  SecondaryDropdownButton.displayName = "Button.SecondaryDropdown";
6925
6925
  Button.SecondaryDropdown = SecondaryDropdownButton;
6926
6926
 
6927
- // src/atoms/Alert/Alert.tsx
6927
+ // src/molecules/Typography/Typography.tsx
6928
6928
  import React17 from "react";
6929
+ import classNames3 from "classnames";
6929
6930
 
6930
6931
  // src/atoms/Typography/Typography.tsx
6931
6932
  var import_resolveTheme = __toESM(require_resolveTheme());
@@ -6960,7 +6961,148 @@ var Typography = (_a) => {
6960
6961
  }, rest), children);
6961
6962
  };
6962
6963
 
6964
+ // src/molecules/Typography/Typography.tsx
6965
+ var Typography2 = (props) => /* @__PURE__ */ React17.createElement(Typography, __spreadValues({}, props));
6966
+ Typography2.displayName = "Typography";
6967
+ Typography2.LargeHeading = (_a) => {
6968
+ var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
6969
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
6970
+ htmlTag,
6971
+ variant: "large-heading"
6972
+ }));
6973
+ };
6974
+ Typography2.LargeHeading.displayName = "Typography.LargeHeading";
6975
+ Typography2.Heading = (_a) => {
6976
+ var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
6977
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
6978
+ htmlTag,
6979
+ variant: "heading"
6980
+ }));
6981
+ };
6982
+ Typography2.Heading.displayName = "Typography.Heading";
6983
+ Typography2.Subheading = (_a) => {
6984
+ var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
6985
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
6986
+ htmlTag,
6987
+ variant: "subheading"
6988
+ }));
6989
+ };
6990
+ Typography2.Subheading.displayName = "Typography.Subheading";
6991
+ Typography2.LargeStrong = (_a) => {
6992
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
6993
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
6994
+ htmlTag,
6995
+ variant: "large-strong"
6996
+ }));
6997
+ };
6998
+ Typography2.LargeStrong.displayName = "Typography.LargeStrong";
6999
+ Typography2.Large = (_a) => {
7000
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7001
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7002
+ htmlTag,
7003
+ variant: "large"
7004
+ }));
7005
+ };
7006
+ Typography2.Large.displayName = "Typography.Large";
7007
+ Typography2.DefaultStrong = (_a) => {
7008
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7009
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7010
+ htmlTag,
7011
+ variant: "default-strong"
7012
+ }));
7013
+ };
7014
+ Typography2.DefaultStrong.displayName = "Typography.DefaultStrong";
7015
+ Typography2.Default = (_a) => {
7016
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7017
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7018
+ htmlTag,
7019
+ variant: "default"
7020
+ }));
7021
+ };
7022
+ Typography2.Default.displayName = "Typography.Default";
7023
+ Typography2.Paragraph = (_a) => {
7024
+ var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7025
+ return /* @__PURE__ */ React17.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
7026
+ htmlTag
7027
+ }));
7028
+ };
7029
+ Typography2.P = Typography2.Paragraph;
7030
+ Typography2.Paragraph.displayName = "Typography.Paragraph";
7031
+ Typography2.Small = (_a) => {
7032
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7033
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7034
+ htmlTag,
7035
+ variant: "small"
7036
+ }));
7037
+ };
7038
+ Typography2.Small.displayName = "Typography.Small";
7039
+ Typography2.SmallStrong = (_a) => {
7040
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7041
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7042
+ htmlTag,
7043
+ variant: "small-strong"
7044
+ }));
7045
+ };
7046
+ Typography2.SmallStrong.displayName = "Typography.SmallStrong";
7047
+ Typography2.Strong = (_a) => {
7048
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7049
+ return /* @__PURE__ */ React17.createElement("strong", __spreadValues({
7050
+ className: classNames3(tw("font-semibold"), className)
7051
+ }, props));
7052
+ };
7053
+ Typography2.Strong.displayName = "Typography.Strong";
7054
+ Typography2.Caption = (_a) => {
7055
+ var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7056
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7057
+ htmlTag,
7058
+ variant: "caption"
7059
+ }));
7060
+ };
7061
+ Typography2.Caption.displayName = "Typography.Caption";
7062
+ Typography2.LargeText = (_a) => {
7063
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7064
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7065
+ htmlTag,
7066
+ variant: "large-strong"
7067
+ }));
7068
+ };
7069
+ Typography2.LargeText.displayName = "Typography.LargeText";
7070
+ Typography2.MediumText = (_a) => {
7071
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7072
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7073
+ htmlTag,
7074
+ variant: "default-strong"
7075
+ }));
7076
+ };
7077
+ Typography2.MediumText.displayName = "Typography.MediumText";
7078
+ Typography2.Text = (_a) => {
7079
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7080
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7081
+ htmlTag,
7082
+ variant: "default"
7083
+ }));
7084
+ };
7085
+ Typography2.Text.displayName = "Typography.Text";
7086
+ Typography2.SmallText = (_a) => {
7087
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7088
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7089
+ htmlTag,
7090
+ variant: "small"
7091
+ }));
7092
+ };
7093
+ Typography2.SmallText.displayName = "Typography.SmallText";
7094
+ Typography2.SmallTextBold = (_a) => {
7095
+ var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7096
+ return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7097
+ htmlTag,
7098
+ variant: "small-strong"
7099
+ }));
7100
+ };
7101
+ Typography2.SmallTextBold.displayName = "Typography.SmallTextBold";
7102
+
6963
7103
  // src/atoms/Alert/Alert.tsx
7104
+ import React18 from "react";
7105
+ import { useId } from "@react-aria/utils";
6964
7106
  var import_cross2 = __toESM(require_cross());
6965
7107
  var import_error2 = __toESM(require_error());
6966
7108
  var import_infoSign2 = __toESM(require_infoSign());
@@ -6996,7 +7138,7 @@ var Alert = (_a) => {
6996
7138
  "type",
6997
7139
  "dense"
6998
7140
  ]);
6999
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7141
+ return /* @__PURE__ */ React18.createElement("div", __spreadProps(__spreadValues({}, rest), {
7000
7142
  role: type === "error" || type === "warning" ? "alert" : "status",
7001
7143
  className: classNames(
7002
7144
  tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
@@ -7013,7 +7155,7 @@ var Alert = (_a) => {
7013
7155
  };
7014
7156
  Alert.Title = (_a) => {
7015
7157
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7016
- return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7158
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7017
7159
  variant: "default-strong",
7018
7160
  color: "grey-80",
7019
7161
  className: classNames(tw("col-start-2"), className)
@@ -7021,7 +7163,7 @@ Alert.Title = (_a) => {
7021
7163
  };
7022
7164
  Alert.Description = (_a) => {
7023
7165
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7024
- return /* @__PURE__ */ React17.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7166
+ return /* @__PURE__ */ React18.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7025
7167
  variant: "small",
7026
7168
  color: "grey-60",
7027
7169
  className: classNames(tw("col-start-2"), className)
@@ -7029,15 +7171,15 @@ Alert.Description = (_a) => {
7029
7171
  };
7030
7172
  Alert.Actions = (_a) => {
7031
7173
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
7032
- return /* @__PURE__ */ React17.createElement("div", __spreadProps(__spreadValues({}, rest), {
7174
+ return /* @__PURE__ */ React18.createElement("div", __spreadProps(__spreadValues({}, rest), {
7033
7175
  className: classNames(tw("flex gap-4 col-start-2"), className)
7034
7176
  }), children);
7035
7177
  };
7036
7178
  Alert.Icon = (_a) => {
7037
7179
  var _b = _a, { type, dense } = _b, rest = __objRest(_b, ["type", "dense"]);
7038
- return /* @__PURE__ */ React17.createElement("div", {
7180
+ return /* @__PURE__ */ React18.createElement("div", {
7039
7181
  className: tw("h-[20px] col-start-1 row-start-1", { "self-start": !dense })
7040
- }, /* @__PURE__ */ React17.createElement(Icon, __spreadProps(__spreadValues({}, rest), {
7182
+ }, /* @__PURE__ */ React18.createElement(Icon, __spreadProps(__spreadValues({}, rest), {
7041
7183
  icon: alertTypes[type].icon,
7042
7184
  color: alertTypes[type].color,
7043
7185
  fontSize: 20
@@ -7045,19 +7187,129 @@ Alert.Icon = (_a) => {
7045
7187
  };
7046
7188
  Alert.Dismiss = (_a) => {
7047
7189
  var _b = _a, { type } = _b, rest = __objRest(_b, ["type"]);
7048
- return /* @__PURE__ */ React17.createElement("div", {
7190
+ return /* @__PURE__ */ React18.createElement("div", {
7049
7191
  className: tw("h-[20px] col-start-3 row-start-1")
7050
- }, /* @__PURE__ */ React17.createElement(IconButton, __spreadProps(__spreadValues({}, rest), {
7192
+ }, /* @__PURE__ */ React18.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), {
7051
7193
  UNSAFE_className: tw("-m-2"),
7052
7194
  tooltip: "Dismiss",
7053
7195
  icon: import_cross2.default
7054
7196
  })));
7055
7197
  };
7198
+ var Banner = (_a) => {
7199
+ var _b = _a, {
7200
+ children,
7201
+ className,
7202
+ type
7203
+ } = _b, rest = __objRest(_b, [
7204
+ "children",
7205
+ "className",
7206
+ "type"
7207
+ ]);
7208
+ return /* @__PURE__ */ React18.createElement("div", __spreadProps(__spreadValues({}, rest), {
7209
+ role: type === "error" || type === "warning" ? "alert" : "status",
7210
+ className: classNames(
7211
+ tw("relative flex px-[60px] justify-center", {
7212
+ "bg-error-5": type === "error",
7213
+ "bg-primary-5": type === "information",
7214
+ "bg-success-5": type === "success",
7215
+ "bg-warning-5": type === "warning"
7216
+ }),
7217
+ className
7218
+ )
7219
+ }), children);
7220
+ };
7221
+ Alert.Banner = Banner;
7222
+ Alert.Banner.displayName = "Alert.Banner";
7223
+ Banner.Content = (_a) => {
7224
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7225
+ return /* @__PURE__ */ React18.createElement("div", __spreadValues({
7226
+ className: classNames(
7227
+ tw("flex flex-row flex-wrap gap-x-3 items-center justify-center py-3 text-center z-10"),
7228
+ className
7229
+ )
7230
+ }, props));
7231
+ };
7232
+ Banner.Content.displayName = "Alert.Banner.Content";
7233
+ Banner.Dismiss = (_a) => {
7234
+ var _b = _a, { type } = _b, rest = __objRest(_b, ["type"]);
7235
+ return /* @__PURE__ */ React18.createElement("div", {
7236
+ className: tw("h-[20px] absolute right-4 top-[18px]")
7237
+ }, /* @__PURE__ */ React18.createElement(Button.Icon, __spreadProps(__spreadValues({}, rest), {
7238
+ UNSAFE_className: tw("-m-2"),
7239
+ tooltip: "Dismiss",
7240
+ icon: import_cross2.default
7241
+ })));
7242
+ };
7243
+ Banner.Dismiss.displayName = "Alert.Banner.Dismiss";
7244
+ var ILLUSTRATION_COLORS = {
7245
+ information: { stroke: tw("stroke-primary-60"), fill: tw("fill-primary-10") },
7246
+ success: { stroke: tw("stroke-success-40"), fill: tw("fill-success-10") },
7247
+ warning: { stroke: tw("stroke-warning-100"), fill: tw("fill-warning-20") },
7248
+ error: { stroke: tw("stroke-error-100"), fill: tw("fill-error-10") }
7249
+ };
7250
+ var IllustrationLeft = (_a) => {
7251
+ var _b = _a, { type } = _b, props = __objRest(_b, ["type"]);
7252
+ const clipPathId = useId();
7253
+ return /* @__PURE__ */ React18.createElement("svg", __spreadValues({
7254
+ xmlns: "http://www.w3.org/2000/svg",
7255
+ width: 120,
7256
+ height: 48,
7257
+ fill: "none"
7258
+ }, props), /* @__PURE__ */ React18.createElement("g", {
7259
+ clipPath: `url(#${clipPathId})`
7260
+ }, /* @__PURE__ */ React18.createElement("path", {
7261
+ className: ILLUSTRATION_COLORS[type].fill,
7262
+ d: "M25.68 105.063c-4.556 17.047 5.533 34.57 22.537 39.138 17.003 4.568 34.48-5.55 39.037-22.597L136.75-63.593c4.555-17.046-5.536-34.57-22.538-39.137-17.003-4.567-34.48 5.55-39.036 22.596L25.68 105.063Z"
7263
+ }), /* @__PURE__ */ React18.createElement("path", {
7264
+ className: ILLUSTRATION_COLORS[type].stroke,
7265
+ strokeWidth: 2,
7266
+ d: "M-71.39 445.432c-29.483-7.92-46.981-38.306-39.08-67.87l87.385-326.96c7.901-29.562 38.211-47.105 67.693-39.185 29.481 7.92 46.983 38.306 39.082 67.869l-87.385 326.96c-7.901 29.564-38.211 47.107-67.694 39.186Z"
7267
+ })), /* @__PURE__ */ React18.createElement("defs", null, /* @__PURE__ */ React18.createElement("clipPath", {
7268
+ id: clipPathId
7269
+ }, /* @__PURE__ */ React18.createElement("path", {
7270
+ fill: "#fff",
7271
+ d: "M-38-23h188v200H-38z"
7272
+ }))));
7273
+ };
7274
+ Banner.IllustrationLeft = IllustrationLeft;
7275
+ Banner.IllustrationLeft.displayName = "Alert.Banner.IllustrationLeft";
7276
+ var IllustrationRight = (_a) => {
7277
+ var _b = _a, { type } = _b, props = __objRest(_b, ["type"]);
7278
+ const clipPathId = useId();
7279
+ return /* @__PURE__ */ React18.createElement("svg", __spreadValues({
7280
+ xmlns: "http://www.w3.org/2000/svg",
7281
+ width: 120,
7282
+ height: 48,
7283
+ fill: "none"
7284
+ }, props), /* @__PURE__ */ React18.createElement("g", {
7285
+ clipPath: `url(#${clipPathId})`
7286
+ }, /* @__PURE__ */ React18.createElement("path", {
7287
+ className: ILLUSTRATION_COLORS[type].fill,
7288
+ d: "M114.341 71.088c11.599-20.12 4.741-45.834-15.32-57.433-20.06-11.6-45.727-4.691-57.326 15.43L-84.32 247.67c-11.599 20.119-4.739 45.835 15.321 57.433 20.06 11.599 45.726 4.69 57.325-15.429L114.341 71.088Z"
7289
+ }), /* @__PURE__ */ React18.createElement("path", {
7290
+ className: ILLUSTRATION_COLORS[type].stroke,
7291
+ strokeWidth: 2.632,
7292
+ d: "M353.696-328.567c34.785 20.113 46.681 64.704 26.564 99.599L157.785 156.939c-20.115 34.892-64.626 46.87-99.409 26.758-34.782-20.112-46.682-64.706-26.566-99.598l222.475-385.907c20.116-34.894 64.626-46.872 99.411-26.759Z"
7293
+ })), /* @__PURE__ */ React18.createElement("defs", null, /* @__PURE__ */ React18.createElement("clipPath", {
7294
+ id: clipPathId
7295
+ }, /* @__PURE__ */ React18.createElement("path", {
7296
+ fill: "#fff",
7297
+ d: "m151.148 255.847-239.01-64.043 68.13-254.266L219.278 1.58z"
7298
+ }))));
7299
+ };
7300
+ Banner.IllustrationRight = IllustrationRight;
7301
+ Banner.IllustrationRight.displayName = "Alert.Banner.IllustrationRight";
7056
7302
 
7057
7303
  // src/utils/link.ts
7058
7304
  var isLink = (action) => action.href !== void 0;
7059
7305
 
7060
7306
  // src/molecules/Alert/Alert.tsx
7307
+ var renderActions = (action, dense = false) => action && /* @__PURE__ */ React19.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ React19.createElement(Button.Ghost, __spreadValues({
7308
+ dense
7309
+ }, omit(action, "text")), action.text), isLink(action) && /* @__PURE__ */ React19.createElement(Button.ExternalLink, __spreadValues({
7310
+ dense,
7311
+ kind: "ghost"
7312
+ }, omit(action, "text")), action.text));
7061
7313
  var Alert2 = ({
7062
7314
  description,
7063
7315
  type,
@@ -7066,36 +7318,51 @@ var Alert2 = ({
7066
7318
  children,
7067
7319
  action
7068
7320
  }) => {
7069
- const descriptionID = useId();
7070
- const titleID = useId();
7071
- return /* @__PURE__ */ React18.createElement(Alert, {
7321
+ const descriptionID = useId2();
7322
+ const titleID = useId2();
7323
+ return /* @__PURE__ */ React19.createElement(Alert, {
7072
7324
  className: "Aquarium-Alert",
7073
7325
  type,
7074
7326
  dense: Boolean(title),
7075
7327
  "aria-describedby": descriptionID,
7076
7328
  "aria-labelledby": title ? titleID : void 0
7077
- }, /* @__PURE__ */ React18.createElement(Alert.Icon, {
7329
+ }, /* @__PURE__ */ React19.createElement(Alert.Icon, {
7078
7330
  type,
7079
7331
  dense: Boolean(title)
7080
- }), title && /* @__PURE__ */ React18.createElement(Alert.Title, {
7332
+ }), title && /* @__PURE__ */ React19.createElement(Alert.Title, {
7081
7333
  id: titleID
7082
- }, title), /* @__PURE__ */ React18.createElement(Alert.Description, {
7334
+ }, title), /* @__PURE__ */ React19.createElement(Alert.Description, {
7083
7335
  id: descriptionID
7084
- }, children || description), action && /* @__PURE__ */ React18.createElement(Alert.Actions, null, !isLink(action) && /* @__PURE__ */ React18.createElement(Button.Ghost, __spreadValues({
7085
- dense: true
7086
- }, omit(action, "text")), action.text), isLink(action) && /* @__PURE__ */ React18.createElement(Button.ExternalLink, __spreadValues({
7087
- dense: true,
7088
- kind: "ghost"
7089
- }, omit(action, "text")), action.text)), onDismiss && /* @__PURE__ */ React18.createElement(Alert.Dismiss, {
7336
+ }, children || description), renderActions(action, true), onDismiss && /* @__PURE__ */ React19.createElement(Alert.Dismiss, {
7090
7337
  onClick: onDismiss
7091
7338
  }));
7092
7339
  };
7340
+ var Banner2 = ({ type, title, children, action, onDismiss }) => {
7341
+ const descriptionID = useId2();
7342
+ const titleID = useId2();
7343
+ return /* @__PURE__ */ React19.createElement(Alert.Banner, {
7344
+ className: "Aquarium-Alert.Banner",
7345
+ type,
7346
+ "aria-describedby": descriptionID,
7347
+ "aria-labelledby": title ? titleID : void 0
7348
+ }, /* @__PURE__ */ React19.createElement(Alert.Banner.Content, null, /* @__PURE__ */ React19.createElement(Typography2.Default, null, /* @__PURE__ */ React19.createElement(Typography2.Strong, null, title), children && " ", children), renderActions(action)), /* @__PURE__ */ React19.createElement(Alert.Banner.IllustrationLeft, {
7349
+ type,
7350
+ className: "absolute left-0 top-0 bottom-0 h-full z-0"
7351
+ }), /* @__PURE__ */ React19.createElement(Alert.Banner.IllustrationRight, {
7352
+ type,
7353
+ className: "absolute right-0 top-0 bottom-0 h-full z-0"
7354
+ }), onDismiss && /* @__PURE__ */ React19.createElement(Alert.Banner.Dismiss, {
7355
+ onClick: onDismiss
7356
+ }));
7357
+ };
7358
+ Alert2.Banner = Banner2;
7359
+ Alert2.Banner.displayName = "Alert.Banner";
7093
7360
 
7094
7361
  // src/molecules/Avatar/Avatar.tsx
7095
- import React20 from "react";
7362
+ import React21 from "react";
7096
7363
 
7097
7364
  // src/molecules/Skeleton/Skeleton.tsx
7098
- import React19 from "react";
7365
+ import React20 from "react";
7099
7366
  import isNumber from "lodash/isNumber";
7100
7367
  import isUndefined7 from "lodash/isUndefined";
7101
7368
  var Skeleton = (_a) => {
@@ -7120,7 +7387,7 @@ var Skeleton = (_a) => {
7120
7387
  width: isNumber(width) ? `${width}px` : width,
7121
7388
  height: isNumber(height) ? `${height}px` : height
7122
7389
  };
7123
- return /* @__PURE__ */ React19.createElement("div", __spreadProps(__spreadValues({
7390
+ return /* @__PURE__ */ React20.createElement("div", __spreadProps(__spreadValues({
7124
7391
  "aria-label": "Loading..."
7125
7392
  }, rest), {
7126
7393
  style: __spreadValues(__spreadValues({}, styles), style),
@@ -7140,22 +7407,24 @@ var Skeleton = (_a) => {
7140
7407
  };
7141
7408
 
7142
7409
  // src/molecules/Avatar/Avatar.tsx
7143
- var AvatarStack = ({ images }) => /* @__PURE__ */ React20.createElement(Box, {
7410
+ var AvatarStack = ({ images }) => /* @__PURE__ */ React21.createElement(Box, {
7144
7411
  display: "flex",
7145
7412
  className: tw("[&>*:not(:first-child)]:-ml-3")
7146
7413
  }, images.map(
7147
- (image, index) => image ? /* @__PURE__ */ React20.createElement(Avatar, {
7414
+ (image, index) => image ? /* @__PURE__ */ React21.createElement(Avatar, {
7148
7415
  key: image != null ? image : index,
7149
- image
7150
- }) : /* @__PURE__ */ React20.createElement(Avatar.Skeleton, {
7416
+ image,
7417
+ imageAlt: ""
7418
+ }) : /* @__PURE__ */ React21.createElement(Avatar.Skeleton, {
7151
7419
  key: image != null ? image : index
7152
7420
  })
7153
7421
  ));
7154
- var Avatar = ({ image }) => /* @__PURE__ */ React20.createElement("img", {
7422
+ var Avatar = ({ image, imageAlt = "" }) => /* @__PURE__ */ React21.createElement("img", {
7155
7423
  src: image,
7156
- className: classNames(tw("w-[32px] h-[32px]"), "Aquarium-Avatar")
7424
+ className: classNames(tw("w-[32px] h-[32px]"), "Aquarium-Avatar"),
7425
+ alt: imageAlt
7157
7426
  });
7158
- var AvatarSkeleton = () => /* @__PURE__ */ React20.createElement(Skeleton, {
7427
+ var AvatarSkeleton = () => /* @__PURE__ */ React21.createElement(Skeleton, {
7159
7428
  height: 32,
7160
7429
  width: 32,
7161
7430
  className: tw("rounded-full")
@@ -7164,12 +7433,12 @@ Avatar.Skeleton = AvatarSkeleton;
7164
7433
  Avatar.Skeleton.displayName = "Avatar.Skeleton";
7165
7434
 
7166
7435
  // src/molecules/Badge/Badge.tsx
7167
- import React21 from "react";
7436
+ import React22 from "react";
7168
7437
  var createBadge = (type, displayName) => {
7169
7438
  const Component = (props) => {
7170
7439
  const _a = props, { kind = "filled", value, textClassname, dense = false } = _a, rest = __objRest(_a, ["kind", "value", "textClassname", "dense"]);
7171
7440
  const valueStr = value.toString();
7172
- return /* @__PURE__ */ React21.createElement("span", __spreadProps(__spreadValues({}, rest), {
7441
+ return /* @__PURE__ */ React22.createElement("span", __spreadProps(__spreadValues({}, rest), {
7173
7442
  className: classNames(
7174
7443
  tw("inline-block text-center", {
7175
7444
  "rounded-full": type === "default" || type === "chip",
@@ -7184,7 +7453,7 @@ var createBadge = (type, displayName) => {
7184
7453
  }),
7185
7454
  "Aquarium-Badge"
7186
7455
  )
7187
- }), /* @__PURE__ */ React21.createElement("span", {
7456
+ }), /* @__PURE__ */ React22.createElement("span", {
7188
7457
  className: classNames(
7189
7458
  textClassname,
7190
7459
  tw("inline-block", {
@@ -7195,7 +7464,7 @@ var createBadge = (type, displayName) => {
7195
7464
  }, valueStr));
7196
7465
  };
7197
7466
  Component.displayName = displayName;
7198
- Component.Skeleton = () => /* @__PURE__ */ React21.createElement(Skeleton, {
7467
+ Component.Skeleton = () => /* @__PURE__ */ React22.createElement(Skeleton, {
7199
7468
  height: 16,
7200
7469
  width: 16,
7201
7470
  display: "inline-block",
@@ -7205,15 +7474,15 @@ var createBadge = (type, displayName) => {
7205
7474
  return Component;
7206
7475
  };
7207
7476
  var NotificationBadge = ({ children, top = "-2px", right = "-2px" }) => {
7208
- return /* @__PURE__ */ React21.createElement("div", {
7477
+ return /* @__PURE__ */ React22.createElement("div", {
7209
7478
  className: tw("relative inline-flex")
7210
- }, children, /* @__PURE__ */ React21.createElement("span", {
7479
+ }, children, /* @__PURE__ */ React22.createElement("span", {
7211
7480
  style: { top, right },
7212
7481
  className: tw("absolute rounded-full w-[6px] h-[6px] bg-error-70")
7213
7482
  }));
7214
7483
  };
7215
7484
  var DotBadge = ({ dense = false }) => {
7216
- return /* @__PURE__ */ React21.createElement("span", {
7485
+ return /* @__PURE__ */ React22.createElement("span", {
7217
7486
  className: tw("rounded-full bg-current", {
7218
7487
  "w-[6px] h-[6px]": dense,
7219
7488
  "w-[9px] h-[9px]": !dense
@@ -7229,16 +7498,16 @@ var TabBadge = createBadge("tab", "TabBadge");
7229
7498
  var ChipBadge = createBadge("chip", "ChipBadge");
7230
7499
 
7231
7500
  // src/molecules/Banner/Banner.tsx
7232
- import React23 from "react";
7501
+ import React24 from "react";
7233
7502
  import omit2 from "lodash/omit";
7234
7503
 
7235
7504
  // src/atoms/Banner/Banner.tsx
7236
- import React22 from "react";
7505
+ import React23 from "react";
7237
7506
  var spacing = {
7238
7507
  spacingAroundBanner: "p-6",
7239
7508
  omitSpacingAroundBanner: "-6"
7240
7509
  };
7241
- var Banner = (_a) => {
7510
+ var Banner3 = (_a) => {
7242
7511
  var _b = _a, {
7243
7512
  children,
7244
7513
  className,
@@ -7250,7 +7519,7 @@ var Banner = (_a) => {
7250
7519
  "layout",
7251
7520
  "variant"
7252
7521
  ]);
7253
- return /* @__PURE__ */ React22.createElement("div", __spreadProps(__spreadValues({}, rest), {
7522
+ return /* @__PURE__ */ React23.createElement("div", __spreadProps(__spreadValues({}, rest), {
7254
7523
  className: classNames(
7255
7524
  className,
7256
7525
  tw(`rounded flex justify-between gap-7 flex-nowrap ${spacing.spacingAroundBanner}`, {
@@ -7261,9 +7530,9 @@ var Banner = (_a) => {
7261
7530
  )
7262
7531
  }), children);
7263
7532
  };
7264
- Banner.Title = (_a) => {
7533
+ Banner3.Title = (_a) => {
7265
7534
  var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7266
- return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7535
+ return /* @__PURE__ */ React23.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7267
7536
  variant: "subheading",
7268
7537
  color: "grey-100",
7269
7538
  className: classNames(
@@ -7274,16 +7543,16 @@ Banner.Title = (_a) => {
7274
7543
  )
7275
7544
  }), children);
7276
7545
  };
7277
- Banner.Description = (_a) => {
7546
+ Banner3.Description = (_a) => {
7278
7547
  var _b = _a, { flexGrow, children, className } = _b, rest = __objRest(_b, ["flexGrow", "children", "className"]);
7279
- return /* @__PURE__ */ React22.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7548
+ return /* @__PURE__ */ React23.createElement(Typography, __spreadProps(__spreadValues({}, rest), {
7280
7549
  variant: "default",
7281
7550
  className: classNames(className, tw({ "flex-grow": flexGrow }))
7282
7551
  }), children);
7283
7552
  };
7284
- Banner.ContentContainer = (_a) => {
7553
+ Banner3.ContentContainer = (_a) => {
7285
7554
  var _b = _a, { layout, children, className } = _b, rest = __objRest(_b, ["layout", "children", "className"]);
7286
- return /* @__PURE__ */ React22.createElement("div", __spreadProps(__spreadValues({}, rest), {
7555
+ return /* @__PURE__ */ React23.createElement("div", __spreadProps(__spreadValues({}, rest), {
7287
7556
  className: classNames(
7288
7557
  className,
7289
7558
  tw("flex w-full", {
@@ -7293,24 +7562,24 @@ Banner.ContentContainer = (_a) => {
7293
7562
  )
7294
7563
  }), children);
7295
7564
  };
7296
- Banner.ImageContainer = (_a) => {
7565
+ Banner3.ImageContainer = (_a) => {
7297
7566
  var _b = _a, { children } = _b, rest = __objRest(_b, ["children"]);
7298
- return /* @__PURE__ */ React22.createElement(Box, __spreadProps(__spreadValues({}, rest), {
7567
+ return /* @__PURE__ */ React23.createElement(Box, __spreadProps(__spreadValues({}, rest), {
7299
7568
  display: "inline-flex",
7300
7569
  alignItems: "center",
7301
7570
  margin: spacing.omitSpacingAroundBanner,
7302
7571
  marginLeft: "0"
7303
7572
  }), children);
7304
7573
  };
7305
- Banner.Actions = (_a) => {
7574
+ Banner3.Actions = (_a) => {
7306
7575
  var _b = _a, { children, className, layout } = _b, rest = __objRest(_b, ["children", "className", "layout"]);
7307
- return /* @__PURE__ */ React22.createElement("div", __spreadProps(__spreadValues({}, rest), {
7576
+ return /* @__PURE__ */ React23.createElement("div", __spreadProps(__spreadValues({}, rest), {
7308
7577
  className: classNames(className, tw("flex gap-4", { "mt-5": layout === "vertical" }))
7309
7578
  }), children);
7310
7579
  };
7311
- Banner.DismissContainer = (_a) => {
7580
+ Banner3.DismissContainer = (_a) => {
7312
7581
  var _b = _a, { layout, children, className } = _b, rest = __objRest(_b, ["layout", "children", "className"]);
7313
- return /* @__PURE__ */ React22.createElement("div", __spreadProps(__spreadValues({}, rest), {
7582
+ return /* @__PURE__ */ React23.createElement("div", __spreadProps(__spreadValues({}, rest), {
7314
7583
  className: classNames(
7315
7584
  className,
7316
7585
  tw({ "self-start": layout === "vertical", "self-center": layout === "horizontal" })
@@ -7320,40 +7589,41 @@ Banner.DismissContainer = (_a) => {
7320
7589
 
7321
7590
  // src/molecules/Banner/Banner.tsx
7322
7591
  var import_cross3 = __toESM(require_cross());
7323
- var BannerImageSkeleton = () => /* @__PURE__ */ React23.createElement(Skeleton, {
7592
+ var BannerImageSkeleton = () => /* @__PURE__ */ React24.createElement(Skeleton, {
7324
7593
  width: 225,
7325
7594
  className: tw("h-full")
7326
7595
  });
7327
7596
  var createBanner = (displayName, opts = {}) => {
7328
7597
  const BannerComponent = (props) => {
7598
+ var _a;
7329
7599
  const { title, description, layout: layoutProp, action, onDismiss, variant = "default", children } = props;
7330
7600
  const layout = opts.isOneLineBanner ? "horizontal" : layoutProp || "vertical";
7331
7601
  const isDismissable = onDismiss !== void 0;
7332
- return /* @__PURE__ */ React23.createElement(Banner, {
7602
+ return /* @__PURE__ */ React24.createElement(Banner3, {
7333
7603
  className: "Aquarium-Banner",
7334
7604
  layout,
7335
7605
  variant
7336
- }, /* @__PURE__ */ React23.createElement(Banner.ContentContainer, {
7606
+ }, /* @__PURE__ */ React24.createElement(Banner3.ContentContainer, {
7337
7607
  layout
7338
- }, /* @__PURE__ */ React23.createElement(Banner.Title, {
7608
+ }, /* @__PURE__ */ React24.createElement(Banner3.Title, {
7339
7609
  layout
7340
- }, title), /* @__PURE__ */ React23.createElement(Banner.Description, {
7610
+ }, title), /* @__PURE__ */ React24.createElement(Banner3.Description, {
7341
7611
  flexGrow: isDismissable ? false : true
7342
- }, children || description), action && /* @__PURE__ */ React23.createElement(Banner.Actions, {
7612
+ }, children || description), action && /* @__PURE__ */ React24.createElement(Banner3.Actions, {
7343
7613
  layout
7344
- }, !isLink(action) && /* @__PURE__ */ React23.createElement(Button.Ghost, __spreadValues({
7614
+ }, !isLink(action) && /* @__PURE__ */ React24.createElement(Button.Ghost, __spreadValues({
7345
7615
  dense: true
7346
- }, omit2(action, "text")), action.text), isLink(action) && /* @__PURE__ */ React23.createElement(Button.ExternalLink, __spreadValues({
7616
+ }, omit2(action, "text")), action.text), isLink(action) && /* @__PURE__ */ React24.createElement(Button.ExternalLink, __spreadValues({
7347
7617
  dense: true,
7348
7618
  kind: "ghost"
7349
- }, omit2(action, "text")), action.text))), (props.layout === "vertical" || props.layout === void 0) && props.image !== void 0 && /* @__PURE__ */ React23.createElement(Banner.ImageContainer, null, props.image ? /* @__PURE__ */ React23.createElement("img", {
7619
+ }, omit2(action, "text")), action.text))), (props.layout === "vertical" || props.layout === void 0) && props.image !== void 0 && /* @__PURE__ */ React24.createElement(Banner3.ImageContainer, null, props.image ? /* @__PURE__ */ React24.createElement("img", {
7350
7620
  src: props.image,
7351
- alt: props.imageAlt,
7621
+ alt: (_a = props.imageAlt) != null ? _a : "",
7352
7622
  className: tw("bg-cover object-cover", { "w-full": !props.imageWidth }),
7353
7623
  style: { width: props.imageWidth, height: props.imageHeight }
7354
- }) : /* @__PURE__ */ React23.createElement(BannerImageSkeleton, null)), isDismissable && /* @__PURE__ */ React23.createElement(Banner.DismissContainer, {
7624
+ }) : /* @__PURE__ */ React24.createElement(BannerImageSkeleton, null)), isDismissable && /* @__PURE__ */ React24.createElement(Banner3.DismissContainer, {
7355
7625
  layout
7356
- }, /* @__PURE__ */ React23.createElement(Button.Icon, {
7626
+ }, /* @__PURE__ */ React24.createElement(Button.Icon, {
7357
7627
  type: "button",
7358
7628
  tooltip: "Dismiss",
7359
7629
  icon: import_cross3.default,
@@ -7363,36 +7633,36 @@ var createBanner = (displayName, opts = {}) => {
7363
7633
  BannerComponent.displayName = displayName;
7364
7634
  return BannerComponent;
7365
7635
  };
7366
- var Banner2 = createBanner("Banner");
7636
+ var Banner4 = createBanner("Banner");
7367
7637
  var OneLineBannerBase = createBanner("OneLineBanner", {
7368
7638
  isOneLineBanner: true
7369
7639
  });
7370
7640
  var OneLineBanner = OneLineBannerBase;
7371
7641
 
7372
7642
  // src/molecules/Breadcrumbs/Breadcrumbs.tsx
7373
- import React24 from "react";
7374
- import classNames3 from "classnames";
7643
+ import React25 from "react";
7644
+ import classNames4 from "classnames";
7375
7645
  var import_slash2 = __toESM(require_slash());
7376
7646
  var Breadcrumbs = (props) => {
7377
7647
  const { children, className } = props;
7378
- const crumbs = React24.Children.toArray(children).filter(
7648
+ const crumbs = React25.Children.toArray(children).filter(
7379
7649
  (c) => Boolean(c)
7380
7650
  );
7381
- return /* @__PURE__ */ React24.createElement("nav", {
7382
- className: classNames3("Aquarium-Breadcrumbs", className),
7651
+ return /* @__PURE__ */ React25.createElement("nav", {
7652
+ className: classNames4("Aquarium-Breadcrumbs", className),
7383
7653
  "aria-label": "Breadcrumbs"
7384
- }, /* @__PURE__ */ React24.createElement("ol", {
7654
+ }, /* @__PURE__ */ React25.createElement("ol", {
7385
7655
  className: tw("flex flex-row flex-nowrap items-center typography-caption")
7386
7656
  }, crumbs.map((crumb, index) => {
7387
7657
  const isLast = index === crumbs.length - 1;
7388
- return /* @__PURE__ */ React24.createElement("li", {
7658
+ return /* @__PURE__ */ React25.createElement("li", {
7389
7659
  key: index,
7390
7660
  className: tw("flex flex-row items-center")
7391
- }, !!index && /* @__PURE__ */ React24.createElement(Icon, {
7661
+ }, !!index && /* @__PURE__ */ React25.createElement(Icon, {
7392
7662
  "aria-hidden": true,
7393
7663
  className: tw("mx-2 text-grey-30"),
7394
7664
  icon: import_slash2.default
7395
- }), !isLast && crumb, isLast && /* @__PURE__ */ React24.createElement(ActiveCrumb, {
7665
+ }), !isLast && crumb, isLast && /* @__PURE__ */ React25.createElement(ActiveCrumb, {
7396
7666
  "aria-disabled": true,
7397
7667
  "aria-current": "page",
7398
7668
  icon: crumb.props.icon
@@ -7400,20 +7670,20 @@ var Breadcrumbs = (props) => {
7400
7670
  })));
7401
7671
  };
7402
7672
  var asCrumb = (Component, displayName, options = { isActive: false }) => {
7403
- const Crumb2 = React24.forwardRef((_a, ref) => {
7673
+ const Crumb2 = React25.forwardRef((_a, ref) => {
7404
7674
  var _b = _a, { icon, children } = _b, rest = __objRest(_b, ["icon", "children"]);
7405
- return /* @__PURE__ */ React24.createElement(Component, __spreadProps(__spreadValues({
7675
+ return /* @__PURE__ */ React25.createElement(Component, __spreadProps(__spreadValues({
7406
7676
  ref
7407
7677
  }, rest), {
7408
7678
  role: "link"
7409
- }), /* @__PURE__ */ React24.createElement("span", {
7410
- className: classNames3(
7679
+ }), /* @__PURE__ */ React25.createElement("span", {
7680
+ className: classNames4(
7411
7681
  tw("flex flex-row flex-nowrap items-center gap-x-3 whitespace-nowrap", {
7412
7682
  "text-primary-80 hover:text-primary-70 no-underline hover:underline": !options.isActive,
7413
7683
  "text-grey-90": options.isActive
7414
7684
  })
7415
7685
  )
7416
- }, icon && /* @__PURE__ */ React24.createElement(Icon, {
7686
+ }, icon && /* @__PURE__ */ React25.createElement(Icon, {
7417
7687
  icon
7418
7688
  }), children));
7419
7689
  });
@@ -7429,16 +7699,16 @@ import React32, { useRef as useRef3 } from "react";
7429
7699
  import { useButton as useButton2 } from "@react-aria/button";
7430
7700
 
7431
7701
  // src/molecules/Chip/Chip.tsx
7432
- import React26 from "react";
7433
- import classNames4 from "classnames";
7702
+ import React27 from "react";
7703
+ import classNames5 from "classnames";
7434
7704
  import isNumber2 from "lodash/isNumber";
7435
7705
 
7436
7706
  // src/atoms/Chip/Chip.tsx
7437
- import React25 from "react";
7438
- var Container = React25.forwardRef(
7707
+ import React26 from "react";
7708
+ var Container = React26.forwardRef(
7439
7709
  (_a, ref) => {
7440
7710
  var _b = _a, { dense = false, className, children } = _b, rest = __objRest(_b, ["dense", "className", "children"]);
7441
- return /* @__PURE__ */ React25.createElement("span", __spreadValues({
7711
+ return /* @__PURE__ */ React26.createElement("span", __spreadValues({
7442
7712
  ref,
7443
7713
  className: classNames(
7444
7714
  tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
@@ -7492,184 +7762,68 @@ var Chip2 = (_a) => {
7492
7762
  "badge",
7493
7763
  "onClose"
7494
7764
  ]);
7495
- return /* @__PURE__ */ React26.createElement(Chip.Container, __spreadValues({
7765
+ return /* @__PURE__ */ React27.createElement(Chip.Container, __spreadValues({
7496
7766
  dense,
7497
- className: classNames4(
7767
+ className: classNames5(
7498
7768
  "Aquarium-Chip",
7499
7769
  tw({
7500
7770
  "bg-grey-0 text-grey-70": !locked,
7501
7771
  "bg-grey-5 text-grey-40": locked
7502
7772
  })
7503
7773
  )
7504
- }, rest), icon && /* @__PURE__ */ React26.createElement(InlineIcon, {
7774
+ }, rest), icon && /* @__PURE__ */ React27.createElement(InlineIcon, {
7505
7775
  icon
7506
- }), text, isNumber2(badge) && /* @__PURE__ */ React26.createElement(ChipBadge, {
7776
+ }), text, isNumber2(badge) && /* @__PURE__ */ React27.createElement(ChipBadge, {
7507
7777
  dense,
7508
7778
  value: badge,
7509
7779
  textClassname: tw("text-grey-50")
7510
- }), onClose && /* @__PURE__ */ React26.createElement(InlineIcon, {
7780
+ }), onClose && /* @__PURE__ */ React27.createElement(InlineIcon, {
7511
7781
  role: "button",
7512
7782
  "aria-hidden": false,
7513
7783
  icon: import_cross4.default,
7514
7784
  className: tw({ "cursor-pointer": onClose !== void 0 }),
7515
7785
  onClick: () => onClose == null ? void 0 : onClose()
7516
- }), locked && /* @__PURE__ */ React26.createElement(InlineIcon, {
7786
+ }), locked && /* @__PURE__ */ React27.createElement(InlineIcon, {
7517
7787
  icon: import_lock2.default
7518
7788
  }));
7519
7789
  };
7520
- var ChipSkeleton = ({ dense = false, width = dense ? 34 : 56 }) => /* @__PURE__ */ React26.createElement(Skeleton, {
7790
+ var ChipSkeleton = ({ dense = false, width = dense ? 34 : 56 }) => /* @__PURE__ */ React27.createElement(Skeleton, {
7521
7791
  width,
7522
7792
  height: dense ? 20 : 28
7523
7793
  });
7524
7794
  Chip2.Skeleton = ChipSkeleton;
7525
7795
  Chip2.Skeleton.displayName = "Chip.Skeleton";
7526
- var StatusChip = React26.forwardRef(
7796
+ var StatusChip = React27.forwardRef(
7527
7797
  (_a, ref) => {
7528
7798
  var _b = _a, { icon: chipIcon, UNSAFE_icon, text, dense = false, status, badge } = _b, rest = __objRest(_b, ["icon", "UNSAFE_icon", "text", "dense", "status", "badge"]);
7529
7799
  const icon = chipIcon || UNSAFE_icon;
7530
- return /* @__PURE__ */ React26.createElement(Chip.Container, __spreadProps(__spreadValues({
7800
+ return /* @__PURE__ */ React27.createElement(Chip.Container, __spreadProps(__spreadValues({
7531
7801
  ref,
7532
7802
  role: "status",
7533
7803
  "aria-label": text ? text.toString() : void 0,
7534
7804
  dense
7535
7805
  }, rest), {
7536
7806
  className: getStatusClassNames(status)
7537
- }), badge === true && /* @__PURE__ */ React26.createElement(Badge.Dot, {
7807
+ }), badge === true && /* @__PURE__ */ React27.createElement(Badge.Dot, {
7538
7808
  dense
7539
- }), icon && /* @__PURE__ */ React26.createElement(InlineIcon, {
7809
+ }), icon && /* @__PURE__ */ React27.createElement(InlineIcon, {
7540
7810
  icon
7541
- }), text, badge && typeof badge === "number" && /* @__PURE__ */ React26.createElement(Badge, {
7811
+ }), text, badge && typeof badge === "number" && /* @__PURE__ */ React27.createElement(Badge, {
7542
7812
  dense,
7543
7813
  value: badge
7544
7814
  }));
7545
7815
  }
7546
7816
  );
7547
- var ChipContainer = ({ dense, children }) => /* @__PURE__ */ React26.createElement("div", {
7817
+ var ChipContainer = ({ dense, children }) => /* @__PURE__ */ React27.createElement("div", {
7548
7818
  className: tw("flex items-center", {
7549
7819
  "gap-x-3": !dense,
7550
7820
  "gap-x-2": Boolean(dense)
7551
7821
  })
7552
- }, React26.Children.map(
7822
+ }, React27.Children.map(
7553
7823
  children,
7554
- (child) => isComponentType(child, Chip2) || isComponentType(child, StatusChip) || isComponentType(child, ChipSkeleton) ? React26.cloneElement(child, { dense }) : void 0
7824
+ (child) => isComponentType(child, Chip2) || isComponentType(child, StatusChip) || isComponentType(child, ChipSkeleton) ? React27.cloneElement(child, { dense }) : void 0
7555
7825
  ));
7556
7826
 
7557
- // src/molecules/Typography/Typography.tsx
7558
- import React27 from "react";
7559
- var Typography2 = (props) => /* @__PURE__ */ React27.createElement(Typography, __spreadValues({}, props));
7560
- Typography2.LargeHeading = (_a) => {
7561
- var _b = _a, { htmlTag = "h1" } = _b, props = __objRest(_b, ["htmlTag"]);
7562
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7563
- htmlTag,
7564
- variant: "large-heading"
7565
- }));
7566
- };
7567
- Typography2.Heading = (_a) => {
7568
- var _b = _a, { htmlTag = "h1", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7569
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7570
- htmlTag,
7571
- variant: "heading"
7572
- }));
7573
- };
7574
- Typography2.Subheading = (_a) => {
7575
- var _b = _a, { htmlTag = "h2", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7576
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7577
- htmlTag,
7578
- variant: "subheading"
7579
- }));
7580
- };
7581
- Typography2.LargeStrong = (_a) => {
7582
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7583
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7584
- htmlTag,
7585
- variant: "large-strong"
7586
- }));
7587
- };
7588
- Typography2.Large = (_a) => {
7589
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7590
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7591
- htmlTag,
7592
- variant: "large"
7593
- }));
7594
- };
7595
- Typography2.DefaultStrong = (_a) => {
7596
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7597
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7598
- htmlTag,
7599
- variant: "default-strong"
7600
- }));
7601
- };
7602
- Typography2.Default = (_a) => {
7603
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7604
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7605
- htmlTag,
7606
- variant: "default"
7607
- }));
7608
- };
7609
- Typography2.Paragraph = (_a) => {
7610
- var _b = _a, { htmlTag = "p", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7611
- return /* @__PURE__ */ React27.createElement(Typography2.Default, __spreadProps(__spreadValues({}, props), {
7612
- htmlTag
7613
- }));
7614
- };
7615
- Typography2.P = Typography2.Paragraph;
7616
- Typography2.SmallStrong = (_a) => {
7617
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7618
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7619
- htmlTag,
7620
- variant: "small-strong"
7621
- }));
7622
- };
7623
- Typography2.Small = (_a) => {
7624
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7625
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7626
- htmlTag,
7627
- variant: "small"
7628
- }));
7629
- };
7630
- Typography2.Caption = (_a) => {
7631
- var _b = _a, { htmlTag = "div", fontWeight } = _b, props = __objRest(_b, ["htmlTag", "fontWeight"]);
7632
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7633
- htmlTag,
7634
- variant: "caption"
7635
- }));
7636
- };
7637
- Typography2.LargeText = (_a) => {
7638
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7639
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7640
- htmlTag,
7641
- variant: "large-strong"
7642
- }));
7643
- };
7644
- Typography2.MediumText = (_a) => {
7645
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7646
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7647
- htmlTag,
7648
- variant: "default-strong"
7649
- }));
7650
- };
7651
- Typography2.Text = (_a) => {
7652
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7653
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7654
- htmlTag,
7655
- variant: "default"
7656
- }));
7657
- };
7658
- Typography2.SmallText = (_a) => {
7659
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7660
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7661
- htmlTag,
7662
- variant: "small"
7663
- }));
7664
- };
7665
- Typography2.SmallTextBold = (_a) => {
7666
- var _b = _a, { htmlTag = "div" } = _b, props = __objRest(_b, ["htmlTag"]);
7667
- return /* @__PURE__ */ React27.createElement(Typography, __spreadProps(__spreadValues({}, props), {
7668
- htmlTag,
7669
- variant: "small-strong"
7670
- }));
7671
- };
7672
-
7673
7827
  // src/atoms/Card/Card.tsx
7674
7828
  import React29 from "react";
7675
7829
  import isNumber3 from "lodash/isNumber";
@@ -7891,7 +8045,7 @@ var Card2 = ({
7891
8045
  chips = [],
7892
8046
  icons = [],
7893
8047
  image,
7894
- imageAlt,
8048
+ imageAlt = "",
7895
8049
  imageHeight,
7896
8050
  color,
7897
8051
  action,
@@ -7997,7 +8151,7 @@ CardImage.Skeleton = CardImageSkeleton;
7997
8151
 
7998
8152
  // src/molecules/Carousel/Carousel.tsx
7999
8153
  import React33, { useEffect as useEffect4, useLayoutEffect, useRef as useRef4, useState as useState2 } from "react";
8000
- import classNames5 from "classnames";
8154
+ import classNames6 from "classnames";
8001
8155
  var import_chevronLeft2 = __toESM(require_chevronLeft());
8002
8156
  var import_chevronRight2 = __toESM(require_chevronRight());
8003
8157
  var Carousel = ({
@@ -8059,7 +8213,7 @@ var Carousel = ({
8059
8213
  }
8060
8214
  };
8061
8215
  return items.length > 0 ? /* @__PURE__ */ React33.createElement("div", {
8062
- className: classNames5("Aquarium-Carousel", tw("w-full flex flex-col")),
8216
+ className: classNames6("Aquarium-Carousel", tw("w-full flex flex-col")),
8063
8217
  ref: containerRef
8064
8218
  }, containerRef !== null && /* @__PURE__ */ React33.createElement("ul", {
8065
8219
  ref: scrollbarContainerRef,
@@ -8256,7 +8410,7 @@ Checkbox2.Skeleton.displayName = "Checkbox.Skeleton";
8256
8410
 
8257
8411
  // src/molecules/CheckboxGroup/CheckboxGroup.tsx
8258
8412
  import React43, { useState as useState3 } from "react";
8259
- import { useId as useId2 } from "@react-aria/utils";
8413
+ import { useId as useId3 } from "@react-aria/utils";
8260
8414
 
8261
8415
  // src/atoms/InputGroup/InputGroup.tsx
8262
8416
  import React38 from "react";
@@ -8417,7 +8571,7 @@ var FormControl = ({ className, inline, children }) => {
8417
8571
 
8418
8572
  // src/utils/form/HelperText/HelperText.tsx
8419
8573
  import React41 from "react";
8420
- import classNames6 from "classnames";
8574
+ import classNames7 from "classnames";
8421
8575
  import isNumber4 from "lodash/isNumber";
8422
8576
 
8423
8577
  // src/utils/form/CharCounter/CharCounter.tsx
@@ -8473,7 +8627,7 @@ var HelperText = ({
8473
8627
  })));
8474
8628
  };
8475
8629
  var Skeleton2 = ({ className, children }) => /* @__PURE__ */ React41.createElement("div", {
8476
- className: classNames6(className, "h-[25px]")
8630
+ className: classNames7(className, "h-[25px]")
8477
8631
  }, children);
8478
8632
  HelperText.Skeleton = Skeleton2;
8479
8633
  HelperText.Skeleton.displayName = "HelperText.Skeleton";
@@ -8636,7 +8790,7 @@ var CheckboxGroup = (_a) => {
8636
8790
  if (value !== void 0 && value !== selectedItems) {
8637
8791
  setSelectedItems(value);
8638
8792
  }
8639
- const errorMessageId = useId2();
8793
+ const errorMessageId = useId3();
8640
8794
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
8641
8795
  const labelControlProps = getLabelControlProps(props);
8642
8796
  const handleChange = (e) => {
@@ -8713,7 +8867,7 @@ var ChoiceChip = (_a) => {
8713
8867
  // src/molecules/Combobox/Combobox.tsx
8714
8868
  import React47, { useEffect as useEffect6, useRef as useRef5, useState as useState5 } from "react";
8715
8869
  import { ariaHideOutside } from "@react-aria/overlays";
8716
- import { useId as useId3 } from "@react-aria/utils";
8870
+ import { useId as useId4 } from "@react-aria/utils";
8717
8871
  import { useCombobox } from "downshift";
8718
8872
  import omit4 from "lodash/omit";
8719
8873
  import { matchSorter } from "match-sorter";
@@ -8979,9 +9133,9 @@ var Combobox = (_a) => {
8979
9133
  "emptyState"
8980
9134
  ]);
8981
9135
  var _a2;
8982
- const defaultId = useId3();
9136
+ const defaultId = useId4();
8983
9137
  const id = (_a2 = props.id) != null ? _a2 : defaultId;
8984
- const errorMessageId = useId3();
9138
+ const errorMessageId = useId4();
8985
9139
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
8986
9140
  const labelControlProps = getLabelControlProps(props);
8987
9141
  const baseProps = omit4(props, Object.keys(labelControlProps));
@@ -9039,7 +9193,7 @@ import omit6 from "lodash/omit";
9039
9193
 
9040
9194
  // src/molecules/Input/Input.tsx
9041
9195
  import React50, { forwardRef, useEffect as useEffect7, useImperativeHandle, useState as useState6 } from "react";
9042
- import { useId as useId4 } from "@react-aria/utils";
9196
+ import { useId as useId5 } from "@react-aria/utils";
9043
9197
  import omit5 from "lodash/omit";
9044
9198
  import toString from "lodash/toString";
9045
9199
 
@@ -9160,9 +9314,9 @@ var Input2 = React50.forwardRef((_a, ref) => {
9160
9314
  setValue(controlledValue);
9161
9315
  }
9162
9316
  }, [controlledValue]);
9163
- const defaultId = useId4();
9317
+ const defaultId = useId5();
9164
9318
  const id = (_c = props.id) != null ? _c : defaultId;
9165
- const errorMessageId = useId4();
9319
+ const errorMessageId = useId5();
9166
9320
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
9167
9321
  const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
9168
9322
  const baseProps = omit5(props, Object.keys(labelControlProps));
@@ -9333,7 +9487,9 @@ var DropdownMenu2 = (_a) => {
9333
9487
  return /* @__PURE__ */ React52.createElement("div", null, /* @__PURE__ */ React52.createElement(PressResponder, __spreadValues({
9334
9488
  ref: triggerRef,
9335
9489
  onPress: () => state.toggle()
9336
- }, omit6(menuTriggerProps, "id")), /* @__PURE__ */ React52.createElement(TriggerWrapper, null, trigger.props.children)), state.isOpen && /* @__PURE__ */ React52.createElement(PopoverOverlay, {
9490
+ }, omit6(menuTriggerProps, ["id", "aria-expanded"])), /* @__PURE__ */ React52.createElement(TriggerWrapper, {
9491
+ "aria-expanded": menuTriggerProps["aria-expanded"]
9492
+ }, trigger.props.children)), state.isOpen && /* @__PURE__ */ React52.createElement(PopoverOverlay, {
9337
9493
  className: "Aquarium-DropdownMenu",
9338
9494
  triggerRef,
9339
9495
  state,
@@ -9504,7 +9660,7 @@ import clamp from "lodash/clamp";
9504
9660
 
9505
9661
  // src/molecules/Select/Select.tsx
9506
9662
  import React53, { useRef as useRef6, useState as useState7 } from "react";
9507
- import { useId as useId5 } from "@react-aria/utils";
9663
+ import { useId as useId6 } from "@react-aria/utils";
9508
9664
  import { useSelect } from "downshift";
9509
9665
  import defaults from "lodash/defaults";
9510
9666
  import isArray from "lodash/isArray";
@@ -9702,9 +9858,9 @@ var Select2 = (_a) => {
9702
9858
  "options"
9703
9859
  ]);
9704
9860
  var _a2;
9705
- const defaultId = useId5();
9861
+ const defaultId = useId6();
9706
9862
  const id = (_a2 = props.id) != null ? _a2 : defaultId;
9707
- const errorMessageId = useId5();
9863
+ const errorMessageId = useId6();
9708
9864
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
9709
9865
  const labelProps = getLabelControlProps(props);
9710
9866
  const baseProps = omit7(props, Object.keys(labelProps));
@@ -9772,6 +9928,7 @@ var Pagination = ({
9772
9928
  }, "Items per page "), /* @__PURE__ */ React54.createElement("div", {
9773
9929
  className: tw("max-w-[70px]")
9774
9930
  }, /* @__PURE__ */ React54.createElement(SelectBase, {
9931
+ "aria-label": "Items per page",
9775
9932
  options: pageSizes.map((size) => size.toString()),
9776
9933
  value: pageSize.toString(),
9777
9934
  onChange: (size) => {
@@ -9802,6 +9959,7 @@ var Pagination = ({
9802
9959
  }, /* @__PURE__ */ React54.createElement(Typography2.Small, {
9803
9960
  color: "grey-60"
9804
9961
  }, "Page")), /* @__PURE__ */ React54.createElement(InputBase, {
9962
+ "aria-label": "Page",
9805
9963
  className: classNames(tw("text-center max-w-[40px]"), "no-arrows"),
9806
9964
  type: "number",
9807
9965
  min: 1,
@@ -9901,7 +10059,8 @@ var Template = ({
9901
10059
  columnGap,
9902
10060
  rowGap,
9903
10061
  fullHeight,
9904
- className
10062
+ className,
10063
+ role
9905
10064
  }) => {
9906
10065
  const gridTemplateColumns = typeof columns === "number" ? "1fr ".repeat(columns) : columns.map((column) => typeof column === "number" ? `${column}px` : column === "auto" ? column : `${column}fr`).join(" ");
9907
10066
  const styles = useStyle({
@@ -9917,6 +10076,7 @@ var Template = ({
9917
10076
  columnGap
9918
10077
  });
9919
10078
  return /* @__PURE__ */ React56.createElement("div", {
10079
+ role,
9920
10080
  className,
9921
10081
  style: __spreadValues({}, styles)
9922
10082
  }, children);
@@ -10063,11 +10223,14 @@ var TableSortCell = (_a) => {
10063
10223
  className: getSortCellIconClassNames(direction === "ascending")
10064
10224
  }))));
10065
10225
  };
10226
+ var Caption = ({ children }) => /* @__PURE__ */ React58.createElement(Typography2.Caption, {
10227
+ htmlTag: "caption"
10228
+ }, children);
10066
10229
  var Item4 = ({ image, imageAlt, imageSize = 35, title, caption }) => /* @__PURE__ */ React58.createElement("div", {
10067
10230
  className: tw("flex gap-4 items-center")
10068
10231
  }, image && /* @__PURE__ */ React58.createElement("img", {
10069
10232
  src: image,
10070
- alt: imageAlt,
10233
+ alt: imageAlt != null ? imageAlt : "",
10071
10234
  style: { width: imageSize, height: imageSize }
10072
10235
  }), /* @__PURE__ */ React58.createElement("div", null, title, caption && /* @__PURE__ */ React58.createElement(Typography2.Caption, null, caption)));
10073
10236
  Table.Head = React58.memo(TableHead);
@@ -10076,6 +10239,7 @@ Table.Row = React58.memo(TableRow);
10076
10239
  Table.Cell = React58.memo(TableCell);
10077
10240
  Table.SortCell = React58.memo(TableSortCell);
10078
10241
  Table.SelectCell = React58.memo(TableSelectCell);
10242
+ Table.Caption = Caption;
10079
10243
 
10080
10244
  // src/atoms/DataList/DataList.tsx
10081
10245
  var import_chevronDown5 = __toESM(require_chevronDown());
@@ -10101,8 +10265,9 @@ var HeadCell = (_a) => {
10101
10265
  "align",
10102
10266
  "stickyColumn"
10103
10267
  ]);
10104
- return /* @__PURE__ */ React59.createElement("div", __spreadProps(__spreadValues({}, rest), {
10105
- role: "cell",
10268
+ return /* @__PURE__ */ React59.createElement("div", __spreadProps(__spreadValues({
10269
+ role: "cell"
10270
+ }, rest), {
10106
10271
  className: classNames(
10107
10272
  cellClassNames,
10108
10273
  getHeadCellClassNames(sticky, stickyColumn),
@@ -10158,7 +10323,7 @@ var SortCell = (_a) => {
10158
10323
  var _b = _a, { children, direction = "none", onClick, sticky } = _b, rest = __objRest(_b, ["children", "direction", "onClick", "sticky"]);
10159
10324
  return /* @__PURE__ */ React59.createElement(HeadCell, __spreadProps(__spreadValues({}, rest), {
10160
10325
  "aria-sort": direction,
10161
- role: "cell",
10326
+ role: "columnheader",
10162
10327
  sticky
10163
10328
  }), /* @__PURE__ */ React59.createElement("span", {
10164
10329
  className: getSortCellButtonClassNames(rest.align),
@@ -10245,7 +10410,7 @@ var import_more2 = __toESM(require_more());
10245
10410
  // src/molecules/Accordion/Accordion.tsx
10246
10411
  import React63, { createContext as createContext2, useContext as useContext3, useState as useState9 } from "react";
10247
10412
  import { Icon as Icon2 } from "@iconify/react";
10248
- import { useId as useId6 } from "@react-aria/utils";
10413
+ import { useId as useId7 } from "@react-aria/utils";
10249
10414
  import { animated as animated3, useSpring as useSpring2 } from "@react-spring/web";
10250
10415
  import isUndefined8 from "lodash/isUndefined";
10251
10416
 
@@ -10384,10 +10549,12 @@ var AccordionPanel = (_a) => {
10384
10549
  duration: 150
10385
10550
  }
10386
10551
  });
10387
- return /* @__PURE__ */ React63.createElement(animated3.div, __spreadProps(__spreadValues({}, rest), {
10388
- role: "region",
10552
+ return /* @__PURE__ */ React63.createElement(animated3.div, __spreadProps(__spreadValues({
10553
+ role: "region"
10554
+ }, rest), {
10389
10555
  id: `${id}-content`,
10390
10556
  "aria-labelledby": `${id}-summary`,
10557
+ "aria-hidden": !isOpen ? "true" : void 0,
10391
10558
  style
10392
10559
  }), /* @__PURE__ */ React63.createElement("div", {
10393
10560
  ref
@@ -10412,7 +10579,7 @@ var AccordionSummary = (_a) => {
10412
10579
  };
10413
10580
  var AccordionContainer = (_a) => {
10414
10581
  var _b = _a, { children, panelId } = _b, rest = __objRest(_b, ["children", "panelId"]);
10415
- const generatedId = useId6();
10582
+ const generatedId = useId7();
10416
10583
  return /* @__PURE__ */ React63.createElement(PanelContext.Provider, {
10417
10584
  value: panelId != null ? panelId : generatedId
10418
10585
  }, /* @__PURE__ */ React63.createElement("div", __spreadValues({}, rest), children, /* @__PURE__ */ React63.createElement(Divider2, null)));
@@ -10434,13 +10601,14 @@ import React64 from "react";
10434
10601
  var DataListSkeleton = ({ columns = ["1", "2", "2", 52], rows = 5 }) => {
10435
10602
  const columnsAmount = [...Array(typeof columns === "number" ? columns : columns.length).keys()];
10436
10603
  return /* @__PURE__ */ React64.createElement(Template, {
10604
+ role: "table",
10437
10605
  columns
10438
- }, columnsAmount.map((_, index) => /* @__PURE__ */ React64.createElement(DataList.HeadCell, {
10606
+ }, /* @__PURE__ */ React64.createElement(DataList.Row, null, columnsAmount.map((_, index) => /* @__PURE__ */ React64.createElement(DataList.HeadCell, {
10439
10607
  key: index
10440
10608
  }, /* @__PURE__ */ React64.createElement(Skeleton, {
10441
10609
  width: "100%",
10442
10610
  height: 17.5
10443
- }))), /* @__PURE__ */ React64.createElement(List2, {
10611
+ })))), /* @__PURE__ */ React64.createElement(List2, {
10444
10612
  items: [...Array(rows).keys()],
10445
10613
  renderItem: (item) => /* @__PURE__ */ React64.createElement(DataList.Row, {
10446
10614
  key: item
@@ -10496,14 +10664,18 @@ var DataList2 = ({
10496
10664
  ]);
10497
10665
  const PaginationFooter = React65.useCallback(
10498
10666
  ({ children }) => /* @__PURE__ */ React65.createElement("div", {
10499
- style: { gridColumn: "1 / -1" }
10500
- }, children),
10667
+ style: { gridColumn: "1 / -1" },
10668
+ role: "row"
10669
+ }, /* @__PURE__ */ React65.createElement("div", {
10670
+ role: "cell"
10671
+ }, children)),
10501
10672
  []
10502
10673
  );
10503
10674
  return /* @__PURE__ */ React65.createElement(Template, {
10504
10675
  className: "Aquarium-DataList",
10505
- columns: templateColumns
10506
- }, isCollapsible && /* @__PURE__ */ React65.createElement(DataList.HeadCell, {
10676
+ columns: templateColumns,
10677
+ role: "table"
10678
+ }, /* @__PURE__ */ React65.createElement(DataList.Row, null, isCollapsible && /* @__PURE__ */ React65.createElement(DataList.HeadCell, {
10507
10679
  align: "left"
10508
10680
  }), columns.map((column) => {
10509
10681
  const content = column.headerTooltip ? /* @__PURE__ */ React65.createElement(Tooltip, {
@@ -10520,7 +10692,7 @@ var DataList2 = ({
10520
10692
  }), menu && /* @__PURE__ */ React65.createElement(DataList.HeadCell, {
10521
10693
  align: "right",
10522
10694
  "aria-label": menuAriaLabel
10523
- }, menuHeaderName), groups && groupKeys ? /* @__PURE__ */ React65.createElement(List2, {
10695
+ }, menuHeaderName)), groups && groupKeys ? /* @__PURE__ */ React65.createElement(List2, {
10524
10696
  items: sortGroupKeys(groupKeys),
10525
10697
  renderItem: (key) => {
10526
10698
  const groupContent = /* @__PURE__ */ React65.createElement(List2, {
@@ -10585,10 +10757,13 @@ var DataList2 = ({
10585
10757
  key: row.id,
10586
10758
  openPanelId: expandedGroupIds ? expandedGroupIds.find((id) => id === row.id) || null : void 0
10587
10759
  }, content, /* @__PURE__ */ React65.createElement(Accordion.Panel, {
10760
+ role: "row",
10588
10761
  panelId: row.id.toString(),
10589
10762
  className: tw("col-span-full bg-grey-0 border-b border-grey-10"),
10590
10763
  "aria-label": `row ${row.id.toString()} details`
10591
- }, details)) : content;
10764
+ }, /* @__PURE__ */ React65.createElement("div", {
10765
+ role: "cell"
10766
+ }, details))) : content;
10592
10767
  }
10593
10768
  }));
10594
10769
  };
@@ -10702,6 +10877,7 @@ Table2.Row = Table.Row;
10702
10877
  Table2.Cell = Table.Cell;
10703
10878
  Table2.SortCell = Table.SortCell;
10704
10879
  Table2.SelectCell = Table.SelectCell;
10880
+ Table2.Caption = Table.Caption;
10705
10881
 
10706
10882
  // src/molecules/DataTable/DataTable.tsx
10707
10883
  var import_more3 = __toESM(require_more());
@@ -10856,7 +11032,7 @@ DataTable.Skeleton = DataListSkeleton;
10856
11032
  import React70 from "react";
10857
11033
  import { useDialog } from "@react-aria/dialog";
10858
11034
  import { Overlay as Overlay2, useModalOverlay } from "@react-aria/overlays";
10859
- import { useId as useId7 } from "@react-aria/utils";
11035
+ import { useId as useId8 } from "@react-aria/utils";
10860
11036
  import { useOverlayTriggerState as useOverlayTriggerState2 } from "@react-stately/overlays";
10861
11037
  import omit8 from "lodash/omit";
10862
11038
 
@@ -11005,8 +11181,8 @@ var DialogWrapper = ({
11005
11181
  secondaryAction
11006
11182
  }) => {
11007
11183
  const ref = React70.useRef(null);
11008
- const labelledBy = useId7();
11009
- const describedBy = useId7();
11184
+ const labelledBy = useId8();
11185
+ const describedBy = useId8();
11010
11186
  const { dialogProps } = useDialog(
11011
11187
  { "role": "alertdialog", "aria-labelledby": labelledBy, "aria-describedby": describedBy },
11012
11188
  ref
@@ -11043,7 +11219,8 @@ import { PressResponder as PressResponder2, usePress as usePress2 } from "@react
11043
11219
  import { useOverlayTrigger } from "@react-aria/overlays";
11044
11220
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
11045
11221
  import { useOverlayTriggerState as useOverlayTriggerState3 } from "@react-stately/overlays";
11046
- import classNames7 from "classnames";
11222
+ import classNames8 from "classnames";
11223
+ import omit9 from "lodash/omit";
11047
11224
 
11048
11225
  // src/molecules/Popover/Dialog.tsx
11049
11226
  import React71 from "react";
@@ -11093,9 +11270,10 @@ var Popover2 = (props) => {
11093
11270
  if (isComponentType(child, Popover2.Trigger)) {
11094
11271
  return /* @__PURE__ */ React72.createElement(PressResponder2, __spreadValues({
11095
11272
  ref: triggerRef
11096
- }, triggerProps), /* @__PURE__ */ React72.createElement(PopoverTriggerWrapper, {
11273
+ }, omit9(triggerProps, "aria-expanded")), /* @__PURE__ */ React72.createElement(PopoverTriggerWrapper, {
11097
11274
  "data-testid": props["data-testid"],
11098
- "aria-controls": id
11275
+ "aria-controls": id,
11276
+ "aria-expanded": triggerProps["aria-expanded"]
11099
11277
  }, child.props.children));
11100
11278
  }
11101
11279
  if (isComponentType(child, Popover2.Panel)) {
@@ -11106,7 +11284,7 @@ var Popover2 = (props) => {
11106
11284
  isNonModal: !containFocus,
11107
11285
  autoFocus: !containFocus,
11108
11286
  isKeyboardDismissDisabled,
11109
- className: classNames7("Aquarium-Popover", child.props.className),
11287
+ className: classNames8("Aquarium-Popover", child.props.className),
11110
11288
  offset,
11111
11289
  crossOffset,
11112
11290
  shouldFlip
@@ -11465,7 +11643,7 @@ var LineClamp2 = ({
11465
11643
 
11466
11644
  // src/molecules/Link/Link.tsx
11467
11645
  import React79 from "react";
11468
- import classNames8 from "classnames";
11646
+ import classNames9 from "classnames";
11469
11647
 
11470
11648
  // src/atoms/Link/Link.tsx
11471
11649
  import React78 from "react";
@@ -11480,7 +11658,7 @@ var Link = (_a) => {
11480
11658
  var Link2 = (_a) => {
11481
11659
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
11482
11660
  return /* @__PURE__ */ React79.createElement(Link, __spreadValues({
11483
- className: classNames8("Aquarium-Link", className)
11661
+ className: classNames9("Aquarium-Link", className)
11484
11662
  }, props));
11485
11663
  };
11486
11664
 
@@ -11497,6 +11675,7 @@ var ListItem = ({ name, icon, active = false }) => {
11497
11675
  className: `px-4 py-2 rounded-full ${active ? "bg-grey-5" : "hover:bg-grey-0"}`
11498
11676
  }, /* @__PURE__ */ React80.createElement("img", {
11499
11677
  src: icon,
11678
+ alt: "",
11500
11679
  className: "inline mr-4",
11501
11680
  height: 28,
11502
11681
  width: 28
@@ -11507,10 +11686,10 @@ var ListItem = ({ name, icon, active = false }) => {
11507
11686
  import React82 from "react";
11508
11687
  import { useDialog as useDialog3 } from "@react-aria/dialog";
11509
11688
  import { Overlay as Overlay3, useModalOverlay as useModalOverlay2 } from "@react-aria/overlays";
11510
- import { useId as useId8 } from "@react-aria/utils";
11689
+ import { useId as useId9 } from "@react-aria/utils";
11511
11690
  import { useOverlayTriggerState as useOverlayTriggerState4 } from "@react-stately/overlays";
11512
11691
  import castArray from "lodash/castArray";
11513
- import omit9 from "lodash/omit";
11692
+ import omit10 from "lodash/omit";
11514
11693
 
11515
11694
  // src/molecules/Tabs/Tabs.tsx
11516
11695
  import React81, { useEffect as useEffect9, useLayoutEffect as useLayoutEffect2, useRef as useRef8, useState as useState10 } from "react";
@@ -11837,8 +12016,8 @@ var Modal2 = (_a) => {
11837
12016
  var ModalWrapper = React82.forwardRef(
11838
12017
  (_a, ref) => {
11839
12018
  var _b = _a, { title, subtitle, headerImage, primaryAction, secondaryActions, children, onClose } = _b, props = __objRest(_b, ["title", "subtitle", "headerImage", "primaryAction", "secondaryActions", "children", "onClose"]);
11840
- const labelledBy = useId8();
11841
- const describedBy = useId8();
12019
+ const labelledBy = useId9();
12020
+ const describedBy = useId9();
11842
12021
  const { dialogProps } = useDialog3(
11843
12022
  { "role": "dialog", "aria-labelledby": labelledBy, "aria-describedby": describedBy },
11844
12023
  ref
@@ -11868,7 +12047,7 @@ var ModalWrapper = React82.forwardRef(
11868
12047
  }, action), text);
11869
12048
  }), primaryAction && /* @__PURE__ */ React82.createElement(Button.Primary, __spreadValues({
11870
12049
  key: primaryAction.text
11871
- }, omit9(primaryAction, "text")), primaryAction.text))));
12050
+ }, omit10(primaryAction, "text")), primaryAction.text))));
11872
12051
  }
11873
12052
  );
11874
12053
  var ModalTabs = createTabsComponent(
@@ -11884,10 +12063,10 @@ var ModalTabs = createTabsComponent(
11884
12063
 
11885
12064
  // src/molecules/MultiInput/MultiInput.tsx
11886
12065
  import React84, { useEffect as useEffect10, useRef as useRef9, useState as useState11 } from "react";
11887
- import { useId as useId9 } from "@react-aria/utils";
12066
+ import { useId as useId10 } from "@react-aria/utils";
11888
12067
  import castArray2 from "lodash/castArray";
11889
12068
  import identity from "lodash/identity";
11890
- import omit10 from "lodash/omit";
12069
+ import omit11 from "lodash/omit";
11891
12070
 
11892
12071
  // src/molecules/MultiInput/InputChip.tsx
11893
12072
  import React83 from "react";
@@ -12114,12 +12293,12 @@ var MultiInput = (props) => {
12114
12293
  var _a2;
12115
12294
  setValue((_a2 = props.value) != null ? _a2 : []);
12116
12295
  }, [JSON.stringify(props.value)]);
12117
- const defaultId = useId9();
12296
+ const defaultId = useId10();
12118
12297
  const id = (_e = (_d = props.id) != null ? _d : props.name) != null ? _e : defaultId;
12119
- const errorMessageId = useId9();
12298
+ const errorMessageId = useId10();
12120
12299
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
12121
12300
  const labelControlProps = getLabelControlProps(props);
12122
- const baseProps = omit10(props, Object.keys(labelControlProps));
12301
+ const baseProps = omit11(props, Object.keys(labelControlProps));
12123
12302
  return /* @__PURE__ */ React84.createElement(LabelControl, __spreadProps(__spreadValues({
12124
12303
  id: `${id}-label`,
12125
12304
  htmlFor: `${id}-input`,
@@ -12147,11 +12326,11 @@ MultiInput.Skeleton.displayName = "MultiInput.Skeleton";
12147
12326
  // src/molecules/MultiSelect/MultiSelect.tsx
12148
12327
  import React85, { useEffect as useEffect11, useRef as useRef10, useState as useState12 } from "react";
12149
12328
  import { ariaHideOutside as ariaHideOutside2 } from "@react-aria/overlays";
12150
- import { useId as useId10 } from "@react-aria/utils";
12329
+ import { useId as useId11 } from "@react-aria/utils";
12151
12330
  import { useCombobox as useCombobox2, useMultipleSelection } from "downshift";
12152
12331
  import isEqual from "lodash/isEqual";
12153
12332
  import isNil2 from "lodash/isNil";
12154
- import omit11 from "lodash/omit";
12333
+ import omit12 from "lodash/omit";
12155
12334
  import omitBy from "lodash/omitBy";
12156
12335
  import { matchSorter as matchSorter2 } from "match-sorter";
12157
12336
  var MultiSelectBase = (_a) => {
@@ -12374,12 +12553,12 @@ var MultiSelect = (_a) => {
12374
12553
  "emptyState"
12375
12554
  ]);
12376
12555
  var _a2;
12377
- const defaultId = useId10();
12556
+ const defaultId = useId11();
12378
12557
  const id = (_a2 = props.id) != null ? _a2 : defaultId;
12379
- const errorMessageId = useId10();
12558
+ const errorMessageId = useId11();
12380
12559
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
12381
12560
  const labelControlProps = getLabelControlProps(props);
12382
- const baseProps = omit11(props, Object.keys(labelControlProps));
12561
+ const baseProps = omit12(props, Object.keys(labelControlProps));
12383
12562
  return /* @__PURE__ */ React85.createElement(LabelControl, __spreadProps(__spreadValues({
12384
12563
  id: `${id}-label`,
12385
12564
  htmlFor: `${id}-input`,
@@ -12400,8 +12579,8 @@ MultiSelect.Skeleton.displayName = "MultiSelect.Skeleton";
12400
12579
 
12401
12580
  // src/molecules/NativeSelect/NativeSelect.tsx
12402
12581
  import React86 from "react";
12403
- import { useId as useId11 } from "@react-aria/utils";
12404
- import omit12 from "lodash/omit";
12582
+ import { useId as useId12 } from "@react-aria/utils";
12583
+ import omit13 from "lodash/omit";
12405
12584
  import uniqueId from "lodash/uniqueId";
12406
12585
  var import_caretDown2 = __toESM(require_caretDown());
12407
12586
  var NativeSelectBase = React86.forwardRef(
@@ -12462,12 +12641,12 @@ var NativeSelect = React86.forwardRef(
12462
12641
  (_a, ref) => {
12463
12642
  var _b = _a, { readOnly } = _b, props = __objRest(_b, ["readOnly"]);
12464
12643
  var _a2;
12465
- const defaultId = useId11();
12644
+ const defaultId = useId12();
12466
12645
  const id = (_a2 = props.id) != null ? _a2 : defaultId;
12467
- const errorMessageId = useId11();
12646
+ const errorMessageId = useId12();
12468
12647
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
12469
12648
  const _b2 = getLabelControlProps(props), { "data-testid": dataTestId } = _b2, labelControlProps = __objRest(_b2, ["data-testid"]);
12470
- const baseProps = omit12(props, Object.keys(labelControlProps));
12649
+ const baseProps = omit13(props, Object.keys(labelControlProps));
12471
12650
  return /* @__PURE__ */ React86.createElement(LabelControl, __spreadProps(__spreadValues({
12472
12651
  id: `${id}-label`,
12473
12652
  htmlFor: id,
@@ -12503,7 +12682,7 @@ NativeSelect.Skeleton.displayName = "NativeSelect.Skeleton";
12503
12682
 
12504
12683
  // src/molecules/Navigation/Navigation.tsx
12505
12684
  import React88 from "react";
12506
- import classNames9 from "classnames";
12685
+ import classNames10 from "classnames";
12507
12686
 
12508
12687
  // src/atoms/Navigation/Navigation.tsx
12509
12688
  import React87 from "react";
@@ -12513,7 +12692,7 @@ var Navigation = (_a) => {
12513
12692
  className: classNames(tw("bg-grey-0 h-full"))
12514
12693
  }, /* @__PURE__ */ React87.createElement("ul", __spreadProps(__spreadValues({}, rest), {
12515
12694
  className: classNames(tw("flex flex-col h-full"), className),
12516
- role: "menu"
12695
+ role: "menubar"
12517
12696
  }), children));
12518
12697
  };
12519
12698
  var Header = (_a) => {
@@ -12575,7 +12754,7 @@ Navigation.Divider = Divider3;
12575
12754
  var Navigation2 = (_a) => {
12576
12755
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
12577
12756
  return /* @__PURE__ */ React88.createElement(Navigation, __spreadValues({
12578
- className: classNames9("Aquarium-Navigation", className)
12757
+ className: classNames10("Aquarium-Navigation", className)
12579
12758
  }, props));
12580
12759
  };
12581
12760
  var Item6 = (_a) => {
@@ -12683,7 +12862,7 @@ var CommonPageHeader = ({
12683
12862
  gap: "5"
12684
12863
  }, image && /* @__PURE__ */ React90.createElement("img", {
12685
12864
  src: image,
12686
- alt: imageAlt,
12865
+ alt: imageAlt != null ? imageAlt : "",
12687
12866
  className: tw("w-[56px] h-[56px]")
12688
12867
  }), /* @__PURE__ */ React90.createElement(PageHeader.TitleContainer, null, /* @__PURE__ */ React90.createElement(PageHeader.Title, {
12689
12868
  isSubHeader
@@ -12711,7 +12890,7 @@ PageHeader2.SubHeader.displayName = "PageHeader.SubHeader";
12711
12890
 
12712
12891
  // src/molecules/PopoverDialog/PopoverDialog.tsx
12713
12892
  import React92 from "react";
12714
- import omit13 from "lodash/omit";
12893
+ import omit14 from "lodash/omit";
12715
12894
 
12716
12895
  // src/atoms/PopoverDialog/PopoverDialog.tsx
12717
12896
  import React91 from "react";
@@ -12766,11 +12945,11 @@ var PopoverDialog2 = ({ placement, open, title, secondaryAction, primaryAction,
12766
12945
  kind: "secondary-ghost",
12767
12946
  key: secondaryAction.text,
12768
12947
  dense: true
12769
- }, omit13(secondaryAction, "text")), secondaryAction.text), /* @__PURE__ */ React92.createElement(Popover2.Button, __spreadValues({
12948
+ }, omit14(secondaryAction, "text")), secondaryAction.text), /* @__PURE__ */ React92.createElement(Popover2.Button, __spreadValues({
12770
12949
  kind: "ghost",
12771
12950
  key: primaryAction.text,
12772
12951
  dense: true
12773
- }, omit13(primaryAction, "text")), primaryAction.text))));
12952
+ }, omit14(primaryAction, "text")), primaryAction.text))));
12774
12953
  }
12775
12954
  return child;
12776
12955
  };
@@ -12918,7 +13097,7 @@ RadioButton2.Skeleton.displayName = "RadioButton.Skeleton";
12918
13097
 
12919
13098
  // src/molecules/RadioButtonGroup/RadioButtonGroup.tsx
12920
13099
  import React96 from "react";
12921
- import { useId as useId12 } from "@react-aria/utils";
13100
+ import { useId as useId13 } from "@react-aria/utils";
12922
13101
  var isRadioButton = (c) => {
12923
13102
  return React96.isValidElement(c) && c.type === RadioButton2;
12924
13103
  };
@@ -12944,7 +13123,7 @@ var RadioButtonGroup = (_a) => {
12944
13123
  ]);
12945
13124
  var _a2;
12946
13125
  const [value, setValue] = React96.useState((_a2 = _value != null ? _value : defaultValue) != null ? _a2 : "");
12947
- const errorMessageId = useId12();
13126
+ const errorMessageId = useId13();
12948
13127
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
12949
13128
  const labelControlProps = getLabelControlProps(props);
12950
13129
  if (_value !== void 0 && _value !== value) {
@@ -12999,7 +13178,7 @@ RadioButtonGroup.Skeleton.displayName = "RadioButtonGroup.Skeleton";
12999
13178
 
13000
13179
  // src/molecules/Section/Section.tsx
13001
13180
  import React101 from "react";
13002
- import { useId as useId13 } from "@react-aria/utils";
13181
+ import { useId as useId14 } from "@react-aria/utils";
13003
13182
  import { animated as animated4, useSpring as useSpring3 } from "@react-spring/web";
13004
13183
  import castArray4 from "lodash/castArray";
13005
13184
  import isUndefined9 from "lodash/isUndefined";
@@ -13146,10 +13325,10 @@ var Section3 = (_a) => {
13146
13325
  }, rest), children);
13147
13326
  };
13148
13327
  Section3.Header = (_a) => {
13149
- var _b = _a, { children, className, collapsible } = _b, rest = __objRest(_b, ["children", "className", "collapsible"]);
13328
+ var _b = _a, { children, className, expanded } = _b, rest = __objRest(_b, ["children", "className", "expanded"]);
13150
13329
  return /* @__PURE__ */ React100.createElement("div", __spreadProps(__spreadValues({}, rest), {
13151
13330
  className: classNames(
13152
- tw("px-6 flex gap-5 justify-between items-center h-[72px]", { "bg-grey-0": collapsible }),
13331
+ tw("px-6 flex gap-5 justify-between items-center h-[72px]", { "bg-grey-0": expanded }),
13153
13332
  className
13154
13333
  )
13155
13334
  }), children);
@@ -13237,23 +13416,26 @@ var Section4 = (props) => {
13237
13416
  },
13238
13417
  immediate: !_collapsible
13239
13418
  }), { transform, backgroundColor } = _f, spring = __objRest(_f, ["transform", "backgroundColor"]);
13240
- const toggleId = useId13();
13241
- const regionId = useId13();
13419
+ const toggleId = useId14();
13420
+ const regionId = useId14();
13421
+ const titleId = useId14();
13242
13422
  return /* @__PURE__ */ React101.createElement(Section3, {
13243
13423
  "aria-label": title,
13244
13424
  className: "Aquarium-Section"
13245
13425
  }, title && /* @__PURE__ */ React101.createElement(React101.Fragment, null, /* @__PURE__ */ React101.createElement(Section3.Header, {
13246
- collapsible: _collapsible
13426
+ expanded: _collapsible && !isCollapsed
13247
13427
  }, /* @__PURE__ */ React101.createElement(Section3.TitleContainer, {
13248
13428
  role: _collapsible ? "button" : void 0,
13249
13429
  id: toggleId,
13250
13430
  collapsible: _collapsible,
13251
13431
  onClick: handleTitleClick,
13252
- "aria-expanded": !isCollapsed,
13253
- "aria-controls": regionId
13432
+ "aria-expanded": _collapsible ? !isCollapsed : void 0,
13433
+ "aria-controls": _collapsible ? regionId : void 0
13254
13434
  }, _collapsible && /* @__PURE__ */ React101.createElement(animated4.div, {
13255
13435
  style: { transform }
13256
- }, /* @__PURE__ */ React101.createElement(Section3.Toggle, null)), /* @__PURE__ */ React101.createElement(Section3.Title, null, /* @__PURE__ */ React101.createElement(LineClamp2, {
13436
+ }, /* @__PURE__ */ React101.createElement(Section3.Toggle, null)), /* @__PURE__ */ React101.createElement(Section3.Title, {
13437
+ id: titleId
13438
+ }, /* @__PURE__ */ React101.createElement(LineClamp2, {
13257
13439
  lines: 1
13258
13440
  }, title), props.tag && /* @__PURE__ */ React101.createElement(TagLabel, __spreadValues({}, props.tag)), props.badge && /* @__PURE__ */ React101.createElement(Chip2, {
13259
13441
  text: props.badge
@@ -13269,12 +13451,14 @@ var Section4 = (props) => {
13269
13451
  }, /* @__PURE__ */ React101.createElement(DropdownMenu2.Trigger, null, /* @__PURE__ */ React101.createElement(Button.Icon, {
13270
13452
  "aria-label": menuAriaLabel,
13271
13453
  icon: import_more5.default
13272
- })), menu)), props.actions && castArray4(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.switch && /* @__PURE__ */ React101.createElement(Switch2, __spreadValues({}, props.switch)), props.select && /* @__PURE__ */ React101.createElement(SelectBase, __spreadValues({}, props.select)))), /* @__PURE__ */ React101.createElement(animated4.div, {
13454
+ })), menu)), props.actions && castArray4(props.actions).filter(Boolean).map((action) => renderAction({ kind: "secondary", action })), props.switch && /* @__PURE__ */ React101.createElement(Switch2, __spreadValues({}, props.switch)), props.select && /* @__PURE__ */ React101.createElement(SelectBase, __spreadValues({
13455
+ "aria-labelledby": titleId
13456
+ }, props.select)))), /* @__PURE__ */ React101.createElement(animated4.div, {
13273
13457
  className: tw(`h-[1px]`),
13274
13458
  style: { backgroundColor }
13275
13459
  })), /* @__PURE__ */ React101.createElement(animated4.div, {
13276
13460
  id: regionId,
13277
- "aria-hidden": isCollapsed ? true : void 0,
13461
+ "aria-hidden": _collapsible ? isCollapsed ? true : void 0 : void 0,
13278
13462
  style: spring,
13279
13463
  className: tw({ "overflow-hidden": _collapsible })
13280
13464
  }, /* @__PURE__ */ React101.createElement("div", {
@@ -13495,7 +13679,7 @@ Stepper2.Step = Step2;
13495
13679
 
13496
13680
  // src/molecules/SwitchGroup/SwitchGroup.tsx
13497
13681
  import React105, { useState as useState13 } from "react";
13498
- import { useId as useId14 } from "@react-aria/utils";
13682
+ import { useId as useId15 } from "@react-aria/utils";
13499
13683
  var SwitchGroup = (_a) => {
13500
13684
  var _b = _a, {
13501
13685
  value,
@@ -13517,7 +13701,7 @@ var SwitchGroup = (_a) => {
13517
13701
  if (value !== void 0 && value !== selectedItems) {
13518
13702
  setSelectedItems(value);
13519
13703
  }
13520
- const errorMessageId = useId14();
13704
+ const errorMessageId = useId15();
13521
13705
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
13522
13706
  const labelControlProps = getLabelControlProps(props);
13523
13707
  const handleChange = (e) => {
@@ -13561,8 +13745,8 @@ SwitchGroup.Skeleton.displayName = "SwitchGroup.Skeleton";
13561
13745
 
13562
13746
  // src/molecules/Textarea/Textarea.tsx
13563
13747
  import React106, { useState as useState14 } from "react";
13564
- import { useId as useId15 } from "@react-aria/utils";
13565
- import omit14 from "lodash/omit";
13748
+ import { useId as useId16 } from "@react-aria/utils";
13749
+ import omit15 from "lodash/omit";
13566
13750
  import toString2 from "lodash/toString";
13567
13751
  var TextareaBase = React106.forwardRef(
13568
13752
  (_a, ref) => {
@@ -13581,12 +13765,12 @@ TextareaBase.Skeleton = () => /* @__PURE__ */ React106.createElement(Skeleton, {
13581
13765
  var Textarea = React106.forwardRef((props, ref) => {
13582
13766
  var _a, _b, _c;
13583
13767
  const [value, setValue] = useState14((_b = (_a = props.value) != null ? _a : props.defaultValue) != null ? _b : "");
13584
- const defaultId = useId15();
13768
+ const defaultId = useId16();
13585
13769
  const id = (_c = props.id) != null ? _c : defaultId;
13586
- const errorMessageId = useId15();
13770
+ const errorMessageId = useId16();
13587
13771
  const errorProps = props.valid === false ? { "aria-invalid": true, "aria-describedby": errorMessageId } : {};
13588
13772
  const _d = getLabelControlProps(props), { "data-testid": dataTestId } = _d, labelControlProps = __objRest(_d, ["data-testid"]);
13589
- const baseProps = omit14(props, Object.keys(labelControlProps));
13773
+ const baseProps = omit15(props, Object.keys(labelControlProps));
13590
13774
  return /* @__PURE__ */ React106.createElement(LabelControl, __spreadProps(__spreadValues({
13591
13775
  id: `${id}-label`,
13592
13776
  htmlFor: id,
@@ -13872,7 +14056,7 @@ export {
13872
14056
  Avatar,
13873
14057
  AvatarStack,
13874
14058
  Badge,
13875
- Banner2 as Banner,
14059
+ Banner4 as Banner,
13876
14060
  BorderBox,
13877
14061
  Box,
13878
14062
  Breadcrumbs,