diginet-core-ui 1.4.45-beta.3 → 1.4.45-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/assets/images/menu/dhr/MHRM29N0006.svg +22 -0
  2. package/components/accordion/details.js +1 -1
  3. package/components/accordion/group.js +1 -1
  4. package/components/accordion/index.js +1 -1
  5. package/components/accordion/summary.js +1 -1
  6. package/components/alert/index.js +1 -1
  7. package/components/alert/notify.js +1 -1
  8. package/components/avatar/index.js +2 -2
  9. package/components/badge/index.js +1 -1
  10. package/components/breadcrumb/index.js +1 -1
  11. package/components/button/icon.js +1 -1
  12. package/components/button/index.js +1 -1
  13. package/components/button/more.js +2 -2
  14. package/components/button/ripple-effect.js +1 -1
  15. package/components/card/body.js +1 -1
  16. package/components/card/extra.js +1 -1
  17. package/components/card/footer.js +1 -1
  18. package/components/card/header.js +1 -1
  19. package/components/card/index.js +1 -1
  20. package/components/chart/Pie/Circle.js +1 -1
  21. package/components/chart/Pie/Sector.js +1 -1
  22. package/components/chart/Pie/index.js +1 -1
  23. package/components/chart/Pie-v2/Circle.js +1 -1
  24. package/components/chart/Pie-v2/Sector.js +1 -1
  25. package/components/chart/Pie-v2/index.js +1 -1
  26. package/components/chart/bar/Bar.js +1 -1
  27. package/components/chart/bar/index.js +1 -1
  28. package/components/chart/bar-v2/Bar.js +1 -1
  29. package/components/chart/bar-v2/index.js +1 -1
  30. package/components/chart/line/index.js +1 -1
  31. package/components/chart/line-v2/index.js +1 -1
  32. package/components/check-text/index.js +1 -1
  33. package/components/check-text/interview-confirmation.js +1 -1
  34. package/components/check-text/interview-status.js +1 -1
  35. package/components/chip/index.js +1 -1
  36. package/components/collapse/index.js +1 -1
  37. package/components/divider/index.js +1 -1
  38. package/components/form-control/attachment/index.js +1 -1
  39. package/components/form-control/calendar/index.js +1 -1
  40. package/components/form-control/calendar/range.js +1 -1
  41. package/components/form-control/checkbox/index.js +1 -1
  42. package/components/form-control/control/index.js +1 -1
  43. package/components/form-control/date-input/index.js +1 -1
  44. package/components/form-control/date-picker/index.js +1 -1
  45. package/components/form-control/date-range-picker/index.js +1 -1
  46. package/components/form-control/dropdown/index.js +1 -3
  47. package/components/form-control/dropdown-box/index.js +1 -1
  48. package/components/form-control/form-group/index.js +1 -1
  49. package/components/form-control/helper-text/index.js +1 -1
  50. package/components/form-control/input-base/UncontrolledInputBase.js +1 -1
  51. package/components/form-control/input-base/index.js +1 -1
  52. package/components/form-control/label/index.js +1 -1
  53. package/components/form-control/money-input/index.js +1 -1
  54. package/components/form-control/password-input/index.js +1 -1
  55. package/components/form-control/phone-input/index.js +1 -1
  56. package/components/form-control/radio/index.js +1 -1
  57. package/components/form-control/text-input/index.js +1 -1
  58. package/components/form-control/time-picker/index.js +1 -1
  59. package/components/form-control/time-picker/v2/index.js +1 -1
  60. package/components/form-control/toggle/index.js +1 -1
  61. package/components/form-view/input.js +1 -1
  62. package/components/grid/index.js +1 -1
  63. package/components/image/index.js +1 -1
  64. package/components/list/list-item-action.js +1 -1
  65. package/components/list/list-item-icon.js +1 -1
  66. package/components/list/list-item-text.js +1 -1
  67. package/components/list/list-item.js +1 -1
  68. package/components/list/list.js +1 -1
  69. package/components/list/sub-header.js +1 -1
  70. package/components/modal/body.js +1 -1
  71. package/components/modal/footer.js +1 -1
  72. package/components/modal/header.js +1 -1
  73. package/components/modal/index.js +1 -1
  74. package/components/modal/modal.js +1 -1
  75. package/components/others/option-wrapper/index.js +1 -1
  76. package/components/paging/page-info.js +1 -1
  77. package/components/paging/page-selector.js +1 -1
  78. package/components/paper/index.js +1 -1
  79. package/components/popover/body.js +1 -1
  80. package/components/popover/footer.js +1 -1
  81. package/components/popover/header.js +1 -1
  82. package/components/popover/index.js +1 -1
  83. package/components/popup/index.js +1 -1
  84. package/components/popup/v2/index.js +1 -1
  85. package/components/progress/circular.js +1 -1
  86. package/components/progress/linear.js +1 -1
  87. package/components/rating/index.js +1 -1
  88. package/components/skeleton/index.js +1 -1
  89. package/components/slider/slider-container.js +1 -1
  90. package/components/slider/slider-item.js +1 -1
  91. package/components/status/index.js +1 -1
  92. package/components/tab/tab-container.js +1 -1
  93. package/components/tab/tab-header.js +1 -1
  94. package/components/tab/tab-panel.js +1 -1
  95. package/components/tab/tab.js +1 -1
  96. package/components/tooltip/index.js +1 -1
  97. package/components/transfer/index.js +1 -1
  98. package/components/tree-view/index.js +1 -1
  99. package/components/typography/index.js +1 -1
  100. package/icons/effect.js +1 -1
  101. package/icons/menu/v2/index.js +1 -1
  102. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ <svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2067_341)">
