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

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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/majoo-ui/packages/react/src/layout/grid/Grid.js";
1728
+ const GridComponent = styled('div', {
1729
+ display: 'grid',
1730
+ variants: {
1731
+ align: {
1732
+ start: {
1733
+ alignItems: 'start'
1734
+ },
1735
+ center: {
1736
+ alignItems: 'center'
1737
+ },
1738
+ end: {
1739
+ alignItems: 'end'
1740
+ },
1741
+ stretch: {
1742
+ alignItems: 'stretch'
1743
+ },
1744
+ baseline: {
1745
+ alignItems: 'baseline'
1746
+ }
1747
+ },
1748
+ justify: {
1749
+ start: {
1750
+ justifyContent: 'start'
1751
+ },
1752
+ center: {
1753
+ justifyContent: 'center'
1754
+ },
1755
+ end: {
1756
+ justifyContent: 'end'
1757
+ },
1758
+ between: {
1759
+ justifyContent: 'space-between'
1760
+ }
1761
+ },
1762
+ flow: {
1763
+ row: {
1764
+ gridAutoFlow: 'row'
1765
+ },
1766
+ column: {
1767
+ gridAutoFlow: 'column'
1768
+ },
1769
+ dense: {
1770
+ gridAutoFlow: 'dense'
1771
+ },
1772
+ rowDense: {
1773
+ gridAutoFlow: 'row dense'
1774
+ },
1775
+ columnDense: {
1776
+ gridAutoFlow: 'column dense'
1777
+ }
1778
+ },
1779
+ columns: seqNumberVariants$1(value => ({
1780
+ gridTemplateColumns: `repeat(${value}, 1fr)`
1781
+ }), 10),
1782
+ rows: seqNumberVariants$1(value => ({
1783
+ gridTemplateRows: `repeat(${value}, 1fr)`
1784
+ }), 10),
1785
+ placeItems: {
1786
+ stretch: {
1787
+ placeItems: 'stretch'
1788
+ },
1789
+ start: {
1790
+ placeItems: 'start'
1791
+ },
1792
+ end: {
1793
+ placeItems: 'end'
1794
+ },
1795
+ center: {
1796
+ placeItems: 'center'
1797
+ },
1798
+ left: {
1799
+ placeItems: 'left'
1800
+ },
1801
+ right: {
1802
+ placeItems: 'right'
1803
+ }
1804
+ },
1805
+ gap: {
1806
+ 1: {
1807
+ gap: '$spacing-03'
1808
+ },
1809
+ 2: {
1810
+ gap: '$spacing-05'
1811
+ },
1812
+ 3: {
1813
+ gap: '$spacing-06'
1814
+ },
1815
+ 4: {
1816
+ gap: '$spacing-07'
1817
+ },
1818
+ 5: {
1819
+ gap: '$spacing-08'
1820
+ },
1821
+ 6: {
1822
+ gap: '$spacing-09'
1823
+ },
1824
+ 7: {
1825
+ gap: '$spacing-10'
1826
+ },
1827
+ 8: {
1828
+ gap: '$spacing-11'
1829
+ },
1830
+ 9: {
1831
+ gap: '$spacing-12'
1832
+ }
1833
+ },
1834
+ gapX: {
1835
+ normal: {
1836
+ columnGap: 'normal'
1837
+ },
1838
+ 1: {
1839
+ columnGap: '$spacing-03'
1840
+ },
1841
+ 2: {
1842
+ columnGap: '$spacing-05'
1843
+ },
1844
+ 3: {
1845
+ columnGap: '$spacing-06'
1846
+ },
1847
+ 4: {
1848
+ columnGap: '$spacing-07'
1849
+ },
1850
+ 5: {
1851
+ columnGap: '$spacing-08'
1852
+ },
1853
+ 6: {
1854
+ columnGap: '$spacing-09'
1855
+ },
1856
+ 7: {
1857
+ columnGap: '$spacing-10'
1858
+ },
1859
+ 8: {
1860
+ columnGap: '$spacing-11'
1861
+ },
1862
+ 9: {
1863
+ columnGap: '$spacing-12'
1864
+ }
1865
+ },
1866
+ gapY: {
1867
+ 1: {
1868
+ rowGap: '$spacing-03'
1869
+ },
1870
+ 2: {
1871
+ rowGap: '$spacing-05'
1872
+ },
1873
+ 3: {
1874
+ rowGap: '$spacing-06'
1875
+ },
1876
+ 4: {
1877
+ rowGap: '$spacing-07'
1878
+ },
1879
+ 5: {
1880
+ rowGap: '$spacing-08'
1881
+ },
1882
+ 6: {
1883
+ rowGap: '$spacing-09'
1884
+ },
1885
+ 7: {
1886
+ rowGap: '$spacing-10'
1887
+ },
1888
+ 8: {
1889
+ rowGap: '$spacing-11'
1890
+ },
1891
+ 9: {
1892
+ rowGap: '$spacing-12'
1893
+ }
1894
+ },
1895
+ mobileOnly: {
1896
+ true: {
1897
+ '@lg': {
1898
+ display: 'none !important'
1899
+ }
1900
+ }
1901
+ },
1902
+ desktopOnly: {
1903
+ true: {
1904
+ display: 'none !important',
1905
+ '@lg': {
1906
+ display: 'grid !important'
1907
+ }
1908
+ }
1909
+ }
1910
+ }
1911
+ });
1912
+ const Grid = _ref => {
1913
+ let {
1914
+ children
1915
+ } = _ref,
1916
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
1917
+ return /*#__PURE__*/React__default["default"].createElement(GridComponent, _extends({}, props, {
1918
+ css: Object.assign({}, props.css, {
1919
+ gridAutoColumns: props.autoColumns,
1920
+ gridAutoRows: props.autoRows,
1921
+ gridTemplateColumns: props.templateColumns,
1922
+ gridTemplateRows: props.templateRows
1923
+ }),
1924
+ __self: undefined,
1925
+ __source: {
1926
+ fileName: _jsxFileName$10,
1927
+ lineNumber: 200,
1928
+ columnNumber: 5
1929
+ }
1930
+ }), children);
1931
+ };
1932
+ Grid.propTypes = {
1933
+ align: PropTypes__default["default"].string,
1934
+ justify: PropTypes__default["default"].string,
1935
+ autoColumns: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1936
+ autoRows: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1937
+ autoFlow: PropTypes__default["default"].string,
1938
+ templateColumns: PropTypes__default["default"].string,
1939
+ templateRows: PropTypes__default["default"].string,
1940
+ columns: PropTypes__default["default"].number,
1941
+ rows: PropTypes__default["default"].number,
1942
+ gap: PropTypes__default["default"].number,
1943
+ gapX: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1944
+ gapY: PropTypes__default["default"].number
1945
+ };
1946
+ Grid.displayName = 'Grid';
1947
+ function spanFn(value) {
1948
+ return value === 'auto' ? 'auto' : `span ${value}/span ${value}`;
1949
+ }
1950
+ const GridItemComponent = styled('div', {
1951
+ variants: {
1952
+ colSpan: Object.assign({
1953
+ auto: spanFn('auto')
1954
+ }, seqNumberVariants$1(value => ({
1955
+ gridColumn: spanFn(value)
1956
+ }), 10)),
1957
+ rowSpan: Object.assign({
1958
+ auto: spanFn('auto')
1959
+ }, seqNumberVariants$1(value => ({
1960
+ gridRow: spanFn(value)
1961
+ }), 10))
1962
+ }
1963
+ });
1964
+ const GridItem = _ref2 => {
1965
+ let {
1966
+ children
1967
+ } = _ref2,
1968
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2$4);
1969
+ return /*#__PURE__*/React__default["default"].createElement(GridItemComponent, _extends({}, props, {
1970
+ css: Object.assign({}, props.css, {
1971
+ gridArea: props.area,
1972
+ gridColumnStart: props.colStart,
1973
+ gridColumnEnd: props.colEnd,
1974
+ gridRowStart: props.rowStart,
1975
+ gridRowEnd: props.rowEnd
1976
+ }),
1977
+ __self: undefined,
1978
+ __source: {
1979
+ fileName: _jsxFileName$10,
1980
+ lineNumber: 265,
1981
+ columnNumber: 5
1982
+ }
1983
+ }), children);
1984
+ };
1985
+ GridItem.propTypes = {
1986
+ gridArea: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1987
+ colSpan: PropTypes__default["default"].number,
1988
+ rowSpan: PropTypes__default["default"].number,
1989
+ colStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1990
+ colEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1991
+ rowStart: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
1992
+ rowEnd: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
1993
+ };
1994
+ GridItem.displayName = 'Grid Item';
1995
+
1996
+ const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
1997
+ var _jsxFileName$$ = "/Users/majoo/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
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$_ = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4573
+ const {
4574
+ zIndices: zIndices$2
4575
+ } = core.foundations;
4576
+ const slideUpAndFade$2 = keyframes({
4577
+ '0%': {
4578
+ opacity: 0,
4579
+ transform: 'translateY(2px)'
4580
+ },
4581
+ '100%': {
4582
+ opacity: 1,
4583
+ transform: 'translateY(0)'
4584
+ }
4585
+ });
4586
+ const slideRightAndFade$2 = keyframes({
4587
+ '0%': {
4588
+ opacity: 0,
4589
+ transform: 'translateX(-2px)'
4590
+ },
4591
+ '100%': {
4592
+ opacity: 1,
4593
+ transform: 'translateX(0)'
4594
+ }
4595
+ });
4596
+ const slideDownAndFade$2 = keyframes({
4597
+ '0%': {
4598
+ opacity: 0,
4599
+ transform: 'translateY(-2px)'
4600
+ },
4601
+ '100%': {
4602
+ opacity: 1,
4603
+ transform: 'translateY(0)'
4604
+ }
4605
+ });
4606
+ const slideLeftAndFade$2 = keyframes({
4607
+ '0%': {
4608
+ opacity: 0,
4609
+ transform: 'translateX(2px)'
4610
+ },
4611
+ '100%': {
4612
+ opacity: 1,
4613
+ transform: 'translateX(0)'
4614
+ }
4615
+ });
4616
+ const StyledContent$6 = styled(TooltipPrimitive__namespace.Content, {
4617
+ zIndex: zIndices$2.tooltip,
4618
+ borderRadius: 8,
4619
+ padding: '8px',
4620
+ fontSize: '$helper',
4621
+ letterSpacing: '$helper',
4622
+ lineHeight: '$helper',
4623
+ fontWeight: '400',
4624
+ backgroundColor: '$white',
4625
+ boxShadow: '$large',
4626
+ '@media (prefers-reduced-motion: no-preference)': {
4627
+ animationDuration: '400ms',
4628
+ animationTimingFunction: 'cubic-bezier(0.16, 1, 0.3, 1)',
4629
+ animationFillMode: 'forwards',
4630
+ willChange: 'transform, opacity',
4631
+ '&[data-state="delayed-open"]': {
4632
+ '&[data-side="top"]': {
4633
+ animationName: slideDownAndFade$2
4634
+ },
4635
+ '&[data-side="right"]': {
4636
+ animationName: slideLeftAndFade$2
4637
+ },
4638
+ '&[data-side="bottom"]': {
4639
+ animationName: slideUpAndFade$2
4640
+ },
4641
+ '&[data-side="left"]': {
4642
+ animationName: slideRightAndFade$2
4643
+ }
4644
+ }
4645
+ },
4646
+ maxWidth: '100vw'
4647
+ });
4648
+ const TriggerSpan = styled('span', {
4649
+ display: 'flex'
4650
+ });
4651
+ const StyledArrow$1 = styled(TooltipPrimitive__namespace.Arrow, {
4652
+ boxShadow: '$large'
4653
+ });
4654
+ const TooltipBase = styled(TooltipPrimitive__namespace.Root, {
4655
+ defaultVariants: {
4656
+ color: 'ligth'
4657
+ }
4658
+ });
4659
+
4660
+ // Exports
4661
+ const Provider = TooltipPrimitive__namespace.Provider;
4662
+ const TooltipTrigger = TooltipPrimitive__namespace.Trigger;
4663
+ const dark = {
4664
+ color: core.foundations.colors.white,
4665
+ backgroundColor: core.foundations.colors.gray800
4666
+ };
4667
+ const ligth = {
4668
+ color: core.foundations.colors.textPrimary,
4669
+ backgroundColor: core.foundations.colors.bgWhite
4670
+ };
4671
+ const darkArrow = {
4672
+ fill: core.foundations.colors.gray800
4673
+ };
4674
+ const lightArrow = {
4675
+ fill: core.foundations.colors.bgWhite
4676
+ };
4677
+ const Tooltip$1 = _ref => {
4678
+ let {
4679
+ children,
4680
+ label,
4681
+ color,
4682
+ css,
4683
+ withClick,
4684
+ side,
4685
+ align,
4686
+ delayDuration
4687
+ } = _ref,
4688
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4689
+ const [open, setOpen] = React.useState(false);
4690
+ return /*#__PURE__*/React__default["default"].createElement(Provider, {
4691
+ __self: undefined,
4692
+ __source: {
4693
+ fileName: _jsxFileName$W,
4694
+ lineNumber: 92,
4695
+ columnNumber: 5
4696
+ }
4697
+ }, /*#__PURE__*/React__default["default"].createElement(TooltipBase, _extends({}, rest, {
4698
+ open: withClick ? open : undefined,
4699
+ delayDuration: delayDuration,
4700
+ __self: undefined,
4701
+ __source: {
4702
+ fileName: _jsxFileName$W,
4703
+ lineNumber: 93,
4704
+ columnNumber: 7
4705
+ }
4706
+ }), /*#__PURE__*/React__default["default"].createElement(TooltipTrigger, {
4707
+ asChild: true,
4708
+ __self: undefined,
4709
+ __source: {
4710
+ fileName: _jsxFileName$W,
4711
+ lineNumber: 94,
4712
+ columnNumber: 9
4713
+ }
4714
+ }, /*#__PURE__*/React__default["default"].createElement(TriggerSpan, {
4715
+ onClick: () => withClick && !open && setOpen(true),
4716
+ __self: undefined,
4717
+ __source: {
4718
+ fileName: _jsxFileName$W,
4719
+ lineNumber: 95,
4720
+ columnNumber: 11
4721
+ }
4722
+ }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
4723
+ __self: undefined,
4724
+ __source: {
4725
+ fileName: _jsxFileName$W,
4726
+ lineNumber: 97,
4727
+ columnNumber: 9
4728
+ }
4729
+ }, /*#__PURE__*/React__default["default"].createElement(StyledContent$6, {
4730
+ align: align,
4731
+ side: side,
4732
+ sideOffset: 5,
4733
+ css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4734
+ onPointerDownOutside: () => setTimeout(() => {
4735
+ setOpen(false);
4736
+ }, 100),
4737
+ __self: undefined,
4738
+ __source: {
4739
+ fileName: _jsxFileName$W,
4740
+ lineNumber: 98,
4741
+ columnNumber: 11
4742
+ }
4743
+ }, label, /*#__PURE__*/React__default["default"].createElement(StyledArrow$1, {
4744
+ offset: 10,
4745
+ css: color === 'dark' ? darkArrow : lightArrow,
4746
+ __self: undefined,
4747
+ __source: {
4748
+ fileName: _jsxFileName$W,
4749
+ lineNumber: 110,
4750
+ columnNumber: 13
4751
+ }
4752
+ })))));
4753
+ };
4754
+ Tooltip$1.propTypes = {
4755
+ children: PropTypes__default["default"].node,
4756
+ label: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].node]),
4757
+ color: PropTypes__default["default"].string,
4758
+ side: PropTypes__default["default"].oneOf(['top', 'bottom', 'right', 'left']),
4759
+ align: PropTypes__default["default"].oneOf(['start', 'center', 'end'])
4760
+ };
4761
+ Tooltip$1.defaultProps = {
4762
+ color: 'dark',
4763
+ side: 'bottom',
4764
+ align: 'center',
4765
+ label: '',
4766
+ children: /*#__PURE__*/React__default["default"].createElement("div", {
4767
+ __self: undefined,
4768
+ __source: {
4769
+ fileName: _jsxFileName$W,
4770
+ lineNumber: 131,
4771
+ columnNumber: 13
4772
+ }
4773
+ }),
4774
+ delayDuration: 200
4775
+ };
4776
+
4777
+ const _excluded$u = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
4778
+ var _jsxFileName$V = "/Users/majoo/majoo-ui/packages/react/src/components/progress/Progress.js";
4779
+ const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
4780
+ position: 'relative',
4781
+ overflow: 'hidden',
4782
+ background: '$chartLightGreen',
4783
+ width: 'auto',
4784
+ height: '12px',
4785
+ variants: {
4786
+ rounded: {
4787
+ true: {
4788
+ borderRadius: '100px'
4789
+ }
4790
+ },
4791
+ color: {
4792
+ green: {
4793
+ backgroundColor: '$chartLightGreen'
4794
+ },
4795
+ orange: {
4796
+ backgroundColor: '$chartLightOrange'
4797
+ },
4798
+ blue: {
4799
+ backgroundColor: '$chartLightBlue'
4800
+ },
4801
+ purple: {
4802
+ backgroundColor: '$chartLightPurple'
4803
+ },
4804
+ yellow: {
4805
+ backgroundColor: '$chartLightYellow'
4806
+ },
4807
+ red: {
4808
+ backgroundColor: '$chartLightRed'
4809
+ },
4810
+ dark: {
4811
+ backgroundColor: '$chartLightGray'
4812
+ }
4813
+ },
4814
+ size: {
4815
+ xs: {
4816
+ height: '4px'
4817
+ },
4818
+ sm: {
4819
+ height: '8px'
4820
+ },
4821
+ m: {
4822
+ height: '12px'
4823
+ },
4824
+ l: {
4825
+ height: '16px'
4826
+ },
4827
+ xl: {
4828
+ height: '20px'
4829
+ }
4830
+ }
4831
+ }
4832
+ });
4833
+ const StyledIndicator$3 = react.styled(ProgressPrimitive__namespace.Indicator, {
4834
+ backgroundColor: '$chartGreen',
4835
+ height: '60%',
4836
+ transition: 'width 660ms cubic-bezier(0.65, 0, 0.35, 1)',
4837
+ variants: {
4838
+ rounded: {
4839
+ true: {
4840
+ borderRadius: '100px'
4841
+ }
4842
+ },
4843
+ color: {
4844
+ green: {
4845
+ backgroundColor: '$chartGreen'
4846
+ },
4847
+ orange: {
4848
+ backgroundColor: '$chartOrange'
4849
+ },
4850
+ blue: {
4851
+ backgroundColor: '$chartBlue'
4852
+ },
4853
+ purple: {
4854
+ backgroundColor: '$chartPurple'
4855
+ },
4856
+ yellow: {
4857
+ backgroundColor: '$chartYellow'
4858
+ },
4859
+ red: {
4860
+ backgroundColor: '$chartRed'
4861
+ },
4862
+ dark: {
4863
+ backgroundColor: '$chartDark'
4864
+ }
4865
+ },
4866
+ size: {
4867
+ xs: {
4868
+ height: '100%'
4869
+ },
4870
+ sm: {
4871
+ height: '100%'
4872
+ },
4873
+ m: {
4874
+ margin: "2px 2px 0"
4875
+ },
4876
+ l: {
4877
+ margin: "3px 3px 0"
4878
+ },
4879
+ xl: {
4880
+ margin: "4px 4px 0"
4881
+ }
4882
+ }
4883
+ }
4884
+ });
4885
+ function Progress$1(_ref) {
4886
+ let {
4887
+ className,
4888
+ value,
4889
+ max,
4890
+ getValueLabel,
4891
+ color,
4892
+ size,
4893
+ rounded,
4894
+ width
4895
+ } = _ref,
4896
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4897
+ return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
4898
+ className: className,
4899
+ value: value,
4900
+ max: max,
4901
+ getValueLabel: getValueLabel,
4902
+ color: color,
4903
+ size: size,
4904
+ rounded: rounded,
4905
+ css: Object.assign({
4906
+ width: width
4907
+ }, props.css)
4908
+ }, props, {
4909
+ __self: this,
4910
+ __source: {
4911
+ fileName: _jsxFileName$V,
4912
+ lineNumber: 88,
4913
+ columnNumber: 5
4914
+ }
4915
+ }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$3, {
4916
+ color: color,
4917
+ size: size,
4918
+ rounded: rounded,
4919
+ css: {
4920
+ width: `${value}%`
4921
+ },
4922
+ __self: this,
4923
+ __source: {
4924
+ fileName: _jsxFileName$V,
4925
+ lineNumber: 89,
4926
+ columnNumber: 7
4927
+ }
4928
+ }));
4929
+ }
4930
+ Progress$1.propTypes = {
4931
+ className: PropTypes__default["default"].string,
4932
+ value: PropTypes__default["default"].number,
4933
+ max: PropTypes__default["default"].number,
4934
+ getValueLabel: PropTypes__default["default"].func,
4935
+ color: PropTypes__default["default"].string,
4936
+ size: PropTypes__default["default"].string,
4937
+ rounded: PropTypes__default["default"].bool,
4938
+ width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number])
4939
+ };
4940
+ Progress$1.defaultProps = {
4941
+ max: 100,
4942
+ color: 'green',
4943
+ size: 'm',
4944
+ rounded: true
4945
+ };
4946
+
4947
+ const ToastContext = /*#__PURE__*/React__namespace.createContext({});
4948
+
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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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 = "/Users/majoo/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,
@@ -11458,7 +11531,7 @@
11458
11531
  };
