@majoo-ui/react 1.60.37-rc.5 → 1.60.37

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
  }
@@ -3458,8 +3462,8 @@
3458
3462
  Card.Label = StyledLabel$2;
3459
3463
  Card.Description = StyledDescription$3;
3460
3464
 
3461
- const _excluded$w = ["children"];
3462
- var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3465
+ const _excluded$y = ["children"];
3466
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
3463
3467
  const BreadcrumbStyle = styled('nav', {
3464
3468
  wordWrap: 'break-word',
3465
3469
  '& li+li:before': {
@@ -3504,7 +3508,7 @@
3504
3508
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
3505
3509
  __self: undefined,
3506
3510
  __source: {
3507
- fileName: _jsxFileName$X,
3511
+ fileName: _jsxFileName$Z,
3508
3512
  lineNumber: 42,
3509
3513
  columnNumber: 10
3510
3514
  }
@@ -3514,19 +3518,19 @@
3514
3518
  let {
3515
3519
  children
3516
3520
  } = _ref,
3517
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3521
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3518
3522
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbStyle, _extends({}, rest, {
3519
3523
  "aria-label": "breadcrumb",
3520
3524
  __self: undefined,
3521
3525
  __source: {
3522
- fileName: _jsxFileName$X,
3526
+ fileName: _jsxFileName$Z,
3523
3527
  lineNumber: 47,
3524
3528
  columnNumber: 5
3525
3529
  }
3526
3530
  }), /*#__PURE__*/React__default["default"].createElement(Ol, {
3527
3531
  __self: undefined,
3528
3532
  __source: {
3529
- fileName: _jsxFileName$X,
3533
+ fileName: _jsxFileName$Z,
3530
3534
  lineNumber: 48,
3531
3535
  columnNumber: 7
3532
3536
  }
@@ -3776,8 +3780,8 @@
3776
3780
  };
3777
3781
  Badge.displayName = 'Badge';
3778
3782
 
3779
- const _excluded$v = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3780
- var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3783
+ const _excluded$x = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
3784
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
3781
3785
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
3782
3786
  width: '32px',
3783
3787
  height: '32px',
@@ -3821,7 +3825,7 @@
3821
3825
  onClick,
3822
3826
  css
3823
3827
  } = _ref,
3824
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
3828
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3825
3829
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
3826
3830
  className: className,
3827
3831
  onClick: onClick,
@@ -3829,7 +3833,7 @@
3829
3833
  }, props, {
3830
3834
  __self: this,
3831
3835
  __source: {
3832
- fileName: _jsxFileName$W,
3836
+ fileName: _jsxFileName$Y,
3833
3837
  lineNumber: 46,
3834
3838
  columnNumber: 5
3835
3839
  }
@@ -3839,7 +3843,7 @@
3839
3843
  onLoadingStatusChange: onLoadingStatusChange,
3840
3844
  __self: this,
3841
3845
  __source: {
3842
- fileName: _jsxFileName$W,
3846
+ fileName: _jsxFileName$Y,
3843
3847
  lineNumber: 47,
3844
3848
  columnNumber: 21
3845
3849
  }
@@ -3847,21 +3851,21 @@
3847
3851
  delayMs: delayMs,
3848
3852
  __self: this,
3849
3853
  __source: {
3850
- fileName: _jsxFileName$W,
3854
+ fileName: _jsxFileName$Y,
3851
3855
  lineNumber: 48,
3852
3856
  columnNumber: 7
3853
3857
  }
3854
3858
  }, children !== undefined ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children) : /*#__PURE__*/React__default["default"].createElement(StyledIcon, {
3855
3859
  __self: this,
3856
3860
  __source: {
3857
- fileName: _jsxFileName$W,
3861
+ fileName: _jsxFileName$Y,
3858
3862
  lineNumber: 52,
3859
3863
  columnNumber: 11
3860
3864
  }
3861
3865
  }, /*#__PURE__*/React__default["default"].createElement(icons.UserFilled, {
3862
3866
  __self: this,
3863
3867
  __source: {
3864
- fileName: _jsxFileName$W,
3868
+ fileName: _jsxFileName$Y,
3865
3869
  lineNumber: 53,
3866
3870
  columnNumber: 13
3867
3871
  }
@@ -3878,8 +3882,8 @@
3878
3882
  delayMs: 0
3879
3883
  };
3880
3884
 
3881
- const _excluded$u = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3882
- var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3885
+ const _excluded$w = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
3886
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
3883
3887
  const ContainerFallback = styled(Flex$1, {
3884
3888
  boxSizing: 'border-box',
3885
3889
  border: '2px dashed #C0C4C4',
@@ -3928,7 +3932,7 @@
3928
3932
  cssFallback,
3929
3933
  rounded
3930
3934
  } = _ref,
3931
- props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
3935
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3932
3936
  const {
3933
3937
  t
3934
3938
  } = reactI18next.useTranslation('translation');
@@ -3947,7 +3951,7 @@
3947
3951
  }, props, {
3948
3952
  __self: this,
3949
3953
  __source: {
3950
- fileName: _jsxFileName$V,
3954
+ fileName: _jsxFileName$X,
3951
3955
  lineNumber: 61,
3952
3956
  columnNumber: 7
3953
3957
  }
@@ -3963,14 +3967,14 @@
3963
3967
  }, cssFallback),
3964
3968
  __self: this,
3965
3969
  __source: {
3966
- fileName: _jsxFileName$V,
3970
+ fileName: _jsxFileName$X,
3967
3971
  lineNumber: 75,
3968
3972
  columnNumber: 7
3969
3973
  }
3970
3974
  }, /*#__PURE__*/React__default["default"].createElement(TextFallback, {
3971
3975
  __self: this,
3972
3976
  __source: {
3973
- fileName: _jsxFileName$V,
3977
+ fileName: _jsxFileName$X,
3974
3978
  lineNumber: 76,
3975
3979
  columnNumber: 9
3976
3980
  }
@@ -4028,338 +4032,6 @@
4028
4032
  fallbackTitle: 'Tidak ada foto'
4029
4033
  };
4030
4034
 
4031
- var zIndices$2 = core.foundations.zIndices;
4032
- var slideUpAndFade$2 = keyframes({
4033
- '0%': {
4034
- opacity: 0,
4035
- transform: 'translateY(2px)'
4036
- },
4037
- '100%': {
4038
- opacity: 1,
4039
- transform: 'translateY(0)'
4040
- }
4041
- });
4042
- var slideRightAndFade$2 = keyframes({
4043
- '0%': {
4044
- opacity: 0,
4045
- transform: 'translateX(-2px)'
4046
- },
4047
- '100%': {
4048
- opacity: 1,
4049
- transform: 'translateX(0)'
4050
- }
4051
- });
4052
- var slideDownAndFade$2 = keyframes({
4053
- '0%': {
4054
- opacity: 0,
4055
- transform: 'translateY(-2px)'
4056
- },
4057
- '100%': {
4058
- opacity: 1,
4059
- transform: 'translateY(0)'
4060
- }
4061
- });
4062
- var slideLeftAndFade$2 = keyframes({
4063
- '0%': {
4064
- opacity: 0,
4065
- transform: 'translateX(2px)'
4066
- },
4067
- '100%': {
4068
- opacity: 1,
4069
- transform: 'translateX(0)'
4070
- }
4071
- });
4072
- var StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4073
- zIndex: zIndices$2.tooltip,
4074
- borderRadius: 8,
4075
- padding: '8px',
4076
- fontSize: '$helper',
4077
- letterSpacing: '$helper',
4078
- lineHeight: '$helper',
4079
- fontWeight: '400',
4080
- backgroundColor: '$white',
4081
- boxShadow: '$large',
4082
- '@media (prefers-reduced-motion: no-preference)': {
4083
- animationDuration: '400ms',
4084
- animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4085
- animationFillMode: 'forwards',
4086
- willChange: 'transform, opacity',
4087
- '&[data-state="delayed-open"]': {
4088
- '&[data-side="top"]': {
4089
- animationName: slideDownAndFade$2
4090
- },
4091
- '&[data-side="right"]': {
4092
- animationName: slideLeftAndFade$2
4093
- },
4094
- '&[data-side="bottom"]': {
4095
- animationName: slideUpAndFade$2
4096
- },
4097
- '&[data-side="left"]': {
4098
- animationName: slideRightAndFade$2
4099
- }
4100
- }
4101
- },
4102
- maxWidth: '100vw'
4103
- });
4104
- var TriggerSpan = styled('span', {
4105
- display: 'flex'
4106
- });
4107
- var StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4108
- boxShadow: '$large'
4109
- });
4110
- var TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4111
- defaultVariants: {
4112
- color: 'ligth'
4113
- }
4114
- });
4115
- // Exports
4116
- var Provider = TooltipPrimitive__namespace.Provider;
4117
- var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4118
- var TooltipContent = StyledContent$6;
4119
- var dark = {
4120
- color: core.foundations.colors.white,
4121
- backgroundColor: core.foundations.colors.gray800
4122
- };
4123
- var ligth = {
4124
- color: core.foundations.colors.textPrimary,
4125
- backgroundColor: core.foundations.colors.bgWhite
4126
- };
4127
- var darkArrow = {
4128
- fill: core.foundations.colors.gray800
4129
- };
4130
- var lightArrow = {
4131
- fill: core.foundations.colors.bgWhite
4132
- };
4133
- var Tooltip$1 = function Tooltip(_a) {
4134
- var children = _a.children,
4135
- label = _a.label,
4136
- color = _a.color,
4137
- css = _a.css,
4138
- withClick = _a.withClick,
4139
- side = _a.side,
4140
- align = _a.align,
4141
- delayDuration = _a.delayDuration,
4142
- rest = __rest(_a, ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"]);
4143
- var _b = React.useState(false),
4144
- open = _b[0],
4145
- setOpen = _b[1];
4146
- return jsxRuntime.jsx(Provider, {
4147
- children: jsxRuntime.jsxs(TooltipBase, __assign({}, rest, {
4148
- open: withClick ? open : undefined,
4149
- delayDuration: delayDuration
4150
- }, {
4151
- children: [jsxRuntime.jsx(TooltipTrigger, __assign({
4152
- asChild: true
4153
- }, {
4154
- children: jsxRuntime.jsx(TriggerSpan, __assign({
4155
- onClick: function () {
4156
- return withClick && !open && setOpen(true);
4157
- }
4158
- }, {
4159
- children: children
4160
- }), void 0)
4161
- }), void 0), jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, {
4162
- children: jsxRuntime.jsxs(StyledContent$6, __assign({
4163
- align: align,
4164
- side: side,
4165
- sideOffset: 5,
4166
- css: color === 'dark' ? __assign(__assign({}, dark), css) : __assign(__assign({}, ligth), css),
4167
- onPointerDownOutside: function () {
4168
- return setTimeout(function () {
4169
- setOpen(false);
4170
- }, 100);
4171
- }
4172
- }, {
4173
- children: [label, jsxRuntime.jsx(StyledArrow$1, {
4174
- offset: 10,
4175
- css: color === 'dark' ? darkArrow : lightArrow
4176
- }, void 0)]
4177
- }), void 0)
4178
- }, void 0)]
4179
- }), void 0)
4180
- }, void 0);
4181
- };
4182
- Tooltip$1.defaultProps = {
4183
- color: 'dark',
4184
- side: 'bottom',
4185
- align: 'center',
4186
- label: '',
4187
- children: jsxRuntime.jsx("div", {}, void 0),
4188
- delayDuration: 200
4189
- };
4190
-
4191
- const _excluded$t = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4192
- var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4193
- const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4194
- position: 'relative',
4195
- overflow: 'hidden',
4196
- background: '$chartLightGreen',
4197
- width: 'auto',
4198
- height: '12px',
4199
- variants: {
4200
- rounded: {
4201
- true: {
4202
- borderRadius: '100px'
4203
- }
4204
- },
4205
- color: {
4206
- green: {
4207
- backgroundColor: '$chartLightGreen'
4208
- },
4209
- orange: {
4210
- backgroundColor: '$chartLightOrange'
4211
- },
4212
- blue: {
4213
- backgroundColor: '$chartLightBlue'
4214
- },
4215
- purple: {
4216
- backgroundColor: '$chartLightPurple'
4217
- },
4218
- yellow: {
4219
- backgroundColor: '$chartLightYellow'
4220
- },
4221
- red: {
4222
- backgroundColor: '$chartLightRed'
4223
- },
4224
- dark: {
4225
- backgroundColor: '$chartLightGray'
4226
- }
4227
- },
4228
- size: {
4229
- xs: {
4230
- height: '4px'
4231
- },
4232
- sm: {
4233
- height: '8px'
4234
- },
4235
- m: {
4236
- height: '12px'
4237
- },
4238
- l: {
4239
- height: '16px'
4240
- },
4241
- xl: {
4242
- height: '20px'
4243
- }
4244
- }
4245
- }
4246
- });
4247
- const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4248
- backgroundColor: '$chartGreen',
4249
- height: '60%',
4250
- transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4251
- variants: {
4252
- rounded: {
4253
- true: {
4254
- borderRadius: '100px'
4255
- }
4256
- },
4257
- color: {
4258
- green: {
4259
- backgroundColor: '$chartGreen'
4260
- },
4261
- orange: {
4262
- backgroundColor: '$chartOrange'
4263
- },
4264
- blue: {
4265
- backgroundColor: '$chartBlue'
4266
- },
4267
- purple: {
4268
- backgroundColor: '$chartPurple'
4269
- },
4270
- yellow: {
4271
- backgroundColor: '$chartYellow'
4272
- },
4273
- red: {
4274
- backgroundColor: '$chartRed'
4275
- },
4276
- dark: {
4277
- backgroundColor: '$chartDark'
4278
- }
4279
- },
4280
- size: {
4281
- xs: {
4282
- height: '100%'
4283
- },
4284
- sm: {
4285
- height: '100%'
4286
- },
4287
- m: {
4288
- margin: "2px 2px 0"
4289
- },
4290
- l: {
4291
- margin: "3px 3px 0"
4292
- },
4293
- xl: {
4294
- margin: "4px 4px 0"
4295
- }
4296
- }
4297
- }
4298
- });
4299
- function Progress$1(_ref) {
4300
- let {
4301
- className,
4302
- value,
4303
- max,
4304
- getValueLabel,
4305
- color,
4306
- size,
4307
- rounded,
4308
- width
4309
- } = _ref,
4310
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4311
- return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4312
- className: className,
4313
- value: value,
4314
- max: max,
4315
- getValueLabel: getValueLabel,
4316
- color: color,
4317
- size: size,
4318
- rounded: rounded,
4319
- css: Object.assign({
4320
- width: width
4321
- }, props.css)
4322
- }, props, {
4323
- __self: this,
4324
- __source: {
4325
- fileName: _jsxFileName$U,
4326
- lineNumber: 88,
4327
- columnNumber: 5
4328
- }
4329
- }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4330
- color: color,
4331
- size: size,
4332
- rounded: rounded,
4333
- css: {
4334
- width: `${value}%`
4335
- },
4336
- __self: this,
4337
- __source: {
4338
- fileName: _jsxFileName$U,
4339
- lineNumber: 89,
4340
- columnNumber: 7
4341
- }
4342
- }));
4343
- }
4344
- Progress$1.propTypes = {
4345
- className: PropTypes__default["default"].string,
4346
- value: PropTypes__default["default"].number,
4347
- max: PropTypes__default["default"].number,
4348
- getValueLabel: PropTypes__default["default"].func,
4349
- color: PropTypes__default["default"].string,
4350
- size: PropTypes__default["default"].string,
4351
- rounded: PropTypes__default["default"].bool,
4352
- width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4353
- };
4354
- Progress$1.defaultProps = {
4355
- max: 100,
4356
- color: 'green',
4357
- size: 'm',
4358
- rounded: true
4359
- };
4360
-
4361
- const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4362
-
4363
4035
  var objectDefineProperties = {};
