@majoo-ui/react 1.60.5-rc.3 → 1.60.5

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('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';
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';
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$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
60
+ var _jsxFileName$12 = "/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$$,
69
+ fileName: _jsxFileName$12,
70
70
  lineNumber: 5,
71
71
  columnNumber: 10
72
72
  }
@@ -1503,7 +1503,7 @@
1503
1503
  globalStyles();
1504
1504
  };
1505
1505
 
1506
- var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
1506
+ var _jsxFileName$11 = "/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$_,
1522
+ fileName: _jsxFileName$11,
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
- var Box = styled('div', {
1535
+ const 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
- var Flex$1 = styled('div', {
1566
+ const Flex$1 = styled('div', {
1567
1567
  display: 'flex',
1568
1568
  variants: {
1569
1569
  direction: {
@@ -1628,48 +1628,30 @@
1628
1628
  flexWrap: 'wrap-reverse'
1629
1629
  }
1630
1630
  },
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),
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),
1673
1655
  mobileOnly: {
1674
1656
  true: {
1675
1657
  '@lg': {
@@ -1687,278 +1669,29 @@
1687
1669
  }
1688
1670
  }
1689
1671
  });
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
+ };
1690
1686
  Flex$1.defaultProps = {
1691
1687
  direction: 'row',
1692
1688
  align: 'stretch',
1693
1689
  justify: 'start',
1694
- wrap: 'noWrap'
1690
+ wrap: 'noWrap',
1691
+ gap: 0
1695
1692
  };
1696
1693
  Flex$1.displayName = 'Flex';
1697
1694
 
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
-
1962
1695
  function _extends() {
1963
1696
  _extends = Object.assign ? Object.assign.bind() : function (target) {
1964
1697
  for (var i = 1; i < arguments.length; i++) {
@@ -1989,8 +1722,279 @@
1989
1722
  return target;
1990
1723
  }
1991
1724
 
1992
- const _excluded$y = ["children", "isCollapse", "css", "contentHeader"];
1993
- var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1725
+ const _excluded$B = ["children"],
1726
+ _excluded2$4 = ["children"];
1727
+ var _jsxFileName$10 = "/home/alfiantryp/Project/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$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
1994
1998
  const StyledDiv$2 = styled(Flex$1, {
1995
1999
  justifyContent: 'center',
1996
2000
  marginLeft: 'auto',
@@ -2033,7 +2037,7 @@
2033
2037
  css,
2034
2038
  contentHeader
2035
2039
  } = _ref,
2036
- props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
2040
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2037
2041
  return /*#__PURE__*/React__default["default"].createElement(StyledDiv$2, _extends({
2038
2042
  id: "retina-container",
2039
2043
  css: Object.assign({
@@ -2042,7 +2046,7 @@
2042
2046
  }, props, {
2043
2047
  __self: undefined,
2044
2048
  __source: {
2045
- fileName: _jsxFileName$Z,
2049
+ fileName: _jsxFileName$$,
2046
2050
  lineNumber: 43,
2047
2051
  columnNumber: 5
2048
2052
  }
@@ -2456,8 +2460,8 @@
2456
2460
  }), void 0);
2457
2461
  });
2458
2462
 
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";
2463
+ const _excluded$z = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock", "icon"];
2464
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
2461
2465
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
2462
2466
  const StyledBanner = styled(Flex$1, {
2463
2467
  maxWidth: '100%',
@@ -2559,7 +2563,7 @@
2559
2563
  }, props, {
2560
2564
  __self: undefined,
2561
2565
  __source: {
2562
- fileName: _jsxFileName$Y,
2566
+ fileName: _jsxFileName$_,
2563
2567
  lineNumber: 111,
2564
2568
  columnNumber: 3
2565
2569
  }
@@ -2580,7 +2584,7 @@
2580
2584
  }, props, {
2581
2585
  __self: undefined,
2582
2586
  __source: {
2583
- fileName: _jsxFileName$Y,
2587
+ fileName: _jsxFileName$_,
2584
2588
  lineNumber: 128,
2585
2589
  columnNumber: 3
2586
2590
  }
@@ -2616,7 +2620,7 @@
2616
2620
  return /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2617
2621
  __self: undefined,
2618
2622
  __source: {
2619
- fileName: _jsxFileName$Y,
2623
+ fileName: _jsxFileName$_,
2620
2624
  lineNumber: 159,
2621
2625
  columnNumber: 5
2622
2626
  }
@@ -2628,7 +2632,7 @@
2628
2632
  color: variant ? generateVariant(variant) : generateVariant(value.variant),
2629
2633
  __self: undefined,
2630
2634
  __source: {
2631
- fileName: _jsxFileName$Y,
2635
+ fileName: _jsxFileName$_,
2632
2636
  lineNumber: 161,
2633
2637
  columnNumber: 9
2634
2638
  }
@@ -2654,7 +2658,7 @@
2654
2658
  const BannerClose = () => /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
2655
2659
  __self: undefined,
2656
2660
  __source: {
2657
- fileName: _jsxFileName$Y,
2661
+ fileName: _jsxFileName$_,
2658
2662
  lineNumber: 193,
2659
2663
  columnNumber: 3
2660
2664
  }
@@ -2666,7 +2670,7 @@
2666
2670
  },
2667
2671
  __self: undefined,
2668
2672
  __source: {
2669
- fileName: _jsxFileName$Y,
2673
+ fileName: _jsxFileName$_,
2670
2674
  lineNumber: 195,
2671
2675
  columnNumber: 7
2672
2676
  }
@@ -2675,7 +2679,7 @@
2675
2679
  size: "16px",
2676
2680
  __self: undefined,
2677
2681
  __source: {
2678
- fileName: _jsxFileName$Y,
2682
+ fileName: _jsxFileName$_,
2679
2683
  lineNumber: 202,
2680
2684
  columnNumber: 9
2681
2685
  }
@@ -2686,14 +2690,14 @@
2686
2690
  direction: "column",
2687
2691
  __self: undefined,
2688
2692
  __source: {
2689
- fileName: _jsxFileName$Y,
2693
+ fileName: _jsxFileName$_,
2690
2694
  lineNumber: 210,
2691
2695
  columnNumber: 5
2692
2696
  }
2693
2697
  }, /*#__PURE__*/React__namespace.createElement(Flex$1, {
2694
2698
  __self: undefined,
2695
2699
  __source: {
2696
- fileName: _jsxFileName$Y,
2700
+ fileName: _jsxFileName$_,
2697
2701
  lineNumber: 211,
2698
2702
  columnNumber: 7
2699
2703
  }
@@ -2702,7 +2706,7 @@
2702
2706
  direction: "row",
2703
2707
  __self: undefined,
2704
2708
  __source: {
2705
- fileName: _jsxFileName$Y,
2709
+ fileName: _jsxFileName$_,
2706
2710
  lineNumber: 212,
2707
2711
  columnNumber: 9
2708
2712
  }
@@ -2712,7 +2716,7 @@
2712
2716
  },
2713
2717
  __self: undefined,
2714
2718
  __source: {
2715
- fileName: _jsxFileName$Y,
2719
+ fileName: _jsxFileName$_,
2716
2720
  lineNumber: 213,
2717
2721
  columnNumber: 27
2718
2722
  }
@@ -2725,21 +2729,21 @@
2725
2729
  },
2726
2730
  __self: undefined,
2727
2731
  __source: {
2728
- fileName: _jsxFileName$Y,
2732
+ fileName: _jsxFileName$_,
2729
2733
  lineNumber: 214,
2730
2734
  columnNumber: 11
2731
2735
  }
2732
2736
  }, props.title && /*#__PURE__*/React__namespace.createElement(BannerTitle, {
2733
2737
  __self: undefined,
2734
2738
  __source: {
2735
- fileName: _jsxFileName$Y,
2739
+ fileName: _jsxFileName$_,
2736
2740
  lineNumber: 222,
2737
2741
  columnNumber: 29
2738
2742
  }
2739
2743
  }, props.title), props.description && /*#__PURE__*/React__namespace.createElement(BannerDescription, {
2740
2744
  __self: undefined,
2741
2745
  __source: {
2742
- fileName: _jsxFileName$Y,
2746
+ fileName: _jsxFileName$_,
2743
2747
  lineNumber: 223,
2744
2748
  columnNumber: 35
2745
2749
  }
@@ -2752,7 +2756,7 @@
2752
2756
  closeCenter: !props.title && !props.link,
2753
2757
  __self: undefined,
2754
2758
  __source: {
2755
- fileName: _jsxFileName$Y,
2759
+ fileName: _jsxFileName$_,
2756
2760
  lineNumber: 226,
2757
2761
  columnNumber: 9
2758
2762
  }
@@ -2761,7 +2765,7 @@
2761
2765
  size: "16px",
2762
2766
  __self: undefined,
2763
2767
  __source: {
2764
- fileName: _jsxFileName$Y,
2768
+ fileName: _jsxFileName$_,
2765
2769
  lineNumber: 234,
2766
2770
  columnNumber: 11
2767
2771
  }
@@ -2774,7 +2778,7 @@
2774
2778
  variant: props.variant,
2775
2779
  __self: undefined,
2776
2780
  __source: {
2777
- fileName: _jsxFileName$Y,
2781
+ fileName: _jsxFileName$_,
2778
2782
  lineNumber: 238,
2779
2783
  columnNumber: 9
2780
2784
  }
@@ -2793,7 +2797,7 @@
2793
2797
  bannerBlock,
2794
2798
  icon
2795
2799
  } = _ref,
2796
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
2800
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2797
2801
  return /*#__PURE__*/React__namespace.createElement(StyledBanner, _extends({
2798
2802
  variant: variant,
2799
2803
  hasAction: !!onClick,
@@ -2802,7 +2806,7 @@
2802
2806
  }, rest, {
2803
2807
  __self: undefined,
2804
2808
  __source: {
2805
- fileName: _jsxFileName$Y,
2809
+ fileName: _jsxFileName$_,
2806
2810
  lineNumber: 260,
2807
2811
  columnNumber: 5
2808
2812
  }
@@ -2819,7 +2823,7 @@
2819
2823
  },
2820
2824
  __self: undefined,
2821
2825
  __source: {
2822
- fileName: _jsxFileName$Y,
2826
+ fileName: _jsxFileName$_,
2823
2827
  lineNumber: 262,
2824
2828
  columnNumber: 9
2825
2829
  }
@@ -2830,7 +2834,7 @@
2830
2834
  },
2831
2835
  __self: undefined,
2832
2836
  __source: {
2833
- fileName: _jsxFileName$Y,
2837
+ fileName: _jsxFileName$_,
2834
2838
  lineNumber: 269,
2835
2839
  columnNumber: 11
2836
2840
  }
@@ -2845,7 +2849,7 @@
2845
2849
  onRemove: onRemove,
2846
2850
  __self: undefined,
2847
2851
  __source: {
2848
- fileName: _jsxFileName$Y,
2852
+ fileName: _jsxFileName$_,
2849
2853
  lineNumber: 272,
2850
2854
  columnNumber: 9
2851
2855
  }
@@ -3455,8 +3459,8 @@
3455
3459
  Card.Label = StyledLabel$2;
3456
3460
  Card.Description = StyledDescription$3;
3457
3461
 
3458
- const _excluded$w = ["children"];
3459
- var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3462
+ const _excluded$y = ["children"];
3463
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3460
3464
  const BreadcrumbStyle = styled('nav', {
3461
3465
  wordWrap: 'break-word',
3462
3466
  '& li+li:before': {
@@ -3501,7 +3505,7 @@
3501
3505
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
3502
3506
  __self: undefined,
3503
3507
  __source: {
3504
- fileName: _jsxFileName$X,
3508
+ fileName: _jsxFileName$Z,
3505
3509
  lineNumber: 42,
3506
3510
  columnNumber: 10
3507
3511
  }
@@ -3511,19 +3515,19 @@
3511
3515
  let {
3512
3516
  children
3513
3517
  } = _ref,
3514
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3518
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3515
3519
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbStyle, _extends({}, rest, {
3516
3520
  "aria-label": "breadcrumb",
3517
3521
  __self: undefined,
3518
3522
  __source: {
3519
- fileName: _jsxFileName$X,
3523
+ fileName: _jsxFileName$Z,
3520
3524
  lineNumber: 47,
3521
3525
  columnNumber: 5
3522
3526
  }
3523
3527
  }), /*#__PURE__*/React__default["default"].createElement(Ol, {
3524
3528
  __self: undefined,
3525
3529
  __source: {
3526
- fileName: _jsxFileName$X,
3530
+ fileName: _jsxFileName$Z,
3527
3531
  lineNumber: 48,
3528
3532
  columnNumber: 7
3529
3533
  }
@@ -3773,8 +3777,8 @@
3773
3777
  };
3774
3778
  Badge.displayName = 'Badge';
3775
3779
 
3776
- const _excluded$v = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3777
- var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3780
+ const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3781
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3778
3782
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
3779
3783
  width: '32px',
3780
3784
  height: '32px',
@@ -3818,7 +3822,7 @@
3818
3822
  onClick,
3819
3823
  css
3820
3824
  } = _ref,
3821
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3825
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3822
3826
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
3823
3827
  className: className,
3824
3828
  onClick: onClick,
@@ -3826,7 +3830,7 @@
3826
3830
  }, props, {
3827
3831
  __self: this,
3828
3832
  __source: {
3829
- fileName: _jsxFileName$W,
3833
+ fileName: _jsxFileName$Y,
3830
3834
  lineNumber: 46,
3831
3835
  columnNumber: 5
3832
3836
  }
@@ -3836,7 +3840,7 @@
3836
3840
  onLoadingStatusChange: onLoadingStatusChange,
3837
3841
  __self: this,
3838
3842
  __source: {
3839
- fileName: _jsxFileName$W,
3843
+ fileName: _jsxFileName$Y,
3840
3844
  lineNumber: 47,
3841
3845
  columnNumber: 21
3842
3846
  }
@@ -3844,21 +3848,21 @@
3844
3848
  delayMs: delayMs,
3845
3849
  __self: this,
3846
3850
  __source: {
3847
- fileName: _jsxFileName$W,
3851
+ fileName: _jsxFileName$Y,
3848
3852
  lineNumber: 48,
3849
3853
  columnNumber: 7
3850
3854
  }
3851
3855
  }, children !== undefined ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children) : /*#__PURE__*/React__default["default"].createElement(StyledIcon, {
3852
3856
  __self: this,
3853
3857
  __source: {
3854
- fileName: _jsxFileName$W,
3858
+ fileName: _jsxFileName$Y,
3855
3859
  lineNumber: 52,
3856
3860
  columnNumber: 11
3857
3861
  }
3858
3862
  }, /*#__PURE__*/React__default["default"].createElement(icons.UserFilled, {
3859
3863
  __self: this,
3860
3864
  __source: {
3861
- fileName: _jsxFileName$W,
3865
+ fileName: _jsxFileName$Y,
3862
3866
  lineNumber: 53,
3863
3867
  columnNumber: 13
3864
3868
  }
@@ -3875,8 +3879,8 @@
3875
3879
  delayMs: 0
3876
3880
  };
3877
3881
 
3878
- const _excluded$u = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3879
- var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3882
+ const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3883
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3880
3884
  const ContainerFallback = styled(Flex$1, {
3881
3885
  boxSizing: 'border-box',
3882
3886
  border: '2px dashed #C0C4C4',
@@ -3925,7 +3929,7 @@
3925
3929
  cssFallback,
3926
3930
  rounded
3927
3931
  } = _ref,
3928
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3932
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3929
3933
  const {
3930
3934
  t
3931
3935
  } = reactI18next.useTranslation('translation');
@@ -3944,7 +3948,7 @@
3944
3948
  }, props, {
3945
3949
  __self: this,
3946
3950
  __source: {
3947
- fileName: _jsxFileName$V,
3951
+ fileName: _jsxFileName$X,
3948
3952
  lineNumber: 61,
3949
3953
  columnNumber: 7
3950
3954
  }
@@ -3960,14 +3964,14 @@
3960
3964
  }, cssFallback),
3961
3965
  __self: this,
3962
3966
  __source: {
3963
- fileName: _jsxFileName$V,
3967
+ fileName: _jsxFileName$X,
3964
3968
  lineNumber: 75,
3965
3969
  columnNumber: 7
3966
3970
  }
3967
3971
  }, /*#__PURE__*/React__default["default"].createElement(TextFallback, {
3968
3972
  __self: this,
3969
3973
  __source: {
3970
- fileName: _jsxFileName$V,
3974
+ fileName: _jsxFileName$X,
3971
3975
  lineNumber: 76,
3972
3976
  columnNumber: 9
3973
3977
  }
@@ -4025,337 +4029,6 @@
4025
4029
  fallbackTitle: 'Tidak ada foto'
4026
4030
  };
4027
4031
 
4028
- var zIndices$2 = core.foundations.zIndices;
4029
- var slideUpAndFade$2 = keyframes({
4030
- '0%': {
4031
- opacity: 0,
4032
- transform: 'translateY(2px)'
4033
- },
4034
- '100%': {
4035
- opacity: 1,
4036
- transform: 'translateY(0)'
4037
- }
4038
- });
4039
- var slideRightAndFade$2 = keyframes({
4040
- '0%': {
4041
- opacity: 0,
4042
- transform: 'translateX(-2px)'
4043
- },
4044
- '100%': {
4045
- opacity: 1,
4046
- transform: 'translateX(0)'
4047
- }
4048
- });
4049
- var slideDownAndFade$2 = keyframes({
4050
- '0%': {
4051
- opacity: 0,
4052
- transform: 'translateY(-2px)'
4053
- },
4054
- '100%': {
4055
- opacity: 1,
4056
- transform: 'translateY(0)'
4057
- }
4058
- });
4059
- var slideLeftAndFade$2 = keyframes({
4060
- '0%': {
4061
- opacity: 0,
4062
- transform: 'translateX(2px)'
4063
- },
4064
- '100%': {
4065
- opacity: 1,
4066
- transform: 'translateX(0)'
4067
- }
4068
- });
4069
- var StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4070
- zIndex: zIndices$2.tooltip,
4071
- borderRadius: 8,
4072
- padding: '8px',
4073
- fontSize: '$helper',
4074
- letterSpacing: '$helper',
4075
- lineHeight: '$helper',
4076
- fontWeight: '400',
4077
- backgroundColor: '$white',
4078
- boxShadow: '$large',
4079
- '@media (prefers-reduced-motion: no-preference)': {
4080
- animationDuration: '400ms',
4081
- animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4082
- animationFillMode: 'forwards',
4083
- willChange: 'transform, opacity',
4084
- '&[data-state="delayed-open"]': {
4085
- '&[data-side="top"]': {
4086
- animationName: slideDownAndFade$2
4087
- },
4088
- '&[data-side="right"]': {
4089
- animationName: slideLeftAndFade$2
4090
- },
4091
- '&[data-side="bottom"]': {
4092
- animationName: slideUpAndFade$2
4093
- },
4094
- '&[data-side="left"]': {
4095
- animationName: slideRightAndFade$2
4096
- }
4097
- }
4098
- }
4099
- });
4100
- var TriggerSpan = styled('span', {
4101
- display: 'flex'
4102
- });
4103
- var StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4104
- boxShadow: '$large'
4105
- });
4106
- var TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4107
- defaultVariants: {
4108
- color: 'ligth'
4109
- }
4110
- });
4111
- // Exports
4112
- var Provider = TooltipPrimitive__namespace.Provider;
4113
- var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4114
- var TooltipContent = StyledContent$6;
4115
- var dark = {
4116
- color: core.foundations.colors.white,
4117
- backgroundColor: core.foundations.colors.gray800
4118
- };
4119
- var ligth = {
4120
- color: core.foundations.colors.textPrimary,
4121
- backgroundColor: core.foundations.colors.bgWhite
4122
- };
4123
- var darkArrow = {
4124
- fill: core.foundations.colors.gray800
4125
- };
4126
- var lightArrow = {
4127
- fill: core.foundations.colors.bgWhite
4128
- };
4129
- var Tooltip$1 = function Tooltip(_a) {
4130
- var children = _a.children,
4131
- label = _a.label,
4132
- color = _a.color,
4133
- css = _a.css,
4134
- withClick = _a.withClick,
4135
- side = _a.side,
4136
- align = _a.align,
4137
- delayDuration = _a.delayDuration,
4138
- rest = __rest(_a, ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"]);
4139
- var _b = React.useState(false),
4140
- open = _b[0],
4141
- setOpen = _b[1];
4142
- return jsxRuntime.jsx(Provider, {
4143
- children: jsxRuntime.jsxs(TooltipBase, __assign({}, rest, {
4144
- open: withClick ? open : undefined,
4145
- delayDuration: delayDuration
4146
- }, {
4147
- children: [jsxRuntime.jsx(TooltipTrigger, __assign({
4148
- asChild: true
4149
- }, {
4150
- children: jsxRuntime.jsx(TriggerSpan, __assign({
4151
- onClick: function () {
4152
- return withClick && !open && setOpen(true);
4153
- }
4154
- }, {
4155
- children: children
4156
- }), void 0)
4157
- }), void 0), jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, {
4158
- children: jsxRuntime.jsxs(StyledContent$6, __assign({
4159
- align: align,
4160
- side: side,
4161
- sideOffset: 5,
4162
- css: color === 'dark' ? __assign(__assign({}, dark), css) : __assign(__assign({}, ligth), css),
4163
- onPointerDownOutside: function () {
4164
- return setTimeout(function () {
4165
- setOpen(false);
4166
- }, 100);
4167
- }
4168
- }, {
4169
- children: [label, jsxRuntime.jsx(StyledArrow$1, {
4170
- offset: 10,
4171
- css: color === 'dark' ? darkArrow : lightArrow
4172
- }, void 0)]
4173
- }), void 0)
4174
- }, void 0)]
4175
- }), void 0)
4176
- }, void 0);
4177
- };
4178
- Tooltip$1.defaultProps = {
4179
- color: 'dark',
4180
- side: 'bottom',
4181
- align: 'center',
4182
- label: '',
4183
- children: jsxRuntime.jsx("div", {}, void 0),
4184
- delayDuration: 200
4185
- };
4186
-
4187
- const _excluded$t = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4188
- var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4189
- const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4190
- position: 'relative',
4191
- overflow: 'hidden',
4192
- background: '$chartLightGreen',
4193
- width: 'auto',
4194
- height: '12px',
4195
- variants: {
4196
- rounded: {
4197
- true: {
4198
- borderRadius: '100px'
4199
- }
4200
- },
4201
- color: {
4202
- green: {
4203
- backgroundColor: '$chartLightGreen'
4204
- },
4205
- orange: {
4206
- backgroundColor: '$chartLightOrange'
4207
- },
4208
- blue: {
4209
- backgroundColor: '$chartLightBlue'
4210
- },
4211
- purple: {
4212
- backgroundColor: '$chartLightPurple'
4213
- },
4214
- yellow: {
4215
- backgroundColor: '$chartLightYellow'
4216
- },
4217
- red: {
4218
- backgroundColor: '$chartLightRed'
4219
- },
4220
- dark: {
4221
- backgroundColor: '$chartLightGray'
4222
- }
4223
- },
4224
- size: {
4225
- xs: {
4226
- height: '4px'
4227
- },
4228
- sm: {
4229
- height: '8px'
4230
- },
4231
- m: {
4232
- height: '12px'
4233
- },
4234
- l: {
4235
- height: '16px'
4236
- },
4237
- xl: {
4238
- height: '20px'
4239
- }
4240
- }
4241
- }
4242
- });
4243
- const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4244
- backgroundColor: '$chartGreen',
4245
- height: '60%',
4246
- transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4247
- variants: {
4248
- rounded: {
4249
- true: {
4250
- borderRadius: '100px'
4251
- }
4252
- },
4253
- color: {
4254
- green: {
4255
- backgroundColor: '$chartGreen'
4256
- },
4257
- orange: {
4258
- backgroundColor: '$chartOrange'
4259
- },
4260
- blue: {
4261
- backgroundColor: '$chartBlue'
4262
- },
4263
- purple: {
4264
- backgroundColor: '$chartPurple'
4265
- },
4266
- yellow: {
4267
- backgroundColor: '$chartYellow'
4268
- },
4269
- red: {
4270
- backgroundColor: '$chartRed'
4271
- },
4272
- dark: {
4273
- backgroundColor: '$chartDark'
4274
- }
4275
- },
4276
- size: {
4277
- xs: {
4278
- height: '100%'
4279
- },
4280
- sm: {
4281
- height: '100%'
4282
- },
4283
- m: {
4284
- margin: "2px 2px 0"
4285
- },
4286
- l: {
4287
- margin: "3px 3px 0"
4288
- },
4289
- xl: {
4290
- margin: "4px 4px 0"
4291
- }
4292
- }
4293
- }
4294
- });
4295
- function Progress$1(_ref) {
4296
- let {
4297
- className,
4298
- value,
4299
- max,
4300
- getValueLabel,
4301
- color,
4302
- size,
4303
- rounded,
4304
- width
4305
- } = _ref,
4306
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4307
- return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4308
- className: className,
4309
- value: value,
4310
- max: max,
4311
- getValueLabel: getValueLabel,
4312
- color: color,
4313
- size: size,
4314
- rounded: rounded,
4315
- css: Object.assign({
4316
- width: width
4317
- }, props.css)
4318
- }, props, {
4319
- __self: this,
4320
- __source: {
4321
- fileName: _jsxFileName$U,
4322
- lineNumber: 88,
4323
- columnNumber: 5
4324
- }
4325
- }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4326
- color: color,
4327
- size: size,
4328
- rounded: rounded,
4329
- css: {
4330
- width: `${value}%`
4331
- },
4332
- __self: this,
4333
- __source: {
4334
- fileName: _jsxFileName$U,
4335
- lineNumber: 89,
4336
- columnNumber: 7
4337
- }
4338
- }));
4339
- }
4340
- Progress$1.propTypes = {
4341
- className: PropTypes__default["default"].string,
4342
- value: PropTypes__default["default"].number,
4343
- max: PropTypes__default["default"].number,
4344
- getValueLabel: PropTypes__default["default"].func,
4345
- color: PropTypes__default["default"].string,
4346
- size: PropTypes__default["default"].string,
4347
- rounded: PropTypes__default["default"].bool,
4348
- width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4349
- };
4350
- Progress$1.defaultProps = {
4351
- max: 100,
4352
- color: 'green',
4353
- size: 'm',
4354
- rounded: true
4355
- };
4356
-
4357
- const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4358
-
4359
4032
  var objectDefineProperties = {};