11459
11532
 
11460
11533
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
11461
- var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11534
+ var _jsxFileName$D = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
11462
11535
  const Wrapper$2 = styled('div', {
11463
11536
  margin: 0,
11464
11537
  flexDirection: 'column',
@@ -11755,7 +11828,7 @@
11755
11828
  };
11756
11829
 
11757
11830
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
11758
- var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11831
+ var _jsxFileName$C = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
11759
11832
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
11760
11833
  display: 'block',
11761
11834
  width: '16px',
@@ -11860,7 +11933,7 @@
11860
11933
  };
11861
11934
  InputSwitch.displayName = 'InputSwitch';
11862
11935
 
11863
- var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11936
+ var _jsxFileName$B = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
11864
11937
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11865
11938
  width: props.size,
11866
11939
  height: props.size,
@@ -11919,7 +11992,7 @@
11919
11992
  size: 24
11920
11993
  };
11921
11994
 
11922
- var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11995
+ var _jsxFileName$A = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
11923
11996
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
11924
11997
  width: props.size,
11925
11998
  height: props.size,
@@ -11960,7 +12033,7 @@
11960
12033
  };
11961
12034
 
11962
12035
  const _excluded$e = ["size", "onChange", "css", "disabled", "withDebounce", "defaultValue", "mobileOnly", "desktopOnly"];
