@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.
- package/dist/atoms.cjs +44 -48
- package/dist/atoms.mjs +11 -15
- package/dist/charts.cjs +13 -10
- package/dist/charts.mjs +8 -5
- package/dist/src/atoms/Card/Card.js +2 -2
- package/dist/src/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/atoms/Select/Select.js +2 -2
- package/dist/src/atoms/Typography/Typography.js +2 -2
- package/dist/src/charts/AreaChart/AreaChart.d.ts +1 -1
- package/dist/src/charts/BarChart/BarChart.d.ts +1 -1
- package/dist/src/charts/LineChart/LineChart.d.ts +1 -1
- package/dist/src/charts/PieChart/DoughnutChart.d.ts +3 -3
- package/dist/src/charts/PieChart/DoughnutChart.js +2 -2
- package/dist/src/charts/PieChart/PieChart.d.ts +1 -1
- package/dist/src/charts/Tooltip/TooltipContentWrapper.js +2 -2
- package/dist/src/charts/lib/utils.js +2 -3
- package/dist/src/icons/disasterRecovery.js +2 -2
- package/dist/src/molecules/Accordion/Accordion.js +2 -2
- package/dist/src/molecules/Alert/Alert.js +2 -2
- package/dist/src/molecules/Banner/Banner.js +2 -2
- package/dist/src/molecules/Box/Box.js +2 -2
- package/dist/src/molecules/Button/Button.js +2 -2
- package/dist/src/molecules/Chip/Chip.js +2 -2
- package/dist/src/molecules/Combobox/Combobox.js +6 -6
- package/dist/src/molecules/DataList/DataList.js +2 -6
- package/dist/src/molecules/DataList/DataListComponents.js +2 -2
- package/dist/src/molecules/DataList/DataListGroup.js +2 -2
- package/dist/src/molecules/DataList/DataListToolbar.js +2 -2
- package/dist/src/molecules/DataTable/DataTable.js +2 -3
- package/dist/src/molecules/DateField/DateField.js +2 -2
- package/dist/src/molecules/DatePicker/DatePicker.js +2 -2
- package/dist/src/molecules/DatePicker/DateRangePicker.js +2 -2
- package/dist/src/molecules/Dialog/Dialog.js +2 -2
- package/dist/src/molecules/Drawer/Drawer.js +2 -3
- package/dist/src/molecules/DropdownMenu/DropdownMenu.js +2 -2
- package/dist/src/molecules/Grid/Grid.js +2 -4
- package/dist/src/molecules/Input/Input.js +2 -3
- package/dist/src/molecules/ItemList/ItemList.d.ts +5 -1
- package/dist/src/molecules/ItemList/ItemList.js +3 -3
- package/dist/src/molecules/List/List.js +2 -3
- package/dist/src/molecules/Modal/Modal.js +2 -3
- package/dist/src/molecules/MultiInput/MultiInput.js +2 -4
- package/dist/src/molecules/MultiSelect/MultiSelect.js +2 -5
- package/dist/src/molecules/NativeSelect/NativeSelect.js +2 -3
- package/dist/src/molecules/PageHeader/PageHeader.js +2 -2
- package/dist/src/molecules/Pagination/Pagination.js +2 -2
- package/dist/src/molecules/Pagination/usePagination.js +2 -2
- package/dist/src/molecules/Popover/Popover.js +2 -2
- package/dist/src/molecules/PopoverDialog/PopoverDialog.js +2 -2
- package/dist/src/molecules/Section/Section.js +2 -3
- package/dist/src/molecules/Select/Select.js +2 -5
- package/dist/src/molecules/Skeleton/Skeleton.js +2 -3
- package/dist/src/molecules/Tabs/Tabs.js +3 -4
- package/dist/src/molecules/Tailwindify/Tailwindify.js +2 -3
- package/dist/src/molecules/Textarea/Textarea.js +2 -3
- package/dist/src/molecules/TimeField/TimeField.js +2 -2
- package/dist/src/molecules/Toast/Toast.js +2 -2
- package/dist/src/utils/actions.js +2 -2
- package/dist/src/utils/form/HelperText/HelperText.js +2 -2
- package/dist/src/utils/stickyStyles.js +2 -2
- package/dist/styles.css +0 -3
- package/dist/system.cjs +156 -180
- package/dist/system.mjs +50 -74
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/tailwindGenerated.d.ts +1 -1
- package/package.json +8 -7
- package/dist/src/molecules/ItemList/ItemList.spec.d.ts +0 -24
- package/dist/src/molecules/ItemList/ItemList.spec.js +0 -100
- package/dist/src/utils/mocks/mockDynamicIds.d.ts +0 -1
- package/dist/src/utils/mocks/mockDynamicIds.js +0 -14
- package/dist/src/utils/mocks/mockIntersectionObserver.d.ts +0 -1
- package/dist/src/utils/mocks/mockIntersectionObserver.js +0 -13
- package/dist/src/utils/mocks/mockRecharts.d.ts +0 -1
- package/dist/src/utils/mocks/mockRecharts.js +0 -8
- package/dist/src/utils/mocks/mockResizeObservable.d.ts +0 -1
- package/dist/src/utils/mocks/mockResizeObservable.js +0 -60
- package/dist/src/utils/mocks/mockScrollIntoView.d.ts +0 -1
- package/dist/src/utils/mocks/mockScrollIntoView.js +0 -11
- package/dist/src/utils/setupTests.d.ts +0 -1
- package/dist/src/utils/setupTests.js +0 -25
- 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": '<
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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",
|