@aivenio/aquarium 2.8.0 → 2.9.0

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 (81) hide show
  1. package/dist/atoms.cjs +44 -48
  2. package/dist/atoms.mjs +11 -15
  3. package/dist/charts.cjs +13 -10
  4. package/dist/charts.mjs +8 -5
  5. package/dist/src/atoms/Card/Card.js +2 -2
  6. package/dist/src/atoms/ProgressBar/ProgressBar.js +2 -2
  7. package/dist/src/atoms/Select/Select.js +2 -2
  8. package/dist/src/atoms/Typography/Typography.js +2 -2
  9. package/dist/src/charts/AreaChart/AreaChart.d.ts +1 -1
  10. package/dist/src/charts/BarChart/BarChart.d.ts +1 -1
  11. package/dist/src/charts/LineChart/LineChart.d.ts +1 -1
  12. package/dist/src/charts/PieChart/DoughnutChart.d.ts +3 -3
  13. package/dist/src/charts/PieChart/DoughnutChart.js +2 -2
  14. package/dist/src/charts/PieChart/PieChart.d.ts +1 -1
  15. package/dist/src/charts/Tooltip/TooltipContentWrapper.js +2 -2
  16. package/dist/src/charts/lib/utils.js +2 -3
  17. package/dist/src/icons/disasterRecovery.js +2 -2
  18. package/dist/src/molecules/Accordion/Accordion.js +2 -2
  19. package/dist/src/molecules/Alert/Alert.js +2 -2
  20. package/dist/src/molecules/Banner/Banner.js +2 -2
  21. package/dist/src/molecules/Box/Box.js +2 -2
  22. package/dist/src/molecules/Button/Button.js +2 -2
  23. package/dist/src/molecules/Chip/Chip.js +2 -2
  24. package/dist/src/molecules/Combobox/Combobox.js +6 -6
  25. package/dist/src/molecules/DataList/DataList.js +2 -6
  26. package/dist/src/molecules/DataList/DataListComponents.js +2 -2
  27. package/dist/src/molecules/DataList/DataListGroup.js +2 -2
  28. package/dist/src/molecules/DataList/DataListToolbar.js +2 -2
  29. package/dist/src/molecules/DataTable/DataTable.js +2 -3
  30. package/dist/src/molecules/DateField/DateField.js +2 -2
  31. package/dist/src/molecules/DatePicker/DatePicker.js +2 -2
  32. package/dist/src/molecules/DatePicker/DateRangePicker.js +2 -2
  33. package/dist/src/molecules/Dialog/Dialog.js +2 -2
  34. package/dist/src/molecules/Drawer/Drawer.js +2 -3
  35. package/dist/src/molecules/DropdownMenu/DropdownMenu.js +2 -2
  36. package/dist/src/molecules/Grid/Grid.js +2 -4
  37. package/dist/src/molecules/Input/Input.js +2 -3
  38. package/dist/src/molecules/ItemList/ItemList.d.ts +5 -1
  39. package/dist/src/molecules/ItemList/ItemList.js +3 -3
  40. package/dist/src/molecules/List/List.js +2 -3
  41. package/dist/src/molecules/Modal/Modal.js +2 -3
  42. package/dist/src/molecules/MultiInput/MultiInput.js +2 -4
  43. package/dist/src/molecules/MultiSelect/MultiSelect.js +2 -5
  44. package/dist/src/molecules/NativeSelect/NativeSelect.js +2 -3
  45. package/dist/src/molecules/PageHeader/PageHeader.js +2 -2
  46. package/dist/src/molecules/Pagination/Pagination.js +2 -2
  47. package/dist/src/molecules/Pagination/usePagination.js +2 -2
  48. package/dist/src/molecules/Popover/Popover.js +2 -2
  49. package/dist/src/molecules/PopoverDialog/PopoverDialog.js +2 -2
  50. package/dist/src/molecules/Section/Section.js +2 -3
  51. package/dist/src/molecules/Select/Select.js +2 -5
  52. package/dist/src/molecules/Skeleton/Skeleton.js +2 -3
  53. package/dist/src/molecules/Tabs/Tabs.js +3 -4
  54. package/dist/src/molecules/Tailwindify/Tailwindify.js +2 -3
  55. package/dist/src/molecules/Textarea/Textarea.js +2 -3
  56. package/dist/src/molecules/TimeField/TimeField.js +2 -2
  57. package/dist/src/molecules/Toast/Toast.js +2 -2
  58. package/dist/src/utils/actions.js +2 -2
  59. package/dist/src/utils/form/HelperText/HelperText.js +2 -2
  60. package/dist/src/utils/stickyStyles.js +2 -2
  61. package/dist/styles.css +0 -3
  62. package/dist/system.cjs +156 -180
  63. package/dist/system.mjs +50 -74
  64. package/dist/tsconfig.module.tsbuildinfo +1 -1
  65. package/dist/types/tailwindGenerated.d.ts +1 -1
  66. package/package.json +8 -7
  67. package/dist/src/molecules/ItemList/ItemList.spec.d.ts +0 -24
  68. package/dist/src/molecules/ItemList/ItemList.spec.js +0 -100
  69. package/dist/src/utils/mocks/mockDynamicIds.d.ts +0 -1
  70. package/dist/src/utils/mocks/mockDynamicIds.js +0 -14
  71. package/dist/src/utils/mocks/mockIntersectionObserver.d.ts +0 -1
  72. package/dist/src/utils/mocks/mockIntersectionObserver.js +0 -13
  73. package/dist/src/utils/mocks/mockRecharts.d.ts +0 -1
  74. package/dist/src/utils/mocks/mockRecharts.js +0 -8
  75. package/dist/src/utils/mocks/mockResizeObservable.d.ts +0 -1
  76. package/dist/src/utils/mocks/mockResizeObservable.js +0 -60
  77. package/dist/src/utils/mocks/mockScrollIntoView.d.ts +0 -1
  78. package/dist/src/utils/mocks/mockScrollIntoView.js +0 -11
  79. package/dist/src/utils/setupTests.d.ts +0 -1
  80. package/dist/src/utils/setupTests.js +0 -25
  81. package/dist/tailwind.config.js +0 -173