3
+ <path d="M31.7002 15.1H24.8002V7.5C24.8002 6.7 24.2002 6.1 23.4002 6.1C22.6002 6.1 22.0002 6.7 22.0002 7.5V16.5C22.0002 17.3 22.6002 17.9 23.4002 17.9H31.7002C32.5002 17.9 33.1002 17.3 33.1002 16.5C33.1002 15.7 32.5002 15.1 31.7002 15.1Z" fill="#FF8C00"/>
4
+ <path d="M39.0002 15.6C39.0002 17.9 38.5002 20.1 37.6002 22.1C37.0002 21.3 36.2002 20.6 35.4002 20C35.9002 18.6 36.2002 17.1 36.2002 15.6C36.2002 8.5 30.4002 2.8 23.4002 2.8C16.3002 2.8 10.6002 8.5 10.6002 15.6C10.5002 15.6 10.5002 15.6 10.4002 15.6H10.3002C9.9002 15.6 9.5002 15.7 9.1002 16C8.8002 16.2 8.6002 16.5 8.5002 16.8H7.8002C7.8002 16.4 7.7002 16 7.7002 15.7C7.7002 11.5 9.3002 7.6 12.3002 4.6C15.2002 1.6 19.2002 0 23.3002 0C32.0002 0 39.0002 7 39.0002 15.6Z" fill="#111D5E"/>
5
+ <path d="M16.4 20.0001C16 20.0001 15.7 19.9001 15.5 19.7001C15.3 19.5001 15.3 19.3001 15.3 19.0001V17.6001C15.3 17.3001 15.4 17.1001 15.6 16.9001C15.8 16.7001 16 16.6001 16.3 16.6001H16.4C16.7 16.6001 16.9 16.7001 17.1 16.9001C17.3 17.1001 17.4 17.3001 17.4 17.6001V19.0001C17.4 19.2001 17.4 19.5001 17.2 19.7001C17 19.9001 16.7 20.0001 16.4 20.0001Z" fill="#2680EB"/>
6
+ <path d="M10.9 19.8001C10.7 19.9001 10.5 20.0001 10.3 20.0001H10.2C10 20.0001 9.9 20.0001 9.7 19.9001C9.4 19.7001 9.2 19.4001 9.2 19.0001V17.6001C9.2 17.3001 9.3 17.0001 9.6 16.8001C9.8 16.7001 10 16.6001 10.2 16.6001H10.3C10.6 16.6001 10.8 16.7001 11 16.9001C11.2 17.1001 11.3 17.4001 11.3 17.6001V19.0001C11.3 19.3001 11.2 19.6001 10.9 19.8001Z" fill="#2680EB"/>
7
+ <path d="M4.2 20.0001C3.8 20.0001 3.5 19.9001 3.3 19.7001C3.1 19.5001 3 19.3001 3 19.0001V17.6001C3 17.2001 3.2 16.9001 3.5 16.7001H3.6C3.7 16.7001 3.8 16.7001 3.9 16.7001H4.1C4.6 16.8001 5 17.2001 5 17.7001V19.0001C5 19.5 4.8 20.0001 4.2 20.0001Z" fill="#2680EB"/>
8
+ <path d="M18.3 17.9001V19.0001C18.3 20.1001 17.4 20.9001 16.4 20.9001H16.3C15.2 20.9001 14.4 20.0001 14.4 19.0001V17.8001H12.2V19.0001C12.2 20.1001 11.3 20.9001 10.3 21.0001H10.2C9.1 21.0001 8.3 20.1001 8.3 19.0001V17.8001H6.1V19.0001C6.1 20.1001 5.3 20.9001 4.2 20.9001H4.1C3 20.9001 2.2 20.0001 2.2 19.0001V17.9001C1.7 17.9001 0 18.0001 0 20.9001V35.9001C0 37.6001 1.4 39.0001 3.1 39.0001H17.4C19.1 39.0001 20.5 37.6001 20.5 36.0001C19.9 35.2001 19.4 34.4001 19 33.5001V35.6001C19 36.6001 18.2 37.4001 17.2 37.4001H3.3C2.3 37.4001 1.5 36.6001 1.5 35.6001V25.8001C1.5 25.1001 2 24.6001 2.6 24.6001H17.7C18.1 24.6001 18.4 24.8001 18.6 25.1001C19 24.0001 19.6 22.9001 20.4 22.0001V20.8001C20.5 18.1001 18.9 17.9001 18.3 17.9001Z" fill="#2680EB"/>
9
+ <path d="M6.3 30.4001H3.6C3.3 30.4001 3 30.2001 3 29.8001V27.1001C3 26.8001 3.2 26.5001 3.6 26.5001H6.3C6.6 26.5001 6.9 26.7001 6.9 27.1001V29.8001C6.8 30.2001 6.6 30.4001 6.3 30.4001Z" fill="#7BC0F9"/>
10
+ <path d="M11.6 30.4001H8.9C8.6 30.4001 8.3 30.2001 8.3 29.8001V27.1001C8.3 26.8001 8.5 26.5001 8.9 26.5001H11.6C11.9 26.5001 12.2 26.7001 12.2 27.1001V29.8001C12.2 30.2001 11.9 30.4001 11.6 30.4001Z" fill="#7BC0F9"/>
11
+ <path d="M16.9 30.4001H14.2C13.9 30.4001 13.6 30.2001 13.6 29.8001V27.1001C13.6 26.8001 13.8 26.5001 14.2 26.5001H16.9C17.2 26.5001 17.5 26.7001 17.5 27.1001V29.8001C17.5 30.2001 17.2 30.4001 16.9 30.4001Z" fill="#7BC0F9"/>
12
+ <path d="M6.3 35.4001H3.6C3.3 35.4001 3 35.2001 3 34.8001V32.1001C3 31.8001 3.2 31.5001 3.6 31.5001H6.3C6.6 31.5001 6.9 31.7001 6.9 32.1001V34.8001C6.8 35.2001 6.6 35.4001 6.3 35.4001Z" fill="#7BC0F9"/>
13
+ <path d="M11.6 35.4001H8.9C8.6 35.4001 8.3 35.2001 8.3 34.8001V32.1001C8.3 31.8001 8.5 31.5001 8.9 31.5001H11.6C11.9 31.5001 12.2 31.7001 12.2 32.1001V34.8001C12.2 35.2001 11.9 35.4001 11.6 35.4001Z" fill="#7BC0F9"/>
14
+ <path d="M16.9 35.4001H14.2C13.9 35.4001 13.6 35.2001 13.6 34.8001V32.1001C13.6 31.8001 13.8 31.5001 14.2 31.5001H16.9C17.2 31.5001 17.5 31.7001 17.5 32.1001V34.8001C17.5 35.2001 17.2 35.4001 16.9 35.4001Z" fill="#7BC0F9"/>
15
+ <path d="M29 19C23.5 19 19 23.5 19 29C19 34.5 23.5 39 29 39C34.5 39 39 34.5 39 29C39 23.5 34.5 19 29 19ZM29 21C30.8 21 32.5 21.6 33.9 22.7L22.7 33.9C21.6 32.5 21 30.8 21 29C21 24.6 24.6 21 29 21ZM29 37C27.2 37 25.5 36.4 24.1 35.3L35.3 24.1C36.4 25.5 37 27.2 37 29C37 33.4 33.4 37 29 37Z" fill="#FF4444"/>
16
+ </g>
17
+ <defs>
18
+ <clipPath id="clip0_2067_341">
19
+ <rect width="39" height="39" fill="white"/>
20
+ </clipPath>
21
+ </defs>
22
+ </svg>
@@ -7,7 +7,7 @@ import { boxBorder, overflowHidden, parseHeight, pointerEventsNone, positionRela
7
7
  import { useTheme } from "../../theme";
8
8
  import useThemeProps from "../../theme/utils/useThemeProps";
9
9
  import { classNames, getProp } from "../../utils";
10
- const AccordionDetails = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
10
+ const AccordionDetails = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
11
11
  if (!reference) reference = useRef(null);
12
12
  const theme = useTheme();
13
13
 
@@ -7,7 +7,7 @@ import { borderRadius, borderRadius4px } from "../../styles/general";
7
7
  import { useTheme } from "../../theme";
8
8
  import useThemeProps from "../../theme/utils/useThemeProps";
9
9
  import { classNames } from "../../utils";
10
- const AccordionGroup = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
10
+ const AccordionGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
11
11
  if (!reference) reference = useRef(null);
12
12
  const theme = useTheme();
13
13
 
@@ -45,7 +45,7 @@ const handleTransition = (timer, el, beginHeight, endHeight = null) => {
45
45
  el.style.height = endHeight;
46
46
  }, duration);
