@majoo-ui/react 1.58.4-rc.2 → 1.58.4

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/index.umd.js CHANGED
@@ -1333,7 +1333,7 @@
1333
1333
  bgDark: '#FFFFFF'
1334
1334
  }
1335
1335
  });
1336
- var colors$7 = core.foundations.colors;
1336
+ var colors$8 = core.foundations.colors;
1337
1337
 
1338
1338
  const normalize = {
1339
1339
  '*,::before,::after': {
@@ -3298,7 +3298,7 @@
3298
3298
  columnNumber: 17
3299
3299
  }
3300
3300
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3301
- color: colors$7.iconSecondary,
3301
+ color: colors$8.iconSecondary,
3302
3302
  size: "16px",
3303
3303
  __self: undefined,
3304
3304
  __source: {
@@ -3777,7 +3777,7 @@
3777
3777
  columnNumber: 7
3778
3778
  }
3779
3779
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3780
- color: colors$7.iconSecondary,
3780
+ color: colors$8.iconSecondary,
3781
3781
  size: "16px",
3782
3782
  __self: undefined,
3783
3783
  __source: {
@@ -3864,7 +3864,7 @@
3864
3864
  columnNumber: 9
3865
3865
  }
3866
3866
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3867
- color: colors$7.iconSecondary,
3867
+ color: colors$8.iconSecondary,
3868
3868
  size: "16px",
3869
3869
  __self: undefined,
3870
3870
  __source: {
@@ -10304,7 +10304,7 @@
10304
10304
  }
10305
10305
  }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
10306
10306
  size: 16,
10307
- color: colors$7.iconSecondary,
10307
+ color: colors$8.iconSecondary,
10308
10308
  style: {
10309
10309
  verticalAlign: 'middle'
10310
10310
  },
@@ -10838,7 +10838,7 @@
10838
10838
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
10839
10839
  var _jsxFileName$z = "/Users/ryanakbar20/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
10840
10840
  const {
10841
- colors: colors$6
10841
+ colors: colors$7
10842
10842
  } = core.foundations;
10843
10843
  const InputSearchbox = _ref => {
10844
10844
  var _props$value;
@@ -10914,7 +10914,7 @@
10914
10914
  }
