@ctlyst.id/internal-ui 2.1.9 → 2.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/dist/components/{checkbox/__stories__/checkbox-group.stories.d.ts → anchor/__stories__/anchor.stories.d.ts} +2 -3
  2. package/dist/components/anchor/components/anchor.d.ts +20 -0
  3. package/dist/components/anchor/components/index.d.ts +1 -0
  4. package/dist/components/anchor/index.d.ts +1 -0
  5. package/dist/components/badge/components/index.d.ts +1 -0
  6. package/dist/components/badge/index.d.ts +1 -2
  7. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +4 -0
  8. package/dist/components/checkbox/index.d.ts +1 -0
  9. package/dist/components/{base/__stories__/switch.stories.d.ts → collapse/__stories__/collapse.stories.d.ts} +1 -2
  10. package/dist/components/counter/__stories__/counter.stories.d.ts +10 -0
  11. package/dist/components/counter/components/counter.d.ts +15 -0
  12. package/dist/components/counter/index.d.ts +1 -0
  13. package/dist/components/dialog/__stories__/dialog.stories.d.ts +7 -0
  14. package/dist/components/dialog/components/dialog.d.ts +12 -0
  15. package/dist/components/dialog/index.d.ts +1 -0
  16. package/dist/components/empty-state/__stories__/dialog.stories.d.ts +7 -0
  17. package/dist/components/field/__stories__/field.stories.d.ts +7 -0
  18. package/dist/components/{radio/__stories__/radio-group.stories.d.ts → image/__stories__/image.stories.d.ts} +2 -3
  19. package/dist/components/index.d.ts +5 -0
  20. package/dist/components/layouting/index.d.ts +1 -1
  21. package/dist/components/loader/index.d.ts +1 -1
  22. package/dist/components/radio/__stories__/radio.stories.d.ts +4 -0
  23. package/dist/components/radio/components/radio-group.d.ts +6 -5
  24. package/dist/components/radio/components/radio.d.ts +8 -7
  25. package/dist/components/radio/index.d.ts +1 -2
  26. package/dist/components/tabs/index.d.ts +1 -3
  27. package/dist/components/toast/__stories__/toast.stories.d.ts +0 -1
  28. package/dist/components/toast/components/toast.d.ts +2 -0
  29. package/dist/config/theme/components/index.d.ts +1 -0
  30. package/dist/config/theme/components/tabs.d.ts +30 -0
  31. package/dist/hooks/index.d.ts +1 -1
  32. package/dist/internal-ui.cjs.development.js +748 -233
  33. package/dist/internal-ui.cjs.development.js.map +1 -1
  34. package/dist/internal-ui.cjs.production.min.js +6 -6
  35. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  36. package/dist/internal-ui.esm.js +418 -235
  37. package/dist/internal-ui.esm.js.map +1 -1
  38. package/package.json +2 -2
  39. package/dist/components/tabs/components/tab-list.d.ts +0 -3
  40. package/dist/components/tabs/components/tab-panel.d.ts +0 -3
@@ -4,21 +4,25 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
6
 
7
- var sharedUtils = require('@chakra-ui/shared-utils');
8
- var system = require('@chakra-ui/system');
7
+ var accordion = require('@chakra-ui/accordion');
8
+ var react = require('@chakra-ui/react');
9
9
  var React = require('react');
10
10
  var React__default = _interopDefault(React);
11
+ var sharedUtils = require('@chakra-ui/shared-utils');
12
+ var system = require('@chakra-ui/system');
11
13
  var reactContext = require('@chakra-ui/react-context');
12
14
  var Icon = require('@ctlyst.id/internal-icon');
13
15
  var utils = require('@chakra-ui/utils');
14
- var react = require('@chakra-ui/react');
16
+ var layout = require('@chakra-ui/layout');
15
17
  var fi = require('react-icons/fi');
18
+ var checkbox = require('@chakra-ui/checkbox');
16
19
  var icons = require('@chakra-ui/icons');
17
20
  var react$1 = require('@emotion/react');
18
21
  var reactTable = require('@tanstack/react-table');
19
22
  var classnames = _interopDefault(require('classnames'));
20
23
  var ReactDatePicker = _interopDefault(require('react-datepicker'));
21
24
  var styled = _interopDefault(require('@emotion/styled'));
25
+ var radio = require('@chakra-ui/radio');
22
26
  var ReactSelect = _interopDefault(require('react-select'));
23
27
  var reactSelectAsyncPaginate = require('react-select-async-paginate');
24
28
  var ReactSelectAsyncCreatable = _interopDefault(require('react-select/async-creatable'));
@@ -30,6 +34,23 @@ var themeTools = require('@chakra-ui/theme-tools');
30
34
  var axios = _interopDefault(require('axios'));
31
35
  var reactToastify = require('react-toastify');
32
36
 
37
+ // eslint-disable-next-line import/prefer-default-export
38
+ const AccordionIndicator = () => {
39
+ const {
40
+ isOpen
41
+ } = accordion.useAccordionItemState();
42
+ if (isOpen) {
43
+ return /*#__PURE__*/React__default.createElement(react.Box, {
44
+ position: "absolute",
45
+ left: 0,
46
+ width: "2px",
47
+ height: "100%",
48
+ bg: "primary.500"
49
+ });
50
+ }
51
+ return null;
52
+ };
53
+
33
54
  /* eslint-disable react/require-default-props */
