@skbkontur/react-ui 0.0.0-3dbb8bef27 → 0.0.0-3e9dfb16e9

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 (1969) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/cjs/components/Autocomplete/Autocomplete.d.ts +6 -5
  3. package/cjs/components/Autocomplete/Autocomplete.js +6 -1
  4. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  5. package/cjs/components/Autocomplete/Autocomplete.styles.d.ts +1 -1
  6. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  7. package/cjs/components/Autocomplete/__docs__/Autocomplete.mdx +5 -5
  8. package/cjs/components/Autocomplete/getAutocompleteTheme.d.ts +1 -1
  9. package/cjs/components/Autocomplete/getAutocompleteTheme.js.map +1 -1
  10. package/cjs/components/Autocomplete/locale/index.d.ts +1 -1
  11. package/cjs/components/Autocomplete/locale/index.js.map +1 -1
  12. package/cjs/components/Autocomplete/locale/locales/en.d.ts +1 -1
  13. package/cjs/components/Autocomplete/locale/locales/en.js.map +1 -1
  14. package/cjs/components/Autocomplete/locale/locales/ru.d.ts +1 -1
  15. package/cjs/components/Autocomplete/locale/locales/ru.js.map +1 -1
  16. package/cjs/components/Button/Button.d.ts +5 -5
  17. package/cjs/components/Button/Button.js +5 -1
  18. package/cjs/components/Button/Button.js.map +1 -1
  19. package/cjs/components/Button/Button.styles.d.ts +1 -1
  20. package/cjs/components/Button/Button.styles.js +2 -1
  21. package/cjs/components/Button/Button.styles.js.map +1 -1
  22. package/cjs/components/Button/ButtonArrow.d.ts +2 -2
  23. package/cjs/components/Button/ButtonArrow.js +1 -0
  24. package/cjs/components/Button/ButtonArrow.js.map +1 -1
  25. package/cjs/components/Button/ButtonIcon.d.ts +3 -3
  26. package/cjs/components/Button/ButtonIcon.js.map +1 -1
  27. package/cjs/components/Button/ButtonIcon.styles.d.ts +1 -1
  28. package/cjs/components/Button/ButtonIcon.styles.js.map +1 -1
  29. package/cjs/components/Button/LoadingButtonIcon.d.ts +1 -1
  30. package/cjs/components/Button/LoadingButtonIcon.js.map +1 -1
  31. package/cjs/components/Button/__docs__/Button.mdx +8 -9
  32. package/cjs/components/Button/getInnerLinkTheme.d.ts +1 -1
  33. package/cjs/components/Button/getInnerLinkTheme.js.map +1 -1
  34. package/cjs/components/Calendar/Calendar.d.ts +3 -3
  35. package/cjs/components/Calendar/Calendar.js +6 -0
  36. package/cjs/components/Calendar/Calendar.js.map +1 -1
  37. package/cjs/components/Calendar/Calendar.styles.d.ts +1 -1
  38. package/cjs/components/Calendar/Calendar.styles.js.map +1 -1
  39. package/cjs/components/Calendar/CalendarContext.d.ts +2 -2
  40. package/cjs/components/Calendar/CalendarContext.js.map +1 -1
  41. package/cjs/components/Calendar/CalendarDateShape.d.ts +1 -1
  42. package/cjs/components/Calendar/CalendarDateShape.js.map +1 -1
  43. package/cjs/components/Calendar/CalendarDay.d.ts +2 -1
  44. package/cjs/components/Calendar/CalendarDay.js +2 -1
  45. package/cjs/components/Calendar/CalendarDay.js.map +1 -1
  46. package/cjs/components/Calendar/CalendarUtils.d.ts +4 -4
  47. package/cjs/components/Calendar/CalendarUtils.js +1 -0
  48. package/cjs/components/Calendar/CalendarUtils.js.map +1 -1
  49. package/cjs/components/Calendar/DayCellView.d.ts +1 -1
  50. package/cjs/components/Calendar/DayCellView.js +3 -1
  51. package/cjs/components/Calendar/DayCellView.js.map +1 -1
  52. package/cjs/components/Calendar/DayCellView.styles.d.ts +1 -1
  53. package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
  54. package/cjs/components/Calendar/Month.d.ts +1 -1
  55. package/cjs/components/Calendar/Month.js.map +1 -1
  56. package/cjs/components/Calendar/MonthView.d.ts +1 -1
  57. package/cjs/components/Calendar/MonthView.js.map +1 -1
  58. package/cjs/components/Calendar/MonthView.styles.d.ts +1 -1
  59. package/cjs/components/Calendar/MonthView.styles.js.map +1 -1
  60. package/cjs/components/Calendar/MonthViewModel.d.ts +1 -1
  61. package/cjs/components/Calendar/MonthViewModel.js.map +1 -1
  62. package/cjs/components/Calendar/__docs__/Calendar.mdx +8 -9
  63. package/cjs/components/Calendar/__docs__/CalendarDay.mdx +4 -5
  64. package/cjs/components/Calendar/config.d.ts +1 -1
  65. package/cjs/components/Calendar/config.js.map +1 -1
  66. package/cjs/components/Calendar/locale/index.d.ts +1 -1
  67. package/cjs/components/Calendar/locale/index.js.map +1 -1
  68. package/cjs/components/Calendar/locale/locales/en.d.ts +1 -1
  69. package/cjs/components/Calendar/locale/locales/en.js.map +1 -1
  70. package/cjs/components/Calendar/locale/locales/ru.d.ts +1 -1
  71. package/cjs/components/Calendar/locale/locales/ru.js.map +1 -1
  72. package/cjs/components/Center/Center.d.ts +2 -2
  73. package/cjs/components/Center/Center.js +3 -0
  74. package/cjs/components/Center/Center.js.map +1 -1
  75. package/cjs/components/Center/__docs__/Center.mdx +4 -5
  76. package/cjs/components/Checkbox/Checkbox.d.ts +5 -4
  77. package/cjs/components/Checkbox/Checkbox.js +4 -1
  78. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  79. package/cjs/components/Checkbox/Checkbox.styles.d.ts +1 -1
  80. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
  81. package/cjs/components/Checkbox/__docs__/Checkbox.mdx +8 -9
  82. package/cjs/components/ComboBox/ComboBox.d.ts +7 -6
  83. package/cjs/components/ComboBox/ComboBox.js +3 -1
  84. package/cjs/components/ComboBox/ComboBox.js.map +1 -1
  85. package/cjs/components/ComboBox/ComboBox.md +2 -2
  86. package/cjs/components/ComboBox/__docs__/ComboBox.mdx +8 -9
  87. package/cjs/components/CurrencyInput/CurrencyHelper.d.ts +3 -3
  88. package/cjs/components/CurrencyInput/CurrencyHelper.js.map +1 -1
  89. package/cjs/components/CurrencyInput/CurrencyInput.d.ts +6 -5
  90. package/cjs/components/CurrencyInput/CurrencyInput.js +6 -1
  91. package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
  92. package/cjs/components/CurrencyInput/CurrencyInputHelper.d.ts +2 -2
  93. package/cjs/components/CurrencyInput/CurrencyInputHelper.js.map +1 -1
  94. package/cjs/components/CurrencyInput/CursorHelper.d.ts +1 -1
  95. package/cjs/components/CurrencyInput/CursorHelper.js.map +1 -1
  96. package/cjs/components/CurrencyInput/__docs__/CurrencyInput.mdx +8 -9
  97. package/cjs/components/CurrencyLabel/CurrencyLabel.d.ts +3 -2
  98. package/cjs/components/CurrencyLabel/CurrencyLabel.js +3 -1
  99. package/cjs/components/CurrencyLabel/CurrencyLabel.js.map +1 -1
  100. package/cjs/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +4 -5
  101. package/cjs/components/DateInput/DateFragmentsView.d.ts +2 -1
  102. package/cjs/components/DateInput/DateFragmentsView.js +1 -0
  103. package/cjs/components/DateInput/DateFragmentsView.js.map +1 -1
  104. package/cjs/components/DateInput/DateFragmentsView.styles.d.ts +1 -1
  105. package/cjs/components/DateInput/DateFragmentsView.styles.js.map +1 -1
  106. package/cjs/components/DateInput/DateInput.d.ts +4 -3
  107. package/cjs/components/DateInput/DateInput.js +5 -1
  108. package/cjs/components/DateInput/DateInput.js.map +1 -1
  109. package/cjs/components/DateInput/DateInput.styles.d.ts +1 -1
  110. package/cjs/components/DateInput/DateInput.styles.js.map +1 -1
  111. package/cjs/components/DateInput/__docs__/DateInput.mdx +4 -7
  112. package/cjs/components/DateInput/helpers/DateInputKeyboardActions.d.ts +1 -1
  113. package/cjs/components/DateInput/helpers/DateInputKeyboardActions.js.map +1 -1
  114. package/cjs/components/DateInput/helpers/InternalDateMediator.d.ts +4 -3
  115. package/cjs/components/DateInput/helpers/InternalDateMediator.js +1 -5
  116. package/cjs/components/DateInput/helpers/InternalDateMediator.js.map +1 -1
  117. package/cjs/components/DateInput/helpers/inputNumber.d.ts +2 -1
  118. package/cjs/components/DateInput/helpers/inputNumber.js +1 -0
  119. package/cjs/components/DateInput/helpers/inputNumber.js.map +1 -1
  120. package/cjs/components/DatePicker/DatePicker.d.ts +6 -5
  121. package/cjs/components/DatePicker/DatePicker.js +5 -0
  122. package/cjs/components/DatePicker/DatePicker.js.map +1 -1
  123. package/cjs/components/DatePicker/DatePicker.styles.d.ts +1 -1
  124. package/cjs/components/DatePicker/DatePicker.styles.js.map +1 -1
  125. package/cjs/components/DatePicker/DatePickerHelpers.d.ts +1 -1
  126. package/cjs/components/DatePicker/DatePickerHelpers.js.map +1 -1
  127. package/cjs/components/DatePicker/MobilePicker.d.ts +1 -1
  128. package/cjs/components/DatePicker/MobilePicker.js.map +1 -1
  129. package/cjs/components/DatePicker/__docs__/DatePicker.mdx +8 -9
  130. package/cjs/components/DatePicker/getMobilePickerTheme.d.ts +1 -1
  131. package/cjs/components/DatePicker/getMobilePickerTheme.js.map +1 -1
  132. package/cjs/components/DatePicker/locale/index.d.ts +1 -1
  133. package/cjs/components/DatePicker/locale/index.js.map +1 -1
  134. package/cjs/components/DatePicker/locale/locales/en.d.ts +1 -1
  135. package/cjs/components/DatePicker/locale/locales/en.js.map +1 -1
  136. package/cjs/components/DatePicker/locale/locales/ru.d.ts +1 -1
  137. package/cjs/components/DatePicker/locale/locales/ru.js.map +1 -1
  138. package/cjs/components/DatePicker/locale/types.d.ts +3 -3
  139. package/cjs/components/DatePicker/locale/types.js.map +1 -1
  140. package/cjs/components/DateRangePicker/DateRangePicker.d.ts +4 -2
  141. package/cjs/components/DateRangePicker/DateRangePicker.js +46 -8
  142. package/cjs/components/DateRangePicker/DateRangePicker.js.map +1 -1
  143. package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +2 -2
  144. package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +1 -1
  145. package/cjs/components/DateRangePicker/DateRangePickerInput.d.ts +2 -1
  146. package/cjs/components/DateRangePicker/DateRangePickerInput.js +7 -9
  147. package/cjs/components/DateRangePicker/DateRangePickerInput.js.map +1 -1
  148. package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +1 -1
  149. package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +1 -1
  150. package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +8 -12
  151. package/cjs/components/DateRangePicker/helpers/getStateForValue.d.ts +2 -2
  152. package/cjs/components/DateRangePicker/helpers/getStateForValue.js +10 -18
  153. package/cjs/components/DateRangePicker/helpers/getStateForValue.js.map +1 -1
  154. package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +1 -1
  155. package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.js +17 -17
  156. package/cjs/components/DateRangePicker/helpers/validateDateRangePicker.js.map +1 -1
  157. package/cjs/components/DateRangePicker/locale/index.d.ts +1 -1
  158. package/cjs/components/DateRangePicker/locale/index.js.map +1 -1
  159. package/cjs/components/DateRangePicker/locale/locales/en.d.ts +1 -1
  160. package/cjs/components/DateRangePicker/locale/locales/en.js.map +1 -1
  161. package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +1 -1
  162. package/cjs/components/DateRangePicker/locale/locales/ru.js.map +1 -1
  163. package/cjs/components/DateRangePicker/locale/types.d.ts +1 -1
  164. package/cjs/components/DateRangePicker/locale/types.js.map +1 -1
  165. package/cjs/components/Dropdown/Dropdown.d.ts +5 -4
  166. package/cjs/components/Dropdown/Dropdown.js +4 -1
  167. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  168. package/cjs/components/Dropdown/__docs__/Dropdown.mdx +8 -9
  169. package/cjs/components/Dropdown/getDropdownTheme.d.ts +1 -1
  170. package/cjs/components/Dropdown/getDropdownTheme.js.map +1 -1
  171. package/cjs/components/DropdownMenu/DropdownMenu.d.ts +5 -4
  172. package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
  173. package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
  174. package/cjs/components/DropdownMenu/DropdownMenu.md +8 -8
  175. package/cjs/components/DropdownMenu/__docs__/DropdownMenu.mdx +8 -9
  176. package/cjs/components/DropdownMenu/getDropdownMenuTheme.d.ts +1 -1
  177. package/cjs/components/DropdownMenu/getDropdownMenuTheme.js.map +1 -1
  178. package/cjs/components/FileUploader/FileUploader.d.ts +6 -6
  179. package/cjs/components/FileUploader/FileUploader.js +39 -17
  180. package/cjs/components/FileUploader/FileUploader.js.map +1 -1
  181. package/cjs/components/FileUploader/FileUploader.styles.d.ts +1 -1
  182. package/cjs/components/FileUploader/FileUploader.styles.js.map +1 -1
  183. package/cjs/components/FileUploader/__docs__/FileUploader.mdx +8 -9
  184. package/cjs/components/FileUploader/index.d.ts +1 -1
  185. package/cjs/components/FileUploader/index.js.map +1 -1
  186. package/cjs/components/FileUploader/locale/index.d.ts +1 -1
  187. package/cjs/components/FileUploader/locale/index.js.map +1 -1
  188. package/cjs/components/FileUploader/locale/locales/en.d.ts +1 -1
  189. package/cjs/components/FileUploader/locale/locales/en.js.map +1 -1
  190. package/cjs/components/FileUploader/locale/locales/ru.d.ts +1 -1
  191. package/cjs/components/FileUploader/locale/locales/ru.js.map +1 -1
  192. package/cjs/components/FxInput/FxInput.d.ts +9 -6
  193. package/cjs/components/FxInput/FxInput.js +7 -1
  194. package/cjs/components/FxInput/FxInput.js.map +1 -1
  195. package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +3 -2
  196. package/cjs/components/FxInput/FxInputRestoreBtn.js +2 -1
  197. package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
  198. package/cjs/components/FxInput/__docs__/FxInput.mdx +8 -9
  199. package/cjs/components/Gapped/Gapped.d.ts +1 -1
  200. package/cjs/components/Gapped/Gapped.js +2 -0
  201. package/cjs/components/Gapped/Gapped.js.map +1 -1
  202. package/cjs/components/Gapped/__docs__/Gapped.mdx +4 -5
  203. package/cjs/components/GlobalLoader/GlobalLoader.js +2 -0
  204. package/cjs/components/GlobalLoader/GlobalLoader.js.map +1 -1
  205. package/cjs/components/GlobalLoader/GlobalLoaderView.d.ts +1 -1
  206. package/cjs/components/GlobalLoader/GlobalLoaderView.js +1 -0
  207. package/cjs/components/GlobalLoader/GlobalLoaderView.js.map +1 -1
  208. package/cjs/components/GlobalLoader/GlobalLoaderView.styles.d.ts +1 -1
  209. package/cjs/components/GlobalLoader/GlobalLoaderView.styles.js.map +1 -1
  210. package/cjs/components/GlobalLoader/__docs__/GlobalLoader.mdx +8 -9
  211. package/cjs/components/GlobalLoader/useParams.d.ts +1 -1
  212. package/cjs/components/GlobalLoader/useParams.js.map +1 -1
  213. package/cjs/components/Group/Group.d.ts +1 -1
  214. package/cjs/components/Group/Group.js +2 -0
  215. package/cjs/components/Group/Group.js.map +1 -1
  216. package/cjs/components/Group/Group.md +4 -4
  217. package/cjs/components/Group/__docs__/Group.mdx +4 -5
  218. package/cjs/components/Hint/Hint.d.ts +5 -5
  219. package/cjs/components/Hint/Hint.js +4 -0
  220. package/cjs/components/Hint/Hint.js.map +1 -1
  221. package/cjs/components/Hint/Hint.styles.d.ts +1 -1
  222. package/cjs/components/Hint/Hint.styles.js.map +1 -1
  223. package/cjs/components/Hint/__docs__/Hint.mdx +8 -9
  224. package/cjs/components/Input/Input.d.ts +6 -5
  225. package/cjs/components/Input/Input.js +4 -0
  226. package/cjs/components/Input/Input.js.map +1 -1
  227. package/cjs/components/Input/Input.md +4 -5
  228. package/cjs/components/Input/Input.styles.d.ts +1 -1
  229. package/cjs/components/Input/Input.styles.js.map +1 -1
  230. package/cjs/components/Input/Input.typings.d.ts +1 -1
  231. package/cjs/components/Input/Input.typings.js.map +1 -1
  232. package/cjs/components/Input/InputLayout/InputLayout.d.ts +3 -3
  233. package/cjs/components/Input/InputLayout/InputLayout.js +3 -0
  234. package/cjs/components/Input/InputLayout/InputLayout.js.map +1 -1
  235. package/cjs/components/Input/InputLayout/InputLayout.styles.d.ts +1 -1
  236. package/cjs/components/Input/InputLayout/InputLayout.styles.js.map +1 -1
  237. package/cjs/components/Input/InputLayout/InputLayoutAside.d.ts +1 -1
  238. package/cjs/components/Input/InputLayout/InputLayoutAside.js.map +1 -1
  239. package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +1 -1
  240. package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.js +2 -1
  241. package/cjs/components/Input/InputLayout/InputLayoutAsideIcon.js.map +1 -1
  242. package/cjs/components/Input/InputLayout/InputLayoutAsideText.d.ts +1 -1
  243. package/cjs/components/Input/InputLayout/InputLayoutAsideText.js.map +1 -1
  244. package/cjs/components/Input/InputLayout/InputLayoutContext.d.ts +1 -1
  245. package/cjs/components/Input/InputLayout/InputLayoutContext.js.map +1 -1
  246. package/cjs/components/Input/InputLayout/PolyfillPlaceholder.d.ts +1 -1
  247. package/cjs/components/Input/InputLayout/PolyfillPlaceholder.js.map +1 -1
  248. package/cjs/components/Input/__docs__/Input.mdx +8 -9
  249. package/cjs/components/Kebab/Kebab.d.ts +7 -6
  250. package/cjs/components/Kebab/Kebab.js +5 -1
  251. package/cjs/components/Kebab/Kebab.js.map +1 -1
  252. package/cjs/components/Kebab/Kebab.md +32 -32
  253. package/cjs/components/Kebab/Kebab.styles.d.ts +1 -1
  254. package/cjs/components/Kebab/Kebab.styles.js.map +1 -1
  255. package/cjs/components/Kebab/__docs__/Kebab.mdx +8 -9
  256. package/cjs/components/Link/Link.d.ts +4 -4
  257. package/cjs/components/Link/Link.js +3 -0
  258. package/cjs/components/Link/Link.js.map +1 -1
  259. package/cjs/components/Link/Link.styles.d.ts +1 -1
  260. package/cjs/components/Link/Link.styles.js.map +1 -1
  261. package/cjs/components/Link/LinkIcon.d.ts +1 -1
  262. package/cjs/components/Link/LinkIcon.js.map +1 -1
  263. package/cjs/components/Link/__docs__/Link.mdx +8 -9
  264. package/cjs/components/Loader/Loader.d.ts +3 -3
  265. package/cjs/components/Loader/Loader.js +3 -0
  266. package/cjs/components/Loader/Loader.js.map +1 -1
  267. package/cjs/components/Loader/Loader.styles.d.ts +1 -1
  268. package/cjs/components/Loader/Loader.styles.js.map +1 -1
  269. package/cjs/components/Loader/__docs__/Loader.mdx +4 -7
  270. package/cjs/components/Loader/__stories__/LoaderAndButton.js.map +1 -1
  271. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +1 -1
  272. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +1 -0
  273. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
  274. package/cjs/components/MaskedInput/FixedIMaskInput.d.ts +2 -2
  275. package/cjs/components/MaskedInput/FixedIMaskInput.js +2 -1
  276. package/cjs/components/MaskedInput/FixedIMaskInput.js.map +1 -1
  277. package/cjs/components/MaskedInput/MaskedInput.d.ts +3 -2
  278. package/cjs/components/MaskedInput/MaskedInput.helpers.d.ts +1 -1
  279. package/cjs/components/MaskedInput/MaskedInput.helpers.js.map +1 -1
  280. package/cjs/components/MaskedInput/MaskedInput.js +9 -2
  281. package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
  282. package/cjs/components/MaskedInput/MaskedInput.styles.d.ts +4 -0
  283. package/cjs/components/MaskedInput/MaskedInput.styles.js +12 -1
  284. package/cjs/components/MaskedInput/MaskedInput.styles.js.map +1 -1
  285. package/cjs/components/MaskedInput/__docs__/MaskedInput.mdx +8 -9
  286. package/cjs/components/MenuFooter/MenuFooter.d.ts +4 -3
  287. package/cjs/components/MenuFooter/MenuFooter.js +3 -1
  288. package/cjs/components/MenuFooter/MenuFooter.js.map +1 -1
  289. package/cjs/components/MenuFooter/MenuFooter.styles.d.ts +1 -1
  290. package/cjs/components/MenuFooter/MenuFooter.styles.js.map +1 -1
  291. package/cjs/components/MenuFooter/__docs__/MenuFooter.mdx +4 -5
  292. package/cjs/components/MenuHeader/MenuHeader.d.ts +4 -3
  293. package/cjs/components/MenuHeader/MenuHeader.js +3 -1
  294. package/cjs/components/MenuHeader/MenuHeader.js.map +1 -1
  295. package/cjs/components/MenuHeader/MenuHeader.styles.d.ts +1 -1
  296. package/cjs/components/MenuHeader/MenuHeader.styles.js.map +1 -1
  297. package/cjs/components/MenuHeader/__docs__/MenuHeader.mdx +4 -5
  298. package/cjs/components/MenuItem/MenuItem.d.ts +5 -4
  299. package/cjs/components/MenuItem/MenuItem.js +6 -2
  300. package/cjs/components/MenuItem/MenuItem.js.map +1 -1
  301. package/cjs/components/MenuItem/MenuItem.md +6 -6
  302. package/cjs/components/MenuItem/MenuItem.styles.d.ts +1 -1
  303. package/cjs/components/MenuItem/MenuItem.styles.js.map +1 -1
  304. package/cjs/components/MenuItem/__docs__/MenuItem.mdx +4 -5
  305. package/cjs/components/MenuSeparator/MenuSeparator.d.ts +1 -1
  306. package/cjs/components/MenuSeparator/MenuSeparator.js +1 -0
  307. package/cjs/components/MenuSeparator/MenuSeparator.js.map +1 -1
  308. package/cjs/components/MenuSeparator/MenuSeparator.styles.d.ts +1 -1
  309. package/cjs/components/MenuSeparator/MenuSeparator.styles.js.map +1 -1
  310. package/cjs/components/MenuSeparator/__docs__/MenuSeparator.mdx +4 -5
  311. package/cjs/components/MiniModal/MiniModal.d.ts +2 -1
  312. package/cjs/components/MiniModal/MiniModal.js +1 -0
  313. package/cjs/components/MiniModal/MiniModal.js.map +1 -1
  314. package/cjs/components/MiniModal/MiniModal.styles.d.ts +1 -1
  315. package/cjs/components/MiniModal/MiniModal.styles.js.map +1 -1
  316. package/cjs/components/MiniModal/MiniModalBody.d.ts +1 -1
  317. package/cjs/components/MiniModal/MiniModalBody.js +1 -0
  318. package/cjs/components/MiniModal/MiniModalBody.js.map +1 -1
  319. package/cjs/components/MiniModal/MiniModalFooter.d.ts +1 -1
  320. package/cjs/components/MiniModal/MiniModalFooter.js +1 -0
  321. package/cjs/components/MiniModal/MiniModalFooter.js.map +1 -1
  322. package/cjs/components/MiniModal/MiniModalHeader.d.ts +2 -2
  323. package/cjs/components/MiniModal/MiniModalHeader.js +3 -1
  324. package/cjs/components/MiniModal/MiniModalHeader.js.map +1 -1
  325. package/cjs/components/MiniModal/__docs__/MiniModal.mdx +8 -9
  326. package/cjs/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  327. package/cjs/components/MiniModal/getMiniModalTheme.js.map +1 -1
  328. package/cjs/components/Modal/Modal.d.ts +4 -3
  329. package/cjs/components/Modal/Modal.js +5 -1
  330. package/cjs/components/Modal/Modal.js.map +1 -1
  331. package/cjs/components/Modal/Modal.styles.d.ts +1 -1
  332. package/cjs/components/Modal/Modal.styles.js.map +1 -1
  333. package/cjs/components/Modal/ModalBody.d.ts +1 -1
  334. package/cjs/components/Modal/ModalBody.js +2 -0
  335. package/cjs/components/Modal/ModalBody.js.map +1 -1
  336. package/cjs/components/Modal/ModalClose.d.ts +1 -1
  337. package/cjs/components/Modal/ModalClose.js.map +1 -1
  338. package/cjs/components/Modal/ModalContext.d.ts +1 -1
  339. package/cjs/components/Modal/ModalContext.js.map +1 -1
  340. package/cjs/components/Modal/ModalFooter.d.ts +4 -3
  341. package/cjs/components/Modal/ModalFooter.js +4 -1
  342. package/cjs/components/Modal/ModalFooter.js.map +1 -1
  343. package/cjs/components/Modal/ModalHeader.d.ts +3 -2
  344. package/cjs/components/Modal/ModalHeader.js +3 -1
  345. package/cjs/components/Modal/ModalHeader.js.map +1 -1
  346. package/cjs/components/Modal/ModalSeparator.d.ts +1 -1
  347. package/cjs/components/Modal/ModalSeparator.js.map +1 -1
  348. package/cjs/components/Modal/__docs__/Modal.mdx +8 -9
  349. package/cjs/components/Modal/getModalBodyTheme.d.ts +1 -1
  350. package/cjs/components/Modal/getModalBodyTheme.js.map +1 -1
  351. package/cjs/components/Modal/getModalTheme.d.ts +1 -1
  352. package/cjs/components/Modal/getModalTheme.js.map +1 -1
  353. package/cjs/components/Modal/locale/index.d.ts +1 -1
  354. package/cjs/components/Modal/locale/index.js.map +1 -1
  355. package/cjs/components/Modal/locale/locales/en.d.ts +1 -1
  356. package/cjs/components/Modal/locale/locales/en.js.map +1 -1
  357. package/cjs/components/Modal/locale/locales/ru.d.ts +1 -1
  358. package/cjs/components/Modal/locale/locales/ru.js.map +1 -1
  359. package/cjs/components/Paging/NavigationHelper.d.ts +1 -1
  360. package/cjs/components/Paging/NavigationHelper.js.map +1 -1
  361. package/cjs/components/Paging/Paging.d.ts +2 -2
  362. package/cjs/components/Paging/Paging.js +3 -0
  363. package/cjs/components/Paging/Paging.js.map +1 -1
  364. package/cjs/components/Paging/Paging.styles.d.ts +1 -1
  365. package/cjs/components/Paging/Paging.styles.js.map +1 -1
  366. package/cjs/components/Paging/PagingDefaultComponent.d.ts +1 -1
  367. package/cjs/components/Paging/PagingDefaultComponent.js.map +1 -1
  368. package/cjs/components/Paging/PagingHelper.d.ts +1 -1
  369. package/cjs/components/Paging/PagingHelper.js.map +1 -1
  370. package/cjs/components/Paging/__docs__/Paging.mdx +8 -9
  371. package/cjs/components/Paging/locale/index.d.ts +1 -1
  372. package/cjs/components/Paging/locale/index.js.map +1 -1
  373. package/cjs/components/Paging/locale/locales/en.d.ts +1 -1
  374. package/cjs/components/Paging/locale/locales/en.js.map +1 -1
  375. package/cjs/components/Paging/locale/locales/ru.d.ts +1 -1
  376. package/cjs/components/Paging/locale/locales/ru.js.map +1 -1
  377. package/cjs/components/PasswordInput/PasswordInput.d.ts +4 -3
  378. package/cjs/components/PasswordInput/PasswordInput.js +6 -1
  379. package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
  380. package/cjs/components/PasswordInput/PasswordInput.styles.d.ts +1 -1
  381. package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
  382. package/cjs/components/PasswordInput/PasswordInputIcon.d.ts +1 -1
  383. package/cjs/components/PasswordInput/PasswordInputIcon.js.map +1 -1
  384. package/cjs/components/PasswordInput/__docs__/PasswordInput.mdx +8 -9
  385. package/cjs/components/PasswordInput/locale/index.d.ts +1 -1
  386. package/cjs/components/PasswordInput/locale/index.js.map +1 -1
  387. package/cjs/components/PasswordInput/locale/locales/en.d.ts +1 -1
  388. package/cjs/components/PasswordInput/locale/locales/en.js.map +1 -1
  389. package/cjs/components/PasswordInput/locale/locales/ru.d.ts +1 -1
  390. package/cjs/components/PasswordInput/locale/locales/ru.js.map +1 -1
  391. package/cjs/components/Radio/Radio.d.ts +6 -5
  392. package/cjs/components/Radio/Radio.js +5 -1
  393. package/cjs/components/Radio/Radio.js.map +1 -1
  394. package/cjs/components/Radio/Radio.styles.d.ts +1 -1
  395. package/cjs/components/Radio/Radio.styles.js.map +1 -1
  396. package/cjs/components/Radio/__docs__/Radio.mdx +8 -9
  397. package/cjs/components/RadioGroup/RadioGroup.d.ts +3 -2
  398. package/cjs/components/RadioGroup/RadioGroup.js +5 -1
  399. package/cjs/components/RadioGroup/RadioGroup.js.map +1 -1
  400. package/cjs/components/RadioGroup/__docs__/RadioGroup.mdx +8 -9
  401. package/cjs/components/ResponsiveLayout/ResponsiveLayout.d.ts +1 -1
  402. package/cjs/components/ResponsiveLayout/ResponsiveLayout.js.map +1 -1
  403. package/cjs/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +4 -5
  404. package/cjs/components/ResponsiveLayout/decorator.d.ts +1 -1
  405. package/cjs/components/ResponsiveLayout/decorator.js.map +1 -1
  406. package/cjs/components/ResponsiveLayout/useResponsiveLayout.d.ts +1 -1
  407. package/cjs/components/ResponsiveLayout/useResponsiveLayout.js +2 -1
  408. package/cjs/components/ResponsiveLayout/useResponsiveLayout.js.map +1 -1
  409. package/cjs/components/ScrollContainer/ScrollBar.d.ts +2 -2
  410. package/cjs/components/ScrollContainer/ScrollBar.js.map +1 -1
  411. package/cjs/components/ScrollContainer/ScrollContainer.constants.d.ts +1 -1
  412. package/cjs/components/ScrollContainer/ScrollContainer.constants.js.map +1 -1
  413. package/cjs/components/ScrollContainer/ScrollContainer.d.ts +3 -3
  414. package/cjs/components/ScrollContainer/ScrollContainer.helpers.d.ts +2 -2
  415. package/cjs/components/ScrollContainer/ScrollContainer.helpers.js.map +1 -1
  416. package/cjs/components/ScrollContainer/ScrollContainer.js +3 -0
  417. package/cjs/components/ScrollContainer/ScrollContainer.js.map +1 -1
  418. package/cjs/components/ScrollContainer/ScrollContainer.styles.d.ts +1 -1
  419. package/cjs/components/ScrollContainer/ScrollContainer.styles.js.map +1 -1
  420. package/cjs/components/ScrollContainer/__docs__/ScrollContainer.mdx +4 -5
  421. package/cjs/components/Select/Select.d.ts +7 -6
  422. package/cjs/components/Select/Select.js +7 -1
  423. package/cjs/components/Select/Select.js.map +1 -1
  424. package/cjs/components/Select/Select.md +3 -3
  425. package/cjs/components/Select/Select.styles.d.ts +1 -1
  426. package/cjs/components/Select/Select.styles.js.map +1 -1
  427. package/cjs/components/Select/__docs__/Select.mdx +8 -9
  428. package/cjs/components/Select/locale/index.d.ts +1 -1
  429. package/cjs/components/Select/locale/index.js.map +1 -1
  430. package/cjs/components/Select/locale/locales/en.d.ts +1 -1
  431. package/cjs/components/Select/locale/locales/en.js.map +1 -1
  432. package/cjs/components/Select/locale/locales/ru.d.ts +1 -1
  433. package/cjs/components/Select/locale/locales/ru.js.map +1 -1
  434. package/cjs/components/Select/locale/types.d.ts +1 -1
  435. package/cjs/components/Select/locale/types.js.map +1 -1
  436. package/cjs/components/Select/selectTheme.d.ts +2 -2
  437. package/cjs/components/Select/selectTheme.js.map +1 -1
  438. package/cjs/components/SidePage/SidePage.d.ts +3 -2
  439. package/cjs/components/SidePage/SidePage.js +5 -1
  440. package/cjs/components/SidePage/SidePage.js.map +1 -1
  441. package/cjs/components/SidePage/SidePage.styles.d.ts +1 -1
  442. package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
  443. package/cjs/components/SidePage/SidePageBody.d.ts +2 -2
  444. package/cjs/components/SidePage/SidePageBody.js +3 -0
  445. package/cjs/components/SidePage/SidePageBody.js.map +1 -1
  446. package/cjs/components/SidePage/SidePageCloseButton.d.ts +1 -1
  447. package/cjs/components/SidePage/SidePageCloseButton.js.map +1 -1
  448. package/cjs/components/SidePage/SidePageContainer.d.ts +1 -1
  449. package/cjs/components/SidePage/SidePageContainer.js +2 -0
  450. package/cjs/components/SidePage/SidePageContainer.js.map +1 -1
  451. package/cjs/components/SidePage/SidePageContext.d.ts +2 -2
  452. package/cjs/components/SidePage/SidePageContext.js.map +1 -1
  453. package/cjs/components/SidePage/SidePageFooter.d.ts +3 -3
  454. package/cjs/components/SidePage/SidePageFooter.js +4 -0
  455. package/cjs/components/SidePage/SidePageFooter.js.map +1 -1
  456. package/cjs/components/SidePage/SidePageHeader.d.ts +2 -2
  457. package/cjs/components/SidePage/SidePageHeader.js +3 -0
  458. package/cjs/components/SidePage/SidePageHeader.js.map +1 -1
  459. package/cjs/components/SidePage/__docs__/SidePage.mdx +8 -9
  460. package/cjs/components/SidePage/__docs__/SidePageBody.mdx +1 -0
  461. package/cjs/components/SidePage/locale/index.d.ts +1 -1
  462. package/cjs/components/SidePage/locale/index.js.map +1 -1
  463. package/cjs/components/SidePage/locale/locales/en.d.ts +1 -1
  464. package/cjs/components/SidePage/locale/locales/en.js.map +1 -1
  465. package/cjs/components/SidePage/locale/locales/ru.d.ts +1 -1
  466. package/cjs/components/SidePage/locale/locales/ru.js.map +1 -1
  467. package/cjs/components/SingleToast/SingleToast.d.ts +4 -3
  468. package/cjs/components/SingleToast/SingleToast.js +1 -0
  469. package/cjs/components/SingleToast/SingleToast.js.map +1 -1
  470. package/cjs/components/SingleToast/__docs__/SingleToast.mdx +8 -9
  471. package/cjs/components/Spinner/Spinner.d.ts +1 -1
  472. package/cjs/components/Spinner/Spinner.js +2 -0
  473. package/cjs/components/Spinner/Spinner.js.map +1 -1
  474. package/cjs/components/Spinner/Spinner.styles.d.ts +1 -1
  475. package/cjs/components/Spinner/Spinner.styles.js.map +1 -1
  476. package/cjs/components/Spinner/__docs__/Spinner.mdx +8 -9
  477. package/cjs/components/Sticky/Sticky.d.ts +2 -2
  478. package/cjs/components/Sticky/Sticky.js +2 -0
  479. package/cjs/components/Sticky/Sticky.js.map +1 -1
  480. package/cjs/components/Sticky/__docs__/Sticky.mdx +4 -5
  481. package/cjs/components/Switcher/Switcher.d.ts +6 -5
  482. package/cjs/components/Switcher/Switcher.js +5 -1
  483. package/cjs/components/Switcher/Switcher.js.map +1 -1
  484. package/cjs/components/Switcher/Switcher.styles.d.ts +1 -1
  485. package/cjs/components/Switcher/Switcher.styles.js.map +1 -1
  486. package/cjs/components/Switcher/__docs__/Switcher.mdx +8 -9
  487. package/cjs/components/Switcher/switcherTheme.d.ts +1 -1
  488. package/cjs/components/Switcher/switcherTheme.js.map +1 -1
  489. package/cjs/components/Tabs/Indicator.d.ts +1 -1
  490. package/cjs/components/Tabs/Indicator.js +2 -0
  491. package/cjs/components/Tabs/Indicator.js.map +1 -1
  492. package/cjs/components/Tabs/Indicator.styles.d.ts +1 -1
  493. package/cjs/components/Tabs/Indicator.styles.js.map +1 -1
  494. package/cjs/components/Tabs/Tab.d.ts +5 -4
  495. package/cjs/components/Tabs/Tab.js +5 -1
  496. package/cjs/components/Tabs/Tab.js.map +1 -1
  497. package/cjs/components/Tabs/Tab.styles.d.ts +1 -1
  498. package/cjs/components/Tabs/Tab.styles.js.map +1 -1
  499. package/cjs/components/Tabs/Tabs.d.ts +4 -3
  500. package/cjs/components/Tabs/Tabs.js +5 -1
  501. package/cjs/components/Tabs/Tabs.js.map +1 -1
  502. package/cjs/components/Tabs/Tabs.styles.d.ts +1 -1
  503. package/cjs/components/Tabs/Tabs.styles.js.map +1 -1
  504. package/cjs/components/Tabs/TabsContext.d.ts +2 -2
  505. package/cjs/components/Tabs/TabsContext.js.map +1 -1
  506. package/cjs/components/Tabs/__docs__/Tab.mdx +8 -9
  507. package/cjs/components/Tabs/__docs__/Tabs.mdx +8 -9
  508. package/cjs/components/Tabs/helpers.d.ts +2 -2
  509. package/cjs/components/Tabs/helpers.js.map +1 -1
  510. package/cjs/components/Textarea/Textarea.d.ts +5 -4
  511. package/cjs/components/Textarea/Textarea.js +5 -1
  512. package/cjs/components/Textarea/Textarea.js.map +1 -1
  513. package/cjs/components/Textarea/Textarea.styles.d.ts +1 -1
  514. package/cjs/components/Textarea/Textarea.styles.js.map +1 -1
  515. package/cjs/components/Textarea/TextareaCounter.d.ts +2 -2
  516. package/cjs/components/Textarea/TextareaCounter.js +3 -1
  517. package/cjs/components/Textarea/TextareaCounter.js.map +1 -1
  518. package/cjs/components/Textarea/__docs__/Textarea.mdx +8 -9
  519. package/cjs/components/Toast/Toast.d.ts +9 -6
  520. package/cjs/components/Toast/Toast.js +22 -3
  521. package/cjs/components/Toast/Toast.js.map +1 -1
  522. package/cjs/components/Toast/ToastStatic.d.ts +2 -2
  523. package/cjs/components/Toast/ToastStatic.js +1 -0
  524. package/cjs/components/Toast/ToastStatic.js.map +1 -1
  525. package/cjs/components/Toast/ToastView.d.ts +5 -4
  526. package/cjs/components/Toast/ToastView.js +6 -1
  527. package/cjs/components/Toast/ToastView.js.map +1 -1
  528. package/cjs/components/Toast/ToastView.styles.d.ts +1 -1
  529. package/cjs/components/Toast/ToastView.styles.js.map +1 -1
  530. package/cjs/components/Toast/__docs__/Toast.mdx +8 -9
  531. package/cjs/components/Toast/locale/index.d.ts +1 -1
  532. package/cjs/components/Toast/locale/index.js.map +1 -1
  533. package/cjs/components/Toast/locale/locales/en.d.ts +1 -1
  534. package/cjs/components/Toast/locale/locales/en.js.map +1 -1
  535. package/cjs/components/Toast/locale/locales/ru.d.ts +1 -1
  536. package/cjs/components/Toast/locale/locales/ru.js.map +1 -1
  537. package/cjs/components/Toggle/Toggle.d.ts +4 -3
  538. package/cjs/components/Toggle/Toggle.js +3 -0
  539. package/cjs/components/Toggle/Toggle.js.map +1 -1
  540. package/cjs/components/Toggle/Toggle.styles.d.ts +1 -1
  541. package/cjs/components/Toggle/Toggle.styles.js.map +1 -1
  542. package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +6 -4
  543. package/cjs/components/Toggle/__docs__/Toggle.mdx +8 -9
  544. package/cjs/components/Token/Token.d.ts +4 -3
  545. package/cjs/components/Token/Token.js +5 -1
  546. package/cjs/components/Token/Token.js.map +1 -1
  547. package/cjs/components/Token/Token.md +0 -83
  548. package/cjs/components/Token/Token.styles.d.ts +1 -1
  549. package/cjs/components/Token/Token.styles.js.map +1 -1
  550. package/cjs/components/Token/TokenView.d.ts +3 -2
  551. package/cjs/components/Token/TokenView.js +2 -1
  552. package/cjs/components/Token/TokenView.js.map +1 -1
  553. package/cjs/components/Token/__docs__/Token.mdx +8 -9
  554. package/cjs/components/Token/locale/index.d.ts +1 -1
  555. package/cjs/components/Token/locale/index.js.map +1 -1
  556. package/cjs/components/Token/locale/locales/en.d.ts +1 -1
  557. package/cjs/components/Token/locale/locales/en.js.map +1 -1
  558. package/cjs/components/Token/locale/locales/ru.d.ts +1 -1
  559. package/cjs/components/Token/locale/locales/ru.js.map +1 -1
  560. package/cjs/components/TokenInput/TextWidthHelper.d.ts +2 -2
  561. package/cjs/components/TokenInput/TextWidthHelper.js.map +1 -1
  562. package/cjs/components/TokenInput/TokenInput.d.ts +7 -6
  563. package/cjs/components/TokenInput/TokenInput.js +11 -2
  564. package/cjs/components/TokenInput/TokenInput.js.map +1 -1
  565. package/cjs/components/TokenInput/TokenInput.md +2 -33
  566. package/cjs/components/TokenInput/TokenInput.styles.d.ts +1 -1
  567. package/cjs/components/TokenInput/TokenInput.styles.js.map +1 -1
  568. package/cjs/components/TokenInput/TokenInputMenu.d.ts +17 -8
  569. package/cjs/components/TokenInput/TokenInputMenu.js +26 -1
  570. package/cjs/components/TokenInput/TokenInputMenu.js.map +1 -1
  571. package/cjs/components/TokenInput/TokenInputReducer.d.ts +1 -1
  572. package/cjs/components/TokenInput/TokenInputReducer.js +2 -1
  573. package/cjs/components/TokenInput/TokenInputReducer.js.map +1 -1
  574. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +28 -0
  575. package/cjs/components/TokenInput/__docs__/TokenInput.mdx +8 -9
  576. package/cjs/components/TokenInput/locale/index.d.ts +1 -1
  577. package/cjs/components/TokenInput/locale/index.js.map +1 -1
  578. package/cjs/components/TokenInput/locale/locales/en.d.ts +1 -1
  579. package/cjs/components/TokenInput/locale/locales/en.js.map +1 -1
  580. package/cjs/components/TokenInput/locale/locales/ru.d.ts +1 -1
  581. package/cjs/components/TokenInput/locale/locales/ru.js.map +1 -1
  582. package/cjs/components/Tooltip/Tooltip.d.ts +5 -5
  583. package/cjs/components/Tooltip/Tooltip.js +6 -4
  584. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  585. package/cjs/components/Tooltip/Tooltip.md +8 -8
  586. package/cjs/components/Tooltip/Tooltip.styles.d.ts +1 -1
  587. package/cjs/components/Tooltip/Tooltip.styles.js.map +1 -1
  588. package/cjs/components/Tooltip/__docs__/Tooltip.mdx +8 -9
  589. package/cjs/components/TooltipMenu/TooltipMenu.d.ts +7 -6
  590. package/cjs/components/TooltipMenu/TooltipMenu.js +5 -1
  591. package/cjs/components/TooltipMenu/TooltipMenu.js.map +1 -1
  592. package/cjs/components/TooltipMenu/TooltipMenu.md +12 -12
  593. package/cjs/components/TooltipMenu/__docs__/TooltipMenu.mdx +4 -5
  594. package/cjs/hooks/useDrop.d.ts +1 -1
  595. package/cjs/hooks/useDrop.js +3 -1
  596. package/cjs/hooks/useDrop.js.map +1 -1
  597. package/cjs/hooks/useEffectWithoutInitCall.d.ts +1 -1
  598. package/cjs/hooks/useEffectWithoutInitCall.js +2 -1
  599. package/cjs/hooks/useEffectWithoutInitCall.js.map +1 -1
  600. package/cjs/hooks/useMemoObject.d.ts +1 -1
  601. package/cjs/hooks/useMemoObject.js.map +1 -1
  602. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +4 -3
  603. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +3 -1
  604. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -1
  605. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +1 -1
  606. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -1
  607. package/cjs/internal/CloseButtonIcon/CloseButtonIcon.d.ts +3 -2
  608. package/cjs/internal/CloseButtonIcon/CloseButtonIcon.js +3 -1
  609. package/cjs/internal/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
  610. package/cjs/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +1 -1
  611. package/cjs/internal/CloseButtonIcon/CloseButtonIcon.styles.js.map +1 -1
  612. package/cjs/internal/CommonWrapper/CommonWrapper.js +1 -0
  613. package/cjs/internal/CommonWrapper/CommonWrapper.js.map +1 -1
  614. package/cjs/internal/CommonWrapper/types.d.ts +1 -1
  615. package/cjs/internal/CommonWrapper/types.js.map +1 -1
  616. package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +1 -1
  617. package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.js +2 -1
  618. package/cjs/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.js.map +1 -1
  619. package/cjs/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +1 -1
  620. package/cjs/internal/CommonWrapper/utils/getVisualStateDataAttributes.js.map +1 -1
  621. package/cjs/internal/ComponentCombinator.d.ts +2 -2
  622. package/cjs/internal/ComponentCombinator.js +1 -0
  623. package/cjs/internal/ComponentCombinator.js.map +1 -1
  624. package/cjs/internal/ComponentTable.d.ts +1 -1
  625. package/cjs/internal/ComponentTable.js +1 -0
  626. package/cjs/internal/ComponentTable.js.map +1 -1
  627. package/cjs/internal/CustomComboBox/ComboBoxMenu.d.ts +4 -4
  628. package/cjs/internal/CustomComboBox/ComboBoxMenu.js +2 -0
  629. package/cjs/internal/CustomComboBox/ComboBoxMenu.js.map +1 -1
  630. package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +10 -8
  631. package/cjs/internal/CustomComboBox/ComboBoxView.js +7 -2
  632. package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
  633. package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +10 -9
  634. package/cjs/internal/CustomComboBox/CustomComboBox.js +6 -5
  635. package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
  636. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -4
  637. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +10 -5
  638. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
  639. package/cjs/internal/CustomComboBox/getComboBoxTheme.d.ts +1 -1
  640. package/cjs/internal/CustomComboBox/getComboBoxTheme.js.map +1 -1
  641. package/cjs/internal/CustomComboBox/locale/index.d.ts +1 -1
  642. package/cjs/internal/CustomComboBox/locale/index.js.map +1 -1
  643. package/cjs/internal/CustomComboBox/locale/locales/en.d.ts +1 -1
  644. package/cjs/internal/CustomComboBox/locale/locales/en.js.map +1 -1
  645. package/cjs/internal/CustomComboBox/locale/locales/ru.d.ts +1 -1
  646. package/cjs/internal/CustomComboBox/locale/locales/ru.js.map +1 -1
  647. package/cjs/internal/DateSelect/DateSelect.js +2 -0
  648. package/cjs/internal/DateSelect/DateSelect.js.map +1 -1
  649. package/cjs/internal/DateSelect/DateSelect.styles.d.ts +1 -1
  650. package/cjs/internal/DateSelect/DateSelect.styles.js.map +1 -1
  651. package/cjs/internal/DateSelect/locale/index.d.ts +1 -1
  652. package/cjs/internal/DateSelect/locale/index.js.map +1 -1
  653. package/cjs/internal/DateSelect/locale/locales/en.d.ts +1 -1
  654. package/cjs/internal/DateSelect/locale/locales/en.js.map +1 -1
  655. package/cjs/internal/DateSelect/locale/locales/ru.d.ts +1 -1
  656. package/cjs/internal/DateSelect/locale/locales/ru.js.map +1 -1
  657. package/cjs/internal/FileUploaderControl/FileUploaderControlContext.d.ts +2 -2
  658. package/cjs/internal/FileUploaderControl/FileUploaderControlContext.js.map +1 -1
  659. package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +4 -3
  660. package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.js +3 -1
  661. package/cjs/internal/FileUploaderControl/FileUploaderControlProvider.js.map +1 -1
  662. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +2 -2
  663. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.js +2 -1
  664. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.js.map +1 -1
  665. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +1 -1
  666. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.js.map +1 -1
  667. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +1 -1
  668. package/cjs/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.js.map +1 -1
  669. package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +2 -2
  670. package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.js.map +1 -1
  671. package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +1 -1
  672. package/cjs/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.js.map +1 -1
  673. package/cjs/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +1 -1
  674. package/cjs/internal/FileUploaderControl/hooks/useFileUploaderSize.js.map +1 -1
  675. package/cjs/internal/FileUploaderControl/hooks/useUpload.d.ts +2 -2
  676. package/cjs/internal/FileUploaderControl/hooks/useUpload.js +1 -0
  677. package/cjs/internal/FileUploaderControl/hooks/useUpload.js.map +1 -1
  678. package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +4 -3
  679. package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.js +3 -1
  680. package/cjs/internal/FileUploaderControl/withFileUploaderControlProvider.js.map +1 -1
  681. package/cjs/internal/FocusControlWrapper/FocusControlWrapper.d.ts +2 -1
  682. package/cjs/internal/FocusControlWrapper/FocusControlWrapper.js +2 -1
  683. package/cjs/internal/FocusControlWrapper/FocusControlWrapper.js.map +1 -1
  684. package/cjs/internal/FocusControlWrapper/useFocusControl.d.ts +1 -1
  685. package/cjs/internal/FocusControlWrapper/useFocusControl.js +2 -1
  686. package/cjs/internal/FocusControlWrapper/useFocusControl.js.map +1 -1
  687. package/cjs/internal/FocusTrap/FocusTrap.d.ts +1 -1
  688. package/cjs/internal/FocusTrap/FocusTrap.js +2 -0
  689. package/cjs/internal/FocusTrap/FocusTrap.js.map +1 -1
  690. package/cjs/internal/IgnoreLayerClick/IgnoreLayerClick.js +1 -0
  691. package/cjs/internal/IgnoreLayerClick/IgnoreLayerClick.js.map +1 -1
  692. package/cjs/internal/InputLikeText/InputLikeText.d.ts +3 -3
  693. package/cjs/internal/InputLikeText/InputLikeText.js +5 -0
  694. package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
  695. package/cjs/internal/InternalMaskedInput/InternalMaskedInput.js +1 -0
  696. package/cjs/internal/InternalMaskedInput/InternalMaskedInput.js.map +1 -1
  697. package/cjs/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +1 -1
  698. package/cjs/internal/InternalMaskedInput/InternalMaskedInput.styles.js.map +1 -1
  699. package/cjs/internal/Menu/Menu.d.ts +4 -3
  700. package/cjs/internal/Menu/Menu.js +6 -1
  701. package/cjs/internal/Menu/Menu.js.map +1 -1
  702. package/cjs/internal/Menu/Menu.styles.d.ts +1 -1
  703. package/cjs/internal/Menu/Menu.styles.js.map +1 -1
  704. package/cjs/internal/Menu/MenuContext.d.ts +2 -2
  705. package/cjs/internal/Menu/MenuContext.js.map +1 -1
  706. package/cjs/internal/Menu/MenuNavigation.d.ts +2 -1
  707. package/cjs/internal/Menu/MenuNavigation.js +1 -0
  708. package/cjs/internal/Menu/MenuNavigation.js.map +1 -1
  709. package/cjs/internal/Menu/isActiveElement.d.ts +2 -2
  710. package/cjs/internal/Menu/isActiveElement.js +1 -0
  711. package/cjs/internal/Menu/isActiveElement.js.map +1 -1
  712. package/cjs/internal/MenuMessage/MenuMessage.d.ts +2 -2
  713. package/cjs/internal/MenuMessage/MenuMessage.js.map +1 -1
  714. package/cjs/internal/MenuMessage/MenuMessage.styles.d.ts +1 -1
  715. package/cjs/internal/MenuMessage/MenuMessage.styles.js.map +1 -1
  716. package/cjs/internal/MobilePopup/MobilePopup.d.ts +2 -1
  717. package/cjs/internal/MobilePopup/MobilePopup.js +3 -1
  718. package/cjs/internal/MobilePopup/MobilePopup.js.map +1 -1
  719. package/cjs/internal/MobilePopup/MobilePopup.styles.d.ts +1 -1
  720. package/cjs/internal/MobilePopup/MobilePopup.styles.js.map +1 -1
  721. package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
  722. package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +1 -1
  723. package/cjs/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.js.map +1 -1
  724. package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
  725. package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +1 -1
  726. package/cjs/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.js.map +1 -1
  727. package/cjs/internal/NativeDateInput/NativeDateInput.d.ts +1 -1
  728. package/cjs/internal/NativeDateInput/NativeDateInput.js.map +1 -1
  729. package/cjs/internal/NativeDateInput/utils.d.ts +2 -2
  730. package/cjs/internal/NativeDateInput/utils.js.map +1 -1
  731. package/cjs/internal/PerformanceMetrics/PerformanceMetrics.js.map +1 -1
  732. package/cjs/internal/Popup/Popup.d.ts +9 -7
  733. package/cjs/internal/Popup/Popup.js +13 -8
  734. package/cjs/internal/Popup/Popup.js.map +1 -1
  735. package/cjs/internal/Popup/Popup.styles.d.ts +1 -1
  736. package/cjs/internal/Popup/Popup.styles.js.map +1 -1
  737. package/cjs/internal/Popup/PopupHelper.d.ts +1 -1
  738. package/cjs/internal/Popup/PopupHelper.js.map +1 -1
  739. package/cjs/internal/Popup/PopupPin.d.ts +1 -1
  740. package/cjs/internal/Popup/PopupPin.js +1 -0
  741. package/cjs/internal/Popup/PopupPin.js.map +1 -1
  742. package/cjs/internal/Popup/types.d.ts +1 -1
  743. package/cjs/internal/Popup/types.js.map +1 -1
  744. package/cjs/internal/PopupMenu/PopupMenu.d.ts +6 -5
  745. package/cjs/internal/PopupMenu/PopupMenu.js +6 -1
  746. package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
  747. package/cjs/internal/PopupMenu/validatePositions.d.ts +1 -1
  748. package/cjs/internal/PopupMenu/validatePositions.js +1 -0
  749. package/cjs/internal/PopupMenu/validatePositions.js.map +1 -1
  750. package/cjs/internal/RenderContainer/RenderContainer.d.ts +1 -1
  751. package/cjs/internal/RenderContainer/RenderContainer.js.map +1 -1
  752. package/cjs/internal/RenderContainer/RenderContainerTypes.d.ts +3 -3
  753. package/cjs/internal/RenderContainer/RenderContainerTypes.js.map +1 -1
  754. package/cjs/internal/RenderContainer/RenderInnerContainer.d.ts +2 -2
  755. package/cjs/internal/RenderContainer/RenderInnerContainer.js.map +1 -1
  756. package/cjs/internal/RenderLayer/RenderLayer.d.ts +2 -2
  757. package/cjs/internal/RenderLayer/RenderLayer.js +2 -0
  758. package/cjs/internal/RenderLayer/RenderLayer.js.map +1 -1
  759. package/cjs/internal/ThemePlayground/AnotherInputsPlayground.d.ts +2 -2
  760. package/cjs/internal/ThemePlayground/AnotherInputsPlayground.js +1 -0
  761. package/cjs/internal/ThemePlayground/AnotherInputsPlayground.js.map +1 -1
  762. package/cjs/internal/ThemePlayground/CheckboxPlayground.js +1 -0
  763. package/cjs/internal/ThemePlayground/CheckboxPlayground.js.map +1 -1
  764. package/cjs/internal/ThemePlayground/ComponentsGroup.d.ts +1 -1
  765. package/cjs/internal/ThemePlayground/ComponentsGroup.js.map +1 -1
  766. package/cjs/internal/ThemePlayground/CurrencyInputPlayground.d.ts +2 -2
  767. package/cjs/internal/ThemePlayground/CurrencyInputPlayground.js +1 -0
  768. package/cjs/internal/ThemePlayground/CurrencyInputPlayground.js.map +1 -1
  769. package/cjs/internal/ThemePlayground/Playground.js +19 -16
  770. package/cjs/internal/ThemePlayground/Playground.js.map +1 -1
  771. package/cjs/internal/ThemePlayground/Playground.styles.d.ts +1 -1
  772. package/cjs/internal/ThemePlayground/Playground.styles.js.map +1 -1
  773. package/cjs/internal/ThemePlayground/RadioPlayground.js +1 -0
  774. package/cjs/internal/ThemePlayground/RadioPlayground.js.map +1 -1
  775. package/cjs/internal/ThemePlayground/SelectPlayground.d.ts +1 -1
  776. package/cjs/internal/ThemePlayground/SelectPlayground.js +1 -0
  777. package/cjs/internal/ThemePlayground/SelectPlayground.js.map +1 -1
  778. package/cjs/internal/ThemePlayground/SizesGroup.d.ts +1 -1
  779. package/cjs/internal/ThemePlayground/SizesGroup.js +4 -4
  780. package/cjs/internal/ThemePlayground/SizesGroup.js.map +1 -1
  781. package/cjs/internal/ThemePlayground/SwitcherPlayground.d.ts +1 -1
  782. package/cjs/internal/ThemePlayground/SwitcherPlayground.js +1 -0
  783. package/cjs/internal/ThemePlayground/SwitcherPlayground.js.map +1 -1
  784. package/cjs/internal/ThemePlayground/ThemeContextPlayground.d.ts +4 -3
  785. package/cjs/internal/ThemePlayground/ThemeContextPlayground.js +2 -1
  786. package/cjs/internal/ThemePlayground/ThemeContextPlayground.js.map +1 -1
  787. package/cjs/internal/ThemePlayground/ThemeEditor.d.ts +2 -2
  788. package/cjs/internal/ThemePlayground/ThemeEditor.js.map +1 -1
  789. package/cjs/internal/ThemePlayground/UnlinkVarsPlayground.js +1 -0
  790. package/cjs/internal/ThemePlayground/UnlinkVarsPlayground.js.map +1 -1
  791. package/cjs/internal/ThemePlayground/VariableValue.d.ts +1 -1
  792. package/cjs/internal/ThemePlayground/VariableValue.js +4 -4
  793. package/cjs/internal/ThemePlayground/VariableValue.js.map +1 -1
  794. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +1 -1
  795. package/cjs/internal/ThemePlayground/constants.d.ts +1 -1
  796. package/cjs/internal/ThemePlayground/constants.js.map +1 -1
  797. package/cjs/internal/ThemeShowcase/ThemeShowcase.d.ts +1 -1
  798. package/cjs/internal/ThemeShowcase/ThemeShowcase.js +2 -2
  799. package/cjs/internal/ThemeShowcase/ThemeShowcase.js.map +1 -1
  800. package/cjs/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +1 -1
  801. package/cjs/internal/ThemeShowcase/ThemeShowcase.styles.js.map +1 -1
  802. package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +2 -2
  803. package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
  804. package/cjs/internal/ZIndex/ZIndex.d.ts +1 -1
  805. package/cjs/internal/ZIndex/ZIndex.js +2 -0
  806. package/cjs/internal/ZIndex/ZIndex.js.map +1 -1
  807. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +1 -1
  808. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.js +1 -0
  809. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.js.map +1 -1
  810. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +1 -1
  811. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.js +1 -0
  812. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.js.map +1 -1
  813. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +1 -1
  814. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.js +1 -0
  815. package/cjs/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.js.map +1 -1
  816. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +1 -1
  817. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.js +1 -0
  818. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.js.map +1 -1
  819. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +1 -1
  820. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.js +1 -0
  821. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.js.map +1 -1
  822. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +1 -1
  823. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.js +1 -0
  824. package/cjs/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.js.map +1 -1
  825. package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +1 -1
  826. package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.js +1 -0
  827. package/cjs/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.js.map +1 -1
  828. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +1 -1
  829. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.js +1 -0
  830. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.js.map +1 -1
  831. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +1 -1
  832. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.js +1 -0
  833. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.js.map +1 -1
  834. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +1 -1
  835. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.js +1 -0
  836. package/cjs/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.js.map +1 -1
  837. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +1 -1
  838. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.js +1 -0
  839. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.js.map +1 -1
  840. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +1 -1
  841. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.js +1 -0
  842. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.js.map +1 -1
  843. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +1 -1
  844. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.js +1 -0
  845. package/cjs/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.js.map +1 -1
  846. package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +1 -1
  847. package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.js +1 -0
  848. package/cjs/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.js.map +1 -1
  849. package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +1 -1
  850. package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.js +1 -0
  851. package/cjs/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.js.map +1 -1
  852. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +1 -1
  853. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.js +1 -0
  854. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.js.map +1 -1
  855. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +1 -1
  856. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.js +1 -0
  857. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.js.map +1 -1
  858. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +1 -1
  859. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.js +1 -0
  860. package/cjs/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.js.map +1 -1
  861. package/cjs/internal/icons2022/BaseIcon.d.ts +1 -1
  862. package/cjs/internal/icons2022/BaseIcon.js +1 -0
  863. package/cjs/internal/icons2022/BaseIcon.js.map +1 -1
  864. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +1 -1
  865. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.js +1 -0
  866. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon16Light.js.map +1 -1
  867. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +1 -1
  868. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.js +1 -0
  869. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon20Light.js.map +1 -1
  870. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +1 -1
  871. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.js +1 -0
  872. package/cjs/internal/icons2022/CalendarIcon/CalendarIcon24Regular.js.map +1 -1
  873. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +1 -1
  874. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.js +1 -0
  875. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Light.js.map +1 -1
  876. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +1 -1
  877. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.js +1 -0
  878. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Regular.js.map +1 -1
  879. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +1 -1
  880. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.js +1 -0
  881. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon16Solid.js.map +1 -1
  882. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +1 -1
  883. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.js +1 -0
  884. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Light.js.map +1 -1
  885. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +1 -1
  886. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.js +1 -0
  887. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon20Solid.js.map +1 -1
  888. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +1 -1
  889. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.js +1 -0
  890. package/cjs/internal/icons2022/CheckAIcon/CheckAIcon24Regular.js.map +1 -1
  891. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +1 -1
  892. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.js +1 -0
  893. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.js.map +1 -1
  894. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +1 -1
  895. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.js +1 -0
  896. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.js.map +1 -1
  897. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +1 -1
  898. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.js +1 -0
  899. package/cjs/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.js.map +1 -1
  900. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +1 -1
  901. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.js +1 -0
  902. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.js.map +1 -1
  903. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +1 -1
  904. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.js +1 -0
  905. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.js.map +1 -1
  906. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +1 -1
  907. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.js +1 -0
  908. package/cjs/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.js.map +1 -1
  909. package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +1 -1
  910. package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.js +1 -0
  911. package/cjs/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.js.map +1 -1
  912. package/cjs/internal/icons2022/LoadingIcon.d.ts +1 -1
  913. package/cjs/internal/icons2022/LoadingIcon.js +1 -0
  914. package/cjs/internal/icons2022/LoadingIcon.js.map +1 -1
  915. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +1 -1
  916. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.js +1 -0
  917. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.js.map +1 -1
  918. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +1 -1
  919. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.js +1 -0
  920. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.js.map +1 -1
  921. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +1 -1
  922. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.js +1 -0
  923. package/cjs/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.js.map +1 -1
  924. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +1 -1
  925. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.js +1 -0
  926. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.js.map +1 -1
  927. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +1 -1
  928. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.js +1 -0
  929. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.js.map +1 -1
  930. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +1 -1
  931. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.js +1 -0
  932. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.js.map +1 -1
  933. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +1 -1
  934. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.js +1 -0
  935. package/cjs/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.js.map +1 -1
  936. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +1 -1
  937. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.js +1 -0
  938. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.js.map +1 -1
  939. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +1 -1
  940. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.js +1 -0
  941. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.js.map +1 -1
  942. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +1 -1
  943. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.js +1 -0
  944. package/cjs/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.js.map +1 -1
  945. package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +1 -1
  946. package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.js +1 -0
  947. package/cjs/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.js.map +1 -1
  948. package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +1 -1
  949. package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.js +1 -0
  950. package/cjs/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.js.map +1 -1
  951. package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +1 -1
  952. package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.js +1 -0
  953. package/cjs/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.js.map +1 -1
  954. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +1 -1
  955. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.js +1 -0
  956. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.js.map +1 -1
  957. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +1 -1
  958. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.js +1 -0
  959. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.js.map +1 -1
  960. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +1 -1
  961. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.js +1 -0
  962. package/cjs/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.js.map +1 -1
  963. package/cjs/internal/icons2022/XIcon/XIcon16Light.d.ts +1 -1
  964. package/cjs/internal/icons2022/XIcon/XIcon16Light.js +1 -0
  965. package/cjs/internal/icons2022/XIcon/XIcon16Light.js.map +1 -1
  966. package/cjs/internal/icons2022/XIcon/XIcon16Regular.d.ts +1 -1
  967. package/cjs/internal/icons2022/XIcon/XIcon16Regular.js +1 -0
  968. package/cjs/internal/icons2022/XIcon/XIcon16Regular.js.map +1 -1
  969. package/cjs/internal/icons2022/XIcon/XIcon20Light.d.ts +1 -1
  970. package/cjs/internal/icons2022/XIcon/XIcon20Light.js +1 -0
  971. package/cjs/internal/icons2022/XIcon/XIcon20Light.js.map +1 -1
  972. package/cjs/internal/icons2022/XIcon/XIcon20Regular.d.ts +1 -1
  973. package/cjs/internal/icons2022/XIcon/XIcon20Regular.js +1 -0
  974. package/cjs/internal/icons2022/XIcon/XIcon20Regular.js.map +1 -1
  975. package/cjs/internal/icons2022/XIcon/XIcon24Regular.d.ts +1 -1
  976. package/cjs/internal/icons2022/XIcon/XIcon24Regular.js +1 -0
  977. package/cjs/internal/icons2022/XIcon/XIcon24Regular.js.map +1 -1
  978. package/cjs/internal/icons2022/iconSizer.d.ts +2 -2
  979. package/cjs/internal/icons2022/iconSizer.js +1 -0
  980. package/cjs/internal/icons2022/iconSizer.js.map +1 -1
  981. package/cjs/internal/themes/BasicTheme.d.ts +1 -0
  982. package/cjs/internal/themes/BasicTheme.js +2 -1
  983. package/cjs/internal/themes/BasicTheme.js.map +1 -1
  984. package/cjs/lib/InstanceWithAnchorElement.d.ts +1 -1
  985. package/cjs/lib/InstanceWithAnchorElement.js.map +1 -1
  986. package/cjs/lib/ModalStack.d.ts +1 -1
  987. package/cjs/lib/ModalStack.js.map +1 -1
  988. package/cjs/lib/callChildRef/callChildRef.d.ts +2 -2
  989. package/cjs/lib/callChildRef/callChildRef.js.map +1 -1
  990. package/cjs/lib/createPropsGetter.d.ts +1 -1
  991. package/cjs/lib/createPropsGetter.js.map +1 -1
  992. package/cjs/lib/date/InternalDate.d.ts +2 -1
  993. package/cjs/lib/date/InternalDate.js +3 -1
  994. package/cjs/lib/date/InternalDate.js.map +1 -1
  995. package/cjs/lib/date/InternalDateCalculator.d.ts +2 -1
  996. package/cjs/lib/date/InternalDateCalculator.js +1 -5
  997. package/cjs/lib/date/InternalDateCalculator.js.map +1 -1
  998. package/cjs/lib/date/InternalDateGetter.d.ts +3 -2
  999. package/cjs/lib/date/InternalDateGetter.js +1 -5
  1000. package/cjs/lib/date/InternalDateGetter.js.map +1 -1
  1001. package/cjs/lib/date/InternalDateSetter.d.ts +3 -2
  1002. package/cjs/lib/date/InternalDateSetter.js +1 -5
  1003. package/cjs/lib/date/InternalDateSetter.js.map +1 -1
  1004. package/cjs/lib/date/InternalDateTransformer.d.ts +2 -1
  1005. package/cjs/lib/date/InternalDateTransformer.js +1 -3
  1006. package/cjs/lib/date/InternalDateTransformer.js.map +1 -1
  1007. package/cjs/lib/date/InternalDateValidator.d.ts +3 -2
  1008. package/cjs/lib/date/InternalDateValidator.js +1 -5
  1009. package/cjs/lib/date/InternalDateValidator.js.map +1 -1
  1010. package/cjs/lib/date/localeSets.d.ts +1 -1
  1011. package/cjs/lib/date/localeSets.js +1 -6
  1012. package/cjs/lib/date/localeSets.js.map +1 -1
  1013. package/cjs/lib/date/types.d.ts +1 -1
  1014. package/cjs/lib/date/types.js.map +1 -1
  1015. package/cjs/lib/dom/getDOMRect.d.ts +1 -1
  1016. package/cjs/lib/dom/getDOMRect.js.map +1 -1
  1017. package/cjs/lib/dom/tabbableHelpers.d.ts +2 -2
  1018. package/cjs/lib/dom/tabbableHelpers.js +2 -1
  1019. package/cjs/lib/dom/tabbableHelpers.js.map +1 -1
  1020. package/cjs/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +1 -1
  1021. package/cjs/lib/events/fixFirefoxModifiedClickOnLabel.js.map +1 -1
  1022. package/cjs/lib/events/keyboard/extractCode.js +1 -0
  1023. package/cjs/lib/events/keyboard/extractCode.js.map +1 -1
  1024. package/cjs/lib/extractKeyboardAction.d.ts +1 -1
  1025. package/cjs/lib/extractKeyboardAction.js.map +1 -1
  1026. package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +1 -1
  1027. package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.js +2 -1
  1028. package/cjs/lib/featureFlagsContext/FeatureFlagsHelpers.js.map +1 -1
  1029. package/cjs/lib/getDisplayName.d.ts +2 -2
  1030. package/cjs/lib/getDisplayName.js.map +1 -1
  1031. package/cjs/lib/locale/LocaleContext.d.ts +1 -1
  1032. package/cjs/lib/locale/LocaleContext.js.map +1 -1
  1033. package/cjs/lib/locale/LocaleHelper.d.ts +1 -1
  1034. package/cjs/lib/locale/LocaleHelper.js.map +1 -1
  1035. package/cjs/lib/locale/decorators.d.ts +3 -3
  1036. package/cjs/lib/locale/decorators.js.map +1 -1
  1037. package/cjs/lib/locale/types.d.ts +10 -10
  1038. package/cjs/lib/locale/types.js.map +1 -1
  1039. package/cjs/lib/locale/useLocaleForControl.d.ts +2 -2
  1040. package/cjs/lib/locale/useLocaleForControl.js.map +1 -1
  1041. package/cjs/lib/mergeRefs.d.ts +1 -1
  1042. package/cjs/lib/mergeRefs.js.map +1 -1
  1043. package/cjs/lib/rootNode/getRootNode.d.ts +2 -2
  1044. package/cjs/lib/rootNode/getRootNode.js +5 -12
  1045. package/cjs/lib/rootNode/getRootNode.js.map +1 -1
  1046. package/cjs/lib/rootNode/rootNodeDecorator.d.ts +2 -2
  1047. package/cjs/lib/rootNode/rootNodeDecorator.js.map +1 -1
  1048. package/cjs/lib/styles/ColorFactory.js +1 -0
  1049. package/cjs/lib/styles/ColorFactory.js.map +1 -1
  1050. package/cjs/lib/styles/ColorFunctions.js.map +1 -1
  1051. package/cjs/lib/styles/ColorObject.d.ts +1 -1
  1052. package/cjs/lib/styles/ColorObject.js.map +1 -1
  1053. package/cjs/lib/styles/UiFont.d.ts +1 -4
  1054. package/cjs/lib/styles/UiFont.js +5 -47
  1055. package/cjs/lib/styles/UiFont.js.map +1 -1
  1056. package/cjs/lib/taskWithDelayAndMinimalDuration.js +2 -1
  1057. package/cjs/lib/taskWithDelayAndMinimalDuration.js.map +1 -1
  1058. package/cjs/lib/theming/AnimationKeyframes.d.ts +1 -1
  1059. package/cjs/lib/theming/AnimationKeyframes.js.map +1 -1
  1060. package/cjs/lib/theming/Emotion.d.ts +1 -1
  1061. package/cjs/lib/theming/Emotion.js.map +1 -1
  1062. package/cjs/lib/theming/Theme.d.ts +2 -1
  1063. package/cjs/lib/theming/Theme.js +2 -1
  1064. package/cjs/lib/theming/Theme.js.map +1 -1
  1065. package/cjs/lib/theming/ThemeFactory.d.ts +2 -2
  1066. package/cjs/lib/theming/ThemeFactory.js +2 -1
  1067. package/cjs/lib/theming/ThemeFactory.js.map +1 -1
  1068. package/cjs/lib/theming/ThemeHelpers.d.ts +2 -2
  1069. package/cjs/lib/theming/ThemeHelpers.js +1 -0
  1070. package/cjs/lib/theming/ThemeHelpers.js.map +1 -1
  1071. package/cjs/lib/types/polymorphic-component.d.ts +2 -2
  1072. package/cjs/lib/types/polymorphic-component.js.map +1 -1
  1073. package/cjs/lib/utils.d.ts +1 -0
  1074. package/cjs/lib/utils.js +5 -1
  1075. package/cjs/lib/utils.js.map +1 -1
  1076. package/cjs/lib/withClassWrapper.d.ts +1 -1
  1077. package/cjs/lib/withClassWrapper.js.map +1 -1
  1078. package/components/Autocomplete/Autocomplete/Autocomplete.js.map +1 -1
  1079. package/components/Autocomplete/Autocomplete.d.ts +6 -5
  1080. package/components/Autocomplete/Autocomplete.styles/Autocomplete.styles.js.map +1 -1
  1081. package/components/Autocomplete/Autocomplete.styles.d.ts +1 -1
  1082. package/components/Autocomplete/__docs__/Autocomplete.mdx +5 -5
  1083. package/components/Autocomplete/getAutocompleteTheme/getAutocompleteTheme.js.map +1 -1
  1084. package/components/Autocomplete/getAutocompleteTheme.d.ts +1 -1
  1085. package/components/Autocomplete/locale/index/index.js.map +1 -1
  1086. package/components/Autocomplete/locale/index.d.ts +1 -1
  1087. package/components/Autocomplete/locale/locales/en/en.js.map +1 -1
  1088. package/components/Autocomplete/locale/locales/en.d.ts +1 -1
  1089. package/components/Autocomplete/locale/locales/ru/ru.js.map +1 -1
  1090. package/components/Autocomplete/locale/locales/ru.d.ts +1 -1
  1091. package/components/Button/Button/Button.js.map +1 -1
  1092. package/components/Button/Button.d.ts +5 -5
  1093. package/components/Button/Button.styles/Button.styles.js +1 -1
  1094. package/components/Button/Button.styles/Button.styles.js.map +1 -1
  1095. package/components/Button/Button.styles.d.ts +1 -1
  1096. package/components/Button/ButtonArrow/ButtonArrow.js.map +1 -1
  1097. package/components/Button/ButtonArrow.d.ts +2 -2
  1098. package/components/Button/ButtonIcon/ButtonIcon.js.map +1 -1
  1099. package/components/Button/ButtonIcon.d.ts +3 -3
  1100. package/components/Button/ButtonIcon.styles/ButtonIcon.styles.js.map +1 -1
  1101. package/components/Button/ButtonIcon.styles.d.ts +1 -1
  1102. package/components/Button/LoadingButtonIcon/LoadingButtonIcon.js.map +1 -1
  1103. package/components/Button/LoadingButtonIcon.d.ts +1 -1
  1104. package/components/Button/__docs__/Button.mdx +8 -9
  1105. package/components/Button/getInnerLinkTheme/getInnerLinkTheme.js.map +1 -1
  1106. package/components/Button/getInnerLinkTheme.d.ts +1 -1
  1107. package/components/Calendar/Calendar/Calendar.js.map +1 -1
  1108. package/components/Calendar/Calendar.d.ts +3 -3
  1109. package/components/Calendar/Calendar.styles/Calendar.styles.js.map +1 -1
  1110. package/components/Calendar/Calendar.styles.d.ts +1 -1
  1111. package/components/Calendar/CalendarContext/CalendarContext.js.map +1 -1
  1112. package/components/Calendar/CalendarContext.d.ts +2 -2
  1113. package/components/Calendar/CalendarDateShape/CalendarDateShape.js.map +1 -1
  1114. package/components/Calendar/CalendarDateShape.d.ts +1 -1
  1115. package/components/Calendar/CalendarDay/CalendarDay.js.map +1 -1
  1116. package/components/Calendar/CalendarDay.d.ts +2 -1
  1117. package/components/Calendar/CalendarUtils/CalendarUtils.js.map +1 -1
  1118. package/components/Calendar/CalendarUtils.d.ts +4 -4
  1119. package/components/Calendar/DayCellView/DayCellView.js.map +1 -1
  1120. package/components/Calendar/DayCellView.d.ts +1 -1
  1121. package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
  1122. package/components/Calendar/DayCellView.styles.d.ts +1 -1
  1123. package/components/Calendar/Month/Month.js.map +1 -1
  1124. package/components/Calendar/Month.d.ts +1 -1
  1125. package/components/Calendar/MonthView/MonthView.js.map +1 -1
  1126. package/components/Calendar/MonthView.d.ts +1 -1
  1127. package/components/Calendar/MonthView.styles/MonthView.styles.js.map +1 -1
  1128. package/components/Calendar/MonthView.styles.d.ts +1 -1
  1129. package/components/Calendar/MonthViewModel/MonthViewModel.js.map +1 -1
  1130. package/components/Calendar/MonthViewModel.d.ts +1 -1
  1131. package/components/Calendar/__docs__/Calendar.mdx +8 -9
  1132. package/components/Calendar/__docs__/CalendarDay.mdx +4 -5
  1133. package/components/Calendar/config/config.js.map +1 -1
  1134. package/components/Calendar/config.d.ts +1 -1
  1135. package/components/Calendar/locale/index/index.js.map +1 -1
  1136. package/components/Calendar/locale/index.d.ts +1 -1
  1137. package/components/Calendar/locale/locales/en/en.js.map +1 -1
  1138. package/components/Calendar/locale/locales/en.d.ts +1 -1
  1139. package/components/Calendar/locale/locales/ru/ru.js.map +1 -1
  1140. package/components/Calendar/locale/locales/ru.d.ts +1 -1
  1141. package/components/Center/Center/Center.js.map +1 -1
  1142. package/components/Center/Center.d.ts +2 -2
  1143. package/components/Center/__docs__/Center.mdx +4 -5
  1144. package/components/Checkbox/Checkbox/Checkbox.js.map +1 -1
  1145. package/components/Checkbox/Checkbox.d.ts +5 -4
  1146. package/components/Checkbox/Checkbox.styles/Checkbox.styles.js.map +1 -1
  1147. package/components/Checkbox/Checkbox.styles.d.ts +1 -1
  1148. package/components/Checkbox/__docs__/Checkbox.mdx +8 -9
  1149. package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
  1150. package/components/ComboBox/ComboBox.d.ts +7 -6
  1151. package/components/ComboBox/ComboBox.md +2 -2
  1152. package/components/ComboBox/__docs__/ComboBox.mdx +8 -9
  1153. package/components/CurrencyInput/CurrencyHelper/CurrencyHelper.js.map +1 -1
  1154. package/components/CurrencyInput/CurrencyHelper.d.ts +3 -3
  1155. package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
  1156. package/components/CurrencyInput/CurrencyInput.d.ts +6 -5
  1157. package/components/CurrencyInput/CurrencyInputHelper/CurrencyInputHelper.js.map +1 -1
  1158. package/components/CurrencyInput/CurrencyInputHelper.d.ts +2 -2
  1159. package/components/CurrencyInput/CursorHelper/CursorHelper.js.map +1 -1
  1160. package/components/CurrencyInput/CursorHelper.d.ts +1 -1
  1161. package/components/CurrencyInput/__docs__/CurrencyInput.mdx +8 -9
  1162. package/components/CurrencyLabel/CurrencyLabel/CurrencyLabel.js.map +1 -1
  1163. package/components/CurrencyLabel/CurrencyLabel.d.ts +3 -2
  1164. package/components/CurrencyLabel/__docs__/CurrencyLabel.mdx +4 -5
  1165. package/components/DateInput/DateFragmentsView/DateFragmentsView.js.map +1 -1
  1166. package/components/DateInput/DateFragmentsView.d.ts +2 -1
  1167. package/components/DateInput/DateFragmentsView.styles/DateFragmentsView.styles.js.map +1 -1
  1168. package/components/DateInput/DateFragmentsView.styles.d.ts +1 -1
  1169. package/components/DateInput/DateInput/DateInput.js.map +1 -1
  1170. package/components/DateInput/DateInput.d.ts +4 -3
  1171. package/components/DateInput/DateInput.styles/DateInput.styles.js.map +1 -1
  1172. package/components/DateInput/DateInput.styles.d.ts +1 -1
  1173. package/components/DateInput/__docs__/DateInput.mdx +4 -7
  1174. package/components/DateInput/helpers/DateInputKeyboardActions/DateInputKeyboardActions.js.map +1 -1
  1175. package/components/DateInput/helpers/DateInputKeyboardActions.d.ts +1 -1
  1176. package/components/DateInput/helpers/InternalDateMediator/InternalDateMediator.js.map +1 -1
  1177. package/components/DateInput/helpers/InternalDateMediator.d.ts +4 -3
  1178. package/components/DateInput/helpers/inputNumber/inputNumber.js.map +1 -1
  1179. package/components/DateInput/helpers/inputNumber.d.ts +2 -1
  1180. package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
  1181. package/components/DatePicker/DatePicker.d.ts +6 -5
  1182. package/components/DatePicker/DatePicker.styles/DatePicker.styles.js.map +1 -1
  1183. package/components/DatePicker/DatePicker.styles.d.ts +1 -1
  1184. package/components/DatePicker/DatePickerHelpers/DatePickerHelpers.js.map +1 -1
  1185. package/components/DatePicker/DatePickerHelpers.d.ts +1 -1
  1186. package/components/DatePicker/MobilePicker/MobilePicker.js.map +1 -1
  1187. package/components/DatePicker/MobilePicker.d.ts +1 -1
  1188. package/components/DatePicker/__docs__/DatePicker.mdx +8 -9
  1189. package/components/DatePicker/getMobilePickerTheme/getMobilePickerTheme.js.map +1 -1
  1190. package/components/DatePicker/getMobilePickerTheme.d.ts +1 -1
  1191. package/components/DatePicker/locale/index/index.js.map +1 -1
  1192. package/components/DatePicker/locale/index.d.ts +1 -1
  1193. package/components/DatePicker/locale/locales/en/en.js.map +1 -1
  1194. package/components/DatePicker/locale/locales/en.d.ts +1 -1
  1195. package/components/DatePicker/locale/locales/ru/ru.js.map +1 -1
  1196. package/components/DatePicker/locale/locales/ru.d.ts +1 -1
  1197. package/components/DatePicker/locale/types/types.js.map +1 -1
  1198. package/components/DatePicker/locale/types.d.ts +3 -3
  1199. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +31 -11
  1200. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +1 -1
  1201. package/components/DateRangePicker/DateRangePicker.d.ts +4 -2
  1202. package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +1 -1
  1203. package/components/DateRangePicker/DateRangePicker.styles.d.ts +2 -2
  1204. package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js +5 -8
  1205. package/components/DateRangePicker/DateRangePickerInput/DateRangePickerInput.js.map +1 -1
  1206. package/components/DateRangePicker/DateRangePickerInput.d.ts +2 -1
  1207. package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +1 -1
  1208. package/components/DateRangePicker/DateRangePickerTheme.d.ts +1 -1
  1209. package/components/DateRangePicker/__docs__/DateRangePicker.mdx +8 -12
  1210. package/components/DateRangePicker/helpers/getStateForValue/getStateForValue.js +11 -19
  1211. package/components/DateRangePicker/helpers/getStateForValue/getStateForValue.js.map +1 -1
  1212. package/components/DateRangePicker/helpers/getStateForValue.d.ts +2 -2
  1213. package/components/DateRangePicker/helpers/validateDateRangePicker/validateDateRangePicker.js +16 -15
  1214. package/components/DateRangePicker/helpers/validateDateRangePicker/validateDateRangePicker.js.map +1 -1
  1215. package/components/DateRangePicker/helpers/validateDateRangePicker.d.ts +1 -1
  1216. package/components/DateRangePicker/locale/index/index.js.map +1 -1
  1217. package/components/DateRangePicker/locale/index.d.ts +1 -1
  1218. package/components/DateRangePicker/locale/locales/en/en.js.map +1 -1
  1219. package/components/DateRangePicker/locale/locales/en.d.ts +1 -1
  1220. package/components/DateRangePicker/locale/locales/ru/ru.js.map +1 -1
  1221. package/components/DateRangePicker/locale/locales/ru.d.ts +1 -1
  1222. package/components/DateRangePicker/locale/types/types.js.map +1 -1
  1223. package/components/DateRangePicker/locale/types.d.ts +1 -1
  1224. package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
  1225. package/components/Dropdown/Dropdown.d.ts +5 -4
  1226. package/components/Dropdown/__docs__/Dropdown.mdx +8 -9
  1227. package/components/Dropdown/getDropdownTheme/getDropdownTheme.js.map +1 -1
  1228. package/components/Dropdown/getDropdownTheme.d.ts +1 -1
  1229. package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
  1230. package/components/DropdownMenu/DropdownMenu.d.ts +5 -4
  1231. package/components/DropdownMenu/DropdownMenu.md +8 -8
  1232. package/components/DropdownMenu/__docs__/DropdownMenu.mdx +8 -9
  1233. package/components/DropdownMenu/getDropdownMenuTheme/getDropdownMenuTheme.js.map +1 -1
  1234. package/components/DropdownMenu/getDropdownMenuTheme.d.ts +1 -1
  1235. package/components/FileUploader/FileUploader/FileUploader.js +21 -13
  1236. package/components/FileUploader/FileUploader/FileUploader.js.map +1 -1
  1237. package/components/FileUploader/FileUploader.d.ts +6 -6
  1238. package/components/FileUploader/FileUploader.styles/FileUploader.styles.js.map +1 -1
  1239. package/components/FileUploader/FileUploader.styles.d.ts +1 -1
  1240. package/components/FileUploader/__docs__/FileUploader.mdx +8 -9
  1241. package/components/FileUploader/index/index.js.map +1 -1
  1242. package/components/FileUploader/index.d.ts +1 -1
  1243. package/components/FileUploader/locale/index/index.js.map +1 -1
  1244. package/components/FileUploader/locale/index.d.ts +1 -1
  1245. package/components/FileUploader/locale/locales/en/en.js.map +1 -1
  1246. package/components/FileUploader/locale/locales/en.d.ts +1 -1
  1247. package/components/FileUploader/locale/locales/ru/ru.js.map +1 -1
  1248. package/components/FileUploader/locale/locales/ru.d.ts +1 -1
  1249. package/components/FxInput/FxInput/FxInput.js.map +1 -1
  1250. package/components/FxInput/FxInput.d.ts +9 -6
  1251. package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
  1252. package/components/FxInput/FxInputRestoreBtn.d.ts +3 -2
  1253. package/components/FxInput/__docs__/FxInput.mdx +8 -9
  1254. package/components/Gapped/Gapped/Gapped.js.map +1 -1
  1255. package/components/Gapped/Gapped.d.ts +1 -1
  1256. package/components/Gapped/__docs__/Gapped.mdx +4 -5
  1257. package/components/GlobalLoader/GlobalLoader/GlobalLoader.js.map +1 -1
  1258. package/components/GlobalLoader/GlobalLoaderView/GlobalLoaderView.js.map +1 -1
  1259. package/components/GlobalLoader/GlobalLoaderView.d.ts +1 -1
  1260. package/components/GlobalLoader/GlobalLoaderView.styles/GlobalLoaderView.styles.js.map +1 -1
  1261. package/components/GlobalLoader/GlobalLoaderView.styles.d.ts +1 -1
  1262. package/components/GlobalLoader/__docs__/GlobalLoader.mdx +8 -9
  1263. package/components/GlobalLoader/useParams/useParams.js.map +1 -1
  1264. package/components/GlobalLoader/useParams.d.ts +1 -1
  1265. package/components/Group/Group/Group.js.map +1 -1
  1266. package/components/Group/Group.d.ts +1 -1
  1267. package/components/Group/Group.md +4 -4
  1268. package/components/Group/__docs__/Group.mdx +4 -5
  1269. package/components/Hint/Hint/Hint.js.map +1 -1
  1270. package/components/Hint/Hint.d.ts +5 -5
  1271. package/components/Hint/Hint.styles/Hint.styles.js.map +1 -1
  1272. package/components/Hint/Hint.styles.d.ts +1 -1
  1273. package/components/Hint/__docs__/Hint.mdx +8 -9
  1274. package/components/Input/Input/Input.js.map +1 -1
  1275. package/components/Input/Input.d.ts +6 -5
  1276. package/components/Input/Input.md +4 -5
  1277. package/components/Input/Input.styles/Input.styles.js.map +1 -1
  1278. package/components/Input/Input.styles.d.ts +1 -1
  1279. package/components/Input/Input.typings/Input.typings.js.map +1 -1
  1280. package/components/Input/Input.typings.d.ts +1 -1
  1281. package/components/Input/InputLayout/InputLayout/InputLayout.js.map +1 -1
  1282. package/components/Input/InputLayout/InputLayout.d.ts +3 -3
  1283. package/components/Input/InputLayout/InputLayout.styles/InputLayout.styles.js.map +1 -1
  1284. package/components/Input/InputLayout/InputLayout.styles.d.ts +1 -1
  1285. package/components/Input/InputLayout/InputLayoutAside/InputLayoutAside.js.map +1 -1
  1286. package/components/Input/InputLayout/InputLayoutAside.d.ts +1 -1
  1287. package/components/Input/InputLayout/InputLayoutAsideIcon/InputLayoutAsideIcon.js.map +1 -1
  1288. package/components/Input/InputLayout/InputLayoutAsideIcon.d.ts +1 -1
  1289. package/components/Input/InputLayout/InputLayoutAsideText/InputLayoutAsideText.js.map +1 -1
  1290. package/components/Input/InputLayout/InputLayoutAsideText.d.ts +1 -1
  1291. package/components/Input/InputLayout/InputLayoutContext/InputLayoutContext.js.map +1 -1
  1292. package/components/Input/InputLayout/InputLayoutContext.d.ts +1 -1
  1293. package/components/Input/InputLayout/PolyfillPlaceholder/PolyfillPlaceholder.js.map +1 -1
  1294. package/components/Input/InputLayout/PolyfillPlaceholder.d.ts +1 -1
  1295. package/components/Input/__docs__/Input.mdx +8 -9
  1296. package/components/Kebab/Kebab/Kebab.js.map +1 -1
  1297. package/components/Kebab/Kebab.d.ts +7 -6
  1298. package/components/Kebab/Kebab.md +32 -32
  1299. package/components/Kebab/Kebab.styles/Kebab.styles.js.map +1 -1
  1300. package/components/Kebab/Kebab.styles.d.ts +1 -1
  1301. package/components/Kebab/__docs__/Kebab.mdx +8 -9
  1302. package/components/Link/Link/Link.js.map +1 -1
  1303. package/components/Link/Link.d.ts +4 -4
  1304. package/components/Link/Link.styles/Link.styles.js.map +1 -1
  1305. package/components/Link/Link.styles.d.ts +1 -1
  1306. package/components/Link/LinkIcon/LinkIcon.js.map +1 -1
  1307. package/components/Link/LinkIcon.d.ts +1 -1
  1308. package/components/Link/__docs__/Link.mdx +8 -9
  1309. package/components/Loader/Loader/Loader.js.map +1 -1
  1310. package/components/Loader/Loader.d.ts +3 -3
  1311. package/components/Loader/Loader.styles/Loader.styles.js.map +1 -1
  1312. package/components/Loader/Loader.styles.d.ts +1 -1
  1313. package/components/Loader/__docs__/Loader.mdx +4 -7
  1314. package/components/Loader/__stories__/LoaderAndButton/LoaderAndButton.js.map +1 -1
  1315. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js +1 -0
  1316. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js.map +1 -1
  1317. package/components/MaskedInput/ColorableInputElement/ColorableInputElement.d.ts +1 -1
  1318. package/components/MaskedInput/FixedIMaskInput/FixedIMaskInput.js +1 -1
  1319. package/components/MaskedInput/FixedIMaskInput/FixedIMaskInput.js.map +1 -1
  1320. package/components/MaskedInput/FixedIMaskInput.d.ts +2 -2
  1321. package/components/MaskedInput/MaskedInput/MaskedInput.js +9 -4
  1322. package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
  1323. package/components/MaskedInput/MaskedInput.d.ts +3 -2
  1324. package/components/MaskedInput/MaskedInput.helpers/MaskedInput.helpers.js.map +1 -1
  1325. package/components/MaskedInput/MaskedInput.helpers.d.ts +1 -1
  1326. package/components/MaskedInput/MaskedInput.styles/MaskedInput.styles.js +9 -1
  1327. package/components/MaskedInput/MaskedInput.styles/MaskedInput.styles.js.map +1 -1
  1328. package/components/MaskedInput/MaskedInput.styles.d.ts +4 -0
  1329. package/components/MaskedInput/__docs__/MaskedInput.mdx +8 -9
  1330. package/components/MenuFooter/MenuFooter/MenuFooter.js.map +1 -1
  1331. package/components/MenuFooter/MenuFooter.d.ts +4 -3
  1332. package/components/MenuFooter/MenuFooter.styles/MenuFooter.styles.js.map +1 -1
  1333. package/components/MenuFooter/MenuFooter.styles.d.ts +1 -1
  1334. package/components/MenuFooter/__docs__/MenuFooter.mdx +4 -5
  1335. package/components/MenuHeader/MenuHeader/MenuHeader.js.map +1 -1
  1336. package/components/MenuHeader/MenuHeader.d.ts +4 -3
  1337. package/components/MenuHeader/MenuHeader.styles/MenuHeader.styles.js.map +1 -1
  1338. package/components/MenuHeader/MenuHeader.styles.d.ts +1 -1
  1339. package/components/MenuHeader/__docs__/MenuHeader.mdx +4 -5
  1340. package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
  1341. package/components/MenuItem/MenuItem.d.ts +5 -4
  1342. package/components/MenuItem/MenuItem.md +6 -6
  1343. package/components/MenuItem/MenuItem.styles/MenuItem.styles.js.map +1 -1
  1344. package/components/MenuItem/MenuItem.styles.d.ts +1 -1
  1345. package/components/MenuItem/__docs__/MenuItem.mdx +4 -5
  1346. package/components/MenuSeparator/MenuSeparator/MenuSeparator.js.map +1 -1
  1347. package/components/MenuSeparator/MenuSeparator.d.ts +1 -1
  1348. package/components/MenuSeparator/MenuSeparator.styles/MenuSeparator.styles.js.map +1 -1
  1349. package/components/MenuSeparator/MenuSeparator.styles.d.ts +1 -1
  1350. package/components/MenuSeparator/__docs__/MenuSeparator.mdx +4 -5
  1351. package/components/MiniModal/MiniModal/MiniModal.js.map +1 -1
  1352. package/components/MiniModal/MiniModal.d.ts +2 -1
  1353. package/components/MiniModal/MiniModal.styles/MiniModal.styles.js.map +1 -1
  1354. package/components/MiniModal/MiniModal.styles.d.ts +1 -1
  1355. package/components/MiniModal/MiniModalBody/MiniModalBody.js.map +1 -1
  1356. package/components/MiniModal/MiniModalBody.d.ts +1 -1
  1357. package/components/MiniModal/MiniModalFooter/MiniModalFooter.js.map +1 -1
  1358. package/components/MiniModal/MiniModalFooter.d.ts +1 -1
  1359. package/components/MiniModal/MiniModalHeader/MiniModalHeader.js.map +1 -1
  1360. package/components/MiniModal/MiniModalHeader.d.ts +2 -2
  1361. package/components/MiniModal/__docs__/MiniModal.mdx +8 -9
  1362. package/components/MiniModal/getMiniModalTheme/getMiniModalTheme.js.map +1 -1
  1363. package/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  1364. package/components/Modal/Modal/Modal.js.map +1 -1
  1365. package/components/Modal/Modal.d.ts +4 -3
  1366. package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
  1367. package/components/Modal/Modal.styles.d.ts +1 -1
  1368. package/components/Modal/ModalBody/ModalBody.js.map +1 -1
  1369. package/components/Modal/ModalBody.d.ts +1 -1
  1370. package/components/Modal/ModalClose/ModalClose.js.map +1 -1
  1371. package/components/Modal/ModalClose.d.ts +1 -1
  1372. package/components/Modal/ModalContext/ModalContext.js.map +1 -1
  1373. package/components/Modal/ModalContext.d.ts +1 -1
  1374. package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
  1375. package/components/Modal/ModalFooter.d.ts +4 -3
  1376. package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  1377. package/components/Modal/ModalHeader.d.ts +3 -2
  1378. package/components/Modal/ModalSeparator/ModalSeparator.js.map +1 -1
  1379. package/components/Modal/ModalSeparator.d.ts +1 -1
  1380. package/components/Modal/__docs__/Modal.mdx +8 -9
  1381. package/components/Modal/getModalBodyTheme/getModalBodyTheme.js.map +1 -1
  1382. package/components/Modal/getModalBodyTheme.d.ts +1 -1
  1383. package/components/Modal/getModalTheme/getModalTheme.js.map +1 -1
  1384. package/components/Modal/getModalTheme.d.ts +1 -1
  1385. package/components/Modal/locale/index/index.js.map +1 -1
  1386. package/components/Modal/locale/index.d.ts +1 -1
  1387. package/components/Modal/locale/locales/en/en.js.map +1 -1
  1388. package/components/Modal/locale/locales/en.d.ts +1 -1
  1389. package/components/Modal/locale/locales/ru/ru.js.map +1 -1
  1390. package/components/Modal/locale/locales/ru.d.ts +1 -1
  1391. package/components/Paging/NavigationHelper/NavigationHelper.js.map +1 -1
  1392. package/components/Paging/NavigationHelper.d.ts +1 -1
  1393. package/components/Paging/Paging/Paging.js.map +1 -1
  1394. package/components/Paging/Paging.d.ts +2 -2
  1395. package/components/Paging/Paging.styles/Paging.styles.js.map +1 -1
  1396. package/components/Paging/Paging.styles.d.ts +1 -1
  1397. package/components/Paging/PagingDefaultComponent/PagingDefaultComponent.js.map +1 -1
  1398. package/components/Paging/PagingDefaultComponent.d.ts +1 -1
  1399. package/components/Paging/PagingHelper/PagingHelper.js.map +1 -1
  1400. package/components/Paging/PagingHelper.d.ts +1 -1
  1401. package/components/Paging/__docs__/Paging.mdx +8 -9
  1402. package/components/Paging/locale/index/index.js.map +1 -1
  1403. package/components/Paging/locale/index.d.ts +1 -1
  1404. package/components/Paging/locale/locales/en/en.js.map +1 -1
  1405. package/components/Paging/locale/locales/en.d.ts +1 -1
  1406. package/components/Paging/locale/locales/ru/ru.js.map +1 -1
  1407. package/components/Paging/locale/locales/ru.d.ts +1 -1
  1408. package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
  1409. package/components/PasswordInput/PasswordInput.d.ts +4 -3
  1410. package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
  1411. package/components/PasswordInput/PasswordInput.styles.d.ts +1 -1
  1412. package/components/PasswordInput/PasswordInputIcon/PasswordInputIcon.js.map +1 -1
  1413. package/components/PasswordInput/PasswordInputIcon.d.ts +1 -1
  1414. package/components/PasswordInput/__docs__/PasswordInput.mdx +8 -9
  1415. package/components/PasswordInput/locale/index/index.js.map +1 -1
  1416. package/components/PasswordInput/locale/index.d.ts +1 -1
  1417. package/components/PasswordInput/locale/locales/en/en.js.map +1 -1
  1418. package/components/PasswordInput/locale/locales/en.d.ts +1 -1
  1419. package/components/PasswordInput/locale/locales/ru/ru.js.map +1 -1
  1420. package/components/PasswordInput/locale/locales/ru.d.ts +1 -1
  1421. package/components/Radio/Radio/Radio.js.map +1 -1
  1422. package/components/Radio/Radio.d.ts +6 -5
  1423. package/components/Radio/Radio.styles/Radio.styles.js.map +1 -1
  1424. package/components/Radio/Radio.styles.d.ts +1 -1
  1425. package/components/Radio/__docs__/Radio.mdx +8 -9
  1426. package/components/RadioGroup/RadioGroup/RadioGroup.js.map +1 -1
  1427. package/components/RadioGroup/RadioGroup.d.ts +3 -2
  1428. package/components/RadioGroup/__docs__/RadioGroup.mdx +8 -9
  1429. package/components/ResponsiveLayout/ResponsiveLayout/ResponsiveLayout.js.map +1 -1
  1430. package/components/ResponsiveLayout/ResponsiveLayout.d.ts +1 -1
  1431. package/components/ResponsiveLayout/__docs__/ResponsiveLayout.mdx +4 -5
  1432. package/components/ResponsiveLayout/decorator/decorator.js.map +1 -1
  1433. package/components/ResponsiveLayout/decorator.d.ts +1 -1
  1434. package/components/ResponsiveLayout/useResponsiveLayout/useResponsiveLayout.js.map +1 -1
  1435. package/components/ResponsiveLayout/useResponsiveLayout.d.ts +1 -1
  1436. package/components/ScrollContainer/ScrollBar/ScrollBar.js.map +1 -1
  1437. package/components/ScrollContainer/ScrollBar.d.ts +2 -2
  1438. package/components/ScrollContainer/ScrollContainer/ScrollContainer.js.map +1 -1
  1439. package/components/ScrollContainer/ScrollContainer.constants/ScrollContainer.constants.js.map +1 -1
  1440. package/components/ScrollContainer/ScrollContainer.constants.d.ts +1 -1
  1441. package/components/ScrollContainer/ScrollContainer.d.ts +3 -3
  1442. package/components/ScrollContainer/ScrollContainer.helpers/ScrollContainer.helpers.js.map +1 -1
  1443. package/components/ScrollContainer/ScrollContainer.helpers.d.ts +2 -2
  1444. package/components/ScrollContainer/ScrollContainer.styles/ScrollContainer.styles.js.map +1 -1
  1445. package/components/ScrollContainer/ScrollContainer.styles.d.ts +1 -1
  1446. package/components/ScrollContainer/__docs__/ScrollContainer.mdx +4 -5
  1447. package/components/Select/Select/Select.js.map +1 -1
  1448. package/components/Select/Select.d.ts +7 -6
  1449. package/components/Select/Select.md +3 -3
  1450. package/components/Select/Select.styles/Select.styles.js.map +1 -1
  1451. package/components/Select/Select.styles.d.ts +1 -1
  1452. package/components/Select/__docs__/Select.mdx +8 -9
  1453. package/components/Select/locale/index/index.js.map +1 -1
  1454. package/components/Select/locale/index.d.ts +1 -1
  1455. package/components/Select/locale/locales/en/en.js.map +1 -1
  1456. package/components/Select/locale/locales/en.d.ts +1 -1
  1457. package/components/Select/locale/locales/ru/ru.js.map +1 -1
  1458. package/components/Select/locale/locales/ru.d.ts +1 -1
  1459. package/components/Select/locale/types/types.js.map +1 -1
  1460. package/components/Select/locale/types.d.ts +1 -1
  1461. package/components/Select/selectTheme/selectTheme.js.map +1 -1
  1462. package/components/Select/selectTheme.d.ts +2 -2
  1463. package/components/SidePage/SidePage/SidePage.js.map +1 -1
  1464. package/components/SidePage/SidePage.d.ts +3 -2
  1465. package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
  1466. package/components/SidePage/SidePage.styles.d.ts +1 -1
  1467. package/components/SidePage/SidePageBody/SidePageBody.js.map +1 -1
  1468. package/components/SidePage/SidePageBody.d.ts +2 -2
  1469. package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js.map +1 -1
  1470. package/components/SidePage/SidePageCloseButton.d.ts +1 -1
  1471. package/components/SidePage/SidePageContainer/SidePageContainer.js.map +1 -1
  1472. package/components/SidePage/SidePageContainer.d.ts +1 -1
  1473. package/components/SidePage/SidePageContext/SidePageContext.js.map +1 -1
  1474. package/components/SidePage/SidePageContext.d.ts +2 -2
  1475. package/components/SidePage/SidePageFooter/SidePageFooter.js.map +1 -1
  1476. package/components/SidePage/SidePageFooter.d.ts +3 -3
  1477. package/components/SidePage/SidePageHeader/SidePageHeader.js.map +1 -1
  1478. package/components/SidePage/SidePageHeader.d.ts +2 -2
  1479. package/components/SidePage/__docs__/SidePage.mdx +8 -9
  1480. package/components/SidePage/__docs__/SidePageBody.mdx +1 -0
  1481. package/components/SidePage/locale/index/index.js.map +1 -1
  1482. package/components/SidePage/locale/index.d.ts +1 -1
  1483. package/components/SidePage/locale/locales/en/en.js.map +1 -1
  1484. package/components/SidePage/locale/locales/en.d.ts +1 -1
  1485. package/components/SidePage/locale/locales/ru/ru.js.map +1 -1
  1486. package/components/SidePage/locale/locales/ru.d.ts +1 -1
  1487. package/components/SingleToast/SingleToast/SingleToast.js.map +1 -1
  1488. package/components/SingleToast/SingleToast.d.ts +4 -3
  1489. package/components/SingleToast/__docs__/SingleToast.mdx +8 -9
  1490. package/components/Spinner/Spinner/Spinner.js.map +1 -1
  1491. package/components/Spinner/Spinner.d.ts +1 -1
  1492. package/components/Spinner/Spinner.styles/Spinner.styles.js.map +1 -1
  1493. package/components/Spinner/Spinner.styles.d.ts +1 -1
  1494. package/components/Spinner/__docs__/Spinner.mdx +8 -9
  1495. package/components/Sticky/Sticky/Sticky.js.map +1 -1
  1496. package/components/Sticky/Sticky.d.ts +2 -2
  1497. package/components/Sticky/__docs__/Sticky.mdx +4 -5
  1498. package/components/Switcher/Switcher/Switcher.js.map +1 -1
  1499. package/components/Switcher/Switcher.d.ts +6 -5
  1500. package/components/Switcher/Switcher.styles/Switcher.styles.js.map +1 -1
  1501. package/components/Switcher/Switcher.styles.d.ts +1 -1
  1502. package/components/Switcher/__docs__/Switcher.mdx +8 -9
  1503. package/components/Switcher/switcherTheme/switcherTheme.js.map +1 -1
  1504. package/components/Switcher/switcherTheme.d.ts +1 -1
  1505. package/components/Tabs/Indicator/Indicator.js.map +1 -1
  1506. package/components/Tabs/Indicator.d.ts +1 -1
  1507. package/components/Tabs/Indicator.styles/Indicator.styles.js.map +1 -1
  1508. package/components/Tabs/Indicator.styles.d.ts +1 -1
  1509. package/components/Tabs/Tab/Tab.js.map +1 -1
  1510. package/components/Tabs/Tab.d.ts +5 -4
  1511. package/components/Tabs/Tab.styles/Tab.styles.js.map +1 -1
  1512. package/components/Tabs/Tab.styles.d.ts +1 -1
  1513. package/components/Tabs/Tabs/Tabs.js.map +1 -1
  1514. package/components/Tabs/Tabs.d.ts +4 -3
  1515. package/components/Tabs/Tabs.styles/Tabs.styles.js.map +1 -1
  1516. package/components/Tabs/Tabs.styles.d.ts +1 -1
  1517. package/components/Tabs/TabsContext/TabsContext.js.map +1 -1
  1518. package/components/Tabs/TabsContext.d.ts +2 -2
  1519. package/components/Tabs/__docs__/Tab.mdx +8 -9
  1520. package/components/Tabs/__docs__/Tabs.mdx +8 -9
  1521. package/components/Tabs/helpers/helpers.js.map +1 -1
  1522. package/components/Tabs/helpers.d.ts +2 -2
  1523. package/components/Textarea/Textarea/Textarea.js.map +1 -1
  1524. package/components/Textarea/Textarea.d.ts +5 -4
  1525. package/components/Textarea/Textarea.styles/Textarea.styles.js.map +1 -1
  1526. package/components/Textarea/Textarea.styles.d.ts +1 -1
  1527. package/components/Textarea/TextareaCounter/TextareaCounter.js.map +1 -1
  1528. package/components/Textarea/TextareaCounter.d.ts +2 -2
  1529. package/components/Textarea/__docs__/Textarea.mdx +8 -9
  1530. package/components/Toast/Toast/Toast.js +6 -8
  1531. package/components/Toast/Toast/Toast.js.map +1 -1
  1532. package/components/Toast/Toast.d.ts +9 -6
  1533. package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
  1534. package/components/Toast/ToastStatic.d.ts +2 -2
  1535. package/components/Toast/ToastView/ToastView.js.map +1 -1
  1536. package/components/Toast/ToastView.d.ts +5 -4
  1537. package/components/Toast/ToastView.styles/ToastView.styles.js.map +1 -1
  1538. package/components/Toast/ToastView.styles.d.ts +1 -1
  1539. package/components/Toast/__docs__/Toast.mdx +8 -9
  1540. package/components/Toast/locale/index/index.js.map +1 -1
  1541. package/components/Toast/locale/index.d.ts +1 -1
  1542. package/components/Toast/locale/locales/en/en.js.map +1 -1
  1543. package/components/Toast/locale/locales/en.d.ts +1 -1
  1544. package/components/Toast/locale/locales/ru/ru.js.map +1 -1
  1545. package/components/Toast/locale/locales/ru.d.ts +1 -1
  1546. package/components/Toggle/Toggle/Toggle.js.map +1 -1
  1547. package/components/Toggle/Toggle.d.ts +4 -3
  1548. package/components/Toggle/Toggle.styles/Toggle.styles.js.map +1 -1
  1549. package/components/Toggle/Toggle.styles.d.ts +1 -1
  1550. package/components/Toggle/__creevey__/Toggle.creevey.mts +6 -4
  1551. package/components/Toggle/__docs__/Toggle.mdx +8 -9
  1552. package/components/Token/Token/Token.js.map +1 -1
  1553. package/components/Token/Token.d.ts +4 -3
  1554. package/components/Token/Token.md +0 -83
  1555. package/components/Token/Token.styles/Token.styles.js.map +1 -1
  1556. package/components/Token/Token.styles.d.ts +1 -1
  1557. package/components/Token/TokenView/TokenView.js.map +1 -1
  1558. package/components/Token/TokenView.d.ts +3 -2
  1559. package/components/Token/__docs__/Token.mdx +8 -9
  1560. package/components/Token/locale/index/index.js.map +1 -1
  1561. package/components/Token/locale/index.d.ts +1 -1
  1562. package/components/Token/locale/locales/en/en.js.map +1 -1
  1563. package/components/Token/locale/locales/en.d.ts +1 -1
  1564. package/components/Token/locale/locales/ru/ru.js.map +1 -1
  1565. package/components/Token/locale/locales/ru.d.ts +1 -1
  1566. package/components/TokenInput/TextWidthHelper/TextWidthHelper.js.map +1 -1
  1567. package/components/TokenInput/TextWidthHelper.d.ts +2 -2
  1568. package/components/TokenInput/TokenInput/TokenInput.js +2 -1
  1569. package/components/TokenInput/TokenInput/TokenInput.js.map +1 -1
  1570. package/components/TokenInput/TokenInput.d.ts +7 -6
  1571. package/components/TokenInput/TokenInput.md +2 -33
  1572. package/components/TokenInput/TokenInput.styles/TokenInput.styles.js.map +1 -1
  1573. package/components/TokenInput/TokenInput.styles.d.ts +1 -1
  1574. package/components/TokenInput/TokenInputMenu/TokenInputMenu.js +16 -6
  1575. package/components/TokenInput/TokenInputMenu/TokenInputMenu.js.map +1 -1
  1576. package/components/TokenInput/TokenInputMenu.d.ts +17 -8
  1577. package/components/TokenInput/TokenInputReducer/TokenInputReducer.js.map +1 -1
  1578. package/components/TokenInput/TokenInputReducer.d.ts +1 -1
  1579. package/components/TokenInput/__creevey__/TokenInput.creevey.mts +28 -0
  1580. package/components/TokenInput/__docs__/TokenInput.mdx +8 -9
  1581. package/components/TokenInput/locale/index/index.js.map +1 -1
  1582. package/components/TokenInput/locale/index.d.ts +1 -1
  1583. package/components/TokenInput/locale/locales/en/en.js.map +1 -1
  1584. package/components/TokenInput/locale/locales/en.d.ts +1 -1
  1585. package/components/TokenInput/locale/locales/ru/ru.js.map +1 -1
  1586. package/components/TokenInput/locale/locales/ru.d.ts +1 -1
  1587. package/components/Tooltip/Tooltip/Tooltip.js.map +1 -1
  1588. package/components/Tooltip/Tooltip.d.ts +5 -5
  1589. package/components/Tooltip/Tooltip.md +8 -8
  1590. package/components/Tooltip/Tooltip.styles/Tooltip.styles.js.map +1 -1
  1591. package/components/Tooltip/Tooltip.styles.d.ts +1 -1
  1592. package/components/Tooltip/__docs__/Tooltip.mdx +8 -9
  1593. package/components/TooltipMenu/TooltipMenu/TooltipMenu.js.map +1 -1
  1594. package/components/TooltipMenu/TooltipMenu.d.ts +7 -6
  1595. package/components/TooltipMenu/TooltipMenu.md +12 -12
  1596. package/components/TooltipMenu/__docs__/TooltipMenu.mdx +4 -5
  1597. package/hooks/useDrop/useDrop.js.map +1 -1
  1598. package/hooks/useDrop.d.ts +1 -1
  1599. package/hooks/useEffectWithoutInitCall/useEffectWithoutInitCall.js.map +1 -1
  1600. package/hooks/useEffectWithoutInitCall.d.ts +1 -1
  1601. package/hooks/useMemoObject/useMemoObject.js.map +1 -1
  1602. package/hooks/useMemoObject.d.ts +1 -1
  1603. package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -1
  1604. package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +4 -3
  1605. package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -1
  1606. package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +1 -1
  1607. package/internal/CloseButtonIcon/CloseButtonIcon/CloseButtonIcon.js.map +1 -1
  1608. package/internal/CloseButtonIcon/CloseButtonIcon.d.ts +3 -2
  1609. package/internal/CloseButtonIcon/CloseButtonIcon.styles/CloseButtonIcon.styles.js.map +1 -1
  1610. package/internal/CloseButtonIcon/CloseButtonIcon.styles.d.ts +1 -1
  1611. package/internal/CommonWrapper/CommonWrapper/CommonWrapper.js.map +1 -1
  1612. package/internal/CommonWrapper/types/types.js.map +1 -1
  1613. package/internal/CommonWrapper/types.d.ts +1 -1
  1614. package/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes/getCommonVisualStateDataAttributes.js.map +1 -1
  1615. package/internal/CommonWrapper/utils/getCommonVisualStateDataAttributes.d.ts +1 -1
  1616. package/internal/CommonWrapper/utils/getVisualStateDataAttributes/getVisualStateDataAttributes.js.map +1 -1
  1617. package/internal/CommonWrapper/utils/getVisualStateDataAttributes.d.ts +1 -1
  1618. package/internal/ComponentCombinator/ComponentCombinator.js.map +1 -1
  1619. package/internal/ComponentCombinator.d.ts +2 -2
  1620. package/internal/ComponentTable/ComponentTable.js.map +1 -1
  1621. package/internal/ComponentTable.d.ts +1 -1
  1622. package/internal/CustomComboBox/ComboBoxMenu/ComboBoxMenu.js.map +1 -1
  1623. package/internal/CustomComboBox/ComboBoxMenu.d.ts +4 -4
  1624. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js +2 -0
  1625. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
  1626. package/internal/CustomComboBox/ComboBoxView.d.ts +10 -8
  1627. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
  1628. package/internal/CustomComboBox/CustomComboBox.d.ts +10 -9
  1629. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +9 -5
  1630. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
  1631. package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -4
  1632. package/internal/CustomComboBox/getComboBoxTheme/getComboBoxTheme.js.map +1 -1
  1633. package/internal/CustomComboBox/getComboBoxTheme.d.ts +1 -1
  1634. package/internal/CustomComboBox/locale/index/index.js.map +1 -1
  1635. package/internal/CustomComboBox/locale/index.d.ts +1 -1
  1636. package/internal/CustomComboBox/locale/locales/en/en.js.map +1 -1
  1637. package/internal/CustomComboBox/locale/locales/en.d.ts +1 -1
  1638. package/internal/CustomComboBox/locale/locales/ru/ru.js.map +1 -1
  1639. package/internal/CustomComboBox/locale/locales/ru.d.ts +1 -1
  1640. package/internal/DateSelect/DateSelect/DateSelect.js.map +1 -1
  1641. package/internal/DateSelect/DateSelect.styles/DateSelect.styles.js.map +1 -1
  1642. package/internal/DateSelect/DateSelect.styles.d.ts +1 -1
  1643. package/internal/DateSelect/locale/index/index.js.map +1 -1
  1644. package/internal/DateSelect/locale/index.d.ts +1 -1
  1645. package/internal/DateSelect/locale/locales/en/en.js.map +1 -1
  1646. package/internal/DateSelect/locale/locales/en.d.ts +1 -1
  1647. package/internal/DateSelect/locale/locales/ru/ru.js.map +1 -1
  1648. package/internal/DateSelect/locale/locales/ru.d.ts +1 -1
  1649. package/internal/FileUploaderControl/FileUploaderControlContext/FileUploaderControlContext.js.map +1 -1
  1650. package/internal/FileUploaderControl/FileUploaderControlContext.d.ts +2 -2
  1651. package/internal/FileUploaderControl/FileUploaderControlProvider/FileUploaderControlProvider.js.map +1 -1
  1652. package/internal/FileUploaderControl/FileUploaderControlProvider.d.ts +4 -3
  1653. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile/FileUploaderFile.js.map +1 -1
  1654. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.d.ts +2 -2
  1655. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles/FileUploaderFile.styles.js.map +1 -1
  1656. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFile.styles.d.ts +1 -1
  1657. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon/FileUploaderFileStatusIcon.js.map +1 -1
  1658. package/internal/FileUploaderControl/FileUploaderFile/FileUploaderFileStatusIcon.d.ts +1 -1
  1659. package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList/FileUploaderFileList.js.map +1 -1
  1660. package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.d.ts +2 -2
  1661. package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles/FileUploaderFileList.styles.js.map +1 -1
  1662. package/internal/FileUploaderControl/FileUploaderFileList/FileUploaderFileList.styles.d.ts +1 -1
  1663. package/internal/FileUploaderControl/hooks/useFileUploaderSize/useFileUploaderSize.js.map +1 -1
  1664. package/internal/FileUploaderControl/hooks/useFileUploaderSize.d.ts +1 -1
  1665. package/internal/FileUploaderControl/hooks/useUpload/useUpload.js.map +1 -1
  1666. package/internal/FileUploaderControl/hooks/useUpload.d.ts +2 -2
  1667. package/internal/FileUploaderControl/withFileUploaderControlProvider/withFileUploaderControlProvider.js.map +1 -1
  1668. package/internal/FileUploaderControl/withFileUploaderControlProvider.d.ts +4 -3
  1669. package/internal/FocusControlWrapper/FocusControlWrapper/FocusControlWrapper.js.map +1 -1
  1670. package/internal/FocusControlWrapper/FocusControlWrapper.d.ts +2 -1
  1671. package/internal/FocusControlWrapper/useFocusControl/useFocusControl.js.map +1 -1
  1672. package/internal/FocusControlWrapper/useFocusControl.d.ts +1 -1
  1673. package/internal/FocusTrap/FocusTrap/FocusTrap.js.map +1 -1
  1674. package/internal/FocusTrap/FocusTrap.d.ts +1 -1
  1675. package/internal/IgnoreLayerClick/IgnoreLayerClick/IgnoreLayerClick.js.map +1 -1
  1676. package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
  1677. package/internal/InputLikeText/InputLikeText.d.ts +3 -3
  1678. package/internal/InternalMaskedInput/InternalMaskedInput/InternalMaskedInput.js.map +1 -1
  1679. package/internal/InternalMaskedInput/InternalMaskedInput.styles/InternalMaskedInput.styles.js.map +1 -1
  1680. package/internal/InternalMaskedInput/InternalMaskedInput.styles.d.ts +1 -1
  1681. package/internal/Menu/Menu/Menu.js.map +1 -1
  1682. package/internal/Menu/Menu.d.ts +4 -3
  1683. package/internal/Menu/Menu.styles/Menu.styles.js.map +1 -1
  1684. package/internal/Menu/Menu.styles.d.ts +1 -1
  1685. package/internal/Menu/MenuContext/MenuContext.js.map +1 -1
  1686. package/internal/Menu/MenuContext.d.ts +2 -2
  1687. package/internal/Menu/MenuNavigation/MenuNavigation.js.map +1 -1
  1688. package/internal/Menu/MenuNavigation.d.ts +2 -1
  1689. package/internal/Menu/isActiveElement/isActiveElement.js.map +1 -1
  1690. package/internal/Menu/isActiveElement.d.ts +2 -2
  1691. package/internal/MenuMessage/MenuMessage/MenuMessage.js.map +1 -1
  1692. package/internal/MenuMessage/MenuMessage.d.ts +2 -2
  1693. package/internal/MenuMessage/MenuMessage.styles/MenuMessage.styles.js.map +1 -1
  1694. package/internal/MenuMessage/MenuMessage.styles.d.ts +1 -1
  1695. package/internal/MobilePopup/MobilePopup/MobilePopup.js.map +1 -1
  1696. package/internal/MobilePopup/MobilePopup.d.ts +2 -1
  1697. package/internal/MobilePopup/MobilePopup.styles/MobilePopup.styles.js.map +1 -1
  1698. package/internal/MobilePopup/MobilePopup.styles.d.ts +1 -1
  1699. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter/MobilePopupFooter.js.map +1 -1
  1700. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles/MobilePopupFooter.styles.js.map +1 -1
  1701. package/internal/MobilePopup/MobilePopupFooter/MobilePopupFooter.styles.d.ts +1 -1
  1702. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader/MobilePopupHeader.js.map +1 -1
  1703. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles/MobilePopupHeader.styles.js.map +1 -1
  1704. package/internal/MobilePopup/MobilePopupHeader/MobilePopupHeader.styles.d.ts +1 -1
  1705. package/internal/NativeDateInput/NativeDateInput/NativeDateInput.js.map +1 -1
  1706. package/internal/NativeDateInput/NativeDateInput.d.ts +1 -1
  1707. package/internal/NativeDateInput/utils/utils.js.map +1 -1
  1708. package/internal/NativeDateInput/utils.d.ts +2 -2
  1709. package/internal/PerformanceMetrics/PerformanceMetrics/PerformanceMetrics.js.map +1 -1
  1710. package/internal/Popup/Popup/Popup.js +9 -5
  1711. package/internal/Popup/Popup/Popup.js.map +1 -1
  1712. package/internal/Popup/Popup.d.ts +9 -7
  1713. package/internal/Popup/Popup.styles/Popup.styles.js.map +1 -1
  1714. package/internal/Popup/Popup.styles.d.ts +1 -1
  1715. package/internal/Popup/PopupHelper/PopupHelper.js.map +1 -1
  1716. package/internal/Popup/PopupHelper.d.ts +1 -1
  1717. package/internal/Popup/PopupPin/PopupPin.js.map +1 -1
  1718. package/internal/Popup/PopupPin.d.ts +1 -1
  1719. package/internal/Popup/types/types.js.map +1 -1
  1720. package/internal/Popup/types.d.ts +1 -1
  1721. package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
  1722. package/internal/PopupMenu/PopupMenu.d.ts +6 -5
  1723. package/internal/PopupMenu/validatePositions/validatePositions.js.map +1 -1
  1724. package/internal/PopupMenu/validatePositions.d.ts +1 -1
  1725. package/internal/RenderContainer/RenderContainer/RenderContainer.js.map +1 -1
  1726. package/internal/RenderContainer/RenderContainer.d.ts +1 -1
  1727. package/internal/RenderContainer/RenderContainerTypes/RenderContainerTypes.js.map +1 -1
  1728. package/internal/RenderContainer/RenderContainerTypes.d.ts +3 -3
  1729. package/internal/RenderContainer/RenderInnerContainer/RenderInnerContainer.js.map +1 -1
  1730. package/internal/RenderContainer/RenderInnerContainer.d.ts +2 -2
  1731. package/internal/RenderLayer/RenderLayer/RenderLayer.js.map +1 -1
  1732. package/internal/RenderLayer/RenderLayer.d.ts +2 -2
  1733. package/internal/ThemePlayground/AnotherInputsPlayground/AnotherInputsPlayground.js.map +1 -1
  1734. package/internal/ThemePlayground/AnotherInputsPlayground.d.ts +2 -2
  1735. package/internal/ThemePlayground/CheckboxPlayground/CheckboxPlayground.js.map +1 -1
  1736. package/internal/ThemePlayground/ComponentsGroup/ComponentsGroup.js.map +1 -1
  1737. package/internal/ThemePlayground/ComponentsGroup.d.ts +1 -1
  1738. package/internal/ThemePlayground/CurrencyInputPlayground/CurrencyInputPlayground.js.map +1 -1
  1739. package/internal/ThemePlayground/CurrencyInputPlayground.d.ts +2 -2
  1740. package/internal/ThemePlayground/Playground/Playground.js +13 -13
  1741. package/internal/ThemePlayground/Playground/Playground.js.map +1 -1
  1742. package/internal/ThemePlayground/Playground.styles/Playground.styles.js.map +1 -1
  1743. package/internal/ThemePlayground/Playground.styles.d.ts +1 -1
  1744. package/internal/ThemePlayground/RadioPlayground/RadioPlayground.js.map +1 -1
  1745. package/internal/ThemePlayground/SelectPlayground/SelectPlayground.js.map +1 -1
  1746. package/internal/ThemePlayground/SelectPlayground.d.ts +1 -1
  1747. package/internal/ThemePlayground/SizesGroup/SizesGroup.js +4 -4
  1748. package/internal/ThemePlayground/SizesGroup/SizesGroup.js.map +1 -1
  1749. package/internal/ThemePlayground/SizesGroup.d.ts +1 -1
  1750. package/internal/ThemePlayground/SwitcherPlayground/SwitcherPlayground.js.map +1 -1
  1751. package/internal/ThemePlayground/SwitcherPlayground.d.ts +1 -1
  1752. package/internal/ThemePlayground/ThemeContextPlayground/ThemeContextPlayground.js.map +1 -1
  1753. package/internal/ThemePlayground/ThemeContextPlayground.d.ts +4 -3
  1754. package/internal/ThemePlayground/ThemeEditor/ThemeEditor.js.map +1 -1
  1755. package/internal/ThemePlayground/ThemeEditor.d.ts +2 -2
  1756. package/internal/ThemePlayground/UnlinkVarsPlayground/UnlinkVarsPlayground.js.map +1 -1
  1757. package/internal/ThemePlayground/VariableValue/VariableValue.js +4 -4
  1758. package/internal/ThemePlayground/VariableValue/VariableValue.js.map +1 -1
  1759. package/internal/ThemePlayground/VariableValue.d.ts +1 -1
  1760. package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +1 -1
  1761. package/internal/ThemePlayground/constants/constants.js.map +1 -1
  1762. package/internal/ThemePlayground/constants.d.ts +1 -1
  1763. package/internal/ThemeShowcase/ThemeShowcase/ThemeShowcase.js.map +1 -1
  1764. package/internal/ThemeShowcase/ThemeShowcase.d.ts +1 -1
  1765. package/internal/ThemeShowcase/ThemeShowcase.styles/ThemeShowcase.styles.js.map +1 -1
  1766. package/internal/ThemeShowcase/ThemeShowcase.styles.d.ts +1 -1
  1767. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
  1768. package/internal/ThemeShowcase/VariablesCollector.d.ts +2 -2
  1769. package/internal/ZIndex/ZIndex/ZIndex.js.map +1 -1
  1770. package/internal/ZIndex/ZIndex.d.ts +1 -1
  1771. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light/ArrowALeftIcon16Light.js.map +1 -1
  1772. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon16Light.d.ts +1 -1
  1773. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light/ArrowALeftIcon20Light.js.map +1 -1
  1774. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon20Light.d.ts +1 -1
  1775. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular/ArrowALeftIcon24Regular.js.map +1 -1
  1776. package/internal/icons2022/ArrowALeftIcon/ArrowALeftIcon24Regular.d.ts +1 -1
  1777. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light/ArrowARightIcon16Light.js.map +1 -1
  1778. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon16Light.d.ts +1 -1
  1779. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light/ArrowARightIcon20Light.js.map +1 -1
  1780. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon20Light.d.ts +1 -1
  1781. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular/ArrowARightIcon24Regular.js.map +1 -1
  1782. package/internal/icons2022/ArrowARightIcon/ArrowARightIcon24Regular.d.ts +1 -1
  1783. package/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light/ArrowAUp16Light.js.map +1 -1
  1784. package/internal/icons2022/ArrowAUpIcon/ArrowAUp16Light.d.ts +1 -1
  1785. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular/ArrowCDownIcon16Regular.js.map +1 -1
  1786. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon16Regular.d.ts +1 -1
  1787. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular/ArrowCDownIcon20Regular.js.map +1 -1
  1788. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon20Regular.d.ts +1 -1
  1789. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular/ArrowCDownIcon24Regular.js.map +1 -1
  1790. package/internal/icons2022/ArrowCDownIcon/ArrowCDownIcon24Regular.d.ts +1 -1
  1791. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light/ArrowCRightIcon16Light.js.map +1 -1
  1792. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon16Light.d.ts +1 -1
  1793. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light/ArrowCRightIcon20Light.js.map +1 -1
  1794. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon20Light.d.ts +1 -1
  1795. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular/ArrowCRightIcon24Regular.js.map +1 -1
  1796. package/internal/icons2022/ArrowCRightIcon/ArrowCRightIcon24Regular.d.ts +1 -1
  1797. package/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular/ArrowCUpIcon16Regular.js.map +1 -1
  1798. package/internal/icons2022/ArrowCUpIcon/ArrowCUpIcon16Regular.d.ts +1 -1
  1799. package/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular/ArrowCollapseCVOpenIcon16Regular.js.map +1 -1
  1800. package/internal/icons2022/ArrowCollapseCVOpenIcon/ArrowCollapseCVOpenIcon16Regular.d.ts +1 -1
  1801. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light/ArrowShapeDRadiusUpLeftIcon16Light.js.map +1 -1
  1802. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon16Light.d.ts +1 -1
  1803. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light/ArrowShapeDRadiusUpLeftIcon20Light.js.map +1 -1
  1804. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon20Light.d.ts +1 -1
  1805. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular/ArrowShapeDRadiusUpLeftIcon24Regular.js.map +1 -1
  1806. package/internal/icons2022/ArrowShapeDRadiusUpLeftIcon/ArrowShapeDRadiusUpLeftIcon24Regular.d.ts +1 -1
  1807. package/internal/icons2022/BaseIcon/BaseIcon.js.map +1 -1
  1808. package/internal/icons2022/BaseIcon.d.ts +1 -1
  1809. package/internal/icons2022/CalendarIcon/CalendarIcon16Light/CalendarIcon16Light.js.map +1 -1
  1810. package/internal/icons2022/CalendarIcon/CalendarIcon16Light.d.ts +1 -1
  1811. package/internal/icons2022/CalendarIcon/CalendarIcon20Light/CalendarIcon20Light.js.map +1 -1
  1812. package/internal/icons2022/CalendarIcon/CalendarIcon20Light.d.ts +1 -1
  1813. package/internal/icons2022/CalendarIcon/CalendarIcon24Regular/CalendarIcon24Regular.js.map +1 -1
  1814. package/internal/icons2022/CalendarIcon/CalendarIcon24Regular.d.ts +1 -1
  1815. package/internal/icons2022/CheckAIcon/CheckAIcon16Light/CheckAIcon16Light.js.map +1 -1
  1816. package/internal/icons2022/CheckAIcon/CheckAIcon16Light.d.ts +1 -1
  1817. package/internal/icons2022/CheckAIcon/CheckAIcon16Regular/CheckAIcon16Regular.js.map +1 -1
  1818. package/internal/icons2022/CheckAIcon/CheckAIcon16Regular.d.ts +1 -1
  1819. package/internal/icons2022/CheckAIcon/CheckAIcon16Solid/CheckAIcon16Solid.js.map +1 -1
  1820. package/internal/icons2022/CheckAIcon/CheckAIcon16Solid.d.ts +1 -1
  1821. package/internal/icons2022/CheckAIcon/CheckAIcon20Light/CheckAIcon20Light.js.map +1 -1
  1822. package/internal/icons2022/CheckAIcon/CheckAIcon20Light.d.ts +1 -1
  1823. package/internal/icons2022/CheckAIcon/CheckAIcon20Solid/CheckAIcon20Solid.js.map +1 -1
  1824. package/internal/icons2022/CheckAIcon/CheckAIcon20Solid.d.ts +1 -1
  1825. package/internal/icons2022/CheckAIcon/CheckAIcon24Regular/CheckAIcon24Regular.js.map +1 -1
  1826. package/internal/icons2022/CheckAIcon/CheckAIcon24Regular.d.ts +1 -1
  1827. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light/EyeClosedIcon16Light.js.map +1 -1
  1828. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon16Light.d.ts +1 -1
  1829. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light/EyeClosedIcon20Light.js.map +1 -1
  1830. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon20Light.d.ts +1 -1
  1831. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular/EyeClosedIcon24Regular.js.map +1 -1
  1832. package/internal/icons2022/EyeClosedIcon/EyeClosedIcon24Regular.d.ts +1 -1
  1833. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light/EyeOpenIcon16Light.js.map +1 -1
  1834. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon16Light.d.ts +1 -1
  1835. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light/EyeOpenIcon20Light.js.map +1 -1
  1836. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon20Light.d.ts +1 -1
  1837. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular/EyeOpenIcon24Regular.js.map +1 -1
  1838. package/internal/icons2022/EyeOpenIcon/EyeOpenIcon24Regular.d.ts +1 -1
  1839. package/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular/InfoCircleIcon64Regular.js.map +1 -1
  1840. package/internal/icons2022/InfoCircleIcon/InfoCircleIcon64Regular.d.ts +1 -1
  1841. package/internal/icons2022/LoadingIcon/LoadingIcon.js.map +1 -1
  1842. package/internal/icons2022/LoadingIcon.d.ts +1 -1
  1843. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light/MathFunctionIcon16Light.js.map +1 -1
  1844. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon16Light.d.ts +1 -1
  1845. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light/MathFunctionIcon20Light.js.map +1 -1
  1846. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon20Light.d.ts +1 -1
  1847. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular/MathFunctionIcon24Regular.js.map +1 -1
  1848. package/internal/icons2022/MathFunctionIcon/MathFunctionIcon24Regular.d.ts +1 -1
  1849. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light/MinusCircleIcon16Light.js.map +1 -1
  1850. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Light.d.ts +1 -1
  1851. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular/MinusCircleIcon16Regular.js.map +1 -1
  1852. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon16Regular.d.ts +1 -1
  1853. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light/MinusCircleIcon20Light.js.map +1 -1
  1854. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon20Light.d.ts +1 -1
  1855. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular/MinusCircleIcon24Regular.js.map +1 -1
  1856. package/internal/icons2022/MinusCircleIcon/MinusCircleIcon24Regular.d.ts +1 -1
  1857. package/internal/icons2022/NetUploadIcon/NetUploadIcon16Light/NetUploadIcon16Light.js.map +1 -1
  1858. package/internal/icons2022/NetUploadIcon/NetUploadIcon16Light.d.ts +1 -1
  1859. package/internal/icons2022/NetUploadIcon/NetUploadIcon20Light/NetUploadIcon20Light.js.map +1 -1
  1860. package/internal/icons2022/NetUploadIcon/NetUploadIcon20Light.d.ts +1 -1
  1861. package/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular/NetUploadIcon24Regular.js.map +1 -1
  1862. package/internal/icons2022/NetUploadIcon/NetUploadIcon24Regular.d.ts +1 -1
  1863. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid/QuestionCircleIcon16Solid.js.map +1 -1
  1864. package/internal/icons2022/QuestionCircleIcon/QuestionCircleIcon16Solid.d.ts +1 -1
  1865. package/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular/SearchLoupeIcon16Regular.js.map +1 -1
  1866. package/internal/icons2022/SearchLoupeIcon/SearchLoupeIcon16Regular.d.ts +1 -1
  1867. package/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid/ShapeSquareIcon16Solid.js.map +1 -1
  1868. package/internal/icons2022/ShapeSquareIcon/ShapeSquareIcon16Solid.d.ts +1 -1
  1869. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light/UiMenuDotsThreeVIcon16Light.js.map +1 -1
  1870. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon16Light.d.ts +1 -1
  1871. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular/UiMenuDotsThreeVIcon20Regular.js.map +1 -1
  1872. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon20Regular.d.ts +1 -1
  1873. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular/UiMenuDotsThreeVIcon24Regular.js.map +1 -1
  1874. package/internal/icons2022/UiMenuDotsThreeVIcon/UiMenuDotsThreeVIcon24Regular.d.ts +1 -1
  1875. package/internal/icons2022/XIcon/XIcon16Light/XIcon16Light.js.map +1 -1
  1876. package/internal/icons2022/XIcon/XIcon16Light.d.ts +1 -1
  1877. package/internal/icons2022/XIcon/XIcon16Regular/XIcon16Regular.js.map +1 -1
  1878. package/internal/icons2022/XIcon/XIcon16Regular.d.ts +1 -1
  1879. package/internal/icons2022/XIcon/XIcon20Light/XIcon20Light.js.map +1 -1
  1880. package/internal/icons2022/XIcon/XIcon20Light.d.ts +1 -1
  1881. package/internal/icons2022/XIcon/XIcon20Regular/XIcon20Regular.js.map +1 -1
  1882. package/internal/icons2022/XIcon/XIcon20Regular.d.ts +1 -1
  1883. package/internal/icons2022/XIcon/XIcon24Regular/XIcon24Regular.js.map +1 -1
  1884. package/internal/icons2022/XIcon/XIcon24Regular.d.ts +1 -1
  1885. package/internal/icons2022/iconSizer/iconSizer.js.map +1 -1
  1886. package/internal/icons2022/iconSizer.d.ts +2 -2
  1887. package/internal/themes/BasicTheme/BasicTheme.js +1 -0
  1888. package/internal/themes/BasicTheme/BasicTheme.js.map +1 -1
  1889. package/internal/themes/BasicTheme.d.ts +1 -0
  1890. package/lib/InstanceWithAnchorElement/InstanceWithAnchorElement.js.map +1 -1
  1891. package/lib/InstanceWithAnchorElement.d.ts +1 -1
  1892. package/lib/ModalStack/ModalStack.js.map +1 -1
  1893. package/lib/ModalStack.d.ts +1 -1
  1894. package/lib/callChildRef/callChildRef/callChildRef.js.map +1 -1
  1895. package/lib/callChildRef/callChildRef.d.ts +2 -2
  1896. package/lib/createPropsGetter/createPropsGetter.js.map +1 -1
  1897. package/lib/createPropsGetter.d.ts +1 -1
  1898. package/lib/date/InternalDate/InternalDate.js.map +1 -1
  1899. package/lib/date/InternalDate.d.ts +2 -1
  1900. package/lib/date/InternalDateCalculator/InternalDateCalculator.js.map +1 -1
  1901. package/lib/date/InternalDateCalculator.d.ts +2 -1
  1902. package/lib/date/InternalDateGetter/InternalDateGetter.js.map +1 -1
  1903. package/lib/date/InternalDateGetter.d.ts +3 -2
  1904. package/lib/date/InternalDateSetter/InternalDateSetter.js.map +1 -1
  1905. package/lib/date/InternalDateSetter.d.ts +3 -2
  1906. package/lib/date/InternalDateTransformer/InternalDateTransformer.js.map +1 -1
  1907. package/lib/date/InternalDateTransformer.d.ts +2 -1
  1908. package/lib/date/InternalDateValidator/InternalDateValidator.js.map +1 -1
  1909. package/lib/date/InternalDateValidator.d.ts +3 -2
  1910. package/lib/date/localeSets/localeSets.js.map +1 -1
  1911. package/lib/date/localeSets.d.ts +1 -1
  1912. package/lib/date/types/types.js.map +1 -1
  1913. package/lib/date/types.d.ts +1 -1
  1914. package/lib/dom/getDOMRect/getDOMRect.js.map +1 -1
  1915. package/lib/dom/getDOMRect.d.ts +1 -1
  1916. package/lib/dom/tabbableHelpers/tabbableHelpers.js.map +1 -1
  1917. package/lib/dom/tabbableHelpers.d.ts +2 -2
  1918. package/lib/events/fixFirefoxModifiedClickOnLabel/fixFirefoxModifiedClickOnLabel.js.map +1 -1
  1919. package/lib/events/fixFirefoxModifiedClickOnLabel.d.ts +1 -1
  1920. package/lib/events/keyboard/extractCode/extractCode.js.map +1 -1
  1921. package/lib/extractKeyboardAction/extractKeyboardAction.js.map +1 -1
  1922. package/lib/extractKeyboardAction.d.ts +1 -1
  1923. package/lib/featureFlagsContext/FeatureFlagsHelpers/FeatureFlagsHelpers.js.map +1 -1
  1924. package/lib/featureFlagsContext/FeatureFlagsHelpers.d.ts +1 -1
  1925. package/lib/getDisplayName/getDisplayName.js.map +1 -1
  1926. package/lib/getDisplayName.d.ts +2 -2
  1927. package/lib/locale/LocaleContext/LocaleContext.js.map +1 -1
  1928. package/lib/locale/LocaleContext.d.ts +1 -1
  1929. package/lib/locale/LocaleHelper/LocaleHelper.js.map +1 -1
  1930. package/lib/locale/LocaleHelper.d.ts +1 -1
  1931. package/lib/locale/decorators/decorators.js.map +1 -1
  1932. package/lib/locale/decorators.d.ts +3 -3
  1933. package/lib/locale/types/types.js.map +1 -1
  1934. package/lib/locale/types.d.ts +10 -10
  1935. package/lib/locale/useLocaleForControl/useLocaleForControl.js.map +1 -1
  1936. package/lib/locale/useLocaleForControl.d.ts +2 -2
  1937. package/lib/mergeRefs/mergeRefs.js.map +1 -1
  1938. package/lib/mergeRefs.d.ts +1 -1
  1939. package/lib/rootNode/getRootNode/getRootNode.js +5 -12
  1940. package/lib/rootNode/getRootNode/getRootNode.js.map +1 -1
  1941. package/lib/rootNode/getRootNode.d.ts +2 -2
  1942. package/lib/rootNode/rootNodeDecorator/rootNodeDecorator.js.map +1 -1
  1943. package/lib/rootNode/rootNodeDecorator.d.ts +2 -2
  1944. package/lib/styles/ColorFactory/ColorFactory.js.map +1 -1
  1945. package/lib/styles/ColorFunctions/ColorFunctions.js.map +1 -1
  1946. package/lib/styles/ColorObject/ColorObject.js.map +1 -1
  1947. package/lib/styles/ColorObject.d.ts +1 -1
  1948. package/lib/styles/UiFont/UiFont.js +4 -20
  1949. package/lib/styles/UiFont/UiFont.js.map +1 -1
  1950. package/lib/styles/UiFont.d.ts +1 -4
  1951. package/lib/taskWithDelayAndMinimalDuration/taskWithDelayAndMinimalDuration.js.map +1 -1
  1952. package/lib/theming/AnimationKeyframes/AnimationKeyframes.js.map +1 -1
  1953. package/lib/theming/AnimationKeyframes.d.ts +1 -1
  1954. package/lib/theming/Emotion/Emotion.js.map +1 -1
  1955. package/lib/theming/Emotion.d.ts +1 -1
  1956. package/lib/theming/Theme/Theme.js.map +1 -1
  1957. package/lib/theming/Theme.d.ts +2 -1
  1958. package/lib/theming/ThemeFactory/ThemeFactory.js.map +1 -1
  1959. package/lib/theming/ThemeFactory.d.ts +2 -2
  1960. package/lib/theming/ThemeHelpers/ThemeHelpers.js.map +1 -1
  1961. package/lib/theming/ThemeHelpers.d.ts +2 -2
  1962. package/lib/types/polymorphic-component/polymorphic-component.js.map +1 -1
  1963. package/lib/types/polymorphic-component.d.ts +2 -2
  1964. package/lib/utils/utils.js +3 -0
  1965. package/lib/utils/utils.js.map +1 -1
  1966. package/lib/utils.d.ts +1 -0
  1967. package/lib/withClassWrapper/withClassWrapper.js.map +1 -1
  1968. package/lib/withClassWrapper.d.ts +1 -1
  1969. package/package.json +3 -4
