@majoo-ui/react 1.60.36 → 1.60.37-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.umd.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('react-i18next'), require('moment'), require('@majoo-ui/icons'), require('react/jsx-runtime'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('react-transition-group'), require('@majoo-ui/helpers'), require('superagent'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-hook-form'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('@floating-ui/react'), require('otp-input-react'), require('@radix-ui/react-dialog'), require('@radix-ui/react-toggle-group'), require('dayzed'), require('@radix-ui/react-separator'), require('@radix-ui/react-slider'), require('@radix-ui/react-tabs'), require('@radix-ui/react-accordion'), require('react-table'), require('react-dom'), require('@radix-ui/react-alert-dialog'), require('@radix-ui/react-dropdown-menu'), require('@radix-ui/react-aspect-ratio'), require('react-color/lib/components/common'), require('react-color/lib/helpers/color'), require('react-step-wizard'), require('@monsonjeremy/react-leaflet'), require('leaflet/dist/leaflet.css'), require('leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css'), require('leaflet-defaulticon-compatibility'), require('recharts'), require('draft-js'), require('react-draft-wysiwyg'), require('react-contextmenu'), require('react-loading-skeleton'), require('react-loading-skeleton/dist/skeleton.css'), require('react-virtual'), require('react-ui-scrollspy'), require('react-image-crop'), require('browser-image-compression'), require('react-table-sticky')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', 'react-i18next', 'moment', '@majoo-ui/icons', 'react/jsx-runtime', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', 'react-transition-group', '@majoo-ui/helpers', 'superagent', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-hook-form', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', '@floating-ui/react', 'otp-input-react', '@radix-ui/react-dialog', '@radix-ui/react-toggle-group', 'dayzed', '@radix-ui/react-separator', '@radix-ui/react-slider', '@radix-ui/react-tabs', '@radix-ui/react-accordion', 'react-table', 'react-dom', '@radix-ui/react-alert-dialog', '@radix-ui/react-dropdown-menu', '@radix-ui/react-aspect-ratio', 'react-color/lib/components/common', 'react-color/lib/helpers/color', 'react-step-wizard', '@monsonjeremy/react-leaflet', 'leaflet/dist/leaflet.css', 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css', 'leaflet-defaulticon-compatibility', 'recharts', 'draft-js', 'react-draft-wysiwyg', 'react-contextmenu', 'react-loading-skeleton', 'react-loading-skeleton/dist/skeleton.css', 'react-virtual', 'react-ui-scrollspy', 'react-image-crop', 'browser-image-compression', 'react-table-sticky'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.reactI18next, global.moment, global.icons, global.jsxRuntime, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.reactTransitionGroup, global.helpers, global.request, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.reactHookForm, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.react$1, global.OTPInput, global.DialogPrimitive, global.ToggleGroupPrimitive, global.dayzed, global.SeparatorPrimitive, global.SliderPrimitive, global.TabsPrimitive, global.AccordionPrimitive, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.reactLeaflet, null, null, null, global.recharts, global.draftJs, global.reactDraftWysiwyg, global.reactContextmenu, global.ReactSkeleton, null, global.reactVirtual, global.ScrollSpy, global.ReactCrop, global.imageCompressionComponent, global.reactTableSticky));
5
- })(this, (function (exports, React, PropTypes, react, core, reactI18next, moment, icons, jsxRuntime, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, reactTransitionGroup, helpers, request, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, reactHookForm, SwitchPrimitive, Downshift, InfiniteScroll, debounce, react$1, OTPInput, DialogPrimitive, ToggleGroupPrimitive, dayzed, SeparatorPrimitive, SliderPrimitive, TabsPrimitive, AccordionPrimitive, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, reactLeaflet, leaflet_css, leafletDefaulticonCompatibility_css, leafletDefaulticonCompatibility, recharts, draftJs, reactDraftWysiwyg, reactContextmenu, ReactSkeleton, skeleton_css, reactVirtual, ScrollSpy, ReactCrop, imageCompressionComponent, reactTableSticky) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('prop-types'), require('@stitches/react'), require('@majoo-ui/core'), require('react-i18next'), require('moment'), require('react/jsx-runtime'), require('@majoo-ui/icons'), require('@radix-ui/react-avatar'), require('@radix-ui/react-tooltip'), require('@radix-ui/react-progress'), require('react-transition-group'), require('@majoo-ui/helpers'), require('superagent'), require('@radix-ui/react-label'), require('@radix-ui/react-checkbox'), require('@radix-ui/react-radio-group'), require('react-hook-form'), require('@radix-ui/react-switch'), require('downshift'), require('react-infinite-scroller'), require('lodash.debounce'), require('@floating-ui/react'), require('otp-input-react'), require('@radix-ui/react-dialog'), require('@radix-ui/react-toggle-group'), require('dayzed'), require('@radix-ui/react-separator'), require('@radix-ui/react-slider'), require('@radix-ui/react-tabs'), require('@radix-ui/react-accordion'), require('react-table'), require('react-dom'), require('@radix-ui/react-alert-dialog'), require('@radix-ui/react-dropdown-menu'), require('@radix-ui/react-aspect-ratio'), require('react-color/lib/components/common'), require('react-color/lib/helpers/color'), require('react-step-wizard'), require('@monsonjeremy/react-leaflet'), require('leaflet/dist/leaflet.css'), require('leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css'), require('leaflet-defaulticon-compatibility'), require('recharts'), require('draft-js'), require('react-draft-wysiwyg'), require('react-contextmenu'), require('react-loading-skeleton'), require('react-loading-skeleton/dist/skeleton.css'), require('react-virtual'), require('react-ui-scrollspy'), require('react-image-crop'), require('browser-image-compression'), require('react-table-sticky')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'react', 'prop-types', '@stitches/react', '@majoo-ui/core', 'react-i18next', 'moment', 'react/jsx-runtime', '@majoo-ui/icons', '@radix-ui/react-avatar', '@radix-ui/react-tooltip', '@radix-ui/react-progress', 'react-transition-group', '@majoo-ui/helpers', 'superagent', '@radix-ui/react-label', '@radix-ui/react-checkbox', '@radix-ui/react-radio-group', 'react-hook-form', '@radix-ui/react-switch', 'downshift', 'react-infinite-scroller', 'lodash.debounce', '@floating-ui/react', 'otp-input-react', '@radix-ui/react-dialog', '@radix-ui/react-toggle-group', 'dayzed', '@radix-ui/react-separator', '@radix-ui/react-slider', '@radix-ui/react-tabs', '@radix-ui/react-accordion', 'react-table', 'react-dom', '@radix-ui/react-alert-dialog', '@radix-ui/react-dropdown-menu', '@radix-ui/react-aspect-ratio', 'react-color/lib/components/common', 'react-color/lib/helpers/color', 'react-step-wizard', '@monsonjeremy/react-leaflet', 'leaflet/dist/leaflet.css', 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.css', 'leaflet-defaulticon-compatibility', 'recharts', 'draft-js', 'react-draft-wysiwyg', 'react-contextmenu', 'react-loading-skeleton', 'react-loading-skeleton/dist/skeleton.css', 'react-virtual', 'react-ui-scrollspy', 'react-image-crop', 'browser-image-compression', 'react-table-sticky'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.React, global.PropTypes, global.react, global.core, global.reactI18next, global.moment, global.jsxRuntime, global.icons, global.AvatarPrimitive, global.TooltipPrimitive, global.ProgressPrimitive, global.reactTransitionGroup, global.helpers, global.request, global.LabelPrimitive, global.CheckboxPrimitive, global.RadioGroupPrimitive, global.reactHookForm, global.SwitchPrimitive, global.Downshift, global.InfiniteScroll, global.debounce, global.react$1, global.OTPInput, global.DialogPrimitive, global.ToggleGroupPrimitive, global.dayzed, global.SeparatorPrimitive, global.SliderPrimitive, global.TabsPrimitive, global.AccordionPrimitive, global.reactTable, global.ReactDOM, global.ADialog, global.DropdownMenuPrimitive, global.AspectRatioPrimitive, global.common, global.color, global.StepWizard$1, global.reactLeaflet, null, null, null, global.recharts, global.draftJs, global.reactDraftWysiwyg, global.reactContextmenu, global.ReactSkeleton, null, global.reactVirtual, global.ScrollSpy, global.ReactCrop, global.imageCompressionComponent, global.reactTableSticky));
5
+ })(this, (function (exports, React, PropTypes, react, core, reactI18next, moment, jsxRuntime, icons, AvatarPrimitive, TooltipPrimitive, ProgressPrimitive, reactTransitionGroup, helpers, request, LabelPrimitive, CheckboxPrimitive, RadioGroupPrimitive, reactHookForm, SwitchPrimitive, Downshift, InfiniteScroll, debounce, react$1, OTPInput, DialogPrimitive, ToggleGroupPrimitive, dayzed, SeparatorPrimitive, SliderPrimitive, TabsPrimitive, AccordionPrimitive, reactTable, ReactDOM, ADialog, DropdownMenuPrimitive, AspectRatioPrimitive, common, color, StepWizard$1, reactLeaflet, leaflet_css, leafletDefaulticonCompatibility_css, leafletDefaulticonCompatibility, recharts, draftJs, reactDraftWysiwyg, reactContextmenu, ReactSkeleton, skeleton_css, reactVirtual, ScrollSpy, ReactCrop, imageCompressionComponent, reactTableSticky) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -57,7 +57,7 @@
57
57
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
58
58
  var imageCompressionComponent__default = /*#__PURE__*/_interopDefaultLegacy(imageCompressionComponent);
59
59
 
60
- var _jsxFileName$12 = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
60
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
61
61
  function ThemeProvider({
62
62
  theme,
63
63
  children
@@ -66,7 +66,7 @@
66
66
  className: theme,
67
67
  __self: this,
68
68
  __source: {
69
- fileName: _jsxFileName$12,
69
+ fileName: _jsxFileName$$,
70
70
  lineNumber: 5,
71
71
  columnNumber: 10
72
72
  }
@@ -1503,7 +1503,7 @@
1503
1503
  globalStyles();
1504
1504
  };
1505
1505
 
1506
- var _jsxFileName$11 = "/Users/majoo/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1506
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1507
1507
  function MajooProvider({
1508
1508
  children,
1509
1509
  theme: theme$1 = theme,
@@ -1519,7 +1519,7 @@
1519
1519
  theme: theme$1,
1520
1520
  __self: this,
1521
1521
  __source: {
1522
- fileName: _jsxFileName$11,
1522
+ fileName: _jsxFileName$_,
1523
1523
  lineNumber: 14,
1524
1524
  columnNumber: 5
1525
1525
  }
@@ -1532,7 +1532,7 @@
1532
1532
  disableGlobalStyle: PropTypes__default["default"].bool
1533
1533
  };
1534
1534
 
1535
- const Box = styled('div', {
1535
+ var Box = styled('div', {
1536
1536
  variants: {
1537
1537
  mobileOnly: {
1538
1538
  true: {
@@ -1563,7 +1563,7 @@
1563
1563
  return variants;
1564
1564
  }
1565
1565
 
1566
- const Flex$1 = styled('div', {
1566
+ var Flex$1 = styled('div', {
1567
1567
  display: 'flex',
1568
1568
  variants: {
1569
1569
  direction: {
@@ -1628,30 +1628,48 @@
1628
1628
  flexWrap: 'wrap-reverse'
1629
1629
  }
1630
1630
  },
1631
- gap: seqNumberVariants$1(value => ({
1632
- gap: `$spacing-${value < 10 ? '0' + value : value}`
1633
- }), 12),
1634
- m: seqNumberVariants$1(value => ({
1635
- m: `$spacing-${value < 10 ? '0' + value : value}`
1636
- }), 12),
1637
- mt: seqNumberVariants$1(value => ({
1638
- mt: `$spacing-${value < 10 ? '0' + value : value}`
1639
- }), 12),
1640
- mb: seqNumberVariants$1(value => ({
1641
- mb: `$spacing-${value < 10 ? '0' + value : value}`
1642
- }), 12),
1643
- mr: seqNumberVariants$1(value => ({
1644
- mr: `$spacing-${value < 10 ? '0' + value : value}`
1645
- }), 12),
1646
- ml: seqNumberVariants$1(value => ({
1647
- ml: `$spacing-${value < 10 ? '0' + value : value}`
1648
- }), 12),
1649
- mx: seqNumberVariants$1(value => ({
1650
- mx: `$spacing-${value < 10 ? '0' + value : value}`
1651
- }), 12),
1652
- my: seqNumberVariants$1(value => ({
1653
- my: `$spacing-${value < 10 ? '0' + value : value}`
1654
- }), 12),
1631
+ gap: seqNumberVariants$1(function (value) {
1632
+ return {
1633
+ gap: "$spacing-".concat(value < 10 ? '0' + value : value)
1634
+ };
1635
+ }, 12),
1636
+ m: seqNumberVariants$1(function (value) {
1637
+ return {
1638
+ margin: "$spacing-".concat(value < 10 ? '0' + value : value)
1639
+ };
1640
+ }, 12),
1641
+ mt: seqNumberVariants$1(function (value) {
1642
+ return {
1643
+ marginTop: "$spacing-".concat(value < 10 ? '0' + value : value)
1644
+ };
1645
+ }, 12),
1646
+ mb: seqNumberVariants$1(function (value) {
1647
+ return {
1648
+ marginBottom: "$spacing-".concat(value < 10 ? '0' + value : value)
1649
+ };
1650
+ }, 12),
1651
+ mr: seqNumberVariants$1(function (value) {
1652
+ return {
1653
+ marginRight: "$spacing-".concat(value < 10 ? '0' + value : value)
1654
+ };
1655
+ }, 12),
1656
+ ml: seqNumberVariants$1(function (value) {
1657
+ return {
1658
+ marginLeft: "$spacing-".concat(value < 10 ? '0' + value : value)
1659
+ };
1660
+ }, 12),
1661
+ mx: seqNumberVariants$1(function (value) {
1662
+ return {
1663
+ marginRight: "$spacing-".concat(value < 10 ? '0' + value : value),
1664
+ marginLeft: "$spacing-".concat(value < 10 ? '0' + value : value)
1665
+ };
1666
+ }, 12),
1667
+ my: seqNumberVariants$1(function (value) {
1668
+ return {
1669
+ marginTop: "$spacing-".concat(value < 10 ? '0' + value : value),
1670
+ marginBottom: "$spacing-".concat(value < 10 ? '0' + value : value)
1671
+ };
1672
+ }, 12),
1655
1673
  mobileOnly: {
1656
1674
  true: {
1657
1675
  '@lg': {
@@ -1669,29 +1687,278 @@
1669
1687
  }
1670
1688
  }
1671
1689
  });
1672
- Flex$1.propTypes = {
1673
- direction: PropTypes__default["default"].string,
1674
- align: PropTypes__default["default"].string,
1675
- justify: PropTypes__default["default"].string,
1676
- wrap: PropTypes__default["default"].string,
1677
- gap: PropTypes__default["default"].number,
1678
- m: PropTypes__default["default"].number,
1679
- mt: PropTypes__default["default"].number,
1680
- mb: PropTypes__default["default"].number,
1681
- mr: PropTypes__default["default"].number,
1682
- ml: PropTypes__default["default"].number,
1683
- mx: PropTypes__default["default"].number,
1684
- my: PropTypes__default["default"].number
1685
- };
1686
1690
  Flex$1.defaultProps = {
1687
1691
  direction: 'row',
1688
1692
  align: 'stretch',
1689
1693
  justify: 'start',
1690
- wrap: 'noWrap',
1691
- gap: 0
1694
+ wrap: 'noWrap'
1692
1695
  };
1693
1696
  Flex$1.displayName = 'Flex';
1694
1697
 
1698
+ var GridComponent = styled('div', {
1699
+ display: 'grid',
1700
+ variants: {
1701
+ align: {
1702
+ start: {
1703
+ alignItems: 'start'
1704
+ },
1705
+ center: {
1706
+ alignItems: 'center'
1707
+ },
1708
+ end: {
1709
+ alignItems: 'end'
1710
+ },
1711
+ stretch: {
1712
+ alignItems: 'stretch'
1713
+ },
1714
+ baseline: {
1715
+ alignItems: 'baseline'
1716
+ }
1717
+ },
1718
+ justify: {
1719
+ start: {
1720
+ justifyContent: 'start'
1721
+ },
1722
+ center: {
1723
+ justifyContent: 'center'
1724
+ },
1725
+ end: {
1726
+ justifyContent: 'end'
1727
+ },
1728
+ between: {
1729
+ justifyContent: 'space-between'
1730
+ }
1731
+ },
1732
+ flow: {
1733
+ row: {
1734
+ gridAutoFlow: 'row'
1735
+ },
1736
+ column: {
1737
+ gridAutoFlow: 'column'
1738
+ },
1739
+ dense: {
1740
+ gridAutoFlow: 'dense'
1741
+ },
1742
+ rowDense: {
1743
+ gridAutoFlow: 'row dense'
1744
+ },
1745
+ columnDense: {
1746
+ gridAutoFlow: 'column dense'
1747
+ }
1748
+ },
1749
+ columns: seqNumberVariants$1(function (value) {
1750
+ return {
1751
+ gridTemplateColumns: "repeat(".concat(value, ", 1fr)")
1752
+ };
1753
+ }, 10),
1754
+ rows: seqNumberVariants$1(function (value) {
1755
+ return {
1756
+ gridTemplateRows: "repeat(".concat(value, ", 1fr)")
1757
+ };
1758
+ }, 10),
1759
+ placeItems: {
1760
+ stretch: {
1761
+ placeItems: 'stretch'
1762
+ },
1763
+ start: {
1764
+ placeItems: 'start'
1765
+ },
1766
+ end: {
1767
+ placeItems: 'end'
1768
+ },
1769
+ center: {
1770
+ placeItems: 'center'
1771
+ },
1772
+ left: {
1773
+ placeItems: 'left'
1774
+ },
1775
+ right: {
1776
+ placeItems: 'right'
1777
+ }
1778
+ },
1779
+ gap: {
1780
+ 1: {
1781
+ gap: '$spacing-03'
1782
+ },
1783
+ 2: {
1784
+ gap: '$spacing-05'
1785
+ },
1786
+ 3: {
1787
+ gap: '$spacing-06'
1788
+ },
1789
+ 4: {
1790
+ gap: '$spacing-07'
1791
+ },
1792
+ 5: {
1793
+ gap: '$spacing-08'
1794
+ },
1795
+ 6: {
1796
+ gap: '$spacing-09'
1797
+ },
1798
+ 7: {
1799
+ gap: '$spacing-10'
1800
+ },
1801
+ 8: {
1802
+ gap: '$spacing-11'
1803
+ },
1804
+ 9: {
1805
+ gap: '$spacing-12'
1806
+ }
1807
+ },
1808
+ gapX: {
1809
+ normal: {
1810
+ columnGap: 'normal'
1811
+ },
1812
+ 1: {
1813
+ columnGap: '$spacing-03'
1814
+ },
1815
+ 2: {
1816
+ columnGap: '$spacing-05'
1817
+ },
1818
+ 3: {
1819
+ columnGap: '$spacing-06'
1820
+ },
1821
+ 4: {
1822
+ columnGap: '$spacing-07'
1823
+ },
1824
+ 5: {
1825
+ columnGap: '$spacing-08'
1826
+ },
1827
+ 6: {
1828
+ columnGap: '$spacing-09'
1829
+ },
1830
+ 7: {
1831
+ columnGap: '$spacing-10'
1832
+ },
1833
+ 8: {
1834
+ columnGap: '$spacing-11'
1835
+ },
1836
+ 9: {
1837
+ columnGap: '$spacing-12'
1838
+ }
1839
+ },
1840
+ gapY: {
1841
+ 1: {
1842
+ rowGap: '$spacing-03'
1843
+ },
1844
+ 2: {
1845
+ rowGap: '$spacing-05'
1846
+ },
1847
+ 3: {
1848
+ rowGap: '$spacing-06'
1849
+ },
1850
+ 4: {
1851
+ rowGap: '$spacing-07'
1852
+ },
1853
+ 5: {
1854
+ rowGap: '$spacing-08'
1855
+ },
1856
+ 6: {
1857
+ rowGap: '$spacing-09'
1858
+ },
1859
+ 7: {
1860
+ rowGap: '$spacing-10'
1861
+ },
1862
+ 8: {
1863
+ rowGap: '$spacing-11'
1864
+ },
1865
+ 9: {
1866
+ rowGap: '$spacing-12'
1867
+ }
1868
+ },
1869
+ mobileOnly: {
1870
+ true: {
1871
+ '@lg': {
1872
+ display: 'none !important'
1873
+ }
1874
+ }
1875
+ },
1876
+ desktopOnly: {
1877
+ true: {
1878
+ display: 'none !important',
1879
+ '@lg': {
1880
+ display: 'grid !important'
1881
+ }
1882
+ }
1883
+ }
1884
+ }
1885
+ });
1886
+ var Grid = function Grid(_a) {
1887
+ var children = _a.children,
1888
+ props = __rest(_a, ["children"]);
1889
+ return jsxRuntime.jsx(GridComponent, __assign({}, props, {
1890
+ css: __assign(__assign({}, props.css), {
1891
+ gridAutoColumns: props.autoColumns,
1892
+ gridAutoRows: props.autoRows,
1893
+ gridTemplateColumns: props.templateColumns,
1894
+ gridTemplateRows: props.templateRows
1895
+ })
1896
+ }, {
1897
+ children: children
1898
+ }), void 0);
1899
+ };
1900
+ Grid.propTypes = {
1901
+ align: PropTypes__default["default"].string,
1902
+ justify: PropTypes__default["default"].string,
1903
+ autoColumns: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1904
+ autoRows: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1905
+ autoFlow: PropTypes__default["default"].string,
1906
+ templateColumns: PropTypes__default["default"].string,
1907
+ templateRows: PropTypes__default["default"].string,
1908
+ columns: PropTypes__default["default"].number,
1909
+ rows: PropTypes__default["default"].number,
1910
+ gap: PropTypes__default["default"].number,
1911
+ gapX: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1912
+ gapY: PropTypes__default["default"].number
1913
+ };
1914
+ Grid.displayName = 'Grid';
1915
+ function spanFn(value) {
1916
+ return value === 'auto' ? 'auto' : "span ".concat(value, "/span ").concat(value);
1917
+ }
1918
+ var GridItemComponent = styled('div', {
1919
+ variants: {
1920
+ colSpan: __assign({
1921
+ auto: spanFn('auto')
1922
+ }, seqNumberVariants$1(function (value) {
1923
+ return {
1924
+ gridColumn: spanFn(value)
1925
+ };
1926
+ }, 10)),
1927
+ rowSpan: __assign({
1928
+ auto: spanFn('auto')
1929
+ }, seqNumberVariants$1(function (value) {
1930
+ return {
1931
+ gridRow: spanFn(value)
1932
+ };
1933
+ }, 10))
1934
+ }
1935
+ });
1936
+ var GridItem = function GridItem(_a) {
1937
+ var children = _a.children,
1938
+ props = __rest(_a, ["children"]);
1939
+ return jsxRuntime.jsx(GridItemComponent, __assign({}, props, {
1940
+ css: __assign(__assign({}, props.css), {
1941
+ gridArea: props.area,
1942
+ gridColumnStart: props.colStart,
1943
+ gridColumnEnd: props.colEnd,
1944
+ gridRowStart: props.rowStart,
1945
+ gridRowEnd: props.rowEnd
1946
+ })
1947
+ }, {
1948
+ children: children
1949
+ }), void 0);
1950
+ };
1951
+ GridItem.propTypes = {
1952
+ gridArea: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1953
+ colSpan: PropTypes__default["default"].number,
1954
+ rowSpan: PropTypes__default["default"].number,
1955
+ colStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1956
+ colEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1957
+ rowStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1958
+ rowEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
1959
+ };
1960
+ GridItem.displayName = 'Grid Item';
1961
+
1695
1962
  function _extends() {
1696
1963
  _extends = Object.assign ? Object.assign.bind() : function (target) {
1697
1964
  for (var i = 1; i < arguments.length; i++) {
@@ -1722,279 +1989,8 @@
1722
1989
  return target;
1723
1990
  }
1724
1991
 
1725
- const _excluded$B = ["children"],
1726
- _excluded2$4 = ["children"];
1727
- var _jsxFileName$10 = "/Users/majoo/majoo-ui/packages/react/src/layout/grid/Grid.js";
1728
- const GridComponent = styled('div', {
1729
- display: 'grid',
1730
- variants: {
1731
- align: {
1732
- start: {
1733
- alignItems: 'start'
1734
- },
1735
- center: {
1736
- alignItems: 'center'
1737
- },
1738
- end: {
1739
- alignItems: 'end'
1740
- },
1741
- stretch: {
1742
- alignItems: 'stretch'
1743
- },
1744
- baseline: {
1745
- alignItems: 'baseline'
1746
- }
1747
- },
1748
- justify: {
1749
- start: {
1750
- justifyContent: 'start'
1751
- },
1752
- center: {
1753
- justifyContent: 'center'
1754
- },
1755
- end: {
1756
- justifyContent: 'end'
1757
- },
1758
- between: {
1759
- justifyContent: 'space-between'
1760
- }
1761
- },
1762
- flow: {
1763
- row: {
1764
- gridAutoFlow: 'row'
1765
- },
1766
- column: {
1767
- gridAutoFlow: 'column'
1768
- },
1769
- dense: {
1770
- gridAutoFlow: 'dense'
1771
- },
1772
- rowDense: {
1773
- gridAutoFlow: 'row dense'
1774
- },
1775
- columnDense: {
1776
- gridAutoFlow: 'column dense'
1777
- }
1778
- },
1779
- columns: seqNumberVariants$1(value => ({
1780
- gridTemplateColumns: `repeat(${value}, 1fr)`
1781
- }), 10),
1782
- rows: seqNumberVariants$1(value => ({
1783
- gridTemplateRows: `repeat(${value}, 1fr)`
1784
- }), 10),
1785
- placeItems: {
1786
- stretch: {
1787
- placeItems: 'stretch'
1788
- },
1789
- start: {
1790
- placeItems: 'start'
1791
- },
1792
- end: {
1793
- placeItems: 'end'
1794
- },
1795
- center: {
1796
- placeItems: 'center'
1797
- },
1798
- left: {
1799
- placeItems: 'left'
1800
- },
1801
- right: {
1802
- placeItems: 'right'
1803
- }
1804
- },
1805
- gap: {
1806
- 1: {
1807
- gap: '$spacing-03'
1808
- },
1809
- 2: {
1810
- gap: '$spacing-05'
1811
- },
1812
- 3: {
1813
- gap: '$spacing-06'
1814
- },
1815
- 4: {
1816
- gap: '$spacing-07'
1817
- },
1818
- 5: {
1819
- gap: '$spacing-08'
1820
- },
1821
- 6: {
1822
- gap: '$spacing-09'
1823
- },
1824
- 7: {
1825
- gap: '$spacing-10'
1826
- },
1827
- 8: {
1828
- gap: '$spacing-11'
1829
- },
1830
- 9: {
1831
- gap: '$spacing-12'
1832
- }
1833
- },
1834
- gapX: {
1835
- normal: {
1836
- columnGap: 'normal'
1837
- },
1838
- 1: {
1839
- columnGap: '$spacing-03'
1840
- },
1841
- 2: {
1842
- columnGap: '$spacing-05'
1843
- },
1844
- 3: {
1845
- columnGap: '$spacing-06'
1846
- },
1847
- 4: {
1848
- columnGap: '$spacing-07'
1849
- },
1850
- 5: {
1851
- columnGap: '$spacing-08'
1852
- },
1853
- 6: {
1854
- columnGap: '$spacing-09'
1855
- },
1856
- 7: {
1857
- columnGap: '$spacing-10'
1858
- },
1859
- 8: {
1860
- columnGap: '$spacing-11'
1861
- },
1862
- 9: {
1863
- columnGap: '$spacing-12'
1864
- }
1865
- },
1866
- gapY: {
1867
- 1: {
1868
- rowGap: '$spacing-03'
1869
- },
1870
- 2: {
1871
- rowGap: '$spacing-05'
1872
- },
1873
- 3: {
1874
- rowGap: '$spacing-06'
1875
- },
1876
- 4: {
1877
- rowGap: '$spacing-07'
1878
- },
1879
- 5: {
1880
- rowGap: '$spacing-08'
1881
- },
1882
- 6: {
1883
- rowGap: '$spacing-09'
1884
- },
1885
- 7: {
1886
- rowGap: '$spacing-10'
1887
- },
1888
- 8: {
1889
- rowGap: '$spacing-11'
1890
- },
1891
- 9: {
1892
- rowGap: '$spacing-12'
1893
- }
1894
- },
1895
- mobileOnly: {
1896
- true: {
1897
- '@lg': {
1898
- display: 'none !important'
1899
- }
1900
- }
1901
- },
1902
- desktopOnly: {
1903
- true: {
1904
- display: 'none !important',
1905
- '@lg': {
1906
- display: 'grid !important'
1907
- }
1908
- }
1909
- }
1910
- }
1911
- });
1912
- const Grid = _ref => {
1913
- let {
1914
- children
1915
- } = _ref,
1916
- props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
1917
- return /*#__PURE__*/React__default["default"].createElement(GridComponent, _extends({}, props, {
1918
- css: Object.assign({}, props.css, {
1919
- gridAutoColumns: props.autoColumns,
1920
- gridAutoRows: props.autoRows,
1921
- gridTemplateColumns: props.templateColumns,
1922
- gridTemplateRows: props.templateRows
1923
- }),
1924
- __self: undefined,
1925
- __source: {
1926
- fileName: _jsxFileName$10,
1927
- lineNumber: 200,
1928
- columnNumber: 5
1929
- }
1930
- }), children);
1931
- };
1932
- Grid.propTypes = {
1933
- align: PropTypes__default["default"].string,
1934
- justify: PropTypes__default["default"].string,
1935
- autoColumns: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1936
- autoRows: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1937
- autoFlow: PropTypes__default["default"].string,
1938
- templateColumns: PropTypes__default["default"].string,
1939
- templateRows: PropTypes__default["default"].string,
1940
- columns: PropTypes__default["default"].number,
1941
- rows: PropTypes__default["default"].number,
1942
- gap: PropTypes__default["default"].number,
1943
- gapX: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1944
- gapY: PropTypes__default["default"].number
1945
- };
1946
- Grid.displayName = 'Grid';
1947
- function spanFn(value) {
1948
- return value === 'auto' ? 'auto' : `span ${value}/span ${value}`;
1949
- }
1950
- const GridItemComponent = styled('div', {
1951
- variants: {
1952
- colSpan: Object.assign({
1953
- auto: spanFn('auto')
1954
- }, seqNumberVariants$1(value => ({
1955
- gridColumn: spanFn(value)
1956
- }), 10)),
1957
- rowSpan: Object.assign({
1958
- auto: spanFn('auto')
1959
- }, seqNumberVariants$1(value => ({
1960
- gridRow: spanFn(value)
1961
- }), 10))
1962
- }
1963
- });
1964
- const GridItem = _ref2 => {
1965
- let {
1966
- children
1967
- } = _ref2,
1968
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
1969
- return /*#__PURE__*/React__default["default"].createElement(GridItemComponent, _extends({}, props, {
1970
- css: Object.assign({}, props.css, {
1971
- gridArea: props.area,
1972
- gridColumnStart: props.colStart,
1973
- gridColumnEnd: props.colEnd,
1974
- gridRowStart: props.rowStart,
1975
- gridRowEnd: props.rowEnd
1976
- }),
1977
- __self: undefined,
1978
- __source: {
1979
- fileName: _jsxFileName$10,
1980
- lineNumber: 265,
1981
- columnNumber: 5
1982
- }
1983
- }), children);
1984
- };
1985
- GridItem.propTypes = {
1986
- gridArea: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1987
- colSpan: PropTypes__default["default"].number,
1988
- rowSpan: PropTypes__default["default"].number,
1989
- colStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1990
- colEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1991
- rowStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1992
- rowEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
1993
- };
1994
- GridItem.displayName = 'Grid Item';
1995
-
1996
- const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
1997
- var _jsxFileName$$ = "/Users/majoo/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1992
+ const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
1993
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1998
1994
  const StyledDiv$2 = styled(Flex$1, {
1999
1995
  justifyContent: 'center',
2000
1996
  marginLeft: 'auto',
@@ -2037,7 +2033,7 @@
2037
2033
  css,
2038
2034
  contentHeader
2039
2035
  } = _ref,
2040
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2036
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
2041
2037
  return /*#__PURE__*/React__default["default"].createElement(StyledDiv$2, _extends({
2042
2038
  id: "retina-container",
2043
2039
  css: Object.assign({
@@ -2046,7 +2042,7 @@
2046
2042
  }, props, {
2047
2043
  __self: undefined,
2048
2044
  __source: {
2049
- fileName: _jsxFileName$$,
2045
+ fileName: _jsxFileName$Z,
2050
2046
  lineNumber: 43,
2051
2047
  columnNumber: 5
2052
2048
  }
@@ -2460,8 +2456,8 @@
2460
2456
  }), void 0);
2461
2457
  });
2462
2458
 
2463
- const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2464
- var _jsxFileName$_ = "/Users/majoo/majoo-ui/packages/react/src/components/banner/Banner.js";
2459
+ const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2460
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
2465
2461
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
2466
2462
  const StyledBanner = styled(Flex$1, {
2467
2463
  maxWidth: '100%',
@@ -2563,7 +2559,7 @@
2563
2559
  }, props, {
2564
2560
  __self: undefined,
2565
2561
  __source: {
2566
- fileName: _jsxFileName$_,
2562
+ fileName: _jsxFileName$Y,
2567
2563
  lineNumber: 111,
2568
2564
  columnNumber: 3
2569
2565
  }
@@ -2584,7 +2580,7 @@
2584
2580
  }, props, {
2585
2581
  __self: undefined,
2586
2582
  __source: {
2587
- fileName: _jsxFileName$_,
2583
+ fileName: _jsxFileName$Y,
2588
2584
  lineNumber: 128,
2589
2585
  columnNumber: 3
2590
2586
  }
@@ -2620,7 +2616,7 @@
2620
2616
  return /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2621
2617
  __self: undefined,
2622
2618
  __source: {
2623
- fileName: _jsxFileName$_,
2619
+ fileName: _jsxFileName$Y,
2624
2620
  lineNumber: 159,
2625
2621
  columnNumber: 5
2626
2622
  }
@@ -2632,7 +2628,7 @@
2632
2628
  color: variant ? generateVariant(variant) : generateVariant(value.variant),
2633
2629
  __self: undefined,
2634
2630
  __source: {
2635
- fileName: _jsxFileName$_,
2631
+ fileName: _jsxFileName$Y,
2636
2632
  lineNumber: 161,
2637
2633
  columnNumber: 9
2638
2634
  }
@@ -2658,7 +2654,7 @@
2658
2654
  const BannerClose = () => /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2659
2655
  __self: undefined,
2660
2656
  __source: {
2661
- fileName: _jsxFileName$_,
2657
+ fileName: _jsxFileName$Y,
2662
2658
  lineNumber: 193,
2663
2659
  columnNumber: 3
2664
2660
  }
@@ -2670,7 +2666,7 @@
2670
2666
  },
2671
2667
  __self: undefined,
2672
2668
  __source: {
2673
- fileName: _jsxFileName$_,
2669
+ fileName: _jsxFileName$Y,
2674
2670
  lineNumber: 195,
2675
2671
  columnNumber: 7
2676
2672
  }
@@ -2679,7 +2675,7 @@
2679
2675
  size: "16px",
2680
2676
  __self: undefined,
2681
2677
  __source: {
2682
- fileName: _jsxFileName$_,
2678
+ fileName: _jsxFileName$Y,
2683
2679
  lineNumber: 202,
2684
2680
  columnNumber: 9
2685
2681
  }
@@ -2690,14 +2686,14 @@
2690
2686
  direction: "column",
2691
2687
  __self: undefined,
2692
2688
  __source: {
2693
- fileName: _jsxFileName$_,
2689
+ fileName: _jsxFileName$Y,
2694
2690
  lineNumber: 210,
2695
2691
  columnNumber: 5
2696
2692
  }
2697
2693
  }, /*#__PURE__*/React__namespace.createElement(Flex$1, {
2698
2694
  __self: undefined,
2699
2695
  __source: {
2700
- fileName: _jsxFileName$_,
2696
+ fileName: _jsxFileName$Y,
2701
2697
  lineNumber: 211,
2702
2698
  columnNumber: 7
2703
2699
  }
@@ -2706,7 +2702,7 @@
2706
2702
  direction: "row",
2707
2703
  __self: undefined,
2708
2704
  __source: {
2709
- fileName: _jsxFileName$_,
2705
+ fileName: _jsxFileName$Y,
2710
2706
  lineNumber: 212,
2711
2707
  columnNumber: 9
2712
2708
  }
@@ -2716,7 +2712,7 @@
2716
2712
  },
2717
2713
  __self: undefined,
2718
2714
  __source: {
2719
- fileName: _jsxFileName$_,
2715
+ fileName: _jsxFileName$Y,
2720
2716
  lineNumber: 213,
2721
2717
  columnNumber: 27
2722
2718
  }
@@ -2729,21 +2725,21 @@
2729
2725
  },
2730
2726
  __self: undefined,
2731
2727
  __source: {
2732
- fileName: _jsxFileName$_,
2728
+ fileName: _jsxFileName$Y,
2733
2729
  lineNumber: 214,
2734
2730
  columnNumber: 11
2735
2731
  }
2736
2732
  }, props.title && /*#__PURE__*/React__namespace.createElement(BannerTitle, {
2737
2733
  __self: undefined,
2738
2734
  __source: {
2739
- fileName: _jsxFileName$_,
2735
+ fileName: _jsxFileName$Y,
2740
2736
  lineNumber: 222,
2741
2737
  columnNumber: 29
2742
2738
  }
2743
2739
  }, props.title), props.description && /*#__PURE__*/React__namespace.createElement(BannerDescription, {
2744
2740
  __self: undefined,
2745
2741
  __source: {
2746
- fileName: _jsxFileName$_,
2742
+ fileName: _jsxFileName$Y,
2747
2743
  lineNumber: 223,
2748
2744
  columnNumber: 35
2749
2745
  }
@@ -2756,7 +2752,7 @@
2756
2752
  closeCenter: !props.title && !props.link,
2757
2753
  __self: undefined,
2758
2754
  __source: {
2759
- fileName: _jsxFileName$_,
2755
+ fileName: _jsxFileName$Y,
2760
2756
  lineNumber: 226,
2761
2757
  columnNumber: 9
2762
2758
  }
@@ -2765,7 +2761,7 @@
2765
2761
  size: "16px",
2766
2762
  __self: undefined,
2767
2763
  __source: {
2768
- fileName: _jsxFileName$_,
2764
+ fileName: _jsxFileName$Y,
2769
2765
  lineNumber: 234,
2770
2766
  columnNumber: 11
2771
2767
  }
@@ -2778,7 +2774,7 @@
2778
2774
  variant: props.variant,
2779
2775
  __self: undefined,
2780
2776
  __source: {
2781
- fileName: _jsxFileName$_,
2777
+ fileName: _jsxFileName$Y,
2782
2778
  lineNumber: 238,
2783
2779
  columnNumber: 9
2784
2780
  }
@@ -2797,7 +2793,7 @@
2797
2793
  bannerBlock,
2798
2794
  icon
2799
2795
  } = _ref,
2800
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2796
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
2801
2797
  return /*#__PURE__*/React__namespace.createElement(StyledBanner, _extends({
2802
2798
  variant: variant,
2803
2799
  hasAction: !!onClick,
@@ -2806,7 +2802,7 @@
2806
2802
  }, rest, {
2807
2803
  __self: undefined,
2808
2804
  __source: {
2809
- fileName: _jsxFileName$_,
2805
+ fileName: _jsxFileName$Y,
2810
2806
  lineNumber: 260,
2811
2807
  columnNumber: 5
2812
2808
  }
@@ -2823,7 +2819,7 @@
2823
2819
  },
2824
2820
  __self: undefined,
2825
2821
  __source: {
2826
- fileName: _jsxFileName$_,
2822
+ fileName: _jsxFileName$Y,
2827
2823
  lineNumber: 262,
2828
2824
  columnNumber: 9
2829
2825
  }
@@ -2834,7 +2830,7 @@
2834
2830
  },
2835
2831
  __self: undefined,
2836
2832
  __source: {
2837
- fileName: _jsxFileName$_,
2833
+ fileName: _jsxFileName$Y,
2838
2834
  lineNumber: 269,
2839
2835
  columnNumber: 11
2840
2836
  }
@@ -2849,7 +2845,7 @@
2849
2845
  onRemove: onRemove,
2850
2846
  __self: undefined,
2851
2847
  __source: {
2852
- fileName: _jsxFileName$_,
2848
+ fileName: _jsxFileName$Y,
2853
2849
  lineNumber: 272,
2854
2850
  columnNumber: 9
2855
2851
  }
@@ -3462,8 +3458,8 @@
3462
3458
  Card.Label = StyledLabel$2;
3463
3459
  Card.Description = StyledDescription$3;
3464
3460
 
3465
- const _excluded$y = ["children"];
3466
- var _jsxFileName$Z = "/Users/majoo/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3461
+ const _excluded$w = ["children"];
3462
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3467
3463
  const BreadcrumbStyle = styled('nav', {
3468
3464
  wordWrap: 'break-word',
3469
3465
  '& li+li:before': {
@@ -3508,7 +3504,7 @@
3508
3504
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
3509
3505
  __self: undefined,
3510
3506
  __source: {
3511
- fileName: _jsxFileName$Z,
3507
+ fileName: _jsxFileName$X,
3512
3508
  lineNumber: 42,
3513
3509
  columnNumber: 10
3514
3510
  }
@@ -3518,19 +3514,19 @@
3518
3514
  let {
3519
3515
  children
3520
3516
  } = _ref,
3521
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3517
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3522
3518
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbStyle, _extends({}, rest, {
3523
3519
  "aria-label": "breadcrumb",
3524
3520
  __self: undefined,
3525
3521
  __source: {
3526
- fileName: _jsxFileName$Z,
3522
+ fileName: _jsxFileName$X,
3527
3523
  lineNumber: 47,
3528
3524
  columnNumber: 5
3529
3525
  }
3530
3526
  }), /*#__PURE__*/React__default["default"].createElement(Ol, {
3531
3527
  __self: undefined,
3532
3528
  __source: {
3533
- fileName: _jsxFileName$Z,
3529
+ fileName: _jsxFileName$X,
3534
3530
  lineNumber: 48,
3535
3531
  columnNumber: 7
3536
3532
  }
@@ -3780,8 +3776,8 @@
3780
3776
  };
3781
3777
  Badge.displayName = 'Badge';
3782
3778
 
3783
- const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3784
- var _jsxFileName$Y = "/Users/majoo/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3779
+ const _excluded$v = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3780
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3785
3781
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
3786
3782
  width: '32px',
3787
3783
  height: '32px',
@@ -3825,7 +3821,7 @@
3825
3821
  onClick,
3826
3822
  css
3827
3823
  } = _ref,
3828
- props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3824
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3829
3825
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
3830
3826
  className: className,
3831
3827
  onClick: onClick,
@@ -3833,7 +3829,7 @@
3833
3829
  }, props, {
3834
3830
  __self: this,
3835
3831
  __source: {
3836
- fileName: _jsxFileName$Y,
3832
+ fileName: _jsxFileName$W,
3837
3833
  lineNumber: 46,
3838
3834
  columnNumber: 5
3839
3835
  }
@@ -3843,7 +3839,7 @@
3843
3839
  onLoadingStatusChange: onLoadingStatusChange,
3844
3840
  __self: this,
3845
3841
  __source: {
3846
- fileName: _jsxFileName$Y,
3842
+ fileName: _jsxFileName$W,
3847
3843
  lineNumber: 47,
3848
3844
  columnNumber: 21
3849
3845
  }
@@ -3851,21 +3847,21 @@
3851
3847
  delayMs: delayMs,
3852
3848
  __self: this,
3853
3849
  __source: {
3854
- fileName: _jsxFileName$Y,
3850
+ fileName: _jsxFileName$W,
3855
3851
  lineNumber: 48,
3856
3852
  columnNumber: 7
3857
3853
  }
3858
3854
  }, children !== undefined ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children) : /*#__PURE__*/React__default["default"].createElement(StyledIcon, {
3859
3855
  __self: this,
3860
3856
  __source: {
3861
- fileName: _jsxFileName$Y,
3857
+ fileName: _jsxFileName$W,
3862
3858
  lineNumber: 52,
3863
3859
  columnNumber: 11
3864
3860
  }
3865
3861
  }, /*#__PURE__*/React__default["default"].createElement(icons.UserFilled, {
3866
3862
  __self: this,
3867
3863
  __source: {
3868
- fileName: _jsxFileName$Y,
3864
+ fileName: _jsxFileName$W,
3869
3865
  lineNumber: 53,
3870
3866
  columnNumber: 13
3871
3867
  }
@@ -3882,8 +3878,8 @@
3882
3878
  delayMs: 0
3883
3879
  };
3884
3880
 
3885
- const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3886
- var _jsxFileName$X = "/Users/majoo/majoo-ui/packages/react/src/components/image/Image.js";
3881
+ const _excluded$u = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3882
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3887
3883
  const ContainerFallback = styled(Flex$1, {
3888
3884
  boxSizing: 'border-box',
3889
3885
  border: '2px dashed #C0C4C4',
@@ -3932,7 +3928,7 @@
3932
3928
  cssFallback,
3933
3929
  rounded
3934
3930
  } = _ref,
3935
- props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3931
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3936
3932
  const {
3937
3933
  t
3938
3934
  } = reactI18next.useTranslation('translation');
@@ -3951,7 +3947,7 @@
3951
3947
  }, props, {
3952
3948
  __self: this,
3953
3949
  __source: {
3954
- fileName: _jsxFileName$X,
3950
+ fileName: _jsxFileName$V,
3955
3951
  lineNumber: 61,
3956
3952
  columnNumber: 7
3957
3953
  }
@@ -3967,14 +3963,14 @@
3967
3963
  }, cssFallback),
3968
3964
  __self: this,
3969
3965
  __source: {
3970
- fileName: _jsxFileName$X,
3966
+ fileName: _jsxFileName$V,
3971
3967
  lineNumber: 75,
3972
3968
  columnNumber: 7
3973
3969
  }
3974
3970
  }, /*#__PURE__*/React__default["default"].createElement(TextFallback, {
3975
3971
  __self: this,
3976
3972
  __source: {
3977
- fileName: _jsxFileName$X,
3973
+ fileName: _jsxFileName$V,
3978
3974
  lineNumber: 76,
3979
3975
  columnNumber: 9
3980
3976
  }
@@ -4032,6 +4028,338 @@
4032
4028
  fallbackTitle: 'Tidak ada foto'
4033
4029
  };
4034
4030
 
4031
+ var zIndices$2 = core.foundations.zIndices;
4032
+ var slideUpAndFade$2 = keyframes({
4033
+ '0%': {
4034
+ opacity: 0,
4035
+ transform: 'translateY(2px)'
4036
+ },
4037
+ '100%': {
4038
+ opacity: 1,
4039
+ transform: 'translateY(0)'
4040
+ }
4041
+ });
4042
+ var slideRightAndFade$2 = keyframes({
4043
+ '0%': {
4044
+ opacity: 0,
4045
+ transform: 'translateX(-2px)'
4046
+ },
4047
+ '100%': {
4048
+ opacity: 1,
4049
+ transform: 'translateX(0)'
4050
+ }
4051
+ });
4052
+ var slideDownAndFade$2 = keyframes({
4053
+ '0%': {
4054
+ opacity: 0,
4055
+ transform: 'translateY(-2px)'
4056
+ },
4057
+ '100%': {
4058
+ opacity: 1,
4059
+ transform: 'translateY(0)'
4060
+ }
4061
+ });
4062
+ var slideLeftAndFade$2 = keyframes({
4063
+ '0%': {
4064
+ opacity: 0,
4065
+ transform: 'translateX(2px)'
4066
+ },
4067
+ '100%': {
4068
+ opacity: 1,
4069
+ transform: 'translateX(0)'
4070
+ }
4071
+ });
4072
+ var StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4073
+ zIndex: zIndices$2.tooltip,
4074
+ borderRadius: 8,
4075
+ padding: '8px',
4076
+ fontSize: '$helper',
4077
+ letterSpacing: '$helper',
4078
+ lineHeight: '$helper',
4079
+ fontWeight: '400',
4080
+ backgroundColor: '$white',
4081
+ boxShadow: '$large',
4082
+ '@media (prefers-reduced-motion: no-preference)': {
4083
+ animationDuration: '400ms',
4084
+ animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4085
+ animationFillMode: 'forwards',
4086
+ willChange: 'transform, opacity',
4087
+ '&[data-state="delayed-open"]': {
4088
+ '&[data-side="top"]': {
4089
+ animationName: slideDownAndFade$2
4090
+ },
4091
+ '&[data-side="right"]': {
4092
+ animationName: slideLeftAndFade$2
4093
+ },
4094
+ '&[data-side="bottom"]': {
4095
+ animationName: slideUpAndFade$2
4096
+ },
4097
+ '&[data-side="left"]': {
4098
+ animationName: slideRightAndFade$2
4099
+ }
4100
+ }
4101
+ },
4102
+ maxWidth: '100vw'
4103
+ });
4104
+ var TriggerSpan = styled('span', {
4105
+ display: 'flex'
4106
+ });
4107
+ var StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4108
+ boxShadow: '$large'
4109
+ });
4110
+ var TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4111
+ defaultVariants: {
4112
+ color: 'ligth'
4113
+ }
4114
+ });
4115
+ // Exports
4116
+ var Provider = TooltipPrimitive__namespace.Provider;
4117
+ var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4118
+ var TooltipContent = StyledContent$6;
4119
+ var dark = {
4120
+ color: core.foundations.colors.white,
4121
+ backgroundColor: core.foundations.colors.gray800
4122
+ };
4123
+ var ligth = {
4124
+ color: core.foundations.colors.textPrimary,
4125
+ backgroundColor: core.foundations.colors.bgWhite
4126
+ };
4127
+ var darkArrow = {
4128
+ fill: core.foundations.colors.gray800
4129
+ };
4130
+ var lightArrow = {
4131
+ fill: core.foundations.colors.bgWhite
4132
+ };
4133
+ var Tooltip$1 = function Tooltip(_a) {
4134
+ var children = _a.children,
4135
+ label = _a.label,
4136
+ color = _a.color,
4137
+ css = _a.css,
4138
+ withClick = _a.withClick,
4139
+ side = _a.side,
4140
+ align = _a.align,
4141
+ delayDuration = _a.delayDuration,
4142
+ rest = __rest(_a, ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"]);
4143
+ var _b = React.useState(false),
4144
+ open = _b[0],
4145
+ setOpen = _b[1];
4146
+ return jsxRuntime.jsx(Provider, {
4147
+ children: jsxRuntime.jsxs(TooltipBase, __assign({}, rest, {
4148
+ open: withClick ? open : undefined,
4149
+ delayDuration: delayDuration
4150
+ }, {
4151
+ children: [jsxRuntime.jsx(TooltipTrigger, __assign({
4152
+ asChild: true
4153
+ }, {
4154
+ children: jsxRuntime.jsx(TriggerSpan, __assign({
4155
+ onClick: function () {
4156
+ return withClick && !open && setOpen(true);
4157
+ }
4158
+ }, {
4159
+ children: children
4160
+ }), void 0)
4161
+ }), void 0), jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, {
4162
+ children: jsxRuntime.jsxs(StyledContent$6, __assign({
4163
+ align: align,
4164
+ side: side,
4165
+ sideOffset: 5,
4166
+ css: color === 'dark' ? __assign(__assign({}, dark), css) : __assign(__assign({}, ligth), css),
4167
+ onPointerDownOutside: function () {
4168
+ return setTimeout(function () {
4169
+ setOpen(false);
4170
+ }, 100);
4171
+ }
4172
+ }, {
4173
+ children: [label, jsxRuntime.jsx(StyledArrow$1, {
4174
+ offset: 10,
4175
+ css: color === 'dark' ? darkArrow : lightArrow
4176
+ }, void 0)]
4177
+ }), void 0)
4178
+ }, void 0)]
4179
+ }), void 0)
4180
+ }, void 0);
4181
+ };
4182
+ Tooltip$1.defaultProps = {
4183
+ color: 'dark',
4184
+ side: 'bottom',
4185
+ align: 'center',
4186
+ label: '',
4187
+ children: jsxRuntime.jsx("div", {}, void 0),
4188
+ delayDuration: 200
4189
+ };
4190
+
4191
+ const _excluded$t = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4192
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4193
+ const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4194
+ position: 'relative',
4195
+ overflow: 'hidden',
4196
+ background: '$chartLightGreen',
4197
+ width: 'auto',
4198
+ height: '12px',
4199
+ variants: {
4200
+ rounded: {
4201
+ true: {
4202
+ borderRadius: '100px'
4203
+ }
4204
+ },
4205
+ color: {
4206
+ green: {
4207
+ backgroundColor: '$chartLightGreen'
4208
+ },
4209
+ orange: {
4210
+ backgroundColor: '$chartLightOrange'
4211
+ },
4212
+ blue: {
4213
+ backgroundColor: '$chartLightBlue'
4214
+ },
4215
+ purple: {
4216
+ backgroundColor: '$chartLightPurple'
4217
+ },
4218
+ yellow: {
4219
+ backgroundColor: '$chartLightYellow'
4220
+ },
4221
+ red: {
4222
+ backgroundColor: '$chartLightRed'
4223
+ },
4224
+ dark: {
4225
+ backgroundColor: '$chartLightGray'
4226
+ }
4227
+ },
4228
+ size: {
4229
+ xs: {
4230
+ height: '4px'
4231
+ },
4232
+ sm: {
4233
+ height: '8px'
4234
+ },
4235
+ m: {
4236
+ height: '12px'
4237
+ },
4238
+ l: {
4239
+ height: '16px'
4240
+ },
4241
+ xl: {
4242
+ height: '20px'
4243
+ }
4244
+ }
4245
+ }
4246
+ });
4247
+ const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4248
+ backgroundColor: '$chartGreen',
4249
+ height: '60%',
4250
+ transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4251
+ variants: {
4252
+ rounded: {
4253
+ true: {
4254
+ borderRadius: '100px'
4255
+ }
4256
+ },
4257
+ color: {
4258
+ green: {
4259
+ backgroundColor: '$chartGreen'
4260
+ },
4261
+ orange: {
4262
+ backgroundColor: '$chartOrange'
4263
+ },
4264
+ blue: {
4265
+ backgroundColor: '$chartBlue'
4266
+ },
4267
+ purple: {
4268
+ backgroundColor: '$chartPurple'
4269
+ },
4270
+ yellow: {
4271
+ backgroundColor: '$chartYellow'
4272
+ },
4273
+ red: {
4274
+ backgroundColor: '$chartRed'
4275
+ },
4276
+ dark: {
4277
+ backgroundColor: '$chartDark'
4278
+ }
4279
+ },
4280
+ size: {
4281
+ xs: {
4282
+ height: '100%'
4283
+ },
4284
+ sm: {
4285
+ height: '100%'
4286
+ },
4287
+ m: {
4288
+ margin: "2px 2px 0"
4289
+ },
4290
+ l: {
4291
+ margin: "3px 3px 0"
4292
+ },
4293
+ xl: {
4294
+ margin: "4px 4px 0"
4295
+ }
4296
+ }
4297
+ }
4298
+ });
4299
+ function Progress$1(_ref) {
4300
+ let {
4301
+ className,
4302
+ value,
4303
+ max,
4304
+ getValueLabel,
4305
+ color,
4306
+ size,
4307
+ rounded,
4308
+ width
4309
+ } = _ref,
4310
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4311
+ return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4312
+ className: className,
4313
+ value: value,
4314
+ max: max,
4315
+ getValueLabel: getValueLabel,
4316
+ color: color,
4317
+ size: size,
4318
+ rounded: rounded,
4319
+ css: Object.assign({
4320
+ width: width
4321
+ }, props.css)
4322
+ }, props, {
4323
+ __self: this,
4324
+ __source: {
4325
+ fileName: _jsxFileName$U,
4326
+ lineNumber: 88,
4327
+ columnNumber: 5
4328
+ }
4329
+ }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4330
+ color: color,
4331
+ size: size,
4332
+ rounded: rounded,
4333
+ css: {
4334
+ width: `${value}%`
4335
+ },
4336
+ __self: this,
4337
+ __source: {
4338
+ fileName: _jsxFileName$U,
4339
+ lineNumber: 89,
4340
+ columnNumber: 7
4341
+ }
4342
+ }));
4343
+ }
4344
+ Progress$1.propTypes = {
4345
+ className: PropTypes__default["default"].string,
4346
+ value: PropTypes__default["default"].number,
4347
+ max: PropTypes__default["default"].number,
4348
+ getValueLabel: PropTypes__default["default"].func,
4349
+ color: PropTypes__default["default"].string,
4350
+ size: PropTypes__default["default"].string,
4351
+ rounded: PropTypes__default["default"].bool,
4352
+ width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4353
+ };
4354
+ Progress$1.defaultProps = {
4355
+ max: 100,
4356
+ color: 'green',
4357
+ size: 'm',
4358
+ rounded: true
4359
+ };
4360
+
4361
+ const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4362
+
4035
4363
  var objectDefineProperties = {};
4036
4364
 
4037
4365
  var DESCRIPTORS$6 = descriptors;
@@ -4568,384 +4896,6 @@
4568
4896
 
4569
4897
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4570
4898
 
4571
- const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4572
- var _jsxFileName$W = "/Users/majoo/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4573
- const {
4574
- zIndices: zIndices$2
4575
- } = core.foundations;
4576
- const slideUpAndFade$2 = keyframes({
4577
- '0%': {
4578
- opacity: 0,
4579
- transform: 'translateY(2px)'
4580
- },
4581
- '100%': {
4582
- opacity: 1,
4583
- transform: 'translateY(0)'
4584
- }
4585
- });
4586
- const slideRightAndFade$2 = keyframes({
4587
- '0%': {
4588
- opacity: 0,
4589
- transform: 'translateX(-2px)'
4590
- },
4591
- '100%': {
4592
- opacity: 1,
4593
- transform: 'translateX(0)'
4594
- }
4595
- });
4596
- const slideDownAndFade$2 = keyframes({
4597
- '0%': {
4598
- opacity: 0,
4599
- transform: 'translateY(-2px)'
4600
- },
4601
- '100%': {
4602
- opacity: 1,
4603
- transform: 'translateY(0)'
4604
- }
4605
- });
4606
- const slideLeftAndFade$2 = keyframes({
4607
- '0%': {
4608
- opacity: 0,
4609
- transform: 'translateX(2px)'
4610
- },
4611
- '100%': {
4612
- opacity: 1,
4613
- transform: 'translateX(0)'
4614
- }
4615
- });
4616
- const StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4617
- zIndex: zIndices$2.tooltip,
4618
- borderRadius: 8,
4619
- padding: '8px',
4620
- fontSize: '$helper',
4621
- letterSpacing: '$helper',
4622
- lineHeight: '$helper',
4623
- fontWeight: '400',
4624
- backgroundColor: '$white',
4625
- boxShadow: '$large',
4626
- '@media (prefers-reduced-motion: no-preference)': {
4627
- animationDuration: '400ms',
4628
- animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4629
- animationFillMode: 'forwards',
4630
- willChange: 'transform, opacity',
4631
- '&[data-state="delayed-open"]': {
4632
- '&[data-side="top"]': {
4633
- animationName: slideDownAndFade$2
4634
- },
4635
- '&[data-side="right"]': {
4636
- animationName: slideLeftAndFade$2
4637
- },
4638
- '&[data-side="bottom"]': {
4639
- animationName: slideUpAndFade$2
4640
- },
4641
- '&[data-side="left"]': {
4642
- animationName: slideRightAndFade$2
4643
- }
4644
- }
4645
- },
4646
- maxWidth: '100vw'
4647
- });
4648
- const TriggerSpan = styled('span', {
4649
- display: 'flex'
4650
- });
4651
- const StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4652
- boxShadow: '$large'
4653
- });
4654
- const TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4655
- defaultVariants: {
4656
- color: 'ligth'
4657
- }
4658
- });
4659
-
4660
- // Exports
4661
- const Provider = TooltipPrimitive__namespace.Provider;
4662
- const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4663
- const dark = {
4664
- color: core.foundations.colors.white,
4665
- backgroundColor: core.foundations.colors.gray800
4666
- };
4667
- const ligth = {
4668
- color: core.foundations.colors.textPrimary,
4669
- backgroundColor: core.foundations.colors.bgWhite
4670
- };
4671
- const darkArrow = {
4672
- fill: core.foundations.colors.gray800
4673
- };
4674
- const lightArrow = {
4675
- fill: core.foundations.colors.bgWhite
4676
- };
4677
- const Tooltip$1 = _ref => {
4678
- let {
4679
- children,
4680
- label,
4681
- color,
4682
- css,
4683
- withClick,
4684
- side,
4685
- align,
4686
- delayDuration
4687
- } = _ref,
4688
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4689
- const [open, setOpen] = React.useState(false);
4690
- return /*#__PURE__*/React__default["default"].createElement(Provider, {
4691
- __self: undefined,
4692
- __source: {
4693
- fileName: _jsxFileName$W,
4694
- lineNumber: 92,
4695
- columnNumber: 5
4696
- }
4697
- }, /*#__PURE__*/React__default["default"].createElement(TooltipBase, _extends({}, rest, {
4698
- open: withClick ? open : undefined,
4699
- delayDuration: delayDuration,
4700
- __self: undefined,
4701
- __source: {
4702
- fileName: _jsxFileName$W,
4703
- lineNumber: 93,
4704
- columnNumber: 7
4705
- }
4706
- }), /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
4707
- asChild: true,
4708
- __self: undefined,
4709
- __source: {
4710
- fileName: _jsxFileName$W,
4711
- lineNumber: 94,
4712
- columnNumber: 9
4713
- }
4714
- }, /*#__PURE__*/React__default["default"].createElement(TriggerSpan, {
4715
- onClick: () => withClick && !open && setOpen(true),
4716
- __self: undefined,
4717
- __source: {
4718
- fileName: _jsxFileName$W,
4719
- lineNumber: 95,
4720
- columnNumber: 11
4721
- }
4722
- }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
4723
- __self: undefined,
4724
- __source: {
4725
- fileName: _jsxFileName$W,
4726
- lineNumber: 97,
4727
- columnNumber: 9
4728
- }
4729
- }, /*#__PURE__*/React__default["default"].createElement(StyledContent$6, {
4730
- align: align,
4731
- side: side,
4732
- sideOffset: 5,
4733
- css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4734
- onPointerDownOutside: () => setTimeout(() => {
4735
- setOpen(false);
4736
- }, 100),
4737
- __self: undefined,
4738
- __source: {
4739
- fileName: _jsxFileName$W,
4740
- lineNumber: 98,
4741
- columnNumber: 11
4742
- }
4743
- }, label, /*#__PURE__*/React__default["default"].createElement(StyledArrow$1, {
4744
- offset: 10,
4745
- css: color === 'dark' ? darkArrow : lightArrow,
4746
- __self: undefined,
4747
- __source: {
4748
- fileName: _jsxFileName$W,
4749
- lineNumber: 110,
4750
- columnNumber: 13
4751
- }
4752
- })))));
4753
- };
4754
- Tooltip$1.propTypes = {
4755
- children: PropTypes__default["default"].node,
4756
- label: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
4757
- color: PropTypes__default["default"].string,
4758
- side: PropTypes__default["default"].oneOf(['top', 'bottom', 'right', 'left']),
4759
- align: PropTypes__default["default"].oneOf(['start', 'center', 'end'])
4760
- };
4761
- Tooltip$1.defaultProps = {
4762
- color: 'dark',
4763
- side: 'bottom',
4764
- align: 'center',
4765
- label: '',
4766
- children: /*#__PURE__*/React__default["default"].createElement("div", {
4767
- __self: undefined,
4768
- __source: {
4769
- fileName: _jsxFileName$W,
4770
- lineNumber: 131,
4771
- columnNumber: 13
4772
- }
4773
- }),
4774
- delayDuration: 200
4775
- };
4776
-
4777
- const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4778
- var _jsxFileName$V = "/Users/majoo/majoo-ui/packages/react/src/components/progress/Progress.js";
4779
- const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4780
- position: 'relative',
4781
- overflow: 'hidden',
4782
- background: '$chartLightGreen',
4783
- width: 'auto',
4784
- height: '12px',
4785
- variants: {
4786
- rounded: {
4787
- true: {
4788
- borderRadius: '100px'
4789
- }
4790
- },
4791
- color: {
4792
- green: {
4793
- backgroundColor: '$chartLightGreen'
4794
- },
4795
- orange: {
4796
- backgroundColor: '$chartLightOrange'
4797
- },
4798
- blue: {
4799
- backgroundColor: '$chartLightBlue'
4800
- },
4801
- purple: {
4802
- backgroundColor: '$chartLightPurple'
4803
- },
4804
- yellow: {
4805
- backgroundColor: '$chartLightYellow'
4806
- },
4807
- red: {
4808
- backgroundColor: '$chartLightRed'
4809
- },
4810
- dark: {
4811
- backgroundColor: '$chartLightGray'
4812
- }
4813
- },
4814
- size: {
4815
- xs: {
4816
- height: '4px'
4817
- },
4818
- sm: {
4819
- height: '8px'
4820
- },
4821
- m: {
4822
- height: '12px'
4823
- },
4824
- l: {
4825
- height: '16px'
4826
- },
4827
- xl: {
4828
- height: '20px'
4829
- }
4830
- }
4831
- }
4832
- });
4833
- const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4834
- backgroundColor: '$chartGreen',
4835
- height: '60%',
4836
- transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4837
- variants: {
4838
- rounded: {
4839
- true: {
4840
- borderRadius: '100px'
4841
- }
4842
- },
4843
- color: {
4844
- green: {
4845
- backgroundColor: '$chartGreen'
4846
- },
4847
- orange: {
4848
- backgroundColor: '$chartOrange'
4849
- },
4850
- blue: {
4851
- backgroundColor: '$chartBlue'
4852
- },
4853
- purple: {
4854
- backgroundColor: '$chartPurple'
4855
- },
4856
- yellow: {
4857
- backgroundColor: '$chartYellow'
4858
- },
4859
- red: {
4860
- backgroundColor: '$chartRed'
4861
- },
4862
- dark: {
4863
- backgroundColor: '$chartDark'
4864
- }
4865
- },
4866
- size: {
4867
- xs: {
4868
- height: '100%'
4869
- },
4870
- sm: {
4871
- height: '100%'
4872
- },
4873
- m: {
4874
- margin: "2px 2px 0"
4875
- },
4876
- l: {
4877
- margin: "3px 3px 0"
4878
- },
4879
- xl: {
4880
- margin: "4px 4px 0"
4881
- }
4882
- }
4883
- }
4884
- });
4885
- function Progress$1(_ref) {
4886
- let {
4887
- className,
4888
- value,
4889
- max,
4890
- getValueLabel,
4891
- color,
4892
- size,
4893
- rounded,
4894
- width
4895
- } = _ref,
4896
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4897
- return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4898
- className: className,
4899
- value: value,
4900
- max: max,
4901
- getValueLabel: getValueLabel,
4902
- color: color,
4903
- size: size,
4904
- rounded: rounded,
4905
- css: Object.assign({
4906
- width: width
4907
- }, props.css)
4908
- }, props, {
4909
- __self: this,
4910
- __source: {
4911
- fileName: _jsxFileName$V,
4912
- lineNumber: 88,
4913
- columnNumber: 5
4914
- }
4915
- }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4916
- color: color,
4917
- size: size,
4918
- rounded: rounded,
4919
- css: {
4920
- width: `${value}%`
4921
- },
4922
- __self: this,
4923
- __source: {
4924
- fileName: _jsxFileName$V,
4925
- lineNumber: 89,
4926
- columnNumber: 7
4927
- }
4928
- }));
4929
- }
4930
- Progress$1.propTypes = {
4931
- className: PropTypes__default["default"].string,
4932
- value: PropTypes__default["default"].number,
4933
- max: PropTypes__default["default"].number,
4934
- getValueLabel: PropTypes__default["default"].func,
4935
- color: PropTypes__default["default"].string,
4936
- size: PropTypes__default["default"].string,
4937
- rounded: PropTypes__default["default"].bool,
4938
- width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4939
- };
4940
- Progress$1.defaultProps = {
4941
- max: 100,
4942
- color: 'green',
4943
- size: 'm',
4944
- rounded: true
4945
- };
4946
-
4947
- const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4948
-
4949
4899
  var anObject$d = anObject$j;