4360
4033
 
4361
4034
  var DESCRIPTORS$6 = descriptors;
@@ -4892,6 +4565,383 @@
4892
4565
 
4893
4566
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4894
4567
 
4568
+ const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4569
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4570
+ const {
4571
+ zIndices: zIndices$2
4572
+ } = core.foundations;
4573
+ const slideUpAndFade$2 = keyframes({
4574
+ '0%': {
4575
+ opacity: 0,
4576
+ transform: 'translateY(2px)'
4577
+ },
4578
+ '100%': {
4579
+ opacity: 1,
4580
+ transform: 'translateY(0)'
4581
+ }
4582
+ });
4583
+ const slideRightAndFade$2 = keyframes({
4584
+ '0%': {
4585
+ opacity: 0,
4586
+ transform: 'translateX(-2px)'
4587
+ },
4588
+ '100%': {
4589
+ opacity: 1,
4590
+ transform: 'translateX(0)'
4591
+ }
4592
+ });
4593
+ const slideDownAndFade$2 = keyframes({
4594
+ '0%': {
4595
+ opacity: 0,
4596
+ transform: 'translateY(-2px)'
4597
+ },
4598
+ '100%': {
4599
+ opacity: 1,
4600
+ transform: 'translateY(0)'
4601
+ }
4602
+ });
4603
+ const slideLeftAndFade$2 = keyframes({
4604
+ '0%': {
4605
+ opacity: 0,
4606
+ transform: 'translateX(2px)'
4607
+ },
4608
+ '100%': {
4609
+ opacity: 1,
4610
+ transform: 'translateX(0)'
4611
+ }
4612
+ });
4613
+ const StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4614
+ zIndex: zIndices$2.tooltip,
4615
+ borderRadius: 8,
4616
+ padding: '8px',
4617
+ fontSize: '$helper',
4618
+ letterSpacing: '$helper',
4619
+ lineHeight: '$helper',
4620
+ fontWeight: '400',
4621
+ backgroundColor: '$white',
4622
+ boxShadow: '$large',
4623
+ '@media (prefers-reduced-motion: no-preference)': {
4624
+ animationDuration: '400ms',
4625
+ animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4626
+ animationFillMode: 'forwards',
4627
+ willChange: 'transform, opacity',
4628
+ '&[data-state="delayed-open"]': {
4629
+ '&[data-side="top"]': {
4630
+ animationName: slideDownAndFade$2
4631
+ },
4632
+ '&[data-side="right"]': {
4633
+ animationName: slideLeftAndFade$2
4634
+ },
4635
+ '&[data-side="bottom"]': {
4636
+ animationName: slideUpAndFade$2
4637
+ },
4638
+ '&[data-side="left"]': {
4639
+ animationName: slideRightAndFade$2
4640
+ }
4641
+ }
4642
+ }
4643
+ });
4644
+ const TriggerSpan = styled('span', {
4645
+ display: 'flex'
4646
+ });
4647
+ const StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4648
+ boxShadow: '$large'
4649
+ });
4650
+ const TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4651
+ defaultVariants: {
4652
+ color: 'ligth'
4653
+ }
4654
+ });
4655
+
4656
+ // Exports
4657
+ const Provider = TooltipPrimitive__namespace.Provider;
4658
+ const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4659
+ const dark = {
4660
+ color: core.foundations.colors.white,
4661
+ backgroundColor: core.foundations.colors.gray800
4662
+ };
4663
+ const ligth = {
4664
+ color: core.foundations.colors.textPrimary,
4665
+ backgroundColor: core.foundations.colors.bgWhite
4666
+ };
4667
+ const darkArrow = {
4668
+ fill: core.foundations.colors.gray800
4669
+ };
4670
+ const lightArrow = {
4671
+ fill: core.foundations.colors.bgWhite
4672
+ };
4673
+ const Tooltip$1 = _ref => {
4674
+ let {
4675
+ children,
4676
+ label,
4677
+ color,
4678
+ css,
4679
+ withClick,
4680
+ side,
4681
+ align,
4682
+ delayDuration
4683
+ } = _ref,
4684
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4685
+ const [open, setOpen] = React.useState(false);
4686
+ return /*#__PURE__*/React__default["default"].createElement(Provider, {
4687
+ __self: undefined,
4688
+ __source: {
4689
+ fileName: _jsxFileName$W,
4690
+ lineNumber: 91,
4691
+ columnNumber: 5
4692
+ }
4693
+ }, /*#__PURE__*/React__default["default"].createElement(TooltipBase, _extends({}, rest, {
4694
+ open: withClick ? open : undefined,
4695
+ delayDuration: delayDuration,
4696
+ __self: undefined,
4697
+ __source: {
4698
+ fileName: _jsxFileName$W,
4699
+ lineNumber: 92,
4700
+ columnNumber: 7
4701
+ }
4702
+ }), /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
4703
+ asChild: true,
4704
+ __self: undefined,
4705
+ __source: {
4706
+ fileName: _jsxFileName$W,
4707
+ lineNumber: 93,
4708
+ columnNumber: 9
4709
+ }
4710
+ }, /*#__PURE__*/React__default["default"].createElement(TriggerSpan, {
4711
+ onClick: () => withClick && !open && setOpen(true),
4712
+ __self: undefined,
4713
+ __source: {
4714
+ fileName: _jsxFileName$W,
4715
+ lineNumber: 94,
4716
+ columnNumber: 11
4717
+ }
4718
+ }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
4719
+ __self: undefined,
4720
+ __source: {
4721
+ fileName: _jsxFileName$W,
4722
+ lineNumber: 96,
4723
+ columnNumber: 9
4724
+ }
4725
+ }, /*#__PURE__*/React__default["default"].createElement(StyledContent$6, {
4726
+ align: align,
4727
+ side: side,
4728
+ sideOffset: 5,
4729
+ css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4730
+ onPointerDownOutside: () => setTimeout(() => {
4731
+ setOpen(false);
4732
+ }, 100),
4733
+ __self: undefined,
4734
+ __source: {
4735
+ fileName: _jsxFileName$W,
4736
+ lineNumber: 97,
4737
+ columnNumber: 11
4738
+ }
4739
+ }, label, /*#__PURE__*/React__default["default"].createElement(StyledArrow$1, {
4740
+ offset: 10,
4741
+ css: color === 'dark' ? darkArrow : lightArrow,
4742
+ __self: undefined,
4743
+ __source: {
4744
+ fileName: _jsxFileName$W,
4745
+ lineNumber: 109,
4746
+ columnNumber: 13
4747
+ }
4748
+ })))));
4749
+ };
4750
+ Tooltip$1.propTypes = {
4751
+ children: PropTypes__default["default"].node,
4752
+ label: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
4753
+ color: PropTypes__default["default"].string,
4754
+ side: PropTypes__default["default"].oneOf(['top', 'bottom', 'right', 'left']),
4755
+ align: PropTypes__default["default"].oneOf(['start', 'center', 'end'])
4756
+ };
4757
+ Tooltip$1.defaultProps = {
4758
+ color: 'dark',
4759
+ side: 'bottom',
4760
+ align: 'center',
4761
+ label: '',
4762
+ children: /*#__PURE__*/React__default["default"].createElement("div", {
4763
+ __self: undefined,
4764
+ __source: {
4765
+ fileName: _jsxFileName$W,
4766
+ lineNumber: 130,
4767
+ columnNumber: 13
4768
+ }
4769
+ }),
4770
+ delayDuration: 200
4771
+ };
4772
+
4773
+ const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4774
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4775
+ const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4776
+ position: 'relative',
4777
+ overflow: 'hidden',
4778
+ background: '$chartLightGreen',
4779
+ width: 'auto',
4780
+ height: '12px',
4781
+ variants: {
4782
+ rounded: {
4783
+ true: {
4784
+ borderRadius: '100px'
4785
+ }
4786
+ },
4787
+ color: {
4788
+ green: {
4789
+ backgroundColor: '$chartLightGreen'
4790
+ },
4791
+ orange: {
4792
+ backgroundColor: '$chartLightOrange'
4793
+ },
4794
+ blue: {
4795
+ backgroundColor: '$chartLightBlue'
4796
+ },
4797
+ purple: {
4798
+ backgroundColor: '$chartLightPurple'
4799
+ },
4800
+ yellow: {
4801
+ backgroundColor: '$chartLightYellow'
4802
+ },
4803
+ red: {
4804
+ backgroundColor: '$chartLightRed'
4805
+ },
4806
+ dark: {
4807
+ backgroundColor: '$chartLightGray'
4808
+ }
4809
+ },
4810
+ size: {
4811
+ xs: {
4812
+ height: '4px'
4813
+ },
4814
+ sm: {
4815
+ height: '8px'
4816
+ },
4817
+ m: {
4818
+ height: '12px'
4819
+ },
4820
+ l: {
4821
+ height: '16px'
4822
+ },
4823
+ xl: {
4824
+ height: '20px'
4825
+ }
4826
+ }
4827
+ }
4828
+ });
4829
+ const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4830
+ backgroundColor: '$chartGreen',
4831
+ height: '60%',
4832
+ transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4833
+ variants: {
4834
+ rounded: {
4835
+ true: {
4836
+ borderRadius: '100px'
4837
+ }
4838
+ },
4839
+ color: {
4840
+ green: {
4841
+ backgroundColor: '$chartGreen'
4842
+ },
4843
+ orange: {
4844
+ backgroundColor: '$chartOrange'
4845
+ },
4846
+ blue: {
4847
+ backgroundColor: '$chartBlue'
4848
+ },
4849
+ purple: {
4850
+ backgroundColor: '$chartPurple'
4851
+ },
4852
+ yellow: {
4853
+ backgroundColor: '$chartYellow'
4854
+ },
4855
+ red: {
4856
+ backgroundColor: '$chartRed'
4857
+ },
4858
+ dark: {
4859
+ backgroundColor: '$chartDark'
4860
+ }
4861
+ },
4862
+ size: {
4863
+ xs: {
4864
+ height: '100%'
4865
+ },
4866
+ sm: {
4867
+ height: '100%'
4868
+ },
4869
+ m: {
4870
+ margin: "2px 2px 0"
4871
+ },
4872
+ l: {
4873
+ margin: "3px 3px 0"
4874
+ },
4875
+ xl: {
4876
+ margin: "4px 4px 0"
4877
+ }
4878
+ }
4879
+ }
4880
+ });
4881
+ function Progress$1(_ref) {
4882
+ let {
4883
+ className,
4884
+ value,
4885
+ max,
4886
+ getValueLabel,
4887
+ color,
4888
+ size,
4889
+ rounded,
4890
+ width
4891
+ } = _ref,
4892
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4893
+ return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4894
+ className: className,
4895
+ value: value,
4896
+ max: max,
4897
+ getValueLabel: getValueLabel,
4898
+ color: color,
4899
+ size: size,
4900
+ rounded: rounded,
4901
+ css: Object.assign({
4902
+ width: width
4903
+ }, props.css)
4904
+ }, props, {
4905
+ __self: this,
4906
+ __source: {
4907
+ fileName: _jsxFileName$V,
4908
+ lineNumber: 88,
4909
+ columnNumber: 5
4910
+ }
4911
+ }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4912
+ color: color,
4913
+ size: size,
4914
+ rounded: rounded,
4915
+ css: {
4916
+ width: `${value}%`
4917
+ },
4918
+ __self: this,
4919
+ __source: {
4920
+ fileName: _jsxFileName$V,
4921
+ lineNumber: 89,
4922
+ columnNumber: 7
4923
+ }
4924
+ }));
4925
+ }
4926
+ Progress$1.propTypes = {
4927
+ className: PropTypes__default["default"].string,
4928
+ value: PropTypes__default["default"].number,
4929
+ max: PropTypes__default["default"].number,
4930
+ getValueLabel: PropTypes__default["default"].func,
4931
+ color: PropTypes__default["default"].string,
4932
+ size: PropTypes__default["default"].string,
4933
+ rounded: PropTypes__default["default"].bool,
4934
+ width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4935
+ };
4936
+ Progress$1.defaultProps = {
4937
+ max: 100,
4938
+ color: 'green',
4939
+ size: 'm',
4940
+ rounded: true
4941
+ };
4942
+
4943
+ const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4944
+
4895
4945
  var anObject$d = anObject$j;
