@majoo-ui/react 1.55.33 → 1.55.35

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.
@@ -5,6 +5,7 @@ export interface IResource {
5
5
  label: string;
6
6
  variants?: string[];
7
7
  description?: string;
8
+ icon?: () => JSX.Element;
8
9
  }
9
10
  interface IInputResourceListProps {
10
11
  data: IResource[];
package/index.esm.js CHANGED
@@ -1223,7 +1223,7 @@ createTheme({
1223
1223
  bgDark: '#FFFFFF'
1224
1224
  }
1225
1225
  });
1226
- const colors$4 = foundations.colors;
1226
+ const colors$5 = foundations.colors;
1227
1227
 
1228
1228
  const normalize = {
1229
1229
  '*,::before,::after': {
@@ -3181,7 +3181,7 @@ const Toast = _ref => {
3181
3181
  columnNumber: 17
3182
3182
  }
3183
3183
  }, /*#__PURE__*/React.createElement(CloseOutline, {
3184
- color: colors$4.iconSecondary,
3184
+ color: colors$5.iconSecondary,
3185
3185
  size: "16px",
3186
3186
  __self: undefined,
3187
3187
  __source: {
@@ -3599,7 +3599,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3599
3599
  columnNumber: 7
3600
3600
  }
3601
3601
  }, /*#__PURE__*/React.createElement(CloseOutline, {
3602
- color: colors$4.iconSecondary,
3602
+ color: colors$5.iconSecondary,
3603
3603
  size: "16px",
3604
3604
  __self: undefined,
3605
3605
  __source: {
@@ -3676,7 +3676,7 @@ const SingleTagBanner = props => {
3676
3676
  columnNumber: 7
3677
3677
  }
3678
3678
  }, /*#__PURE__*/React.createElement(CloseOutline, {
3679
- color: colors$4.iconSecondary,
3679
+ color: colors$5.iconSecondary,
3680
3680
  size: "16px",
3681
3681
  __self: undefined,
3682
3682
  __source: {
@@ -7680,7 +7680,7 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
7680
7680
  }
7681
7681
  }, /*#__PURE__*/React__default.createElement(CloseOutline, {
7682
7682
  size: 16,
7683
- color: colors$4.iconSecondary,
7683
+ color: colors$5.iconSecondary,
7684
7684
  style: {
7685
7685
  verticalAlign: 'middle'
7686
7686
  },
@@ -8213,6 +8213,9 @@ SvgSearchOutline.defaultProps = {
8213
8213
 
8214
8214
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
8215
8215
  var _jsxFileName$z = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8216
+ const {
8217
+ colors: colors$4
8218
+ } = foundations;
8216
8219
  const InputSearchbox = _ref => {
8217
8220
  var _props$value;
8218
8221
  let {
@@ -8252,7 +8255,7 @@ const InputSearchbox = _ref => {
8252
8255
  __self: undefined,
8253
8256
  __source: {
8254
8257
  fileName: _jsxFileName$z,
8255
- lineNumber: 38,
8258
+ lineNumber: 40,
8256
8259
  columnNumber: 5
8257
8260
  }
8258
8261
  }, /*#__PURE__*/React__default.createElement(InputLeftElement, {
@@ -8260,14 +8263,14 @@ const InputSearchbox = _ref => {
8260
8263
  __self: undefined,
8261
8264
  __source: {
8262
8265
  fileName: _jsxFileName$z,
8263
- lineNumber: 39,
8266
+ lineNumber: 41,
8264
8267
  columnNumber: 35
8265
8268
  }
8266
8269
  }),
8267
8270
  __self: undefined,
8268
8271
  __source: {
8269
8272
  fileName: _jsxFileName$z,
8270
- lineNumber: 39,
8273
+ lineNumber: 41,
8271
8274
  columnNumber: 7
8272
8275
  }
8273
8276
  }), /*#__PURE__*/React__default.createElement(InputText, _extends({
@@ -8282,30 +8285,31 @@ const InputSearchbox = _ref => {
8282
8285
  __self: undefined,
8283
8286
  __source: {
8284
8287
  fileName: _jsxFileName$z,
8285
- lineNumber: 40,
8288
+ lineNumber: 42,
8286
8289
  columnNumber: 7
8287
8290
  }
8288
8291
  })), /*#__PURE__*/React__default.createElement(InputRightElement, {
8289
8292
  children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
8293
+ color: colors$4.iconSecondary,
8290
8294
  __self: undefined,
8291
8295
  __source: {
8292
8296
  fileName: _jsxFileName$z,
8293
- lineNumber: 51,
8297
+ lineNumber: 53,
8294
8298
  columnNumber: 44
8295
8299
  }
8296
8300
  }) : /*#__PURE__*/React__default.createElement("div", {
8297
8301
  __self: undefined,
8298
8302
  __source: {
8299
8303
  fileName: _jsxFileName$z,
8300
- lineNumber: 51,
8301
- columnNumber: 62
8304
+ lineNumber: 53,
8305
+ columnNumber: 91
8302
8306
  }
8303
8307
  }),
8304
8308
  onClick: handleClearButtonClick,
8305
8309
  __self: undefined,
8306
8310
  __source: {
8307
8311
  fileName: _jsxFileName$z,
8308
- lineNumber: 50,
8312
+ lineNumber: 52,
8309
8313
  columnNumber: 7
8310
8314
  }
8311
8315
  }));
@@ -9156,7 +9160,7 @@ function InputSelect(_a) {
9156
9160
  readOnly: readOnly
9157
9161
  }, {
9158
9162
  children: jsx(CaretDownOutline, {
9159
- color: readOnly ? colors$4.gray300 : iconColor
9163
+ color: readOnly ? colors$5.gray300 : iconColor
9160
9164
  }, void 0)
9161
9165
  }), void 0);
9162
9166
  };
@@ -9362,7 +9366,7 @@ function InputSelect(_a) {
9362
9366
  }, {
9363
9367
  children: jsx(CircleInfoOutline, {
9364
9368
  size: "16px",
9365
- color: colors$4.iconDisable,
9369
+ color: colors$5.iconDisable,
9366
9370
  style: {
9367
9371
  verticalAlign: 'text-bottom'
9368
9372
  }
@@ -10297,7 +10301,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10297
10301
  columnNumber: 11
10298
10302
  }
10299
10303
  }), /*#__PURE__*/React__default.createElement(IconCaretDown, {
10300
- color: disabled || readOnly ? colors$4.iconDisable : colors$4.iconPrimary,
10304
+ color: disabled || readOnly ? colors$5.iconDisable : colors$5.iconPrimary,
10301
10305
  __self: undefined,
10302
10306
  __source: {
10303
10307
  fileName: _jsxFileName$w,
@@ -10396,7 +10400,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10396
10400
  columnNumber: 19
10397
10401
  }
10398
10402
  }, showAllTags ? /*#__PURE__*/React__default.createElement(ChevronUpOutline, {
10399
- color: colors$4.iconSecondary,
10403
+ color: colors$5.iconSecondary,
10400
10404
  __self: undefined,
10401
10405
  __source: {
10402
10406
  fileName: _jsxFileName$w,
@@ -10404,7 +10408,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10404
10408
  columnNumber: 23
10405
10409
  }
10406
10410
  }) : /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
10407
- color: colors$4.iconSecondary,
10411
+ color: colors$5.iconSecondary,
10408
10412
  __self: undefined,
10409
10413
  __source: {
10410
10414
  fileName: _jsxFileName$w,
@@ -10506,7 +10510,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10506
10510
  columnNumber: 21
10507
10511
  }
10508
10512
  }, item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
10509
- color: colors$4.iconDisable,
10513
+ color: colors$5.iconDisable,
10510
10514
  __self: undefined,
10511
10515
  __source: {
10512
10516
  fileName: _jsxFileName$w,
@@ -10514,7 +10518,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10514
10518
  columnNumber: 25
10515
10519
  }
10516
10520
  }) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default.createElement(CheckOutline, {
10517
- color: colors$4.iconGreen,
10521
+ color: colors$5.iconGreen,
10518
10522
  __self: undefined,
10519
10523
  __source: {
10520
10524
  fileName: _jsxFileName$w,
@@ -10577,7 +10581,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
10577
10581
  }
10578
10582
  }, /*#__PURE__*/React__default.createElement(CircleInfoOutline, {
10579
10583
  size: "16px",
10580
- color: colors$4.iconDisable,
10584
+ color: colors$5.iconDisable,
10581
10585
  style: {
10582
10586
  verticalAlign: 'text-bottom'
10583
10587
  },
@@ -10907,7 +10911,7 @@ function InputCreatable({
10907
10911
  columnNumber: 9
10908
10912
  }
10909
10913
  }, /*#__PURE__*/React__default.createElement(CirclePlusOutline, {
10910
- color: colors$4.iconGreen,
10914
+ color: colors$5.iconGreen,
10911
10915
  __self: this,
10912
10916
  __source: {
10913
10917
  fileName: _jsxFileName$u,
@@ -10989,34 +10993,44 @@ function InputResourceList({
10989
10993
  }
10990
10994
  }, [defaultSort]);
10991
10995
  const renderCheckbox = (resource, index) => {
10992
- var _a;
10996
+ var _a, _b;
10993
10997
  const isDisabled = enabledItems && (!enabledItems.find(id => id === resource.value) || enabledItems.length === 0);
10994
10998
  return jsxs(Flex$1, Object.assign({
10995
10999
  direction: "column",
10996
11000
  gap: 1
10997
11001
  }, {
10998
- children: [jsx(InputCheckbox, {
10999
- label: jsxs(Flex$1, Object.assign({
11000
- gap: 3
11001
- }, {
11002
- children: [jsx(Paragraph, Object.assign({
11003
- paragraph: "longContentRegular"
11004
- }, {
11005
- children: resource.label
11006
- }), void 0), (_a = resource.variants) === null || _a === void 0 ? void 0 : _a.map((variant, index) => jsx(Tag, Object.assign({
11007
- type: "varian",
11008
- size: "lg",
11009
- css: {
11010
- color: disabled || isDisabled ? '$textDisable' : '$textGreen'
11011
- }
11002
+ children: [jsxs(Flex$1, Object.assign({
11003
+ align: "center"
11004
+ }, {
11005
+ children: [jsx(InputCheckbox, {
11006
+ label: jsxs(Flex$1, Object.assign({
11007
+ gap: 3
11012
11008
  }, {
11013
- children: variant
11014
- }), index))]
11015
- }), void 0),
11016
- index: index,
11017
- value: resource.value,
11018
- disabled: isDisabled
11019
- }, void 0), (resource === null || resource === void 0 ? void 0 : resource.description) && jsx(Paragraph, Object.assign({
11009
+ children: [jsx(Paragraph, Object.assign({
11010
+ paragraph: "longContentRegular"
11011
+ }, {
11012
+ children: resource.label
11013
+ }), void 0), (_a = resource.variants) === null || _a === void 0 ? void 0 : _a.map((variant, index) => jsx(Tag, Object.assign({
11014
+ type: "varian",
11015
+ size: "lg",
11016
+ css: {
11017
+ color: disabled || isDisabled ? '$textDisable' : '$textGreen'
11018
+ }
11019
+ }, {
11020
+ children: variant
11021
+ }), index))]
11022
+ }), void 0),
11023
+ index: index,
11024
+ value: resource.value,
11025
+ disabled: isDisabled
11026
+ }, void 0), (resource === null || resource === void 0 ? void 0 : resource.icon) && jsx(Box, Object.assign({
11027
+ css: {
11028
+ marginLeft: '$spacing-03'
11029
+ }
11030
+ }, {
11031
+ children: (_b = resource === null || resource === void 0 ? void 0 : resource.icon) === null || _b === void 0 ? void 0 : _b.call(resource)
11032
+ }), void 0)]
11033
+ }), void 0), (resource === null || resource === void 0 ? void 0 : resource.description) && jsx(Paragraph, Object.assign({
11020
11034
  css: {
11021
11035
  fontSize: 12,
11022
11036
  paddingLeft: 30
@@ -11158,7 +11172,7 @@ function InputResourceList({
11158
11172
  }, {
11159
11173
  children: jsx(SortingOutline, {
11160
11174
  size: 16,
11161
- color: colors$4.iconSecondary
11175
+ color: colors$5.iconSecondary
11162
11176
  }, void 0)
11163
11177
  }), void 0)]
11164
11178
  }), void 0), isLoading && jsx(Flex$1, Object.assign({
@@ -11660,7 +11674,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
11660
11674
  }, {
11661
11675
  children: jsx(MinusOutline, {
11662
11676
  size: 24,
11663
- color: disabled || disabledDecrement ? colors$4.iconDisable : colors$4.primary500
11677
+ color: disabled || disabledDecrement ? colors$5.iconDisable : colors$5.primary500
11664
11678
  }, void 0)
11665
11679
  }), void 0), jsx(Input$4, {
11666
11680
  ref: ref,
@@ -11683,7 +11697,7 @@ const InputCounter = /*#__PURE__*/forwardRef((props, ref) => {
11683
11697
  }, {
11684
11698
  children: jsx(PlusOutline, {
11685
11699
  size: 24,
11686
- color: disabled || disabledIncrement ? colors$4.iconDisable : colors$4.primary500
11700
+ color: disabled || disabledIncrement ? colors$5.iconDisable : colors$5.primary500
11687
11701
  }, void 0)
11688
11702
  }), void 0)]
11689
11703
  }), void 0);
@@ -12421,7 +12435,7 @@ const TabsList$1 = _ref2 => {
12421
12435
  columnNumber: 11
12422
12436
  }
12423
12437
  }, /*#__PURE__*/React__default.createElement(ChevronLgLeftOutline, {
12424
- color: colors$4.iconGreen,
12438
+ color: colors$5.iconGreen,
12425
12439
  __self: undefined,
12426
12440
  __source: {
12427
12441
  fileName: _jsxFileName$r,
@@ -12450,7 +12464,7 @@ const TabsList$1 = _ref2 => {
12450
12464
  columnNumber: 11
12451
12465
  }
12452
12466
  }, /*#__PURE__*/React__default.createElement(ChevronLgRightOutline, {
12453
- color: colors$4.iconGreen,
12467
+ color: colors$5.iconGreen,
12454
12468
  __self: undefined,
12455
12469
  __source: {
12456
12470
  fileName: _jsxFileName$r,
@@ -12510,7 +12524,7 @@ const TabsTrigger$1 = _ref3 => {
12510
12524
  columnNumber: 9
12511
12525
  }
12512
12526
  }, icon && /*#__PURE__*/React__default.cloneElement(icon, {
12513
- color: activeTabs === value || isIconHovered ? colors$4.iconGreen : colors$4.iconDisable
12527
+ color: activeTabs === value || isIconHovered ? colors$5.iconGreen : colors$5.iconDisable
12514
12528
  }), (!icon || activeTabs === value) && children)));
12515
12529
  };
12516
12530
  const TabsContent$1 = _ref4 => {
@@ -12782,7 +12796,7 @@ function ButtonGroup$1(_ref) {
12782
12796
  columnNumber: 15
12783
12797
  }
12784
12798
  }, /*#__PURE__*/React__default.createElement(ChevronLeftOutline, {
12785
- color: colors$4.iconGreen,
12799
+ color: colors$5.iconGreen,
12786
12800
  __self: this,
12787
12801
  __source: {
12788
12802
  fileName: _jsxFileName$q,
@@ -12812,7 +12826,7 @@ function ButtonGroup$1(_ref) {
12812
12826
  columnNumber: 15
12813
12827
  }
12814
12828
  }, /*#__PURE__*/React__default.createElement(ChevronRightOutline, {
12815
- color: colors$4.iconGreen,
12829
+ color: colors$5.iconGreen,
12816
12830
  __self: this,
12817
12831
  __source: {
12818
12832
  fileName: _jsxFileName$q,
@@ -15583,7 +15597,7 @@ const CalendarBox = ({
15583
15597
  fontWeight: 600
15584
15598
  },
15585
15599
  onClick: onReset,
15586
- disabled: disabled,
15600
+ disabled: disabled || !selected || selected.length <= 1,
15587
15601
  size: "sm",
15588
15602
  type: "button"
15589
15603
  }, {
@@ -16164,7 +16178,7 @@ const MobileCalendarBox = ({
16164
16178
  flex: 1
16165
16179
  },
16166
16180
  onClick: onReset,
16167
- disabled: disabled,
16181
+ disabled: disabled || !selected || selected.length <= 1,
16168
16182
  type: "button"
16169
16183
  }, {
16170
16184
  children: "Reset"
@@ -16193,7 +16207,7 @@ const MobileCalendarBox = ({
16193
16207
  flex: 1
16194
16208
  },
16195
16209
  onClick: onUpdate,
16196
- disabled: disabled,
16210
+ disabled: disabled || !selected || selected.length <= 1,
16197
16211
  type: "button"
16198
16212
  }, {
16199
16213
  children: t('label.process', 'Proses', {
@@ -16616,7 +16630,7 @@ function InputTimePicker({
16616
16630
  }
16617
16631
  }, /*#__PURE__*/React__default.createElement(InputLeftElement, {
16618
16632
  children: /*#__PURE__*/React__default.createElement(TimeOutline, {
16619
- color: disabled ? colors$4.iconDisable : colors$4.iconPrimary,
16633
+ color: disabled ? colors$5.iconDisable : colors$5.iconPrimary,
16620
16634
  __self: this,
16621
16635
  __source: {
16622
16636
  fileName: _jsxFileName$l,
@@ -17848,7 +17862,7 @@ const PaginationButton = ({
17848
17862
  columnNumber: 15
17849
17863
  }
17850
17864
  }, /*#__PURE__*/React__default.createElement(ArrowLeftOutline, {
17851
- color: currentPage === 1 ? colors$4.iconDisable : colors$4.iconPrimary,
17865
+ color: currentPage === 1 ? colors$5.iconDisable : colors$5.iconPrimary,
17852
17866
  __self: undefined,
17853
17867
  __source: {
17854
17868
  fileName: _jsxFileName$k,
@@ -17901,7 +17915,7 @@ const PaginationButton = ({
17901
17915
  columnNumber: 15
17902
17916
  }
17903
17917
  }, /*#__PURE__*/React__default.createElement(ArrowRightOutline, {
17904
- color: currentPage === totalPages ? colors$4.iconDisable : colors$4.iconPrimary,
17918
+ color: currentPage === totalPages ? colors$5.iconDisable : colors$5.iconPrimary,
17905
17919
  __self: undefined,
17906
17920
  __source: {
17907
17921
  fileName: _jsxFileName$k,
@@ -18056,7 +18070,7 @@ function PaginationInfo(_ref) {
18056
18070
  columnNumber: 13
18057
18071
  }
18058
18072
  }, selectedLimit.toString()), /*#__PURE__*/React__default.createElement(ChevronDownOutline, {
18059
- color: colors$4.gray400,
18073
+ color: colors$5.gray400,
18060
18074
  __self: this,
18061
18075
  __source: {
18062
18076
  fileName: _jsxFileName$j,
@@ -18294,23 +18308,23 @@ const ContextMenuItem = styled(Item, {
18294
18308
  userSelect: 'none',
18295
18309
  color: '$textPrimary',
18296
18310
  '&[data-disabled]': {
18297
- color: colors$4.gray400,
18311
+ color: colors$5.gray400,
18298
18312
  pointerEvents: 'none'
18299
18313
  },
18300
18314
  '&:hover': {
18301
18315
  cursor: 'pointer',
18302
- backgroundColor: colors$4.gray100
18316
+ backgroundColor: colors$5.gray100
18303
18317
  },
18304
18318
  '&:active': {
18305
- backgroundColor: colors$4.gray150
18319
+ backgroundColor: colors$5.gray150
18306
18320
  },
18307
18321
  '&:focus': {
18308
- backgroundColor: colors$4.gray100
18322
+ backgroundColor: colors$5.gray100
18309
18323
  }
18310
18324
  });
18311
18325
  const ContextMenuSeparator = styled('div', {
18312
18326
  height: 1,
18313
- backgroundColor: colors$4.gray150,
18327
+ backgroundColor: colors$5.gray150,
18314
18328
  margin: 5
18315
18329
  });
18316
18330
 
@@ -18549,7 +18563,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
18549
18563
  justify: "between",
18550
18564
  gap: 5,
18551
18565
  css: {
18552
- backgroundColor: colors$4.bgGray,
18566
+ backgroundColor: colors$5.bgGray,
18553
18567
  padding: `$spacing-04 $spacing-05 ${'selection' in row.values ? '$spacing-04 $spacing-07' : ''}`,
18554
18568
  borderBottom: '1pt solid $bgBorder',
18555
18569
  alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
@@ -18572,7 +18586,7 @@ const MobileTable = /*#__PURE__*/React__default.forwardRef(({
18572
18586
  gap: 3,
18573
18587
  css: {
18574
18588
  height: '40px',
18575
- backgroundColor: colors$4.bgGray,
18589
+ backgroundColor: colors$5.bgGray,
18576
18590
  paddingRight: '$spacing-04'
18577
18591
  }
18578
18592
  }, {
@@ -19339,7 +19353,7 @@ function Table({
19339
19353
  }, {
19340
19354
  children: [leftAddOnCells.map((_, index) => jsx("td", {
19341
19355
  style: {
19342
- backgroundColor: colors$4.bgGray
19356
+ backgroundColor: colors$5.bgGray
19343
19357
  }
19344
19358
  }, index)), jsxs(React.Fragment, {
19345
19359
  children: [jsx(TableCell$3, Object.assign({
@@ -20457,7 +20471,7 @@ const contentShow = keyframes({
20457
20471
  });
20458
20472
  const StyledOverlay = styled(ADialog.Overlay, {
20459
20473
  zIndex: 1,
20460
- backgroundColor: colors$4.bgDimmer,
20474
+ backgroundColor: colors$5.bgDimmer,
20461
20475
  position: 'fixed',
20462
20476
  inset: 0,
20463
20477
  '@media (prefers-reduced-motion: no-preference)': {
@@ -20490,14 +20504,14 @@ const StyledTitle = styled(ADialog.Title, {
20490
20504
  display: 'flex',
20491
20505
  flexDirection: 'row',
20492
20506
  justifyContent: 'space-between',
20493
- color: colors$4.gray900,
20507
+ color: colors$5.gray900,
20494
20508
  fontSize: 17,
20495
20509
  fontWeight: 500
20496
20510
  });
20497
20511
  const StyledDescription$1 = styled(ADialog.Description, {
20498
20512
  mx: 24,
20499
20513
  my: 20,
20500
- color: colors$4.gray900,
20514
+ color: colors$5.gray900,
20501
20515
  fontSize: 15,
20502
20516
  lineHeight: 1.5
20503
20517
  });
@@ -21122,17 +21136,17 @@ const itemStyles = {
21122
21136
  position: 'relative',
21123
21137
  userSelect: 'none',
21124
21138
  '&[data-disabled]': {
21125
- color: colors$4.gray400,
21139
+ color: colors$5.gray400,
21126
21140
  pointerEvents: 'none'
21127
21141
  },
21128
21142
  '&:hover': {
21129
21143
  cursor: 'pointer'
21130
21144
  },
21131
21145
  '&:active': {
21132
- backgroundColor: colors$4.gray150
21146
+ backgroundColor: colors$5.gray150
21133
21147
  },
21134
21148
  '&:focus': {
21135
- backgroundColor: colors$4.gray100
21149
+ backgroundColor: colors$5.gray100
21136
21150
  }
21137
21151
  };
21138
21152
  const StyledItem = styled(DropdownMenuPrimitive.Item, Object.assign({}, itemStyles));
@@ -21149,11 +21163,11 @@ const StyledLabel = styled(DropdownMenuPrimitive.Label, {
21149
21163
  padding: '8px 0',
21150
21164
  fontSize: 12,
21151
21165
  lineHeight: '25px',
21152
- color: colors$4.gray700
21166
+ color: colors$5.gray700
21153
21167
  });
21154
21168
  const StyledSeparator = styled(DropdownMenuPrimitive.Separator, {
21155
21169
  height: 1,
21156
- backgroundColor: colors$4.gray150,
21170
+ backgroundColor: colors$5.gray150,
21157
21171
  margin: 5
21158
21172
  });
21159
21173
  const StyledItemIndicator = styled(DropdownMenuPrimitive.ItemIndicator, {
@@ -21250,7 +21264,7 @@ const RightSlot = styled('div', {
21250
21264
  color: 'white'
21251
21265
  },
21252
21266
  '[data-disabled] &': {
21253
- color: colors$4.gray400
21267
+ color: colors$5.gray400
21254
21268
  }
21255
21269
  });
21256
21270
  const StyledDropdown = styled(ButtonPrimitive, {
@@ -25002,7 +25016,7 @@ const Device = props => {
25002
25016
  buttonType: "secondary"
25003
25017
  }, {
25004
25018
  children: jsx(ChevronLeftOutline, {
25005
- color: colors$4.btnPrimary
25019
+ color: colors$5.btnPrimary
25006
25020
  }, void 0)
25007
25021
  }), void 0), jsxs(Flex$1, Object.assign({
25008
25022
  align: "center",
@@ -25062,7 +25076,7 @@ const Device = props => {
25062
25076
  buttonType: "secondary"
25063
25077
  }, {
25064
25078
  children: jsx(ChevronRightOutline, {
25065
- color: colors$4.btnPrimary
25079
+ color: colors$5.btnPrimary
25066
25080
  }, void 0)
25067
25081
  }), void 0)]
25068
25082
  }), void 0);
@@ -28141,7 +28155,7 @@ const Navigation = props => {
28141
28155
  marginRight: 9
28142
28156
  },
28143
28157
  size: "24",
28144
- color: colors$4.bgGreen,
28158
+ color: colors$5.bgGreen,
28145
28159
  __self: undefined,
28146
28160
  __source: {
28147
28161
  fileName: _jsxFileName$4,
@@ -28162,7 +28176,7 @@ const Navigation = props => {
28162
28176
  margin: '0 9px'
28163
28177
  },
28164
28178
  size: "20",
28165
- color: colors$4.iconSecondary,
28179
+ color: colors$5.iconSecondary,
28166
28180
  __self: undefined,
28167
28181
  __source: {
28168
28182
  fileName: _jsxFileName$4,
@@ -28234,7 +28248,7 @@ const Navigation = props => {
28234
28248
  }
28235
28249
  }, /*#__PURE__*/React__default.createElement(StyledCircleInfoOutline, {
28236
28250
  size: "20",
28237
- color: colors$4.iconPrimary,
28251
+ color: colors$5.iconPrimary,
28238
28252
  __self: undefined,
28239
28253
  __source: {
28240
28254
  fileName: _jsxFileName$4,
@@ -28661,10 +28675,10 @@ var _jsxFileName$2 = "/Users/apple/Documents/project/majoo/majoo-ui/packages/rea
28661
28675
  const DesktopContainer = styled(Flex$1, {
28662
28676
  display: 'none',
28663
28677
  '& .active-scroll-spy': {
28664
- borderLeft: `4px solid ${colors$4.primary500} !important`
28678
+ borderLeft: `4px solid ${colors$5.primary500} !important`
28665
28679
  },
28666
28680
  '& .active-scroll-spy .link-title': {
28667
- color: `${colors$4.primary500} !important`
28681
+ color: `${colors$5.primary500} !important`
28668
28682
  },
28669
28683
  '@md': {
28670
28684
  display: 'unset'
@@ -28672,7 +28686,7 @@ const DesktopContainer = styled(Flex$1, {
28672
28686
  });
28673
28687
  const MobileContainer = styled(Flex$1, {
28674
28688
  backgroundColor: '$white',
28675
- border: `1px solid ${colors$4.gray150}`,
28689
+ border: `1px solid ${colors$5.gray150}`,
28676
28690
  borderRadius: 8,
28677
28691
  padding: '8px 8px',
28678
28692
  width: '100%',
@@ -28799,7 +28813,7 @@ function Content({
28799
28813
  marginLeft: '-4px !important',
28800
28814
  borderLeftWidth: '4px !important',
28801
28815
  borderLeftStyle: 'solid !important',
28802
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
28816
+ borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$5.primary500 : 'transparent'} !important`,
28803
28817
  paddingLeft: '16px !important',
28804
28818
  minHeight: 25
28805
28819
  },
@@ -30132,11 +30146,11 @@ function ProgressIndicator(props) {
30132
30146
  const getColor = state => {
30133
30147
  switch (state) {
30134
30148
  case 'error':
30135
- return colors$4.red400;
30149
+ return colors$5.red400;
30136
30150
  case 'active':
30137
- return colors$4.primary500;
30151
+ return colors$5.primary500;
30138
30152
  default:
30139
- return colors$4.gray150;
30153
+ return colors$5.gray150;
30140
30154
  }
30141
30155
  };
30142
30156
  const iconProps = {
@@ -32024,7 +32038,7 @@ function CheckboxTable(props) {
32024
32038
  }
32025
32039
  }, void 0) : jsx(MinusOutline, {
32026
32040
  size: 16,
32027
- color: colors$4.iconDisable
32041
+ color: colors$5.iconDisable
32028
32042
  }, void 0)
32029
32043
  }, void 0)
32030
32044
  }), index + indexSubRow + 'tb-cell-collapse');
@@ -32329,9 +32343,9 @@ const StyledSkeleton = props => {
32329
32343
  function getBaseColor(color) {
32330
32344
  switch (color) {
32331
32345
  case 'primary':
32332
- return colors$4.gray300;
32346
+ return colors$5.gray300;
32333
32347
  default:
32334
- return colors$4.gray150;
32348
+ return colors$5.gray150;
32335
32349
  }
32336
32350
  }
32337
32351
  function getSize(size) {
package/index.umd.js CHANGED
@@ -1334,7 +1334,7 @@
1334
1334
  bgDark: '#FFFFFF'
1335
1335
  }
1336
1336
  });
1337
- var colors$4 = core.foundations.colors;
1337
+ var colors$5 = core.foundations.colors;
1338
1338
 
1339
1339
  const normalize = {
1340
1340
  '*,::before,::after': {
@@ -3256,7 +3256,7 @@
3256
3256
  columnNumber: 17
3257
3257
  }
3258
3258
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3259
- color: colors$4.iconSecondary,
3259
+ color: colors$5.iconSecondary,
3260
3260
  size: "16px",
3261
3261
  __self: undefined,
3262
3262
  __source: {
@@ -3674,7 +3674,7 @@
3674
3674
  columnNumber: 7
3675
3675
  }
3676
3676
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3677
- color: colors$4.iconSecondary,
3677
+ color: colors$5.iconSecondary,
3678
3678
  size: "16px",
3679
3679
  __self: undefined,
3680
3680
  __source: {
@@ -3751,7 +3751,7 @@
3751
3751
  columnNumber: 7
3752
3752
  }
3753
3753
  }, /*#__PURE__*/React__namespace.createElement(icons.CloseOutline, {
3754
- color: colors$4.iconSecondary,
3754
+ color: colors$5.iconSecondary,
3755
3755
  size: "16px",
3756
3756
  __self: undefined,
3757
3757
  __source: {
@@ -7756,7 +7756,7 @@
7756
7756
  }
7757
7757
  }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
7758
7758
  size: 16,
7759
- color: colors$4.iconSecondary,
7759
+ color: colors$5.iconSecondary,
7760
7760
  style: {
7761
7761
  verticalAlign: 'middle'
7762
7762
  },
@@ -8289,6 +8289,9 @@
8289
8289
 
8290
8290
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue"];
8291
8291
  var _jsxFileName$z = "/Users/apple/Documents/project/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8292
+ const {
8293
+ colors: colors$4
8294
+ } = core.foundations;
8292
8295
  const InputSearchbox = _ref => {
8293
8296
  var _props$value;
8294
8297
  let {
@@ -8328,7 +8331,7 @@
8328
8331
  __self: undefined,
8329
8332
  __source: {
8330
8333
  fileName: _jsxFileName$z,
8331
- lineNumber: 38,
8334
+ lineNumber: 40,
8332
8335
  columnNumber: 5
8333
8336
  }
8334
8337
  }, /*#__PURE__*/React__default["default"].createElement(InputLeftElement, {
@@ -8336,14 +8339,14 @@
8336
8339
  __self: undefined,
8337
8340
  __source: {
8338
8341
  fileName: _jsxFileName$z,
8339
- lineNumber: 39,
8342
+ lineNumber: 41,
8340
8343
  columnNumber: 35
8341
8344
  }
8342
8345
  }),
8343
8346
  __self: undefined,
8344
8347
  __source: {
8345
8348
  fileName: _jsxFileName$z,
8346
- lineNumber: 39,
8349
+ lineNumber: 41,
8347
8350
  columnNumber: 7
8348
8351
  }
8349
8352
  }), /*#__PURE__*/React__default["default"].createElement(InputText, _extends({
@@ -8358,30 +8361,31 @@
8358
8361
  __self: undefined,
8359
8362
  __source: {
8360
8363
  fileName: _jsxFileName$z,
8361
- lineNumber: 40,
8364
+ lineNumber: 42,
8362
8365
  columnNumber: 7
8363
8366
  }
8364
8367
  })), /*#__PURE__*/React__default["default"].createElement(InputRightElement, {
8365
8368
  children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default["default"].createElement(SvgCloseFilled, {
8369
+ color: colors$4.iconSecondary,
8366
8370
  __self: undefined,
8367
8371
  __source: {
8368
8372
  fileName: _jsxFileName$z,
8369
- lineNumber: 51,
8373
+ lineNumber: 53,
8370
8374
  columnNumber: 44
8371
8375
  }
8372
8376
  }) : /*#__PURE__*/React__default["default"].createElement("div", {
8373
8377
  __self: undefined,
8374
8378
  __source: {
8375
8379
  fileName: _jsxFileName$z,
8376
- lineNumber: 51,
8377
- columnNumber: 62
8380
+ lineNumber: 53,
8381
+ columnNumber: 91
8378
8382
  }
8379
8383
  }),
8380
8384
  onClick: handleClearButtonClick,
8381
8385
  __self: undefined,
8382
8386
  __source: {
8383
8387
  fileName: _jsxFileName$z,
8384
- lineNumber: 50,
8388
+ lineNumber: 52,
8385
8389
  columnNumber: 7
8386
8390
  }
8387
8391
  }));
@@ -9268,7 +9272,7 @@
9268
9272
  readOnly: readOnly
9269
9273
  }, {
9270
9274
  children: jsxRuntime.jsx(icons.CaretDownOutline, {
9271
- color: readOnly ? colors$4.gray300 : iconColor
9275
+ color: readOnly ? colors$5.gray300 : iconColor
9272
9276
  }, void 0)
9273
9277
  }), void 0);
9274
9278
  };
@@ -9480,7 +9484,7 @@
9480
9484
  }, {
9481
9485
  children: jsxRuntime.jsx(icons.CircleInfoOutline, {
9482
9486
  size: "16px",
9483
- color: colors$4.iconDisable,
9487
+ color: colors$5.iconDisable,
9484
9488
  style: {
9485
9489
  verticalAlign: 'text-bottom'
9486
9490
  }
@@ -10415,7 +10419,7 @@
10415
10419
  columnNumber: 11
10416
10420
  }
10417
10421
  }), /*#__PURE__*/React__default["default"].createElement(IconCaretDown, {
10418
- color: disabled || readOnly ? colors$4.iconDisable : colors$4.iconPrimary,
10422
+ color: disabled || readOnly ? colors$5.iconDisable : colors$5.iconPrimary,
10419
10423
  __self: undefined,
10420
10424
  __source: {
10421
10425
  fileName: _jsxFileName$w,
@@ -10514,7 +10518,7 @@
10514
10518
  columnNumber: 19
10515
10519
  }
10516
10520
  }, showAllTags ? /*#__PURE__*/React__default["default"].createElement(icons.ChevronUpOutline, {
10517
- color: colors$4.iconSecondary,
10521
+ color: colors$5.iconSecondary,
10518
10522
  __self: undefined,
10519
10523
  __source: {
10520
10524
  fileName: _jsxFileName$w,
@@ -10522,7 +10526,7 @@
10522
10526
  columnNumber: 23
10523
10527
  }
10524
10528
  }) : /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
10525
- color: colors$4.iconSecondary,
10529
+ color: colors$5.iconSecondary,
10526
10530
  __self: undefined,
10527
10531
  __source: {
10528
10532
  fileName: _jsxFileName$w,
@@ -10624,7 +10628,7 @@
10624
10628
  columnNumber: 21
10625
10629
  }
10626
10630
  }, item.isDisabled ? /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
10627
- color: colors$4.iconDisable,
10631
+ color: colors$5.iconDisable,
10628
10632
  __self: undefined,
10629
10633
  __source: {
10630
10634
  fileName: _jsxFileName$w,
@@ -10632,7 +10636,7 @@
10632
10636
  columnNumber: 25
10633
10637
  }
10634
10638
  }) : selectedValue.includes(item.id) && (item.isDisabled === false || item.isDisabled === undefined) && /*#__PURE__*/React__default["default"].createElement(CheckOutline, {
10635
- color: colors$4.iconGreen,
10639
+ color: colors$5.iconGreen,
10636
10640
  __self: undefined,
10637
10641
  __source: {
10638
10642
  fileName: _jsxFileName$w,
@@ -10695,7 +10699,7 @@
10695
10699
  }
10696
10700
  }, /*#__PURE__*/React__default["default"].createElement(icons.CircleInfoOutline, {
10697
10701
  size: "16px",
10698
- color: colors$4.iconDisable,
10702
+ color: colors$5.iconDisable,
10699
10703
  style: {
10700
10704
  verticalAlign: 'text-bottom'
10701
10705
  },
@@ -11025,7 +11029,7 @@
11025
11029
  columnNumber: 9
11026
11030
  }
11027
11031
  }, /*#__PURE__*/React__default["default"].createElement(icons.CirclePlusOutline, {
11028
- color: colors$4.iconGreen,
11032
+ color: colors$5.iconGreen,
11029
11033
  __self: this,
11030
11034
  __source: {
11031
11035
  fileName: _jsxFileName$u,
@@ -11112,7 +11116,7 @@
11112
11116
  }
11113
11117
  }, [defaultSort]);
11114
11118
  var renderCheckbox = function renderCheckbox(resource, index) {
11115
- var _a;
11119
+ var _a, _b;
11116
11120
  var isDisabled = enabledItems && (!enabledItems.find(function (id) {
11117
11121
  return id === resource.value;
11118
11122
  }) || enabledItems.length === 0);
@@ -11120,30 +11124,40 @@
11120
11124
  direction: "column",
11121
11125
  gap: 1
11122
11126
  }, {
11123
- children: [jsxRuntime.jsx(InputCheckbox, {
11124
- label: jsxRuntime.jsxs(Flex$1, __assign({
11125
- gap: 3
11126
- }, {
11127
- children: [jsxRuntime.jsx(Paragraph, __assign({
11128
- paragraph: "longContentRegular"
11127
+ children: [jsxRuntime.jsxs(Flex$1, __assign({
11128
+ align: "center"
11129
+ }, {
11130
+ children: [jsxRuntime.jsx(InputCheckbox, {
11131
+ label: jsxRuntime.jsxs(Flex$1, __assign({
11132
+ gap: 3
11129
11133
  }, {
11130
- children: resource.label
11131
- }), void 0), (_a = resource.variants) === null || _a === void 0 ? void 0 : _a.map(function (variant, index) {
11132
- return jsxRuntime.jsx(Tag, __assign({
11133
- type: "varian",
11134
- size: "lg",
11135
- css: {
11136
- color: disabled || isDisabled ? '$textDisable' : '$textGreen'
11137
- }
11134
+ children: [jsxRuntime.jsx(Paragraph, __assign({
11135
+ paragraph: "longContentRegular"
11138
11136
  }, {
11139
- children: variant
11140
- }), index);
11141
- })]
11142
- }), void 0),
11143
- index: index,
11144
- value: resource.value,
11145
- disabled: isDisabled
11146
- }, void 0), (resource === null || resource === void 0 ? void 0 : resource.description) && jsxRuntime.jsx(Paragraph, __assign({
11137
+ children: resource.label
11138
+ }), void 0), (_a = resource.variants) === null || _a === void 0 ? void 0 : _a.map(function (variant, index) {
11139
+ return jsxRuntime.jsx(Tag, __assign({
11140
+ type: "varian",
11141
+ size: "lg",
11142
+ css: {
11143
+ color: disabled || isDisabled ? '$textDisable' : '$textGreen'
11144
+ }
11145
+ }, {
11146
+ children: variant
11147
+ }), index);
11148
+ })]
11149
+ }), void 0),
11150
+ index: index,
11151
+ value: resource.value,
11152
+ disabled: isDisabled
11153
+ }, void 0), (resource === null || resource === void 0 ? void 0 : resource.icon) && jsxRuntime.jsx(Box, __assign({
11154
+ css: {
11155
+ marginLeft: '$spacing-03'
11156
+ }
11157
+ }, {
11158
+ children: (_b = resource === null || resource === void 0 ? void 0 : resource.icon) === null || _b === void 0 ? void 0 : _b.call(resource)
11159
+ }), void 0)]
11160
+ }), void 0), (resource === null || resource === void 0 ? void 0 : resource.description) && jsxRuntime.jsx(Paragraph, __assign({
11147
11161
  css: {
11148
11162
  fontSize: 12,
11149
11163
  paddingLeft: 30
@@ -11297,7 +11311,7 @@
11297
11311
  }, {
11298
11312
  children: jsxRuntime.jsx(icons.SortingOutline, {
11299
11313
  size: 16,
11300
- color: colors$4.iconSecondary
11314
+ color: colors$5.iconSecondary
11301
11315
  }, void 0)
11302
11316
  }), void 0)]
11303
11317
  }), void 0), isLoading && jsxRuntime.jsx(Flex$1, __assign({
@@ -11807,7 +11821,7 @@
11807
11821
  }, {
11808
11822
  children: jsxRuntime.jsx(icons.MinusOutline, {
11809
11823
  size: 24,
11810
- color: disabled || disabledDecrement ? colors$4.iconDisable : colors$4.primary500
11824
+ color: disabled || disabledDecrement ? colors$5.iconDisable : colors$5.primary500
11811
11825
  }, void 0)
11812
11826
  }), void 0), jsxRuntime.jsx(Input$4, {
11813
11827
  ref: ref,
@@ -11830,7 +11844,7 @@
11830
11844
  }, {
11831
11845
  children: jsxRuntime.jsx(icons.PlusOutline, {
11832
11846
  size: 24,
11833
- color: disabled || disabledIncrement ? colors$4.iconDisable : colors$4.primary500
11847
+ color: disabled || disabledIncrement ? colors$5.iconDisable : colors$5.primary500
11834
11848
  }, void 0)
11835
11849
  }), void 0)]
11836
11850
  }), void 0);
@@ -12568,7 +12582,7 @@
12568
12582
  columnNumber: 11
12569
12583
  }
12570
12584
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgLeftOutline, {
12571
- color: colors$4.iconGreen,
12585
+ color: colors$5.iconGreen,
12572
12586
  __self: undefined,
12573
12587
  __source: {
12574
12588
  fileName: _jsxFileName$r,
@@ -12597,7 +12611,7 @@
12597
12611
  columnNumber: 11
12598
12612
  }
12599
12613
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLgRightOutline, {
12600
- color: colors$4.iconGreen,
12614
+ color: colors$5.iconGreen,
12601
12615
  __self: undefined,
12602
12616
  __source: {
12603
12617
  fileName: _jsxFileName$r,
@@ -12657,7 +12671,7 @@
12657
12671
  columnNumber: 9
12658
12672
  }
12659
12673
  }, icon && /*#__PURE__*/React__default["default"].cloneElement(icon, {
12660
- color: activeTabs === value || isIconHovered ? colors$4.iconGreen : colors$4.iconDisable
12674
+ color: activeTabs === value || isIconHovered ? colors$5.iconGreen : colors$5.iconDisable
12661
12675
  }), (!icon || activeTabs === value) && children)));
12662
12676
  };
12663
12677
  const TabsContent$1 = _ref4 => {
@@ -12929,7 +12943,7 @@
12929
12943
  columnNumber: 15
12930
12944
  }
12931
12945
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronLeftOutline, {
12932
- color: colors$4.iconGreen,
12946
+ color: colors$5.iconGreen,
12933
12947
  __self: this,
12934
12948
  __source: {
12935
12949
  fileName: _jsxFileName$q,
@@ -12959,7 +12973,7 @@
12959
12973
  columnNumber: 15
12960
12974
  }
12961
12975
  }, /*#__PURE__*/React__default["default"].createElement(icons.ChevronRightOutline, {
12962
- color: colors$4.iconGreen,
12976
+ color: colors$5.iconGreen,
12963
12977
  __self: this,
12964
12978
  __source: {
12965
12979
  fileName: _jsxFileName$q,
@@ -15765,7 +15779,7 @@
15765
15779
  fontWeight: 600
15766
15780
  },
15767
15781
  onClick: onReset,
15768
- disabled: disabled,
15782
+ disabled: disabled || !selected || selected.length <= 1,
15769
15783
  size: "sm",
15770
15784
  type: "button"
15771
15785
  }, {
@@ -16383,7 +16397,7 @@
16383
16397
  flex: 1
16384
16398
  },
16385
16399
  onClick: onReset,
16386
- disabled: disabled,
16400
+ disabled: disabled || !selected || selected.length <= 1,
16387
16401
  type: "button"
16388
16402
  }, {
16389
16403
  children: "Reset"
@@ -16412,7 +16426,7 @@
16412
16426
  flex: 1
16413
16427
  },
16414
16428
  onClick: onUpdate,
16415
- disabled: disabled,
16429
+ disabled: disabled || !selected || selected.length <= 1,
16416
16430
  type: "button"
16417
16431
  }, {
16418
16432
  children: t('label.process', 'Proses', {
@@ -16837,7 +16851,7 @@
16837
16851
  }
16838
16852
  }, /*#__PURE__*/React__default["default"].createElement(InputLeftElement, {
16839
16853
  children: /*#__PURE__*/React__default["default"].createElement(icons.TimeOutline, {
16840
- color: disabled ? colors$4.iconDisable : colors$4.iconPrimary,
16854
+ color: disabled ? colors$5.iconDisable : colors$5.iconPrimary,
16841
16855
  __self: this,
16842
16856
  __source: {
16843
16857
  fileName: _jsxFileName$l,
@@ -18101,7 +18115,7 @@
18101
18115
  columnNumber: 15
18102
18116
  }
18103
18117
  }, /*#__PURE__*/React__default["default"].createElement(icons.ArrowLeftOutline, {
18104
- color: currentPage === 1 ? colors$4.iconDisable : colors$4.iconPrimary,
18118
+ color: currentPage === 1 ? colors$5.iconDisable : colors$5.iconPrimary,
18105
18119
  __self: undefined,
18106
18120
  __source: {
18107
18121
  fileName: _jsxFileName$k,
@@ -18154,7 +18168,7 @@
18154
18168
  columnNumber: 15
18155
18169
  }
18156
18170
  }, /*#__PURE__*/React__default["default"].createElement(icons.ArrowRightOutline, {
18157
- color: currentPage === totalPages ? colors$4.iconDisable : colors$4.iconPrimary,
18171
+ color: currentPage === totalPages ? colors$5.iconDisable : colors$5.iconPrimary,
18158
18172
  __self: undefined,
18159
18173
  __source: {
18160
18174
  fileName: _jsxFileName$k,
@@ -18309,7 +18323,7 @@
18309
18323
  columnNumber: 13
18310
18324
  }
18311
18325
  }, selectedLimit.toString()), /*#__PURE__*/React__default["default"].createElement(icons.ChevronDownOutline, {
18312
- color: colors$4.gray400,
18326
+ color: colors$5.gray400,
18313
18327
  __self: this,
18314
18328
  __source: {
18315
18329
  fileName: _jsxFileName$j,
@@ -18547,23 +18561,23 @@
18547
18561
  userSelect: 'none',
18548
18562
  color: '$textPrimary',
18549
18563
  '&[data-disabled]': {
18550
- color: colors$4.gray400,
18564
+ color: colors$5.gray400,
18551
18565
  pointerEvents: 'none'
18552
18566
  },
18553
18567
  '&:hover': {
18554
18568
  cursor: 'pointer',
18555
- backgroundColor: colors$4.gray100
18569
+ backgroundColor: colors$5.gray100
18556
18570
  },
18557
18571
  '&:active': {
18558
- backgroundColor: colors$4.gray150
18572
+ backgroundColor: colors$5.gray150
18559
18573
  },
18560
18574
  '&:focus': {
18561
- backgroundColor: colors$4.gray100
18575
+ backgroundColor: colors$5.gray100
18562
18576
  }
18563
18577
  });
18564
18578
  var ContextMenuSeparator = styled('div', {
18565
18579
  height: 1,
18566
- backgroundColor: colors$4.gray150,
18580
+ backgroundColor: colors$5.gray150,
18567
18581
  margin: 5
18568
18582
  });
18569
18583
 
@@ -18811,7 +18825,7 @@
18811
18825
  justify: "between",
18812
18826
  gap: 5,
18813
18827
  css: {
18814
- backgroundColor: colors$4.bgGray,
18828
+ backgroundColor: colors$5.bgGray,
18815
18829
  padding: "$spacing-04 $spacing-05 ".concat('selection' in row.values ? '$spacing-04 $spacing-07' : ''),
18816
18830
  borderBottom: '1pt solid $bgBorder',
18817
18831
  alignItems: cell.column.accessor ? getAlign(cellAlign) : 'center'
@@ -18834,7 +18848,7 @@
18834
18848
  gap: 3,
18835
18849
  css: {
18836
18850
  height: '40px',
18837
- backgroundColor: colors$4.bgGray,
18851
+ backgroundColor: colors$5.bgGray,
18838
18852
  paddingRight: '$spacing-04'
18839
18853
  }
18840
18854
  }, {
@@ -19657,7 +19671,7 @@
19657
19671
  children: [leftAddOnCells.map(function (_, index) {
19658
19672
  return jsxRuntime.jsx("td", {
19659
19673
  style: {
19660
- backgroundColor: colors$4.bgGray
19674
+ backgroundColor: colors$5.bgGray
19661
19675
  }
19662
19676
  }, index);
19663
19677
  }), jsxRuntime.jsxs(React__namespace.Fragment, {
@@ -20788,7 +20802,7 @@
20788
20802
  });
20789
20803
  const StyledOverlay = styled(ADialog__namespace.Overlay, {
20790
20804
  zIndex: 1,
20791
- backgroundColor: colors$4.bgDimmer,
20805
+ backgroundColor: colors$5.bgDimmer,
20792
20806
  position: 'fixed',
20793
20807
  inset: 0,
20794
20808
  '@media (prefers-reduced-motion: no-preference)': {
@@ -20821,14 +20835,14 @@
20821
20835
  display: 'flex',
20822
20836
  flexDirection: 'row',
20823
20837
  justifyContent: 'space-between',
20824
- color: colors$4.gray900,
20838
+ color: colors$5.gray900,
20825
20839
  fontSize: 17,
20826
20840
  fontWeight: 500
20827
20841
  });
20828
20842
  const StyledDescription$1 = styled(ADialog__namespace.Description, {
20829
20843
  mx: 24,
20830
20844
  my: 20,
20831
- color: colors$4.gray900,
20845
+ color: colors$5.gray900,
20832
20846
  fontSize: 15,
20833
20847
  lineHeight: 1.5
20834
20848
  });
@@ -21453,17 +21467,17 @@
21453
21467
  position: 'relative',
21454
21468
  userSelect: 'none',
21455
21469
  '&[data-disabled]': {
21456
- color: colors$4.gray400,
21470
+ color: colors$5.gray400,
21457
21471
  pointerEvents: 'none'
21458
21472
  },
21459
21473
  '&:hover': {
21460
21474
  cursor: 'pointer'
21461
21475
  },
21462
21476
  '&:active': {
21463
- backgroundColor: colors$4.gray150
21477
+ backgroundColor: colors$5.gray150
21464
21478
  },
21465
21479
  '&:focus': {
21466
- backgroundColor: colors$4.gray100
21480
+ backgroundColor: colors$5.gray100
21467
21481
  }
21468
21482
  };
21469
21483
  const StyledItem = styled(DropdownMenuPrimitive__namespace.Item, Object.assign({}, itemStyles));
@@ -21480,11 +21494,11 @@
21480
21494
  padding: '8px 0',
21481
21495
  fontSize: 12,
21482
21496
  lineHeight: '25px',
21483
- color: colors$4.gray700
21497
+ color: colors$5.gray700
21484
21498
  });
21485
21499
  const StyledSeparator = styled(DropdownMenuPrimitive__namespace.Separator, {
21486
21500
  height: 1,
21487
- backgroundColor: colors$4.gray150,
21501
+ backgroundColor: colors$5.gray150,
21488
21502
  margin: 5
21489
21503
  });
21490
21504
  const StyledItemIndicator = styled(DropdownMenuPrimitive__namespace.ItemIndicator, {
@@ -21581,7 +21595,7 @@
21581
21595
  color: 'white'
21582
21596
  },
21583
21597
  '[data-disabled] &': {
21584
- color: colors$4.gray400
21598
+ color: colors$5.gray400
21585
21599
  }
21586
21600
  });
21587
21601
  const StyledDropdown = styled(ButtonPrimitive, {
@@ -25365,7 +25379,7 @@
25365
25379
  buttonType: "secondary"
25366
25380
  }, {
25367
25381
  children: jsxRuntime.jsx(icons.ChevronLeftOutline, {
25368
- color: colors$4.btnPrimary
25382
+ color: colors$5.btnPrimary
25369
25383
  }, void 0)
25370
25384
  }), void 0), jsxRuntime.jsxs(Flex$1, __assign({
25371
25385
  align: "center",
@@ -25425,7 +25439,7 @@
25425
25439
  buttonType: "secondary"
25426
25440
  }, {
25427
25441
  children: jsxRuntime.jsx(icons.ChevronRightOutline, {
25428
- color: colors$4.btnPrimary
25442
+ color: colors$5.btnPrimary
25429
25443
  }, void 0)
25430
25444
  }), void 0)]
25431
25445
  }), void 0);
@@ -28504,7 +28518,7 @@
28504
28518
  marginRight: 9
28505
28519
  },
28506
28520
  size: "24",
28507
- color: colors$4.bgGreen,
28521
+ color: colors$5.bgGreen,
28508
28522
  __self: undefined,
28509
28523
  __source: {
28510
28524
  fileName: _jsxFileName$4,
@@ -28525,7 +28539,7 @@
28525
28539
  margin: '0 9px'
28526
28540
  },
28527
28541
  size: "20",
28528
- color: colors$4.iconSecondary,
28542
+ color: colors$5.iconSecondary,
28529
28543
  __self: undefined,
28530
28544
  __source: {
28531
28545
  fileName: _jsxFileName$4,
@@ -28597,7 +28611,7 @@
28597
28611
  }
28598
28612
  }, /*#__PURE__*/React__default["default"].createElement(StyledCircleInfoOutline, {
28599
28613
  size: "20",
28600
- color: colors$4.iconPrimary,
28614
+ color: colors$5.iconPrimary,
28601
28615
  __self: undefined,
28602
28616
  __source: {
28603
28617
  fileName: _jsxFileName$4,
@@ -29024,10 +29038,10 @@
29024
29038
  const DesktopContainer = styled(Flex$1, {
29025
29039
  display: 'none',
29026
29040
  '& .active-scroll-spy': {
29027
- borderLeft: `4px solid ${colors$4.primary500} !important`
29041
+ borderLeft: `4px solid ${colors$5.primary500} !important`
29028
29042
  },
29029
29043
  '& .active-scroll-spy .link-title': {
29030
- color: `${colors$4.primary500} !important`
29044
+ color: `${colors$5.primary500} !important`
29031
29045
  },
29032
29046
  '@md': {
29033
29047
  display: 'unset'
@@ -29035,7 +29049,7 @@
29035
29049
  });
29036
29050
  const MobileContainer = styled(Flex$1, {
29037
29051
  backgroundColor: '$white',
29038
- border: `1px solid ${colors$4.gray150}`,
29052
+ border: `1px solid ${colors$5.gray150}`,
29039
29053
  borderRadius: 8,
29040
29054
  padding: '8px 8px',
29041
29055
  width: '100%',
@@ -29162,7 +29176,7 @@
29162
29176
  marginLeft: '-4px !important',
29163
29177
  borderLeftWidth: '4px !important',
29164
29178
  borderLeftStyle: 'solid !important',
29165
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
29179
+ borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$5.primary500 : 'transparent'} !important`,
29166
29180
  paddingLeft: '16px !important',
29167
29181
  minHeight: 25
29168
29182
  },
@@ -30501,11 +30515,11 @@
30501
30515
  var getColor = function getColor(state) {
30502
30516
  switch (state) {
30503
30517
  case 'error':
30504
- return colors$4.red400;
30518
+ return colors$5.red400;
30505
30519
  case 'active':
30506
- return colors$4.primary500;
30520
+ return colors$5.primary500;
30507
30521
  default:
30508
- return colors$4.gray150;
30522
+ return colors$5.gray150;
30509
30523
  }
30510
30524
  };
30511
30525
  var iconProps = {
@@ -32482,7 +32496,7 @@
32482
32496
  }
32483
32497
  }, void 0) : jsxRuntime.jsx(icons.MinusOutline, {
32484
32498
  size: 16,
32485
- color: colors$4.iconDisable
32499
+ color: colors$5.iconDisable
32486
32500
  }, void 0)
32487
32501
  }, void 0)
32488
32502
  }), index + indexSubRow + 'tb-cell-collapse');
@@ -32788,9 +32802,9 @@
32788
32802
  function getBaseColor(color) {
32789
32803
  switch (color) {
32790
32804
  case 'primary':
32791
- return colors$4.gray300;
32805
+ return colors$5.gray300;
32792
32806
  default:
32793
- return colors$4.gray150;
32807
+ return colors$5.gray150;
32794
32808
  }
32795
32809
  }
32796
32810
  function getSize(size) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.55.33",
3
+ "version": "1.55.35",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",