@skbkontur/react-ui 5.1.7 → 5.2.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 (466) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/cjs/components/CurrencyLabel/CurrencyLabel.d.ts +2 -8
  3. package/cjs/components/CurrencyLabel/CurrencyLabel.js +19 -15
  4. package/cjs/components/CurrencyLabel/CurrencyLabel.js.map +1 -1
  5. package/cjs/components/DateInput/DateInput.d.ts +1 -0
  6. package/cjs/components/DateInput/DateInput.js +25 -5
  7. package/cjs/components/DateInput/DateInput.js.map +1 -1
  8. package/cjs/components/DateInput/helpers/InternalDateMediator.d.ts +1 -1
  9. package/cjs/components/DateInput/helpers/InternalDateMediator.js +10 -1
  10. package/cjs/components/DateInput/helpers/InternalDateMediator.js.map +1 -1
  11. package/cjs/components/Dropdown/Dropdown.d.ts +2 -4
  12. package/cjs/components/FxInput/FxInput.d.ts +1 -1
  13. package/cjs/components/FxInput/FxInput.js.map +1 -1
  14. package/cjs/components/MenuFooter/MenuFooter.d.ts +1 -6
  15. package/cjs/components/MenuFooter/MenuFooter.js +47 -40
  16. package/cjs/components/MenuFooter/MenuFooter.js.map +1 -1
  17. package/cjs/components/MenuHeader/MenuHeader.d.ts +1 -6
  18. package/cjs/components/MenuHeader/MenuHeader.js +49 -41
  19. package/cjs/components/MenuHeader/MenuHeader.js.map +1 -1
  20. package/cjs/components/MenuItem/MenuItem.js +3 -0
  21. package/cjs/components/MenuItem/MenuItem.js.map +1 -1
  22. package/cjs/components/MenuItem/MenuItem.styles.d.ts +1 -0
  23. package/cjs/components/MenuItem/MenuItem.styles.js +18 -13
  24. package/cjs/components/MenuItem/MenuItem.styles.js.map +1 -1
  25. package/cjs/components/MenuSeparator/MenuSeparator.d.ts +1 -6
  26. package/cjs/components/MenuSeparator/MenuSeparator.js +24 -22
  27. package/cjs/components/MenuSeparator/MenuSeparator.js.map +1 -1
  28. package/cjs/components/MiniModal/MiniModal.js +3 -3
  29. package/cjs/components/MiniModal/MiniModal.js.map +1 -1
  30. package/cjs/components/Modal/Modal.d.ts +20 -4
  31. package/cjs/components/Modal/Modal.js +79 -5
  32. package/cjs/components/Modal/Modal.js.map +1 -1
  33. package/cjs/components/Modal/Modal.styles.d.ts +19 -0
  34. package/cjs/components/Modal/Modal.styles.js +172 -42
  35. package/cjs/components/Modal/Modal.styles.js.map +1 -1
  36. package/cjs/components/Modal/ModalBody.js +8 -1
  37. package/cjs/components/Modal/ModalBody.js.map +1 -1
  38. package/cjs/components/Modal/ModalContext.d.ts +1 -0
  39. package/cjs/components/Modal/ModalContext.js +1 -0
  40. package/cjs/components/Modal/ModalContext.js.map +1 -1
  41. package/cjs/components/Modal/ModalFooter.js +17 -2
  42. package/cjs/components/Modal/ModalFooter.js.map +1 -1
  43. package/cjs/components/Modal/ModalHeader.js +21 -1
  44. package/cjs/components/Modal/ModalHeader.js.map +1 -1
  45. package/cjs/components/RadioGroup/RadioGroup.d.ts +1 -0
  46. package/cjs/components/RadioGroup/RadioGroup.js +18 -1
  47. package/cjs/components/RadioGroup/RadioGroup.js.map +1 -1
  48. package/cjs/components/RadioGroup/RadioGroup.styles.d.ts +1 -0
  49. package/cjs/components/RadioGroup/RadioGroup.styles.js +10 -4
  50. package/cjs/components/RadioGroup/RadioGroup.styles.js.map +1 -1
  51. package/cjs/components/SidePage/SidePage.d.ts +3 -1
  52. package/cjs/components/SidePage/SidePage.js +11 -5
  53. package/cjs/components/SidePage/SidePage.js.map +1 -1
  54. package/cjs/components/SidePage/SidePage.styles.d.ts +0 -1
  55. package/cjs/components/SidePage/SidePage.styles.js +51 -57
  56. package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
  57. package/cjs/components/Sticky/Sticky.js +1 -1
  58. package/cjs/components/Sticky/Sticky.js.map +1 -1
  59. package/cjs/components/Toast/Toast.d.ts +5 -5
  60. package/cjs/components/Toast/Toast.js +2 -2
  61. package/cjs/components/Toast/Toast.js.map +1 -1
  62. package/cjs/components/Toast/ToastStatic.d.ts +3 -2
  63. package/cjs/components/Toast/ToastStatic.js.map +1 -1
  64. package/cjs/components/Toast/ToastView.d.ts +1 -1
  65. package/cjs/components/Toast/ToastView.js.map +1 -1
  66. package/cjs/internal/Popup/Popup.d.ts +1 -0
  67. package/cjs/internal/Popup/Popup.js +11 -1
  68. package/cjs/internal/Popup/Popup.js.map +1 -1
  69. package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  70. package/cjs/internal/themes/BasicTheme.d.ts +4 -0
  71. package/cjs/internal/themes/BasicTheme.js +8 -2
  72. package/cjs/internal/themes/BasicTheme.js.map +1 -1
  73. package/cjs/internal/themes/DarkTheme5_2.d.ts +1 -0
  74. package/cjs/internal/themes/DarkTheme5_2.js +29 -0
  75. package/cjs/internal/themes/DarkTheme5_2.js.map +1 -0
  76. package/cjs/internal/themes/LightTheme5_2.d.ts +1 -0
  77. package/cjs/internal/themes/LightTheme5_2.js +27 -0
  78. package/cjs/internal/themes/LightTheme5_2.js.map +1 -0
  79. package/cjs/lib/ModalStack.d.ts +7 -1
  80. package/cjs/lib/ModalStack.js.map +1 -1
  81. package/cjs/lib/date/InternalDateGetter.d.ts +1 -1
  82. package/cjs/lib/date/InternalDateGetter.js +8 -1
  83. package/cjs/lib/date/InternalDateGetter.js.map +1 -1
  84. package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +3 -0
  85. package/cjs/lib/featureFlagsContext/ReactUIFeatureFlagsContext.d.ts +3 -0
  86. package/cjs/lib/featureFlagsContext/ReactUIFeatureFlagsContext.js +7 -1
  87. package/cjs/lib/featureFlagsContext/ReactUIFeatureFlagsContext.js.map +1 -1
  88. package/cjs/lib/theming/ThemeVersions.d.ts +1 -1
  89. package/cjs/lib/theming/ThemeVersions.js.map +1 -1
  90. package/cjs/lib/theming/themes/DarkTheme.d.ts +1 -0
  91. package/cjs/lib/theming/themes/DarkTheme.js +4 -2
  92. package/cjs/lib/theming/themes/DarkTheme.js.map +1 -1
  93. package/cjs/lib/theming/themes/LightTheme.d.ts +1 -0
  94. package/cjs/lib/theming/themes/LightTheme.js +4 -2
  95. package/cjs/lib/theming/themes/LightTheme.js.map +1 -1
  96. package/components/CurrencyLabel/CurrencyLabel/CurrencyLabel.js +8 -6
  97. package/components/CurrencyLabel/CurrencyLabel/CurrencyLabel.js.map +1 -1
  98. package/components/CurrencyLabel/CurrencyLabel.d.ts +2 -8
  99. package/components/DateInput/DateInput/DateInput.js +13 -7
  100. package/components/DateInput/DateInput/DateInput.js.map +1 -1
  101. package/components/DateInput/DateInput.d.ts +1 -0
  102. package/components/DateInput/helpers/InternalDateMediator/InternalDateMediator.js +2 -2
  103. package/components/DateInput/helpers/InternalDateMediator/InternalDateMediator.js.map +1 -1
  104. package/components/DateInput/helpers/InternalDateMediator.d.ts +1 -1
  105. package/components/Dropdown/Dropdown.d.ts +2 -4
  106. package/components/FxInput/FxInput/FxInput.js.map +1 -1
  107. package/components/FxInput/FxInput.d.ts +1 -1
  108. package/components/MenuFooter/MenuFooter/MenuFooter.js +7 -4
  109. package/components/MenuFooter/MenuFooter/MenuFooter.js.map +1 -1
  110. package/components/MenuFooter/MenuFooter.d.ts +1 -6
  111. package/components/MenuHeader/MenuHeader/MenuHeader.js +7 -4
  112. package/components/MenuHeader/MenuHeader/MenuHeader.js.map +1 -1
  113. package/components/MenuHeader/MenuHeader.d.ts +1 -6
  114. package/components/MenuItem/MenuItem/MenuItem.js +3 -1
  115. package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
  116. package/components/MenuItem/MenuItem.styles/MenuItem.styles.js +16 -13
  117. package/components/MenuItem/MenuItem.styles/MenuItem.styles.js.map +1 -1
  118. package/components/MenuItem/MenuItem.styles.d.ts +1 -0
  119. package/components/MenuSeparator/MenuSeparator/MenuSeparator.js +4 -4
  120. package/components/MenuSeparator/MenuSeparator/MenuSeparator.js.map +1 -1
  121. package/components/MenuSeparator/MenuSeparator.d.ts +1 -6
  122. package/components/MiniModal/MiniModal/MiniModal.js +3 -1
  123. package/components/MiniModal/MiniModal/MiniModal.js.map +1 -1
  124. package/components/Modal/Modal/Modal.js +51 -11
  125. package/components/Modal/Modal/Modal.js.map +1 -1
  126. package/components/Modal/Modal.d.ts +20 -4
  127. package/components/Modal/Modal.styles/Modal.styles.js +98 -41
  128. package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
  129. package/components/Modal/Modal.styles.d.ts +19 -0
  130. package/components/Modal/ModalBody/ModalBody.js +5 -1
  131. package/components/Modal/ModalBody/ModalBody.js.map +1 -1
  132. package/components/Modal/ModalContext/ModalContext.js.map +1 -1
  133. package/components/Modal/ModalContext.d.ts +1 -0
  134. package/components/Modal/ModalFooter/ModalFooter.js +14 -2
  135. package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
  136. package/components/Modal/ModalHeader/ModalHeader.js +12 -2
  137. package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  138. package/components/RadioGroup/RadioGroup/RadioGroup.js +23 -17
  139. package/components/RadioGroup/RadioGroup/RadioGroup.js.map +1 -1
  140. package/components/RadioGroup/RadioGroup.d.ts +1 -0
  141. package/components/RadioGroup/RadioGroup.styles/RadioGroup.styles.js +7 -4
  142. package/components/RadioGroup/RadioGroup.styles/RadioGroup.styles.js.map +1 -1
  143. package/components/RadioGroup/RadioGroup.styles.d.ts +1 -0
  144. package/components/SidePage/SidePage/SidePage.js +15 -8
  145. package/components/SidePage/SidePage/SidePage.js.map +1 -1
  146. package/components/SidePage/SidePage.d.ts +3 -1
  147. package/components/SidePage/SidePage.styles/SidePage.styles.js +51 -54
  148. package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
  149. package/components/SidePage/SidePage.styles.d.ts +0 -1
  150. package/components/Sticky/Sticky/Sticky.js +1 -1
  151. package/components/Sticky/Sticky/Sticky.js.map +1 -1
  152. package/components/Toast/Toast/Toast.js +2 -2
  153. package/components/Toast/Toast/Toast.js.map +1 -1
  154. package/components/Toast/Toast.d.ts +5 -5
  155. package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
  156. package/components/Toast/ToastStatic.d.ts +3 -2
  157. package/components/Toast/ToastView/ToastView.js.map +1 -1
  158. package/components/Toast/ToastView.d.ts +1 -1
  159. package/internal/Popup/Popup/Popup.js +12 -1
  160. package/internal/Popup/Popup/Popup.js.map +1 -1
  161. package/internal/Popup/Popup.d.ts +1 -0
  162. package/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  163. package/internal/themes/BasicTheme/BasicTheme.js +8 -0
  164. package/internal/themes/BasicTheme/BasicTheme.js.map +1 -1
  165. package/internal/themes/BasicTheme.d.ts +4 -0
  166. package/internal/themes/DarkTheme5_2/DarkTheme5_2.js +27 -0
  167. package/internal/themes/DarkTheme5_2/DarkTheme5_2.js.map +1 -0
  168. package/internal/themes/DarkTheme5_2/package.json +6 -0
  169. package/internal/themes/DarkTheme5_2.d.ts +1 -0
  170. package/internal/themes/LightTheme5_2/LightTheme5_2.js +27 -0
  171. package/internal/themes/LightTheme5_2/LightTheme5_2.js.map +1 -0
  172. package/internal/themes/LightTheme5_2/package.json +6 -0
  173. package/internal/themes/LightTheme5_2.d.ts +1 -0
  174. package/lib/ModalStack/ModalStack.js.map +1 -1
  175. package/lib/ModalStack.d.ts +7 -1
  176. package/lib/date/InternalDateGetter/InternalDateGetter.js +4 -1
  177. package/lib/date/InternalDateGetter/InternalDateGetter.js.map +1 -1
  178. package/lib/date/InternalDateGetter.d.ts +1 -1
  179. package/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +3 -0
  180. package/lib/featureFlagsContext/ReactUIFeatureFlagsContext/ReactUIFeatureFlagsContext.js +4 -1
  181. package/lib/featureFlagsContext/ReactUIFeatureFlagsContext/ReactUIFeatureFlagsContext.js.map +1 -1
  182. package/lib/featureFlagsContext/ReactUIFeatureFlagsContext.d.ts +3 -0
  183. package/lib/theming/ThemeVersions/ThemeVersions.js.map +1 -1
  184. package/lib/theming/ThemeVersions.d.ts +1 -1
  185. package/lib/theming/themes/DarkTheme/DarkTheme.js +3 -1
  186. package/lib/theming/themes/DarkTheme/DarkTheme.js.map +1 -1
  187. package/lib/theming/themes/DarkTheme.d.ts +1 -0
  188. package/lib/theming/themes/LightTheme/LightTheme.js +3 -1
  189. package/lib/theming/themes/LightTheme/LightTheme.js.map +1 -1
  190. package/lib/theming/themes/LightTheme.d.ts +1 -0
  191. package/package.json +9 -9
  192. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +0 -239
  193. package/cjs/components/Autocomplete/__docs__/Autocomplete.mdx +0 -26
  194. package/cjs/components/Button/__creevey__/Button.creevey.mts +0 -251
  195. package/cjs/components/Button/__docs__/Button.mdx +0 -27
  196. package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +0 -113
  197. package/cjs/components/Calendar/__docs__/Calendar.mdx +0 -27
  198. package/cjs/components/Calendar/__docs__/CalendarDay.mdx +0 -23
  199. package/cjs/components/Center/__docs__/Center.mdx +0 -23
  200. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +0 -243
  201. package/cjs/components/Checkbox/__docs__/Checkbox.mdx +0 -27
  202. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +0 -545
  203. package/cjs/components/ComboBox/__docs__/ComboBox.mdx +0 -27
  204. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +0 -81
  205. package/cjs/components/CurrencyInput/__docs__/CurrencyInput.mdx +0 -27
  206. package/cjs/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +0 -23
  207. package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +0 -156
  208. package/cjs/components/DateInput/__docs__/DateInput.mdx +0 -23
  209. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +0 -209
  210. package/cjs/components/DatePicker/__docs__/DatePicker.mdx +0 -27
  211. package/cjs/components/DateRangePicker/__creevey__/DateRangePicker.creevey.mts +0 -155
  212. package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -123
  213. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +0 -184
  214. package/cjs/components/Dropdown/__docs__/Dropdown.mdx +0 -27
  215. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +0 -263
  216. package/cjs/components/DropdownMenu/__docs__/DropdownMenu.mdx +0 -27
  217. package/cjs/components/FileUploader/__docs__/FileUploader.mdx +0 -27
  218. package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +0 -21
  219. package/cjs/components/FxInput/__docs__/FxInput.mdx +0 -27
  220. package/cjs/components/Gapped/__docs__/Gapped.mdx +0 -23
  221. package/cjs/components/GlobalLoader/__docs__/GlobalLoader.mdx +0 -27
  222. package/cjs/components/Group/__creevey__/Group.creevey.mts +0 -19
  223. package/cjs/components/Group/__docs__/Group.mdx +0 -23
  224. package/cjs/components/Hint/__creevey__/Hint.creevey.mts +0 -68
  225. package/cjs/components/Hint/__docs__/Hint.mdx +0 -28
  226. package/cjs/components/Input/__creevey__/Input.creevey.mts +0 -239
  227. package/cjs/components/Input/__docs__/Input.mdx +0 -27
  228. package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +0 -147
  229. package/cjs/components/Kebab/__docs__/Kebab.mdx +0 -27
  230. package/cjs/components/Link/__creevey__/Link.creevey.mts +0 -162
  231. package/cjs/components/Link/__docs__/Link.mdx +0 -27
  232. package/cjs/components/Loader/__creevey__/Loader.creevey.mts +0 -35
  233. package/cjs/components/Loader/__docs__/Loader.mdx +0 -23
  234. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +0 -221
  235. package/cjs/components/MaskedInput/__docs__/MaskedInput.mdx +0 -27
  236. package/cjs/components/MenuFooter/__docs__/MenuFooter.mdx +0 -23
  237. package/cjs/components/MenuHeader/__docs__/MenuHeader.mdx +0 -23
  238. package/cjs/components/MenuItem/__docs__/MenuItem.mdx +0 -23
  239. package/cjs/components/MenuSeparator/__docs__/MenuSeparator.mdx +0 -23
  240. package/cjs/components/MiniModal/__docs__/MiniModal.mdx +0 -27
  241. package/cjs/components/MiniModal/__docs__/MiniModalBody.mdx +0 -17
  242. package/cjs/components/MiniModal/__docs__/MiniModalFooter.mdx +0 -17
  243. package/cjs/components/MiniModal/__docs__/MiniModalHeader.mdx +0 -18
  244. package/cjs/components/MiniModal/__docs__/MiniModalIndent.mdx +0 -11
  245. package/cjs/components/Modal/__creevey__/Modal.creevey.mts +0 -295
  246. package/cjs/components/Modal/__docs__/Modal.mdx +0 -27
  247. package/cjs/components/Modal/__docs__/ModalBody.mdx +0 -15
  248. package/cjs/components/Modal/__docs__/ModalFooter.mdx +0 -15
  249. package/cjs/components/Modal/__docs__/ModalHeader.mdx +0 -15
  250. package/cjs/components/Modal/__docs__/ModalSeparator.mdx +0 -15
  251. package/cjs/components/Paging/__creevey__/Paging.creevey.mts +0 -97
  252. package/cjs/components/Paging/__docs__/Paging.mdx +0 -27
  253. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +0 -46
  254. package/cjs/components/PasswordInput/__docs__/PasswordInput.mdx +0 -27
  255. package/cjs/components/Radio/__creevey__/Radio.creevey.mts +0 -28
  256. package/cjs/components/Radio/__docs__/Radio.mdx +0 -27
  257. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +0 -86
  258. package/cjs/components/RadioGroup/__docs__/RadioGroup.mdx +0 -27
  259. package/cjs/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +0 -96
  260. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +0 -247
  261. package/cjs/components/ScrollContainer/__docs__/ScrollContainer.mdx +0 -23
  262. package/cjs/components/Select/__creevey__/Select.creevey.mts +0 -293
  263. package/cjs/components/Select/__docs__/Select.mdx +0 -27
  264. package/cjs/components/SidePage/__creevey__/SidePage.creevey.mts +0 -421
  265. package/cjs/components/SidePage/__docs__/SidePage.mdx +0 -27
  266. package/cjs/components/SidePage/__docs__/SidePageBody.mdx +0 -16
  267. package/cjs/components/SidePage/__docs__/SidePageContainer.mdx +0 -15
  268. package/cjs/components/SidePage/__docs__/SidePageFooter.mdx +0 -15
  269. package/cjs/components/SidePage/__docs__/SidePageHeader.mdx +0 -15
  270. package/cjs/components/SingleToast/__docs__/SingleToast.mdx +0 -27
  271. package/cjs/components/Spinner/__docs__/Spinner.mdx +0 -27
  272. package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +0 -98
  273. package/cjs/components/Sticky/__docs__/Sticky.mdx +0 -23
  274. package/cjs/components/Switcher/__creevey__/Switcher.creevey.mts +0 -24
  275. package/cjs/components/Switcher/__docs__/Switcher.mdx +0 -27
  276. package/cjs/components/Tabs/__creevey__/Tabs.creevey.mts +0 -239
  277. package/cjs/components/Tabs/__docs__/Tab.mdx +0 -27
  278. package/cjs/components/Tabs/__docs__/Tabs.mdx +0 -27
  279. package/cjs/components/Textarea/__creevey__/Textarea.creevey.mts +0 -177
  280. package/cjs/components/Textarea/__docs__/Textarea.mdx +0 -27
  281. package/cjs/components/Toast/__creevey__/Toast.creevey.mts +0 -77
  282. package/cjs/components/Toast/__docs__/Toast.mdx +0 -27
  283. package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +0 -93
  284. package/cjs/components/Toggle/__docs__/Toggle.mdx +0 -27
  285. package/cjs/components/Token/__docs__/Token.mdx +0 -27
  286. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +0 -442
  287. package/cjs/components/TokenInput/__docs__/TokenInput.mdx +0 -27
  288. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.mts +0 -533
  289. package/cjs/components/Tooltip/__docs__/Tooltip.mdx +0 -27
  290. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +0 -131
  291. package/cjs/components/TooltipMenu/__docs__/TooltipMenu.mdx +0 -23
  292. package/cjs/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +0 -44
  293. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +0 -48
  294. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +0 -30
  295. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +0 -25
  296. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +0 -83
  297. package/cjs/internal/Menu/__creevey__/Menu.creevey.mts +0 -90
  298. package/cjs/internal/PerformanceMetrics/PerformanceMetrics.d.ts +0 -7
  299. package/cjs/internal/PerformanceMetrics/PerformanceMetrics.js +0 -89
  300. package/cjs/internal/PerformanceMetrics/PerformanceMetrics.js.map +0 -1
  301. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +0 -37
  302. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +0 -36
  303. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +0 -4
  304. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +0 -68
  305. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +0 -228
  306. package/components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts +0 -1
  307. package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +0 -239
  308. package/components/Autocomplete/__docs__/Autocomplete.mdx +0 -26
  309. package/components/Button/__creevey__/Button.creevey.d.mts +0 -1
  310. package/components/Button/__creevey__/Button.creevey.mts +0 -251
  311. package/components/Button/__docs__/Button.mdx +0 -27
  312. package/components/Calendar/__creevey__/Calendar.creevey.d.mts +0 -1
  313. package/components/Calendar/__creevey__/Calendar.creevey.mts +0 -113
  314. package/components/Calendar/__docs__/Calendar.mdx +0 -27
  315. package/components/Calendar/__docs__/CalendarDay.mdx +0 -23
  316. package/components/Center/__docs__/Center.mdx +0 -23
  317. package/components/Checkbox/__creevey__/Checkbox.creevey.d.mts +0 -1
  318. package/components/Checkbox/__creevey__/Checkbox.creevey.mts +0 -243
  319. package/components/Checkbox/__docs__/Checkbox.mdx +0 -27
  320. package/components/ComboBox/__creevey__/ComboBox.creevey.d.mts +0 -1
  321. package/components/ComboBox/__creevey__/ComboBox.creevey.mts +0 -545
  322. package/components/ComboBox/__docs__/ComboBox.mdx +0 -27
  323. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts +0 -1
  324. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +0 -81
  325. package/components/CurrencyInput/__docs__/CurrencyInput.mdx +0 -27
  326. package/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +0 -23
  327. package/components/DateInput/__creevey__/DateInput.creevey.d.mts +0 -1
  328. package/components/DateInput/__creevey__/DateInput.creevey.mts +0 -156
  329. package/components/DateInput/__docs__/DateInput.mdx +0 -23
  330. package/components/DatePicker/__creevey__/DatePicker.creevey.d.mts +0 -1
  331. package/components/DatePicker/__creevey__/DatePicker.creevey.mts +0 -209
  332. package/components/DatePicker/__docs__/DatePicker.mdx +0 -27
  333. package/components/DateRangePicker/__creevey__/DateRangePicker.creevey.d.mts +0 -1
  334. package/components/DateRangePicker/__creevey__/DateRangePicker.creevey.mts +0 -155
  335. package/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -123
  336. package/components/Dropdown/__creevey__/Dropdown.creevey.d.mts +0 -1
  337. package/components/Dropdown/__creevey__/Dropdown.creevey.mts +0 -184
  338. package/components/Dropdown/__docs__/Dropdown.mdx +0 -27
  339. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts +0 -1
  340. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +0 -263
  341. package/components/DropdownMenu/__docs__/DropdownMenu.mdx +0 -27
  342. package/components/FileUploader/__docs__/FileUploader.mdx +0 -27
  343. package/components/FxInput/__creevey__/FxInput.creevey.d.mts +0 -1
  344. package/components/FxInput/__creevey__/FxInput.creevey.mts +0 -21
  345. package/components/FxInput/__docs__/FxInput.mdx +0 -27
  346. package/components/Gapped/__docs__/Gapped.mdx +0 -23
  347. package/components/GlobalLoader/__docs__/GlobalLoader.mdx +0 -27
  348. package/components/Group/__creevey__/Group.creevey.d.mts +0 -1
  349. package/components/Group/__creevey__/Group.creevey.mts +0 -19
  350. package/components/Group/__docs__/Group.mdx +0 -23
  351. package/components/Hint/__creevey__/Hint.creevey.d.mts +0 -1
  352. package/components/Hint/__creevey__/Hint.creevey.mts +0 -68
  353. package/components/Hint/__docs__/Hint.mdx +0 -28
  354. package/components/Input/__creevey__/Input.creevey.d.mts +0 -1
  355. package/components/Input/__creevey__/Input.creevey.mts +0 -239
  356. package/components/Input/__docs__/Input.mdx +0 -27
  357. package/components/Kebab/__creevey__/Kebab.creevey.d.mts +0 -1
  358. package/components/Kebab/__creevey__/Kebab.creevey.mts +0 -147
  359. package/components/Kebab/__docs__/Kebab.mdx +0 -27
  360. package/components/Link/__creevey__/Link.creevey.d.mts +0 -1
  361. package/components/Link/__creevey__/Link.creevey.mts +0 -162
  362. package/components/Link/__docs__/Link.mdx +0 -27
  363. package/components/Loader/__creevey__/Loader.creevey.d.mts +0 -1
  364. package/components/Loader/__creevey__/Loader.creevey.mts +0 -35
  365. package/components/Loader/__docs__/Loader.mdx +0 -23
  366. package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts +0 -1
  367. package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +0 -221
  368. package/components/MaskedInput/__docs__/MaskedInput.mdx +0 -27
  369. package/components/MenuFooter/__docs__/MenuFooter.mdx +0 -23
  370. package/components/MenuHeader/__docs__/MenuHeader.mdx +0 -23
  371. package/components/MenuItem/__docs__/MenuItem.mdx +0 -23
  372. package/components/MenuSeparator/__docs__/MenuSeparator.mdx +0 -23
  373. package/components/MiniModal/__docs__/MiniModal.mdx +0 -27
  374. package/components/MiniModal/__docs__/MiniModalBody.mdx +0 -17
  375. package/components/MiniModal/__docs__/MiniModalFooter.mdx +0 -17
  376. package/components/MiniModal/__docs__/MiniModalHeader.mdx +0 -18
  377. package/components/MiniModal/__docs__/MiniModalIndent.mdx +0 -11
  378. package/components/Modal/__creevey__/Modal.creevey.d.mts +0 -1
  379. package/components/Modal/__creevey__/Modal.creevey.mts +0 -295
  380. package/components/Modal/__docs__/Modal.mdx +0 -27
  381. package/components/Modal/__docs__/ModalBody.mdx +0 -15
  382. package/components/Modal/__docs__/ModalFooter.mdx +0 -15
  383. package/components/Modal/__docs__/ModalHeader.mdx +0 -15
  384. package/components/Modal/__docs__/ModalSeparator.mdx +0 -15
  385. package/components/Paging/__creevey__/Paging.creevey.d.mts +0 -1
  386. package/components/Paging/__creevey__/Paging.creevey.mts +0 -97
  387. package/components/Paging/__docs__/Paging.mdx +0 -27
  388. package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts +0 -1
  389. package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +0 -46
  390. package/components/PasswordInput/__docs__/PasswordInput.mdx +0 -27
  391. package/components/Radio/__creevey__/Radio.creevey.d.mts +0 -1
  392. package/components/Radio/__creevey__/Radio.creevey.mts +0 -28
  393. package/components/Radio/__docs__/Radio.mdx +0 -27
  394. package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts +0 -1
  395. package/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +0 -86
  396. package/components/RadioGroup/__docs__/RadioGroup.mdx +0 -27
  397. package/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +0 -96
  398. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts +0 -1
  399. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +0 -247
  400. package/components/ScrollContainer/__docs__/ScrollContainer.mdx +0 -23
  401. package/components/Select/__creevey__/Select.creevey.d.mts +0 -1
  402. package/components/Select/__creevey__/Select.creevey.mts +0 -293
  403. package/components/Select/__docs__/Select.mdx +0 -27
  404. package/components/SidePage/__creevey__/SidePage.creevey.d.mts +0 -1
  405. package/components/SidePage/__creevey__/SidePage.creevey.mts +0 -421
  406. package/components/SidePage/__docs__/SidePage.mdx +0 -27
  407. package/components/SidePage/__docs__/SidePageBody.mdx +0 -16
  408. package/components/SidePage/__docs__/SidePageContainer.mdx +0 -15
  409. package/components/SidePage/__docs__/SidePageFooter.mdx +0 -15
  410. package/components/SidePage/__docs__/SidePageHeader.mdx +0 -15
  411. package/components/SingleToast/__docs__/SingleToast.mdx +0 -27
  412. package/components/Spinner/__docs__/Spinner.mdx +0 -27
  413. package/components/Sticky/__creevey__/Sticky.creevey.d.mts +0 -1
  414. package/components/Sticky/__creevey__/Sticky.creevey.mts +0 -98
  415. package/components/Sticky/__docs__/Sticky.mdx +0 -23
  416. package/components/Switcher/__creevey__/Switcher.creevey.d.mts +0 -1
  417. package/components/Switcher/__creevey__/Switcher.creevey.mts +0 -24
  418. package/components/Switcher/__docs__/Switcher.mdx +0 -27
  419. package/components/Tabs/__creevey__/Tabs.creevey.d.mts +0 -1
  420. package/components/Tabs/__creevey__/Tabs.creevey.mts +0 -239
  421. package/components/Tabs/__docs__/Tab.mdx +0 -27
  422. package/components/Tabs/__docs__/Tabs.mdx +0 -27
  423. package/components/Textarea/__creevey__/Textarea.creevey.d.mts +0 -1
  424. package/components/Textarea/__creevey__/Textarea.creevey.mts +0 -177
  425. package/components/Textarea/__docs__/Textarea.mdx +0 -27
  426. package/components/Toast/__creevey__/Toast.creevey.d.mts +0 -1
  427. package/components/Toast/__creevey__/Toast.creevey.mts +0 -77
  428. package/components/Toast/__docs__/Toast.mdx +0 -27
  429. package/components/Toggle/__creevey__/Toggle.creevey.d.mts +0 -1
  430. package/components/Toggle/__creevey__/Toggle.creevey.mts +0 -93
  431. package/components/Toggle/__docs__/Toggle.mdx +0 -27
  432. package/components/Token/__docs__/Token.mdx +0 -27
  433. package/components/TokenInput/__creevey__/TokenInput.creevey.d.mts +0 -1
  434. package/components/TokenInput/__creevey__/TokenInput.creevey.mts +0 -442
  435. package/components/TokenInput/__docs__/TokenInput.mdx +0 -27
  436. package/components/Tooltip/__creevey__/Tooltip.creevey.d.mts +0 -1
  437. package/components/Tooltip/__creevey__/Tooltip.creevey.mts +0 -533
  438. package/components/Tooltip/__docs__/Tooltip.mdx +0 -27
  439. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts +0 -1
  440. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +0 -131
  441. package/components/TooltipMenu/__docs__/TooltipMenu.mdx +0 -23
  442. package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.d.mts +0 -1
  443. package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +0 -44
  444. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts +0 -1
  445. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +0 -48
  446. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts +0 -1
  447. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +0 -30
  448. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts +0 -1
  449. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +0 -25
  450. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts +0 -1
  451. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +0 -83
  452. package/internal/Menu/__creevey__/Menu.creevey.d.mts +0 -1
  453. package/internal/Menu/__creevey__/Menu.creevey.mts +0 -90
  454. package/internal/PerformanceMetrics/PerformanceMetrics/PerformanceMetrics.js +0 -106
  455. package/internal/PerformanceMetrics/PerformanceMetrics/PerformanceMetrics.js.map +0 -1
  456. package/internal/PerformanceMetrics/PerformanceMetrics/package.json +0 -6
  457. package/internal/PerformanceMetrics/PerformanceMetrics.d.ts +0 -7
  458. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts +0 -1
  459. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +0 -37
  460. package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.d.mts +0 -1
  461. package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +0 -36
  462. package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +0 -4
  463. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts +0 -1
  464. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +0 -68
  465. package/internal/ZIndex/__creevey__/ZIndex.creevey.d.mts +0 -1
  466. package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +0 -228