4896
4946
 
4897
4947
  // `RegExp.prototype.flags` getter implementation
@@ -5532,8 +5582,8 @@
5532
5582
  return matches;
5533
5583
  }
5534
5584
 
5535
- const _excluded$s = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5536
- var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5585
+ const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5586
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5537
5587
  const TOAST_WIDTH = 576;
5538
5588
  const ANIMATION_DURATION = 400;
5539
5589
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5701,7 +5751,7 @@
5701
5751
  captionOfAction,
5702
5752
  hrefOfAction
5703
5753
  } = _ref,
5704
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5754
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
5705
5755
  const [isOpen, setIsOpen] = React__namespace.useState(false);
5706
5756
  const isMobile = useMediaQuery(`(max-width: 767px`);
5707
5757
  const close = React__namespace.useCallback(() => {
@@ -5730,7 +5780,7 @@
5730
5780
  onExited: onRemove,
5731
5781
  __self: undefined,
5732
5782
  __source: {
5733
- fileName: _jsxFileName$T,
5783
+ fileName: _jsxFileName$U,
5734
5784
  lineNumber: 216,
5735
5785
  columnNumber: 5
5736
5786
  }
@@ -5745,7 +5795,7 @@
5745
5795
  }, rest, {
5746
5796
  __self: undefined,
5747
5797
  __source: {
5748
- fileName: _jsxFileName$T,
5798
+ fileName: _jsxFileName$U,
5749
5799
  lineNumber: 227,
5750
5800
  columnNumber: 9
5751
5801
  }
@@ -5755,7 +5805,7 @@
5755
5805
  onClick: onClick,
5756
5806
  __self: undefined,
5757
5807
  __source: {
5758
- fileName: _jsxFileName$T,
5808
+ fileName: _jsxFileName$U,
5759
5809
  lineNumber: 235,
5760
5810
  columnNumber: 11
5761
5811
  }
@@ -5763,7 +5813,7 @@
5763
5813
  direction: "column",
5764
5814
  __self: undefined,
5765
5815
  __source: {
5766
- fileName: _jsxFileName$T,
5816
+ fileName: _jsxFileName$U,
5767
5817
  lineNumber: 236,
5768
5818
  columnNumber: 13
5769
5819
  }
@@ -5771,7 +5821,7 @@
5771
5821
  direction: "row",
5772
5822
  __self: undefined,
5773
5823
  __source: {
5774
- fileName: _jsxFileName$T,
5824
+ fileName: _jsxFileName$U,
5775
5825
  lineNumber: 237,
5776
5826
  columnNumber: 15
5777
5827
  }
@@ -5779,7 +5829,7 @@
5779
5829
  variant: variant,
5780
5830
  __self: undefined,
5781
5831
  __source: {
5782
- fileName: _jsxFileName$T,
5832
+ fileName: _jsxFileName$U,
5783
5833
  lineNumber: 238,
5784
5834
  columnNumber: 17
5785
5835
  }
@@ -5791,7 +5841,7 @@
5791
5841
  },
5792
5842
  __self: undefined,
5793
5843
  __source: {
5794
- fileName: _jsxFileName$T,
5844
+ fileName: _jsxFileName$U,
5795
5845
  lineNumber: 239,
5796
5846
  columnNumber: 17
5797
5847
  }
@@ -5799,7 +5849,7 @@
5799
5849
  justify: "between",
5800
5850
  __self: undefined,
5801
5851
  __source: {
5802
- fileName: _jsxFileName$T,
5852
+ fileName: _jsxFileName$U,
5803
5853
  lineNumber: 247,
5804
5854
  columnNumber: 21
5805
5855
  }
@@ -5814,7 +5864,7 @@
5814
5864
  },