34
55
  function CheckIcon() {
35
56
  return /*#__PURE__*/React__default.createElement(Icon.CheckCircle, {
@@ -265,6 +286,37 @@ const AlertTitle = /*#__PURE__*/system.forwardRef(function AlertTitle(props, ref
265
286
  });
266
287
  AlertTitle.displayName = 'AlertTitle';
267
288
 
289
+ const Anchor = ({
290
+ children,
291
+ leftIcon,
292
+ rightIcon,
293
+ isActive,
294
+ isChild,
295
+ ...props
296
+ }) => {
297
+ return /*#__PURE__*/React.createElement(layout.Link, Object.assign({
298
+ display: "inline-block",
299
+ w: "full",
300
+ p: "4",
301
+ pl: isChild ? '10' : '4',
302
+ borderLeft: "1px solid",
303
+ borderLeftColor: isActive ? 'primary.500' : 'neutral.400',
304
+ color: isActive ? 'primary.500' : 'black.high',
305
+ bg: isActive ? 'neutral.100' : 'white',
306
+ className: sharedUtils.cx('catalyst-anchor', props.className),
307
+ _hover: {
308
+ textDecoration: 'none'
309
+ }
310
+ }, props), leftIcon && leftIcon, children, rightIcon && rightIcon);
311
+ };
312
+ Anchor.displayName = 'Anchor';
313
+ Anchor.defaultProps = {
314
+ leftIcon: undefined,
315
+ rightIcon: undefined,
316
+ isActive: false,
317
+ isChild: false
318
+ };
319
+
268
320
  const Badge = props => {
269
321
  const {
270
322
  children,
@@ -575,6 +627,262 @@ Chips.defaultProps = {
575
627
  size: 'sm'
576
628
  };
577
629
 
630
+ const InputAddonLeft = ({
631
+ children
632
+ }) => {
633
+ return /*#__PURE__*/React__default.createElement(react.InputLeftAddon, {
634
+ backgroundColor: "neutral.200",
635
+ px: 3,
636
+ py: 2.5,
637
+ style: {
638
+ border: 0,
639
+ marginInlineEnd: 0
640
+ }
641
+ }, children);
642
+ };
643
+ const InputAddonRight = ({
644
+ children
645
+ }) => {
646
+ return /*#__PURE__*/React__default.createElement(react.InputRightAddon, {
647
+ backgroundColor: "neutral.200",
648
+ px: 3,
649
+ py: 2.5,
650
+ style: {
651
+ border: 0,
652
+ marginInlineStart: 0
653
+ }
654
+ }, children);
655
+ };
656
+
657
+ const getProperties = props => {
658
+ const {
659
+ isError,
660
+ isDisabled,
661
+ isSuccess
662
+ } = props;
663
+ let outlineColor = 'neutral.400';
664
+ let focusColor = 'primary.500';
665
+ if (isError || isDisabled || isSuccess) {
666
+ if (isError) outlineColor = 'danger.500';else if (isSuccess) outlineColor = 'success.500';
667
+ focusColor = outlineColor;
668
+ }
669
+ return {
670
+ outlineColor,
671
+ focusColor
672
+ };
673
+ };
674
+ const getWrapperStyle = props => {
675
+ const {
676
+ outlineColor,
677
+ focusColor
678
+ } = getProperties(props);
679
+ const style = {
680
+ border: '1px solid',
681
+ borderColor: outlineColor,
682
+ borderRadius: 'sm',
683
+ transition: 'all 0.15s',
684
+ boxShadow: 'none',
685
+ _focusWithin: {
686
+ borderColor: focusColor
687
+ }
688
+ };
689
+ return react.defineStyle(style);
690
+ };
691
+
692
+ const InputField = /*#__PURE__*/React__default.forwardRef((props, ref) => {
693
+ const {
694
+ value,
695
+ type,
696
+ addOnLeft,
697
+ addOnRight,
698
+ size,
699
+ isRequired,
700
+ label,
701
+ isError,
702
+ isSuccess,
703
+ isDisabled,
704
+ errorMessage,
705
+ leftHelperText,
706
+ rightHelperText,
707
+ withClear,
708
+ onClear,
709
+ isLoading,
710
+ ...inputProps
711
+ } = props;
712
+ const wrapperStyle = getWrapperStyle(props);
713
+ const [isShowPassword, setIsShowPassword] = React.useState(false);
714
+ const inputType = React.useMemo(() => {
715
+ return type === 'password' && isShowPassword ? 'text' : type;
716
+ }, [isShowPassword, type]);
717
+ const fontSize = React.useMemo(() => {
718
+ if (type === 'password') {
719
+ if (!isShowPassword && value) return 'text.xl';
720
+ }
721
+ return 'text.sm';
722
+ }, [isShowPassword, type, value]);
723
+ const iconColor = React.useMemo(() => {
724
+ return isDisabled ? 'black.low' : 'black.medium';
725
+ }, [isDisabled]);
726
+ return /*#__PURE__*/React__default.createElement(Field, {
727
+ label: label,
728
+ isSuccess: isSuccess,
729
+ isError: isError,
730
+ errorMessage: errorMessage,
731
+ leftHelperText: leftHelperText,
732
+ rightHelperText: rightHelperText,
733
+ isRequired: isRequired
734
+ }, /*#__PURE__*/React__default.createElement(react.Box, {
735
+ __css: wrapperStyle
736
+ }, /*#__PURE__*/React__default.createElement(react.InputGroup, {
737
+ size: size,
738
+ borderRadius: "sm",
739
+ backgroundColor: isDisabled ? 'neutral.300' : 'white.high',
740
+ cursor: isDisabled ? 'not-allowed' : 'default'
741
+ }, addOnLeft, /*#__PURE__*/React__default.createElement(react.Input, Object.assign({
742
+ ref: ref,
743
+ type: inputType,
744
+ value: value,
745
+ isDisabled: isDisabled,
746
+ isSuccess: isSuccess
747
+ }, inputProps, {
748
+ fontSize: fontSize
749
+ })), (withClear || isLoading || type === 'password') && /*#__PURE__*/React__default.createElement(react.Box, {
750
+ "data-test-id": "CT_Component_ClearInput",
751
+ display: "flex",
752
+ alignItems: "center",
753
+ justifyContent: "center",
754
+ width: "16px",
755
+ mr: "10px"
756
+ }, withClear && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
757
+ display: "flex",
758
+ justifyContent: "center",
759
+ onClick: !isDisabled ? onClear : undefined,
760
+ cursor: isDisabled ? 'not-allowed' : 'pointer'
761
+ }, /*#__PURE__*/React__default.createElement(Icon.Close, {
762
+ size: 4,
763
+ color: iconColor
764
+ })), type === 'password' && !isShowPassword && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
765
+ "data-test-id": "q2Bj2G4FlamXyHuRKMZ1Q",
766
+ onClick: () => {
767
+ if (!isDisabled) setIsShowPassword(true);
768
+ },
769
+ cursor: isDisabled ? 'not-allowed' : 'pointer',
770
+ display: "flex",
771
+ justifyContent: "center"
772
+ }, /*#__PURE__*/React__default.createElement(Icon.EyeOff, {
773
+ size: 4,
774
+ color: iconColor
775
+ })), type === 'password' && isShowPassword && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
776
+ "data-test-id": "sfc2388bmeXBmdla45Ibk",
777
+ onClick: () => {
778
+ if (!isDisabled) setIsShowPassword(false);
779
+ },
780
+ cursor: isDisabled ? 'not-allowed' : 'pointer',
781
+ display: "flex",
782
+ justifyContent: "center"
783
+ }, /*#__PURE__*/React__default.createElement(Icon.Eye, {
784
+ size: 4,
785
+ color: iconColor
786
+ })), isLoading && /*#__PURE__*/React__default.createElement(Loader, {
787
+ size: "sm"
788
+ })), addOnRight)));
789
+ });
790
+ InputField.defaultProps = {
791
+ addOnLeft: undefined,
792
+ addOnRight: undefined,
793
+ withClear: undefined,
794
+ isLoading: undefined,
795
+ onClear: undefined
796
+ };
797
+
798
+ const TextareaField = /*#__PURE__*/React__default.forwardRef((props, ref) => {
799
+ const {
800
+ value,
801
+ isLoading,
802
+ ...inputProps
803
+ } = props;
804
+ return /*#__PURE__*/React__default.createElement(Field, Object.assign({}, inputProps), /*#__PURE__*/React__default.createElement(react.Box, {
805
+ position: "relative"
806
+ }, /*#__PURE__*/React__default.createElement(react.Textarea, Object.assign({
807
+ ref: ref,
808
+ value: value
809
+ }, inputProps)), isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
810
+ zIndex: 999,
811
+ top: 2,
812
+ right: 2,
813
+ position: "absolute"
814
+ }, /*#__PURE__*/React__default.createElement(Loader, {
815
+ size: "sm"
816
+ }))));
817
+ });
818
+ TextareaField.defaultProps = {
819
+ isLoading: undefined
820
+ };
821
+
822
+ /* eslint-disable react/require-default-props */
823
+ const Counter = ({
824
+ value,
825
+ size = 'xs',
826
+ min = 0,
827
+ max = 9999,
828
+ onChange,
829
+ isError = false,
830
+ disabled = false,
831
+ error = '',
832
+ helperText = '',
833
+ isReadOnly = false
834
+ }) => {
835
+ const getFieldSize = () => {
836
+ if (size === 'xl') return 'lg';
837
+ if (size === 'lg') return 'md';
838
+ if (size === 'md') return 'sm';
839
+ return 'xs';
840
+ };
841
+ const decrement = () => {
842
+ onChange(value - 1);
843
+ };
844
+ const increment = () => {
845
+ onChange(value + 1);
846
+ };
847
+ const handleChange = e => {
848
+ onChange(+e.target.value);
849
+ };
850
+ return /*#__PURE__*/React__default.createElement(react.Box, null, /*#__PURE__*/React__default.createElement(react.HStack, null, /*#__PURE__*/React__default.createElement(react.IconButton, {
851
+ "aria-label": "minus",
852
+ "data-test-id": "CT_Component_Counter_decrement",
853
+ onClick: decrement,
854
+ isDisabled: disabled || +value <= min,
855
+ size: size,
856
+ icon: /*#__PURE__*/React__default.createElement(fi.FiMinus, null)
857
+ }), /*#__PURE__*/React__default.createElement(InputField, {
858
+ "data-test-id": "CT_Component_Counter_input",
859
+ value: value,
860
+ isError: isError,
861
+ isDisabled: disabled || max === 0,
862
+ textAlign: "center",
863
+ size: getFieldSize(),
864
+ min: min,
865
+ max: max,
866
+ onChange: handleChange,
867
+ isReadOnly: isReadOnly,
868
+ width: 12,
869
+ type: "number"
870
+ }), /*#__PURE__*/React__default.createElement(react.IconButton, {
871
+ "aria-label": "plus",
872
+ "data-test-id": "CT_Component_Counter_decrement",
873
+ onClick: increment,
874
+ isDisabled: disabled || +value >= max,
875
+ size: size,
876
+ icon: /*#__PURE__*/React__default.createElement(fi.FiPlus, null)
877
+ })), !isError ? /*#__PURE__*/React__default.createElement(react.Text, {
878
+ mt: 1,
879
+ color: "black.medium"
880
+ }, helperText) : /*#__PURE__*/React__default.createElement(react.Text, {
881
+ mt: 1,
882
+ color: "danger.500"
883
+ }, error));
884
+ };
885
+
578
886
  /* eslint-disable react-hooks/rules-of-hooks */
