@majoo-ui/react 1.60.22 → 1.60.23-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -5,8 +5,8 @@ import { createStitches, styled as styled$1 } from '@stitches/react';
5
5
  import { foundations } from '@majoo-ui/core';
6
6
  import { useTranslation } from 'react-i18next';
7
7
  import moment from 'moment';
8
- import { CloseOutline, UserFilled, CircleQuestionOutline, CircleInfoOutline, SearchOutline, CloseFilled, CaretDownOutline, ChevronUpOutline, ChevronDownOutline, CirclePlusOutline, SortingOutline, MinusOutline, PlusOutline, ChevronLeftOutline, ChevronRightOutline, TimeOutline, CalendarOutline, ChevronLgLeftOutline, ChevronLgRightOutline, ArrowLeftOutline, ArrowRightOutline, PlusPrimitive, EllipsisHorizontalOutline, EyeOutline, UploadOutline, ImageOutline, ChevronUpDownOutline, CheckFilled, RemoveOutline, LocationOutline } from '@majoo-ui/icons';
9
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
9
+ import { CloseOutline, UserFilled, CircleQuestionOutline, CircleInfoOutline, SearchOutline, CloseFilled, CaretDownOutline, ChevronUpOutline, ChevronDownOutline, CirclePlusOutline, SortingOutline, MinusOutline, PlusOutline, ChevronLeftOutline, ChevronRightOutline, TimeOutline, CalendarOutline, ChevronLgLeftOutline, ChevronLgRightOutline, ArrowLeftOutline, ArrowRightOutline, PlusPrimitive, EllipsisHorizontalOutline, EyeOutline, UploadOutline, ImageOutline, ChevronUpDownOutline, CheckFilled, RemoveOutline, LocationOutline } from '@majoo-ui/icons';
10
10
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
11
11
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
12
12
  import * as ProgressPrimitive from '@radix-ui/react-progress';
@@ -54,7 +54,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
54
54
  import imageCompressionComponent from 'browser-image-compression';
55
55
  import { useSticky } from 'react-table-sticky';
56
56
 
