@itcase/ui 1.8.1 → 1.8.3

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 (285) hide show
  1. package/dist/{Badge-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
  2. package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
  3. package/dist/{Button-CWPTzaG2.js → Button_cjs_B7OmqizJ.js} +26 -25
  4. package/dist/{Button-DHOZJDHv.js → Button_es_CBbHMy1v.js} +26 -25
  5. package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
  6. package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
  7. package/dist/{DropdownItem-_bKQxzEZ.js → DropdownItem_cjs_TdJHpFgg.js} +3 -3
  8. package/dist/{DropdownItem-Cl1pYnVf.js → DropdownItem_es_CdYP5BQN.js} +3 -3
  9. package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
  10. package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
  11. package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
  12. package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
  13. package/dist/{Input-BRhHPsGM.js → Input_cjs_DkQh0Utd.js} +1 -1
  14. package/dist/{Input-BH6rNRqZ.js → Input_es_Bs0gEq3L.js} +1 -1
  15. package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
  16. package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
  17. package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
  18. package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
  19. package/dist/{Loader-CjT6-r3I.js → Loader_cjs_D753D3li.js} +2 -2
  20. package/dist/{Loader-Dquhwxz4.js → Loader_es_BE4nyzXi.js} +2 -2
  21. package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
  22. package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
  23. package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
  24. package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
  25. package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
  26. package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
  27. package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
  28. package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
  29. package/dist/cjs/components/Accordion.js +7 -7
  30. package/dist/cjs/components/Avatar.js +9 -9
  31. package/dist/cjs/components/Badge.js +7 -7
  32. package/dist/cjs/components/Breadcrumbs.js +6 -6
  33. package/dist/cjs/components/Button.js +8 -8
  34. package/dist/cjs/components/Cell.js +7 -7
  35. package/dist/cjs/components/Checkbox.js +2 -2
  36. package/dist/cjs/components/Checkmark.js +1 -1
  37. package/dist/cjs/components/Chips.js +9 -9
  38. package/dist/cjs/components/Choice.js +55 -19
  39. package/dist/cjs/components/Code.js +1 -1
  40. package/dist/cjs/components/CookiesWarning.js +9 -9
  41. package/dist/cjs/components/DadataHintField.js +4 -4
  42. package/dist/cjs/components/DatePicker.js +113 -46
  43. package/dist/cjs/components/Divider.js +2 -2
  44. package/dist/cjs/components/Dot.js +1 -1
  45. package/dist/cjs/components/Dropdown.js +4 -4
  46. package/dist/cjs/components/Flex.js +1 -1
  47. package/dist/cjs/components/Grid.js +1 -1
  48. package/dist/cjs/components/Group.js +2 -2
  49. package/dist/cjs/components/HTMLContent.js +1 -1
  50. package/dist/cjs/components/HeroTitle.js +1 -1
  51. package/dist/cjs/components/Icon.js +6 -6
  52. package/dist/cjs/components/Image.js +2 -2
  53. package/dist/cjs/components/Input.js +2 -2
  54. package/dist/cjs/components/InputMask.js +3 -3
  55. package/dist/cjs/components/InputPassword.js +6 -6
  56. package/dist/cjs/components/Label.js +5 -5
  57. package/dist/cjs/components/Link.js +2 -2
  58. package/dist/cjs/components/List.js +2 -2
  59. package/dist/cjs/components/Loader.js +3 -3
  60. package/dist/cjs/components/Logo.js +2 -2
  61. package/dist/cjs/components/MenuItem.js +3 -3
  62. package/dist/cjs/components/Modal.js +5 -5
  63. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  64. package/dist/cjs/components/Notification.js +2 -2
  65. package/dist/cjs/components/Overlay.js +2 -2
  66. package/dist/cjs/components/Pagination.js +14 -10
  67. package/dist/cjs/components/Panel.js +3 -3
  68. package/dist/cjs/components/Radio.js +2 -2
  69. package/dist/cjs/components/RangeSlider.js +1 -1
  70. package/dist/cjs/components/Response.js +9 -9
  71. package/dist/cjs/components/SVGContent.js +1 -1
  72. package/dist/cjs/components/ScrollOnDrag.js +3 -3
  73. package/dist/cjs/components/ScrollToView.js +1 -1
  74. package/dist/cjs/components/Scrollbar.js +1 -1
  75. package/dist/cjs/components/Search.js +59 -16
  76. package/dist/cjs/components/Segmented.js +30 -18
  77. package/dist/cjs/components/Select.js +10 -10
  78. package/dist/cjs/components/Swiper.js +2 -2
  79. package/dist/cjs/components/Switch.js +2 -2
  80. package/dist/cjs/components/Tab.js +50 -70
  81. package/dist/cjs/components/Text.js +2 -2
  82. package/dist/cjs/components/Textarea.js +132 -51
  83. package/dist/cjs/components/Tile.js +7 -7
  84. package/dist/cjs/components/Title.js +2 -2
  85. package/dist/cjs/components/Tooltip.js +4 -4
  86. package/dist/cjs/components/Video.js +1 -1
  87. package/dist/cjs/context/Notifications.js +2 -2
  88. package/dist/cjs/context/UIContext.js +4 -4
  89. package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  90. package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
  91. package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
  92. package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
  93. package/dist/cjs/hooks/useStyles.js +1 -1
  94. package/dist/components/Accordion.js +7 -7
  95. package/dist/components/Avatar.js +9 -9
  96. package/dist/components/Badge.js +7 -7
  97. package/dist/components/Breadcrumbs.js +6 -6
  98. package/dist/components/Button.js +8 -8
  99. package/dist/components/Cell.js +7 -7
  100. package/dist/components/Checkbox.js +2 -2
  101. package/dist/components/Checkmark.js +1 -1
  102. package/dist/components/Chips.js +9 -9
  103. package/dist/components/Choice.js +55 -19
  104. package/dist/components/Code.js +1 -1
  105. package/dist/components/CookiesWarning.js +9 -9
  106. package/dist/components/DadataHintField.js +4 -4
  107. package/dist/components/DatePicker.js +113 -46
  108. package/dist/components/Divider.js +2 -2
  109. package/dist/components/Dot.js +1 -1
  110. package/dist/components/Dropdown.js +4 -4
  111. package/dist/components/Flex.js +1 -1
  112. package/dist/components/Grid.js +1 -1
  113. package/dist/components/Group.js +2 -2
  114. package/dist/components/HTMLContent.js +1 -1
  115. package/dist/components/HeroTitle.js +1 -1
  116. package/dist/components/Icon.js +6 -6
  117. package/dist/components/Image.js +2 -2
  118. package/dist/components/Input.js +2 -2
  119. package/dist/components/InputMask.js +3 -3
  120. package/dist/components/InputPassword.js +6 -6
  121. package/dist/components/Label.js +5 -5
  122. package/dist/components/Link.js +2 -2
  123. package/dist/components/List.js +2 -2
  124. package/dist/components/Loader.js +3 -3
  125. package/dist/components/Logo.js +2 -2
  126. package/dist/components/MenuItem.js +3 -3
  127. package/dist/components/Modal.js +5 -5
  128. package/dist/components/ModalSheetBottom.js +1 -1
  129. package/dist/components/Notification.js +2 -2
  130. package/dist/components/Overlay.js +2 -2
  131. package/dist/components/Pagination.js +15 -11
  132. package/dist/components/Panel.js +3 -3
  133. package/dist/components/Radio.js +2 -2
  134. package/dist/components/RangeSlider.js +1 -1
  135. package/dist/components/Response.js +9 -9
  136. package/dist/components/SVGContent.js +1 -1
  137. package/dist/components/ScrollOnDrag.js +2 -2
  138. package/dist/components/ScrollToView.js +1 -1
  139. package/dist/components/Scrollbar.js +1 -1
  140. package/dist/components/Search.js +59 -16
  141. package/dist/components/Segmented.js +30 -18
  142. package/dist/components/Select.js +10 -10
  143. package/dist/components/Swiper.js +2 -2
  144. package/dist/components/Switch.js +2 -2
  145. package/dist/components/Tab.js +50 -70
  146. package/dist/components/Text.js +2 -2
  147. package/dist/components/Textarea.js +133 -51
  148. package/dist/components/Tile.js +7 -7
  149. package/dist/components/Title.js +2 -2
  150. package/dist/components/Tooltip.js +4 -4
  151. package/dist/components/Video.js +1 -1
  152. package/dist/context/Notifications.js +2 -2
  153. package/dist/context/UIContext.js +4 -4
  154. package/dist/css/components/Accordion/Accordion.css +2 -0
  155. package/dist/css/components/Avatar/Avatar.css +15 -14
  156. package/dist/css/components/Badge/Badge.css +1 -0
  157. package/dist/css/components/Button/Button.css +8 -2
  158. package/dist/css/components/Cell/Cell.css +10 -9
  159. package/dist/css/components/Chips/Chips.css +12 -0
  160. package/dist/css/components/Choice/Choice.css +47 -14
  161. package/dist/css/components/Choice/css/__item/choice__item.css +3 -0
  162. package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
  163. package/dist/css/components/Code/Code.css +9 -11
  164. package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
  165. package/dist/css/components/DatePicker/DatePicker.css +112 -24
  166. package/dist/css/components/Divider/Divider.css +3 -4
  167. package/dist/css/components/Dot/Dot.css +1 -0
  168. package/dist/css/components/Drawer/Drawer.css +4 -7
  169. package/dist/css/components/Dropdown/Dropdown.css +18 -3
  170. package/dist/css/components/Grid/Grid.css +12 -3
  171. package/dist/css/components/Group/Group.css +1 -1
  172. package/dist/css/components/Icon/Icon.css +6 -0
  173. package/dist/css/components/Input/Input.css +7 -9
  174. package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
  175. package/dist/css/components/InputPassword/InputPassword.css +1 -0
  176. package/dist/css/components/Loader/Loader.css +6 -0
  177. package/dist/css/components/Modal/Modal.css +1 -0
  178. package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +6 -0
  179. package/dist/css/components/Pagination/Pagination.css +7 -5
  180. package/dist/css/components/Pagination/css/__item/pagination__item.css +1 -1
  181. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
  182. package/dist/css/components/Radio/Radio.css +2 -0
  183. package/dist/css/components/Search/Search.css +5 -2
  184. package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
  185. package/dist/css/components/Segmented/Segmented.css +3 -0
  186. package/dist/css/components/Select/Select.css +2 -0
  187. package/dist/css/components/Swiper/Swiper.css +3 -3
  188. package/dist/css/components/Tab/Tab.css +2 -2
  189. package/dist/css/components/Text/Text.css +15 -12
  190. package/dist/css/components/Textarea/Textarea.css +38 -26
  191. package/dist/css/components/Tile/Tile.css +9 -0
  192. package/dist/css/components/Tooltip/Tooltip.css +7 -0
  193. package/dist/css/styles/border-color/border-color.css +6 -6
  194. package/dist/css/styles/border-color/border-color_focus.css +7 -5
  195. package/dist/css/styles/border-color/border-color_hover.css +13 -9
  196. package/dist/css/styles/border-width/border-width.css +2 -1
  197. package/dist/css/styles/caret-color/caret-color.css +6 -4
  198. package/dist/css/styles/fill/fill.css +19 -34
  199. package/dist/css/styles/fill/fill_active.css +14 -25
  200. package/dist/css/styles/fill/fill_active_hover.css +23 -27
  201. package/dist/css/styles/fill/fill_hover.css +27 -33
  202. package/dist/css/styles/opacity/opacity.css +3 -2
  203. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
  204. package/dist/css/styles/svg-color/svg_fill.css +6 -9
  205. package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
  206. package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
  207. package/dist/css/styles/text-color/text-color.css +6 -6
  208. package/dist/css/styles/text-color/text-color_active.css +7 -6
  209. package/dist/css/styles/text-color/text-color_hover.css +7 -6
  210. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  211. package/dist/hooks/useDevicePropsGenerator.js +1 -1
  212. package/dist/hooks/useDeviceTargetClass.js +1 -1
  213. package/dist/hooks/useStyles/useStyles.js +1 -1
  214. package/dist/hooks/useStyles.js +1 -1
  215. package/dist/stories/Breadcrumbs.mdx +15 -0
  216. package/dist/stories/BreadcrumbsItem.mdx +17 -0
  217. package/dist/stories/Image.mdx +2 -2
  218. package/dist/stories/ListItem.mdx +11 -0
  219. package/dist/stories/Overview.mdx +15 -5
  220. package/dist/stories/Playground.mdx +4 -4
  221. package/dist/stories/Playgroynd.mdx +11 -0
  222. package/dist/stories/Plsyground.mdx +14 -0
  223. package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
  224. package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
  225. package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
  226. package/dist/types/components/Choice/appearance/choiceAccent.d.ts +1 -2
  227. package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
  228. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
  229. package/dist/types/components/Choice/appearance/choiceSurface.d.ts +5 -2
  230. package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
  231. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +80 -12
  232. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +51 -0
  233. package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
  234. package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +8 -11
  235. package/dist/types/components/InputMask/InputMask.d.ts +5 -0
  236. package/dist/types/components/InputMask/index.d.ts +1 -1
  237. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
  238. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
  239. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
  240. package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
  241. package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
  242. package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
  243. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
  244. package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
  245. package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
  246. package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
  247. package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
  248. package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
  249. package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
  250. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
  251. package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
  252. package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
  253. package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
  254. package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
  255. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
  256. package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
  257. package/dist/types/components/Textarea/index.d.ts +1 -1
  258. package/dist/types/components/Video/Video.interface.d.ts +3 -1
  259. package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
  260. package/dist/types/context/Notifications.d.ts +2 -2
  261. package/dist/types/context/UIContext.d.ts +1 -1
  262. package/package.json +15 -15
  263. package/dist/css/styles/fill/fill_disabled.css +0 -33
  264. package/dist/stories/Avatar.mdx +0 -23
  265. package/dist/stories/Badge.mdx +0 -13
  266. package/dist/stories/Button.mdx +0 -12
  267. package/dist/stories/Cell.mdx +0 -7
  268. package/dist/stories/Checkbox.mdx +0 -12
  269. package/dist/stories/Checkmark.mdx +0 -10
  270. package/dist/stories/Chips.mdx +0 -37
  271. package/dist/stories/Choice.mdx +0 -11
  272. package/dist/stories/Code.mdx +0 -11
  273. package/dist/stories/DatePicker.mdx +0 -31
  274. package/dist/stories/HeroTitle.mdx +0 -31
  275. package/dist/stories/Textarea.mdx +0 -15
  276. package/dist/stories/Title.mdx +0 -31
  277. package/dist/stories/Tooltip.mdx +0 -19
  278. package/dist/types/components/InputMask/Input.d.ts +0 -5
  279. /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
  280. /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
  281. /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
  282. /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
  283. /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
  284. /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
  285. /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
@@ -1,14 +1,15 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
2
- import { jsxs, jsx } from 'react/jsx-runtime';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
+ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useMemo, useState, useCallback } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import ceil from 'lodash/ceil';
6
6
  import ReactPaginate from 'react-paginate';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { D as Dropdown, a as DropdownItem } from '../DropdownItem-Cl1pYnVf.js';