4950
4900
 
4951
4901
  // `RegExp.prototype.flags` getter implementation
@@ -5586,8 +5536,8 @@
5586
5536
  return matches;
5587
5537
  }
5588
5538
 
5589
- const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5590
- var _jsxFileName$U = "/Users/majoo/majoo-ui/packages/react/src/components/toast/Toast.js";
5539
+ const _excluded$s = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5540
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5591
5541
  const TOAST_WIDTH = 576;
5592
5542
  const ANIMATION_DURATION = 400;
5593
5543
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5755,7 +5705,7 @@
5755
5705
  captionOfAction,
5756
5706
  hrefOfAction
5757
5707
  } = _ref,
5758
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
5708
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5759
5709
  const [isOpen, setIsOpen] = React__namespace.useState(false);
5760
5710
  const isMobile = useMediaQuery(`(max-width: 767px`);
5761
5711
  const close = React__namespace.useCallback(() => {
@@ -5784,7 +5734,7 @@
5784
5734
  onExited: onRemove,
5785
5735
  __self: undefined,
5786
5736
  __source: {
5787
- fileName: _jsxFileName$U,
5737
+ fileName: _jsxFileName$T,
5788
5738
  lineNumber: 216,
5789
5739
  columnNumber: 5
5790
5740
  }
@@ -5799,7 +5749,7 @@
5799
5749
  }, rest, {
5800
5750
  __self: undefined,
5801
5751
  __source: {
5802
- fileName: _jsxFileName$U,
5752
+ fileName: _jsxFileName$T,
5803
5753
  lineNumber: 227,
5804
5754
  columnNumber: 9
5805
5755
  }
@@ -5809,7 +5759,7 @@
5809
5759
  onClick: onClick,
5810
5760
  __self: undefined,
5811
5761
  __source: {
5812
- fileName: _jsxFileName$U,
5762
+ fileName: _jsxFileName$T,
5813
5763
  lineNumber: 235,
5814
5764
  columnNumber: 11
5815
5765
  }
@@ -5817,7 +5767,7 @@
5817
5767
  direction: "column",
5818
5768
  __self: undefined,
5819
5769
  __source: {
5820
- fileName: _jsxFileName$U,
5770
+ fileName: _jsxFileName$T,
5821
5771
  lineNumber: 236,
5822
5772
  columnNumber: 13
5823
5773
  }
@@ -5825,7 +5775,7 @@
5825
5775
  direction: "row",
5826
5776
  __self: undefined,
5827
5777
  __source: {
5828
- fileName: _jsxFileName$U,
5778
+ fileName: _jsxFileName$T,
5829
5779
  lineNumber: 237,
5830
5780
  columnNumber: 15
5831
5781
  }
@@ -5833,7 +5783,7 @@
5833
5783
  variant: variant,
5834
5784
  __self: undefined,
5835
5785
  __source: {
5836
- fileName: _jsxFileName$U,
5786
+ fileName: _jsxFileName$T,
5837
5787
  lineNumber: 238,
5838
5788
  columnNumber: 17
5839
5789
  }
@@ -5845,7 +5795,7 @@
5845
5795
  },
5846
5796
  __self: undefined,
5847
5797
  __source: {
5848
- fileName: _jsxFileName$U,
5798
+ fileName: _jsxFileName$T,
5849
5799
  lineNumber: 239,
5850
5800
  columnNumber: 17
5851
5801
  }
@@ -5853,7 +5803,7 @@
5853
5803
  justify: "between",
5854
5804
  __self: undefined,
5855
5805
  __source: {
5856
- fileName: _jsxFileName$U,
5806
+ fileName: _jsxFileName$T,
5857
5807
  lineNumber: 247,
5858
5808
  columnNumber: 21
5859
5809
  }
@@ -5868,7 +5818,7 @@
5868
5818
  },