10915
10915
  })), /*#__PURE__*/React__default["default"].createElement(InputRightElement, {
10916
10916
  children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default["default"].createElement(SvgCloseFilled, {
10917
- color: colors$6.iconSecondary,
10917
+ color: colors$7.iconSecondary,
10918
10918
  __self: undefined,
10919
10919
  __source: {
10920
10920
  fileName: _jsxFileName$z,
@@ -11572,7 +11572,7 @@
11572
11572
  readOnly: readOnly
11573
11573
  }, {
11574
11574
  children: jsxRuntime.jsx(icons.CaretDownOutline, {
11575
- color: readOnly ? colors$7.gray300 : iconColor
11575
+ color: readOnly ? colors$8.gray300 : iconColor
11576
11576
  }, void 0)
11577
11577
  }), void 0);
11578
11578
  };
@@ -11787,7 +11787,7 @@
11787
11787
  }, {
11788
11788
  children: jsxRuntime.jsx(icons.CircleInfoOutline, {
11789
11789
  size: "16px",
11790
- color: colors$7.iconDisable,
11790
+ color: colors$8.iconDisable,
11791
11791
  style: {
11792
11792
  verticalAlign: 'text-bottom'
11793
11793
  }
@@ -13236,7 +13236,7 @@
13236
13236
  color: '$textDisable',
13237
13237
  display: 'inline-flex'
13238
13238
  });
13239
- const IndeterminateFilled = styled('div', {
13239
+ const IndeterminateFilled$1 = styled('div', {
13240
13240
  width: 16,
13241
13241
  height: 16,
13242
13242
  background: '$primary500',
@@ -13661,7 +13661,7 @@
13661
13661
  columnNumber: 11
13662
13662
  }
13663
13663
  }), /*#__PURE__*/React__default["default"].createElement(IconCaretDown, {
13664
- color: disabled || readOnly ? colors$7.iconDisable : colors$7.iconPrimary,
13664
+ color: disabled || readOnly ? colors$8.iconDisable : colors$8.iconPrimary,
13665
13665
  __self: undefined,
13666
13666
  __source: {
13667
13667
  fileName: _jsxFileName$w,
@@ -13780,7 +13780,7 @@
13780
13780
  columnNumber: 19
13781
13781
  }
13782
13782
  }, showAllTags ? /*#__PURE__*/React__default["default"].createElement(icons.ChevronUpOutline, {
13783
- color: colors$7.iconSecondary,
13783
+ color: colors$8.iconSecondary,
13784
13784
  __self: undefined,
13785
13785
  __source: {
13786
13786
  fileName: _jsxFileName$w,
@@ -13788,7 +13788,7 @@
13788
13788
  columnNumber: 23
13789
13789
  }
13790
13790
  }) : /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
13791
- color: colors$7.iconSecondary,
13791
+ color: colors$8.iconSecondary,
13792
13792
  __self: undefined,
13793
13793
  __source: {
13794
13794
  fileName: _jsxFileName$w,
@@ -13947,7 +13947,7 @@
13947
13947
  columnNumber: 23
13948
13948
  }
13949
13949
  }, !(item !== null && item !== void 0 && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
13950
- color: colors$7.iconDisable,
13950
+ color: colors$8.iconDisable,
13951
13951
  __self: undefined,
13952
13952
  __source: {
13953
13953
  fileName: _jsxFileName$w,
@@ -13955,14 +13955,14 @@
13955
13955
  columnNumber: 29
13956
13956
  }
13957
13957
  }) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
13958
- color: colors$7.iconGreen,
13958
+ color: colors$8.iconGreen,
13959
13959
  __self: undefined,
13960
13960
  __source: {
13961
13961
  fileName: _jsxFileName$w,
13962
13962
  lineNumber: 834,
13963
13963
  columnNumber: 31
13964
13964
  }
13965
- })), isShowSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default["default"].createElement(IndeterminateFilled, {
13965
+ })), isShowSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default["default"].createElement(IndeterminateFilled$1, {
13966
13966
  __self: undefined,
13967
13967
  __source: {
13968
13968
  fileName: _jsxFileName$w,
@@ -14020,7 +14020,7 @@
14020
14020
  }
14021
14021
  }, /*#__PURE__*/React__default["default"].createElement(icons.CircleInfoOutline, {
14022
14022
  size: "16px",
14023
- color: colors$7.iconDisable,
14023
+ color: colors$8.iconDisable,
14024
14024
  style: {
14025
14025
  verticalAlign: 'text-bottom'
14026
14026
  },
@@ -14360,7 +14360,7 @@
14360
14360
  columnNumber: 9
14361
14361
  }
14362
14362
  }, /*#__PURE__*/React__default["default"].createElement(icons.CirclePlusOutline, {
14363
- color: colors$7.iconGreen,
14363
+ color: colors$8.iconGreen,
14364
14364
  __self: this,
14365
14365
  __source: {
14366
14366
  fileName: _jsxFileName$u,
@@ -14412,31 +14412,35 @@
14412
14412
  onItemCheck = _a.onItemCheck,
14413
14413
  onItemUncheck = _a.onItemUncheck,
14414
14414
  searchPlaceholder = _a.searchPlaceholder,
14415
+ _c = _a.counterFooter,
14416
+ counterFooter = _c === void 0 ? true : _c,
14415
14417
  counterFooterText = _a.counterFooterText,
14416
- _c = _a.isLoading,
14417
- isLoading = _c === void 0 ? false : _c,
14418
+ _d = _a.isLoading,
14419
+ isLoading = _d === void 0 ? false : _d,
14418
14420
  enabledItems = _a.enabledItems,
14419
14421
  emptyDataMessage = _a.emptyDataMessage,
14420
14422
  value = _a.value,
14421
14423
  fetchData = _a.fetchData,
14422
14424
  onQueryChange = _a.onQueryChange,
14423
14425
  css = _a.css,
14426
+ wrapperCss = _a.wrapperCss,
14424
14427
  defaultSort = _a.defaultSort,
14425
14428
  title = _a.title,
14426
- hideSelectAll = _a.hideSelectAll;
14429
+ hideSelectAll = _a.hideSelectAll,
14430
+ customHeader = _a.customHeader;
14427
14431
  var t = reactI18next.useTranslation(['MajooUI/inputResourceList', 'translation']).t;
14428
- var _d = React.useState([]),
14429
- checkedResources = _d[0],
14430
- setCheckedResources = _d[1];
14431
- var _e = React.useState(),
14432
- query = _e[0],
14433
- setQuery = _e[1];
14434
- var _f = React.useState('asc'),
14435
- sortType = _f[0],
14436
- setSortType = _f[1];
14437
- var _g = React.useState([]),
14438
- data = _g[0],
14439
- setData = _g[1];
14432
+ var _e = React.useState([]),
14433
+ checkedResources = _e[0],
14434
+ setCheckedResources = _e[1];
14435
+ var _f = React.useState(),
14436
+ query = _f[0],
14437
+ setQuery = _f[1];
14438
+ var _g = React.useState('asc'),
14439
+ sortType = _g[0],
14440
+ setSortType = _g[1];
14441
+ var _h = React.useState([]),
14442
+ data = _h[0],
14443
+ setData = _h[1];
14440
14444
  var scrollerRef = React.useRef(null);
14441
14445
  React.useEffect(function () {
14442
14446
  function filterUnique(params) {
@@ -14633,7 +14637,7 @@
14633
14637
  position: 'relative'
14634
14638
  }, css)
14635
14639
  }, {
14636
- children: [onQueryChange && jsxRuntime.jsx(InputSearchbox, {
14640
+ children: [customHeader, onQueryChange && jsxRuntime.jsx(InputSearchbox, {
14637
14641
  size: "lg",
14638
14642
  placeholder: searchPlaceholder || t('placeholder.search', 'Cari ...', {
14639
14643
  ns: 'translation'
@@ -14667,7 +14671,7 @@
14667
14671
  }, {
14668
14672
  children: jsxRuntime.jsx(icons.SortingOutline, {
14669
14673
  size: 16,
14670
- color: colors$7.iconSecondary
14674
+ color: colors$8.iconSecondary
14671
14675
  }, void 0)
14672
14676
  }), void 0)]
14673
14677
  }), void 0), isLoading && jsxRuntime.jsx(Flex$1, __assign({
@@ -14689,7 +14693,7 @@
14689
14693
  children: "Loading .... "
14690
14694
  }), void 0)
14691
14695
  }), void 0), jsxRuntime.jsxs(Box, __assign({
14692
- css: {
14696
+ css: __assign({
14693
14697
  border: '1px solid $gray300',
14694
14698
  padding: '$spacing-05',
14695
14699
  borderRadius: '$lg',
@@ -14697,7 +14701,7 @@
14697
14701
  height: isLoading ? 285 : 'unset',
14698
14702
  overflow: 'auto',
14699
14703
  marginTop: '$spacing-03'
14700
- },
14704
+ }, wrapperCss && wrapperCss),
14701
14705
  ref: scrollerRef
14702
14706
  }, {
14703
14707
  children: [data.length <= 0 && (value || checkedResources).length <= 0 && !isLoading || defaultSort && data.length < 1 ? jsxRuntime.jsx(Flex$1, __assign({
@@ -14737,7 +14741,7 @@
14737
14741
  }, {
14738
14742
  children: defaultSort ? renderWithSorting() : renderWithoutSorting()
14739
14743
  }), void 0)]
14740
- }), void 0), (((value === null || value === void 0 ? void 0 : value.length) || 0) > 0 || checkedResources.length > 0) && jsxRuntime.jsx(Box, __assign({
14744
+ }), void 0), counterFooter && (((value === null || value === void 0 ? void 0 : value.length) || 0) > 0 || checkedResources.length > 0) && jsxRuntime.jsx(Box, __assign({
14741
14745
  css: {
14742
14746
  marginTop: '$spacing-04'
14743
14747
  }
@@ -14752,6 +14756,115 @@
14752
14756
  }), void 0);
14753
14757
  }
14754
14758
 
14759
+ var colors$6 = core.foundations.colors;
14760
+ var IconBox = styled('div', {
14761
+ height: 16,
14762
+ width: 16,
14763
+ cursor: 'pointer',
14764
+ variants: {
14765
+ border: {
14766
+ true: {
14767
+ borderRadius: 3,
14768
+ border: '1.5px solid $gray300'
14769
+ }
14770
+ }
14771
+ }
14772
+ });
14773
+ var IndeterminateFilled = styled('div', {
14774
+ width: 16,
14775
+ height: 16,
14776
+ background: '$primary500',
14777
+ color: '$textWhite',
14778
+ borderRadius: 3,
14779
+ fontSize: 14,
14780
+ display: 'flex',
14781
+ justifyContent: 'center',
14782
+ alignItems: 'center'
14783
+ });
14784
+ var InputResourceListExpandable = function InputResourceListExpandable(_a) {
14785
+ var _b;
14786
+ var renderSelectAll = _a.renderSelectAll,
14787
+ onItemCheck = _a.onItemCheck,
14788
+ onItemUncheck = _a.onItemUncheck,
14789
+ value = _a.value,
14790
+ props = __rest(_a, ["renderSelectAll", "onItemCheck", "onItemUncheck", "value"]);
14791
+ var _c = React.useState(false),
14792
+ expand = _c[0],
14793
+ setExpand = _c[1];
14794
+ var _d = React.useState(value || []),
14795
+ checkedItem = _d[0],
14796
+ setCheckedItem = _d[1];
14797
+ var handleChecked = function handleChecked(item) {
14798
+ onItemCheck(item);
14799
+ setCheckedItem(function (current) {
14800
+ return __spreadArray(__spreadArray([], current, true), [item], false);
14801
+ });
14802
+ };
14803
+ var handleUnChecked = function handleUnChecked(item) {
14804
+ onItemUncheck(item);
14805
+ setCheckedItem(function (current) {
14806
+ return current.filter(function (currItem) {
14807
+ return currItem.value !== item.value;
14808
+ });
14809
+ });
14810
+ };
14811
+ var handleCheckedAll = function handleCheckedAll() {
14812
+ var _a, _b, _c;
14813
+ if ((checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length) && !((_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a.length)) {
14814
+ for (var i = 0; i < (checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length); i++) {
14815
+ var item = checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem[i];
14816
+ handleUnChecked(item);
14817
+ }
14818
+ } else {
14819
+ for (var i = 0; i < ((_b = props === null || props === void 0 ? void 0 : props.data) === null || _b === void 0 ? void 0 : _b.length); i++) {
14820
+ var item = (_c = props === null || props === void 0 ? void 0 : props.data) === null || _c === void 0 ? void 0 : _c[i];
14821
+ handleChecked(item);
14822
+ }
14823
+ }
14824
+ };
14825
+ return jsxRuntime.jsxs(Box, {
14826
+ children: [jsxRuntime.jsxs(Flex$1, __assign({
14827
+ justify: "between",
14828
+ align: "start"
14829
+ }, {
14830
+ children: [jsxRuntime.jsxs(Flex$1, __assign({
14831
+ gap: 5
14832
+ }, {
14833
+ children: [jsxRuntime.jsx(IconBox, __assign({
14834
+ onClick: handleCheckedAll,
14835
+ border: Boolean(!(checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length))
14836
+ }, {
14837
+ children: (checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length) && !((_b = props === null || props === void 0 ? void 0 : props.data) === null || _b === void 0 ? void 0 : _b.length) ? jsxRuntime.jsx(CheckOutline, {
14838
+ color: colors$6.iconGreen
14839
+ }, void 0) : (checkedItem === null || checkedItem === void 0 ? void 0 : checkedItem.length) ? jsxRuntime.jsx(IndeterminateFilled, {
14840
+ children: "-"
14841
+ }, void 0) : ''
14842
+ }), void 0), renderSelectAll]
14843
+ }), void 0), jsxRuntime.jsx(Box, __assign({
14844
+ css: {
14845
+ cursor: 'pointer'
14846
+ },
14847
+ onClick: function () {
14848
+ return setExpand(!expand);
14849
+ }
14850
+ }, {
14851
+ children: expand ? jsxRuntime.jsx(icons.ChevronUpOutline, {}, void 0) : jsxRuntime.jsx(icons.ChevronDownOutline, {}, void 0)
14852
+ }), void 0)]
14853
+ }), void 0), jsxRuntime.jsx(Box, {
14854
+ children: expand && jsxRuntime.jsx(InputResourceList, __assign({}, props, {
14855
+ value: checkedItem,
14856
+ onItemCheck: handleChecked,
14857
+ onItemUncheck: handleUnChecked
14858
+ }), void 0)
14859
+ }, void 0)]
14860
+ }, void 0);
14861
+ };
14862
+ var ResourceList = function ResourceList(_a) {
14863
+ var expandable = _a.expandable,
14864
+ props = __rest(_a, ["expandable"]);
14865
+ return expandable ? jsxRuntime.jsx(InputResourceListExpandable, __assign({}, props), void 0) : jsxRuntime.jsx(InputResourceList, __assign({}, props), void 0);
14866
+ };
14867
+
14755
14868
  var SelectInputSearch = /*#__PURE__*/React__namespace.forwardRef(function (_a, forwardedRef) {
14756
14869
  var _b = _a.showLeadingIcon,
14757
14870
  showLeadingIcon = _b === void 0 ? false : _b,
@@ -15167,7 +15280,7 @@
15167
15280
  }, {
15168
15281
  children: jsxRuntime.jsx(icons.MinusOutline, {
15169
15282
  size: 24,
15170
- color: disabled || disabledDecrement ? colors$7.iconDisable : colors$7.primary500
15283
+ color: disabled || disabledDecrement ? colors$8.iconDisable : colors$8.primary500
15171
15284
  }, void 0)
15172
15285
  }), void 0), jsxRuntime.jsx(Input$4, {
15173
15286
  ref: ref,
@@ -15190,7 +15303,7 @@
15190
15303
  }, {
15191
15304
  children: jsxRuntime.jsx(icons.PlusOutline, {
15192
15305
  size: 24,
15193
- color: disabled || disabledIncrement ? colors$7.iconDisable : colors$7.primary500
15306
+ color: disabled || disabledIncrement ? colors$8.iconDisable : colors$8.primary500
15194
15307
  }, void 0)
15195
15308
  }), void 0)]