4364
4036
 
4365
4037
  var DESCRIPTORS$6 = descriptors;
@@ -4896,6 +4568,384 @@
4896
4568
 
4897
4569
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
4898
4570
 
4571
+ const _excluded$v = ["children", "label", "color", "css", "withClick", "side", "align", "delayDuration"];
4572
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4573
+ const {
4574
+ zIndices: zIndices$2
4575
+ } = core.foundations;
4576
+ const slideUpAndFade$2 = keyframes({
4577
+ '0%': {
4578
+ opacity: 0,
4579
+ transform: 'translateY(2px)'
4580
+ },
4581
+ '100%': {
4582
+ opacity: 1,
4583
+ transform: 'translateY(0)'
4584
+ }
4585
+ });
4586
+ const slideRightAndFade$2 = keyframes({
4587
+ '0%': {
4588
+ opacity: 0,
4589
+ transform: 'translateX(-2px)'
4590
+ },
4591
+ '100%': {
4592
+ opacity: 1,
4593
+ transform: 'translateX(0)'
4594
+ }
4595
+ });
4596
+ const slideDownAndFade$2 = keyframes({
4597
+ '0%': {
4598
+ opacity: 0,
4599
+ transform: 'translateY(-2px)'
4600
+ },
4601
+ '100%': {
4602
+ opacity: 1,
4603
+ transform: 'translateY(0)'
4604
+ }
4605
+ });
4606
+ const slideLeftAndFade$2 = keyframes({
4607
+ '0%': {
4608
+ opacity: 0,
4609
+ transform: 'translateX(2px)'
4610
+ },
4611
+ '100%': {
4612
+ opacity: 1,
4613
+ transform: 'translateX(0)'
4614
+ }
4615
+ });
4616
+ const StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4617
+ zIndex: zIndices$2.tooltip,
4618
+ borderRadius: 8,
4619
+ padding: '8px',
4620
+ fontSize: '$helper',
4621
+ letterSpacing: '$helper',
4622
+ lineHeight: '$helper',
4623
+ fontWeight: '400',
4624
+ backgroundColor: '$white',
4625
+ boxShadow: '$large',
4626
+ '@media (prefers-reduced-motion: no-preference)': {
4627
+ animationDuration: '400ms',
4628
+ animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4629
+ animationFillMode: 'forwards',
4630
+ willChange: 'transform, opacity',
4631
+ '&[data-state="delayed-open"]': {
4632
+ '&[data-side="top"]': {
4633
+ animationName: slideDownAndFade$2
4634
+ },
4635
+ '&[data-side="right"]': {
4636
+ animationName: slideLeftAndFade$2
4637
+ },
4638
+ '&[data-side="bottom"]': {
4639
+ animationName: slideUpAndFade$2
4640
+ },
4641
+ '&[data-side="left"]': {
4642
+ animationName: slideRightAndFade$2
4643
+ }
4644
+ }
4645
+ },
4646
+ maxWidth: '100vw'
4647
+ });
4648
+ const TriggerSpan = styled('span', {
4649
+ display: 'flex'
4650
+ });
4651
+ const StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4652
+ boxShadow: '$large'
4653
+ });
4654
+ const TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4655
+ defaultVariants: {
4656
+ color: 'ligth'
4657
+ }
4658
+ });
4659
+
4660
+ // Exports
4661
+ const Provider = TooltipPrimitive__namespace.Provider;
4662
+ const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4663
+ const dark = {
4664
+ color: core.foundations.colors.white,
4665
+ backgroundColor: core.foundations.colors.gray800
4666
+ };
4667
+ const ligth = {
4668
+ color: core.foundations.colors.textPrimary,
4669
+ backgroundColor: core.foundations.colors.bgWhite
4670
+ };
4671
+ const darkArrow = {
4672
+ fill: core.foundations.colors.gray800
4673
+ };
4674
+ const lightArrow = {
4675
+ fill: core.foundations.colors.bgWhite
4676
+ };
4677
+ const Tooltip$1 = _ref => {
4678
+ let {
4679
+ children,
4680
+ label,
4681
+ color,
4682
+ css,
4683
+ withClick,
4684
+ side,
4685
+ align,
4686
+ delayDuration
4687
+ } = _ref,
4688
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4689
+ const [open, setOpen] = React.useState(false);
4690
+ return /*#__PURE__*/React__default["default"].createElement(Provider, {
4691
+ __self: undefined,
4692
+ __source: {
4693
+ fileName: _jsxFileName$W,
4694
+ lineNumber: 92,
4695
+ columnNumber: 5
4696
+ }
4697
+ }, /*#__PURE__*/React__default["default"].createElement(TooltipBase, _extends({}, rest, {
4698
+ open: withClick ? open : undefined,
4699
+ delayDuration: delayDuration,
4700
+ __self: undefined,
4701
+ __source: {
4702
+ fileName: _jsxFileName$W,
4703
+ lineNumber: 93,
4704
+ columnNumber: 7
4705
+ }
4706
+ }), /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
4707
+ asChild: true,
4708
+ __self: undefined,
4709
+ __source: {
4710
+ fileName: _jsxFileName$W,
4711
+ lineNumber: 94,
4712
+ columnNumber: 9
4713
+ }
4714
+ }, /*#__PURE__*/React__default["default"].createElement(TriggerSpan, {
4715
+ onClick: () => withClick && !open && setOpen(true),
4716
+ __self: undefined,
4717
+ __source: {
4718
+ fileName: _jsxFileName$W,
4719
+ lineNumber: 95,
4720
+ columnNumber: 11
4721
+ }
4722
+ }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
4723
+ __self: undefined,
4724
+ __source: {
4725
+ fileName: _jsxFileName$W,
4726
+ lineNumber: 97,
4727
+ columnNumber: 9
4728
+ }
4729
+ }, /*#__PURE__*/React__default["default"].createElement(StyledContent$6, {
4730
+ align: align,
4731
+ side: side,
4732
+ sideOffset: 5,
4733
+ css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4734
+ onPointerDownOutside: () => setTimeout(() => {
4735
+ setOpen(false);
4736
+ }, 100),
4737
+ __self: undefined,
4738
+ __source: {
4739
+ fileName: _jsxFileName$W,
4740
+ lineNumber: 98,
4741
+ columnNumber: 11
4742
+ }
4743
+ }, label, /*#__PURE__*/React__default["default"].createElement(StyledArrow$1, {
4744
+ offset: 10,
4745
+ css: color === 'dark' ? darkArrow : lightArrow,
4746
+ __self: undefined,
4747
+ __source: {
4748
+ fileName: _jsxFileName$W,
4749
+ lineNumber: 110,
4750
+ columnNumber: 13
4751
+ }
4752
+ })))));
4753
+ };
4754
+ Tooltip$1.propTypes = {
4755
+ children: PropTypes__default["default"].node,
4756
+ label: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
4757
+ color: PropTypes__default["default"].string,
4758
+ side: PropTypes__default["default"].oneOf(['top', 'bottom', 'right', 'left']),
4759
+ align: PropTypes__default["default"].oneOf(['start', 'center', 'end'])
4760
+ };
4761
+ Tooltip$1.defaultProps = {
4762
+ color: 'dark',
4763
+ side: 'bottom',
4764
+ align: 'center',
4765
+ label: '',
4766
+ children: /*#__PURE__*/React__default["default"].createElement("div", {
4767
+ __self: undefined,
4768
+ __source: {
4769
+ fileName: _jsxFileName$W,
4770
+ lineNumber: 131,
4771
+ columnNumber: 13
4772
+ }
4773
+ }),
4774
+ delayDuration: 200
4775
+ };
4776
+
4777
+ const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4778
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
4779
+ const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4780
+ position: 'relative',
4781
+ overflow: 'hidden',
4782
+ background: '$chartLightGreen',
4783
+ width: 'auto',
4784
+ height: '12px',
4785
+ variants: {
4786
+ rounded: {
4787
+ true: {
4788
+ borderRadius: '100px'
4789
+ }
4790
+ },
4791
+ color: {
4792
+ green: {
4793
+ backgroundColor: '$chartLightGreen'
4794
+ },
4795
+ orange: {
4796
+ backgroundColor: '$chartLightOrange'
4797
+ },
4798
+ blue: {
4799
+ backgroundColor: '$chartLightBlue'
4800
+ },
4801
+ purple: {
4802
+ backgroundColor: '$chartLightPurple'
4803
+ },
4804
+ yellow: {
4805
+ backgroundColor: '$chartLightYellow'
4806
+ },
4807
+ red: {
4808
+ backgroundColor: '$chartLightRed'
4809
+ },
4810
+ dark: {
4811
+ backgroundColor: '$chartLightGray'
4812
+ }
4813
+ },
4814
+ size: {
4815
+ xs: {
4816
+ height: '4px'
4817
+ },
4818
+ sm: {
4819
+ height: '8px'
4820
+ },
4821
+ m: {
4822
+ height: '12px'
4823
+ },
4824
+ l: {
4825
+ height: '16px'
4826
+ },
4827
+ xl: {
4828
+ height: '20px'
4829
+ }
4830
+ }
4831
+ }
4832
+ });
4833
+ const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4834
+ backgroundColor: '$chartGreen',
4835
+ height: '60%',
4836
+ transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4837
+ variants: {
4838
+ rounded: {
4839
+ true: {
4840
+ borderRadius: '100px'
4841
+ }
4842
+ },
4843
+ color: {
4844
+ green: {
4845
+ backgroundColor: '$chartGreen'
4846
+ },
4847
+ orange: {
4848
+ backgroundColor: '$chartOrange'
4849
+ },
4850
+ blue: {
4851
+ backgroundColor: '$chartBlue'
4852
+ },
4853
+ purple: {
4854
+ backgroundColor: '$chartPurple'
4855
+ },
4856
+ yellow: {
4857
+ backgroundColor: '$chartYellow'
4858
+ },
4859
+ red: {
4860
+ backgroundColor: '$chartRed'
4861
+ },
4862
+ dark: {
4863
+ backgroundColor: '$chartDark'
4864
+ }
4865
+ },
4866
+ size: {
4867
+ xs: {
4868
+ height: '100%'
4869
+ },
4870
+ sm: {
4871
+ height: '100%'
4872
+ },
4873
+ m: {
4874
+ margin: "2px 2px 0"
4875
+ },
4876
+ l: {
4877
+ margin: "3px 3px 0"
4878
+ },
4879
+ xl: {
4880
+ margin: "4px 4px 0"
4881
+ }
4882
+ }
4883
+ }
4884
+ });
4885
+ function Progress$1(_ref) {
4886
+ let {
4887
+ className,
4888
+ value,
4889
+ max,
4890
+ getValueLabel,
4891
+ color,
4892
+ size,
4893
+ rounded,
4894
+ width
4895
+ } = _ref,
4896
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4897
+ return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4898
+ className: className,
4899
+ value: value,
4900
+ max: max,
4901
+ getValueLabel: getValueLabel,
4902
+ color: color,
4903
+ size: size,
4904
+ rounded: rounded,
4905
+ css: Object.assign({
4906
+ width: width
4907
+ }, props.css)
4908
+ }, props, {
4909
+ __self: this,
4910
+ __source: {
4911
+ fileName: _jsxFileName$V,
4912
+ lineNumber: 88,
4913
+ columnNumber: 5
4914
+ }
4915
+ }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4916
+ color: color,
4917
+ size: size,
4918
+ rounded: rounded,
4919
+ css: {
4920
+ width: `${value}%`
4921
+ },
4922
+ __self: this,
4923
+ __source: {
4924
+ fileName: _jsxFileName$V,
4925
+ lineNumber: 89,
4926
+ columnNumber: 7
4927
+ }
4928
+ }));
4929
+ }
4930
+ Progress$1.propTypes = {
4931
+ className: PropTypes__default["default"].string,
4932
+ value: PropTypes__default["default"].number,
4933
+ max: PropTypes__default["default"].number,
4934
+ getValueLabel: PropTypes__default["default"].func,
4935
+ color: PropTypes__default["default"].string,
4936
+ size: PropTypes__default["default"].string,
4937
+ rounded: PropTypes__default["default"].bool,
4938
+ width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4939
+ };
4940
+ Progress$1.defaultProps = {
4941
+ max: 100,
4942
+ color: 'green',
4943
+ size: 'm',
4944
+ rounded: true
4945
+ };
4946
+
4947
+ const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4948
+
4899
4949
  var anObject$d = anObject$j;