5869
5819
  __self: undefined,
5870
5820
  __source: {
5871
- fileName: _jsxFileName$U,
5821
+ fileName: _jsxFileName$T,
5872
5822
  lineNumber: 248,
5873
5823
  columnNumber: 23
5874
5824
  }
@@ -5877,7 +5827,7 @@
5877
5827
  color: "secondary",
5878
5828
  __self: undefined,
5879
5829
  __source: {
5880
- fileName: _jsxFileName$U,
5830
+ fileName: _jsxFileName$T,
5881
5831
  lineNumber: 262,
5882
5832
  columnNumber: 19
5883
5833
  }
@@ -5892,7 +5842,7 @@
5892
5842
  hasTitle: !!title,
5893
5843
  __self: undefined,
5894
5844
  __source: {
5895
- fileName: _jsxFileName$U,
5845
+ fileName: _jsxFileName$T,
5896
5846
  lineNumber: 266,
5897
5847
  columnNumber: 17
5898
5848
  }
@@ -5901,7 +5851,7 @@
5901
5851
  size: "16px",
5902
5852
  __self: undefined,
5903
5853
  __source: {
5904
- fileName: _jsxFileName$U,
5854
+ fileName: _jsxFileName$T,
5905
5855
  lineNumber: 276,
5906
5856
  columnNumber: 19
5907
5857
  }