15196
15309
  }), void 0);
@@ -15785,7 +15898,7 @@
15785
15898
  columnNumber: 15
15786
15899
  }
15787
15900
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLeftOutline, {
15788
- color: colors$7.iconGreen,
15901
+ color: colors$8.iconGreen,
15789
15902
  __self: this,
15790
15903
  __source: {
15791
15904
  fileName: _jsxFileName$s,
@@ -15815,7 +15928,7 @@
15815
15928
  columnNumber: 15
15816
15929
  }
15817
15930
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronRightOutline, {
15818
- color: colors$7.iconGreen,
15931
+ color: colors$8.iconGreen,
15819
15932
  __self: this,
15820
15933
  __source: {
15821
15934
  fileName: _jsxFileName$s,
@@ -17755,7 +17868,7 @@
17755
17868
  }
17756
17869
  }, /*#__PURE__*/React__default["default"].createElement(InputLeftElement, {
17757
17870
  children: /*#__PURE__*/React__default["default"].createElement(icons.TimeOutline, {
17758
- color: disabled ? colors$7.iconDisable : colors$7.iconPrimary,
17871
+ color: disabled ? colors$8.iconDisable : colors$8.iconPrimary,
17759
17872
  __self: this,
17760
17873
  __source: {
17761
17874
  fileName: _jsxFileName$q,
@@ -19689,7 +19802,7 @@
19689
19802
  columnNumber: 11
19690
19803
  }
19691
19804
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgLeftOutline, {
19692
- color: colors$7.iconGreen,
19805
+ color: colors$8.iconGreen,
19693
19806
  __self: undefined,
19694
19807
  __source: {
19695
19808
  fileName: _jsxFileName$n,
@@ -19718,7 +19831,7 @@
19718
19831
  columnNumber: 11
19719
19832
  }
19720
19833
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgRightOutline, {
19721
- color: colors$7.iconGreen,
19834
+ color: colors$8.iconGreen,
19722
19835
  __self: undefined,
19723
19836
  __source: {
19724
19837
  fileName: _jsxFileName$n,
@@ -19778,7 +19891,7 @@
19778
19891
  columnNumber: 9
19779
19892
  }
19780
19893
  }, icon && /*#__PURE__*/React__default["default"].cloneElement(icon, {
19781
- color: activeTabs === value || isIconHovered ? colors$7.iconGreen : colors$7.iconDisable
19894
+ color: activeTabs === value || isIconHovered ? colors$8.iconGreen : colors$8.iconDisable
19782
19895
  }), (!icon || activeTabs === value) && children)));
19783
19896
  };
19784
19897
  const TabsContent$1 = _ref4 => {
@@ -20564,7 +20677,7 @@
20564
20677
  columnNumber: 5
20565
20678
  }
20566
20679
  }, iconType === 'prev' ? /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeftOutline, {
20567
- color: isHover ? colors$7.iconGreen : colors$7.iconPrimary,
20680
+ color: isHover ? colors$8.iconGreen : colors$8.iconPrimary,
20568
20681
  __self: undefined,
20569
20682
  __source: {
20570
20683
  fileName: _jsxFileName$k,
@@ -20572,7 +20685,7 @@
20572
20685
  columnNumber: 9
20573
20686
  }
20574
20687
  }) : /*#__PURE__*/React__default["default"].createElement(icons.ArrowRightOutline, {
20575
- color: isHover ? colors$7.iconGreen : colors$7.iconPrimary,
20688
+ color: isHover ? colors$8.iconGreen : colors$8.iconPrimary,
20576
20689
  __self: undefined,
20577
20690
  __source: {
20578
20691
  fileName: _jsxFileName$k,
@@ -20705,7 +20818,7 @@
20705
20818
  columnNumber: 17
20706
20819
  }
20707
20820
  }, /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeftOutline, {
20708
- color: currentPage === 1 ? colors$7.iconDisable : colors$7.iconPrimary,
20821
+ color: currentPage === 1 ? colors$8.iconDisable : colors$8.iconPrimary,
20709
20822
  __self: undefined,
20710
20823
  __source: {
20711
20824
  fileName: _jsxFileName$k,
@@ -20782,7 +20895,7 @@
20782
20895
  columnNumber: 17
20783
20896
  }
20784
20897
  }, /*#__PURE__*/React__default["default"].createElement(icons.ArrowRightOutline, {
20785
- color: currentPage === totalPages ? colors$7.iconDisable : colors$7.iconPrimary,
20898
+ color: currentPage === totalPages ? colors$8.iconDisable : colors$8.iconPrimary,
20786
20899
  __self: undefined,
20787
20900
  __source: {
20788
20901
  fileName: _jsxFileName$k,
@@ -21087,7 +21200,7 @@
21087
21200
  columnNumber: 15
21088
21201
  }
21089
21202
  }, selectedLimit.toString()), /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
21090
- color: colors$7.gray400,
21203
+ color: colors$8.gray400,
21091
21204
  __self: this,
21092
21205
  __source: {
21093
21206
  fileName: _jsxFileName$j,
@@ -21400,23 +21513,23 @@
21400
21513
  userSelect: 'none',
21401
21514
  color: '$textPrimary',
21402
21515
  '&[data-disabled]': {
21403
- color: colors$7.gray400,
21516
+ color: colors$8.gray400,
21404
21517
  pointerEvents: 'none'
21405
21518
  },
21406
21519
  '&:hover': {
21407
21520
  cursor: 'pointer',
21408
- backgroundColor: colors$7.gray100
21521
+ backgroundColor: colors$8.gray100
21409
21522
  },
21410
21523
  '&:active': {
21411
- backgroundColor: colors$7.gray150
21524
+ backgroundColor: colors$8.gray150
21412
21525
  },
21413
21526
  '&:focus': {
21414
- backgroundColor: colors$7.gray100
21527
+ backgroundColor: colors$8.gray100
21415
21528
  }
21416
21529
  });