package/dist/system.mjs CHANGED
@@ -1487,7 +1487,7 @@ var require_disasterRecovery = __commonJS({
1487
1487
  "src/icons/disasterRecovery.js"(exports) {
1488
1488
  "use strict";
1489
1489
  var data = {
1490
- "body": '<mask id="svgIDa" fill="#fff"><path d="m13.838 8.734 1.983.731.515-1.396-1.983-.73zm-4.947.96 1.983.73.515-1.396-1.983-.73zM8.077 1.7l-3.73 10.128c.561-.45 1.211-.795 1.963-.814l2.693-7.312 9.639 3.55-1.388 3.773c.533.013 1.04.208 1.458.55l1.934-5.248zm4.88 9.491 1.983.73.515-1.395-1.984-.73zM9.772 7.237l1.984.73.514-1.395-1.983-.73zM2.748 15.91c.725.065 1.48-.262 2.082-.897l.219-.236c.184-.203.572-.627.9-.902.033.572.254 1.073.428 1.336a1.95 1.95 0 001.472.89c.759.067 1.616-.305 2.246-.968l.213-.231c.21-.23.655-.715 1.024-1.02a2.85 2.85 0 00.429 1.326c.346.523.87.837 1.474.89.761.064 1.622-.305 2.251-.968.065-.067.133-.143.205-.22.193-.211.655-.715 1.038-1.027a2.85 2.85 0 00.429 1.325c.369.557.912.892 1.528.944q.09.008.177.008c.665 0 1.346-.32 1.892-.894l-1.13-1.074c-.253.268-.564.426-.804.406-.088-.008-.22-.042-.361-.255-.096-.143-.263-.614-.107-.923l.237-.465-.34-.396a1.38 1.38 0 00-1.048-.499h-.024c-.912 0-1.734.814-2.63 1.797a9 9 0 01-.19.205c-.294.31-.692.504-.983.48-.093-.007-.203-.038-.31-.2-.095-.145-.262-.613-.106-.922l.229-.46-.343-.395a1.38 1.38 0 00-1.048-.5h-.02c-.986 0-1.89.991-2.62 1.79l-.198.212c-.292.31-.692.502-.978.481-.09-.008-.2-.039-.307-.2-.096-.143-.262-.614-.106-.923l.236-.465-.34-.395a1.4 1.4 0 00-1.066-.512h-.02c-.952 0-1.8.928-2.48 1.676-.074.078-.141.154-.201.219-.257.27-.577.434-.811.41-.088-.007-.218-.041-.356-.25l-1.3.864c.367.554.907.886 1.518.938m16.068 2.834c-.088-.008-.22-.042-.361-.255-.096-.143-.263-.613-.107-.923l.237-.465-.34-.395a1.38 1.38 0 00-1.048-.5h-.024c-.912 0-1.734.814-2.633 1.797a9 9 0 01-.19.205c-.294.31-.697.505-.983.481-.093-.008-.202-.039-.309-.2-.096-.145-.262-.613-.107-.923l.237-.465-.343-.395a1.38 1.38 0 00-1.048-.5h-.02c-.91 0-1.727.812-2.62 1.79l-.196.212c-.291.307-.691.505-.977.481-.091-.008-.2-.039-.307-.2-.096-.143-.263-.613-.107-.923l.237-.465-.34-.395a1.4 1.4 0 00-1.066-.512H6.38c-.952 0-1.8.928-2.48 1.676-.073.078-.14.154-.2.219-.258.27-.578.429-.811.41-.091-.007-.221-.041-.36-.25l-1.299.864c.367.554.907.887 1.518.939.72.06 1.48-.263 2.082-.897q.101-.111.219-.237c.184-.203.572-.626.9-.902a2.9 2.9 0 00.428 1.336c.346.523.871.837 1.472.89.756.064 1.616-.305 2.246-.968l.21-.229c.21-.228.655-.715 1.024-1.019a2.85 2.85 0 00.43 1.326c.345.523.87.837 1.473.89.757.064 1.622-.305 2.252-.968l.205-.22c.192-.211.655-.718 1.037-1.03.037.57.255 1.066.429 1.326.37.556.912.891 1.529.943q.091.008.176.008c.666 0 1.347-.32 1.893-.894l-1.134-1.069c-.252.268-.561.424-.803.406"/></mask><path fill="none" stroke="currentColor" stroke-miterlimit="16" stroke-width="1.6" d="m13.838 8.734 1.983.731.515-1.396-1.983-.73zm-4.947.96 1.983.73.515-1.396-1.983-.73zM8.077 1.7l-3.73 10.128c.561-.45 1.211-.795 1.963-.814l2.693-7.312 9.639 3.55-1.388 3.773c.533.013 1.04.208 1.458.55l1.934-5.248zm4.88 9.491 1.983.73.515-1.395-1.984-.73zM9.772 7.237l1.984.73.514-1.395-1.983-.73zM2.748 15.91c.725.065 1.48-.262 2.082-.897l.219-.236c.184-.203.572-.627.9-.902.033.572.254 1.073.428 1.336a1.95 1.95 0 001.472.89c.759.067 1.616-.305 2.246-.968l.213-.231c.21-.23.655-.715 1.024-1.02a2.85 2.85 0 00.429 1.326c.346.523.87.837 1.474.89.761.064 1.622-.305 2.251-.968.065-.067.133-.143.205-.22.193-.211.655-.715 1.038-1.027a2.85 2.85 0 00.429 1.325c.369.557.912.892 1.528.944q.09.008.177.008c.665 0 1.346-.32 1.892-.894l-1.13-1.074c-.253.268-.564.426-.804.406-.088-.008-.22-.042-.361-.255-.096-.143-.263-.614-.107-.923l.237-.465-.34-.396a1.38 1.38 0 00-1.048-.499h-.024c-.912 0-1.734.814-2.63 1.797a9 9 0 01-.19.205c-.294.31-.692.504-.983.48-.093-.007-.203-.038-.31-.2-.095-.145-.262-.613-.106-.922l.229-.46-.343-.395a1.38 1.38 0 00-1.048-.5h-.02c-.986 0-1.89.991-2.62 1.79l-.198.212c-.292.31-.692.502-.978.481-.09-.008-.2-.039-.307-.2-.096-.143-.262-.614-.106-.923l.236-.465-.34-.395a1.4 1.4 0 00-1.066-.512h-.02c-.952 0-1.8.928-2.48 1.676-.074.078-.141.154-.201.219-.257.27-.577.434-.811.41-.088-.007-.218-.041-.356-.25l-1.3.864c.367.554.907.886 1.518.938Zm16.068 2.834c-.088-.008-.22-.042-.361-.255-.096-.143-.263-.613-.107-.923l.237-.465-.34-.395a1.38 1.38 0 00-1.048-.5h-.024c-.912 0-1.734.814-2.633 1.797a9 9 0 01-.19.205c-.294.31-.697.505-.983.481-.093-.008-.202-.039-.309-.2-.096-.145-.262-.613-.107-.923l.237-.465-.343-.395a1.38 1.38 0 00-1.048-.5h-.02c-.91 0-1.727.812-2.62 1.79l-.196.212c-.291.307-.691.505-.977.481-.091-.008-.2-.039-.307-.2-.096-.143-.263-.613-.107-.923l.237-.465-.34-.395a1.4 1.4 0 00-1.066-.512H6.38c-.952 0-1.8.928-2.48 1.676-.073.078-.14.154-.2.219-.258.27-.578.429-.811.41-.091-.007-.221-.041-.36-.25l-1.299.864c.367.554.907.887 1.518.939.72.06 1.48-.263 2.082-.897q.101-.111.219-.237c.184-.203.572-.626.9-.902a2.9 2.9 0 00.428 1.336c.346.523.871.837 1.472.89.756.064 1.616-.305 2.246-.968l.21-.229c.21-.228.655-.715 1.024-1.019a2.85 2.85 0 00.43 1.326c.345.523.87.837 1.473.89.757.064 1.622-.305 2.252-.968l.205-.22c.192-.211.655-.718 1.037-1.03.037.57.255 1.066.429 1.326.37.556.912.891 1.529.943q.091.008.176.008c.666 0 1.347-.32 1.893-.894l-1.134-1.069c-.252.268-.561.424-.803.406Z" mask="url(#svgIDa)"/>',
1490
+ "body": '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M1 16.3c.338.167.708.26 1.085.27a2.605 2.605 0 002.17-1.084 2.605 2.605 0 012.17-1.085 2.604 2.604 0 012.17 1.085 2.605 2.605 0 002.17 1.085 2.605 2.605 0 002.17-1.085 2.605 2.605 0 012.17-1.085 2.604 2.604 0 012.17 1.085 2.605 2.605 0 002.17 1.085 2.608 2.608 0 001.085-.272M1 19.899c.338.168.708.26 1.085.27a2.604 2.604 0 002.17-1.084A2.603 2.603 0 016.425 18a2.604 2.604 0 012.17 1.085 2.604 2.604 0 002.17 1.085 2.604 2.604 0 002.17-1.085A2.603 2.603 0 0115.105 18a2.604 2.604 0 012.17 1.085 2.604 2.604 0 002.17 1.085c.377-.01.747-.104 1.085-.271M9.968 6.84l.889.272M9.05 9.841l.889.272m4.475-1.915.89.272m-1.808 2.73.89.272m-9.926.658L7.098 3.5c.122-.397.426-.721.846-.9.42-.18.92-.2 1.392-.056l8.894 2.719c.471.144.875.44 1.123.824.247.383.318.823.197 1.22l-1.606 5.253"/>',
1491
1491
  "left": 0,
1492
1492
  "top": 0,
1493
1493
  "width": 22,
@@ -4472,7 +4472,7 @@ var NoResults = React2.forwardRef(
4472
4472
  return /* @__PURE__ */ React2.createElement("li", __spreadProps(__spreadValues({
4473
4473
  ref
4474
4474
  }, rest), {
4475
- className: classNames(tw("p-3 text-inactive italic typography-small"), className)
4475
+ className: classNames(tw("p-3 text-inactive typography-small"), className)
4476
4476
  }), children);
4477
4477
  }
4478
4478
  );
@@ -4567,7 +4567,7 @@ import { Icon as Icon2 } from "@iconify/react";
4567
4567
  import { useButton } from "@react-aria/button";
4568
4568
  import { useId } from "@react-aria/utils";
4569
4569
  import { animated as animated3, useSpring as useSpring2 } from "@react-spring/web";
4570
- import isUndefined7 from "lodash/isUndefined";
4570
+ import { isUndefined as isUndefined7 } from "lodash-es";
4571
4571
 
4572
4572
  // src/icons/index.js
4573
4573
  var import_addToFolder = __toESM(require_addToFolder());
@@ -4860,7 +4860,7 @@ function useMeasure() {
4860
4860
  // src/molecules/Box/Box.tsx
4861
4861
  import React16 from "react";
4862
4862
  import classNames3 from "classnames";
4863
- import isUndefined5 from "lodash/isUndefined";
4863
+ import { isUndefined as isUndefined5 } from "lodash-es";
4864
4864
 
4865
4865
  // src/molecules/Element/Element.tsx
4866
4866
  import React4 from "react";
@@ -6664,19 +6664,18 @@ function useWindowSize() {
6664
6664
 
6665
6665
  // src/molecules/Toast/Toast.tsx
6666
6666
  import React14, { createContext, useContext, useEffect as useEffect3, useReducer } from "react";
6667
- import groupBy from "lodash/groupBy";
6667
+ import { groupBy } from "lodash-es";
6668
6668
 
6669
6669
  // src/molecules/Button/Button.tsx
6670
6670
  import React9 from "react";
6671
- import camelCase from "lodash/camelCase";
6671
+ import { camelCase } from "lodash-es";
6672
6672
 
6673
6673
  // src/molecules/Flexbox/Flexbox.tsx
6674
6674
  import React7 from "react";
6675
6675
 
6676
6676
  // src/molecules/Tailwindify/Tailwindify.tsx
6677
6677
  import React6 from "react";
6678
- import get from "lodash/get";
6679
- import isUndefined3 from "lodash/isUndefined";
6678
+ import { get, isUndefined as isUndefined3 } from "lodash-es";
6680
6679
  function Tailwindify(Component) {
6681
6680
  return (_a) => {
6682
6681
  var _b = _a, {
@@ -7782,7 +7781,7 @@ import classNames4 from "classnames";
7782
7781
 
7783
7782
  // src/atoms/Typography/Typography.tsx
7784
7783
  import React18 from "react";
7785
- import isUndefined6 from "lodash/isUndefined";
7784
+ import { isUndefined as isUndefined6 } from "lodash-es";
7786
7785
  var typographies = Object.fromEntries(Object.keys(tokens_default.typography).map((key) => [key, `typography-${key}`]));
7787
7786
  var Typography = (_a) => {
7788
7787
  var _b = _a, {
@@ -8112,7 +8111,7 @@ Accordion.UnanimatedPanel.displayName = "Accordion.UnanimatedPanel";
8112
8111
  // src/molecules/Alert/Alert.tsx
8113
8112
  import React22 from "react";
8114
8113
  import { useId as useId3 } from "@react-aria/utils";
8115
- import omit from "lodash/omit";
8114
+ import { omit } from "lodash-es";
8116
8115
 
8117
8116
  // src/atoms/Alert/Alert.tsx
8118
8117
  import React21 from "react";
@@ -8384,8 +8383,7 @@ import React24 from "react";
8384
8383
 
8385
8384
  // src/molecules/Skeleton/Skeleton.tsx
8386
8385
  import React23 from "react";
8387
- import isNumber from "lodash/isNumber";
8388
- import isUndefined8 from "lodash/isUndefined";
8386
+ import { isNumber, isUndefined as isUndefined8 } from "lodash-es";
8389
8387
  var Skeleton = (_a) => {
8390
8388
  var _b = _a, {
8391
8389
  width,
@@ -8527,7 +8525,7 @@ var ChipBadge = createBadge("chip", "ChipBadge");
8527
8525
 
8528
8526
  // src/molecules/Banner/Banner.tsx
8529
8527
  import React27 from "react";
8530
- import omit2 from "lodash/omit";
8528
+ import { omit as omit2 } from "lodash-es";
8531
8529
 
8532
8530
  // src/atoms/Banner/Banner.tsx
8533
8531
  import React26 from "react";
@@ -8726,7 +8724,7 @@ import { useButton as useButton3 } from "@react-aria/button";
8726
8724
  // src/molecules/Chip/Chip.tsx
8727
8725
  import React30 from "react";
8728
8726
  import classNames6 from "classnames";
8729
- import isNumber2 from "lodash/isNumber";
8727
+ import { isNumber as isNumber2 } from "lodash-es";
8730
8728
 
8731
8729
  // src/atoms/Chip/Chip.tsx
8732
8730
  import React29 from "react";
@@ -8852,7 +8850,7 @@ var ChipContainer = ({ dense, children }) => /* @__PURE__ */ React30.createEleme
8852
8850
 
8853
8851
  // src/atoms/Card/Card.tsx
8854
8852
  import React32 from "react";
8855
- import isNumber3 from "lodash/isNumber";
8853
+ import { isNumber as isNumber3 } from "lodash-es";
8856
8854
 
8857
8855
  // src/atoms/LineClamp/LineClamp.tsx
8858
8856
  import React31 from "react";
@@ -9087,7 +9085,7 @@ var RadioButton = React34.forwardRef(
9087
9085
 
9088
9086
  // src/utils/actions.tsx
9089
9087
  import React35 from "react";
9090
- import omit3 from "lodash/omit";
9088
+ import { omit as omit3 } from "lodash-es";
9091
9089
  var renderAction = ({ kind = "primary", dense = false, action }) => {
9092
9090
  return isLink(action) ? /* @__PURE__ */ React35.createElement(Button.ExternalLink, __spreadValues({
9093
9091
  key: action.text,
@@ -9705,9 +9703,7 @@ import React45 from "react";
9705
9703
 
9706
9704
  // src/molecules/Grid/Grid.tsx
9707
9705
  import React44 from "react";
9708
- import isEmpty from "lodash/isEmpty";
9709
- import mapValues from "lodash/mapValues";
9710
- import pick from "lodash/pick";
9706
+ import { isEmpty, mapValues, pick } from "lodash-es";
9711
9707
  var breakpoints = Object.keys(tokens_default.screens);
9712
9708
  var GridItem = Tailwindify(
9713
9709
  (_a) => {
@@ -9865,7 +9861,7 @@ var FormControl = ({ className, inline, children }) => {
9865
9861
  // src/utils/form/HelperText/HelperText.tsx
9866
9862
  import React48 from "react";
9867
9863
  import classNames8 from "classnames";
9868
- import isNumber4 from "lodash/isNumber";
9864
+ import { isNumber as isNumber4 } from "lodash-es";
9869
9865
 
9870
9866
  // src/utils/form/CharCounter/CharCounter.tsx
9871
9867
  import React47 from "react";
@@ -10162,8 +10158,7 @@ import React54, { useEffect as useEffect6, useRef as useRef6, useState as useSta
10162
10158
  import { ariaHideOutside } from "@react-aria/overlays";
10163
10159
  import { useId as useId6 } from "@react-aria/utils";
10164
10160
  import { useCombobox } from "downshift";
10165
- import { isNil } from "lodash";
10166
- import omit4 from "lodash/omit";
10161
+ import { isNil, omit as omit4 } from "lodash-es";
10167
10162
  import { matchSorter } from "match-sorter";
10168
10163
 
10169
10164
  // src/molecules/Popover/PopoverOverlay.tsx
@@ -10546,26 +10541,20 @@ var Container2 = ({ maxWidth = "xl", children }) => /* @__PURE__ */ React55.crea
10546
10541
  // src/molecules/DataList/DataList.tsx
10547
10542
  import React72, { useRef as useRef8 } from "react";
10548
10543
  import { useControlledState } from "@react-stately/utils";
10549
- import castArray2 from "lodash/castArray";
10550
- import compact from "lodash/compact";
10551
- import groupBy2 from "lodash/groupBy";
10552
- import isArray2 from "lodash/isArray";
10553
- import isFunction3 from "lodash/isFunction";
10544
+ import { castArray as castArray2, compact, groupBy as groupBy2, isArray as isArray2, isFunction as isFunction3 } from "lodash-es";
10554
10545
 
10555
10546
  // src/molecules/List/List.tsx
10556
10547
  import React61 from "react";
10557
- import isObject from "lodash/isObject";
10558
- import isString from "lodash/isString";
10548
+ import { isObject, isString } from "lodash-es";
10559
10549
 
10560
10550
  // src/molecules/Pagination/Pagination.tsx
10561
10551
  import React59 from "react";
10562
- import clamp from "lodash/clamp";
10552
+ import { clamp } from "lodash-es";
10563
10553
 
10564
10554
  // src/molecules/Input/Input.tsx
10565
10555
  import React57, { forwardRef, useCallback, useImperativeHandle, useState as useState7 } from "react";
10566
10556
  import { useId as useId7 } from "@react-aria/utils";
10567
- import omit5 from "lodash/omit";
10568
- import toString from "lodash/toString";
10557
+ import { omit as omit5, toString } from "lodash-es";
10569
10558
 
10570
10559
  // src/utils/form/InputAdornment/InputAdornment.tsx
10571
10560
  import React56 from "react";
@@ -10757,10 +10746,7 @@ Input2.Skeleton.displayName = "Input.Skeleton";
10757
10746
  import React58, { useRef as useRef7, useState as useState8 } from "react";
10758
10747
  import { useId as useId8 } from "@react-aria/utils";
10759
10748
  import { useSelect } from "downshift";
10760
- import { without } from "lodash";
10761
- import defaults from "lodash/defaults";
10762
- import isNil2 from "lodash/isNil";
10763
- import omit6 from "lodash/omit";
10749
+ import { defaults, isNil as isNil2, omit as omit6, without } from "lodash-es";
10764
10750
  var hasIconProperty = (val) => {
10765
10751
  var _a;
10766
10752
  return typeof val === "string" || ((_a = val == null ? void 0 : val.icon) == null ? void 0 : _a.body) !== void 0;
@@ -11077,7 +11063,7 @@ var Pagination = ({
11077
11063
 
11078
11064
  // src/molecules/Pagination/usePagination.tsx
11079
11065
  import { useEffect as useEffect7, useState as useState9 } from "react";
11080
- import clamp2 from "lodash/clamp";
11066
+ import { clamp as clamp2 } from "lodash-es";
11081
11067
  var initialState = {
11082
11068
  currentPage: 1,
11083
11069
  pageSize: 10
@@ -11550,7 +11536,7 @@ DataList.Toolbar = {
11550
11536
  // src/utils/stickyStyles.tsx
11551
11537
  import React64, { useMemo as useMemo3, useState as useState10 } from "react";
11552
11538
  import { animated as animated4, useScroll, useSpring as useSpring3 } from "@react-spring/web";
11553
- import throttle from "lodash/throttle";
11539
+ import { throttle } from "lodash-es";
11554
11540
  function useStickyStyles(scrollProgress, axis, { borderColor, boxShadowColor }) {
11555
11541
  const { startValue, endValue } = useMemo3(() => {
11556
11542
  if (scrollProgress === null) {
@@ -11721,7 +11707,7 @@ var sortRowsBy = (rows, sort) => {
11721
11707
 
11722
11708
  // src/molecules/DataList/DataListComponents.tsx
11723
11709
  import React68 from "react";
11724
- import isFunction from "lodash/isFunction";
11710
+ import { isFunction } from "lodash-es";
11725
11711
 
11726
11712
  // src/molecules/DropdownMenu/DropdownMenu.tsx
11727
11713
  import React67, { useCallback as useCallback2 } from "react";
@@ -11733,7 +11719,7 @@ import { mergeProps as mergeProps2 } from "@react-aria/utils";
11733
11719
  import { Item as Item4, Section } from "@react-stately/collections";
11734
11720
  import { useMenuTriggerState } from "@react-stately/menu";
11735
11721
  import { useTreeState } from "@react-stately/tree";
11736
- import omit7 from "lodash/omit";
11722
+ import { omit as omit7 } from "lodash-es";
11737
11723
 
11738
11724
  // src/atoms/DropdownMenu/DropdownMenu.tsx
11739
11725
  import React66 from "react";
@@ -12281,7 +12267,7 @@ var useDataListContext = () => {
12281
12267
 
12282
12268
  // src/molecules/DataList/DataListGroup.tsx
12283
12269
  import React69 from "react";
12284
- import isFunction2 from "lodash/isFunction";
12270
+ import { isFunction as isFunction2 } from "lodash-es";
12285
12271
  var import_infoSign3 = __toESM(require_infoSign());
12286
12272
 
12287
12273
  // src/molecules/DataList/utils.ts
@@ -12521,7 +12507,7 @@ var DataListSkeleton = ({ columns = ["1", "2", "2", 52], rows = 5 }) => {
12521
12507
 
12522
12508
  // src/molecules/DataList/DataListToolbar.tsx
12523
12509
  import React71 from "react";
12524
- import castArray from "lodash/castArray";
12510
+ import { castArray } from "lodash-es";
12525
12511
  var DataListToolbar = ({
12526
12512
  actions: _actions,
12527
12513
  menu,
@@ -12843,8 +12829,7 @@ DataList2.Toolbar = DataListToolbar;
12843
12829
  // src/molecules/DataTable/DataTable.tsx
12844
12830
  import React75, { useRef as useRef9 } from "react";
12845
12831
  import classNames9 from "classnames";
12846
- import compact2 from "lodash/compact";
12847
- import isFunction4 from "lodash/isFunction";
12832
+ import { compact as compact2, isFunction as isFunction4 } from "lodash-es";
12848
12833
 
12849
12834
  // src/molecules/Table/Table.tsx
12850
12835
  import React74 from "react";
@@ -13089,7 +13074,7 @@ import {
13089
13074
  } from "react-aria-components";
13090
13075
  import { useLabel as useLabel2 } from "@react-aria/label";
13091
13076
  import { useId as useId10 } from "@react-aria/utils";
13092
- import omit9 from "lodash/omit";
13077
+ import { omit as omit9 } from "lodash-es";
13093
13078
 
13094
13079
  // src/molecules/DateField/DateInput.tsx
13095
13080
  import React76 from "react";
@@ -13169,7 +13154,7 @@ import {
13169
13154
  } from "react-aria-components";
13170
13155
  import { useLabel } from "@react-aria/label";
13171
13156
  import { useId as useId9 } from "@react-aria/utils";
13172
- import omit8 from "lodash/omit";
13157
+ import { omit as omit8 } from "lodash-es";
13173
13158
  function TimeFieldBase(_a) {
13174
13159
  var _b = _a, { disabled, valid } = _b, props = __objRest(_b, ["disabled", "valid"]);
13175
13160
  return /* @__PURE__ */ React78.createElement(AriaTimeField, __spreadProps(__spreadValues({}, props), {
@@ -13389,7 +13374,7 @@ import {
13389
13374
  } from "react-aria-components";
13390
13375
  import { useLabel as useLabel3 } from "@react-aria/label";
13391
13376
  import { useId as useId11 } from "@react-aria/utils";
13392
- import omit10 from "lodash/omit";
13377
+ import { omit as omit10 } from "lodash-es";
13393
13378
  var import_calendar3 = __toESM(require_calendar());
13394
13379
 
13395
13380
  // src/molecules/DatePicker/RangeCalendar.tsx
@@ -13534,7 +13519,7 @@ import { useDialog } from "@react-aria/dialog";
13534
13519
  import { Overlay as Overlay2, useModalOverlay } from "@react-aria/overlays";
13535
13520
  import { useId as useId12 } from "@react-aria/utils";
13536
13521
  import { useOverlayTriggerState as useOverlayTriggerState2 } from "@react-stately/overlays";
13537
- import omit11 from "lodash/omit";
13522
+ import { omit as omit11 } from "lodash-es";
13538
13523
 
13539
13524
  // src/atoms/Dialog/Dialog.tsx
13540
13525
  var import_confirm2 = __toESM(require_confirm());
@@ -13828,8 +13813,7 @@ var DialogWrapper = ({
13828
13813
  import React90 from "react";
13829
13814
  import { Dialog as AriaDialog2, Modal as AriaModal, ModalOverlay as AriaModalOverlay } from "react-aria-components";
13830
13815
  import { animated as animated5, useSpring as useSpring4 } from "@react-spring/web";
13831
- import castArray3 from "lodash/castArray";
13832
- import omit12 from "lodash/omit";
13816
+ import { castArray as castArray3, omit as omit12 } from "lodash-es";
13833
13817
 
13834
13818
  // src/molecules/Modal/ModalTitle.tsx
13835
13819
  import React88 from "react";
@@ -13844,8 +13828,7 @@ var ModalTitle = (_a) => {
13844
13828
 
13845
13829
  // src/molecules/Tabs/Tabs.tsx
13846
13830
  import React89, { useEffect as useEffect8, useLayoutEffect as useLayoutEffect2, useRef as useRef10, useState as useState11 } from "react";
13847
- import isNumber5 from "lodash/isNumber";
13848
- import kebabCase from "lodash/kebabCase";
13831
+ import { isNumber as isNumber5, kebabCase } from "lodash-es";
13849
13832
  var import_chevronLeft5 = __toESM(require_chevronLeft());
13850
13833
  var import_chevronRight5 = __toESM(require_chevronRight());
13851
13834
  var import_warningSign4 = __toESM(require_warningSign());
@@ -14255,7 +14238,7 @@ import { useOverlayTrigger } from "@react-aria/overlays";
14255
14238
  import { mergeProps as mergeProps3 } from "@react-aria/utils";
14256
14239
  import { useOverlayTriggerState as useOverlayTriggerState3 } from "@react-stately/overlays";
14257
14240
  import classNames10 from "classnames";
14258
- import omit13 from "lodash/omit";
14241
+ import { omit as omit13 } from "lodash-es";
14259
14242
 
14260
14243
  // src/molecules/Popover/Dialog.tsx
14261
14244
  import React91 from "react";
@@ -14760,8 +14743,7 @@ var ListItem = ({ name, icon, active = false }) => {
14760
14743
  // src/molecules/Modal/Modal.tsx
14761
14744
  import React102 from "react";
14762
14745
  import { Dialog as AriaDialog3, Modal as AriaModal2, ModalOverlay as AriaModalOverlay2 } from "react-aria-components";
14763
- import castArray4 from "lodash/castArray";
14764
- import omit14 from "lodash/omit";
14746
+ import { castArray as castArray4, omit as omit14 } from "lodash-es";
14765
14747
  var import_cross7 = __toESM(require_cross());
14766
14748
  var Modal2 = ({
14767
14749
  open,
@@ -14830,9 +14812,7 @@ var ModalTabs = createTabsComponent(
14830
14812
  // src/molecules/MultiInput/MultiInput.tsx
14831
14813
  import React104, { useEffect as useEffect9, useRef as useRef12, useState as useState12 } from "react";
14832
14814
  import { useId as useId13 } from "@react-aria/utils";
14833
- import castArray5 from "lodash/castArray";
14834
- import identity from "lodash/identity";
14835
- import omit15 from "lodash/omit";
14815
+ import { castArray as castArray5, identity, omit as omit15 } from "lodash-es";
14836
14816
 
14837
14817
  // src/molecules/MultiInput/InputChip.tsx
14838
14818
  import React103 from "react";
@@ -15095,10 +15075,7 @@ import React105, { useEffect as useEffect10, useRef as useRef13, useState as use
15095
15075
  import { ariaHideOutside as ariaHideOutside2 } from "@react-aria/overlays";
15096
15076
  import { useId as useId14 } from "@react-aria/utils";
15097
15077
  import { useCombobox as useCombobox2, useMultipleSelection } from "downshift";
15098
- import isEqual from "lodash/isEqual";
15099
- import isNil3 from "lodash/isNil";
15100
- import omit16 from "lodash/omit";
15101
- import omitBy from "lodash/omitBy";
15078
+ import { isEqual, isNil as isNil3, omit as omit16, omitBy } from "lodash-es";
15102
15079
  import { matchSorter as matchSorter2 } from "match-sorter";
15103
15080
  var MultiSelectBase = (_a) => {
15104
15081
  var _b = _a, {
@@ -15358,8 +15335,7 @@ MultiSelect.Skeleton.displayName = "MultiSelect.Skeleton";
15358
15335
  // src/molecules/NativeSelect/NativeSelect.tsx
15359
15336
  import React106 from "react";
15360
15337
  import { useId as useId15 } from "@react-aria/utils";
15361
- import omit17 from "lodash/omit";
15362
- import uniqueId from "lodash/uniqueId";
15338
+ import { omit as omit17, uniqueId } from "lodash-es";
15363
15339
  var import_caretDown2 = __toESM(require_caretDown());
15364
15340
  var NativeSelectBase = React106.forwardRef(
15365
15341
  (_a, ref) => {
@@ -15563,7 +15539,7 @@ Navigation2.Section = Navigation.Section;
15563
15539
 
15564
15540
  // src/molecules/PageHeader/PageHeader.tsx
15565
15541
  import React110 from "react";
15566
- import castArray6 from "lodash/castArray";
15542
+ import { castArray as castArray6 } from "lodash-es";
15567
15543
 
15568
15544
  // src/atoms/PageHeader/PageHeader.tsx
15569
15545
  import React109 from "react";
@@ -15676,7 +15652,7 @@ PageHeader2.SubHeader.displayName = "PageHeader.SubHeader";
15676
15652
 
15677
15653
  // src/molecules/PopoverDialog/PopoverDialog.tsx
15678
15654
  import React112 from "react";
15679
- import omit18 from "lodash/omit";
15655
+ import { omit as omit18 } from "lodash-es";
15680
15656
 
15681
15657
  // src/atoms/PopoverDialog/PopoverDialog.tsx
15682
15658
  import React111 from "react";
@@ -15760,7 +15736,7 @@ import React114 from "react";
15760
15736
 
15761
15737
  // src/atoms/ProgressBar/ProgressBar.tsx
15762
15738
  import React113 from "react";
15763
- import clamp3 from "lodash/clamp";
15739
+ import { clamp as clamp3 } from "lodash-es";
15764
15740
  var ProgressBar = (_a) => {
15765
15741
  var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
15766
15742
  return /* @__PURE__ */ React113.createElement("div", __spreadProps(__spreadValues({}, rest), {
@@ -15964,8 +15940,7 @@ import React121, { useRef as useRef14 } from "react";
15964
15940
  import { useButton as useButton4 } from "@react-aria/button";
15965
15941
  import { useId as useId17 } from "@react-aria/utils";
15966
15942
  import { animated as animated6, useSpring as useSpring5 } from "@react-spring/web";
15967
- import castArray7 from "lodash/castArray";
15968
- import isUndefined9 from "lodash/isUndefined";
15943
+ import { castArray as castArray7, isUndefined as isUndefined9 } from "lodash-es";
15969
15944
 
15970
15945
  // src/molecules/Switch/Switch.tsx
15971
15946
  import React118 from "react";
@@ -16544,8 +16519,7 @@ SwitchGroup.Skeleton.displayName = "SwitchGroup.Skeleton";
16544
16519
  // src/molecules/Textarea/Textarea.tsx
16545
16520
  import React126, { useState as useState15 } from "react";
16546
16521
  import { useId as useId19 } from "@react-aria/utils";
16547
- import omit19 from "lodash/omit";
16548
- import toString2 from "lodash/toString";
16522
+ import { omit as omit19, toString as toString2 } from "lodash-es";
16549
16523
  var TextareaBase = React126.forwardRef(
16550
16524
  (_a, ref) => {
16551
16525
  var _b = _a, { readOnly = false, valid = true } = _b, props = __objRest(_b, ["readOnly", "valid"]);
@@ -16764,18 +16738,20 @@ var ItemList = (_a) => {
16764
16738
  columns,
16765
16739
  items,
16766
16740
  onSortChanged,
16767
- sticky
16741
+ sticky,
16742
+ defaultSort
16768
16743
  } = _b, infiniteProps = __objRest(_b, [
16769
16744
  "columns",
16770
16745
  "items",
16771
16746
  "onSortChanged",
16772
- "sticky"
16747
+ "sticky",
16748
+ "defaultSort"
16773
16749
  ]);
16774
16750
  const templateColumns = columns.map((column) => {
16775
16751
  var _a2;
16776
16752
  return (_a2 = column.width) != null ? _a2 : "auto";
16777
16753
  });
16778
- const [sortState, setSortState] = useSortState();
16754
+ const [sortState, setSortState] = useSortState(defaultSort);
16779
16755
  const sortedItems = onSortChanged ? items : sortByColumn(items, columns, sortState);
16780
16756
  return /* @__PURE__ */ React132.createElement(Template, {
16781
16757
  className: "Aquarium-ItemList",