10
- import { I as Icon } from '../Icon-BF7i3XdQ.js';
11
- import { T as Text } from '../Text-aaWArShm.js';
9
+ import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_CdYP5BQN.js';
10
+ import { I as Icon } from '../Icon_es_BBmoZ7_3.js';
11
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
12
+ import { icon32, icon24 } from '@itcase/icons/default';
12
13
  import 'lodash/camelCase';
13
14
  import 'lodash/castArray';
14
15
  import 'lodash/upperFirst';
@@ -21,11 +22,11 @@ import 'react-responsive';
21
22
  import '../utils/setViewportProperty.js';
22
23
  import 'lodash/maxBy';
23
24
  import '../hooks/useStyles/styleAttributes.js';
24
- import '../Divider-CUFKsm-9.js';
25
+ import '../Divider_es_CWsDM2Rm.js';
25
26
  import 'react-inlinesvg';
26
- import '../Link-Cn7hiWmM.js';
27
- import '../Tooltip-DP32J5V6.js';
28
- import '../Title--_epIXkC.js';
27
+ import '../Link_es_DkW06IM-.js';
28
+ import '../Tooltip_es_H976MIb7.js';
29
+ import '../Title_es_ke3YylFm.js';
29
30
 
30
31
  var paginationAppearanceSurface = {
31
32
  surfacePrimary: {
@@ -33,6 +34,7 @@ var paginationAppearanceSurface = {
33
34
  fillHover: 'surfaceSecondary',
34
35
  gap: '8',
35
36
  marginPagesDisplayed: 10,
37
+ nextLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icon32.ChevronRightSmall })),
36
38
  pageCountDesc: 'кол-во строк',