5815
5865
  __self: undefined,
5816
5866
  __source: {
5817
- fileName: _jsxFileName$T,
5867
+ fileName: _jsxFileName$U,
5818
5868
  lineNumber: 248,
5819
5869
  columnNumber: 23
5820
5870
  }
@@ -5823,7 +5873,7 @@
5823
5873
  color: "secondary",
5824
5874
  __self: undefined,
5825
5875
  __source: {
5826
- fileName: _jsxFileName$T,
5876
+ fileName: _jsxFileName$U,
5827
5877
  lineNumber: 262,
5828
5878
  columnNumber: 19
5829
5879
  }
@@ -5838,7 +5888,7 @@
5838
5888
  hasTitle: !!title,
5839
5889
  __self: undefined,
5840
5890
  __source: {
5841
- fileName: _jsxFileName$T,
5891
+ fileName: _jsxFileName$U,
5842
5892
  lineNumber: 266,
5843
5893
  columnNumber: 17
5844
5894
  }
@@ -5847,7 +5897,7 @@
5847
5897
  size: "16px",
5848
5898
  __self: undefined,
5849
5899
  __source: {
5850
- fileName: _jsxFileName$T,
5900
+ fileName: _jsxFileName$U,
5851
5901
  lineNumber: 276,
5852
5902
  columnNumber: 19
5853
5903
  }
@@ -5862,7 +5912,7 @@
5862
5912
  },
5863
5913
  __self: undefined,
5864
5914
  __source: {
5865
- fileName: _jsxFileName$T,
5915
+ fileName: _jsxFileName$U,
5866
5916
  lineNumber: 280,
5867
5917
  columnNumber: 17
5868
5918
  }
@@ -5884,8 +5934,8 @@
5884
5934
  dismissAfter: 5000
5885
5935
  };
5886
5936
 
5887
- const _excluded$r = ["preventDuplicate"];
5888
- var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5937
+ const _excluded$s = ["preventDuplicate"];
5938
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5889
5939
  const ToastBox = styled(Flex$1, {
5890
5940
  position: 'fixed',
5891
5941
  variants: {
@@ -5932,7 +5982,7 @@
5932
5982
  },
5933
5983
  __self: undefined,
5934
5984
  __source: {
5935
- fileName: _jsxFileName$S,
5985
+ fileName: _jsxFileName$T,
5936
5986
  lineNumber: 43,
5937
5987
  columnNumber: 5
5938
5988
  }
@@ -5940,7 +5990,7 @@
5940
5990
  position: position,
5941
5991
  __self: undefined,
5942
5992
  __source: {
5943
- fileName: _jsxFileName$S,
5993
+ fileName: _jsxFileName$T,
5944
5994
  lineNumber: 44,
5945
5995
  columnNumber: 7
5946
5996
  }
@@ -5948,14 +5998,14 @@
5948
5998
  const {
5949
5999
  preventDuplicate
5950
6000
  } = item,
5951
- toast = _objectWithoutPropertiesLoose(item, _excluded$r);
6001
+ toast = _objectWithoutPropertiesLoose(item, _excluded$s);
5952
6002
  return /*#__PURE__*/React__namespace.createElement(Toast, _extends({
5953
6003
  key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
5954
6004
  onRemove: () => removeToast(toast.id)
5955
6005
  }, toast, {
5956
6006
  __self: undefined,
5957
6007
  __source: {
5958
- fileName: _jsxFileName$S,
6008
+ fileName: _jsxFileName$T,
5959
6009
  lineNumber: 47,
5960
6010
  columnNumber: 18
5961
6011
  }
@@ -7181,8 +7231,8 @@
7181
7231
  return message;
7182
7232
  };
7183
7233
 
7184
- const _excluded$q = ["id", "disabledOfflineIntercept"];
7185
- var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7234
+ const _excluded$r = ["id", "disabledOfflineIntercept"];
7235
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7186
7236
  let toastCount = 0;
7187
7237
  const ToastProvider = ({
7188
7238
  children,
@@ -7211,7 +7261,7 @@
7211
7261
  id,
7212
7262
  disabledOfflineIntercept
7213
7263
  } = toast,
7214
- rest = _objectWithoutPropertiesLoose(toast, _excluded$q);
7264
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
7215
7265
 
7216
7266
  // eslint-disable-next-line no-plusplus
7217
7267
  const uniqueId = ++toastCount;
@@ -7251,7 +7301,7 @@
7251
7301
  },
7252
7302
  __self: undefined,
7253
7303
  __source: {
7254
- fileName: _jsxFileName$R,
7304
+ fileName: _jsxFileName$S,
7255
7305
  lineNumber: 81,
7256
7306
  columnNumber: 5
7257
7307
  }
@@ -7260,7 +7310,7 @@
7260
7310
  position: TOP_RIGHT_POSITION,
7261
7311
  __self: undefined,
7262
7312
  __source: {
7263
- fileName: _jsxFileName$R,
7313
+ fileName: _jsxFileName$S,
7264
7314
  lineNumber: 83,
7265
7315
  columnNumber: 7
7266
7316
  }
@@ -7269,7 +7319,7 @@
7269
7319
  position: TOP_LEFT_POSITION,
7270
7320
  __self: undefined,
7271
7321
  __source: {
7272
- fileName: _jsxFileName$R,
7322
+ fileName: _jsxFileName$S,
7273
7323
  lineNumber: 87,
7274
7324
  columnNumber: 7
7275
7325
  }
@@ -7278,7 +7328,7 @@
7278
7328
  position: BOTTOM_RIGHT_POSITION,
7279
7329
  __self: undefined,
7280
7330
  __source: {
7281
- fileName: _jsxFileName$R,
7331
+ fileName: _jsxFileName$S,
7282
7332
  lineNumber: 91,
7283
7333
  columnNumber: 7
7284
7334
  }
@@ -7287,7 +7337,7 @@
7287
7337
  position: BOTTOM_LEFT_POSITION,
7288
7338
  __self: undefined,
7289
7339
  __source: {
7290
- fileName: _jsxFileName$R,
7340
+ fileName: _jsxFileName$S,
7291
7341
  lineNumber: 95,
7292
7342
  columnNumber: 7
7293
7343
  }
@@ -7300,8 +7350,8 @@
7300
7350
  children
7301
7351
  }) => condition ? wrapper(children) : children;
7302
7352
 
7303
- const _excluded$p = ["count", "maxCount", "css"];
7304
- var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7353
+ const _excluded$q = ["count", "maxCount", "css"];
7354
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7305
7355
  const formLabelClassStyle = {
7306
7356
  alignItems: 'start !important',
7307
7357
  '& > div': {
@@ -7404,7 +7454,7 @@
7404
7454
  maxCount,
7405
7455
  css
7406
7456
  } = _ref,
7407
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7457
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7408
7458
  const withCounter = Boolean(count || maxCount);
7409
7459
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
7410
7460
  condition: withCounter,
@@ -7413,7 +7463,7 @@
7413
7463
  css: css,
7414
7464
  __self: undefined,
7415
7465
  __source: {
7416
- fileName: _jsxFileName$Q,
7466
+ fileName: _jsxFileName$R,
7417
7467
  lineNumber: 115,
7418
7468
  columnNumber: 9
7419
7469
  }
@@ -7426,14 +7476,14 @@
7426
7476
  },
7427
7477
  __self: undefined,
7428
7478
  __source: {
7429
- fileName: _jsxFileName$Q,
7479
+ fileName: _jsxFileName$R,
7430
7480
  lineNumber: 116,
7431
7481
  columnNumber: 11
7432
7482
  }
7433
7483
  }, count, "/", maxCount), children),
7434
7484
  __self: undefined,
7435
7485
  __source: {
7436
- fileName: _jsxFileName$Q,
7486
+ fileName: _jsxFileName$R,
7437
7487
  lineNumber: 112,
7438
7488
  columnNumber: 5
7439
7489
  }
@@ -7443,7 +7493,7 @@
7443
7493
  }, props, {
7444
7494
  __self: undefined,
7445
7495
  __source: {
7446
- fileName: _jsxFileName$Q,
7496
+ fileName: _jsxFileName$R,
7447
7497
  lineNumber: 123,
7448
7498
  columnNumber: 7
7449
7499
  }
@@ -7451,8 +7501,8 @@
7451
7501
  };
7452
7502
  FormGroup.displayName = 'FormGroup';
7453
7503
 
7454
- const _excluded$o = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7455
- var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7504
+ const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7505
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7456
7506
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
7457
7507
  display: 'inline-block',
7458
7508
  fontSize: '$label',
@@ -7484,13 +7534,13 @@
7484
7534
  maxCount,
7485
7535
  labelCss
7486
7536
  } = _ref,
7487
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7537
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7488
7538
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
7489
7539
  justify: "between",
7490
7540
  className: "form-label",
7491
7541
  __self: undefined,
7492
7542
  __source: {
7493
- fileName: _jsxFileName$P,
7543
+ fileName: _jsxFileName$Q,
7494
7544
  lineNumber: 36,
7495
7545
  columnNumber: 5
7496
7546
  }
@@ -7500,7 +7550,7 @@
7500
7550
  }, props, {
7501
7551
  __self: undefined,
7502
7552
  __source: {
7503
- fileName: _jsxFileName$P,
7553
+ fileName: _jsxFileName$Q,
7504
7554
  lineNumber: 37,
7505
7555
  columnNumber: 7
7506
7556
  }
@@ -7510,7 +7560,7 @@
7510
7560
  css: labelCss,
7511
7561
  __self: undefined,
7512
7562
  __source: {
7513
- fileName: _jsxFileName$P,
7563
+ fileName: _jsxFileName$Q,
7514
7564
  lineNumber: 38,
7515
7565
  columnNumber: 9
7516
7566
  }
@@ -7525,7 +7575,7 @@
7525
7575
  },
7526
7576
  __self: undefined,