4900
4950
 
4901
4951
  // `RegExp.prototype.flags` getter implementation
@@ -5536,8 +5586,8 @@
5536
5586
  return matches;
5537
5587
  }
5538
5588
 
5539
- const _excluded$s = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5540
- var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5589
+ const _excluded$t = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
5590
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
5541
5591
  const TOAST_WIDTH = 576;
5542
5592
  const ANIMATION_DURATION = 400;
5543
5593
  const TOP_RIGHT_POSITION = 'top-right';
@@ -5705,7 +5755,7 @@
5705
5755
  captionOfAction,
5706
5756
  hrefOfAction
5707
5757
  } = _ref,
5708
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5758
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
5709
5759
  const [isOpen, setIsOpen] = React__namespace.useState(false);
5710
5760
  const isMobile = useMediaQuery(`(max-width: 767px`);
5711
5761
  const close = React__namespace.useCallback(() => {
@@ -5734,7 +5784,7 @@
5734
5784
  onExited: onRemove,
5735
5785
  __self: undefined,
5736
5786
  __source: {
5737
- fileName: _jsxFileName$T,
5787
+ fileName: _jsxFileName$U,
5738
5788
  lineNumber: 216,
5739
5789
  columnNumber: 5
5740
5790
  }
@@ -5749,7 +5799,7 @@
5749
5799
  }, rest, {
5750
5800
  __self: undefined,
5751
5801
  __source: {
5752
- fileName: _jsxFileName$T,
5802
+ fileName: _jsxFileName$U,
5753
5803
  lineNumber: 227,
5754
5804
  columnNumber: 9
5755
5805
  }
@@ -5759,7 +5809,7 @@
5759
5809
  onClick: onClick,
5760
5810
  __self: undefined,
5761
5811
  __source: {
5762
- fileName: _jsxFileName$T,
5812
+ fileName: _jsxFileName$U,
5763
5813
  lineNumber: 235,
5764
5814
  columnNumber: 11
5765
5815
  }
@@ -5767,7 +5817,7 @@
5767
5817
  direction: "column",
5768
5818
  __self: undefined,
5769
5819
  __source: {
5770
- fileName: _jsxFileName$T,
5820
+ fileName: _jsxFileName$U,
5771
5821
  lineNumber: 236,
5772
5822
  columnNumber: 13
5773
5823
  }
@@ -5775,7 +5825,7 @@
5775
5825
  direction: "row",
5776
5826
  __self: undefined,
5777
5827
  __source: {
5778
- fileName: _jsxFileName$T,
5828
+ fileName: _jsxFileName$U,
5779
5829
  lineNumber: 237,
5780
5830
  columnNumber: 15
5781
5831
  }
@@ -5783,7 +5833,7 @@
5783
5833
  variant: variant,
5784
5834
  __self: undefined,
5785
5835
  __source: {
5786
- fileName: _jsxFileName$T,
5836
+ fileName: _jsxFileName$U,
5787
5837
  lineNumber: 238,
5788
5838
  columnNumber: 17
5789
5839
  }
@@ -5795,7 +5845,7 @@
5795
5845
  },
5796
5846
  __self: undefined,
5797
5847
  __source: {
5798
- fileName: _jsxFileName$T,
5848
+ fileName: _jsxFileName$U,
5799
5849
  lineNumber: 239,
5800
5850
  columnNumber: 17
5801
5851
  }
@@ -5803,7 +5853,7 @@
5803
5853
  justify: "between",
5804
5854
  __self: undefined,
5805
5855
  __source: {
5806
- fileName: _jsxFileName$T,
5856
+ fileName: _jsxFileName$U,
5807
5857
  lineNumber: 247,
5808
5858
  columnNumber: 21
5809
5859
  }
@@ -5818,7 +5868,7 @@
5818
5868
  },
