@true-engineering/true-react-common-ui-kit 2.2.0 → 2.3.0

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 (244) hide show
  1. package/LICENSE +201 -201
  2. package/README.md +16 -0
  3. package/dist/components/Flag/augment.d.ts +1 -1
  4. package/dist/components/Icon/complexIcons/augment.d.ts +1 -1
  5. package/dist/components/Modal/Modal.d.ts +3 -3
  6. package/dist/true-react-common-ui-kit.js +151 -97
  7. package/dist/true-react-common-ui-kit.js.map +1 -1
  8. package/dist/true-react-common-ui-kit.umd.cjs +151 -97
  9. package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
  10. package/dist/vite-env.d.ts +1 -1
  11. package/package.json +93 -93
  12. package/src/components/AccountInfo/AccountInfo.stories.tsx +32 -32
  13. package/src/components/AccountInfo/AccountInfo.styles.ts +55 -55
  14. package/src/components/AccountInfo/AccountInfo.tsx +77 -77
  15. package/src/components/AccountInfo/index.ts +2 -2
  16. package/src/components/AddButton/AddButton.stories.tsx +21 -21
  17. package/src/components/AddButton/AddButton.styles.ts +34 -34
  18. package/src/components/AddButton/AddButton.tsx +48 -48
  19. package/src/components/AddButton/index.ts +2 -2
  20. package/src/components/Button/Button.stories.tsx +52 -52
  21. package/src/components/Button/Button.styles.ts +196 -196
  22. package/src/components/Button/Button.tsx +167 -167
  23. package/src/components/Button/index.ts +2 -2
  24. package/src/components/Checkbox/Checkbox.stories.tsx +32 -32
  25. package/src/components/Checkbox/Checkbox.styles.ts +62 -62
  26. package/src/components/Checkbox/Checkbox.tsx +105 -105
  27. package/src/components/Checkbox/index.ts +2 -2
  28. package/src/components/CloseButton/CloseButton.styles.ts +34 -34
  29. package/src/components/CloseButton/CloseButton.tsx +35 -35
  30. package/src/components/CloseButton/index.ts +2 -2
  31. package/src/components/Colors/Colors.stories.tsx +7 -7
  32. package/src/components/Colors/Colors.styles.ts +38 -38
  33. package/src/components/Colors/Colors.tsx +26 -26
  34. package/src/components/Colors/index.ts +2 -2
  35. package/src/components/CssBaseline/CssBaseline.styles.ts +15 -15
  36. package/src/components/CssBaseline/CssBaseline.tsx +15 -15
  37. package/src/components/CssBaseline/index.ts +2 -2
  38. package/src/components/DateInput/DateInput.stories.tsx +61 -61
  39. package/src/components/DateInput/DateInput.styles.ts +14 -14
  40. package/src/components/DateInput/DateInput.tsx +82 -82
  41. package/src/components/DateInput/constants.ts +2 -2
  42. package/src/components/DateInput/index.ts +3 -3
  43. package/src/components/DatePicker/DatePicker.stories.tsx +87 -87
  44. package/src/components/DatePicker/DatePicker.styles.ts +44 -44
  45. package/src/components/DatePicker/DatePicker.tsx +327 -327
  46. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.styles.ts +84 -84
  47. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.tsx +79 -79
  48. package/src/components/DatePicker/DatePickerHeader/index.ts +2 -2
  49. package/src/components/DatePicker/constants.ts +1 -1
  50. package/src/components/DatePicker/helpers.ts +23 -23
  51. package/src/components/DatePicker/index.ts +3 -3
  52. package/src/components/DatePicker/types.ts +45 -45
  53. package/src/components/Description/Description.stories.tsx +27 -27
  54. package/src/components/Description/Description.styles.ts +31 -31
  55. package/src/components/Description/Description.tsx +60 -60
  56. package/src/components/Description/index.ts +2 -2
  57. package/src/components/FiltersPane/FilterInterval/FilterInterval.styles.ts +64 -64
  58. package/src/components/FiltersPane/FilterInterval/FilterInterval.tsx +143 -143
  59. package/src/components/FiltersPane/FilterInterval/index.ts +1 -1
  60. package/src/components/FiltersPane/FilterMultiSelect/FilterMultiSelect.tsx +10 -10
  61. package/src/components/FiltersPane/FilterMultiSelect/index.ts +1 -1
  62. package/src/components/FiltersPane/FilterSelect/FilterSelect.styles.ts +143 -143
  63. package/src/components/FiltersPane/FilterSelect/FilterSelect.tsx +348 -348
  64. package/src/components/FiltersPane/FilterSelect/index.ts +1 -1
  65. package/src/components/FiltersPane/FilterSelect/locales.ts +37 -37
  66. package/src/components/FiltersPane/FilterValueView/FilterValueView.styles.tsx +15 -15
  67. package/src/components/FiltersPane/FilterValueView/FilterValueView.tsx +166 -166
  68. package/src/components/FiltersPane/FilterValueView/index.tsx +1 -1
  69. package/src/components/FiltersPane/FilterWithDates/FilterWithDates.styles.ts +60 -60
  70. package/src/components/FiltersPane/FilterWithDates/FilterWithDates.tsx +184 -184
  71. package/src/components/FiltersPane/FilterWithDates/index.ts +1 -1
  72. package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.styles.ts +17 -17
  73. package/src/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.tsx +198 -198
  74. package/src/components/FiltersPane/FilterWithPeriod/index.ts +1 -1
  75. package/src/components/FiltersPane/FilterWrapper/FilterWrapper.styles.ts +110 -110
  76. package/src/components/FiltersPane/FilterWrapper/FilterWrapper.tsx +346 -346
  77. package/src/components/FiltersPane/FilterWrapper/index.ts +1 -1
  78. package/src/components/FiltersPane/FiltersPane.stories.tsx +295 -295
  79. package/src/components/FiltersPane/FiltersPane.styles.ts +71 -71
  80. package/src/components/FiltersPane/FiltersPane.tsx +151 -151
  81. package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.styles.ts +109 -109
  82. package/src/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.tsx +155 -155
  83. package/src/components/FiltersPane/FiltersPaneSearch/index.ts +1 -1
  84. package/src/components/FiltersPane/index.ts +20 -20
  85. package/src/components/FiltersPane/locales.ts +107 -107
  86. package/src/components/FiltersPane/types.ts +112 -112
  87. package/src/components/Flag/Flag.stories.tsx +29 -29
  88. package/src/components/Flag/Flag.styles.ts +18 -18
  89. package/src/components/Flag/Flag.tsx +27 -27
  90. package/src/components/Flag/augment.d.ts +1 -1
  91. package/src/components/Flag/index.ts +2 -2
  92. package/src/components/FlexibleTable/FlexibleTable.stories.tsx +84 -84
  93. package/src/components/FlexibleTable/FlexibleTable.styles.ts +131 -131
  94. package/src/components/FlexibleTable/FlexibleTable.tsx +205 -205
  95. package/src/components/FlexibleTable/TableRow.tsx +152 -152
  96. package/src/components/FlexibleTable/TableValue.tsx +75 -75
  97. package/src/components/FlexibleTable/fixture-test.ts +254 -254
  98. package/src/components/FlexibleTable/index.ts +3 -3
  99. package/src/components/FlexibleTable/types.ts +52 -52
  100. package/src/components/Icon/ComplexIconBoilerplate.tsx +17 -17
  101. package/src/components/Icon/Icon.stories.tsx +85 -85
  102. package/src/components/Icon/Icon.styles.ts +10 -10
  103. package/src/components/Icon/Icon.tsx +32 -32
  104. package/src/components/Icon/IconBoilerplate.tsx +42 -42
  105. package/src/components/Icon/complexIcons/augment.d.ts +1 -1
  106. package/src/components/Icon/complexIcons/avatarGreen.svg +57 -57
  107. package/src/components/Icon/complexIcons/icons.ts +7 -7
  108. package/src/components/Icon/complexIcons/index.ts +1 -1
  109. package/src/components/Icon/icons/icons.ts +838 -838
  110. package/src/components/Icon/icons/index.ts +1 -1
  111. package/src/components/Icon/index.ts +4 -4
  112. package/src/components/IncrementInput/ChangeButton.tsx +33 -33
  113. package/src/components/IncrementInput/IncrementInput.stories.tsx +31 -31
  114. package/src/components/IncrementInput/IncrementInput.styles.ts +77 -77
  115. package/src/components/IncrementInput/IncrementInput.tsx +80 -80
  116. package/src/components/IncrementInput/index.ts +2 -2
  117. package/src/components/Input/Input.stories.tsx +86 -86
  118. package/src/components/Input/Input.styles.ts +307 -307
  119. package/src/components/Input/Input.tsx +311 -311
  120. package/src/components/Input/index.ts +2 -2
  121. package/src/components/List/List.stories.tsx +62 -62
  122. package/src/components/List/List.styles.ts +52 -52
  123. package/src/components/List/List.tsx +64 -64
  124. package/src/components/List/index.ts +2 -2
  125. package/src/components/Modal/Modal.stories.tsx +105 -105
  126. package/src/components/Modal/Modal.styles.ts +305 -305
  127. package/src/components/Modal/Modal.tsx +200 -186
  128. package/src/components/Modal/index.ts +2 -2
  129. package/src/components/MoreMenu/MoreMenu.stories.tsx +46 -46
  130. package/src/components/MoreMenu/MoreMenu.styles.ts +70 -70
  131. package/src/components/MoreMenu/MoreMenu.tsx +90 -90
  132. package/src/components/MoreMenu/index.ts +2 -2
  133. package/src/components/MultiSelect/MultiSelect.stories.tsx +46 -46
  134. package/src/components/MultiSelect/MultiSelect.styles.ts +55 -55
  135. package/src/components/MultiSelect/MultiSelect.tsx +89 -89
  136. package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.styles.ts +73 -73
  137. package/src/components/MultiSelect/MultiSelectInput/MultiSelectInput.tsx +51 -51
  138. package/src/components/MultiSelect/MultiSelectInput/index.ts +1 -1
  139. package/src/components/MultiSelect/index.ts +3 -3
  140. package/src/components/MultiSelectList/MultiSelectList.styles.ts +124 -124
  141. package/src/components/MultiSelectList/MultiSelectList.tsx +451 -451
  142. package/src/components/MultiSelectList/index.ts +2 -2
  143. package/src/components/MultiSelectList/locales.ts +37 -37
  144. package/src/components/Notification/Notification.stories.tsx +46 -46
  145. package/src/components/Notification/Notification.styles.ts +50 -50
  146. package/src/components/Notification/Notification.tsx +79 -79
  147. package/src/components/Notification/index.ts +2 -2
  148. package/src/components/NumberInput/NumberInput.stories.tsx +35 -35
  149. package/src/components/NumberInput/NumberInput.tsx +133 -133
  150. package/src/components/NumberInput/helpers.ts +86 -86
  151. package/src/components/NumberInput/index.ts +1 -1
  152. package/src/components/PhoneInput/PhoneInput.stories.tsx +70 -70
  153. package/src/components/PhoneInput/PhoneInput.styles.ts +84 -84
  154. package/src/components/PhoneInput/PhoneInput.tsx +194 -194
  155. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.stories.tsx +21 -21
  156. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.styles.ts +100 -100
  157. package/src/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.tsx +147 -147
  158. package/src/components/PhoneInput/PhoneInputCountryList/index.ts +2 -2
  159. package/src/components/PhoneInput/index.ts +6 -6
  160. package/src/components/PhoneInput/phone-info.ts +2147 -2147
  161. package/src/components/PhoneInput/types.ts +16 -16
  162. package/src/components/RadioButton/RadioButton.stories.tsx +46 -46
  163. package/src/components/RadioButton/RadioButton.styles.ts +37 -37
  164. package/src/components/RadioButton/RadioButton.tsx +55 -55
  165. package/src/components/RadioButton/index.ts +2 -2
  166. package/src/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.ts +61 -61
  167. package/src/components/ScrollIntoViewIfNeeded/index.ts +1 -1
  168. package/src/components/SearchInput/SearchInput.stories.tsx +23 -23
  169. package/src/components/SearchInput/SearchInput.styles.ts +50 -50
  170. package/src/components/SearchInput/SearchInput.tsx +50 -50
  171. package/src/components/SearchInput/index.ts +2 -2
  172. package/src/components/Select/MultiSelect.stories.tsx +240 -240
  173. package/src/components/Select/Select.stories.tsx +235 -235
  174. package/src/components/Select/Select.styles.ts +96 -96
  175. package/src/components/Select/Select.tsx +575 -575
  176. package/src/components/Select/SelectList/SelectList.styles.ts +72 -72
  177. package/src/components/Select/SelectList/SelectList.tsx +158 -158
  178. package/src/components/Select/SelectList/index.ts +1 -1
  179. package/src/components/Select/SelectListItem/SelectListItem.styles.ts +14 -14
  180. package/src/components/Select/SelectListItem/SelectListItem.tsx +68 -68
  181. package/src/components/Select/constants.ts +2 -2
  182. package/src/components/Select/helpers.ts +26 -26
  183. package/src/components/Select/index.ts +4 -4
  184. package/src/components/Select/types.ts +1 -1
  185. package/src/components/SmartInput/SmartInput.stories.tsx +50 -50
  186. package/src/components/SmartInput/SmartInput.tsx +147 -147
  187. package/src/components/SmartInput/helpers.ts +85 -85
  188. package/src/components/SmartInput/index.ts +1 -1
  189. package/src/components/Switch/Switch.stories.tsx +40 -40
  190. package/src/components/Switch/Switch.styles.ts +75 -75
  191. package/src/components/Switch/Switch.tsx +83 -83
  192. package/src/components/Switch/index.ts +2 -2
  193. package/src/components/TextArea/TextArea.stories.tsx +35 -35
  194. package/src/components/TextArea/TextArea.styles.ts +153 -153
  195. package/src/components/TextArea/TextArea.tsx +165 -165
  196. package/src/components/TextArea/index.ts +2 -2
  197. package/src/components/TextWithInfo/TextWithInfo.stories.tsx +53 -53
  198. package/src/components/TextWithInfo/TextWithInfo.styles.ts +60 -60
  199. package/src/components/TextWithInfo/TextWithInfo.tsx +60 -60
  200. package/src/components/TextWithInfo/index.ts +2 -2
  201. package/src/components/TextWithTooltip/TextWithTooltip.stories.tsx +58 -58
  202. package/src/components/TextWithTooltip/TextWithTooltip.styles.ts +19 -19
  203. package/src/components/TextWithTooltip/TextWithTooltip.tsx +143 -143
  204. package/src/components/TextWithTooltip/index.ts +2 -2
  205. package/src/components/ThemedPreloader/ThemedPreloader.stories.tsx +41 -41
  206. package/src/components/ThemedPreloader/ThemedPreloader.styles.ts +21 -21
  207. package/src/components/ThemedPreloader/ThemedPreloader.tsx +50 -50
  208. package/src/components/ThemedPreloader/components/DefaultPreloader/DefaultPreloader.tsx +29 -29
  209. package/src/components/ThemedPreloader/components/DefaultPreloader/index.ts +1 -1
  210. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.ts +54 -54
  211. package/src/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.tsx +18 -18
  212. package/src/components/ThemedPreloader/components/DotsPreloader/index.ts +2 -2
  213. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.ts +11 -11
  214. package/src/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.tsx +25 -25
  215. package/src/components/ThemedPreloader/components/SvgPreloader/index.ts +2 -2
  216. package/src/components/ThemedPreloader/components/index.ts +2 -2
  217. package/src/components/ThemedPreloader/index.ts +2 -2
  218. package/src/components/Toaster/Toaster.stories.tsx +30 -30
  219. package/src/components/Toaster/Toaster.styles.ts +59 -59
  220. package/src/components/Toaster/Toaster.tsx +110 -110
  221. package/src/components/Toaster/index.ts +2 -2
  222. package/src/components/Tooltip/Tooltip.stories.tsx +19 -19
  223. package/src/components/Tooltip/Tooltip.styles.ts +45 -45
  224. package/src/components/Tooltip/Tooltip.tsx +35 -35
  225. package/src/components/Tooltip/index.ts +3 -3
  226. package/src/components/Tooltip/types.ts +1 -1
  227. package/src/components/index.ts +36 -36
  228. package/src/helpers/deprecated.ts +22 -22
  229. package/src/helpers/index.ts +4 -4
  230. package/src/helpers/misc.ts +158 -158
  231. package/src/helpers/phone.ts +87 -87
  232. package/src/helpers/popper-helpers.ts +17 -17
  233. package/src/helpers/snippets.tsx +6 -6
  234. package/src/hooks/index.ts +6 -6
  235. package/src/hooks/use-did-mount-effect.ts +18 -18
  236. package/src/hooks/use-dropdown.ts +82 -82
  237. package/src/hooks/use-is-mounted.ts +15 -15
  238. package/src/hooks/use-on-click-outside.ts +77 -77
  239. package/src/hooks/use-theme.ts +32 -32
  240. package/src/hooks/use-tweak-styles.ts +13 -13
  241. package/src/index.ts +6 -6
  242. package/src/theme.ts +149 -149
  243. package/src/types.ts +107 -107
  244. package/src/vite-env.d.ts +1 -1