@@ -5916,7 +5866,7 @@
5916
5866
  },
5917
5867
  __self: undefined,
5918
5868
  __source: {
5919
- fileName: _jsxFileName$U,
5869
+ fileName: _jsxFileName$T,
5920
5870
  lineNumber: 280,
5921
5871
  columnNumber: 17
5922
5872
  }
@@ -5938,8 +5888,8 @@
5938
5888
  dismissAfter: 5000
5939
5889
  };
5940
5890
 
5941
- const _excluded$s = ["preventDuplicate"];
5942
- var _jsxFileName$T = "/Users/majoo/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5891
+ const _excluded$r = ["preventDuplicate"];
5892
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5943
5893
  const ToastBox = styled(Flex$1, {
5944
5894
  position: 'fixed',
5945
5895
  variants: {
@@ -5986,7 +5936,7 @@
5986
5936
  },
5987
5937
  __self: undefined,
5988
5938
  __source: {
5989
- fileName: _jsxFileName$T,
5939
+ fileName: _jsxFileName$S,
5990
5940
  lineNumber: 43,
5991
5941
  columnNumber: 5
5992
5942
  }
@@ -5994,7 +5944,7 @@
5994
5944
  position: position,
5995
5945
  __self: undefined,
5996
5946
  __source: {
5997
- fileName: _jsxFileName$T,
5947
+ fileName: _jsxFileName$S,
5998
5948
  lineNumber: 44,
5999
5949
  columnNumber: 7
6000
5950
  }
@@ -6002,14 +5952,14 @@
6002
5952
  const {
6003
5953
  preventDuplicate
6004
5954
  } = item,
6005
- toast = _objectWithoutPropertiesLoose(item, _excluded$s);
5955
+ toast = _objectWithoutPropertiesLoose(item, _excluded$r);
6006
5956
  return /*#__PURE__*/React__namespace.createElement(Toast, _extends({
6007
5957
  key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
6008
5958
  onRemove: () => removeToast(toast.id)
6009
5959
  }, toast, {
6010
5960
  __self: undefined,
6011
5961
  __source: {
6012
- fileName: _jsxFileName$T,
5962
+ fileName: _jsxFileName$S,
6013
5963
  lineNumber: 47,
6014
5964
  columnNumber: 18
6015
5965
  }
@@ -7235,13 +7185,16 @@
7235
7185
  return message;
7236
7186
  };
7237
7187
 
7238
- const _excluded$r = ["id", "disabledOfflineIntercept"];
7239
- var _jsxFileName$S = "/Users/majoo/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7188
+ const _excluded$q = ["id", "disabledOfflineIntercept"];
7189
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7240
7190
  let toastCount = 0;
7241
7191
  const ToastProvider = ({
7242
7192
  children,
7243
7193
  translations
7244
7194
  }) => {
7195
+ console.warn({
7196
+ translations
7197
+ });
7245
7198
  const isOnline = useNavigatorOnLine();
7246
7199
  const [toasts, setToasts] = React.useState([]);
7247
7200
  const {
@@ -7258,6 +7211,11 @@
7258
7211
  errorMsg = errorMsg.replace(`$${key}`, values[key]);
7259
7212
  });
7260
7213
  }
7214
+ console.warn({
7215
+ translations,
7216
+ e,
7217
+ errorMsg
7218
+ });
7261
7219
  return errorMsg;
7262
7220
  }, [translations, i18n.language]);
7263
7221
  const createToastInstance = React.useCallback(toast => {
@@ -7265,7 +7223,7 @@
7265
7223
  id,
7266
7224
  disabledOfflineIntercept
7267
7225
  } = toast,
7268
- rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
7226
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$q);
7269
7227
 
7270
7228
  // eslint-disable-next-line no-plusplus
7271
7229
  const uniqueId = ++toastCount;
@@ -7278,6 +7236,11 @@
7278
7236
  onClickOfAction: false,
7279
7237
  isExternalOfAction: false
7280
7238
  };
7239
+ console.warn({
7240
+ toast,
7241
+ isValidElement: /*#__PURE__*/React__namespace.isValidElement(toast.description),
7242
+ translations
7243
+ });
7281
7244
  return Object.assign({
7282
7245
  id: toastId,
7283
7246
  position: TOP_RIGHT_POSITION
@@ -7305,8 +7268,8 @@
7305
7268
  },
7306
7269
  __self: undefined,
7307
7270
  __source: {
7308
- fileName: _jsxFileName$S,
7309
- lineNumber: 81,
7271
+ fileName: _jsxFileName$R,
7272
+ lineNumber: 85,
7310
7273
  columnNumber: 5
7311
7274
  }
7312
7275
  }, children, /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7314,8 +7277,8 @@
7314
7277
  position: TOP_RIGHT_POSITION,
7315
7278
  __self: undefined,
7316
7279
  __source: {
7317
- fileName: _jsxFileName$S,
7318
- lineNumber: 83,
7280
+ fileName: _jsxFileName$R,
7281
+ lineNumber: 87,
7319
7282
  columnNumber: 7
7320
7283
  }
7321
7284
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7323,8 +7286,8 @@
7323
7286
  position: TOP_LEFT_POSITION,