7527
7577
  __source: {
7528
- fileName: _jsxFileName$P,
7578
+ fileName: _jsxFileName$Q,
7529
7579
  lineNumber: 42,
7530
7580
  columnNumber: 11
7531
7581
  }
@@ -7533,14 +7583,14 @@
7533
7583
  label: tooltipLabel,
7534
7584
  __self: undefined,
7535
7585
  __source: {
7536
- fileName: _jsxFileName$P,
7586
+ fileName: _jsxFileName$Q,
7537
7587
  lineNumber: 56,
7538
7588
  columnNumber: 11
7539
7589
  }
7540
7590
  }, /*#__PURE__*/React__default["default"].createElement(StyledHelpIcon, {
7541
7591
  __self: undefined,
7542
7592
  __source: {
7543
- fileName: _jsxFileName$P,
7593
+ fileName: _jsxFileName$Q,
7544
7594
  lineNumber: 57,
7545
7595
  columnNumber: 13
7546
7596
  }
@@ -7549,7 +7599,7 @@
7549
7599
  color: "disable",
7550
7600
  __self: undefined,
7551
7601
  __source: {
7552
- fileName: _jsxFileName$P,
7602
+ fileName: _jsxFileName$Q,
7553
7603
  lineNumber: 62,
7554
7604
  columnNumber: 9
7555
7605
  }
@@ -7568,8 +7618,8 @@
7568
7618
  };
7569
7619
  FormLabel.displayName = 'FormLabel';
7570
7620
 
7571
- const _excluded$n = ["children", "error", "errorMessage"];
7572
- var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7621
+ const _excluded$o = ["children", "error", "errorMessage"];
7622
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7573
7623
  const StyledHelper = styled(Text$1, {
7574
7624
  display: 'inline-block',
7575
7625
  color: '$textSecondary',
@@ -7587,7 +7637,7 @@
7587
7637
  error,
7588
7638
  errorMessage
7589
7639
  } = _ref,
7590
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7640
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7591
7641
  const errorByMessage = !!errorMessage;
7592
7642
  if (error === undefined && errorByMessage) {
7593
7643
  return /*#__PURE__*/React__default["default"].createElement(StyledHelper, _extends({
@@ -7597,7 +7647,7 @@
7597
7647
  }, props, {
7598
7648
  __self: undefined,
7599
7649
  __source: {
7600
- fileName: _jsxFileName$O,
7650
+ fileName: _jsxFileName$P,
7601
7651
  lineNumber: 22,
7602
7652
  columnNumber: 7
7603
7653
  }
@@ -7613,7 +7663,7 @@
7613
7663
  }, props, {
7614
7664
  __self: undefined,
7615
7665
  __source: {
7616
- fileName: _jsxFileName$O,
7666
+ fileName: _jsxFileName$P,
7617
7667
  lineNumber: 31,
7618
7668
  columnNumber: 5
7619
7669
  }
@@ -7624,7 +7674,7 @@
7624
7674
  };
7625
7675
  FormHelper.displayName = 'FormHelper';
7626
7676
 
7627
- var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7677
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7628
7678
  const CheckboxContext = /*#__PURE__*/React.createContext();
7629
7679
  const CheckboxGroup = ({
7630
7680
  children,
@@ -7665,7 +7715,7 @@
7665
7715
  value: values,
7666
7716
  __self: undefined,
7667
7717
  __source: {
7668
- fileName: _jsxFileName$N,
7718
+ fileName: _jsxFileName$O,
7669
7719
  lineNumber: 35,
7670
7720
  columnNumber: 5
7671
7721
  }
@@ -7682,7 +7732,7 @@
7682
7732
  };
7683
7733
  CheckboxGroup.displayName = 'CheckboxGroup';
7684
7734
 
7685
- var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7735
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7686
7736
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7687
7737
  xmlns: "http://www.w3.org/2000/svg",
7688
7738
  xmlSpace: "preserve",
@@ -7699,7 +7749,7 @@
7699
7749
  }, props, {
7700
7750
  __self: undefined,
7701
7751
  __source: {
7702
- fileName: _jsxFileName$M,
7752
+ fileName: _jsxFileName$N,
7703
7753
  lineNumber: 4,
7704
7754
  columnNumber: 3
7705
7755
  }
@@ -7711,7 +7761,7 @@
7711
7761
  },
7712
7762
  __self: undefined,
7713
7763
  __source: {
7714
- fileName: _jsxFileName$M,
7764
+ fileName: _jsxFileName$N,
7715
7765
  lineNumber: 19,
7716
7766
  columnNumber: 5
7717
7767
  }
@@ -7723,13 +7773,13 @@
7723
7773
  },
7724
7774
  __self: undefined,
7725
7775
  __source: {
7726
- fileName: _jsxFileName$M,
7776
+ fileName: _jsxFileName$N,
7727
7777
  lineNumber: 26,
7728
7778
  columnNumber: 5
7729
7779
  }
7730
7780
  }));
7731
7781
 
7732
- var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7782
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7733
7783
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7734
7784
  xmlns: "http://www.w3.org/2000/svg",
7735
7785
  xmlSpace: "preserve",
@@ -7746,7 +7796,7 @@
7746
7796
  }, props, {
7747
7797
  __self: undefined,
7748
7798
  __source: {
7749
- fileName: _jsxFileName$L,
7799
+ fileName: _jsxFileName$M,
7750
7800
  lineNumber: 4,
7751
7801
  columnNumber: 3
7752
7802
  }
@@ -7758,7 +7808,7 @@
7758
7808
  },
7759
7809
  __self: undefined,
7760
7810
  __source: {
7761
- fileName: _jsxFileName$L,
7811
+ fileName: _jsxFileName$M,
7762
7812
  lineNumber: 19,
7763
7813
  columnNumber: 5
7764
7814
  }
@@ -7770,14 +7820,14 @@
7770
7820
  d: "M14.31 10.41H3.9v-2.6h10.41z",
7771
7821
  __self: undefined,
7772
7822
  __source: {
7773
- fileName: _jsxFileName$L,
7823
+ fileName: _jsxFileName$M,
7774
7824
  lineNumber: 26,
7775
7825
  columnNumber: 5
7776
7826
  }
7777
7827
  }));
7778
7828
 
7779
- const _excluded$m = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7780
- var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7829
+ const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7830
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7781
7831
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
7782
7832
  alignItems: 'center',
7783
7833
  display: 'flex',
@@ -7835,7 +7885,7 @@
7835
7885
  index,
7836
7886
  value
7837
7887
  } = _ref,
7838
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7888
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7839
7889
  const context = React.useContext(CheckboxContext);
7840
7890
  const [isChecked, setChecked] = React.useState(false);
7841
7891
  React.useEffect(() => {
@@ -7856,28 +7906,28 @@
7856
7906
  }, props, {
7857
7907
  __self: undefined,
7858
7908
  __source: {
7859
- fileName: _jsxFileName$K,
7909
+ fileName: _jsxFileName$L,
7860
7910
  lineNumber: 64,
7861
7911
  columnNumber: 5
7862
7912
  }
7863
7913
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$2, {
7864
7914
  __self: undefined,
7865
7915
  __source: {
7866
- fileName: _jsxFileName$K,
7916
+ fileName: _jsxFileName$L,
7867
7917
  lineNumber: 77,
7868
7918
  columnNumber: 7
7869
7919
  }
7870
7920
  }, indeterminate ? /*#__PURE__*/React__default["default"].createElement(SvgMinusOutline, {
7871
7921
  __self: undefined,
7872
7922
  __source: {
7873
- fileName: _jsxFileName$K,
7923
+ fileName: _jsxFileName$L,
7874
7924
  lineNumber: 77,
7875
7925
  columnNumber: 41
7876
7926
  }
7877
7927
  }) : /*#__PURE__*/React__default["default"].createElement(CheckOutline$1, {
7878
7928
  __self: undefined,
7879
7929
  __source: {
7880
- fileName: _jsxFileName$K,
7930
+ fileName: _jsxFileName$L,
7881
7931
  lineNumber: 77,
7882
7932
  columnNumber: 60
7883
7933
  }
@@ -7890,14 +7940,14 @@
7890
7940
  gap: 4,
7891
7941
  __self: undefined,
7892
7942
  __source: {
7893
- fileName: _jsxFileName$K,
7943
+ fileName: _jsxFileName$L,
7894
7944
  lineNumber: 84,
7895
7945
  columnNumber: 5
7896
7946
  }
7897
7947
  }, /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7898
7948
  __self: undefined,
7899
7949
  __source: {
7900
- fileName: _jsxFileName$K,
7950
+ fileName: _jsxFileName$L,
7901
7951
  lineNumber: 85,
7902
7952
  columnNumber: 7
7903
7953
  }
@@ -7913,14 +7963,14 @@
7913
7963
  },
7914
7964
  __self: undefined,
7915
7965
  __source: {
7916
- fileName: _jsxFileName$K,
7966
+ fileName: _jsxFileName$L,
7917
7967
  lineNumber: 86,
7918
7968
  columnNumber: 7
7919
7969
  }
7920
7970
  }, props.label)) : /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7921
7971
  __self: undefined,
7922
7972
  __source: {
7923
- fileName: _jsxFileName$K,
7973
+ fileName: _jsxFileName$L,
7924
7974
  lineNumber: 101,
7925
7975
  columnNumber: 5
7926
7976
  }
@@ -7937,8 +7987,8 @@
7937
7987
  };
7938
7988
  InputCheckbox.displayName = 'InputCheckbox';
7939
7989
 
7940
- const _excluded$l = ["children", "size"];
7941
- var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7990
+ const _excluded$m = ["children", "size"];
7991
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7942
7992
  const InputGroupStyle = styled('div', {
7943
7993
  display: 'flex',
7944
7994
  width: '100%',
@@ -8077,7 +8127,7 @@
8077
8127
  children,
8078
8128
  size = 'lg'
8079
8129
  } = _ref,
8080
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8130
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
8081
8131
  const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8082
8132
  const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8083
8133
  const clone = children.map((child, index) => {
@@ -8100,7 +8150,7 @@
8100
8150
  isElement: isElement,
8101
8151
  __self: undefined,
8102
8152
  __source: {
8103
- fileName: _jsxFileName$J,
8153
+ fileName: _jsxFileName$K,
8104
8154
  lineNumber: 169,
8105
8155
  columnNumber: 10
8106
8156
  }
@@ -8276,8 +8326,8 @@
8276
8326
  children: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node])
8277
8327
  };
8278
8328
 
8279
- const _excluded$k = ["disabled", "readOnly"];
8280
- var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8329
+ const _excluded$l = ["disabled", "readOnly"];
8330
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8281
8331
  const disabledStyle = {
8282
8332
  backgroundColor: '$formDisable',
8283
8333
  color: '$textDisable',
@@ -8450,7 +8500,7 @@
8450
8500
  disabled,
8451
8501
  readOnly
8452
8502
  } = _ref,