11963
- var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
12036
+ var _jsxFileName$z = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
11964
12037
  const {
11965
12038
  colors: colors$7
11966
12039
  } = core.foundations;
@@ -12259,7 +12332,7 @@
12259
12332
  });
12260
12333
 
12261
12334
  const _excluded$d = ["children"];
12262
- var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
12335
+ var _jsxFileName$y = "/Users/majoo/majoo-ui/packages/react/src/components/popover/Popover.js";
12263
12336
  const {
12264
12337
  zIndices: zIndices$1
12265
12338
  } = core.foundations;
@@ -13783,7 +13856,7 @@
13783
13856
  }), void 0);
13784
13857
  });
13785
13858
 
13786
- var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13859
+ var _jsxFileName$x = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
13787
13860
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
13788
13861
  xmlns: "http://www.w3.org/2000/svg",
13789
13862
  xmlSpace: "preserve",
@@ -13867,7 +13940,7 @@
13867
13940
  }
13868
13941
 
13869
13942
  const _excluded$c = ["placeholder", "option", "value", "defaultValue", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "showTagSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter", "collapsible", "toggleInput", "fetchData", "onSearch", "isLoading", "maxSelectedItem", "mobileOnly", "desktopOnly", "label", "tagCss", "checkBoxCss", "optionListCss", "showCollapsibleCounter", "collapsibleLimit", "pageIndex", "onSelectAllChecked", "totalOptions"];