21417
21530
  var ContextMenuSeparator = styled('div', {
21418
21531
  height: 1,
21419
- backgroundColor: colors$7.gray150,
21532
+ backgroundColor: colors$8.gray150,
21420
21533
  margin: 5
21421
21534
  });
21422
21535
 
@@ -21742,7 +21855,7 @@
21742
21855
  justify: "between",
21743
21856
  gap: 5,
21744
21857
  css: {
21745
- backgroundColor: colors$7.bgGray,
21858
+ backgroundColor: colors$8.bgGray,
21746
21859
  padding: "$spacing-04 $spacing-05 ".concat('selection' in row.values ? '$spacing-04 $spacing-07' : ''),
21747
21860
  borderBottom: '1pt solid $bgBorder',
21748
21861
  alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
@@ -21777,7 +21890,7 @@
21777
21890
  gap: 3,
21778
21891
  css: {
21779
21892
  height: '40px',
21780
- backgroundColor: colors$7.bgGray,
21893
+ backgroundColor: colors$8.bgGray,
21781
21894
  paddingRight: '$spacing-04'
21782
21895
  }
21783
21896
  }, {
@@ -22792,7 +22905,7 @@
22792
22905
  children: [leftAddOnCells.map(function (_, index) {
22793
22906
  return jsxRuntime.jsx("td", {
22794
22907
  style: {
22795
- backgroundColor: colors$7.bgGray
22908
+ backgroundColor: colors$8.bgGray
22796
22909
  }
22797
22910
  }, index);
22798
22911
  }), jsxRuntime.jsxs(React__namespace.Fragment, {
@@ -23537,7 +23650,7 @@
23537
23650
  });
23538
23651
  const StyledOverlay = styled(ADialog__namespace.Overlay, {
23539
23652
  zIndex: 1,
23540
- backgroundColor: colors$7.bgDimmer,
23653
+ backgroundColor: colors$8.bgDimmer,
23541
23654
  position: 'fixed',
23542
23655
  inset: 0,
23543
23656
  '@media (prefers-reduced-motion: no-preference)': {
@@ -23570,14 +23683,14 @@
23570
23683
  display: 'flex',
23571
23684
  flexDirection: 'row',
23572
23685
  justifyContent: 'space-between',
23573
- color: colors$7.gray900,
23686
+ color: colors$8.gray900,
23574
23687
  fontSize: 17,
23575
23688
  fontWeight: 500
23576
23689
  });
23577
23690
  const StyledDescription$1 = styled(ADialog__namespace.Description, {
23578
23691
  mx: 24,
23579
23692
  my: 20,
23580
- color: colors$7.gray900,
23693
+ color: colors$8.gray900,
23581
23694
  fontSize: 15,
23582
23695
  lineHeight: 1.5
23583
23696
  });
@@ -24234,17 +24347,17 @@
24234
24347
  position: 'relative',
24235
24348
  userSelect: 'none',
24236
24349
  '&[data-disabled]': {
24237
- color: colors$7.gray400,
24350
+ color: colors$8.gray400,
24238
24351
  pointerEvents: 'none'
24239
24352
  },
24240
24353
  '&:hover': {
24241
24354
  cursor: 'pointer'
24242
24355
  },
24243
24356
  '&:active': {
24244
- backgroundColor: colors$7.gray150
24357
+ backgroundColor: colors$8.gray150
24245
24358
  },
24246
24359
  '&:focus': {
24247
- backgroundColor: colors$7.gray100
24360
+ backgroundColor: colors$8.gray100
24248
24361
  }
24249
24362
  };
24250
24363
  const StyledItem = styled(DropdownMenuPrimitive__namespace.Item, Object.assign({}, itemStyles));
@@ -24261,11 +24374,11 @@
24261
24374
  padding: '8px 0',
24262
24375
  fontSize: 12,
24263
24376
  lineHeight: '25px',
24264
- color: colors$7.gray700
24377
+ color: colors$8.gray700
24265
24378
  });