8453
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8503
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8454
8504
  return /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({
8455
8505
  ref: ref,
8456
8506
  disabled: disabled,
@@ -8460,7 +8510,7 @@
8460
8510
  }, props, {
8461
8511
  __self: undefined,
8462
8512
  __source: {
8463
- fileName: _jsxFileName$I,
8513
+ fileName: _jsxFileName$J,
8464
8514
  lineNumber: 185,
8465
8515
  columnNumber: 3
8466
8516
  }
@@ -8478,8 +8528,8 @@
8478
8528
  };
8479
8529
  InputText.displayName = 'InputText';
8480
8530
 
8481
- const _excluded$j = ["disabled", "readOnly"];
8482
- var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8531
+ const _excluded$k = ["disabled", "readOnly"];
8532
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8483
8533
  const StyledTextArea = styled(StyledInput$1, {
8484
8534
  variants: {
8485
8535
  size: {
@@ -8500,7 +8550,7 @@
8500
8550
  disabled,
8501
8551
  readOnly
8502
8552
  } = _ref,
8503
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8553
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8504
8554
  const textareaRef = React.useRef(null);
8505
8555
  React.useEffect(() => {
8506
8556
  if (textareaRef.current) {
@@ -8534,7 +8584,7 @@
8534
8584
  }, props, {
8535
8585
  __self: undefined,
8536
8586
  __source: {
8537
- fileName: _jsxFileName$H,
8587
+ fileName: _jsxFileName$I,
8538
8588
  lineNumber: 51,
8539
8589
  columnNumber: 5
8540
8590
  }
@@ -8557,21 +8607,21 @@
8557
8607
 
8558
8608
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
8559
8609
 
8560
- var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8610
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8561
8611
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
8562
8612
  function InputRadioGroup(props) {
8563
8613
  return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
8564
8614
  value: props,
8565
8615
  __self: this,
8566
8616
  __source: {
8567
- fileName: _jsxFileName$G,
8617
+ fileName: _jsxFileName$H,
8568
8618
  lineNumber: 13,
8569
8619
  columnNumber: 7
8570
8620
  }
8571
8621
  }, /*#__PURE__*/React__default["default"].createElement(RadioGroup, _extends({}, props, {
8572
8622
  __self: this,
8573
8623
  __source: {
8574
- fileName: _jsxFileName$G,
8624
+ fileName: _jsxFileName$H,
8575
8625
  lineNumber: 14,
8576
8626
  columnNumber: 9
8577
8627
  }
@@ -8590,8 +8640,8 @@
8590
8640
  };
8591
8641
  InputRadioGroup.displayName = 'InputRadioGroup';
8592
8642
 
8593
- const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8594
- var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8643
+ const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8644
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8595
8645
  const INDICATOR_BASE_STYLES = {
8596
8646
  alignItems: 'center',
8597
8647
  display: 'flex',
@@ -8756,7 +8806,7 @@
8756
8806
  description,
8757
8807
  readOnly
8758
8808
  } = _ref,
8759
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8809
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8760
8810
  function renderInputType(type, checkedValue, onValueChange) {
8761
8811
  switch (type) {
8762
8812
  case 'number':
@@ -8769,7 +8819,7 @@
8769
8819
  asChild: true,
8770
8820
  __self: this,
8771
8821
  __source: {
8772
- fileName: _jsxFileName$F,
8822
+ fileName: _jsxFileName$G,
8773
8823
  lineNumber: 171,
8774
8824
  columnNumber: 11
8775
8825
  }
@@ -8785,7 +8835,7 @@
8785
8835
  asChild: true,
8786
8836
  __self: this,
8787
8837
  __source: {
8788
- fileName: _jsxFileName$F,
8838
+ fileName: _jsxFileName$G,
8789
8839
  lineNumber: 184,
8790
8840
  columnNumber: 11
8791
8841
  }
@@ -8804,7 +8854,7 @@
8804
8854
  },
8805
8855
  __self: this,
8806
8856
  __source: {
8807
- fileName: _jsxFileName$F,
8857
+ fileName: _jsxFileName$G,
8808
8858
  lineNumber: 198,
8809
8859
  columnNumber: 11
8810
8860
  }
@@ -8814,7 +8864,7 @@
8814
8864
  return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
8815
8865
  __self: undefined,
8816
8866
  __source: {
8817
- fileName: _jsxFileName$F,
8867
+ fileName: _jsxFileName$G,
8818
8868
  lineNumber: 217,
8819
8869
  columnNumber: 5
8820
8870
  }
@@ -8831,7 +8881,7 @@
8831
8881
  outlined: outlined,
8832
8882
  __self: undefined,
8833
8883
  __source: {
8834
- fileName: _jsxFileName$F,
8884
+ fileName: _jsxFileName$G,
8835
8885
  lineNumber: 222,
8836
8886
  columnNumber: 11
8837
8887
  }
@@ -8846,7 +8896,7 @@
8846
8896
  css: css,
8847
8897
  __self: undefined,
8848
8898
  __source: {
8849
- fileName: _jsxFileName$F,
8899
+ fileName: _jsxFileName$G,
8850
8900
  lineNumber: 223,
8851
8901
  columnNumber: 13
8852
8902
  }
@@ -8855,7 +8905,7 @@
8855
8905
  gap: 4,
8856
8906
  __self: undefined,
8857
8907
  __source: {
8858
- fileName: _jsxFileName$F,
8908
+ fileName: _jsxFileName$G,
8859
8909
  lineNumber: 233,
8860
8910
  columnNumber: 15
8861
8911
  }
@@ -8866,14 +8916,14 @@
8866
8916
  }, props, {
8867
8917
  __self: undefined,
8868
8918
  __source: {
8869
- fileName: _jsxFileName$F,
8919
+ fileName: _jsxFileName$G,
8870
8920
  lineNumber: 234,
8871
8921
  columnNumber: 17
8872
8922
  }
8873
8923
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
8874
8924
  __self: undefined,
8875
8925
  __source: {
8876
- fileName: _jsxFileName$F,
8926
+ fileName: _jsxFileName$G,
8877
8927
  lineNumber: 235,
8878
8928
  columnNumber: 19
8879
8929
  }
@@ -8885,7 +8935,7 @@
8885
8935
  },
8886
8936
  __self: undefined,
8887
8937
  __source: {
8888
- fileName: _jsxFileName$F,
8938
+ fileName: _jsxFileName$G,
8889
8939
  lineNumber: 240,
8890
8940
  columnNumber: 17
8891
8941
  }
@@ -11039,8 +11089,8 @@
11039
11089
  }(React__default["default"].Component);
11040
11090
  NumberFormat.defaultProps = defaultProps;
11041
11091
 
11042
- const _excluded$h = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11043
- var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11092
+ const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11093
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11044
11094
  const StyledInput = styled(NumberFormat, {
11045
11095
  // Reset
11046
11096
  appearance: 'none',
@@ -11235,7 +11285,7 @@
11235
11285
  maxLength,
11236
11286
  thousandSeparator
11237
11287
  } = _ref,
11238
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11288
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
11239
11289
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
11240
11290
  condition: Boolean(control),
11241
11291
  wrapper: child => /*#__PURE__*/React__default["default"].createElement(reactHookForm.Controller, {
@@ -11253,14 +11303,14 @@
11253
11303
  }),
11254
11304
  __self: undefined,
11255
11305
  __source: {
11256
- fileName: _jsxFileName$E,
11306
+ fileName: _jsxFileName$F,
11257
11307
  lineNumber: 225,
11258
11308
  columnNumber: 9
11259
11309
  }
11260
11310
  }),
11261
11311
  __self: undefined,
11262
11312
  __source: {
11263
- fileName: _jsxFileName$E,
11313
+ fileName: _jsxFileName$F,
11264
11314
  lineNumber: 222,
11265
11315
  columnNumber: 5
11266
11316
  }
@@ -11278,7 +11328,7 @@
11278
11328
  }, props, {
11279
11329
  __self: undefined,
11280
11330
  __source: {
11281
- fileName: _jsxFileName$E,
11331
+ fileName: _jsxFileName$F,
11282
11332
  lineNumber: 234,
11283
11333
  columnNumber: 7
11284
11334
  }
@@ -11300,7 +11350,9 @@
11300
11350
  InputNumber.name = 'InputText';
11301
11351
  InputNumber.displayName = 'InputNumber';
11302
11352
 
11303
- var TagWrapper$4 = styled('div', {
11353
+ const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11354
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
11355
+ const TagWrapper$4 = styled('div', {
11304
11356
  boxSizing: 'border-box',
11305
11357
  listStyle: 'none',
11306
11358
  display: 'inline-flex',
@@ -11342,10 +11394,6 @@
11342
11394
  }
11343
11395
  },
11344
11396
  type: {
11345
- default: {
11346
- background: '$bgGray',
11347
- color: '$textPrimary'
11348
- },
11349
11397
  success: {
11350
11398
  background: '$bgSuccess',
11351
11399
  color: '$textGreen'
@@ -11362,13 +11410,13 @@
11362
11410
  }
11363
11411
  }
11364
11412
  });
11365
- var TagComponent$1 = styled('span', {
11413
+ const TagComponent$1 = styled('span', {
11366
11414
  textAlign: 'center',
11367
11415
  whiteSpace: 'nowrap',
11368
11416
  overflow: 'hidden',
11369
11417
  textOverflow: 'ellipsis'
11370
11418
  });
11371
- var StyledIconRight$1 = styled('div', {
11419
+ const StyledIconRight$1 = styled('div', {
11372
11420
  marginLeft: '6px',
11373
11421
  display: 'flex',
11374
11422
  verticalAlign: 'middle',
@@ -11388,51 +11436,89 @@
11388
11436
  }
11389
11437
  }
11390
11438
  });
11391
- var StyledIconLeft$3 = styled('div', {
11439
+ const StyledIconLeft$3 = styled('div', {
11392
11440
  margin: '0 3px',
11393
11441
  display: 'flex',
11394
11442
  verticalAlign: 'middle',
11395
11443
  alignItems: 'center',
11396
11444
  color: 'inherit'
11397
11445
  });
11398
- var Tag = /*#__PURE__*/React__default["default"].forwardRef(function (_a, ref) {
11399
- var children = _a.children,
11400
- onClick = _a.onClick,
11401
- size = _a.size,
11402
- icon = _a.icon,
11403
- isRemovable = _a.isRemovable,
11404
- disabled = _a.disabled,
11405
- type = _a.type,
11406
- onRemove = _a.onRemove,
11407
- readOnly = _a.readOnly,
11408
- props = __rest(_a, ["children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"]);
11409
- return jsxRuntime.jsxs(TagWrapper$4, __assign({
11446
+ const Tag = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11447
+ let {
11448
+ children,
11449
+ onClick,
11450
+ size,
11451
+ icon,
11452
+ isRemovable,
11453
+ disabled,
11454
+ type,
11455
+ onRemove,
11456
+ readOnly
11457
+ } = _ref,
11458
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11459
+ return /*#__PURE__*/React__default["default"].createElement(TagWrapper$4, _extends({
11410
11460
  ref: ref,
11411
11461
  onClick: onClick,
11412
11462
  size: size,
11413
11463
  disabled: disabled,
11414
11464
  type: type,
11415
- readOnly: readOnly
11465
+ readOnly: readOnly,
11466
+ css: Object.assign({}, props.css)
11416
11467
  }, props, {
11417
- children: [icon !== undefined ? jsxRuntime.jsx(StyledIconLeft$3, {
11418
- children: icon
11419
- }, void 0) : null, jsxRuntime.jsx(TagComponent$1, {
11420
- children: children
11421
- }, void 0), isRemovable ? jsxRuntime.jsx(StyledIconRight$1, __assign({
11422
- disabled: disabled,
11423
- onClick: onRemove,
11424
- readOnly: readOnly
11425
- }, {
11426
- children: jsxRuntime.jsx(icons.CloseOutline, {
11427
- size: 16,
11428
- color: colors$8.iconSecondary,
11429
- style: {
11430
- verticalAlign: 'middle'
11431
- }
11432
- }, void 0)
11433
- }), void 0) : null]
11434
- }), void 0);
11468
+ __self: undefined,
11469
+ __source: {
11470
+ fileName: _jsxFileName$E,
11471
+ lineNumber: 84,
11472
+ columnNumber: 7
11473
+ }
11474
+ }), icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledIconLeft$3, {
11475
+ __self: undefined,
11476
+ __source: {
11477
+ fileName: _jsxFileName$E,
11478
+ lineNumber: 94,
11479
+ columnNumber: 31
11480
+ }
11481
+ }, icon) : null, /*#__PURE__*/React__default["default"].createElement(TagComponent$1, {
11482
+ __self: undefined,
11483
+ __source: {
11484
+ fileName: _jsxFileName$E,
11485
+ lineNumber: 95,
11486
+ columnNumber: 9
11487
+ }
11488
+ }, children), isRemovable ? /*#__PURE__*/React__default["default"].createElement(StyledIconRight$1, {
11489
+ disabled: disabled,
11490
+ onClick: onRemove,
11491
+ readOnly: readOnly,
11492
+ __self: undefined,
11493
+ __source: {
11494
+ fileName: _jsxFileName$E,
11495
+ lineNumber: 97,
11496
+ columnNumber: 11
11497
+ }
11498
+ }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
11499
+ size: 16,
11500
+ color: colors$8.iconSecondary,
11501
+ style: {
11502
+ verticalAlign: 'middle'
11503
+ },
11504
+ __self: undefined,
11505
+ __source: {
11506
+ fileName: _jsxFileName$E,
11507
+ lineNumber: 98,
11508
+ columnNumber: 13
11509
+ }
11510
+ })) : null);
11435
11511
  });
11512
+ Tag.propTypes = {
11513
+ size: PropTypes__default["default"].string,
11514
+ disabled: PropTypes__default["default"].bool,
11515
+ type: PropTypes__default["default"].string,
11516
+ icon: PropTypes__default["default"].element,
11517
+ isRemovable: PropTypes__default["default"].bool,
11518
+ onRemove: PropTypes__default["default"].func,
11519
+ onClick: PropTypes__default["default"].func,
11520
+ readOnly: PropTypes__default["default"].bool
11521
+ };
11436
11522
  Tag.defaultProps = {
11437
11523
  size: 'sm',
11438
11524
  isRemovable: false,
@@ -12602,7 +12688,8 @@
12602
12688
  onOpenAutoFocus = props.onOpenAutoFocus,
12603
12689
  disabledCloseButton = props.disabledCloseButton,
12604
12690
  onPointerDownOutside = props.onPointerDownOutside,
12605
- rest = __rest(props, ["children", "size", "css", "layer", "isMobile", "width", "onOpenAutoFocus", "disabledCloseButton", "onPointerDownOutside"]);
12691
+ onCloseClick = props.onCloseClick,
12692
+ rest = __rest(props, ["children", "size", "css", "layer", "isMobile", "width", "onOpenAutoFocus", "disabledCloseButton", "onPointerDownOutside", "onCloseClick"]);
12606
12693
  var childArray = React__default["default"].Children.toArray(children);
12607
12694
  var modalDialogFooter = findNodeChild$1(childArray, 'ModalDialogFooter');
12608
12695
  var modalDialogTitle = findNodeChild$1(childArray, 'ModalDialogTitle');
@@ -12687,7 +12774,10 @@
12687
12774
  wrapper: function (children) {
12688
12775
  return jsxRuntime.jsx(DialogClose, __assign({
12689
12776
  asChild: true,
12690
- disabled: disabledCloseButton
12777
+ disabled: disabledCloseButton,
12778
+ onClick: function () {
12779
+ if (onCloseClick) onCloseClick();
12780
+ }
12691
12781
  }, {
12692
12782
  children: children
12693
12783
  }), void 0);
@@ -14074,7 +14164,7 @@
14074
14164
  alignItems: 'center',
14075
14165
  borderBottom: '1px solid $bgBorder'
14076
14166
  });
14077
- const Item$3 = styled('div', {
14167
+ const Item$2 = styled('div', {
14078
14168
  overflow: 'hidden',
14079
14169
  backgroundColor: '$bgWhite',
14080
14170
  lineHeight: '20px',
@@ -14576,7 +14666,7 @@
14576
14666
  lineNumber: 767,
14577
14667
  columnNumber: 15
14578
14668
  }
14579
- })), /*#__PURE__*/React__default["default"].createElement(Item$3, {
14669
+ })), /*#__PURE__*/React__default["default"].createElement(Item$2, {
14580
14670
  css: {
14581
14671
  backgroundColor: 'unset',
14582
14672
  width: '100%'
@@ -14651,7 +14741,7 @@
14651
14741
  lineNumber: 814,
14652
14742
  columnNumber: 19
14653
14743
  }
14654
- }, "-") : null), /*#__PURE__*/React__default["default"].createElement(Item$3, {
14744
+ }, "-") : null), /*#__PURE__*/React__default["default"].createElement(Item$2, {
14655
14745
  css: {
14656
14746
  backgroundColor: 'unset',
14657
14747
  width: '100%'
@@ -15309,7 +15399,7 @@
15309
15399
  color: '$textGreen',
15310
15400
  height: '100%'
15311
15401
  });
15312
- const Item$2 = styled('div', {
15402
+ const Item$1 = styled('div', {
15313
15403
  backgroundColor: '$bgWhite',
15314
15404
  cursor: 'pointer',
15315
15405
  lineHeight: '20px'
@@ -15401,7 +15491,7 @@
15401
15491
  lineNumber: 183,
15402
15492
  columnNumber: 11
15403
15493
  }
15404
- }), /*#__PURE__*/React__default["default"].createElement(Item$2, {
15494
+ }), /*#__PURE__*/React__default["default"].createElement(Item$1, {
15405
15495
  onClick: () => {
15406
15496
  if (onClickItem) onClickItem();
15407
15497
  setOpen(false);
@@ -17108,7 +17198,7 @@
17108
17198
  };
17109
17199
 
17110
17200
  var ButtonGroup = styled(ToggleGroupPrimitive__namespace.Root, {});
17111
- var Item$1 = styled(ButtonGroupItem, {
17201
+ var ButtonGroupItemStyling = {
17112
17202
  fontSize: '$label',
17113
17203
  lineHeight: '$label',
17114
17204
  letterSpacing: '$label',
@@ -17116,7 +17206,7 @@
17116
17206
  justifyContent: 'start',
17117
17207
  height: '32px',
17118
17208
  width: '100%'
17119
- });
17209
+ };
17120
17210
  var AdvancedOption = function AdvancedOption(_a) {
17121
17211
  var _b = _a.options,
17122
17212
  options = _b === void 0 ? [] : _b,
@@ -17127,13 +17217,14 @@
17127
17217
  orientation: "vertical"
17128
17218
  }, {
17129
17219
  children: options.map(function (option) {
17130
- return jsxRuntime.jsx(Item$1, __assign({
17220
+ return jsxRuntime.jsx(ButtonGroupItem, __assign({
17131
17221
  isToggle: false,
17132
17222
  disabled: disabled,
17133
17223
  value: option.value,
17134
17224
  onClick: function () {
17135
17225
  return optionHandler(option.value);
17136
- }
17226
+ },
17227
+ css: ButtonGroupItemStyling
17137
17228
  }, {
17138
17229
  children: option.label
17139
17230
  }), option.value);
@@ -17356,7 +17447,11 @@
17356
17447
  function handleLeave() {
17357
17448
  setIsHover(false);
17358
17449
  }
17359
- return props.type === 'up' ? /*#__PURE__*/React__default["default"].createElement(IconUp, _extends({}, props, {
17450
+ return props.type === 'up' ? /*#__PURE__*/React__default["default"].createElement(IconUp, _extends({
17451
+ css: {
17452
+ userSelect: 'none'
17453
+ }
17454
+ }, props, {
17360
17455
  color: isHover && !props.disabled ? '#04C99E' : '#404545',
17361
17456
  onMouseEnter: handleEnter,
17362
17457
  onMouseLeave: handleLeave,
@@ -17366,14 +17461,18 @@
17366
17461
  lineNumber: 134,
17367
17462
  columnNumber: 5
17368
17463
  }
17369
- })) : /*#__PURE__*/React__default["default"].createElement(IconDown, _extends({}, props, {
17464
+ })) : /*#__PURE__*/React__default["default"].createElement(IconDown, _extends({
17465
+ css: {
17466
+ userSelect: 'none'
17467
+ }
17468
+ }, props, {
17370
17469
  color: isHover && !props.disabled ? '#04C99E' : '#404545',
17371
17470
  onMouseEnter: handleEnter,
17372
17471
  onMouseLeave: handleLeave,
17373
17472
  __self: undefined,
17374
17473
  __source: {
17375
17474
  fileName: _jsxFileName$r,
17376
- lineNumber: 141,
17475
+ lineNumber: 142,
17377
17476
  columnNumber: 5
17378
17477
  }
17379
17478
  }));
@@ -17499,7 +17598,7 @@
17499
17598
  __self: undefined,
17500
17599
  __source: {
17501
17600
  fileName: _jsxFileName$r,
17502
- lineNumber: 285,
17601
+ lineNumber: 287,
17503
17602
  columnNumber: 5
17504
17603
  }
17505
17604
  }, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -17508,7 +17607,7 @@
17508
17607
  __self: undefined,
17509
17608
  __source: {
17510
17609
  fileName: _jsxFileName$r,
17511
- lineNumber: 291,
17610
+ lineNumber: 293,
17512
17611
  columnNumber: 7
17513
17612
  }
17514
17613
  }, /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
@@ -17518,7 +17617,7 @@
17518
17617
  __self: undefined,
17519
17618
  __source: {
17520
17619
  fileName: _jsxFileName$r,
17521
- lineNumber: 292,
17620
+ lineNumber: 294,
17522
17621
  columnNumber: 9
17523
17622
  }
17524
17623
  }), /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
@@ -17528,7 +17627,7 @@
17528
17627
  __self: undefined,
17529
17628
  __source: {
17530
17629
  fileName: _jsxFileName$r,
17531
- lineNumber: 297,
17630
+ lineNumber: 299,
17532
17631
  columnNumber: 9
17533
17632
  }
17534
17633
  })), /*#__PURE__*/React__default["default"].createElement(Input$3, {
@@ -17539,7 +17638,7 @@
17539
17638
  __self: undefined,
17540
17639
  __source: {
17541
17640
  fileName: _jsxFileName$r,
17542
- lineNumber: 303,
17641
+ lineNumber: 305,
17543
17642
  columnNumber: 7
17544
17643
  }
17545
17644
  }), /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -17547,7 +17646,7 @@
17547
17646
  __self: undefined,
17548
17647
  __source: {
17549
17648
  fileName: _jsxFileName$r,
17550
- lineNumber: 304,
17649
+ lineNumber: 306,
17551
17650
  columnNumber: 7
17552
17651
  }
17553
17652
  }, /*#__PURE__*/React__default["default"].createElement(InputTime, {
@@ -17563,7 +17662,7 @@
17563
17662
  __self: undefined,
17564
17663
  __source: {
17565
17664
  fileName: _jsxFileName$r,
17566
- lineNumber: 305,
17665
+ lineNumber: 307,
17567
17666
  columnNumber: 9
17568
17667
  }
17569
17668
  }), /*#__PURE__*/React__default["default"].createElement(Time, {
@@ -17571,7 +17670,7 @@
17571
17670
  __self: undefined,
17572
17671
  __source: {
17573
17672
  fileName: _jsxFileName$r,
17574
- lineNumber: 316,
17673
+ lineNumber: 318,
17575
17674
  columnNumber: 9
17576
17675
  }
17577
17676
  }, ":"), /*#__PURE__*/React__default["default"].createElement(InputTime, {
@@ -17587,7 +17686,7 @@
17587
17686
  __self: undefined,
17588
17687
  __source: {
17589
17688
  fileName: _jsxFileName$r,
17590
- lineNumber: 317,
17689
+ lineNumber: 319,
17591
17690
  columnNumber: 9
17592
17691
  }
17593
17692
  })), /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -17596,7 +17695,7 @@
17596
17695
  __self: undefined,
17597
17696
  __source: {
17598
17697
  fileName: _jsxFileName$r,
17599
- lineNumber: 329,
17698
+ lineNumber: 331,
17600
17699
  columnNumber: 7
17601
17700
  }
17602
17701
  }, /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
@@ -17606,7 +17705,7 @@
17606
17705
  __self: undefined,
17607
17706
  __source: {
17608
17707
  fileName: _jsxFileName$r,
17609
- lineNumber: 330,
17708
+ lineNumber: 332,
17610
17709
  columnNumber: 9
17611
17710
  }
17612
17711
  }), /*#__PURE__*/React__default["default"].createElement(IconStateFull$2, {
@@ -17616,7 +17715,7 @@
17616
17715
  __self: undefined,
17617
17716
  __source: {
17618
17717
  fileName: _jsxFileName$r,
17619
- lineNumber: 335,
17718
+ lineNumber: 337,
17620
17719
  columnNumber: 9
17621
17720
  }
17622
17721
  })));
@@ -17701,7 +17800,7 @@
17701
17800
  __self: undefined,
17702
17801
  __source: {
17703
17802
  fileName: _jsxFileName$r,
17704
- lineNumber: 417,
17803
+ lineNumber: 419,
17705
17804
  columnNumber: 5
17706
17805
  }
17707
17806
  }, /*#__PURE__*/React__default["default"].createElement(NativeTimePicker, {
@@ -17721,7 +17820,7 @@
17721
17820
  __self: undefined,
17722
17821
  __source: {
17723
17822
  fileName: _jsxFileName$r,
17724
- lineNumber: 418,
17823
+ lineNumber: 420,
17725
17824
  columnNumber: 7
17726
17825
  }
17727
17826
  }));