5819
5869
  __self: undefined,
5820
5870
  __source: {
5821
- fileName: _jsxFileName$T,
5871
+ fileName: _jsxFileName$U,
5822
5872
  lineNumber: 248,
5823
5873
  columnNumber: 23
5824
5874
  }
@@ -5827,7 +5877,7 @@
5827
5877
  color: "secondary",
5828
5878
  __self: undefined,
5829
5879
  __source: {
5830
- fileName: _jsxFileName$T,
5880
+ fileName: _jsxFileName$U,
5831
5881
  lineNumber: 262,
5832
5882
  columnNumber: 19
5833
5883
  }
@@ -5842,7 +5892,7 @@
5842
5892
  hasTitle: !!title,
5843
5893
  __self: undefined,
5844
5894
  __source: {
5845
- fileName: _jsxFileName$T,
5895
+ fileName: _jsxFileName$U,
5846
5896
  lineNumber: 266,
5847
5897
  columnNumber: 17
5848
5898
  }
@@ -5851,7 +5901,7 @@
5851
5901
  size: "16px",
5852
5902
  __self: undefined,
5853
5903
  __source: {
5854
- fileName: _jsxFileName$T,
5904
+ fileName: _jsxFileName$U,
5855
5905
  lineNumber: 276,
5856
5906
  columnNumber: 19
5857
5907
  }
@@ -5866,7 +5916,7 @@
5866
5916
  },
5867
5917
  __self: undefined,
5868
5918
  __source: {
5869
- fileName: _jsxFileName$T,
5919
+ fileName: _jsxFileName$U,
5870
5920
  lineNumber: 280,
5871
5921
  columnNumber: 17
5872
5922
  }
@@ -5888,8 +5938,8 @@
5888
5938
  dismissAfter: 5000
5889
5939
  };
5890
5940
 
5891
- const _excluded$r = ["preventDuplicate"];
5892
- var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5941
+ const _excluded$s = ["preventDuplicate"];
5942
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
5893
5943
  const ToastBox = styled(Flex$1, {
5894
5944
  position: 'fixed',
5895
5945
  variants: {
@@ -5936,7 +5986,7 @@
5936
5986
  },
5937
5987
  __self: undefined,
5938
5988
  __source: {
5939
- fileName: _jsxFileName$S,
5989
+ fileName: _jsxFileName$T,
5940
5990
  lineNumber: 43,
5941
5991
  columnNumber: 5
5942
5992
  }
@@ -5944,7 +5994,7 @@
5944
5994
  position: position,
5945
5995
  __self: undefined,
5946
5996
  __source: {
5947
- fileName: _jsxFileName$S,
5997
+ fileName: _jsxFileName$T,
5948
5998
  lineNumber: 44,
5949
5999
  columnNumber: 7
5950
6000
  }
@@ -5952,14 +6002,14 @@
5952
6002
  const {
5953
6003
  preventDuplicate
5954
6004
  } = item,
5955
- toast = _objectWithoutPropertiesLoose(item, _excluded$r);
6005
+ toast = _objectWithoutPropertiesLoose(item, _excluded$s);
5956
6006
  return /*#__PURE__*/React__namespace.createElement(Toast, _extends({
5957
6007
  key: preventDuplicate ? toast.id : `${toast.id}-${index}`,
5958
6008
  onRemove: () => removeToast(toast.id)
5959
6009
  }, toast, {
5960
6010
  __self: undefined,
5961
6011
  __source: {
5962
- fileName: _jsxFileName$S,
6012
+ fileName: _jsxFileName$T,
5963
6013
  lineNumber: 47,
5964
6014
  columnNumber: 18
5965
6015
  }
@@ -7185,16 +7235,13 @@
7185
7235
  return message;
7186
7236
  };
7187
7237
 
7188
- const _excluded$q = ["id", "disabledOfflineIntercept"];
7189
- var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7238
+ const _excluded$r = ["id", "disabledOfflineIntercept"];
7239
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
7190
7240
  let toastCount = 0;
7191
7241
  const ToastProvider = ({
7192
7242
  children,
7193
7243
  translations
7194
7244
  }) => {
7195
- console.warn({
7196
- translations
7197
- });
7198
7245
  const isOnline = useNavigatorOnLine();
7199
7246
  const [toasts, setToasts] = React.useState([]);
7200
7247
  const {
@@ -7211,11 +7258,6 @@
7211
7258
  errorMsg = errorMsg.replace(`$${key}`, values[key]);
7212
7259
  });
7213
7260
  }
7214
- console.warn({
7215
- translations,
7216
- e,
7217
- errorMsg
7218
- });
7219
7261
  return errorMsg;
7220
7262
  }, [translations, i18n.language]);
7221
7263
  const createToastInstance = React.useCallback(toast => {
@@ -7223,7 +7265,7 @@
7223
7265
  id,
7224
7266
  disabledOfflineIntercept
7225
7267
  } = toast,
7226
- rest = _objectWithoutPropertiesLoose(toast, _excluded$q);
7268
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$r);
7227
7269
 
7228
7270
  // eslint-disable-next-line no-plusplus
7229
7271
  const uniqueId = ++toastCount;
@@ -7236,11 +7278,6 @@
7236
7278
  onClickOfAction: false,
7237
7279
  isExternalOfAction: false
7238
7280
  };
7239
- console.warn({
7240
- toast,
7241
- isValidElement: /*#__PURE__*/React__namespace.isValidElement(toast.description),
7242
- translations
7243
- });
7244
7281
  return Object.assign({
7245
7282
  id: toastId,
7246
7283
  position: TOP_RIGHT_POSITION
@@ -7268,8 +7305,8 @@
7268
7305
  },
7269
7306
  __self: undefined,
7270
7307
  __source: {
7271
- fileName: _jsxFileName$R,
7272
- lineNumber: 85,
7308
+ fileName: _jsxFileName$S,
7309
+ lineNumber: 81,
7273
7310
  columnNumber: 5
7274
7311
  }
7275
7312
  }, children, /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7277,8 +7314,8 @@
7277
7314
  position: TOP_RIGHT_POSITION,
7278
7315
  __self: undefined,
7279
7316
  __source: {
7280
- fileName: _jsxFileName$R,
7281
- lineNumber: 87,
7317
+ fileName: _jsxFileName$S,
7318
+ lineNumber: 83,
7282
7319
  columnNumber: 7
7283
7320
  }
7284
7321
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7286,8 +7323,8 @@
7286
7323
  position: TOP_LEFT_POSITION,
7287
7324
  __self: undefined,
7288
7325
  __source: {
7289
- fileName: _jsxFileName$R,
7290
- lineNumber: 91,
7326
+ fileName: _jsxFileName$S,
7327
+ lineNumber: 87,
7291
7328
  columnNumber: 7
7292
7329
  }
7293
7330
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7295,8 +7332,8 @@
7295
7332
  position: BOTTOM_RIGHT_POSITION,
7296
7333
  __self: undefined,
7297
7334
  __source: {
7298
- fileName: _jsxFileName$R,
7299
- lineNumber: 95,
7335
+ fileName: _jsxFileName$S,
7336
+ lineNumber: 91,
7300
7337
  columnNumber: 7
7301
7338
  }
7302
7339
  }), /*#__PURE__*/React__namespace.createElement(ToastContainer, {
@@ -7304,8 +7341,8 @@
7304
7341
  position: BOTTOM_LEFT_POSITION,
7305
7342
  __self: undefined,
7306
7343
  __source: {
7307
- fileName: _jsxFileName$R,
7308
- lineNumber: 99,
7344
+ fileName: _jsxFileName$S,
7345
+ lineNumber: 95,
7309
7346
  columnNumber: 7
7310
7347
  }
7311
7348
  }));
@@ -7317,8 +7354,8 @@
7317
7354
  children
7318
7355
  }) => condition ? wrapper(children) : children;
7319
7356
 
7320
- const _excluded$p = ["count", "maxCount", "css"];
7321
- var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7357
+ const _excluded$q = ["count", "maxCount", "css"];
7358
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
7322
7359
  const formLabelClassStyle = {
7323
7360
  alignItems: 'start !important',
7324
7361
  '& > div': {
@@ -7421,7 +7458,7 @@
7421
7458
  maxCount,
7422
7459
  css
7423
7460
  } = _ref,
7424
- props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7461
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
7425
7462
  const withCounter = Boolean(count || maxCount);
7426
7463
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
7427
7464
  condition: withCounter,
@@ -7430,7 +7467,7 @@
7430
7467
  css: css,
7431
7468
  __self: undefined,
7432
7469
  __source: {
7433
- fileName: _jsxFileName$Q,
7470
+ fileName: _jsxFileName$R,
7434
7471
  lineNumber: 115,
7435
7472
  columnNumber: 9
7436
7473
  }
@@ -7443,14 +7480,14 @@
7443
7480
  },
7444
7481
  __self: undefined,
7445
7482
  __source: {
7446
- fileName: _jsxFileName$Q,
7483
+ fileName: _jsxFileName$R,
7447
7484
  lineNumber: 116,
7448
7485
  columnNumber: 11
7449
7486
  }
7450
7487
  }, count, "/", maxCount), children),
7451
7488
  __self: undefined,
7452
7489
  __source: {
7453
- fileName: _jsxFileName$Q,
7490
+ fileName: _jsxFileName$R,
7454
7491
  lineNumber: 112,
7455
7492
  columnNumber: 5
7456
7493
  }
@@ -7460,7 +7497,7 @@
7460
7497
  }, props, {
7461
7498
  __self: undefined,
7462
7499
  __source: {
7463
- fileName: _jsxFileName$Q,
7500
+ fileName: _jsxFileName$R,
7464
7501
  lineNumber: 123,
7465
7502
  columnNumber: 7
7466
7503
  }
@@ -7468,8 +7505,8 @@
7468
7505
  };
7469
7506
  FormGroup.displayName = 'FormGroup';
7470
7507
 
7471
- const _excluded$o = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7472
- var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7508
+ const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
7509
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
7473
7510
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
7474
7511
  display: 'inline-block',
7475
7512
  fontSize: '$label',
@@ -7501,13 +7538,13 @@
7501
7538
  maxCount,
7502
7539
  labelCss
7503
7540
  } = _ref,
7504
- props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7541
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
7505
7542
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
7506
7543
  justify: "between",
7507
7544
  className: "form-label",
7508
7545
  __self: undefined,
7509
7546
  __source: {
7510
- fileName: _jsxFileName$P,
7547
+ fileName: _jsxFileName$Q,
7511
7548
  lineNumber: 36,
7512
7549
  columnNumber: 5
7513
7550
  }