13870
- var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13943
+ var _jsxFileName$w = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
13871
13944
  function _await(value, then, direct) {
13872
13945
  if (direct) {
13873
13946
  return then ? then(value) : value;
@@ -15194,7 +15267,7 @@
15194
15267
  collapsibleLimit: 5
15195
15268
  };
15196
15269
 
15197
- var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15270
+ var _jsxFileName$v = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
15198
15271
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
15199
15272
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
15200
15273
  ref: ref,
@@ -15255,7 +15328,7 @@
15255
15328
  defaultValue: []
15256
15329
  };
15257
15330
 
15258
- var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15331
+ var _jsxFileName$u = "/Users/majoo/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
15259
15332
  const Wrapper = styled('div', {
15260
15333
  margin: 0,
15261
15334
  flexDirection: 'column',
@@ -16437,7 +16510,7 @@
16437
16510
 
16438
16511
  const _excluded$b = ["children"],
16439
16512
  _excluded2$3 = ["children", "showOverlay"];
16440
- var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16513
+ var _jsxFileName$t = "/Users/majoo/majoo-ui/packages/react/src/components/drawer/Drawer.js";
16441
16514
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
16442
16515
  const {
16443
16516
  sizes
@@ -16787,7 +16860,7 @@
16787
16860
 
16788
16861
  const _excluded$a = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size", "withMaxWidth", "mobileOnly", "desktopOnly"],
16789
16862
  _excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
16790
- var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16863
+ var _jsxFileName$s = "/Users/majoo/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
16791
16864
  const ScrollButton$1 = styled(Button$4, {
16792
16865
  width: '28px',
16793
16866
  outline: '$btnPrimary solid 1px',
@@ -17322,7 +17395,7 @@
17322
17395
  });
17323
17396
  DateNumber.displayName = 'DateNumber';
17324
17397
 
17325
- var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17398
+ var _jsxFileName$r = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
17326
17399
  const Input$3 = styled('input', {
17327
17400
  display: 'none'
17328
17401
  });
@@ -17878,7 +17951,7 @@
17878
17951
  };
17879
17952
  NativeTimePicker.displayName = 'NativeTimePicker';
17880
17953
 
17881
- var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17954
+ var _jsxFileName$q = "/Users/majoo/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
17882
17955
  const getInputPickerValue$1 = date => {
17883
17956
  if (!date) return;
17884
17957
  return moment__default["default"](date).format('HH:mm');
@@ -18155,11 +18228,15 @@
18155
18228
  var selected = _a.selected,
18156
18229
  disabled = _a.disabled,
18157
18230
  language = _a.language,
18158
- onSetDateValue = _a.onSetDateValue;
18231
+ onSetDateValue = _a.onSetDateValue,
18232
+ isSingle = _a.isSingle;
18159
18233
  var t = reactI18next.useTranslation('MajooUI/datePicker').t;
18160
18234
  var startTime = moment__default["default"]('00:00', 'HH:mm').toDate();
18161
18235
  var endTime = moment__default["default"]('00:00', 'HH:mm').toDate();
18162
- if (selected && selected.length > 1) {
18236
+ if (isSingle && selected && selected.length) {
18237
+ startTime = selected[0];
18238
+ }
18239
+ if (!isSingle && selected && selected.length > 1) {
18163
18240
  startTime = selected[0];
18164
18241
  endTime = selected[1];
18165
18242
  }
@@ -18180,7 +18257,7 @@
18180
18257
  variant: "label",
18181
18258
  color: "primary"
18182
18259
  }, {
18183
- children: t('dateFromLabel', 'Dari Tanggal')
18260
+ children: isSingle ? t('label.date', 'Tanggal') : t('dateFromLabel', 'Dari Tanggal')
18184
18261
  }), void 0), jsxRuntime.jsx(Text$1, __assign({
18185
18262
  variant: "label",
18186
18263
  color: "disable"
@@ -18195,53 +18272,55 @@
18195
18272
  variant: "label",
18196
18273
  color: "primary"
18197
18274
  }, {
18198
- children: t('timeFromLabel', 'Dari Pukul')
18275
+ children: isSingle ? t('time', 'Waktu') : t('timeFromLabel', 'Dari Pukul')
18199
18276
  }), void 0), jsxRuntime.jsx(InputTimePicker, {
18200
18277
  onChange: function (val) {
18201
- if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
18278
+ if (isSingle && selected && selected.length && !!onSetDateValue) onSetDateValue(val.toDate());else if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([val.toDate(), selected[1]]);
18202
18279
  },
18203
18280
  size: "sm",
18204
18281
  value: startTime,
18205
- disabled: !(selected && selected.length > 1)
18282
+ disabled: isSingle ? !(selected && selected.length) : !(selected && selected.length > 1)
18206
18283
  }, void 0)]
18207
- }), void 0), jsxRuntime.jsx(Separator$2, {
18208
- orientation: "horizontal"
18209
- }, void 0), jsxRuntime.jsxs(Flex$1, __assign({
18210
- direction: "column",
18211
- gap: 3
18212
- }, {
18213
- children: [jsxRuntime.jsx(Text$1, __assign({
18214
- variant: "label",
18215
- color: "primary"
18284
+ }), void 0), isSingle ? null : jsxRuntime.jsxs(React__default["default"].Fragment, {
18285
+ children: [jsxRuntime.jsx(Separator$2, {
18286
+ orientation: "horizontal"
18287
+ }, void 0), jsxRuntime.jsxs(Flex$1, __assign({
18288
+ direction: "column",
18289
+ gap: 3
18216
18290
  }, {
18217
- children: t('dateUntilLabel', 'Hingga Tanggal')
18218
- }), void 0), jsxRuntime.jsx(Text$1, __assign({
18219
- variant: "label",
18220
- color: "disable"
18291
+ children: [jsxRuntime.jsx(Text$1, __assign({
18292
+ variant: "label",
18293
+ color: "primary"
18294
+ }, {
18295
+ children: t('dateUntilLabel', 'Hingga Tanggal')
18296
+ }), void 0), jsxRuntime.jsx(Text$1, __assign({
18297
+ variant: "label",
18298
+ color: "disable"
18299
+ }, {
18300
+ children: formattedEndDate
18301
+ }), void 0)]
18302
+ }), void 0), jsxRuntime.jsxs(Flex$1, __assign({
18303
+ direction: "column",
18304
+ gap: 3
18221
18305
  }, {
18222
- children: formattedEndDate
18306
+ children: [jsxRuntime.jsx(Text$1, __assign({
18307
+ variant: "label",
18308
+ color: "primary"
18309
+ }, {
18310
+ children: t('timeUntilLabel', 'Hingga Pukul')
18311
+ }), void 0), jsxRuntime.jsx(InputTimePicker, {
18312
+ onChange: function (val) {
18313
+ var endDate = moment__default["default"](endTime).format('YYYY-MM-DD');
18314
+ var newTime = val.format('HH:mm');
18315
+ var newValue = moment__default["default"]("".concat(endDate, " ").concat(newTime), 'YYYY-MM-DD HH:mm').toDate();
18316
+ if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
18317
+ },
18318
+ size: "sm",
18319
+ value: endTime,
18320
+ disabled: !(selected && selected.length > 1)
18321
+ }, void 0)]
18223
18322
  }), void 0)]
18224
- }), void 0), jsxRuntime.jsxs(Flex$1, __assign({
18225
- direction: "column",
18226
- gap: 3
18227
- }, {
18228
- children: [jsxRuntime.jsx(Text$1, __assign({
18229
- variant: "label",
18230
- color: "primary"
18231
- }, {
18232
- children: t('timeUntilLabel', 'Hingga Pukul')
18233
- }), void 0), jsxRuntime.jsx(InputTimePicker, {
18234
- onChange: function (val) {
18235
- var endDate = moment__default["default"](endTime).format('YYYY-MM-DD');
18236
- var newTime = val.format('HH:mm');
18237
- var newValue = moment__default["default"]("".concat(endDate, " ").concat(newTime), 'YYYY-MM-DD HH:mm').toDate();
18238
- if (selected && selected.length > 1 && !!onSetDateValue) onSetDateValue([selected[0], newValue]);
18239
- },
18240
- size: "sm",
18241
- value: endTime,
18242
- disabled: !(selected && selected.length > 1)
18243
- }, void 0)]
18244
- }), void 0)]
18323
+ }, void 0)]
18245
18324
  }), void 0);