@@ -17880,7 +17979,7 @@
17880
17979
  onChange: onChange,
17881
17980
  minDate: minDate,
17882
17981
  maxDate: maxDate,
17883
- css: css,
17982
+ css: undefined,
17884
17983
  __self: this,
17885
17984
  __source: {
17886
17985
  fileName: _jsxFileName$q,
@@ -20030,8 +20129,7 @@
20030
20129
  portalledMobile = _f === void 0 ? false : _f,
20031
20130
  onClose = _a.onClose,
20032
20131
  mobileOnly = _a.mobileOnly,
20033
- desktopOnly = _a.desktopOnly,
20034
- advanceOptions = _a.advanceOptions;
20132
+ desktopOnly = _a.desktopOnly;
20035
20133
  var _g = reactI18next.useTranslation('MajooUI/datePicker'),
20036
20134
  t = _g.t,
20037
20135
  i18n = _g.i18n;
@@ -20125,22 +20223,20 @@
20125
20223
  }
20126
20224
  };
20127
20225
  var renderDatePicker = function renderDatePicker() {
20128
- var options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20129
- var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20130
20226
  var handleDatePickerChange = function handleDatePickerChange(value) {
20131
20227
  if (showRangeControl || type === 'range_picker') {
20132
20228
  if (rangePickerType === 'monthly') {
20133
20229
  dispatch({
20134
20230
  type: 'UPDATE',
20135
- payload: advancePickerReducer('RANGE_MONTH', value)
20231
+ payload: advancePickerDate('RANGE_MONTH', value)
20136
20232
  });
20137
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
20233
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
20138
20234
  } else {
20139
20235
  dispatch({
20140
20236
  type: 'UPDATE',
20141
- payload: advancePickerReducer('RANGE_WEEK', value)
20237
+ payload: advancePickerDate('RANGE_WEEK', value)
20142
20238
  });
20143
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
20239
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
20144
20240
  }
20145
20241
  } else {
20146
20242
  dispatch({
@@ -20152,10 +20248,10 @@
20152
20248
  };
20153
20249
  return jsxRuntime.jsx(DatePicker, {
20154
20250
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsxRuntime.jsx(AdvancedOption, {
20155
- options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20251
+ options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
20156
20252
  disabled: disabled,
20157
20253
  optionHandler: function (value) {
20158
- var reducedResult = advancePickerReducer(value, undefined);
20254
+ var reducedResult = advancePickerDate(value, undefined);
20159
20255
  var dateAsString = moment__default["default"](reducedResult[1]).format('YYYY-MM-DD');
20160
20256
  var payload = [reducedResult[0], moment__default["default"]("".concat(dateAsString, " 23:59"), 'YYYY-MM-DD HH:mm').toDate()];
20161
20257
  dispatch({
@@ -20422,23 +20518,21 @@
20422
20518
  readOnly = _e === void 0 ? false : _e,
20423
20519
  _f = _a.isInvalid,
20424
20520
  isInvalid = _f === void 0 ? false : _f,
20425
- css = _a.css,
20426
- advanceOptions = _a.advanceOptions;
20521
+ css = _a.css;
20427
20522
  var _g = reactI18next.useTranslation('translation'),
20428
20523
  t = _g.t,
20429
20524
  i18n = _g.i18n;
20430
20525
  var language = i18n.language;
20431
20526
  var pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20432
- var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20433
20527
  return jsxRuntime.jsx(InputSelect, {
20434
- option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(function (option) {
20528
+ option: pickerOptions.map(function (option) {
20435
20529
  return {
20436
20530
  name: option.label,
20437
20531
  value: option.value
20438
20532
  };
20439
20533
  }),
20440
20534
  onChange: function (selectedOption) {
20441
- if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20535
+ if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20442
20536
  },
20443
20537
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20444
20538
  size: size,
@@ -52028,234 +52122,11 @@
52028
52122
  }, void 0)]
52029
52123
  }), void 0);
52030
52124
  }
52031
- var rotateKeyframe = keyframes({
52032
- '100%': {
52033
- transform: 'rotate(360deg)'
52034
- }
52035
- });
52036
- var dashKeyframe = keyframes({
52037
- '0%': {
52038
- strokeDasharray: '0,125',
52039
- strokeDashoffset: -8
52040
- },
52041
- '50%': {
52042
- strokeDasharray: 125,
52043
- strokeDashoffset: -10
52044
- },
52045
- '100%': {
52046
- strokeDasharray: 125,
52047
- strokeDashoffset: -125
52048
- }
52049
- });
52050
- var LoadingContainer = react.styled('div', {
52051
- position: 'absolute',
52052
- width: 152,
52053
- height: 152,
52054
- top: '50%',
52055
- left: '50%',
52056
- transform: 'translate(-50%,-50%)'
52057
- });
52058
- var LogoSvg = react.styled('svg', {
52059
- height: 152,
52060
- position: 'absolute',
52061
- width: 152
52062
- });
52063
- var LoadingSvg = react.styled('svg', {
52064
- animation: "".concat(rotateKeyframe, " 2s linear infinite"),
52065
- height: 152,
52066
- position: 'absolute',
52067
- width: 152,
52068
- top: '-22px'
52069
- });
52070
- var LoadingBackground = react.styled('div', {
52071
- background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
52072
- width: '100%',
52073
- height: '100%'
52074
- });
52075
- var LoadingCircle = react.styled('circle', {
52076
- stroke: 'white',
52077
- strokeLinecap: 'round',
52078
- transformOrigin: '50% 50%',
52079
- transform: 'rotate(-102deg)',
52080
- animation: "".concat(dashKeyframe, " 1.5s ease-in-out infinite")
52081
- });
52082
- var LoadingLabel = react.styled(Paragraph, {
52083
- position: 'relative',
52084
- top: 100
52085
- });
52086
- function CircularLoadingBar(_a) {
52087
- var label = _a.label;
52088
- return jsxRuntime.jsxs(LoadingContainer, {
52089
- children: [jsxRuntime.jsxs(LogoSvg, __assign({
52090
- xmlns: "http://www.w3.org/2000/svg",
52091
- width: "152",
52092
- height: "152",
52093
- viewBox: "0 0 152 152",
52094
- fill: "none"
52095
- }, {
52096
- children: [jsxRuntime.jsxs("g", __assign({
52097
- filter: "url(#filter0_ddd_4303_695)"
52098
- }, {
52099
- children: [jsxRuntime.jsx("rect", {
52100
- x: "46.0004",
52101
- y: "23.9999",
52102
- width: "60",
52103
- height: "60",
52104
- rx: "30",
52105
- fill: "url(#paint0_linear_4303_695)"
52106
- }, void 0), jsxRuntime.jsx("rect", {
52107
- x: "46",
52108
- y: "24",
52109
- width: "60",
52110
- height: "60",
52111
- rx: "30",
52112
- stroke: "url(#paint1_linear_4303_695)",
52113
- "stroke-opacity": "0.99",
52114
- "stroke-width": "5"
52115
- }, void 0), jsxRuntime.jsx("path", {
52116
- "fill-rule": "evenodd",
52117
- "clip-rule": "evenodd",
52118
- 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",
52119
- fill: "white"
52120
- }, void 0)]
52121
- }), void 0), jsxRuntime.jsxs("defs", {
52122
- children: [jsxRuntime.jsxs("filter", __assign({
52123
- id: "filter0_ddd_4303_695",
52124
- x: "0.5",
52125
- y: "0.5",
52126
- width: "151",
52127
- height: "151",
52128
- filterUnits: "userSpaceOnUse",
52129
- "color-interpolation-filters": "sRGB"
52130
- }, {
52131
- children: [jsxRuntime.jsx("feFlood", {
52132
- "flood-opacity": "0",
52133
- result: "BackgroundImageFix"
52134
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52135
- in: "SourceAlpha",
52136
- type: "matrix",
52137
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52138
- result: "hardAlpha"
52139
- }, void 0), jsxRuntime.jsx("feOffset", {
52140
- dy: "22"
52141
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52142
- stdDeviation: "21.5"
52143
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52144
- type: "matrix",
52145
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
52146
- }, void 0), jsxRuntime.jsx("feBlend", {
52147
- mode: "normal",
52148
- in2: "BackgroundImageFix",
52149
- result: "effect1_dropShadow_4303_695"
52150
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52151
- in: "SourceAlpha",
52152
- type: "matrix",
52153
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52154
- result: "hardAlpha"
52155
- }, void 0), jsxRuntime.jsx("feOffset", {
52156
- dy: "9"
52157
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52158
- stdDeviation: "12"
52159
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52160
- type: "matrix",
52161
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
52162
- }, void 0), jsxRuntime.jsx("feBlend", {
52163
- mode: "normal",
52164
- in2: "effect1_dropShadow_4303_695",
52165
- result: "effect2_dropShadow_4303_695"
52166
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52167
- in: "SourceAlpha",
52168
- type: "matrix",
52169
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52170
- result: "hardAlpha"
52171
- }, void 0), jsxRuntime.jsx("feOffset", {
52172
- dy: "3"
52173
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52174
- stdDeviation: "4.5"
52175
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52176
- type: "matrix",
52177
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
52178
- }, void 0), jsxRuntime.jsx("feBlend", {
52179
- mode: "normal",
52180
- in2: "effect2_dropShadow_4303_695",
52181
- result: "effect3_dropShadow_4303_695"
52182
- }, void 0), jsxRuntime.jsx("feBlend", {
52183
- mode: "normal",
52184
- in: "SourceGraphic",
52185
- in2: "effect3_dropShadow_4303_695",
52186
- result: "shape"
52187
- }, void 0)]
52188
- }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52189
- id: "paint0_linear_4303_695",
52190
- x1: "76.0004",
52191
- y1: "23.9999",
52192
- x2: "76.0004",
52193
- y2: "83.9999",
52194
- gradientUnits: "userSpaceOnUse"
52195
- }, {
52196
- children: [jsxRuntime.jsx("stop", {
52197
- "stop-color": "#B3DCA7"
52198
- }, void 0), jsxRuntime.jsx("stop", {
52199
- offset: "1",
52200
- "stop-color": "#22BDB6"
52201
- }, void 0)]
52202
- }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52203
- id: "paint1_linear_4303_695",
52204
- x1: "106",
52205
- y1: "68.8332",
52206
- x2: "50",
52207
- y2: "37.3332",
52208
- gradientUnits: "userSpaceOnUse"
52209
- }, {
52210
- children: [jsxRuntime.jsx("stop", {
52211
- "stop-color": "#F4F4F4"
52212
- }, void 0), jsxRuntime.jsx("stop", {
52213
- offset: "1",
52214
- "stop-color": "white"
52215
- }, void 0)]
52216
- }), void 0)]
52217
- }, void 0)]
52218
- }), void 0), jsxRuntime.jsxs(LoadingSvg, __assign({
52219
- viewBox: "0 0 100 100",
52220
- xmlns: "http://www.w3.org/2000/svg"
52221
- }, {
52222
- children: [jsxRuntime.jsx("defs", {
52223
- children: jsxRuntime.jsx("mask", __assign({
52224
- id: "mask"
52225
- }, {
52226
- children: jsxRuntime.jsx(LoadingCircle, {
52227
- cx: "50",
52228
- cy: "50",
52229
- r: "20",
52230
- fill: "none",
52231
- "stroke-width": "4",
52232
- "stroke-miterlimit": "10"
52233
- }, void 0)
52234
- }), void 0)
52235
- }, void 0), jsxRuntime.jsx("foreignObject", __assign({
52236
- x: "0",
52237
- y: "0",
52238
- width: "100",
52239
- height: "100",
52240
- mask: "url(#mask)"
52241
- }, {
52242
- children: jsxRuntime.jsx(LoadingBackground, {}, void 0)
52243
- }), void 0)]
52244
- }), void 0), label && jsxRuntime.jsx(LoadingLabel, __assign({
52245
- color: "white",
52246
- align: "center"
52247
- }, {
52248
- children: label
52249
- }), void 0)]
52250
- }, void 0);
52251
- }
52252
52125
  var interval;
52253
52126
  function LoadingBar(props) {
52254
52127
  var show = props.show,
52255
52128
  onCompleted = props.onCompleted,
52256
- intervalTime = props.interval,
52257
- isPageLoader = props.isPageLoader,
52258
- pageLoaderLabel = props.pageLoaderLabel;
52129
+ intervalTime = props.interval;
52259
52130
  var _a = React.useState(0),
52260
52131
  progress = _a[0],
52261
52132
  setProgress = _a[1];
@@ -52288,34 +52159,6 @@
52288
52159
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52289
52160
  }
52290
52161
  }, [progress, onCompleted]);
52291
- if (!show) return jsxRuntime.jsx(React__default["default"].Fragment, {}, void 0);
52292
- if (isPageLoader) {
52293
- return jsxRuntime.jsx(ModalDialog, __assign({
52294
- open: show,
52295
- modal: true,
52296
- allowPinchZoom: false,
52297
- width: "100%",
52298
- layer: 2000,
52299
- isMobile: false,
52300
- css: {
52301
- borderRadius: '2px !important',
52302
- '& > div': {
52303
- backgroundColor: 'transparent !important',
52304
- borderRadius: '2px !important'
52305
- }
52306
- }
52307
- }, {
52308
- children: jsxRuntime.jsx(ModalDialogContent, __assign({
52309
- css: {
52310
- padding: '$spacing-08 $spacing-11'
52311
- }
52312
- }, {
52313
- children: jsxRuntime.jsx(CircularLoadingBar, {
52314
- label: pageLoaderLabel
52315
- }, void 0)
52316
- }), void 0)
52317
- }), void 0);
52318
- }
52319
52162
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
52320
52163
  visibility: true
52321
52164
  }), void 0) : jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
@@ -52328,8 +52171,7 @@
52328
52171
  show: false,
52329
52172
  interval: 100,
52330
52173
  description: 'Loading...',
52331
- size: 'md',
52332
- isPageLoader: false
52174
+ size: 'md'
52333
52175
  };