@@ -7517,7 +7554,7 @@
7517
7554
  }, props, {
7518
7555
  __self: undefined,
7519
7556
  __source: {
7520
- fileName: _jsxFileName$P,
7557
+ fileName: _jsxFileName$Q,
7521
7558
  lineNumber: 37,
7522
7559
  columnNumber: 7
7523
7560
  }
@@ -7527,7 +7564,7 @@
7527
7564
  css: labelCss,
7528
7565
  __self: undefined,
7529
7566
  __source: {
7530
- fileName: _jsxFileName$P,
7567
+ fileName: _jsxFileName$Q,
7531
7568
  lineNumber: 38,
7532
7569
  columnNumber: 9
7533
7570
  }
@@ -7542,7 +7579,7 @@
7542
7579
  },
7543
7580
  __self: undefined,
7544
7581
  __source: {
7545
- fileName: _jsxFileName$P,
7582
+ fileName: _jsxFileName$Q,
7546
7583
  lineNumber: 42,
7547
7584
  columnNumber: 11
7548
7585
  }
@@ -7550,14 +7587,14 @@
7550
7587
  label: tooltipLabel,
7551
7588
  __self: undefined,
7552
7589
  __source: {
7553
- fileName: _jsxFileName$P,
7590
+ fileName: _jsxFileName$Q,
7554
7591
  lineNumber: 56,
7555
7592
  columnNumber: 11
7556
7593
  }
7557
7594
  }, /*#__PURE__*/React__default["default"].createElement(StyledHelpIcon, {
7558
7595
  __self: undefined,
7559
7596
  __source: {
7560
- fileName: _jsxFileName$P,
7597
+ fileName: _jsxFileName$Q,
7561
7598
  lineNumber: 57,
7562
7599
  columnNumber: 13
7563
7600
  }
@@ -7566,7 +7603,7 @@
7566
7603
  color: "disable",
7567
7604
  __self: undefined,
7568
7605
  __source: {
7569
- fileName: _jsxFileName$P,
7606
+ fileName: _jsxFileName$Q,
7570
7607
  lineNumber: 62,
7571
7608
  columnNumber: 9
7572
7609
  }
@@ -7585,8 +7622,8 @@
7585
7622
  };
7586
7623
  FormLabel.displayName = 'FormLabel';
7587
7624
 
7588
- const _excluded$n = ["children", "error", "errorMessage"];
7589
- var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7625
+ const _excluded$o = ["children", "error", "errorMessage"];
7626
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
7590
7627
  const StyledHelper = styled(Text$1, {
7591
7628
  display: 'inline-block',
7592
7629
  color: '$textSecondary',
@@ -7604,7 +7641,7 @@
7604
7641
  error,
7605
7642
  errorMessage
7606
7643
  } = _ref,
7607
- props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7644
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$o);
7608
7645
  const errorByMessage = !!errorMessage;
7609
7646
  if (error === undefined && errorByMessage) {
7610
7647
  return /*#__PURE__*/React__default["default"].createElement(StyledHelper, _extends({
@@ -7614,7 +7651,7 @@
7614
7651
  }, props, {
7615
7652
  __self: undefined,
7616
7653
  __source: {
7617
- fileName: _jsxFileName$O,
7654
+ fileName: _jsxFileName$P,
7618
7655
  lineNumber: 22,
7619
7656
  columnNumber: 7
7620
7657
  }
@@ -7630,7 +7667,7 @@
7630
7667
  }, props, {
7631
7668
  __self: undefined,
7632
7669
  __source: {
7633
- fileName: _jsxFileName$O,
7670
+ fileName: _jsxFileName$P,
7634
7671
  lineNumber: 31,
7635
7672
  columnNumber: 5
7636
7673
  }
@@ -7641,7 +7678,7 @@
7641
7678
  };
7642
7679
  FormHelper.displayName = 'FormHelper';
7643
7680
 
7644
- var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7681
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
7645
7682
  const CheckboxContext = /*#__PURE__*/React.createContext();
7646
7683
  const CheckboxGroup = ({
7647
7684
  children,
@@ -7682,7 +7719,7 @@
7682
7719
  value: values,
7683
7720
  __self: undefined,
7684
7721
  __source: {
7685
- fileName: _jsxFileName$N,
7722
+ fileName: _jsxFileName$O,
7686
7723
  lineNumber: 35,
7687
7724
  columnNumber: 5
7688
7725
  }
@@ -7699,7 +7736,7 @@
7699
7736
  };
7700
7737
  CheckboxGroup.displayName = 'CheckboxGroup';
7701
7738
 
7702
- var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7739
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
7703
7740
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7704
7741
  xmlns: "http://www.w3.org/2000/svg",
7705
7742
  xmlSpace: "preserve",
@@ -7716,7 +7753,7 @@
7716
7753
  }, props, {
7717
7754
  __self: undefined,
7718
7755
  __source: {
7719
- fileName: _jsxFileName$M,
7756
+ fileName: _jsxFileName$N,
7720
7757
  lineNumber: 4,
7721
7758
  columnNumber: 3
7722
7759
  }
@@ -7728,7 +7765,7 @@
7728
7765
  },
7729
7766
  __self: undefined,
7730
7767
  __source: {
7731
- fileName: _jsxFileName$M,
7768
+ fileName: _jsxFileName$N,
7732
7769
  lineNumber: 19,
7733
7770
  columnNumber: 5
7734
7771
  }
@@ -7740,13 +7777,13 @@
7740
7777
  },
7741
7778
  __self: undefined,
7742
7779
  __source: {
7743
- fileName: _jsxFileName$M,
7780
+ fileName: _jsxFileName$N,
7744
7781
  lineNumber: 26,
7745
7782
  columnNumber: 5
7746
7783
  }
7747
7784
  }));
7748
7785
 
7749
- var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7786
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
7750
7787
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
7751
7788
  xmlns: "http://www.w3.org/2000/svg",
7752
7789
  xmlSpace: "preserve",
@@ -7763,7 +7800,7 @@
7763
7800
  }, props, {
7764
7801
  __self: undefined,
7765
7802
  __source: {
7766
- fileName: _jsxFileName$L,
7803
+ fileName: _jsxFileName$M,
7767
7804
  lineNumber: 4,
7768
7805
  columnNumber: 3
7769
7806
  }
@@ -7775,7 +7812,7 @@
7775
7812
  },
7776
7813
  __self: undefined,
7777
7814
  __source: {
7778
- fileName: _jsxFileName$L,
7815
+ fileName: _jsxFileName$M,
7779
7816
  lineNumber: 19,
7780
7817
  columnNumber: 5
7781
7818
  }
@@ -7787,14 +7824,14 @@
7787
7824
  d: "M14.31 10.41H3.9v-2.6h10.41z",
7788
7825
  __self: undefined,
7789
7826
  __source: {
7790
- fileName: _jsxFileName$L,
7827
+ fileName: _jsxFileName$M,
7791
7828
  lineNumber: 26,
7792
7829
  columnNumber: 5
7793
7830
  }
7794
7831
  }));
7795
7832
 
7796
- const _excluded$m = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7797
- var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7833
+ const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
7834
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
7798
7835
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
7799
7836
  alignItems: 'center',
7800
7837
  display: 'flex',
@@ -7852,7 +7889,7 @@
7852
7889
  index,
7853
7890
  value
7854
7891
  } = _ref,
7855
- props = _objectWithoutPropertiesLoose(_ref, _excluded$m);
7892
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$n);
7856
7893
  const context = React.useContext(CheckboxContext);
7857
7894
  const [isChecked, setChecked] = React.useState(false);