7324
7287
  __self: undefined,
7325
7288
  __source: {
7326
- fileName: _jsxFileName$S,
7327
- lineNumber: 87,
7289
+ fileName: _jsxFileName$R,
7290
+ lineNumber: 91,
7328
7291
  columnNumber: 7
7329
7292
  }
7330
7293
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7332,8 +7295,8 @@
7332
7295
  position: BOTTOM_RIGHT_POSITION,
7333
7296
  __self: undefined,
7334
7297
  __source: {
7335
- fileName: _jsxFileName$S,
7336
- lineNumber: 91,
7298
+ fileName: _jsxFileName$R,
7299
+ lineNumber: 95,
7337
7300
  columnNumber: 7
7338
7301
  }
7339
7302
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7341,8 +7304,8 @@
7341
7304
  position: BOTTOM_LEFT_POSITION,
7342
7305
  __self: undefined,
7343
7306
  __source: {
7344
- fileName: _jsxFileName$S,
7345
- lineNumber: 95,
7307
+ fileName: _jsxFileName$R,
7308
+ lineNumber: 99,
7346
7309
  columnNumber: 7
7347
7310
  }
7348
7311
  }));
@@ -7354,8 +7317,8 @@
7354
7317
  children
7355
7318
  }) => condition ? wrapper(children) : children;
7356
7319
 
7357
- const _excluded$q = ["count", "maxCount", "css"];
7358
- var _jsxFileName$R = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7320
+ const _excluded$p = ["count", "maxCount", "css"];
7321
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7359
7322
  const formLabelClassStyle = {
7360
7323
  alignItems: 'start !important',
7361
7324
  '& > div': {
@@ -7458,7 +7421,7 @@
7458
7421
  maxCount,
7459
7422
  css
7460
7423
  } = _ref,
7461
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7424
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7462
7425
  const withCounter = Boolean(count || maxCount);
7463
7426
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
7464
7427
  condition: withCounter,
@@ -7467,7 +7430,7 @@
7467
7430
  css: css,
7468
7431
  __self: undefined,
7469
7432
  __source: {
7470
- fileName: _jsxFileName$R,
7433
+ fileName: _jsxFileName$Q,
7471
7434
  lineNumber: 115,
7472
7435
  columnNumber: 9
7473
7436
  }
@@ -7480,14 +7443,14 @@
7480
7443
  },
7481
7444
  __self: undefined,
7482
7445
  __source: {
7483
- fileName: _jsxFileName$R,
7446
+ fileName: _jsxFileName$Q,
7484
7447
  lineNumber: 116,
7485
7448
  columnNumber: 11
7486
7449
  }
7487
7450
  }, count, "/", maxCount), children),
7488
7451
  __self: undefined,
7489
7452
  __source: {
7490
- fileName: _jsxFileName$R,
7453
+ fileName: _jsxFileName$Q,
7491
7454
  lineNumber: 112,
7492
7455
  columnNumber: 5
7493
7456
  }
@@ -7497,7 +7460,7 @@
7497
7460
  }, props, {
7498
7461
  __self: undefined,
7499
7462
  __source: {
7500
- fileName: _jsxFileName$R,
7463
+ fileName: _jsxFileName$Q,
7501
7464
  lineNumber: 123,
7502
7465
  columnNumber: 7
7503
7466
  }
@@ -7505,8 +7468,8 @@
7505
7468
  };
7506
7469
  FormGroup.displayName = 'FormGroup';
7507
7470
 
7508
- const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7509
- var _jsxFileName$Q = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7471
+ const _excluded$o = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7472
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7510
7473
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
7511
7474
  display: 'inline-block',
7512
7475
  fontSize: '$label',
@@ -7538,13 +7501,13 @@
7538
7501
  maxCount,
7539
7502
  labelCss
7540
7503
  } = _ref,
7541
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7504
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7542
7505
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
7543
7506
  justify: "between",
7544
7507
  className: "form-label",
7545
7508
  __self: undefined,
7546
7509
  __source: {
7547
- fileName: _jsxFileName$Q,
7510
+ fileName: _jsxFileName$P,
7548
7511
  lineNumber: 36,
7549
7512
  columnNumber: 5
7550
7513
  }
@@ -7554,7 +7517,7 @@
7554
7517
  }, props, {
7555
7518
  __self: undefined,
7556
7519
  __source: {
7557
- fileName: _jsxFileName$Q,
7520
+ fileName: _jsxFileName$P,
7558
7521
  lineNumber: 37,
7559
7522
  columnNumber: 7
7560
7523
  }
@@ -7564,7 +7527,7 @@
7564
7527
  css: labelCss,
7565
7528
  __self: undefined,
7566
7529
  __source: {
7567
- fileName: _jsxFileName$Q,
7530
+ fileName: _jsxFileName$P,
7568
7531
  lineNumber: 38,
7569
7532
  columnNumber: 9
7570
7533
  }
@@ -7579,7 +7542,7 @@
7579
7542
  },
7580
7543
  __self: undefined,
7581
7544
  __source: {
7582
- fileName: _jsxFileName$Q,
7545
+ fileName: _jsxFileName$P,
7583
7546
  lineNumber: 42,
7584
7547
  columnNumber: 11
7585
7548
  }
@@ -7587,14 +7550,14 @@
7587
7550
  label: tooltipLabel,
7588
7551
  __self: undefined,
7589
7552
  __source: {
7590
- fileName: _jsxFileName$Q,
7553
+ fileName: _jsxFileName$P,
7591
7554
  lineNumber: 56,
7592
7555
  columnNumber: 11
7593
7556
  }
7594
7557
  }, /*#__PURE__*/React__default["default"].createElement(StyledHelpIcon, {
7595
7558
  __self: undefined,
7596
7559
  __source: {
7597
- fileName: _jsxFileName$Q,
7560
+ fileName: _jsxFileName$P,
7598
7561
  lineNumber: 57,
7599
7562
  columnNumber: 13
7600
7563
  }
@@ -7603,7 +7566,7 @@
7603
7566
  color: "disable",
7604
7567
  __self: undefined,
7605
7568
  __source: {
7606
- fileName: _jsxFileName$Q,
7569
+ fileName: _jsxFileName$P,
7607
7570
  lineNumber: 62,
7608
7571
  columnNumber: 9
7609
7572
  }
@@ -7622,8 +7585,8 @@
7622
7585
  };
7623
7586
  FormLabel.displayName = 'FormLabel';
7624
7587
 
7625
- const _excluded$o = ["children", "error", "errorMessage"];
7626
- var _jsxFileName$P = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7588
+ const _excluded$n = ["children", "error", "errorMessage"];
7589
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7627
7590
  const StyledHelper = styled(Text$1, {
7628
7591
  display: 'inline-block',
7629
7592
  color: '$textSecondary',
@@ -7641,7 +7604,7 @@
7641
7604
  error,
7642
7605
  errorMessage
7643
7606
  } = _ref,
7644
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7607
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7645
7608
  const errorByMessage = !!errorMessage;
7646
7609
  if (error === undefined && errorByMessage) {
7647
7610
  return /*#__PURE__*/React__default["default"].createElement(StyledHelper, _extends({
@@ -7651,7 +7614,7 @@
7651
7614
  }, props, {
7652
7615
  __self: undefined,
7653
7616
  __source: {
7654
- fileName: _jsxFileName$P,
7617
+ fileName: _jsxFileName$O,
7655
7618
  lineNumber: 22,
7656
7619
  columnNumber: 7
7657
7620
  }
@@ -7667,7 +7630,7 @@
7667
7630
  }, props, {
7668
7631
  __self: undefined,
7669
7632
  __source: {
7670
- fileName: _jsxFileName$P,
7633
+ fileName: _jsxFileName$O,
7671
7634
  lineNumber: 31,
7672
7635
  columnNumber: 5
7673
7636
  }
@@ -7678,7 +7641,7 @@
7678
7641
  };
7679
7642
  FormHelper.displayName = 'FormHelper';
7680
7643
 
7681
- var _jsxFileName$O = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7644
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7682
7645
  const CheckboxContext = /*#__PURE__*/React.createContext();
7683
7646
  const CheckboxGroup = ({
7684
7647
  children,
@@ -7719,7 +7682,7 @@
7719
7682
  value: values,
7720
7683
  __self: undefined,
7721
7684
  __source: {
7722
- fileName: _jsxFileName$O,
7685
+ fileName: _jsxFileName$N,
7723
7686
  lineNumber: 35,
7724
7687
  columnNumber: 5
7725
7688
  }
@@ -7736,7 +7699,7 @@
7736
7699
  };
7737
7700
  CheckboxGroup.displayName = 'CheckboxGroup';
7738
7701
 
7739
- var _jsxFileName$N = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7702
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7740
7703
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7741
7704
  xmlns: "http://www.w3.org/2000/svg",
7742
7705
  xmlSpace: "preserve",
@@ -7753,7 +7716,7 @@
7753
7716
  }, props, {
7754
7717
  __self: undefined,
7755
7718
  __source: {
7756
- fileName: _jsxFileName$N,
7719
+ fileName: _jsxFileName$M,
7757
7720
  lineNumber: 4,
7758
7721
  columnNumber: 3
7759
7722
  }
@@ -7765,7 +7728,7 @@
7765
7728
  },
7766
7729
  __self: undefined,
7767
7730
  __source: {
7768
- fileName: _jsxFileName$N,
7731
+ fileName: _jsxFileName$M,
7769
7732
  lineNumber: 19,
7770
7733
  columnNumber: 5
7771
7734
  }
@@ -7777,13 +7740,13 @@
7777
7740
  },
7778
7741
  __self: undefined,
7779
7742
  __source: {
7780
- fileName: _jsxFileName$N,
7743
+ fileName: _jsxFileName$M,
7781
7744
  lineNumber: 26,
7782
7745
  columnNumber: 5
7783
7746
  }
7784
7747
  }));
7785
7748
 
7786
- var _jsxFileName$M = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7749
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7787
7750
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7788
7751
  xmlns: "http://www.w3.org/2000/svg",
7789
7752
  xmlSpace: "preserve",
@@ -7800,7 +7763,7 @@
7800
7763
  }, props, {
7801
7764
  __self: undefined,
7802
7765
  __source: {
7803
- fileName: _jsxFileName$M,
7766
+ fileName: _jsxFileName$L,
7804
7767
  lineNumber: 4,
7805
7768
  columnNumber: 3
7806
7769
  }
@@ -7812,7 +7775,7 @@
7812
7775
  },
7813
7776
  __self: undefined,
7814
7777
  __source: {
7815
- fileName: _jsxFileName$M,
7778
+ fileName: _jsxFileName$L,
7816
7779
  lineNumber: 19,
7817
7780
  columnNumber: 5
7818
7781
  }
@@ -7824,14 +7787,14 @@
7824
7787
  d: "M14.31 10.41H3.9v-2.6h10.41z",
7825
7788
  __self: undefined,
7826
7789
  __source: {
7827
- fileName: _jsxFileName$M,
7790
+ fileName: _jsxFileName$L,
7828
7791
  lineNumber: 26,
7829
7792
  columnNumber: 5
7830
7793
  }
7831
7794
  }));
7832
7795
 
7833
- const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7834
- var _jsxFileName$L = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7796
+ const _excluded$m = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7797
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7835
7798
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
7836
7799
  alignItems: 'center',
7837
7800
  display: 'flex',
@@ -7889,7 +7852,7 @@
7889
7852
  index,
7890
7853
  value
7891
7854
  } = _ref,
7892
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7855
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7893
7856
  const context = React.useContext(CheckboxContext);
7894
7857
  const [isChecked, setChecked] = React.useState(false);
7895
7858
  React.useEffect(() => {
@@ -7910,28 +7873,28 @@
7910
7873
  }, props, {
7911
7874
  __self: undefined,
7912
7875
  __source: {
7913
- fileName: _jsxFileName$L,
7876
+ fileName: _jsxFileName$K,
7914
7877
  lineNumber: 64,
7915
7878
  columnNumber: 5
7916
7879
  }
7917
7880
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$2, {
7918
7881
  __self: undefined,
7919
7882
  __source: {
7920
- fileName: _jsxFileName$L,
7883
+ fileName: _jsxFileName$K,
7921
7884
  lineNumber: 77,
7922
7885
  columnNumber: 7
7923
7886
  }
7924
7887
  }, indeterminate ? /*#__PURE__*/React__default["default"].createElement(SvgMinusOutline, {
7925
7888
  __self: undefined,
7926
7889
  __source: {
7927
- fileName: _jsxFileName$L,
7890
+ fileName: _jsxFileName$K,
7928
7891
  lineNumber: 77,
7929
7892
  columnNumber: 41
7930
7893
  }
7931
7894
  }) : /*#__PURE__*/React__default["default"].createElement(CheckOutline$1, {
7932
7895
  __self: undefined,
7933
7896
  __source: {
7934
- fileName: _jsxFileName$L,
7897
+ fileName: _jsxFileName$K,
7935
7898
  lineNumber: 77,
7936
7899
  columnNumber: 60
7937
7900
  }
@@ -7944,14 +7907,14 @@
7944
7907
  gap: 4,
7945
7908
  __self: undefined,
7946
7909
  __source: {
7947
- fileName: _jsxFileName$L,
7910
+ fileName: _jsxFileName$K,
7948
7911
  lineNumber: 84,
7949
7912
  columnNumber: 5
7950
7913
  }
7951
7914
  }, /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7952
7915
  __self: undefined,
7953
7916
  __source: {
7954
- fileName: _jsxFileName$L,
7917
+ fileName: _jsxFileName$K,
7955
7918
  lineNumber: 85,
7956
7919
  columnNumber: 7
7957
7920
  }
@@ -7967,14 +7930,14 @@
7967
7930
  },
7968
7931
  __self: undefined,
7969
7932
  __source: {
7970
- fileName: _jsxFileName$L,
7933
+ fileName: _jsxFileName$K,
7971
7934
  lineNumber: 86,
7972
7935
  columnNumber: 7
7973
7936
  }
7974
7937
  }, props.label)) : /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7975
7938
  __self: undefined,
7976
7939
  __source: {
7977
- fileName: _jsxFileName$L,
7940
+ fileName: _jsxFileName$K,
7978
7941
  lineNumber: 101,
7979
7942
  columnNumber: 5
7980
7943
  }
@@ -7991,8 +7954,8 @@
7991
7954
  };
7992
7955
  InputCheckbox.displayName = 'InputCheckbox';
7993
7956
 
7994
- const _excluded$m = ["children", "size"];
7995
- var _jsxFileName$K = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7957
+ const _excluded$l = ["children", "size"];
7958
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7996
7959
  const InputGroupStyle = styled('div', {
7997
7960
  display: 'flex',
7998
7961
  width: '100%',
@@ -8131,7 +8094,7 @@
8131
8094
  children,
8132
8095
  size = 'lg'
8133
8096
  } = _ref,
8134
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
8097
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8135
8098
  const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8136
8099
  const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8137
8100
  const clone = children.map((child, index) => {
@@ -8154,7 +8117,7 @@
8154
8117
  isElement: isElement,
8155
8118
  __self: undefined,
8156
8119
  __source: {
8157
- fileName: _jsxFileName$K,
8120
+ fileName: _jsxFileName$J,
8158
8121
  lineNumber: 169,
8159
8122
  columnNumber: 10
8160
8123
  }
@@ -8330,8 +8293,8 @@
8330
8293
  children: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node])
8331
8294
  };
8332
8295
 
8333
- const _excluded$l = ["disabled", "readOnly"];
8334
- var _jsxFileName$J = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8296
+ const _excluded$k = ["disabled", "readOnly"];
8297
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8335
8298
  const disabledStyle = {
8336
8299
  backgroundColor: '$formDisable',
8337
8300
  color: '$textDisable',
@@ -8504,7 +8467,7 @@
8504
8467
  disabled,
8505
8468
  readOnly
8506
8469
  } = _ref,