@@ -1 +1 @@
1
- {"version":3,"names":["React","SearchIcon","LinkIcon","OkIcon","ErrorIcon","TrashIcon","HelpDotIcon","Button","Tabs","Gapped","Link","Input","ThemeContext","Tooltip","Sticky","isTestEnv","cx","FileUploader","ThemeType","TokenInputPlayground","DatePickerPlayground","TogglePlayground","SwitcherPlayground","FxInputPlayground","CurrencyInputPlayground","getComponentsFromPropsList","CheckboxPlayground","RadioPlayground","PagingPlayground","HintPlayground","ComponentsGroup","styles","SizesGroup","useSticky","Playground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","stopEl","createRef","renderTabsGroup","createElement","side","getStop","getStickyStop","renderTabs","getCurrentTab","props","currentThemeType","DarkTheme","LightTheme","renderSizesGroup","title","theme","size","renderLinksGroup","propsList","icon","children","use","disabled","wrap","verticalAlign","gap","renderButtonsGroup","arrow","width","loading","renderInputsGroup","placeholder","error","warning","fromProps","prefix","rightIcon","renderTokenInputsGroup","renderOtherInputsGroup","renderSwitchersGroup","renderControlsGroup","renderHintsGroup","renderTooltip","tooltipContent","className","render","pos","trigger","disableAnimations","renderPaging","renderFileUploader","multiple","renderStickyStopElement","ref","style","height","current","_inheritsLoose","_proto","prototype","_this2","Consumer","renderMain","wrapperClassName","playground","playgroundWrapper","vertical","_cx","_this$props","onThemeChange","onEditLinkClick","tabsOuterWrapperStyle","background","bgDefault","tabsOuterWrapperClass","tabsWrapper","stickyTabsWrapper","value","onValueChange","tabsInnerWrapper","Tab","id","onClick","Component"],"sources":["Playground.tsx"],"sourcesContent":["import React from 'react';\nimport SearchIcon from '@skbkontur/react-icons/Search';\nimport LinkIcon from '@skbkontur/react-icons/Link';\nimport OkIcon from '@skbkontur/react-icons/Ok';\nimport ErrorIcon from '@skbkontur/react-icons/Error';\nimport TrashIcon from '@skbkontur/react-icons/Trash';\nimport HelpDotIcon from '@skbkontur/react-icons/HelpDot';\n\nimport { Button, ButtonProps } from '../../components/Button';\nimport { Tabs } from '../../components/Tabs';\nimport { Gapped } from '../../components/Gapped';\nimport { Link, LinkProps } from '../../components/Link';\nimport { Input, InputProps } from '../../components/Input';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Sticky } from '../../components/Sticky';\nimport { Theme } from '../../lib/theming/Theme';\nimport { isTestEnv } from '../../lib/currentEnvironment';\nimport { cx } from '../../lib/theming/Emotion';\nimport { FileUploader } from '../../components/FileUploader';\n\nimport { ThemeType } from './constants';\nimport { TokenInputPlayground } from './TokenInputPlayground';\nimport { DatePickerPlayground } from './AnotherInputsPlayground';\nimport { TogglePlayground } from './TogglePlayground';\nimport { SwitcherPlayground } from './SwitcherPlayground';\nimport { FxInputPlayground } from './FxInputPlayground';\nimport { CurrencyInputPlayground } from './CurrencyInputPlayground';\nimport { getComponentsFromPropsList } from './helpers';\nimport { CheckboxPlayground } from './CheckboxPlayground';\nimport { RadioPlayground } from './RadioPlayground';\nimport { PagingPlayground } from './PagingPlayground';\nimport { HintPlayground } from './HintPlayground';\nimport { ComponentsGroup } from './ComponentsGroup';\nimport { styles } from './Playground.styles';\nimport { SizesGroup } from './SizesGroup';\n\nconst useSticky = !isTestEnv;\n\nexport interface PlaygroundProps {\n currentThemeType: ThemeType;\n onThemeChange: (value: string) => void;\n onEditLinkClick: () => void;\n}\n\nexport class Playground extends React.Component<PlaygroundProps> {\n private theme!: Theme;\n private stopEl = React.createRef<HTMLDivElement>();\n\n public render() {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n private renderMain() {\n const wrapperClassName = cx(styles.playground(), styles.playgroundWrapper(this.theme));\n return (\n <div className={wrapperClassName}>\n <Gapped vertical gap={50}>\n {this.renderTabsGroup()}\n {this.renderSizesGroup()}\n {this.renderLinksGroup()}\n {this.renderButtonsGroup()}\n {this.renderInputsGroup()}\n {this.renderOtherInputsGroup()}\n {this.renderTokenInputsGroup()}\n {this.renderSwitchersGroup()}\n {this.renderControlsGroup()}\n </Gapped>\n {this.renderStickyStopElement()}\n <Gapped vertical gap={50}>\n {this.renderHintsGroup()}\n {this.renderTooltip()}\n {this.renderPaging()}\n {this.renderFileUploader()}\n </Gapped>\n </div>\n );\n }\n\n private renderTabsGroup = () => {\n return useSticky ? (\n <Sticky side={'top'} getStop={this.getStickyStop}>\n {this.renderTabs()}\n </Sticky>\n ) : (\n this.renderTabs()\n );\n };\n\n private renderTabs() {\n const { onThemeChange, onEditLinkClick } = this.props;\n const tabsOuterWrapperStyle = { background: this.theme.bgDefault };\n const tabsOuterWrapperClass = cx({\n [styles.tabsWrapper(this.theme)]: true,\n [styles.stickyTabsWrapper(this.theme)]: useSticky,\n });\n\n return (\n <div style={tabsOuterWrapperStyle} className={tabsOuterWrapperClass}>\n <Gapped gap={40}>\n <Tabs value={this.getCurrentTab()} onValueChange={onThemeChange} vertical={false}>\n <div className={styles.tabsInnerWrapper(this.theme)}>\n <Tabs.Tab id={ThemeType.LightTheme}>Тема 2022</Tabs.Tab>\n <Tabs.Tab id={ThemeType.DarkTheme}>Тема 2022 Тёмная</Tabs.Tab>\n </div>\n </Tabs>\n <Link onClick={onEditLinkClick}>Настроить тему</Link>\n </Gapped>\n </div>\n );\n }\n\n private getCurrentTab = () => {\n switch (this.props.currentThemeType) {\n case ThemeType.DarkTheme:\n return ThemeType.DarkTheme;\n default:\n return ThemeType.LightTheme;\n }\n };\n\n private renderSizesGroup = () => {\n return (\n <ComponentsGroup title={'Размеры'} theme={this.theme}>\n <SizesGroup size={'small'} />\n <SizesGroup size={'medium'} />\n <SizesGroup size={'large'} />\n </ComponentsGroup>\n );\n };\n\n private renderLinksGroup = () => {\n const propsList: LinkProps[] = [\n { icon: <LinkIcon />, children: 'Enabled' },\n { icon: <OkIcon />, use: 'success', children: 'Success' },\n { icon: <ErrorIcon />, use: 'danger', children: 'Danger' },\n { icon: <TrashIcon />, use: 'grayed', children: 'Grayed' },\n { icon: <TrashIcon />, children: 'Disabled', disabled: true },\n ];\n return (\n <ComponentsGroup title={'Ссылки'} theme={this.theme}>\n <Gapped wrap verticalAlign=\"middle\" gap={10}>\n {getComponentsFromPropsList(<Link />, propsList)}\n </Gapped>\n </ComponentsGroup>\n );\n };\n\n private renderButtonsGroup = () => {\n const propsList: ButtonProps[] = [\n { children: 'Default' },\n { children: 'Primary', use: 'primary' },\n { children: 'Danger', use: 'danger' },\n { children: 'Pay', use: 'pay' },\n { children: 'Success', use: 'success' },\n { children: 'Disabled', disabled: true },\n { children: 'Back', arrow: 'left', size: 'medium', width: 110 },\n { children: 'Forward', arrow: true, size: 'medium', use: 'primary', width: 110 },\n { children: 'Loading', size: 'medium', loading: true },\n ];\n\n return (\n <ComponentsGroup title={'Кнопки'} theme={this.theme}>\n {getComponentsFromPropsList(<Button width={120} size={'small'} />, propsList)}\n </ComponentsGroup>\n );\n };\n\n private renderInputsGroup = () => {\n const propsList: InputProps[] = [\n { placeholder: 'Enabled' },\n { placeholder: 'Error', error: true },\n { placeholder: 'Warning', warning: true },\n { placeholder: 'Disabled', disabled: true },\n ];\n const fromProps = getComponentsFromPropsList(<Input width={120} />, propsList);\n return (\n <ComponentsGroup title={'Поле ввода'} theme={this.theme}>\n <Input width={380} prefix=\"https://kontur.ru/search?query=\" rightIcon={<SearchIcon />} />\n <div>\n <Gapped gap={10}>{fromProps}</Gapped>\n </div>\n </ComponentsGroup>\n );\n };\n\n private renderTokenInputsGroup = () => {\n return (\n <ComponentsGroup title={'Поле с токеном'} theme={this.theme}>\n <TokenInputPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderOtherInputsGroup = () => {\n return (\n <ComponentsGroup title={'Прочие поля'} theme={this.theme}>\n <CurrencyInputPlayground />\n <FxInputPlayground />\n <DatePickerPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderSwitchersGroup = () => {\n return (\n <ComponentsGroup title={'Переключатели'} theme={this.theme}>\n <SwitcherPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderControlsGroup = () => {\n return (\n <ComponentsGroup title={'Радио, чекбоксы'} theme={this.theme}>\n <Gapped verticalAlign={'top'} gap={60}>\n <CheckboxPlayground />\n <RadioPlayground />\n <TogglePlayground />\n </Gapped>\n </ComponentsGroup>\n );\n };\n\n private renderHintsGroup = () => {\n return (\n <ComponentsGroup title={'Тултип'} theme={this.theme}>\n <HintPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderTooltip = () => {\n const tooltipContent = () => (\n <div className={styles.tooltipContent()}>\n {'Информация об ошибке. Короткий объясняющий текст и ссылка, если нужно'}\n </div>\n );\n return (\n <ComponentsGroup title={'Тултип'} theme={this.theme}>\n <Tooltip render={tooltipContent} pos=\"right middle\" trigger={'opened'} disableAnimations>\n <Link icon={<HelpDotIcon />} />\n </Tooltip>\n </ComponentsGroup>\n );\n };\n\n private renderPaging = () => {\n return (\n <ComponentsGroup title={'Пейджинг'} theme={this.theme}>\n <PagingPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderFileUploader = () => {\n return (\n <ComponentsGroup title={'FileUploader'} theme={this.theme}>\n <FileUploader multiple />\n </ComponentsGroup>\n );\n };\n\n private renderStickyStopElement = () => {\n return <div ref={this.stopEl} style={{ height: 50 }} />;\n };\n\n private getStickyStop = () => this.stopEl.current;\n}\n"],"mappings":"sEAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,QA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AAI,IAACsH,OAAO,EAAEZ,eAAgB,IAAC,iFAAoB,CAC9C,CACL,CAAC,CAEV,CAAC,QAAAlF,UAAA,GAvE6BlC,KAAK,CAACiI,SAAS","ignoreList":[]}
1
+ {"version":3,"names":["React","SearchLoupeIcon16Regular","AttachLinkIcon16Regular","CheckAIcon16Regular","MinusCircleIcon16Regular","TrashCanIcon16Regular","QuestionCircleIcon16Regular","Button","Tabs","Gapped","Link","Input","ThemeContext","Tooltip","Sticky","isTestEnv","cx","FileUploader","ThemeType","TokenInputPlayground","DatePickerPlayground","TogglePlayground","SwitcherPlayground","FxInputPlayground","CurrencyInputPlayground","getComponentsFromPropsList","CheckboxPlayground","RadioPlayground","PagingPlayground","HintPlayground","ComponentsGroup","styles","SizesGroup","useSticky","Playground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","stopEl","createRef","renderTabsGroup","createElement","side","getStop","getStickyStop","renderTabs","getCurrentTab","props","currentThemeType","DarkTheme","LightTheme","renderSizesGroup","title","theme","size","renderLinksGroup","propsList","icon","children","use","disabled","wrap","verticalAlign","gap","renderButtonsGroup","arrow","width","loading","renderInputsGroup","placeholder","error","warning","fromProps","prefix","rightIcon","renderTokenInputsGroup","renderOtherInputsGroup","renderSwitchersGroup","renderControlsGroup","renderHintsGroup","renderTooltip","tooltipContent","className","render","pos","trigger","disableAnimations","renderPaging","renderFileUploader","multiple","renderStickyStopElement","ref","style","height","current","_inheritsLoose","_proto","prototype","_this2","Consumer","renderMain","wrapperClassName","playground","playgroundWrapper","vertical","_cx","_this$props","onThemeChange","onEditLinkClick","tabsOuterWrapperStyle","background","bgDefault","tabsOuterWrapperClass","tabsWrapper","stickyTabsWrapper","value","onValueChange","tabsInnerWrapper","Tab","id","onClick","Component"],"sources":["Playground.tsx"],"sourcesContent":["import React from 'react';\nimport { SearchLoupeIcon16Regular } from '@skbkontur/icons/icons/SearchLoupeIcon/SearchLoupeIcon16Regular';\nimport { AttachLinkIcon16Regular } from '@skbkontur/icons/icons/AttachLinkIcon/AttachLinkIcon16Regular';\nimport { CheckAIcon16Regular } from '@skbkontur/icons/icons/CheckAIcon/CheckAIcon16Regular';\nimport { MinusCircleIcon16Regular } from '@skbkontur/icons/icons/MinusCircleIcon/MinusCircleIcon16Regular';\nimport { TrashCanIcon16Regular } from '@skbkontur/icons/icons/TrashCanIcon/TrashCanIcon16Regular';\nimport { QuestionCircleIcon16Regular } from '@skbkontur/icons/icons/QuestionCircleIcon/QuestionCircleIcon16Regular';\n\nimport type { ButtonProps } from '../../components/Button';\nimport { Button } from '../../components/Button';\nimport { Tabs } from '../../components/Tabs';\nimport { Gapped } from '../../components/Gapped';\nimport type { LinkProps } from '../../components/Link';\nimport { Link } from '../../components/Link';\nimport type { InputProps } from '../../components/Input';\nimport { Input } from '../../components/Input';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Tooltip } from '../../components/Tooltip';\nimport { Sticky } from '../../components/Sticky';\nimport type { Theme } from '../../lib/theming/Theme';\nimport { isTestEnv } from '../../lib/currentEnvironment';\nimport { cx } from '../../lib/theming/Emotion';\nimport { FileUploader } from '../../components/FileUploader';\n\nimport { ThemeType } from './constants';\nimport { TokenInputPlayground } from './TokenInputPlayground';\nimport { DatePickerPlayground } from './AnotherInputsPlayground';\nimport { TogglePlayground } from './TogglePlayground';\nimport { SwitcherPlayground } from './SwitcherPlayground';\nimport { FxInputPlayground } from './FxInputPlayground';\nimport { CurrencyInputPlayground } from './CurrencyInputPlayground';\nimport { getComponentsFromPropsList } from './helpers';\nimport { CheckboxPlayground } from './CheckboxPlayground';\nimport { RadioPlayground } from './RadioPlayground';\nimport { PagingPlayground } from './PagingPlayground';\nimport { HintPlayground } from './HintPlayground';\nimport { ComponentsGroup } from './ComponentsGroup';\nimport { styles } from './Playground.styles';\nimport { SizesGroup } from './SizesGroup';\n\nconst useSticky = !isTestEnv;\n\nexport interface PlaygroundProps {\n currentThemeType: ThemeType;\n onThemeChange: (value: string) => void;\n onEditLinkClick: () => void;\n}\n\nexport class Playground extends React.Component<PlaygroundProps> {\n private theme!: Theme;\n private stopEl = React.createRef<HTMLDivElement>();\n\n public render() {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return this.renderMain();\n }}\n </ThemeContext.Consumer>\n );\n }\n private renderMain() {\n const wrapperClassName = cx(styles.playground(), styles.playgroundWrapper(this.theme));\n return (\n <div className={wrapperClassName}>\n <Gapped vertical gap={50}>\n {this.renderTabsGroup()}\n {this.renderSizesGroup()}\n {this.renderLinksGroup()}\n {this.renderButtonsGroup()}\n {this.renderInputsGroup()}\n {this.renderOtherInputsGroup()}\n {this.renderTokenInputsGroup()}\n {this.renderSwitchersGroup()}\n {this.renderControlsGroup()}\n </Gapped>\n {this.renderStickyStopElement()}\n <Gapped vertical gap={50}>\n {this.renderHintsGroup()}\n {this.renderTooltip()}\n {this.renderPaging()}\n {this.renderFileUploader()}\n </Gapped>\n </div>\n );\n }\n\n private renderTabsGroup = () => {\n return useSticky ? (\n <Sticky side={'top'} getStop={this.getStickyStop}>\n {this.renderTabs()}\n </Sticky>\n ) : (\n this.renderTabs()\n );\n };\n\n private renderTabs() {\n const { onThemeChange, onEditLinkClick } = this.props;\n const tabsOuterWrapperStyle = { background: this.theme.bgDefault };\n const tabsOuterWrapperClass = cx({\n [styles.tabsWrapper(this.theme)]: true,\n [styles.stickyTabsWrapper(this.theme)]: useSticky,\n });\n\n return (\n <div style={tabsOuterWrapperStyle} className={tabsOuterWrapperClass}>\n <Gapped gap={40}>\n <Tabs value={this.getCurrentTab()} onValueChange={onThemeChange} vertical={false}>\n <div className={styles.tabsInnerWrapper(this.theme)}>\n <Tabs.Tab id={ThemeType.LightTheme}>Тема 2022</Tabs.Tab>\n <Tabs.Tab id={ThemeType.DarkTheme}>Тема 2022 Тёмная</Tabs.Tab>\n </div>\n </Tabs>\n <Link onClick={onEditLinkClick}>Настроить тему</Link>\n </Gapped>\n </div>\n );\n }\n\n private getCurrentTab = () => {\n switch (this.props.currentThemeType) {\n case ThemeType.DarkTheme:\n return ThemeType.DarkTheme;\n default:\n return ThemeType.LightTheme;\n }\n };\n\n private renderSizesGroup = () => {\n return (\n <ComponentsGroup title={'Размеры'} theme={this.theme}>\n <SizesGroup size={'small'} />\n <SizesGroup size={'medium'} />\n <SizesGroup size={'large'} />\n </ComponentsGroup>\n );\n };\n\n private renderLinksGroup = () => {\n const propsList: LinkProps[] = [\n { icon: <AttachLinkIcon16Regular />, children: 'Enabled' },\n { icon: <CheckAIcon16Regular />, use: 'success', children: 'Success' },\n { icon: <MinusCircleIcon16Regular />, use: 'danger', children: 'Danger' },\n { icon: <TrashCanIcon16Regular />, use: 'grayed', children: 'Grayed' },\n { icon: <TrashCanIcon16Regular />, children: 'Disabled', disabled: true },\n ];\n return (\n <ComponentsGroup title={'Ссылки'} theme={this.theme}>\n <Gapped wrap verticalAlign=\"middle\" gap={10}>\n {getComponentsFromPropsList(<Link />, propsList)}\n </Gapped>\n </ComponentsGroup>\n );\n };\n\n private renderButtonsGroup = () => {\n const propsList: ButtonProps[] = [\n { children: 'Default' },\n { children: 'Primary', use: 'primary' },\n { children: 'Danger', use: 'danger' },\n { children: 'Pay', use: 'pay' },\n { children: 'Success', use: 'success' },\n { children: 'Disabled', disabled: true },\n { children: 'Back', arrow: 'left', size: 'medium', width: 110 },\n { children: 'Forward', arrow: true, size: 'medium', use: 'primary', width: 110 },\n { children: 'Loading', size: 'medium', loading: true },\n ];\n\n return (\n <ComponentsGroup title={'Кнопки'} theme={this.theme}>\n {getComponentsFromPropsList(<Button width={120} size={'small'} />, propsList)}\n </ComponentsGroup>\n );\n };\n\n private renderInputsGroup = () => {\n const propsList: InputProps[] = [\n { placeholder: 'Enabled' },\n { placeholder: 'Error', error: true },\n { placeholder: 'Warning', warning: true },\n { placeholder: 'Disabled', disabled: true },\n ];\n const fromProps = getComponentsFromPropsList(<Input width={120} />, propsList);\n return (\n <ComponentsGroup title={'Поле ввода'} theme={this.theme}>\n <Input width={380} prefix=\"https://kontur.ru/search?query=\" rightIcon={<SearchLoupeIcon16Regular />} />\n <div>\n <Gapped gap={10}>{fromProps}</Gapped>\n </div>\n </ComponentsGroup>\n );\n };\n\n private renderTokenInputsGroup = () => {\n return (\n <ComponentsGroup title={'Поле с токеном'} theme={this.theme}>\n <TokenInputPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderOtherInputsGroup = () => {\n return (\n <ComponentsGroup title={'Прочие поля'} theme={this.theme}>\n <CurrencyInputPlayground />\n <FxInputPlayground />\n <DatePickerPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderSwitchersGroup = () => {\n return (\n <ComponentsGroup title={'Переключатели'} theme={this.theme}>\n <SwitcherPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderControlsGroup = () => {\n return (\n <ComponentsGroup title={'Радио, чекбоксы'} theme={this.theme}>\n <Gapped verticalAlign={'top'} gap={60}>\n <CheckboxPlayground />\n <RadioPlayground />\n <TogglePlayground />\n </Gapped>\n </ComponentsGroup>\n );\n };\n\n private renderHintsGroup = () => {\n return (\n <ComponentsGroup title={'Тултип'} theme={this.theme}>\n <HintPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderTooltip = () => {\n const tooltipContent = () => (\n <div className={styles.tooltipContent()}>\n {'Информация об ошибке. Короткий объясняющий текст и ссылка, если нужно'}\n </div>\n );\n return (\n <ComponentsGroup title={'Тултип'} theme={this.theme}>\n <Tooltip render={tooltipContent} pos=\"right middle\" trigger={'opened'} disableAnimations>\n <Link icon={<QuestionCircleIcon16Regular />} />\n </Tooltip>\n </ComponentsGroup>\n );\n };\n\n private renderPaging = () => {\n return (\n <ComponentsGroup title={'Пейджинг'} theme={this.theme}>\n <PagingPlayground />\n </ComponentsGroup>\n );\n };\n\n private renderFileUploader = () => {\n return (\n <ComponentsGroup title={'FileUploader'} theme={this.theme}>\n <FileUploader multiple />\n </ComponentsGroup>\n );\n };\n\n private renderStickyStopElement = () => {\n return <div ref={this.stopEl} style={{ height: 50 }} />;\n };\n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D,KAAA,CAAAiD,aAAA,CAACzC,IAAI,CAACsH,GAAG,IAACC,EAAE,EAAE7G,SAAS,CAACuC,SAAU,IAAC,oEAA0B,CAC1D,CACD,CAAC,eACPzD,KAAA,CAAAiD,aAAA,CAACvC,IAAI,IAACsH,OAAO,EAAEZ,eAAgB,IAAC,iFAAoB,CAC9C,CACL,CAAC,CAEV,CAAC,QAAAlF,UAAA,GAvE6BlC,KAAK,CAACiI,SAAS","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["css","memoizeStyle","styles","playground","_templateObject","_taggedTemplateLiteralLoose","title","t","_templateObject2","textColorDefault","componentsGroup","_templateObject3","sidePageBody","_templateObject4","variable","_templateObject5","borderColorFocus","variableName","_templateObject6","deprecated","_templateObject7","colorIcon","_templateObject8","baseLinkWrapper","_templateObject9","linkRoot","_templateObject10","baseVariableRoot","_templateObject11","loaderWrapper","_templateObject12","loader","_templateObject13","tabsWrapper","_templateObject14","tooltipContent","_templateObject15","stickyTabsWrapper","_templateObject16","tabsInnerWrapper","_templateObject17","playgroundWrapper","_templateObject18","bgDefault","editorHeaderWrapper","_templateObject19","editorGroupHeader","_templateObject20"],"sources":["Playground.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n playground() {\n return css`\n margin: -16px;\n padding: 32px;\n `;\n },\n\n title(t: Theme) {\n return css`\n width: 110px;\n color: ${t.textColorDefault};\n `;\n },\n\n componentsGroup(t: Theme) {\n return css`\n max-width: 700px;\n color: ${t.textColorDefault};\n `;\n },\n\n sidePageBody() {\n return css`\n padding: 0 30px 30px;\n `;\n },\n\n variable(t: Theme) {\n return css`\n display: flex;\n align-items: center;\n margin-bottom: 16px;\n\n &:focus {\n outline: 1px solid ${t.borderColorFocus};\n outline-offset: 8px;\n }\n `;\n },\n\n variableName(t: Theme) {\n return css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 250px;\n position: relative;\n z-index: 1;\n line-height: 34px;\n color: ${t.textColorDefault};\n flex: 1 1 auto;\n `;\n },\n\n deprecated() {\n return css`\n text-decoration: line-through;\n `;\n },\n\n colorIcon() {\n return css`\n height: 16px;\n width: 16px;\n `;\n },\n\n baseLinkWrapper() {\n return css`\n margin-left: auto;\n `;\n },\n\n linkRoot() {\n return css`\n position: relative;\n z-index: 1;\n `;\n },\n\n baseVariableRoot() {\n return css`\n position: relative;\n z-index: 1;\n padding-left: 10px;\n width: 240px;\n display: flex;\n `;\n },\n\n loaderWrapper() {\n return css`\n width: 500px;\n `;\n },\n\n loader() {\n return css`\n height: 300px;\n margin: auto;\n `;\n },\n\n tabsWrapper(t: Theme) {\n return css`\n margin: 0 -32px;\n padding: 11px 32px;\n position: relative;\n color: ${t.textColorDefault};\n\n &::after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n height: 1px;\n width: 100%;\n z-index: -1;\n }\n `;\n },\n\n tooltipContent() {\n return css`\n width: 210px;\n `;\n },\n\n stickyTabsWrapper(t: Theme) {\n return css`\n margin-top: 39px;\n &:after {\n box-shadow: 0 2px 10px 0px ${t.textColorDefault};\n }\n `;\n },\n tabsInnerWrapper(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n playgroundWrapper(t: Theme) {\n return css`\n background: ${t.bgDefault};\n `;\n },\n editorHeaderWrapper(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n editorGroupHeader(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n});\n"],"mappings":"qdAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;;AAG7D,OAAO,IAAMC,MAAM,GAAGD,YAAY,CAAC;EACjCE,UAAU,WAAAA,WAAA,EAAG;IACX,OAAOH,GAAG,CAAAI,eAAA,KAAAA,eAAA,GAAAC,2BAAA;;;;EAIZ,CAAC;;EAEDC,KAAK,WAAAA,MAACC,CAAQ,EAAE;IACd,OAAOP,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AA,GAAA1C,2BAAA;IACCE,CAAC,CAACE,gBAAgB;;EAE/B;AACF,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["css","memoizeStyle","styles","playground","_templateObject","_taggedTemplateLiteralLoose","title","t","_templateObject2","textColorDefault","componentsGroup","_templateObject3","sidePageBody","_templateObject4","variable","_templateObject5","borderColorFocus","variableName","_templateObject6","deprecated","_templateObject7","colorIcon","_templateObject8","baseLinkWrapper","_templateObject9","linkRoot","_templateObject10","baseVariableRoot","_templateObject11","loaderWrapper","_templateObject12","loader","_templateObject13","tabsWrapper","_templateObject14","tooltipContent","_templateObject15","stickyTabsWrapper","_templateObject16","tabsInnerWrapper","_templateObject17","playgroundWrapper","_templateObject18","bgDefault","editorHeaderWrapper","_templateObject19","editorGroupHeader","_templateObject20"],"sources":["Playground.styles.ts"],"sourcesContent":["import { css, memoizeStyle } from '../../lib/theming/Emotion';\nimport type { Theme } from '../../lib/theming/Theme';\n\nexport const styles = memoizeStyle({\n playground() {\n return css`\n margin: -16px;\n padding: 32px;\n `;\n },\n\n title(t: Theme) {\n return css`\n width: 110px;\n color: ${t.textColorDefault};\n `;\n },\n\n componentsGroup(t: Theme) {\n return css`\n max-width: 700px;\n color: ${t.textColorDefault};\n `;\n },\n\n sidePageBody() {\n return css`\n padding: 0 30px 30px;\n `;\n },\n\n variable(t: Theme) {\n return css`\n display: flex;\n align-items: center;\n margin-bottom: 16px;\n\n &:focus {\n outline: 1px solid ${t.borderColorFocus};\n outline-offset: 8px;\n }\n `;\n },\n\n variableName(t: Theme) {\n return css`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 250px;\n position: relative;\n z-index: 1;\n line-height: 34px;\n color: ${t.textColorDefault};\n flex: 1 1 auto;\n `;\n },\n\n deprecated() {\n return css`\n text-decoration: line-through;\n `;\n },\n\n colorIcon() {\n return css`\n height: 16px;\n width: 16px;\n `;\n },\n\n baseLinkWrapper() {\n return css`\n margin-left: auto;\n `;\n },\n\n linkRoot() {\n return css`\n position: relative;\n z-index: 1;\n `;\n },\n\n baseVariableRoot() {\n return css`\n position: relative;\n z-index: 1;\n padding-left: 10px;\n width: 240px;\n display: flex;\n `;\n },\n\n loaderWrapper() {\n return css`\n width: 500px;\n `;\n },\n\n loader() {\n return css`\n height: 300px;\n margin: auto;\n `;\n },\n\n tabsWrapper(t: Theme) {\n return css`\n margin: 0 -32px;\n padding: 11px 32px;\n position: relative;\n color: ${t.textColorDefault};\n\n &::after {\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n height: 1px;\n width: 100%;\n z-index: -1;\n }\n `;\n },\n\n tooltipContent() {\n return css`\n width: 210px;\n `;\n },\n\n stickyTabsWrapper(t: Theme) {\n return css`\n margin-top: 39px;\n &:after {\n box-shadow: 0 2px 10px 0px ${t.textColorDefault};\n }\n `;\n },\n tabsInnerWrapper(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n playgroundWrapper(t: Theme) {\n return css`\n background: ${t.bgDefault};\n `;\n },\n editorHeaderWrapper(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n editorGroupHeader(t: Theme) {\n return css`\n color: ${t.textColorDefault};\n `;\n },\n});\n"],"mappings":"qdAAA,SAASA,GAAG,EAAEC,YAAY,QAAQ,2BAA2B;;;AAG7D,OAAO,IAAMC,MAAM,GAAGD,YAAY,CAAC;EACjCE,UAAU,WAAAA,WAAA,EAAG;IACX,OAAOH,GAAG,CAAAI,eAAA,KAAAA,eAAA,GAAAC,2BAAA;;;;EAIZ,CAAC;;EAEDC,KAAK,WAAAA,MAACC,CAAQ,EAAE;IACd,OAAOP,GAAG,CAAAQ,gBAAA,KAAAA,gBAAA,GAAAH,2BAAA;;IAECE,CAAC,CAACE,gBAAgB;;EAE/B,CAAC;;EAEDC,eAAe,WAAAA,gBAACH,CAAQ,EAAE;IACxB,OAAOP,GAAG,CAAAW,gBAAA,KAAAA,gBAAA,GAAAN,2BAAA;;IAECE,CAAC,CAACE,gBAA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AA3B,2BAAA;;;;EAIZ,CAAC;;EAED4B,WAAW,WAAAA,YAAC1B,CAAQ,EAAE;IACpB,OAAOP,GAAG,CAAAkC,iBAAA,KAAAA,iBAAA,GAAA7B,2BAAA;;;;IAICE,CAAC,CAACE,gBAAgB;;;;;;;;;;;;EAY/B,CAAC;;EAED0B,cAAc,WAAAA,eAAA,EAAG;IACf,OAAOnC,GAAG,CAAAoC,iBAAA,KAAAA,iBAAA,GAAA/B,2BAAA;;;EAGZ,CAAC;;EAEDgC,iBAAiB,WAAAA,kBAAC9B,CAAQ,EAAE;IAC1B,OAAOP,GAAG,CAAAsC,iBAAA,KAAAA,iBAAA,GAAAjC,2BAAA;;;IAGuBE,CAAC,CAACE,gBAAgB;;;EAGrD,CAAC;EACD8B,gBAAgB,WAAAA,iBAAChC,CAAQ,EAAE;IACzB,OAAOP,GAAG,CAAAwC,iBAAA,KAAAA,iBAAA,GAAAnC,2BAAA;IACCE,CAAC,CAACE,gBAAgB;;EAE/B,CAAC;EACDgC,iBAAiB,WAAAA,kBAAClC,CAAQ,EAAE;IAC1B,OAAOP,GAAG,CAAA0C,iBAAA,KAAAA,iBAAA,GAAArC,2BAAA;IACME,CAAC,CAACoC,SAAS;;EAE7B,CAAC;EACDC,mBAAmB,WAAAA,oBAACrC,CAAQ,EAAE;IAC5B,OAAOP,GAAG,CAAA6C,iBAAA,KAAAA,iBAAA,GAAAxC,2BAAA;IACCE,CAAC,CAACE,gBAAgB;;EAE/B,CAAC;EACDqC,iBAAiB,WAAAA,kBAACvC,CAAQ,EAAE;IAC1B,OAAOP,GAAG,CAAA+C,iBAAA,KAAAA,iBAAA,GAAA1C,2BAAA;IACCE,CAAC,CAACE,gBAAgB;;EAE/B;AACF,CAAC,CAAC","ignoreList":[]}
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../lib/theming/Theme';
1
+ import type { Theme } from '../../lib/theming/Theme';
2
2
  export declare const styles: {
3
3
  playground(): string;
4
4
  title(t: Theme): string;
@@ -1 +1 @@
1
- {"version":3,"names":["React","Gapped","Radio","getComponentsFromPropsList","propsList","value","children","checked","disabled","focused","error","warning","RadioPlayground","createElement","gap","vertical"],"sources":["RadioPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Gapped } from '../../components/Gapped';\nimport { Radio, RadioProps } from '../../components/Radio';\n\nimport { getComponentsFromPropsList } from './helpers';\n\nconst propsList: Array<RadioProps<string>> = [\n { value: '', children: 'Default', checked: false },\n { value: '', children: 'Checked' },\n { value: '', children: 'Disabled', disabled: true },\n { value: '', children: 'Focused', focused: true },\n { value: '', children: 'Error', error: true },\n { value: '', children: 'Warning', warning: true },\n];\n\nexport const RadioPlayground = () => {\n return (\n <Gapped gap={0} vertical>\n {getComponentsFromPropsList(<Radio value={''} checked />, propsList)}\n </Gapped>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,KAAK,QAAoB,wBAAwB;;AAE1D,SAASC,0BAA0B,QAAQ,WAAW;;AAEtD,IAAMC,SAAoC,GAAG;AAC3C,EAAEC,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEC,OAAO,EAAE,KAAK,CAAC,CAAC;AAClD,EAAEF,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,CAAC,CAAC;AAClC,EAAED,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,UAAU,EAAEE,QAAQ,EAAE,IAAI,CAAC,CAAC;AACnD,EAAEH,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEG,OAAO,EAAE,IAAI,CAAC,CAAC;AACjD,EAAEJ,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,OAAO,EAAEI,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7C,EAAEL,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEK,OAAO,EAAE,IAAI,CAAC,CAAC,CAClD;;;AAED,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAA,EAAS;EACnC;IACEZ,KAAA,CAAAa,aAAA,CAACZ,MAAM,IAACa,GAAG,EAAE,CAAE,EAACC,QAAQ;IACrBZ,0BAA0B,eAACH,KAAA,CAAAa,aAAA,CAACX,KAAK,IAACG,KAAK,EAAE,EAAG,EAACE,OAAO,QAAE,CAAC,EAAEH,SAAS;IAC7D,CAAC;;AAEb,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","Gapped","Radio","getComponentsFromPropsList","propsList","value","children","checked","disabled","focused","error","warning","RadioPlayground","createElement","gap","vertical"],"sources":["RadioPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Gapped } from '../../components/Gapped';\nimport type { RadioProps } from '../../components/Radio';\nimport { Radio } from '../../components/Radio';\n\nimport { getComponentsFromPropsList } from './helpers';\n\nconst propsList: Array<RadioProps<string>> = [\n { value: '', children: 'Default', checked: false },\n { value: '', children: 'Checked' },\n { value: '', children: 'Disabled', disabled: true },\n { value: '', children: 'Focused', focused: true },\n { value: '', children: 'Error', error: true },\n { value: '', children: 'Warning', warning: true },\n];\n\nexport const RadioPlayground = () => {\n return (\n <Gapped gap={0} vertical>\n {getComponentsFromPropsList(<Radio value={''} checked />, propsList)}\n </Gapped>\n );\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,MAAM,QAAQ,yBAAyB;;AAEhD,SAASC,KAAK,QAAQ,wBAAwB;;AAE9C,SAASC,0BAA0B,QAAQ,WAAW;;AAEtD,IAAMC,SAAoC,GAAG;AAC3C,EAAEC,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEC,OAAO,EAAE,KAAK,CAAC,CAAC;AAClD,EAAEF,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,CAAC,CAAC;AAClC,EAAED,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,UAAU,EAAEE,QAAQ,EAAE,IAAI,CAAC,CAAC;AACnD,EAAEH,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEG,OAAO,EAAE,IAAI,CAAC,CAAC;AACjD,EAAEJ,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,OAAO,EAAEI,KAAK,EAAE,IAAI,CAAC,CAAC;AAC7C,EAAEL,KAAK,EAAE,EAAE,EAAEC,QAAQ,EAAE,SAAS,EAAEK,OAAO,EAAE,IAAI,CAAC,CAAC,CAClD;;;AAED,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAA,EAAS;EACnC;IACEZ,KAAA,CAAAa,aAAA,CAACZ,MAAM,IAACa,GAAG,EAAE,CAAE,EAACC,QAAQ;IACrBZ,0BAA0B,eAACH,KAAA,CAAAa,aAAA,CAACX,KAAK,IAACG,KAAK,EAAE,EAAG,EAACE,OAAO,QAAE,CAAC,EAAEH,SAAS;IAC7D,CAAC;;AAEb,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","Select","SelectPlayground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","value","capitalize","props","size","selectItems","handleChange","setState","_inheritsLoose","_proto","prototype","render","createElement","_extends","items","onValueChange","Component","input","charAt","toUpperCase","slice"],"sources":["SelectPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Select, SelectProps } from '../../components/Select';\n\ntype SelectPlaygroundValue = string;\ntype SelectPlaygroundItem = string;\ntype SelectPlaygroundProps = SelectProps<SelectPlaygroundValue, SelectPlaygroundItem>;\ninterface SelectPlaygroundState {\n value: string;\n}\nexport class SelectPlayground extends React.Component<SelectPlaygroundProps> {\n public state: SelectPlaygroundState = {\n value: capitalize(this.props.size),\n };\n private readonly selectItems = ['Small', 'Medium', 'Large'];\n\n public render() {\n return (\n <Select<SelectPlaygroundValue, SelectPlaygroundItem>\n {...this.props}\n value={this.state.value}\n items={this.selectItems}\n onValueChange={this.handleChange}\n />\n );\n }\n\n private handleChange = (value: string) => {\n this.setState({\n value,\n });\n };\n}\n\nconst capitalize = (input = ''): string => {\n return input.charAt(0).toUpperCase() + input.slice(1);\n};\n"],"mappings":"gIAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,MAAM,QAAqB,yBAAyB;;;;;;;;AAQ7D,WAAaC,gBAAgB,0BAAAC,gBAAA,YAAAD,iBAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;IACpBU,KAAK,GAA0B;MACpCC,KAAK,EAAEC,UAAU,CAACZ,KAAA,CAAKa,KAAK,CAACC,IAAI;IACnC,CAAC,CAAAd,KAAA;IACgBe,WAAW,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAAf,KAAA;;;;;;;;;;;;;IAanDgB,YAAY,GAAG,UAACL,KAAa,EAAK;MACxCX,KAAA,CAAKiB,QAAQ,CAAC;QACZN,KAAK,EAALA;MACF,CAAC,CAAC;IACJ,CAAC,QAAAX,KAAA,EAAAkB,cAAA,CAAApB,gBAAA,EAAAC,gBAAA,MAAAoB,MAAA,GAAArB,gBAAA,CAAAsB,SAAA,CAAAD,MAAA,CAfME,MAAM,GAAb,SAAAA,OAAA,EAAgB,CACd,oBACEzB,KAAA,CAAA0B,aAAA,CAACzB,MAAM,EAAA0B,QAAA,KACD,IAAI,CAACV,KAAK,IACdF,KAAK,EAAE,IAAI,CAACD,KAAK,CAACC,KAAM,EACxBa,KAAK,EAAE,IAAI,CAACT,WAAY,EACxBU,aAAa,EAAE,IAAI,CAACT,YAAa,GAClC,CAAC,CAEN,CAAC,QAAAlB,gBAAA,GAfmCF,KAAK,CAAC8B,SAAS;;;AAwBrD,IAAMd,UAAU,GAAG,SAAbA,UAAUA,CAAIe,KAAK,EAAkB,KAAvBA,KAAK,cAALA,KAAK,GAAG,EAAE;EAC5B,OAAOA,KAAK,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGF,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;AACvD,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","Select","SelectPlayground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","value","capitalize","props","size","selectItems","handleChange","setState","_inheritsLoose","_proto","prototype","render","createElement","_extends","items","onValueChange","Component","input","charAt","toUpperCase","slice"],"sources":["SelectPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport type { SelectProps } from '../../components/Select';\nimport { Select } from '../../components/Select';\n\ntype SelectPlaygroundValue = string;\ntype SelectPlaygroundItem = string;\ntype SelectPlaygroundProps = SelectProps<SelectPlaygroundValue, SelectPlaygroundItem>;\ninterface SelectPlaygroundState {\n value: string;\n}\nexport class SelectPlayground extends React.Component<SelectPlaygroundProps> {\n public state: SelectPlaygroundState = {\n value: capitalize(this.props.size),\n };\n private readonly selectItems = ['Small', 'Medium', 'Large'];\n\n public render() {\n return (\n <Select<SelectPlaygroundValue, SelectPlaygroundItem>\n {...this.props}\n value={this.state.value}\n items={this.selectItems}\n onValueChange={this.handleChange}\n />\n );\n }\n\n private handleChange = (value: string) => {\n this.setState({\n value,\n });\n };\n}\n\nconst capitalize = (input = ''): string => {\n return input.charAt(0).toUpperCase() + input.slice(1);\n};\n"],"mappings":"gIAAA,OAAOA,KAAK,MAAM,OAAO;;;AAGzB,SAASC,MAAM,QAAQ,yBAAyB;;;;;;;;AAQhD,WAAaC,gBAAgB,0BAAAC,gBAAA,YAAAD,iBAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAA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AAC;AACvD,CAAC","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SelectProps } from '../../components/Select';
2
+ import type { SelectProps } from '../../components/Select';
3
3
  type SelectPlaygroundValue = string;
4
4
  type SelectPlaygroundItem = string;
5
5
  type SelectPlaygroundProps = SelectProps<SelectPlaygroundValue, SelectPlaygroundItem>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import CardIcon from '@skbkontur/react-icons/Card';
3
- import LinkIcon from '@skbkontur/react-icons/Link';
2
+ import { IdCardIcon16Regular } from '@skbkontur/icons/icons/IdCardIcon/IdCardIcon16Regular';
3
+ import { AttachLinkIcon16Regular } from '@skbkontur/icons/icons/AttachLinkIcon/AttachLinkIcon16Regular';
4
4
  import { Input } from "../../../components/Input";
5
5
  import { Gapped } from "../../../components/Gapped";
6
6
  import { Button } from "../../../components/Button";
@@ -18,7 +18,7 @@ export var SizesGroup = function SizesGroup(_ref) {
18
18
  size: size
19
19
  }), /*#__PURE__*/
20
20
  React.createElement(Input, {
21
- rightIcon: /*#__PURE__*/React.createElement(CardIcon, null),
21
+ rightIcon: /*#__PURE__*/React.createElement(IdCardIcon16Regular, null),
22
22
  placeholder: 'Text value',
23
23
  size: size
24
24
  }), /*#__PURE__*/
@@ -27,7 +27,7 @@ export var SizesGroup = function SizesGroup(_ref) {
27
27
  size: size
28
28
  }, "Button"), /*#__PURE__*/
29
29
  React.createElement(Button, {
30
- icon: /*#__PURE__*/React.createElement(LinkIcon, null),
30
+ icon: /*#__PURE__*/React.createElement(AttachLinkIcon16Regular, null),
31
31
  use: 'link',
32
32
  size: size
33
33
  }, "Button like a link"))
@@ -1 +1 @@
1
- {"version":3,"names":["React","CardIcon","LinkIcon","Input","Gapped","Button","SelectPlayground","SizesGroup","_ref","size","createElement","wrap","verticalAlign","gap","width","rightIcon","placeholder","icon","use"],"sources":["SizesGroup.tsx"],"sourcesContent":["import React from 'react';\nimport CardIcon from '@skbkontur/react-icons/Card';\nimport LinkIcon from '@skbkontur/react-icons/Link';\n\nimport { Input } from '../../components/Input';\nimport { Gapped } from '../../components/Gapped';\nimport { Button } from '../../components/Button';\nimport { SizeProp } from '../../lib/types/props';\n\nimport { SelectPlayground } from './SelectPlayground';\n\nexport interface SizesGroupProps {\n size: SizeProp;\n}\n\nexport const SizesGroup = ({ size }: SizesGroupProps) => (\n <Gapped wrap verticalAlign=\"middle\" gap={10}>\n <SelectPlayground width={120} size={size} />\n <Input rightIcon={<CardIcon />} placeholder={'Text value'} size={size} />\n <Button width={120} size={size}>\n Button\n </Button>\n <Button icon={<LinkIcon />} use={'link'} size={size}>\n Button like a link\n </Button>\n </Gapped>\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,6BAA6B;AAClD,OAAOC,QAAQ,MAAM,6BAA6B;;AAElD,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,MAAM,QAAQ,yBAAyB;;;AAGhD,SAASC,gBAAgB,QAAQ,oBAAoB;;;;;;AAMrD,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,OAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAC/BT,KAAA,CAAAU,aAAA,CAACN,MAAM,IAACO,IAAI,QAACC,aAAa,EAAC,QAAQ,EAACC,GAAG,EAAE,EAAG;IAC1Cb,KAAA,CAAAU,aAAA,CAACJ,gBAAgB,IAACQ,KAAK,EAAE,GAAI,EAACL,IAAI,EAAEA,IAAK,EAAE,CAAC;IAC5CT,KAAA,CAAAU,aAAA,CAACP,KAAK,IAACY,SAAS,eAAEf,KAAA,CAAAU,aAAA,CAACT,QAAQ,MAAE,CAAE,EAACe,WAAW,EAAE,YAAa,EAACP,IAAI,EAAEA,IAAK,EAAE,CAAC;IACzET,KAAA,CAAAU,aAAA,CAACL,MAAM,IAACS,KAAK,EAAE,GAAI,EAACL,IAAI,EAAEA,IAAK,IAAC;;IAExB,CAAC;IACTT,KAAA,CAAAU,aAAA,CAACL,MAAM,IAACY,IAAI,eAAEjB,KAAA,CAAAU,aAAA,CAACR,QAAQ,MAAE,CAAE,EAACgB,GAAG,EAAE,MAAO,EAACT,IAAI,EAAEA,IAAK,IAAC;;IAE7C;IACF,CAAC,GACV","ignoreList":[]}
1
+ {"version":3,"names":["React","IdCardIcon16Regular","AttachLinkIcon16Regular","Input","Gapped","Button","SelectPlayground","SizesGroup","_ref","size","createElement","wrap","verticalAlign","gap","width","rightIcon","placeholder","icon","use"],"sources":["SizesGroup.tsx"],"sourcesContent":["import React from 'react';\nimport { IdCardIcon16Regular } from '@skbkontur/icons/icons/IdCardIcon/IdCardIcon16Regular';\nimport { AttachLinkIcon16Regular } from '@skbkontur/icons/icons/AttachLinkIcon/AttachLinkIcon16Regular';\n\nimport { Input } from '../../components/Input';\nimport { Gapped } from '../../components/Gapped';\nimport { Button } from '../../components/Button';\nimport type { SizeProp } from '../../lib/types/props';\n\nimport { SelectPlayground } from './SelectPlayground';\n\nexport interface SizesGroupProps {\n size: SizeProp;\n}\n\nexport const SizesGroup = ({ size }: SizesGroupProps) => (\n <Gapped wrap verticalAlign=\"middle\" gap={10}>\n <SelectPlayground width={120} size={size} />\n <Input rightIcon={<IdCardIcon16Regular />} placeholder={'Text value'} size={size} />\n <Button width={120} size={size}>\n Button\n </Button>\n <Button icon={<AttachLinkIcon16Regular />} use={'link'} size={size}>\n Button like a link\n </Button>\n </Gapped>\n);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,mBAAmB,QAAQ,uDAAuD;AAC3F,SAASC,uBAAuB,QAAQ,+DAA+D;;AAEvG,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,MAAM,QAAQ,yBAAyB;;;AAGhD,SAASC,gBAAgB,QAAQ,oBAAoB;;;;;;AAMrD,OAAO,IAAMC,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA,OAAMC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAC/BT,KAAA,CAAAU,aAAA,CAACN,MAAM,IAACO,IAAI,QAACC,aAAa,EAAC,QAAQ,EAACC,GAAG,EAAE,EAAG;IAC1Cb,KAAA,CAAAU,aAAA,CAACJ,gBAAgB,IAACQ,KAAK,EAAE,GAAI,EAACL,IAAI,EAAEA,IAAK,EAAE,CAAC;IAC5CT,KAAA,CAAAU,aAAA,CAACP,KAAK,IAACY,SAAS,eAAEf,KAAA,CAAAU,aAAA,CAACT,mBAAmB,MAAE,CAAE,EAACe,WAAW,EAAE,YAAa,EAACP,IAAI,EAAEA,IAAK,EAAE,CAAC;IACpFT,KAAA,CAAAU,aAAA,CAACL,MAAM,IAACS,KAAK,EAAE,GAAI,EAACL,IAAI,EAAEA,IAAK,IAAC;;IAExB,CAAC;IACTT,KAAA,CAAAU,aAAA,CAACL,MAAM,IAACY,IAAI,eAAEjB,KAAA,CAAAU,aAAA,CAACR,uBAAuB,MAAE,CAAE,EAACgB,GAAG,EAAE,MAAO,EAACT,IAAI,EAAEA,IAAK,IAAC;;IAE5D;IACF,CAAC,GACV","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SizeProp } from '../../lib/types/props';
2
+ import type { SizeProp } from '../../lib/types/props';
3
3
  export interface SizesGroupProps {
4
4
  size: SizeProp;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"names":["React","Switcher","defaultItems","SwitcherPlayground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","value","error","handleValueChange","setState","_inheritsLoose","_proto","prototype","render","createElement","_extends","onValueChange","items","props","Component"],"sources":["SwitcherPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Switcher, SwitcherProps } from '../../components/Switcher';\n\nconst defaultItems = ['Default', 'Error'];\n\ninterface SwitcherPlaygroundProps {\n items?: SwitcherProps['items'];\n disabled?: boolean;\n}\ninterface SwitcherPlaygroundState {\n value: string;\n error: boolean;\n}\nexport class SwitcherPlayground extends React.Component<SwitcherPlaygroundProps> {\n public state: SwitcherPlaygroundState = {\n value: '',\n error: false,\n };\n\n public render() {\n return (\n <Switcher\n value={this.state.value}\n onValueChange={this.handleValueChange}\n items={this.props.items || defaultItems}\n error={this.state.error}\n {...this.props}\n />\n );\n }\n\n private handleValueChange = (value: string) => {\n this.setState({ value, error: value === 'Error' });\n };\n}\n"],"mappings":"gIAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,QAAQ,QAAuB,2BAA2B;;AAEnE,IAAMC,YAAY,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;;;;;;;;;;AAUzC,WAAaC,kBAAkB,0BAAAC,gBAAA,YAAAD,mBAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;IACtBU,KAAK,GAA4B;MACtCC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE;IACT,CAAC,CAAAZ,KAAA;;;;;;;;;;;;;;IAcOa,iBAAiB,GAAG,UAACF,KAAa,EAAK;MAC7CX,KAAA,CAAKc,QAAQ,CAAC,EAAEH,KAAK,EAALA,KAAK,EAAEC,KAAK,EAAED,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC;IACpD,CAAC,QAAAX,KAAA,EAAAe,cAAA,CAAAjB,kBAAA,EAAAC,gBAAA,MAAAiB,MAAA,GAAAlB,kBAAA,CAAAmB,SAAA,CAAAD,MAAA,CAdME,MAAM,GAAb,SAAAA,OAAA,EAAgB,CACd,oBACEvB,KAAA,CAAAwB,aAAA,CAACvB,QAAQ,EAAAwB,QAAA,GACPT,KAAK,EAAE,IAAI,CAACD,KAAK,CAACC,KAAM,EACxBU,aAAa,EAAE,IAAI,CAACR,iBAAkB,EACtCS,KAAK,EAAE,IAAI,CAACC,KAAK,CAACD,KAAK,IAAIzB,YAAa,EACxCe,KAAK,EAAE,IAAI,CAACF,KAAK,CAACE,KAAM,IACpB,IAAI,CAACW,KAAK,CACf,CAAC,CAEN,CAAC,QAAAzB,kBAAA,GAhBqCH,KAAK,CAAC6B,SAAS","ignoreList":[]}
1
+ {"version":3,"names":["React","Switcher","defaultItems","SwitcherPlayground","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","value","error","handleValueChange","setState","_inheritsLoose","_proto","prototype","render","createElement","_extends","onValueChange","items","props","Component"],"sources":["SwitcherPlayground.tsx"],"sourcesContent":["import React from 'react';\n\nimport type { SwitcherProps } from '../../components/Switcher';\nimport { Switcher } from '../../components/Switcher';\n\nconst defaultItems = ['Default', 'Error'];\n\ninterface SwitcherPlaygroundProps {\n items?: SwitcherProps['items'];\n disabled?: boolean;\n}\ninterface SwitcherPlaygroundState {\n value: string;\n error: boolean;\n}\nexport class SwitcherPlayground extends React.Component<SwitcherPlaygroundProps> {\n public state: SwitcherPlaygroundState = {\n value: '',\n error: false,\n };\n\n public render() {\n return (\n <Switcher\n value={this.state.value}\n onValueChange={this.handleValueChange}\n items={this.props.items || defaultItems}\n error={this.state.error}\n {...this.props}\n />\n );\n }\n\n private handleValueChange = (value: string) => {\n this.setState({ value, error: value === 'Error' });\n };\n}\n"],"mappings":"gIAAA,OAAOA,KAAK,MAAM,OAAO;;;AAGzB,SAASC,QAAQ,QAAQ,2BAA2B;;AAEpD,IAAMC,YAAY,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC;;;;;;;;;;AAUzC,WAAaC,kBAAkB,0BAAAC,gBAAA,YAAAD,mBAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;IACtBU,KAAK,GAA4B;MACtCC,KAAK,EAAE,EAAE;MACTC,KAAK,EAAE;IACT,CAAC,CAAAZ,KAAA;;;;;;;;;;;;;;IAcOa,iBAAiB,GAAG,UAACF,KAAa,EAAK;MAC7CX,KAAA,CAAKc,QAAQ,CAAC,EAAEH,KAAK,EAALA,KAAK,EAAEC,KAAK,EAAED,KAAK,KAAK,OAAO,CAAC,CAAC,CAAC;IACpD,CAAC,QAAAX,KAAA,EAAAe,cAAA,CAAAjB,kBAAA,EAAAC,gBAAA,MAAAiB,MAAA,GAAAlB,kBAAA,CAAAmB,SAAA,CAAAD,MAAA,CAdME,MAAM,GAAb,SAAAA,OAAA,EAAgB,CACd,oBACEvB,KAAA,CAAAwB,aAAA,CAACvB,QAAQ,EAAAwB,QAAA,GACPT,KAAK,EAAE,IAAI,CAACD,KAAK,CAACC,KAAM,EACxBU,aAAa,EAAE,IAAI,CAACR,iBAAkB,EACtCS,KAAK,EAAE,IAAI,CAACC,KAAK,CAACD,KAAK,IAAIzB,YAAa,EACxCe,KAAK,EAAE,IAAI,CAACF,KAAK,CAACE,KAAM,IACpB,IAAI,CAACW,KAAK,CACf,CAAC,CAEN,CAAC,QAAAzB,kBAAA,GAhBqCH,KAAK,CAAC6B,SAAS","ignoreList":[]}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SwitcherProps } from '../../components/Switcher';
2
+ import type { SwitcherProps } from '../../components/Switcher';
3
3
  interface SwitcherPlaygroundProps {
4
4
  items?: SwitcherProps['items'];
5
5
  disabled?: boolean;
@@ -1 +1 @@
1
- {"version":3,"names":["React","ThemeContext","ThemeFactory","SidePage","Gapped","ComboBox","Link","ColorFunctions","findPropertyDescriptor","LIGHT_THEME","DARK_THEME","ThemeEditor","styles","Playground","ThemeType","getEditingThemeType","editingThemeItem","value","ThemeContextPlayground","_React$Component","props","_this","call","editableThemesItems","LightTheme","label","DarkTheme","renderSidePage","_this$state","state","currentTheme","themesErrors","themes","editingThemeType","themeErrors","createElement","disableAnimations","ignoreBackgroundClick","blockBackground","width","onClose","handleClose","Header","className","editorHeaderWrapper","wrap","verticalAlign","getItems","getEditableThemesItems","onValueChange","handleEditingThemeSwitch","style","fontSize","marginTop","onClick","handleGetTheme","Body","sidePageBody","editingTheme","currentErrors","handleThemeVariableChange","themeObject","getKeys","forEach","key","descriptor","Object","getOwnPropertyDescriptor","get","console","log","JSON","stringify","handleOpen","setState","editorOpened","find","i","currentThemeType","handleThemeChange","themeType","variable","_this$state2","theme","currentValue","canSetVariable","isValid","nextThemeErrors","_extends","stateUpdate","result","changeThemeVariable","query","Promise","resolve","filter","toLowerCase","includes","item","variableName","variableValue","enumerable","configurable","set","defineProperty","create","lightTheme","darkTheme","_inheritsLoose","_proto","prototype","render","_this$state3","Provider","onThemeChange","onEditLinkClick","Component"],"sources":["ThemeContextPlayground.tsx"],"sourcesContent":["import React, { ReactNode } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme, ThemeIn } from '../../lib/theming/Theme';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { SidePage } from '../../components/SidePage';\nimport { Gapped } from '../../components/Gapped';\nimport { ComboBox } from '../../components/ComboBox';\nimport { Link } from '../../components/Link';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport { Writeable } from '../../typings/utility-types';\nimport { findPropertyDescriptor } from '../../lib/theming/ThemeHelpers';\nimport { LIGHT_THEME } from '../../lib/theming/themes/LightTheme';\nimport { DARK_THEME } from '../../lib/theming/themes/DarkTheme';\n\nimport { ThemeEditor } from './ThemeEditor';\nimport { styles } from './Playground.styles';\nimport { Playground } from './Playground';\nimport { ThemeType } from './constants';\n\ninterface PlaygroundState {\n editorOpened: boolean;\n editingThemeItem?: EditingThemeItem;\n themes: Themes;\n themesErrors: ThemesErrors;\n currentTheme: Theme;\n currentThemeType: ThemeType;\n}\ninterface Themes {\n lightTheme: Theme;\n darkTheme: Theme;\n}\ninterface ThemesErrors {\n lightTheme: ThemeErrorsType;\n darkTheme: ThemeErrorsType;\n}\ninterface EditingThemeItem {\n value: ThemeType;\n label: string;\n}\ninterface PlaygroundProps {\n children?: ReactNode;\n}\nexport type ThemeErrorsType = Writeable<{ [key in keyof Theme]?: boolean }>;\n\nconst getEditingThemeType = (editingThemeItem: PlaygroundState['editingThemeItem']) => {\n if (editingThemeItem) {\n return editingThemeItem.value;\n }\n\n return 'lightTheme';\n};\nexport class ThemeContextPlayground extends React.Component<PlaygroundProps, PlaygroundState> {\n private readonly editableThemesItems = [\n { value: ThemeType.LightTheme, label: 'Светлая 2022 тема' },\n { value: ThemeType.DarkTheme, label: 'Тёмная 2022 тема' },\n ];\n\n constructor(props: PlaygroundProps) {\n super(props);\n this.state = {\n currentTheme: LIGHT_THEME,\n currentThemeType: ThemeType.LightTheme,\n editorOpened: false,\n themes: {\n lightTheme: LIGHT_THEME,\n darkTheme: DARK_THEME,\n },\n themesErrors: {\n lightTheme: {},\n darkTheme: {},\n },\n };\n }\n\n public render() {\n const { currentTheme, editorOpened, currentThemeType } = this.state;\n return (\n <ThemeContext.Provider value={currentTheme}>\n {editorOpened && this.renderSidePage()}\n {\n <Playground\n onThemeChange={this.handleThemeChange}\n currentThemeType={currentThemeType}\n onEditLinkClick={this.handleOpen}\n />\n }\n </ThemeContext.Provider>\n );\n }\n\n private renderSidePage = () => {\n const { currentTheme, themesErrors, editingThemeItem, themes } = this.state;\n\n const editingThemeType = getEditingThemeType(editingThemeItem);\n const themeErrors = themesErrors[editingThemeType];\n\n return (\n <SidePage disableAnimations ignoreBackgroundClick blockBackground width={600} onClose={this.handleClose}>\n <SidePage.Header>\n <div className={styles.editorHeaderWrapper(currentTheme)}>\n <Gapped wrap verticalAlign=\"middle\">\n <span>Тема для редактирования:</span>\n <ComboBox\n getItems={this.getEditableThemesItems}\n value={editingThemeItem}\n onValueChange={this.handleEditingThemeSwitch}\n />\n </Gapped>\n </div>\n <div style={{ fontSize: 14, marginTop: 8 }}>\n <Link onClick={this.handleGetTheme}>Вывести тему в консоль</Link>\n </div>\n </SidePage.Header>\n <SidePage.Body>\n <div className={styles.sidePageBody()}>\n <ThemeEditor\n editingTheme={themes[editingThemeType]}\n currentTheme={currentTheme}\n currentErrors={themeErrors}\n onValueChange={this.handleThemeVariableChange}\n />\n </div>\n </SidePage.Body>\n </SidePage>\n );\n };\n\n private handleGetTheme = () => {\n const currentTheme = this.state.currentTheme;\n const themeObject: Writeable<ThemeIn> = {};\n ThemeFactory.getKeys(currentTheme).forEach((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(currentTheme, key);\n if (descriptor && !descriptor.get && LIGHT_THEME[key] && currentTheme[key] !== LIGHT_THEME[key]) {\n themeObject[key] = currentTheme[key] as keyof Theme;\n }\n });\n\n console.log(JSON.stringify(themeObject));\n };\n\n private handleOpen = () => {\n this.setState((state) => ({\n editorOpened: true,\n editingThemeItem: this.editableThemesItems.find((i) => i.value === state.currentThemeType),\n }));\n };\n\n private handleClose = () => {\n this.setState({\n editorOpened: false,\n });\n };\n\n private handleThemeChange = (value: string) => {\n const themeType = value as ThemeType;\n this.setState({\n currentThemeType: themeType,\n currentTheme: this.state.themes[themeType],\n });\n };\n\n private handleThemeVariableChange = (variable: keyof Theme, value: string) => {\n const { editingThemeItem, currentTheme, themes, themesErrors } = this.state;\n const editingThemeType = getEditingThemeType(editingThemeItem);\n\n const theme = themes[editingThemeType];\n const currentValue = theme[variable] as string;\n\n let canSetVariable = true;\n if (ColorFunctions.isValid(currentValue)) {\n canSetVariable = ColorFunctions.isValid(value);\n themesErrors[editingThemeType][variable] = !canSetVariable;\n }\n\n const nextThemeErrors: ThemesErrors = { ...themesErrors };\n nextThemeErrors[editingThemeType][variable] = !canSetVariable;\n const stateUpdate = { themes, currentTheme, themesErrors: nextThemeErrors };\n\n if (canSetVariable) {\n const result = this.changeThemeVariable(theme, variable, value);\n stateUpdate.themes[editingThemeType] = result;\n if (this.state.currentThemeType === editingThemeType) {\n stateUpdate.currentTheme = result;\n }\n }\n\n this.setState(stateUpdate);\n };\n\n private getEditableThemesItems = (query: string) => {\n return Promise.resolve(this.editableThemesItems.filter((i) => i.label.toLowerCase().includes(query.toLowerCase())));\n };\n\n private handleEditingThemeSwitch = (item: EditingThemeItem) => {\n this.setState({ editingThemeItem: item });\n };\n\n private changeThemeVariable = (theme: Theme, variableName: keyof Theme, variableValue: string): Theme => {\n const result: ThemeIn = {};\n ThemeFactory.getKeys(theme).forEach((key) => {\n const descriptor = findPropertyDescriptor(theme, key);\n descriptor.enumerable = true;\n descriptor.configurable = true;\n if (key === variableName) {\n delete descriptor.get;\n delete descriptor.set;\n descriptor.value = variableValue;\n }\n Object.defineProperty(result, key, descriptor);\n });\n\n return ThemeFactory.create<ThemeIn>(result);\n };\n}\n"],"mappings":"gIAAA,OAAOA,KAAK,MAAqB,OAAO;;AAExC,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,OAAO,KAAKC,cAAc,MAAM,iCAAiC;;AAEjE,SAASC,sBAAsB,QAAQ,gCAAgC;AACvE,SAASC,WAAW,QAAQ,qCAAqC;AACjE,SAASC,UAAU,QAAQ,oCAAoC;;AAE/D,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,UAAU,QAAQ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ACN0E,UAAU,EAAEjG,WAAW,EACvBkG,SAAS,EAAEjG,UAAU,CACvB,CAAC,EACDqB,YAAY,EAAE,EACZ2E,UAAU,EAAE,CAAC,CAAC,EACdC,SAAS,EAAE,CAAC,CAAC,CACf,CAAC,CACH,CAAC,CAAC,OAAAtF,KAAA,CACJ,CAACuF,cAAA,CAAA1F,sBAAA,EAAAC,gBAAA,MAAA0F,MAAA,GAAA3F,sBAAA,CAAA4F,SAAA,CAAAD,MAAA,CAEME,MAAM,GAAb,SAAAA,OAAA,EAAgB,CACd,IAAAC,YAAA,GAAyD,IAAI,CAACnF,KAAK,CAA3DC,YAAY,GAAAkF,YAAA,CAAZlF,YAAY,CAAE6C,YAAY,GAAAqC,YAAA,CAAZrC,YAAY,CAAEG,gBAAgB,GAAAkC,YAAA,CAAhBlC,gBAAgB,CACpD,oBACE9E,KAAA,CAAAmC,aAAA,CAAClC,YAAY,CAACgH,QAAQ,IAAChG,KAAK,EAAEa,YAAa,IACxC6C,YAAY,IAAI,IAAI,CAAChD,cAAc,CAAC,CAAC,eAEpC3B,KAAA,CAAAmC,aAAA,CAACtB,UAAU,IACTqG,aAAa,EAAE,IAAI,CAACnC,iBAAkB,EACtCD,gBAAgB,EAAEA,gBAAiB,EACnCqC,eAAe,EAAE,IAAI,CAAC1C,UAAW,EAClC,CAEkB,CAAC,CAE5B,CAAC,QAAAvD,sBAAA,GArCyClB,KAAK,CAACoH,SAAS","ignoreList":[]}
1
+ {"version":3,"names":["React","ThemeContext","ThemeFactory","SidePage","Gapped","ComboBox","Link","ColorFunctions","findPropertyDescriptor","LIGHT_THEME","DARK_THEME","ThemeEditor","styles","Playground","ThemeType","getEditingThemeType","editingThemeItem","value","ThemeContextPlayground","_React$Component","props","_this","call","editableThemesItems","LightTheme","label","DarkTheme","renderSidePage","_this$state","state","currentTheme","themesErrors","themes","editingThemeType","themeErrors","createElement","disableAnimations","ignoreBackgroundClick","blockBackground","width","onClose","handleClose","Header","className","editorHeaderWrapper","wrap","verticalAlign","getItems","getEditableThemesItems","onValueChange","handleEditingThemeSwitch","style","fontSize","marginTop","onClick","handleGetTheme","Body","sidePageBody","editingTheme","currentErrors","handleThemeVariableChange","themeObject","getKeys","forEach","key","descriptor","Object","getOwnPropertyDescriptor","get","console","log","JSON","stringify","handleOpen","setState","editorOpened","find","i","currentThemeType","handleThemeChange","themeType","variable","_this$state2","theme","currentValue","canSetVariable","isValid","nextThemeErrors","_extends","stateUpdate","result","changeThemeVariable","query","Promise","resolve","filter","toLowerCase","includes","item","variableName","variableValue","enumerable","configurable","set","defineProperty","create","lightTheme","darkTheme","_inheritsLoose","_proto","prototype","render","_this$state3","Provider","onThemeChange","onEditLinkClick","Component"],"sources":["ThemeContextPlayground.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport React from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport type { Theme, ThemeIn } from '../../lib/theming/Theme';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { SidePage } from '../../components/SidePage';\nimport { Gapped } from '../../components/Gapped';\nimport { ComboBox } from '../../components/ComboBox';\nimport { Link } from '../../components/Link';\nimport * as ColorFunctions from '../../lib/styles/ColorFunctions';\nimport type { Writeable } from '../../typings/utility-types';\nimport { findPropertyDescriptor } from '../../lib/theming/ThemeHelpers';\nimport { LIGHT_THEME } from '../../lib/theming/themes/LightTheme';\nimport { DARK_THEME } from '../../lib/theming/themes/DarkTheme';\n\nimport { ThemeEditor } from './ThemeEditor';\nimport { styles } from './Playground.styles';\nimport { Playground } from './Playground';\nimport { ThemeType } from './constants';\n\ninterface PlaygroundState {\n editorOpened: boolean;\n editingThemeItem?: EditingThemeItem;\n themes: Themes;\n themesErrors: ThemesErrors;\n currentTheme: Theme;\n currentThemeType: ThemeType;\n}\ninterface Themes {\n lightTheme: Theme;\n darkTheme: Theme;\n}\ninterface ThemesErrors {\n lightTheme: ThemeErrorsType;\n darkTheme: ThemeErrorsType;\n}\ninterface EditingThemeItem {\n value: ThemeType;\n label: string;\n}\ninterface PlaygroundProps {\n children?: ReactNode;\n}\nexport type ThemeErrorsType = Writeable<{ [key in keyof Theme]?: boolean }>;\n\nconst getEditingThemeType = (editingThemeItem: PlaygroundState['editingThemeItem']) => {\n if (editingThemeItem) {\n return editingThemeItem.value;\n }\n\n return 'lightTheme';\n};\nexport class ThemeContextPlayground extends React.Component<PlaygroundProps, PlaygroundState> {\n private readonly editableThemesItems = [\n { value: ThemeType.LightTheme, label: 'Светлая 2022 тема' },\n { value: ThemeType.DarkTheme, label: 'Тёмная 2022 тема' },\n ];\n\n constructor(props: PlaygroundProps) {\n super(props);\n this.state = {\n currentTheme: LIGHT_THEME,\n currentThemeType: ThemeType.LightTheme,\n editorOpened: false,\n themes: {\n lightTheme: LIGHT_THEME,\n darkTheme: DARK_THEME,\n },\n themesErrors: {\n lightTheme: {},\n darkTheme: {},\n },\n };\n }\n\n public render() {\n const { currentTheme, editorOpened, currentThemeType } = this.state;\n return (\n <ThemeContext.Provider value={currentTheme}>\n {editorOpened && this.renderSidePage()}\n {\n <Playground\n onThemeChange={this.handleThemeChange}\n currentThemeType={currentThemeType}\n onEditLinkClick={this.handleOpen}\n />\n }\n </ThemeContext.Provider>\n );\n }\n\n private renderSidePage = () => {\n const { currentTheme, themesErrors, editingThemeItem, themes } = this.state;\n\n const editingThemeType = getEditingThemeType(editingThemeItem);\n const themeErrors = themesErrors[editingThemeType];\n\n return (\n <SidePage disableAnimations ignoreBackgroundClick blockBackground width={600} onClose={this.handleClose}>\n <SidePage.Header>\n <div className={styles.editorHeaderWrapper(currentTheme)}>\n <Gapped wrap verticalAlign=\"middle\">\n <span>Тема для редактирования:</span>\n <ComboBox\n getItems={this.getEditableThemesItems}\n value={editingThemeItem}\n onValueChange={this.handleEditingThemeSwitch}\n />\n </Gapped>\n </div>\n <div style={{ fontSize: 14, marginTop: 8 }}>\n <Link onClick={this.handleGetTheme}>Вывести тему в консоль</Link>\n </div>\n </SidePage.Header>\n <SidePage.Body>\n <div className={styles.sidePageBody()}>\n <ThemeEditor\n editingTheme={themes[editingThemeType]}\n currentTheme={currentTheme}\n currentErrors={themeErrors}\n onValueChange={this.handleThemeVariableChange}\n />\n </div>\n </SidePage.Body>\n </SidePage>\n );\n };\n\n private handleGetTheme = () => {\n const currentTheme = this.state.currentTheme;\n const themeObject: Writeable<ThemeIn> = {};\n ThemeFactory.getKeys(currentTheme).forEach((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(currentTheme, key);\n if (descriptor && !descriptor.get && LIGHT_THEME[key] && currentTheme[key] !== LIGHT_THEME[key]) {\n themeObject[key] = currentTheme[key] as keyof Theme;\n }\n });\n\n console.log(JSON.stringify(themeObject));\n };\n\n private handleOpen = () => {\n this.setState((state) => ({\n editorOpened: true,\n editingThemeItem: this.editableThemesItems.find((i) => i.value === state.currentThemeType),\n }));\n };\n\n private handleClose = () => {\n this.setState({\n editorOpened: false,\n });\n };\n\n private handleThemeChange = (value: string) => {\n const themeType = value as ThemeType;\n this.setState({\n currentThemeType: themeType,\n currentTheme: this.state.themes[themeType],\n });\n };\n\n private handleThemeVariableChange = (variable: keyof Theme, value: string) => {\n const { editingThemeItem, currentTheme, themes, themesErrors } = this.state;\n const editingThemeType = getEditingThemeType(editingThemeItem);\n\n const theme = themes[editingThemeType];\n const currentValue = theme[variable] as string;\n\n let canSetVariable = true;\n if (ColorFunctions.isValid(currentValue)) {\n canSetVariable = ColorFunctions.isValid(value);\n themesErrors[editingThemeType][variable] = !canSetVariable;\n }\n\n const nextThemeErrors: ThemesErrors = { ...themesErrors };\n nextThemeErrors[editingThemeType][variable] = !canSetVariable;\n const stateUpdate = { themes, currentTheme, themesErrors: nextThemeErrors };\n\n if (canSetVariable) {\n const result = this.changeThemeVariable(theme, variable, value);\n stateUpdate.themes[editingThemeType] = result;\n if (this.state.currentThemeType === editingThemeType) {\n stateUpdate.currentTheme = result;\n }\n }\n\n this.setState(stateUpdate);\n };\n\n private getEditableThemesItems = (query: string) => {\n return Promise.resolve(this.editableThemesItems.filter((i) => i.label.toLowerCase().includes(query.toLowerCase())));\n };\n\n private handleEditingThemeSwitch = (item: EditingThemeItem) => {\n this.setState({ editingThemeItem: item });\n };\n\n private changeThemeVariable = (theme: Theme, variableName: keyof Theme, variableValue: string): Theme => {\n const result: ThemeIn = {};\n ThemeFactory.getKeys(theme).forEach((key) => {\n const descriptor = findPropertyDescriptor(theme, key);\n descriptor.enumerable = true;\n descriptor.configurable = true;\n if (key === variableName) {\n delete descriptor.get;\n delete descriptor.set;\n descriptor.value = variableValue;\n }\n Object.defineProperty(result, key, descriptor);\n });\n\n return ThemeFactory.create<ThemeIn>(result);\n };\n}\n"],"mappings":";AACA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAASC,YAAY,QAAQ,gCAAgC;AAC7D,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,QAAQ,QAAQ,2BAA2B;AACpD,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,OAAO,KAAKC,cAAc,MAAM,iCAAiC;;AAEjE,SAASC,sBAAsB,QAAQ,gCAAgC;AACvE,SAASC,WAAW,QAAQ,qCAAqC;AACjE,SAASC,UAAU,QAAQ,oCAAoC;;AAE/D,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BvC,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,gBAAqD,EAAK;EACrF,IAAIA,gBAAgB,EAAE;IACpB,OAAOA,gBAAgB,CAACC,KAAK;EAC/B;;EAEA,OAAO,YAAY;AACrB,CAAC;AACD,WAAaC,sBAAsB,0BAAAC,gBAAA;;;;;;EAMjC,SAAAD,uBAAYE,KAAsB,EAAE,KAAAC,KA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,EAAgB,CACd,IAAAC,YAAA,GAAyD,IAAI,CAACnF,KAAK,CAA3DC,YAAY,GAAAkF,YAAA,CAAZlF,YAAY,CAAE6C,YAAY,GAAAqC,YAAA,CAAZrC,YAAY,CAAEG,gBAAgB,GAAAkC,YAAA,CAAhBlC,gBAAgB,CACpD,oBACE9E,KAAA,CAAAmC,aAAA,CAAClC,YAAY,CAACgH,QAAQ,IAAChG,KAAK,EAAEa,YAAa,IACxC6C,YAAY,IAAI,IAAI,CAAChD,cAAc,CAAC,CAAC,eAEpC3B,KAAA,CAAAmC,aAAA,CAACtB,UAAU,IACTqG,aAAa,EAAE,IAAI,CAACnC,iBAAkB,EACtCD,gBAAgB,EAAEA,gBAAiB,EACnCqC,eAAe,EAAE,IAAI,CAAC1C,UAAW,EAClC,CAEkB,CAAC,CAE5B,CAAC,QAAAvD,sBAAA,GArCyClB,KAAK,CAACoH,SAAS","ignoreList":[]}
@@ -1,6 +1,7 @@
1
- import React, { ReactNode } from 'react';
2
- import { Theme } from '../../lib/theming/Theme';
3
- import { Writeable } from '../../typings/utility-types';
1
+ import type { ReactNode } from 'react';
2
+ import React from 'react';
3
+ import type { Theme } from '../../lib/theming/Theme';
4
+ import type { Writeable } from '../../typings/utility-types';
4
5
  import { ThemeType } from './constants';
5
6
  interface PlaygroundState {
6
7
  editorOpened: boolean;
@@ -1 +1 @@
1
- {"version":3,"names":["React","ThemeFactory","Gapped","Loader","isNonNullable","VariableValue","VARIABLES_GROUPS","DEPRECATED_VARIABLES","styles","ThemeEditor","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","groups","isLoading","renderGroups","_this$props","props","editingTheme","currentTheme","currentErrors","onValueChange","keys","getKeys","filter","key","isDeprecatedVariable","createElement","vertical","map","i","Group","title","variables","isCommon","isCommonVariable","bind","reduce","prefixesReducer","isGroupVariable","prefix","_inheritsLoose","_proto","prototype","render","className","loaderWrapper","type","active","loader","componentDidMount","_this2","updateTimeout","window","setTimeout","setState","componentWillUnmount","clearTimeout","Component","Fragment","editorGroupHeader","variable","value","isError","theme","onChange","baseVariables","getBaseVariables","deprecated","name","includes","splitPrefix","split","_iterator","_createForOfIteratorHelperLoose","_step","done","item","startsWith","trim","prefixes","_iterator2","_step2","acc","current","Object","getPrototypeOf","hasOwnProperty","descriptor","getOwnPropertyDescriptor","get","getterBody","toString","variableNameMatchArray","match","v","replace"],"sources":["ThemeEditor.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { Theme } from '../../lib/theming/Theme';\nimport { Gapped } from '../../components/Gapped';\nimport { Loader } from '../../components/Loader';\nimport { isNonNullable } from '../../lib/utils';\n\nimport { VariableValue } from './VariableValue';\nimport { VARIABLES_GROUPS, DEPRECATED_VARIABLES } from './constants';\nimport { ThemeErrorsType } from './ThemeContextPlayground';\nimport { styles } from './Playground.styles';\n\ninterface ThemeEditorProps {\n editingTheme: Theme;\n currentTheme: Theme;\n currentErrors: ThemeErrorsType;\n onValueChange: (variable: keyof Theme, value: string) => void;\n}\ninterface ThemeEditorState {\n groups: Group[];\n isLoading: boolean;\n}\ninterface Group {\n title: string;\n prefix: string;\n isCommon?: boolean;\n}\nexport class ThemeEditor extends React.Component<ThemeEditorProps, ThemeEditorState> {\n public state: ThemeEditorState = {\n groups: [],\n isLoading: true,\n };\n private updateTimeout?: number;\n\n public render() {\n return this.state.isLoading ? (\n <div className={styles.loaderWrapper()}>\n <Loader type=\"big\" active className={styles.loader()} />\n </div>\n ) : (\n this.renderGroups()\n );\n }\n\n public componentDidMount() {\n this.updateTimeout = window.setTimeout(() => {\n this.setState({ groups: VARIABLES_GROUPS, isLoading: false });\n }, 500);\n }\n\n public componentWillUnmount(): void {\n clearTimeout(this.updateTimeout);\n }\n\n private renderGroups = () => {\n const { editingTheme, currentTheme, currentErrors, onValueChange } = this.props;\n const keys = ThemeFactory.getKeys(editingTheme).filter((key) => !isDeprecatedVariable(key));\n\n return (\n <Gapped vertical>\n {this.state.groups.map((i: Group) => (\n <Group\n editingTheme={editingTheme}\n currentTheme={currentTheme}\n currentErrors={currentErrors}\n onValueChange={onValueChange}\n title={i.title}\n variables={keys.filter(\n i.isCommon\n ? isCommonVariable.bind(null, this.state.groups.reduce(prefixesReducer, []))\n : isGroupVariable.bind(null, i.prefix),\n )}\n key={i.title}\n />\n ))}\n {DEPRECATED_VARIABLES.length > 0 ? (\n <Group\n editingTheme={editingTheme}\n currentTheme={currentTheme}\n currentErrors={currentErrors}\n onValueChange={onValueChange}\n title={'Deprecated Variables'}\n variables={DEPRECATED_VARIABLES}\n />\n ) : null}\n </Gapped>\n );\n };\n}\n\ninterface GroupProps {\n editingTheme: Theme;\n currentTheme: Theme;\n currentErrors: ThemeErrorsType;\n title: string;\n variables: Array<keyof Theme>;\n onValueChange: (variable: keyof Theme, value: string) => void;\n}\nconst Group = (props: GroupProps) => {\n const { editingTheme, currentTheme, currentErrors, onValueChange, title, variables } = props;\n\n return variables.length > 0 ? (\n <React.Fragment>\n <h2 className={styles.editorGroupHeader(currentTheme)}>{title}</h2>\n {variables.map((variable) => {\n const value = editingTheme[variable] as string;\n const isError = currentErrors[variable];\n return (\n <VariableValue\n theme={currentTheme}\n onChange={onValueChange}\n value={value}\n isError={isError || false}\n variable={variable}\n key={variable}\n baseVariables={getBaseVariables(editingTheme, variable)}\n deprecated={isDeprecatedVariable(variable)}\n />\n );\n })}\n </React.Fragment>\n ) : null;\n};\n\nconst isDeprecatedVariable = (name: keyof Theme) => {\n return DEPRECATED_VARIABLES.includes(name);\n};\n\nconst isGroupVariable = (prefix: string, name: string) => {\n const splitPrefix = prefix.split(' ') || [];\n\n for (const item of splitPrefix) {\n if (name.startsWith(item.trim())) {\n return true;\n }\n }\n return false;\n};\nconst isCommonVariable = (prefixes: string[], name: string) => {\n for (const item of prefixes) {\n if (name.startsWith(item.trim())) {\n return false;\n }\n }\n return true;\n};\nconst prefixesReducer = (acc: string[], current: { title: string; prefix: string }): string[] => {\n const splitPrefix = current.prefix.split(' ');\n return [...acc, ...splitPrefix];\n};\n\ntype GetBaseVariablesReturnType = Array<keyof Theme>;\nconst getBaseVariables = (theme: Theme, variable: keyof Theme): GetBaseVariablesReturnType => {\n // TODO: Rewrite for loop.\n // TODO: Enable `no-param-reassign` rule.\n // eslint-disable-next-line no-param-reassign\n for (; isNonNullable(theme); theme = Object.getPrototypeOf(theme)) {\n if (Object.prototype.hasOwnProperty.call(theme, variable)) {\n const descriptor = Object.getOwnPropertyDescriptor(theme, variable);\n\n if (descriptor && typeof descriptor.get !== 'undefined') {\n const getterBody = descriptor.get.toString();\n const variableNameMatchArray = getterBody.match(/this\\.(\\w+)\\b/gm) || [];\n return (variableNameMatchArray || []).map((v) => v.replace(/this\\./g, '')) as GetBaseVariablesReturnType;\n }\n break;\n }\n }\n\n return [];\n};\n"],"mappings":"8KAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,aAAa,QAAQ,iBAAiB;;AAE/C,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,gBAAgB,EAAEC,oBAAoB,QAAQ,aAAa;;AAEpE,SAASC,MAAM,QAAQ,qBAAqB;;;;;;;;;;;;;;;;;AAiB5C,WAAaC,WAAW,0BAAAC,gBAAA,YAAAD,YAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;IACfU,KAAK,GAAqB;MAC/BC,MAAM,EAA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,wBAAwB,CAACzB,KAAK,EAAEH,QAAQ,CAAC;;MAEnE,IAAI2B,UAAU,IAAI,OAAOA,UAAU,CAACE,GAAG,KAAK,WAAW,EAAE;QACvD,IAAMC,UAAU,GAAGH,UAAU,CAACE,GAAG,CAACE,QAAQ,CAAC,CAAC;QAC5C,IAAMC,sBAAsB,GAAGF,UAAU,CAACG,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE;QACxE,OAAO,CAACD,sBAAsB,IAAI,EAAE,EAAEhE,GAAG,CAAC,UAACkE,CAAC,UAAKA,CAAC,CAACC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,GAAC;MAC5E;MACA;IACF;EACF;;EAEA,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","ThemeFactory","Gapped","Loader","isNonNullable","VariableValue","VARIABLES_GROUPS","DEPRECATED_VARIABLES","styles","ThemeEditor","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","state","groups","isLoading","renderGroups","_this$props","props","editingTheme","currentTheme","currentErrors","onValueChange","keys","getKeys","filter","key","isDeprecatedVariable","createElement","vertical","map","i","Group","title","variables","isCommon","isCommonVariable","bind","reduce","prefixesReducer","isGroupVariable","prefix","_inheritsLoose","_proto","prototype","render","className","loaderWrapper","type","active","loader","componentDidMount","_this2","updateTimeout","window","setTimeout","setState","componentWillUnmount","clearTimeout","Component","Fragment","editorGroupHeader","variable","value","isError","theme","onChange","baseVariables","getBaseVariables","deprecated","name","includes","splitPrefix","split","_iterator","_createForOfIteratorHelperLoose","_step","done","item","startsWith","trim","prefixes","_iterator2","_step2","acc","current","Object","getPrototypeOf","hasOwnProperty","descriptor","getOwnPropertyDescriptor","get","getterBody","toString","variableNameMatchArray","match","v","replace"],"sources":["ThemeEditor.tsx"],"sourcesContent":["import React from 'react';\n\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport type { Theme } from '../../lib/theming/Theme';\nimport { Gapped } from '../../components/Gapped';\nimport { Loader } from '../../components/Loader';\nimport { isNonNullable } from '../../lib/utils';\n\nimport { VariableValue } from './VariableValue';\nimport { VARIABLES_GROUPS, DEPRECATED_VARIABLES } from './constants';\nimport type { ThemeErrorsType } from './ThemeContextPlayground';\nimport { styles } from './Playground.styles';\n\ninterface ThemeEditorProps {\n editingTheme: Theme;\n currentTheme: Theme;\n currentErrors: ThemeErrorsType;\n onValueChange: (variable: keyof Theme, value: string) => void;\n}\ninterface ThemeEditorState {\n groups: Group[];\n isLoading: boolean;\n}\ninterface Group {\n title: string;\n prefix: string;\n isCommon?: boolean;\n}\nexport class ThemeEditor extends React.Component<ThemeEditorProps, ThemeEditorState> {\n public state: ThemeEditorState = {\n groups: [],\n isLoading: true,\n };\n private updateTimeout?: number;\n\n public render() {\n return this.state.isLoading ? (\n <div className={styles.loaderWrapper()}>\n <Loader type=\"big\" active className={styles.loader()} />\n </div>\n ) : (\n this.renderGroups()\n );\n }\n\n public componentDidMount() {\n this.updateTimeout = window.setTimeout(() => {\n this.setState({ groups: VARIABLES_GROUPS, isLoading: false });\n }, 500);\n }\n\n public componentWillUnmount(): void {\n clearTimeout(this.updateTimeout);\n }\n\n private renderGroups = () => {\n const { editingTheme, currentTheme, currentErrors, onValueChange } = this.props;\n const keys = ThemeFactory.getKeys(editingTheme).filter((key) => !isDeprecatedVariable(key));\n\n return (\n <Gapped vertical>\n {this.state.groups.map((i: Group) => (\n <Group\n editingTheme={editingTheme}\n currentTheme={currentTheme}\n currentErrors={currentErrors}\n onValueChange={onValueChange}\n title={i.title}\n variables={keys.filter(\n i.isCommon\n ? isCommonVariable.bind(null, this.state.groups.reduce(prefixesReducer, []))\n : isGroupVariable.bind(null, i.prefix),\n )}\n key={i.title}\n />\n ))}\n {DEPRECATED_VARIABLES.length > 0 ? (\n <Group\n editingTheme={editingTheme}\n currentTheme={currentTheme}\n currentErrors={currentErrors}\n onValueChange={onValueChange}\n title={'Deprecated Variables'}\n variables={DEPRECATED_VARIABLES}\n />\n ) : null}\n </Gapped>\n );\n };\n}\n\ninterface GroupProps {\n editingTheme: Theme;\n currentTheme: Theme;\n currentErrors: ThemeErrorsType;\n title: string;\n variables: Array<keyof Theme>;\n onValueChange: (variable: keyof Theme, value: string) => void;\n}\nconst Group = (props: GroupProps) => {\n const { editingTheme, currentTheme, currentErrors, onValueChange, title, variables } = props;\n\n return variables.length > 0 ? (\n <React.Fragment>\n <h2 className={styles.editorGroupHeader(currentTheme)}>{title}</h2>\n {variables.map((variable) => {\n const value = editingTheme[variable] as string;\n const isError = currentErrors[variable];\n return (\n <VariableValue\n theme={currentTheme}\n onChange={onValueChange}\n value={value}\n isError={isError || false}\n variable={variable}\n key={variable}\n baseVariables={getBaseVariables(editingTheme, variable)}\n deprecated={isDeprecatedVariable(variable)}\n />\n );\n })}\n </React.Fragment>\n ) : null;\n};\n\nconst isDeprecatedVariable = (name: keyof Theme) => {\n return DEPRECATED_VARIABLES.includes(name);\n};\n\nconst isGroupVariable = (prefix: string, name: string) => {\n const splitPrefix = prefix.split(' ') || [];\n\n for (const item of splitPrefix) {\n if (name.startsWith(item.trim())) {\n return true;\n }\n }\n return false;\n};\nconst isCommonVariable = (prefixes: string[], name: string) => {\n for (const item of prefixes) {\n if (name.startsWith(item.trim())) {\n return false;\n }\n }\n return true;\n};\nconst prefixesReducer = (acc: string[], current: { title: string; prefix: string }): string[] => {\n const splitPrefix = current.prefix.split(' ');\n return [...acc, ...splitPrefix];\n};\n\ntype GetBaseVariablesReturnType = Array<keyof Theme>;\nconst getBaseVariables = (theme: Theme, variable: keyof Theme): GetBaseVariablesReturnType => {\n // TODO: Rewrite for loop.\n // TODO: Enable `no-param-reassign` rule.\n // eslint-disable-next-line no-param-reassign\n for (; isNonNullable(theme); theme = Object.getPrototypeOf(theme)) {\n if (Object.prototype.hasOwnProperty.call(theme, variable)) {\n const descriptor = Object.getOwnPropertyDescriptor(theme, variable);\n\n if (descriptor && typeof descriptor.get !== 'undefined') {\n const getterBody = descriptor.get.toString();\n const variableNameMatchArray = getterBody.match(/this\\.(\\w+)\\b/gm) || [];\n return (variableNameMatchArray || []).map((v) => v.replace(/this\\./g, '')) as GetBaseVariablesReturnType;\n }\n break;\n }\n }\n\n return [];\n};\n"],"mappings":"8KAAA,OAAOA,KAAK,MAAM,OAAO;;AAEzB,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,MAAM,QAAQ,yBAAyB;AAChD,SAASC,aAAa,QAAQ,iBAAiB;;AAE/C,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,gBAAgB,EAAEC,oBAAoB,QAAQ,aAAa;;AAEpE,SAASC,MAAM,QAAQ,qBAAqB;;;;;;;;;;;;;;;;;AAiB5C,WAAaC,WAAW,0BAAAC,gBAAA,YAAAD,YAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;IACfU,KAAK,GAAqB;MAC/BC,MAAM,EAAE,EAAE;MACVC,SAAS,EAAE;IACb,CAAC,CAAAZ,KAAA;;;;;;;;;;;;;;;;;;;;;;;IAuBOa,YAAY,GAAG,YAAM;MAC3B,IAAAC,WAAA,GAAqEd,KAAA,CAAKe,KAAK,CAAvEC,YAAY,GAAAF,WAAA,CAAZE,YAAY,CAAEC,YAAY,GAAAH,WAAA,CAAZG,YAAY,CAAEC,aAAa,GAAAJ,WAAA,CAAbI,aAAa,CAAEC,aAAa,GAAAL,WAAA,CAAbK,aAAa;MAChE,IAAMC,IAAI,GAAG9B,YAAY,CAAC+B,OAAO,CAACL,YAAY,CAAC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E,EAAE,CAAC,GAAC;MAC5E;MACA;IACF;EACF;;EAEA,OAAO,EAAE;AACX,CAAC","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { Theme } from '../../lib/theming/Theme';
3
- import { ThemeErrorsType } from './ThemeContextPlayground';
2
+ import type { Theme } from '../../lib/theming/Theme';
3
+ import type { ThemeErrorsType } from './ThemeContextPlayground';
4
4
  interface ThemeEditorProps {
5
5
  editingTheme: Theme;
6
6
  currentTheme: Theme;
@@ -1 +1 @@
1
- {"version":3,"names":["React","useState","ThemeContext","ThemeFactory","Checkbox","Radio","FileUploader","Paging","getComponentsFromPropsList","propsList","children","initialIndeterminate","checked","focused","UnlinkVarsPlayground","theme","create","borderColorFocus","linkColor","_useState","active","setActive","createElement","Provider","value","style","display","gap","activePage","pagesCount","onPageChange","num"],"sources":["UnlinkVarsPlayground.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport { Checkbox, CheckboxProps } from '../../components/Checkbox';\nimport { Radio } from '../../components/Radio';\nimport { FileUploader } from '../../components/FileUploader';\nimport { Paging } from '../../components/Paging';\n\nimport { getComponentsFromPropsList } from './helpers';\n\ntype CheckboxProp = CheckboxProps & { focused?: boolean };\nconst propsList: CheckboxProp[] = [\n { children: 'Semichecked', initialIndeterminate: true },\n { children: 'Checked', checked: true },\n { children: 'Checked & Focused', checked: true, focused: true },\n];\n\nexport const UnlinkVarsPlayground = () => {\n const theme = ThemeFactory.create({ borderColorFocus: '#7474DA', linkColor: '#0000cc' });\n const [active, setActive] = useState(3);\n return (\n <ThemeContext.Provider value={theme}>\n <div style={{ display: 'grid', gap: '10px' }}>\n {getComponentsFromPropsList(<Checkbox />, propsList)}\n <Paging activePage={active} pagesCount={5} onPageChange={(num) => setActive(num)} />\n <FileUploader />\n <Radio value={'foo'} focused />\n </div>\n </ThemeContext.Provider>\n );\n};\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UAAU,EAAE,CAAE,EAACC,YAAY,EAAE,SAAAA,aAACC,GAAG,UAAKV,SAAS,CAACU,GAAG,CAAC,EAAC,EAAE,CAAC;IACpF/B,KAAA,CAAAsB,aAAA,CAAChB,YAAY,MAAE,CAAC;IAChBN,KAAA,CAAAsB,aAAA,CAACjB,KAAK,IAACmB,KAAK,EAAE,KAAM,EAACX,OAAO,QAAE;IAC3B;IACgB,CAAC;;AAE5B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["React","useState","ThemeContext","ThemeFactory","Checkbox","Radio","FileUploader","Paging","getComponentsFromPropsList","propsList","children","initialIndeterminate","checked","focused","UnlinkVarsPlayground","theme","create","borderColorFocus","linkColor","_useState","active","setActive","createElement","Provider","value","style","display","gap","activePage","pagesCount","onPageChange","num"],"sources":["UnlinkVarsPlayground.tsx"],"sourcesContent":["import React, { useState } from 'react';\n\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { ThemeFactory } from '../../lib/theming/ThemeFactory';\nimport type { CheckboxProps } from '../../components/Checkbox';\nimport { Checkbox } from '../../components/Checkbox';\nimport { Radio } from '../../components/Radio';\nimport { FileUploader } from '../../components/FileUploader';\nimport { Paging } from '../../components/Paging';\n\nimport { getComponentsFromPropsList } from './helpers';\n\ntype CheckboxProp = CheckboxProps & { focused?: boolean };\nconst propsList: CheckboxProp[] = [\n { children: 'Semichecked', initialIndeterminate: true },\n { children: 'Checked', checked: true },\n { children: 'Checked & Focused', checked: true, focused: true },\n];\n\nexport const UnlinkVarsPlayground = () => {\n const theme = ThemeFactory.create({ borderColorFocus: '#7474DA', linkColor: '#0000cc' });\n const [active, setActive] = useState(3);\n return (\n <ThemeContext.Provider value={theme}>\n <div style={{ display: 'grid', gap: '10px' }}>\n {getComponentsFromPropsList(<Checkbox />, propsList)}\n <Paging activePage={active} pagesCount={5} onPageChange={(num) => setActive(num)} />\n <FileUploader />\n <Radio value={'foo'} focused />\n </div>\n </ThemeContext.Provider>\n );\n};\n"],"mappings":"AAA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AAE,EAACC,YAAY,EAAE,SAAAA,aAACC,GAAG,UAAKV,SAAS,CAACU,GAAG,CAAC,EAAC,EAAE,CAAC;IACpF/B,KAAA,CAAAsB,aAAA,CAAChB,YAAY,MAAE,CAAC;IAChBN,KAAA,CAAAsB,aAAA,CAACjB,KAAK,IAACmB,KAAK,EAAE,KAAM,EAACX,OAAO,QAAE;IAC3B;IACgB,CAAC;;AAE5B,CAAC","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
2
2
  import React from 'react';
3
- import EditIcon from '@skbkontur/react-icons/Edit';
4
- import DeleteIcon from '@skbkontur/react-icons/Delete';
3
+ import { ToolPencilLineIcon16Regular } from '@skbkontur/icons/icons/ToolPencilLineIcon/ToolPencilLineIcon16Regular';
4
+ import { XIcon16Regular } from '@skbkontur/icons/icons/XIcon/XIcon16Regular';
5
5
  import EventEmitter from 'eventemitter3';
6
6
  import { isColor } from "../../../lib/styles/ColorHelpers";
7
7
  import { Input } from "../../../components/Input";
@@ -59,7 +59,7 @@ export var VariableValue = /*#__PURE__*/function (_React$Component) {
59
59
  text: 'Изменить значение'
60
60
  }, /*#__PURE__*/
61
61
  React.createElement(Link, {
62
- icon: /*#__PURE__*/React.createElement(EditIcon, null),
62
+ icon: /*#__PURE__*/React.createElement(ToolPencilLineIcon16Regular, null),
63
63
  onClick: _this.handleEditLinkClick
64
64
  })))))
65
65
  );
@@ -182,7 +182,7 @@ export var VariableValue = /*#__PURE__*/function (_React$Component) {
182
182
  }, /*#__PURE__*/React.createElement("div", {
183
183
  className: styles.linkRoot()
184
184
  }, /*#__PURE__*/React.createElement(Link, {
185
- icon: /*#__PURE__*/React.createElement(DeleteIcon, null),
185
+ icon: /*#__PURE__*/React.createElement(XIcon16Regular, null),
186
186
  onClick: this.rollbackToBaseVariable
187
187
  })));
188
188
  };
@@ -1 +1 @@
1
- {"version":3,"names":["React","EditIcon","DeleteIcon","EventEmitter","isColor","Input","Gapped","Link","Hint","isFunction","cx","createPropsGetter","styles","emitter","VariableValue","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","state","value","props","editing","subscription","rootElement","debounceTimeout","debounceInterval","undefined","renderBaseVariableLink","baseVariables","createElement","className","baseVariableRoot","colorIcon","baseLinkWrapper","style","textAlign","vertical","map","v","BaseVariableLink","key","baseVariable","emitClickEvent","text","icon","onClick","handleEditLinkClick","renderInputWrapper","renderInput","renderRollbackIcon","rootRef","instance","background","setState","rollbackToBaseVariable","variable","emit","handleChange","window","setInterval","debounceHandler","_this$props","onChange","clearInterval","handleBlur","emitterEventHandler","name","focus","_inheritsLoose","_proto","prototype","render","_cx","_this$props2","theme","deprecated","ref","tabIndex","variableName","title","componentDidMount","_this2","addListener","remove","removeListener","componentDidUpdate","prevProps","componentWillUnmount","leftIcon","isColorExtended","onValueChange","onBlur","align","width","error","isError","linkRoot","Component","_React$Component2","_this3","_len2","_key2","_proto2","getColorValue","color","colorValue","Option"],"sources":["VariableValue.tsx"],"sourcesContent":["import React from 'react';\nimport EditIcon from '@skbkontur/react-icons/Edit';\nimport DeleteIcon from '@skbkontur/react-icons/Delete';\nimport EventEmitter from 'eventemitter3';\n\nimport { isColor } from '../../lib/styles/ColorHelpers';\nimport { Input } from '../../components/Input';\nimport { Gapped } from '../../components/Gapped';\nimport { Theme } from '../../lib/theming/Theme';\nimport { Link } from '../../components/Link';\nimport { Hint } from '../../components/Hint';\nimport { isFunction } from '../../lib/utils';\nimport { cx } from '../../lib/theming/Emotion';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\n\nimport { styles } from './Playground.styles';\n\nconst emitter = new EventEmitter();\n\nexport interface VariableValueProps {\n onChange: (variable: keyof Theme, value: string) => void;\n value: string;\n isError: boolean;\n variable: string;\n theme: Theme;\n baseVariables: Array<keyof Theme>;\n deprecated?: boolean;\n}\n\nexport interface VariableValueState {\n value: string;\n editing: boolean;\n}\n\ntype DefaultProps = Required<Pick<VariableValueProps, 'deprecated'>>;\n\nexport class VariableValue extends React.Component<VariableValueProps, VariableValueState> {\n public static defaultProps: DefaultProps = {\n deprecated: false,\n };\n private getProps = createPropsGetter(VariableValue.defaultProps);\n public state: VariableValueState = {\n value: this.props.value,\n editing: false,\n };\n private subscription: { remove: () => void } | null = null;\n private rootElement: HTMLElement | null = null;\n private readonly debounceTimeout = 500;\n private debounceInterval: number | undefined = undefined;\n\n public render() {\n const { variable, theme, baseVariables } = this.props;\n const deprecated = this.getProps().deprecated;\n return (\n <div className={styles.variable(theme)} ref={this.rootRef} tabIndex={0}>\n <div\n className={cx(styles.variableName(theme), { [styles.deprecated()]: deprecated })}\n title={variable}\n >{`${variable}: `}</div>\n {baseVariables.length > 0 && !this.state.editing ? this.renderBaseVariableLink() : this.renderInputWrapper()}\n </div>\n );\n }\n\n public componentDidMount(): void {\n if (!this.subscription) {\n emitter.addListener('clicked', this.emitterEventHandler);\n this.subscription = {\n remove: () => {\n emitter.removeListener('clicked', this.emitterEventHandler);\n },\n };\n }\n }\n\n public componentDidUpdate(prevProps: VariableValueProps) {\n if (prevProps.value !== this.props.value) {\n this.setState({ value: this.props.value });\n }\n }\n\n public componentWillUnmount(): void {\n if (this.subscription) {\n this.subscription.remove();\n }\n if (this.debounceInterval !== undefined) {\n clearInterval(this.debounceInterval);\n }\n }\n\n private renderBaseVariableLink = () => {\n const baseVariables = this.props.baseVariables;\n return (\n <div className={styles.baseVariableRoot()}>\n {this.colorIcon()}\n <div className={styles.baseLinkWrapper()}>\n <Gapped>\n <div style={{ textAlign: 'right' }}>\n <Gapped vertical>\n {baseVariables.map((v) => (\n <BaseVariableLink key={v} baseVariable={v} emitClickEvent={this.emitClickEvent} />\n ))}\n </Gapped>\n </div>\n <Hint text={'Изменить значение'}>\n <Link icon={<EditIcon />} onClick={this.handleEditLinkClick} />\n </Hint>\n </Gapped>\n </div>\n </div>\n );\n };\n\n private renderInputWrapper = () => {\n return this.state.editing ? (\n <Gapped>\n {this.renderInput()}\n {this.renderRollbackIcon()}\n </Gapped>\n ) : (\n this.renderInput()\n );\n };\n\n private renderInput() {\n return (\n <Input\n leftIcon={isColorExtended(this.state.value) && this.colorIcon()}\n value={this.state.value}\n onValueChange={this.handleChange}\n onBlur={this.handleBlur}\n align={'right'}\n width={this.state.editing ? 225 : 250}\n error={this.props.isError}\n />\n );\n }\n\n private renderRollbackIcon() {\n return (\n <Hint text={'Вернуться к базовой переменной'}>\n <div className={styles.linkRoot()}>\n <Link icon={<DeleteIcon />} onClick={this.rollbackToBaseVariable} />\n </div>\n </Hint>\n );\n }\n\n private rootRef = (instance: HTMLElement | null) => {\n this.rootElement = instance;\n };\n\n private colorIcon = () => {\n return <div className={styles.colorIcon()} style={{ background: this.state.value }} />;\n };\n\n private handleEditLinkClick = () => {\n this.setState({\n editing: true,\n });\n };\n\n private rollbackToBaseVariable = () => {\n this.setState({\n editing: false,\n value: this.props.value,\n });\n };\n\n private emitClickEvent = (variable: string | number) => {\n emitter.emit('clicked', variable);\n };\n\n private handleChange = (value: string) => {\n this.setState({\n value,\n });\n\n if (this.debounceInterval === undefined) {\n this.debounceInterval = window.setInterval(this.debounceHandler, this.debounceTimeout);\n }\n };\n\n private debounceHandler = () => {\n const { variable, onChange } = this.props;\n\n onChange(variable as keyof Theme, this.state.value);\n\n clearInterval(this.debounceInterval);\n this.debounceInterval = undefined;\n };\n\n private handleBlur = () => {\n this.setState({\n editing: false,\n });\n };\n\n private emitterEventHandler = (name: keyof Theme) => {\n if (name === this.props.variable && this.rootElement) {\n this.rootElement.focus();\n }\n };\n}\n\ninterface BaseVariableLinkProps {\n baseVariable: string | number;\n emitClickEvent: (baseVariable: string | number) => void;\n}\nclass BaseVariableLink extends React.Component<BaseVariableLinkProps> {\n public render() {\n return <Link onClick={this.emitClickEvent}>{this.props.baseVariable}</Link>;\n }\n private emitClickEvent = () => {\n this.props.emitClickEvent(this.props.baseVariable);\n };\n}\n\ntype Color = string | (() => string);\n\nconst getColorValue = (color: Color) => {\n if (isFunction(color)) {\n return color();\n }\n\n return color;\n};\n\nfunction isColorExtended(color: Color) {\n const colorValue = getColorValue(color);\n\n const style = new Option().style;\n style.color = colorValue;\n\n if (colorValue) {\n return isColor(colorValue) || style.color === colorValue;\n }\n\n return false;\n}\n"],"mappings":"sEAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,6BAA6B;AAClD,OAAOC,UAAU,MAAM,+BAA+B;AACtD,OAAOC,YAAY,MAAM,eAAe;;AAExC,SAASC,OAAO,QAAQ,+BAA+B;AACvD,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,MAAM,QAAQ,yBAAyB;;AAEhD,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,SAASC,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,iBAAiB,QAAQ,6BAA6B;;AAE/D,SAASC,MAAM,QAAQ,qBAAqB;;AAE5C,IAAMC,OAAO,GAAG,IAAIV,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;AAmBlC,WAAaW,aAAa,0BAAAC,gBAAA,YAAAD,cAAA,OAAAE,KAAA,UAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,KAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA,GAAAN,KAAA,GAAAD,gBAAA,CAAAQ,IAAA,CAAAC,KAAA,CAAAT,gBAAA,SAAAU,MAAA,CAAAL,IAAA,WAAAJ,KAAA;;;;IAIhBU,QAAQ,GAAGf,iBAAiB,CAACG,aAAa,CAACa,YAAY,CAAC,CAAAX,KAAA;IACzDY,KAAK,GAAuB;MACjCC,KAAK,EAAEb,KAAA,CAAKc,KAAK,CAACD,KAAK;MACvBE,OAAO,EAAE;I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AE;EACrC,IAAMC,UAAU,GAAGF,aAAa,CAACC,KAAK,CAAC;;EAEvC,IAAMtE,KAAK,GAAG,IAAIwE,MAAM,CAAC,CAAC,CAACxE,KAAK;EAChCA,KAAK,CAACsE,KAAK,GAAGC,UAAU;;EAExB,IAAIA,UAAU,EAAE;IACd,OAAO/G,OAAO,CAAC+G,UAAU,CAAC,IAAIvE,KAAK,CAACsE,KAAK,KAAKC,UAAU;EAC1D;;EAEA,OAAO,KAAK;AACd","ignoreList":[]}
1
+ {"version":3,"names":["React","ToolPencilLineIcon16Regular","XIcon16Regular","EventEmitter","isColor","Input","Gapped","Link","Hint","isFunction","cx","createPropsGetter","styles","emitter","VariableValue","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","state","value","props","editing","subscription","rootElement","debounceTimeout","debounceInterval","undefined","renderBaseVariableLink","baseVariables","createElement","className","baseVariableRoot","colorIcon","baseLinkWrapper","style","textAlign","vertical","map","v","BaseVariableLink","key","baseVariable","emitClickEvent","text","icon","onClick","handleEditLinkClick","renderInputWrapper","renderInput","renderRollbackIcon","rootRef","instance","background","setState","rollbackToBaseVariable","variable","emit","handleChange","window","setInterval","debounceHandler","_this$props","onChange","clearInterval","handleBlur","emitterEventHandler","name","focus","_inheritsLoose","_proto","prototype","render","_cx","_this$props2","theme","deprecated","ref","tabIndex","variableName","title","componentDidMount","_this2","addListener","remove","removeListener","componentDidUpdate","prevProps","componentWillUnmount","leftIcon","isColorExtended","onValueChange","onBlur","align","width","error","isError","linkRoot","Component","_React$Component2","_this3","_len2","_key2","_proto2","getColorValue","color","colorValue","Option"],"sources":["VariableValue.tsx"],"sourcesContent":["import React from 'react';\nimport { ToolPencilLineIcon16Regular } from '@skbkontur/icons/icons/ToolPencilLineIcon/ToolPencilLineIcon16Regular';\nimport { XIcon16Regular } from '@skbkontur/icons/icons/XIcon/XIcon16Regular';\nimport EventEmitter from 'eventemitter3';\n\nimport { isColor } from '../../lib/styles/ColorHelpers';\nimport { Input } from '../../components/Input';\nimport { Gapped } from '../../components/Gapped';\nimport type { Theme } from '../../lib/theming/Theme';\nimport { Link } from '../../components/Link';\nimport { Hint } from '../../components/Hint';\nimport { isFunction } from '../../lib/utils';\nimport { cx } from '../../lib/theming/Emotion';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\n\nimport { styles } from './Playground.styles';\n\nconst emitter = new EventEmitter();\n\nexport interface VariableValueProps {\n onChange: (variable: keyof Theme, value: string) => void;\n value: string;\n isError: boolean;\n variable: string;\n theme: Theme;\n baseVariables: Array<keyof Theme>;\n deprecated?: boolean;\n}\n\nexport interface VariableValueState {\n value: string;\n editing: boolean;\n}\n\ntype DefaultProps = Required<Pick<VariableValueProps, 'deprecated'>>;\n\nexport class VariableValue extends React.Component<VariableValueProps, VariableValueState> {\n public static defaultProps: DefaultProps = {\n deprecated: false,\n };\n private getProps = createPropsGetter(VariableValue.defaultProps);\n public state: VariableValueState = {\n value: this.props.value,\n editing: false,\n };\n private subscription: { remove: () => void } | null = null;\n private rootElement: HTMLElement | null = null;\n private readonly debounceTimeout = 500;\n private debounceInterval: number | undefined = undefined;\n\n public render() {\n const { variable, theme, baseVariables } = this.props;\n const deprecated = this.getProps().deprecated;\n return (\n <div className={styles.variable(theme)} ref={this.rootRef} tabIndex={0}>\n <div\n className={cx(styles.variableName(theme), { [styles.deprecated()]: deprecated })}\n title={variable}\n >{`${variable}: `}</div>\n {baseVariables.length > 0 && !this.state.editing ? this.renderBaseVariableLink() : this.renderInputWrapper()}\n </div>\n );\n }\n\n public componentDidMount(): void {\n if (!this.subscription) {\n emitter.addListener('clicked', this.emitterEventHandler);\n this.subscription = {\n remove: () => {\n emitter.removeListener('clicked', this.emitterEventHandler);\n },\n };\n }\n }\n\n public componentDidUpdate(prevProps: VariableValueProps) {\n if (prevProps.value !== this.props.value) {\n this.setState({ value: this.props.value });\n }\n }\n\n public componentWillUnmount(): void {\n if (this.subscription) {\n this.subscription.remove();\n }\n if (this.debounceInterval !== undefined) {\n clearInterval(this.debounceInterval);\n }\n }\n\n private renderBaseVariableLink = () => {\n const baseVariables = this.props.baseVariables;\n return (\n <div className={styles.baseVariableRoot()}>\n {this.colorIcon()}\n <div className={styles.baseLinkWrapper()}>\n <Gapped>\n <div style={{ textAlign: 'right' }}>\n <Gapped vertical>\n {baseVariables.map((v) => (\n <BaseVariableLink key={v} baseVariable={v} emitClickEvent={this.emitClickEvent} />\n ))}\n </Gapped>\n </div>\n <Hint text={'Изменить значение'}>\n <Link icon={<ToolPencilLineIcon16Regular />} onClick={this.handleEditLinkClick} />\n </Hint>\n </Gapped>\n </div>\n </div>\n );\n };\n\n private renderInputWrapper = () => {\n return this.state.editing ? (\n <Gapped>\n {this.renderInput()}\n {this.renderRollbackIcon()}\n </Gapped>\n ) : (\n this.renderInput()\n );\n };\n\n private renderInput() {\n return (\n <Input\n leftIcon={isColorExtended(this.state.value) && this.colorIcon()}\n value={this.state.value}\n onValueChange={this.handleChange}\n onBlur={this.handleBlur}\n align={'right'}\n width={this.state.editing ? 225 : 250}\n error={this.props.isError}\n />\n );\n }\n\n private renderRollbackIcon() {\n return (\n <Hint text={'Вернуться к базовой переменной'}>\n <div className={styles.linkRoot()}>\n <Link icon={<XIcon16Regular />} onClick={this.rollbackToBaseVariable} />\n </div>\n </Hint>\n );\n }\n\n private rootRef = (instance: HTMLElement | null) => {\n this.rootElement = instance;\n };\n\n private colorIcon = () => {\n return <div className={styles.colorIcon()} style={{ background: this.state.value }} />;\n };\n\n private handleEditLinkClick = () => {\n this.setState({\n editing: true,\n });\n };\n\n private rollbackToBaseVariable = () => {\n this.setState({\n editing: false,\n value: this.props.value,\n });\n };\n\n private emitClickEvent = (variable: string | number) => {\n emitter.emit('clicked', variable);\n };\n\n private handleChange = (value: string) => {\n this.setState({\n value,\n });\n\n if (this.debounceInterval === undefined) {\n this.debounceInterval = window.setInterval(this.debounceHandler, this.debounceTimeout);\n }\n };\n\n private debounceHandler = () => {\n const { variable, onChange } = this.props;\n\n onChange(variable as keyof Theme, this.state.value);\n\n clearInterval(this.debounceInterval);\n this.debounceInterval = undefined;\n };\n\n private handleBlur = () => {\n this.setState({\n editing: false,\n });\n };\n\n private emitterEventHandler = (name: keyof Theme) => {\n if (name === this.props.variable && this.rootElement) {\n this.rootElement.focus();\n }\n };\n}\n\ninterface BaseVariableLinkProps {\n baseVariable: string | number;\n emitClickEvent: (baseVariable: string | number) => void;\n}\nclass BaseVariableLink extends React.Component<BaseVariableLinkProps> {\n public render() {\n return <Link onClick={this.emitClickEvent}>{this.props.baseVariable}</Link>;\n }\n private emitClickEvent = () => {\n this.props.emitClickEvent(this.props.baseVariable);\n };\n}\n\ntype Color = string | (() => string);\n\nconst getColorValue = (color: Color) => {\n if (isFunction(color)) {\n return color();\n }\n\n return color;\n};\n\nfunction isColorExtended(color: Color) {\n const colorValue = getColorValue(color);\n\n const style = new Option().style;\n style.color = colorValue;\n\n if (colorValue) {\n return isColor(colorValue) || style.color === colorValue;\n }\n\n return false;\n}\n"],"mappings":"sEAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,2BAA2B,QAAQ,uEAAuE;AACnH,SAASC,cAAc,QAAQ,6CAA6C;AAC5E,OAAOC,YAAY,MAAM,eAAe;;AAExC,SAASC,OAAO,QAAQ,+BAA+B;AACvD,SAASC,KAAK,QAAQ,wBAAwB;AAC9C,SAASC,MAAM,QAAQ,yBAAyB;;AAEhD,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,SAASC,IAAI,QAAQ,uBAAuB;AAC5C,SAASC,UAAU,QAAQ,iBAAiB;AAC5C,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,iBAAiB,QAAQ,6BAA6B;;AAE/D,SAASC,MAAM,QAAQ,qBAAqB;;AAE5C,IAAMC,OAAO,GAAG,IAAIV,YAAY,CAAC,CAAC;;;;;;;;;;;;;;;;;;;AAmBlC,WAAaW,aAAa,0BAAAC,gBAAA,YAAAD,cAAA,OAAAE,KAAA,UAAAC,IAAA,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