7858
7895
  React.useEffect(() => {
@@ -7873,28 +7910,28 @@
7873
7910
  }, props, {
7874
7911
  __self: undefined,
7875
7912
  __source: {
7876
- fileName: _jsxFileName$K,
7913
+ fileName: _jsxFileName$L,
7877
7914
  lineNumber: 64,
7878
7915
  columnNumber: 5
7879
7916
  }
7880
7917
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$2, {
7881
7918
  __self: undefined,
7882
7919
  __source: {
7883
- fileName: _jsxFileName$K,
7920
+ fileName: _jsxFileName$L,
7884
7921
  lineNumber: 77,
7885
7922
  columnNumber: 7
7886
7923
  }
7887
7924
  }, indeterminate ? /*#__PURE__*/React__default["default"].createElement(SvgMinusOutline, {
7888
7925
  __self: undefined,
7889
7926
  __source: {
7890
- fileName: _jsxFileName$K,
7927
+ fileName: _jsxFileName$L,
7891
7928
  lineNumber: 77,
7892
7929
  columnNumber: 41
7893
7930
  }
7894
7931
  }) : /*#__PURE__*/React__default["default"].createElement(CheckOutline$1, {
7895
7932
  __self: undefined,
7896
7933
  __source: {
7897
- fileName: _jsxFileName$K,
7934
+ fileName: _jsxFileName$L,
7898
7935
  lineNumber: 77,
7899
7936
  columnNumber: 60
7900
7937
  }
@@ -7907,14 +7944,14 @@
7907
7944
  gap: 4,
7908
7945
  __self: undefined,
7909
7946
  __source: {
7910
- fileName: _jsxFileName$K,
7947
+ fileName: _jsxFileName$L,
7911
7948
  lineNumber: 84,
7912
7949
  columnNumber: 5
7913
7950
  }
7914
7951
  }, /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7915
7952
  __self: undefined,
7916
7953
  __source: {
7917
- fileName: _jsxFileName$K,
7954
+ fileName: _jsxFileName$L,
7918
7955
  lineNumber: 85,
7919
7956
  columnNumber: 7
7920
7957
  }
@@ -7930,14 +7967,14 @@
7930
7967
  },
7931
7968
  __self: undefined,
7932
7969
  __source: {
7933
- fileName: _jsxFileName$K,
7970
+ fileName: _jsxFileName$L,
7934
7971
  lineNumber: 86,
7935
7972
  columnNumber: 7
7936
7973
  }
7937
7974
  }, props.label)) : /*#__PURE__*/React__default["default"].createElement(Checkbox, _extends({}, props, {
7938
7975
  __self: undefined,
7939
7976
  __source: {
7940
- fileName: _jsxFileName$K,
7977
+ fileName: _jsxFileName$L,
7941
7978
  lineNumber: 101,
7942
7979
  columnNumber: 5
7943
7980
  }
@@ -7954,8 +7991,8 @@
7954
7991
  };
7955
7992
  InputCheckbox.displayName = 'InputCheckbox';
7956
7993
 
7957
- const _excluded$l = ["children", "size"];
7958
- var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7994
+ const _excluded$m = ["children", "size"];
7995
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
7959
7996
  const InputGroupStyle = styled('div', {
7960
7997
  display: 'flex',
7961
7998
  width: '100%',
@@ -8094,7 +8131,7 @@
8094
8131
  children,
8095
8132
  size = 'lg'
8096
8133
  } = _ref,
8097
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8134
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$m);
8098
8135
  const isLetter = children.some(child => child.type.name === 'InputPrefix' || child.type.name === 'InputSuffix' || child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8099
8136
  const isElement = children.some(child => child.type.name === 'InputLeftElement' || child.type.name === 'InputRightElement');
8100
8137
  const clone = children.map((child, index) => {
@@ -8117,7 +8154,7 @@
8117
8154
  isElement: isElement,
8118
8155
  __self: undefined,
8119
8156
  __source: {
8120
- fileName: _jsxFileName$J,
8157
+ fileName: _jsxFileName$K,
8121
8158
  lineNumber: 169,
8122
8159
  columnNumber: 10
8123
8160
  }
@@ -8293,8 +8330,8 @@
8293
8330
  children: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node])
8294
8331
  };
8295
8332
 
8296
- const _excluded$k = ["disabled", "readOnly"];
8297
- var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8333
+ const _excluded$l = ["disabled", "readOnly"];
8334
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
8298
8335
  const disabledStyle = {
8299
8336
  backgroundColor: '$formDisable',
8300
8337
  color: '$textDisable',
@@ -8467,7 +8504,7 @@
8467
8504
  disabled,
8468
8505
  readOnly
8469
8506
  } = _ref,
8470
- props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8507
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$l);
8471
8508
  return /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({
8472
8509
  ref: ref,
8473
8510
  disabled: disabled,
@@ -8477,7 +8514,7 @@
8477
8514
  }, props, {
8478
8515
  __self: undefined,
8479
8516
  __source: {
8480
- fileName: _jsxFileName$I,
8517
+ fileName: _jsxFileName$J,
8481
8518
  lineNumber: 185,
8482
8519
  columnNumber: 3
8483
8520
  }
@@ -8495,8 +8532,8 @@
8495
8532
  };
8496
8533
  InputText.displayName = 'InputText';
8497
8534
 
8498
- const _excluded$j = ["disabled", "readOnly"];
8499
- var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8535
+ const _excluded$k = ["disabled", "readOnly"];
8536
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
8500
8537
  const StyledTextArea = styled(StyledInput$1, {
8501
8538
  variants: {
8502
8539
  size: {
@@ -8517,7 +8554,7 @@
8517
8554
  disabled,
8518
8555
  readOnly
8519
8556
  } = _ref,
8520
- props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8557
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$k);
8521
8558
  const textareaRef = React.useRef(null);
8522
8559
  React.useEffect(() => {
8523
8560
  if (textareaRef.current) {
@@ -8551,7 +8588,7 @@
8551
8588
  }, props, {
8552
8589
  __self: undefined,
8553
8590
  __source: {
8554
- fileName: _jsxFileName$H,
8591
+ fileName: _jsxFileName$I,
8555
8592
  lineNumber: 51,
8556
8593
  columnNumber: 5
8557
8594
  }
@@ -8574,21 +8611,21 @@
8574
8611
 
8575
8612
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
8576
8613
 
8577
- var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8614
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
8578
8615
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
8579
8616
  function InputRadioGroup(props) {
8580
8617
  return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
8581
8618
  value: props,
8582
8619
  __self: this,
8583
8620
  __source: {
8584
- fileName: _jsxFileName$G,
8621
+ fileName: _jsxFileName$H,
8585
8622
  lineNumber: 13,
8586
8623
  columnNumber: 7
8587
8624
  }
8588
8625
  }, /*#__PURE__*/React__default["default"].createElement(RadioGroup, _extends({}, props, {
8589
8626
  __self: this,
8590
8627
  __source: {
8591
- fileName: _jsxFileName$G,
8628
+ fileName: _jsxFileName$H,
8592
8629
  lineNumber: 14,
8593
8630
  columnNumber: 9
8594
8631
  }
@@ -8607,8 +8644,8 @@
8607
8644
  };
8608
8645
  InputRadioGroup.displayName = 'InputRadioGroup';
8609
8646
 
8610
- const _excluded$i = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8611
- var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8647
+ const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
8648
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
8612
8649
  const INDICATOR_BASE_STYLES = {
8613
8650
  alignItems: 'center',
8614
8651
  display: 'flex',
@@ -8773,7 +8810,7 @@
8773
8810
  description,
8774
8811
  readOnly
8775
8812
  } = _ref,
8776
- props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
8813
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
8777
8814
  function renderInputType(type, checkedValue, onValueChange) {
8778
8815
  switch (type) {
8779
8816
  case 'number':
@@ -8786,7 +8823,7 @@
8786
8823
  asChild: true,
8787
8824
  __self: this,
8788
8825
  __source: {
8789
- fileName: _jsxFileName$F,
8826
+ fileName: _jsxFileName$G,
8790
8827
  lineNumber: 171,
8791
8828
  columnNumber: 11
8792
8829
  }
@@ -8802,7 +8839,7 @@
8802
8839
  asChild: true,
8803
8840
  __self: this,
8804
8841
  __source: {
8805
- fileName: _jsxFileName$F,
8842
+ fileName: _jsxFileName$G,
8806
8843
  lineNumber: 184,
8807
8844
  columnNumber: 11
8808
8845
  }
@@ -8821,7 +8858,7 @@
8821
8858
  },
8822
8859
  __self: this,
8823
8860
  __source: {
8824
- fileName: _jsxFileName$F,
8861
+ fileName: _jsxFileName$G,
8825
8862
  lineNumber: 198,
8826
8863
  columnNumber: 11
8827
8864
  }
@@ -8831,7 +8868,7 @@
8831
8868
  return /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Consumer, {
8832
8869
  __self: undefined,
8833
8870
  __source: {
8834
- fileName: _jsxFileName$F,
8871
+ fileName: _jsxFileName$G,
8835
8872
  lineNumber: 217,
8836
8873
  columnNumber: 5
8837
8874
  }
@@ -8848,7 +8885,7 @@
8848
8885
  outlined: outlined,
8849
8886
  __self: undefined,
8850
8887
  __source: {
8851
- fileName: _jsxFileName$F,
8888
+ fileName: _jsxFileName$G,
8852
8889
  lineNumber: 222,
8853
8890
  columnNumber: 11
8854
8891
  }
@@ -8863,7 +8900,7 @@
8863
8900
  css: css,
8864
8901
  __self: undefined,
8865
8902
  __source: {
8866
- fileName: _jsxFileName$F,
8903
+ fileName: _jsxFileName$G,
8867
8904
  lineNumber: 223,
8868
8905
  columnNumber: 13
8869
8906
  }
@@ -8872,7 +8909,7 @@
8872
8909
  gap: 4,
8873
8910
  __self: undefined,
8874
8911
  __source: {
8875
- fileName: _jsxFileName$F,
8912
+ fileName: _jsxFileName$G,
8876
8913
  lineNumber: 233,
8877
8914
  columnNumber: 15
8878
8915
  }
@@ -8883,14 +8920,14 @@
8883
8920
  }, props, {
8884
8921
  __self: undefined,
8885
8922
  __source: {
8886
- fileName: _jsxFileName$F,
8923
+ fileName: _jsxFileName$G,
8887
8924
  lineNumber: 234,
8888
8925
  columnNumber: 17
8889
8926
  }
8890
8927
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
8891
8928
  __self: undefined,
8892
8929
  __source: {
8893
- fileName: _jsxFileName$F,
8930
+ fileName: _jsxFileName$G,
8894
8931
  lineNumber: 235,
8895
8932
  columnNumber: 19
8896
8933
  }
@@ -8902,7 +8939,7 @@
8902
8939
  },
8903
8940
  __self: undefined,
8904
8941
  __source: {
8905
- fileName: _jsxFileName$F,
8942
+ fileName: _jsxFileName$G,
8906
8943
  lineNumber: 240,
8907
8944
  columnNumber: 17
8908
8945
  }
@@ -11056,8 +11093,8 @@
11056
11093
  }(React__default["default"].Component);
11057
11094
  NumberFormat.defaultProps = defaultProps;
11058
11095
 
11059
- const _excluded$h = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11060
- var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11096
+ const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled", "control", "name", "maxValueLength", "maxLength", "thousandSeparator"];
11097
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
11061
11098
  const StyledInput = styled(NumberFormat, {
11062
11099
  // Reset
11063
11100
  appearance: 'none',
@@ -11252,7 +11289,7 @@
11252
11289
  maxLength,
11253
11290
  thousandSeparator
11254
11291
  } = _ref,
11255
- props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11292
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
11256
11293
  return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
11257
11294
  condition: Boolean(control),
11258
11295
  wrapper: child => /*#__PURE__*/React__default["default"].createElement(reactHookForm.Controller, {
@@ -11270,14 +11307,14 @@
11270
11307
  }),
11271
11308
  __self: undefined,
11272
11309
  __source: {
11273
- fileName: _jsxFileName$E,
11310
+ fileName: _jsxFileName$F,
11274
11311
  lineNumber: 225,
11275
11312
  columnNumber: 9
11276
11313
  }
11277
11314
  }),
11278
11315
  __self: undefined,
11279
11316
  __source: {
11280
- fileName: _jsxFileName$E,
11317
+ fileName: _jsxFileName$F,
11281
11318
  lineNumber: 222,
11282
11319
  columnNumber: 5
11283
11320
  }
@@ -11295,7 +11332,7 @@
11295
11332
  }, props, {
11296
11333
  __self: undefined,
11297
11334
  __source: {
11298
- fileName: _jsxFileName$E,
11335
+ fileName: _jsxFileName$F,
11299
11336
  lineNumber: 234,
11300
11337
  columnNumber: 7
11301
11338
  }
@@ -11317,7 +11354,9 @@
11317
11354
  InputNumber.name = 'InputText';
11318
11355
  InputNumber.displayName = 'InputNumber';
11319
11356
 
11320
- var TagWrapper$4 = styled('div', {
11357
+ const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
11358
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
11359
+ const TagWrapper$4 = styled('div', {
11321
11360
  boxSizing: 'border-box',
11322
11361
  listStyle: 'none',
11323
11362
  display: 'inline-flex',
@@ -11359,10 +11398,6 @@
11359
11398
  }
11360
11399
  },
11361
11400
  type: {
11362
- default: {
11363
- background: '$bgGray',
11364
- color: '$textPrimary'
11365
- },
11366
11401
  success: {
11367
11402
  background: '$bgSuccess',
11368
11403
  color: '$textGreen'
@@ -11379,13 +11414,13 @@
11379
11414
  }
11380
11415
  }
11381
11416
  });
11382
- var TagComponent$1 = styled('span', {
11417
+ const TagComponent$1 = styled('span', {
11383
11418
  textAlign: 'center',
11384
11419
  whiteSpace: 'nowrap',
11385
11420
  overflow: 'hidden',
11386
11421
  textOverflow: 'ellipsis'
11387
11422
  });
11388
- var StyledIconRight$1 = styled('div', {
11423
+ const StyledIconRight$1 = styled('div', {
11389
11424
  marginLeft: '6px',
11390
11425
  display: 'flex',
11391
11426
  verticalAlign: 'middle',
@@ -11405,51 +11440,89 @@
11405
11440
  }
11406
11441
  }
11407
11442
  });
11408
- var StyledIconLeft$3 = styled('div', {
11443
+ const StyledIconLeft$3 = styled('div', {
11409
11444
  margin: '0 3px',
11410
11445
  display: 'flex',
11411
11446
  verticalAlign: 'middle',
11412
11447
  alignItems: 'center',
11413
11448
  color: 'inherit'
11414
11449
  });
11415
- var Tag = /*#__PURE__*/React__default["default"].forwardRef(function (_a, ref) {
11416
- var children = _a.children,
11417
- onClick = _a.onClick,
11418
- size = _a.size,
11419
- icon = _a.icon,
11420
- isRemovable = _a.isRemovable,
11421
- disabled = _a.disabled,
11422
- type = _a.type,
11423
- onRemove = _a.onRemove,
11424
- readOnly = _a.readOnly,
11425
- props = __rest(_a, ["children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"]);
11426
- return jsxRuntime.jsxs(TagWrapper$4, __assign({
11450
+ const Tag = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11451
+ let {
11452
+ children,
11453
+ onClick,
11454
+ size,
11455
+ icon,
11456
+ isRemovable,
11457
+ disabled,
11458
+ type,
11459
+ onRemove,
11460
+ readOnly
11461
+ } = _ref,
11462
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
11463
+ return /*#__PURE__*/React__default["default"].createElement(TagWrapper$4, _extends({
11427
11464
  ref: ref,
11428
11465
  onClick: onClick,
11429
11466
  size: size,
11430
11467
  disabled: disabled,
11431
11468
  type: type,
11432
- readOnly: readOnly
11469
+ readOnly: readOnly,
11470
+ css: Object.assign({}, props.css)
11433
11471
  }, props, {
11434
- children: [icon !== undefined ? jsxRuntime.jsx(StyledIconLeft$3, {
11435
- children: icon
11436
- }, void 0) : null, jsxRuntime.jsx(TagComponent$1, {
11437
- children: children
11438
- }, void 0), isRemovable ? jsxRuntime.jsx(StyledIconRight$1, __assign({
11439
- disabled: disabled,
11440
- onClick: onRemove,
11441
- readOnly: readOnly
11442
- }, {
11443
- children: jsxRuntime.jsx(icons.CloseOutline, {
11444
- size: 16,
11445
- color: colors$8.iconSecondary,
11446
- style: {
11447
- verticalAlign: 'middle'
11448
- }
11449
- }, void 0)
11450
- }), void 0) : null]
11451
- }), void 0);
11472
+ __self: undefined,
11473
+ __source: {
11474
+ fileName: _jsxFileName$E,
11475
+ lineNumber: 84,
11476
+ columnNumber: 7
11477
+ }
11478
+ }), icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledIconLeft$3, {
11479
+ __self: undefined,
11480
+ __source: {
11481
+ fileName: _jsxFileName$E,
11482
+ lineNumber: 94,
11483
+ columnNumber: 31
11484
+ }
11485
+ }, icon) : null, /*#__PURE__*/React__default["default"].createElement(TagComponent$1, {
11486
+ __self: undefined,
11487
+ __source: {
11488
+ fileName: _jsxFileName$E,
11489
+ lineNumber: 95,
11490
+ columnNumber: 9
11491
+ }
11492
+ }, children), isRemovable ? /*#__PURE__*/React__default["default"].createElement(StyledIconRight$1, {
11493
+ disabled: disabled,
11494
+ onClick: onRemove,
11495
+ readOnly: readOnly,
11496
+ __self: undefined,
11497
+ __source: {
11498
+ fileName: _jsxFileName$E,
11499
+ lineNumber: 97,
11500
+ columnNumber: 11
11501
+ }
11502
+ }, /*#__PURE__*/React__default["default"].createElement(icons.CloseOutline, {
11503
+ size: 16,
11504
+ color: colors$8.iconSecondary,
11505
+ style: {
11506
+ verticalAlign: 'middle'
11507
+ },
11508
+ __self: undefined,
11509
+ __source: {
11510
+ fileName: _jsxFileName$E,
11511
+ lineNumber: 98,
11512
+ columnNumber: 13
11513
+ }
11514
+ })) : null);
11452
11515
  });
11516
+ Tag.propTypes = {
11517
+ size: PropTypes__default["default"].string,
11518
+ disabled: PropTypes__default["default"].bool,
11519
+ type: PropTypes__default["default"].string,
11520
+ icon: PropTypes__default["default"].element,
11521
+ isRemovable: PropTypes__default["default"].bool,
11522
+ onRemove: PropTypes__default["default"].func,
11523
+ onClick: PropTypes__default["default"].func,
11524
+ readOnly: PropTypes__default["default"].bool
11525
+ };
11453
11526
  Tag.defaultProps = {
11454
11527
  size: 'sm',
11455
11528
  isRemovable: false,
@@ -20133,7 +20206,6 @@
20133
20206
  onClose = _a.onClose,
20134
20207
  mobileOnly = _a.mobileOnly,
20135
20208
  desktopOnly = _a.desktopOnly,
20136
- advanceOptions = _a.advanceOptions,
20137
20209
  drawerCss = _a.drawerCss,
20138
20210
  _g = _a.drawerContentCss,
20139
20211
  drawerContentCss = _g === void 0 ? {} : _g,
@@ -20232,22 +20304,20 @@
20232
20304
  }
20233
20305
  };
20234
20306
  var renderDatePicker = function renderDatePicker() {
20235
- var options = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20236
- var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20237
20307
  var handleDatePickerChange = function handleDatePickerChange(value) {
20238
20308
  if (showRangeControl || type === 'range_picker') {
20239
20309
  if (rangePickerType === 'monthly') {
20240
20310
  dispatch({
20241
20311
  type: 'UPDATE',
20242
- payload: advancePickerReducer('RANGE_MONTH', value)
20312
+ payload: advancePickerDate('RANGE_MONTH', value)
20243
20313
  });
20244
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
20314
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
20245
20315
  } else {
20246
20316
  dispatch({
20247
20317
  type: 'UPDATE',
20248
- payload: advancePickerReducer('RANGE_WEEK', value)
20318
+ payload: advancePickerDate('RANGE_WEEK', value)
20249
20319
  });
20250
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
20320
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
20251
20321
  }
20252
20322
  } else {
20253
20323
  dispatch({
@@ -20259,10 +20329,10 @@
20259
20329
  };
20260
20330
  return jsxRuntime.jsx(DatePicker, {
20261
20331
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsxRuntime.jsx(AdvancedOption, {
20262
- options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20332
+ options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
20263
20333
  disabled: disabled,
20264
20334
  optionHandler: function (value) {
20265
- var reducedResult = advancePickerReducer(value, undefined);
20335
+ var reducedResult = advancePickerDate(value, undefined);
20266
20336
  var dateAsString = moment__default["default"](reducedResult[1]).format('YYYY-MM-DD');
20267
20337
  var payload = [reducedResult[0], moment__default["default"]("".concat(dateAsString, " 23:59"), 'YYYY-MM-DD HH:mm').toDate()];
20268
20338
  dispatch({
@@ -20534,23 +20604,21 @@
20534
20604
  _f = _a.isInvalid,
20535
20605
  isInvalid = _f === void 0 ? false : _f,
20536
20606
  css = _a.css,
20537
- advanceOptions = _a.advanceOptions,
20538
- props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css", "advanceOptions"]);
20607
+ props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css"]);
20539
20608
  var _g = reactI18next.useTranslation('translation'),
20540
20609
  t = _g.t,
20541
20610
  i18n = _g.i18n;
20542
20611
  var language = i18n.language;
20543
20612
  var pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20544
- var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20545
20613
  return jsxRuntime.jsx(InputSelect, __assign({}, props, {
20546
- option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(function (option) {
20614
+ option: pickerOptions.map(function (option) {
20547
20615
  return {
20548
20616
  name: option.label,
20549
20617
  value: option.value
20550
20618
  };
20551
20619
  }),
20552
20620
  onChange: function (selectedOption) {
20553
- if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20621
+ if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20554
20622
  },
20555
20623
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20556
20624
  size: size,
@@ -52527,234 +52595,11 @@
52527
52595
  }, void 0)]
52528
52596
  }), void 0);
52529
52597
  }
52530
- var rotateKeyframe = keyframes({
52531
- '100%': {
52532
- transform: 'rotate(360deg)'
52533
- }
52534
- });
52535
- var dashKeyframe = keyframes({
52536
- '0%': {
52537
- strokeDasharray: '0,125',
52538
- strokeDashoffset: -8
52539
- },
52540
- '50%': {
52541
- strokeDasharray: 125,
52542
- strokeDashoffset: -10
52543
- },
52544
- '100%': {
52545
- strokeDasharray: 125,
52546
- strokeDashoffset: -125
52547
- }
52548
- });
52549
- var LoadingContainer = react.styled('div', {
52550
- position: 'absolute',
52551
- width: 152,
52552
- height: 152,
52553
- top: '50%',
52554
- left: '50%',
52555
- transform: 'translate(-50%,-50%)'
52556
- });
52557
- var LogoSvg = react.styled('svg', {
52558
- height: 152,
52559
- position: 'absolute',
52560
- width: 152
52561
- });
52562
- var LoadingSvg = react.styled('svg', {
52563
- animation: "".concat(rotateKeyframe, " 2s linear infinite"),
52564
- height: 152,
52565
- position: 'absolute',
52566
- width: 152,
52567
- top: '-22px'
52568
- });
52569
- var LoadingBackground = react.styled('div', {
52570
- background: 'conic-gradient(#fff5f6, #FF97A4, #02B4F3, #81CF77, #6D60AE, #FF6C53 320deg)',
52571
- width: '100%',
52572
- height: '100%'
52573
- });
52574
- var LoadingCircle = react.styled('circle', {
52575
- stroke: 'white',
52576
- strokeLinecap: 'round',
52577
- transformOrigin: '50% 50%',
52578
- transform: 'rotate(-102deg)',
52579
- animation: "".concat(dashKeyframe, " 1.5s ease-in-out infinite")
52580
- });
52581
- var LoadingLabel = react.styled(Paragraph, {
52582
- position: 'relative',
52583
- top: 100
52584
- });
52585
- function CircularLoadingBar(_a) {
52586
- var label = _a.label;
52587
- return jsxRuntime.jsxs(LoadingContainer, {
52588
- children: [jsxRuntime.jsxs(LogoSvg, __assign({
52589
- xmlns: "http://www.w3.org/2000/svg",
52590
- width: "152",
52591
- height: "152",
52592
- viewBox: "0 0 152 152",
52593
- fill: "none"
52594
- }, {
52595
- children: [jsxRuntime.jsxs("g", __assign({
52596
- filter: "url(#filter0_ddd_4303_695)"
52597
- }, {
52598
- children: [jsxRuntime.jsx("rect", {
52599
- x: "46.0004",
52600
- y: "23.9999",
52601
- width: "60",
52602
- height: "60",
52603
- rx: "30",
52604
- fill: "url(#paint0_linear_4303_695)"
52605
- }, void 0), jsxRuntime.jsx("rect", {
52606
- x: "46",
52607
- y: "24",
52608
- width: "60",
52609
- height: "60",
52610
- rx: "30",
52611
- stroke: "url(#paint1_linear_4303_695)",
52612
- "stroke-opacity": "0.99",
52613
- "stroke-width": "5"
52614
- }, void 0), jsxRuntime.jsx("path", {
52615
- "fill-rule": "evenodd",
52616
- "clip-rule": "evenodd",
52617
- 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",
52618
- fill: "white"
52619
- }, void 0)]
52620
- }), void 0), jsxRuntime.jsxs("defs", {
52621
- children: [jsxRuntime.jsxs("filter", __assign({
52622
- id: "filter0_ddd_4303_695",
52623
- x: "0.5",
52624
- y: "0.5",
52625
- width: "151",
52626
- height: "151",
52627
- filterUnits: "userSpaceOnUse",
52628
- "color-interpolation-filters": "sRGB"
52629
- }, {
52630
- children: [jsxRuntime.jsx("feFlood", {
52631
- "flood-opacity": "0",
52632
- result: "BackgroundImageFix"
52633
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52634
- in: "SourceAlpha",
52635
- type: "matrix",
52636
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52637
- result: "hardAlpha"
52638
- }, void 0), jsxRuntime.jsx("feOffset", {
52639
- dy: "22"
52640
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52641
- stdDeviation: "21.5"
52642
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52643
- type: "matrix",
52644
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"
52645
- }, void 0), jsxRuntime.jsx("feBlend", {
52646
- mode: "normal",
52647
- in2: "BackgroundImageFix",
52648
- result: "effect1_dropShadow_4303_695"
52649
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52650
- in: "SourceAlpha",
52651
- type: "matrix",
52652
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52653
- result: "hardAlpha"
52654
- }, void 0), jsxRuntime.jsx("feOffset", {
52655
- dy: "9"
52656
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52657
- stdDeviation: "12"
52658
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52659
- type: "matrix",
52660
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0"
52661
- }, void 0), jsxRuntime.jsx("feBlend", {
52662
- mode: "normal",
52663
- in2: "effect1_dropShadow_4303_695",
52664
- result: "effect2_dropShadow_4303_695"
52665
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52666
- in: "SourceAlpha",
52667
- type: "matrix",
52668
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
52669
- result: "hardAlpha"
52670
- }, void 0), jsxRuntime.jsx("feOffset", {
52671
- dy: "3"
52672
- }, void 0), jsxRuntime.jsx("feGaussianBlur", {
52673
- stdDeviation: "4.5"
52674
- }, void 0), jsxRuntime.jsx("feColorMatrix", {
52675
- type: "matrix",
52676
- values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"
52677
- }, void 0), jsxRuntime.jsx("feBlend", {
52678
- mode: "normal",
52679
- in2: "effect2_dropShadow_4303_695",
52680
- result: "effect3_dropShadow_4303_695"
52681
- }, void 0), jsxRuntime.jsx("feBlend", {
52682
- mode: "normal",
52683
- in: "SourceGraphic",
52684
- in2: "effect3_dropShadow_4303_695",
52685
- result: "shape"
52686
- }, void 0)]
52687
- }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52688
- id: "paint0_linear_4303_695",
52689
- x1: "76.0004",
52690
- y1: "23.9999",
52691
- x2: "76.0004",
52692
- y2: "83.9999",
52693
- gradientUnits: "userSpaceOnUse"
52694
- }, {
52695
- children: [jsxRuntime.jsx("stop", {
52696
- "stop-color": "#B3DCA7"
52697
- }, void 0), jsxRuntime.jsx("stop", {
52698
- offset: "1",
52699
- "stop-color": "#22BDB6"
52700
- }, void 0)]
52701
- }), void 0), jsxRuntime.jsxs("linearGradient", __assign({
52702
- id: "paint1_linear_4303_695",
52703
- x1: "106",
52704
- y1: "68.8332",
52705
- x2: "50",
52706
- y2: "37.3332",
52707
- gradientUnits: "userSpaceOnUse"
52708
- }, {
52709
- children: [jsxRuntime.jsx("stop", {
52710
- "stop-color": "#F4F4F4"
52711
- }, void 0), jsxRuntime.jsx("stop", {
52712
- offset: "1",
52713
- "stop-color": "white"
52714
- }, void 0)]
52715
- }), void 0)]
52716
- }, void 0)]
52717
- }), void 0), jsxRuntime.jsxs(LoadingSvg, __assign({
52718
- viewBox: "0 0 100 100",
52719
- xmlns: "http://www.w3.org/2000/svg"
52720
- }, {
52721
- children: [jsxRuntime.jsx("defs", {
52722
- children: jsxRuntime.jsx("mask", __assign({
52723
- id: "mask"
52724
- }, {
52725
- children: jsxRuntime.jsx(LoadingCircle, {
52726
- cx: "50",
52727
- cy: "50",
52728
- r: "20",
52729
- fill: "none",
52730
- "stroke-width": "4",
52731
- "stroke-miterlimit": "10"
52732
- }, void 0)
52733
- }), void 0)
52734
- }, void 0), jsxRuntime.jsx("foreignObject", __assign({
52735
- x: "0",
52736
- y: "0",
52737
- width: "100",
52738
- height: "100",
52739
- mask: "url(#mask)"
52740
- }, {
52741
- children: jsxRuntime.jsx(LoadingBackground, {}, void 0)
52742
- }), void 0)]
52743
- }), void 0), label && jsxRuntime.jsx(LoadingLabel, __assign({
52744
- color: "white",
52745
- align: "center"
52746
- }, {
52747
- children: label
52748
- }), void 0)]
52749
- }, void 0);
52750
- }
52751
52598
  var interval;
52752
52599
  function LoadingBar(props) {
52753
52600
  var show = props.show,
52754
52601
  onCompleted = props.onCompleted,
52755
- intervalTime = props.interval,
52756
- isPageLoader = props.isPageLoader,
52757
- pageLoaderLabel = props.pageLoaderLabel;
52602
+ intervalTime = props.interval;
52758
52603
  var _a = React.useState(0),
52759
52604
  progress = _a[0],
52760
52605
  setProgress = _a[1];
@@ -52787,34 +52632,6 @@
52787
52632
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52788
52633
  }
52789
52634
  }, [progress, onCompleted]);
52790
- if (!show) return jsxRuntime.jsx(React__default["default"].Fragment, {}, void 0);
52791
- if (isPageLoader) {
52792
- return jsxRuntime.jsx(ModalDialog, __assign({
52793
- open: show,
52794
- modal: true,
52795
- allowPinchZoom: false,
52796
- width: "100%",
52797
- layer: 2000,
52798
- isMobile: false,
52799
- css: {
52800
- borderRadius: '2px !important',
52801
- '& > div': {
52802
- backgroundColor: 'transparent !important',
52803
- borderRadius: '2px !important'
52804
- }
52805
- }
52806
- }, {
52807
- children: jsxRuntime.jsx(ModalDialogContent, __assign({
52808
- css: {
52809
- padding: '$spacing-08 $spacing-11'
52810
- }
52811
- }, {
52812
- children: jsxRuntime.jsx(CircularLoadingBar, {
52813
- label: pageLoaderLabel
52814
- }, void 0)
52815
- }), void 0)
52816
- }), void 0);
52817
- }
52818
52635
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
52819
52636
  visibility: true
52820
52637
  }), void 0) : jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
@@ -52827,8 +52644,7 @@
52827
52644
  show: false,
52828
52645
  interval: 100,
52829
52646
  description: 'Loading...',
52830
- size: 'md',
52831
- isPageLoader: false
52647
+ size: 'md'
52832
52648
  };
52833
52649
 
52834
52650
  var Container$4 = styled(Flex$1, {
@@ -54011,6 +53827,7 @@
54011
53827
  label: tooltipLabel(name, variants)
54012
53828
  }, {
54013
53829
  children: jsxRuntime.jsxs(Box, __assign({
53830
+ gap: 2,
54014
53831
  css: __assign({
54015
53832
  display: 'flex',
54016
53833
  alignItems: 'center',
@@ -54058,7 +53875,7 @@
54058
53875
  padding: '4px 8px',
54059
53876
  minWidth: 'unset',
54060
53877
  justifyContent: 'flex-start',
54061
- marginRight: 'auto'
53878
+ mr: 'auto'
54062
53879
  },
54063
53880
  type: "varian"
54064
53881
  }, {
@@ -57876,7 +57693,6 @@
57876
57693
  exports.PriceColumn = PriceColumn;
57877
57694
  exports.Progress = Progress$1;
57878
57695
  exports.ProgressIndicator = ProgressIndicator;
57879
- exports.Provider = Provider;
57880
57696
  exports.RANGE_CONTROL = RANGE_CONTROL;
57881
57697
  exports.RANGE_MONTH = RANGE_MONTH;
57882
57698
  exports.RANGE_PICKER = RANGE_PICKER;
@@ -57937,9 +57753,6 @@
57937
57753
  exports.ToastContext = ToastContext;
57938
57754
  exports.ToastProvider = ToastProvider;
57939
57755
  exports.Tooltip = Tooltip$1;
57940
- exports.TooltipBase = TooltipBase;
57941
- exports.TooltipContent = TooltipContent;
57942
- exports.TooltipTrigger = TooltipTrigger;
57943
57756
  exports.UPDATE_PICKER = UPDATE_PICKER;
57944
57757
  exports.Upload = Upload;
57945
57758
  exports.WEEKLY = WEEKLY;