8507
- props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8470
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8508
8471
  return /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({
8509
8472
  ref: ref,
8510
8473
  disabled: disabled,
@@ -8514,7 +8477,7 @@
8514
8477
  }, props, {
8515
8478
  __self: undefined,
8516
8479
  __source: {
8517
- fileName: _jsxFileName$J,
8480
+ fileName: _jsxFileName$I,
8518
8481
  lineNumber: 185,
8519
8482
  columnNumber: 3
8520
8483
  }
@@ -8532,8 +8495,8 @@
8532
8495
  };
8533
8496
  InputText.displayName = 'InputText';
8534
8497
 
8535
- const _excluded$k = ["disabled", "readOnly"];
8536
- var _jsxFileName$I = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8498
+ const _excluded$j = ["disabled", "readOnly"];
8499
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8537
8500
  const StyledTextArea = styled(StyledInput$1, {
8538
8501
  variants: {
8539
8502
  size: {
@@ -8554,7 +8517,7 @@
8554
8517
  disabled,
8555
8518
  readOnly
8556
8519
  } = _ref,
8557
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8520
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8558
8521
  const textareaRef = React.useRef(null);
8559
8522
  React.useEffect(() => {
8560
8523
  if (textareaRef.current) {
@@ -8588,7 +8551,7 @@
8588
8551
  }, props, {
8589
8552
  __self: undefined,
8590
8553
  __source: {
8591
- fileName: _jsxFileName$I,
8554
+ fileName: _jsxFileName$H,
8592
8555
  lineNumber: 51,
8593
8556
  columnNumber: 5
8594
8557
  }
@@ -8611,21 +8574,21 @@
8611
8574
 
8612
8575
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
8613
8576
 
8614
- var _jsxFileName$H = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8577
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8615
8578
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
8616
8579
  function InputRadioGroup(props) {
8617
8580
  return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
8618
8581
  value: props,
8619
8582
  __self: this,
8620
8583
  __source: {
8621
- fileName: _jsxFileName$H,
8584
+ fileName: _jsxFileName$G,
8622
8585
  lineNumber: 13,
8623
8586
  columnNumber: 7
8624
8587
  }
8625
8588
  }, /*#__PURE__*/React__default["default"].createElement(RadioGroup, _extends({}, props, {
8626
8589
  __self: this,
8627
8590
  __source: {
8628
- fileName: _jsxFileName$H,
8591
+ fileName: _jsxFileName$G,
8629
8592
  lineNumber: 14,
8630
8593
  columnNumber: 9
8631
8594
  }
@@ -8644,8 +8607,8 @@
8644
8607
  };
8645
8608
  InputRadioGroup.displayName = 'InputRadioGroup';
8646
8609
 
8647
- const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8648
- var _jsxFileName$G = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8610
+ const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8611
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8649
8612
  const INDICATOR_BASE_STYLES = {
8650
8613
  alignItems: 'center',
8651
8614
  display: 'flex',
@@ -8810,7 +8773,7 @@
8810
8773
  description,
8811
8774
  readOnly
8812
8775
  } = _ref,
8813
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8776
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8814
8777
  function renderInputType(type, checkedValue, onValueChange) {
8815
8778
  switch (type) {
8816
8779
  case 'number':
@@ -8823,7 +8786,7 @@
8823
8786
  asChild: true,
8824
8787
  __self: this,
8825
8788
  __source: {
8826
- fileName: _jsxFileName$G,
8789
+ fileName: _jsxFileName$F,
8827
8790
  lineNumber: 171,
8828
8791
  columnNumber: 11
8829
8792
  }
@@ -8839,7 +8802,7 @@
8839
8802
  asChild: true,
8840
8803
  __self: this,
8841
8804
  __source: {
8842
- fileName: _jsxFileName$G,
8805
+ fileName: _jsxFileName$F,
8843
8806
  lineNumber: 184,
8844
8807
  columnNumber: 11
8845
8808
  }
@@ -8858,7 +8821,7 @@
8858
8821
  },
8859
8822
  __self: this,
8860
8823
  __source: {
8861
- fileName: _jsxFileName$G,
8824
+ fileName: _jsxFileName$F,
8862
8825
  lineNumber: 198,
8863
8826
  columnNumber: 11
8864
8827
  }
@@ -8868,7 +8831,7 @@
8868
8831
  return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
8869
8832
  __self: undefined,
8870
8833
  __source: {
8871
- fileName: _jsxFileName$G,
8834
+ fileName: _jsxFileName$F,
8872
8835
  lineNumber: 217,
8873
8836
  columnNumber: 5
8874
8837
  }
@@ -8885,7 +8848,7 @@
8885
8848
  outlined: outlined,
8886
8849
  __self: undefined,
8887
8850
  __source: {
8888
- fileName: _jsxFileName$G,
8851
+ fileName: _jsxFileName$F,
8889
8852
  lineNumber: 222,
8890
8853
  columnNumber: 11
8891
8854
  }
@@ -8900,7 +8863,7 @@
8900
8863
  css: css,
8901
8864
  __self: undefined,
8902
8865
  __source: {
8903
- fileName: _jsxFileName$G,
8866
+ fileName: _jsxFileName$F,
8904
8867
  lineNumber: 223,
8905
8868
  columnNumber: 13
8906
8869
  }
@@ -8909,7 +8872,7 @@
8909
8872
  gap: 4,
8910
8873
  __self: undefined,
8911
8874
  __source: {
8912
- fileName: _jsxFileName$G,
8875
+ fileName: _jsxFileName$F,
8913
8876
  lineNumber: 233,
8914
8877
  columnNumber: 15
8915
8878
  }
@@ -8920,14 +8883,14 @@
8920
8883
  }, props, {
8921
8884
  __self: undefined,
8922
8885
  __source: {
8923
- fileName: _jsxFileName$G,
8886
+ fileName: _jsxFileName$F,
8924
8887
  lineNumber: 234,
8925
8888
  columnNumber: 17
8926
8889
  }
8927
8890
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
8928
8891
  __self: undefined,
8929
8892
  __source: {
8930
- fileName: _jsxFileName$G,
8893
+ fileName: _jsxFileName$F,
8931
8894
  lineNumber: 235,
8932
8895
  columnNumber: 19
8933
8896
  }
@@ -8939,7 +8902,7 @@
8939
8902
  },
8940
8903
  __self: undefined,
8941
8904
  __source: {
8942
- fileName: _jsxFileName$G,
8905
+ fileName: _jsxFileName$F,
8943
8906
  lineNumber: 240,
8944
8907
  columnNumber: 17
8945
8908
  }
@@ -11093,8 +11056,8 @@
11093
11056
  }(React__default["default"].Component);
11094
11057
  NumberFormat.defaultProps = defaultProps;
11095
11058
 
11096
- const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11097
- var _jsxFileName$F = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11059
+ const _excluded$h = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11060
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11098
11061
  const StyledInput = styled(NumberFormat, {
11099
11062
  // Reset
11100
11063
  appearance: 'none',
@@ -11289,7 +11252,7 @@
11289
11252
  maxLength,
11290
11253
  thousandSeparator
11291
11254
  } = _ref,
11292
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
11255
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11293
11256
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
11294
11257
  condition: Boolean(control),
11295
11258
  wrapper: child => /*#__PURE__*/React__default["default"].createElement(reactHookForm.Controller, {
@@ -11307,14 +11270,14 @@
11307
11270
  }),
11308
11271
  __self: undefined,
11309
11272
  __source: {
11310
- fileName: _jsxFileName$F,
11273
+ fileName: _jsxFileName$E,
11311
11274
  lineNumber: 225,
11312
11275
  columnNumber: 9
11313
11276
  }
11314
11277
  }),
11315
11278
  __self: undefined,
11316
11279
  __source: {
11317
- fileName: _jsxFileName$F,
11280
+ fileName: _jsxFileName$E,
11318
11281
  lineNumber: 222,
11319
11282
  columnNumber: 5
11320
11283
  }
@@ -11332,7 +11295,7 @@
11332
11295
  }, props, {
11333
11296
  __self: undefined,
11334
11297
  __source: {
11335
- fileName: _jsxFileName$F,
11298
+ fileName: _jsxFileName$E,
11336
11299
  lineNumber: 234,
11337
11300
  columnNumber: 7
11338
11301
  }
@@ -11354,9 +11317,7 @@
11354
11317
  InputNumber.name = 'InputText';
11355
11318
  InputNumber.displayName = 'InputNumber';
11356
11319
 
11357
- const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11358
- var _jsxFileName$E = "/Users/majoo/majoo-ui/packages/react/src/components/tag/Tag.js";
11359
- const TagWrapper$4 = styled('div', {
11320
+ var TagWrapper$4 = styled('div', {
11360
11321
  boxSizing: 'border-box',
11361
11322
  listStyle: 'none',
11362
11323
  display: 'inline-flex',
@@ -11398,6 +11359,10 @@
11398
11359
  }
11399
11360
  },
11400
11361
  type: {
11362
+ default: {
11363
+ background: '$bgGray',
11364
+ color: '$textPrimary'
11365
+ },
11401
11366
  success: {
11402
11367
  background: '$bgSuccess',
11403
11368
  color: '$textGreen'
@@ -11414,13 +11379,13 @@
11414
11379
  }
11415
11380
  }
11416
11381
  });
11417
- const TagComponent$1 = styled('span', {
11382
+ var TagComponent$1 = styled('span', {
11418
11383
  textAlign: 'center',
11419
11384
  whiteSpace: 'nowrap',
11420
11385
  overflow: 'hidden',
11421
11386
  textOverflow: 'ellipsis'
11422
11387
  });
11423
- const StyledIconRight$1 = styled('div', {
11388
+ var StyledIconRight$1 = styled('div', {
11424
11389
  marginLeft: '6px',
11425
11390
  display: 'flex',
11426
11391
  verticalAlign: 'middle',
@@ -11440,89 +11405,51 @@
11440
11405
  }
11441
11406
  }
11442
11407
  });
11443
- const StyledIconLeft$3 = styled('div', {
11408
+ var StyledIconLeft$3 = styled('div', {
11444
11409
  margin: '0 3px',
11445
11410
  display: 'flex',
11446
11411
  verticalAlign: 'middle',
11447
11412
  alignItems: 'center',
11448
11413
  color: 'inherit'
11449
11414
  });
11450
- const Tag = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11451
- let {
11452
- children,
11453
- onClick,
11454
- size,
11455
- icon,
11456
- isRemovable,
11457
- disabled,
11458
- type,
11459
- onRemove,
11460
- readOnly
11461
- } = _ref,
11462
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11463
- return /*#__PURE__*/React__default["default"].createElement(TagWrapper$4, _extends({
11415
+ var Tag = /*#__PURE__*/React__default["default"].forwardRef(function (_a, ref) {
11416
+ var children = _a.children,
11417
+ onClick = _a.onClick,
11418
+ size = _a.size,
11419
+ icon = _a.icon,
11420
+ isRemovable = _a.isRemovable,
11421
+ disabled = _a.disabled,
11422
+ type = _a.type,
11423
+ onRemove = _a.onRemove,
11424
+ readOnly = _a.readOnly,
11425
+ props = __rest(_a, ["children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"]);
11426
+ return jsxRuntime.jsxs(TagWrapper$4, __assign({
11464
11427
  ref: ref,
11465
11428
  onClick: onClick,
11466
11429
  size: size,
11467
11430
  disabled: disabled,
11468
11431
  type: type,
11469
- readOnly: readOnly,
11470
- css: Object.assign({}, props.css)
11432
+ readOnly: readOnly
11471
11433
  }, props, {
11472
- __self: undefined,
11473
- __source: {
11474
- fileName: _jsxFileName$E,
11475
- lineNumber: 84,
11476
- columnNumber: 7
11477
- }
11478
- }), icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledIconLeft$3, {
11479
- __self: undefined,
11480
- __source: {
11481
- fileName: _jsxFileName$E,
11482
- lineNumber: 94,
11483
- columnNumber: 31
11484
- }
11485
- }, icon) : null, /*#__PURE__*/React__default["default"].createElement(TagComponent$1, {
11486
- __self: undefined,
11487
- __source: {
11488
- fileName: _jsxFileName$E,
11489
- lineNumber: 95,
11490
- columnNumber: 9
11491
- }
11492
- }, children), isRemovable ? /*#__PURE__*/React__default["default"].createElement(StyledIconRight$1, {
11493
- disabled: disabled,
11494
- onClick: onRemove,
11495
- readOnly: readOnly,
11496
- __self: undefined,
11497
- __source: {
11498
- fileName: _jsxFileName$E,
11499
- lineNumber: 97,
11500
- columnNumber: 11
11501
- }
11502
- }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
11503
- size: 16,
11504
- color: colors$8.iconSecondary,
11505
- style: {
11506
- verticalAlign: 'middle'
11507
- },
11508
- __self: undefined,
11509
- __source: {
11510
- fileName: _jsxFileName$E,
11511
- lineNumber: 98,
11512
- columnNumber: 13
11513
- }
11514
- })) : null);
11434
+ children: [icon !== undefined ? jsxRuntime.jsx(StyledIconLeft$3, {
11435
+ children: icon
11436
+ }, void 0) : null, jsxRuntime.jsx(TagComponent$1, {
11437
+ children: children
11438
+ }, void 0), isRemovable ? jsxRuntime.jsx(StyledIconRight$1, __assign({
11439
+ disabled: disabled,
11440
+ onClick: onRemove,
11441
+ readOnly: readOnly
11442
+ }, {
11443
+ children: jsxRuntime.jsx(icons.CloseOutline, {
11444
+ size: 16,
11445
+ color: colors$8.iconSecondary,
11446
+ style: {
11447
+ verticalAlign: 'middle'
11448
+ }
11449
+ }, void 0)
11450
+ }), void 0) : null]
11451
+ }), void 0);
11515
11452
  });
11516
- Tag.propTypes = {
11517
- size: PropTypes__default["default"].string,
11518
- disabled: PropTypes__default["default"].bool,
11519
- type: PropTypes__default["default"].string,
11520
- icon: PropTypes__default["default"].element,
11521
- isRemovable: PropTypes__default["default"].bool,
11522
- onRemove: PropTypes__default["default"].func,
11523
- onClick: PropTypes__default["default"].func,
11524
- readOnly: PropTypes__default["default"].bool
11525
- };
11526
11453
  Tag.defaultProps = {
11527
11454
  size: 'sm',
11528
11455
  isRemovable: false,
@@ -11531,7 +11458,7 @@
11531
11458
  };
11532
11459
 
11533
11460
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
11534
- var _jsxFileName$D = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11461
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11535
11462
  const Wrapper$2 = styled('div', {
11536
11463
  margin: 0,
11537
11464
  flexDirection: 'column',
@@ -11828,7 +11755,7 @@
11828
11755
  };
11829
11756
 
11830
11757
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
11831
- var _jsxFileName$C = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11758
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11832
11759
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
11833
11760
  display: 'block',
11834
11761
  width: '16px',
@@ -11933,7 +11860,7 @@
11933
11860
  };
11934
11861
  InputSwitch.displayName = 'InputSwitch';
11935
11862
 
11936
- var _jsxFileName$B = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11863
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11937
11864
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11938
11865
  width: props.size,
11939
11866
  height: props.size,
@@ -11992,7 +11919,7 @@
11992
11919
  size: 24
11993
11920
  };
11994
11921
 
11995
- var _jsxFileName$A = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11922
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11996
11923
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11997
11924
  width: props.size,
11998
11925
  height: props.size,
@@ -12033,7 +11960,7 @@
12033
11960
  };
12034
11961
 
12035
11962
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
12036
- var _jsxFileName$z = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
11963
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
12037
11964
  const {
12038
11965
  colors: colors$7
12039
11966
  } = core.foundations;
@@ -12332,7 +12259,7 @@
12332
12259
  });
12333
12260
 
12334
12261
  const _excluded$d = ["children"];
12335
- var _jsxFileName$y = "/Users/majoo/majoo-ui/packages/react/src/components/popover/Popover.js";
12262
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
12336
12263
  const {
12337
12264
  zIndices: zIndices$1
12338
12265
  } = core.foundations;
@@ -13856,7 +13783,7 @@
13856
13783
  }), void 0);
13857
13784
  });
13858
13785
 
13859
- var _jsxFileName$x = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13786
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13860
13787
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13861
13788
  xmlns: "http://www.w3.org/2000/svg",
13862
13789
  xmlSpace: "preserve",
@@ -13940,7 +13867,7 @@
13940
13867
  }
13941
13868
 
13942
13869
  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"];
13943
- var _jsxFileName$w = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13870
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13944
13871
  function _await(value, then, direct) {
13945
13872
  if (direct) {
13946
13873
  return then ? then(value) : value;
@@ -15267,7 +15194,7 @@
15267
15194
  collapsibleLimit: 5
15268
15195
  };
15269
15196
 
15270
- var _jsxFileName$v = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15197
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15271
15198
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
15272
15199
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
15273
15200
  ref: ref,
@@ -15328,7 +15255,7 @@
15328
15255
  defaultValue: []
15329
15256
  };
15330
15257
 