24266
24379
  const StyledSeparator = styled(DropdownMenuPrimitive__namespace.Separator, {
24267
24380
  height: 1,
24268
- backgroundColor: colors$7.gray150,
24381
+ backgroundColor: colors$8.gray150,
24269
24382
  margin: 5
24270
24383
  });
24271
24384
  const StyledItemIndicator = styled(DropdownMenuPrimitive__namespace.ItemIndicator, {
@@ -24362,7 +24475,7 @@
24362
24475
  color: 'white'
24363
24476
  },
24364
24477
  '[data-disabled] &': {
24365
- color: colors$7.gray400
24478
+ color: colors$8.gray400
24366
24479
  }
24367
24480
  });
24368
24481
  const StyledDropdown = styled(Button$4, {
@@ -28170,7 +28283,7 @@
28170
28283
  buttonType: "secondary"
28171
28284
  }, {
28172
28285
  children: jsxRuntime.jsx(icons.ChevronLeftOutline, {
28173
- color: colors$7.btnPrimary
28286
+ color: colors$8.btnPrimary
28174
28287
  }, void 0)
28175
28288
  }), void 0), jsxRuntime.jsxs(Flex$1, __assign({
28176
28289
  align: "center",
@@ -28230,7 +28343,7 @@
28230
28343
  buttonType: "secondary"
28231
28344
  }, {
28232
28345
  children: jsxRuntime.jsx(icons.ChevronRightOutline, {
28233
- color: colors$7.btnPrimary
28346
+ color: colors$8.btnPrimary
28234
28347
  }, void 0)
28235
28348
  }), void 0)]