57
- var _jsxFileName$12 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
57
+ var _jsxFileName$$ = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
58
58
  function ThemeProvider({
59
59
  theme,
60
60
  children
@@ -63,7 +63,7 @@ function ThemeProvider({
63
63
  className: theme,
64
64
  __self: this,
65
65
  __source: {
66
- fileName: _jsxFileName$12,
66
+ fileName: _jsxFileName$$,
67
67
  lineNumber: 5,
68
68
  columnNumber: 10
69
69
  }
@@ -1397,7 +1397,7 @@ const applyGlobalStyles = additionaStyles => {
1397
1397
  globalStyles();
1398
1398
  };
1399
1399
 
1400
- var _jsxFileName$11 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1400
+ var _jsxFileName$_ = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1401
1401
  function MajooProvider({
1402
1402
  children,
1403
1403
  theme: theme$1 = theme,
@@ -1413,7 +1413,7 @@ function MajooProvider({
1413
1413
  theme: theme$1,
1414
1414
  __self: this,
1415
1415
  __source: {
1416
- fileName: _jsxFileName$11,
1416
+ fileName: _jsxFileName$_,
1417
1417
  lineNumber: 14,
1418
1418
  columnNumber: 5
1419
1419
  }
@@ -1527,25 +1527,27 @@ const Flex$1 = styled('div', {
1527
1527
  gap: `$spacing-${value < 10 ? '0' + value : value}`
1528
1528
  }), 12),
1529
1529
  m: seqNumberVariants$1(value => ({
1530
- m: `$spacing-${value < 10 ? '0' + value : value}`
1530
+ margin: `$spacing-${value < 10 ? '0' + value : value}`
1531
1531
  }), 12),
1532
1532
  mt: seqNumberVariants$1(value => ({
1533
- mt: `$spacing-${value < 10 ? '0' + value : value}`
1533
+ marginTop: `$spacing-${value < 10 ? '0' + value : value}`
1534
1534
  }), 12),
1535
1535
  mb: seqNumberVariants$1(value => ({
1536
- mb: `$spacing-${value < 10 ? '0' + value : value}`
1536
+ marginBottom: `$spacing-${value < 10 ? '0' + value : value}`
1537
1537
  }), 12),
1538
1538
  mr: seqNumberVariants$1(value => ({
1539
- mr: `$spacing-${value < 10 ? '0' + value : value}`
1539
+ marginRight: `$spacing-${value < 10 ? '0' + value : value}`
1540
1540
  }), 12),
1541
1541
  ml: seqNumberVariants$1(value => ({
1542
- ml: `$spacing-${value < 10 ? '0' + value : value}`
1542
+ marginLeft: `$spacing-${value < 10 ? '0' + value : value}`
1543
1543
  }), 12),
1544
1544
  mx: seqNumberVariants$1(value => ({
1545
- mx: `$spacing-${value < 10 ? '0' + value : value}`
1545
+ marginRight: `$spacing-${value < 10 ? '0' + value : value}`,
1546
+ marginLeft: `$spacing-${value < 10 ? '0' + value : value}`
1546
1547
  }), 12),
1547
1548
  my: seqNumberVariants$1(value => ({
1548
- my: `$spacing-${value < 10 ? '0' + value : value}`
1549
+ marginTop: `$spacing-${value < 10 ? '0' + value : value}`,
1550
+ marginBottom: `$spacing-${value < 10 ? '0' + value : value}`
1549
1551
  }), 12),
1550
1552
  mobileOnly: {
1551
1553
  true: {
@@ -1564,62 +1566,51 @@ const Flex$1 = styled('div', {
1564
1566
  }
1565
1567
  }
1566
1568
  });
1567
- Flex$1.propTypes = {
1568
- direction: PropTypes.string,
1569
- align: PropTypes.string,
1570
- justify: PropTypes.string,
1571
- wrap: PropTypes.string,
1572
- gap: PropTypes.number,
1573
- m: PropTypes.number,
1574
- mt: PropTypes.number,
1575
- mb: PropTypes.number,
1576
- mr: PropTypes.number,
1577
- ml: PropTypes.number,
1578
- mx: PropTypes.number,
1579
- my: PropTypes.number
1580
- };
1581
1569
  Flex$1.defaultProps = {
1582
1570
  direction: 'row',
1583
1571
  align: 'stretch',
1584
1572
  justify: 'start',
1585
- wrap: 'noWrap',
1586
- gap: 0
1573
+ wrap: 'noWrap'
1587
1574
  };
1588
1575
  Flex$1.displayName = 'Flex';
1589
1576
 
1590
- function _extends() {
1591
- _extends = Object.assign ? Object.assign.bind() : function (target) {
1592
- for (var i = 1; i < arguments.length; i++) {
1593
- var source = arguments[i];
1594
- for (var key in source) {
1595
- if (Object.prototype.hasOwnProperty.call(source, key)) {
1596
- target[key] = source[key];
1597
- }
1598
- }
1599
- }
1600
- return target;
1601
- };
1602
- return _extends.apply(this, arguments);
1603
- }
1604
- function _objectDestructuringEmpty(obj) {
1605
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
1606
- }
1607
- function _objectWithoutPropertiesLoose(source, excluded) {
1608
- if (source == null) return {};
1609
- var target = {};
1610
- var sourceKeys = Object.keys(source);
1611
- var key, i;
1612
- for (i = 0; i < sourceKeys.length; i++) {
1613
- key = sourceKeys[i];
1614
- if (excluded.indexOf(key) >= 0) continue;
1615
- target[key] = source[key];
1616
- }
1617
- return target;
1577
+ /******************************************************************************
1578
+ Copyright (c) Microsoft Corporation.
1579
+
1580
+ Permission to use, copy, modify, and/or distribute this software for any
1581
+ purpose with or without fee is hereby granted.
1582
+
1583
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1584
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1585
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1586
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1587
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1588
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1589
+ PERFORMANCE OF THIS SOFTWARE.
1590
+ ***************************************************************************** */
1591
+
1592
+ function __rest(s, e) {
1593
+ var t = {};
1594
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1595
+ t[p] = s[p];
1596
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1597
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1598
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1599
+ t[p[i]] = s[p[i]];
1600
+ }
1601
+ return t;
1602
+ }
1603
+
1604
+ function __awaiter(thisArg, _arguments, P, generator) {
1605
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1606
+ return new (P || (P = Promise))(function (resolve, reject) {
1607
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1608
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
1609
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1610
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
1611
+ });
1618
1612
  }
1619
1613
 
1620
- const _excluded$B = ["children"],
1621
- _excluded2$4 = ["children"];
1622
- var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
1623
1614
  const GridComponent = styled('div', {
1624
1615
  display: 'grid',
1625
1616
  variants: {
@@ -1804,25 +1795,21 @@ const GridComponent = styled('div', {
1804
1795
  }
1805
1796
  }
1806
1797
  });
1807
- const Grid = _ref => {
1808
- let {
1798
+ const Grid = _a => {
1799
+ var {
1809
1800
  children
1810
- } = _ref,
1811
- props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
1812
- return /*#__PURE__*/React__default.createElement(GridComponent, _extends({}, props, {
1813
- css: Object.assign({}, props.css, {
1801
+ } = _a,
1802
+ props = __rest(_a, ["children"]);
1803
+ return jsx(GridComponent, Object.assign({}, props, {
1804
+ css: Object.assign(Object.assign({}, props.css), {
1814
1805
  gridAutoColumns: props.autoColumns,
1815
1806
  gridAutoRows: props.autoRows,
1816
1807
  gridTemplateColumns: props.templateColumns,
1817
1808
  gridTemplateRows: props.templateRows
1818
- }),
1819
- __self: undefined,
1820
- __source: {
1821
- fileName: _jsxFileName$10,
1822
- lineNumber: 200,
1823
- columnNumber: 5
1824
- }
1825
- }), children);
1809
+ })
1810
+ }, {
1811
+ children: children
1812
+ }), void 0);
1826
1813
  };
1827
1814
  Grid.propTypes = {
1828
1815
  align: PropTypes.string,
@@ -1856,26 +1843,22 @@ const GridItemComponent = styled('div', {
1856
1843
  }), 10))
1857
1844
  }
1858
1845
  });
1859
- const GridItem = _ref2 => {
1860
- let {
1846
+ const GridItem = _a => {
1847
+ var {
1861
1848
  children
1862
- } = _ref2,
1863
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
1864
- return /*#__PURE__*/React__default.createElement(GridItemComponent, _extends({}, props, {
1865
- css: Object.assign({}, props.css, {
1849
+ } = _a,
1850
+ props = __rest(_a, ["children"]);
1851
+ return jsx(GridItemComponent, Object.assign({}, props, {
1852
+ css: Object.assign(Object.assign({}, props.css), {
1866
1853
  gridArea: props.area,
1867
1854
  gridColumnStart: props.colStart,
1868
1855
  gridColumnEnd: props.colEnd,
1869
1856
  gridRowStart: props.rowStart,
1870
1857
  gridRowEnd: props.rowEnd
1871
- }),
1872
- __self: undefined,
1873
- __source: {
1874
- fileName: _jsxFileName$10,
1875
- lineNumber: 265,
1876
- columnNumber: 5
1877
- }
1878
- }), children);
1858
+ })
1859
+ }, {
1860
+ children: children
1861
+ }), void 0);
1879
1862
  };
1880
1863
  GridItem.propTypes = {
1881
1864
  gridArea: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
@@ -1888,8 +1871,38 @@ GridItem.propTypes = {
1888
1871
  };
1889
1872
  GridItem.displayName = 'Grid Item';
1890
1873
 
1891
- const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
1892
- var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1874
+ function _extends() {
1875
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
1876
+ for (var i = 1; i < arguments.length; i++) {
1877
+ var source = arguments[i];
1878
+ for (var key in source) {
1879
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
1880
+ target[key] = source[key];
1881
+ }
1882
+ }
1883
+ }
1884
+ return target;
1885
+ };
1886
+ return _extends.apply(this, arguments);
1887
+ }
1888
+ function _objectDestructuringEmpty(obj) {
1889
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
1890
+ }
1891
+ function _objectWithoutPropertiesLoose(source, excluded) {
1892
+ if (source == null) return {};
1893
+ var target = {};
1894
+ var sourceKeys = Object.keys(source);
1895
+ var key, i;
1896
+ for (i = 0; i < sourceKeys.length; i++) {
1897
+ key = sourceKeys[i];
1898
+ if (excluded.indexOf(key) >= 0) continue;
1899
+ target[key] = source[key];
1900
+ }
1901
+ return target;
1902
+ }
1903
+
1904
+ const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
1905
+ var _jsxFileName$Z = "/Users/majoo/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1893
1906
  const StyledDiv$2 = styled(Flex$1, {
1894
1907
  justifyContent: 'center',
1895
1908
  marginLeft: 'auto',
@@ -1932,7 +1945,7 @@ const PageContainer = _ref => {
1932
1945
  css,
1933
1946
  contentHeader
1934
1947
  } = _ref,
1935
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
1948
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
1936
1949
  return /*#__PURE__*/React__default.createElement(StyledDiv$2, _extends({
1937
1950
  id: "retina-container",
1938
1951
  css: Object.assign({
@@ -1941,7 +1954,7 @@ const PageContainer = _ref => {
1941
1954
  }, props, {
1942
1955
  __self: undefined,
1943
1956
  __source: {
1944
- fileName: _jsxFileName$$,
1957
+ fileName: _jsxFileName$Z,
1945
1958
  lineNumber: 43,
1946
1959
  columnNumber: 5
1947
1960
  }
@@ -2300,43 +2313,6 @@ Paragraph.defaultProps = {
2300
2313
  };
2301
2314
  Paragraph.displayName = 'Paragraph';
2302
2315
 
2303
- /******************************************************************************
2304
- Copyright (c) Microsoft Corporation.
2305
-
2306
- Permission to use, copy, modify, and/or distribute this software for any
2307
- purpose with or without fee is hereby granted.
2308
-
2309
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2310
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2311
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2312
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2313
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2314
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2315
- PERFORMANCE OF THIS SOFTWARE.
2316
- ***************************************************************************** */
2317
-
2318
- function __rest(s, e) {
2319
- var t = {};
2320
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
2321
- t[p] = s[p];
2322
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
2323
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
2324
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
2325
- t[p[i]] = s[p[i]];
2326
- }
2327
- return t;
2328
- }
2329
-
2330
- function __awaiter(thisArg, _arguments, P, generator) {
2331
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2332
- return new (P || (P = Promise))(function (resolve, reject) {
2333
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2334
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2335
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2336
- step((generator = generator.apply(thisArg, _arguments || [])).next());
2337
- });
2338
- }
2339
-
2340
2316
  const StyledLink = styled('a', {
2341
2317
  fontSize: '$short-content-regular',
2342
2318
  textDecoration: 'underline',
@@ -2390,8 +2366,8 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2390
2366
  }), void 0);
2391
2367
  });
2392
2368
 
2393
- const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2394
- var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
2369
+ const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2370
+ var _jsxFileName$Y = "/Users/majoo/majoo-ui/packages/react/src/components/banner/Banner.js";
2395
2371
  const Context$2 = /*#__PURE__*/React.createContext();
2396
2372
  const StyledBanner = styled(Flex$1, {
2397
2373
  maxWidth: '100%',
@@ -2493,7 +2469,7 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
2493
2469
  }, props, {
2494
2470
  __self: undefined,
2495
2471
  __source: {
2496
- fileName: _jsxFileName$_,
2472
+ fileName: _jsxFileName$Y,
2497
2473
  lineNumber: 111,
2498
2474
  columnNumber: 3
2499
2475
  }
@@ -2514,7 +2490,7 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
2514
2490
  }, props, {
2515
2491
  __self: undefined,
2516
2492
  __source: {
2517
- fileName: _jsxFileName$_,
2493
+ fileName: _jsxFileName$Y,
2518
2494
  lineNumber: 128,
2519
2495
  columnNumber: 3
2520
2496
  }
@@ -2550,7 +2526,7 @@ const BannerLink = ({
2550
2526
  return /*#__PURE__*/React.createElement(Context$2.Consumer, {
2551
2527
  __self: undefined,
2552
2528
  __source: {
2553
- fileName: _jsxFileName$_,
2529
+ fileName: _jsxFileName$Y,
2554
2530
  lineNumber: 159,
2555
2531
  columnNumber: 5
2556
2532
  }
@@ -2562,7 +2538,7 @@ const BannerLink = ({
2562
2538
  color: variant ? generateVariant(variant) : generateVariant(value.variant),
2563
2539
  __self: undefined,
2564
2540
  __source: {
2565
- fileName: _jsxFileName$_,
2541
+ fileName: _jsxFileName$Y,
2566
2542
  lineNumber: 161,
2567
2543
  columnNumber: 9
2568
2544
  }
@@ -2588,7 +2564,7 @@ BannerLink.defaultProps = {
2588
2564
  const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
2589
2565
  __self: undefined,
2590
2566
  __source: {
2591
- fileName: _jsxFileName$_,
2567
+ fileName: _jsxFileName$Y,
2592
2568
  lineNumber: 193,
2593
2569
  columnNumber: 3
2594
2570
  }
@@ -2596,11 +2572,11 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
2596
2572
  onClick: e => {
2597
2573
  e.preventDefault();
2598
2574
  e.stopPropagation();
2599
- value == null ? void 0 : value.onRemove();
2575
+ value === null || value === void 0 ? void 0 : value.onRemove();
2600
2576
  },
2601
2577
  __self: undefined,
2602
2578
  __source: {
2603
- fileName: _jsxFileName$_,
2579
+ fileName: _jsxFileName$Y,
2604
2580
  lineNumber: 195,
2605
2581
  columnNumber: 7
2606
2582
  }
@@ -2609,25 +2585,26 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
2609
2585
  size: "16px",
2610
2586
  __self: undefined,
2611
2587
  __source: {
2612
- fileName: _jsxFileName$_,
2588
+ fileName: _jsxFileName$Y,
2613
2589
  lineNumber: 202,
2614
2590
  columnNumber: 9
2615
2591
  }
2616
2592
  })));
2617
2593
  const SingleTagBanner = props => {
2594
+ var _props$icon;
2618
2595
  return /*#__PURE__*/React.createElement(Flex$1, {
2619
2596
  gap: 2,
2620
2597
  direction: "column",
2621
2598
  __self: undefined,
2622
2599
  __source: {
2623
- fileName: _jsxFileName$_,
2600
+ fileName: _jsxFileName$Y,
2624
2601
  lineNumber: 210,
2625
2602
  columnNumber: 5
2626
2603
  }
2627
2604
  }, /*#__PURE__*/React.createElement(Flex$1, {
2628
2605
  __self: undefined,
2629
2606
  __source: {
2630
- fileName: _jsxFileName$_,
2607
+ fileName: _jsxFileName$Y,
2631
2608
  lineNumber: 211,
2632
2609
  columnNumber: 7
2633
2610
  }
@@ -2636,21 +2613,21 @@ const SingleTagBanner = props => {
2636
2613
  direction: "row",
2637
2614
  __self: undefined,
2638
2615
  __source: {
2639
- fileName: _jsxFileName$_,
2616
+ fileName: _jsxFileName$Y,
2640
2617
  lineNumber: 212,
2641
2618
  columnNumber: 9
2642
2619
  }
2643
- }, (props == null ? void 0 : props.icon) && /*#__PURE__*/React.createElement(Flex$1, {
2620
+ }, (props === null || props === void 0 ? void 0 : props.icon) && /*#__PURE__*/React.createElement(Flex$1, {
2644
2621
  css: {
2645
2622
  marginTop: '-2px'
2646
2623
  },
2647
2624
  __self: undefined,
2648
2625
  __source: {
2649
- fileName: _jsxFileName$_,
2626
+ fileName: _jsxFileName$Y,
2650
2627
  lineNumber: 213,
2651
2628
  columnNumber: 27
2652
2629
  }
2653
- }, props == null ? void 0 : props.icon == null ? void 0 : props.icon()), /*#__PURE__*/React.createElement(Flex$1, {
2630
+ }, props === null || props === void 0 ? void 0 : (_props$icon = props.icon) === null || _props$icon === void 0 ? void 0 : _props$icon.call(props)), /*#__PURE__*/React.createElement(Flex$1, {
2654
2631
  gap: 2,
2655
2632
  direction: "column",
2656
2633
  css: {
@@ -2659,21 +2636,21 @@ const SingleTagBanner = props => {
2659
2636
  },
2660
2637
  __self: undefined,
2661
2638
  __source: {
2662
- fileName: _jsxFileName$_,
2639
+ fileName: _jsxFileName$Y,
2663
2640
  lineNumber: 214,
2664
2641
  columnNumber: 11
2665
2642
  }
2666
2643
  }, props.title && /*#__PURE__*/React.createElement(BannerTitle, {
2667
2644
  __self: undefined,
2668
2645
  __source: {
2669
- fileName: _jsxFileName$_,
2646
+ fileName: _jsxFileName$Y,
2670
2647
  lineNumber: 222,
2671
2648
  columnNumber: 29
2672
2649
  }
2673
2650
  }, props.title), props.description && /*#__PURE__*/React.createElement(BannerDescription, {
2674
2651
  __self: undefined,
2675
2652
  __source: {
2676
- fileName: _jsxFileName$_,
2653
+ fileName: _jsxFileName$Y,
2677
2654
  lineNumber: 223,
2678
2655
  columnNumber: 35
2679
2656
  }
@@ -2681,12 +2658,12 @@ const SingleTagBanner = props => {
2681
2658
  onClick: e => {
2682
2659
  e.preventDefault();
2683
2660
  e.stopPropagation();
2684
- props == null ? void 0 : props.onRemove();
2661
+ props === null || props === void 0 ? void 0 : props.onRemove();
2685
2662
  },
2686
2663
  closeCenter: !props.title && !props.link,
2687
2664
  __self: undefined,
2688
2665
  __source: {
2689
- fileName: _jsxFileName$_,
2666
+ fileName: _jsxFileName$Y,
2690
2667
  lineNumber: 226,
2691
2668
  columnNumber: 9
2692
2669
  }
@@ -2695,7 +2672,7 @@ const SingleTagBanner = props => {
2695
2672
  size: "16px",
2696
2673
  __self: undefined,
2697
2674
  __source: {
2698
- fileName: _jsxFileName$_,
2675
+ fileName: _jsxFileName$Y,
2699
2676
  lineNumber: 234,
2700
2677
  columnNumber: 11
2701
2678
  }
@@ -2708,7 +2685,7 @@ const SingleTagBanner = props => {
2708
2685
  variant: props.variant,
2709
2686
  __self: undefined,
2710
2687
  __source: {
2711
- fileName: _jsxFileName$_,
2688
+ fileName: _jsxFileName$Y,
2712
2689
  lineNumber: 238,
2713
2690
  columnNumber: 9
2714
2691
  }
@@ -2727,7 +2704,7 @@ const Banner = _ref => {
2727
2704
  bannerBlock,
2728
2705
  icon
2729
2706
  } = _ref,
2730
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2707
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
2731
2708
  return /*#__PURE__*/React.createElement(StyledBanner, _extends({
2732
2709
  variant: variant,
2733
2710
  hasAction: !!onClick,
@@ -2736,7 +2713,7 @@ const Banner = _ref => {
2736
2713
  }, rest, {
2737
2714
  __self: undefined,
2738
2715
  __source: {
2739
- fileName: _jsxFileName$_,
2716
+ fileName: _jsxFileName$Y,
2740
2717
  lineNumber: 260,
2741
2718
  columnNumber: 5
2742
2719
  }
@@ -2753,7 +2730,7 @@ const Banner = _ref => {
2753
2730
  },
2754
2731
  __self: undefined,
2755
2732
  __source: {
2756
- fileName: _jsxFileName$_,
2733
+ fileName: _jsxFileName$Y,
2757
2734
  lineNumber: 262,
2758
2735
  columnNumber: 9
2759
2736
  }
@@ -2764,7 +2741,7 @@ const Banner = _ref => {
2764
2741
  },
2765
2742
  __self: undefined,
2766
2743
  __source: {
2767
- fileName: _jsxFileName$_,
2744
+ fileName: _jsxFileName$Y,
2768
2745
  lineNumber: 269,
2769
2746
  columnNumber: 11
2770
2747
  }
@@ -2779,7 +2756,7 @@ const Banner = _ref => {
2779
2756
  onRemove: onRemove,
2780
2757
  __self: undefined,
2781
2758
  __source: {
2782
- fileName: _jsxFileName$_,
2759
+ fileName: _jsxFileName$Y,
2783
2760
  lineNumber: 272,
2784
2761
  columnNumber: 9
2785
2762
  }
@@ -3388,8 +3365,8 @@ Card.defaultProps = {
3388
3365
  Card.Label = StyledLabel$2;
3389
3366
  Card.Description = StyledDescription$3;
3390
3367
 
3391
- const _excluded$y = ["children"];
3392
- var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3368
+ const _excluded$w = ["children"];
3369
+ var _jsxFileName$X = "/Users/majoo/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3393
3370
  const BreadcrumbStyle = styled('nav', {
3394
3371
  wordWrap: 'break-word',
3395
3372
  '& li+li:before': {
@@ -3434,7 +3411,7 @@ const BreadcrumbLinkBase = props => {
3434
3411
  return /*#__PURE__*/React__default.createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
3435
3412
  __self: undefined,
3436
3413
  __source: {
3437
- fileName: _jsxFileName$Z,
3414
+ fileName: _jsxFileName$X,
3438
3415
  lineNumber: 42,
3439
3416
  columnNumber: 10
3440
3417
  }
@@ -3444,19 +3421,19 @@ const BreadcrumbBase = _ref => {
3444
3421
  let {
3445
3422
  children
3446
3423
  } = _ref,
3447
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3424
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3448
3425
  return /*#__PURE__*/React__default.createElement(BreadcrumbStyle, _extends({}, rest, {
3449
3426
  "aria-label": "breadcrumb",
3450
3427
  __self: undefined,
3451
3428
  __source: {
3452
- fileName: _jsxFileName$Z,
3429
+ fileName: _jsxFileName$X,
3453
3430
  lineNumber: 47,
3454
3431
  columnNumber: 5
3455
3432
  }
3456
3433
  }), /*#__PURE__*/React__default.createElement(Ol, {
3457
3434
  __self: undefined,
3458
3435
  __source: {
3459
- fileName: _jsxFileName$Z,
3436
+ fileName: _jsxFileName$X,
3460
3437
  lineNumber: 48,
3461
3438
  columnNumber: 7
3462
3439
  }
@@ -3708,8 +3685,8 @@ Badge.defaultProps = {
3708
3685
  };
3709
3686
  Badge.displayName = 'Badge';
3710
3687
 
3711
- const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3712
- var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3688
+ const _excluded$v = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3689
+ var _jsxFileName$W = "/Users/majoo/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3713
3690
  const StyledAvatar = styled(AvatarPrimitive.Root, {
3714
3691
  width: '32px',
3715
3692
  height: '32px',
@@ -3753,7 +3730,7 @@ function Avatar(_ref) {
3753
3730
  onClick,
3754
3731
  css
3755
3732
  } = _ref,
3756
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3733
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3757
3734
  return /*#__PURE__*/React__default.createElement(StyledAvatar, _extends({
3758
3735
  className: className,
3759
3736
  onClick: onClick,
@@ -3761,7 +3738,7 @@ function Avatar(_ref) {
3761
3738
  }, props, {
3762
3739
  __self: this,
3763
3740
  __source: {
3764
- fileName: _jsxFileName$Y,
3741
+ fileName: _jsxFileName$W,
3765
3742
  lineNumber: 46,
3766
3743
  columnNumber: 5
3767
3744
  }
@@ -3771,7 +3748,7 @@ function Avatar(_ref) {
3771
3748
  onLoadingStatusChange: onLoadingStatusChange,
3772
3749
  __self: this,
3773
3750
  __source: {
3774
- fileName: _jsxFileName$Y,
3751
+ fileName: _jsxFileName$W,
3775
3752
  lineNumber: 47,
3776
3753
  columnNumber: 21
3777
3754
  }
@@ -3779,21 +3756,21 @@ function Avatar(_ref) {
3779
3756
  delayMs: delayMs,
3780
3757
  __self: this,
3781
3758
  __source: {
3782
- fileName: _jsxFileName$Y,
3759
+ fileName: _jsxFileName$W,
3783
3760
  lineNumber: 48,
3784
3761
  columnNumber: 7
3785
3762
  }
3786
3763
  }, children !== undefined ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children) : /*#__PURE__*/React__default.createElement(StyledIcon, {
3787
3764
  __self: this,
3788
3765
  __source: {
3789
- fileName: _jsxFileName$Y,
3766
+ fileName: _jsxFileName$W,
3790
3767
  lineNumber: 52,
3791
3768
  columnNumber: 11
3792
3769
  }
3793
3770
  }, /*#__PURE__*/React__default.createElement(UserFilled, {
3794
3771
  __self: this,
3795
3772
  __source: {
3796
- fileName: _jsxFileName$Y,
3773
+ fileName: _jsxFileName$W,
3797
3774
  lineNumber: 53,
3798
3775
  columnNumber: 13
3799
3776
  }
@@ -3810,8 +3787,8 @@ Avatar.defaultProps = {
3810
3787
  delayMs: 0
3811
3788
  };
3812
3789
 
3813
- const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3814
- var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3790
+ const _excluded$u = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3791
+ var _jsxFileName$V = "/Users/majoo/majoo-ui/packages/react/src/components/image/Image.js";
3815
3792
  const ContainerFallback = styled(Flex$1, {
3816
3793
  boxSizing: 'border-box',
3817
3794
  border: '2px dashed #C0C4C4',
@@ -3860,7 +3837,7 @@ function Image(_ref) {
3860
3837
  cssFallback,
3861
3838
  rounded
3862
3839
  } = _ref,
3863
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3840
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3864
3841
  const {
3865
3842
  t
3866
3843
  } = useTranslation('translation');
@@ -3879,7 +3856,7 @@ function Image(_ref) {
3879
3856
  }, props, {
3880
3857
  __self: this,
3881
3858
  __source: {
3882
- fileName: _jsxFileName$X,
3859
+ fileName: _jsxFileName$V,
3883
3860
  lineNumber: 61,
3884
3861
  columnNumber: 7
3885
3862
  }
@@ -3895,14 +3872,14 @@ function Image(_ref) {
3895
3872
  }, cssFallback),
3896
3873
  __self: this,
3897
3874
  __source: {
3898
- fileName: _jsxFileName$X,
3875
+ fileName: _jsxFileName$V,
3899
3876
  lineNumber: 75,
3900
3877
  columnNumber: 7
3901
3878
  }
3902
3879
  }, /*#__PURE__*/React__default.createElement(TextFallback, {
3903
3880
  __self: this,
3904
3881
  __source: {
3905
- fileName: _jsxFileName$X,
3882
+ fileName: _jsxFileName$V,
3906
3883
  lineNumber: 76,
3907
3884
  columnNumber: 9
3908
3885
  }
@@ -4496,8 +4473,6 @@ for (var COLLECTION_NAME in DOMIterables) {
4496
4473
 
4497
4474
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4498
4475
 
4499
- const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4500
- var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4501
4476
  const {
4502
4477
  zIndices: zIndices$2
4503
4478
  } = foundations;
@@ -4583,10 +4558,10 @@ const TooltipBase = styled(TooltipPrimitive.Root, {
4583
4558
  color: 'ligth'
4584
4559
  }
4585
4560
  });
4586
-
4587
4561
  // Exports
4588
4562
  const Provider = TooltipPrimitive.Provider;
4589
4563
  const TooltipTrigger = TooltipPrimitive.Trigger;
4564
+ const TooltipContent = StyledContent$6;
4590
4565
  const dark = {
4591
4566
  color: foundations.colors.white,
4592
4567
  backgroundColor: foundations.colors.gray800
@@ -4601,8 +4576,8 @@ const darkArrow = {
4601
4576
  const lightArrow = {
4602
4577
  fill: foundations.colors.bgWhite
4603
4578
  };
4604
- const Tooltip$1 = _ref => {
4605
- let {
4579
+ const Tooltip$1 = _a => {
4580
+ var {
4606
4581
  children,
4607
4582
  label,
4608
4583
  color,
@@ -4611,98 +4586,52 @@ const Tooltip$1 = _ref => {
4611
4586
  side,
4612
4587
  align,
4613
4588
  delayDuration
4614
- } = _ref,
4615
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4589
+ } = _a,
4590
+ rest = __rest(_a, ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"]);
4616
4591
  const [open, setOpen] = useState(false);
4617
- return /*#__PURE__*/React__default.createElement(Provider, {
4618
- __self: undefined,
4619
- __source: {
4620
- fileName: _jsxFileName$W,
4621
- lineNumber: 91,
4622
- columnNumber: 5
4623
- }
4624
- }, /*#__PURE__*/React__default.createElement(TooltipBase, _extends({}, rest, {
4625
- open: withClick ? open : undefined,
4626
- delayDuration: delayDuration,
4627
- __self: undefined,
4628
- __source: {
4629
- fileName: _jsxFileName$W,
4630
- lineNumber: 92,
4631
- columnNumber: 7
4632
- }
4633
- }), /*#__PURE__*/React__default.createElement(TooltipTrigger, {
4634
- asChild: true,
4635
- __self: undefined,
4636
- __source: {
4637
- fileName: _jsxFileName$W,
4638
- lineNumber: 93,
4639
- columnNumber: 9
4640
- }
4641
- }, /*#__PURE__*/React__default.createElement(TriggerSpan, {
4642
- onClick: () => withClick && !open && setOpen(true),
4643
- __self: undefined,
4644
- __source: {
4645
- fileName: _jsxFileName$W,
4646
- lineNumber: 94,
4647
- columnNumber: 11
4648
- }
4649
- }, children)), /*#__PURE__*/React__default.createElement(TooltipPrimitive.Portal, {
4650
- __self: undefined,
4651
- __source: {
4652
- fileName: _jsxFileName$W,
4653
- lineNumber: 96,
4654
- columnNumber: 9
4655
- }
4656
- }, /*#__PURE__*/React__default.createElement(StyledContent$6, {
4657
- align: align,
4658
- side: side,
4659
- sideOffset: 5,
4660
- css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4661
- onPointerDownOutside: () => setTimeout(() => {
4662
- setOpen(false);
4663
- }, 100),
4664
- __self: undefined,
4665
- __source: {
4666
- fileName: _jsxFileName$W,
4667
- lineNumber: 97,
4668
- columnNumber: 11
4669
- }
4670
- }, label, /*#__PURE__*/React__default.createElement(StyledArrow$1, {
4671
- offset: 10,
4672
- css: color === 'dark' ? darkArrow : lightArrow,
4673
- __self: undefined,
4674
- __source: {
4675
- fileName: _jsxFileName$W,
4676
- lineNumber: 109,
4677
- columnNumber: 13
4678
- }
4679
- })))));
4680
- };
4681
- Tooltip$1.propTypes = {
4682
- children: PropTypes.node,
4683
- label: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
4684
- color: PropTypes.string,
4685
- side: PropTypes.oneOf(['top', 'bottom', 'right', 'left']),
4686
- align: PropTypes.oneOf(['start', 'center', 'end'])
4592
+ return jsx(Provider, {
4593
+ children: jsxs(TooltipBase, Object.assign({}, rest, {
4594
+ open: withClick ? open : undefined,
4595
+ delayDuration: delayDuration
4596
+ }, {
4597
+ children: [jsx(TooltipTrigger, Object.assign({
4598
+ asChild: true
4599
+ }, {
4600
+ children: jsx(TriggerSpan, Object.assign({
4601
+ onClick: () => withClick && !open && setOpen(true)
4602
+ }, {
4603
+ children: children
4604
+ }), void 0)
4605
+ }), void 0), jsx(TooltipPrimitive.Portal, {
4606
+ children: jsxs(StyledContent$6, Object.assign({
4607
+ align: align,
4608
+ side: side,
4609
+ sideOffset: 5,
4610
+ css: color === 'dark' ? Object.assign(Object.assign({}, dark), css) : Object.assign(Object.assign({}, ligth), css),
4611
+ onPointerDownOutside: () => setTimeout(() => {
4612
+ setOpen(false);
4613
+ }, 100)
4614
+ }, {
4615
+ children: [label, jsx(StyledArrow$1, {
4616
+ offset: 10,
4617
+ css: color === 'dark' ? darkArrow : lightArrow
4618
+ }, void 0)]
4619
+ }), void 0)
4620
+ }, void 0)]
4621
+ }), void 0)
4622
+ }, void 0);
4687
4623
  };
4688
4624
  Tooltip$1.defaultProps = {
4689
4625
  color: 'dark',
4690
4626
  side: 'bottom',
4691
4627
  align: 'center',
4692
4628
  label: '',
4693
- children: /*#__PURE__*/React__default.createElement("div", {
4694
- __self: undefined,
4695
- __source: {
4696
- fileName: _jsxFileName$W,
4697
- lineNumber: 130,
4698
- columnNumber: 13
4699
- }
4700
- }),
4629
+ children: jsx("div", {}, void 0),
4701
4630
  delayDuration: 200
4702
4631
  };
4703
4632
 
4704
- const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4705
- var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4633
+ const _excluded$t = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4634
+ var _jsxFileName$U = "/Users/majoo/majoo-ui/packages/react/src/components/progress/Progress.js";
4706
4635
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
4707
4636
  position: 'relative',
4708
4637
  overflow: 'hidden',
@@ -4820,7 +4749,7 @@ function Progress$1(_ref) {
4820
4749
  rounded,
4821
4750
  width
4822
4751
  } = _ref,
4823
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4752
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4824
4753
  return /*#__PURE__*/React__default.createElement(StyledProgress$1, _extends({
4825
4754
  className: className,
4826
4755
  value: value,
@@ -4835,7 +4764,7 @@ function Progress$1(_ref) {
4835
4764
  }, props, {
4836
4765
  __self: this,
4837
4766
  __source: {
4838
- fileName: _jsxFileName$V,
4767
+ fileName: _jsxFileName$U,
4839
4768
  lineNumber: 88,
4840
4769
  columnNumber: 5
4841
4770
  }
@@ -4848,7 +4777,7 @@ function Progress$1(_ref) {
4848
4777
  },
4849
4778
  __self: this,
4850
4779
  __source: {
4851
- fileName: _jsxFileName$V,
4780
+ fileName: _jsxFileName$U,
4852
4781
  lineNumber: 89,
4853
4782
  columnNumber: 7
4854
4783
  }
@@ -5513,8 +5442,8 @@ function useMediaQuery(query) {
5513
5442
  return matches;
5514
5443
  }
5515
5444
 
5516
- const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5517
- var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5445
+ const _excluded$s = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5446
+ var _jsxFileName$T = "/Users/majoo/majoo-ui/packages/react/src/components/toast/Toast.js";
5518
5447
  const TOAST_WIDTH = 576;
5519
5448
  const ANIMATION_DURATION = 400;
5520
5449
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5682,7 +5611,7 @@ const Toast = _ref => {
5682
5611
  captionOfAction,
5683
5612
  hrefOfAction
5684
5613
  } = _ref,
5685
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
5614
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5686
5615
  const [isOpen, setIsOpen] = React.useState(false);
5687
5616
  const isMobile = useMediaQuery(`(max-width: 767px`);
5688
5617
  const close = React.useCallback(() => {
@@ -5711,7 +5640,7 @@ const Toast = _ref => {
5711
5640
  onExited: onRemove,
5712
5641
  __self: undefined,
5713
5642
  __source: {
5714
- fileName: _jsxFileName$U,
5643
+ fileName: _jsxFileName$T,
5715
5644
  lineNumber: 216,
5716
5645
  columnNumber: 5
5717
5646
  }
@@ -5726,7 +5655,7 @@ const Toast = _ref => {
5726
5655
  }, rest, {
5727
5656
  __self: undefined,
5728
5657
  __source: {
5729
- fileName: _jsxFileName$U,
5658
+ fileName: _jsxFileName$T,
5730
5659
  lineNumber: 227,
5731
5660
  columnNumber: 9
5732
5661
  }
@@ -5736,7 +5665,7 @@ const Toast = _ref => {
5736
5665
  onClick: onClick,
5737
5666
  __self: undefined,
5738
5667
  __source: {
5739
- fileName: _jsxFileName$U,
5668
+ fileName: _jsxFileName$T,
5740
5669
  lineNumber: 235,
5741
5670
  columnNumber: 11
5742
5671
  }
@@ -5744,7 +5673,7 @@ const Toast = _ref => {
5744
5673
  direction: "column",
5745
5674
  __self: undefined,
5746
5675
  __source: {
5747
- fileName: _jsxFileName$U,
5676
+ fileName: _jsxFileName$T,
5748
5677
  lineNumber: 236,
5749
5678
  columnNumber: 13
5750
5679
  }
@@ -5752,7 +5681,7 @@ const Toast = _ref => {
5752
5681
  direction: "row",
5753
5682
  __self: undefined,
5754
5683
  __source: {
5755
- fileName: _jsxFileName$U,
5684
+ fileName: _jsxFileName$T,
5756
5685
  lineNumber: 237,
5757
5686
  columnNumber: 15
5758
5687
  }
@@ -5760,7 +5689,7 @@ const Toast = _ref => {
5760
5689
  variant: variant,
5761
5690
  __self: undefined,
5762
5691
  __source: {
5763
- fileName: _jsxFileName$U,
5692
+ fileName: _jsxFileName$T,
5764
5693
  lineNumber: 238,
5765
5694
  columnNumber: 17
5766
5695
  }
@@ -5772,7 +5701,7 @@ const Toast = _ref => {
5772
5701
  },
5773
5702
  __self: undefined,
5774
5703
  __source: {
5775
- fileName: _jsxFileName$U,
5704
+ fileName: _jsxFileName$T,
5776
5705
  lineNumber: 239,
5777
5706
  columnNumber: 17
5778
5707
  }
@@ -5780,7 +5709,7 @@ const Toast = _ref => {
5780
5709
  justify: "between",
5781
5710
  __self: undefined,
5782
5711
  __source: {
5783
- fileName: _jsxFileName$U,
5712
+ fileName: _jsxFileName$T,
5784
5713
  lineNumber: 247,
5785
5714
  columnNumber: 21
5786
5715
  }
@@ -5795,7 +5724,7 @@ const Toast = _ref => {
5795
5724
  },
5796
5725
  __self: undefined,
5797
5726
  __source: {
5798
- fileName: _jsxFileName$U,
5727
+ fileName: _jsxFileName$T,
5799
5728
  lineNumber: 248,
5800
5729
  columnNumber: 23
5801
5730
  }
@@ -5804,7 +5733,7 @@ const Toast = _ref => {
5804
5733
  color: "secondary",
5805
5734
  __self: undefined,
5806
5735
  __source: {
5807
- fileName: _jsxFileName$U,
5736
+ fileName: _jsxFileName$T,
5808
5737
  lineNumber: 262,
5809
5738
  columnNumber: 19
5810
5739
  }
@@ -5819,7 +5748,7 @@ const Toast = _ref => {
5819
5748
  hasTitle: !!title,
5820
5749
  __self: undefined,
5821
5750
  __source: {
5822
- fileName: _jsxFileName$U,
5751
+ fileName: _jsxFileName$T,
5823
5752
  lineNumber: 266,
5824
5753
  columnNumber: 17
5825
5754
  }
@@ -5828,7 +5757,7 @@ const Toast = _ref => {
5828
5757
  size: "16px",
5829
5758
  __self: undefined,
5830
5759
  __source: {
5831
- fileName: _jsxFileName$U,
5760
+ fileName: _jsxFileName$T,
5832
5761
  lineNumber: 276,
5833
5762
  columnNumber: 19
5834
5763
  }
@@ -5843,7 +5772,7 @@ const Toast = _ref => {
5843
5772
  },
5844
5773
  __self: undefined,
5845
5774
  __source: {
5846
- fileName: _jsxFileName$U,
5775
+ fileName: _jsxFileName$T,
5847
5776
  lineNumber: 280,
5848
5777
  columnNumber: 17
5849
5778
  }
@@ -5865,8 +5794,8 @@ Toast.defaultProps = {
5865
5794
  dismissAfter: 5000
5866
5795
  };
5867
5796
 
5868
- const _excluded$s = ["preventDuplicate"];
5869
- var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5797
+ const _excluded$r = ["preventDuplicate"];
5798
+ var _jsxFileName$S = "/Users/majoo/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5870
5799
  const ToastBox = styled(Flex$1, {
5871
5800
  position: 'fixed',
5872
5801
  variants: {
@@ -5913,7 +5842,7 @@ const ToastContainer = ({
5913
5842
  },
5914
5843
  __self: undefined,
5915
5844
  __source: {
5916
- fileName: _jsxFileName$T,
5845
+ fileName: _jsxFileName$S,
5917
5846
  lineNumber: 43,
5918
5847
  columnNumber: 5
5919
5848
  }
@@ -5921,7 +5850,7 @@ const ToastContainer = ({
5921
5850
  position: position,
5922
5851
  __self: undefined,
5923
5852
  __source: {
5924
- fileName: _jsxFileName$T,
5853
+ fileName: _jsxFileName$S,
5925
5854
  lineNumber: 44,
5926
5855
  columnNumber: 7
5927
5856
  }
@@ -5929,14 +5858,14 @@ const ToastContainer = ({
5929
5858
  const {
5930
5859
  preventDuplicate
5931
5860
  } = item,
5932
- toast = _objectWithoutPropertiesLoose(item, _excluded$s);
5861
+ toast = _objectWithoutPropertiesLoose(item, _excluded$r);
5933
5862
  return /*#__PURE__*/React.createElement(Toast, _extends({
5934
5863
  key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
5935
5864
  onRemove: () => removeToast(toast.id)
5936
5865
  }, toast, {
5937
5866
  __self: undefined,
5938
5867
  __source: {
5939
- fileName: _jsxFileName$T,
5868
+ fileName: _jsxFileName$S,
5940
5869
  lineNumber: 47,
5941
5870
  columnNumber: 18
5942
5871
  }
@@ -7161,8 +7090,8 @@ const catchError = e => {
7161
7090
  return message;
7162
7091
  };
7163
7092
 
7164
- const _excluded$r = ["id", "disabledOfflineIntercept"];
7165
- var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7093
+ const _excluded$q = ["id", "disabledOfflineIntercept"];
7094
+ var _jsxFileName$R = "/Users/majoo/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7166
7095
  let toastCount = 0;
7167
7096
  const ToastProvider = ({
7168
7097
  children,
@@ -7191,7 +7120,7 @@ const ToastProvider = ({
7191
7120
  id,
7192
7121
  disabledOfflineIntercept
7193
7122
  } = toast,
7194
- rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
7123
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$q);
7195
7124
 
7196
7125
  // eslint-disable-next-line no-plusplus
7197
7126
  const uniqueId = ++toastCount;
@@ -7231,7 +7160,7 @@ const ToastProvider = ({
7231
7160
  },
7232
7161
  __self: undefined,
7233
7162
  __source: {
7234
- fileName: _jsxFileName$S,
7163
+ fileName: _jsxFileName$R,
7235
7164
  lineNumber: 81,
7236
7165
  columnNumber: 5
7237
7166
  }
@@ -7240,7 +7169,7 @@ const ToastProvider = ({
7240
7169
  position: TOP_RIGHT_POSITION,
7241
7170
  __self: undefined,
7242
7171
  __source: {
7243
- fileName: _jsxFileName$S,
7172
+ fileName: _jsxFileName$R,
7244
7173
  lineNumber: 83,
7245
7174
  columnNumber: 7
7246
7175
  }
@@ -7249,7 +7178,7 @@ const ToastProvider = ({
7249
7178
  position: TOP_LEFT_POSITION,
7250
7179
  __self: undefined,
7251
7180
  __source: {
7252
- fileName: _jsxFileName$S,
7181
+ fileName: _jsxFileName$R,
7253
7182
  lineNumber: 87,
7254
7183
  columnNumber: 7
7255
7184
  }
@@ -7258,7 +7187,7 @@ const ToastProvider = ({
7258
7187
  position: BOTTOM_RIGHT_POSITION,
7259
7188
  __self: undefined,
7260
7189
  __source: {
7261
- fileName: _jsxFileName$S,
7190
+ fileName: _jsxFileName$R,
7262
7191
  lineNumber: 91,
7263
7192
  columnNumber: 7
7264
7193
  }
@@ -7267,7 +7196,7 @@ const ToastProvider = ({
7267
7196
  position: BOTTOM_LEFT_POSITION,
7268
7197
  __self: undefined,
7269
7198
  __source: {
7270
- fileName: _jsxFileName$S,
7199
+ fileName: _jsxFileName$R,
7271
7200
  lineNumber: 95,
7272
7201
  columnNumber: 7
7273
7202
  }
@@ -7280,8 +7209,8 @@ const ConditionalWrapper = ({
7280
7209
  children
7281
7210
  }) => condition ? wrapper(children) : children;
7282
7211
 
7283
- const _excluded$q = ["count", "maxCount", "css"];
7284
- var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7212
+ const _excluded$p = ["count", "maxCount", "css"];
7213
+ var _jsxFileName$Q = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7285
7214
  const formLabelClassStyle = {
7286
7215
  alignItems: 'start !important',
7287
7216
  '& > div': {
@@ -7384,7 +7313,7 @@ const FormGroup = _ref => {
7384
7313
  maxCount,
7385
7314
  css
7386
7315
  } = _ref,
7387
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7316
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7388
7317
  const withCounter = Boolean(count || maxCount);
7389
7318
  return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
7390
7319
  condition: withCounter,
@@ -7393,7 +7322,7 @@ const FormGroup = _ref => {
7393
7322
  css: css,
7394
7323
  __self: undefined,
7395
7324
  __source: {
7396
- fileName: _jsxFileName$R,
7325
+ fileName: _jsxFileName$Q,
7397
7326
  lineNumber: 115,
7398
7327
  columnNumber: 9
7399
7328
  }
@@ -7406,14 +7335,14 @@ const FormGroup = _ref => {
7406
7335
  },
7407
7336
  __self: undefined,
7408
7337
  __source: {
7409
- fileName: _jsxFileName$R,
7338
+ fileName: _jsxFileName$Q,
7410
7339
  lineNumber: 116,
7411
7340
  columnNumber: 11
7412
7341
  }
7413
7342
  }, count, "/", maxCount), children),
7414
7343
  __self: undefined,
7415
7344
  __source: {
7416
- fileName: _jsxFileName$R,
7345
+ fileName: _jsxFileName$Q,
7417
7346
  lineNumber: 112,
7418
7347
  columnNumber: 5
7419
7348
  }
@@ -7423,7 +7352,7 @@ const FormGroup = _ref => {
7423
7352
  }, props, {
7424
7353
  __self: undefined,
7425
7354
  __source: {
7426
- fileName: _jsxFileName$R,
7355
+ fileName: _jsxFileName$Q,
7427
7356
  lineNumber: 123,
7428
7357
  columnNumber: 7
7429
7358
  }
@@ -7431,8 +7360,8 @@ const FormGroup = _ref => {
7431
7360
  };
7432
7361
  FormGroup.displayName = 'FormGroup';
7433
7362
 
7434
- const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7435
- var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7363
+ const _excluded$o = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7364
+ var _jsxFileName$P = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7436
7365
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
7437
7366
  display: 'inline-block',
7438
7367
  fontSize: '$label',
@@ -7464,13 +7393,13 @@ const FormLabel = _ref => {
7464
7393
  maxCount,
7465
7394
  labelCss
7466
7395
  } = _ref,
7467
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7396
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7468
7397
  return /*#__PURE__*/React__default.createElement(Flex$1, {
7469
7398
  justify: "between",
7470
7399
  className: "form-label",
7471
7400
  __self: undefined,
7472
7401
  __source: {
7473
- fileName: _jsxFileName$Q,
7402
+ fileName: _jsxFileName$P,
7474
7403
  lineNumber: 36,
7475
7404
  columnNumber: 5
7476
7405
  }
@@ -7480,7 +7409,7 @@ const FormLabel = _ref => {
7480
7409
  }, props, {
7481
7410
  __self: undefined,
7482
7411
  __source: {
7483
- fileName: _jsxFileName$Q,
7412
+ fileName: _jsxFileName$P,
7484
7413
  lineNumber: 37,
7485
7414
  columnNumber: 7
7486
7415
  }
@@ -7490,7 +7419,7 @@ const FormLabel = _ref => {
7490
7419
  css: labelCss,
7491
7420
  __self: undefined,
7492
7421
  __source: {
7493
- fileName: _jsxFileName$Q,
7422
+ fileName: _jsxFileName$P,
7494
7423
  lineNumber: 38,
7495
7424
  columnNumber: 9
7496
7425
  }
@@ -7505,7 +7434,7 @@ const FormLabel = _ref => {
7505
7434
  },
7506
7435
  __self: undefined,
7507
7436
  __source: {
7508
- fileName: _jsxFileName$Q,
7437
+ fileName: _jsxFileName$P,
7509
7438
  lineNumber: 42,
7510
7439
  columnNumber: 11
7511
7440
  }
@@ -7513,14 +7442,14 @@ const FormLabel = _ref => {
7513
7442
  label: tooltipLabel,
7514
7443
  __self: undefined,
7515
7444
  __source: {
7516
- fileName: _jsxFileName$Q,
7445
+ fileName: _jsxFileName$P,
7517
7446
  lineNumber: 56,
7518
7447
  columnNumber: 11
7519
7448
  }
7520
7449
  }, /*#__PURE__*/React__default.createElement(StyledHelpIcon, {
7521
7450
  __self: undefined,
7522
7451
  __source: {
7523
- fileName: _jsxFileName$Q,
7452
+ fileName: _jsxFileName$P,
7524
7453
  lineNumber: 57,
7525
7454
  columnNumber: 13
7526
7455
  }
@@ -7529,7 +7458,7 @@ const FormLabel = _ref => {
7529
7458
  color: "disable",
7530
7459
  __self: undefined,
7531
7460
  __source: {
7532
- fileName: _jsxFileName$Q,
7461
+ fileName: _jsxFileName$P,
7533
7462
  lineNumber: 62,
7534
7463
  columnNumber: 9
7535
7464
  }
@@ -7548,8 +7477,8 @@ FormLabel.defaultProps = {
7548
7477
  };
7549
7478
  FormLabel.displayName = 'FormLabel';
7550
7479
 
7551
- const _excluded$o = ["children", "error", "errorMessage"];
7552
- var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7480
+ const _excluded$n = ["children", "error", "errorMessage"];
7481
+ var _jsxFileName$O = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7553
7482
  const StyledHelper = styled(Text$1, {
7554
7483
  display: 'inline-block',
7555
7484
  color: '$textSecondary',
@@ -7567,7 +7496,7 @@ const FormHelper = _ref => {
7567
7496
  error,
7568
7497
  errorMessage
7569
7498
  } = _ref,
7570
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7499
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7571
7500
  const errorByMessage = !!errorMessage;
7572
7501
  if (error === undefined && errorByMessage) {
7573
7502
  return /*#__PURE__*/React__default.createElement(StyledHelper, _extends({
@@ -7577,7 +7506,7 @@ const FormHelper = _ref => {
7577
7506
  }, props, {
7578
7507
  __self: undefined,
7579
7508
  __source: {
7580
- fileName: _jsxFileName$P,
7509
+ fileName: _jsxFileName$O,
7581
7510
  lineNumber: 22,
7582
7511
  columnNumber: 7
7583
7512
  }
@@ -7593,7 +7522,7 @@ const FormHelper = _ref => {
7593
7522
  }, props, {
7594
7523
  __self: undefined,
7595
7524
  __source: {
7596
- fileName: _jsxFileName$P,
7525
+ fileName: _jsxFileName$O,
7597
7526
  lineNumber: 31,
7598
7527
  columnNumber: 5
7599
7528
  }
@@ -7604,7 +7533,7 @@ FormHelper.propTypes = {
7604
7533
  };
7605
7534
  FormHelper.displayName = 'FormHelper';
7606
7535
 
7607
- var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7536
+ var _jsxFileName$N = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7608
7537
  const CheckboxContext = /*#__PURE__*/createContext();
7609
7538
  const CheckboxGroup = ({
7610
7539
  children,
@@ -7645,7 +7574,7 @@ const CheckboxGroup = ({
7645
7574
  value: values,
7646
7575
  __self: undefined,
7647
7576
  __source: {
7648
- fileName: _jsxFileName$O,
7577
+ fileName: _jsxFileName$N,
7649
7578
  lineNumber: 35,
7650
7579
  columnNumber: 5
7651
7580
  }
@@ -7662,7 +7591,7 @@ CheckboxGroup.defaultProps = {
7662
7591
  };
7663
7592
  CheckboxGroup.displayName = 'CheckboxGroup';
7664
7593
 
7665
- var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7594
+ var _jsxFileName$M = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7666
7595
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
7667
7596
  xmlns: "http://www.w3.org/2000/svg",
7668
7597
  xmlSpace: "preserve",
@@ -7679,7 +7608,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
7679
7608
  }, props, {
7680
7609
  __self: undefined,
7681
7610
  __source: {
7682
- fileName: _jsxFileName$N,
7611
+ fileName: _jsxFileName$M,
7683
7612
  lineNumber: 4,
7684
7613
  columnNumber: 3
7685
7614
  }
@@ -7691,7 +7620,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
7691
7620
  },
7692
7621
  __self: undefined,
7693
7622
  __source: {
7694
- fileName: _jsxFileName$N,
7623
+ fileName: _jsxFileName$M,
7695
7624
  lineNumber: 19,
7696
7625
  columnNumber: 5
7697
7626
  }
@@ -7703,13 +7632,13 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
7703
7632
  },
7704
7633
  __self: undefined,
7705
7634
  __source: {
7706
- fileName: _jsxFileName$N,
7635
+ fileName: _jsxFileName$M,
7707
7636
  lineNumber: 26,
7708
7637
  columnNumber: 5
7709
7638
  }
7710
7639
  }));
7711
7640
 
7712
- var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7641
+ var _jsxFileName$L = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7713
7642
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7714
7643
  xmlns: "http://www.w3.org/2000/svg",
7715
7644
  xmlSpace: "preserve",
@@ -7726,7 +7655,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
7726
7655
  }, props, {
7727
7656
  __self: undefined,
7728
7657
  __source: {
7729
- fileName: _jsxFileName$M,
7658
+ fileName: _jsxFileName$L,
7730
7659
  lineNumber: 4,
7731
7660
  columnNumber: 3
7732
7661
  }
@@ -7738,7 +7667,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
7738
7667
  },
7739
7668
  __self: undefined,
7740
7669
  __source: {
7741
- fileName: _jsxFileName$M,
7670
+ fileName: _jsxFileName$L,
7742
7671
  lineNumber: 19,
7743
7672
  columnNumber: 5
7744
7673
  }
@@ -7750,14 +7679,14 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
7750
7679
  d: "M14.31 10.41H3.9v-2.6h10.41z",
7751
7680
  __self: undefined,
7752
7681
  __source: {
7753
- fileName: _jsxFileName$M,
7682
+ fileName: _jsxFileName$L,
7754
7683
  lineNumber: 26,
7755
7684
  columnNumber: 5
7756
7685
  }
7757
7686
  }));
7758
7687
 
7759
- const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7760
- var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7688
+ const _excluded$m = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7689
+ var _jsxFileName$K = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7761
7690
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
7762
7691
  alignItems: 'center',
7763
7692
  display: 'flex',
@@ -7815,7 +7744,7 @@ const Checkbox = _ref => {
7815
7744
  index,
7816
7745
  value
7817
7746
  } = _ref,
7818
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7747
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7819
7748
  const context = useContext(CheckboxContext);
7820
7749
  const [isChecked, setChecked] = useState(false);
7821
7750
  useEffect(() => {
@@ -7836,28 +7765,28 @@ const Checkbox = _ref => {
7836
7765
  }, props, {
7837
7766
  __self: undefined,
7838
7767
  __source: {
7839
- fileName: _jsxFileName$L,
7768
+ fileName: _jsxFileName$K,
7840
7769
  lineNumber: 64,
7841
7770
  columnNumber: 5
7842
7771
  }
7843
7772
  }), /*#__PURE__*/React__default.createElement(StyledIndicator$2, {
7844
7773
  __self: undefined,
7845
7774
  __source: {
7846
- fileName: _jsxFileName$L,
7775
+ fileName: _jsxFileName$K,
7847
7776
  lineNumber: 77,
7848
7777
  columnNumber: 7
7849
7778
  }
7850
7779
  }, indeterminate ? /*#__PURE__*/React__default.createElement(SvgMinusOutline, {
7851
7780
  __self: undefined,
7852
7781
  __source: {
7853
- fileName: _jsxFileName$L,
7782
+ fileName: _jsxFileName$K,
7854
7783
  lineNumber: 77,
7855
7784
  columnNumber: 41
7856
7785
  }
7857
7786
  }) : /*#__PURE__*/React__default.createElement(CheckOutline$1, {
7858
7787
  __self: undefined,
7859
7788
  __source: {
7860
- fileName: _jsxFileName$L,
7789
+ fileName: _jsxFileName$K,
7861
7790
  lineNumber: 77,
7862
7791
  columnNumber: 60
7863
7792
  }
@@ -7870,14 +7799,14 @@ const InputCheckbox = _ref2 => {
7870
7799
  gap: 4,
7871
7800
  __self: undefined,
7872
7801
  __source: {
7873
- fileName: _jsxFileName$L,
7802
+ fileName: _jsxFileName$K,
7874
7803
  lineNumber: 84,
7875
7804
  columnNumber: 5
7876
7805
  }
7877
7806
  }, /*#__PURE__*/React__default.createElement(Checkbox, _extends({}, props, {
7878
7807
  __self: undefined,
7879
7808
  __source: {
7880
- fileName: _jsxFileName$L,
7809
+ fileName: _jsxFileName$K,
7881
7810
  lineNumber: 85,
7882
7811
  columnNumber: 7
7883
7812
  }
@@ -7893,14 +7822,14 @@ const InputCheckbox = _ref2 => {
7893
7822
  },
7894
7823
  __self: undefined,
7895
7824
  __source: {
7896
- fileName: _jsxFileName$L,
7825
+ fileName: _jsxFileName$K,
7897
7826
  lineNumber: 86,
7898
7827
  columnNumber: 7
7899
7828
  }
7900
7829
  }, props.label)) : /*#__PURE__*/React__default.createElement(Checkbox, _extends({}, props, {
7901
7830
  __self: undefined,
7902
7831
  __source: {
7903
- fileName: _jsxFileName$L,
7832
+ fileName: _jsxFileName$K,
7904
7833
  lineNumber: 101,
7905
7834
  columnNumber: 5
7906
7835
  }
@@ -7917,8 +7846,8 @@ InputCheckbox.propTypes = {
7917
7846
  };
7918
7847
  InputCheckbox.displayName = 'InputCheckbox';
7919
7848
 
7920
- const _excluded$m = ["children", "size"];
7921
- var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7849
+ const _excluded$l = ["children", "size"];
7850
+ var _jsxFileName$J = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7922
7851
  const InputGroupStyle = styled('div', {
7923
7852
  display: 'flex',
7924
7853
  width: '100%',
@@ -8057,7 +7986,7 @@ const InputGroup = _ref => {
8057
7986
  children,
8058
7987
  size = 'lg'
8059
7988
  } = _ref,
8060
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7989
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8061
7990
  const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8062
7991
  const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8063
7992
  const clone = children.map((child, index) => {
@@ -8080,7 +8009,7 @@ const InputGroup = _ref => {
8080
8009
  isElement: isElement,
8081
8010
  __self: undefined,
8082
8011
  __source: {
8083
- fileName: _jsxFileName$K,
8012
+ fileName: _jsxFileName$J,
8084
8013
  lineNumber: 169,
8085
8014
  columnNumber: 10
8086
8015
  }
@@ -8256,8 +8185,8 @@ InputSuffix.propTypes = {
8256
8185
  children: PropTypes.oneOfType([PropTypes.string, PropTypes.node])
8257
8186
  };
8258
8187
 
8259
- const _excluded$l = ["disabled", "readOnly"];
8260
- var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8188
+ const _excluded$k = ["disabled", "readOnly"];
8189
+ var _jsxFileName$I = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8261
8190
  const disabledStyle = {
8262
8191
  backgroundColor: '$formDisable',
8263
8192
  color: '$textDisable',
@@ -8430,7 +8359,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8430
8359
  disabled,
8431
8360
  readOnly
8432
8361
  } = _ref,
8433
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8362
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8434
8363
  return /*#__PURE__*/React__default.createElement(StyledInput$1, _extends({
8435
8364
  ref: ref,
8436
8365
  disabled: disabled,
@@ -8440,7 +8369,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8440
8369
  }, props, {
8441
8370
  __self: undefined,
8442
8371
  __source: {
8443
- fileName: _jsxFileName$J,
8372
+ fileName: _jsxFileName$I,
8444
8373
  lineNumber: 185,
8445
8374
  columnNumber: 3
8446
8375
  }
@@ -8458,8 +8387,8 @@ InputText.propTypes = {
8458
8387
  };
8459
8388
  InputText.displayName = 'InputText';
8460
8389
 
8461
- const _excluded$k = ["disabled", "readOnly"];
8462
- var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8390
+ const _excluded$j = ["disabled", "readOnly"];
8391
+ var _jsxFileName$H = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8463
8392
  const StyledTextArea = styled(StyledInput$1, {
8464
8393
  variants: {
8465
8394
  size: {
@@ -8480,12 +8409,12 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8480
8409
  disabled,
8481
8410
  readOnly
8482
8411
  } = _ref,
8483
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8412
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8484
8413
  const textareaRef = useRef(null);
8485
8414
  useEffect(() => {
8486
8415
  if (textareaRef.current) {
8487
8416
  textareaRef.current.style.height = '50px';
8488
- const scrollHeight = textareaRef == null ? void 0 : textareaRef.current.scrollHeight;
8417
+ const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
8489
8418
  textareaRef.current.style.height = scrollHeight + 5 + 'px';
8490
8419
  }
8491
8420
  }, []);
@@ -8514,7 +8443,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
8514
8443
  }, props, {
8515
8444
  __self: undefined,
8516
8445
  __source: {
8517
- fileName: _jsxFileName$I,
8446
+ fileName: _jsxFileName$H,
8518
8447
  lineNumber: 51,
8519
8448
  columnNumber: 5
8520
8449
  }
@@ -8537,25 +8466,25 @@ InputTextArea.defaultProps = {
8537
8466
 
8538
8467
  const InputRadioContext = /*#__PURE__*/React__default.createContext();
8539
8468
 
8540
- var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8469
+ var _jsxFileName$G = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8541
8470
  const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
8542
8471
  function InputRadioGroup(props) {
8543
- return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
8472
+ return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
8544
8473
  value: props,
8545
8474
  __self: this,
8546
8475
  __source: {
8547
- fileName: _jsxFileName$H,
8476
+ fileName: _jsxFileName$G,
8548
8477
  lineNumber: 13,
8549
8478
  columnNumber: 7
8550
8479
  }
8551
8480
  }, /*#__PURE__*/React__default.createElement(RadioGroup, _extends({}, props, {
8552
8481
  __self: this,
8553
8482
  __source: {
8554
- fileName: _jsxFileName$H,
8483
+ fileName: _jsxFileName$G,
8555
8484
  lineNumber: 14,
8556
8485
  columnNumber: 9
8557
8486
  }
8558
- }), React__default.Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
8487
+ }), React__default.Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
8559
8488
  style: Object.assign({}, child.props.style, {
8560
8489
  opacity: 1
8561
8490
  })
@@ -8570,8 +8499,8 @@ InputRadioGroup.propTypes = {
8570
8499
  };
8571
8500
  InputRadioGroup.displayName = 'InputRadioGroup';
8572
8501
 
8573
- const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8574
- var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8502
+ const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8503
+ var _jsxFileName$F = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8575
8504
  const INDICATOR_BASE_STYLES = {
8576
8505
  alignItems: 'center',
8577
8506
  display: 'flex',
@@ -8736,20 +8665,21 @@ const InputRadio = _ref => {
8736
8665
  description,
8737
8666
  readOnly
8738
8667
  } = _ref,
8739
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8668
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8740
8669
  function renderInputType(type, checkedValue, onValueChange) {
8741
8670
  switch (type) {
8742
8671
  case 'number':
8743
8672
  return /*#__PURE__*/React__default.createElement(InputNumber, _extends({}, inputProps, {
8744
8673
  readOnly: readOnly,
8745
8674
  onFocus: () => {
8675
+ var _inputProps$onFocus;
8746
8676
  onValueChange(props.value);
8747
- inputProps == null ? void 0 : inputProps.onFocus == null ? void 0 : inputProps.onFocus();
8677
+ inputProps === null || inputProps === void 0 ? void 0 : (_inputProps$onFocus = inputProps.onFocus) === null || _inputProps$onFocus === void 0 ? void 0 : _inputProps$onFocus.call(inputProps);
8748
8678
  },
8749
8679
  asChild: true,
8750
8680
  __self: this,
8751
8681
  __source: {
8752
- fileName: _jsxFileName$G,
8682
+ fileName: _jsxFileName$F,
8753
8683
  lineNumber: 171,
8754
8684
  columnNumber: 11
8755
8685
  }
@@ -8759,13 +8689,14 @@ const InputRadio = _ref => {
8759
8689
  disabled: disabled,
8760
8690
  readOnly: readOnly,
8761
8691
  onFocus: () => {
8692
+ var _inputProps$onFocus2;
8762
8693
  onValueChange(props.value);
8763
- inputProps == null ? void 0 : inputProps.onFocus == null ? void 0 : inputProps.onFocus();
8694
+ inputProps === null || inputProps === void 0 ? void 0 : (_inputProps$onFocus2 = inputProps.onFocus) === null || _inputProps$onFocus2 === void 0 ? void 0 : _inputProps$onFocus2.call(inputProps);
8764
8695
  },
8765
8696
  asChild: true,
8766
8697
  __self: this,
8767
8698
  __source: {
8768
- fileName: _jsxFileName$G,
8699
+ fileName: _jsxFileName$F,
8769
8700
  lineNumber: 184,
8770
8701
  columnNumber: 11
8771
8702
  }
@@ -8784,7 +8715,7 @@ const InputRadio = _ref => {
8784
8715
  },
8785
8716
  __self: this,
8786
8717
  __source: {
8787
- fileName: _jsxFileName$G,
8718
+ fileName: _jsxFileName$F,
8788
8719
  lineNumber: 198,
8789
8720
  columnNumber: 11
8790
8721
  }
@@ -8794,7 +8725,7 @@ const InputRadio = _ref => {
8794
8725
  return /*#__PURE__*/React__default.createElement(InputRadioContext.Consumer, {
8795
8726
  __self: undefined,
8796
8727
  __source: {
8797
- fileName: _jsxFileName$G,
8728
+ fileName: _jsxFileName$F,
8798
8729
  lineNumber: 217,
8799
8730
  columnNumber: 5
8800
8731
  }
@@ -8811,7 +8742,7 @@ const InputRadio = _ref => {
8811
8742
  outlined: outlined,
8812
8743
  __self: undefined,
8813
8744
  __source: {
8814
- fileName: _jsxFileName$G,
8745
+ fileName: _jsxFileName$F,
8815
8746
  lineNumber: 222,
8816
8747
  columnNumber: 11
8817
8748
  }
@@ -8826,7 +8757,7 @@ const InputRadio = _ref => {
8826
8757
  css: css,
8827
8758
  __self: undefined,
8828
8759
  __source: {
8829
- fileName: _jsxFileName$G,
8760
+ fileName: _jsxFileName$F,
8830
8761
  lineNumber: 223,
8831
8762
  columnNumber: 13
8832
8763
  }
@@ -8835,7 +8766,7 @@ const InputRadio = _ref => {
8835
8766
  gap: 4,
8836
8767
  __self: undefined,
8837
8768
  __source: {
8838
- fileName: _jsxFileName$G,
8769
+ fileName: _jsxFileName$F,
8839
8770
  lineNumber: 233,
8840
8771
  columnNumber: 15
8841
8772
  }
@@ -8846,14 +8777,14 @@ const InputRadio = _ref => {
8846
8777
  }, props, {
8847
8778
  __self: undefined,
8848
8779
  __source: {
8849
- fileName: _jsxFileName$G,
8780
+ fileName: _jsxFileName$F,
8850
8781
  lineNumber: 234,
8851
8782
  columnNumber: 17
8852
8783
  }
8853
8784
  }), /*#__PURE__*/React__default.createElement(StyledIndicator$1, {
8854
8785
  __self: undefined,
8855
8786
  __source: {
8856
- fileName: _jsxFileName$G,
8787
+ fileName: _jsxFileName$F,
8857
8788
  lineNumber: 235,
8858
8789
  columnNumber: 19
8859
8790
  }
@@ -8865,7 +8796,7 @@ const InputRadio = _ref => {
8865
8796
  },
8866
8797
  __self: undefined,
8867
8798
  __source: {
8868
- fileName: _jsxFileName$G,
8799
+ fileName: _jsxFileName$F,
8869
8800
  lineNumber: 240,
8870
8801
  columnNumber: 17
8871
8802
  }
@@ -10724,24 +10655,24 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
10724
10655
  allowLeadingZeros,
10725
10656
  format
10726
10657
  } = Object.assign({}, ref);
10727
- const formattedValueStartsWithZero = (_formattedValue = formattedValue) == null ? void 0 : _formattedValue.startsWith(`${prefix}0`);
10728
- const formattedWithZeroAndSuffix = (_formattedValue2 = formattedValue) == null ? void 0 : _formattedValue2.endsWith(`0${suffix}`);
10658
+ const formattedValueStartsWithZero = (_formattedValue = formattedValue) === null || _formattedValue === void 0 ? void 0 : _formattedValue.startsWith(`${prefix}0`);
10659
+ const formattedWithZeroAndSuffix = (_formattedValue2 = formattedValue) === null || _formattedValue2 === void 0 ? void 0 : _formattedValue2.endsWith(`0${suffix}`);
10729
10660
  const emptyFormattedValue = prefix || suffix || prefix + suffix || '';
10730
10661
  if ((formattedValueStartsWithZero || formattedWithZeroAndSuffix) && !allowLeadingZeros && !format) {
10731
10662
  var _formattedValue3, _input$value;
10732
10663
  const isSpecialChar = /^[+-]/.test(formattedValue);
10733
- if (formattedValue !== `${prefix}0${suffix}` && !((_formattedValue3 = formattedValue) != null && _formattedValue3.includes('0,'))) {
10664
+ if (formattedValue !== `${prefix}0${suffix}` && !((_formattedValue3 = formattedValue) !== null && _formattedValue3 !== void 0 && _formattedValue3.includes('0,'))) {
10734
10665
  var _formattedValue4, _numAsString;
10735
- formattedValue = (_formattedValue4 = formattedValue) == null ? void 0 : _formattedValue4.replace(new RegExp(`^${isSpecialChar ? '\\' : ''}${prefix}0+${suffix}`), emptyFormattedValue);
10736
- numAsString = (_numAsString = numAsString) == null ? void 0 : _numAsString.replace(/^0+/, '');
10666
+ formattedValue = (_formattedValue4 = formattedValue) === null || _formattedValue4 === void 0 ? void 0 : _formattedValue4.replace(new RegExp(`^${isSpecialChar ? '\\' : ''}${prefix}0+${suffix}`), emptyFormattedValue);
10667
+ numAsString = (_numAsString = numAsString) === null || _numAsString === void 0 ? void 0 : _numAsString.replace(/^0+/, '');
10737
10668
  }
10738
- if (formattedValue === emptyFormattedValue && !numAsString && [`${prefix}00${suffix}`, `${prefix}0${suffix}`].includes(input == null ? void 0 : input.value)) {
10669
+ if (formattedValue === emptyFormattedValue && !numAsString && [`${prefix}00${suffix}`, `${prefix}0${suffix}`].includes(input === null || input === void 0 ? void 0 : input.value)) {
10739
10670
  formattedValue = `${prefix}0${suffix}`;
10740
10671
  numAsString = '0';
10741
- } else if (input != null && (_input$value = input.value) != null && _input$value.includes('0,')) {
10672
+ } else if (input !== null && input !== void 0 && (_input$value = input.value) !== null && _input$value !== void 0 && _input$value.includes('0,')) {
10742
10673
  allowLeadingZeros = true;
10743
- formattedValue = input == null ? void 0 : input.value;
10744
- numAsString = this.removeFormatting(input == null ? void 0 : input.value);
10674
+ formattedValue = input === null || input === void 0 ? void 0 : input.value;
10675
+ numAsString = this.removeFormatting(input === null || input === void 0 ? void 0 : input.value);
10745
10676
  }
10746
10677
  }
10747
10678
  //end adjustment
@@ -11019,8 +10950,8 @@ var NumberFormat = /*@__PURE__*/function (superclass) {
11019
10950
  }(React__default.Component);
11020
10951
  NumberFormat.defaultProps = defaultProps;
11021
10952
 
11022
- const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11023
- var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
10953
+ const _excluded$h = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
10954
+ var _jsxFileName$E = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11024
10955
  const StyledInput = styled(NumberFormat, {
11025
10956
  // Reset
11026
10957
  appearance: 'none',
@@ -11199,7 +11130,7 @@ function countThousandSeparatorsByLength(numberLength) {
11199
11130
  }
11200
11131
  function getMaxValueLength(maxValue, prefix = '', suffix = '', thousandSeparator) {
11201
11132
  const tsLength = thousandSeparator ? countThousandSeparatorsByLength(maxValue) : 0;
11202
- return maxValue + (prefix == null ? void 0 : prefix.length) + (suffix == null ? void 0 : suffix.length) + tsLength;
11133
+ return maxValue + (prefix === null || prefix === void 0 ? void 0 : prefix.length) + (suffix === null || suffix === void 0 ? void 0 : suffix.length) + tsLength;
11203
11134
  }
11204
11135
  const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11205
11136
  let {
@@ -11215,7 +11146,7 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11215
11146
  maxLength,
11216
11147
  thousandSeparator
11217
11148
  } = _ref,
11218
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
11149
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11219
11150
  return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
11220
11151
  condition: Boolean(control),
11221
11152
  wrapper: child => /*#__PURE__*/React__default.createElement(Controller, {
@@ -11233,14 +11164,14 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11233
11164
  }),
11234
11165
  __self: undefined,
11235
11166
  __source: {
11236
- fileName: _jsxFileName$F,
11167
+ fileName: _jsxFileName$E,
11237
11168
  lineNumber: 225,
11238
11169
  columnNumber: 9
11239
11170
  }
11240
11171
  }),
11241
11172
  __self: undefined,
11242
11173
  __source: {
11243
- fileName: _jsxFileName$F,
11174
+ fileName: _jsxFileName$E,
11244
11175
  lineNumber: 222,
11245
11176
  columnNumber: 5
11246
11177
  }
@@ -11251,14 +11182,14 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11251
11182
  size: size,
11252
11183
  isInvalid: isInvalid,
11253
11184
  readOnly: readOnly,
11254
- isReadOnly: readOnly && !(props != null && props.inputGroup) && !(props != null && props.asChild),
11185
+ isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup) && !(props !== null && props !== void 0 && props.asChild),
11255
11186
  disabled: disabled,
11256
- maxLength: maxValueLength ? getMaxValueLength(maxValueLength, props == null ? void 0 : props.prefix, props == null ? void 0 : props.suffix, thousandSeparator) : maxLength,
11187
+ maxLength: maxValueLength ? getMaxValueLength(maxValueLength, props === null || props === void 0 ? void 0 : props.prefix, props === null || props === void 0 ? void 0 : props.suffix, thousandSeparator) : maxLength,
11257
11188
  thousandSeparator: thousandSeparator
11258
11189
  }, props, {
11259
11190
  __self: undefined,
11260
11191
  __source: {
11261
- fileName: _jsxFileName$F,
11192
+ fileName: _jsxFileName$E,
11262
11193
  lineNumber: 234,
11263
11194
  columnNumber: 7
11264
11195
  }
@@ -11280,8 +11211,6 @@ InputNumber.defaultProps = {
11280
11211
  InputNumber.name = 'InputText';
11281
11212
  InputNumber.displayName = 'InputNumber';
11282
11213
 
11283
- const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11284
- var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
11285
11214
  const TagWrapper$4 = styled('div', {
11286
11215
  boxSizing: 'border-box',
11287
11216
  listStyle: 'none',
@@ -11324,6 +11253,10 @@ const TagWrapper$4 = styled('div', {
11324
11253
  }
11325
11254
  },
11326
11255
  type: {
11256
+ default: {
11257
+ background: '$bgGray',
11258
+ color: '$textPrimary'
11259
+ },
11327
11260
  success: {
11328
11261
  background: '$bgSuccess',
11329
11262
  color: '$textGreen'
@@ -11373,8 +11306,8 @@ const StyledIconLeft$3 = styled('div', {
11373
11306
  alignItems: 'center',
11374
11307
  color: 'inherit'
11375
11308
  });
11376
- const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11377
- let {
11309
+ const Tag = /*#__PURE__*/React__default.forwardRef((_a, ref) => {
11310
+ var {
11378
11311
  children,
11379
11312
  onClick,
11380
11313
  size,
@@ -11384,71 +11317,35 @@ const Tag = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
11384
11317
  type,
11385
11318
  onRemove,
11386
11319
  readOnly
11387
- } = _ref,
11388
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11389
- return /*#__PURE__*/React__default.createElement(TagWrapper$4, _extends({
11320
+ } = _a,
11321
+ props = __rest(_a, ["children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"]);
11322
+ return jsxs(TagWrapper$4, Object.assign({
11390
11323
  ref: ref,
11391
11324
  onClick: onClick,
11392
11325
  size: size,
11393
11326
  disabled: disabled,
11394
11327
  type: type,
11395
- readOnly: readOnly,
11396
- css: Object.assign({}, props.css)
11328
+ readOnly: readOnly
11397
11329
  }, props, {
11398
- __self: undefined,
11399
- __source: {
11400
- fileName: _jsxFileName$E,
11401
- lineNumber: 84,
11402
- columnNumber: 7
11403
- }
11404
- }), icon !== undefined ? /*#__PURE__*/React__default.createElement(StyledIconLeft$3, {
11405
- __self: undefined,
11406
- __source: {
11407
- fileName: _jsxFileName$E,
11408
- lineNumber: 94,
11409
- columnNumber: 31
11410
- }
11411
- }, icon) : null, /*#__PURE__*/React__default.createElement(TagComponent$1, {
11412
- __self: undefined,
11413
- __source: {
11414
- fileName: _jsxFileName$E,
11415
- lineNumber: 95,
11416
- columnNumber: 9
11417
- }
11418
- }, children), isRemovable ? /*#__PURE__*/React__default.createElement(StyledIconRight$1, {
11419
- disabled: disabled,
11420
- onClick: onRemove,
11421
- readOnly: readOnly,
11422
- __self: undefined,
11423
- __source: {
11424
- fileName: _jsxFileName$E,
11425
- lineNumber: 97,
11426
- columnNumber: 11
11427
- }
11428
- }, /*#__PURE__*/React__default.createElement(CloseOutline, {
11429
- size: 16,
11430
- color: colors$8.iconSecondary,
11431
- style: {
11432
- verticalAlign: 'middle'
11433
- },
11434
- __self: undefined,
11435
- __source: {
11436
- fileName: _jsxFileName$E,
11437
- lineNumber: 98,
11438
- columnNumber: 13
11439
- }
11440
- })) : null);
11330
+ children: [icon !== undefined ? jsx(StyledIconLeft$3, {
11331
+ children: icon
11332
+ }, void 0) : null, jsx(TagComponent$1, {
11333
+ children: children
11334
+ }, void 0), isRemovable ? jsx(StyledIconRight$1, Object.assign({
11335
+ disabled: disabled,
11336
+ onClick: onRemove,
11337
+ readOnly: readOnly
11338
+ }, {
11339
+ children: jsx(CloseOutline, {
11340
+ size: 16,
11341
+ color: colors$8.iconSecondary,
11342
+ style: {
11343
+ verticalAlign: 'middle'
11344
+ }
11345
+ }, void 0)
11346
+ }), void 0) : null]
11347
+ }), void 0);
11441
11348
  });
11442
- Tag.propTypes = {
11443
- size: PropTypes.string,
11444
- disabled: PropTypes.bool,
11445
- type: PropTypes.string,
11446
- icon: PropTypes.element,
11447
- isRemovable: PropTypes.bool,
11448
- onRemove: PropTypes.func,
11449
- onClick: PropTypes.func,
11450
- readOnly: PropTypes.bool
11451
- };
11452
11349
  Tag.defaultProps = {
11453
11350
  size: 'sm',
11454
11351
  isRemovable: false,
@@ -11457,7 +11354,7 @@ Tag.defaultProps = {
11457
11354
  };
11458
11355
 
11459
11356
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
11460
- var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11357
+ var _jsxFileName$D = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11461
11358
  const Wrapper$2 = styled('div', {
11462
11359
  margin: 0,
11463
11360
  flexDirection: 'column',
@@ -11591,16 +11488,16 @@ function TagsInput(_ref) {
11591
11488
  const addTags = event => {
11592
11489
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
11593
11490
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
11594
- onEnter == null ? void 0 : onEnter({
11491
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
11595
11492
  key: 'duplicate',
11596
11493
  value: event.target.value
11597
11494
  });
11598
11495
  return;
11599
11496
  }
11600
- if (pattern && pattern != null && pattern.regex) {
11497
+ if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
11601
11498
  const regex = new RegExp(pattern.regex);
11602
11499
  if (!regex.test(event.target.value)) {
11603
- onEnter == null ? void 0 : onEnter({
11500
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
11604
11501
  key: 'error',
11605
11502
  value: event.target.value
11606
11503
  });
@@ -11609,7 +11506,7 @@ function TagsInput(_ref) {
11609
11506
  }
11610
11507
  }
11611
11508
  setRegexError(false);
11612
- onEnter == null ? void 0 : onEnter({
11509
+ onEnter === null || onEnter === void 0 ? void 0 : onEnter({
11613
11510
  key: 'success',
11614
11511
  value: event.target.value
11615
11512
  });
@@ -11621,7 +11518,7 @@ function TagsInput(_ref) {
11621
11518
  if (disabled || readOnly) {
11622
11519
  return tags;
11623
11520
  } else if (key === 'removeTag' || key === 'Backspace') {
11624
- onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
11521
+ onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
11625
11522
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
11626
11523
  }
11627
11524
  };
@@ -11672,7 +11569,7 @@ function TagsInput(_ref) {
11672
11569
  lineNumber: 180,
11673
11570
  columnNumber: 9
11674
11571
  }
11675
- })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
11572
+ })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
11676
11573
  color: "red",
11677
11574
  __self: this,
11678
11575
  __source: {
@@ -11754,7 +11651,7 @@ TagsInput.defaultProps = {
11754
11651
  };
11755
11652
 
11756
11653
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
11757
- var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11654
+ var _jsxFileName$C = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11758
11655
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
11759
11656
  display: 'block',
11760
11657
  width: '16px',
@@ -11859,7 +11756,7 @@ InputSwitch.propTypes = {
11859
11756
  };
11860
11757
  InputSwitch.displayName = 'InputSwitch';
11861
11758
 
11862
- var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11759
+ var _jsxFileName$B = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11863
11760
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
11864
11761
  width: props.size,
11865
11762
  height: props.size,
@@ -11918,7 +11815,7 @@ SvgCloseFilled.defaultProps = {
11918
11815
  size: 24
11919
11816
  };
11920
11817
 
11921
- var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11818
+ var _jsxFileName$A = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11922
11819
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
11923
11820
  width: props.size,
11924
11821
  height: props.size,
@@ -11959,7 +11856,7 @@ SvgSearchOutline.defaultProps = {
11959
11856
  };
11960
11857
 
11961
11858
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
11962
- var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
11859
+ var _jsxFileName$z = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
11963
11860
  const {
11964
11861
  colors: colors$7
11965
11862
  } = foundations;
@@ -11980,14 +11877,14 @@ const InputSearchbox = _ref => {
11980
11877
  t
11981
11878
  } = useTranslation(['MajooUI/inputSearchbox', 'translation']);
11982
11879
  const [value, setValue] = useState(defaultValue);
11983
- const inputValue = (_props$value = props == null ? void 0 : props.value) != null ? _props$value : value;
11984
- const debounceChange = useCallback(debounce(e => onChange == null ? void 0 : onChange(e), 1000), [onChange]);
11880
+ const inputValue = (_props$value = props === null || props === void 0 ? void 0 : props.value) != null ? _props$value : value;
11881
+ const debounceChange = useCallback(debounce(e => onChange === null || onChange === void 0 ? void 0 : onChange(e), 1000), [onChange]);
11985
11882
  const handleChange = useCallback(e => {
11986
11883
  setValue(e.target.value);
11987
11884
  if (withDebounce) {
11988
11885
  debounceChange(e.target.value);
11989
11886
  } else {
11990
- onChange == null ? void 0 : onChange(e.target.value);
11887
+ onChange === null || onChange === void 0 ? void 0 : onChange(e.target.value);
11991
11888
  }
11992
11889
  }, [onChange, debounceChange, withDebounce]);
11993
11890
  const handleClearButtonClick = e => {
@@ -12040,7 +11937,7 @@ const InputSearchbox = _ref => {
12040
11937
  columnNumber: 7
12041
11938
  }
12042
11939
  })), /*#__PURE__*/React__default.createElement(InputRightElement, {
12043
- children: (inputValue == null ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
11940
+ children: (inputValue === null || inputValue === void 0 ? void 0 : inputValue.length) > 0 ? /*#__PURE__*/React__default.createElement(SvgCloseFilled, {
12044
11941
  color: colors$7.iconSecondary,
12045
11942
  __self: undefined,
12046
11943
  __source: {
@@ -12258,7 +12155,7 @@ $$5({ target: 'Array', proto: true, forced: FORCED$1 }, {
12258
12155
  });
12259
12156
 
12260
12157
  const _excluded$d = ["children"];
12261
- var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
12158
+ var _jsxFileName$y = "/Users/majoo/majoo-ui/packages/react/src/components/popover/Popover.js";
12262
12159
  const {
12263
12160
  zIndices: zIndices$1
12264
12161
  } = foundations;
@@ -12285,7 +12182,7 @@ const Popover = ({
12285
12182
  middleware: [offset(_sideOffset), shift$2(), _flip && flip()],
12286
12183
  onOpenChange: isOpen => {
12287
12184
  setOpenState(isOpen);
12288
- !isOpen && (onClose == null ? void 0 : onClose());
12185
+ !isOpen && (onClose === null || onClose === void 0 ? void 0 : onClose());
12289
12186
  },
12290
12187
  placement
12291
12188
  });
@@ -13707,7 +13604,7 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
13707
13604
  }), void 0);
13708
13605
  });
13709
13606
 
13710
- var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13607
+ var _jsxFileName$x = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13711
13608
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
13712
13609
  xmlns: "http://www.w3.org/2000/svg",
13713
13610
  xmlSpace: "preserve",
@@ -13788,7 +13685,7 @@ function OptionGroupItem({
13788
13685
  }
13789
13686
 
13790
13687
  const _excluded$c = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions"];
13791
- var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13688
+ var _jsxFileName$w = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13792
13689
  const Wrapper$1 = styled('div', {
13793
13690
  margin: 0,
13794
13691
  flexDirection: 'column',
@@ -14099,13 +13996,13 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14099
13996
  const isShowSelectAll = showSelectAll && !maxSelectedItem;
14100
13997
  useEffect(() => {
14101
13998
  var _scrollerRef$current;
14102
- (_scrollerRef$current = scrollerRef.current) == null ? void 0 : _scrollerRef$current.scrollTo({
13999
+ (_scrollerRef$current = scrollerRef.current) === null || _scrollerRef$current === void 0 ? void 0 : _scrollerRef$current.scrollTo({
14103
14000
  top: 0
14104
14001
  });
14105
14002
  }, [query]);
14106
14003
  useEffect(() => {
14107
- if (defaultValue != null && defaultValue.length) {
14108
- if (value != null && value.length) {
14004
+ if (defaultValue !== null && defaultValue !== void 0 && defaultValue.length) {
14005
+ if (value !== null && value !== void 0 && value.length) {
14109
14006
  setInputSelectValue(value);
14110
14007
  }
14111
14008
  } else {
@@ -14170,14 +14067,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14170
14067
  removeSelectedItem,
14171
14068
  selectedItems
14172
14069
  } = useMultipleSelection({
14173
- selectedItems: selectedValue.length > 0 ? initItem == null ? void 0 : (_initItem$reduce = initItem.reduce((acc, item) => [...acc, item, ...(item.children ? item.children : [])], [])) == null ? void 0 : _initItem$reduce.filter(item => selectedValue.includes(item.id)) : []
14070
+ selectedItems: selectedValue.length > 0 ? initItem === null || initItem === void 0 ? void 0 : (_initItem$reduce = initItem.reduce((acc, item) => [...acc, item, ...(item.children ? item.children : [])], [])) === null || _initItem$reduce === void 0 ? void 0 : _initItem$reduce.filter(item => selectedValue.includes(item.id)) : []
14174
14071
  });
14175
14072
  const generateOptions = data => {
14176
14073
  return data.map(option => {
14177
14074
  if (typeof option === 'object') {
14178
14075
  const id = Object.values(option)[0];
14179
14076
  const name = Object.values(option)[1];
14180
- let children = option == null ? void 0 : option.children;
14077
+ let children = option === null || option === void 0 ? void 0 : option.children;
14181
14078
  let isDisabled = disabledOptions.length > 0 ? disabledOptions.includes(id) : false;
14182
14079
  if (children && Array.isArray(children)) {
14183
14080
  children = generateOptions(children);
@@ -14199,7 +14096,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14199
14096
  };
14200
14097
  const debouncedSearch = React__default.useRef(debounce(async query => {
14201
14098
  setQuery(query);
14202
- onSearch == null ? void 0 : onSearch(query);
14099
+ onSearch === null || onSearch === void 0 ? void 0 : onSearch(query);
14203
14100
  }, 1000)).current;
14204
14101
  React__default.useEffect(() => {
14205
14102
  return () => {
@@ -14207,7 +14104,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14207
14104
  };
14208
14105
  }, [debouncedSearch]);
14209
14106
  const handleInputValue = input => {
14210
- onSearch == null ? void 0 : onSearch(input);
14107
+ onSearch === null || onSearch === void 0 ? void 0 : onSearch(input);
14211
14108
  if (input === '') {
14212
14109
  if (disabledOptions.length > 0) {
14213
14110
  const options = generateOptions(sortDisabled);
@@ -14222,9 +14119,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14222
14119
  }, ...option] : option);
14223
14120
  }
14224
14121
  } else {
14225
- let filterItems = option == null ? void 0 : option.filter(item => {
14226
- var _item$name, _item$name$toLowerCas;
14227
- return item == null ? void 0 : (_item$name = item.name) == null ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) == null ? void 0 : _item$name$toLowerCas.includes == null ? void 0 : _item$name$toLowerCas.includes(input == null ? void 0 : input.toLocaleLowerCase == null ? void 0 : input.toLocaleLowerCase());
14122
+ let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
14123
+ var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
14124
+ return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) === null || _item$name$toLowerCas === void 0 ? void 0 : (_item$name$toLowerCas2 = _item$name$toLowerCas.includes) === null || _item$name$toLowerCas2 === void 0 ? void 0 : _item$name$toLowerCas2.call(_item$name$toLowerCas, input === null || input === void 0 ? void 0 : (_input$toLocaleLowerC = input.toLocaleLowerCase) === null || _input$toLocaleLowerC === void 0 ? void 0 : _input$toLocaleLowerC.call(input));
14228
14125
  });
14229
14126
  setItems(filterItems);
14230
14127
  }
@@ -14233,10 +14130,10 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14233
14130
  if (disabled || readOnly) {
14234
14131
  return selectedValue;
14235
14132
  } else {
14236
- if ((selected == null ? void 0 : selected.id) === 'counter') {
14133
+ if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
14237
14134
  setSelectedValue([]);
14238
14135
  setInputSelectValue([]);
14239
- onChange == null ? void 0 : onChange([]);
14136
+ onChange === null || onChange === void 0 ? void 0 : onChange([]);
14240
14137
  for (let i = 0; i < selectedValue.length; i++) {
14241
14138
  removeSelectedItem(selectedValue[i]);
14242
14139
  }
@@ -14246,7 +14143,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14246
14143
  setSelectedValue(filterItems);
14247
14144
  setInputSelectValue(filterItems);
14248
14145
  if (selected.id !== '!all') {
14249
- onChange == null ? void 0 : onChange(filterItems);
14146
+ onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
14250
14147
  }
14251
14148
  }
14252
14149
  }
@@ -14285,9 +14182,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14285
14182
  if (selectedItem.id === '!all') {
14286
14183
  items.forEach(item => {
14287
14184
  var _item$children;
14288
- if (item != null && (_item$children = item.children) != null && _item$children.length) {
14185
+ if (item !== null && item !== void 0 && (_item$children = item.children) !== null && _item$children !== void 0 && _item$children.length) {
14289
14186
  var _item$children2;
14290
- item == null ? void 0 : (_item$children2 = item.children) == null ? void 0 : _item$children2.forEach(item => {
14187
+ item === null || item === void 0 ? void 0 : (_item$children2 = item.children) === null || _item$children2 === void 0 ? void 0 : _item$children2.forEach(item => {
14291
14188
  removeSelectedItem(item);
14292
14189
  });
14293
14190
  } else {
@@ -14296,7 +14193,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14296
14193
  });
14297
14194
  setSelectedValue([]);
14298
14195
  setInputSelectValue([]);
14299
- onChange == null ? void 0 : onChange([]);
14196
+ onChange === null || onChange === void 0 ? void 0 : onChange([]);
14300
14197
  } else {
14301
14198
  removeItem(selectedItem);
14302
14199
  }
@@ -14307,9 +14204,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14307
14204
  const itemIds = [];
14308
14205
  items.filter(item => !item.isDisabled).forEach(item => {
14309
14206
  var _item$children3;
14310
- if (item != null && (_item$children3 = item.children) != null && _item$children3.length) {
14207
+ if (item !== null && item !== void 0 && (_item$children3 = item.children) !== null && _item$children3 !== void 0 && _item$children3.length) {
14311
14208
  var _item$children4;
14312
- item == null ? void 0 : (_item$children4 = item.children) == null ? void 0 : _item$children4.filter(item => !item.isDisabled).forEach(item => {
14209
+ item === null || item === void 0 ? void 0 : (_item$children4 = item.children) === null || _item$children4 === void 0 ? void 0 : _item$children4.filter(item => !item.isDisabled).forEach(item => {
14313
14210
  addSelectedItem(item);
14314
14211
  itemIds.push(item.id);
14315
14212
  });
@@ -14324,17 +14221,17 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14324
14221
  if (onSelectAllChecked) {
14325
14222
  onSelectAllChecked(itemIds.slice(1));
14326
14223
  } else {
14327
- onChange == null ? void 0 : onChange(itemIds.slice(1));
14224
+ onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
14328
14225
  }
14329
14226
  } else {
14330
14227
  var _selectedItem$childre;
14331
14228
  //start check if item have children (option group)
14332
- if (selectedItem != null && (_selectedItem$childre = selectedItem.children) != null && _selectedItem$childre.length) {
14229
+ if (selectedItem !== null && selectedItem !== void 0 && (_selectedItem$childre = selectedItem.children) !== null && _selectedItem$childre !== void 0 && _selectedItem$childre.length) {
14333
14230
  var _selectedItem$childre2;
14334
14231
  const itemIdsSelect = [];
14335
14232
  const itemIdsUnSelect = [];
14336
- selectedItem == null ? void 0 : (_selectedItem$childre2 = selectedItem.children) == null ? void 0 : _selectedItem$childre2.filter(item => !item.isDisabled).forEach(item => {
14337
- if (selectedValue != null && selectedValue.includes(item.id)) {
14233
+ selectedItem === null || selectedItem === void 0 ? void 0 : (_selectedItem$childre2 = selectedItem.children) === null || _selectedItem$childre2 === void 0 ? void 0 : _selectedItem$childre2.filter(item => !item.isDisabled).forEach(item => {
14234
+ if (selectedValue !== null && selectedValue !== void 0 && selectedValue.includes(item.id)) {
14338
14235
  removeSelectedItem(item);
14339
14236
  itemIdsUnSelect.push(item.id);
14340
14237
  } else {
@@ -14348,19 +14245,19 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14348
14245
  setSelectedValue([...selectedValue, ...itemIdsSelect]);
14349
14246
  setInputSelectValue([...selectedValue, ...itemIdsSelect]);
14350
14247
  const _filteredSelectedValues = selectedValue.filter(val => val !== '!all');
14351
- onChange == null ? void 0 : onChange([..._filteredSelectedValues, ...itemIdsSelect]);
14248
+ onChange === null || onChange === void 0 ? void 0 : onChange([..._filteredSelectedValues, ...itemIdsSelect]);
14352
14249
  }
14353
14250
 
14354
14251
  //unselect all child in one of the option groups
14355
14252
  if (itemIdsUnSelect.length) {
14356
14253
  const newSelectedValue = selectedValue.filter(selId => {
14357
14254
  var _itemIdsUnSelect$filt;
14358
- return ((_itemIdsUnSelect$filt = itemIdsUnSelect.filter(unselId => unselId === selId && unselId)) == null ? void 0 : _itemIdsUnSelect$filt[0]) !== selId && selId;
14255
+ return ((_itemIdsUnSelect$filt = itemIdsUnSelect.filter(unselId => unselId === selId && unselId)) === null || _itemIdsUnSelect$filt === void 0 ? void 0 : _itemIdsUnSelect$filt[0]) !== selId && selId;
14359
14256
  });
14360
14257
  setSelectedValue(newSelectedValue);
14361
14258
  setInputSelectValue(newSelectedValue);
14362
14259
  const _filteredSelectedValues2 = newSelectedValue.filter(val => val !== '!all');
14363
- onChange == null ? void 0 : onChange(_filteredSelectedValues2);
14260
+ onChange === null || onChange === void 0 ? void 0 : onChange(_filteredSelectedValues2);
14364
14261
  }
14365
14262
  return;
14366
14263
  }
@@ -14377,7 +14274,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14377
14274
  setSelectedValue([...selectedValue, selectedItem.id]);
14378
14275
  setInputSelectValue([...selectedValue, selectedItem.id]);
14379
14276
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
14380
- onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
14277
+ onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
14381
14278
  }
14382
14279
  selectItem(null);
14383
14280
  }
@@ -14409,9 +14306,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14409
14306
  }
14410
14307
  }
14411
14308
  });
14412
- const getOption = useCallback(() => maxSelectedItem ? option == null ? void 0 : option.map(item => {
14413
- const isMaxSelectedItem = maxSelectedItem && (selectedValue == null ? void 0 : selectedValue.length) >= maxSelectedItem;
14414
- if (isMaxSelectedItem && !(selectedValue != null && selectedValue.includes(item.id))) {
14309
+ const getOption = useCallback(() => maxSelectedItem ? option === null || option === void 0 ? void 0 : option.map(item => {
14310
+ const isMaxSelectedItem = maxSelectedItem && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) >= maxSelectedItem;
14311
+ if (isMaxSelectedItem && !(selectedValue !== null && selectedValue !== void 0 && selectedValue.includes(item.id))) {
14415
14312
  item.hideCheck = true;
14416
14313
  item.isDisabled = true;
14417
14314
  } else {
@@ -14420,7 +14317,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14420
14317
  }
14421
14318
  return item;
14422
14319
  }) : option, [maxSelectedItem, option, selectedValue]);
14423
- const itemsLength = items == null ? void 0 : items.reduce((acc, item) => {
14320
+ const itemsLength = items === null || items === void 0 ? void 0 : items.reduce((acc, item) => {
14424
14321
  return [...acc, ...(item.children ? item.children : [item])];
14425
14322
  }, []).length;
14426
14323
  useEffect(() => {
@@ -14469,15 +14366,16 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14469
14366
  }, [label, isOpen]);
14470
14367
  const toggleCollapsible = () => setShowAllTags(!showAllTags);
14471
14368
  const handleRemoveAllItem = () => {
14472
- onChange == null ? void 0 : onChange([]);
14369
+ onChange === null || onChange === void 0 ? void 0 : onChange([]);
14473
14370
  setSelectedValue([]);
14474
14371
  setInputSelectValue([]);
14475
14372
  for (let i = 0; i < selectedValue.length; i++) {
14476
14373
  removeSelectedItem(selectedValue[i]);
14477
14374
  }
14478
14375
  };
14479
- const isShowTagSelectAll = showTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > (option == null ? void 0 : option.length);
14376
+ const isShowTagSelectAll = showTagSelectAll && (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) > (option === null || option === void 0 ? void 0 : option.length);
14480
14377
  const renderOptionItem = (item, index, asChild) => {
14378
+ var _item$render;
14481
14379
  return /*#__PURE__*/React__default.createElement(ItemWrapper$1, _extends({
14482
14380
  key: item.id
14483
14381
  }, getItemProps({
@@ -14511,7 +14409,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14511
14409
  lineNumber: 777,
14512
14410
  columnNumber: 11
14513
14411
  }
14514
- }, !(item != null && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14412
+ }, !(item !== null && item !== void 0 && item.hideCheck) && (item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14515
14413
  color: colors$8.iconDisable,
14516
14414
  __self: undefined,
14517
14415
  __source: {
@@ -14527,7 +14425,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14527
14425
  lineNumber: 793,
14528
14426
  columnNumber: 19
14529
14427
  }
14530
- })), isShowSelectAll && (item == null ? void 0 : item.id) === '!all' && selectedValue != null && selectedValue.length && (selectedValue == null ? void 0 : selectedValue.length) < itemsLength ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
14428
+ })), 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) < itemsLength ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
14531
14429
  __self: undefined,
14532
14430
  __source: {
14533
14431
  fileName: _jsxFileName$w,
@@ -14552,15 +14450,15 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14552
14450
  lineNumber: 802,
14553
14451
  columnNumber: 11
14554
14452
  }
14555
- }, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name));
14453
+ }, item.render ? (_item$render = item.render) === null || _item$render === void 0 ? void 0 : _item$render.call(item, item.name) : item.name));
14556
14454
  };
14557
14455
  let lastGroupIndex = showSelectAll ? 1 : 0;
14558
14456
  const renderOptionGroupItem = (item, index) => {
14559
- var _item$children5, _item$children6, _item$children7, _item$children7$filte, _item$children8;
14457
+ var _item$children5, _item$children6, _item$children7, _item$children7$filte, _item$render2, _item$children8;
14560
14458
  // const groupIndex = (index > (showSelectAll ? 1 : 0)) ? lastGroupIndex : 0;
14561
14459
  const groupIndex = lastGroupIndex;
14562
- lastGroupIndex += ((item == null ? void 0 : (_item$children5 = item.children) == null ? void 0 : _item$children5.length) || 0) + 1;
14563
- const filterSelectedChild = item == null ? void 0 : (_item$children6 = item.children) == null ? void 0 : _item$children6.filter(e => selectedValue.includes(e.id) && !e.isDisabled);
14460
+ lastGroupIndex += ((item === null || item === void 0 ? void 0 : (_item$children5 = item.children) === null || _item$children5 === void 0 ? void 0 : _item$children5.length) || 0) + 1;
14461
+ const filterSelectedChild = item === null || item === void 0 ? void 0 : (_item$children6 = item.children) === null || _item$children6 === void 0 ? void 0 : _item$children6.filter(e => selectedValue.includes(e.id) && !e.isDisabled);
14564
14462
  return /*#__PURE__*/React__default.createElement(OptionGroupItem, {
14565
14463
  item: /*#__PURE__*/React__default.createElement(ItemWrapper$1, _extends({
14566
14464
  key: item.id
@@ -14593,7 +14491,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14593
14491
  lineNumber: 831,
14594
14492
  columnNumber: 15
14595
14493
  }
14596
- }, !(item != null && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14494
+ }, !(item !== null && item !== void 0 && item.hideCheck) && item.isDisabled ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14597
14495
  color: colors$8.iconDisable,
14598
14496
  __self: undefined,
14599
14497
  __source: {
@@ -14601,7 +14499,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14601
14499
  lineNumber: 841,
14602
14500
  columnNumber: 19
14603
14501
  }
14604
- }) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) === (item == null ? void 0 : (_item$children7 = item.children) == null ? void 0 : (_item$children7$filte = _item$children7.filter(e => !e.isDisabled)) == null ? void 0 : _item$children7$filte.length) ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14502
+ }) : (filterSelectedChild === null || filterSelectedChild === void 0 ? void 0 : filterSelectedChild.length) === (item === null || item === void 0 ? void 0 : (_item$children7 = item.children) === null || _item$children7 === void 0 ? void 0 : (_item$children7$filte = _item$children7.filter(e => !e.isDisabled)) === null || _item$children7$filte === void 0 ? void 0 : _item$children7$filte.length) ? /*#__PURE__*/React__default.createElement(CheckOutline, {
14605
14503
  color: colors$8.iconGreen,
14606
14504
  __self: undefined,
14607
14505
  __source: {
@@ -14609,7 +14507,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14609
14507
  lineNumber: 843,
14610
14508
  columnNumber: 19
14611
14509
  }
14612
- }) : (filterSelectedChild == null ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
14510
+ }) : (filterSelectedChild === null || filterSelectedChild === void 0 ? void 0 : filterSelectedChild.length) > 0 ? /*#__PURE__*/React__default.createElement(IndeterminateFilled$1, {
14613
14511
  __self: undefined,
14614
14512
  __source: {
14615
14513
  fileName: _jsxFileName$w,
@@ -14627,14 +14525,14 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14627
14525
  lineNumber: 848,
14628
14526
  columnNumber: 15
14629
14527
  }
14630
- }, item.render ? item.render == null ? void 0 : item.render(item.name) : item.name)),
14528
+ }, item.render ? (_item$render2 = item.render) === null || _item$render2 === void 0 ? void 0 : _item$render2.call(item, item.name) : item.name)),
14631
14529
  __self: undefined,
14632
14530
  __source: {
14633
14531
  fileName: _jsxFileName$w,
14634
14532
  lineNumber: 816,
14635
14533
  columnNumber: 9
14636
14534
  }
14637
- }, item == null ? void 0 : (_item$children8 = item.children) == null ? void 0 : _item$children8.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
14535
+ }, item === null || item === void 0 ? void 0 : (_item$children8 = item.children) === null || _item$children8 === void 0 ? void 0 : _item$children8.map((optItem, optIndex) => renderOptionItem(optItem, groupIndex + optIndex + 1, true)));
14638
14536
  };
14639
14537
  return /*#__PURE__*/React__default.createElement(Wrapper$1, _extends({
14640
14538
  css: css
@@ -14765,13 +14663,13 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14765
14663
  lineNumber: 907,
14766
14664
  columnNumber: 17
14767
14665
  }
14768
- }), selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')) : selectedItems == null ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : (_selectedItems$filter2 = _selectedItems$filter.filter((_, idx) => {
14666
+ }), selectAllLabel != null ? selectAllLabel : t('selectAllLabelText', 'Pilih Semua')) : selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter === void 0 ? void 0 : (_selectedItems$filter2 = _selectedItems$filter.filter((_, idx) => {
14769
14667
  if (showAllTags || !collapsible) {
14770
14668
  return true;
14771
14669
  } else {
14772
14670
  return idx < 5;
14773
14671
  }
14774
- })) == null ? void 0 : _selectedItems$filter2.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
14672
+ })) === null || _selectedItems$filter2 === void 0 ? void 0 : _selectedItems$filter2.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
14775
14673
  disabled: disabled,
14776
14674
  isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
14777
14675
  size: "lg",
@@ -14796,7 +14694,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14796
14694
  lineNumber: 936,
14797
14695
  columnNumber: 21
14798
14696
  }
14799
- }), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems == null ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
14697
+ }), selectedItem.name))), collapsible && !isShowTagSelectAll && (selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) > collapsibleLimit && /*#__PURE__*/React__default.createElement(Flex$1, {
14800
14698
  direction: "column",
14801
14699
  gap: 4,
14802
14700
  __self: undefined,
@@ -14882,7 +14780,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14882
14780
  lineNumber: 979,
14883
14781
  columnNumber: 19
14884
14782
  }
14885
- }, `${totalOptions ? totalOptions : selectedItems == null ? void 0 : (_selectedItems$filter3 = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter3.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`))), showCounter && !isShowTagSelectAll && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(Paragraph, {
14783
+ }, `${totalOptions ? totalOptions : selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter3 = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter3 === void 0 ? void 0 : _selectedItems$filter3.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`))), showCounter && !isShowTagSelectAll && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(Paragraph, {
14886
14784
  css: {
14887
14785
  fontSize: '$label',
14888
14786
  marginTop: '$spacing-01'
@@ -14894,7 +14792,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14894
14792
  lineNumber: 989,
14895
14793
  columnNumber: 11
14896
14794
  }
14897
- }, `${totalOptions ? totalOptions : selectedItems == null ? void 0 : (_selectedItems$filter4 = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter4.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
14795
+ }, `${totalOptions ? totalOptions : selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter4 = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter4 === void 0 ? void 0 : _selectedItems$filter4.length} ${labelCounter || t('labelCounterText', 'Item terpilih')}`), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
14898
14796
  placement: placement,
14899
14797
  css: {
14900
14798
  display: isOpen && disabled === false ? 'block' : 'none',
@@ -14958,7 +14856,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14958
14856
  if (scrollerRef.current) {
14959
14857
  scrollerRef.current.scrollBy(0, -5);
14960
14858
  }
14961
- fetchData == null ? void 0 : fetchData({
14859
+ fetchData === null || fetchData === void 0 ? void 0 : fetchData({
14962
14860
  query
14963
14861
  });
14964
14862
  }
@@ -14979,7 +14877,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
14979
14877
  lineNumber: 1029,
14980
14878
  columnNumber: 15
14981
14879
  }
14982
- }, isOpen && items.map((item, index) => item != null && item.children ? renderOptionGroupItem(item) : renderOptionItem(item, index)))) : /*#__PURE__*/React__default.createElement(Option, _extends({
14880
+ }, isOpen && items.map((item, index) => item !== null && item !== void 0 && item.children ? renderOptionGroupItem(item) : renderOptionItem(item, index)))) : /*#__PURE__*/React__default.createElement(Option, _extends({
14983
14881
  css: {
14984
14882
  height: 'auto'
14985
14883
  }
@@ -15087,7 +14985,7 @@ InputSelectCheck.defaultProps = {
15087
14985
  collapsibleLimit: 5
15088
14986
  };
15089
14987
 
15090
- var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
14988
+ var _jsxFileName$v = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15091
14989
  const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
15092
14990
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
15093
14991
  ref: ref,
@@ -15148,7 +15046,7 @@ InputSelectTag.defaultProps = {
15148
15046
  defaultValue: []
15149
15047
  };
15150
15048
 
15151
- var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15049
+ var _jsxFileName$u = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15152
15050
  const Wrapper = styled('div', {
15153
15051
  margin: 0,
15154
15052
  flexDirection: 'column',
@@ -15656,7 +15554,7 @@ function InputResourceList({
15656
15554
  }), void 0), isLoading && jsx(Flex$1, Object.assign({
15657
15555
  justify: "center",
15658
15556
  align: "center",
15659
- css: {
15557
+ css: Object.assign({
15660
15558
  position: 'absolute',
15661
15559
  inset: 0,
15662
15560
  top: onQueryChange ? 48 : 0,
@@ -15664,7 +15562,9 @@ function InputResourceList({
15664
15562
  height: 285,
15665
15563
  backgroundColor: '$bgWhite',
15666
15564
  opacity: 0.8
15667
- }
15565
+ }, wrapperCss && (wrapperCss === null || wrapperCss === void 0 ? void 0 : wrapperCss.maxHeight) && {
15566
+ height: wrapperCss.maxHeight
15567
+ })
15668
15568
  }, {
15669
15569
  children: jsx(Text$1, Object.assign({
15670
15570
  variant: "caption"
@@ -16286,7 +16186,7 @@ InputCounter.defaultProps = {
16286
16186
 
16287
16187
  const _excluded$b = ["children"],
16288
16188
  _excluded2$3 = ["children", "showOverlay"];
16289
- var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16189
+ var _jsxFileName$t = "/Users/majoo/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16290
16190
  const Context$1 = /*#__PURE__*/React__default.createContext();
16291
16191
  const {
16292
16192
  sizes
@@ -16636,7 +16536,7 @@ DrawerCloseButton.displayName = 'DrawerCloseButton';
16636
16536
 
16637
16537
  const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
16638
16538
  _excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
16639
- var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16539
+ var _jsxFileName$s = "/Users/majoo/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16640
16540
  const ScrollButton$1 = styled(Button$4, {
16641
16541
  width: '28px',
16642
16542
  outline: '$btnPrimary solid 1px',
@@ -17167,7 +17067,7 @@ const DateNumber = styled('div', {
17167
17067
  });
17168
17068
  DateNumber.displayName = 'DateNumber';
17169
17069
 
17170
- var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17070
+ var _jsxFileName$r = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17171
17071
  const Input$3 = styled('input', {
17172
17072
  display: 'none'
17173
17073
  });
@@ -17367,9 +17267,9 @@ const NativeTimePicker = ({
17367
17267
  }
17368
17268
  function handleInputChange(type, e) {
17369
17269
  var _e$target;
17370
- const value = e == null ? void 0 : (_e$target = e.target) == null ? void 0 : _e$target.value;
17270
+ const value = e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value;
17371
17271
  const format = 'DD:MM:YYYY:HH:mm';
17372
- const minLength = (value == null ? void 0 : value.length) > 1;
17272
+ const minLength = (value === null || value === void 0 ? void 0 : value.length) > 1;
17373
17273
  const hourValue = params => moment(moment(`${moment(date).format('DD:MM:YYYY:mm')}:${params}`, 'DD:MM:YYYY:mm:HH').toDate());
17374
17274
  const minuteValue = params => moment(moment(`${moment(date).format('DD:MM:YYYY:HH')}:${params}`, 'DD:MM:YYYY:HH:mm').toDate());
17375
17275
  if (!disabled) {
@@ -17723,7 +17623,7 @@ TimePicker.propTypes = {
17723
17623
  };
17724
17624
  NativeTimePicker.displayName = 'NativeTimePicker';
17725
17625
 
17726
- var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17626
+ var _jsxFileName$q = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17727
17627
  const getInputPickerValue$1 = date => {
17728
17628
  if (!date) return;
17729
17629
  return moment(date).format('HH:mm');
@@ -19889,8 +19789,9 @@ function InputDatePicker({
19889
19789
  onClose,
19890
19790
  mobileOnly,
19891
19791
  desktopOnly,
19792
+ advanceOptions,
19892
19793
  drawerCss,
19893
- drawerContentCss,
19794
+ drawerContentCss = {},
19894
19795
  isMobile = false
19895
19796
  }) {
19896
19797
  const {
@@ -19981,20 +19882,22 @@ function InputDatePicker({
19981
19882
  }
19982
19883
  };
19983
19884
  const renderDatePicker = () => {
19885
+ const options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
19886
+ const advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
19984
19887
  const handleDatePickerChange = value => {
19985
19888
  if (showRangeControl || type === 'range_picker') {
19986
19889
  if (rangePickerType === 'monthly') {
19987
19890
  dispatch({
19988
19891
  type: 'UPDATE',
19989
- payload: advancePickerDate('RANGE_MONTH', value)
19892
+ payload: advancePickerReducer('RANGE_MONTH', value)
19990
19893
  });
19991
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
19894
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
19992
19895
  } else {
19993
19896
  dispatch({
19994
19897
  type: 'UPDATE',
19995
- payload: advancePickerDate('RANGE_WEEK', value)
19898
+ payload: advancePickerReducer('RANGE_WEEK', value)
19996
19899
  });
19997
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
19900
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
19998
19901
  }
19999
19902
  } else {
20000
19903
  dispatch({
@@ -20006,10 +19909,10 @@ function InputDatePicker({
20006
19909
  };
20007
19910
  return jsx(DatePicker, {
20008
19911
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsx(AdvancedOption, {
20009
- options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
19912
+ options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20010
19913
  disabled: disabled,
20011
19914
  optionHandler: value => {
20012
- const reducedResult = advancePickerDate(value, undefined);
19915
+ const reducedResult = advancePickerReducer(value, undefined);
20013
19916
  const dateAsString = moment(reducedResult[1]).format('YYYY-MM-DD');
20014
19917
  const payload = [reducedResult[0], moment(`${dateAsString} 23:59`, 'YYYY-MM-DD HH:mm').toDate()];
20015
19918
  dispatch({
@@ -20125,7 +20028,9 @@ function InputDatePicker({
20125
20028
  }, {
20126
20029
  children: jsx(DrawerContent, Object.assign({
20127
20030
  size: "full",
20128
- css: drawerContentCss
20031
+ css: Object.assign(Object.assign({}, drawerContentCss), {
20032
+ height: 'unset !important'
20033
+ })
20129
20034
  }, {
20130
20035
  children: renderDatePicker()
20131
20036
  }), void 0)
@@ -20255,7 +20160,8 @@ const InputDateRange = /*#__PURE__*/React.forwardRef(({
20255
20160
  placement: _placement = 'bottom',
20256
20161
  readOnly: _readOnly = false,
20257
20162
  isInvalid: _isInvalid = false,
20258
- css
20163
+ css,
20164
+ advanceOptions
20259
20165
  }, ref) => {
20260
20166
  const {
20261
20167
  t,
@@ -20263,13 +20169,14 @@ const InputDateRange = /*#__PURE__*/React.forwardRef(({
20263
20169
  } = useTranslation('translation');
20264
20170
  const language = i18n.language;
20265
20171
  const pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20172
+ const advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20266
20173
  return jsx(InputSelect, {
20267
- option: pickerOptions.map(option => ({
20174
+ option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(option => ({
20268
20175
  name: option.label,
20269
20176
  value: option.value
20270
20177
  })),
20271
20178
  onChange: selectedOption => {
20272
- if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20179
+ if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20273
20180
  },
20274
20181
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20275
20182
  size: _size,
@@ -20282,7 +20189,7 @@ const InputDateRange = /*#__PURE__*/React.forwardRef(({
20282
20189
  });
20283
20190
 
20284
20191
  const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
20285
- var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
20192
+ var _jsxFileName$p = "/Users/majoo/majoo-ui/packages/react/src/components/slider/Slider.js";
20286
20193
  const StyledSlider = styled$1(SliderPrimitive.Root, {
20287
20194
  position: 'relative',
20288
20195
  display: 'flex',
@@ -20626,7 +20533,7 @@ Slider.defaultProps = {
20626
20533
  };
20627
20534
 
20628
20535
  const _excluded$8 = ["className", "children", "onClick", "type", "size"];
20629
- var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20536
+ var _jsxFileName$o = "/Users/majoo/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20630
20537
  const TagWrapper$1 = styled('div', {
20631
20538
  boxSizing: 'border-box',
20632
20539
  fontSize: '12px',
@@ -20790,7 +20697,7 @@ const _excluded$7 = ["children"],
20790
20697
  _excluded2$1 = ["children", "activeTabs"],
20791
20698
  _excluded3$1 = ["children", "icon", "activeTabs", "value"],
20792
20699
  _excluded4 = ["activeTabs"];
20793
- var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
20700
+ var _jsxFileName$n = "/Users/majoo/majoo-ui/packages/react/src/components/tabs/Tabs.js";
20794
20701
  const StyledTabs = styled(TabsPrimitive.Root, {
20795
20702
  display: 'flex',
20796
20703
  flexDirection: 'column',
@@ -21129,7 +21036,7 @@ TabsContent$1.propTypes = {
21129
21036
  };
21130
21037
 
21131
21038
  const _excluded$6 = ["children", "variantIcon"];
21132
- var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21039
+ var _jsxFileName$m = "/Users/majoo/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21133
21040
  const NotificationBadgeRootStyle = styled('span', {
21134
21041
  position: 'relative',
21135
21042
  display: 'inline-flex',
@@ -21240,7 +21147,7 @@ const NotificationBadge = _ref => {
21240
21147
  };
21241
21148
  };
21242
21149
  const getValue = () => {
21243
- let value = props == null ? void 0 : props.value;
21150
+ let value = props === null || props === void 0 ? void 0 : props.value;
21244
21151
  const isTrailing = variantIcon === 'trailing';
21245
21152
  if (typeof value === 'number' || parseInt(value)) {
21246
21153
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -21284,7 +21191,7 @@ NotificationBadge.propTypes = {
21284
21191
  };
21285
21192
 
21286
21193
  const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
21287
- var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
21194
+ var _jsxFileName$l = "/Users/majoo/majoo-ui/packages/react/src/components/paper/Paper.js";
21288
21195
  const PaperComponent = styled('div', {
21289
21196
  padding: '20px',
21290
21197
  height: 'auto',
@@ -21537,7 +21444,7 @@ const removeUndefinedFields = obj => {
21537
21444
  };
21538
21445
 
21539
21446
  const _excluded$4 = ["isActive", "onClick"];
21540
- var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21447
+ var _jsxFileName$k = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21541
21448
  const PrevNextButton = styled(Text$1, {
21542
21449
  padding: '$spacing-01',
21543
21450
  cursor: 'pointer',
@@ -21870,7 +21777,7 @@ const PaginationButton = ({
21870
21777
  justify: "center",
21871
21778
  onClick: () => {
21872
21779
  var _dialogPageRef$curren;
21873
- return (_dialogPageRef$curren = dialogPageRef.current) == null ? void 0 : _dialogPageRef$curren.click();
21780
+ return (_dialogPageRef$curren = dialogPageRef.current) === null || _dialogPageRef$curren === void 0 ? void 0 : _dialogPageRef$curren.click();
21874
21781
  },
21875
21782
  __self: undefined,
21876
21783
  __source: {
@@ -21948,7 +21855,7 @@ const PaginationButton = ({
21948
21855
  onSubmit: () => {
21949
21856
  var _dialogPageRef$curren2;
21950
21857
  debouncedGoToPage(Number(goToPage));
21951
- (_dialogPageRef$curren2 = dialogPageRef.current) == null ? void 0 : _dialogPageRef$curren2.click();
21858
+ (_dialogPageRef$curren2 = dialogPageRef.current) === null || _dialogPageRef$curren2 === void 0 ? void 0 : _dialogPageRef$curren2.click();
21952
21859
  },
21953
21860
  __self: undefined,
21954
21861
  __source: {
@@ -21965,7 +21872,7 @@ const PaginationButton = ({
21965
21872
  allowNegative: false,
21966
21873
  onChange: e => {
21967
21874
  var _e$target;
21968
- return setGoToPage((_e$target = e.target) == null ? void 0 : _e$target.value);
21875
+ return setGoToPage((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
21969
21876
  },
21970
21877
  __self: undefined,
21971
21878
  __source: {
@@ -21998,7 +21905,7 @@ const PaginationButton = ({
21998
21905
  onClick: () => {
21999
21906
  var _dialogPageRef$curren3;
22000
21907
  setGoToPage(null);
22001
- (_dialogPageRef$curren3 = dialogPageRef.current) == null ? void 0 : _dialogPageRef$curren3.click();
21908
+ (_dialogPageRef$curren3 = dialogPageRef.current) === null || _dialogPageRef$curren3 === void 0 ? void 0 : _dialogPageRef$curren3.click();
22002
21909
  },
22003
21910
  __self: undefined,
22004
21911
  __source: {
@@ -22013,7 +21920,7 @@ const PaginationButton = ({
22013
21920
  onClick: () => {
22014
21921
  var _dialogPageRef$curren4;
22015
21922
  debouncedGoToPage(Number(goToPage));
22016
- (_dialogPageRef$curren4 = dialogPageRef.current) == null ? void 0 : _dialogPageRef$curren4.click();
21923
+ (_dialogPageRef$curren4 = dialogPageRef.current) === null || _dialogPageRef$curren4 === void 0 ? void 0 : _dialogPageRef$curren4.click();
22017
21924
  },
22018
21925
  __self: undefined,
22019
21926
  __source: {
@@ -22025,7 +21932,7 @@ const PaginationButton = ({
22025
21932
  };
22026
21933
 
22027
21934
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
22028
- var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
21935
+ var _jsxFileName$j = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22029
21936
  const LimitContainer = styled(Flex$1, {
22030
21937
  cursor: 'pointer'
22031
21938
  });
@@ -22102,7 +22009,7 @@ function PaginationInfo(_ref) {
22102
22009
  onClick: () => {
22103
22010
  if (isMobilePagination) {
22104
22011
  var _dialogLimitRef$curre;
22105
- (_dialogLimitRef$curre = dialogLimitRef.current) == null ? void 0 : _dialogLimitRef$curre.click();
22012
+ (_dialogLimitRef$curre = dialogLimitRef.current) === null || _dialogLimitRef$curre === void 0 ? void 0 : _dialogLimitRef$curre.click();
22106
22013
  }
22107
22014
  },
22108
22015
  __self: this,
@@ -22148,7 +22055,7 @@ function PaginationInfo(_ref) {
22148
22055
  lineNumber: 60,
22149
22056
  columnNumber: 13
22150
22057
  }
22151
- }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
22058
+ }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
22152
22059
  key: limit,
22153
22060
  css: limitItemContainerStyle(selectedLimit === limit),
22154
22061
  onClick: () => onChange(limit),
@@ -22231,7 +22138,7 @@ function PaginationInfo(_ref) {
22231
22138
  lineNumber: 100,
22232
22139
  columnNumber: 11
22233
22140
  }
22234
- }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(Flex$1, {
22141
+ }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(Flex$1, {
22235
22142
  css: {
22236
22143
  height: 44,
22237
22144
  width: '100%',
@@ -22246,7 +22153,7 @@ function PaginationInfo(_ref) {
22246
22153
  onClick: () => {
22247
22154
  var _dialogLimitRef$curre2;
22248
22155
  onChange(limit);
22249
- (_dialogLimitRef$curre2 = dialogLimitRef.current) == null ? void 0 : _dialogLimitRef$curre2.click();
22156
+ (_dialogLimitRef$curre2 = dialogLimitRef.current) === null || _dialogLimitRef$curre2 === void 0 ? void 0 : _dialogLimitRef$curre2.click();
22250
22157
  },
22251
22158
  __self: this,
22252
22159
  __source: {
@@ -22258,7 +22165,7 @@ function PaginationInfo(_ref) {
22258
22165
  }
22259
22166
 
22260
22167
  const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
22261
- var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22168
+ var _jsxFileName$i = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22262
22169
  function Pagination(_ref) {
22263
22170
  let {
22264
22171
  limit,
@@ -24413,7 +24320,7 @@ const TableColumn = _a => {
24413
24320
  return jsx("div", {}, void 0);
24414
24321
  };
24415
24322
 
24416
- var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24323
+ var _jsxFileName$h = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24417
24324
  const DateColumn = ({
24418
24325
  value,
24419
24326
  customFormat
@@ -24526,7 +24433,7 @@ const PriceColumn = props => {
24526
24433
  return addThousandSeparator(param);
24527
24434
  };
24528
24435
 
24529
- var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
24436
+ var _jsxFileName$g = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
24530
24437
  const rowExpanderColumn = {
24531
24438
  id: 'expander',
24532
24439
  Header: () => null,
@@ -24567,7 +24474,7 @@ const rowExpanderColumn = {
24567
24474
  unsortable: true
24568
24475
  };
24569
24476
 
24570
- var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
24477
+ var _jsxFileName$f = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
24571
24478
  const rowExpanderMultipleColumn = {
24572
24479
  id: 'multiple-expander',
24573
24480
  Header: () => null,
@@ -24601,7 +24508,7 @@ const rowExpanderMultipleColumn = {
24601
24508
  unsortable: true
24602
24509
  };
24603
24510
 
24604
- var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
24511
+ var _jsxFileName$e = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
24605
24512
  const rowMenuColumn = (options, icon, config) => ({
24606
24513
  id: 'menu',
24607
24514
  options,
@@ -24652,7 +24559,7 @@ const rowMenuColumn = (options, icon, config) => ({
24652
24559
  onClick: () => {
24653
24560
  var _document$getElements;
24654
24561
  setOpenDrop(true);
24655
- const contextMenu = (_document$getElements = document.getElementsByClassName('react-contextmenu')) == null ? void 0 : _document$getElements[0];
24562
+ const contextMenu = (_document$getElements = document.getElementsByClassName('react-contextmenu')) === null || _document$getElements === void 0 ? void 0 : _document$getElements[0];
24656
24563
  contextMenu.style.opacity = 0;
24657
24564
  },
24658
24565
  __self: undefined,
@@ -24734,7 +24641,7 @@ const rowMenuColumn = (options, icon, config) => ({
24734
24641
  unsortable: true
24735
24642
  });
24736
24643
 
24737
- var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
24644
+ var _jsxFileName$d = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
24738
24645
  const rowSelectionColumn = {
24739
24646
  id: 'selection',
24740
24647
  Header: ({
@@ -24783,7 +24690,7 @@ const rowSelectionColumn = {
24783
24690
  unsortable: true
24784
24691
  };
24785
24692
 
24786
- var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
24693
+ var _jsxFileName$c = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
24787
24694
  const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
24788
24695
  id: 'selection',
24789
24696
  Header: ({
@@ -25121,7 +25028,7 @@ PageDialog.defaultProps = {
25121
25028
  };
25122
25029
 
25123
25030
  const _excluded$1 = ["children"];
25124
- var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25031
+ var _jsxFileName$b = "/Users/majoo/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25125
25032
  const overlayShow = keyframes({
25126
25033
  '0%': {
25127
25034
  opacity: 0
@@ -25301,7 +25208,7 @@ const TemplateAlertFunction = props => {
25301
25208
  if (!props.onOpenAutoFocus) {
25302
25209
  e.preventDefault();
25303
25210
  } else {
25304
- props == null ? void 0 : props.onOpenAutoFocus();
25211
+ props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
25305
25212
  }
25306
25213
  },
25307
25214
  __self: undefined,
@@ -25381,7 +25288,7 @@ const TemplateAlertFunction = props => {
25381
25288
  }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
25382
25289
  css: {
25383
25290
  width: '100%',
25384
- display: props != null && props.singleButton && props != null && props.hideActionButton ? 'none' : 'inherit'
25291
+ display: props !== null && props !== void 0 && props.singleButton && props !== null && props !== void 0 && props.hideActionButton ? 'none' : 'inherit'
25385
25292
  },
25386
25293
  __self: undefined,
25387
25294
  __source: {
@@ -25423,8 +25330,8 @@ const TemplateAlertFunction = props => {
25423
25330
  size: props.btnSize,
25424
25331
  onClick: buttonConfirm,
25425
25332
  buttonType: props.dialogType,
25426
- disabled: props == null ? void 0 : props.disabledButton
25427
- }, props == null ? void 0 : props.actionButtonProps, {
25333
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25334
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
25428
25335
  __self: undefined,
25429
25336
  __source: {
25430
25337
  fileName: _jsxFileName$b,
@@ -25443,19 +25350,19 @@ const TemplateAlertFunction = props => {
25443
25350
  size: props.btnSize,
25444
25351
  onClick: buttonCancel,
25445
25352
  css: {
25446
- color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$textSecondary !important',
25353
+ color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$textSecondary !important',
25447
25354
  flex: props.isMobile && 1
25448
25355
  },
25449
- buttonType: props.dialogType === 'negative' && !(props != null && props.disabledButton) ? 'ghost-secondary' : 'ghost',
25450
- disabled: props == null ? void 0 : props.disabledButton
25451
- }, props == null ? void 0 : props.cancelButtonProps, {
25356
+ buttonType: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) ? 'ghost-secondary' : 'ghost',
25357
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25358
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
25452
25359
  __self: undefined,
25453
25360
  __source: {
25454
25361
  fileName: _jsxFileName$b,
25455
25362
  lineNumber: 187,
25456
25363
  columnNumber: 19
25457
25364
  }
25458
- }), props.labelCancel ? props.labelCancel : t('label.cancel', 'Batal'))), !(props != null && props.hideActionButton) && /*#__PURE__*/React__default.createElement(ADialog.Action, {
25365
+ }), props.labelCancel ? props.labelCancel : t('label.cancel', 'Batal'))), !(props !== null && props !== void 0 && props.hideActionButton) && /*#__PURE__*/React__default.createElement(ADialog.Action, {
25459
25366
  asChild: true,
25460
25367
  __self: undefined,
25461
25368
  __source: {
@@ -25470,8 +25377,8 @@ const TemplateAlertFunction = props => {
25470
25377
  css: {
25471
25378
  flex: props.isMobile && 1
25472
25379
  },
25473
- disabled: props == null ? void 0 : props.disabledButton
25474
- }, props == null ? void 0 : props.actionButtonProps, {
25380
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25381
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
25475
25382
  __self: undefined,
25476
25383
  __source: {
25477
25384
  fileName: _jsxFileName$b,
@@ -25601,7 +25508,7 @@ function AlertDialog(props) {
25601
25508
  }, props.description)), /*#__PURE__*/React__default.createElement(Box, {
25602
25509
  css: {
25603
25510
  width: '100%',
25604
- display: props != null && props.singleButton && props != null && props.hideActionButton ? 'none' : 'inherit'
25511
+ display: props !== null && props !== void 0 && props.singleButton && props !== null && props !== void 0 && props.hideActionButton ? 'none' : 'inherit'
25605
25512
  },
25606
25513
  __self: this,
25607
25514
  __source: {
@@ -25646,8 +25553,8 @@ function AlertDialog(props) {
25646
25553
  css: {
25647
25554
  flex: props.isMobile && 1
25648
25555
  },
25649
- disabled: props == null ? void 0 : props.disabledButton
25650
- }, props == null ? void 0 : props.actionButtonProps, {
25556
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25557
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
25651
25558
  __self: this,
25652
25559
  __source: {
25653
25560
  fileName: _jsxFileName$b,
@@ -25666,19 +25573,19 @@ function AlertDialog(props) {
25666
25573
  size: props.btnSize,
25667
25574
  onClick: props.onCancel,
25668
25575
  css: {
25669
- color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$textSecondary !important',
25576
+ color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$textSecondary !important',
25670
25577
  flex: props.isMobile && 1
25671
25578
  },
25672
- buttonType: props.dialogType === 'negative' && !(props != null && props.disabledButton) ? 'ghost-secondary' : 'ghost',
25673
- disabled: props == null ? void 0 : props.disabledButton
25674
- }, props == null ? void 0 : props.cancelButtonProps, {
25579
+ buttonType: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) ? 'ghost-secondary' : 'ghost',
25580
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25581
+ }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
25675
25582
  __self: this,
25676
25583
  __source: {
25677
25584
  fileName: _jsxFileName$b,
25678
25585
  lineNumber: 293,
25679
25586
  columnNumber: 19
25680
25587
  }
25681
- }), props.labelCancel ? props.labelCancel : t('label.cancel', 'Batal'))), !(props != null && props.hideActionButton) && /*#__PURE__*/React__default.createElement(ADialog.Action, {
25588
+ }), props.labelCancel ? props.labelCancel : t('label.cancel', 'Batal'))), !(props !== null && props !== void 0 && props.hideActionButton) && /*#__PURE__*/React__default.createElement(ADialog.Action, {
25682
25589
  asChild: true,
25683
25590
  __self: this,
25684
25591
  __source: {
@@ -25693,8 +25600,8 @@ function AlertDialog(props) {
25693
25600
  css: {
25694
25601
  flex: props.isMobile && 1
25695
25602
  },
25696
- disabled: props == null ? void 0 : props.disabledButton
25697
- }, props == null ? void 0 : props.actionButtonProps, {
25603
+ disabled: props === null || props === void 0 ? void 0 : props.disabledButton
25604
+ }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
25698
25605
  __self: this,
25699
25606
  __source: {
25700
25607
  fileName: _jsxFileName$b,
@@ -25755,7 +25662,7 @@ const AlertDialogConfirm = ADialog.Action;
25755
25662
  const _excluded = ["side", "align", "children"],
25756
25663
  _excluded2 = ["children"],
25757
25664
  _excluded3 = ["asChild"];
25758
- var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
25665
+ var _jsxFileName$a = "/Users/majoo/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
25759
25666
  const Context = /*#__PURE__*/React__default.createContext();
25760
25667
  const slideUpAndFade = keyframes({
25761
25668
  '0%': {
@@ -27866,7 +27773,7 @@ function imgPreview(image, crop, scale = 1, rotate = 0, ratio, type) {
27866
27773
  });
27867
27774
  }
27868
27775
 
27869
- var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
27776
+ var _jsxFileName$9 = "/Users/majoo/majoo-ui/packages/react/src/components/upload/Upload.js";
27870
27777
  const Input$2 = styled('input', {
27871
27778
  display: 'none !important'
27872
27779
  });
@@ -28168,7 +28075,7 @@ const Upload = ({
28168
28075
  upload({
28169
28076
  url: action,
28170
28077
  file: newFile,
28171
- customBody: customBodyRequest == null ? void 0 : customBodyRequest(newFile),
28078
+ customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
28172
28079
  token,
28173
28080
  tokenKey,
28174
28081
  reqKey,
@@ -28188,12 +28095,12 @@ const Upload = ({
28188
28095
  arrProgress[i] = fileProgress;
28189
28096
  }
28190
28097
  }
28191
- onChange == null ? void 0 : (_onChange = onChange({
28098
+ onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
28192
28099
  fileList: arrProgress,
28193
28100
  file: fileProgress,
28194
28101
  indexReplace: indexReplace.current,
28195
28102
  isReplace: indexReplace.current !== null
28196
- })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
28103
+ })) === null || _onChange === void 0 ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) === null || _onChange$then === void 0 ? void 0 : _onChange$then.catch(error => setError(error.message));
28197
28104
  }
28198
28105
  }).then(result => {
28199
28106
  var _onChange2, _onChange2$then;
@@ -28206,12 +28113,12 @@ const Upload = ({
28206
28113
  arrFile[i] = fileSuccess;
28207
28114
  }
28208
28115
  }
28209
- onChange == null ? void 0 : (_onChange2 = onChange({
28116
+ onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
28210
28117
  fileList: arrFile,
28211
28118
  file: fileSuccess,
28212
28119
  indexReplace: indexReplace.current,
28213
28120
  isReplace: indexReplace.current !== null
28214
- })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
28121
+ })) === null || _onChange2 === void 0 ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) === null || _onChange2$then === void 0 ? void 0 : _onChange2$then.catch(error => setError(error.message));
28215
28122
  }).catch(error => {
28216
28123
  var _onChange3, _onChange3$then;
28217
28124
  let fileError = Object.assign({}, newFile);
@@ -28223,21 +28130,21 @@ const Upload = ({
28223
28130
  arrFile[i] = fileError;
28224
28131
  }
28225
28132
  }
28226
- onChange == null ? void 0 : (_onChange3 = onChange({
28133
+ onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
28227
28134
  fileList: arrFile,
28228
28135
  file: fileError,
28229
28136
  indexReplace: indexReplace.current,
28230
28137
  isReplace: indexReplace.current !== null
28231
- })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
28138
+ })) === null || _onChange3 === void 0 ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) === null || _onChange3$then === void 0 ? void 0 : _onChange3$then.catch(error => setError(error.message));
28232
28139
  });
28233
28140
  } else {
28234
28141
  var _onChange4, _onChange4$then;
28235
- onChange == null ? void 0 : (_onChange4 = onChange({
28142
+ onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
28236
28143
  fileList: arrFile,
28237
28144
  file: newFile,
28238
28145
  indexReplace: indexReplace.current,
28239
28146
  isReplace: indexReplace.current !== null
28240
- })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
28147
+ })) === null || _onChange4 === void 0 ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) === null || _onChange4$then === void 0 ? void 0 : _onChange4$then.catch(error => setError(error.message));
28241
28148
  }
28242
28149
  if (indexReplace.current !== null) {
28243
28150
  arrFile[indexReplace.current] = newFile;
@@ -28257,15 +28164,15 @@ const Upload = ({
28257
28164
  // program to get the dimensions of an image
28258
28165
  const img = document.createElement('img');
28259
28166
  img.src = URL.createObjectURL(files[0]);
28260
- img.size = files == null ? void 0 : (_files$ = files[0]) == null ? void 0 : _files$.size;
28261
- img.type = files == null ? void 0 : (_files$2 = files[0]) == null ? void 0 : _files$2.type;
28167
+ img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
28168
+ img.type = files === null || files === void 0 ? void 0 : (_files$2 = files[0]) === null || _files$2 === void 0 ? void 0 : _files$2.type;
28262
28169
  img.onload = () => {
28263
28170
  const imgRatio = img.width / img.height;
28264
28171
  // setAspect(imgRatio);
28265
28172
  setCropperImgRatio(imgRatio);
28266
28173
  if (onBeforeCrop) {
28267
28174
  var _onBeforeCrop, _onBeforeCrop$then;
28268
- onBeforeCrop == null ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) == null ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
28175
+ onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
28269
28176
  setError(null);
28270
28177
  toggleModal();
28271
28178
  setTimeout(() => {
@@ -28279,7 +28186,7 @@ const Upload = ({
28279
28186
  }, 300);
28280
28187
  setFileState(files[0]);
28281
28188
  setPreviewImage(URL.createObjectURL(files[0]));
28282
- })) == null ? void 0 : _onBeforeCrop$then.catch(error => setError(error == null ? void 0 : error.message));
28189
+ })) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
28283
28190
  } else {
28284
28191
  toggleModal();
28285
28192
  setTimeout(() => {
@@ -28297,18 +28204,18 @@ const Upload = ({
28297
28204
  };
28298
28205
  img.onerror = error => {
28299
28206
  var _onBeforeCrop2, _onBeforeCrop2$then;
28300
- onBeforeCrop == null ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) == null ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) == null ? void 0 : _onBeforeCrop2$then.catch(error => setError(error == null ? void 0 : error.message));
28207
+ onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) === null || _onBeforeCrop2 === void 0 ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) === null || _onBeforeCrop2$then === void 0 ? void 0 : _onBeforeCrop2$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
28301
28208
  };
28302
28209
  }
28303
28210
  }
28304
28211
  }
28305
28212
  function handleCrop() {
28306
- if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
28307
- imgPreview(imgRef.current, completedCrop, 1, 0, ratio, fileState == null ? void 0 : fileState.type).then(blob => {
28308
- const sizeMB = (blob == null ? void 0 : blob.size) / 1024 / 1024;
28213
+ if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
28214
+ imgPreview(imgRef.current, completedCrop, 1, 0, ratio, fileState === null || fileState === void 0 ? void 0 : fileState.type).then(blob => {
28215
+ const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
28309
28216
  if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
28310
- const file = new File([blob], fileState == null ? void 0 : fileState.name, {
28311
- type: blob == null ? void 0 : blob.type
28217
+ const file = new File([blob], fileState === null || fileState === void 0 ? void 0 : fileState.name, {
28218
+ type: blob === null || blob === void 0 ? void 0 : blob.type
28312
28219
  });
28313
28220
  handleUpload([file]);
28314
28221
  setCrop(null);
@@ -28322,16 +28229,16 @@ const Upload = ({
28322
28229
  alwaysKeepResolution: true
28323
28230
  }).then(compressedFile => {
28324
28231
  var _fileState$name;
28325
- const file = new File([compressedFile], (fileState == null ? void 0 : (_fileState$name = fileState.name) == null ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
28326
- type: compressedFile == null ? void 0 : compressedFile.type
28232
+ const file = new File([compressedFile], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name = fileState.name) === null || _fileState$name === void 0 ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
28233
+ type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
28327
28234
  });
28328
28235
  handleUpload([file]);
28329
28236
  setCrop(null);
28330
28237
  setCompletedCrop(null);
28331
- }).catch(error => console.error(error == null ? void 0 : error.message));
28238
+ }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
28332
28239
  }
28333
28240
  toggleModal();
28334
- }).catch(error => console.error(error == null ? void 0 : error.message));
28241
+ }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
28335
28242
  } else {
28336
28243
  handleUpload([fileState]);
28337
28244
  toggleModal();
@@ -28360,7 +28267,7 @@ const Upload = ({
28360
28267
  const index = fileList.indexOf(file);
28361
28268
  const newFileList = fileList.slice();
28362
28269
  newFileList.splice(index, 1);
28363
- onChange == null ? void 0 : onChange({
28270
+ onChange === null || onChange === void 0 ? void 0 : onChange({
28364
28271
  fileList: newFileList,
28365
28272
  file
28366
28273
  });
@@ -28383,14 +28290,14 @@ const Upload = ({
28383
28290
  }
28384
28291
  function handleOpenFile(file) {
28385
28292
  var _String, _file$name;
28386
- let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
28293
+ let extension = (_String = String(file === null || file === void 0 ? void 0 : (_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.split('.').pop())) === null || _String === void 0 ? void 0 : _String.toLowerCase();
28387
28294
  if (extension === 'pdf') {
28388
- window.open(file == null ? void 0 : file.url);
28295
+ window.open(file === null || file === void 0 ? void 0 : file.url);
28389
28296
  } else {
28390
- if (file != null && file.url) {
28297
+ if (file !== null && file !== void 0 && file.url) {
28391
28298
  const link = document.createElement('a');
28392
28299
  link.href = file.url;
28393
- link.setAttribute('download', file == null ? void 0 : file.name);
28300
+ link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
28394
28301
  document.body.appendChild(link);
28395
28302
  link.click();
28396
28303
  document.body.removeChild(link);
@@ -28452,12 +28359,12 @@ const Upload = ({
28452
28359
  }, replaceLabel && replaceLabel.length > 0 ? replaceLabel : t('replaceLabel', 'Ubah Berkas')));
28453
28360
  }
28454
28361
  const renderPicture = () => {
28455
- return fileList == null ? void 0 : fileList.map((item, index) => {
28456
- if ((item == null ? void 0 : item.status) === 'uploading') {
28362
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
28363
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
28457
28364
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
28458
28365
  key: index,
28459
- progress: item == null ? void 0 : item.percent,
28460
- loading: item == null ? void 0 : item.loading,
28366
+ progress: item === null || item === void 0 ? void 0 : item.percent,
28367
+ loading: item === null || item === void 0 ? void 0 : item.loading,
28461
28368
  __self: undefined,
28462
28369
  __source: {
28463
28370
  fileName: _jsxFileName$9,
@@ -28530,13 +28437,13 @@ const Upload = ({
28530
28437
  });
28531
28438
  };
28532
28439
  const renderFile = () => {
28533
- return fileList == null ? void 0 : fileList.map((item, index) => {
28440
+ return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
28534
28441
  var _item$name;
28535
- if ((item == null ? void 0 : item.status) === 'uploading') {
28442
+ if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
28536
28443
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
28537
28444
  key: index,
28538
- progress: item == null ? void 0 : item.percent,
28539
- loading: item == null ? void 0 : item.loading,
28445
+ progress: item === null || item === void 0 ? void 0 : item.percent,
28446
+ loading: item === null || item === void 0 ? void 0 : item.loading,
28540
28447
  __self: undefined,
28541
28448
  __source: {
28542
28449
  fileName: _jsxFileName$9,
@@ -28602,7 +28509,7 @@ const Upload = ({
28602
28509
  lineNumber: 667,
28603
28510
  columnNumber: 17
28604
28511
  }
28605
- }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
28512
+ }, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
28606
28513
  label: item.name,
28607
28514
  __self: undefined,
28608
28515
  __source: {
@@ -28972,7 +28879,7 @@ const Upload = ({
28972
28879
  }
28973
28880
  return /*#__PURE__*/React__default.createElement(Flex$1, {
28974
28881
  direction: "row",
28975
- gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
28882
+ gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
28976
28883
  wrap: "wrap",
28977
28884
  css: {
28978
28885
  userSelect: 'none'
@@ -29789,7 +29696,7 @@ const Device = props => {
29789
29696
  };
29790
29697
  Device.displayName = 'DevicePreview';
29791
29698
 
29792
- var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
29699
+ var _jsxFileName$8 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
29793
29700
  const Separator$1 = styled('div', {
29794
29701
  height: 20,
29795
29702
  width: 1,
@@ -29799,9 +29706,9 @@ const Separator$1 = styled('div', {
29799
29706
  function InputColorPicker(props) {
29800
29707
  const [isPopover, setIsPopover] = useState(false);
29801
29708
  function getColor() {
29802
- const color = props == null ? void 0 : props.color;
29709
+ const color = props === null || props === void 0 ? void 0 : props.color;
29803
29710
  if (typeof color === 'string') {
29804
- return color == null ? void 0 : color.toUpperCase();
29711
+ return color === null || color === void 0 ? void 0 : color.toUpperCase();
29805
29712
  }
29806
29713
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
29807
29714
  }
@@ -29925,7 +29832,7 @@ InputColorPicker.defaultProps = {
29925
29832
 
29926
29833
  var img$d = "data:image/gif;base64,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";
29927
29834
 
29928
- var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
29835
+ var _jsxFileName$7 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
29929
29836
  const Container$7 = styled('div', {
29930
29837
  userSelect: 'none',
29931
29838
  margin: 'auto',
@@ -31886,7 +31793,7 @@ function ColorMap({
31886
31793
  })));
31887
31794
  }
31888
31795
 
31889
- var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
31796
+ var _jsxFileName$6 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
31890
31797
  const CheckBoard = styled(Flex$1, {
31891
31798
  background: '$bgwhite',
31892
31799
  border: '1px solid #E5E7EB',
@@ -32087,7 +31994,7 @@ function ColorFields({
32087
31994
  }, "%")));
32088
31995
  }
32089
31996
 
32090
- var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
31997
+ var _jsxFileName$5 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32091
31998
  const Container$6 = styled(Flex$1, {
32092
31999
  background: '$white',
32093
32000
  padding: 16,
@@ -32607,7 +32514,7 @@ ColorPicker.defaultProps = {
32607
32514
  };
32608
32515
  var ColorPicker$1 = ColorWrap(ColorPicker);
32609
32516
 
32610
- var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
32517
+ var _jsxFileName$4 = "/Users/majoo/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
32611
32518
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
32612
32519
  const Stepper = StepWizard$1;
32613
32520
  Stepper.displayName = 'Stepper';
@@ -32820,7 +32727,7 @@ const Navigation = props => {
32820
32727
  var _data;
32821
32728
  const isActive = props.currentStep === i;
32822
32729
  const isComplete = props.isComplete[i - 1];
32823
- const isAdditional = (_data = data[i - 1]) == null ? void 0 : _data.additional;
32730
+ const isAdditional = (_data = data[i - 1]) === null || _data === void 0 ? void 0 : _data.additional;
32824
32731
  const lastItem = navMobileItems.indexOf(data[i - 1]) + 1 === navMobileItems.length;
32825
32732
  // eslint-disable-next-line no-lone-blocks
32826
32733
  {
@@ -32835,7 +32742,7 @@ const Navigation = props => {
32835
32742
  key: `step-${i}`,
32836
32743
  onClick: () => {
32837
32744
  var _data2;
32838
- if (props.onNavClicked && !((_data2 = data[i - 1]) != null && _data2.disabled) || isAdditional) props.onNavClicked(i);
32745
+ if (props.onNavClicked && !((_data2 = data[i - 1]) !== null && _data2 !== void 0 && _data2.disabled) || isAdditional) props.onNavClicked(i);
32839
32746
  if (!forbidClickNav && isComplete && !isHide || isAdditional) {
32840
32747
  props.goToStep(i);
32841
32748
  }
@@ -32868,9 +32775,9 @@ const Navigation = props => {
32868
32775
  lineNumber: 176,
32869
32776
  columnNumber: 17
32870
32777
  }
32871
- }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data3 = data[i - 1]).title) == null ? void 0 : _data$title.call(_data3), ((_data4 = data[i - 1]) == null ? void 0 : _data4.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
32778
+ }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data3 = data[i - 1]).title) === null || _data$title === void 0 ? void 0 : _data$title.call(_data3), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
32872
32779
  align: "center",
32873
- label: (_data5 = data[i - 1]) == null ? void 0 : _data5.tooltipsContents,
32780
+ label: (_data5 = data[i - 1]) === null || _data5 === void 0 ? void 0 : _data5.tooltipsContents,
32874
32781
  __self: undefined,
32875
32782
  __source: {
32876
32783
  fileName: _jsxFileName$4,
@@ -32889,9 +32796,9 @@ const Navigation = props => {
32889
32796
  lineNumber: 181,
32890
32797
  columnNumber: 19
32891
32798
  }
32892
- })), ((_data6 = data[i - 1]) == null ? void 0 : _data6.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
32799
+ })), ((_data6 = data[i - 1]) === null || _data6 === void 0 ? void 0 : _data6.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
32893
32800
  css: {
32894
- marginLeft: (_data7 = data[i - 1]) != null && _data7.withTolltip ? 0 : '$spacing-03'
32801
+ marginLeft: (_data7 = data[i - 1]) !== null && _data7 !== void 0 && _data7.withTolltip ? 0 : '$spacing-03'
32895
32802
  },
32896
32803
  align: "center",
32897
32804
  __self: undefined,
@@ -32942,10 +32849,10 @@ const Navigation = props => {
32942
32849
  lineNumber: 198,
32943
32850
  columnNumber: 21
32944
32851
  }
32945
- }, typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data8 = data[i - 1]).title) == null ? void 0 : _data$title2.call(_data8)), ((_data9 = data[i - 1]) == null ? void 0 : _data9.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
32852
+ }, typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data8 = data[i - 1]).title) === null || _data$title2 === void 0 ? void 0 : _data$title2.call(_data8)), ((_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
32946
32853
  align: "center",
32947
32854
  withClick: true,
32948
- label: (_data10 = data[i - 1]) == null ? void 0 : _data10.tooltipsContents,
32855
+ label: (_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.tooltipsContents,
32949
32856
  __self: undefined,
32950
32857
  __source: {
32951
32858
  fileName: _jsxFileName$4,
@@ -32961,11 +32868,11 @@ const Navigation = props => {
32961
32868
  lineNumber: 209,
32962
32869
  columnNumber: 25
32963
32870
  }
32964
- })), ((_data11 = data[i - 1]) == null ? void 0 : _data11.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
32871
+ })), ((_data11 = data[i - 1]) === null || _data11 === void 0 ? void 0 : _data11.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
32965
32872
  align: "center",
32966
32873
  justify: "center",
32967
32874
  css: {
32968
- marginTop: (_data12 = data[i - 1]) != null && _data12.withTolltip ? 0 : '$spacing-03'
32875
+ marginTop: (_data12 = data[i - 1]) !== null && _data12 !== void 0 && _data12.withTolltip ? 0 : '$spacing-03'
32969
32876
  },
32970
32877
  __self: undefined,
32971
32878
  __source: {
@@ -32989,7 +32896,7 @@ const Navigation = props => {
32989
32896
  userSelect: 'none',
32990
32897
  fontSize: '12px',
32991
32898
  textAlign: '-webkit-center',
32992
- display: ((_data13 = data[i - 1]) == null ? void 0 : _data13.disabled) && 'none',
32899
+ display: ((_data13 = data[i - 1]) === null || _data13 === void 0 ? void 0 : _data13.disabled) && 'none',
32993
32900
  marginTop: '$spacing-07',
32994
32901
  flex: 1,
32995
32902
  maxWidth: lastItem && 26
@@ -33069,7 +32976,7 @@ const Navigation = props => {
33069
32976
  height: 24,
33070
32977
  borderRadius: '$round',
33071
32978
  border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
33072
- backgroundColor: (_data14 = data[i - 1]) != null && _data14.disabled ? '$gray200' : '$white'
32979
+ backgroundColor: (_data14 = data[i - 1]) !== null && _data14 !== void 0 && _data14.disabled ? '$gray200' : '$white'
33073
32980
  },
33074
32981
  __self: undefined,
33075
32982
  __source: {
@@ -33098,50 +33005,53 @@ const Navigation = props => {
33098
33005
  }
33099
33006
  return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
33100
33007
  condition: !isMobile,
33101
- wrapper: child => /*#__PURE__*/React__default.createElement(Box, {
33102
- css: {
33103
- opacity: isHide ? 0 : undefined,
33104
- maxWidth: 311
33105
- },
33106
- __self: undefined,
33107
- __source: {
33108
- fileName: _jsxFileName$4,
33109
- lineNumber: 281,
33110
- columnNumber: 9
33111
- }
33112
- }, /*#__PURE__*/React__default.createElement(Flex$1, {
33113
- css: {
33114
- position: !isMobile && 'sticky',
33115
- top: !isMobile ? 44 : 40
33116
- },
33117
- direction: "column",
33118
- gap: 7,
33119
- __self: undefined,
33120
- __source: {
33121
- fileName: _jsxFileName$4,
33122
- lineNumber: 282,
33123
- columnNumber: 11
33124
- }
33125
- }, /*#__PURE__*/React__default.createElement(Card, {
33126
- css: {
33127
- height: 'fit-content',
33128
- padding: 0
33129
- },
33130
- showBottomLine: false,
33131
- __self: undefined,
33132
- __source: {
33133
- fileName: _jsxFileName$4,
33134
- lineNumber: 283,
33135
- columnNumber: 13
33136
- }
33137
- }, child), /*#__PURE__*/React__default.createElement(Box, {
33138
- __self: undefined,
33139
- __source: {
33140
- fileName: _jsxFileName$4,
33141
- lineNumber: 292,
33142
- columnNumber: 13
33143
- }
33144
- }, typeof (props == null ? void 0 : props.appendContent) === 'function' ? props == null ? void 0 : props.appendContent == null ? void 0 : props.appendContent() : props == null ? void 0 : props.appendContent))),
33008
+ wrapper: child => {
33009
+ var _props$appendContent;
33010
+ return /*#__PURE__*/React__default.createElement(Box, {
33011
+ css: {
33012
+ opacity: isHide ? 0 : undefined,
33013
+ maxWidth: 311
33014
+ },
33015
+ __self: undefined,
33016
+ __source: {
33017
+ fileName: _jsxFileName$4,
33018
+ lineNumber: 281,
33019
+ columnNumber: 9
33020
+ }
33021
+ }, /*#__PURE__*/React__default.createElement(Flex$1, {
33022
+ css: {
33023
+ position: !isMobile && 'sticky',
33024
+ top: !isMobile ? 44 : 40
33025
+ },
33026
+ direction: "column",
33027
+ gap: 7,
33028
+ __self: undefined,
33029
+ __source: {
33030
+ fileName: _jsxFileName$4,
33031
+ lineNumber: 282,
33032
+ columnNumber: 11
33033
+ }
33034
+ }, /*#__PURE__*/React__default.createElement(Card, {
33035
+ css: {
33036
+ height: 'fit-content',
33037
+ padding: 0
33038
+ },
33039
+ showBottomLine: false,
33040
+ __self: undefined,
33041
+ __source: {
33042
+ fileName: _jsxFileName$4,
33043
+ lineNumber: 283,
33044
+ columnNumber: 13
33045
+ }
33046
+ }, child), /*#__PURE__*/React__default.createElement(Box, {
33047
+ __self: undefined,
33048
+ __source: {
33049
+ fileName: _jsxFileName$4,
33050
+ lineNumber: 292,
33051
+ columnNumber: 13
33052
+ }
33053
+ }, typeof (props === null || props === void 0 ? void 0 : props.appendContent) === 'function' ? props === null || props === void 0 ? void 0 : (_props$appendContent = props.appendContent) === null || _props$appendContent === void 0 ? void 0 : _props$appendContent.call(props) : props === null || props === void 0 ? void 0 : props.appendContent)));
33054
+ },
33145
33055
  __self: undefined,
33146
33056
  __source: {
33147
33057
  fileName: _jsxFileName$4,
@@ -33206,7 +33116,8 @@ const Default = props => {
33206
33116
  }));
33207
33117
  }, [props.hide]);
33208
33118
  useEffect(() => {
33209
- props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
33119
+ var _props$onChangeVisibi;
33120
+ props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
33210
33121
  }, [state.hide]);
33211
33122
  const toogleVisibility = value => {
33212
33123
  updateState(prev => Object.assign({}, prev, {
@@ -33215,11 +33126,11 @@ const Default = props => {
33215
33126
  };
33216
33127
  const getIsComplete = currentStep => {
33217
33128
  var _state$isComplete;
33218
- return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
33129
+ return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
33219
33130
  };
33220
33131
  const getTitleStep = currentStep => {
33221
33132
  var _props$navContents, _props$navContents2;
33222
- return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
33133
+ return props === null || props === void 0 ? void 0 : (_props$navContents = props.navContents) === null || _props$navContents === void 0 ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) === null || _props$navContents2 === void 0 ? void 0 : _props$navContents2.title;
33223
33134
  };
33224
33135
  const setState = value => {
33225
33136
  updateState(Object.assign({}, state, value));
@@ -33253,13 +33164,13 @@ const Default = props => {
33253
33164
  block: 'start'
33254
33165
  });
33255
33166
  props.onStepChange && props.onStepChange(e);
33256
- if (props != null && (_props$navContents3 = props.navContents) != null && (_props$navContents4 = _props$navContents3[(e == null ? void 0 : e.activeStep) - 1]) != null && _props$navContents4.disabled) {
33257
- if ((e == null ? void 0 : e.activeStep) > (e == null ? void 0 : e.previousStep)) {
33167
+ if (props !== null && props !== void 0 && (_props$navContents3 = props.navContents) !== null && _props$navContents3 !== void 0 && (_props$navContents4 = _props$navContents3[(e === null || e === void 0 ? void 0 : e.activeStep) - 1]) !== null && _props$navContents4 !== void 0 && _props$navContents4.disabled) {
33168
+ if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
33258
33169
  var _state$SW;
33259
- state == null ? void 0 : (_state$SW = state.SW) == null ? void 0 : _state$SW.nextStep();
33170
+ state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
33260
33171
  } else {
33261
33172
  var _state$SW2;
33262
- state == null ? void 0 : (_state$SW2 = state.SW) == null ? void 0 : _state$SW2.previousStep();
33173
+ state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
33263
33174
  }
33264
33175
  }
33265
33176
  };
@@ -33274,11 +33185,11 @@ const Default = props => {
33274
33185
  }, /*#__PURE__*/React__default.createElement(StepWizardContext.Provider, {
33275
33186
  value: {
33276
33187
  toogleVisibility,
33277
- isHide: state == null ? void 0 : state.hide,
33188
+ isHide: state === null || state === void 0 ? void 0 : state.hide,
33278
33189
  setComplete,
33279
33190
  setState,
33280
33191
  state,
33281
- SW: state == null ? void 0 : state.SW,
33192
+ SW: state === null || state === void 0 ? void 0 : state.SW,
33282
33193
  forbidClickNav: props.forbidClickNav,
33283
33194
  titles: props.titles,
33284
33195
  isMobile: props.isMobile,
@@ -33301,7 +33212,7 @@ const Default = props => {
33301
33212
  nav: /*#__PURE__*/React__default.createElement(Navigation, {
33302
33213
  onNavClicked: props.onNavClicked,
33303
33214
  isComplete: state.isComplete,
33304
- appendContent: props == null ? void 0 : props.appendContent,
33215
+ appendContent: props === null || props === void 0 ? void 0 : props.appendContent,
33305
33216
  __self: undefined,
33306
33217
  __source: {
33307
33218
  fileName: _jsxFileName$4,
@@ -33311,7 +33222,7 @@ const Default = props => {
33311
33222
  }),
33312
33223
  initialStep: props.initialStep,
33313
33224
  onStepChange: handleStepChange,
33314
- isLazyMount: props == null ? void 0 : props.isLazyMount,
33225
+ isLazyMount: props === null || props === void 0 ? void 0 : props.isLazyMount,
33315
33226
  __self: undefined,
33316
33227
  __source: {
33317
33228
  fileName: _jsxFileName$4,
@@ -33330,7 +33241,7 @@ StepWizard.defaultProps = {
33330
33241
  isLazyMount: true
33331
33242
  };
33332
33243
 
33333
- var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33244
+ var _jsxFileName$3 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33334
33245
  function Collapse({
33335
33246
  children,
33336
33247
  isOpen
@@ -33373,7 +33284,7 @@ Collapse.defaultProps = {
33373
33284
  isOpen: false
33374
33285
  };
33375
33286
 
33376
- var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33287
+ var _jsxFileName$2 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33377
33288
  const DesktopContainer = styled(Flex$1, {
33378
33289
  display: 'none',
33379
33290
  '& .active-scroll-spy': {
@@ -33458,9 +33369,9 @@ function Content({
33458
33369
  var _getDatasets;
33459
33370
  function getDatasets(content, activeId, isCollapse) {
33460
33371
  const datasets = [];
33461
- for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
33372
+ for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
33462
33373
  var _content$i;
33463
- if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
33374
+ if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
33464
33375
  datasets.unshift(content[i]);
33465
33376
  } else {
33466
33377
  datasets.push(content[i]);
@@ -33498,7 +33409,7 @@ function Content({
33498
33409
  lineNumber: 107,
33499
33410
  columnNumber: 7
33500
33411
  }
33501
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
33412
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
33502
33413
  return /*#__PURE__*/React__default.createElement(List, {
33503
33414
  key: index,
33504
33415
  __self: this,
@@ -33515,11 +33426,11 @@ function Content({
33515
33426
  marginLeft: '-4px !important',
33516
33427
  borderLeftWidth: '4px !important',
33517
33428
  borderLeftStyle: 'solid !important',
33518
- borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$8.primary500 : 'transparent'} !important`,
33429
+ borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$8.primary500 : 'transparent'} !important`,
33519
33430
  paddingLeft: '16px !important',
33520
33431
  minHeight: 25
33521
33432
  },
33522
- "data-to-scrollspy-id": item == null ? void 0 : item.id,
33433
+ "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
33523
33434
  __self: this,
33524
33435
  __source: {
33525
33436
  fileName: _jsxFileName$2,
@@ -33528,13 +33439,13 @@ function Content({
33528
33439
  }
33529
33440
  }, /*#__PURE__*/React__default.createElement(Title$1, {
33530
33441
  className: "link-title",
33531
- active: (item == null ? void 0 : item.id) === activeId,
33532
- href: `#${item == null ? void 0 : item.id}`,
33442
+ active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
33443
+ href: `#${item === null || item === void 0 ? void 0 : item.id}`,
33533
33444
  onClick: e => {
33534
33445
  var _e$currentTarget, _e$currentTarget$href, _e$currentTarget$href2, _e$currentTarget2, _e$currentTarget2$hre, _e$currentTarget2$hre2;
33535
33446
  e.preventDefault();
33536
- onNavClick == null ? void 0 : onNavClick(e == null ? void 0 : (_e$currentTarget = e.currentTarget) == null ? void 0 : (_e$currentTarget$href = _e$currentTarget.href) == null ? void 0 : (_e$currentTarget$href2 = _e$currentTarget$href.split('#')) == null ? void 0 : _e$currentTarget$href2[1]);
33537
- const target = window.document.getElementById(e == null ? void 0 : (_e$currentTarget2 = e.currentTarget) == null ? void 0 : (_e$currentTarget2$hre = _e$currentTarget2.href) == null ? void 0 : (_e$currentTarget2$hre2 = _e$currentTarget2$hre.split('#')) == null ? void 0 : _e$currentTarget2$hre2[1]);
33447
+ onNavClick === null || onNavClick === void 0 ? void 0 : onNavClick(e === null || e === void 0 ? void 0 : (_e$currentTarget = e.currentTarget) === null || _e$currentTarget === void 0 ? void 0 : (_e$currentTarget$href = _e$currentTarget.href) === null || _e$currentTarget$href === void 0 ? void 0 : (_e$currentTarget$href2 = _e$currentTarget$href.split('#')) === null || _e$currentTarget$href2 === void 0 ? void 0 : _e$currentTarget$href2[1]);
33448
+ const target = window.document.getElementById(e === null || e === void 0 ? void 0 : (_e$currentTarget2 = e.currentTarget) === null || _e$currentTarget2 === void 0 ? void 0 : (_e$currentTarget2$hre = _e$currentTarget2.href) === null || _e$currentTarget2$hre === void 0 ? void 0 : (_e$currentTarget2$hre2 = _e$currentTarget2$hre.split('#')) === null || _e$currentTarget2$hre2 === void 0 ? void 0 : _e$currentTarget2$hre2[1]);
33538
33449
  if (target) {
33539
33450
  var headerOffset = 20;
33540
33451
  var elementPosition = target.getBoundingClientRect().top;
@@ -33558,7 +33469,7 @@ function Content({
33558
33469
  lineNumber: 125,
33559
33470
  columnNumber: 17
33560
33471
  }
33561
- }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
33472
+ }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
33562
33473
  })));
33563
33474
  }
33564
33475
  function TableOfContent({
@@ -33734,7 +33645,7 @@ TableOfContentPage.defaultProps = {
33734
33645
  useBoxMethod: true
33735
33646
  };
33736
33647
 
33737
- var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
33648
+ var _jsxFileName$1 = "/Users/majoo/majoo-ui/packages/react/src/components/editableTable/transition.js";
33738
33649
  function Collapalse({
33739
33650
  children,
33740
33651
  isOpen
@@ -52012,12 +51923,236 @@ function PrimitiveLoadingBar({
52012
51923
  }, void 0)]
52013
51924
  }), void 0);
52014
51925
  }
51926
+ const rotateKeyframe = keyframes({
51927
+ '100%': {
51928
+ transform: 'rotate(360deg)'
51929
+ }
51930
+ });
51931
+ const dashKeyframe = keyframes({
51932
+ '0%': {
51933
+ strokeDasharray: '0,125',
51934
+ strokeDashoffset: -8
51935
+ },
51936
+ '50%': {
51937
+ strokeDasharray: 125,
51938
+ strokeDashoffset: -10
51939
+ },
51940
+ '100%': {
51941
+ strokeDasharray: 125,
51942
+ strokeDashoffset: -125
51943
+ }
51944
+ });
51945
+ const LoadingContainer = styled$1('div', {
51946
+ position: 'absolute',
51947
+ width: 152,
51948
+ height: 152,
51949
+ top: '50%',
51950
+ left: '50%',
51951
+ transform: 'translate(-50%,-50%)'
51952
+ });
51953
+ const LogoSvg = styled$1('svg', {
51954
+ height: 152,
51955
+ position: 'absolute',
51956
+ width: 152
51957
+ });
51958
+ const LoadingSvg = styled$1('svg', {
51959
+ animation: `${rotateKeyframe} 2s linear infinite`,
51960
+ height: 152,
51961
+ position: 'absolute',
51962
+ width: 152,
51963
+ top: '-22px'
51964
+ });
51965
+ const LoadingBackground = styled$1('div', {
51966
+ background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
51967
+ width: '100%',
51968
+ height: '100%'
51969
+ });
51970
+ const LoadingCircle = styled$1('circle', {
51971
+ stroke: 'white',
51972
+ strokeLinecap: 'round',
51973
+ transformOrigin: '50% 50%',
51974
+ transform: 'rotate(-102deg)',
51975
+ animation: `${dashKeyframe} 1.5s ease-in-out infinite`
51976
+ });
51977
+ const LoadingLabel = styled$1(Paragraph, {
51978
+ position: 'relative',
51979
+ top: 100
51980
+ });
51981
+ function CircularLoadingBar({
51982
+ label
51983
+ }) {
51984
+ return jsxs(LoadingContainer, {
51985
+ children: [jsxs(LogoSvg, Object.assign({
51986
+ xmlns: "http://www.w3.org/2000/svg",
51987
+ width: "152",
51988
+ height: "152",
51989
+ viewBox: "0 0 152 152",
51990
+ fill: "none"
51991
+ }, {
51992
+ children: [jsxs("g", Object.assign({
51993
+ filter: "url(#filter0_ddd_4303_695)"
51994
+ }, {
51995
+ children: [jsx("rect", {
51996
+ x: "46.0004",
51997
+ y: "23.9999",
51998
+ width: "60",
51999
+ height: "60",
52000
+ rx: "30",
52001
+ fill: "url(#paint0_linear_4303_695)"
52002
+ }, void 0), jsx("rect", {
52003
+ x: "46",
52004
+ y: "24",
52005
+ width: "60",
52006
+ height: "60",
52007
+ rx: "30",
52008
+ stroke: "url(#paint1_linear_4303_695)",
52009
+ "stroke-opacity": "0.99",
52010
+ "stroke-width": "5"
52011
+ }, void 0), jsx("path", {
52012
+ "fill-rule": "evenodd",
52013
+ "clip-rule": "evenodd",
52014
+ d: "M87.9634 61.5652C87.9634 63.0968 86.7378 64.3333 85.2195 64.3333C83.7013 64.3333 82.4757 63.0968 82.4757 61.5652C82.4757 58.1698 82.4757 54.7928 82.4757 51.4159C82.9329 51.4159 83.3902 51.4159 83.8476 51.4159C84.1768 51.4159 84.3414 51.1206 84.1037 50.8623C83.0426 49.6074 81.9633 48.371 80.9024 47.1162C80.628 46.7471 80.5366 46.821 80.2805 47.1162C79.2195 48.371 78.1402 49.6074 77.0793 50.8623C76.8415 51.1391 77.0061 51.4159 77.3354 51.4159C77.7927 51.4159 78.25 51.4159 78.7073 51.4159C78.7073 54.8113 78.7256 58.1698 78.7256 61.5652C78.7256 63.0968 77.5 64.3333 75.9817 64.3333C74.4634 64.3333 73.2378 63.0968 73.2378 61.5652C73.2378 59.1848 73.2561 56.8227 73.2561 54.4607C73.7134 54.4607 74.1707 54.4607 74.628 54.4607C74.9573 54.4607 75.1219 54.1654 74.8841 53.9071C73.8232 52.6522 72.7439 51.4159 71.6829 50.161C71.4085 49.792 71.3171 49.8658 71.061 50.161C70 51.4159 68.9207 52.6522 67.8598 53.9071C67.6219 54.1839 67.7866 54.4607 68.1159 54.4607C68.5732 54.4607 69.0305 54.4607 69.4878 54.4607V54.5899V61.5652C69.4878 63.0968 68.2622 64.3333 66.7439 64.3333C65.2256 64.3333 64 63.0968 64 61.5652V50.7515C64 48.7217 64.8232 46.8579 66.1585 45.5108C67.4939 44.1637 69.3415 43.3333 71.372 43.3333C73.128 43.3333 74.7378 43.9607 76 44.9941C77.2622 43.9607 78.872 43.3333 80.628 43.3333C82.6586 43.3333 84.5061 44.1637 85.8414 45.5108C87.1768 46.8579 88 48.7217 88 50.7515V61.5652H87.9634Z",
52015
+ fill: "white"
52016
+ }, void 0)]
52017
+ }), void 0), jsxs("defs", {
52018
+ children: [jsxs("filter", Object.assign({
52019
+ id: "filter0_ddd_4303_695",
52020
+ x: "0.5",
52021
+ y: "0.5",
52022
+ width: "151",
52023
+ height: "151",
52024
+ filterUnits: "userSpaceOnUse",
52025
+ "color-interpolation-filters": "sRGB"
52026
+ }, {
52027
+ children: [jsx("feFlood", {
52028
+ "flood-opacity": "0",
52029
+ result: "BackgroundImageFix"
52030
+ }, void 0), jsx("feColorMatrix", {
52031
+ in: "SourceAlpha",
52032
+ type: "matrix",
52033
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52034
+ result: "hardAlpha"
52035
+ }, void 0), jsx("feOffset", {
52036
+ dy: "22"
52037
+ }, void 0), jsx("feGaussianBlur", {
52038
+ stdDeviation: "21.5"
52039
+ }, void 0), jsx("feColorMatrix", {
52040
+ type: "matrix",
52041
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
52042
+ }, void 0), jsx("feBlend", {
52043
+ mode: "normal",
52044
+ in2: "BackgroundImageFix",
52045
+ result: "effect1_dropShadow_4303_695"
52046
+ }, void 0), jsx("feColorMatrix", {
52047
+ in: "SourceAlpha",
52048
+ type: "matrix",
52049
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52050
+ result: "hardAlpha"
52051
+ }, void 0), jsx("feOffset", {
52052
+ dy: "9"
52053
+ }, void 0), jsx("feGaussianBlur", {
52054
+ stdDeviation: "12"
52055
+ }, void 0), jsx("feColorMatrix", {
52056
+ type: "matrix",
52057
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
52058
+ }, void 0), jsx("feBlend", {
52059
+ mode: "normal",
52060
+ in2: "effect1_dropShadow_4303_695",
52061
+ result: "effect2_dropShadow_4303_695"
52062
+ }, void 0), jsx("feColorMatrix", {
52063
+ in: "SourceAlpha",
52064
+ type: "matrix",
52065
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52066
+ result: "hardAlpha"
52067
+ }, void 0), jsx("feOffset", {
52068
+ dy: "3"
52069
+ }, void 0), jsx("feGaussianBlur", {
52070
+ stdDeviation: "4.5"
52071
+ }, void 0), jsx("feColorMatrix", {
52072
+ type: "matrix",
52073
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
52074
+ }, void 0), jsx("feBlend", {
52075
+ mode: "normal",
52076
+ in2: "effect2_dropShadow_4303_695",
52077
+ result: "effect3_dropShadow_4303_695"
52078
+ }, void 0), jsx("feBlend", {
52079
+ mode: "normal",
52080
+ in: "SourceGraphic",
52081
+ in2: "effect3_dropShadow_4303_695",
52082
+ result: "shape"
52083
+ }, void 0)]
52084
+ }), void 0), jsxs("linearGradient", Object.assign({
52085
+ id: "paint0_linear_4303_695",
52086
+ x1: "76.0004",
52087
+ y1: "23.9999",
52088
+ x2: "76.0004",
52089
+ y2: "83.9999",
52090
+ gradientUnits: "userSpaceOnUse"
52091
+ }, {
52092
+ children: [jsx("stop", {
52093
+ "stop-color": "#B3DCA7"
52094
+ }, void 0), jsx("stop", {
52095
+ offset: "1",
52096
+ "stop-color": "#22BDB6"
52097
+ }, void 0)]
52098
+ }), void 0), jsxs("linearGradient", Object.assign({
52099
+ id: "paint1_linear_4303_695",
52100
+ x1: "106",
52101
+ y1: "68.8332",
52102
+ x2: "50",
52103
+ y2: "37.3332",
52104
+ gradientUnits: "userSpaceOnUse"
52105
+ }, {
52106
+ children: [jsx("stop", {
52107
+ "stop-color": "#F4F4F4"
52108
+ }, void 0), jsx("stop", {
52109
+ offset: "1",
52110
+ "stop-color": "white"
52111
+ }, void 0)]
52112
+ }), void 0)]
52113
+ }, void 0)]
52114
+ }), void 0), jsxs(LoadingSvg, Object.assign({
52115
+ viewBox: "0 0 100 100",
52116
+ xmlns: "http://www.w3.org/2000/svg"
52117
+ }, {
52118
+ children: [jsx("defs", {
52119
+ children: jsx("mask", Object.assign({
52120
+ id: "mask"
52121
+ }, {
52122
+ children: jsx(LoadingCircle, {
52123
+ cx: "50",
52124
+ cy: "50",
52125
+ r: "20",
52126
+ fill: "none",
52127
+ "stroke-width": "4",
52128
+ "stroke-miterlimit": "10"
52129
+ }, void 0)
52130
+ }), void 0)
52131
+ }, void 0), jsx("foreignObject", Object.assign({
52132
+ x: "0",
52133
+ y: "0",
52134
+ width: "100",
52135
+ height: "100",
52136
+ mask: "url(#mask)"
52137
+ }, {
52138
+ children: jsx(LoadingBackground, {}, void 0)
52139
+ }), void 0)]
52140
+ }), void 0), label && jsx(LoadingLabel, Object.assign({
52141
+ color: "white",
52142
+ align: "center"
52143
+ }, {
52144
+ children: label
52145
+ }), void 0)]
52146
+ }, void 0);
52147
+ }
52015
52148
  let interval;
52016
52149
  function LoadingBar(props) {
52017
52150
  const {
52018
52151
  show,
52019
52152
  onCompleted,
52020
- interval: intervalTime
52153
+ interval: intervalTime,
52154
+ isPageLoader,
52155
+ pageLoaderLabel
52021
52156
  } = props;
52022
52157
  const [progress, setProgress] = useState(0);
52023
52158
  const [visibility, setVisibility] = useState(false);
@@ -52043,6 +52178,34 @@ function LoadingBar(props) {
52043
52178
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52044
52179
  }
52045
52180
  }, [progress, onCompleted]);
52181
+ if (!show) return jsx(React__default.Fragment, {}, void 0);
52182
+ if (isPageLoader) {
52183
+ return jsx(ModalDialog, Object.assign({
52184
+ open: show,
52185
+ modal: true,
52186
+ allowPinchZoom: false,
52187
+ width: "100%",
52188
+ layer: 2000,
52189
+ isMobile: false,
52190
+ css: {
52191
+ borderRadius: '2px !important',
52192
+ '& > div': {
52193
+ backgroundColor: 'transparent !important',
52194
+ borderRadius: '2px !important'
52195
+ }
52196
+ }
52197
+ }, {
52198
+ children: jsx(ModalDialogContent, Object.assign({
52199
+ css: {
52200
+ padding: '$spacing-08 $spacing-11'
52201
+ }
52202
+ }, {
52203
+ children: jsx(CircularLoadingBar, {
52204
+ label: pageLoaderLabel
52205
+ }, void 0)
52206
+ }), void 0)
52207
+ }), void 0);
52208
+ }
52046
52209
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsx(PrimitiveLoadingBar, Object.assign({}, props, {
52047
52210
  visibility: true
52048
52211
  }), void 0) : jsx(PrimitiveLoadingBar, Object.assign({}, props, {
@@ -52055,7 +52218,8 @@ LoadingBar.defaultProps = {
52055
52218
  show: false,
52056
52219
  interval: 100,
52057
52220
  description: 'Loading...',
52058
- size: 'md'
52221
+ size: 'md',
52222
+ isPageLoader: false
52059
52223
  };
52060
52224
 
52061
52225
  const Container$4 = styled(Flex$1, {
@@ -53123,7 +53287,6 @@ const ProductList = props => {
53123
53287
  label: tooltipLabel(name, variants)
53124
53288
  }, {
53125
53289
  children: jsxs(Box, Object.assign({
53126
- gap: 2,
53127
53290
  css: Object.assign({
53128
53291
  display: 'flex',
53129
53292
  alignItems: 'center',
@@ -53169,7 +53332,7 @@ const ProductList = props => {
53169
53332
  padding: '4px 8px',
53170
53333
  minWidth: 'unset',
53171
53334
  justifyContent: 'flex-start',
53172
- mr: 'auto'
53335
+ marginRight: 'auto'
53173
53336
  },
53174
53337
  type: "varian"
53175
53338
  }, {
@@ -55233,7 +55396,7 @@ PieChartComponent.defaultProps = {
55233
55396
  innerRadius: 70
55234
55397
  };
55235
55398
 
55236
- var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
55399
+ var _jsxFileName = "/Users/majoo/majoo-ui/packages/react/src/colors/Colors.js";
55237
55400
  const StyledPaper = styled(Paper, {
55238
55401
  borderRadius: '10px 10px 0 0',
55239
55402
  padding: 15,
@@ -56729,4 +56892,4 @@ const useToggle = initialValue => {
56729
56892
  return useReducer(toggleReducer, initialValue);
56730
56893
  };
56731
56894
 
56732
- export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, ResourceList as InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };
56895
+ export { ADVANCE_PICKER, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedOption, AlertDialog, AlertDialogCancel, AlertDialogConfirm, AlertDialogContent, AlertDialogDescription, AlertDialogFunction, AlertDialogRoot, AlertDialogTitle, AlertDialogTrigger, Avatar, BOTTOM_LEFT_POSITION, BOTTOM_RIGHT_POSITION, Badge, Banner, BannerClose, BannerDescription, BannerLink, BannerTitle, BarChartComponent as BarChart, Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button$4 as Button, ButtonDropdown, ButtonGroup$1 as ButtonGroup, ButtonGroupItem, ButtonPrimitive, Card, CardComponent, CardLineColor, CheckboxGroup, CheckboxTable, ColorPicker$1 as ColorPicker, Colors, ContentEditor, ContextMenu, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, CustomDatePicker, DATE_RANGE_PICKER, DEFAULT, DateColumn, DatePicker, DecimalColumn, Device as DevicePreview, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerCloseButton, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuArrow, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuTrigger, EditableTable, Flex$1 as Flex, FormGroup, FormHelper, FormLabel, Grid, GridItem, Heading, IconButton, IconContainer, Image, ImageDevicePreview, Input$7 as Input, InputCheckbox, InputColorPicker, InputCombobox, InputCounter, InputCreatable, InputDatePicker, InputDateRange, InputGroup, InputLeftAddon, InputLeftElement, InputMapPicker, InputNumber, InputOTP, InputPrefix, InputRadio, InputRadioGroup, ResourceList as InputResourceList, InputRightAddon, InputRightElement, InputSearchbox, InputSelect, InputSelectCheck, InputSelectTag, InputSuffix, InputSwitch, TagsInput as InputTags, InputText, InputTextArea, InputTimePicker, LAST_7_DAYS, LAST_MONTH, LAST_TWO_MONTHS, LAST_WEEK, LineChart, Link, LoadingBar, MONTHLY, MajooProvider, MapPicker, MemoizedEditableTable, MobileTable, ModalDialog, ModalDialogContent, ModalDialogFooter, ModalDialogTitle, ModalDialogTrigger, NEXT_MONTH, NEXT_WEEK, NativeTimePicker, NotificationBadge, OptionWrapper$2 as OptionWrapper, PREV_MONTH, PREV_WEEK, PageContainer, PageDialog, PageDialogContent, PageDialogFooter, PageDialogTitle, PageDialogTrigger, Pagination, Paper, PaperComponent, Paragraph, PieChartComponent as PieChart, Popover, PopoverClose, PopoverContent, PopoverTrigger, PriceColumn, Progress$1 as Progress, ProgressIndicator, Provider, RANGE_CONTROL, RANGE_MONTH, RANGE_PICKER, RANGE_WEEK, ResendOTP, RightSlot, rowExpanderColumn as RowExpanderColumn, rowExpanderMultipleColumn as RowExpanderMultipleColumn, rowMenuColumn as RowMenuColumn, rowSelectionColumn as RowSelectionColumn, rowSelectionWithCallbackColumn as RowSelectionWithCallbackColumn, SINGLE_PICKER, ScrollSync, ScrollSyncNode, SelectBox, SelectContainer, SelectItem, SelectOption, Separator$2 as Separator, Skeleton, Slider, StepWizard, StepWizardContext, StyledBox, StyledDropdown, StyledInput$1 as StyledInput, StyledSpan, StyledTitle$2 as StyledTitle, THIS_MONTH, THIS_WEEK, TODAY, TOP_LEFT_POSITION, TOP_RIGHT_POSITION, Table, TableBody$3 as TableBody, TableCell$3 as TableCell, TableColumn, TableContent$3 as TableContent, TableFoot$2 as TableFoot, TableFootCell$2 as TableFootCell, TableFootRow$2 as TableFootRow, TableHead$3 as TableHead, TableHeadCellContent, TableHeaderCellContainer, TableOfContent, TableOfContentPage, TableRow$3 as TableRow, Tabs$1 as Tabs, TabsContent$1 as TabsContent, TabsList$1 as TabsList, TabsTrigger$1 as TabsTrigger, Tag, TagList, TagStatus, Text$1 as Text, TextVariantsEnum, TimePicker, ToastContext, ToastProvider, Tooltip$1 as Tooltip, TooltipBase, TooltipContent, TooltipTrigger, UPDATE_PICKER, Upload, WEEKLY, YESTERDAY, addOnCellStyle, advancePickerDate, advancePickerOptionsEn, advancePickerOptionsId, defaultEmptyDataProps, defaultFetchDataParams, pickerReducer, useListOption, useToggle };