@skbkontur/react-ui 0.0.0-30619a873c → 0.0.0-32550fb571

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 (935) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  3. package/cjs/components/Button/Button.d.ts +0 -1
  4. package/cjs/components/Button/Button.js +2 -2
  5. package/cjs/components/Button/Button.js.map +1 -1
  6. package/cjs/components/Button/__creevey__/Button.creevey.mts +251 -0
  7. package/cjs/components/Calendar/DayCellView.styles.js +1 -17
  8. package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
  9. package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  10. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  11. package/cjs/components/ComboBox/ComboBox.d.ts +12 -3
  12. package/cjs/components/ComboBox/ComboBox.js +18 -2
  13. package/cjs/components/ComboBox/ComboBox.js.map +1 -1
  14. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  15. package/cjs/components/CurrencyInput/CurrencyInput.d.ts +1 -1
  16. package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
  17. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  18. package/cjs/components/DateInput/DateInput.d.ts +2 -2
  19. package/cjs/components/DateInput/DateInput.js +7 -1
  20. package/cjs/components/DateInput/DateInput.js.map +1 -1
  21. package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  22. package/cjs/components/DatePicker/DatePicker.d.ts +10 -1
  23. package/cjs/components/DatePicker/DatePicker.js +37 -4
  24. package/cjs/components/DatePicker/DatePicker.js.map +1 -1
  25. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  26. package/cjs/components/Dropdown/Dropdown.d.ts +4 -2
  27. package/cjs/components/Dropdown/Dropdown.js +12 -8
  28. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  29. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  30. package/cjs/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  31. package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
  32. package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
  33. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  34. package/cjs/components/FxInput/FxInput.d.ts +2 -0
  35. package/cjs/components/FxInput/FxInput.js +7 -1
  36. package/cjs/components/FxInput/FxInput.js.map +1 -1
  37. package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
  38. package/cjs/components/FxInput/FxInputRestoreBtn.js +5 -1
  39. package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
  40. package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  41. package/cjs/components/GlobalLoader/GlobalLoader.d.ts +1 -0
  42. package/cjs/components/GlobalLoader/GlobalLoader.js +6 -2
  43. package/cjs/components/GlobalLoader/GlobalLoader.js.map +1 -1
  44. package/cjs/components/Group/Group.js +24 -7
  45. package/cjs/components/Group/Group.js.map +1 -1
  46. package/cjs/components/Group/__creevey__/Group.creevey.mts +19 -0
  47. package/cjs/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  48. package/cjs/components/Input/Input.d.ts +23 -2
  49. package/cjs/components/Input/Input.js +135 -19
  50. package/cjs/components/Input/Input.js.map +1 -1
  51. package/cjs/components/Input/__creevey__/Input.creevey.mts +239 -0
  52. package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  53. package/cjs/components/Link/Link.js +26 -9
  54. package/cjs/components/Link/Link.js.map +1 -1
  55. package/cjs/components/Link/Link.styles.d.ts +4 -4
  56. package/cjs/components/Link/Link.styles.js +4 -5
  57. package/cjs/components/Link/Link.styles.js.map +1 -1
  58. package/cjs/components/Link/__creevey__/Link.creevey.mts +162 -0
  59. package/cjs/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  60. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +78 -70
  61. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
  62. package/cjs/components/MaskedInput/MaskedInput.d.ts +1 -1
  63. package/cjs/components/MaskedInput/MaskedInput.js +3 -0
  64. package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
  65. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  66. package/cjs/components/MenuItem/MenuItem.js +23 -23
  67. package/cjs/components/MenuItem/MenuItem.js.map +1 -1
  68. package/cjs/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
  69. package/cjs/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
  70. package/cjs/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
  71. package/cjs/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  72. package/cjs/components/Modal/Modal.js +7 -10
  73. package/cjs/components/Modal/Modal.js.map +1 -1
  74. package/cjs/components/Modal/Modal.styles.d.ts +4 -1
  75. package/cjs/components/Modal/Modal.styles.js +68 -31
  76. package/cjs/components/Modal/Modal.styles.js.map +1 -1
  77. package/cjs/components/Modal/ModalClose.js +7 -2
  78. package/cjs/components/Modal/ModalClose.js.map +1 -1
  79. package/cjs/components/Modal/ModalContext.d.ts +3 -3
  80. package/cjs/components/Modal/ModalContext.js.map +1 -1
  81. package/cjs/components/Modal/ModalFooter.js +2 -2
  82. package/cjs/components/Modal/ModalFooter.js.map +1 -1
  83. package/cjs/components/Modal/ModalHeader.js +1 -1
  84. package/cjs/components/Modal/ModalHeader.js.map +1 -1
  85. package/cjs/components/Modal/__creevey__/Modal.creevey.mts +295 -0
  86. package/cjs/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  87. package/cjs/components/PasswordInput/PasswordInput.d.ts +7 -3
  88. package/cjs/components/PasswordInput/PasswordInput.js +35 -9
  89. package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
  90. package/cjs/components/PasswordInput/PasswordInput.styles.js +2 -1
  91. package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
  92. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
  93. package/cjs/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  94. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  95. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  96. package/cjs/components/Select/Select.d.ts +3 -6
  97. package/cjs/components/Select/Select.js +11 -10
  98. package/cjs/components/Select/Select.js.map +1 -1
  99. package/cjs/components/Select/__creevey__/Select.creevey.mts +293 -0
  100. package/cjs/components/Select/tids.d.ts +5 -0
  101. package/cjs/components/Select/tids.js +5 -0
  102. package/cjs/components/Select/tids.js.map +1 -0
  103. package/cjs/components/SidePage/SidePage.d.ts +1 -0
  104. package/cjs/components/SidePage/SidePage.js +12 -1
  105. package/cjs/components/SidePage/SidePage.js.map +1 -1
  106. package/cjs/components/SidePage/SidePage.styles.d.ts +8 -1
  107. package/cjs/components/SidePage/SidePage.styles.js +83 -26
  108. package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
  109. package/cjs/components/SidePage/SidePageCloseButton.d.ts +6 -1
  110. package/cjs/components/SidePage/SidePageCloseButton.js +14 -2
  111. package/cjs/components/SidePage/SidePageCloseButton.js.map +1 -1
  112. package/cjs/components/SidePage/SidePageHeader.d.ts +0 -1
  113. package/cjs/components/SidePage/SidePageHeader.js +11 -7
  114. package/cjs/components/SidePage/SidePageHeader.js.map +1 -1
  115. package/cjs/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
  116. package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  117. package/cjs/components/Switcher/Switcher.js +2 -2
  118. package/cjs/components/Switcher/Switcher.js.map +1 -1
  119. package/cjs/components/Switcher/Switcher.styles.d.ts +1 -0
  120. package/cjs/components/Switcher/Switcher.styles.js +20 -1
  121. package/cjs/components/Switcher/Switcher.styles.js.map +1 -1
  122. package/cjs/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  123. package/cjs/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  124. package/cjs/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  125. package/cjs/components/Toast/Toast.d.ts +6 -2
  126. package/cjs/components/Toast/Toast.js +9 -2
  127. package/cjs/components/Toast/Toast.js.map +1 -1
  128. package/cjs/components/Toast/ToastStatic.d.ts +2 -2
  129. package/cjs/components/Toast/ToastStatic.js +15 -5
  130. package/cjs/components/Toast/ToastStatic.js.map +1 -1
  131. package/cjs/components/Toast/ToastView.d.ts +1 -0
  132. package/cjs/components/Toast/ToastView.js +4 -2
  133. package/cjs/components/Toast/ToastView.js.map +1 -1
  134. package/cjs/components/Toast/ToastView.styles.js +4 -4
  135. package/cjs/components/Toast/ToastView.styles.js.map +1 -1
  136. package/cjs/components/Toast/__creevey__/Toast.creevey.mts +77 -0
  137. package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  138. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  139. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  140. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  141. package/cjs/index.d.ts +0 -3
  142. package/cjs/index.js +0 -3
  143. package/cjs/index.js.map +1 -1
  144. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
  145. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +72 -0
  146. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
  147. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
  148. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js +51 -0
  149. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -0
  150. package/cjs/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
  151. package/cjs/internal/ClearCrossIcon/CrossIcon.js +15 -0
  152. package/cjs/internal/ClearCrossIcon/CrossIcon.js.map +1 -0
  153. package/cjs/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
  154. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  155. package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
  156. package/cjs/internal/CustomComboBox/ComboBoxView.js +13 -3
  157. package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
  158. package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
  159. package/cjs/internal/CustomComboBox/CustomComboBox.js +20 -9
  160. package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
  161. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
  162. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +13 -1
  163. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
  164. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  165. package/cjs/internal/CustomComboBox/tids.d.ts +3 -0
  166. package/cjs/internal/CustomComboBox/tids.js +3 -0
  167. package/cjs/internal/CustomComboBox/tids.js.map +1 -0
  168. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  169. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  170. package/cjs/internal/InputLikeText/InputLikeText.d.ts +7 -2
  171. package/cjs/internal/InputLikeText/InputLikeText.js +90 -43
  172. package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
  173. package/cjs/internal/Menu/Menu.d.ts +2 -1
  174. package/cjs/internal/Menu/Menu.js +4 -2
  175. package/cjs/internal/Menu/Menu.js.map +1 -1
  176. package/cjs/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  177. package/cjs/internal/Popup/Popup.js +4 -6
  178. package/cjs/internal/Popup/Popup.js.map +1 -1
  179. package/cjs/internal/PopupMenu/PopupMenu.d.ts +5 -5
  180. package/cjs/internal/PopupMenu/PopupMenu.js +15 -11
  181. package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
  182. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  183. package/cjs/internal/PopupMenu/tids.d.ts +4 -0
  184. package/cjs/internal/PopupMenu/tids.js +4 -0
  185. package/cjs/internal/PopupMenu/tids.js.map +1 -0
  186. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
  187. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
  188. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  189. package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  190. package/cjs/internal/ThemeShowcase/VariablesCollector.js +2 -0
  191. package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
  192. package/cjs/internal/ZIndex/ZIndex.d.ts +1 -1
  193. package/cjs/internal/ZIndex/ZIndex.js +18 -6
  194. package/cjs/internal/ZIndex/ZIndex.js.map +1 -1
  195. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  196. package/cjs/internal/themes/BasicLightTheme.d.ts +5 -1209
  197. package/cjs/internal/themes/BasicLightTheme.js +2 -2530
  198. package/cjs/internal/themes/BasicLightTheme.js.map +1 -1
  199. package/cjs/internal/themes/BasicTheme.d.ts +1231 -0
  200. package/cjs/internal/themes/BasicTheme.js +2587 -0
  201. package/cjs/internal/themes/BasicTheme.js.map +1 -0
  202. package/cjs/internal/themes/DarkTheme5_0.d.ts +1 -0
  203. package/cjs/internal/themes/DarkTheme5_0.js +562 -0
  204. package/cjs/internal/themes/DarkTheme5_0.js.map +1 -0
  205. package/cjs/internal/themes/DarkTheme5_1.d.ts +1 -0
  206. package/cjs/internal/themes/DarkTheme5_1.js +41 -0
  207. package/cjs/internal/themes/DarkTheme5_1.js.map +1 -0
  208. package/cjs/internal/themes/LightTheme5_0.d.ts +1 -0
  209. package/cjs/internal/themes/LightTheme5_0.js +9 -0
  210. package/cjs/internal/themes/LightTheme5_0.js.map +1 -0
  211. package/cjs/internal/themes/LightTheme5_1.d.ts +1 -0
  212. package/cjs/internal/themes/LightTheme5_1.js +41 -0
  213. package/cjs/internal/themes/LightTheme5_1.js.map +1 -0
  214. package/cjs/lib/ModalStack.d.ts +1 -0
  215. package/cjs/lib/ModalStack.js +6 -4
  216. package/cjs/lib/ModalStack.js.map +1 -1
  217. package/cjs/lib/delay.d.ts +1 -0
  218. package/cjs/lib/delay.js +3 -0
  219. package/cjs/lib/delay.js.map +1 -0
  220. package/cjs/lib/mergeRefs.d.ts +23 -0
  221. package/cjs/lib/mergeRefs.js +76 -0
  222. package/cjs/lib/mergeRefs.js.map +1 -0
  223. package/cjs/lib/theming/Theme.d.ts +4 -3
  224. package/cjs/lib/theming/Theme.js +1 -1
  225. package/cjs/lib/theming/Theme.js.map +1 -1
  226. package/cjs/lib/theming/ThemeContext.d.ts +1 -1
  227. package/cjs/lib/theming/ThemeContext.js +2 -2
  228. package/cjs/lib/theming/ThemeContext.js.map +1 -1
  229. package/cjs/lib/theming/ThemeFactory.d.ts +9 -0
  230. package/cjs/lib/theming/ThemeFactory.js +28 -9
  231. package/cjs/lib/theming/ThemeFactory.js.map +1 -1
  232. package/cjs/lib/theming/ThemeHelpers.d.ts +55 -8
  233. package/cjs/lib/theming/ThemeHelpers.js +94 -22
  234. package/cjs/lib/theming/ThemeHelpers.js.map +1 -1
  235. package/cjs/lib/theming/ThemeVersions.d.ts +25 -0
  236. package/cjs/lib/theming/ThemeVersions.js +58 -0
  237. package/cjs/lib/theming/ThemeVersions.js.map +1 -0
  238. package/cjs/lib/theming/themes/DarkTheme.d.ts +3 -1
  239. package/cjs/lib/theming/themes/DarkTheme.js +6 -4
  240. package/cjs/lib/theming/themes/DarkTheme.js.map +1 -1
  241. package/cjs/lib/theming/themes/LightTheme.d.ts +3 -1
  242. package/cjs/lib/theming/themes/LightTheme.js +6 -4
  243. package/cjs/lib/theming/themes/LightTheme.js.map +1 -1
  244. package/cjs/lib/theming/themes/LightThemeMobile.d.ts +1 -1
  245. package/cjs/lib/theming/useTheme.d.ts +1 -1
  246. package/cjs/lib/typeGuards.d.ts +1 -0
  247. package/cjs/lib/typeGuards.js +6 -0
  248. package/cjs/lib/typeGuards.js.map +1 -0
  249. package/cjs/lib/utils.d.ts +21 -17
  250. package/cjs/lib/utils.js +20 -23
  251. package/cjs/lib/utils.js.map +1 -1
  252. package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  253. package/components/Button/Button/Button.js +2 -3
  254. package/components/Button/Button/Button.js.map +1 -1
  255. package/components/Button/Button.d.ts +0 -1
  256. package/components/Button/__creevey__/Button.creevey.mts +251 -0
  257. package/components/Calendar/DayCellView.styles/DayCellView.styles.js +1 -1
  258. package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
  259. package/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  260. package/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  261. package/components/ComboBox/ComboBox/ComboBox.js +4 -3
  262. package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
  263. package/components/ComboBox/ComboBox.d.ts +12 -3
  264. package/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  265. package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
  266. package/components/CurrencyInput/CurrencyInput.d.ts +1 -1
  267. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  268. package/components/DateInput/DateInput/DateInput.js +4 -1
  269. package/components/DateInput/DateInput/DateInput.js.map +1 -1
  270. package/components/DateInput/DateInput.d.ts +2 -2
  271. package/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  272. package/components/DatePicker/DatePicker/DatePicker.js +29 -5
  273. package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
  274. package/components/DatePicker/DatePicker.d.ts +10 -1
  275. package/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  276. package/components/Dropdown/Dropdown/Dropdown.js +12 -11
  277. package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
  278. package/components/Dropdown/Dropdown.d.ts +4 -2
  279. package/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  280. package/components/DropdownMenu/DropdownMenu/DropdownMenu.js +1 -0
  281. package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
  282. package/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  283. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  284. package/components/FxInput/FxInput/FxInput.js +3 -2
  285. package/components/FxInput/FxInput/FxInput.js.map +1 -1
  286. package/components/FxInput/FxInput.d.ts +2 -0
  287. package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js +1 -1
  288. package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
  289. package/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
  290. package/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  291. package/components/GlobalLoader/GlobalLoader/GlobalLoader.js +13 -5
  292. package/components/GlobalLoader/GlobalLoader/GlobalLoader.js.map +1 -1
  293. package/components/GlobalLoader/GlobalLoader.d.ts +1 -0
  294. package/components/Group/Group/Group.js +4 -10
  295. package/components/Group/Group/Group.js.map +1 -1
  296. package/components/Group/__creevey__/Group.creevey.mts +19 -0
  297. package/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  298. package/components/Input/Input/Input.js +124 -15
  299. package/components/Input/Input/Input.js.map +1 -1
  300. package/components/Input/Input.d.ts +23 -2
  301. package/components/Input/__creevey__/Input.creevey.mts +239 -0
  302. package/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  303. package/components/Link/Link/Link.js +25 -1
  304. package/components/Link/Link/Link.js.map +1 -1
  305. package/components/Link/Link.styles/Link.styles.js +4 -4
  306. package/components/Link/Link.styles/Link.styles.js.map +1 -1
  307. package/components/Link/Link.styles.d.ts +4 -4
  308. package/components/Link/__creevey__/Link.creevey.mts +162 -0
  309. package/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  310. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js +54 -55
  311. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js.map +1 -1
  312. package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
  313. package/components/MaskedInput/MaskedInput.d.ts +1 -1
  314. package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  315. package/components/MenuItem/MenuItem/MenuItem.js +41 -35
  316. package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
  317. package/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
  318. package/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
  319. package/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
  320. package/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  321. package/components/Modal/Modal/Modal.js +4 -16
  322. package/components/Modal/Modal/Modal.js.map +1 -1
  323. package/components/Modal/Modal.styles/Modal.styles.js +40 -31
  324. package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
  325. package/components/Modal/Modal.styles.d.ts +4 -1
  326. package/components/Modal/ModalClose/ModalClose.js +3 -1
  327. package/components/Modal/ModalClose/ModalClose.js.map +1 -1
  328. package/components/Modal/ModalContext/ModalContext.js.map +1 -1
  329. package/components/Modal/ModalContext.d.ts +3 -3
  330. package/components/Modal/ModalFooter/ModalFooter.js +2 -2
  331. package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
  332. package/components/Modal/ModalHeader/ModalHeader.js +1 -1
  333. package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  334. package/components/Modal/__creevey__/Modal.creevey.mts +295 -0
  335. package/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  336. package/components/PasswordInput/PasswordInput/PasswordInput.js +30 -10
  337. package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
  338. package/components/PasswordInput/PasswordInput.d.ts +7 -3
  339. package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js +1 -1
  340. package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
  341. package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
  342. package/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  343. package/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  344. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  345. package/components/Select/Select/Select.js +3 -5
  346. package/components/Select/Select/Select.js.map +1 -1
  347. package/components/Select/Select.d.ts +3 -6
  348. package/components/Select/__creevey__/Select.creevey.mts +293 -0
  349. package/components/Select/tids/package.json +6 -0
  350. package/components/Select/tids/tids.js +5 -0
  351. package/components/Select/tids/tids.js.map +1 -0
  352. package/components/Select/tids.d.ts +5 -0
  353. package/components/SidePage/SidePage/SidePage.js +20 -8
  354. package/components/SidePage/SidePage/SidePage.js.map +1 -1
  355. package/components/SidePage/SidePage.d.ts +1 -0
  356. package/components/SidePage/SidePage.styles/SidePage.styles.js +48 -26
  357. package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
  358. package/components/SidePage/SidePage.styles.d.ts +8 -1
  359. package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js +6 -2
  360. package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js.map +1 -1
  361. package/components/SidePage/SidePageCloseButton.d.ts +6 -1
  362. package/components/SidePage/SidePageHeader/SidePageHeader.js +13 -5
  363. package/components/SidePage/SidePageHeader/SidePageHeader.js.map +1 -1
  364. package/components/SidePage/SidePageHeader.d.ts +0 -1
  365. package/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
  366. package/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  367. package/components/Switcher/Switcher/Switcher.js +10 -6
  368. package/components/Switcher/Switcher/Switcher.js.map +1 -1
  369. package/components/Switcher/Switcher.styles/Switcher.styles.js +4 -1
  370. package/components/Switcher/Switcher.styles/Switcher.styles.js.map +1 -1
  371. package/components/Switcher/Switcher.styles.d.ts +1 -0
  372. package/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  373. package/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  374. package/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  375. package/components/Toast/Toast/Toast.js +14 -9
  376. package/components/Toast/Toast/Toast.js.map +1 -1
  377. package/components/Toast/Toast.d.ts +6 -2
  378. package/components/Toast/ToastStatic/ToastStatic.js +5 -5
  379. package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
  380. package/components/Toast/ToastStatic.d.ts +2 -2
  381. package/components/Toast/ToastView/ToastView.js +2 -1
  382. package/components/Toast/ToastView/ToastView.js.map +1 -1
  383. package/components/Toast/ToastView.d.ts +1 -0
  384. package/components/Toast/ToastView.styles/ToastView.styles.js +2 -2
  385. package/components/Toast/ToastView.styles/ToastView.styles.js.map +1 -1
  386. package/components/Toast/__creevey__/Toast.creevey.mts +77 -0
  387. package/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  388. package/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  389. package/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  390. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  391. package/index.d.ts +0 -3
  392. package/index.js +0 -3
  393. package/index.js.map +1 -1
  394. package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js +63 -0
  395. package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
  396. package/internal/ClearCrossIcon/ClearCrossIcon/package.json +6 -0
  397. package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
  398. package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js +21 -0
  399. package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -0
  400. package/internal/ClearCrossIcon/ClearCrossIcon.styles/package.json +6 -0
  401. package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
  402. package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js +22 -0
  403. package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js.map +1 -0
  404. package/internal/ClearCrossIcon/CrossIcon/package.json +6 -0
  405. package/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
  406. package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
  407. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  408. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js +12 -5
  409. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
  410. package/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
  411. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +17 -5
  412. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
  413. package/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
  414. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +15 -1
  415. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
  416. package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
  417. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  418. package/internal/CustomComboBox/tids/package.json +6 -0
  419. package/internal/CustomComboBox/tids/tids.js +3 -0
  420. package/internal/CustomComboBox/tids/tids.js.map +1 -0
  421. package/internal/CustomComboBox/tids.d.ts +3 -0
  422. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  423. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  424. package/internal/InputLikeText/InputLikeText/InputLikeText.js +65 -9
  425. package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
  426. package/internal/InputLikeText/InputLikeText.d.ts +7 -2
  427. package/internal/Menu/Menu/Menu.js +6 -3
  428. package/internal/Menu/Menu/Menu.js.map +1 -1
  429. package/internal/Menu/Menu.d.ts +2 -1
  430. package/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  431. package/internal/Popup/Popup/Popup.js +15 -20
  432. package/internal/Popup/Popup/Popup.js.map +1 -1
  433. package/internal/PopupMenu/PopupMenu/PopupMenu.js +4 -5
  434. package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
  435. package/internal/PopupMenu/PopupMenu.d.ts +5 -5
  436. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  437. package/internal/PopupMenu/tids/package.json +6 -0
  438. package/internal/PopupMenu/tids/tids.js +4 -0
  439. package/internal/PopupMenu/tids/tids.js.map +1 -0
  440. package/internal/PopupMenu/tids.d.ts +4 -0
  441. package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
  442. package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
  443. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  444. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js +2 -0
  445. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
  446. package/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  447. package/internal/ZIndex/ZIndex/ZIndex.js +12 -14
  448. package/internal/ZIndex/ZIndex/ZIndex.js.map +1 -1
  449. package/internal/ZIndex/ZIndex.d.ts +1 -1
  450. package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  451. package/internal/themes/BasicLightTheme/BasicLightTheme.js +5 -3351
  452. package/internal/themes/BasicLightTheme/BasicLightTheme.js.map +1 -1
  453. package/internal/themes/BasicLightTheme.d.ts +5 -1209
  454. package/internal/themes/BasicTheme/BasicTheme.js +3432 -0
  455. package/internal/themes/BasicTheme/BasicTheme.js.map +1 -0
  456. package/internal/themes/BasicTheme/package.json +6 -0
  457. package/internal/themes/BasicTheme.d.ts +1231 -0
  458. package/internal/themes/DarkTheme5_0/DarkTheme5_0.js +409 -0
  459. package/internal/themes/DarkTheme5_0/DarkTheme5_0.js.map +1 -0
  460. package/internal/themes/DarkTheme5_0/package.json +6 -0
  461. package/internal/themes/DarkTheme5_0.d.ts +1 -0
  462. package/internal/themes/DarkTheme5_1/DarkTheme5_1.js +52 -0
  463. package/internal/themes/DarkTheme5_1/DarkTheme5_1.js.map +1 -0
  464. package/internal/themes/DarkTheme5_1/package.json +6 -0
  465. package/internal/themes/DarkTheme5_1.d.ts +1 -0
  466. package/internal/themes/LightTheme5_0/LightTheme5_0.js +14 -0
  467. package/internal/themes/LightTheme5_0/LightTheme5_0.js.map +1 -0
  468. package/internal/themes/LightTheme5_0/package.json +6 -0
  469. package/internal/themes/LightTheme5_0.d.ts +1 -0
  470. package/internal/themes/LightTheme5_1/LightTheme5_1.js +52 -0
  471. package/internal/themes/LightTheme5_1/LightTheme5_1.js.map +1 -0
  472. package/internal/themes/LightTheme5_1/package.json +6 -0
  473. package/internal/themes/LightTheme5_1.d.ts +1 -0
  474. package/lib/ModalStack/ModalStack.js +8 -8
  475. package/lib/ModalStack/ModalStack.js.map +1 -1
  476. package/lib/ModalStack.d.ts +1 -0
  477. package/lib/delay/delay.js +6 -0
  478. package/lib/delay/delay.js.map +1 -0
  479. package/lib/delay/package.json +6 -0
  480. package/lib/delay.d.ts +1 -0
  481. package/lib/mergeRefs/mergeRefs.js +68 -0
  482. package/lib/mergeRefs/mergeRefs.js.map +1 -0
  483. package/lib/mergeRefs/package.json +6 -0
  484. package/lib/mergeRefs.d.ts +23 -0
  485. package/lib/theming/Theme/Theme.js +2 -1
  486. package/lib/theming/Theme/Theme.js.map +1 -1
  487. package/lib/theming/Theme.d.ts +4 -3
  488. package/lib/theming/ThemeContext/ThemeContext.js +2 -2
  489. package/lib/theming/ThemeContext/ThemeContext.js.map +1 -1
  490. package/lib/theming/ThemeContext.d.ts +1 -1
  491. package/lib/theming/ThemeFactory/ThemeFactory.js +21 -7
  492. package/lib/theming/ThemeFactory/ThemeFactory.js.map +1 -1
  493. package/lib/theming/ThemeFactory.d.ts +9 -0
  494. package/lib/theming/ThemeHelpers/ThemeHelpers.js +85 -18
  495. package/lib/theming/ThemeHelpers/ThemeHelpers.js.map +1 -1
  496. package/lib/theming/ThemeHelpers.d.ts +55 -8
  497. package/lib/theming/ThemeVersions/ThemeVersions.js +50 -0
  498. package/lib/theming/ThemeVersions/ThemeVersions.js.map +1 -0
  499. package/lib/theming/ThemeVersions/package.json +6 -0
  500. package/lib/theming/ThemeVersions.d.ts +25 -0
  501. package/lib/theming/themes/DarkTheme/DarkTheme.js +5 -4
  502. package/lib/theming/themes/DarkTheme/DarkTheme.js.map +1 -1
  503. package/lib/theming/themes/DarkTheme.d.ts +3 -1
  504. package/lib/theming/themes/LightTheme/LightTheme.js +5 -4
  505. package/lib/theming/themes/LightTheme/LightTheme.js.map +1 -1
  506. package/lib/theming/themes/LightTheme.d.ts +3 -1
  507. package/lib/theming/themes/LightThemeMobile.d.ts +1 -1
  508. package/lib/theming/useTheme.d.ts +1 -1
  509. package/lib/typeGuards/package.json +6 -0
  510. package/lib/typeGuards/typeGuards.js +5 -0
  511. package/lib/typeGuards/typeGuards.js.map +1 -0
  512. package/lib/typeGuards.d.ts +1 -0
  513. package/lib/utils/utils.js +13 -21
  514. package/lib/utils/utils.js.map +1 -1
  515. package/lib/utils.d.ts +21 -17
  516. package/package.json +7 -6
  517. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js +0 -239
  518. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js.map +0 -1
  519. package/cjs/components/Button/__creevey__/Button.creevey.js +0 -250
  520. package/cjs/components/Button/__creevey__/Button.creevey.js.map +0 -1
  521. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js +0 -74
  522. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js.map +0 -1
  523. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js +0 -242
  524. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js.map +0 -1
  525. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js +0 -540
  526. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js.map +0 -1
  527. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js +0 -81
  528. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js.map +0 -1
  529. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js +0 -155
  530. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js.map +0 -1
  531. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js +0 -209
  532. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js.map +0 -1
  533. package/cjs/components/DateRangePicker/DateRangePicker.d.ts +0 -27
  534. package/cjs/components/DateRangePicker/DateRangePicker.js +0 -481
  535. package/cjs/components/DateRangePicker/DateRangePicker.js.map +0 -1
  536. package/cjs/components/DateRangePicker/DateRangePicker.md +0 -298
  537. package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
  538. package/cjs/components/DateRangePicker/DateRangePicker.styles.js +0 -42
  539. package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +0 -1
  540. package/cjs/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
  541. package/cjs/components/DateRangePicker/DateRangePickerContext.js +0 -33
  542. package/cjs/components/DateRangePicker/DateRangePickerContext.js.map +0 -1
  543. package/cjs/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
  544. package/cjs/components/DateRangePicker/DateRangePickerField.js +0 -98
  545. package/cjs/components/DateRangePicker/DateRangePickerField.js.map +0 -1
  546. package/cjs/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
  547. package/cjs/components/DateRangePicker/DateRangePickerSeparator.js +0 -3
  548. package/cjs/components/DateRangePicker/DateRangePickerSeparator.js.map +0 -1
  549. package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
  550. package/cjs/components/DateRangePicker/DateRangePickerTheme.js +0 -30
  551. package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +0 -1
  552. package/cjs/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
  553. package/cjs/components/DateRangePicker/MobileDateRangePicker.js +0 -59
  554. package/cjs/components/DateRangePicker/MobileDateRangePicker.js.map +0 -1
  555. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
  556. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js +0 -19
  557. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js.map +0 -1
  558. package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
  559. package/cjs/components/DateRangePicker/index.d.ts +0 -1
  560. package/cjs/components/DateRangePicker/index.js +0 -1
  561. package/cjs/components/DateRangePicker/index.js.map +0 -1
  562. package/cjs/components/DateRangePicker/locale/index.d.ts +0 -4
  563. package/cjs/components/DateRangePicker/locale/index.js +0 -12
  564. package/cjs/components/DateRangePicker/locale/index.js.map +0 -1
  565. package/cjs/components/DateRangePicker/locale/locales/en.d.ts +0 -2
  566. package/cjs/components/DateRangePicker/locale/locales/en.js +0 -7
  567. package/cjs/components/DateRangePicker/locale/locales/en.js.map +0 -1
  568. package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
  569. package/cjs/components/DateRangePicker/locale/locales/ru.js +0 -7
  570. package/cjs/components/DateRangePicker/locale/locales/ru.js.map +0 -1
  571. package/cjs/components/DateRangePicker/locale/types.d.ts +0 -5
  572. package/cjs/components/DateRangePicker/locale/types.js +0 -1
  573. package/cjs/components/DateRangePicker/locale/types.js.map +0 -1
  574. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js +0 -184
  575. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js.map +0 -1
  576. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js +0 -262
  577. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js.map +0 -1
  578. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js +0 -21
  579. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js.map +0 -1
  580. package/cjs/components/Group/__creevey__/Group.creevey.js +0 -19
  581. package/cjs/components/Group/__creevey__/Group.creevey.js.map +0 -1
  582. package/cjs/components/Hint/__creevey__/Hint.creevey.js +0 -68
  583. package/cjs/components/Hint/__creevey__/Hint.creevey.js.map +0 -1
  584. package/cjs/components/Input/__creevey__/Input.creevey.js +0 -239
  585. package/cjs/components/Input/__creevey__/Input.creevey.js.map +0 -1
  586. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js +0 -146
  587. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js.map +0 -1
  588. package/cjs/components/Link/__creevey__/Link.creevey.js +0 -161
  589. package/cjs/components/Link/__creevey__/Link.creevey.js.map +0 -1
  590. package/cjs/components/Loader/__creevey__/Loader.creevey.js +0 -34
  591. package/cjs/components/Loader/__creevey__/Loader.creevey.js.map +0 -1
  592. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js +0 -219
  593. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js.map +0 -1
  594. package/cjs/components/Modal/__creevey__/Modal.creevey.js +0 -258
  595. package/cjs/components/Modal/__creevey__/Modal.creevey.js.map +0 -1
  596. package/cjs/components/Paging/__creevey__/Paging.creevey.js +0 -97
  597. package/cjs/components/Paging/__creevey__/Paging.creevey.js.map +0 -1
  598. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js +0 -38
  599. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js.map +0 -1
  600. package/cjs/components/Radio/__creevey__/Radio.creevey.js +0 -27
  601. package/cjs/components/Radio/__creevey__/Radio.creevey.js.map +0 -1
  602. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js +0 -85
  603. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js.map +0 -1
  604. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js +0 -247
  605. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js.map +0 -1
  606. package/cjs/components/Select/__creevey__/Select.creevey.js +0 -284
  607. package/cjs/components/Select/__creevey__/Select.creevey.js.map +0 -1
  608. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js +0 -313
  609. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js.map +0 -1
  610. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js +0 -98
  611. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js.map +0 -1
  612. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js +0 -24
  613. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js.map +0 -1
  614. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js +0 -238
  615. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js.map +0 -1
  616. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js +0 -176
  617. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js.map +0 -1
  618. package/cjs/components/Toast/__creevey__/Toast.creevey.js +0 -54
  619. package/cjs/components/Toast/__creevey__/Toast.creevey.js.map +0 -1
  620. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js +0 -87
  621. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js.map +0 -1
  622. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js +0 -413
  623. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js.map +0 -1
  624. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js +0 -534
  625. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js.map +0 -1
  626. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js +0 -130
  627. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js.map +0 -1
  628. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js +0 -47
  629. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js.map +0 -1
  630. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js +0 -30
  631. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js.map +0 -1
  632. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js +0 -25
  633. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js.map +0 -1
  634. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js +0 -83
  635. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js.map +0 -1
  636. package/cjs/internal/Menu/__creevey__/Menu.creevey.js +0 -90
  637. package/cjs/internal/Menu/__creevey__/Menu.creevey.js.map +0 -1
  638. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js +0 -37
  639. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js.map +0 -1
  640. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js +0 -68
  641. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js.map +0 -1
  642. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js +0 -228
  643. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js.map +0 -1
  644. package/cjs/internal/themes/BasicDarkTheme.d.ts +0 -293
  645. package/cjs/internal/themes/BasicDarkTheme.js +0 -607
  646. package/cjs/internal/themes/BasicDarkTheme.js.map +0 -1
  647. package/cjs/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
  648. package/cjs/lib/theming/themes/DarkTheme2022_0.js +0 -5
  649. package/cjs/lib/theming/themes/DarkTheme2022_0.js.map +0 -1
  650. package/cjs/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
  651. package/cjs/lib/theming/themes/LightTheme2022_0.js +0 -5
  652. package/cjs/lib/theming/themes/LightTheme2022_0.js.map +0 -1
  653. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js +0 -506
  654. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js.map +0 -1
  655. package/components/Autocomplete/__creevey__/Autocomplete.creevey/package.json +0 -6
  656. package/components/Button/__creevey__/Button.creevey/Button.creevey.js +0 -396
  657. package/components/Button/__creevey__/Button.creevey/Button.creevey.js.map +0 -1
  658. package/components/Button/__creevey__/Button.creevey/package.json +0 -6
  659. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js +0 -138
  660. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js.map +0 -1
  661. package/components/Calendar/__creevey__/Calendar.creevey/package.json +0 -6
  662. package/components/Calendar/__creevey__/Calendar.creevey.d.ts +0 -1
  663. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js +0 -487
  664. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js.map +0 -1
  665. package/components/Checkbox/__creevey__/Checkbox.creevey/package.json +0 -6
  666. package/components/Checkbox/__creevey__/Checkbox.creevey.d.ts +0 -1
  667. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js +0 -1043
  668. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js.map +0 -1
  669. package/components/ComboBox/__creevey__/ComboBox.creevey/package.json +0 -6
  670. package/components/ComboBox/__creevey__/ComboBox.creevey.d.ts +0 -1
  671. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js +0 -114
  672. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js.map +0 -1
  673. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/package.json +0 -6
  674. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts +0 -1
  675. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js +0 -367
  676. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js.map +0 -1
  677. package/components/DateInput/__creevey__/DateInput.creevey/package.json +0 -6
  678. package/components/DateInput/__creevey__/DateInput.creevey.d.ts +0 -1
  679. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js +0 -395
  680. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js.map +0 -1
  681. package/components/DatePicker/__creevey__/DatePicker.creevey/package.json +0 -6
  682. package/components/DatePicker/__creevey__/DatePicker.creevey.d.ts +0 -1
  683. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +0 -365
  684. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +0 -1
  685. package/components/DateRangePicker/DateRangePicker/package.json +0 -6
  686. package/components/DateRangePicker/DateRangePicker.d.ts +0 -27
  687. package/components/DateRangePicker/DateRangePicker.md +0 -298
  688. package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js +0 -23
  689. package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +0 -1
  690. package/components/DateRangePicker/DateRangePicker.styles/package.json +0 -6
  691. package/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
  692. package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js +0 -3
  693. package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js.map +0 -1
  694. package/components/DateRangePicker/DateRangePickerContext/package.json +0 -6
  695. package/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
  696. package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js +0 -86
  697. package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js.map +0 -1
  698. package/components/DateRangePicker/DateRangePickerField/package.json +0 -6
  699. package/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
  700. package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js +0 -4
  701. package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js.map +0 -1
  702. package/components/DateRangePicker/DateRangePickerSeparator/package.json +0 -6
  703. package/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
  704. package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js +0 -21
  705. package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +0 -1
  706. package/components/DateRangePicker/DateRangePickerTheme/package.json +0 -6
  707. package/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
  708. package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js +0 -48
  709. package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js.map +0 -1
  710. package/components/DateRangePicker/MobileDateRangePicker/package.json +0 -6
  711. package/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
  712. package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js +0 -11
  713. package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js.map +0 -1
  714. package/components/DateRangePicker/MobileDateRangePicker.styles/package.json +0 -6
  715. package/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
  716. package/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
  717. package/components/DateRangePicker/index/index.js +0 -1
  718. package/components/DateRangePicker/index/index.js.map +0 -1
  719. package/components/DateRangePicker/index/package.json +0 -6
  720. package/components/DateRangePicker/index.d.ts +0 -1
  721. package/components/DateRangePicker/locale/index/index.js +0 -8
  722. package/components/DateRangePicker/locale/index/index.js.map +0 -1
  723. package/components/DateRangePicker/locale/index/package.json +0 -6
  724. package/components/DateRangePicker/locale/index.d.ts +0 -4
  725. package/components/DateRangePicker/locale/locales/en/en.js +0 -6
  726. package/components/DateRangePicker/locale/locales/en/en.js.map +0 -1
  727. package/components/DateRangePicker/locale/locales/en/package.json +0 -6
  728. package/components/DateRangePicker/locale/locales/en.d.ts +0 -2
  729. package/components/DateRangePicker/locale/locales/ru/package.json +0 -6
  730. package/components/DateRangePicker/locale/locales/ru/ru.js +0 -6
  731. package/components/DateRangePicker/locale/locales/ru/ru.js.map +0 -1
  732. package/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
  733. package/components/DateRangePicker/locale/package.json +0 -6
  734. package/components/DateRangePicker/locale/types/package.json +0 -6
  735. package/components/DateRangePicker/locale/types/types.js +0 -1
  736. package/components/DateRangePicker/locale/types/types.js.map +0 -1
  737. package/components/DateRangePicker/locale/types.d.ts +0 -5
  738. package/components/DateRangePicker/package.json +0 -6
  739. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js +0 -417
  740. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js.map +0 -1
  741. package/components/Dropdown/__creevey__/Dropdown.creevey/package.json +0 -6
  742. package/components/Dropdown/__creevey__/Dropdown.creevey.d.ts +0 -1
  743. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js +0 -534
  744. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js.map +0 -1
  745. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/package.json +0 -6
  746. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts +0 -1
  747. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js +0 -62
  748. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js.map +0 -1
  749. package/components/FxInput/__creevey__/FxInput.creevey/package.json +0 -6
  750. package/components/FxInput/__creevey__/FxInput.creevey.d.ts +0 -1
  751. package/components/Group/__creevey__/Group.creevey/Group.creevey.js +0 -48
  752. package/components/Group/__creevey__/Group.creevey/Group.creevey.js.map +0 -1
  753. package/components/Group/__creevey__/Group.creevey/package.json +0 -6
  754. package/components/Group/__creevey__/Group.creevey.d.ts +0 -1
  755. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js +0 -127
  756. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js.map +0 -1
  757. package/components/Hint/__creevey__/Hint.creevey/package.json +0 -6
  758. package/components/Hint/__creevey__/Hint.creevey.d.ts +0 -1
  759. package/components/Input/__creevey__/Input.creevey/Input.creevey.js +0 -517
  760. package/components/Input/__creevey__/Input.creevey/Input.creevey.js.map +0 -1
  761. package/components/Input/__creevey__/Input.creevey/package.json +0 -6
  762. package/components/Input/__creevey__/Input.creevey.d.ts +0 -1
  763. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js +0 -278
  764. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js.map +0 -1
  765. package/components/Kebab/__creevey__/Kebab.creevey/package.json +0 -6
  766. package/components/Kebab/__creevey__/Kebab.creevey.d.ts +0 -1
  767. package/components/Link/__creevey__/Link.creevey/Link.creevey.js +0 -238
  768. package/components/Link/__creevey__/Link.creevey/Link.creevey.js.map +0 -1
  769. package/components/Link/__creevey__/Link.creevey/package.json +0 -6
  770. package/components/Link/__creevey__/Link.creevey.d.ts +0 -1
  771. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js +0 -129
  772. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js.map +0 -1
  773. package/components/Loader/__creevey__/Loader.creevey/package.json +0 -6
  774. package/components/Loader/__creevey__/Loader.creevey.d.ts +0 -1
  775. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js +0 -405
  776. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js.map +0 -1
  777. package/components/MaskedInput/__creevey__/MaskedInput.creevey/package.json +0 -6
  778. package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts +0 -1
  779. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js +0 -565
  780. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js.map +0 -1
  781. package/components/Modal/__creevey__/Modal.creevey/package.json +0 -6
  782. package/components/Modal/__creevey__/Modal.creevey.d.ts +0 -1
  783. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js +0 -190
  784. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js.map +0 -1
  785. package/components/Paging/__creevey__/Paging.creevey/package.json +0 -6
  786. package/components/Paging/__creevey__/Paging.creevey.d.ts +0 -1
  787. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js +0 -83
  788. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js.map +0 -1
  789. package/components/PasswordInput/__creevey__/PasswordInput.creevey/package.json +0 -6
  790. package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts +0 -1
  791. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js +0 -56
  792. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js.map +0 -1
  793. package/components/Radio/__creevey__/Radio.creevey/package.json +0 -6
  794. package/components/Radio/__creevey__/Radio.creevey.d.ts +0 -1
  795. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js +0 -167
  796. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js.map +0 -1
  797. package/components/RadioGroup/__creevey__/RadioGroup.creevey/package.json +0 -6
  798. package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts +0 -1
  799. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js +0 -488
  800. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js.map +0 -1
  801. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/package.json +0 -6
  802. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts +0 -1
  803. package/components/Select/__creevey__/Select.creevey/Select.creevey.js +0 -541
  804. package/components/Select/__creevey__/Select.creevey/Select.creevey.js.map +0 -1
  805. package/components/Select/__creevey__/Select.creevey/package.json +0 -6
  806. package/components/Select/__creevey__/Select.creevey.d.ts +0 -1
  807. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js +0 -697
  808. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js.map +0 -1
  809. package/components/SidePage/__creevey__/SidePage.creevey/package.json +0 -6
  810. package/components/SidePage/__creevey__/SidePage.creevey.d.ts +0 -1
  811. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js +0 -215
  812. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js.map +0 -1
  813. package/components/Sticky/__creevey__/Sticky.creevey/package.json +0 -6
  814. package/components/Sticky/__creevey__/Sticky.creevey.d.ts +0 -1
  815. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js +0 -58
  816. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js.map +0 -1
  817. package/components/Switcher/__creevey__/Switcher.creevey/package.json +0 -6
  818. package/components/Switcher/__creevey__/Switcher.creevey.d.ts +0 -1
  819. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js +0 -391
  820. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js.map +0 -1
  821. package/components/Tabs/__creevey__/Tabs.creevey/package.json +0 -6
  822. package/components/Tabs/__creevey__/Tabs.creevey.d.ts +0 -1
  823. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js +0 -404
  824. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js.map +0 -1
  825. package/components/Textarea/__creevey__/Textarea.creevey/package.json +0 -6
  826. package/components/Textarea/__creevey__/Textarea.creevey.d.ts +0 -1
  827. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js +0 -70
  828. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js.map +0 -1
  829. package/components/Toast/__creevey__/Toast.creevey/package.json +0 -6
  830. package/components/Toast/__creevey__/Toast.creevey.d.ts +0 -1
  831. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js +0 -195
  832. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js.map +0 -1
  833. package/components/Toggle/__creevey__/Toggle.creevey/package.json +0 -6
  834. package/components/Toggle/__creevey__/Toggle.creevey.d.ts +0 -1
  835. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js +0 -635
  836. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js.map +0 -1
  837. package/components/TokenInput/__creevey__/TokenInput.creevey/package.json +0 -6
  838. package/components/TokenInput/__creevey__/TokenInput.creevey.d.ts +0 -1
  839. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js +0 -1171
  840. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js.map +0 -1
  841. package/components/Tooltip/__creevey__/Tooltip.creevey/package.json +0 -6
  842. package/components/Tooltip/__creevey__/Tooltip.creevey.d.ts +0 -1
  843. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js +0 -277
  844. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js.map +0 -1
  845. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/package.json +0 -6
  846. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts +0 -1
  847. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js +0 -78
  848. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js.map +0 -1
  849. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/package.json +0 -6
  850. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts +0 -1
  851. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js +0 -58
  852. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js.map +0 -1
  853. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/package.json +0 -6
  854. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts +0 -1
  855. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js +0 -41
  856. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js.map +0 -1
  857. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/package.json +0 -6
  858. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts +0 -1
  859. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js +0 -199
  860. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js.map +0 -1
  861. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/package.json +0 -6
  862. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts +0 -1
  863. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js +0 -196
  864. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js.map +0 -1
  865. package/internal/Menu/__creevey__/Menu.creevey/package.json +0 -6
  866. package/internal/Menu/__creevey__/Menu.creevey.d.ts +0 -1
  867. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js +0 -69
  868. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js.map +0 -1
  869. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/package.json +0 -6
  870. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts +0 -1
  871. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js +0 -145
  872. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js.map +0 -1
  873. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/package.json +0 -6
  874. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts +0 -1
  875. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js +0 -550
  876. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js.map +0 -1
  877. package/internal/ZIndex/__creevey__/ZIndex.creevey/package.json +0 -6
  878. package/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts +0 -1
  879. package/internal/themes/BasicDarkTheme/BasicDarkTheme.js +0 -646
  880. package/internal/themes/BasicDarkTheme/BasicDarkTheme.js.map +0 -1
  881. package/internal/themes/BasicDarkTheme/package.json +0 -6
  882. package/internal/themes/BasicDarkTheme.d.ts +0 -293
  883. package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js +0 -3
  884. package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js.map +0 -1
  885. package/lib/theming/themes/DarkTheme2022_0/package.json +0 -6
  886. package/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
  887. package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js +0 -3
  888. package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js.map +0 -1
  889. package/lib/theming/themes/LightTheme2022_0/package.json +0 -6
  890. package/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
  891. /package/{cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts} +0 -0
  892. /package/{cjs/components/Button/__creevey__/Button.creevey.d.ts → components/Button/__creevey__/Button.creevey.d.mts} +0 -0
  893. /package/{cjs/components/Calendar/__creevey__/Calendar.creevey.d.ts → components/Calendar/__creevey__/Calendar.creevey.d.mts} +0 -0
  894. /package/{cjs/components/Checkbox/__creevey__/Checkbox.creevey.d.ts → components/Checkbox/__creevey__/Checkbox.creevey.d.mts} +0 -0
  895. /package/{cjs/components/ComboBox/__creevey__/ComboBox.creevey.d.ts → components/ComboBox/__creevey__/ComboBox.creevey.d.mts} +0 -0
  896. /package/{cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts → components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts} +0 -0
  897. /package/{cjs/components/DateInput/__creevey__/DateInput.creevey.d.ts → components/DateInput/__creevey__/DateInput.creevey.d.mts} +0 -0
  898. /package/{cjs/components/DatePicker/__creevey__/DatePicker.creevey.d.ts → components/DatePicker/__creevey__/DatePicker.creevey.d.mts} +0 -0
  899. /package/{cjs/components/Dropdown/__creevey__/Dropdown.creevey.d.ts → components/Dropdown/__creevey__/Dropdown.creevey.d.mts} +0 -0
  900. /package/{cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts → components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts} +0 -0
  901. /package/{cjs/components/FxInput/__creevey__/FxInput.creevey.d.ts → components/FxInput/__creevey__/FxInput.creevey.d.mts} +0 -0
  902. /package/{cjs/components/Group/__creevey__/Group.creevey.d.ts → components/Group/__creevey__/Group.creevey.d.mts} +0 -0
  903. /package/{cjs/components/Hint/__creevey__/Hint.creevey.d.ts → components/Hint/__creevey__/Hint.creevey.d.mts} +0 -0
  904. /package/{cjs/components/Input/__creevey__/Input.creevey.d.ts → components/Input/__creevey__/Input.creevey.d.mts} +0 -0
  905. /package/{cjs/components/Kebab/__creevey__/Kebab.creevey.d.ts → components/Kebab/__creevey__/Kebab.creevey.d.mts} +0 -0
  906. /package/{cjs/components/Link/__creevey__/Link.creevey.d.ts → components/Link/__creevey__/Link.creevey.d.mts} +0 -0
  907. /package/{cjs/components/Loader/__creevey__/Loader.creevey.d.ts → components/Loader/__creevey__/Loader.creevey.d.mts} +0 -0
  908. /package/{cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts → components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts} +0 -0
  909. /package/{cjs/components/Modal/__creevey__/Modal.creevey.d.ts → components/Modal/__creevey__/Modal.creevey.d.mts} +0 -0
  910. /package/{cjs/components/Paging/__creevey__/Paging.creevey.d.ts → components/Paging/__creevey__/Paging.creevey.d.mts} +0 -0
  911. /package/{cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts → components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts} +0 -0
  912. /package/{cjs/components/Radio/__creevey__/Radio.creevey.d.ts → components/Radio/__creevey__/Radio.creevey.d.mts} +0 -0
  913. /package/{cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts → components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts} +0 -0
  914. /package/{cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts → components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts} +0 -0
  915. /package/{cjs/components/Select/__creevey__/Select.creevey.d.ts → components/Select/__creevey__/Select.creevey.d.mts} +0 -0
  916. /package/{cjs/components/SidePage/__creevey__/SidePage.creevey.d.ts → components/SidePage/__creevey__/SidePage.creevey.d.mts} +0 -0
  917. /package/{cjs/components/Sticky/__creevey__/Sticky.creevey.d.ts → components/Sticky/__creevey__/Sticky.creevey.d.mts} +0 -0
  918. /package/{cjs/components/Switcher/__creevey__/Switcher.creevey.d.ts → components/Switcher/__creevey__/Switcher.creevey.d.mts} +0 -0
  919. /package/{cjs/components/Tabs/__creevey__/Tabs.creevey.d.ts → components/Tabs/__creevey__/Tabs.creevey.d.mts} +0 -0
  920. /package/{cjs/components/Textarea/__creevey__/Textarea.creevey.d.ts → components/Textarea/__creevey__/Textarea.creevey.d.mts} +0 -0
  921. /package/{cjs/components/Toast/__creevey__/Toast.creevey.d.ts → components/Toast/__creevey__/Toast.creevey.d.mts} +0 -0
  922. /package/{cjs/components/Toggle/__creevey__/Toggle.creevey.d.ts → components/Toggle/__creevey__/Toggle.creevey.d.mts} +0 -0
  923. /package/{cjs/components/TokenInput/__creevey__/TokenInput.creevey.d.ts → components/TokenInput/__creevey__/TokenInput.creevey.d.mts} +0 -0
  924. /package/{cjs/components/Tooltip/__creevey__/Tooltip.creevey.d.ts → components/Tooltip/__creevey__/Tooltip.creevey.d.mts} +0 -0
  925. /package/{cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts → components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts} +0 -0
  926. /package/{cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts → internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.d.mts} +0 -0
  927. /package/{cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts → internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts} +0 -0
  928. /package/{cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts → internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts} +0 -0
  929. /package/{cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts → internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts} +0 -0
  930. /package/{cjs/internal/Menu/__creevey__/Menu.creevey.d.ts → internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts} +0 -0
  931. /package/{cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts → internal/Menu/__creevey__/Menu.creevey.d.mts} +0 -0
  932. /package/{cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts → internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts} +0 -0
  933. /package/{cjs/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts → internal/ThemePlayground/__creevey__/Theme5_0.creevey.d.mts} +0 -0
  934. /package/{components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts} +0 -0
  935. /package/{components/Button/__creevey__/Button.creevey.d.ts → internal/ZIndex/__creevey__/ZIndex.creevey.d.mts} +0 -0