15331
- var _jsxFileName$u = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15258
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15332
15259
  const Wrapper = styled('div', {
15333
15260
  margin: 0,
15334
15261
  flexDirection: 'column',
@@ -16510,7 +16437,7 @@
16510
16437
 
16511
16438
  const _excluded$b = ["children"],
16512
16439
  _excluded2$3 = ["children", "showOverlay"];
16513
- var _jsxFileName$t = "/Users/majoo/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16440
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16514
16441
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
16515
16442
  const {
16516
16443
  sizes
@@ -16860,7 +16787,7 @@
16860
16787
 
16861
16788
  const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
16862
16789
  _excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
16863
- var _jsxFileName$s = "/Users/majoo/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16790
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16864
16791
  const ScrollButton$1 = styled(Button$4, {
16865
16792
  width: '28px',
16866
16793
  outline: '$btnPrimary solid 1px',
@@ -17395,7 +17322,7 @@
17395
17322
  });
17396
17323
  DateNumber.displayName = 'DateNumber';
17397
17324
 
17398
- var _jsxFileName$r = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17325
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17399
17326
  const Input$3 = styled('input', {
17400
17327
  display: 'none'
17401
17328
  });
@@ -17951,7 +17878,7 @@
17951
17878
  };
17952
17879
  NativeTimePicker.displayName = 'NativeTimePicker';
17953
17880
 
17954
- var _jsxFileName$q = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17881
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17955
17882
  const getInputPickerValue$1 = date => {
17956
17883
  if (!date) return;
17957
17884
  return moment__default["default"](date).format('HH:mm');
@@ -20196,6 +20123,7 @@
20196
20123
  onClose = _a.onClose,
20197
20124
  mobileOnly = _a.mobileOnly,
20198
20125
  desktopOnly = _a.desktopOnly,
20126
+ advanceOptions = _a.advanceOptions,
20199
20127
  drawerCss = _a.drawerCss,
20200
20128
  _g = _a.drawerContentCss,
20201
20129
  drawerContentCss = _g === void 0 ? {} : _g,
@@ -20294,20 +20222,22 @@
20294
20222
  }
20295
20223
  };
20296
20224
  var renderDatePicker = function renderDatePicker() {
20225
+ var options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20226
+ var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20297
20227
  var handleDatePickerChange = function handleDatePickerChange(value) {
20298
20228
  if (showRangeControl || type === 'range_picker') {
20299
20229
  if (rangePickerType === 'monthly') {
20300
20230
  dispatch({
20301
20231
  type: 'UPDATE',
20302
- payload: advancePickerDate('RANGE_MONTH', value)
20232
+ payload: advancePickerReducer('RANGE_MONTH', value)
20303
20233
  });
20304
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
20234
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
20305
20235
  } else {
20306
20236
  dispatch({
20307
20237
  type: 'UPDATE',
20308
- payload: advancePickerDate('RANGE_WEEK', value)
20238
+ payload: advancePickerReducer('RANGE_WEEK', value)
20309
20239
  });
20310
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
20240
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
20311
20241
  }
20312
20242
  } else {
20313
20243
  dispatch({
@@ -20319,10 +20249,10 @@
20319
20249
  };
20320
20250
  return jsxRuntime.jsx(DatePicker, {
20321
20251
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsxRuntime.jsx(AdvancedOption, {
20322
- options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
20252
+ options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20323
20253
  disabled: disabled,
20324
20254
  optionHandler: function (value) {
20325
- var reducedResult = advancePickerDate(value, undefined);
20255
+ var reducedResult = advancePickerReducer(value, undefined);
20326
20256
  var dateAsString = moment__default["default"](reducedResult[1]).format('YYYY-MM-DD');
20327
20257
  var payload = [reducedResult[0], moment__default["default"]("".concat(dateAsString, " 23:59"), 'YYYY-MM-DD HH:mm').toDate()];
20328
20258
  dispatch({
@@ -20594,21 +20524,23 @@
20594
20524
  _f = _a.isInvalid,
20595
20525
  isInvalid = _f === void 0 ? false : _f,
20596
20526
  css = _a.css,
20597
- props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css"]);
20527
+ advanceOptions = _a.advanceOptions,
20528
+ props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css", "advanceOptions"]);
20598
20529
  var _g = reactI18next.useTranslation('translation'),
20599
20530
  t = _g.t,
20600
20531
  i18n = _g.i18n;
20601
20532
  var language = i18n.language;
20602
20533
  var pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20534
+ var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20603
20535
  return jsxRuntime.jsx(InputSelect, __assign({}, props, {
20604
- option: pickerOptions.map(function (option) {
20536
+ option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(function (option) {
20605
20537
  return {
20606
20538
  name: option.label,
20607
20539
  value: option.value
20608
20540
  };
20609
20541
  }),
20610
20542
  onChange: function (selectedOption) {
20611
- if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20543
+ if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20612
20544
  },
20613
20545
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20614
20546
  size: size,
@@ -20621,7 +20553,7 @@
20621
20553
  });
20622
20554
 
20623
20555
  const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
20624
- var _jsxFileName$p = "/Users/majoo/majoo-ui/packages/react/src/components/slider/Slider.js";
20556
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
20625
20557
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
20626
20558
  position: 'relative',
20627
20559
  display: 'flex',
@@ -20965,7 +20897,7 @@
20965
20897
  };
20966
20898
 
20967
20899
  const _excluded$8 = ["className", "children", "onClick", "type", "size"];
20968
- var _jsxFileName$o = "/Users/majoo/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20900
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20969
20901
  const TagWrapper$1 = styled('div', {
20970
20902
  boxSizing: 'border-box',
20971
20903
  fontSize: '12px',
@@ -21129,7 +21061,7 @@
21129
21061
  _excluded2$1 = ["children", "activeTabs"],
21130
21062
  _excluded3$1 = ["children", "icon", "activeTabs", "value"],
21131
21063
  _excluded4 = ["activeTabs"];
21132
- var _jsxFileName$n = "/Users/majoo/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21064
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21133
21065
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
21134
21066
  display: 'flex',
21135
21067
  flexDirection: 'column',
@@ -21468,7 +21400,7 @@
21468
21400
  };
21469
21401
 
21470
21402
  const _excluded$6 = ["children", "variantIcon"];
21471
- var _jsxFileName$m = "/Users/majoo/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21403
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21472
21404
  const NotificationBadgeRootStyle = styled('span', {
21473
21405
  position: 'relative',
21474
21406
  display: 'inline-flex',
@@ -21623,7 +21555,7 @@
21623
21555
  };
21624
21556
 
21625
21557
  const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
21626
- var _jsxFileName$l = "/Users/majoo/majoo-ui/packages/react/src/components/paper/Paper.js";
21558
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
21627
21559
  const PaperComponent = styled('div', {
21628
21560
  padding: '20px',
21629
21561
  height: 'auto',
@@ -21875,7 +21807,7 @@
21875
21807
  };
21876
21808
 
21877
21809
  const _excluded$4 = ["isActive", "onClick"];
21878
- var _jsxFileName$k = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21810
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21879
21811
  const PrevNextButton = styled(Text$1, {
21880
21812
  padding: '$spacing-01',
21881
21813
  cursor: 'pointer',
@@ -22363,7 +22295,7 @@
22363
22295
  };
22364
22296
 
22365
22297
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
22366
- var _jsxFileName$j = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22298
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22367
22299
  const LimitContainer = styled(Flex$1, {
22368
22300
  cursor: 'pointer'
22369
22301
  });
@@ -22596,7 +22528,7 @@
22596
22528
  }
22597
22529
 
22598
22530
  const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
22599
- var _jsxFileName$i = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22531
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22600
22532
  function Pagination(_ref) {
22601
22533
  let {
22602
22534
  limit,
@@ -24921,7 +24853,7 @@
24921
24853
  return jsxRuntime.jsx("div", {}, void 0);
24922
24854
  };
24923
24855
 
24924
- var _jsxFileName$h = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24856
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24925
24857
  const DateColumn = ({
24926
24858
  value,
24927
24859
  customFormat
@@ -25034,7 +24966,7 @@
25034
24966
  return addThousandSeparator(param);
25035
24967
  };
25036
24968
 
25037
- var _jsxFileName$g = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
24969
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
25038
24970
  const rowExpanderColumn = {
25039
24971
  id: 'expander',
25040
24972
  Header: () => null,
@@ -25075,7 +25007,7 @@
25075
25007
  unsortable: true
25076
25008
  };
25077
25009
 
25078
- var _jsxFileName$f = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25010
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25079
25011
  const rowExpanderMultipleColumn = {
25080
25012
  id: 'multiple-expander',
25081
25013
  Header: () => null,
@@ -25109,7 +25041,7 @@
25109
25041
  unsortable: true
25110
25042
  };
25111
25043
 
25112
- var _jsxFileName$e = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
25044
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
25113
25045
  const rowMenuColumn = (options, icon, config) => ({
25114
25046
  id: 'menu',
25115
25047
  options,
@@ -25242,7 +25174,7 @@
25242
25174
  unsortable: true
25243
25175
  });
25244
25176
 
25245
- var _jsxFileName$d = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
25177
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
25246
25178
  const rowSelectionColumn = {
25247
25179
  id: 'selection',
25248
25180
  Header: ({
@@ -25291,7 +25223,7 @@
25291
25223
  unsortable: true
25292
25224
  };
25293
25225
 
25294
- var _jsxFileName$c = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
25226
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
25295
25227
  const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
25296
25228
  id: 'selection',
25297
25229
  Header: ({
@@ -25636,7 +25568,7 @@
25636
25568
  };
25637
25569
 
25638
25570
  const _excluded$1 = ["children"];
25639
- var _jsxFileName$b = "/Users/majoo/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25571
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25640
25572
  const overlayShow = keyframes({
25641
25573
  '0%': {
25642
25574
  opacity: 0
@@ -26271,7 +26203,7 @@
26271
26203
  const _excluded = ["side", "align", "children"],
26272
26204
  _excluded2 = ["children"],
26273
26205
  _excluded3 = ["asChild"];
26274
- var _jsxFileName$a = "/Users/majoo/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
26206
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
26275
26207
  const Context = /*#__PURE__*/React__default["default"].createContext();
26276
26208
  const slideUpAndFade = keyframes({
26277
26209
  '0%': {
@@ -28406,7 +28338,7 @@
28406
28338
  });
28407
28339
  }
28408
28340
 
28409
- var _jsxFileName$9 = "/Users/majoo/majoo-ui/packages/react/src/components/upload/Upload.js";
28341
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
28410
28342
  const Input$2 = styled('input', {
28411
28343
  display: 'none !important'
28412
28344
  });
@@ -28495,7 +28427,7 @@
28495
28427
  __self: undefined,
28496
28428
  __source: {
28497
28429
  fileName: _jsxFileName$9,
28498
- lineNumber: 119,
28430
+ lineNumber: 118,
28499
28431
  columnNumber: 5
28500
28432
  }
28501
28433
  })) : /*#__PURE__*/React__default["default"].createElement(EyeIcon, _extends({}, props, {
@@ -28505,7 +28437,7 @@
28505
28437
  __self: undefined,
28506
28438
  __source: {
28507
28439
  fileName: _jsxFileName$9,
28508
- lineNumber: 126,
28440
+ lineNumber: 125,
28509
28441
  columnNumber: 5
28510
28442
  }
28511
28443
  }));
@@ -28566,7 +28498,6 @@
28566
28498
  const [aspect, setAspect] = React.useState(isDefaultCustomRatio ? 0 : 1);
28567
28499
  const [isLoading, setIsLoading] = React.useState(false);
28568
28500
  const [cropperImgRatio, setCropperImgRatio] = React.useState(null);
28569
- const isMobile = useMediaQuery('(max-width: 767px)');
28570
28501
  React.useEffect(() => {
28571
28502
  if (loading) {
28572
28503
  setIsLoading(true);
@@ -28977,7 +28908,7 @@
28977
28908
  __self: this,
28978
28909
  __source: {
28979
28910
  fileName: _jsxFileName$9,
28980
- lineNumber: 615,
28911
+ lineNumber: 612,
28981
28912
  columnNumber: 7
28982
28913
  }
28983
28914
  }, /*#__PURE__*/React__default["default"].createElement(ButtonText, {
@@ -28987,7 +28918,7 @@
28987
28918
  __self: this,
28988
28919
  __source: {
28989
28920
  fileName: _jsxFileName$9,
28990
- lineNumber: 616,
28921
+ lineNumber: 613,
28991
28922
  columnNumber: 9
28992
28923
  }
28993
28924
  }, replaceLabel && replaceLabel.length > 0 ? replaceLabel : t('replaceLabel', 'Ubah Berkas')));
@@ -29002,7 +28933,7 @@
29002
28933
  __self: undefined,
29003
28934
  __source: {
29004
28935
  fileName: _jsxFileName$9,
29005
- lineNumber: 626,
28936
+ lineNumber: 623,
29006
28937
  columnNumber: 16
29007
28938
  }
29008
28939
  });
@@ -29013,7 +28944,7 @@
29013
28944
  __self: undefined,
29014
28945
  __source: {
29015
28946
  fileName: _jsxFileName$9,
29016
- lineNumber: 629,
28947
+ lineNumber: 626,
29017
28948
  columnNumber: 9
29018
28949
  }
29019
28950
  }, /*#__PURE__*/React__default["default"].createElement(Box, {
@@ -29023,7 +28954,7 @@
29023
28954
  __self: undefined,
29024
28955
  __source: {
29025
28956
  fileName: _jsxFileName$9,
29026
- lineNumber: 630,
28957
+ lineNumber: 627,
29027
28958
  columnNumber: 11
29028
28959
  }
29029
28960
  }, !disabled && /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
@@ -29032,7 +28963,7 @@
29032
28963
  __self: undefined,
29033
28964
  __source: {
29034
28965
  fileName: _jsxFileName$9,
29035
- lineNumber: 631,
28966
+ lineNumber: 628,
29036
28967
  columnNumber: 27
29037
28968
  }
29038
28969
  }), !hiddenPreview && /*#__PURE__*/React__default["default"].createElement(Box, {
@@ -29045,7 +28976,7 @@
29045
28976
  __self: undefined,
29046
28977
  __source: {
29047
28978
  fileName: _jsxFileName$9,
29048
- lineNumber: 633,
28979
+ lineNumber: 630,
29049
28980
  columnNumber: 15
29050
28981
  }
29051
28982
  }, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
@@ -29054,7 +28985,7 @@
29054
28985
  __self: undefined,
29055
28986
  __source: {
29056
28987
  fileName: _jsxFileName$9,
29057
- lineNumber: 641,
28988
+ lineNumber: 638,
29058
28989
  columnNumber: 17
29059
28990
  }
29060
28991
  })), /*#__PURE__*/React__default["default"].createElement(Image, {
@@ -29064,7 +28995,7 @@
29064
28995
  __self: undefined,
29065
28996
  __source: {
29066
28997
  fileName: _jsxFileName$9,
29067
- lineNumber: 644,
28998
+ lineNumber: 641,
29068
28999
  columnNumber: 13
29069
29000
  }
29070
29001
  })), !disabled && renderButtonReplace(index));
@@ -29081,7 +29012,7 @@
29081
29012
  __self: undefined,
29082
29013
  __source: {
29083
29014
  fileName: _jsxFileName$9,
29084
- lineNumber: 655,
29015
+ lineNumber: 652,
29085
29016
  columnNumber: 16
29086
29017
  }
29087
29018
  });
@@ -29091,7 +29022,7 @@
29091
29022
  __self: undefined,
29092
29023
  __source: {
29093
29024
  fileName: _jsxFileName$9,
29094
- lineNumber: 658,
29025
+ lineNumber: 655,
29095
29026
  columnNumber: 9
29096
29027
  }
29097
29028
  }, /*#__PURE__*/React__default["default"].createElement(Box, {
@@ -29101,7 +29032,7 @@
29101
29032
  __self: undefined,
29102
29033
  __source: {
29103
29034
  fileName: _jsxFileName$9,
29104
- lineNumber: 659,
29035
+ lineNumber: 656,
29105
29036
  columnNumber: 11
29106
29037
  }
29107
29038
  }, !disabled && /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
@@ -29110,7 +29041,7 @@
29110
29041
  __self: undefined,
29111
29042
  __source: {
29112
29043
  fileName: _jsxFileName$9,
29113
- lineNumber: 660,
29044
+ lineNumber: 657,
29114
29045
  columnNumber: 27
29115
29046
  }
29116
29047
  }), /*#__PURE__*/React__default["default"].createElement(Box, {
@@ -29123,7 +29054,7 @@
29123
29054
  __self: undefined,
29124
29055
  __source: {
29125
29056
  fileName: _jsxFileName$9,
29126
- lineNumber: 661,
29057
+ lineNumber: 658,
29127
29058
  columnNumber: 13
29128
29059
  }
29129
29060
  }, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -29133,14 +29064,14 @@
29133
29064
  __self: undefined,
29134
29065
  __source: {
29135
29066
  fileName: _jsxFileName$9,
29136
- lineNumber: 669,
29067
+ lineNumber: 666,
29137
29068
  columnNumber: 15
29138
29069
  }
29139
29070
  }, /*#__PURE__*/React__default["default"].createElement(FileExtension, {
29140
29071
  __self: undefined,
29141
29072
  __source: {
29142
29073
  fileName: _jsxFileName$9,
29143
- lineNumber: 670,
29074
+ lineNumber: 667,
29144
29075
  columnNumber: 17
29145
29076
  }
29146
29077
  }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
@@ -29148,7 +29079,7 @@
29148
29079
  __self: undefined,
29149
29080
  __source: {
29150
29081
  fileName: _jsxFileName$9,
29151
- lineNumber: 671,
29082
+ lineNumber: 668,
29152
29083
  columnNumber: 17
29153
29084
  }
29154
29085
  }, /*#__PURE__*/React__default["default"].createElement(Text, {
@@ -29163,7 +29094,7 @@
29163
29094
  __self: undefined,
29164
29095
  __source: {
29165
29096
  fileName: _jsxFileName$9,
29166
- lineNumber: 672,
29097
+ lineNumber: 669,
29167
29098
  columnNumber: 19
29168
29099
  }
29169
29100
  }, item.name)))), !hiddenPreview && /*#__PURE__*/React__default["default"].createElement(Box, {
@@ -29176,7 +29107,7 @@
29176
29107
  __self: undefined,
29177
29108
  __source: {
29178
29109
  fileName: _jsxFileName$9,
29179
- lineNumber: 688,
29110
+ lineNumber: 685,
29180
29111
  columnNumber: 15
29181
29112
  }
29182
29113
  }, /*#__PURE__*/React__default["default"].createElement(IconStateFull, {
@@ -29185,7 +29116,7 @@
29185
29116
  __self: undefined,
29186
29117
  __source: {
29187
29118
  fileName: _jsxFileName$9,
29188
- lineNumber: 696,
29119
+ lineNumber: 693,
29189
29120
  columnNumber: 17
29190
29121
  }
29191
29122
  })), /*#__PURE__*/React__default["default"].createElement(Blank, {
@@ -29193,7 +29124,7 @@
29193
29124
  __self: undefined,
29194
29125
  __source: {
29195
29126
  fileName: _jsxFileName$9,
29196
- lineNumber: 699,
29127
+ lineNumber: 696,
29197
29128
  columnNumber: 13
29198
29129
  }
29199
29130
  })), !disabled && renderButtonReplace(index));
@@ -29208,7 +29139,7 @@
29208
29139
  __self: this,
29209
29140
  __source: {
29210
29141
  fileName: _jsxFileName$9,
29211
- lineNumber: 710,
29142
+ lineNumber: 707,
29212
29143
  columnNumber: 7
29213
29144
  }
29214
29145
  }, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -29222,7 +29153,7 @@
29222
29153
  __self: this,
29223
29154
  __source: {
29224
29155
  fileName: _jsxFileName$9,
29225
- lineNumber: 711,
29156
+ lineNumber: 708,
29226
29157
  columnNumber: 9
29227
29158
  }
29228
29159
  }, /*#__PURE__*/React__default["default"].createElement(LoadingBar, {
@@ -29248,7 +29179,7 @@
29248
29179
  __self: this,
29249
29180
  __source: {
29250
29181
  fileName: _jsxFileName$9,
29251
- lineNumber: 712,
29182
+ lineNumber: 709,
29252
29183
  columnNumber: 11
29253
29184
  }
29254
29185
  }), /*#__PURE__*/React__default["default"].createElement(Text, {
@@ -29256,14 +29187,14 @@
29256
29187
  __self: this,
29257
29188
  __source: {
29258
29189
  fileName: _jsxFileName$9,
29259
- lineNumber: 725,
29190
+ lineNumber: 722,
29260
29191
  columnNumber: 11
29261
29192
  }
29262
29193
  }, `${progress <= 100 ? progress : 100}%`), /*#__PURE__*/React__default["default"].createElement(Text, {
29263
29194
  __self: this,
29264
29195
  __source: {
29265
29196
  fileName: _jsxFileName$9,
29266
- lineNumber: 726,
29197
+ lineNumber: 723,
29267
29198
  columnNumber: 11
29268
29199
  }
29269
29200
  }, t('uploadingLabel', 'Berkas sedang diunggah'))));
@@ -29275,7 +29206,7 @@
29275
29206
  __self: this,
29276
29207
  __source: {
29277
29208
  fileName: _jsxFileName$9,
29278
- lineNumber: 734,
29209
+ lineNumber: 731,
29279
29210
  columnNumber: 7
29280
29211
  }
29281
29212
  }, /*#__PURE__*/React__default["default"].createElement(ContainerUpload, {
@@ -29291,7 +29222,7 @@
29291
29222
  __self: this,
29292
29223
  __source: {
29293
29224
  fileName: _jsxFileName$9,
29294
- lineNumber: 735,
29225
+ lineNumber: 732,
29295
29226
  columnNumber: 9
29296
29227
  }
29297
29228
  }, /*#__PURE__*/React__default["default"].createElement(Input$2, {
@@ -29303,21 +29234,21 @@
29303
29234
  __self: this,
29304
29235
  __source: {
29305
29236
  fileName: _jsxFileName$9,
29306
- lineNumber: 746,
29237
+ lineNumber: 743,
29307
29238
  columnNumber: 11
29308
29239
  }
29309
29240
  }), /*#__PURE__*/React__default["default"].createElement(Children, {
29310
29241
  __self: this,
29311
29242
  __source: {
29312
29243
  fileName: _jsxFileName$9,
29313
- lineNumber: 747,
29244
+ lineNumber: 744,
29314
29245
  columnNumber: 11
29315
29246
  }
29316
29247
  }, children != null ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
29317
29248
  __self: this,
29318
29249
  __source: {
29319
29250
  fileName: _jsxFileName$9,
29320
- lineNumber: 749,
29251
+ lineNumber: 746,
29321
29252
  columnNumber: 15
29322
29253
  }
29323
29254
  }, /*#__PURE__*/React__default["default"].createElement(IconCard, {
@@ -29326,7 +29257,7 @@
29326
29257
  __self: this,
29327
29258
  __source: {
29328
29259
  fileName: _jsxFileName$9,
29329
- lineNumber: 750,
29260
+ lineNumber: 747,
29330
29261
  columnNumber: 17
29331
29262
  }
29332
29263
  }, /*#__PURE__*/React__default["default"].createElement(icons.UploadOutline, {
@@ -29334,7 +29265,7 @@
29334
29265
  __self: this,
29335
29266
  __source: {
29336
29267
  fileName: _jsxFileName$9,
29337
- lineNumber: 751,
29268
+ lineNumber: 748,
29338
29269
  columnNumber: 19
29339
29270
  }
29340
29271
  })), /*#__PURE__*/React__default["default"].createElement(Text, {
@@ -29344,7 +29275,7 @@
29344
29275
  __self: this,
29345
29276
  __source: {
29346
29277
  fileName: _jsxFileName$9,
29347
- lineNumber: 753,
29278
+ lineNumber: 750,
29348
29279
  columnNumber: 17
29349
29280
  }
29350
29281
  }, placeholder != null ? placeholder : t('uploadPlaceholder', 'Pilih atau letakkan berkas di sini'))))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
@@ -29354,7 +29285,7 @@
29354
29285
  __self: this,
29355
29286
  __source: {
29356
29287
  fileName: _jsxFileName$9,
29357
- lineNumber: 760,
29288
+ lineNumber: 757,
29358
29289
  columnNumber: 19
29359
29290
  }
29360
29291
  }, error));