579
887
  const DataTable = /*#__PURE__*/React.forwardRef((props, ref) => {
580
888
  const {
@@ -747,41 +1055,6 @@ DataTable.defaultProps = {
747
1055
  onRowClick: undefined
748
1056
  };
749
1057
 
750
- const getProperties = props => {
751
- const {
752
- isError,
753
- isDisabled,
754
- isSuccess
755
- } = props;
756
- let outlineColor = 'neutral.400';
757
- let focusColor = 'primary.500';
758
- if (isError || isDisabled || isSuccess) {
759
- if (isError) outlineColor = 'danger.500';else if (isSuccess) outlineColor = 'success.500';
760
- focusColor = outlineColor;
761
- }
762
- return {
763
- outlineColor,
764
- focusColor
765
- };
766
- };
767
- const getWrapperStyle = props => {
768
- const {
769
- outlineColor,
770
- focusColor
771
- } = getProperties(props);
772
- const style = {
773
- border: '1px solid',
774
- borderColor: outlineColor,
775
- borderRadius: 'sm',
776
- transition: 'all 0.15s',
777
- boxShadow: 'none',
778
- _focusWithin: {
779
- borderColor: focusColor
780
- }
781
- };
782
- return react.defineStyle(style);
783
- };
784
-
785
1058
  const Styles = () => {
786
1059
  const {
787
1060
  colorMode
@@ -1803,161 +2076,42 @@ MultiDatePickerMonth.defaultProps = {
1803
2076
  isError: false
1804
2077
  };
1805
2078
 
1806
- const InputAddonLeft = ({
1807
- children
1808
- }) => {
1809
- return /*#__PURE__*/React__default.createElement(react.InputLeftAddon, {
1810
- backgroundColor: "neutral.200",
1811
- px: 3,
1812
- py: 2.5,
1813
- style: {
1814
- border: 0,
1815
- marginInlineEnd: 0
1816
- }
1817
- }, children);
1818
- };
1819
- const InputAddonRight = ({
1820
- children
2079
+ const Dialog = ({
2080
+ title,
2081
+ content,
2082
+ footer,
2083
+ isModalOverlay,
2084
+ width,
2085
+ isOverlayClickable,
2086
+ ...props
1821
2087
  }) => {
1822
- return /*#__PURE__*/React__default.createElement(react.InputRightAddon, {
1823
- backgroundColor: "neutral.200",
1824
- px: 3,
1825
- py: 2.5,
1826
- style: {
1827
- border: 0,
1828
- marginInlineStart: 0
1829
- }
1830
- }, children);
1831
- };
1832
-
1833
- const InputField = /*#__PURE__*/React__default.forwardRef((props, ref) => {
1834
- const {
1835
- value,
1836
- type,
1837
- addOnLeft,
1838
- addOnRight,
1839
- size,
1840
- isRequired,
1841
- label,
1842
- isError,
1843
- isSuccess,
1844
- isDisabled,
1845
- errorMessage,
1846
- leftHelperText,
1847
- rightHelperText,
1848
- withClear,
1849
- onClear,
1850
- isLoading,
1851
- ...inputProps
1852
- } = props;
1853
- const wrapperStyle = getWrapperStyle(props);
1854
- const [isShowPassword, setIsShowPassword] = React.useState(false);
1855
- const inputType = React.useMemo(() => {
1856
- return type === 'password' && isShowPassword ? 'text' : type;
1857
- }, [isShowPassword, type]);
1858
- const fontSize = React.useMemo(() => {
1859
- if (type === 'password') {
1860
- if (!isShowPassword && value) return 'text.xl';
1861
- }
1862
- return 'text.sm';
1863
- }, [isShowPassword, type, value]);
1864
- const iconColor = React.useMemo(() => {
1865
- return isDisabled ? 'black.low' : 'black.medium';
1866
- }, [isDisabled]);
1867
- return /*#__PURE__*/React__default.createElement(Field, {
1868
- label: label,
1869
- isSuccess: isSuccess,
1870
- isError: isError,
1871
- errorMessage: errorMessage,
1872
- leftHelperText: leftHelperText,
1873
- rightHelperText: rightHelperText,
1874
- isRequired: isRequired
1875
- }, /*#__PURE__*/React__default.createElement(react.Box, {
1876
- __css: wrapperStyle
1877
- }, /*#__PURE__*/React__default.createElement(react.InputGroup, {
1878
- size: size,
1879
- borderRadius: "sm",
1880
- backgroundColor: isDisabled ? 'neutral.300' : 'white.high',
1881
- cursor: isDisabled ? 'not-allowed' : 'default'
1882
- }, addOnLeft, /*#__PURE__*/React__default.createElement(react.Input, Object.assign({
1883
- ref: ref,
1884
- type: inputType,
1885
- value: value,
1886
- isDisabled: isDisabled,
1887
- isSuccess: isSuccess
1888
- }, inputProps, {
1889
- fontSize: fontSize
1890
- })), (withClear || isLoading || type === 'password') && /*#__PURE__*/React__default.createElement(react.Box, {
1891
- "data-test-id": "CT_Component_ClearInput",
1892
- display: "flex",
1893
- alignItems: "center",
1894
- justifyContent: "center",
1895
- width: "16px",
1896
- mr: "10px"
1897
- }, withClear && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
1898
- display: "flex",
1899
- justifyContent: "center",
1900
- onClick: !isDisabled ? onClear : undefined,
1901
- cursor: isDisabled ? 'not-allowed' : 'pointer'
1902
- }, /*#__PURE__*/React__default.createElement(Icon.Close, {
1903
- size: 4,
1904
- color: iconColor
1905
- })), type === 'password' && !isShowPassword && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
1906
- "data-test-id": "q2Bj2G4FlamXyHuRKMZ1Q",
1907
- onClick: () => {
1908
- if (!isDisabled) setIsShowPassword(true);
1909
- },
1910
- cursor: isDisabled ? 'not-allowed' : 'pointer',
1911
- display: "flex",
1912
- justifyContent: "center"
1913
- }, /*#__PURE__*/React__default.createElement(Icon.EyeOff, {
1914
- size: 4,
1915
- color: iconColor
1916
- })), type === 'password' && isShowPassword && !isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
1917
- "data-test-id": "sfc2388bmeXBmdla45Ibk",
1918
- onClick: () => {
1919
- if (!isDisabled) setIsShowPassword(false);
1920
- },
1921
- cursor: isDisabled ? 'not-allowed' : 'pointer',
1922
- display: "flex",
1923
- justifyContent: "center"
1924
- }, /*#__PURE__*/React__default.createElement(Icon.Eye, {
1925
- size: 4,
1926
- color: iconColor
1927
- })), isLoading && /*#__PURE__*/React__default.createElement(Loader, {
1928
- size: "sm"
1929
- })), addOnRight)));
1930
- });
1931
- InputField.defaultProps = {
1932
- addOnLeft: undefined,
1933
- addOnRight: undefined,
1934
- withClear: undefined,
1935
- isLoading: undefined,
1936
- onClear: undefined
2088
+ return /*#__PURE__*/React__default.createElement(react.Modal, Object.assign({}, props), isModalOverlay && /*#__PURE__*/React__default.createElement(react.ModalOverlay, {
2089
+ pointerEvents: isOverlayClickable ? 'auto' : 'none'
2090
+ }), /*#__PURE__*/React__default.createElement(react.ModalContent, {
2091
+ bgColor: "neutral.50",
2092
+ fontFamily: "Poppins",
2093
+ width: width
2094
+ }, /*#__PURE__*/React__default.createElement(react.ModalHeader, {
2095
+ bgColor: "neutral.200",
2096
+ py: 2,
2097
+ px: 4,
2098
+ borderTopRadius: 'sm'
2099
+ }, /*#__PURE__*/React__default.createElement(react.Text, {
2100
+ textStyle: "text.lg",
2101
+ fontWeight: "normal"
2102
+ }, title)), /*#__PURE__*/React__default.createElement(react.ModalBody, {
2103
+ p: 4,
2104
+ textStyle: "text.md"
2105
+ }, content), /*#__PURE__*/React__default.createElement(react.ModalFooter, {
2106
+ bgColor: "neutral.200",
2107
+ p: 4,
2108
+ borderBottomRadius: 'sm'
2109
+ }, footer)));
1937
2110
  };
1938
-
1939
- const TextareaField = /*#__PURE__*/React__default.forwardRef((props, ref) => {
1940
- const {
1941
- value,
1942
- isLoading,
1943
- ...inputProps
1944
- } = props;
1945
- return /*#__PURE__*/React__default.createElement(Field, Object.assign({}, inputProps), /*#__PURE__*/React__default.createElement(react.Box, {
1946
- position: "relative"
1947
- }, /*#__PURE__*/React__default.createElement(react.Textarea, Object.assign({
1948
- ref: ref,
1949
- value: value
1950
- }, inputProps)), isLoading && /*#__PURE__*/React__default.createElement(react.Box, {
1951
- zIndex: 999,
1952
- top: 2,
1953
- right: 2,
1954
- position: "absolute"
1955
- }, /*#__PURE__*/React__default.createElement(Loader, {
1956
- size: "sm"
1957
- }))));
1958
- });
1959
- TextareaField.defaultProps = {
1960
- isLoading: undefined
2111
+ Dialog.defaultProps = {
2112
+ isModalOverlay: true,
2113
+ width: '400px',
2114
+ isOverlayClickable: true
1961
2115
  };
1962
2116
 
1963
2117
  const Logo = ({
@@ -2046,12 +2200,16 @@ const Profile = ({
2046
2200
  size: "sm",
2047
2201
  bg: brandColor,
2048
2202
  color: "white",
2049
- name: (_data$name = data === null || data === void 0 ? void 0 : data.name) !== null && _data$name !== void 0 ? _data$name : data === null || data === void 0 ? void 0 : data.email
2203
+ name: (_data$name = data === null || data === void 0 ? void 0 : data.name) !== null && _data$name !== void 0 ? _data$name : data === null || data === void 0 ? void 0 : data.email,
2204
+ border: "2px solid",
2205
+ _hover: {
2206
+ borderColor: 'primary.50'
2207
+ }
2050
2208
  })))), /*#__PURE__*/React.createElement(react.PopoverContent, {
2051
- bg: react.useColorModeValue('white', 'mirage.900'),
2209
+ bg: "white",
2052
2210
  maxW: 200
2053
2211
  }, /*#__PURE__*/React.createElement(react.PopoverArrow, {
2054
- bg: react.useColorModeValue('white', 'mirage.900')
2212
+ bg: "white"
2055
2213
  }), /*#__PURE__*/React.createElement(react.PopoverBody, {
2056
2214
  p: 1
2057
2215
  }, /*#__PURE__*/React.createElement(react.Flex, {
@@ -2114,6 +2272,7 @@ const Version = ({
2114
2272
  environment,
2115
2273
  onOpenModalRelease
2116
2274
  }) => /*#__PURE__*/React.createElement(React.Fragment, null, version && /*#__PURE__*/React.createElement(Badge, {
2275
+ fontSize: "8px",
2117
2276
  "data-test-id": "dzl3esjhCphobaaIXpiUE",
2118
2277
  variant: "neutral-light",
2119
2278
  onClick: onOpenModalRelease,
@@ -2148,11 +2307,11 @@ const Header = ({
2148
2307
  urlLogo,
2149
2308
  children,
2150
2309
  profile,
2310
+ bg = 'white',
2151
2311
  ...props
2152
2312
  }) => /*#__PURE__*/React.createElement(react.Flex, Object.assign({
2153
2313
  minH: 15,
2154
- bg: props.bg,
2155
- bgColor: props.bgColor,
2314
+ bg: bg,
2156
2315
  shadow: "raised",
2157
2316
  px: 6,
2158
2317
  py: 3,
@@ -2706,14 +2865,14 @@ PaginationFilter.defaultProps = {
2706
2865
  label: undefined
2707
2866
  };
2708
2867
 
2709
- function RadioComponent({
2868
+ const Radio = ({
2710
2869
  isError = false,
2711
2870
  helpText = '',
2712
2871
  errorText = '',
2713
2872
  children,
2714
2873
  isDisabled,
2715
2874
  ...rest
2716
- }) {
2875
+ }) => {
2717
2876
  const variant = isError ? 'errors' : 'unstyled';
2718
2877
  return /*#__PURE__*/React__default.createElement(react.Box, null, /*#__PURE__*/React__default.createElement(react.Box, {
2719
2878
  display: "flex"
@@ -2740,35 +2899,36 @@ function RadioComponent({
2740
2899
  textStyle: "text.xs",
2741
2900
  color: "black.medium"
2742
2901
  }, helpText)));
2743
- }
2744
- RadioComponent.defaultProps = {
2902
+ };
2903
+ Radio.displayName = 'Radio';
2904
+ Radio.defaultProps = {
2745
2905
  isError: false,
2746
2906
  helpText: '',
2747
2907
  errorText: ''
2748
2908
  };
2749
2909
 
2750
- function RadioGroupComponent(props) {
2751
- const {
2752
- children,
2753
- label,
2754
- helpText,
2755
- isError,
2756
- errorMessage,
2757
- ...rest
2758
- } = props;
2759
- return /*#__PURE__*/React__default.createElement(Field, Object.assign({}, rest, {
2910
+ const RadioGroup = ({
2911
+ children,
2912
+ label,
2913
+ helpText,
2914
+ isError,
2915
+ errorMessage,
2916
+ ...props
2917
+ }) => {
2918
+ return /*#__PURE__*/React__default.createElement(Field, Object.assign({}, props, {
2760
2919
  label: label,
2761
2920
  leftHelperText: helpText,
2762
2921
  isError: isError,
2763
2922
  errorMessage: errorMessage
2764
2923
  }), /*#__PURE__*/React__default.createElement(react.Box, {
2765
2924
  mt: "12px"
2766
- }, /*#__PURE__*/React__default.createElement(react.RadioGroup, Object.assign({}, rest), /*#__PURE__*/React__default.createElement(react.Stack, {
2925
+ }, /*#__PURE__*/React__default.createElement(react.RadioGroup, Object.assign({}, props), /*#__PURE__*/React__default.createElement(react.Stack, {
2767
2926
  spacing: [1, '16px'],
2768
2927
  direction: ['column', 'row']
2769
2928
  }, children))));
2770
- }
2771
- RadioGroupComponent.defaultProps = {
2929
+ };
2930
+ RadioGroup.displayName = 'RadioGroup';
2931
+ RadioGroup.defaultProps = {
2772
2932
  helpText: '',
2773
2933
  isError: false,
2774
2934
  errorMessage: ''
@@ -3280,7 +3440,6 @@ const Tab = /*#__PURE__*/react.forwardRef((props, ref) => {
3280
3440
  _selected: {
3281
3441
  borderColor: 'primary.500',
3282
3442
  color: 'primary.500',
3283
- transform: 'translateY(-2px)',
3284
3443
  _hover: {
3285
3444
  '& .chakra-badge': {
3286
3445
  bg: 'primary.500'
@@ -3308,19 +3467,6 @@ const Tab = /*#__PURE__*/react.forwardRef((props, ref) => {
3308
3467
  })));
3309
3468
  });
3310
3469
 
3311
- const TabList = /*#__PURE__*/react.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(react.TabList, Object.assign({
3312
- borderBottom: "1px solid",
3313
- borderColor: react.useColorModeValue('gray.200', 'bright-gray.800')
3314
- }, props, {
3315
- ref: ref
3316
- }), props.children));
3317
-
3318
- const TabPanel = /*#__PURE__*/react.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement(react.TabPanel, Object.assign({
3319
- px: 0
3320
- }, props, {
3321
- ref: ref
3322
- }), props.children));
3323
-
3324
3470
  const messages = {
3325
3471
  dragActive: 'Drop file disini...',
3326
3472
  dragInActive: `(Klik atau drag untuk input file)`,
@@ -4411,7 +4557,7 @@ const variants$3 = {
4411
4557
  errors: errors$1,
4412
4558
  unstyled: unstyled$2
4413
4559
  };
4414
- const Radio = /*#__PURE__*/defineMultiStyleConfig$4({
4560
+ const Radio$1 = /*#__PURE__*/defineMultiStyleConfig$4({
4415
4561
  baseStyle: baseStyle$5,
4416
4562
  variants: variants$3,
4417
4563
  defaultProps: {
@@ -4698,6 +4844,42 @@ const tableTheme = /*#__PURE__*/defineMultiStyleConfig$6({
4698
4844
  }
4699
4845
  });
4700
4846
 
4847
+ const {
4848
+ defineMultiStyleConfig: defineMultiStyleConfig$7,
4849
+ definePartsStyle: definePartsStyle$8
4850
+ } = /*#__PURE__*/styledSystem.createMultiStyleConfigHelpers(anatomy.tabsAnatomy.keys);
4851
+ const variantLine = /*#__PURE__*/definePartsStyle$8(props => {
4852
+ const {
4853
+ orientation
4854
+ } = props;
4855
+ const isVertical = orientation === 'vertical';
4856
+ const borderProp = isVertical ? 'borderStart' : 'borderBottom';
4857
+ const marginProp = isVertical ? 'marginStart' : 'marginBottom';
4858
+ return {
4859
+ tablist: {
4860
+ [borderProp]: '1px solid',
4861
+ borderColor: 'inherit'
4862
+ },
4863
+ tab: {
4864
+ [borderProp]: '1px solid',
4865
+ borderColor: 'transparent',
4866
+ [marginProp]: '-1px'
4867
+ }
4868
+ };
4869
+ });
4870
+ const variantUnstyled = /*#__PURE__*/definePartsStyle$8({});
4871
+ const variants$5 = {
4872
+ line: variantLine,
4873
+ unstyled: variantUnstyled
4874
+ };
4875
+ const tabsTheme = /*#__PURE__*/defineMultiStyleConfig$7({
4876
+ variants: variants$5,
4877
+ defaultProps: {
4878
+ size: 'md',
4879
+ variant: 'line'
4880
+ }
4881
+ });
4882
+
4701
4883
  const getProps = props => {
4702
4884
  const {
4703
4885
  isError,
@@ -4792,9 +4974,10 @@ var components = {
4792
4974
  Input: Input,
4793
4975
  LoaderStyle: LoaderStyle,
4794
4976
  Popover: Popover,
4795
- Radio: Radio,
4977
+ Radio: Radio$1,
4796
4978
  Switch: Switch$1,
4797
4979
  Table: tableTheme,
4980
+ Tabs: tabsTheme,
4798
4981
  Textarea: Textarea
4799
4982
  };
4800
4983
 
@@ -4901,6 +5084,42 @@ function useFetcher() {
4901
5084
  };
4902
5085
  }
4903
5086
 
5087
+ Object.defineProperty(exports, 'Accordion', {
5088
+ enumerable: true,
5089
+ get: function () {
5090
+ return react.Accordion;
5091
+ }
5092
+ });
5093
+ Object.defineProperty(exports, 'AccordionButton', {
5094
+ enumerable: true,
5095
+ get: function () {
5096
+ return react.AccordionButton;
5097
+ }
5098
+ });
5099
+ Object.defineProperty(exports, 'AccordionIcon', {
5100
+ enumerable: true,
5101
+ get: function () {
5102
+ return react.AccordionIcon;
5103
+ }
5104
+ });
5105
+ Object.defineProperty(exports, 'AccordionItem', {
5106
+ enumerable: true,
5107
+ get: function () {
5108
+ return react.AccordionItem;
5109
+ }
5110
+ });
5111
+ Object.defineProperty(exports, 'AccordionPanel', {
5112
+ enumerable: true,
5113
+ get: function () {
5114
+ return react.AccordionPanel;
5115
+ }
5116
+ });
5117
+ Object.defineProperty(exports, 'AccordionProvider', {
5118
+ enumerable: true,
5119
+ get: function () {
5120
+ return react.AccordionProvider;
5121
+ }
5122
+ });
4904
5123
  Object.defineProperty(exports, 'AlertDialog', {
4905
5124
  enumerable: true,
4906
5125
  get: function () {
@@ -4943,6 +5162,24 @@ Object.defineProperty(exports, 'AlertDialogOverlay', {
4943
5162
  return react.ModalOverlay;
4944
5163
  }
4945
5164
  });
5165
+ Object.defineProperty(exports, 'Avatar', {
5166
+ enumerable: true,
5167
+ get: function () {
5168
+ return react.Avatar;
5169
+ }
5170
+ });
5171
+ Object.defineProperty(exports, 'AvatarBadge', {
5172
+ enumerable: true,
5173
+ get: function () {
5174
+ return react.AvatarBadge;
5175
+ }
5176
+ });
5177
+ Object.defineProperty(exports, 'AvatarGroup', {
5178
+ enumerable: true,
5179
+ get: function () {
5180
+ return react.AvatarGroup;
5181
+ }
5182
+ });
4946
5183
  Object.defineProperty(exports, 'Box', {
4947
5184
  enumerable: true,
4948
5185
  get: function () {
@@ -5051,6 +5288,12 @@ Object.defineProperty(exports, 'DrawerOverlay', {
5051
5288
  return react.ModalOverlay;
5052
5289
  }
5053
5290
  });
5291
+ Object.defineProperty(exports, 'Fade', {
5292
+ enumerable: true,
5293
+ get: function () {
5294
+ return react.Fade;
5295
+ }
5296
+ });
5054
5297
  Object.defineProperty(exports, 'Flex', {
5055
5298
  enumerable: true,
5056
5299
  get: function () {
@@ -5105,6 +5348,12 @@ Object.defineProperty(exports, 'Heading', {
5105
5348
  return react.Heading;
5106
5349
  }
5107
5350
  });
5351
+ Object.defineProperty(exports, 'Hide', {
5352
+ enumerable: true,
5353
+ get: function () {
5354
+ return react.Hide;
5355
+ }
5356
+ });
5108
5357
  Object.defineProperty(exports, 'Icon', {
5109
5358
  enumerable: true,
5110
5359
  get: function () {
@@ -5123,6 +5372,12 @@ Object.defineProperty(exports, 'Image', {
5123
5372
  return react.Image;
5124
5373
  }
5125
5374
  });
5375
+ Object.defineProperty(exports, 'Img', {
5376
+ enumerable: true,
5377
+ get: function () {
5378
+ return react.Img;
5379
+ }
5380
+ });
5126
5381
  Object.defineProperty(exports, 'InputElementLeft', {
5127
5382
  enumerable: true,
5128
5383
  get: function () {
@@ -5297,6 +5552,12 @@ Object.defineProperty(exports, 'ScaleFade', {
5297
5552
  return react.ScaleFade;
5298
5553
  }
5299
5554
  });
5555
+ Object.defineProperty(exports, 'Show', {
5556
+ enumerable: true,
5557
+ get: function () {
5558
+ return react.Show;
5559
+ }
5560
+ });
5300
5561
  Object.defineProperty(exports, 'SimpleGrid', {
5301
5562
  enumerable: true,
5302
5563
  get: function () {
@@ -5309,6 +5570,18 @@ Object.defineProperty(exports, 'Skeleton', {
5309
5570
  return react.Skeleton;
5310
5571
  }
5311
5572
  });
5573
+ Object.defineProperty(exports, 'Slide', {
5574
+ enumerable: true,
5575
+ get: function () {
5576
+ return react.Slide;
5577
+ }
5578
+ });
5579
+ Object.defineProperty(exports, 'SlideFade', {
5580
+ enumerable: true,
5581
+ get: function () {
5582
+ return react.SlideFade;
5583
+ }
5584
+ });
5312
5585
  Object.defineProperty(exports, 'Spacer', {
5313
5586
  enumerable: true,
5314
5587
  get: function () {
@@ -5321,12 +5594,78 @@ Object.defineProperty(exports, 'Stack', {
5321
5594
  return react.Stack;
5322
5595
  }
5323
5596
  });
5597
+ Object.defineProperty(exports, 'Step', {
5598
+ enumerable: true,
5599
+ get: function () {
5600
+ return react.Step;
5601
+ }
5602
+ });
5603
+ Object.defineProperty(exports, 'StepDescription', {
5604
+ enumerable: true,
5605
+ get: function () {
5606
+ return react.StepDescription;
5607
+ }
5608
+ });
5609
+ Object.defineProperty(exports, 'StepIcon', {
5610
+ enumerable: true,
5611
+ get: function () {
5612
+ return react.StepIcon;
5613
+ }
5614
+ });
5615
+ Object.defineProperty(exports, 'StepIndicator', {
5616
+ enumerable: true,
5617
+ get: function () {
5618
+ return react.StepIndicator;
5619
+ }
5620
+ });
5621
+ Object.defineProperty(exports, 'StepNumber', {
5622
+ enumerable: true,
5623
+ get: function () {
5624
+ return react.StepNumber;
5625
+ }
5626
+ });
5627
+ Object.defineProperty(exports, 'StepSeparator', {
5628
+ enumerable: true,
5629
+ get: function () {
5630
+ return react.StepSeparator;
5631
+ }
5632
+ });
5633
+ Object.defineProperty(exports, 'StepStatus', {
5634
+ enumerable: true,
5635
+ get: function () {
5636
+ return react.StepStatus;
5637
+ }
5638
+ });
5639
+ Object.defineProperty(exports, 'StepTitle', {
5640
+ enumerable: true,
5641
+ get: function () {
5642
+ return react.StepTitle;
5643
+ }
5644
+ });
5645
+ Object.defineProperty(exports, 'Stepper', {
5646
+ enumerable: true,
5647
+ get: function () {
5648
+ return react.Stepper;
5649
+ }
5650
+ });
5324
5651
  Object.defineProperty(exports, 'TabIndicator', {
5325
5652
  enumerable: true,
5326
5653
  get: function () {
5327
5654
  return react.TabIndicator;
5328
5655
  }
5329
5656
  });
5657
+ Object.defineProperty(exports, 'TabList', {
5658
+ enumerable: true,
5659
+ get: function () {
5660
+ return react.TabList;
5661
+ }
5662
+ });
5663
+ Object.defineProperty(exports, 'TabPanel', {
5664
+ enumerable: true,
5665
+ get: function () {
5666
+ return react.TabPanel;
5667
+ }
5668
+ });
5330
5669
  Object.defineProperty(exports, 'TabPanels', {
5331
5670
  enumerable: true,
5332
5671
  get: function () {
@@ -5405,6 +5744,18 @@ Object.defineProperty(exports, 'VStack', {
5405
5744
  return react.VStack;
5406
5745
  }
5407
5746
  });
5747
+ Object.defineProperty(exports, 'VisuallyHidden', {
5748
+ enumerable: true,
5749
+ get: function () {
5750
+ return react.VisuallyHidden;
5751
+ }
5752
+ });
5753
+ Object.defineProperty(exports, 'VisuallyHiddenInput', {
5754
+ enumerable: true,
5755
+ get: function () {
5756
+ return react.VisuallyHiddenInput;
5757
+ }
5758
+ });
5408
5759
  Object.defineProperty(exports, 'Wrap', {
5409
5760
  enumerable: true,
5410
5761
  get: function () {
@@ -5429,24 +5780,102 @@ Object.defineProperty(exports, 'forwardRef', {
5429
5780
  return react.forwardRef;
5430
5781
  }
5431
5782
  });
5783
+ Object.defineProperty(exports, 'useAccordion', {
5784
+ enumerable: true,
5785
+ get: function () {
5786
+ return react.useAccordion;
5787
+ }
5788
+ });
5789
+ Object.defineProperty(exports, 'useAccordionContext', {
5790
+ enumerable: true,
5791
+ get: function () {
5792
+ return react.useAccordionContext;
5793
+ }
5794
+ });
5795
+ Object.defineProperty(exports, 'useAccordionItem', {
5796
+ enumerable: true,
5797
+ get: function () {
5798
+ return react.useAccordionItem;
5799
+ }
5800
+ });
5801
+ Object.defineProperty(exports, 'useAccordionItemState', {
5802
+ enumerable: true,
5803
+ get: function () {
5804
+ return react.useAccordionItemState;
5805
+ }
5806
+ });
5807
+ Object.defineProperty(exports, 'useAccordionStyles', {
5808
+ enumerable: true,
5809
+ get: function () {
5810
+ return react.useAccordionStyles;
5811
+ }
5812
+ });
5432
5813
  Object.defineProperty(exports, 'useBoolean', {
5433
5814
  enumerable: true,
5434
5815
  get: function () {
5435
5816
  return react.useBoolean;
5436
5817
  }
5437
5818
  });
5819
+ Object.defineProperty(exports, 'useBreakpoint', {
5820
+ enumerable: true,
5821
+ get: function () {
5822
+ return react.useBreakpoint;
5823
+ }
5824
+ });
5825
+ Object.defineProperty(exports, 'useBreakpointValue', {
5826
+ enumerable: true,
5827
+ get: function () {
5828
+ return react.useBreakpointValue;
5829
+ }
5830
+ });
5831
+ Object.defineProperty(exports, 'useClipboard', {
5832
+ enumerable: true,
5833
+ get: function () {
5834
+ return react.useClipboard;
5835
+ }
5836
+ });
5438
5837
  Object.defineProperty(exports, 'useColorMode', {
5439
5838
  enumerable: true,
5440
5839
  get: function () {
5441
5840
  return react.useColorMode;
5442
5841
  }
5443
5842
  });
5843
+ Object.defineProperty(exports, 'useColorModePreference', {
5844
+ enumerable: true,
5845
+ get: function () {
5846
+ return react.useColorModePreference;
5847
+ }
5848
+ });
5444
5849
  Object.defineProperty(exports, 'useColorModeValue', {
5445
5850
  enumerable: true,
5446
5851
  get: function () {
5447
5852
  return react.useColorModeValue;
5448
5853
  }
5449
5854
  });
5855
+ Object.defineProperty(exports, 'useConst', {
5856
+ enumerable: true,
5857
+ get: function () {
5858
+ return react.useConst;
5859
+ }
5860
+ });
5861
+ Object.defineProperty(exports, 'useControllableProp', {
5862
+ enumerable: true,
5863
+ get: function () {
5864
+ return react.useControllableProp;
5865
+ }
5866
+ });
5867
+ Object.defineProperty(exports, 'useControllableState', {
5868
+ enumerable: true,
5869
+ get: function () {
5870
+ return react.useControllableState;
5871
+ }
5872
+ });
5873
+ Object.defineProperty(exports, 'useDimensions', {
5874
+ enumerable: true,
5875
+ get: function () {
5876
+ return react.useDimensions;
5877
+ }
5878
+ });
5450
5879
  Object.defineProperty(exports, 'useDisclosure', {
5451
5880
  enumerable: true,
5452
5881
  get: function () {
@@ -5459,6 +5888,24 @@ Object.defineProperty(exports, 'useDrawerContext', {
5459
5888
  return react.useDrawerContext;
5460
5889
  }
5461
5890
  });
5891
+ Object.defineProperty(exports, 'useImage', {
5892
+ enumerable: true,
5893
+ get: function () {
5894
+ return react.useImage;
5895
+ }
5896
+ });
5897
+ Object.defineProperty(exports, 'useMediaQuery', {
5898
+ enumerable: true,
5899
+ get: function () {
5900
+ return react.useMediaQuery;
5901
+ }
5902
+ });
5903
+ Object.defineProperty(exports, 'useMergeRefs', {
5904
+ enumerable: true,
5905
+ get: function () {
5906
+ return react.useMergeRefs;
5907
+ }
5908
+ });
5462
5909
  Object.defineProperty(exports, 'useModal', {
5463
5910
  enumerable: true,
5464
5911
  get: function () {
@@ -5477,6 +5924,30 @@ Object.defineProperty(exports, 'useModalStyles', {
5477
5924
  return react.useModalStyles;
5478
5925
  }
5479
5926
  });
5927
+ Object.defineProperty(exports, 'useOutsideClick', {
5928
+ enumerable: true,
5929
+ get: function () {
5930
+ return react.useOutsideClick;
5931
+ }
5932
+ });
5933
+ Object.defineProperty(exports, 'usePrefersReducedMotion', {
5934
+ enumerable: true,
5935
+ get: function () {
5936
+ return react.usePrefersReducedMotion;
5937
+ }
5938
+ });
5939
+ Object.defineProperty(exports, 'useQuery', {
5940
+ enumerable: true,
5941
+ get: function () {
5942
+ return react.useQuery;
5943
+ }
5944
+ });
5945
+ Object.defineProperty(exports, 'useSteps', {
5946
+ enumerable: true,
5947
+ get: function () {
5948
+ return react.useSteps;
5949
+ }
5950
+ });
5480
5951
  Object.defineProperty(exports, 'useTab', {
5481
5952
  enumerable: true,
5482
5953
  get: function () {
@@ -5543,18 +6014,62 @@ Object.defineProperty(exports, 'useTabsStyles', {
5543
6014
  return react.useTabsStyles;
5544
6015
  }
5545
6016
  });
6017
+ Object.defineProperty(exports, 'useTheme', {
6018
+ enumerable: true,
6019
+ get: function () {
6020
+ return react.useTheme;
6021
+ }
6022
+ });
5546
6023
  Object.defineProperty(exports, 'useToken', {
5547
6024
  enumerable: true,
5548
6025
  get: function () {
5549
6026
  return react.useToken;
5550
6027
  }
5551
6028
  });
6029
+ Object.defineProperty(exports, 'CheckboxIcon', {
6030
+ enumerable: true,
6031
+ get: function () {
6032
+ return checkbox.CheckboxIcon;
6033
+ }
6034
+ });
6035
+ Object.defineProperty(exports, 'useCheckbox', {
6036
+ enumerable: true,
6037
+ get: function () {
6038
+ return checkbox.useCheckbox;
6039
+ }
6040
+ });
6041
+ Object.defineProperty(exports, 'useCheckboxGroup', {
6042
+ enumerable: true,
6043
+ get: function () {
6044
+ return checkbox.useCheckboxGroup;
6045
+ }
6046
+ });
6047
+ Object.defineProperty(exports, 'useRadio', {
6048
+ enumerable: true,
6049
+ get: function () {
6050
+ return radio.useRadio;
6051
+ }
6052
+ });
6053
+ Object.defineProperty(exports, 'useRadioGroup', {
6054
+ enumerable: true,
6055
+ get: function () {
6056
+ return radio.useRadioGroup;
6057
+ }
6058
+ });
6059
+ Object.defineProperty(exports, 'useRadioGroupContext', {
6060
+ enumerable: true,
6061
+ get: function () {
6062
+ return radio.useRadioGroupContext;
6063
+ }
6064
+ });
6065
+ exports.AccordionIndicator = AccordionIndicator;
5552
6066
  exports.Alert = Alert;
5553
6067
  exports.AlertAction = AlertAction;
5554
6068
  exports.AlertClose = AlertClose;
5555
6069
  exports.AlertDescription = AlertDescription;
5556
6070
  exports.AlertIcon = AlertIcon;
5557
6071
  exports.AlertTitle = AlertTitle;
6072
+ exports.Anchor = Anchor;
5558
6073
  exports.Badge = Badge;
5559
6074
  exports.BreadCrumb = BreadCrumb;
5560
6075
  exports.Button = Button;
@@ -5562,9 +6077,11 @@ exports.Card = CardCustom;
5562
6077
  exports.Checkbox = CheckboxComponent;
5563
6078
  exports.CheckboxGroup = CheckboxGroupComponent;
5564
6079
  exports.Chips = Chips;
6080
+ exports.Counter = Counter;
5565
6081
  exports.DataTable = DataTable;
5566
6082
  exports.DatePickerMonth = DatePickerMonth;
5567
6083
  exports.Datepicker = Datepicker;
6084
+ exports.Dialog = Dialog;
5568
6085
  exports.Field = Field;
5569
6086
  exports.Header = Header;
5570
6087
  exports.InputAddonLeft = InputAddonLeft;
@@ -5583,8 +6100,8 @@ exports.PaginationDetail = PaginationDetail;
5583
6100
  exports.PaginationFilter = PaginationFilter;
5584
6101
  exports.Provider = Provider;
5585
6102
  exports.ProviderContext = ProviderContext;
5586
- exports.Radio = RadioComponent;
5587
- exports.RadioGroup = RadioGroupComponent;
6103
+ exports.Radio = Radio;
6104
+ exports.RadioGroup = RadioGroup;
5588
6105
  exports.Rating = Rating;
5589
6106
  exports.Select = Select;
5590
6107
  exports.SelectAsync = SelectAsync;
@@ -5592,8 +6109,6 @@ exports.SelectAsyncCreatable = SelectAsyncCreatable;
5592
6109
  exports.SelectCreatable = SelectCreatable;
5593
6110
  exports.Switch = Switch;
5594
6111
  exports.Tab = Tab;
5595
- exports.TabList = TabList;
5596
- exports.TabPanel = TabPanel;
5597
6112
  exports.TextareaField = TextareaField;
5598
6113
  exports.Uploader = Uploader;
5599
6114
  exports.getTheme = getTheme;