47
47
  };
48
- const Accordion = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
48
+ const Accordion = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
49
49
  var _ref$current;
50
50
  if (!reference) reference = useRef(null);
51
51
  const theme = useTheme();
@@ -9,7 +9,7 @@ import { useTheme } from "../../theme";
9
9
  import useThemeProps from "../../theme/utils/useThemeProps";
10
10
  import { classNames, getProp } from "../../utils";
11
11
  import AccordionContext from "./context";
12
- const AccordionSummary = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const AccordionSummary = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -15,7 +15,7 @@ const primaryTypoMap = new Map([['tiny', 'typography.heading5'], ['small', 'typo
15
15
  const iconSizeMap = new Map([['tiny', 16], ['small', 20], ['medium', 24]]);
16
16
  const linearProgressSizeMap = new Map([['tiny', 2], ['small', 3], ['medium', 4]]);
17
17
  const transitionTime = 300;
18
- const Alert = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
18
+ const Alert = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
19
19
  if (!reference) reference = useRef(null);
20
20
  const theme = useTheme();
21
21
  const {
@@ -27,7 +27,7 @@ const positionHorizontalMap = new Map([['left', css`
27
27
  `], ['right', css`
28
28
  right: 15px;
29
29
  `]]);
30
- const Notify = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
30
+ const Notify = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
31
31
  if (!reference) reference = useRef(null);
32
32
  const theme = useTheme();
33
33
 
@@ -22,7 +22,7 @@ const checkFileType = (type, matchType) => {
22
22
  return new RegExp(matchType).test(type);
23
23
  }
24
24
  };
25
- const Avatar = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
25
+ const Avatar = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
26
26
  if (!reference) reference = useRef(null);
27
27
  const theme = useTheme();
28
28
 
@@ -108,7 +108,7 @@ const Avatar = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) =
108
108
  !!onRemove && onRemove();
109
109
  };
110
110
  const renderData = () => {
111
- if ( /*#__PURE__*/isValidElement(data)) return data;
111
+ if (/*#__PURE__*/isValidElement(data)) return data;
112
112
  const info = Object.keys(data || {});
113
113
  if (info !== null && info !== void 0 && info.length) {
114
114
  return info.map((key, index) => {
@@ -57,7 +57,7 @@ const calDotPos = (anchorOrigin, contentDirection, dotSize, hasContent, size) =>
57
57
  }
58
58
  }
59
59
  };
60
- const Badge = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
60
+ const Badge = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
61
61
  if (!reference) reference = useRef(null);
62
62
  const theme = useTheme();
63
63
  const {
@@ -14,7 +14,7 @@ import { classNames, getProp } from "../../utils";
14
14
  const sizeIconMap = new Map([['tiny', 16], ['small', 18], ['medium', 20]]);
15
15
  const sizeTypographyPMap = new Map([['tiny', 'p3'], ['small', 'p2'], ['medium', 'p1']]);
16
16
  const sizeTypographyHMap = new Map([['tiny', 'h5'], ['small', 'h4'], ['medium', 'h3']]);
17
- const Breadcrumb = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
17
+ const Breadcrumb = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
18
18
  if (!reference) reference = useRef(null);
19
19
  const theme = useTheme();
20
20
  const {
@@ -48,7 +48,7 @@ const IconLoadingView = iconSize => {
48
48
  width: parseInt(iconSize)
49
49
  });
50
50
  };
51
- const ButtonIcon = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
51
+ const ButtonIcon = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
52
52
  var _sizeMap$get, _sizeMap$get2;
53
53
  if (!reference) reference = useRef(null);
54
54
  const theme = useTheme();
@@ -55,7 +55,7 @@ const typographySizeMap = new Map([['tiny', 'h5'], ['small', 'h5'], ['medium', '
55
55
  const minHeightSizeMap = new Map([['tiny', '24px'], ['small', '32px'], ['medium', '40px'], ['large', '48px'], ['giant', '56px']]);
56
56
  const minHeightSizeLinkMap = new Map([['tiny', '16px'], ['small', '20px'], ['medium', '24px'], ['large', '32px'], ['giant', '40px']]);
57
57
  const alphaLoading = 0.2;
58
- const Button = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
58
+ const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
59
59
  var _iconSizeMap;
60
60
  if (!reference) reference = useRef(null);
61
61
  const theme = useTheme();
@@ -9,7 +9,7 @@ import { bgColor, borderNone, cursorPointer, displayFlex, flexCol, flexRow, item
9
9
  import { useTheme } from "../../theme";
10
10
  import useThemeProps from "../../theme/utils/useThemeProps";
11
11
  import { classNames, getProp } from "../../utils";
12
- const ButtonMore = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const ButtonMore = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
 
@@ -56,7 +56,7 @@ const ButtonMore = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, referenc
56
56
  });
57
57
  const renderOptions = () => {
58
58
  return options.map((item, idx) => {
59
- if (item !== null && item !== void 0 && item.hidden) return null;else if ( /*#__PURE__*/isValidElement(item)) return item;else {
59
+ if (item !== null && item !== void 0 && item.hidden) return null;else if (/*#__PURE__*/isValidElement(item)) return item;else {
60
60
  const icon = item === null || item === void 0 ? void 0 : item.icon;
61
61
  const label = item === null || item === void 0 ? void 0 : item.label;
62
62
  const action = () => {
@@ -13,7 +13,7 @@ const useDebouncedRippleCleanUp = (rippleCount, duration, cleanUpFunction) => {
13
13
  return undefined;
14
14
  }, [rippleCount, duration, cleanUpFunction]);
15
15
  };
16
- const Ripple = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
16
+ const Ripple = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
17
17
  duration = 850,
18
18
  color = 'system/standard',
19
19
  circular = false,
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
7
7
  import useThemeProps from "../../theme/utils/useThemeProps";
8
8
  import { classNames, refType as ref } from "../../utils";
9
- const CardBody = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
9
+ const CardBody = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
10
10
  if (!reference) reference = useRef(null);
11
11
 
12
12
  // props priority: `inProps` > `themeDefaultProps`
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
7
7
  import useThemeProps from "../../theme/utils/useThemeProps";
8
8
  import { classNames, refType as ref } from "../../utils";
9
- const CardExtra = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
9
+ const CardExtra = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
10
10
  if (!reference) reference = useRef(null);
11
11
 
12
12
  // props priority: `inProps` > `themeDefaultProps`
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
7
7
  import useThemeProps from "../../theme/utils/useThemeProps";
8
8
  import { classNames, refType as ref } from "../../utils";
9
- const CardFooter = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
9
+ const CardFooter = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
10
10
  if (!reference) reference = useRef(null);
11
11
 
12
12
  // props priority: `inProps` > `themeDefaultProps`
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
7
7
  import { forwardRef, memo, useImperativeHandle, useMemo, useRef } from 'react';
8
8
  import useThemeProps from "../../theme/utils/useThemeProps";
9
9
  import { classNames, refType as ref } from "../../utils";
10
- const CardHeader = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
10
+ const CardHeader = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
11
11
  if (!reference) reference = useRef(null);
12
12
 
13
13
  // props priority: `inProps` > `themeDefaultProps`
@@ -12,7 +12,7 @@ import { CardBody } from "./body";
12
12
  import { CardFooter } from "./footer";
13
13
  import CardHeader from "./header";
14
14
  import useThemeProps from "../../theme/utils/useThemeProps";
15
- const Card = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
15
+ const Card = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
16
16
  if (!reference) reference = useRef(null);
17
17
  const theme = useTheme();
18
18
  const {
@@ -3,7 +3,7 @@
3
3
  import PropTypes from 'prop-types';
4
4
  import { memo, forwardRef } from 'react';
5
5
  import { jsx } from '@emotion/core';
6
- const Circle = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
6
+ const Circle = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
7
7
  center,
8
8
  color,
9
9
  onMouseEnter,
@@ -4,7 +4,7 @@ import { useRef, memo, forwardRef } from 'react';
4
4
  import PropTypes from "prop-types";
5
5
  import ReactDOM from 'react-dom';
6
6
  import { jsx, css } from '@emotion/core';
7
- const Sector = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
7
+ const Sector = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
8
8
  fill,
9
9
  strokeColor,
10
10
  strokeLinejoin,
@@ -7,7 +7,7 @@ import { jsx, css } from '@emotion/core';
7
7
  import Circle from "./Circle";
8
8
  import Sectors from "./Sectors";
9
9
  import Sector from "./Sector";
10
- const PieChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
+ const PieChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
11
11
  expandOnHover,
12
12
  renderSelectedItem,
13
13
  type,
@@ -3,7 +3,7 @@
3
3
  import PropTypes from 'prop-types';
4
4
  import { memo, forwardRef } from 'react';
5
5
  import { jsx } from '@emotion/core';
6
- const Circle = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
6
+ const Circle = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
7
7
  center,
8
8
  color,
9
9
  onMouseEnter,
@@ -3,7 +3,7 @@
3
3
  import { useRef, memo, forwardRef } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { jsx, css } from '@emotion/core';
6
- const Sector = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
6
+ const Sector = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
7
7
  fill,
8
8
  strokeColor,
9
9
  strokeLinejoin,
@@ -9,7 +9,7 @@ import { typography } from "../../../styles/typography";
9
9
  import Circle from "./Circle";
10
10
  import Sectors from "./Sectors";
11
11
  import Sector from "./Sector";
12
- const PieChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
12
+ const PieChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
13
13
  expandOnHover,
14
14
  renderSelectedItem,
15
15
  // type,
@@ -5,7 +5,7 @@ import { css, jsx } from '@emotion/core';
5
5
  import PropTypes from 'prop-types';
6
6
  import Labels from "./Labels";
7
7
  import { typography } from "../../../styles/typography";
8
- const Bars = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
8
+ const Bars = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
9
9
  // barsOpacity,
10
10
  barsMargin,
11
11
  barsColor,
@@ -9,7 +9,7 @@ import Labels from "./Labels";
9
9
  import Grid from "./Grid";
10
10
  import Bars from "./Bar";
11
11
  import { randomString } from "../../../utils";
12
- const BarChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
12
+ const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
13
13
  labelsVisible,
14
14
  labelsCharacterWidth,
15
15
  labelsCountY,
@@ -6,7 +6,7 @@ import PropTypes from 'prop-types';
6
6
  import Labels from "./Labels";
7
7
  import { randomString } from "../../../utils";
8
8
  import { typography } from "../../../styles/typography";
9
- const Bars = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
9
+ const Bars = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
10
10
  // barsOpacity,
11
11
  barsMargin,
12
12
  barsColor,
@@ -9,7 +9,7 @@ import Labels from "./Labels";
9
9
  import Grid from "./Grid";
10
10
  import Bars from "./Bar";
11
11
  import { randomString } from "../../../utils";
12
- const BarChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
12
+ const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
13
13
  labelsVisible,
14
14
  labelsCharacterWidth,
15
15
  labelsCountY,
@@ -10,7 +10,7 @@ import Points from "./Point";
10
10
  // import Title from './Title';
11
11
  import Path from "./Path";
12
12
  import { randomString } from "../../../utils";
13
- const LineChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
13
+ const LineChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
14
14
  labelsVisible,
15
15
  labelsCharacterWidth,
16
16
  labelsCountY,
@@ -10,7 +10,7 @@ import Points from "./Point";
10
10
  // import Title from './Title';
11
11
  import Path from "./Path";
12
12
  import { randomString } from "../../../utils";
13
- const BarChart = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
13
+ const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
14
14
  labelsVisible,
15
15
  labelsCharacterWidth,
16
16
  labelsCountY,
@@ -13,7 +13,7 @@ const colorNum = {
13
13
  option2: 2,
14
14
  option3: 3
15
15
  };
16
- const InterviewStatus = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
16
+ const InterviewStatus = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
17
17
  disabled,
18
18
  readOnly,
19
19
  chosen,
@@ -12,7 +12,7 @@ const colorNum = {
12
12
  Maybe: 1,
13
13
  No: 2
14
14
  };
15
- const InterviewConfirmation = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
15
+ const InterviewConfirmation = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
16
16
  disabled,
17
17
  readOnly,
18
18
  chosen,
@@ -12,7 +12,7 @@ const colorNum = {
12
12
  Started: 1,
13
13
  Cancel: 2
14
14
  };
15
- const InterviewStatus = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
15
+ const InterviewStatus = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
16
16
  disabled,
17
17
  readOnly,
18
18
  chosen,
@@ -15,7 +15,7 @@ const iconSizeMap = new Map([['small', `16px`], ['medium', `20px`], ['large', `2
15
15
  const typographySizeMap = new Map([['small', 'p3'], ['medium', 'p2'], ['large', 'p1']]);
16
16
  const paddingSizeMap = new Map([['small', `0px 6px`], ['medium', `0px 8px`], ['large', `0px 10px`]]);
17
17
  const minHeightSizeMap = new Map([['small', `20px`], ['medium', `24px`], ['large', `28px`]]);
18
- const Chip = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
18
+ const Chip = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
19
19
  if (!reference) reference = useRef(null);
20
20
  const theme = useTheme();
21
21
  const {
@@ -4,7 +4,7 @@ import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import { forwardRef, memo, useEffect, useImperativeHandle, useMemo, useRef } from 'react';
6
6
  import { displayBlock, parseWidthHeight, positionRelative } from "../../styles/general";
7
- const Collapse = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
7
+ const Collapse = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
8
8
  children,
9
9
  className,
10
10
  id,
@@ -8,7 +8,7 @@ import { bgColor, borderNone, flexShrink0, parseWidthHeight } from "../../styles
8
8
  import { useTheme } from "../../theme";
9
9
  import useThemeProps from "../../theme/utils/useThemeProps";
10
10
  import { classNames, getProp } from "../../utils";
11
- const Divider = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
11
+ const Divider = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
12
12
  if (!reference) reference = useRef(null);
13
13
  const theme = useTheme();
14
14
  const {
@@ -127,7 +127,7 @@ const handleDownload = (url, name, onDownload) => {
127
127
  const divideSizeMap = new Map([['B', 1], ['KB', 1024], ['MB', 1024 ** 2], ['GB', 1024 ** 3], ['TB', 1024 ** 4]]);
128
128
  const viewTypeIconMap = new Map([['detail', 'ListView'], ['icon', 'IconView'], ['picture', 'ModuleView']]);
129
129
  const viewTypeSwitchMap = new Map([['detail', 'icon'], ['icon', 'picture'], ['picture', 'detail']]);
130
- const Attachment = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
130
+ const Attachment = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
131
131
  if (!reference) reference = useRef(null);
132
132
  const theme = useTheme();
133
133
  const {
@@ -7,7 +7,7 @@ import { useTheme } from "../../../theme";
7
7
  import useThemeProps from "../../../theme/utils/useThemeProps";
8
8
  import { classNames, date as moment } from "../../../utils";
9
9
  import { generateCalendarCSS, isAfterLimit, isBeforeLimit, isValidDate, onUpdateCalendar, renderHeader, renderNavigator } from "./function";
10
- const Calendar = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
10
+ const Calendar = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
11
11
  var _zoomLevel$get, _zoomLevel$get2;
12
12
  if (!reference) reference = useRef(null);
13
13
  const theme = useTheme();
@@ -9,7 +9,7 @@ import { useTheme } from "../../../theme";
9
9
  import useThemeProps from "../../../theme/utils/useThemeProps";
10
10
  import { getProp } from "../../../utils";
11
11
  import { generateCalendarCSS, isValidDate, onUpdateCalendar, renderHeader, renderNavigator } from "./function";
12
- const CalendarRange = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const CalendarRange = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -9,7 +9,7 @@ import { useTheme } from "../../../theme";
9
9
  import useThemeProps from "../../../theme/utils/useThemeProps";
10
10
  import { classNames, getProp, randomString, refType as ref } from "../../../utils";
11
11
  const padding = 0.75;
12
- const Checkbox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const Checkbox = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
 
15
15
  // props priority: `inProps` > `themeDefaultProps`
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
7
7
  import { displayBlock, pointerEventsNone, positionRelative, textColor, userSelectNone } from "../../../styles/general";
8
8
  import { getProp } from "../../../utils";
9
9
  import { useTheme } from "../../../theme";
10
- const Control = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
10
+ const Control = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
11
11
  children,
12
12
  className,
13
13
  disabled,
@@ -14,7 +14,7 @@ import useDateInputState from "./useDateInputState";
14
14
  import useIsFocused from "./useIsFocused";
15
15
  import useKeyboardInputEvent from "./useKeyboardInputEvent";
16
16
  import { getInputSelectedState, isFieldFullValue, useEventCallback, useInputSelection, validateDateTime } from "./utils";
17
- const DateInput = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
17
+ const DateInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
18
18
  if (!reference) reference = useRef(null);
19
19
 
20
20
  // props priority: `inProps` > `themeDefaultProps`
@@ -28,7 +28,7 @@ const parseValueToDate = valueProp => {
28
28
  if (valueProp === '') return null;
29
29
  return isValidDate(valueProp) ? new Date(valueProp) : valueProp;
30
30
  };
31
- const DatePicker = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
31
+ const DatePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
32
32
  var _ref, _pickerReturnFormat$g, _ipRef$current, _ipRef$current2;
33
33
  if (!reference) reference = useRef(null);
34
34
  const theme = useTheme();
@@ -65,7 +65,7 @@ const isAfter = (max, time) => {
65
65
  const parseDate = day => {
66
66
  return Date.parse(new Date(day));
67
67
  };
68
- const DateRangePicker = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
68
+ const DateRangePicker = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
69
69
  // props priority: `inProps` > `themeDefaultProps`
70
70
  const props = useThemeProps({
71
71
  props: inProps,
@@ -47,7 +47,7 @@ const uniqBy = (arr, iteratee) => {
47
47
  return true;
48
48
  });
49
49
  };
50
- const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
50
+ const Dropdown = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
51
51
  if (!reference) reference = useRef(null);
52
52
  const theme = useTheme();
53
53
  const {
@@ -1209,7 +1209,6 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference)
1209
1209
  }, multiple && valueMulti !== null && valueMulti !== void 0 && valueMulti.length ? jsx("div", {
1210
1210
  ...inputProps,
1211
1211
  style: {
1212
- width: 'fit-content',
1213
1212
  ...inputStyle
1214
1213
  },
1215
1214
  ref: inputRef,
@@ -1231,7 +1230,6 @@ const Dropdown = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference)
1231
1230
  }, renderOverflowPopover(valueMultiOverflow))) : typeof renderSelectedItem === 'function' || iconExpr && iconExpr !== 'none' ? jsx("div", {
1232
1231
  ...inputProps,
1233
1232
  style: {
1234
- width: 'fit-content',
1235
1233
  ...inputStyle
1236
1234
  },
1237
1235
  ref: inputRef,
@@ -10,7 +10,7 @@ import useThemeProps from "../../../theme/utils/useThemeProps";
10
10
  import { classNames, getProp } from "../../../utils";
11
11
  const regexBetween = /[^{}]+(?=})/g;
12
12
  const regexInclude = /{|}/g;
13
- const DropdownBox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
13
+ const DropdownBox = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
14
14
  if (!reference) reference = useRef(null);
15
15
  const theme = useTheme();
16
16
  const {
@@ -4,7 +4,7 @@ import { css, jsx } from '@emotion/core';
4
4
  import PropTypes from 'prop-types';
5
5
  import { Children, forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';
6
6
  import { useTheme } from "../../../theme";
7
- const FormGroup = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
7
+ const FormGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
8
8
  fullWidth,
9
9
  oneHelperText,
10
10
  marginRight,
@@ -9,7 +9,7 @@ import { useTheme } from "../../../theme";
9
9
  import useThemeProps from "../../../theme/utils/useThemeProps";
10
10
  import { classNames, getProp } from "../../../utils";
11
11
  const colorMap = new Map([['default', 'semantic/danger'], ['success', 'semantic/success'], ['warning', 'semantic/warning'], ['danger', 'semantic/danger'], ['info', 'semantic/info']]);
12
- const HelperText = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const HelperText = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -9,7 +9,7 @@ import { bgColor, border, borderBottom, borderBottomColor, borderColor, borderNo
9
9
  import { useTheme } from "../../../theme";
10
10
  import useThemeProps from "../../../theme/utils/useThemeProps";
11
11
  import { classNames, refType as ref, getProp } from "../../../utils";
12
- const UncontrolledInputBase = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const UncontrolledInputBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -9,7 +9,7 @@ import { bgColor, bgTransparent, border, borderBottom, borderBottomColor, border
9
9
  import { useTheme } from "../../../theme";
10
10
  import useThemeProps from "../../../theme/utils/useThemeProps";
11
11
  import { classNames, refType as ref, useInput, getProp } from "../../../utils";
12
- const InputBase = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const InputBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -9,7 +9,7 @@ import { flexRow, parseMinHeight, typographyTypes } from "../../../styles/genera
9
9
  import { useTheme } from "../../../theme";
10
10
  import useThemeProps from "../../../theme/utils/useThemeProps";
11
11
  import { classNames, getProp } from "../../../utils";
12
- const Label = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
12
+ const Label = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
13
13
  if (!reference) reference = useRef(null);
14
14
  const theme = useTheme();
15
15
  const {
@@ -72,7 +72,7 @@ const num2WordsEn = n => {
72
72
  if (n === '0') return 'zero';
73
73
  return comp(chunk(3))(reverse)(arr(n)).map(makeGroup).map(thousand).filter(comp(not)(isEmpty)).reverse().join(' ');
74
74
  };
75
- const MoneyInput = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
75
+ const MoneyInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
76
76
  if (!reference) reference = useRef(null);
77
77
 
78
78
  // props priority: `inProps` > `themeDefaultProps`
@@ -8,7 +8,7 @@ import { cursorNotAllowed, displayBlock, positionRelative } from "../../../style
8
8
  import { useTheme } from "../../../theme";
9
9
  import useThemeProps from "../../../theme/utils/useThemeProps";
10
10
  import { classNames, onValidate, refType as ref } from "../../../utils";
11
- const PasswordInput = /*#__PURE__*/memo( /*#__PURE__*/forwardRef((inProps, reference) => {
11
+ const PasswordInput = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((inProps, reference) => {
12
12
  if (!reference) reference = useRef(null);
13
13
  const theme = useTheme();
14
14