@@ -29362,11 +29293,10 @@
29362
29293
  function renderCropper() {
29363
29294
  return /*#__PURE__*/React__default["default"].createElement(ModalDialog, {
29364
29295
  onOpenChange: () => setCrop(null),
29365
- isMobile: isMobile,
29366
29296
  __self: this,
29367
29297
  __source: {
29368
29298
  fileName: _jsxFileName$9,
29369
- lineNumber: 767,
29299
+ lineNumber: 764,
29370
29300
  columnNumber: 7
29371
29301
  }
29372
29302
  }, /*#__PURE__*/React__default["default"].createElement(ModalDialogTrigger, {
@@ -29374,7 +29304,7 @@
29374
29304
  __self: this,
29375
29305
  __source: {
29376
29306
  fileName: _jsxFileName$9,
29377
- lineNumber: 768,
29307
+ lineNumber: 765,
29378
29308
  columnNumber: 9
29379
29309
  }
29380
29310
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -29382,7 +29312,7 @@
29382
29312
  __self: this,
29383
29313
  __source: {
29384
29314
  fileName: _jsxFileName$9,
29385
- lineNumber: 769,
29315
+ lineNumber: 766,
29386
29316
  columnNumber: 11
29387
29317
  }
29388
29318
  })), /*#__PURE__*/React__default["default"].createElement(ModalDialogTitle, {
@@ -29395,7 +29325,7 @@
29395
29325
  __self: this,
29396
29326
  __source: {
29397
29327
  fileName: _jsxFileName$9,
29398
- lineNumber: 771,
29328
+ lineNumber: 768,
29399
29329
  columnNumber: 9
29400
29330
  }
29401
29331
  }, cropperTitle || t('cropperTitle', 'Potong Gambar')), /*#__PURE__*/React__default["default"].createElement(ModalDialogContent, {
@@ -29408,7 +29338,7 @@
29408
29338
  __self: this,
29409
29339
  __source: {
29410
29340
  fileName: _jsxFileName$9,
29411
- lineNumber: 774,
29341
+ lineNumber: 771,
29412
29342
  columnNumber: 9
29413
29343
  }
29414
29344
  }, /*#__PURE__*/React__default["default"].createElement(ReactCrop__default["default"], {
@@ -29419,7 +29349,7 @@
29419
29349
  __self: this,
29420
29350
  __source: {
29421
29351
  fileName: _jsxFileName$9,
29422
- lineNumber: 775,
29352
+ lineNumber: 772,
29423
29353
  columnNumber: 11
29424
29354
  }
29425
29355
  }, /*#__PURE__*/React__default["default"].createElement(Image, {
@@ -29433,14 +29363,14 @@
29433
29363
  __self: this,
29434
29364
  __source: {
29435
29365
  fileName: _jsxFileName$9,
29436
- lineNumber: 776,
29366
+ lineNumber: 773,
29437
29367
  columnNumber: 13
29438
29368
  }
29439
29369
  }))), /*#__PURE__*/React__default["default"].createElement(ModalDialogFooter, {
29440
29370
  __self: this,
29441
29371
  __source: {
29442
29372
  fileName: _jsxFileName$9,
29443
- lineNumber: 787,
29373
+ lineNumber: 784,
29444
29374
  columnNumber: 9
29445
29375
  }
29446
29376
  }, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -29452,14 +29382,14 @@
29452
29382
  __self: this,
29453
29383
  __source: {
29454
29384
  fileName: _jsxFileName$9,
29455
- lineNumber: 788,
29385
+ lineNumber: 785,
29456
29386
  columnNumber: 11
29457
29387
  }
29458
29388
  }, hiddenToggleAspect ? /*#__PURE__*/React__default["default"].createElement(Box, {
29459
29389
  __self: this,
29460
29390
  __source: {
29461
29391
  fileName: _jsxFileName$9,
29462
- lineNumber: 790,
29392
+ lineNumber: 787,
29463
29393
  columnNumber: 15
29464
29394
  }
29465
29395
  }) : /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
@@ -29467,7 +29397,7 @@
29467
29397
  __self: this,
29468
29398
  __source: {
29469
29399
  fileName: _jsxFileName$9,
29470
- lineNumber: 792,
29400
+ lineNumber: 789,
29471
29401
  columnNumber: 15
29472
29402
  }
29473
29403
  }, /*#__PURE__*/React__default["default"].createElement(icons.ImageOutline, {
@@ -29479,7 +29409,7 @@
29479
29409
  __self: this,
29480
29410
  __source: {
29481
29411
  fileName: _jsxFileName$9,
29482
- lineNumber: 793,
29412
+ lineNumber: 790,
29483
29413
  columnNumber: 17
29484
29414
  }
29485
29415
  })), /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -29487,7 +29417,7 @@
29487
29417
  __self: this,
29488
29418
  __source: {
29489
29419
  fileName: _jsxFileName$9,
29490
- lineNumber: 800,
29420
+ lineNumber: 797,
29491
29421
  columnNumber: 13
29492
29422
  }
29493
29423
  }, /*#__PURE__*/React__default["default"].createElement(Button$4, {
@@ -29496,7 +29426,7 @@
29496
29426
  __self: this,
29497
29427
  __source: {
29498
29428
  fileName: _jsxFileName$9,
29499
- lineNumber: 801,
29429
+ lineNumber: 798,
29500
29430
  columnNumber: 15
29501
29431
  }
29502
29432
  }, t('label.cancel', 'Batal', {
@@ -29506,7 +29436,7 @@
29506
29436
  __self: this,
29507
29437
  __source: {
29508
29438
  fileName: _jsxFileName$9,
29509
- lineNumber: 804,
29439
+ lineNumber: 801,
29510
29440
  columnNumber: 15
29511
29441
  }
29512
29442
  }, t('save', 'Simpan', {
@@ -29523,7 +29453,7 @@
29523
29453
  __self: undefined,
29524
29454
  __source: {
29525
29455
  fileName: _jsxFileName$9,
29526
- lineNumber: 813,
29456
+ lineNumber: 810,
29527
29457
  columnNumber: 5
29528
29458
  }
29529
29459
  }, !isFile && renderPicture(), isFile && renderFile(), progress || isLoading ? /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
@@ -29532,7 +29462,7 @@
29532
29462
  __self: undefined,
29533
29463
  __source: {
29534
29464
  fileName: _jsxFileName$9,
29535
- lineNumber: 816,
29465
+ lineNumber: 813,
29536
29466
  columnNumber: 32
29537
29467
  }
29538
29468
  }) : renderUpload(), showCropper && renderCropper());
@@ -30341,7 +30271,7 @@
30341
30271
  };
30342
30272
  Device.displayName = 'DevicePreview';
30343
30273
 
30344
- var _jsxFileName$8 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
30274
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
30345
30275
  const Separator$1 = styled('div', {
30346
30276
  height: 20,
30347
30277
  width: 1,
@@ -30494,7 +30424,7 @@
30494
30424
 
30495
30425
  var img$d = "data:image/gif;base64,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";
30496
30426
 
30497
- var _jsxFileName$7 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
30427
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
30498
30428
  const Container$7 = styled('div', {
30499
30429
  userSelect: 'none',
30500
30430
  margin: 'auto',
@@ -32455,7 +32385,7 @@
32455
32385
  })));
32456
32386
  }
32457
32387
 
32458
- var _jsxFileName$6 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
32388
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
32459
32389
  const CheckBoard = styled(Flex$1, {
32460
32390
  background: '$bgwhite',
32461
32391
  border: '1px solid #E5E7EB',
@@ -32656,7 +32586,7 @@
32656
32586
  }, "%")));
32657
32587
  }
32658
32588
 
32659
- var _jsxFileName$5 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32589
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32660
32590
  const Container$6 = styled(Flex$1, {
32661
32591
  background: '$white',
32662
32592
  padding: 16,
@@ -33176,7 +33106,7 @@
33176
33106
  };
33177
33107
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
33178
33108
 
33179
- var _jsxFileName$4 = "/Users/majoo/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
33109
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
33180
33110
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
33181
33111
  const Stepper = StepWizard__default["default"];
33182
33112
  Stepper.displayName = 'Stepper';
@@ -33899,7 +33829,7 @@
33899
33829
  isLazyMount: true
33900
33830
  };
33901
33831
 
33902
- var _jsxFileName$3 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33832
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33903
33833
  function Collapse({
33904
33834
  children,
33905
33835
  isOpen
@@ -33942,7 +33872,7 @@
33942
33872
  isOpen: false
33943
33873
  };
33944
33874
 
33945
- var _jsxFileName$2 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33875
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33946
33876
  const DesktopContainer = styled(Flex$1, {
33947
33877
  display: 'none',
33948
33878
  '& .active-scroll-spy': {
@@ -34303,7 +34233,7 @@
34303
34233
  useBoxMethod: true
34304
34234
  };
34305
34235
 
34306
- var _jsxFileName$1 = "/Users/majoo/majoo-ui/packages/react/src/components/editableTable/transition.js";
34236
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
34307
34237
  function Collapalse({
34308
34238
  children,
34309
34239
  isOpen
@@ -52585,11 +52515,234 @@
52585
52515
  }, void 0)]
52586
52516
  }), void 0);
52587
52517
  }
52518
+ var rotateKeyframe = keyframes({
52519
+ '100%': {
52520
+ transform: 'rotate(360deg)'
52521
+ }
52522
+ });
52523
+ var dashKeyframe = keyframes({
52524
+ '0%': {
52525
+ strokeDasharray: '0,125',
52526
+ strokeDashoffset: -8
52527
+ },
52528
+ '50%': {
52529
+ strokeDasharray: 125,
52530
+ strokeDashoffset: -10
52531
+ },
52532
+ '100%': {
52533
+ strokeDasharray: 125,
52534
+ strokeDashoffset: -125
52535
+ }
52536
+ });
52537
+ var LoadingContainer = react.styled('div', {
52538
+ position: 'absolute',
52539
+ width: 152,
52540
+ height: 152,
52541
+ top: '50%',
52542
+ left: '50%',
52543
+ transform: 'translate(-50%,-50%)'
52544
+ });
52545
+ var LogoSvg = react.styled('svg', {
52546
+ height: 152,
52547
+ position: 'absolute',
52548
+ width: 152
52549
+ });
52550
+ var LoadingSvg = react.styled('svg', {
52551
+ animation: "".concat(rotateKeyframe, " 2s linear infinite"),
52552
+ height: 152,
52553
+ position: 'absolute',
52554
+ width: 152,
52555
+ top: '-22px'
52556
+ });
52557
+ var LoadingBackground = react.styled('div', {
52558
+ background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
52559
+ width: '100%',
52560
+ height: '100%'
52561
+ });
52562
+ var LoadingCircle = react.styled('circle', {
52563
+ stroke: 'white',
52564
+ strokeLinecap: 'round',
52565
+ transformOrigin: '50% 50%',
52566
+ transform: 'rotate(-102deg)',
52567
+ animation: "".concat(dashKeyframe, " 1.5s ease-in-out infinite")
52568
+ });
52569
+ var LoadingLabel = react.styled(Paragraph, {
52570
+ position: 'relative',
52571
+ top: 100
52572
+ });
52573
+ function CircularLoadingBar(_a) {
52574
+ var label = _a.label;
52575
+ return jsxRuntime.jsxs(LoadingContainer, {
52576
+ children: [jsxRuntime.jsxs(LogoSvg, __assign({
52577
+ xmlns: "http://www.w3.org/2000/svg",
52578
+ width: "152",
52579
+ height: "152",
52580
+ viewBox: "0 0 152 152",
52581
+ fill: "none"
52582
+ }, {
52583
+ children: [jsxRuntime.jsxs("g", __assign({
52584
+ filter: "url(#filter0_ddd_4303_695)"
52585
+ }, {
52586
+ children: [jsxRuntime.jsx("rect", {
52587
+ x: "46.0004",
52588
+ y: "23.9999",
52589
+ width: "60",
52590
+ height: "60",
52591
+ rx: "30",
52592
+ fill: "url(#paint0_linear_4303_695)"
52593
+ }, void 0), jsxRuntime.jsx("rect", {
52594
+ x: "46",
52595
+ y: "24",
52596
+ width: "60",
52597
+ height: "60",
52598
+ rx: "30",
52599
+ stroke: "url(#paint1_linear_4303_695)",
52600
+ "stroke-opacity": "0.99",
52601
+ "stroke-width": "5"
52602
+ }, void 0), jsxRuntime.jsx("path", {
52603
+ "fill-rule": "evenodd",
52604
+ "clip-rule": "evenodd",
52605
+ 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",
52606
+ fill: "white"
52607
+ }, void 0)]
52608
+ }), void 0), jsxRuntime.jsxs("defs", {
52609
+ children: [jsxRuntime.jsxs("filter", __assign({
52610
+ id: "filter0_ddd_4303_695",
52611
+ x: "0.5",
52612
+ y: "0.5",
52613
+ width: "151",
52614
+ height: "151",
52615
+ filterUnits: "userSpaceOnUse",
52616
+ "color-interpolation-filters": "sRGB"
52617
+ }, {
52618
+ children: [jsxRuntime.jsx("feFlood", {
52619
+ "flood-opacity": "0",
52620
+ result: "BackgroundImageFix"
52621
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52622
+ in: "SourceAlpha",
52623
+ type: "matrix",
52624
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52625
+ result: "hardAlpha"
52626
+ }, void 0), jsxRuntime.jsx("feOffset", {
52627
+ dy: "22"
52628
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52629
+ stdDeviation: "21.5"
52630
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52631
+ type: "matrix",
52632
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
52633
+ }, void 0), jsxRuntime.jsx("feBlend", {
52634
+ mode: "normal",
52635
+ in2: "BackgroundImageFix",
52636
+ result: "effect1_dropShadow_4303_695"
52637
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52638
+ in: "SourceAlpha",
52639
+ type: "matrix",
52640
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52641
+ result: "hardAlpha"
52642
+ }, void 0), jsxRuntime.jsx("feOffset", {
52643
+ dy: "9"
52644
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52645
+ stdDeviation: "12"
52646
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52647
+ type: "matrix",
52648
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
52649
+ }, void 0), jsxRuntime.jsx("feBlend", {
52650
+ mode: "normal",
52651
+ in2: "effect1_dropShadow_4303_695",
52652
+ result: "effect2_dropShadow_4303_695"
52653
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52654
+ in: "SourceAlpha",
52655
+ type: "matrix",
52656
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52657
+ result: "hardAlpha"
52658
+ }, void 0), jsxRuntime.jsx("feOffset", {
52659
+ dy: "3"
52660
+ }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52661
+ stdDeviation: "4.5"
52662
+ }, void 0), jsxRuntime.jsx("feColorMatrix", {
52663
+ type: "matrix",
52664
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
52665
+ }, void 0), jsxRuntime.jsx("feBlend", {
52666
+ mode: "normal",
52667
+ in2: "effect2_dropShadow_4303_695",
52668
+ result: "effect3_dropShadow_4303_695"
52669
+ }, void 0), jsxRuntime.jsx("feBlend", {
52670
+ mode: "normal",
52671
+ in: "SourceGraphic",
52672
+ in2: "effect3_dropShadow_4303_695",
52673
+ result: "shape"
52674
+ }, void 0)]
52675
+ }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52676
+ id: "paint0_linear_4303_695",
52677
+ x1: "76.0004",
52678
+ y1: "23.9999",
52679
+ x2: "76.0004",
52680
+ y2: "83.9999",
52681
+ gradientUnits: "userSpaceOnUse"
52682
+ }, {
52683
+ children: [jsxRuntime.jsx("stop", {
52684
+ "stop-color": "#B3DCA7"
52685
+ }, void 0), jsxRuntime.jsx("stop", {
52686
+ offset: "1",
52687
+ "stop-color": "#22BDB6"
52688
+ }, void 0)]
52689
+ }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52690
+ id: "paint1_linear_4303_695",
52691
+ x1: "106",
52692
+ y1: "68.8332",
52693
+ x2: "50",
52694
+ y2: "37.3332",
52695
+ gradientUnits: "userSpaceOnUse"
52696
+ }, {
52697
+ children: [jsxRuntime.jsx("stop", {
52698
+ "stop-color": "#F4F4F4"
52699
+ }, void 0), jsxRuntime.jsx("stop", {
52700
+ offset: "1",
52701
+ "stop-color": "white"
52702
+ }, void 0)]
52703
+ }), void 0)]
52704
+ }, void 0)]
52705
+ }), void 0), jsxRuntime.jsxs(LoadingSvg, __assign({
52706
+ viewBox: "0 0 100 100",
52707
+ xmlns: "http://www.w3.org/2000/svg"
52708
+ }, {
52709
+ children: [jsxRuntime.jsx("defs", {
52710
+ children: jsxRuntime.jsx("mask", __assign({
52711
+ id: "mask"
52712
+ }, {
52713
+ children: jsxRuntime.jsx(LoadingCircle, {
52714
+ cx: "50",
52715
+ cy: "50",
52716
+ r: "20",
52717
+ fill: "none",
52718
+ "stroke-width": "4",
52719
+ "stroke-miterlimit": "10"
52720
+ }, void 0)
52721
+ }), void 0)
52722
+ }, void 0), jsxRuntime.jsx("foreignObject", __assign({
52723
+ x: "0",
52724
+ y: "0",
52725
+ width: "100",
52726
+ height: "100",
52727
+ mask: "url(#mask)"
52728
+ }, {
52729
+ children: jsxRuntime.jsx(LoadingBackground, {}, void 0)
52730
+ }), void 0)]
52731
+ }), void 0), label && jsxRuntime.jsx(LoadingLabel, __assign({
52732
+ color: "white",
52733
+ align: "center"
52734
+ }, {
52735
+ children: label
52736
+ }), void 0)]
52737
+ }, void 0);
52738
+ }
52588
52739
  var interval;
52589
52740
  function LoadingBar(props) {
52590
52741
  var show = props.show,
52591
52742
  onCompleted = props.onCompleted,
52592
- intervalTime = props.interval;
52743
+ intervalTime = props.interval,
52744
+ isPageLoader = props.isPageLoader,
52745
+ pageLoaderLabel = props.pageLoaderLabel;
52593
52746
  var _a = React.useState(0),
52594
52747
  progress = _a[0],
52595
52748
  setProgress = _a[1];
@@ -52622,6 +52775,34 @@
52622
52775
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52623
52776
  }
52624
52777
  }, [progress, onCompleted]);
52778
+ if (!show) return jsxRuntime.jsx(React__default["default"].Fragment, {}, void 0);
52779
+ if (isPageLoader) {
52780
+ return jsxRuntime.jsx(ModalDialog, __assign({
52781
+ open: show,
52782
+ modal: true,
52783
+ allowPinchZoom: false,
52784
+ width: "100%",
52785
+ layer: 2000,
52786
+ isMobile: false,
52787
+ css: {
52788
+ borderRadius: '2px !important',
52789
+ '& > div': {
52790
+ backgroundColor: 'transparent !important',
52791
+ borderRadius: '2px !important'
52792
+ }
52793
+ }
52794
+ }, {
52795
+ children: jsxRuntime.jsx(ModalDialogContent, __assign({
52796
+ css: {
52797
+ padding: '$spacing-08 $spacing-11'
52798
+ }
52799
+ }, {
52800
+ children: jsxRuntime.jsx(CircularLoadingBar, {
52801
+ label: pageLoaderLabel
52802
+ }, void 0)
52803
+ }), void 0)
52804
+ }), void 0);
52805
+ }
52625
52806
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
52626
52807
  visibility: true
52627
52808
  }), void 0) : jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
@@ -52634,7 +52815,8 @@
52634
52815
  show: false,
52635
52816
  interval: 100,
52636
52817
  description: 'Loading...',
52637
- size: 'md'
52818
+ size: 'md',
52819
+ isPageLoader: false
52638
52820
  };
52639
52821
 
52640
52822
  var Container$4 = styled(Flex$1, {
@@ -53817,7 +53999,6 @@
53817
53999
  label: tooltipLabel(name, variants)
53818
54000
  }, {
53819
54001
  children: jsxRuntime.jsxs(Box, __assign({
53820
- gap: 2,
53821
54002
  css: __assign({
53822
54003
  display: 'flex',
53823
54004
  alignItems: 'center',
@@ -53865,7 +54046,7 @@
53865
54046
  padding: '4px 8px',
53866
54047
  minWidth: 'unset',
53867
54048
  justifyContent: 'flex-start',
53868
- mr: 'auto'
54049
+ marginRight: 'auto'
53869
54050
  },
53870
54051
  type: "varian"
53871
54052
  }, {
@@ -56018,7 +56199,7 @@
56018
56199
  innerRadius: 70
56019
56200
  };
56020
56201
 
56021
- var _jsxFileName = "/Users/majoo/majoo-ui/packages/react/src/colors/Colors.js";
56202
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
56022
56203
  const StyledPaper = styled(Paper, {
56023
56204
  borderRadius: '10px 10px 0 0',
56024
56205
  padding: 15,
@@ -57683,6 +57864,7 @@
57683
57864
  exports.PriceColumn = PriceColumn;
57684
57865
  exports.Progress = Progress$1;
57685
57866
  exports.ProgressIndicator = ProgressIndicator;
57867
+ exports.Provider = Provider;
57686
57868
  exports.RANGE_CONTROL = RANGE_CONTROL;
57687
57869
  exports.RANGE_MONTH = RANGE_MONTH;
57688
57870
  exports.RANGE_PICKER = RANGE_PICKER;
@@ -57743,6 +57925,9 @@
57743
57925
  exports.ToastContext = ToastContext;
57744
57926
  exports.ToastProvider = ToastProvider;
57745
57927
  exports.Tooltip = Tooltip$1;
57928
+ exports.TooltipBase = TooltipBase;
57929
+ exports.TooltipContent = TooltipContent;
57930
+ exports.TooltipTrigger = TooltipTrigger;
57746
57931
  exports.UPDATE_PICKER = UPDATE_PICKER;
57747
57932
  exports.Upload = Upload;
57748
57933
  exports.WEEKLY = WEEKLY;