18246
18325
  };
18247
18326
 
@@ -18303,17 +18382,22 @@
18303
18382
  });
18304
18383
  var CalendarsContainer$1 = styled(Box, {
18305
18384
  width: '100%',
18306
- padding: '$spacing-03',
18307
18385
  display: 'inline-flex',
18308
18386
  borderRadius: '$lg',
18309
- boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
18310
- backgroundColor: '$white',
18311
18387
  justifyContent: 'center',
18312
18388
  gap: '$spacing-03',
18313
18389
  '@md': {
18314
18390
  width: 'unset'
18315
18391
  }
18316
18392
  });
18393
+ var CalenderBoxContainer = styled(Box, {
18394
+ display: 'flex',
18395
+ flexDirection: 'column',
18396
+ boxShadow: '0px 4px 8px rgba(0, 0, 0, 0.12)',
18397
+ borderRadius: '$lg',
18398
+ backgroundColor: '$white',
18399
+ padding: '$spacing-03'
18400
+ });
18317
18401
  var CalendarItemContainer$1 = styled(Flex$1, {});
18318
18402
  var DateContainer$1 = styled(Box, {
18319
18403
  width: '100%',
@@ -18386,7 +18470,7 @@
18386
18470
  }
18387
18471
  }
18388
18472
  });