@@ -3994,63 +3994,63 @@ var useDidMountEffect = function(effect3, dependencies) {
3994
3994
  };
3995
3995
  }, dependencies);
3996
3996
  };
3997
- const avatarGreen = ` <svg\r
3998
- width="100%"\r
3999
- height="100%"\r
4000
- viewBox="0 0 32 32"\r
4001
- fill="none"\r
4002
- xmlns="http://www.w3.org/2000/svg"\r
4003
- >\r
4004
- <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />\r
4005
- <mask\r
4006
- id="mask0_0_12744"\r
4007
- style="mask-type: 'alpha';"\r
4008
- maskUnits="userSpaceOnUse"\r
4009
- x="0"\r
4010
- y="0"\r
4011
- width="32"\r
4012
- height="32"\r
4013
- >\r
4014
- <circle cx="16" cy="16" r="16" fill="white" />\r
4015
- </mask>\r
4016
- <g mask="url(#mask0_0_12744)">\r
4017
- <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />\r
4018
- <mask\r
4019
- id="mask1_0_12744"\r
4020
- style="mask-type: 'alpha';"\r
4021
- maskUnits="userSpaceOnUse"\r
4022
- x="3"\r
4023
- y="16"\r
4024
- width="26"\r
4025
- height="26"\r
4026
- >\r
4027
- <circle cx="16" cy="29" r="13" fill="white" />\r
4028
- </mask>\r
4029
- <g mask="url(#mask1_0_12744)">\r
4030
- <ellipse\r
4031
- cx="16"\r
4032
- cy="17.5"\r
4033
- rx="6"\r
4034
- ry="7.5"\r
4035
- fill="#505F79"\r
4036
- fill-opacity="0.204983"\r
4037
- />\r
4038
- </g>\r
4039
- </g>\r
4040
- <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />\r
4041
- <defs>\r
4042
- <linearGradient\r
4043
- id="paint0_linear_0_12744"\r
4044
- x1="13.347"\r
4045
- y1="46.279"\r
4046
- x2="33.5318"\r
4047
- y2="30.8088"\r
4048
- gradientUnits="userSpaceOnUse"\r
4049
- >\r
4050
- <stop stop-color="#ABD229" />\r
4051
- <stop offset="1" stop-color="#9CD03F" />\r
4052
- </linearGradient>\r
4053
- </defs>\r
3997
+ const avatarGreen = ` <svg
3998
+ width="100%"
3999
+ height="100%"
4000
+ viewBox="0 0 32 32"
4001
+ fill="none"
4002
+ xmlns="http://www.w3.org/2000/svg"
4003
+ >
4004
+ <circle opacity="0.5" cx="16" cy="16" r="16" fill="#DDE3ED" />
4005
+ <mask
4006
+ id="mask0_0_12744"
4007
+ style="mask-type: 'alpha';"
4008
+ maskUnits="userSpaceOnUse"
4009
+ x="0"
4010
+ y="0"
4011
+ width="32"
4012
+ height="32"
4013
+ >
4014
+ <circle cx="16" cy="16" r="16" fill="white" />
4015
+ </mask>
4016
+ <g mask="url(#mask0_0_12744)">
4017
+ <circle cx="16" cy="29" r="13" fill="url(#paint0_linear_0_12744)" />
4018
+ <mask
4019
+ id="mask1_0_12744"
4020
+ style="mask-type: 'alpha';"
4021
+ maskUnits="userSpaceOnUse"
4022
+ x="3"
4023
+ y="16"
4024
+ width="26"
4025
+ height="26"
4026
+ >
4027
+ <circle cx="16" cy="29" r="13" fill="white" />
4028
+ </mask>
4029
+ <g mask="url(#mask1_0_12744)">
4030
+ <ellipse
4031
+ cx="16"
4032
+ cy="17.5"
4033
+ rx="6"
4034
+ ry="7.5"
4035
+ fill="#505F79"
4036
+ fill-opacity="0.204983"
4037
+ />
4038
+ </g>
4039
+ </g>
4040
+ <ellipse cx="16" cy="13" rx="6" ry="7" fill="white" />
4041
+ <defs>
4042
+ <linearGradient
4043
+ id="paint0_linear_0_12744"
4044
+ x1="13.347"
4045
+ y1="46.279"
4046
+ x2="33.5318"
4047
+ y2="30.8088"
4048
+ gradientUnits="userSpaceOnUse"
4049
+ >
4050
+ <stop stop-color="#ABD229" />
4051
+ <stop offset="1" stop-color="#9CD03F" />
4052
+ </linearGradient>
4053
+ </defs>
4054
4054
  </svg>`;
4055
4055
  var complexIcons = {
4056
4056
  avatar: avatarGreen
@@ -7295,10 +7295,10 @@ function _object_spread_props$r(target, source) {
7295
7295
  }
7296
7296
  return target;
7297
7297
  }
7298
- function _object_without_properties$8(source, excluded) {
7298
+ function _object_without_properties$9(source, excluded) {
7299
7299
  if (source == null)
7300
7300
  return {};
7301
- var target = _object_without_properties_loose$8(source, excluded);
7301
+ var target = _object_without_properties_loose$9(source, excluded);
7302
7302
  var key, i;
7303
7303
  if (Object.getOwnPropertySymbols) {
7304
7304
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -7313,7 +7313,7 @@ function _object_without_properties$8(source, excluded) {
7313
7313
  }
7314
7314
  return target;
7315
7315
  }
7316
- function _object_without_properties_loose$8(source, excluded) {
7316
+ function _object_without_properties_loose$9(source, excluded) {
7317
7317
  if (source == null)
7318
7318
  return {};
7319
7319
  var target = {};
@@ -7328,7 +7328,7 @@ function _object_without_properties_loose$8(source, excluded) {
7328
7328
  return target;
7329
7329
  }
7330
7330
  var DateInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
7331
- var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, isRange = _param.isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$8(_param, [
7331
+ var date = _param.date, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? "" : _param_startDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? "" : _param_endDate, mask = _param.mask, className = _param.className, placeholder = _param.placeholder, data = _param.data, isRange = _param.isRange, tweakStyles = _param.tweakStyles, onClick = _param.onClick, onChange = _param.onChange, inputProps = _object_without_properties$9(_param, [
7332
7332
  "date",
7333
7333
  "startDate",
7334
7334
  "endDate",
@@ -7500,10 +7500,10 @@ function _object_spread_props$q(target, source) {
7500
7500
  }
7501
7501
  return target;
7502
7502
  }
7503
- function _object_without_properties$7(source, excluded) {
7503
+ function _object_without_properties$8(source, excluded) {
7504
7504
  if (source == null)
7505
7505
  return {};
7506
- var target = _object_without_properties_loose$7(source, excluded);
7506
+ var target = _object_without_properties_loose$8(source, excluded);
7507
7507
  var key, i;
7508
7508
  if (Object.getOwnPropertySymbols) {
7509
7509
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -7518,7 +7518,7 @@ function _object_without_properties$7(source, excluded) {
7518
7518
  }
7519
7519
  return target;
7520
7520
  }
7521
- function _object_without_properties_loose$7(source, excluded) {
7521
+ function _object_without_properties_loose$8(source, excluded) {
7522
7522
  if (source == null)
7523
7523
  return {};
7524
7524
  var target = {};
@@ -7533,7 +7533,7 @@ function _object_without_properties_loose$7(source, excluded) {
7533
7533
  return target;
7534
7534
  }
7535
7535
  var SearchInput = function(_param) {
7536
- var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$7(_param, [
7536
+ var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, testId = _param.testId, data = _param.data, props = _object_without_properties$8(_param, [
7537
7537
  "isClearable",
7538
7538
  "tweakStyles",
7539
7539
  "testId",
@@ -7716,10 +7716,10 @@ function _object_spread$x(target) {
7716
7716
  }
7717
7717
  return target;
7718
7718
  }
7719
- function _object_without_properties$6(source, excluded) {
7719
+ function _object_without_properties$7(source, excluded) {
7720
7720
  if (source == null)
7721
7721
  return {};
7722
- var target = _object_without_properties_loose$6(source, excluded);
7722
+ var target = _object_without_properties_loose$7(source, excluded);
7723
7723
  var key, i;
7724
7724
  if (Object.getOwnPropertySymbols) {
7725
7725
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -7734,7 +7734,7 @@ function _object_without_properties$6(source, excluded) {
7734
7734
  }
7735
7735
  return target;
7736
7736
  }
7737
- function _object_without_properties_loose$6(source, excluded) {
7737
+ function _object_without_properties_loose$7(source, excluded) {
7738
7738
  if (source == null)
7739
7739
  return {};
7740
7740
  var target = {};
@@ -7846,7 +7846,7 @@ var ScrollIntoViewIfNeeded = /* @__PURE__ */ function(PureComponent2) {
7846
7846
  _this_props.active;
7847
7847
  var elementType = _this_props.elementType, children = _this_props.children;
7848
7848
  _this_props.options;
7849
- var wrapperProps = _object_without_properties$6(_this_props, [
7849
+ var wrapperProps = _object_without_properties$7(_this_props, [
7850
7850
  "active",
7851
7851
  "elementType",
7852
7852
  "children",
@@ -8310,10 +8310,10 @@ function _object_spread_props$o(target, source) {
8310
8310
  }
8311
8311
  return target;
8312
8312
  }
8313
- function _object_without_properties$5(source, excluded) {
8313
+ function _object_without_properties$6(source, excluded) {
8314
8314
  if (source == null)
8315
8315
  return {};
8316
- var target = _object_without_properties_loose$5(source, excluded);
8316
+ var target = _object_without_properties_loose$6(source, excluded);
8317
8317
  var key, i;
8318
8318
  if (Object.getOwnPropertySymbols) {
8319
8319
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -8328,7 +8328,7 @@ function _object_without_properties$5(source, excluded) {
8328
8328
  }
8329
8329
  return target;
8330
8330
  }
8331
- function _object_without_properties_loose$5(source, excluded) {
8331
+ function _object_without_properties_loose$6(source, excluded) {
8332
8332
  if (source == null)
8333
8333
  return {};
8334
8334
  var target = {};
@@ -8464,7 +8464,7 @@ var __generator$4 = globalThis && globalThis.__generator || function(thisArg, bo
8464
8464
  }
8465
8465
  };
8466
8466
  function Select(props) {
8467
- var options = props.options, value = props.value, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$5(props, [
8467
+ var options = props.options, value = props.value, defaultOptionLabel = props.defaultOptionLabel, allOptionsLabel = props.allOptionsLabel, _props_debounceTime = props.debounceTime, debounceTime = _props_debounceTime === void 0 ? 400 : _props_debounceTime, _props_optionsMode = props.optionsMode, optionsMode = _props_optionsMode === void 0 ? "normal" : _props_optionsMode, noMatchesLabel = props.noMatchesLabel, loadingLabel = props.loadingLabel, tweakStyles = props.tweakStyles, testId = props.testId, isReadonly = props.isReadonly, isDisabled = props.isDisabled, dropdownOptions = props.dropdownOptions, _props_minSymbolsCountToOpenList = props.minSymbolsCountToOpenList, minSymbolsCountToOpenList = _props_minSymbolsCountToOpenList === void 0 ? 0 : _props_minSymbolsCountToOpenList, _props_dropdownIcon = props.dropdownIcon, dropdownIcon = _props_dropdownIcon === void 0 ? "chevron-down" : _props_dropdownIcon, _props_shouldScrollToList = props.shouldScrollToList, shouldScrollToList = _props_shouldScrollToList === void 0 ? true : _props_shouldScrollToList, searchInput = props.searchInput, iconType = props.iconType, onChange = props.onChange, onFocus = props.onFocus, onBlur = props.onBlur, onType = props.onType, onOpen = props.onOpen, _props_isOptionDisabled = props.isOptionDisabled, isOptionDisabled = _props_isOptionDisabled === void 0 ? defaultIsOptionDisabled : _props_isOptionDisabled, _props_compareValuesOnChange = props.compareValuesOnChange, compareValuesOnChange = _props_compareValuesOnChange === void 0 ? defaultCompareFunction : _props_compareValuesOnChange, _props_convertValueToString = props.convertValueToString, convertValueToString = _props_convertValueToString === void 0 ? defaultConvertFunction$2 : _props_convertValueToString, convertValueToId = props.convertValueToId, convertValueToReactNode = props.convertValueToReactNode, optionsFilter = props.optionsFilter, inputProps = _object_without_properties$6(props, [
8468
8468
  "options",
8469
8469
  "value",
8470
8470
  "defaultOptionLabel",
@@ -9165,10 +9165,10 @@ function _object_spread_props$n(target, source) {
9165
9165
  }
9166
9166
  return target;
9167
9167
  }
9168
- function _object_without_properties$4(source, excluded) {
9168
+ function _object_without_properties$5(source, excluded) {
9169
9169
  if (source == null)
9170
9170
  return {};
9171
- var target = _object_without_properties_loose$4(source, excluded);
9171
+ var target = _object_without_properties_loose$5(source, excluded);
9172
9172
  var key, i;
9173
9173
  if (Object.getOwnPropertySymbols) {
9174
9174
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -9183,7 +9183,7 @@ function _object_without_properties$4(source, excluded) {
9183
9183
  }
9184
9184
  return target;
9185
9185
  }
9186
- function _object_without_properties_loose$4(source, excluded) {
9186
+ function _object_without_properties_loose$5(source, excluded) {
9187
9187
  if (source == null)
9188
9188
  return {};
9189
9189
  var target = {};
@@ -9223,7 +9223,7 @@ var PopperContainer = function(param) {
9223
9223
  });
9224
9224
  };
9225
9225
  var DatePicker = /* @__PURE__ */ forwardRef(function(_param, ref) {
9226
- var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_topPosition = _param.topPosition, topPosition = _param_topPosition === void 0 ? 0 : _param_topPosition, _param_leftPosition = _param.leftPosition, leftPosition = _param_leftPosition === void 0 ? 0 : _param_leftPosition, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, isRange = _param.isRange, isInline = _param.isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, shouldRenderPopperInBody = _param.shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$4(_param, [
9226
+ var data = _param.data, _param_selectedDate = _param.selectedDate, selectedDate = _param_selectedDate === void 0 ? null : _param_selectedDate, minDate = _param.minDate, maxDate = _param.maxDate, _param_endDate = _param.endDate, endDate = _param_endDate === void 0 ? null : _param_endDate, _param_startDate = _param.startDate, startDate = _param_startDate === void 0 ? null : _param_startDate, locale2 = _param.locale, months = _param.months, _param_topPosition = _param.topPosition, topPosition = _param_topPosition === void 0 ? 0 : _param_topPosition, _param_leftPosition = _param.leftPosition, leftPosition = _param_leftPosition === void 0 ? 0 : _param_leftPosition, _param_calendarStartDay = _param.calendarStartDay, calendarStartDay = _param_calendarStartDay === void 0 ? 1 : _param_calendarStartDay, _param_dateFormat = _param.dateFormat, dateFormat = _param_dateFormat === void 0 ? DEFAULT_DATE_FORMAT$2 : _param_dateFormat, monthsShown = _param.monthsShown, placeholder = _param.placeholder, isRange = _param.isRange, isInline = _param.isInline, isDisabled = _param.isDisabled, isClearable = _param.isClearable, strictParsing = _param.strictParsing, focusSelectedMonth = _param.focusSelectedMonth, disabledKeyboardNavigation = _param.disabledKeyboardNavigation, shouldRenderPopperInBody = _param.shouldRenderPopperInBody, _param_allowSameDay = _param.allowSameDay, allowSameDay = _param_allowSameDay === void 0 ? false : _param_allowSameDay, shouldCloseOnSelect = _param.shouldCloseOnSelect, showPreviousMonths = _param.showPreviousMonths, preventOpenOnFocus = _param.preventOpenOnFocus, popperModifiers = _param.popperModifiers, popperPlacement = _param.popperPlacement, todayButton = _param.todayButton, calendarContainer = _param.calendarContainer, dayClassName = _param.dayClassName, tmp = _param.customInput, CustomInput = tmp === void 0 ? DateInput : tmp, customInputRef = _param.customInputRef, renderCustomHeader = _param.renderCustomHeader, filterDate = _param.filterDate, onYearChange = _param.onYearChange, onMonthChange = _param.onMonthChange, onCalendarOpen = _param.onCalendarOpen, onCalendarClose = _param.onCalendarClose, onChangeDate = _param.onChangeDate, onChangeRange = _param.onChangeRange, onBlur = _param.onBlur, onFocus = _param.onFocus, onKeyDown = _param.onKeyDown, tweakStyles = _param.tweakStyles, inputProps = _object_without_properties$5(_param, [
9227
9227
  "data",
9228
9228
  "selectedDate",
9229
9229
  "minDate",
@@ -9769,10 +9769,10 @@ function _object_spread$r(target) {
9769
9769
  }
9770
9770
  return target;
9771
9771
  }
9772
- function _object_without_properties$3(source, excluded) {
9772
+ function _object_without_properties$4(source, excluded) {
9773
9773
  if (source == null)
9774
9774
  return {};
9775
- var target = _object_without_properties_loose$3(source, excluded);
9775
+ var target = _object_without_properties_loose$4(source, excluded);
9776
9776
  var key, i;
9777
9777
  if (Object.getOwnPropertySymbols) {
9778
9778
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -9787,7 +9787,7 @@ function _object_without_properties$3(source, excluded) {
9787
9787
  }
9788
9788
  return target;
9789
9789
  }
9790
- function _object_without_properties_loose$3(source, excluded) {
9790
+ function _object_without_properties_loose$4(source, excluded) {
9791
9791
  if (source == null)
9792
9792
  return {};
9793
9793
  var target = {};
@@ -9920,7 +9920,7 @@ var __generator$3 = globalThis && globalThis.__generator || function(thisArg, bo
9920
9920
  }
9921
9921
  };
9922
9922
  var NumberInput = /* @__PURE__ */ forwardRef(function(_param, ref) {
9923
- var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$3(_param, [
9923
+ var value = _param.value, _param_canBeFloat = _param.canBeFloat, canBeFloat = _param_canBeFloat === void 0 ? false : _param_canBeFloat, _param_canBeNegative = _param.canBeNegative, canBeNegative = _param_canBeNegative === void 0 ? false : _param_canBeNegative, defaultValue = _param.defaultValue, _param_precision = _param.precision, precision = _param_precision === void 0 ? 3 : _param_precision, _param_intPartPrecision = _param.intPartPrecision, intPartPrecision = _param_intPartPrecision === void 0 ? 7 : _param_intPartPrecision, onChange = _param.onChange, onBlur = _param.onBlur, min2 = _param.min, max2 = _param.max, props = _object_without_properties$4(_param, [
9924
9924
  "value",
9925
9925
  "canBeFloat",
9926
9926
  "canBeNegative",
@@ -21835,10 +21835,10 @@ function _object_spread_props$b(target, source) {
21835
21835
  }
21836
21836
  return target;
21837
21837
  }
21838
- function _object_without_properties$2(source, excluded) {
21838
+ function _object_without_properties$3(source, excluded) {
21839
21839
  if (source == null)
21840
21840
  return {};
21841
- var target = _object_without_properties_loose$2(source, excluded);
21841
+ var target = _object_without_properties_loose$3(source, excluded);
21842
21842
  var key, i;
21843
21843
  if (Object.getOwnPropertySymbols) {
21844
21844
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
@@ -21853,7 +21853,7 @@ function _object_without_properties$2(source, excluded) {
21853
21853
  }
21854
21854
  return target;
21855
21855
  }
21856
- function _object_without_properties_loose$2(source, excluded) {
21856
+ function _object_without_properties_loose$3(source, excluded) {
21857
21857
  if (source == null)
21858
21858
  return {};
21859
21859
  var target = {};
@@ -21868,7 +21868,7 @@ function _object_without_properties_loose$2(source, excluded) {
21868
21868
  return target;
21869
21869
  }
21870
21870
  var IncrementInput = function(_param) {
21871
- var value = _param.value, onChange = _param.onChange, min2 = _param.min, max2 = _param.max, _param_step = _param.step, step = _param_step === void 0 ? 1 : _param_step, intPartPrecision = _param.intPartPrecision, data = _param.data, tweakStyles = _param.tweakStyles, props = _object_without_properties$2(_param, [
21871
+ var value = _param.value, onChange = _param.onChange, min2 = _param.min, max2 = _param.max, _param_step = _param.step, step = _param_step === void 0 ? 1 : _param_step, intPartPrecision = _param.intPartPrecision, data = _param.data, tweakStyles = _param.tweakStyles, props = _object_without_properties$3(_param, [
21872
21872
  "value",
21873
21873
  "onChange",
21874
21874
  "min",
@@ -22280,6 +22280,38 @@ function _object_spread_props$a(target, source) {
22280
22280
  }
22281
22281
  return target;
22282
22282
  }
22283
+ function _object_without_properties$2(source, excluded) {
22284
+ if (source == null)
22285
+ return {};
22286
+ var target = _object_without_properties_loose$2(source, excluded);
22287
+ var key, i;
22288
+ if (Object.getOwnPropertySymbols) {
22289
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
22290
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
22291
+ key = sourceSymbolKeys[i];
22292
+ if (excluded.indexOf(key) >= 0)
22293
+ continue;
22294
+ if (!Object.prototype.propertyIsEnumerable.call(source, key))
22295
+ continue;
22296
+ target[key] = source[key];
22297
+ }
22298
+ }
22299
+ return target;
22300
+ }
22301
+ function _object_without_properties_loose$2(source, excluded) {
22302
+ if (source == null)
22303
+ return {};
22304
+ var target = {};
22305
+ var sourceKeys = Object.keys(source);
22306
+ var key, i;
22307
+ for (i = 0; i < sourceKeys.length; i++) {
22308
+ key = sourceKeys[i];
22309
+ if (excluded.indexOf(key) >= 0)
22310
+ continue;
22311
+ target[key] = source[key];
22312
+ }
22313
+ return target;
22314
+ }
22283
22315
  function _sliced_to_array$7(arr, i) {
22284
22316
  return _array_with_holes$7(arr) || _iterable_to_array_limit$7(arr, i) || _unsupported_iterable_to_array$7(arr, i) || _non_iterable_rest$7();
22285
22317
  }
@@ -22296,8 +22328,31 @@ function _unsupported_iterable_to_array$7(o, minLen) {
22296
22328
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
22297
22329
  return _array_like_to_array$7(o, minLen);
22298
22330
  }
22299
- var Modal = function(param) {
22300
- var data = param.data, tweakStyles = param.tweakStyles, title = param.title, _param_size = param.size, size = _param_size === void 0 ? "l" : _param_size, isFooterSticky = param.isFooterSticky, buttons = param.buttons, _param_buttonsAlign = param.buttonsAlign, buttonsAlign = _param_buttonsAlign === void 0 ? "right" : _param_buttonsAlign, _param_hasCloseButton = param.hasCloseButton, hasCloseButton = _param_hasCloseButton === void 0 ? true : _param_hasCloseButton, _param_hasOverlay = param.hasOverlay, hasOverlay = _param_hasOverlay === void 0 ? true : _param_hasOverlay, _param_isOpen = param.isOpen, isOpen = _param_isOpen === void 0 ? false : _param_isOpen, _param_position = param.position, position = _param_position === void 0 ? "center" : _param_position, children = param.children, zIndex = param.zIndex, testId = param.testId, _param_shouldCloseOnOverlayClick = param.shouldCloseOnOverlayClick, shouldCloseOnOverlayClick = _param_shouldCloseOnOverlayClick === void 0 ? true : _param_shouldCloseOnOverlayClick, _param_shouldCloseOnEsc = param.shouldCloseOnEsc, shouldCloseOnEsc = _param_shouldCloseOnEsc === void 0 ? true : _param_shouldCloseOnEsc, _param_shouldBlockScroll = param.shouldBlockScroll, shouldBlockScroll = _param_shouldBlockScroll === void 0 ? true : _param_shouldBlockScroll, onClose = param.onClose, onCompletelyHidden = param.onCompletelyHidden, onEnter = param.onEnter;
22331
+ var Modal = function(_param) {
22332
+ var data = _param.data, tweakStyles = _param.tweakStyles, title = _param.title, _param_size = _param.size, size = _param_size === void 0 ? "l" : _param_size, isFooterSticky = _param.isFooterSticky, buttons = _param.buttons, _param_buttonsAlign = _param.buttonsAlign, buttonsAlign = _param_buttonsAlign === void 0 ? "right" : _param_buttonsAlign, _param_hasCloseButton = _param.hasCloseButton, hasCloseButton = _param_hasCloseButton === void 0 ? true : _param_hasCloseButton, _param_hasOverlay = _param.hasOverlay, hasOverlay = _param_hasOverlay === void 0 ? true : _param_hasOverlay, _param_isOpen = _param.isOpen, isOpen = _param_isOpen === void 0 ? false : _param_isOpen, _param_position = _param.position, position = _param_position === void 0 ? "center" : _param_position, children = _param.children, zIndex = _param.zIndex, testId = _param.testId, _param_shouldCloseOnOverlayClick = _param.shouldCloseOnOverlayClick, shouldCloseOnOverlayClick = _param_shouldCloseOnOverlayClick === void 0 ? true : _param_shouldCloseOnOverlayClick, _param_shouldCloseOnEsc = _param.shouldCloseOnEsc, shouldCloseOnEsc = _param_shouldCloseOnEsc === void 0 ? true : _param_shouldCloseOnEsc, _param_shouldBlockScroll = _param.shouldBlockScroll, shouldBlockScroll = _param_shouldBlockScroll === void 0 ? true : _param_shouldBlockScroll, _param_timeout = _param.timeout, timeout = _param_timeout === void 0 ? 150 : _param_timeout, _param_unmountOnExit = _param.unmountOnExit, unmountOnExit = _param_unmountOnExit === void 0 ? true : _param_unmountOnExit, onClose = _param.onClose, restProps = _object_without_properties$2(_param, [
22333
+ "data",
22334
+ "tweakStyles",
22335
+ "title",
22336
+ "size",
22337
+ "isFooterSticky",
22338
+ "buttons",
22339
+ "buttonsAlign",
22340
+ "hasCloseButton",
22341
+ "hasOverlay",
22342
+ "isOpen",
22343
+ "position",
22344
+ "children",
22345
+ "zIndex",
22346
+ "testId",
22347
+ "shouldCloseOnOverlayClick",
22348
+ "shouldCloseOnEsc",
22349
+ "shouldBlockScroll",
22350
+ "timeout",
22351
+ "unmountOnExit",
22352
+ "onClose"
22353
+ ]);
22354
+ var _ref;
22355
+ var isModalOpen = (_ref = isOpen !== null && isOpen !== void 0 ? isOpen : restProps.in) !== null && _ref !== void 0 ? _ref : false;
22301
22356
  var _useTheme = useTheme("Modal", styles$d, tweakStyles), classes = _useTheme.classes, componentStyles = _useTheme.componentStyles;
22302
22357
  var tweakCloseButtonStyles = useTweakStyles(componentStyles, tweakStyles, "tweakCloseButton");
22303
22358
  var _useState = _sliced_to_array$7(useState(false), 2), isClickOnOverlay = _useState[0], setIsClickOnOverlay = _useState[1];
@@ -22325,7 +22380,7 @@ var Modal = function(param) {
22325
22380
  onClose
22326
22381
  ]);
22327
22382
  useEffect(function() {
22328
- if (!shouldCloseOnEsc || onClose === void 0 || !isOpen) {
22383
+ if (!shouldCloseOnEsc || onClose === void 0 || !isModalOpen) {
22329
22384
  return function() {
22330
22385
  return null;
22331
22386
  };
@@ -22337,22 +22392,21 @@ var Modal = function(param) {
22337
22392
  }, [
22338
22393
  shouldCloseOnEsc,
22339
22394
  onClose,
22340
- isOpen,
22395
+ isModalOpen,
22341
22396
  handleEscClose
22342
22397
  ]);
22343
22398
  var _obj, _obj1;
22344
- return /* @__PURE__ */ jsx(CSSTransition, {
22345
- in: isOpen,
22346
- timeout: 150,
22347
- unmountOnExit: true,
22399
+ return /* @__PURE__ */ jsx(CSSTransition, _object_spread_props$a(_object_spread$c({
22400
+ in: isModalOpen,
22401
+ timeout,
22402
+ unmountOnExit,
22348
22403
  classNames: {
22349
22404
  enter: classes["modal-enter"],
22350
22405
  enterActive: classes["modal-enter-active"],
22351
22406
  exit: classes["modal-exit"],
22352
22407
  exitActive: classes["modal-exit-active"]
22353
- },
22354
- onEnter,
22355
- onExited: onCompletelyHidden,
22408
+ }
22409
+ }, restProps), {
22356
22410
  children: /* @__PURE__ */ jsx("div", {
22357
22411
  className: classes.modalWrapper,
22358
22412
  children: /* @__PURE__ */ jsx(RemoveScroll, {
@@ -22403,7 +22457,7 @@ var Modal = function(param) {
22403
22457
  }))
22404
22458
  })
22405
22459
  })
22406
- });
22460
+ }));
22407
22461
  };
22408
22462
  var styles$c = {
22409
22463
  root: {