28236
28349
  }), void 0);
@@ -31309,7 +31422,7 @@
31309
31422
  marginRight: 9
31310
31423
  },
31311
31424
  size: "24",
31312
- color: colors$7.bgGreen,
31425
+ color: colors$8.bgGreen,
31313
31426
  __self: undefined,
31314
31427
  __source: {
31315
31428
  fileName: _jsxFileName$4,
@@ -31330,7 +31443,7 @@
31330
31443
  margin: '0 9px'
31331
31444
  },
31332
31445
  size: "20",
31333
- color: colors$7.iconSecondary,
31446
+ color: colors$8.iconSecondary,
31334
31447
  __self: undefined,
31335
31448
  __source: {
31336
31449
  fileName: _jsxFileName$4,
@@ -31402,7 +31515,7 @@
31402
31515
  }
31403
31516
  }, /*#__PURE__*/React__default["default"].createElement(StyledCircleInfoOutline, {
31404
31517
  size: "20",
31405
- color: colors$7.iconPrimary,
31518
+ color: colors$8.iconPrimary,
31406
31519
  __self: undefined,
31407
31520
  __source: {
31408
31521
  fileName: _jsxFileName$4,
@@ -31829,10 +31942,10 @@
31829
31942
  const DesktopContainer = styled(Flex$1, {
31830
31943
  display: 'none',
31831
31944
  '& .active-scroll-spy': {
31832
- borderLeft: `4px solid ${colors$7.primary500} !important`
31945
+ borderLeft: `4px solid ${colors$8.primary500} !important`
31833
31946
  },
31834
31947
  '& .active-scroll-spy .link-title': {
31835
- color: `${colors$7.primary500} !important`
31948
+ color: `${colors$8.primary500} !important`
31836
31949
  },
31837
31950
  '@md': {
31838
31951
  display: 'unset'
@@ -31840,7 +31953,7 @@
31840
31953
  });
31841
31954
  const MobileContainer = styled(Flex$1, {
31842
31955
  backgroundColor: '$white',
31843
- border: `1px solid ${colors$7.gray150}`,
31956
+ border: `1px solid ${colors$8.gray150}`,
31844
31957
  borderRadius: 8,
31845
31958
  padding: '8px 8px',
31846
31959
  width: '100%',
@@ -31967,7 +32080,7 @@
31967
32080
  marginLeft: '-4px !important',
31968
32081
  borderLeftWidth: '4px !important',
31969
32082
  borderLeftStyle: 'solid !important',
31970
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$7.primary500 : 'transparent'} !important`,
32083
+ borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$8.primary500 : 'transparent'} !important`,
31971
32084
  paddingLeft: '16px !important',
31972
32085
  minHeight: 25
31973
32086
  },
@@ -50525,11 +50638,11 @@
50525
50638
  var getColor = function getColor(state) {
50526
50639
  switch (state) {
50527
50640
  case 'error':
50528
- return colors$7.red400;
50641
+ return colors$8.red400;
50529
50642
  case 'active':
50530
- return colors$7.primary500;
50643
+ return colors$8.primary500;
50531
50644
  default:
50532
- return colors$7.gray150;
50645
+ return colors$8.gray150;
50533
50646
  }
50534
50647
  };
50535
50648
  var iconProps = {
@@ -52506,7 +52619,7 @@
52506
52619
  }
52507
52620
  }, void 0) : jsxRuntime.jsx(icons.MinusOutline, {
52508
52621
  size: 16,
52509
- color: colors$7.iconDisable
52622
+ color: colors$8.iconDisable
52510
52623
  }, void 0)
52511
52624
  }, void 0)