18389
- var ButtonTime = styled('button', {
18473
+ styled('button', {
18390
18474
  fontWeight: 600,
18391
18475
  fontStyle: 'normal',
18392
18476
  fontSize: 14,
@@ -18432,9 +18516,9 @@
18432
18516
  selected = _a.selected,
18433
18517
  containerStyle = _a.containerStyle,
18434
18518
  disabled = _a.disabled,
18435
- showTimePicker = _a.showTimePicker,
18436
- renderTimePicker = _a.renderTimePicker,
18437
- minDate = _a.minDate,
18519
+ showTimePicker = _a.showTimePicker;
18520
+ _a.renderTimePicker;
18521
+ var minDate = _a.minDate,
18438
18522
  maxDate = _a.maxDate,
18439
18523
  allowReset = _a.allowReset,
18440
18524
  onSetDateValue = _a.onSetDateValue;
@@ -18813,92 +18897,112 @@
18813
18897
  }, void 0);
18814
18898
  };
18815
18899
  var renderTime = function renderTime() {
18816
- return jsxRuntime.jsxs(Box, __assign({
18817
- css: {
18818
- padding: 4
18819
- }
18820
- }, {
18900
+ return jsxRuntime.jsxs(React.Fragment, {
18821
18901
  children: [jsxRuntime.jsx(Separator$2, {
18822
- css: {
18823
- my: '$spacing-02'
18824
- }
18825
- }, void 0), jsxRuntime.jsx(ButtonTime, __assign({
18902
+ orientation: "vertical"
18903
+ }, void 0), jsxRuntime.jsx(CalendarTimePicker, __assign({}, {
18904
+ selected: selected,
18826
18905
  disabled: disabled,
18827
- onClick: function () {
18828
- return setPickerState(function (current) {
18829
- return __assign(__assign({}, current), {
18830
- type: TIME_PICKER
18831
- });
18832
- });
18833
- },
18834
- type: "button"
18906
+ language: language,
18907
+ onSetDateValue: onSetDateValue
18835
18908
  }, {
18836
- children: selected && selected[0] ? moment__default["default"](selected[0]).format('HH:mm') : moment__default["default"]().format('HH:mm')
18909
+ isSingle: !multiDatePicker
18837
18910
  }), void 0)]
18838
- }), void 0);
18911
+ }, void 0);
18839
18912
  };
18840
- var renderButtonTime = function renderButtonTime() {
18913
+ var renderFooterSingleTimePicker = function renderFooterSingleTimePicker() {
18841
18914
  return jsxRuntime.jsxs(Box, __assign({
18842
18915
  css: {
18843
- padding: 4
18916
+ width: '$full'
18844
18917
  }
18845
18918
  }, {
18846
18919
  children: [jsxRuntime.jsx(Separator$2, {
18847
18920
  css: {
18848
- my: '$spacing-02'
18921
+ my: '$spacing-03'
18922
+ }
18923
+ }, void 0), jsxRuntime.jsx(Flex$1, __assign({
18924
+ justify: "end",
18925
+ align: "center",
18926
+ css: {
18927
+ padding: 8
18849
18928
  }
18850
- }, void 0), jsxRuntime.jsx(ButtonTime, __assign({
18851
- disabled: disabled,
18852
- onClick: function () {
18853
- return onCancel === null || onCancel === void 0 ? void 0 : onCancel();
18854
- },
18855
- type: "button"
18856
18929
  }, {
18857
- children: "Done"
18930
+ children: jsxRuntime.jsxs(Flex$1, __assign({
18931
+ gap: 3
18932
+ }, {
18933
+ children: [jsxRuntime.jsx(Button$4, __assign({
18934
+ buttonType: "ghost",
18935
+ css: {
18936
+ fontWeight: 600
18937
+ },
18938
+ onClick: onCancel,
18939
+ disabled: disabled,
18940
+ size: "sm",
18941
+ type: "button"
18942
+ }, {
18943
+ children: t('label.cancel', 'Batal', {
18944
+ ns: 'translation'
18945
+ })
18946
+ }), void 0), jsxRuntime.jsx(Button$4, __assign({
18947
+ css: {
18948
+ fontWeight: 600
18949
+ },
18950
+ onClick: onUpdate,
18951
+ disabled: disabled || !(selected && selected.length),
18952
+ size: "sm",
18953
+ type: "button"
18954
+ }, {
18955
+ children: t('label.save', 'Simpan', {
18956
+ ns: 'translation'
18957
+ })
18958
+ }), void 0)]
18959
+ }), void 0)
18858
18960
  }), void 0)]
18859
18961
  }), void 0);
18860
18962
  };
18861
18963
  if (calendars.length) {
18862
- return jsxRuntime.jsxs(CalendarsContainer$1, __assign({
18863
- css: containerStyle
18864
- }, {
18865
- children: [advanceView, advanceView && jsxRuntime.jsx(Separator$2, {
18866
- orientation: "vertical"
18867
- }, void 0), jsxRuntime.jsxs(Box, {
18868
- children: [renderHeader(), jsxRuntime.jsx(CalendarItemContainer$1, __assign({
18869
- gap: 5
18870
- }, {
18871
- children: calendars.map(function (calendar, index) {
18872
- return jsxRuntime.jsxs(React__default["default"].Fragment, {
18873
- children: [index > 0 && jsxRuntime.jsx(Separator$2, {
18874
- orientation: "vertical",
18875
- css: {
18876
- height: 'auto'
18877
- }
18878
- }, void 0), jsxRuntime.jsxs(DateContainer$1, {
18879
- children: [jsxRuntime.jsx(Separator$2, {
18964
+ return jsxRuntime.jsxs(CalenderBoxContainer, {
18965
+ children: [jsxRuntime.jsxs(CalendarsContainer$1, __assign({
18966
+ css: containerStyle
18967
+ }, {
18968
+ children: [advanceView, advanceView && jsxRuntime.jsx(Separator$2, {
18969
+ orientation: "vertical"
18970
+ }, void 0), jsxRuntime.jsxs(Box, {
18971
+ children: [renderHeader(), jsxRuntime.jsx(CalendarItemContainer$1, __assign({
18972
+ gap: 5
18973
+ }, {
18974
+ children: calendars.map(function (calendar, index) {
18975
+ return jsxRuntime.jsxs(React__default["default"].Fragment, {
18976
+ children: [index > 0 && jsxRuntime.jsx(Separator$2, {
18977
+ orientation: "vertical",
18880
18978
  css: {
18881
- mb: '$spacing-04',
18882
- mt: '$spacing-02'
18979
+ height: 'auto'
18883
18980
  }
18884
- }, void 0), pickerState.type === DATE_PICKER && jsxRuntime.jsxs(jsxRuntime.Fragment, {
18885
- children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
18886
- }, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList(), pickerState.type === TIME_PICKER && renderTimePicker && renderTimePicker()]
18887
- }, void 0)]
18888
- }, "".concat(calendar.month).concat(calendar.year));
18889
- })
18890
- }), void 0), multiDatePicker && renderFooter(), !advanceView && showTimePicker && (pickerState.type === TIME_PICKER ? renderButtonTime() : renderTime())]
18891
- }, void 0), showTimePicker && pickerState.type === DATE_PICKER && !!advanceView && jsxRuntime.jsxs(React.Fragment, {
18892
- children: [jsxRuntime.jsx(Separator$2, {
18893
- orientation: "vertical"
18894
- }, void 0), jsxRuntime.jsx(CalendarTimePicker, __assign({}, {
18895
- selected: selected,
18896
- disabled: disabled,
18897
- language: language,
18898
- onSetDateValue: onSetDateValue
18899
- }), void 0)]
18900
- }, void 0)]
18901
- }), void 0);
18981
+ }, void 0), jsxRuntime.jsxs(DateContainer$1, {
18982
+ children: [jsxRuntime.jsx(Separator$2, {
18983
+ css: {
18984
+ mb: '$spacing-04',
18985
+ mt: '$spacing-02'
18986
+ }
18987
+ }, void 0), pickerState.type === DATE_PICKER && jsxRuntime.jsxs(jsxRuntime.Fragment, {
18988
+ children: [renderWeekLabel(calendar), renderDateNumber(calendar)]
18989
+ }, void 0), pickerState.type === MONTH_PICKER && renderMonthsList(), pickerState.type === YEAR_PICKER && renderYearsList(), pickerState.type === YEAR_RANGE_PICKER && renderYearRangesList()]
18990
+ }, void 0)]
18991
+ }, "".concat(calendar.month).concat(calendar.year));
18992
+ })
18993
+ }), void 0)]
18994
+ }, void 0), !advanceView && showTimePicker && renderTime(), showTimePicker && pickerState.type === DATE_PICKER && !!advanceView && jsxRuntime.jsxs(React.Fragment, {
18995
+ children: [jsxRuntime.jsx(Separator$2, {
18996
+ orientation: "vertical"
18997
+ }, void 0), jsxRuntime.jsx(CalendarTimePicker, __assign({}, {
18998
+ selected: selected,
18999
+ disabled: disabled,
19000
+ language: language,
19001
+ onSetDateValue: onSetDateValue
19002
+ }), void 0)]
19003
+ }, void 0)]
19004
+ }), void 0), !multiDatePicker && showTimePicker && renderFooterSingleTimePicker(), multiDatePicker && renderFooter()]
19005
+ }, void 0);
18902
19006
  }
18903
19007
  return null;
18904
19008
  };
@@ -19499,6 +19603,7 @@
19499
19603
  if (dateValue && onChange) {
19500
19604
  onChange(dateValue);
19501
19605
  }
19606
+ onClose();
19502
19607
  };
19503
19608
  var dayzedData = dayzed.useDayzed(__assign(__assign({}, props), {
19504
19609
  date: calendarDate,
@@ -19515,41 +19620,22 @@
19515
19620
  }
19516
19621
  }, [selected]);
19517
19622
  React.useEffect(function () {
19518
- if (dateValue && !isMultiDatePicker && onChange) {
19623
+ if (dateValue && !(isMultiDatePicker || showTimePicker) && onChange) {
19519
19624
  onChange(dateValue);
19520
19625
  }
19521
19626
  }, [dateValue]);
19522
- var renderTimePicker = function renderTimePicker(props) {
19523
- return jsxRuntime.jsx(Box, __assign({
19524
- css: {
19525
- padding: '40px 60px'
19526
- }
19527
- }, {
19528
- children: jsxRuntime.jsx(NativeTimePicker, __assign({
19529
- size: "lg",
19530
- value: dateValue ? moment__default["default"](dateValue) : moment__default["default"](),
19531
- minDate: minDate,
19532
- maxDate: maxDate,
19533
- disabled: disabled,
19534
- onChange: function (date) {
19535
- setDateValue(new Date(date));
19536
- }
19537
- }, props), void 0)
19538
- }), void 0);
19539
- };
19540
19627
  return jsxRuntime.jsx(CalendarBox, __assign({
19541
- onUpdate: isMultiDatePicker ? updateHandler : undefined,
19628
+ onUpdate: isMultiDatePicker || showTimePicker ? updateHandler : undefined,
19542
19629
  onCancel: onClose,
19543
19630
  selected: dateValue ? [dateValue] : undefined,
19544
19631
  advanceView: advanceView,
19545
19632
  disabled: disabled,
19546
19633
  onCalendarDateChange: setCalendarDate,
19547
19634
  showTimePicker: showTimePicker,
19548
- renderTimePicker: function () {
19549
- return renderTimePicker(timePickerProps);
19550
- },
19551
19635
  minDate: minDate,
19552
19636
  maxDate: maxDate
19637
+ }, showTimePicker && {
19638
+ onSetDateValue: setDateValue
19553
19639
  }, dayzedData), void 0);
19554
19640
  };
19555
19641
  var CalendarRangePicker = function CalendarRangePicker(_a) {
@@ -20133,7 +20219,6 @@
20133
20219
  onClose = _a.onClose,
20134
20220
  mobileOnly = _a.mobileOnly,
20135
20221
  desktopOnly = _a.desktopOnly,
20136
- advanceOptions = _a.advanceOptions,
20137
20222
  drawerCss = _a.drawerCss,
20138
20223
  _g = _a.drawerContentCss,
20139
20224
  drawerContentCss = _g === void 0 ? {} : _g,
@@ -20232,22 +20317,20 @@
20232
20317
  }
20233
20318
  };
20234
20319
  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
20320
  var handleDatePickerChange = function handleDatePickerChange(value) {
20238
20321
  if (showRangeControl || type === 'range_picker') {
20239
20322
  if (rangePickerType === 'monthly') {
20240
20323
  dispatch({
20241
20324
  type: 'UPDATE',
20242
- payload: advancePickerReducer('RANGE_MONTH', value)
20325
+ payload: advancePickerDate('RANGE_MONTH', value)
20243
20326
  });
20244
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_MONTH', value));
20327
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_MONTH', value));
20245
20328
  } else {
20246
20329
  dispatch({
20247
20330
  type: 'UPDATE',
20248
- payload: advancePickerReducer('RANGE_WEEK', value)
20331
+ payload: advancePickerDate('RANGE_WEEK', value)
20249
20332
  });
20250
- onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerReducer('RANGE_WEEK', value));
20333
+ onChange === null || onChange === void 0 ? void 0 : onChange(advancePickerDate('RANGE_WEEK', value));
20251
20334
  }
20252
20335
  } else {
20253
20336
  dispatch({
@@ -20259,10 +20342,10 @@
20259
20342
  };
20260
20343
  return jsxRuntime.jsx(DatePicker, {
20261
20344
  advanceView: type === ADVANCE_PICKER && (!advanceView ? jsxRuntime.jsx(AdvancedOption, {
20262
- options: (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || options,
20345
+ options: language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn,
20263
20346
  disabled: disabled,
20264
20347
  optionHandler: function (value) {
20265
- var reducedResult = advancePickerReducer(value, undefined);
20348
+ var reducedResult = advancePickerDate(value, undefined);
20266
20349
  var dateAsString = moment__default["default"](reducedResult[1]).format('YYYY-MM-DD');
20267
20350
  var payload = [reducedResult[0], moment__default["default"]("".concat(dateAsString, " 23:59"), 'YYYY-MM-DD HH:mm').toDate()];
20268
20351
  dispatch({
@@ -20534,23 +20617,21 @@
20534
20617
  _f = _a.isInvalid,
20535
20618
  isInvalid = _f === void 0 ? false : _f,
20536
20619
  css = _a.css,
20537
- advanceOptions = _a.advanceOptions,
20538
- props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css", "advanceOptions"]);
20620
+ props = __rest(_a, ["onChange", "placeholder", "size", "disabled", "placement", "readOnly", "isInvalid", "css"]);
20539
20621
  var _g = reactI18next.useTranslation('translation'),
20540
20622
  t = _g.t,
20541
20623
  i18n = _g.i18n;
20542
20624
  var language = i18n.language;
20543
20625
  var pickerOptions = language === 'id' ? advancePickerOptionsId : advancePickerOptionsEn;
20544
- var advancePickerReducer = (advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.reducer) || advancePickerDate;
20545
20626
  return jsxRuntime.jsx(InputSelect, __assign({}, props, {
20546
- option: ((advanceOptions === null || advanceOptions === void 0 ? void 0 : advanceOptions.options) || pickerOptions).map(function (option) {
20627
+ option: pickerOptions.map(function (option) {
20547
20628
  return {
20548
20629
  name: option.label,
20549
20630
  value: option.value
20550
20631
  };
20551
20632
  }),
20552
20633
  onChange: function (selectedOption) {
20553
- if (onChange) onChange(advancePickerReducer(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20634
+ if (onChange) onChange(advancePickerDate(selectedOption === null || selectedOption === void 0 ? void 0 : selectedOption.value, undefined));
20554
20635
  },
20555
20636
  placeholder: placeholder || t('placeholder.select', 'Pilih'),
20556
20637
  size: size,
@@ -20563,7 +20644,7 @@
20563
20644
  });
20564
20645
 
20565
20646
  const _excluded$9 = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
20566
- var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
20647
+ var _jsxFileName$p = "/Users/majoo/majoo-ui/packages/react/src/components/slider/Slider.js";
20567
20648
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
20568
20649
  position: 'relative',
20569
20650
  display: 'flex',
@@ -20907,7 +20988,7 @@
20907
20988
  };
20908
20989
 
20909
20990
  const _excluded$8 = ["className", "children", "onClick", "type", "size"];
20910
- var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20991
+ var _jsxFileName$o = "/Users/majoo/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
20911
20992
  const TagWrapper$1 = styled('div', {
20912
20993
  boxSizing: 'border-box',
20913
20994
  fontSize: '12px',
@@ -21071,7 +21152,7 @@
21071
21152
  _excluded2$1 = ["children", "activeTabs"],
21072
21153
  _excluded3$1 = ["children", "icon", "activeTabs", "value"],
21073
21154
  _excluded4 = ["activeTabs"];
21074
- var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21155
+ var _jsxFileName$n = "/Users/majoo/majoo-ui/packages/react/src/components/tabs/Tabs.js";
21075
21156
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
21076
21157
  display: 'flex',
21077
21158
  flexDirection: 'column',
@@ -21410,7 +21491,7 @@
21410
21491
  };
21411
21492
 
21412
21493
  const _excluded$6 = ["children", "variantIcon"];
21413
- var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21494
+ var _jsxFileName$m = "/Users/majoo/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
21414
21495
  const NotificationBadgeRootStyle = styled('span', {
21415
21496
  position: 'relative',
21416
21497
  display: 'inline-flex',
@@ -21565,7 +21646,7 @@
21565
21646
  };
21566
21647
 
21567
21648
  const _excluded$5 = ["className", "children", "radius", "padding", "width", "height"];
21568
- var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
21649
+ var _jsxFileName$l = "/Users/majoo/majoo-ui/packages/react/src/components/paper/Paper.js";
21569
21650
  const PaperComponent = styled('div', {
21570
21651
  padding: '20px',
21571
21652
  height: 'auto',
@@ -21817,7 +21898,7 @@
21817
21898
  };
21818
21899
 
21819
21900
  const _excluded$4 = ["isActive", "onClick"];
21820
- var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21901
+ var _jsxFileName$k = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
21821
21902
  const PrevNextButton = styled(Text$1, {
21822
21903
  padding: '$spacing-01',
21823
21904
  cursor: 'pointer',
@@ -22305,7 +22386,7 @@
22305
22386
  };
22306
22387
 
22307
22388
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
22308
- var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22389
+ var _jsxFileName$j = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
22309
22390
  const LimitContainer = styled(Flex$1, {
22310
22391
  cursor: 'pointer'
22311
22392
  });
@@ -22538,7 +22619,7 @@
22538
22619
  }
22539
22620
 
22540
22621
  const _excluded$2 = ["limit", "currentPage", "totalData", "totalPage", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions", "hidePagination", "hideInputPageSection"];
22541
- var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22622
+ var _jsxFileName$i = "/Users/majoo/majoo-ui/packages/react/src/components/pagination/Pagination.js";
22542
22623
  function Pagination(_ref) {
22543
22624
  let {
22544
22625
  limit,
@@ -24863,7 +24944,7 @@
24863
24944
  return jsxRuntime.jsx("div", {}, void 0);
24864
24945
  };
24865
24946
 
24866
- var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24947
+ var _jsxFileName$h = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
24867
24948
  const DateColumn = ({
24868
24949
  value,
24869
24950
  customFormat
@@ -24976,7 +25057,7 @@
24976
25057
  return addThousandSeparator(param);
24977
25058
  };
24978
25059
 
24979
- var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
25060
+ var _jsxFileName$g = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
24980
25061
  const rowExpanderColumn = {
24981
25062
  id: 'expander',
24982
25063
  Header: () => null,
@@ -25017,7 +25098,7 @@
25017
25098
  unsortable: true
25018
25099
  };
25019
25100
 
25020
- var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25101
+ var _jsxFileName$f = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderMultipleColumn.js";
25021
25102
  const rowExpanderMultipleColumn = {
25022
25103
  id: 'multiple-expander',
25023
25104
  Header: () => null,
@@ -25051,7 +25132,7 @@
25051
25132
  unsortable: true
25052
25133
  };
25053
25134
 
25054
- var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
25135
+ var _jsxFileName$e = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
25055
25136
  const rowMenuColumn = (options, icon, config) => ({
25056
25137
  id: 'menu',
25057
25138
  options,
@@ -25184,7 +25265,7 @@
25184
25265
  unsortable: true
25185
25266
  });
25186
25267
 
25187
- var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
25268
+ var _jsxFileName$d = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
25188
25269
  const rowSelectionColumn = {
25189
25270
  id: 'selection',
25190
25271
  Header: ({
@@ -25233,7 +25314,7 @@
25233
25314
  unsortable: true
25234
25315
  };
25235
25316
 
25236
- var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
25317
+ var _jsxFileName$c = "/Users/majoo/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionCallbackColumn.js";
25237
25318
  const rowSelectionWithCallbackColumn = (onCheckedChange, onAllCheckedChange) => ({
25238
25319
  id: 'selection',
25239
25320
  Header: ({
@@ -25578,7 +25659,7 @@
25578
25659
  };
25579
25660
 
25580
25661
  const _excluded$1 = ["children"];
25581
- var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25662
+ var _jsxFileName$b = "/Users/majoo/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
25582
25663
  const overlayShow = keyframes({
25583
25664
  '0%': {
25584
25665
  opacity: 0
@@ -26213,7 +26294,7 @@
26213
26294
  const _excluded = ["side", "align", "children"],
26214
26295
  _excluded2 = ["children"],
26215
26296
  _excluded3 = ["asChild"];
26216
- var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
26297
+ var _jsxFileName$a = "/Users/majoo/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
26217
26298
  const Context = /*#__PURE__*/React__default["default"].createContext();
26218
26299
  const slideUpAndFade = keyframes({
26219
26300
  '0%': {
@@ -28348,7 +28429,7 @@
28348
28429
  });
28349
28430
  }
28350
28431
 
28351
- var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
28432
+ var _jsxFileName$9 = "/Users/majoo/majoo-ui/packages/react/src/components/upload/Upload.js";
28352
28433
  const Input$2 = styled('input', {
28353
28434
  display: 'none !important'
28354
28435
  });
@@ -30283,7 +30364,7 @@
30283
30364
  };
30284
30365
  Device.displayName = 'DevicePreview';
30285
30366
 
30286
- var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
30367
+ var _jsxFileName$8 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
30287
30368
  const Separator$1 = styled('div', {
30288
30369
  height: 20,
30289
30370
  width: 1,
@@ -30436,7 +30517,7 @@
30436
30517
 
30437
30518
  var img$d = "data:image/gif;base64,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";
30438
30519
 
30439
- var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
30520
+ var _jsxFileName$7 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
30440
30521
  const Container$7 = styled('div', {
30441
30522
  userSelect: 'none',
30442
30523
  margin: 'auto',
@@ -32397,7 +32478,7 @@
32397
32478
  })));
32398
32479
  }
32399
32480
 
32400
- var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
32481
+ var _jsxFileName$6 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
32401
32482
  const CheckBoard = styled(Flex$1, {
32402
32483
  background: '$bgwhite',
32403
32484
  border: '1px solid #E5E7EB',
@@ -32598,7 +32679,7 @@
32598
32679
  }, "%")));
32599
32680
  }
32600
32681
 
32601
- var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32682
+ var _jsxFileName$5 = "/Users/majoo/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
32602
32683
  const Container$6 = styled(Flex$1, {
32603
32684
  background: '$white',
32604
32685
  padding: 16,
@@ -33118,7 +33199,7 @@
33118
33199
  };
33119
33200
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
33120
33201
 
33121
- var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
33202
+ var _jsxFileName$4 = "/Users/majoo/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
33122
33203
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
33123
33204
  const Stepper = StepWizard__default["default"];
33124
33205
  Stepper.displayName = 'Stepper';
@@ -33841,7 +33922,7 @@
33841
33922
  isLazyMount: true
33842
33923
  };
33843
33924
 
33844
- var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33925
+ var _jsxFileName$3 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
33845
33926
  function Collapse({
33846
33927
  children,
33847
33928
  isOpen
@@ -33884,7 +33965,7 @@
33884
33965
  isOpen: false
33885
33966
  };
33886
33967
 
33887
- var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33968
+ var _jsxFileName$2 = "/Users/majoo/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
33888
33969
  const DesktopContainer = styled(Flex$1, {
33889
33970
  display: 'none',
33890
33971
  '& .active-scroll-spy': {
@@ -34245,7 +34326,7 @@
34245
34326
  useBoxMethod: true
34246
34327
  };
34247
34328
 
34248
- var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
34329
+ var _jsxFileName$1 = "/Users/majoo/majoo-ui/packages/react/src/components/editableTable/transition.js";
34249
34330
  function Collapalse({
34250
34331
  children,
34251
34332
  isOpen
@@ -52527,234 +52608,11 @@
52527
52608
  }, void 0)]
52528
52609
  }), void 0);
52529
52610
  }
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
52611
  var interval;
52752
52612
  function LoadingBar(props) {
52753
52613
  var show = props.show,
52754
52614
  onCompleted = props.onCompleted,
52755
- intervalTime = props.interval,
52756
- isPageLoader = props.isPageLoader,
52757
- pageLoaderLabel = props.pageLoaderLabel;
52615
+ intervalTime = props.interval;
52758
52616
  var _a = React.useState(0),
52759
52617
  progress = _a[0],
52760
52618
  setProgress = _a[1];
@@ -52787,34 +52645,6 @@
52787
52645
  onCompleted === null || onCompleted === void 0 ? void 0 : onCompleted();
52788
52646
  }
52789
52647
  }, [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
52648
  return typeof (props === null || props === void 0 ? void 0 : props.progress) === 'number' ? jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
52819
52649
  visibility: true
52820
52650
  }), void 0) : jsxRuntime.jsx(PrimitiveLoadingBar, __assign({}, props, {
@@ -52827,8 +52657,7 @@
52827
52657
  show: false,
52828
52658
  interval: 100,
52829
52659
  description: 'Loading...',
52830
- size: 'md',
52831
- isPageLoader: false
52660
+ size: 'md'
52832
52661
  };
52833
52662
 
52834
52663
  var Container$4 = styled(Flex$1, {
@@ -54011,6 +53840,7 @@
54011
53840
  label: tooltipLabel(name, variants)
54012
53841
  }, {
54013
53842
  children: jsxRuntime.jsxs(Box, __assign({
53843
+ gap: 2,
54014
53844
  css: __assign({
54015
53845
  display: 'flex',
54016
53846
  alignItems: 'center',
@@ -54058,7 +53888,7 @@
54058
53888
  padding: '4px 8px',
54059
53889
  minWidth: 'unset',
54060
53890
  justifyContent: 'flex-start',
54061
- marginRight: 'auto'
53891
+ mr: 'auto'
54062
53892
  },
54063
53893
  type: "varian"
54064
53894
  }, {
@@ -56211,7 +56041,7 @@
56211
56041
  innerRadius: 70
56212
56042
  };
56213
56043
 
56214
- var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
56044
+ var _jsxFileName = "/Users/majoo/majoo-ui/packages/react/src/colors/Colors.js";
56215
56045
  const StyledPaper = styled(Paper, {
56216
56046
  borderRadius: '10px 10px 0 0',
56217
56047
  padding: 15,
@@ -57876,7 +57706,6 @@
57876
57706
  exports.PriceColumn = PriceColumn;
57877
57707
  exports.Progress = Progress$1;
57878
57708
  exports.ProgressIndicator = ProgressIndicator;
57879
- exports.Provider = Provider;
57880
57709
  exports.RANGE_CONTROL = RANGE_CONTROL;
57881
57710
  exports.RANGE_MONTH = RANGE_MONTH;
57882
57711
  exports.RANGE_PICKER = RANGE_PICKER;
@@ -57937,9 +57766,6 @@
57937
57766
  exports.ToastContext = ToastContext;
57938
57767
  exports.ToastProvider = ToastProvider;
57939
57768
  exports.Tooltip = Tooltip$1;
57940
- exports.TooltipBase = TooltipBase;
57941
- exports.TooltipContent = TooltipContent;
57942
- exports.TooltipTrigger = TooltipTrigger;
57943
57769
  exports.UPDATE_PICKER = UPDATE_PICKER;
57944
57770
  exports.Upload = Upload;
57945
57771
  exports.WEEKLY = WEEKLY;