@@ -172,6 +172,14 @@ export var SidePage = /*#__PURE__*/function (_React$Component) {
172
172
  globalObject.addEventListener == null || globalObject.addEventListener('keydown', this.handleKeyDown);
173
173
  this.stackSubscription = ModalStack.add(this, this.handleStackChange);
174
174
  };
175
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
176
+ if (prevProps.blockBackground !== this.props.blockBackground) {
177
+ ModalStack.rerender();
178
+ this.setState({
179
+ hasBackground: ModalStack.isBlocking(this)
180
+ });
181
+ }
182
+ };
175
183
  _proto.componentWillUnmount = function componentWillUnmount() {
176
184
  globalObject.removeEventListener == null || globalObject.removeEventListener('keydown', this.handleKeyDown);
177
185
  if (isNonNullable(this.stackSubscription)) {
@@ -192,7 +200,15 @@ export var SidePage = /*#__PURE__*/function (_React$Component) {
192
200
  blockBackground = _this$props.blockBackground,
193
201
  onOpened = _this$props.onOpened;
194
202
  var disableAnimations = this.getProps().disableAnimations;
195
- return /*#__PURE__*/React.createElement(RenderContainer, null, /*#__PURE__*/React.createElement(CommonWrapper, this.props, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ResponsiveLayout, null, function (_ref) {
203
+ return /*#__PURE__*/React.createElement(RenderContainer, null, /*#__PURE__*/React.createElement(CommonWrapper, this.props, /*#__PURE__*/React.createElement(ZIndex, {
204
+ priority: 'Sidepage',
205
+ onScroll: LayoutEvents.emit,
206
+ createStackingContext: true,
207
+ wrapperRef: this.rootRef,
208
+ style: {
209
+ position: 'absolute'
210
+ }
211
+ }, /*#__PURE__*/React.createElement(ResponsiveLayout, null, function (_ref) {
196
212
  var isMobile = _ref.isMobile;
197
213
  return /*#__PURE__*/React.createElement(React.Fragment, null, blockBackground && _this3.renderShadow(isMobile), /*#__PURE__*/React.createElement(CSSTransition, {
198
214
  "in": true,
@@ -219,21 +235,18 @@ export var SidePage = /*#__PURE__*/function (_React$Component) {
219
235
  var _this$getProps = this.getProps(),
220
236
  offset = _this$getProps.offset,
221
237
  role = _this$getProps.role;
222
- return /*#__PURE__*/React.createElement(ZIndex, {
238
+ return /*#__PURE__*/React.createElement("div", {
223
239
  "aria-modal": true,
224
240
  role: role,
225
241
  "aria-label": ariaLabel,
226
- priority: 'Sidepage',
227
242
  "data-tid": SidePageDataTids.root,
228
243
  className: cx((_cx = {}, _cx[styles.root()] = true, _cx[styles.mobileRoot()] = isMobile, _cx)),
229
244
  onScroll: LayoutEvents.emit,
230
- createStackingContext: true,
231
245
  style: isMobile ? undefined : {
232
246
  width: width || (blockBackground ? 800 : 500),
233
247
  right: fromLeft ? 'auto' : offset,
234
248
  left: fromLeft ? offset : 'auto'
235
- },
236
- wrapperRef: this.rootRef
249
+ }
237
250
  }, /*#__PURE__*/React.createElement(FocusLock, {
238
251
  disabled: this.isFocusLockDisabled,
239
252
  autoFocus: false,
@@ -251,8 +264,7 @@ export var SidePage = /*#__PURE__*/function (_React$Component) {
251
264
  };
252
265
  _proto.renderShadow = function renderShadow(isMobile) {
253
266
  var _cx3;
254
- return /*#__PURE__*/React.createElement(ZIndex, {
255
- priority: 'Sidepage',
267
+ return /*#__PURE__*/React.createElement("div", {
256
268
  className: styles.overlay(),
257
269
  onScroll: LayoutEvents.emit
258
270
  }, !isMobile && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(HideBodyVerticalScroll, {
@@ -1 +1 @@
1
- {"version":3,"names":["React","CSSTransition","FocusLock","globalObject","isNonNullable","isKeyEscape","LayoutEvents","stopPropagation","HideBodyVerticalScroll","ModalStack","RenderContainer","RenderLayer","ZIndex","ThemeContext","CommonWrapper","cx","isTestEnv","ResponsiveLayout","createPropsGetter","isInstanceOf","SidePageBody","SidePageContainer","SidePageContext","SidePageFooter","SidePageHeader","styles","SidePageDataTids","root","container","TRANSITION_TIMEOUT","SidePage","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","hasHeader","hasFooter","hasPanel","stackSubscription","layout","header","footer","rootRef","createRef","updateLayout","_this$header","_this$footer","update","getProps","defaultProps","getSidePageContextProps","requestClose","getWidth","headerRef","footerRef","setHasHeader","setHasFooter","setHasPanel","clientWidth","handleStackChange","stack","sidePages","filter","x","props","fromLeft","currentSidePagePosition","indexOf","hasMargin","hasShadow","hasBackground","isBlocking","setState","stackPosition","handleClickOutside","e","ignoreBackgroundClick","MouseEvent","document","clientX","documentElement","handleKeyDown","disableClose","onClose","ref","layoutRef","_inheritsLoose","_proto","prototype","componentDidMount","addEventListener","add","componentWillUnmount","removeEventListener","remove","render","_this2","createElement","Consumer","theme","renderMain","_this3","_this$props","blockBackground","onOpened","disableAnimations","_ref","isMobile","Fragment","renderShadow","classNames","getTransitionNames","appear","enter","exit","timeout","nodeRef","onEntered","renderContainer","_cx","_cx2","_this$props2","width","ariaLabel","_this$getProps","offset","role","priority","className","mobileRoot","onScroll","emit","createStackingContext","style","undefined","right","left","wrapperRef","disabled","isFocusLockDisabled","autoFocus","focusLock","onClickOutside","active","wrapper","wrapperLeft","wrapperMarginLeft","wrapperMarginRight","shadow","Provider","value","children","_cx3","overlay","key","background","backgroundGray","transition","transitionRight","transitionLeft","enterActive","transitionActive","transitionLeave","exitActive","transitionLeaveActive","appearActive","_createClass","get","_this$getProps2","disableFocusLock","Component","__KONTUR_REACT_UI__","displayName","Header","Body","Footer","Container"],"sources":["SidePage.tsx"],"sourcesContent":["import React, { AriaAttributes, HTMLAttributes } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport FocusLock from 'react-focus-lock';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport { isNonNullable } from '../../lib/utils';\nimport { isKeyEscape } from '../../lib/events/keyboard/identifiers';\nimport * as LayoutEvents from '../../lib/LayoutEvents';\nimport { stopPropagation } from '../../lib/events/stopPropagation';\nimport { HideBodyVerticalScroll } from '../../internal/HideBodyVerticalScroll';\nimport { ModalStack, ModalStackSubscription } from '../../lib/ModalStack';\nimport { RenderContainer } from '../../internal/RenderContainer';\nimport { RenderLayer } from '../../internal/RenderLayer';\nimport { ZIndex } from '../../internal/ZIndex';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme } from '../../lib/theming/Theme';\nimport { CommonProps, CommonWrapper } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { isTestEnv } from '../../lib/currentEnvironment';\nimport { ResponsiveLayout } from '../ResponsiveLayout';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { isInstanceOf } from '../../lib/isInstanceOf';\n\nimport { SidePageBody } from './SidePageBody';\nimport { SidePageContainer } from './SidePageContainer';\nimport { SidePageContext, SidePageContextType } from './SidePageContext';\nimport { SidePageFooter } from './SidePageFooter';\nimport { SidePageHeader } from './SidePageHeader';\nimport { styles } from './SidePage.styles';\n\nexport interface SidePageProps\n extends CommonProps,\n Pick<HTMLAttributes<unknown>, 'role'>,\n Pick<AriaAttributes, 'aria-label'> {\n /** Добавляет блокирующий фон, когда сайдпейдж открыт. */\n blockBackground?: boolean;\n\n /** Отключает событие onClose, также дизейблит кнопку закрытия сайдпейджа. */\n disableClose?: boolean;\n\n /** Оставляет окно открытым при клике на фон. */\n ignoreBackgroundClick?: boolean;\n\n /** Задает ширину сайдпейджа. */\n width?: number | string;\n\n /** Задает функцию, которая вызывается при запросе закрытия сайдпейджа пользователем (нажал на фон, на Escape или на крестик). */\n onClose?: () => void;\n\n /** Задает функцию, которая вызывается при завершении анимации открытия сайдпейджа. */\n onOpened?: () => void;\n\n /** Отображает сайдпэйдж слева. */\n fromLeft?: boolean;\n\n /** Отключает анимацию. */\n disableAnimations?: boolean;\n\n /** Отключает фокус-лок внутри сайдпейджа.\n * Работает только при заблокированном фоне: `blockBackground = true`.*/\n disableFocusLock?: boolean;\n\n /** Задает отступ от края экрана. */\n offset?: number | string;\n}\n\nexport interface SidePageState {\n stackPosition?: number;\n hasMargin?: boolean;\n hasShadow?: boolean;\n hasBackground?: boolean;\n hasHeader: boolean;\n hasFooter: boolean;\n hasPanel: boolean;\n}\n\nexport const SidePageDataTids = {\n root: 'SidePage__root',\n container: 'SidePage__container',\n} as const;\n\ntype DefaultProps = Required<Pick<SidePageProps, 'disableAnimations' | 'offset' | 'role'>>;\n\nconst TRANSITION_TIMEOUT = 200;\n\n/**\n * `SidePage` — это модальное окно, которое открывается поверх основной страницы и занимает всю высоту окна браузера.\n *\n * Используйте его, когда нужно сохранить контекст и показать большое количество данных.\n *\n * Содержит в себе три компоненты: `SidePage.Header`, `SidePage.Body` и `SidePage.Footer`.\n *\n * Для отображения серой плашки в футере в компонент `Footer` необходимо передать пропс `panel`.\n */\nexport class SidePage extends React.Component<SidePageProps, SidePageState> {\n public static __KONTUR_REACT_UI__ = 'SidePage';\n public static displayName = 'SidePage';\n\n public static Header = SidePageHeader;\n public static Body = SidePageBody;\n public static Footer = SidePageFooter;\n public static Container = SidePageContainer;\n public state: SidePageState = {\n hasHeader: false,\n hasFooter: false,\n hasPanel: false,\n };\n private theme!: Theme;\n private stackSubscription: ModalStackSubscription | null = null;\n private layout: HTMLElement | null = null;\n private header: SidePageHeader | null = null;\n private footer: SidePageFooter | null = null;\n private rootRef = React.createRef<HTMLDivElement>();\n\n public componentDidMount() {\n globalObject.addEventListener?.('keydown', this.handleKeyDown);\n this.stackSubscription = ModalStack.add(this, this.handleStackChange);\n }\n\n public componentWillUnmount() {\n globalObject.removeEventListener?.('keydown', this.handleKeyDown);\n if (isNonNullable(this.stackSubscription)) {\n this.stackSubscription.remove();\n }\n ModalStack.remove(this);\n }\n\n /**\n * Обновляет разметку компонента.\n * @public\n */\n public updateLayout = (): void => {\n this.header?.update();\n this.footer?.update();\n };\n\n public static defaultProps: DefaultProps = {\n disableAnimations: isTestEnv,\n offset: 0,\n role: 'dialog',\n };\n\n private getProps = createPropsGetter(SidePage.defaultProps);\n\n public render(): JSX.Element {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n\n private renderMain() {\n const { blockBackground, onOpened } = this.props;\n const disableAnimations = this.getProps().disableAnimations;\n\n return (\n <RenderContainer>\n <CommonWrapper {...this.props}>\n <div>\n <ResponsiveLayout>\n {({ isMobile }) => (\n <>\n {blockBackground && this.renderShadow(isMobile)}\n <CSSTransition\n in\n classNames={this.getTransitionNames()}\n appear={!disableAnimations}\n enter={!disableAnimations}\n exit={false}\n timeout={{\n enter: TRANSITION_TIMEOUT,\n exit: TRANSITION_TIMEOUT,\n }}\n nodeRef={this.rootRef}\n onEntered={onOpened}\n >\n {this.renderContainer(isMobile)}\n </CSSTransition>\n {isMobile && <HideBodyVerticalScroll />}\n </>\n )}\n </ResponsiveLayout>\n </div>\n </CommonWrapper>\n </RenderContainer>\n );\n }\n\n private get isFocusLockDisabled() {\n const { disableFocusLock } = this.getProps();\n const { blockBackground } = this.props;\n if (!blockBackground) {\n return true;\n }\n if (disableFocusLock !== undefined) {\n return disableFocusLock;\n }\n return false;\n }\n\n private renderContainer(isMobile: boolean): JSX.Element {\n const { width, blockBackground, fromLeft, 'aria-label': ariaLabel } = this.props;\n const { offset, role } = this.getProps();\n\n return (\n <ZIndex\n aria-modal\n role={role}\n aria-label={ariaLabel}\n priority={'Sidepage'}\n data-tid={SidePageDataTids.root}\n className={cx({\n [styles.root()]: true,\n [styles.mobileRoot()]: isMobile,\n })}\n onScroll={LayoutEvents.emit}\n createStackingContext\n style={\n isMobile\n ? undefined\n : {\n width: width || (blockBackground ? 800 : 500),\n right: fromLeft ? 'auto' : offset,\n left: fromLeft ? offset : 'auto',\n }\n }\n wrapperRef={this.rootRef}\n >\n <FocusLock disabled={this.isFocusLockDisabled} autoFocus={false} className={styles.focusLock()}>\n <RenderLayer onClickOutside={this.handleClickOutside} active>\n <div\n data-tid={SidePageDataTids.container}\n className={cx(styles.wrapper(this.theme), {\n [styles.wrapperLeft()]: fromLeft,\n [styles.wrapperMarginLeft()]: this.state.hasMargin && fromLeft,\n [styles.wrapperMarginRight()]: this.state.hasMargin && !fromLeft,\n [styles.shadow(this.theme)]: this.state.hasShadow,\n })}\n ref={this.layoutRef}\n >\n <SidePageContext.Provider value={this.getSidePageContextProps()}>\n {this.props.children}\n </SidePageContext.Provider>\n </div>\n </RenderLayer>\n </FocusLock>\n </ZIndex>\n );\n }\n\n private getSidePageContextProps = (): SidePageContextType => {\n return {\n hasHeader: this.state.hasHeader,\n hasFooter: this.state.hasFooter,\n hasPanel: this.state.hasPanel,\n requestClose: this.requestClose,\n getWidth: this.getWidth,\n updateLayout: this.updateLayout,\n headerRef: this.headerRef,\n footerRef: this.footerRef,\n setHasHeader: this.setHasHeader,\n setHasFooter: this.setHasFooter,\n setHasPanel: this.setHasPanel,\n };\n };\n\n private getWidth = () => {\n if (!this.layout) {\n return 'auto';\n }\n return this.layout.clientWidth;\n };\n\n private renderShadow(isMobile: boolean): JSX.Element {\n return (\n <ZIndex priority={'Sidepage'} className={styles.overlay()} onScroll={LayoutEvents.emit}>\n {!isMobile && (\n <>\n <HideBodyVerticalScroll key=\"hbvs\" />\n <div\n key=\"overlay\"\n className={cx({\n [styles.background()]: true,\n [styles.backgroundGray(this.theme)]: this.state.hasBackground,\n })}\n />\n </>\n )}\n </ZIndex>\n );\n }\n\n private getTransitionNames(): Record<string, string> {\n const transition = this.props.fromLeft ? styles.transitionRight : styles.transitionLeft;\n\n return {\n enter: transition(),\n enterActive: styles.transitionActive(),\n exit: styles.transitionLeave(),\n exitActive: styles.transitionLeaveActive(),\n appear: transition(),\n appearActive: styles.transitionActive(),\n };\n }\n\n private handleStackChange = (stack: readonly React.Component[]) => {\n const sidePages = stack.filter((x) => x instanceof SidePage && x.props.fromLeft === this.props.fromLeft);\n const currentSidePagePosition = sidePages.indexOf(this);\n\n const hasMargin = sidePages.length > 1 && currentSidePagePosition === sidePages.length - 1;\n const hasShadow = sidePages.length < 3 || currentSidePagePosition > sidePages.length - 3;\n const hasBackground = ModalStack.isBlocking(this);\n\n this.setState({\n stackPosition: stack.indexOf(this),\n hasMargin,\n hasShadow,\n hasBackground,\n });\n };\n\n private handleClickOutside = (e: Event) => {\n if (this.state.stackPosition === 0 && !this.props.ignoreBackgroundClick) {\n // ignore mousedown on window scrollbar\n if (\n isInstanceOf(e, globalObject.MouseEvent) &&\n globalObject.document &&\n e.clientX > globalObject.document.documentElement.clientWidth\n ) {\n return;\n }\n this.requestClose();\n }\n };\n\n private handleKeyDown = (e: KeyboardEvent) => {\n if (this.state.stackPosition !== 0) {\n return;\n }\n if (isKeyEscape(e)) {\n stopPropagation(e);\n this.requestClose();\n }\n };\n\n private requestClose = () => {\n if (this.props.disableClose) {\n return;\n }\n if (this.props.onClose) {\n this.props.onClose();\n }\n };\n\n private headerRef = (ref: SidePageHeader | null) => {\n this.header = ref;\n };\n\n private footerRef = (ref: SidePageFooter | null) => {\n this.footer = ref;\n };\n\n private layoutRef = (ref: HTMLDivElement | null) => {\n this.layout = ref;\n };\n\n private setHasHeader = (hasHeader = true) => {\n this.state.hasHeader !== hasHeader && this.setState({ hasHeader });\n };\n\n private setHasFooter = (hasFooter = true) => {\n this.state.hasFooter !== hasFooter && this.setState({ hasFooter });\n };\n\n private setHasPanel = (hasPanel = false) => {\n this.state.hasPanel !== hasPanel && this.setState({ hasPanel });\n };\n}\n"],"mappings":"wIAAA,OAAOA,KAAK,MAA0C,OAAO;AAC7D,SAASC,aAAa,QAAQ,wBAAwB;AACtD,OAAOC,SAAS,MAAM,kBAAkB;AACxC,SAASC,YAAY,QAAQ,0BAA0B;;AAEvD,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,WAAW,QAAQ,uCAAuC;AACnE,OAAO,KAAKC,YAAY,MAAM,wBAAwB;AACtD,SAASC,eAAe,QAAQ,kCAAkC;AAClE,SAASC,sBAAsB,QAAQ,uCAAuC;AAC9E,SAASC,UAAU,QAAgC,sBAAsB;AACzE,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAAsBC,aAAa,QAAQ,8BAA8B;AACzE,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,SAAS,QAAQ,8BAA8B;AACxD,SAASC,gBAAgB,QAAQ,qBAAqB;AACtD,SAASC,iBAAiB,QAAQ,6BAA6B;AAC/D,SAASC,YAAY,QAAQ,wBAAwB;;AAErD,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,iBAAiB,QAAQ,qBAAqB;AACvD,SAASC,eAAe,QAA6B,mBAAmB;A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Ae,EAAE,CACpB,OAAO,IAAI,CACb,CACA,IAAIkE,gBAAgB,KAAKnC,SAAS,EAAE,CAClC,OAAOmC,gBAAgB,CACzB,CACA,OAAO,KAAK,CACd,CAAC,OA5G2BjL,KAAK,CAACkL,SAAS,EAAhCpJ,QAAQ,CACLqJ,mBAAmB,GAAG,UAAU,CADnCrJ,QAAQ,CAELsJ,WAAW,GAAG,UAAU,CAF3BtJ,QAAQ,CAILuJ,MAAM,GAAG7J,cAAc,CAJ1BM,QAAQ,CAKLwJ,IAAI,GAAGlK,YAAY,CALtBU,QAAQ,CAMLyJ,MAAM,GAAGhK,cAAc,CAN1BO,QAAQ,CAOL0J,SAAS,GAAGnK,iBAAiB,CAPhCS,QAAQ,CA0CL2B,YAAY,GAAiB,EACzCwD,iBAAiB,EAAEjG,SAAS,EAC5BqH,MAAM,EAAE,CAAC,EACTC,IAAI,EAAE,QAAQ,CAChB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","CSSTransition","FocusLock","globalObject","isNonNullable","isKeyEscape","LayoutEvents","stopPropagation","HideBodyVerticalScroll","ModalStack","RenderContainer","RenderLayer","ZIndex","ThemeContext","CommonWrapper","cx","isTestEnv","ResponsiveLayout","createPropsGetter","isInstanceOf","SidePageBody","SidePageContainer","SidePageContext","SidePageFooter","SidePageHeader","styles","SidePageDataTids","root","container","TRANSITION_TIMEOUT","SidePage","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","hasHeader","hasFooter","hasPanel","stackSubscription","layout","header","footer","rootRef","createRef","updateLayout","_this$header","_this$footer","update","getProps","defaultProps","getSidePageContextProps","requestClose","getWidth","headerRef","footerRef","setHasHeader","setHasFooter","setHasPanel","clientWidth","handleStackChange","stack","sidePages","filter","x","props","fromLeft","currentSidePagePosition","indexOf","hasMargin","hasShadow","hasBackground","isBlocking","setState","stackPosition","handleClickOutside","e","ignoreBackgroundClick","MouseEvent","document","clientX","documentElement","handleKeyDown","disableClose","onClose","ref","layoutRef","_inheritsLoose","_proto","prototype","componentDidMount","addEventListener","add","componentDidUpdate","prevProps","blockBackground","rerender","componentWillUnmount","removeEventListener","remove","render","_this2","createElement","Consumer","theme","renderMain","_this3","_this$props","onOpened","disableAnimations","priority","onScroll","emit","createStackingContext","wrapperRef","style","position","_ref","isMobile","Fragment","renderShadow","classNames","getTransitionNames","appear","enter","exit","timeout","nodeRef","onEntered","renderContainer","_cx","_cx2","_this$props2","width","ariaLabel","_this$getProps","offset","role","className","mobileRoot","undefined","right","left","disabled","isFocusLockDisabled","autoFocus","focusLock","onClickOutside","active","wrapper","wrapperLeft","wrapperMarginLeft","wrapperMarginRight","shadow","Provider","value","children","_cx3","overlay","key","background","backgroundGray","transition","transitionRight","transitionLeft","enterActive","transitionActive","transitionLeave","exitActive","transitionLeaveActive","appearActive","_createClass","get","_this$getProps2","disableFocusLock","Component","__KONTUR_REACT_UI__","displayName","Header","Body","Footer","Container"],"sources":["SidePage.tsx"],"sourcesContent":["import React, { AriaAttributes, HTMLAttributes } from 'react';\nimport { CSSTransition } from 'react-transition-group';\nimport FocusLock from 'react-focus-lock';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport { isNonNullable } from '../../lib/utils';\nimport { isKeyEscape } from '../../lib/events/keyboard/identifiers';\nimport * as LayoutEvents from '../../lib/LayoutEvents';\nimport { stopPropagation } from '../../lib/events/stopPropagation';\nimport { HideBodyVerticalScroll } from '../../internal/HideBodyVerticalScroll';\nimport { ModalStack, ModalStackSubscription } from '../../lib/ModalStack';\nimport { RenderContainer } from '../../internal/RenderContainer';\nimport { RenderLayer } from '../../internal/RenderLayer';\nimport { ZIndex } from '../../internal/ZIndex';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme } from '../../lib/theming/Theme';\nimport { CommonProps, CommonWrapper } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { isTestEnv } from '../../lib/currentEnvironment';\nimport { ResponsiveLayout } from '../ResponsiveLayout';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { isInstanceOf } from '../../lib/isInstanceOf';\n\nimport { SidePageBody } from './SidePageBody';\nimport { SidePageContainer } from './SidePageContainer';\nimport { SidePageContext, SidePageContextType } from './SidePageContext';\nimport { SidePageFooter } from './SidePageFooter';\nimport { SidePageHeader } from './SidePageHeader';\nimport { styles } from './SidePage.styles';\n\nexport interface SidePageProps\n extends CommonProps,\n Pick<HTMLAttributes<unknown>, 'role'>,\n Pick<AriaAttributes, 'aria-label'> {\n /** Добавляет блокирующий фон, когда сайдпейдж открыт. */\n blockBackground?: boolean;\n\n /** Отключает событие onClose, также дизейблит кнопку закрытия сайдпейджа. */\n disableClose?: boolean;\n\n /** Оставляет окно открытым при клике на фон. */\n ignoreBackgroundClick?: boolean;\n\n /** Задает ширину сайдпейджа. */\n width?: number | string;\n\n /** Задает функцию, которая вызывается при запросе закрытия сайдпейджа пользователем (нажал на фон, на Escape или на крестик). */\n onClose?: () => void;\n\n /** Задает функцию, которая вызывается при завершении анимации открытия сайдпейджа. */\n onOpened?: () => void;\n\n /** Отображает сайдпэйдж слева. */\n fromLeft?: boolean;\n\n /** Отключает анимацию. */\n disableAnimations?: boolean;\n\n /** Отключает фокус-лок внутри сайдпейджа.\n * Работает только при заблокированном фоне: `blockBackground = true`.*/\n disableFocusLock?: boolean;\n\n /** Задает отступ от края экрана. */\n offset?: number | string;\n}\n\nexport interface SidePageState {\n stackPosition?: number;\n hasMargin?: boolean;\n hasShadow?: boolean;\n hasBackground?: boolean;\n hasHeader: boolean;\n hasFooter: boolean;\n hasPanel: boolean;\n}\n\nexport const SidePageDataTids = {\n root: 'SidePage__root',\n container: 'SidePage__container',\n} as const;\n\ntype DefaultProps = Required<Pick<SidePageProps, 'disableAnimations' | 'offset' | 'role'>>;\n\nconst TRANSITION_TIMEOUT = 200;\n\n/**\n * `SidePage` — это модальное окно, которое открывается поверх основной страницы и занимает всю высоту окна браузера.\n *\n * Используйте его, когда нужно сохранить контекст и показать большое количество данных.\n *\n * Содержит в себе три компоненты: `SidePage.Header`, `SidePage.Body` и `SidePage.Footer`.\n *\n * Для отображения серой плашки в футере в компонент `Footer` необходимо передать пропс `panel`.\n */\nexport class SidePage extends React.Component<SidePageProps, SidePageState> {\n public static __KONTUR_REACT_UI__ = 'SidePage';\n public static displayName = 'SidePage';\n\n public static Header = SidePageHeader;\n public static Body = SidePageBody;\n public static Footer = SidePageFooter;\n public static Container = SidePageContainer;\n public state: SidePageState = {\n hasHeader: false,\n hasFooter: false,\n hasPanel: false,\n };\n private theme!: Theme;\n private stackSubscription: ModalStackSubscription | null = null;\n private layout: HTMLElement | null = null;\n private header: SidePageHeader | null = null;\n private footer: SidePageFooter | null = null;\n private rootRef = React.createRef<HTMLDivElement>();\n\n public componentDidMount() {\n globalObject.addEventListener?.('keydown', this.handleKeyDown);\n this.stackSubscription = ModalStack.add(this, this.handleStackChange);\n }\n\n public componentDidUpdate(prevProps: SidePageProps) {\n if (prevProps.blockBackground !== this.props.blockBackground) {\n ModalStack.rerender();\n this.setState({\n hasBackground: ModalStack.isBlocking(this),\n });\n }\n }\n\n public componentWillUnmount() {\n globalObject.removeEventListener?.('keydown', this.handleKeyDown);\n if (isNonNullable(this.stackSubscription)) {\n this.stackSubscription.remove();\n }\n ModalStack.remove(this);\n }\n\n /**\n * Обновляет разметку компонента.\n * @public\n */\n public updateLayout = (): void => {\n this.header?.update();\n this.footer?.update();\n };\n\n public static defaultProps: DefaultProps = {\n disableAnimations: isTestEnv,\n offset: 0,\n role: 'dialog',\n };\n\n private getProps = createPropsGetter(SidePage.defaultProps);\n\n public render(): JSX.Element {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n\n private renderMain() {\n const { blockBackground, onOpened } = this.props;\n const disableAnimations = this.getProps().disableAnimations;\n return (\n <RenderContainer>\n <CommonWrapper {...this.props}>\n <ZIndex\n priority={'Sidepage'}\n onScroll={LayoutEvents.emit}\n createStackingContext\n wrapperRef={this.rootRef}\n style={{ position: 'absolute' }}\n >\n <ResponsiveLayout>\n {({ isMobile }) => (\n <>\n {blockBackground && this.renderShadow(isMobile)}\n <CSSTransition\n in\n classNames={this.getTransitionNames()}\n appear={!disableAnimations}\n enter={!disableAnimations}\n exit={false}\n timeout={{\n enter: TRANSITION_TIMEOUT,\n exit: TRANSITION_TIMEOUT,\n }}\n nodeRef={this.rootRef}\n onEntered={onOpened}\n >\n {this.renderContainer(isMobile)}\n </CSSTransition>\n {isMobile && <HideBodyVerticalScroll />}\n </>\n )}\n </ResponsiveLayout>\n </ZIndex>\n </CommonWrapper>\n </RenderContainer>\n );\n }\n\n private get isFocusLockDisabled() {\n const { disableFocusLock } = this.getProps();\n const { blockBackground } = this.props;\n if (!blockBackground) {\n return true;\n }\n if (disableFocusLock !== undefined) {\n return disableFocusLock;\n }\n return false;\n }\n\n private renderContainer(isMobile: boolean): JSX.Element {\n const { width, blockBackground, fromLeft, 'aria-label': ariaLabel } = this.props;\n const { offset, role } = this.getProps();\n\n return (\n <div\n aria-modal\n role={role}\n aria-label={ariaLabel}\n data-tid={SidePageDataTids.root}\n className={cx({\n [styles.root()]: true,\n [styles.mobileRoot()]: isMobile,\n })}\n onScroll={LayoutEvents.emit}\n style={\n isMobile\n ? undefined\n : {\n width: width || (blockBackground ? 800 : 500),\n right: fromLeft ? 'auto' : offset,\n left: fromLeft ? offset : 'auto',\n }\n }\n >\n <FocusLock disabled={this.isFocusLockDisabled} autoFocus={false} className={styles.focusLock()}>\n <RenderLayer onClickOutside={this.handleClickOutside} active>\n <div\n data-tid={SidePageDataTids.container}\n className={cx(styles.wrapper(this.theme), {\n [styles.wrapperLeft()]: fromLeft,\n [styles.wrapperMarginLeft()]: this.state.hasMargin && fromLeft,\n [styles.wrapperMarginRight()]: this.state.hasMargin && !fromLeft,\n [styles.shadow(this.theme)]: this.state.hasShadow,\n })}\n ref={this.layoutRef}\n >\n <SidePageContext.Provider value={this.getSidePageContextProps()}>\n {this.props.children}\n </SidePageContext.Provider>\n </div>\n </RenderLayer>\n </FocusLock>\n </div>\n );\n }\n\n private getSidePageContextProps = (): SidePageContextType => {\n return {\n hasHeader: this.state.hasHeader,\n hasFooter: this.state.hasFooter,\n hasPanel: this.state.hasPanel,\n requestClose: this.requestClose,\n getWidth: this.getWidth,\n updateLayout: this.updateLayout,\n headerRef: this.headerRef,\n footerRef: this.footerRef,\n setHasHeader: this.setHasHeader,\n setHasFooter: this.setHasFooter,\n setHasPanel: this.setHasPanel,\n };\n };\n\n private getWidth = () => {\n if (!this.layout) {\n return 'auto';\n }\n return this.layout.clientWidth;\n };\n\n private renderShadow(isMobile: boolean): JSX.Element {\n return (\n <div className={styles.overlay()} onScroll={LayoutEvents.emit}>\n {!isMobile && (\n <>\n <HideBodyVerticalScroll key=\"hbvs\" />\n <div\n key=\"overlay\"\n className={cx({\n [styles.background()]: true,\n [styles.backgroundGray(this.theme)]: this.state.hasBackground,\n })}\n />\n </>\n )}\n </div>\n );\n }\n\n private getTransitionNames(): Record<string, string> {\n const transition = this.props.fromLeft ? styles.transitionRight : styles.transitionLeft;\n\n return {\n enter: transition(),\n enterActive: styles.transitionActive(),\n exit: styles.transitionLeave(),\n exitActive: styles.transitionLeaveActive(),\n appear: transition(),\n appearActive: styles.transitionActive(),\n };\n }\n\n private handleStackChange = (stack: readonly React.Component[]) => {\n const sidePages = stack.filter((x) => x instanceof SidePage && x.props.fromLeft === this.props.fromLeft);\n const currentSidePagePosition = sidePages.indexOf(this);\n\n const hasMargin = sidePages.length > 1 && currentSidePagePosition === sidePages.length - 1;\n const hasShadow = sidePages.length < 3 || currentSidePagePosition > sidePages.length - 3;\n const hasBackground = ModalStack.isBlocking(this);\n\n this.setState({\n stackPosition: stack.indexOf(this),\n hasMargin,\n hasShadow,\n hasBackground,\n });\n };\n\n private handleClickOutside = (e: Event) => {\n if (this.state.stackPosition === 0 && !this.props.ignoreBackgroundClick) {\n // ignore mousedown on window scrollbar\n if (\n isInstanceOf(e, globalObject.MouseEvent) &&\n globalObject.document &&\n e.clientX > globalObject.document.documentElement.clientWidth\n ) {\n return;\n }\n this.requestClose();\n }\n };\n\n private handleKeyDown = (e: KeyboardEvent) => {\n if (this.state.stackPosition !== 0) {\n return;\n }\n if (isKeyEscape(e)) {\n stopPropagation(e);\n this.requestClose();\n }\n };\n\n private requestClose = () => {\n if (this.props.disableClose) {\n return;\n }\n if (this.props.onClose) {\n this.props.onClose();\n }\n };\n\n private headerRef = (ref: SidePageHeader | null) => {\n this.header = ref;\n };\n\n private footerRef = (ref: SidePageFooter | null) => {\n this.footer = ref;\n };\n\n private layoutRef = (ref: HTMLDivElement | null) => {\n this.layout = ref;\n };\n\n private setHasHeader = (hasHeader = true) => {\n this.state.hasHeader !== hasHeader && this.setState({ hasHeader });\n };\n\n private setHasFooter = (hasFooter = true) => {\n this.state.hasFooter !== hasFooter && this.setState({ hasFooter });\n };\n\n private setHasPanel = (hasPanel = false) => {\n this.state.hasPanel !== hasPanel && this.setState({ hasPanel });\n };\n}\n"],"mappings":"wIAAA,OAAOA,KAAK,MAA0C,OAAO;AAC7D,SAASC,aAAa,QAAQ,wBAAwB;AACtD,OAAOC,SAAS,MAAM,kBAAkB;AACxC,SAASC,YAAY,QAAQ,0BAA0B;;AAEvD,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,WAAW,QAAQ,uCAAuC;AACnE,OAAO,KAAKC,YAAY,MAAM,wBAAwB;AACtD,SAASC,eAAe,QAAQ,kCAAkC;AAClE,SAASC,sBAAsB,QAAQ,uCAAuC;AAC9E,SAASC,UAAU,QAAgC,sBAAsB;AACzE,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,WAAW,QAAQ,4BAA4B;AACxD,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAAsBC,aAAa,QAAQ,8BAA8B;AACzE,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,SAAS,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age extends React.Component<SidePageProps, SidePageSta
65
65
  private footer;
66
66
  private rootRef;
67
67
  componentDidMount(): void;
68
+ componentDidUpdate(prevProps: SidePageProps): void;
68
69
  componentWillUnmount(): void;
69
70
  /**
70
71
  * Обновляет разметку компонента.
@@ -1,5 +1,5 @@
1
1
  import _taggedTemplateLiteralLoose from "@babel/runtime/helpers/esm/taggedTemplateLiteralLoose";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45;
2
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52;
3
3
  import { css, memoizeStyle } from "../../../lib/theming/Emotion";
4
4
  import { resetButton } from "../../../lib/styles/Mixins";
5
5
  export var styles = memoizeStyle({
@@ -67,77 +67,99 @@ export var styles = memoizeStyle({
67
67
  var paddingRight = parseInt(t.sidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);
68
68
  return css(_templateObject21 || (_templateObject21 = _taggedTemplateLiteralLoose(["\n padding-left: ", ";\n padding-right: ", "px;\n "])), t.sidePagePaddingLeft, paddingRight);
69
69
  },
70
+ title5_1: function title5_1(t) {
71
+ var paddingRight = parseInt(t.sidePageCloseButtonClickAreaLeft) + parseInt(t.sidePageCloseIconSize) + parseInt(t.sidePageCloseButtonClickAreaRight);
72
+ return css(_templateObject22 || (_templateObject22 = _taggedTemplateLiteralLoose(["\n padding-right: ", "px;\n "])), paddingRight);
73
+ },
70
74
  mobileTitle: function mobileTitle(t) {
71
75
  var paddingRight = parseInt(t.mobileSidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);
72
- return css(_templateObject22 || (_templateObject22 = _taggedTemplateLiteralLoose(["\n padding-left: ", ";\n padding-right: ", "px;\n "])), t.mobileSidePagePaddingLeft, paddingRight);
76
+ return css(_templateObject23 || (_templateObject23 = _taggedTemplateLiteralLoose(["\n padding-left: ", ";\n padding-right: ", "px;\n "])), t.mobileSidePagePaddingLeft, paddingRight);
73
77
  },
74
78
  titleFixed: function titleFixed() {
75
- return css(_templateObject23 || (_templateObject23 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "])));
79
+ return css(_templateObject24 || (_templateObject24 = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n "])));
76
80
  },
77
81
  background: function background() {
78
- return css(_templateObject24 || (_templateObject24 = _taggedTemplateLiteralLoose(["\n height: 100%;\n position: absolute;\n width: 100%;\n "])));
82
+ return css(_templateObject25 || (_templateObject25 = _taggedTemplateLiteralLoose(["\n height: 100%;\n position: absolute;\n width: 100%;\n "])));
79
83
  },
80
84
  backgroundGray: function backgroundGray(t) {
81
- return css(_templateObject25 || (_templateObject25 = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n "])), t.sidePageBackingBg, t.sidePageBackingBgOpacity);
85
+ return css(_templateObject26 || (_templateObject26 = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n "])), t.sidePageBackingBg, t.sidePageBackingBgOpacity);
82
86
  },
83
87
  shadow: function shadow(t) {
84
- return css(_templateObject26 || (_templateObject26 = _taggedTemplateLiteralLoose(["\n box-shadow: ", ";\n "])), t.sidePageContainerShadow);
88
+ return css(_templateObject27 || (_templateObject27 = _taggedTemplateLiteralLoose(["\n box-shadow: ", ";\n "])), t.sidePageContainerShadow);
85
89
  },
86
90
  close: function close(t) {
87
- return css(_templateObject27 || (_templateObject27 = _taggedTemplateLiteralLoose(["\n ", ";\n cursor: pointer;\n color: ", ";\n padding: ", ";\n margin: -", ";\n font-size: 0;\n\n &:focus,\n &:hover {\n color: ", ";\n }\n\n & > svg {\n width: ", ";\n height: ", ";\n box-sizing: content-box;\n }\n "])), resetButton(), t.sidePageCloseButtonColor, t.sidePageCloseButtonClickArea, t.sidePageCloseButtonClickArea, t.sidePageCloseButtonHoverColor, t.sidePageCloseIconSize, t.sidePageCloseIconSize);
91
+ return css(_templateObject28 || (_templateObject28 = _taggedTemplateLiteralLoose(["\n ", ";\n cursor: pointer;\n color: ", ";\n padding: ", ";\n margin: -", ";\n font-size: 0;\n\n &:focus,\n &:hover {\n color: ", ";\n }\n\n & > svg {\n width: ", ";\n height: ", ";\n box-sizing: content-box;\n }\n "])), resetButton(), t.sidePageCloseButtonColor, t.sidePageCloseButtonClickArea, t.sidePageCloseButtonClickArea, t.sidePageCloseButtonHoverColor, t.sidePageCloseIconSize, t.sidePageCloseIconSize);
92
+ },
93
+ close5_1: function close5_1(t) {
94
+ return css(_templateObject29 || (_templateObject29 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n margin-top: -", ";\n padding-right: ", ";\n margin-right: -", ";\n padding-bottom: ", ";\n margin-bottom: -", ";\n padding-left: ", ";\n margin-left: -", ";\n "])), t.sidePageCloseButtonClickAreaTop, t.sidePageCloseButtonClickAreaTop, t.sidePageCloseButtonClickAreaRight, t.sidePageCloseButtonClickAreaRight, t.sidePageCloseButtonClickAreaBottom, t.sidePageCloseButtonClickAreaBottom, t.sidePageCloseButtonClickAreaLeft, t.sidePageCloseButtonClickAreaLeft);
88
95
  },
89
- mobileClose: function mobileClose(t) {
90
- return css(_templateObject28 || (_templateObject28 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin: -", ";\n font-size: 0;\n "])), t.mobileSidePageCloseButtonClickArea, t.mobileSidePageCloseButtonClickArea);
96
+ closeSticky: function closeSticky(t) {
97
+ return css(_templateObject30 || (_templateObject30 = _taggedTemplateLiteralLoose(["\n padding-top: ", ";\n margin-top: -", ";\n padding-bottom: ", ";\n margin-bottom: -", ";\n "])), t.sidePageCloseButtonFixedClickAreaTop, t.sidePageCloseButtonFixedClickAreaTop, t.sidePageCloseButtonFixedClickAreaBottom, t.sidePageCloseButtonFixedClickAreaBottom);
98
+ },
99
+ closeMobile: function closeMobile(t) {
100
+ return css(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin: -", ";\n font-size: 0;\n "])), t.mobileSidePageCloseButtonClickArea, t.mobileSidePageCloseButtonClickArea);
91
101
  },
92
102
  closeFocus: function closeFocus(t) {
93
- return css(_templateObject29 || (_templateObject29 = _taggedTemplateLiteralLoose(["\n outline: 2px solid ", ";\n "])), t.borderColorFocus);
103
+ return css(_templateObject32 || (_templateObject32 = _taggedTemplateLiteralLoose(["\n outline: 2px solid ", ";\n "])), t.borderColorFocus);
104
+ },
105
+ closeFocus5_1: function closeFocus5_1(t) {
106
+ return css(_templateObject33 || (_templateObject33 = _taggedTemplateLiteralLoose(["\n box-shadow: inset 0 0 0 2px ", ";\n border-radius: 4px;\n "])), t.borderColorFocus);
94
107
  },
95
108
  wrapperClose: function wrapperClose(t) {
96
- return css(_templateObject30 || (_templateObject30 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n height: 100%;\n line-height: ", ";\n padding: ", " 0 ", ";\n position: absolute;\n right: ", ";\n top: ", ";\n "])), t.sidePageHeaderLineHeight, t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom, t.sidePageCloseButtonPadding, t.sidePageCloseButtonWrapperOffsetTop);
109
+ return css(_templateObject34 || (_templateObject34 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n height: 100%;\n line-height: ", ";\n padding: ", " 0 ", ";\n position: absolute;\n right: ", ";\n top: ", ";\n "])), t.sidePageHeaderLineHeight, t.sidePageHeaderPaddingTop, t.sidePageHeaderPaddingBottom, t.sidePageCloseButtonPadding, t.sidePageCloseButtonWrapperOffsetTop);
110
+ },
111
+ wrapperClose5_1: function wrapperClose5_1(t) {
112
+ return css(_templateObject35 || (_templateObject35 = _taggedTemplateLiteralLoose(["\n right: ", ";\n "])), t.sidePageCloseButtonClickAreaRight);
97
113
  },
98
114
  mobileWrapperClose: function mobileWrapperClose(t) {
99
- return css(_templateObject31 || (_templateObject31 = _taggedTemplateLiteralLoose(["\n line-height: ", ";\n padding: ", " 0 ", ";\n right: ", ";\n "])), t.mobileSidePageHeaderLineHeight, t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom, t.mobileSidePageCloseButtonRightPadding);
115
+ return css(_templateObject36 || (_templateObject36 = _taggedTemplateLiteralLoose(["\n line-height: ", ";\n padding: ", " 0 ", ";\n right: ", ";\n "])), t.mobileSidePageHeaderLineHeight, t.mobileSidePageHeaderPaddingTop, t.mobileSidePageHeaderPaddingBottom, t.mobileSidePageCloseButtonRightPadding);
116
+ },
117
+ mobileWrapperClose5_1: function mobileWrapperClose5_1(t) {
118
+ return css(_templateObject37 || (_templateObject37 = _taggedTemplateLiteralLoose(["\n right: ", ";\n "])), t.mobileSidePageCloseButtonPadding);
100
119
  },
101
120
  panel: function panel(t) {
102
- return css(_templateObject32 || (_templateObject32 = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: ", " ", " ", "\n ", ";\n "])), t.sidePageFooterPanelBg, t.sidePageFooterPanelPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPanelPaddingBottom, t.sidePagePaddingLeft);
121
+ return css(_templateObject38 || (_templateObject38 = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: ", " ", " ", "\n ", ";\n "])), t.sidePageFooterPanelBg, t.sidePageFooterPanelPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPanelPaddingBottom, t.sidePagePaddingLeft);
103
122
  },
104
123
  wrapperCloseFixed: function wrapperCloseFixed(t) {
105
- return css(_templateObject33 || (_templateObject33 = _taggedTemplateLiteralLoose(["\n line-height: ", ";\n padding: ", " 0;\n "])), t.sidePageHeaderFixedLineHeight, t.sidePageHeaderFixedPaddingY);
124
+ return css(_templateObject39 || (_templateObject39 = _taggedTemplateLiteralLoose(["\n line-height: ", ";\n padding: ", " 0;\n "])), t.sidePageHeaderFixedLineHeight, t.sidePageHeaderFixedPaddingY);
125
+ },
126
+ wrapperCloseFixed5_1: function wrapperCloseFixed5_1(t) {
127
+ return css(_templateObject40 || (_templateObject40 = _taggedTemplateLiteralLoose(["\n top: ", ";\n "])), t.sidePageCloseButtonWrapperFixedOffsetTop);
106
128
  },
107
129
  footerWrapper: function footerWrapper() {
108
- return css(_templateObject34 || (_templateObject34 = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n "])));
130
+ return css(_templateObject41 || (_templateObject41 = _taggedTemplateLiteralLoose(["\n flex: 0 0 auto;\n "])));
109
131
  },
110
132
  footer: function footer(t) {
111
- return css(_templateObject35 || (_templateObject35 = _taggedTemplateLiteralLoose(["\n bottom: 0;\n position: fixed;\n z-index: 10;\n color: ", ";\n "])), t.sidePageFooterTextColor);
133
+ return css(_templateObject42 || (_templateObject42 = _taggedTemplateLiteralLoose(["\n bottom: 0;\n position: fixed;\n z-index: 10;\n color: ", ";\n "])), t.sidePageFooterTextColor);
112
134
  },
113
135
  positionStatic: function positionStatic() {
114
- return css(_templateObject36 || (_templateObject36 = _taggedTemplateLiteralLoose(["\n position: static;\n "])));
136
+ return css(_templateObject43 || (_templateObject43 = _taggedTemplateLiteralLoose(["\n position: static;\n "])));
115
137
  },
116
138
  footerContent: function footerContent(t) {
117
- return css(_templateObject37 || (_templateObject37 = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), t.sidePageFooterPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPaddingBottom, t.sidePagePaddingLeft);
139
+ return css(_templateObject44 || (_templateObject44 = _taggedTemplateLiteralLoose(["\n padding: ", " ", " ", "\n ", ";\n "])), t.sidePageFooterPaddingTop, t.sidePagePaddingRight, t.sidePageFooterPaddingBottom, t.sidePagePaddingLeft);
118
140
  },
119
141
  mobileFooterContent: function mobileFooterContent(t) {
120
- return css(_templateObject38 || (_templateObject38 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n padding: ", ";\n "])), t.mobileSidePageFooterPadding);
142
+ return css(_templateObject45 || (_templateObject45 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n padding: ", ";\n "])), t.mobileSidePageFooterPadding);
121
143
  },
122
144
  footerFixed: function footerFixed(t) {
123
- return css(_templateObject39 || (_templateObject39 = _taggedTemplateLiteralLoose(["\n background: ", ";\n\n &:before {\n top: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ", ";\n }\n "])), t.sidePageBgDefault, t.sidePageFixedFooterShadow);
145
+ return css(_templateObject46 || (_templateObject46 = _taggedTemplateLiteralLoose(["\n background: ", ";\n\n &:before {\n top: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ", ";\n }\n "])), t.sidePageBgDefault, t.sidePageFixedFooterShadow);
124
146
  },
125
147
  panelFixed: function panelFixed(t) {
126
- return css(_templateObject40 || (_templateObject40 = _taggedTemplateLiteralLoose(["\n &:before {\n box-shadow: ", ";\n }\n "])), t.sidePageFixedPanelShadow);
148
+ return css(_templateObject47 || (_templateObject47 = _taggedTemplateLiteralLoose(["\n &:before {\n box-shadow: ", ";\n }\n "])), t.sidePageFixedPanelShadow);
127
149
  },
128
150
  transitionLeft: function transitionLeft() {
129
- return css(_templateObject41 || (_templateObject41 = _taggedTemplateLiteralLoose(["\n transform: translateX(100px);\n "])));
151
+ return css(_templateObject48 || (_templateObject48 = _taggedTemplateLiteralLoose(["\n transform: translateX(100px);\n "])));
130
152
  },
131
153
  transitionRight: function transitionRight() {
132
- return css(_templateObject42 || (_templateObject42 = _taggedTemplateLiteralLoose(["\n transform: translateX(-100px);\n "])));
154
+ return css(_templateObject49 || (_templateObject49 = _taggedTemplateLiteralLoose(["\n transform: translateX(-100px);\n "])));
133
155
  },
134
156
  transitionActive: function transitionActive() {
135
- return css(_templateObject43 || (_templateObject43 = _taggedTemplateLiteralLoose(["\n transition:\n transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n opacity: 1 !important;\n transform: translate(0, 0) !important;\n "])));
157
+ return css(_templateObject50 || (_templateObject50 = _taggedTemplateLiteralLoose(["\n transition:\n transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n opacity: 1 !important;\n transform: translate(0, 0) !important;\n "])));
136
158
  },
137
159
  transitionLeave: function transitionLeave() {
138
- return css(_templateObject44 || (_templateObject44 = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
160
+ return css(_templateObject51 || (_templateObject51 = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
139
161
  },
140
162
  transitionLeaveActive: function transitionLeaveActive() {
141
- return css(_templateObject45 || (_templateObject45 = _taggedTemplateLiteralLoose(["\n opacity: 0.01 !important;\n transition: opacity 0.15s ease-out;\n "])));
163
+ return css(_templateObject52 || (_templateObject52 = _taggedTemplateLiteralLoose(["\n opacity: 0.01 !important;\n transition: opacity 0.15s ease-out;\n "])));
142
164
  }
143
165
  });
@@ -1 +1 @@
1
- {"version":3,"names":["css","memoizeStyle","resetButton","styles","root","_templateObject","_taggedTemplateLiteralLoose","mobileRoot","_templateObject2","overlay","_templateObject3","body","t","_templateObject4","modalBodyTextColor","mobileBody","_templateObject5","container","_templateObject6","sidePagePaddingLeft","sidePagePaddingRight","mobileContainer","_templateObject7","mobileSidePagePaddingLeft","mobileSidePagePaddingRight","mobileSidePagePaddingBottom","containerWithoutHeader","_templateObject8","sidePagePaddingTop","mobileContainerWithoutHeader","_templateObject9","mobileSidePagePaddingTop","containerWithoutFooter","_templateObject10","sidePagePaddingBottom","containerWithPanel","_templateObject11","focusLock","_templateObject12","wrapper","_templateObject13","sidePageBgDefault","wrapperLeft","_templateObject14","wrapperMarginLeft","_templateObject15","wrapperMarginRight","_templateObject16","headerWrapper","_templateObject17","header","_templateObject18","sidePageHeaderFontSize","sidePageHeaderLineHeight","sidePageHeaderPaddingTop","sidePageHeaderPaddingBottom","sidePageHeaderTextColor","sidePageHeaderFontWeight","mobileHeader","_templateObject19","mobileSidePageHeaderFontSize","mobileSidePageHeaderLineHeight","mobileSidePageHeaderPaddingTop","mobileSidePageHeaderPaddingBottom","headerFixed","_templateObject20","sidePageHeaderFixedFontSize","sidePageHeaderFixedLineHeight","sidePageHeaderFixedPaddingY","sidePageFixedHeaderShadow","title","paddingRight","parseInt","sidePageCloseButtonPadding","sidePageCloseIconSize","_templateObject21","mobileTitle","mobileSidePageCloseButtonPadding","_templateObject22","titleFixed","_templateObject23","background","_templateObject24","backgroundGray","_templateObject25","sidePageBackingBg","sidePageBackingBgOpacity","shadow","_templateObject26","sidePageContainerShadow","close","_templateObject27","sidePageCloseButtonColor","sidePageCloseButtonClickArea","sidePageCloseButtonHoverColor","mobileClose","_templateObject28","mobileSidePageCloseButtonClickArea","closeFocus","_templateObject29","borderColorFocus","wrapperClose","_templateObject30","sidePageCloseButtonWrapperOffsetTop","mobileWrapperClose","_templateObject31","mobileSidePageCloseButtonRightPadding","panel","_templateObject32","sidePageFooterPanelBg","sidePageFooterPanelPaddingTop","sidePageFooterPanelPaddingBottom","wrapperCloseFixed","_templateObject33","footerWrapper","_templateObject34","footer","_templateObject35","sidePageFooterTextColor","positionStatic","_templateObject36","footerContent","_templateObject37","sidePageFooterPaddingTop","sidePageFooterPaddingBottom","mobileFooterContent","_templateObject38","mobileSidePageFooterPadding","footerFixed","_templateObject39","sidePageFixedFooterShadow","panelFixed","_templateObject40","sidePageFixedPanelShadow","transitionLeft","_templateObject41","transitionRight","_templateObject42","transitionActive","_templateObject43","transitionLeave","_templateObject44","transitionLeaveActive","_templateObject45"],"sources":["SidePage.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\nimport { resetButton } from '../../lib/styles/Mixins';\n\nexport const styles = memoizeStyle({\n root() {\n return css`\n height: 100%;\n position: fixed;\n top: 0;\n `;\n },\n\n mobileRoot() {\n return css`\n width: 100%;\n `;\n },\n\n overlay() {\n return css`\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n `;\n },\n\n body(t: Theme) {\n return css`\n flex: 1 0 auto;\n z-index: 0;\n color: ${t.modalBodyTextColor};\n `;\n },\n\n mobileBody() {\n return css`\n font-size: 16px;\n line-height: 22px;\n `;\n },\n\n container(t: Theme) {\n return css`\n padding-left: ${t.sidePagePaddingLeft};\n padding-right: ${t.sidePagePaddingRight};\n `;\n },\n\n mobileContainer(t: Theme) {\n return css`\n padding-left: ${t.mobileSidePagePaddingLeft};\n padding-right: ${t.mobileSidePagePaddingRight};\n padding-bottom: ${t.mobileSidePagePaddingBottom};\n `;\n },\n\n containerWithoutHeader(t: Theme) {\n return css`\n padding-top: ${t.sidePagePaddingTop};\n `;\n },\n\n mobileContainerWithoutHeader(t: Theme) {\n return css`\n padding-top: ${t.mobileSidePagePaddingTop};\n `;\n },\n\n containerWithoutFooter(t: Theme) {\n return css`\n padding-bottom: ${t.sidePagePaddingBottom};\n `;\n },\n\n containerWithPanel(t: Theme) {\n return css`\n padding-bottom: ${t.sidePagePaddingBottom};\n `;\n },\n\n focusLock() {\n return css`\n height: 100%;\n `;\n },\n\n wrapper(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n float: right;\n height: 100%;\n width: 100%;\n overflow-y: auto;\n position: relative;\n white-space: normal;\n align-items: stretch;\n display: flex;\n flex-direction: column;\n `;\n },\n\n wrapperLeft() {\n return css`\n float: left;\n `;\n },\n\n wrapperMarginLeft() {\n return css`\n margin-left: 20px;\n `;\n },\n\n wrapperMarginRight() {\n return css`\n margin-right: 20px;\n `;\n },\n\n headerWrapper() {\n return css`\n flex: 0 0 auto;\n `;\n },\n\n header(t: Theme) {\n return css`\n font-size: ${t.sidePageHeaderFontSize};\n line-height: ${t.sidePageHeaderLineHeight};\n padding: ${t.sidePageHeaderPaddingTop} 0 ${t.sidePageHeaderPaddingBottom};\n width: 100%;\n position: relative;\n color: ${t.sidePageHeaderTextColor};\n font-weight: ${t.sidePageHeaderFontWeight};\n `;\n },\n\n mobileHeader(t: Theme) {\n return css`\n font-size: ${t.mobileSidePageHeaderFontSize};\n line-height: ${t.mobileSidePageHeaderLineHeight};\n padding: ${t.mobileSidePageHeaderPaddingTop} 0 ${t.mobileSidePageHeaderPaddingBottom};\n `;\n },\n\n headerFixed(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n font-size: ${t.sidePageHeaderFixedFontSize};\n line-height: ${t.sidePageHeaderFixedLineHeight};\n padding: ${t.sidePageHeaderFixedPaddingY} 0;\n\n &:after {\n bottom: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ${t.sidePageFixedHeaderShadow};\n }\n `;\n },\n\n title(t: Theme) {\n const paddingRight = parseInt(t.sidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);\n return css`\n padding-left: ${t.sidePagePaddingLeft};\n padding-right: ${paddingRight}px;\n `;\n },\n\n mobileTitle(t: Theme) {\n const paddingRight = parseInt(t.mobileSidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);\n return css`\n padding-left: ${t.mobileSidePagePaddingLeft};\n padding-right: ${paddingRight}px;\n `;\n },\n\n titleFixed() {\n return css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `;\n },\n\n background() {\n return css`\n height: 100%;\n position: absolute;\n width: 100%;\n `;\n },\n\n backgroundGray(t: Theme) {\n return css`\n background: ${t.sidePageBackingBg};\n opacity: ${t.sidePageBackingBgOpacity};\n `;\n },\n\n shadow(t: Theme) {\n return css`\n box-shadow: ${t.sidePageContainerShadow};\n `;\n },\n\n close(t: Theme) {\n return css`\n ${resetButton()};\n cursor: pointer;\n color: ${t.sidePageCloseButtonColor};\n padding: ${t.sidePageCloseButtonClickArea};\n margin: -${t.sidePageCloseButtonClickArea};\n font-size: 0;\n\n &:focus,\n &:hover {\n color: ${t.sidePageCloseButtonHoverColor};\n }\n\n & > svg {\n width: ${t.sidePageCloseIconSize};\n height: ${t.sidePageCloseIconSize};\n box-sizing: content-box;\n }\n `;\n },\n\n mobileClose(t: Theme) {\n return css`\n padding: ${t.mobileSidePageCloseButtonClickArea};\n margin: -${t.mobileSidePageCloseButtonClickArea};\n font-size: 0;\n `;\n },\n\n closeFocus(t: Theme) {\n return css`\n outline: 2px solid ${t.borderColorFocus};\n `;\n },\n\n wrapperClose(t: Theme) {\n return css`\n box-sizing: border-box;\n height: 100%;\n line-height: ${t.sidePageHeaderLineHeight};\n padding: ${t.sidePageHeaderPaddingTop} 0 ${t.sidePageHeaderPaddingBottom};\n position: absolute;\n right: ${t.sidePageCloseButtonPadding};\n top: ${t.sidePageCloseButtonWrapperOffsetTop};\n `;\n },\n\n mobileWrapperClose(t: Theme) {\n return css`\n line-height: ${t.mobileSidePageHeaderLineHeight};\n padding: ${t.mobileSidePageHeaderPaddingTop} 0 ${t.mobileSidePageHeaderPaddingBottom};\n right: ${t.mobileSidePageCloseButtonRightPadding};\n `;\n },\n\n panel(t: Theme) {\n return css`\n background: ${t.sidePageFooterPanelBg};\n padding: ${t.sidePageFooterPanelPaddingTop} ${t.sidePagePaddingRight} ${t.sidePageFooterPanelPaddingBottom}\n ${t.sidePagePaddingLeft};\n `;\n },\n\n wrapperCloseFixed(t: Theme) {\n return css`\n line-height: ${t.sidePageHeaderFixedLineHeight};\n padding: ${t.sidePageHeaderFixedPaddingY} 0;\n `;\n },\n\n footerWrapper() {\n return css`\n flex: 0 0 auto;\n `;\n },\n\n footer(t: Theme) {\n return css`\n bottom: 0;\n position: fixed;\n z-index: 10;\n color: ${t.sidePageFooterTextColor};\n `;\n },\n\n positionStatic() {\n return css`\n position: static;\n `;\n },\n\n footerContent(t: Theme) {\n return css`\n padding: ${t.sidePageFooterPaddingTop} ${t.sidePagePaddingRight} ${t.sidePageFooterPaddingBottom}\n ${t.sidePagePaddingLeft};\n `;\n },\n\n mobileFooterContent(t: Theme) {\n return css`\n display: flex;\n flex-flow: column nowrap;\n padding: ${t.mobileSidePageFooterPadding};\n `;\n },\n\n footerFixed(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n\n &:before {\n top: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ${t.sidePageFixedFooterShadow};\n }\n `;\n },\n\n panelFixed(t: Theme) {\n return css`\n &:before {\n box-shadow: ${t.sidePageFixedPanelShadow};\n }\n `;\n },\n\n transitionLeft() {\n return css`\n transform: translateX(100px);\n `;\n },\n\n transitionRight() {\n return css`\n transform: translateX(-100px);\n `;\n },\n\n transitionActive() {\n return css`\n transition:\n transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n opacity: 1 !important;\n transform: translate(0, 0) !important;\n `;\n },\n\n transitionLeave() {\n return css`\n opacity: 1;\n `;\n },\n\n transitionLe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f,OAAOtI,GAAG,CAAAuI,iBAAA,KAAAA,iBAAA,GAAAjI,2BAAA;;;EAGZ,CAAC;;EAEDkI,eAAe,WAAAA,gBAAA,EAAG;IAChB,OAAOxI,GAAG,CAAAyI,iBAAA,KAAAA,iBAAA,GAAAnI,2BAAA;;;EAGZ,CAAC;;EAEDoI,gBAAgB,WAAAA,iBAAA,EAAG;IACjB,OAAO1I,GAAG,CAAA2I,iBAAA,KAAAA,iBAAA,GAAArI,2BAAA;;;;;;;EAOZ,CAAC;;EAEDsI,eAAe,WAAAA,gBAAA,EAAG;IAChB,OAAO5I,GAAG,CAAA6I,iBAAA,KAAAA,iBAAA,GAAAvI,2BAAA;;;EAGZ,CAAC;;EAEDwI,qBAAqB,WAAAA,sBAAA,EAAG;IACtB,OAAO9I,GAAG,CAAA+I,iBAAA,KAAAA,iBAAA,GAAAzI,2BAAA;;;;EAIZ;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["css","memoizeStyle","resetButton","styles","root","_templateObject","_taggedTemplateLiteralLoose","mobileRoot","_templateObject2","overlay","_templateObject3","body","t","_templateObject4","modalBodyTextColor","mobileBody","_templateObject5","container","_templateObject6","sidePagePaddingLeft","sidePagePaddingRight","mobileContainer","_templateObject7","mobileSidePagePaddingLeft","mobileSidePagePaddingRight","mobileSidePagePaddingBottom","containerWithoutHeader","_templateObject8","sidePagePaddingTop","mobileContainerWithoutHeader","_templateObject9","mobileSidePagePaddingTop","containerWithoutFooter","_templateObject10","sidePagePaddingBottom","containerWithPanel","_templateObject11","focusLock","_templateObject12","wrapper","_templateObject13","sidePageBgDefault","wrapperLeft","_templateObject14","wrapperMarginLeft","_templateObject15","wrapperMarginRight","_templateObject16","headerWrapper","_templateObject17","header","_templateObject18","sidePageHeaderFontSize","sidePageHeaderLineHeight","sidePageHeaderPaddingTop","sidePageHeaderPaddingBottom","sidePageHeaderTextColor","sidePageHeaderFontWeight","mobileHeader","_templateObject19","mobileSidePageHeaderFontSize","mobileSidePageHeaderLineHeight","mobileSidePageHeaderPaddingTop","mobileSidePageHeaderPaddingBottom","headerFixed","_templateObject20","sidePageHeaderFixedFontSize","sidePageHeaderFixedLineHeight","sidePageHeaderFixedPaddingY","sidePageFixedHeaderShadow","title","paddingRight","parseInt","sidePageCloseButtonPadding","sidePageCloseIconSize","_templateObject21","title5_1","sidePageCloseButtonClickAreaLeft","sidePageCloseButtonClickAreaRight","_templateObject22","mobileTitle","mobileSidePageCloseButtonPadding","_templateObject23","titleFixed","_templateObject24","background","_templateObject25","backgroundGray","_templateObject26","sidePageBackingBg","sidePageBackingBgOpacity","shadow","_templateObject27","sidePageContainerShadow","close","_templateObject28","sidePageCloseButtonColor","sidePageCloseButtonClickArea","sidePageCloseButtonHoverColor","close5_1","_templateObject29","sidePageCloseButtonClickAreaTop","sidePageCloseButtonClickAreaBottom","closeSticky","_templateObject30","sidePageCloseButtonFixedClickAreaTop","sidePageCloseButtonFixedClickAreaBottom","closeMobile","_templateObject31","mobileSidePageCloseButtonClickArea","closeFocus","_templateObject32","borderColorFocus","closeFocus5_1","_templateObject33","wrapperClose","_templateObject34","sidePageCloseButtonWrapperOffsetTop","wrapperClose5_1","_templateObject35","mobileWrapperClose","_templateObject36","mobileSidePageCloseButtonRightPadding","mobileWrapperClose5_1","_templateObject37","panel","_templateObject38","sidePageFooterPanelBg","sidePageFooterPanelPaddingTop","sidePageFooterPanelPaddingBottom","wrapperCloseFixed","_templateObject39","wrapperCloseFixed5_1","_templateObject40","sidePageCloseButtonWrapperFixedOffsetTop","footerWrapper","_templateObject41","footer","_templateObject42","sidePageFooterTextColor","positionStatic","_templateObject43","footerContent","_templateObject44","sidePageFooterPaddingTop","sidePageFooterPaddingBottom","mobileFooterContent","_templateObject45","mobileSidePageFooterPadding","footerFixed","_templateObject46","sidePageFixedFooterShadow","panelFixed","_templateObject47","sidePageFixedPanelShadow","transitionLeft","_templateObject48","transitionRight","_templateObject49","transitionActive","_templateObject50","transitionLeave","_templateObject51","transitionLeaveActive","_templateObject52"],"sources":["SidePage.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\nimport { resetButton } from '../../lib/styles/Mixins';\n\nexport const styles = memoizeStyle({\n root() {\n return css`\n height: 100%;\n position: fixed;\n top: 0;\n `;\n },\n\n mobileRoot() {\n return css`\n width: 100%;\n `;\n },\n\n overlay() {\n return css`\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n `;\n },\n\n body(t: Theme) {\n return css`\n flex: 1 0 auto;\n z-index: 0;\n color: ${t.modalBodyTextColor};\n `;\n },\n\n mobileBody() {\n return css`\n font-size: 16px;\n line-height: 22px;\n `;\n },\n\n container(t: Theme) {\n return css`\n padding-left: ${t.sidePagePaddingLeft};\n padding-right: ${t.sidePagePaddingRight};\n `;\n },\n\n mobileContainer(t: Theme) {\n return css`\n padding-left: ${t.mobileSidePagePaddingLeft};\n padding-right: ${t.mobileSidePagePaddingRight};\n padding-bottom: ${t.mobileSidePagePaddingBottom};\n `;\n },\n\n containerWithoutHeader(t: Theme) {\n return css`\n padding-top: ${t.sidePagePaddingTop};\n `;\n },\n\n mobileContainerWithoutHeader(t: Theme) {\n return css`\n padding-top: ${t.mobileSidePagePaddingTop};\n `;\n },\n\n containerWithoutFooter(t: Theme) {\n return css`\n padding-bottom: ${t.sidePagePaddingBottom};\n `;\n },\n\n containerWithPanel(t: Theme) {\n return css`\n padding-bottom: ${t.sidePagePaddingBottom};\n `;\n },\n\n focusLock() {\n return css`\n height: 100%;\n `;\n },\n\n wrapper(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n float: right;\n height: 100%;\n width: 100%;\n overflow-y: auto;\n position: relative;\n white-space: normal;\n align-items: stretch;\n display: flex;\n flex-direction: column;\n `;\n },\n\n wrapperLeft() {\n return css`\n float: left;\n `;\n },\n\n wrapperMarginLeft() {\n return css`\n margin-left: 20px;\n `;\n },\n\n wrapperMarginRight() {\n return css`\n margin-right: 20px;\n `;\n },\n\n headerWrapper() {\n return css`\n flex: 0 0 auto;\n `;\n },\n\n header(t: Theme) {\n return css`\n font-size: ${t.sidePageHeaderFontSize};\n line-height: ${t.sidePageHeaderLineHeight};\n padding: ${t.sidePageHeaderPaddingTop} 0 ${t.sidePageHeaderPaddingBottom};\n width: 100%;\n position: relative;\n color: ${t.sidePageHeaderTextColor};\n font-weight: ${t.sidePageHeaderFontWeight};\n `;\n },\n\n mobileHeader(t: Theme) {\n return css`\n font-size: ${t.mobileSidePageHeaderFontSize};\n line-height: ${t.mobileSidePageHeaderLineHeight};\n padding: ${t.mobileSidePageHeaderPaddingTop} 0 ${t.mobileSidePageHeaderPaddingBottom};\n `;\n },\n\n headerFixed(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n font-size: ${t.sidePageHeaderFixedFontSize};\n line-height: ${t.sidePageHeaderFixedLineHeight};\n padding: ${t.sidePageHeaderFixedPaddingY} 0;\n\n &:after {\n bottom: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ${t.sidePageFixedHeaderShadow};\n }\n `;\n },\n\n title(t: Theme) {\n const paddingRight = parseInt(t.sidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);\n return css`\n padding-left: ${t.sidePagePaddingLeft};\n padding-right: ${paddingRight}px;\n `;\n },\n\n title5_1(t: Theme) {\n const paddingRight =\n parseInt(t.sidePageCloseButtonClickAreaLeft) +\n parseInt(t.sidePageCloseIconSize) +\n parseInt(t.sidePageCloseButtonClickAreaRight);\n return css`\n padding-right: ${paddingRight}px;\n `;\n },\n\n mobileTitle(t: Theme) {\n const paddingRight = parseInt(t.mobileSidePageCloseButtonPadding) * 2 + parseInt(t.sidePageCloseIconSize);\n return css`\n padding-left: ${t.mobileSidePagePaddingLeft};\n padding-right: ${paddingRight}px;\n `;\n },\n\n titleFixed() {\n return css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `;\n },\n\n background() {\n return css`\n height: 100%;\n position: absolute;\n width: 100%;\n `;\n },\n\n backgroundGray(t: Theme) {\n return css`\n background: ${t.sidePageBackingBg};\n opacity: ${t.sidePageBackingBgOpacity};\n `;\n },\n\n shadow(t: Theme) {\n return css`\n box-shadow: ${t.sidePageContainerShadow};\n `;\n },\n\n close(t: Theme) {\n return css`\n ${resetButton()};\n cursor: pointer;\n color: ${t.sidePageCloseButtonColor};\n padding: ${t.sidePageCloseButtonClickArea};\n margin: -${t.sidePageCloseButtonClickArea};\n font-size: 0;\n\n &:focus,\n &:hover {\n color: ${t.sidePageCloseButtonHoverColor};\n }\n\n & > svg {\n width: ${t.sidePageCloseIconSize};\n height: ${t.sidePageCloseIconSize};\n box-sizing: content-box;\n }\n `;\n },\n\n close5_1(t: Theme) {\n return css`\n padding-top: ${t.sidePageCloseButtonClickAreaTop};\n margin-top: -${t.sidePageCloseButtonClickAreaTop};\n padding-right: ${t.sidePageCloseButtonClickAreaRight};\n margin-right: -${t.sidePageCloseButtonClickAreaRight};\n padding-bottom: ${t.sidePageCloseButtonClickAreaBottom};\n margin-bottom: -${t.sidePageCloseButtonClickAreaBottom};\n padding-left: ${t.sidePageCloseButtonClickAreaLeft};\n margin-left: -${t.sidePageCloseButtonClickAreaLeft};\n `;\n },\n\n closeSticky(t: Theme) {\n return css`\n padding-top: ${t.sidePageCloseButtonFixedClickAreaTop};\n margin-top: -${t.sidePageCloseButtonFixedClickAreaTop};\n padding-bottom: ${t.sidePageCloseButtonFixedClickAreaBottom};\n margin-bottom: -${t.sidePageCloseButtonFixedClickAreaBottom};\n `;\n },\n\n closeMobile(t: Theme) {\n return css`\n padding: ${t.mobileSidePageCloseButtonClickArea};\n margin: -${t.mobileSidePageCloseButtonClickArea};\n font-size: 0;\n `;\n },\n\n closeFocus(t: Theme) {\n return css`\n outline: 2px solid ${t.borderColorFocus};\n `;\n },\n\n closeFocus5_1(t: Theme) {\n return css`\n box-shadow: inset 0 0 0 2px ${t.borderColorFocus};\n border-radius: 4px;\n `;\n },\n\n wrapperClose(t: Theme) {\n return css`\n box-sizing: border-box;\n height: 100%;\n line-height: ${t.sidePageHeaderLineHeight};\n padding: ${t.sidePageHeaderPaddingTop} 0 ${t.sidePageHeaderPaddingBottom};\n position: absolute;\n right: ${t.sidePageCloseButtonPadding};\n top: ${t.sidePageCloseButtonWrapperOffsetTop};\n `;\n },\n\n wrapperClose5_1(t: Theme) {\n return css`\n right: ${t.sidePageCloseButtonClickAreaRight};\n `;\n },\n\n mobileWrapperClose(t: Theme) {\n return css`\n line-height: ${t.mobileSidePageHeaderLineHeight};\n padding: ${t.mobileSidePageHeaderPaddingTop} 0 ${t.mobileSidePageHeaderPaddingBottom};\n right: ${t.mobileSidePageCloseButtonRightPadding};\n `;\n },\n\n mobileWrapperClose5_1(t: Theme) {\n return css`\n right: ${t.mobileSidePageCloseButtonPadding};\n `;\n },\n\n panel(t: Theme) {\n return css`\n background: ${t.sidePageFooterPanelBg};\n padding: ${t.sidePageFooterPanelPaddingTop} ${t.sidePagePaddingRight} ${t.sidePageFooterPanelPaddingBottom}\n ${t.sidePagePaddingLeft};\n `;\n },\n\n wrapperCloseFixed(t: Theme) {\n return css`\n line-height: ${t.sidePageHeaderFixedLineHeight};\n padding: ${t.sidePageHeaderFixedPaddingY} 0;\n `;\n },\n\n wrapperCloseFixed5_1(t: Theme) {\n return css`\n top: ${t.sidePageCloseButtonWrapperFixedOffsetTop};\n `;\n },\n\n footerWrapper() {\n return css`\n flex: 0 0 auto;\n `;\n },\n\n footer(t: Theme) {\n return css`\n bottom: 0;\n position: fixed;\n z-index: 10;\n color: ${t.sidePageFooterTextColor};\n `;\n },\n\n positionStatic() {\n return css`\n position: static;\n `;\n },\n\n footerContent(t: Theme) {\n return css`\n padding: ${t.sidePageFooterPaddingTop} ${t.sidePagePaddingRight} ${t.sidePageFooterPaddingBottom}\n ${t.sidePagePaddingLeft};\n `;\n },\n\n mobileFooterContent(t: Theme) {\n return css`\n display: flex;\n flex-flow: column nowrap;\n padding: ${t.mobileSidePageFooterPadding};\n `;\n },\n\n footerFixed(t: Theme) {\n return css`\n background: ${t.sidePageBgDefault};\n\n &:before {\n top: 0px;\n content: '';\n position: absolute;\n height: 1px;\n width: 100%;\n left: 0;\n z-index: -1;\n box-shadow: ${t.sidePageFixedFooterShadow};\n }\n `;\n },\n\n panelFixed(t: Theme) {\n return css`\n &:before {\n box-shadow: ${t.sidePageFixedPanelShadow};\n }\n `;\n },\n\n transitionLeft() {\n return css`\n transform: translateX(100px);\n `;\n },\n\n transitionRight() {\n return css`\n transform: translateX(-100px);\n `;\n },\n\n transitionActive() {\n return css`\n transition:\n transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1),\n opacity 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);\n opacity: 1 !important;\n transform: translate(0, 0) !important;\n `;\n },\n\n transitionLeave() {\n return css`\n opacity: 1;\n `;\n },\n\n transitionLeaveActive() {\n return css`\n opacity: 0.01 !important;\n transition: opacity 0.15s ease-out;\n `;\n },\n});\n"],"mappings":"qjCAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;AAE7D,SAASC,WAAW,QAAQ,yBAAyB;;AAErD,OAAO,IAAMC,MAAM,GAAGF,YAAY,CAAC;EACjCG,IAAI,WAAAA,KAAA,EAAG;IACL,OAAOJ,GAAG,CAAAK,eAAA,KAAAA,eAAA,GAAAC,2BAAA;;;;;EAKZ,CAAC;;EAEDC,UAAU,WAAAA,WAAA,EAAG;IACX,OAAOP,GAAG,CAAAQ,gBAAA,KAAAA,gBAAA,GAAAF,2BAAA;;;EAGZ,CAAC;;EAEDG,OAAO,WAAAA,QAAA,EAAG;IACR,OAAOT,GAAG,CAAAU,gBAAA,KAAAA,gBAAA,GAAAJ,2BAAA;;;;;;;EAOZ,CAAC;;EAEDK,IAAI,WAAAA,KAACC,CAAQ,EAAE;IACb,OAAOZ,GAAG,CAAAa,gBAAA,KAAAA,gBAAA,GAAAP,2BAA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AED2J,eAAe,WAAAA,gBAAA,EAAG;IAChB,OAAOjK,GAAG,CAAAkK,iBAAA,KAAAA,iBAAA,GAAA5J,2BAAA;;;EAGZ,CAAC;;EAED6J,qBAAqB,WAAAA,sBAAA,EAAG;IACtB,OAAOnK,GAAG,CAAAoK,iBAAA,KAAAA,iBAAA,GAAA9J,2BAAA;;;;EAIZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -21,18 +21,25 @@ export declare const styles: {
21
21
  mobileHeader(t: Theme): string;
22
22
  headerFixed(t: Theme): string;
23
23
  title(t: Theme): string;
24
+ title5_1(t: Theme): string;
24
25
  mobileTitle(t: Theme): string;
25
26
  titleFixed(): string;
26
27
  background(): string;
27
28
  backgroundGray(t: Theme): string;
28
29
  shadow(t: Theme): string;
29
30
  close(t: Theme): string;
30
- mobileClose(t: Theme): string;
31
+ close5_1(t: Theme): string;
32
+ closeSticky(t: Theme): string;
33
+ closeMobile(t: Theme): string;
31
34
  closeFocus(t: Theme): string;
35
+ closeFocus5_1(t: Theme): string;
32
36
  wrapperClose(t: Theme): string;
37
+ wrapperClose5_1(t: Theme): string;
33
38
  mobileWrapperClose(t: Theme): string;
39
+ mobileWrapperClose5_1(t: Theme): string;
34
40
  panel(t: Theme): string;
35
41
  wrapperCloseFixed(t: Theme): string;
42
+ wrapperCloseFixed5_1(t: Theme): string;
36
43
  footerWrapper(): string;
37
44
  footer(t: Theme): string;
38
45
  positionStatic(): string;
@@ -5,12 +5,15 @@ import { useLocaleForControl } from "../../../lib/locale/useLocaleForControl";
5
5
  import { XIcon20Regular } from "../../../internal/icons2022/XIcon/XIcon20Regular";
6
6
  import { cx } from "../../../lib/theming/Emotion";
7
7
  import { keyListener } from "../../../lib/events/keyListener";
8
+ import { isThemeGTE } from "../../../lib/theming/ThemeHelpers";
8
9
  import { styles } from "../SidePage.styles";
9
10
  import { SidePageLocaleHelper } from "../locale";
10
11
  import { SidePageHeaderDataTids } from "../SidePageHeader";
11
12
  import { SidePageContext } from "../SidePageContext";
12
- export var SidePageCloseButton = function SidePageCloseButton() {
13
+ export var SidePageCloseButton = function SidePageCloseButton(_ref) {
13
14
  var _cx;
15
+ var isHeaderFixed = _ref.isHeaderFixed,
16
+ isMobile = _ref.isMobile;
14
17
  var _useState = useState(false),
15
18
  isFocusedByTab = _useState[0],
16
19
  setIsFocusedByTab = _useState[1];
@@ -30,10 +33,11 @@ export var SidePageCloseButton = function SidePageCloseButton() {
30
33
  var icon = /*#__PURE__*/React.createElement(XIcon20Regular, {
31
34
  align: "none"
32
35
  });
36
+ var versionGTE5_1 = isThemeGTE(theme, '5.1');
33
37
  return /*#__PURE__*/(
34
38
  React.createElement("button", {
35
39
  "aria-label": locale == null ? void 0 : locale.closeButtonAriaLabel,
36
- className: cx(styles.close(theme), (_cx = {}, _cx[styles.closeFocus(theme)] = isFocusedByTab, _cx)),
40
+ className: cx(styles.close(theme), (_cx = {}, _cx[styles.close5_1(theme)] = versionGTE5_1, _cx[styles.closeFocus(theme)] = isFocusedByTab && !versionGTE5_1, _cx[styles.closeFocus5_1(theme)] = isFocusedByTab && versionGTE5_1, _cx[styles.closeSticky(theme)] = isHeaderFixed && versionGTE5_1, _cx[styles.closeMobile(theme)] = isMobile && versionGTE5_1, _cx)),
37
41
  onFocus: handleFocus,
38
42
  onBlur: handleBlur,
39
43
  onClick: sidePageContext.requestClose,
@@ -1 +1 @@
1
- {"version":3,"names":["React","useContext","useState","globalObject","ThemeContext","useLocaleForControl","XIcon20Regular","cx","keyListener","styles","SidePageLocaleHelper","SidePageHeaderDataTids","SidePageContext","SidePageCloseButton","_cx","_useState","isFocusedByTab","setIsFocusedByTab","locale","theme","sidePageContext","handleFocus","requestAnimationFrame","isTabPressed","handleBlur","icon","createElement","align","closeButtonAriaLabel","className","close","closeFocus","onFocus","onBlur","onClick","requestClose","__KONTUR_REACT_UI__","displayName"],"sources":["SidePageCloseButton.tsx"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { useLocaleForControl } from '../../lib/locale/useLocaleForControl';\nimport { XIcon20Regular } from '../../internal/icons2022/XIcon/XIcon20Regular';\nimport { cx } from '../../lib/theming/Emotion';\nimport { keyListener } from '../../lib/events/keyListener';\n\nimport { styles } from './SidePage.styles';\nimport { SidePageLocaleHelper } from './locale';\nimport { SidePageHeaderDataTids } from './SidePageHeader';\nimport { SidePageContext } from './SidePageContext';\n\nexport const SidePageCloseButton = () => {\n const [isFocusedByTab, setIsFocusedByTab] = useState(false);\n\n const locale = useLocaleForControl('SidePage', SidePageLocaleHelper);\n const theme = useContext(ThemeContext);\n const sidePageContext = useContext(SidePageContext);\n\n const handleFocus = () => {\n globalObject.requestAnimationFrame?.(() => {\n if (keyListener.isTabPressed) {\n setIsFocusedByTab(true);\n }\n });\n };\n\n const handleBlur = () => {\n setIsFocusedByTab(false);\n };\n\n const icon = <XIcon20Regular align=\"none\" />;\n return (\n <button\n aria-label={locale?.closeButtonAriaLabel}\n className={cx(styles.close(theme), {\n [styles.closeFocus(theme)]: isFocusedByTab,\n })}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onClick={sidePageContext.requestClose}\n data-tid={SidePageHeaderDataTids.close}\n >\n {icon}\n </button>\n );\n};\n\nSidePageCloseButton.__KONTUR_REACT_UI__ = 'SidePageCloseButton';\nSidePageCloseButton.displayName = 'SidePageCloseButton';\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,YAAY,QAAQ,0BAA0B;;AAEvD,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,mBAAmB,QAAQ,sCAAsC;AAC1E,SAASC,cAAc,QAAQ,+CAA+C;AAC9E,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,WAAW,QAAQ,8BAA8B;;AAE1D,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,oBAAoB,QAAQ,UAAU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AAUxB,sBAAsB,CAACmB,KAAM;;IAEtCL;IACK,CAAC;;AAEb,CAAC;;AAEDZ,mBAAmB,CAACuB,mBAAmB,GAAG,qBAAqB;AAC/DvB,mBAAmB,CAACwB,WAAW,GAAG,qBAAqB","ignoreList":[]}
1
+ {"version":3,"names":["React","useContext","useState","globalObject","ThemeContext","useLocaleForControl","XIcon20Regular","cx","keyListener","isThemeGTE","styles","SidePageLocaleHelper","SidePageHeaderDataTids","SidePageContext","SidePageCloseButton","_ref","_cx","isHeaderFixed","isMobile","_useState","isFocusedByTab","setIsFocusedByTab","locale","theme","sidePageContext","handleFocus","requestAnimationFrame","isTabPressed","handleBlur","icon","createElement","align","versionGTE5_1","closeButtonAriaLabel","className","close","close5_1","closeFocus","closeFocus5_1","closeSticky","closeMobile","onFocus","onBlur","onClick","requestClose","__KONTUR_REACT_UI__","displayName"],"sources":["SidePageCloseButton.tsx"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport { globalObject } from '@skbkontur/global-object';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { useLocaleForControl } from '../../lib/locale/useLocaleForControl';\nimport { XIcon20Regular } from '../../internal/icons2022/XIcon/XIcon20Regular';\nimport { cx } from '../../lib/theming/Emotion';\nimport { keyListener } from '../../lib/events/keyListener';\nimport { CommonProps } from '../../internal/CommonWrapper';\nimport { isThemeGTE } from '../../lib/theming/ThemeHelpers';\n\nimport { styles } from './SidePage.styles';\nimport { SidePageLocaleHelper } from './locale';\nimport { SidePageHeaderDataTids } from './SidePageHeader';\nimport { SidePageContext } from './SidePageContext';\n\nexport interface SidePageCloseButtonProps extends CommonProps {\n isHeaderFixed: boolean;\n isMobile?: boolean;\n}\n\nexport const SidePageCloseButton = ({ isHeaderFixed, isMobile }: SidePageCloseButtonProps) => {\n const [isFocusedByTab, setIsFocusedByTab] = useState(false);\n\n const locale = useLocaleForControl('SidePage', SidePageLocaleHelper);\n const theme = useContext(ThemeContext);\n const sidePageContext = useContext(SidePageContext);\n\n const handleFocus = () => {\n globalObject.requestAnimationFrame?.(() => {\n if (keyListener.isTabPressed) {\n setIsFocusedByTab(true);\n }\n });\n };\n\n const handleBlur = () => {\n setIsFocusedByTab(false);\n };\n\n const icon = <XIcon20Regular align=\"none\" />;\n const versionGTE5_1 = isThemeGTE(theme, '5.1');\n return (\n <button\n aria-label={locale?.closeButtonAriaLabel}\n className={cx(styles.close(theme), {\n [styles.close5_1(theme)]: versionGTE5_1,\n [styles.closeFocus(theme)]: isFocusedByTab && !versionGTE5_1,\n [styles.closeFocus5_1(theme)]: isFocusedByTab && versionGTE5_1,\n [styles.closeSticky(theme)]: isHeaderFixed && versionGTE5_1,\n [styles.closeMobile(theme)]: isMobile && versionGTE5_1,\n })}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onClick={sidePageContext.requestClose}\n data-tid={SidePageHeaderDataTids.close}\n >\n {icon}\n </button>\n );\n};\n\nSidePageCloseButton.__KONTUR_REACT_UI__ = 'SidePageCloseButton';\nSidePageCloseButton.displayName = 'SidePageCloseButton';\n"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,YAAY,QAAQ,0BAA0B;;AAEvD,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,mBAAmB,QAAQ,sCAAsC;AAC1E,SAASC,cAAc,QAAQ,+CAA+C;AAC9E,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,WAAW,QAAQ,8BAA8B;;AAE1D,SAASC,UAAU,QAAQ,gCAAgC;;AAE3D,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,oBAAoB,QAAQ,UAAU;AAC/C,SAASC,sBAAsB,QAAQ,kBAAkB;AACzD,SAASC,eAAe,QAAQ,mBAAmB;;;;;;;AAOnD,OAAO,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAA8D,KAAAC,GAAA,KAAxDC,aAAa,GAAAF,IAAA,CA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AC,IAAGH,cAAc,IAAIY,aAAa,EAAAhB,GAAA;MAC7DN,MAAM,CAAC6B,WAAW,CAAChB,KAAK,CAAC,IAAGN,aAAa,IAAIe,aAAa,EAAAhB,GAAA;MAC1DN,MAAM,CAAC8B,WAAW,CAACjB,KAAK,CAAC,IAAGL,QAAQ,IAAIc,aAAa,EAAAhB,GAAA;MACvD,CAAE;MACHyB,OAAO,EAAEhB,WAAY;MACrBiB,MAAM,EAAEd,UAAW;MACnBe,OAAO,EAAEnB,eAAe,CAACoB,YAAa;MACtC,YAAUhC,sBAAsB,CAACuB,KAAM;;IAEtCN;IACK,CAAC;;AAEb,CAAC;;AAEDf,mBAAmB,CAAC+B,mBAAmB,GAAG,qBAAqB;AAC/D/B,mBAAmB,CAACgC,WAAW,GAAG,qBAAqB","ignoreList":[]}
@@ -1,6 +1,11 @@
1
1
  import React from 'react';
2
+ import { CommonProps } from '../../internal/CommonWrapper';
3
+ export interface SidePageCloseButtonProps extends CommonProps {
4
+ isHeaderFixed: boolean;
5
+ isMobile?: boolean;
6
+ }
2
7
  export declare const SidePageCloseButton: {
3
- (): React.JSX.Element;
8
+ ({ isHeaderFixed, isMobile }: SidePageCloseButtonProps): React.JSX.Element;
4
9
  __KONTUR_REACT_UI__: string;
5
10
  displayName: string;
6
11
  };