37
39
  pageCountDescTextColor: 'surfaceTextPrimary',
38
40
  pageCountDescTextSize: 'm',
@@ -53,11 +55,13 @@ var paginationAppearanceSurface = {
53
55
  pageCountDropdownItemSize: 'l',
54
56
  pageCountDropdownItemWidth: 'hug',
55
57
  pageCountDropdownShape: 'rounded',
58
+ pageCountInputIcon: icon24.ChevronDownSmall,
56
59
  pageCountInputIconColor: 'surfaceItemPrimary',
57
60
  pageCountInputIconFillSize: '24',
58
61
  pageCountInputTextColor: 'surfaceTextPrimary',
59
62
  pageCountInputTextSize: 'm',
60
63
  pageRangeDisplayed: 8,
64
+ previousLabel: (jsx(Icon, { size: "14", fillSize: "32", iconFill: "surfaceItemPrimary", shape: "circular", SvgImage: icon32.ChevronLeftSmall })),
61
65
  },
62
66
  };
63
67
 
@@ -70,7 +74,7 @@ var paginationConfig = {
70
74
  },
71
75
  };
72
76
  function Pagination(props) {
73
- var className = props.className, appearance = props.appearance, _a = props.allItemsCount, allItemsCount = _a === void 0 ? 0 : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, nextLabel = props.nextLabel, _b = props.pageCountArray, pageCountArray = _b === void 0 ? [10, 20, 50, 100] : _b, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, _c = props.pageCountDesc, pageCountDesc = _c === void 0 ? 'кол-во строк' : _c, pageCountInputIconSrc = props.pageCountInputIconSrc, _d = props.pageNumber, pageNumber = _d === void 0 ? 0 : _d, _e = props.perPageCount, perPageCount = _e === void 0 ? 0 : _e, previousLabel = props.previousLabel, isPageCount = props.isPageCount, _f = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _f === void 0 ? false : _f, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
77
+ var className = props.className, appearance = props.appearance, _a = props.allItemsCount, allItemsCount = _a === void 0 ? 0 : _a, dataTestId = props.dataTestId, dataTour = props.dataTour, _b = props.pageCountArray, pageCountArray = _b === void 0 ? [10, 20, 50, 100] : _b, _c = props.pageCountDesc, pageCountDesc = _c === void 0 ? 'кол-во строк' : _c, pageCountDropdownItemDividerDirection = props.pageCountDropdownItemDividerDirection, _d = props.pageNumber, pageNumber = _d === void 0 ? 0 : _d, _e = props.perPageCount, perPageCount = _e === void 0 ? 0 : _e, isPageCount = props.isPageCount, _f = props.isPageCountDropdownReversed, isPageCountDropdownReversed = _f === void 0 ? false : _f, onChangePage = props.onChangePage, onChangePerPageCount = props.onChangePerPageCount,
74
78
  /**
75
79
  * @deprecated The method should not be used
76
80
  */
@@ -132,7 +136,7 @@ function Pagination(props) {
132
136
  return (__assign(__assign({}, resultConfig), (_a = paginationConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
133
137
  }, {});
134
138
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
135
- var justifyContentClass = propsGenerator.justifyContentClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, marginPagesDisplayed = propsGenerator.marginPagesDisplayed, pageCountDescTextColor = propsGenerator.pageCountDescTextColor, pageCountDescTextSize = propsGenerator.pageCountDescTextSize, pageCountDropdownAlignment = propsGenerator.pageCountDropdownAlignment, pageCountDropdownElevation = propsGenerator.pageCountDropdownElevation, pageCountDropdownFill = propsGenerator.pageCountDropdownFill, pageCountDropdownItemDividerFill = propsGenerator.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = propsGenerator.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = propsGenerator.pageCountDropdownItemFill, pageCountDropdownItemFillActive = propsGenerator.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = propsGenerator.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = propsGenerator.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = propsGenerator.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = propsGenerator.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = propsGenerator.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelSize = propsGenerator.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = propsGenerator.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = propsGenerator.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = propsGenerator.pageCountDropdownItemSize, pageCountDropdownItemWidth = propsGenerator.pageCountDropdownItemWidth, pageCountDropdownShape = propsGenerator.pageCountDropdownShape, pageCountInputIcon = propsGenerator.pageCountInputIcon, pageCountInputIconColor = propsGenerator.pageCountInputIconColor, pageCountInputIconFillSize = propsGenerator.pageCountInputIconFillSize, pageCountInputTextColor = propsGenerator.pageCountInputTextColor, pageCountInputTextSize = propsGenerator.pageCountInputTextSize, pageRangeDisplayed = propsGenerator.pageRangeDisplayed;
139
+ var justifyContentClass = propsGenerator.justifyContentClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, marginPagesDisplayed = propsGenerator.marginPagesDisplayed, nextLabel = propsGenerator.nextLabel, pageCountDescTextColor = propsGenerator.pageCountDescTextColor, pageCountDescTextSize = propsGenerator.pageCountDescTextSize, pageCountDropdownAlignment = propsGenerator.pageCountDropdownAlignment, pageCountDropdownElevation = propsGenerator.pageCountDropdownElevation, pageCountDropdownFill = propsGenerator.pageCountDropdownFill, pageCountDropdownItemDividerFill = propsGenerator.pageCountDropdownItemDividerFill, pageCountDropdownItemDividerSize = propsGenerator.pageCountDropdownItemDividerSize, pageCountDropdownItemFill = propsGenerator.pageCountDropdownItemFill, pageCountDropdownItemFillActive = propsGenerator.pageCountDropdownItemFillActive, pageCountDropdownItemFillActiveHover = propsGenerator.pageCountDropdownItemFillActiveHover, pageCountDropdownItemFillHover = propsGenerator.pageCountDropdownItemFillHover, pageCountDropdownItemLabelAlign = propsGenerator.pageCountDropdownItemLabelAlign, pageCountDropdownItemLabelColor = propsGenerator.pageCountDropdownItemLabelColor, pageCountDropdownItemLabelColorActive = propsGenerator.pageCountDropdownItemLabelColorActive, pageCountDropdownItemLabelSize = propsGenerator.pageCountDropdownItemLabelSize, pageCountDropdownItemLabelWrap = propsGenerator.pageCountDropdownItemLabelWrap, pageCountDropdownItemShowDivider = propsGenerator.pageCountDropdownItemShowDivider, pageCountDropdownItemSize = propsGenerator.pageCountDropdownItemSize, pageCountDropdownItemWidth = propsGenerator.pageCountDropdownItemWidth, pageCountDropdownShape = propsGenerator.pageCountDropdownShape, pageCountInputIcon = propsGenerator.pageCountInputIcon, pageCountInputIconColor = propsGenerator.pageCountInputIconColor, pageCountInputIconFillSize = propsGenerator.pageCountInputIconFillSize, pageCountInputIconSrc = propsGenerator.pageCountInputIconSrc, pageCountInputTextColor = propsGenerator.pageCountInputTextColor, pageCountInputTextSize = propsGenerator.pageCountInputTextSize, pageRangeDisplayed = propsGenerator.pageRangeDisplayed, previousLabel = propsGenerator.previousLabel;
136
140
  var paginationStyles = useStyles(props).styles;
137
141
  return (jsxs("div", { className: "pagination", "data-testid": dataTestId, "data-tour": dataTour, style: paginationStyles, children: [jsx(ReactPaginate, { disabledClassName: "pagination__item_state_disabled cursor_type_default", disabledLinkClassName: "pagination__item_state_disabled", activeClassName: "pagination__item_state_active cursor_type_default", activeLinkClassName: "pagination__item-link_state_active", breakClassName: "pagination__item pagination__item_break", breakLabel: "...", breakLinkClassName: "pagination__item-link", containerClassName: clsx(className, 'pagination__container', justifyContentClass &&
138
142
  "pagination_justify-content_".concat(justifyContentClass)),
@@ -1,11 +1,11 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { G as Group } from '../Group-C8NUU6k5.js';
8
- import { T as Text } from '../Text-aaWArShm.js';
7
+ import { G as Group } from '../Group_es_CRGwi5XI.js';
8
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
11
11
  import 'lodash/upperFirst';
@@ -1,8 +1,8 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
- import { T as Text } from '../Text-aaWArShm.js';
5
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
6
6
  import 'react';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import Slider from 'rc-slider';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import '../tslib.es6-Bwu1Cn-t.js';
6
+ import '../tslib.es6_es_Bwu1Cn-t.js';
7
7
  import 'react';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -1,13 +1,13 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useMemo } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import SVG from 'react-inlinesvg';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { B as Button } from '../Button-DHOZJDHv.js';
9
- import { G as Group } from '../Group-C8NUU6k5.js';
10
- import { T as Text } from '../Text-aaWArShm.js';
8
+ import { B as Button } from '../Button_es_CBbHMy1v.js';
9
+ import { G as Group } from '../Group_es_CRGwi5XI.js';
10
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
13
13
  import 'lodash/upperFirst';
@@ -20,11 +20,11 @@ import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Icon-BF7i3XdQ.js';
24
- import '../Link-Cn7hiWmM.js';
25
- import '../Tooltip-DP32J5V6.js';
26
- import '../Title--_epIXkC.js';
27
- import '../Loader-Dquhwxz4.js';
23
+ import '../Icon_es_BBmoZ7_3.js';
24
+ import '../Link_es_DkW06IM-.js';
25
+ import '../Tooltip_es_H976MIb7.js';
26
+ import '../Title_es_ke3YylFm.js';
27
+ import '../Loader_es_BE4nyzXi.js';
28
28
 
29
29
  var img$6 = "data:image/svg+xml,%3csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='90' cy='90' r='90' fill='%23D9D9D9'/%3e%3cpath d='M93.2275 101.842H84.0659C83.8263 99.1898 83.976 96.839 84.515 94.7895C85.1138 92.74 86.2216 90.8111 87.8383 89.0027C89.515 87.1341 91.7904 85.2051 94.6647 83.2159C96.5808 81.8898 97.9581 80.5637 98.7964 79.2375C99.6946 77.9114 100.144 76.4345 100.144 74.807C100.144 72.2753 99.2156 70.1957 97.3593 68.5682C95.503 66.9406 93.0778 66.1269 90.0838 66.1269C87.3892 66.1269 84.7246 66.9105 82.0898 68.4777C79.4551 69.9847 77.0299 72.3959 74.8144 75.7112L67 67.9352C70.0539 64.0774 73.5868 61.1237 77.5988 59.0742C81.6707 57.0247 85.9521 56 90.4431 56C94.5749 56 98.2575 56.8439 101.491 58.5317C104.725 60.1592 107.269 62.3896 109.126 65.2227C111.042 67.9955 112 71.1601 112 74.7166C112 78.0922 111.042 81.1062 109.126 83.7584C107.269 86.4107 104.455 88.8821 100.683 91.1727C97.7485 92.8605 95.7725 94.4881 94.7545 96.0553C93.7365 97.6226 93.2275 99.5515 93.2275 101.842ZM96.1916 115.767C96.1916 117.756 95.4731 119.474 94.0359 120.92C92.5988 122.307 90.8323 123 88.7365 123C86.6407 123 84.8743 122.307 83.4371 120.92C82 119.474 81.2814 117.756 81.2814 115.767C81.2814 113.717 82 111.999 83.4371 110.613C84.8743 109.166 86.6407 108.443 88.7365 108.443C90.8323 108.443 92.5988 109.166 94.0359 110.613C95.4731 111.999 96.1916 113.717 96.1916 115.767Z' fill='%23747474'/%3e%3c/svg%3e";
30
30
 
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import SVG from 'react-inlinesvg';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import '../tslib.es6-Bwu1Cn-t.js';
6
+ import '../tslib.es6_es_Bwu1Cn-t.js';
7
7
  import 'react';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -1,8 +1,8 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useRef } from 'react';
4
4
  import clsx from 'clsx';
5
- import { ScrollContainer } from 'react-indiana-drag-scroll';
5
+ import ScrollContainer from 'react-indiana-drag-scroll';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
8
  import 'lodash/camelCase';
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import { ScrollLink } from 'react-scroll';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import '../tslib.es6-Bwu1Cn-t.js';
6
+ import '../tslib.es6_es_Bwu1Cn-t.js';
7
7
  import 'react';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -1,4 +1,4 @@
1
- export { S as Scrollbar } from '../Scrollbar-CThJeCLF.js';
1
+ export { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import 'react-scrollbars-custom';
@@ -1,12 +1,13 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
+ import { icon16, icon24 } from '@itcase/icons/default';
2
3
  import { jsxs, jsx } from 'react/jsx-runtime';
3
4
  import React, { useCallback } from 'react';
4
5
  import clsx from 'clsx';
5
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { I as Icon } from '../Icon-BF7i3XdQ.js';
8
- import { T as Text } from '../Text-aaWArShm.js';
9
- import { S as Scrollbar } from '../Scrollbar-CThJeCLF.js';
8
+ import { I as Icon } from '../Icon_es_BBmoZ7_3.js';
9
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
10
+ import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
10
11
  import 'lodash/camelCase';
11
12
  import 'lodash/castArray';
12
13
  import 'lodash/upperFirst';
@@ -20,21 +21,64 @@ import '../utils/setViewportProperty.js';
20
21
  import 'lodash/maxBy';
21
22
  import '../hooks/useStyles/styleAttributes.js';
22
23
  import 'react-inlinesvg';
23
- import '../Link-Cn7hiWmM.js';
24
- import '../Tooltip-DP32J5V6.js';
25
- import '../Title--_epIXkC.js';
24
+ import '../Link_es_DkW06IM-.js';
25
+ import '../Tooltip_es_H976MIb7.js';
26
+ import '../Title_es_ke3YylFm.js';
26
27
  import 'react-scrollbars-custom';
27
28
 
28
- var searchAppearance = {
29
- dev: {
29
+ var searchAppearanceSize = {
30
+ sizeS: {
31
+ size: 's',
32
+ iconBefore: icon24.Search,
33
+ iconBeforeSize: '24',
34
+ iconClear: icon24.Clear,
35
+ iconClearSize: '24',
36
+ },
37
+ sizeXS: {
38
+ size: 'xs',
39
+ iconBefore: icon16.Search,
40
+ iconBeforeSize: '16',
41
+ iconClear: icon16.Clear,
42
+ iconClearSize: '16',
43
+ },
44
+ };
45
+
46
+ var searchAppearanceStyle = {
47
+ full: {
48
+ /* border / fill */
49
+ },
50
+ ghost: {
51
+ fill: 'none',
52
+ borderWidth: '0',
53
+ },
54
+ outlined: {
55
+ fill: 'none',
56
+ },
57
+ solid: {
58
+ borderWidth: '0',
59
+ },
60
+ };
61
+
62
+ var searchAppearanceSurface = {
63
+ surfacePrimary: {
30
64
  fill: 'surfacePrimary',
31
65
  borderColor: 'surfaceBorderTertiary',
32
66
  borderHover: 'surfaceBorderQuaternary',
33
- placeholderTextColor: 'surfaceTextQuaternary',
34
- shape: 'rounded',
67
+ iconBeforeFill: 'surfaceItemQuaternary',
68
+ iconClearFill: 'surfaceItemPrimary',
69
+ },
70
+ surfaceSecondary: {
71
+ fill: 'surfaceSecondary',
72
+ borderColor: 'surfaceBorderTertiary',
73
+ borderHover: 'surfaceBorderQuaternary',
74
+ iconBeforeFill: 'surfaceItemQuaternary',
75
+ iconClearFill: 'surfaceItemPrimary',
76
+ placeholderTextColor: 'surfaceTextSecondary',
35
77
  },
36
78
  };
37
79
 
80
+ var searchAppearance = __assign(__assign(__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle);
81
+
38
82
  var searchInputConfig = {
39
83
  appearance: searchAppearance,
40
84
  setAppearance: function (appearanceConfig) {
@@ -42,7 +86,7 @@ var searchInputConfig = {
42
86
  },
43
87
  };
44
88
  var SearchInput = React.forwardRef(function SearchInput(props, ref) {
45
- var className = props.className, type = props.type, appearance = props.appearance, _a = props.size, size = _a === void 0 ? 'normal' : _a, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterFill = props.iconAfterFill, iconAfterSize = props.iconAfterSize, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeFill = props.iconBeforeFill, iconBeforeSize = props.iconBeforeSize, iconBeforeSrc = props.iconBeforeSrc, iconClear = props.iconClear, iconClearFill = props.iconClearFill, iconClearSize = props.iconClearSize, iconClearSrc = props.iconClearSrc, placeholder = props.placeholder, placeholderTextColor = props.placeholderTextColor, _b = props.placeholderTextSize, placeholderTextSize = _b === void 0 ? 'm' : _b, placeholderTextStyle = props.placeholderTextStyle, placeholderTextWeight = props.placeholderTextWeight, value = props.value, before = props.before, after = props.after, onChange = props.onChange, onClickClean = props.onClickClean, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
89
+ var className = props.className, type = props.type, appearance = props.appearance, dataTour = props.dataTour, placeholder = props.placeholder, value = props.value, before = props.before, after = props.after, onChange = props.onChange, onClickClean = props.onClickClean, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
46
90
  var onChangeSearchInput = useCallback(function (event) {
47
91
  onChange && onChange(event.target.value);
48
92
  }, [onChange]);
@@ -58,14 +102,13 @@ var SearchInput = React.forwardRef(function SearchInput(props, ref) {
58
102
  return (__assign(__assign({}, resultConfig), (_a = searchInputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
59
103
  }, {});
60
104
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
61
- var fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderHoverClass = propsGenerator.borderHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, inputFillClass = propsGenerator.inputFillClass, inputShapeClass = propsGenerator.inputShapeClass, inputTextColorClass = propsGenerator.inputTextColorClass, _c = propsGenerator.inputTextSizeClass, inputTextSizeClass = _c === void 0 ? 'm' : _c, inputTextStyleClass = propsGenerator.inputTextStyleClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
62
- // @ts-expect-error
105
+ var size = propsGenerator.size, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderHoverClass = propsGenerator.borderHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, iconClear = propsGenerator.iconClear, iconClearFill = propsGenerator.iconClearFill, iconClearSize = propsGenerator.iconClearSize, iconClearSrc = propsGenerator.iconClearSrc, inputFillClass = propsGenerator.inputFillClass, inputShapeClass = propsGenerator.inputShapeClass, inputTextColorClass = propsGenerator.inputTextColorClass, _a = propsGenerator.inputTextSizeClass, inputTextSizeClass = _a === void 0 ? 'm' : _a, inputTextStyleClass = propsGenerator.inputTextStyleClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, placeholderTextColor = propsGenerator.placeholderTextColor, _b = propsGenerator.placeholderTextSize, placeholderTextSize = _b === void 0 ? 'm' : _b, placeholderTextStyle = propsGenerator.placeholderTextStyle, placeholderTextWeight = propsGenerator.placeholderTextWeight, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
63
106
  var searchInputStyles = useStyles(props).styles;
64
- return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderHoverClass && "border-color_hover_".concat(borderHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), size && "search-input_size_".concat(size), type && "search-input_type_".concat(type)), "data-tour": dataTour, style: searchInputStyles, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-before", size: iconBeforeSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeSize), iconFill: iconBeforeFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeFill), imageSrc: iconBeforeSrc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBeforeSrc), SvgImage: iconBefore || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconBefore) })), jsxs("div", { className: clsx('search-input__wrapper', inputFillClass && "fill_".concat(inputFillClass), inputShapeClass && "search-input_shape_".concat(inputShapeClass)), children: [jsx("input", { className: clsx('search-input__value', (inputTextSizeClass ||
107
+ return (jsxs("label", { className: clsx(className, 'search-input', shapeClass && "search_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "width_".concat(widthClass), borderColorClass && "border-color_".concat(borderColorClass), borderHoverClass && "border-color_hover_".concat(borderHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), size && "search-input_size_".concat(size), type && "search-input_type_".concat(type)), "data-tour": dataTour, style: searchInputStyles, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-before", size: iconBeforeSize, iconFill: iconBeforeFill, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxs("div", { className: clsx('search-input__wrapper', inputFillClass && "fill_".concat(inputFillClass), inputShapeClass && "search-input_shape_".concat(inputShapeClass)), children: [jsx("input", { className: clsx('search-input__value', (inputTextSizeClass ||
65
108
  inputTextWeightClass ||
66
109
  inputTextColorClass ||
67
110
  inputTextStyleClass) &&
68
- 'text', inputTextSizeClass && "text_size_".concat(inputTextSizeClass), inputTextWeightClass && "text-weight_".concat(inputTextWeightClass), inputTextColorClass && "text-color_".concat(inputTextColorClass), inputTextStyleClass && "text-style_".concat(inputTextStyleClass)), type: "text", ref: ref, required: true, value: value, onChange: onChangeSearchInput, onFocus: onFocus, onKeyDown: onKeyDown }), jsx("div", { className: "search-input__placeholder", children: jsx(Text, { className: clsx('search-input__placeholder-value'), size: placeholderTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.placeholderTextSize), textColor: placeholderTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.placeholderTextColor), textStyle: placeholderTextStyle, textWeight: placeholderTextWeight, children: placeholder || 'Search' }) }), value && (jsx(Icon, { className: clsx('search-input__clear', 'cursor_type_pointer'), size: iconClearSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconClearSize), iconFill: iconClearFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconClearFill), imageSrc: iconClearSrc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconClearSrc), SvgImage: iconClear || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconClear), onClick: onClickClearIcon }))] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-after", size: iconAfterSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterSize), iconFill: iconAfterFill || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterFill), imageSrc: iconAfterSrc || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfterSrc), SvgImage: iconAfter || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.iconAfter) })), after] }));
111
+ 'text', inputTextSizeClass && "text_size_".concat(inputTextSizeClass), inputTextWeightClass && "text-weight_".concat(inputTextWeightClass), inputTextColorClass && "text-color_".concat(inputTextColorClass), inputTextStyleClass && "text-style_".concat(inputTextStyleClass)), type: "text", ref: ref, required: true, value: value, onChange: onChangeSearchInput, onFocus: onFocus, onKeyDown: onKeyDown }), jsx("div", { className: "search-input__placeholder", children: jsx(Text, { className: clsx('search-input__placeholder-value'), size: placeholderTextSize, textColor: placeholderTextColor, textStyle: placeholderTextStyle, textWeight: placeholderTextWeight, children: placeholder || 'Search' }) }), value && (jsx(Icon, { className: clsx('search-input__clear', 'cursor_type_pointer'), size: iconClearSize, iconFill: iconClearFill, imageSrc: iconClearSrc, SvgImage: iconClear, onClick: onClickClearIcon }))] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "search-input__icon search-input__icon-after", size: iconAfterSize, iconFill: iconAfterFill, imageSrc: iconAfterSrc, SvgImage: iconAfter })), after] }));
69
112
  });
70
113
  // @ts-expect-error
71
114
  SearchInput.DEFAULT_REF_STATE = {
@@ -1,9 +1,9 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { T as Text } from '../Text-aaWArShm.js';
6
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
9
9
  import 'lodash/upperFirst';
@@ -18,29 +18,36 @@ import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
20
 
21
- var segmentedAppearance = {
22
- default: {
21
+ var segmentedAppearanceSize = {
22
+ sizeS: {
23
+ size: 's',
24
+ labelTextSize: 's',
25
+ },
26
+ sizeM: {
23
27
  size: 's',
24
- fill: 'surfacePrimary',
25
- fillHover: 'surfaceSecondary',
26
- labelTextActiveColor: 'accentTextPrimary',
27
- labelTextColor: 'surfaceTextPrimary',
28
28
  labelTextSize: 's',
29
- indicatorFill: 'accentPrimary',
30
- shape: 'rounded',
31
29
  },
32
- dev: {
33
- width: 'fill',
34
- fill: 'surfaceSecondary',
35
- fillHover: 'surfacePrimaryHover',
30
+ sizeL: {
31
+ size: 's',
32
+ labelTextSize: 's',
33
+ },
34
+ };
35
+
36
+ var segmentedAppearanceSurface = {
37
+ surfacePrimary: {
38
+ fill: 'surfacePrimary',
39
+ fillActive: 'accentPrimary',
40
+ fillActiveHover: 'accentPrimary',
41
+ fillHover: 'surfaceSecondary',
36
42
  labelTextActiveColor: 'accentTextPrimary',
37
43
  labelTextColor: 'surfaceTextPrimary',
38
- labelTextSize: 'm',
39
44
  indicatorFill: 'accentPrimary',
40
45
  shape: 'rounded',
41
46
  },
42
47
  };
43
48
 
49
+ var segmentedAppearance = __assign(__assign({}, segmentedAppearanceSurface), segmentedAppearanceSize);
50
+
44
51
  var segmentedConfig = {
45
52
  appearance: segmentedAppearance,
46
53
  setAppearance: function (appearanceConfig) {
@@ -48,7 +55,7 @@ var segmentedConfig = {
48
55
  },
49
56
  };
50
57
  var Segmented = React.forwardRef(function (props) {
51
- var className = props.className, type = props.type, name = props.name, appearance = props.appearance, size = props.size, isDisabled = props.isDisabled, _a = props.activeSegment, activeSegment = _a === void 0 ? {} : _a, segments = props.segments, setActiveSegment = props.setActiveSegment, onChange = props.onChange;
58
+ var className = props.className, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, _a = props.activeSegment, activeSegment = _a === void 0 ? {} : _a, segments = props.segments, setActiveSegment = props.setActiveSegment, onChange = props.onChange;
52
59
  var controlRef = useRef(null);
53
60
  var segmentsRefs = useMemo(function () {
54
61
  return new Map(segments.map(function (item) { return [item.value, createRef()]; }));
@@ -75,8 +82,13 @@ var Segmented = React.forwardRef(function (props) {
75
82
  return (__assign(__assign({}, resultConfig), (_a = segmentedConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
76
83
  }, {});
77
84
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
78
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWrap = propsGenerator.labelTextWrap, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, indicatorFillClass = propsGenerator.indicatorFillClass, inputBorderColorClass = propsGenerator.inputBorderColorClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
79
- return (jsx("div", { className: clsx(className, 'segmented', shapeClass && "segmented_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "segmented_width_".concat(widthClass), size && "segmented_size_".concat(size), type && "segmented_type_".concat(type), inputBorderColorClass && "border-color_".concat(inputBorderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), ref: controlRef, children: jsx("div", { className: "segmented__wrapper", children: jsxs("div", { className: clsx('segmented__wrapper-inner'), children: [segments === null || segments === void 0 ? void 0 : segments.map(function (item) { return (jsxs("div", { className: clsx('segmented__item', fillHoverClass && "fill_hover_".concat(fillHoverClass), item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value) && 'segmented__item_active', onChange && 'cursor_type_pointer', isDisabled && 'cursor_type_default'), ref: segmentsRefs.get(item.value), children: [jsx("input", { id: item.label, className: "segmented__item-radio", type: "radio", name: name, checked: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value), value: item.value, onChange: function () { return onChangeValue(item); } }), jsx("label", { className: clsx('segmented__item-label'), htmlFor: item.label, children: jsx(Text, { className: clsx('segmented__item-label-text', labelTextWrap && "word-wrap_".concat(labelTextWrap)), size: labelTextSize, textColor: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
85
+ var fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, size = propsGenerator.size, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWrap = propsGenerator.labelTextWrap, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, indicatorFillClass = propsGenerator.indicatorFillClass, inputBorderColorClass = propsGenerator.inputBorderColorClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
86
+ return (jsx("div", { className: clsx(className, 'segmented', shapeClass && "segmented_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "segmented_width_".concat(widthClass), size && "segmented_size_".concat(size), inputBorderColorClass && "border-color_".concat(inputBorderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), ref: controlRef, children: jsx("div", { className: "segmented__wrapper", children: jsxs("div", { className: clsx('segmented__wrapper-inner'), children: [segments === null || segments === void 0 ? void 0 : segments.map(function (item) { return (jsxs("div", { className: clsx('segmented__item', item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
87
+ ? fillActiveHoverClass &&
88
+ "fill_active_hover_".concat(fillActiveHoverClass)
89
+ : fillHoverClass && "fill_hover_".concat(fillHoverClass), item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
90
+ ? fillActiveClass && "fill_active_".concat(fillActiveClass)
91
+ : fillClass && "fill_".concat(fillClass), item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value) && 'segmented__item_active', onChange && 'cursor_type_pointer', isDisabled && 'cursor_type_default'), ref: segmentsRefs.get(item.value), children: [jsx("input", { id: item.label, className: "segmented__item-radio", type: "radio", name: name, checked: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value), value: item.value, onChange: function () { return onChangeValue(item); } }), jsx("label", { className: clsx('segmented__item-label'), htmlFor: item.label, children: jsx(Text, { className: clsx('segmented__item-label-text', labelTextWrap && "word-wrap_".concat(labelTextWrap)), size: labelTextSize, textColor: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
80
92
  ? labelTextActiveColor
81
93
  : labelTextColor, textColorHover: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
82
94
  ? labelTextActiveHoverColor
@@ -1,15 +1,15 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import Select, { components } from 'react-select';
4
- import { I as Icon } from '../Icon-BF7i3XdQ.js';
4
+ import { I as Icon } from '../Icon_es_BBmoZ7_3.js';
5
5
  import React, { useRef, useCallback, useEffect, useMemo } from 'react';
6
6
  import clsx from 'clsx';
7
7
  import CreatableSelect from 'react-select/creatable';
8
8
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
- import { T as Text } from '../Text-aaWArShm.js';
10
- import { B as Badge } from '../Badge-BY030Mwm.js';
11
- import { G as Group } from '../Group-C8NUU6k5.js';
12
- import { D as Divider } from '../Divider-CUFKsm-9.js';
9
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
10
+ import { B as Badge } from '../Badge_es_Bx0NsdST.js';
11
+ import { G as Group } from '../Group_es_CRGwi5XI.js';
12
+ import { D as Divider } from '../Divider_es_CWsDM2Rm.js';
13
13
  import 'react-inlinesvg';
14
14
  import '../hooks/useStyles/useStyles.js';
15
15
  import 'lodash/camelCase';
@@ -23,9 +23,9 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
23
23
  import 'react-responsive';
24
24
  import '../utils/setViewportProperty.js';
25
25
  import '../hooks/useStyles/styleAttributes.js';
26
- import '../Link-Cn7hiWmM.js';
27
- import '../Tooltip-DP32J5V6.js';
28
- import '../Title--_epIXkC.js';
26
+ import '../Link_es_DkW06IM-.js';
27
+ import '../Tooltip_es_H976MIb7.js';
28
+ import '../Title_es_ke3YylFm.js';
29
29
  import 'lodash/castArray';
30
30
 
31
31
  // interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
@@ -110,7 +110,7 @@ var SelectMenu = function (props) {
110
110
 
111
111
  var SelectMultiValueContainer = function (props) {
112
112
  var _a = props.selectProps, multipleItemFill = _a.multipleItemFill, multipleItemFillHover = _a.multipleItemFillHover;
113
- return (jsx(components.MultiValueContainer, __assign({}, props, { children: jsx(Group, { className: "select__multi-value-wrapper", fill: multipleItemFill, fillHover: multipleItemFillHover, alignItems: "center", direction: "horizontal", gap: "4", children: props.children }) })));
113
+ return (jsx(components.MultiValueContainer, __assign({}, props, { children: jsx(Group, { className: "select__multi-value-wrapper", direction: "horizontal", alignItems: "center", fill: multipleItemFill, fillHover: multipleItemFillHover, gap: "4", children: props.children }) })));
114
114
  };
115
115
 
116
116
  var SelectMultiValueLabel = function (props) {
@@ -4,8 +4,8 @@ import clsx from 'clsx';
4
4
  import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { T as Title } from '../Title--_epIXkC.js';
8
- import '../tslib.es6-Bwu1Cn-t.js';
7
+ import { T as Title } from '../Title_es_ke3YylFm.js';
8
+ import '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
11
11
  import 'lodash/upperFirst';
@@ -1,9 +1,9 @@
1
- import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { T as Text } from '../Text-aaWArShm.js';
6
+ import { T as Text } from '../Text_es_FJGduy7Z.js';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
9
9
  import 'lodash/upperFirst';