52334
52176
 
52335
52177
  var Container$4 = styled(Flex$1, {
@@ -53497,6 +53339,7 @@
53497
53339
  label: tooltipLabel(name, variants)
53498
53340
  }, {
53499
53341
  children: jsxRuntime.jsxs(Box, __assign({
53342
+ gap: 2,
53500
53343
  css: __assign({
53501
53344
  display: 'flex',
53502
53345
  alignItems: 'center',
@@ -53544,7 +53387,7 @@
53544
53387
  padding: '4px 8px',
53545
53388
  minWidth: 'unset',
53546
53389
  justifyContent: 'flex-start',
53547
- marginRight: 'auto'
53390
+ mr: 'auto'
53548
53391
  },
53549
53392
  type: "varian"
53550
53393
  }, {
@@ -57362,7 +57205,6 @@
57362
57205
  exports.PriceColumn = PriceColumn;
57363
57206
  exports.Progress = Progress$1;
57364
57207
  exports.ProgressIndicator = ProgressIndicator;
57365
- exports.Provider = Provider;
57366
57208
  exports.RANGE_CONTROL = RANGE_CONTROL;
57367
57209
  exports.RANGE_MONTH = RANGE_MONTH;
57368
57210
  exports.RANGE_PICKER = RANGE_PICKER;
@@ -57421,9 +57263,6 @@
57421
57263
  exports.ToastContext = ToastContext;
57422
57264
  exports.ToastProvider = ToastProvider;
57423
57265
  exports.Tooltip = Tooltip$1;
57424
- exports.TooltipBase = TooltipBase;
57425
- exports.TooltipContent = TooltipContent;
57426
- exports.TooltipTrigger = TooltipTrigger;
57427
57266
  exports.UPDATE_PICKER = UPDATE_PICKER;
57428
57267
  exports.Upload = Upload;
57429
57268
  exports.WEEKLY = WEEKLY;