52512
52625
  }), index + indexSubRow + 'tb-cell-collapse');
@@ -52812,9 +52925,9 @@
52812
52925
  function getBaseColor(color) {
52813
52926
  switch (color) {
52814
52927
  case 'primary':
52815
- return colors$7.gray300;
52928
+ return colors$8.gray300;
52816
52929
  default:
52817
- return colors$7.gray150;
52930
+ return colors$8.gray150;
52818
52931
  }
52819
52932
  }
52820
52933
  function getSize(size) {
@@ -52978,9 +53091,9 @@
52978
53091
  }
52979
53092
  }, {
52980
53093
  children: [showAllTags ? jsxRuntime.jsx(icons.ChevronUpOutline, {
52981
- color: colors$7.iconSecondary
53094
+ color: colors$8.iconSecondary
52982
53095
  }, void 0) : jsxRuntime.jsx(icons.ChevronDownOutline, {
52983
- color: colors$7.iconSecondary
53096
+ color: colors$8.iconSecondary
52984
53097
  }, void 0), jsxRuntime.jsx(Paragraph, __assign({
52985
53098
  css: {
52986
53099
  fontWeight: 600,
@@ -55128,7 +55241,7 @@
55128
55241
  exports.InputPrefix = InputPrefix;
55129
55242
  exports.InputRadio = InputRadio;
55130
55243
  exports.InputRadioGroup = InputRadioGroup;
55131
- exports.InputResourceList = InputResourceList;
55244
+ exports.InputResourceList = ResourceList;
55132
55245
  exports.InputRightAddon = InputRightAddon;
55133
55246
  exports.InputRightElement = InputRightElement;
55134
55247
  exports.InputSearchbox = InputSearchbox;