@@ -459,11 +459,15 @@ export declare class BasicThemeClass {
459
459
  static mobileModalCloseButtonRightPadding: string;
460
460
  static mobileModalCloseButtonTopPadding: string;
461
461
  static mobileModalCloseButtonClickArea: string;
462
+ static mobileModalWithoutHeaderCloseButtonPadding: string;
463
+ static get mobileModalWithoutHeaderCloseButtonWidth(): string;
462
464
  static mobileModalCloseIconSize: string;
463
465
  static mobileModalHeaderFontSize: string;
464
466
  static mobileModalHeaderLineHeight: string;
465
467
  static mobileModalHeaderPadding: string;
466
468
  static mobileModalBodyPadding: string;
469
+ static mobileModalBodyPaddingTop: string;
470
+ static mobileModalBodyPaddingBottom: string;
467
471
  static mobileModalBodyFontSize: string;
468
472
  static mobileModalFooterPadding: string;
469
473
  static mobileModalPaddingBottom: string;
@@ -0,0 +1,27 @@
1
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
2
+ import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
3
+ var _DarkTheme5_;
4
+ import { createTheme, markThemeVersion } from "../../../lib/theming/ThemeHelpers";
5
+ import { BasicThemeClassForExtension } from "../BasicTheme";
6
+ import { DarkTheme5_1 } from "../DarkTheme5_1";
7
+ export var DarkTheme5_2 = createTheme({
8
+ themeClass: (_DarkTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {
9
+ function DarkTheme5_1() {
10
+ return _BasicThemeClassForEx.apply(this, arguments) || this;
11
+ }
12
+ _inheritsLoose(DarkTheme5_1, _BasicThemeClassForEx);
13
+ return _createClass(DarkTheme5_1, null, [{
14
+ key: "mobileModalCloseButtonRightPadding",
15
+ get: function get() {
16
+ return this.mobileModalCloseButtonClickArea;
17
+ }
18
+ }, {
19
+ key: "mobileModalCloseButtonTopPadding",
20
+ get: function get() {
21
+ return this.mobileModalCloseButtonClickArea;
22
+ }
23
+ }]);
24
+ }(BasicThemeClassForExtension), _DarkTheme5_.kebabBackgroundHover = 'rgba(255, 255, 255, 0.1)', _DarkTheme5_.kebabBackgroundActive = 'rgba(255, 255, 255, 0.06)', _DarkTheme5_.mobileModalCloseButtonClickArea = '22px', _DarkTheme5_.mobileModalBodyPadding = '0 16px 0 16px', _DarkTheme5_.mobileModalContainerMarginTop = '16px', _DarkTheme5_.mobileModalContainerMarginRight = '16px', _DarkTheme5_.mobileModalContainerMarginBottom = '16px', _DarkTheme5_.mobileModalContainerMarginLeft = '16px', _DarkTheme5_.miniModalMarginTopMobile = '16px', _DarkTheme5_.miniModalMarginLeftMobile = '16px', _DarkTheme5_.miniModalMarginRightMobile = '16px', _DarkTheme5_),
25
+ prototypeTheme: DarkTheme5_1,
26
+ themeMarkers: [markThemeVersion('5.2')]
27
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createTheme","markThemeVersion","BasicThemeClassForExtension","DarkTheme5_1","DarkTheme5_2","themeClass","_DarkTheme5_","_BasicThemeClassForEx","apply","arguments","_inheritsLoose","_createClass","key","get","mobileModalCloseButtonClickArea","kebabBackgroundHover","kebabBackgroundActive","mobileModalBodyPadding","mobileModalContainerMarginTop","mobileModalContainerMarginRight","mobileModalContainerMarginBottom","mobileModalContainerMarginLeft","miniModalMarginTopMobile","miniModalMarginLeftMobile","miniModalMarginRightMobile","prototypeTheme","themeMarkers"],"sources":["DarkTheme5_2.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicThemeClassForExtension } from './BasicTheme';\nimport { DarkTheme5_1 } from './DarkTheme5_1';\n\nexport const DarkTheme5_2 = createTheme({\n themeClass: class DarkTheme5_1 extends BasicThemeClassForExtension {\n public static kebabBackgroundHover = 'rgba(255, 255, 255, 0.1)';\n public static kebabBackgroundActive = 'rgba(255, 255, 255, 0.06)';\n public static get mobileModalCloseButtonRightPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static get mobileModalCloseButtonTopPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static mobileModalCloseButtonClickArea = '22px';\n public static mobileModalBodyPadding = '0 16px 0 16px';\n public static mobileModalContainerMarginTop = '16px';\n public static mobileModalContainerMarginRight = '16px';\n public static mobileModalContainerMarginBottom = '16px';\n public static mobileModalContainerMarginLeft = '16px';\n\n public static miniModalMarginTopMobile = '16px';\n public static miniModalMarginLeftMobile = '16px';\n public static miniModalMarginRightMobile = '16px';\n },\n prototypeTheme: DarkTheme5_1,\n themeMarkers: [markThemeVersion('5.2')],\n});\n"],"mappings":"yJAAA,SAASA,WAAW,EAAEC,gBAAgB,QAAQ,gCAAgC;;AAE9E,SAASC,2BAA2B,QAAQ,cAAc;AAC1D,SAASC,YAAY,QAAQ,gBAAgB;;AAE7C,OAAO,IAAMC,YAAY,GAAGJ,WAAW,CAAC;EACtCK,UAAU,GAAAC,YAAA,0BAAAC,qBAAA,YAAAJ,aAAA,UAAAI,qBAAA,CAAAC,KAAA,OAAAC,SAAA,WAAAC,cAAA,CAAAP,YAAA,EAAAI,qBAAA,SAAAI,YAAA,CAAAR,YAAA,WAAAS,GAAA,wCAAAC,GAAA;;;MAGR,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,OARoCZ,2BAA2B,GAAAI,YAAA,CAClDS,oBAAoB,GAAG,0BAA0B,EAAAT,YAAA,CACjDU,qBAAqB,GAAG,2BAA2B,EAAAV,YAAA;EAOnDQ,+BAA+B,GAAG,MAAM,EAAAR,YAAA;EACxCW,sBAAsB,GAAG,eAAe,EAAAX,YAAA;EACxCY,6BAA6B,GAAG,MAAM,EAAAZ,YAAA;EACtCa,+BAA+B,GAAG,MAAM,EAAAb,YAAA;EACxCc,gCAAgC,GAAG,MAAM,EAAAd,YAAA;EACzCe,8BAA8B,GAAG,MAAM,EAAAf,YAAA;;EAEvCgB,wBAAwB,GAAG,MAAM,EAAAhB,YAAA;EACjCiB,yBAAyB,GAAG,MAAM,EAAAjB,YAAA;EAClCkB,0BAA0B,GAAG,MAAM,EAAAlB,YAAA,CAClD;;EACDmB,cAAc,EAAEtB,YAAY;EAC5BuB,YAAY,EAAE,CAACzB,gBAAgB,CAAC,KAAK,CAAC;AACxC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../../../cjs/internal/themes/DarkTheme5_2.js",
3
+ "module": "DarkTheme5_2",
4
+ "types": "../DarkTheme5_2.d.ts",
5
+ "sideEffects": false
6
+ }
@@ -0,0 +1 @@
1
+ export declare const DarkTheme5_2: Readonly<typeof import("./BasicTheme").BasicThemeClass>;
@@ -0,0 +1,27 @@
1
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
2
+ import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
3
+ var _LightTheme5_;
4
+ import { createTheme, markThemeVersion } from "../../../lib/theming/ThemeHelpers";
5
+ import { BasicThemeClassForExtension } from "../BasicTheme";
6
+ import { LightTheme5_1 } from "../LightTheme5_1";
7
+ export var LightTheme5_2 = createTheme({
8
+ themeClass: (_LightTheme5_ = /*#__PURE__*/function (_BasicThemeClassForEx) {
9
+ function LightTheme5_2() {
10
+ return _BasicThemeClassForEx.apply(this, arguments) || this;
11
+ }
12
+ _inheritsLoose(LightTheme5_2, _BasicThemeClassForEx);
13
+ return _createClass(LightTheme5_2, null, [{
14
+ key: "mobileModalCloseButtonRightPadding",
15
+ get: function get() {
16
+ return this.mobileModalCloseButtonClickArea;
17
+ }
18
+ }, {
19
+ key: "mobileModalCloseButtonTopPadding",
20
+ get: function get() {
21
+ return this.mobileModalCloseButtonClickArea;
22
+ }
23
+ }]);
24
+ }(BasicThemeClassForExtension), _LightTheme5_.mobileModalCloseButtonClickArea = '22px', _LightTheme5_.mobileModalBodyPadding = '0 16px 0 16px', _LightTheme5_.mobileModalContainerMarginTop = '16px', _LightTheme5_.mobileModalContainerMarginRight = '16px', _LightTheme5_.mobileModalContainerMarginBottom = '16px', _LightTheme5_.mobileModalContainerMarginLeft = '16px', _LightTheme5_.miniModalMarginTopMobile = '16px', _LightTheme5_.miniModalMarginLeftMobile = '16px', _LightTheme5_.miniModalMarginRightMobile = '16px', _LightTheme5_),
25
+ prototypeTheme: LightTheme5_1,
26
+ themeMarkers: [markThemeVersion('5.2')]
27
+ });
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createTheme","markThemeVersion","BasicThemeClassForExtension","LightTheme5_1","LightTheme5_2","themeClass","_LightTheme5_","_BasicThemeClassForEx","apply","arguments","_inheritsLoose","_createClass","key","get","mobileModalCloseButtonClickArea","mobileModalBodyPadding","mobileModalContainerMarginTop","mobileModalContainerMarginRight","mobileModalContainerMarginBottom","mobileModalContainerMarginLeft","miniModalMarginTopMobile","miniModalMarginLeftMobile","miniModalMarginRightMobile","prototypeTheme","themeMarkers"],"sources":["LightTheme5_2.ts"],"sourcesContent":["import { createTheme, markThemeVersion } from '../../lib/theming/ThemeHelpers';\n\nimport { BasicThemeClassForExtension } from './BasicTheme';\nimport { LightTheme5_1 } from './LightTheme5_1';\n\nexport const LightTheme5_2 = createTheme({\n themeClass: class LightTheme5_2 extends BasicThemeClassForExtension {\n public static get mobileModalCloseButtonRightPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static get mobileModalCloseButtonTopPadding() {\n return this.mobileModalCloseButtonClickArea;\n }\n public static mobileModalCloseButtonClickArea = '22px';\n public static mobileModalBodyPadding = '0 16px 0 16px';\n public static mobileModalContainerMarginTop = '16px';\n public static mobileModalContainerMarginRight = '16px';\n public static mobileModalContainerMarginBottom = '16px';\n public static mobileModalContainerMarginLeft = '16px';\n\n public static miniModalMarginTopMobile = '16px';\n public static miniModalMarginLeftMobile = '16px';\n public static miniModalMarginRightMobile = '16px';\n },\n prototypeTheme: LightTheme5_1,\n themeMarkers: [markThemeVersion('5.2')],\n});\n"],"mappings":"0JAAA,SAASA,WAAW,EAAEC,gBAAgB,QAAQ,gCAAgC;;AAE9E,SAASC,2BAA2B,QAAQ,cAAc;AAC1D,SAASC,aAAa,QAAQ,iBAAiB;;AAE/C,OAAO,IAAMC,aAAa,GAAGJ,WAAW,CAAC;EACvCK,UAAU,GAAAC,aAAA,0BAAAC,qBAAA,YAAAH,cAAA,UAAAG,qBAAA,CAAAC,KAAA,OAAAC,SAAA,WAAAC,cAAA,CAAAN,aAAA,EAAAG,qBAAA,SAAAI,YAAA,CAAAP,aAAA,WAAAQ,GAAA,wCAAAC,GAAA;MACR,SAAAA,IAAA,EAAuD;QACrD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,MAAAF,GAAA,sCAAAC,GAAA;MACD,SAAAA,IAAA,EAAqD;QACnD,OAAO,IAAI,CAACC,+BAA+B;MAC7C,CAAC,OANqCZ,2BAA2B,GAAAI,aAAA;EAOnDQ,+BAA+B,GAAG,MAAM,EAAAR,aAAA;EACxCS,sBAAsB,GAAG,eAAe,EAAAT,aAAA;EACxCU,6BAA6B,GAAG,MAAM,EAAAV,aAAA;EACtCW,+BAA+B,GAAG,MAAM,EAAAX,aAAA;EACxCY,gCAAgC,GAAG,MAAM,EAAAZ,aAAA;EACzCa,8BAA8B,GAAG,MAAM,EAAAb,aAAA;;EAEvCc,wBAAwB,GAAG,MAAM,EAAAd,aAAA;EACjCe,yBAAyB,GAAG,MAAM,EAAAf,aAAA;EAClCgB,0BAA0B,GAAG,MAAM,EAAAhB,aAAA,CAClD;;EACDiB,cAAc,EAAEpB,aAAa;EAC7BqB,YAAY,EAAE,CAACvB,gBAAgB,CAAC,KAAK,CAAC;AACxC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "../../../cjs/internal/themes/LightTheme5_2.js",
3
+ "module": "LightTheme5_2",
4
+ "types": "../LightTheme5_2.d.ts",
5
+ "sideEffects": false
6
+ }
@@ -0,0 +1 @@
1
+ export declare const LightTheme5_2: Readonly<typeof import("./BasicTheme").BasicThemeClass>;
@@ -1 +1 @@
1
- {"version":3,"names":["EventEmitter","globalObject","ModalStack","add","component","onChange","_ModalStack$getStackI","getStackInfo","emitter","mounted","unshift","changeHandler","concat","_token","addListener","emit","remove","removeListener","_ModalStack$getStackI2","index","indexOf","splice","rerender","_ModalStack$getStackI3","isBlocking","_ModalStack$getStackI4","length","wantsToBlock","globalWithStack","__ReactUIStackInfo","isModal","isSidePage","props","blockBackground","isReactUIInstance","componentName","instance","constructor","Object","prototype","hasOwnProperty","call","__KONTUR_REACT_UI__"],"sources":["ModalStack.ts"],"sourcesContent":["import type React from 'react';\nimport EventEmitter from 'eventemitter3';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport type { SidePageProps } from '../components/SidePage';\nimport type { ModalProps } from '../components/Modal';\n\ninterface StackInfo {\n emitter: EventEmitter;\n mounted: React.Component[];\n}\n\ninterface GlobalWithStackInfo {\n __ReactUIStackInfo?: StackInfo;\n}\n\nexport interface ModalStackSubscription {\n remove: () => void;\n}\n\nexport class ModalStack {\n public static add(\n component: React.Component,\n onChange: (stack: readonly React.Component[]) => void,\n ): ModalStackSubscription {\n const { emitter, mounted } = ModalStack.getStackInfo();\n mounted.unshift(component);\n const changeHandler = () => onChange([...mounted]);\n const _token = emitter.addListener('change', changeHandler);\n emitter.emit('change');\n return {\n remove: () => {\n // Backwards compatible with versions 0.x and 1.w which using the fbemitter package\n if ('remove' in _token) {\n // @ts-expect-error: `remove` is method of `ModalStack`.\n _token.remove();\n return;\n }\n\n emitter.removeListener('change', changeHandler);\n },\n };\n }\n\n public static remove(component: React.Component) {\n const { emitter, mounted } = ModalStack.getStackInfo();\n const index = mounted.indexOf(component);\n if (index !== -1) {\n mounted.splice(index, 1);\n }\n emitter.emit('change');\n }\n public static rerender() {\n const { emitter } = ModalStack.getStackInfo();\n emitter.emit('change');\n }\n\n /**\n * Determines if stack component is allowed to block background\n */\n public static isBlocking(component: React.Component): boolean {\n const { mounted } = ModalStack.getStackInfo();\n for (let index = 0; index < mounted.length; index++) {\n if (ModalStack.wantsToBlock(mounted[index])) {\n // only the highest component in stack\n // that wants to block is allowed to do it\n return component === mounted[index];\n }\n }\n return false;\n }\n\n private static getStackInfo(): StackInfo {\n const globalWithStack = globalObject as GlobalWithStackInfo;\n return (\n globalWithStack.__ReactUIStackInfo ||\n (globalWithStack.__ReactUIStackInfo = {\n emitter: new EventEmitter(),\n mounted: [],\n })\n );\n }\n\n private static wantsToBlock(component: React.Component): boolean {\n if (isModal(component)) {\n return true;\n }\n\n if (isSidePage(component)) {\n return !!component.props.blockBackground;\n }\n\n return false;\n }\n}\n\n/**\n * Specific check for component type by its instance\n */\nconst isReactUIInstance = <T>(componentName: string) => {\n return (instance: React.Component): instance is React.Component<T> => {\n const { constructor } = instance;\n\n return (\n Object.prototype.hasOwnProperty.call(constructor, '__KONTUR_REACT_UI__') &&\n // @ts-expect-error: React doesn't know about existence of __KONTUR_REACT_UI__.\n constructor.__KONTUR_REACT_UI__ === componentName\n );\n };\n};\n\nconst isSidePage = isReactUIInstance<SidePageProps>('SidePage');\n\nconst isModal = isReactUIInstance<ModalProps>('Modal');\n"],"mappings":";AACA,OAAOA,YAAY,MAAM,eAAe;AACxC,SAASC,YAAY,QAAQ,0BAA0B;;;;;;;;;;;;;;;;;;AAkBvD,WAAaC,UAAU,sCAAAA,WAAA,IAAAA,UAAA;EACPC,GAAG,GAAjB,SAAAA;EACEC,SAA0B;EAC1BC,QAAqD;EAC7B;IACxB,IAAAC,qBAAA,GAA6BJ,UAAU,CAACK,YAAY,CAAC,CAAC,CAA9CC,OAAO,GAAAF,qBAAA,CAAPE,OAAO,CAAEC,OAAO,GAAAH,qBAAA,CAAPG,OAAO;IACxBA,OAAO,CAAC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;AAED,IAAMJ,UAAU,GAAGG,iBAAiB,CAAgB,UAAU,CAAC;;AAE/D,IAAMJ,OAAO,GAAGI,iBAAiB,CAAa,OAAO,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["EventEmitter","globalObject","ModalStack","add","component","onChange","_ModalStack$getStackI","getStackInfo","emitter","mounted","unshift","changeHandler","concat","_token","addListener","emit","remove","removeListener","_ModalStack$getStackI2","index","indexOf","splice","rerender","_ModalStack$getStackI3","isBlocking","_ModalStack$getStackI4","length","wantsToBlock","globalWithStack","__ReactUIStackInfo","isModal","isSidePage","props","blockBackground","isReactUIInstance","componentName","instance","constructor","Object","prototype","hasOwnProperty","call","__KONTUR_REACT_UI__"],"sources":["ModalStack.ts"],"sourcesContent":["import type React from 'react';\nimport EventEmitter from 'eventemitter3';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport type { SidePageProps } from '../components/SidePage';\nimport type { ModalProps } from '../components/Modal';\n\ninterface StackInfo {\n emitter: EventEmitter;\n mounted: React.Component[];\n}\n\ninterface GlobalWithStackInfo {\n __ReactUIStackInfo?: StackInfo;\n}\n\nexport interface ModalStackSubscription {\n remove: () => void;\n}\n\nexport class ModalStack {\n public static add(\n component: React.Component,\n onChange: (stack: readonly React.Component[]) => void,\n ): ModalStackSubscription {\n const { emitter, mounted } = ModalStack.getStackInfo();\n mounted.unshift(component);\n const changeHandler = () => onChange([...mounted]);\n const _token = emitter.addListener('change', changeHandler);\n emitter.emit('change');\n return {\n remove: () => {\n // Backwards compatible with versions 0.x and 1.w which using the fbemitter package\n if ('remove' in _token) {\n // @ts-expect-error: `remove` is method of `ModalStack`.\n _token.remove();\n return;\n }\n\n emitter.removeListener('change', changeHandler);\n },\n };\n }\n\n public static remove(component: React.Component) {\n const { emitter, mounted } = ModalStack.getStackInfo();\n const index = mounted.indexOf(component);\n if (index !== -1) {\n mounted.splice(index, 1);\n }\n emitter.emit('change');\n }\n public static rerender() {\n const { emitter } = ModalStack.getStackInfo();\n emitter.emit('change');\n }\n\n /**\n * Determines if stack component is allowed to block background\n */\n public static isBlocking(component: React.Component): boolean {\n const { mounted } = ModalStack.getStackInfo();\n for (let index = 0; index < mounted.length; index++) {\n if (ModalStack.wantsToBlock(mounted[index])) {\n // only the highest component in stack\n // that wants to block is allowed to do it\n return component === mounted[index];\n }\n }\n return false;\n }\n\n public static getStackInfo(): StackInfo {\n const globalWithStack = globalObject as GlobalWithStackInfo;\n return (\n globalWithStack.__ReactUIStackInfo ||\n (globalWithStack.__ReactUIStackInfo = {\n emitter: new EventEmitter(),\n mounted: [],\n })\n );\n }\n\n private static wantsToBlock(component: React.Component): boolean {\n if (isModal(component)) {\n return true;\n }\n\n if (isSidePage(component)) {\n return !!component.props.blockBackground;\n }\n\n return false;\n }\n}\n\n/**\n * Specific check for component type by its instance\n */\nconst isReactUIInstance = <T>(componentName: string) => {\n return (instance: React.Component): instance is React.Component<T> => {\n const { constructor } = instance;\n\n return (\n Object.prototype.hasOwnProperty.call(constructor, '__KONTUR_REACT_UI__') &&\n // @ts-expect-error: React doesn't know about existence of __KONTUR_REACT_UI__.\n constructor.__KONTUR_REACT_UI__ === componentName\n );\n };\n};\n\nconst isSidePage = isReactUIInstance<SidePageProps>('SidePage');\n\nconst isModal = isReactUIInstance<ModalProps>('Modal');\n"],"mappings":";AACA,OAAOA,YAAY,MAAM,eAAe;AACxC,SAASC,YAAY,QAAQ,0BAA0B;;;;;;;;;;;;;;;;;;AAkBvD,WAAaC,UAAU,sCAAAA,WAAA,IAAAA,UAAA;EACPC,GAAG,GAAjB,SAAAA;EACEC,SAA0B;EAC1BC,QAAqD;EAC7B;IACxB,IAAAC,qBAAA,GAA6BJ,UAAU,CAACK,YAAY,CAAC,CAAC,CAA9CC,OAAO,GAAAF,qBAAA,CAAPE,OAAO,CAAEC,OAAO,GAAAH,qBAAA,CAAPG,OAAO;IACxBA,OAAO,CAACC,OAAO,CAACN,SAAS,CAAC;IAC1B,IAAMO,aAAa,GAAG,SAAhBA,aAAaA,CAA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OAAO,GAAGI,iBAAiB,CAAa,OAAO,CAAC","ignoreList":[]}
@@ -1,4 +1,9 @@
1
1
  import type React from 'react';
2
+ import EventEmitter from 'eventemitter3';
3
+ interface StackInfo {
4
+ emitter: EventEmitter;
5
+ mounted: React.Component[];
6
+ }
2
7
  export interface ModalStackSubscription {
3
8
  remove: () => void;
4
9
  }
@@ -10,6 +15,7 @@ export declare class ModalStack {
10
15
  * Determines if stack component is allowed to block background
11
16
  */
12
17
  static isBlocking(component: React.Component): boolean;
13
- private static getStackInfo;
18
+ static getStackInfo(): StackInfo;
14
19
  private static wantsToBlock;
15
20
  }
21
+ export {};
@@ -42,12 +42,15 @@ export var InternalDateGetter = /*#__PURE__*/function () {
42
42
  }
43
43
  return MIN_DATE;
44
44
  };
45
- InternalDateGetter.getDefaultMax = function getDefaultMax(type, components) {
45
+ InternalDateGetter.getDefaultMax = function getDefaultMax(type, components, dateInputAllowInvalidValuesInDays) {
46
46
  if (type === InternalDateComponentType.Year) {
47
47
  return MAX_YEAR;
48
48
  } else if (type === InternalDateComponentType.Month) {
49
49
  return MAX_MONTH;
50
50
  } else if (type === InternalDateComponentType.Date) {
51
+ if (dateInputAllowInvalidValuesInDays) {
52
+ return MAX_DATE;
53
+ }
51
54
  if (components === undefined) {
52
55
  return MAX_DATE;
53
56
  }
@@ -1 +1 @@
1
- {"version":3,"names":["MAX_DATE","MAX_MONTH","MAX_YEAR","MIN_DATE","MIN_MONTH","MIN_YEAR","InternalDateComponentType","calculateMonth","month","getIsLeapYear","year","isDividableByFour","isDividableByOneHundred","isDividableByFourHundred","InternalDateGetter","getMaxDaysInMonth","isLeapYear","calculatedMonth","getValueDateComponent","type","components","Year","Month","date","getDefaultMin","Date","getDefaultMax","undefined","getTodayComponents","getDate","getMonth","getFullYear","max","datesCustom","sort","a","b","toNumber","min"],"sources":["InternalDateGetter.ts"],"sourcesContent":["import { MAX_DATE, MAX_MONTH, MAX_YEAR, MIN_DATE, MIN_MONTH, MIN_YEAR } from './constants';\nimport type { InternalDate } from './InternalDate';\nimport type { InternalDateComponentsRaw, InternalDateComponentRaw, InternalDateComponents } from './types';\nimport { InternalDateComponentType } from './types';\n\nconst calculateMonth = (month: number) => {\n if (month <= 7) {\n return month + 1;\n }\n\n return month;\n};\n\nconst getIsLeapYear = (year: number) => {\n // The year is considered leap if it's either dividable by 4, 100 or 400.\n const isDividableByFour = year % 4 === 0;\n const isDividableByOneHundred = year % 100 === 0;\n const isDividableByFourHundred = year % 400 === 0;\n\n return isDividableByFour || isDividableByOneHundred || isDividableByFourHundred;\n};\n\nexport class InternalDateGetter {\n public static max = (datesCustom: InternalDate[]): InternalDate =>\n datesCustom.sort((a, b) => b.toNumber() - a.toNumber())[0];\n\n public static min = (datesCustom: InternalDate[]): InternalDate =>\n datesCustom.sort((a, b) => a.toNumber() - b.toNumber())[0];\n\n public static getMaxDaysInMonth(month: number, year?: number): number {\n if (month === 2) {\n const isLeapYear = year ? getIsLeapYear(year) : false;\n\n return isLeapYear ? 29 : 28;\n }\n\n const calculatedMonth = calculateMonth(month);\n return calculatedMonth % 2 === 0 ? 31 : 30;\n }\n\n public static getValueDateComponent(\n type: InternalDateComponentType | null,\n components: InternalDateComponentsRaw,\n ): InternalDateComponentRaw {\n if (type === InternalDateComponentType.Year) {\n return components.year;\n }\n\n if (type === InternalDateComponentType.Month) {\n return components.month;\n }\n\n return components.date;\n }\n\n public static getDefaultMin(type: InternalDateComponentType): number {\n if (type === InternalDateComponentType.Year) {\n return MIN_YEAR;\n } else if (type === InternalDateComponentType.Month) {\n return MIN_MONTH;\n } else if (type === InternalDateComponentType.Date) {\n return MIN_DATE;\n }\n return MIN_DATE;\n }\n\n public static getDefaultMax(type: InternalDateComponentType | null, components?: InternalDateComponents): number {\n if (type === InternalDateComponentType.Year) {\n return MAX_YEAR;\n } else if (type === InternalDateComponentType.Month) {\n return MAX_MONTH;\n } else if (type === InternalDateComponentType.Date) {\n if (components === undefined) {\n return MAX_DATE;\n }\n const { year, month } = components;\n return year && month ? InternalDateGetter.getMaxDaysInMonth(month, year) : MAX_DATE;\n }\n return MAX_DATE;\n }\n\n public static getTodayComponents() {\n const date = new Date();\n return {\n date: date.getDate(),\n month: date.getMonth() + 1,\n year: date.getFullYear(),\n };\n }\n}\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,aAAa;;;AAG1F,SAASC,yBAAyB,QAAQ,SAAS;;AAEnD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,KAAa,EAAK;EACxC,IAAIA,KAAK,IAAI,CAAC,EAAE;IACd,OAAOA,KAAK,GAAG,CAAC;EAClB;;EAEA,OAAOA,KAAK;AACd,CAAC;;AAED,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,IAAY,EAAK;EACtC;EACA,IAAMC,iBAAiB,GAAGD,IAAI,GAAG,CAAC,KAAK,CAAC;EACxC,IAAME,uBAAuB,GAAGF,IAAI,GAAG,GAAG,KAAK,CAAC;EAChD,IAAMG,wBAAwB,GAAGH,IAAI,GAAG,GAAG,KAAK,CAAC;;EAEjD,OAAOC,iBAAiB,IAAIC,uBAAuB,IAAIC,wBAAwB;AACjF,CAAC;;AAED,WAAaC,kBAAkB,sCAAAA,mBAAA,IAAAA,kBAAA;;;;;;;EAOfC,iBAAiB,GAA/B,SAAAA,kBAAgCP,KAAa,EAAEE,IAAa,EAAU;IACpE,IAAIF,KAAK,KAAK,CAAC,EAAE;MACf,IAAMQ,UAAU,GAAGN,IAAI,GAAGD,aAAa,CAACC,IAAI,CAAC,GAAG,KAAK;;MAErD,OAAOM,UAAU,GAAG,EAAE,GAAG,EAAE;IAC7B;;IAEA,IAAMC,eAAe,GAAGV,cAAc,CAACC,KAAK,CAAC;IAC7C,OAAOS,eAAe,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,EAAE;EAC5C,CAAC,CAAAH,kBAAA;;EAEaI,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AQ;EACjB,CAAC,CAAAc,kBAAA;;EAEac,kBAAkB,GAAhC,SAAAA,mBAAA,EAAmC;IACjC,IAAML,IAAI,GAAG,IAAIE,IAAI,CAAC,CAAC;IACvB,OAAO;MACLF,IAAI,EAAEA,IAAI,CAACM,OAAO,CAAC,CAAC;MACpBrB,KAAK,EAAEe,IAAI,CAACO,QAAQ,CAAC,CAAC,GAAG,CAAC;MAC1BpB,IAAI,EAAEa,IAAI,CAACQ,WAAW,CAAC;IACzB,CAAC;EACH,CAAC,QAAAjB,kBAAA,KAlEUA,kBAAkB,CACfkB,GAAG,GAAG,UAACC,WAA2B,UAC9CA,WAAW,CAACC,IAAI,CAAC,UAACC,CAAC,EAAEC,CAAC,UAAKA,CAAC,CAACC,QAAQ,CAAC,CAAC,GAAGF,CAAC,CAACE,QAAQ,CAAC,CAAC,GAAC,CAAC,CAAC,CAAC,GAFjDvB,kBAAkB,CAIfwB,GAAG,GAAG,UAACL,WAA2B,UAC9CA,WAAW,CAACC,IAAI,CAAC,UAACC,CAAC,EAAEC,CAAC,UAAKD,CAAC,CAACE,QAAQ,CAAC,CAAC,GAAGD,CAAC,CAACC,QAAQ,CAAC,CAAC,GAAC,CAAC,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["MAX_DATE","MAX_MONTH","MAX_YEAR","MIN_DATE","MIN_MONTH","MIN_YEAR","InternalDateComponentType","calculateMonth","month","getIsLeapYear","year","isDividableByFour","isDividableByOneHundred","isDividableByFourHundred","InternalDateGetter","getMaxDaysInMonth","isLeapYear","calculatedMonth","getValueDateComponent","type","components","Year","Month","date","getDefaultMin","Date","getDefaultMax","dateInputAllowInvalidValuesInDays","undefined","getTodayComponents","getDate","getMonth","getFullYear","max","datesCustom","sort","a","b","toNumber","min"],"sources":["InternalDateGetter.ts"],"sourcesContent":["import { MAX_DATE, MAX_MONTH, MAX_YEAR, MIN_DATE, MIN_MONTH, MIN_YEAR } from './constants';\nimport type { InternalDate } from './InternalDate';\nimport type { InternalDateComponentsRaw, InternalDateComponentRaw, InternalDateComponents } from './types';\nimport { InternalDateComponentType } from './types';\n\nconst calculateMonth = (month: number) => {\n if (month <= 7) {\n return month + 1;\n }\n\n return month;\n};\n\nconst getIsLeapYear = (year: number) => {\n // The year is considered leap if it's either dividable by 4, 100 or 400.\n const isDividableByFour = year % 4 === 0;\n const isDividableByOneHundred = year % 100 === 0;\n const isDividableByFourHundred = year % 400 === 0;\n\n return isDividableByFour || isDividableByOneHundred || isDividableByFourHundred;\n};\n\nexport class InternalDateGetter {\n public static max = (datesCustom: InternalDate[]): InternalDate =>\n datesCustom.sort((a, b) => b.toNumber() - a.toNumber())[0];\n\n public static min = (datesCustom: InternalDate[]): InternalDate =>\n datesCustom.sort((a, b) => a.toNumber() - b.toNumber())[0];\n\n public static getMaxDaysInMonth(month: number, year?: number): number {\n if (month === 2) {\n const isLeapYear = year ? getIsLeapYear(year) : false;\n\n return isLeapYear ? 29 : 28;\n }\n\n const calculatedMonth = calculateMonth(month);\n return calculatedMonth % 2 === 0 ? 31 : 30;\n }\n\n public static getValueDateComponent(\n type: InternalDateComponentType | null,\n components: InternalDateComponentsRaw,\n ): InternalDateComponentRaw {\n if (type === InternalDateComponentType.Year) {\n return components.year;\n }\n\n if (type === InternalDateComponentType.Month) {\n return components.month;\n }\n\n return components.date;\n }\n\n public static getDefaultMin(type: InternalDateComponentType): number {\n if (type === InternalDateComponentType.Year) {\n return MIN_YEAR;\n } else if (type === InternalDateComponentType.Month) {\n return MIN_MONTH;\n } else if (type === InternalDateComponentType.Date) {\n return MIN_DATE;\n }\n return MIN_DATE;\n }\n\n public static getDefaultMax(\n type: InternalDateComponentType | null,\n components?: InternalDateComponents,\n dateInputAllowInvalidValuesInDays?: boolean,\n ): number {\n if (type === InternalDateComponentType.Year) {\n return MAX_YEAR;\n } else if (type === InternalDateComponentType.Month) {\n return MAX_MONTH;\n } else if (type === InternalDateComponentType.Date) {\n if (dateInputAllowInvalidValuesInDays) {\n return MAX_DATE;\n }\n if (components === undefined) {\n return MAX_DATE;\n }\n const { year, month } = components;\n return year && month ? InternalDateGetter.getMaxDaysInMonth(month, year) : MAX_DATE;\n }\n return MAX_DATE;\n }\n\n public static getTodayComponents() {\n const date = new Date();\n return {\n date: date.getDate(),\n month: date.getMonth() + 1,\n year: date.getFullYear(),\n };\n }\n}\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,QAAQ,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,aAAa;;;AAG1F,SAASC,yBAAyB,QAAQ,SAAS;;AAEnD,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,KAAa,EAAK;EACxC,IAAIA,KAAK,IAAI,CAAC,EAAE;IACd,OAAOA,KAAK,GAAG,CAAC;EAClB;;EAEA,OAAOA,KAAK;AACd,CAAC;;AAED,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,IAAY,EAAK;EACtC;EACA,IAAMC,iBAAiB,GAAGD,IAAI,GAAG,CAAC,KAAK,CAAC;EACxC,IAAME,uBAAuB,GAAGF,IAAI,GAAG,GAAG,KAAK,CAAC;EAChD,IAAMG,wBAAwB,GAAGH,IAAI,GAAG,GAAG,KAAK,CAAC;;EAEjD,OAAOC,iBAAiB,IAAIC,uBAAuB,IAAIC,wBAAwB;AACjF,CAAC;;AAED,WAAaC,kBAAkB,sCAAAA,mBAAA,IAAAA,kBAAA;;;;;;;EAOfC,iBAAiB,GAA/B,SAAAA,kBAAgCP,KAAa,EAAEE,IAAa,EAAU;IACpE,IAAIF,KAAK,KAAK,CAAC,EAAE;MACf,IAAMQ,UAAU,GAAGN,IAAI,GAAGD,aAAa,CAACC,IAAI,CAAC,GAAG,KAAK;;MAErD,OAAOM,UAAU,GAAG,EAAE,GAAG,EAAE;IAC7B;;IAEA,IAAMC,eAAe,GAAGV,cAAc,CAACC,KAAK,CAAC;IAC7C,OAAOS,eAAe,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,G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IAAI,IAAIF,KAAK,GAAGM,kBAAkB,CAACC,iBAAiB,CAACP,KAAK,EAAEE,IAAI,CAAC,GAAGV,QAAQ;IACrF;IACA,OAAOA,QAAQ;EACjB,CAAC,CAAAc,kBAAA;;EAEae,kBAAkB,GAAhC,SAAAA,mBAAA,EAAmC;IACjC,IAAMN,IAAI,GAAG,IAAIE,IAAI,CAAC,CAAC;IACvB,OAAO;MACLF,IAAI,EAAEA,IAAI,CAACO,OAAO,CAAC,CAAC;MACpBtB,KAAK,EAAEe,IAAI,CAACQ,QAAQ,CAAC,CAAC,GAAG,CAAC;MAC1BrB,IAAI,EAAEa,IAAI,CAACS,WAAW,CAAC;IACzB,CAAC;EACH,CAAC,QAAAlB,kBAAA,KAzEUA,kBAAkB,CACfmB,GAAG,GAAG,UAACC,WAA2B,UAC9CA,WAAW,CAACC,IAAI,CAAC,UAACC,CAAC,EAAEC,CAAC,UAAKA,CAAC,CAACC,QAAQ,CAAC,CAAC,GAAGF,CAAC,CAACE,QAAQ,CAAC,CAAC,GAAC,CAAC,CAAC,CAAC,GAFjDxB,kBAAkB,CAIfyB,GAAG,GAAG,UAACL,WAA2B,UAC9CA,WAAW,CAACC,IAAI,CAAC,UAACC,CAAC,EAAEC,CAAC,UAAKD,CAAC,CAACE,QAAQ,CAAC,CAAC,GAAGD,CAAC,CAACC,QAAQ,CAAC,CAAC,GAAC,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -7,7 +7,7 @@ export declare class InternalDateGetter {
7
7
  static getMaxDaysInMonth(month: number, year?: number): number;
8
8
  static getValueDateComponent(type: InternalDateComponentType | null, components: InternalDateComponentsRaw): InternalDateComponentRaw;
9
9
  static getDefaultMin(type: InternalDateComponentType): number;
10
- static getDefaultMax(type: InternalDateComponentType | null, components?: InternalDateComponents): number;
10
+ static getDefaultMax(type: InternalDateComponentType | null, components?: InternalDateComponents, dateInputAllowInvalidValuesInDays?: boolean): number;
11
11
  static getTodayComponents(): {
12
12
  date: number;
13
13
  month: number;
@@ -1,5 +1,8 @@
1
1
  import type { ReactUIFeatureFlags } from './ReactUIFeatureFlagsContext';
2
2
  export declare const getFullReactUIFlagsContext: (flags: ReactUIFeatureFlags) => {
3
+ dateInputFixSameNumberTypingOnRefocus?: boolean | undefined;
4
+ dateInputAllowInvalidValuesInDays?: boolean | undefined;
3
5
  comboBoxAllowValueChangeInEditingState?: boolean | undefined;
4
6
  stickyReduceLayoutEvents?: boolean | undefined;
7
+ radioGroupRemoveBaselineSpacer?: boolean | undefined;
5
8
  };
@@ -1,7 +1,10 @@
1
1
  import React from 'react';
2
2
  export var reactUIFeatureFlagsDefault = {
3
+ dateInputFixSameNumberTypingOnRefocus: false,
4
+ dateInputAllowInvalidValuesInDays: false,
3
5
  comboBoxAllowValueChangeInEditingState: false,
4
- stickyReduceLayoutEvents: false
6
+ stickyReduceLayoutEvents: false,
7
+ radioGroupRemoveBaselineSpacer: false
5
8
  };
6
9
  export var ReactUIFeatureFlagsContext = /*#__PURE__*/React.createContext(reactUIFeatureFlagsDefault);
7
10
  ReactUIFeatureFlagsContext.displayName = 'ReactUIFeatureFlagsContext';
@@ -1 +1 @@
1
- {"version":3,"names":["React","reactUIFeatureFlagsDefault","comboBoxAllowValueChangeInEditingState","stickyReduceLayoutEvents","ReactUIFeatureFlagsContext","createContext","displayName","__KONTUR_REACT_UI__"],"sources":["ReactUIFeatureFlagsContext.tsx"],"sourcesContent":["import React from 'react';\n\nexport interface ReactUIFeatureFlags {\n comboBoxAllowValueChangeInEditingState?: boolean;\n stickyReduceLayoutEvents?: boolean;\n}\n\nexport const reactUIFeatureFlagsDefault: ReactUIFeatureFlags = {\n comboBoxAllowValueChangeInEditingState: false,\n stickyReduceLayoutEvents: false,\n};\n\nexport const ReactUIFeatureFlagsContext = React.createContext<ReactUIFeatureFlags>(reactUIFeatureFlagsDefault);\n\nReactUIFeatureFlagsContext.displayName = 'ReactUIFeatureFlagsContext';\nReactUIFeatureFlagsContext.__KONTUR_REACT_UI__ = 'ReactUIFeatureFlagsContext';\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;;;;;;AAOzB,OAAO,IAAMC,0BAA+C,GAAG;EAC7DC,sCAAsC,EAAE,KAAK;EAC7CC,wBAAwB,EAAE;AAC5B,CAAC;;AAED,OAAO,IAAMC,0BAA0B,gBAAGJ,KAAK,CAACK,aAAa,CAAsBJ,0BAA0B,CAAC;;AAE9GG,0BAA0B,CAACE,WAAW,GAAG,4BAA4B;AACrEF,0BAA0B,CAACG,mBAAmB,GAAG,4BAA4B","ignoreList":[]}
1
+ {"version":3,"names":["React","reactUIFeatureFlagsDefault","dateInputFixSameNumberTypingOnRefocus","dateInputAllowInvalidValuesInDays","comboBoxAllowValueChangeInEditingState","stickyReduceLayoutEvents","radioGroupRemoveBaselineSpacer","ReactUIFeatureFlagsContext","createContext","displayName","__KONTUR_REACT_UI__"],"sources":["ReactUIFeatureFlagsContext.tsx"],"sourcesContent":["import React from 'react';\n\nexport interface ReactUIFeatureFlags {\n dateInputFixSameNumberTypingOnRefocus?: boolean;\n dateInputAllowInvalidValuesInDays?: boolean;\n comboBoxAllowValueChangeInEditingState?: boolean;\n stickyReduceLayoutEvents?: boolean;\n radioGroupRemoveBaselineSpacer?: boolean;\n}\n\nexport const reactUIFeatureFlagsDefault: ReactUIFeatureFlags = {\n dateInputFixSameNumberTypingOnRefocus: false,\n dateInputAllowInvalidValuesInDays: false,\n comboBoxAllowValueChangeInEditingState: false,\n stickyReduceLayoutEvents: false,\n radioGroupRemoveBaselineSpacer: false,\n};\n\nexport const ReactUIFeatureFlagsContext = React.createContext<ReactUIFeatureFlags>(reactUIFeatureFlagsDefault);\n\nReactUIFeatureFlagsContext.displayName = 'ReactUIFeatureFlagsContext';\nReactUIFeatureFlagsContext.__KONTUR_REACT_UI__ = 'ReactUIFeatureFlagsContext';\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;;;;;;;;;AAUzB,OAAO,IAAMC,0BAA+C,GAAG;EAC7DC,qCAAqC,EAAE,KAAK;EAC5CC,iCAAiC,EAAE,KAAK;EACxCC,sCAAsC,EAAE,KAAK;EAC7CC,wBAAwB,EAAE,KAAK;EAC/BC,8BAA8B,EAAE;AAClC,CAAC;;AAED,OAAO,IAAMC,0BAA0B,gBAAGP,KAAK,CAACQ,aAAa,CAAsBP,0BAA0B,CAAC;;AAE9GM,0BAA0B,CAACE,WAAW,GAAG,4BAA4B;AACrEF,0BAA0B,CAACG,mBAAmB,GAAG,4BAA4B","ignoreList":[]}
@@ -1,7 +1,10 @@
1
1
  import React from 'react';
2
2
  export interface ReactUIFeatureFlags {
3
+ dateInputFixSameNumberTypingOnRefocus?: boolean;
4
+ dateInputAllowInvalidValuesInDays?: boolean;
3
5
  comboBoxAllowValueChangeInEditingState?: boolean;
4
6
  stickyReduceLayoutEvents?: boolean;
7
+ radioGroupRemoveBaselineSpacer?: boolean;
5
8
  }
6
9
  export declare const reactUIFeatureFlagsDefault: ReactUIFeatureFlags;
7
10
  export declare const ReactUIFeatureFlagsContext: React.Context<ReactUIFeatureFlags>;
@@ -1 +1 @@
1
- {"version":3,"names":["parseThemeVersion","str","separator","match","RegExp","major","minor","Number","parseVersionFromThemeName","name","isThemeVersionGTE","v1","v2","parsedV1","parsedV2"],"sources":["ThemeVersions.ts"],"sourcesContent":["export type ThemeVersions = '5.0' | '5.1';\nexport interface ThemeVersionParsed {\n major: number;\n minor: number;\n}\n\n/**\n * Converts a string theme version to the object with numbers\n * @param str A string with version (e.g. \"1.0\")\n * @param [separator=\".\"] Optional major and minor string separator. By default is \".\"\n * @returns An object of type { major: number; minor: number } or null, if the given string is invalid\n */\nexport const parseThemeVersion = (str: string, separator: string = '\\\\.'): ThemeVersionParsed | null => {\n const match = str.match(new RegExp(`(\\\\d+)${separator}(\\\\d+)`));\n const major = match?.[1];\n const minor = match?.[2];\n\n if (!major || !minor) {\n return null;\n }\n\n return {\n major: Number(major),\n minor: Number(minor),\n };\n};\n\n/**\n * Extracts a version from a theme name\n * @param name A string theme name (e.g. \"LIGHT_THEME_1_0\")\n * @returns An object of type { major: number; minor: number } or null, if the given string is invalid or contains no version\n */\nexport const parseVersionFromThemeName = (name: string): ThemeVersionParsed | null => {\n return parseThemeVersion(name, '_');\n};\n\n/**\n * Checks if one string theme version is \"greater or equal\" than another one\n * @param v1 The version being compared (e.g. \"1.0\")\n * @param v2 The version being compared to (e.g. \"2.0\")\n * @returns Boolean result\n */\nexport const isThemeVersionGTE = (v1: ThemeVersions, v2: ThemeVersions): boolean => {\n const parsedV1 = parseThemeVersion(v1);\n const parsedV2 = parseThemeVersion(v2);\n\n if (!parsedV1 || !parsedV2) {\n return false;\n }\n\n if (parsedV1.major > parsedV2.major) {\n return true;\n } else if (parsedV1.major === parsedV2.major) {\n return parsedV1.minor >= parsedV2.minor;\n }\n\n return false;\n};\n"],"mappings":";;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,GAAW,EAAEC,SAAiB,EAAwC,KAAzDA,SAAiB,cAAjBA,SAAiB,GAAG,KAAK;EACtE,IAAMC,KAAK,GAAGF,GAAG,CAACE,KAAK,CAAC,IAAIC,MAAM,YAAUF,SAAS,WAAQ,CAAC,CAAC;EAC/D,IAAMG,KAAK,GAAGF,KAAK,oBAALA,KAAK,CAAG,CAAC,CAAC;EACxB,IAAMG,KAAK,GAAGH,KAAK,oBAALA,KAAK,CAAG,CAAC,CAAC;;EAExB,IAAI,CAACE,KAAK,IAAI,CAACC,KAAK,EAAE;IACpB,OAAO,IAAI;EACb;;EAEA,OAAO;IACLD,KAAK,EAAEE,MAAM,CAACF,KAAK,CAAC;IACpBC,KAAK,EAAEC,MAAM,CAACD,KAAK;EACrB,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,IAAME,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAIC,IAAY,EAAgC;EACpF,OAAOT,iBAAiB,CAACS,IAAI,EAAE,GAAG,CAAC;AACrC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,EAAiB,EAAEC,EAAiB,EAAc;EAClF,IAAMC,QAAQ,GAAGb,iBAAiB,CAACW,EAAE,CAAC;EACtC,IAAMG,QAAQ,GAAGd,iBAAiB,CAACY,EAAE,CAAC;;EAEtC,IAAI,CAACC,QAAQ,IAAI,CAACC,QAAQ,EAAE;IAC1B,OAAO,KAAK;EACd;;EAEA,IAAID,QAAQ,CAACR,KAAK,GAAGS,QAAQ,CAACT,KAAK,EAAE;IACnC,OAAO,IAAI;EACb,CAAC,MAAM,IAAIQ,QAAQ,CAACR,KAAK,KAAKS,QAAQ,CAACT,KAAK,EAAE;IAC5C,OAAOQ,QAAQ,CAACP,KAAK,IAAIQ,QAAQ,CAACR,KAAK;EACzC;;EAEA,OAAO,KAAK;AACd,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["parseThemeVersion","str","separator","match","RegExp","major","minor","Number","parseVersionFromThemeName","name","isThemeVersionGTE","v1","v2","parsedV1","parsedV2"],"sources":["ThemeVersions.ts"],"sourcesContent":["export type ThemeVersions = '5.0' | '5.1' | '5.2';\nexport interface ThemeVersionParsed {\n major: number;\n minor: number;\n}\n\n/**\n * Converts a string theme version to the object with numbers\n * @param str A string with version (e.g. \"1.0\")\n * @param [separator=\".\"] Optional major and minor string separator. By default is \".\"\n * @returns An object of type { major: number; minor: number } or null, if the given string is invalid\n */\nexport const parseThemeVersion = (str: string, separator: string = '\\\\.'): ThemeVersionParsed | null => {\n const match = str.match(new RegExp(`(\\\\d+)${separator}(\\\\d+)`));\n const major = match?.[1];\n const minor = match?.[2];\n\n if (!major || !minor) {\n return null;\n }\n\n return {\n major: Number(major),\n minor: Number(minor),\n };\n};\n\n/**\n * Extracts a version from a theme name\n * @param name A string theme name (e.g. \"LIGHT_THEME_1_0\")\n * @returns An object of type { major: number; minor: number } or null, if the given string is invalid or contains no version\n */\nexport const parseVersionFromThemeName = (name: string): ThemeVersionParsed | null => {\n return parseThemeVersion(name, '_');\n};\n\n/**\n * Checks if one string theme version is \"greater or equal\" than another one\n * @param v1 The version being compared (e.g. \"1.0\")\n * @param v2 The version being compared to (e.g. \"2.0\")\n * @returns Boolean result\n */\nexport const isThemeVersionGTE = (v1: ThemeVersions, v2: ThemeVersions): boolean => {\n const parsedV1 = parseThemeVersion(v1);\n const parsedV2 = parseThemeVersion(v2);\n\n if (!parsedV1 || !parsedV2) {\n return false;\n }\n\n if (parsedV1.major > parsedV2.major) {\n return true;\n } else if (parsedV1.major === parsedV2.major) {\n return parsedV1.minor >= parsedV2.minor;\n }\n\n return false;\n};\n"],"mappings":";;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,GAAW,EAAEC,SAAiB,EAAwC,KAAzDA,SAAiB,cAAjBA,SAAiB,GAAG,KAAK;EACtE,IAAMC,KAAK,GAAGF,GAAG,CAACE,KAAK,CAAC,IAAIC,MAAM,YAAUF,SAAS,WAAQ,CAAC,CAAC;EAC/D,IAAMG,KAAK,GAAGF,KAAK,oBAALA,KAAK,CAAG,CAAC,CAAC;EACxB,IAAMG,KAAK,GAAGH,KAAK,oBAALA,KAAK,CAAG,CAAC,CAAC;;EAExB,IAAI,CAACE,KAAK,IAAI,CAACC,KAAK,EAAE;IACpB,OAAO,IAAI;EACb;;EAEA,OAAO;IACLD,KAAK,EAAEE,MAAM,CAACF,KAAK,CAAC;IACpBC,KAAK,EAAEC,MAAM,CAACD,KAAK;EACrB,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,OAAO,IAAME,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAIC,IAAY,EAAgC;EACpF,OAAOT,iBAAiB,CAACS,IAAI,EAAE,GAAG,CAAC;AACrC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,EAAiB,EAAEC,EAAiB,EAAc;EAClF,IAAMC,QAAQ,GAAGb,iBAAiB,CAACW,EAAE,CAAC;EACtC,IAAMG,QAAQ,GAAGd,iBAAiB,CAACY,EAAE,CAAC;;EAEtC,IAAI,CAACC,QAAQ,IAAI,CAACC,QAAQ,EAAE;IAC1B,OAAO,KAAK;EACd;;EAEA,IAAID,QAAQ,CAACR,KAAK,GAAGS,QAAQ,CAACT,KAAK,EAAE;IACnC,OAAO,IAAI;EACb,CAAC,MAAM,IAAIQ,QAAQ,CAACR,KAAK,KAAKS,QAAQ,CAACT,KAAK,EAAE;IAC5C,OAAOQ,QAAQ,CAACP,KAAK,IAAIQ,QAAQ,CAACR,KAAK;EACzC;;EAEA,OAAO,KAAK;AACd,CAAC","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- export type ThemeVersions = '5.0' | '5.1';
1
+ export type ThemeVersions = '5.0' | '5.1' | '5.2';
2
2
  export interface ThemeVersionParsed {
3
3
  major: number;
4
4
  minor: number;
@@ -1,5 +1,7 @@
1
1
  import { DarkTheme5_0 } from "../../../../internal/themes/DarkTheme5_0";
2
2
  import { DarkTheme5_1 } from "../../../../internal/themes/DarkTheme5_1";
3
+ import { DarkTheme5_2 } from "../../../../internal/themes/DarkTheme5_2";
3
4
  export var DARK_THEME_5_0 = DarkTheme5_0;
4
5
  export var DARK_THEME_5_1 = DarkTheme5_1;
5
- export var DARK_THEME = DARK_THEME_5_1;
6
+ export var DARK_THEME_5_2 = DarkTheme5_2;
7
+ export var DARK_THEME = DARK_THEME_5_2;
@@ -1 +1 @@
1
- {"version":3,"names":["DarkTheme5_0","DarkTheme5_1","DARK_THEME_5_0","DARK_THEME_5_1","DARK_THEME"],"sources":["DarkTheme.ts"],"sourcesContent":["import { DarkTheme5_0 } from '../../../internal/themes/DarkTheme5_0';\nimport { DarkTheme5_1 } from '../../../internal/themes/DarkTheme5_1';\n\nexport const DARK_THEME_5_0 = DarkTheme5_0;\nexport const DARK_THEME_5_1 = DarkTheme5_1;\n\nexport const DARK_THEME = DARK_THEME_5_1;\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,uCAAuC;AACpE,SAASC,YAAY,QAAQ,uCAAuC;;AAEpE,OAAO,IAAMC,cAAc,GAAGF,YAAY;AAC1C,OAAO,IAAMG,cAAc,GAAGF,YAAY;;AAE1C,OAAO,IAAMG,UAAU,GAAGD,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["DarkTheme5_0","DarkTheme5_1","DarkTheme5_2","DARK_THEME_5_0","DARK_THEME_5_1","DARK_THEME_5_2","DARK_THEME"],"sources":["DarkTheme.ts"],"sourcesContent":["import { DarkTheme5_0 } from '../../../internal/themes/DarkTheme5_0';\nimport { DarkTheme5_1 } from '../../../internal/themes/DarkTheme5_1';\nimport { DarkTheme5_2 } from '../../../internal/themes/DarkTheme5_2';\n\nexport const DARK_THEME_5_0 = DarkTheme5_0;\nexport const DARK_THEME_5_1 = DarkTheme5_1;\nexport const DARK_THEME_5_2 = DarkTheme5_2;\n\nexport const DARK_THEME = DARK_THEME_5_2;\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,uCAAuC;AACpE,SAASC,YAAY,QAAQ,uCAAuC;AACpE,SAASC,YAAY,QAAQ,uCAAuC;;AAEpE,OAAO,IAAMC,cAAc,GAAGH,YAAY;AAC1C,OAAO,IAAMI,cAAc,GAAGH,YAAY;AAC1C,OAAO,IAAMI,cAAc,GAAGH,YAAY;;AAE1C,OAAO,IAAMI,UAAU,GAAGD,cAAc","ignoreList":[]}
@@ -1,3 +1,4 @@
1
1
  export declare const DARK_THEME_5_0: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
2
2
  export declare const DARK_THEME_5_1: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
3
+ export declare const DARK_THEME_5_2: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
3
4
  export declare const DARK_THEME: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
@@ -1,5 +1,7 @@
1
1
  import { LightTheme5_0 } from "../../../../internal/themes/LightTheme5_0";
2
2
  import { LightTheme5_1 } from "../../../../internal/themes/LightTheme5_1";
3
+ import { LightTheme5_2 } from "../../../../internal/themes/LightTheme5_2";
3
4
  export var LIGHT_THEME_5_0 = LightTheme5_0;
4
5
  export var LIGHT_THEME_5_1 = LightTheme5_1;
5
- export var LIGHT_THEME = LIGHT_THEME_5_1;
6
+ export var LIGHT_THEME_5_2 = LightTheme5_2;
7
+ export var LIGHT_THEME = LIGHT_THEME_5_2;
@@ -1 +1 @@
1
- {"version":3,"names":["LightTheme5_0","LightTheme5_1","LIGHT_THEME_5_0","LIGHT_THEME_5_1","LIGHT_THEME"],"sources":["LightTheme.ts"],"sourcesContent":["import { LightTheme5_0 } from '../../../internal/themes/LightTheme5_0';\nimport { LightTheme5_1 } from '../../../internal/themes/LightTheme5_1';\n\nexport const LIGHT_THEME_5_0 = LightTheme5_0;\nexport const LIGHT_THEME_5_1 = LightTheme5_1;\n\nexport const LIGHT_THEME = LIGHT_THEME_5_1;\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,wCAAwC;AACtE,SAASC,aAAa,QAAQ,wCAAwC;;AAEtE,OAAO,IAAMC,eAAe,GAAGF,aAAa;AAC5C,OAAO,IAAMG,eAAe,GAAGF,aAAa;;AAE5C,OAAO,IAAMG,WAAW,GAAGD,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["LightTheme5_0","LightTheme5_1","LightTheme5_2","LIGHT_THEME_5_0","LIGHT_THEME_5_1","LIGHT_THEME_5_2","LIGHT_THEME"],"sources":["LightTheme.ts"],"sourcesContent":["import { LightTheme5_0 } from '../../../internal/themes/LightTheme5_0';\nimport { LightTheme5_1 } from '../../../internal/themes/LightTheme5_1';\nimport { LightTheme5_2 } from '../../../internal/themes/LightTheme5_2';\n\nexport const LIGHT_THEME_5_0 = LightTheme5_0;\nexport const LIGHT_THEME_5_1 = LightTheme5_1;\nexport const LIGHT_THEME_5_2 = LightTheme5_2;\n\nexport const LIGHT_THEME = LIGHT_THEME_5_2;\n"],"mappings":"AAAA,SAASA,aAAa,QAAQ,wCAAwC;AACtE,SAASC,aAAa,QAAQ,wCAAwC;AACtE,SAASC,aAAa,QAAQ,wCAAwC;;AAEtE,OAAO,IAAMC,eAAe,GAAGH,aAAa;AAC5C,OAAO,IAAMI,eAAe,GAAGH,aAAa;AAC5C,OAAO,IAAMI,eAAe,GAAGH,aAAa;;AAE5C,OAAO,IAAMI,WAAW,GAAGD,eAAe","ignoreList":[]}
@@ -1,3 +1,4 @@
1
1
  export declare const LIGHT_THEME_5_0: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
2
2
  export declare const LIGHT_THEME_5_1: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
3
+ export declare const LIGHT_THEME_5_2: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
3
4
  export declare const LIGHT_THEME: Readonly<typeof import("../../../internal/themes/BasicTheme").BasicThemeClass>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skbkontur/react-ui",
3
- "version": "5.1.7",
3
+ "version": "5.2.0",
4
4
  "description": "UI Components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "index.js",
@@ -14,7 +14,7 @@
14
14
  "url": "https://github.com/skbkontur/retail-ui/issues"
15
15
  },
16
16
  "scripts": {
17
- "prebuild": "run-s clean build:types",
17
+ "prebuild": "run-s clean \"build:types\"",
18
18
  "build:types": "tsc -p ./prod.tsconfig.json --emitDeclarationOnly --diagnostics --outDir build",
19
19
  "build:cjs": "cross-env BABEL_ENV=cjs node scripts/build",
20
20
  "build:esm": "node scripts/build",
@@ -26,10 +26,10 @@
26
26
  "deploy-old-docs": "gh-pages -a -d .styleguide/deploy -r git@github.com:skbkontur/react-ui.git",
27
27
  "storybook": "node ../../scripts/patch-node-options.js \"storybook dev -p 6060\"",
28
28
  "storybook:build": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_TEST=true storybook build -o .storybook/build --quiet\"",
29
- "storybook:docs-build": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_DOCS=true storybook build --docs -o .storybook/build --quiet\"",
29
+ "storybook:docs-build": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_DOCS=true storybook build --docs -c .storybook-docs -o .storybook/build --quiet\"",
30
30
  "storybook:test": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_TEST=true storybook dev --ci -p 6060\"",
31
- "storybook:docs": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_DOCS=true storybook dev --docs -p 6061\"",
32
- "storybook:serve": "serve -l 6060 .storybook/build",
31
+ "storybook:docs": "node ../../scripts/patch-node-options.js \"cross-env STORYBOOK_REACT_UI_DOCS=true storybook dev --docs -p 6061 -c .storybook-docs\"",
32
+ "storybook:serve": "yarn serve -l 6060 .storybook/build",
33
33
  "styleguide": "node ../../scripts/patch-node-options.js \"styleguidist server --config .styleguide/config/dev.config.js\"",
34
34
  "styleguide:build": "node ../../scripts/patch-node-options.js \"node .styleguide/build\"",
35
35
  "lint": "run-p -c lint:*",
@@ -42,6 +42,7 @@
42
42
  "test": "jest --detectOpenHandles",
43
43
  "test:watch": "yarn test --watch",
44
44
  "creevey": "node ../../scripts/creevey-prepare.js .creevey/config.mts && cross-env BABEL_ENV=cjs creevey -c .creevey/config.mts",
45
+ "creevey:ci": "start-server-and-test storybook:serve http://localhost:6060 creevey",
45
46
  "creevey:update": "cross-env BABEL_ENV=cjs creevey -c .creevey/config.mts --update",
46
47
  "creevey:ui": "yarn creevey --ui",
47
48
  "report:eslint": "yarn eslint -f eslint-html-reporter/reporter.js -o reports/eslint/index.html"
@@ -77,7 +78,6 @@
77
78
  "@babel/preset-react": "^7.24.6",
78
79
  "@babel/preset-typescript": "^7.24.6",
79
80
  "@babel/register": "^7.24.6",
80
- "@cfaester/enzyme-adapter-react-18": "^0.8.0",
81
81
  "@skbkontur/icons": "1.10.0",
82
82
  "@skbkontur/react-props2attrs": "0.1.3",
83
83
  "@skbkontur/react-sorge": "0.2.1",
@@ -96,7 +96,6 @@
96
96
  "@testing-library/react": "15.0.7",
97
97
  "@testing-library/react-hooks": "^8.0.1",
98
98
  "@testing-library/user-event": "14.5.2",
99
- "@types/enzyme": "^3.10.10",
100
99
  "@types/invariant": "^2.2.35",
101
100
  "@types/jest": "29.5.12",
102
101
  "@types/jest-axe": "^3.5.3",
@@ -118,12 +117,11 @@
118
117
  "chalk": "4.1.0",
119
118
  "copyfiles": "^2.4.1",
120
119
  "core-js": "^3.37.1",
121
- "creevey": "0.10.0-beta.13",
120
+ "creevey": "0.10.0-beta.47",
122
121
  "cross-env": "^7.0.3",
123
122
  "css-loader": "^7.1.2",
124
123
  "dotenv": "^16.4.5",
125
124
  "dts-css-modules-loader": "^2.0.1",
126
- "enzyme": "^3.11.0",
127
125
  "eslint-plugin-jest": "28.5.0",
128
126
  "eslint-plugin-jest-dom": "^5.4.0",
129
127
  "eslint-plugin-react-hooks": "^4.6.2",
@@ -138,6 +136,7 @@
138
136
  "jest": "29.7.0",
139
137
  "jest-axe": "^8.0.0",
140
138
  "jest-environment-jsdom": "^29.7.0",
139
+ "jest-junit": "^16.0.0",
141
140
  "jest-teamcity-reporter": "^0.9.0",
142
141
  "npm-run-all": "^4.1.5",
143
142
  "output-file-sync": "^2.0.1",
@@ -149,6 +148,7 @@
149
148
  "selenium-webdriver": "^4.27.0",
150
149
  "semver": "^7.6.2",
151
150
  "serve": "^13.0.2",
151
+ "start-server-and-test": "1.14.0",
152
152
  "storybook": "7.6.18",
153
153
  "string-replace-loader": "3.1.0",
154
154
  "style-loader": "^4.0.0",