@itcase/ui 1.8.19 → 1.8.21

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 (248) hide show
  1. package/dist/Avatar_cjs_CiQ14ufF.js +240 -0
  2. package/dist/Avatar_es_No9vSqji.js +236 -0
  3. package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CnStmeGt.js} +12 -4
  4. package/dist/{Button_es_CHDT0-8K.js → Button_es_BV1bepl1.js} +12 -4
  5. package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_CL00pWKy.js} +2 -2
  6. package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_Ciln2otW.js} +2 -2
  7. package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_DGgkpGbI.js} +4 -4
  8. package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_BIOyGm22.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DT-zspEr.js} +15 -15
  10. package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_BJLFqVuH.js} +15 -15
  11. package/dist/{Group_cjs_B0oM0pjF.js → Group_cjs_Cwt0gWk4.js} +9 -2
  12. package/dist/{Group_es_B8pQHYsC.js → Group_es_CYW2Hquh.js} +9 -2
  13. package/dist/{Image_cjs_DuIBtUq5.js → Image_cjs_CCWqbNn4.js} +11 -3
  14. package/dist/{Image_es_CSzHhlA1.js → Image_es_DZUVp0FS.js} +11 -3
  15. package/dist/{Label_cjs_mw4pHZR1.js → Label_cjs_Cqcf6ffp.js} +2 -2
  16. package/dist/{Label_es_CiPEDFcR.js → Label_es_CeNdA70T.js} +2 -2
  17. package/dist/Link_cjs_BlXrJ15R.js +303 -0
  18. package/dist/Link_es_CyJn7NFb.js +298 -0
  19. package/dist/{Loader_cjs_DZbIy6Ko.js → Loader_cjs_3VRzFLI2.js} +14 -2
  20. package/dist/{Loader_es_SHdP0IkA.js → Loader_es_DEYowVdU.js} +14 -2
  21. package/dist/Text_cjs_DPhKj3wf.js +68 -0
  22. package/dist/{Text_es_D012qJ8s.js → Text_es_BRb3qqKM.js} +8 -3
  23. package/dist/{Tooltip_cjs_BKOjNMkt.js → Tooltip_cjs_Cq5kuaIK.js} +480 -17
  24. package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_D0PSqI2c.js} +480 -17
  25. package/dist/cjs/components/Accordion.js +3 -3
  26. package/dist/cjs/components/Avatar.js +13 -236
  27. package/dist/cjs/components/AvatarStack.js +35 -0
  28. package/dist/cjs/components/Badge.js +3 -3
  29. package/dist/cjs/components/Breadcrumbs.js +3 -3
  30. package/dist/cjs/components/Button.js +5 -5
  31. package/dist/cjs/components/Cell.js +4 -4
  32. package/dist/cjs/components/Checkbox.js +1 -1
  33. package/dist/cjs/components/Chips.js +4 -4
  34. package/dist/cjs/components/Choice.js +6 -6
  35. package/dist/cjs/components/CookiesWarning.js +13 -6
  36. package/dist/cjs/components/DatePeriod.js +8 -8
  37. package/dist/cjs/components/DatePicker.js +7 -7
  38. package/dist/cjs/components/Drawer.js +26 -2
  39. package/dist/cjs/components/Dropdown.js +5 -2
  40. package/dist/cjs/components/Group.js +1 -1
  41. package/dist/cjs/components/Icon.js +3 -3
  42. package/dist/cjs/components/Image.js +2 -2
  43. package/dist/cjs/components/InputPassword.js +226 -46
  44. package/dist/cjs/components/Label.js +4 -4
  45. package/dist/cjs/components/Link.js +1 -1
  46. package/dist/cjs/components/List.js +1 -1
  47. package/dist/cjs/components/Loader.js +2 -2
  48. package/dist/cjs/components/Logo.js +1 -1
  49. package/dist/cjs/components/MenuItem.js +2 -2
  50. package/dist/cjs/components/Modal.js +4 -4
  51. package/dist/cjs/components/ModalSheetBottom.js +7 -0
  52. package/dist/cjs/components/Notification.js +1 -1
  53. package/dist/cjs/components/Pagination.js +11 -9
  54. package/dist/cjs/components/Panel.js +2 -2
  55. package/dist/cjs/components/Radio.js +1 -1
  56. package/dist/cjs/components/Response.js +227 -183
  57. package/dist/cjs/components/Search.js +126 -13
  58. package/dist/cjs/components/Segmented.js +1 -1
  59. package/dist/cjs/components/Select.js +4 -4
  60. package/dist/cjs/components/Swiper.js +3 -3
  61. package/dist/cjs/components/Switch.js +238 -3
  62. package/dist/cjs/components/Tab.js +3 -3
  63. package/dist/cjs/components/Text.js +1 -1
  64. package/dist/cjs/components/Tile.js +240 -5
  65. package/dist/cjs/components/Title.js +3 -3
  66. package/dist/cjs/components/Tooltip.js +3 -3
  67. package/dist/components/Accordion.js +3 -3
  68. package/dist/components/Avatar.js +10 -237
  69. package/dist/components/AvatarStack.js +33 -0
  70. package/dist/components/Badge.js +3 -3
  71. package/dist/components/Breadcrumbs.js +3 -3
  72. package/dist/components/Button.js +5 -5
  73. package/dist/components/Cell.js +4 -4
  74. package/dist/components/Checkbox.js +1 -1
  75. package/dist/components/Chips.js +4 -4
  76. package/dist/components/Choice.js +6 -6
  77. package/dist/components/CookiesWarning.js +13 -7
  78. package/dist/components/DatePeriod.js +8 -8
  79. package/dist/components/DatePicker.js +7 -7
  80. package/dist/components/Drawer.js +26 -2
  81. package/dist/components/Dropdown.js +5 -2
  82. package/dist/components/Group.js +1 -1
  83. package/dist/components/Icon.js +3 -3
  84. package/dist/components/Image.js +2 -2
  85. package/dist/components/InputPassword.js +226 -45
  86. package/dist/components/Label.js +4 -4
  87. package/dist/components/Link.js +1 -1
  88. package/dist/components/List.js +1 -1
  89. package/dist/components/Loader.js +2 -2
  90. package/dist/components/Logo.js +1 -1
  91. package/dist/components/MenuItem.js +2 -2
  92. package/dist/components/Modal.js +4 -4
  93. package/dist/components/ModalSheetBottom.js +7 -1
  94. package/dist/components/Notification.js +1 -1
  95. package/dist/components/Pagination.js +11 -9
  96. package/dist/components/Panel.js +2 -2
  97. package/dist/components/Radio.js +1 -1
  98. package/dist/components/Response.js +227 -183
  99. package/dist/components/Search.js +126 -13
  100. package/dist/components/Segmented.js +1 -1
  101. package/dist/components/Select.js +4 -4
  102. package/dist/components/Swiper.js +3 -3
  103. package/dist/components/Switch.js +238 -3
  104. package/dist/components/Tab.js +3 -3
  105. package/dist/components/Text.js +1 -1
  106. package/dist/components/Tile.js +240 -5
  107. package/dist/components/Title.js +3 -3
  108. package/dist/components/Tooltip.js +3 -3
  109. package/dist/css/components/AvatarStack/AvatarStack.css +67 -0
  110. package/dist/css/components/Icon/Icon.css +128 -4
  111. package/dist/css/components/Text/Text.css +0 -9
  112. package/dist/css/styles/border-color/border-color_hover.css +6 -8
  113. package/dist/css/styles/fill/fill_active.css +19 -9
  114. package/dist/css/styles/fill/fill_active_hover.css +19 -0
  115. package/dist/css/styles/fill/fill_hover.css +19 -0
  116. package/dist/css/styles/text-color/text-color_active.css +17 -0
  117. package/dist/css/styles/text-color/text-color_active_hover.css +40 -0
  118. package/dist/stories/index.stories.js +49 -0
  119. package/dist/stories/useDevicePropsGenerator.mdx +76 -102
  120. package/dist/stories/useMediaQueries.mdx +32 -7
  121. package/dist/stories/useStyles.mdx +50 -2
  122. package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
  123. package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +9 -0
  124. package/dist/types/components/AvatarStack/index.d.ts +2 -0
  125. package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -0
  126. package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +5 -0
  127. package/dist/types/components/CookiesWarning/index.d.ts +2 -1
  128. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +25 -0
  129. package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +0 -6
  130. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +5 -0
  131. package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +2 -3
  132. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -11
  133. package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +20 -0
  134. package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +7 -0
  135. package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
  136. package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +11 -0
  137. package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +21 -0
  138. package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +8 -0
  139. package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -0
  140. package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +8 -0
  141. package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +59 -0
  142. package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +16 -0
  143. package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +11 -0
  144. package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +25 -0
  145. package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +11 -0
  146. package/dist/types/components/InputPassword/index.d.ts +1 -1
  147. package/dist/types/components/Link/appearance/linkAccent.d.ts +20 -0
  148. package/dist/types/components/Link/appearance/linkDanger.d.ts +7 -0
  149. package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
  150. package/dist/types/components/Link/appearance/linkError.d.ts +11 -0
  151. package/dist/types/components/Link/appearance/linkInfo.d.ts +21 -0
  152. package/dist/types/components/Link/appearance/linkPrimary.d.ts +8 -0
  153. package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
  154. package/dist/types/components/Link/appearance/linkSecondary.d.ts +8 -0
  155. package/dist/types/components/Link/appearance/linkSize.d.ts +59 -0
  156. package/dist/types/components/Link/appearance/linkStyle.d.ts +16 -0
  157. package/dist/types/components/Link/appearance/linkSuccess.d.ts +11 -0
  158. package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
  159. package/dist/types/components/Link/appearance/linkWarning.d.ts +11 -0
  160. package/dist/types/components/Loader/Loader.appearance.d.ts +3 -2
  161. package/dist/types/components/Loader/Loader.interface.d.ts +16 -17
  162. package/dist/types/components/Loader/appearance/loaderSize.d.ts +12 -0
  163. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +5 -0
  164. package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
  165. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +8 -0
  166. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
  167. package/dist/types/components/Response/Response.appearance.d.ts +2 -2
  168. package/dist/types/components/Response/appearance/responseAccent.d.ts +20 -0
  169. package/dist/types/components/Response/appearance/responseDanger.d.ts +7 -0
  170. package/dist/types/components/Response/appearance/responseDisabled.d.ts +20 -0
  171. package/dist/types/components/Response/appearance/responseError.d.ts +11 -0
  172. package/dist/types/components/Response/appearance/responseInfo.d.ts +21 -0
  173. package/dist/types/components/Response/appearance/responsePrimary.d.ts +8 -0
  174. package/dist/types/components/Response/appearance/responseRequire.d.ts +20 -0
  175. package/dist/types/components/Response/appearance/responseSecondary.d.ts +8 -0
  176. package/dist/types/components/Response/appearance/responseSize.d.ts +59 -0
  177. package/dist/types/components/Response/appearance/responseStyle.d.ts +16 -0
  178. package/dist/types/components/Response/appearance/responseSuccess.d.ts +11 -0
  179. package/dist/types/components/Response/appearance/responseSurface.d.ts +25 -0
  180. package/dist/types/components/Response/appearance/responseWarning.d.ts +11 -0
  181. package/dist/types/components/Search/appearance/searchDefault.d.ts +24 -0
  182. package/dist/types/components/Search/appearance/searchDisabled.d.ts +20 -0
  183. package/dist/types/components/Search/appearance/searchError.d.ts +20 -0
  184. package/dist/types/components/Search/appearance/searchRequire.d.ts +20 -0
  185. package/dist/types/components/Search/appearance/searchSize.d.ts +18 -8
  186. package/dist/types/components/Search/appearance/searchSuccess.d.ts +20 -0
  187. package/dist/types/components/Switch/Switch.appearance.d.ts +1 -1
  188. package/dist/types/components/Switch/appearance/switchAccent.d.ts +20 -0
  189. package/dist/types/components/Switch/appearance/switchDanger.d.ts +7 -0
  190. package/dist/types/components/Switch/appearance/switchDisabled.d.ts +20 -0
  191. package/dist/types/components/Switch/appearance/switchError.d.ts +11 -0
  192. package/dist/types/components/Switch/appearance/switchInfo.d.ts +21 -0
  193. package/dist/types/components/Switch/appearance/switchPrimary.d.ts +8 -0
  194. package/dist/types/components/Switch/appearance/switchRequire.d.ts +20 -0
  195. package/dist/types/components/Switch/appearance/switchSecondary.d.ts +8 -0
  196. package/dist/types/components/Switch/appearance/switchSize.d.ts +59 -0
  197. package/dist/types/components/Switch/appearance/switchStyle.d.ts +16 -0
  198. package/dist/types/components/Switch/appearance/switchSuccess.d.ts +11 -0
  199. package/dist/types/components/Switch/appearance/switchSurface.d.ts +25 -0
  200. package/dist/types/components/Switch/appearance/switchWarning.d.ts +11 -0
  201. package/dist/types/components/Tile/appearance/tileAccent.d.ts +20 -0
  202. package/dist/types/components/Tile/appearance/tileDanger.d.ts +7 -0
  203. package/dist/types/components/Tile/appearance/tileDisabled.d.ts +20 -0
  204. package/dist/types/components/Tile/appearance/tileError.d.ts +11 -0
  205. package/dist/types/components/Tile/appearance/tileInfo.d.ts +21 -0
  206. package/dist/types/components/Tile/appearance/tilePrimary.d.ts +8 -0
  207. package/dist/types/components/Tile/appearance/tileRequire.d.ts +20 -0
  208. package/dist/types/components/Tile/appearance/tileSecondary.d.ts +8 -0
  209. package/dist/types/components/Tile/appearance/tileSize.d.ts +59 -0
  210. package/dist/types/components/Tile/appearance/tileStyle.d.ts +16 -0
  211. package/dist/types/components/Tile/appearance/tileSuccess.d.ts +11 -0
  212. package/dist/types/components/Tile/appearance/tileSurface.d.ts +25 -0
  213. package/dist/types/components/Tile/appearance/tileWarning.d.ts +11 -0
  214. package/dist/types/components/Title/Title.appearance.d.ts +2 -2
  215. package/dist/types/components/Title/Title.interface.d.ts +3 -3
  216. package/dist/types/components/Title/appearance/titleAccent.d.ts +20 -0
  217. package/dist/types/components/Title/appearance/titleDanger.d.ts +7 -0
  218. package/dist/types/components/Title/appearance/titleDisabled.d.ts +20 -0
  219. package/dist/types/components/Title/appearance/titleError.d.ts +11 -0
  220. package/dist/types/components/Title/appearance/titleInfo.d.ts +21 -0
  221. package/dist/types/components/Title/appearance/titlePrimary.d.ts +8 -0
  222. package/dist/types/components/Title/appearance/titleRequire.d.ts +20 -0
  223. package/dist/types/components/Title/appearance/titleSecondary.d.ts +8 -0
  224. package/dist/types/components/Title/appearance/titleSize.d.ts +59 -0
  225. package/dist/types/components/Title/appearance/titleStyle.d.ts +16 -0
  226. package/dist/types/components/Title/appearance/titleSuccess.d.ts +11 -0
  227. package/dist/types/components/Title/appearance/titleSurface.d.ts +25 -0
  228. package/dist/types/components/Title/appearance/titleWarning.d.ts +11 -0
  229. package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +1 -1
  230. package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +20 -0
  231. package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +7 -0
  232. package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +20 -0
  233. package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +11 -0
  234. package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +21 -0
  235. package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +8 -0
  236. package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +20 -0
  237. package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +8 -0
  238. package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +59 -0
  239. package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +16 -0
  240. package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +11 -0
  241. package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +25 -0
  242. package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +11 -0
  243. package/package.json +7 -7
  244. package/dist/Link_cjs_yht44xJv.js +0 -68
  245. package/dist/Link_es_DkW06IM-.js +0 -63
  246. package/dist/Text_cjs_iL1l_7V1.js +0 -63
  247. package/dist/stories/Pagination.mdx +0 -11
  248. package/dist/stories/Tile.mdx +0 -11
@@ -5,9 +5,9 @@ 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_es_CHDT0-8K.js';
9
- import { G as Group } from '../Group_es_B8pQHYsC.js';
10
- import { T as Text } from '../Text_es_D012qJ8s.js';
8
+ import { B as Button } from '../Button_es_BV1bepl1.js';
9
+ import { G as Group } from '../Group_es_CYW2Hquh.js';
10
+ import { T as Text } from '../Text_es_BRb3qqKM.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
13
13
  import 'lodash/upperFirst';
@@ -20,205 +20,249 @@ import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Tooltip_es_C7zstTA2.js';
24
- import '../Link_es_DkW06IM-.js';
25
- import '../Loader_es_SHdP0IkA.js';
23
+ import '../Tooltip_es_D0PSqI2c.js';
24
+ import '../Link_es_CyJn7NFb.js';
25
+ import '../Loader_es_DEYowVdU.js';
26
26
 
27
- 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";
27
+ var responseAppearanceAccent = {
28
+ accent: {
29
+ fill: 'accentPrimary',
30
+ fillHover: 'accentPrimaryHover',
31
+ },
32
+ accentPrimary: {
33
+ fill: 'accentPrimary',
34
+ fillHover: 'accentPrimaryHover',
35
+ borderColor: 'accentBorderPrimary',
36
+ },
37
+ accentSecondary: {
38
+ fill: 'accentPrimary',
39
+ fillHover: 'accentPrimaryHover',
40
+ labelTextColor: 'accentTextSecondary',
41
+ labelTextColorHover: 'accentTextSecondary',
42
+ borderColor: 'accentBorderPrimary',
43
+ loaderItemFill: 'accentItemPrimary',
44
+ },
45
+ };
28
46
 
29
- var img$5 = "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='%23E00000'/%3e%3cpath d='M90.5027 104.581V45.2513' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M90.5027 134.749V129.721' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";
47
+ var responseAppearanceDanger = {
48
+ danger: {
49
+ fill: 'dangerPrimary',
50
+ fillHover: 'dangerPrimaryHover',
51
+ },
52
+ };
30
53
 
31
- var img$4 = "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='M116.144 71.2426C118.487 68.8995 118.487 65.1005 116.144 62.7574C113.801 60.4142 110.002 60.4142 107.659 62.7574L89.4506 80.9654L71.2426 62.7574C68.8995 60.4142 65.1005 60.4142 62.7574 62.7574C60.4142 65.1005 60.4142 68.8995 62.7574 71.2426L80.9654 89.4506L62.7574 107.659C60.4142 110.002 60.4142 113.801 62.7574 116.144C65.1005 118.487 68.8995 118.487 71.2426 116.144L89.4506 97.9359L107.659 116.144C110.002 118.487 113.801 118.487 116.144 116.144C118.487 113.801 118.487 110.002 116.144 107.659L97.9359 89.4506L116.144 71.2426Z' fill='%23747474'/%3e%3c/svg%3e";
54
+ var responseAppearanceDisabled = {
55
+ disabledPrimary: {
56
+ fill: 'surfaceFillDisabled',
57
+ borderColor: 'errorBorderQuaternary',
58
+ borderHover: 'errorBorderQuaternary',
59
+ textColor: 'surfaceTextQuaternary',
60
+ iconBeforeFill: 'errorItemQuaternary',
61
+ iconClearFill: 'errorItemPrimary',
62
+ placeholderTextColor: 'surfaceTextQuaternary',
63
+ },
64
+ disabledSecondary: {
65
+ fill: 'surfaceSecondary',
66
+ borderColor: 'surfaceBorderTertiary',
67
+ borderHover: 'surfaceBorderQuaternary',
68
+ iconBeforeFill: 'surfaceItemQuaternary',
69
+ iconClearFill: 'surfaceItemPrimary',
70
+ placeholderTextColor: 'surfaceTextSecondary',
71
+ },
72
+ };
32
73
 
33
- var img$3 = "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='M128.811 123.436L110.56 105.386C115.694 99.2993 118.754 91.5088 118.754 82.9879C118.754 63.6507 102.929 48.0001 83.3768 48.0001C63.8246 47.9653 48 63.6159 48 82.9531C48 102.29 63.8246 117.941 83.3768 117.941C88.933 117.941 94.1727 116.689 98.8497 114.428C99.131 114.846 99.4475 115.263 99.8343 115.611L118.261 133.835C121.18 136.722 125.892 136.722 128.811 133.835C131.73 130.983 131.73 126.323 128.811 123.436ZM55.4551 82.9531C55.4551 67.6851 67.9742 55.3385 83.3768 55.3385C98.8145 55.3385 111.298 67.7198 111.298 82.9531C111.298 98.2211 98.7794 110.568 83.3768 110.568C67.9742 110.603 55.4551 98.2211 55.4551 82.9531Z' fill='%23747474'/%3e%3c/svg%3e";
74
+ var responseAppearanceError = {
75
+ error: {
76
+ fill: 'errorPrimary',
77
+ fillHover: 'errorPrimaryHover',
78
+ labelTextColor: 'errorTextPrimary',
79
+ labelTextColorHover: 'errorTextPrimary',
80
+ loaderFill: 'errorPrimary',
81
+ loaderItemFill: 'errorItemPrimary',
82
+ },
83
+ };
34
84
 
35
- var img$2 = "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='%2374B43D'/%3e%3cpath d='M61.3408 97.5419L82.9609 118.659L127.71 65.3632' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";
85
+ var responseAppearanceInfo = {
86
+ info: {
87
+ fill: 'accentPrimary',
88
+ fillHover: 'accentPrimaryHover',
89
+ labelTextColor: 'accentTextPrimary',
90
+ labelTextColorHover: 'accentTextPrimary',
91
+ borderColor: 'accentBorderPrimary',
92
+ loaderFill: 'accentPrimary',
93
+ loaderItemFill: 'accentItemPrimary',
94
+ },
95
+ infoSecondary: {
96
+ fill: 'accentPrimary',
97
+ fillHover: 'accentPrimaryHover',
98
+ labelTextColor: 'accentTextSecondary',
99
+ labelTextColorHover: 'accentTextSecondary',
100
+ borderColor: 'accentBorderPrimary',
101
+ loaderFill: 'accentPrimary',
102
+ loaderItemFill: 'accentItemPrimary',
103
+ },
104
+ };
36
105
 
37
- var img$1 = "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 fill-rule='evenodd' clip-rule='evenodd' d='M85.7155 56.9042L54.1865 115.911C53.0219 118.09 54.5678 121.43 58.4708 121.43H121.529C125.432 121.43 126.978 118.09 125.814 115.911L94.2845 56.9043C93.5012 55.4392 91.8762 54.57 89.9998 54.57C88.1237 54.57 86.4986 55.439 85.7155 56.9042ZM89.9998 48C93.9317 48 98.1142 49.8644 100.253 53.8659L131.782 112.873C135.732 120.266 129.482 128 121.529 128H58.4708C50.5181 128 44.2675 120.266 48.2181 112.873L79.7471 53.866C81.8855 49.8645 86.0683 48 89.9998 48ZM90.0002 74.0886C91.8588 74.0886 93.3658 75.5593 93.3658 77.3736V92.8756C93.3658 94.6897 91.8588 96.1606 90.0002 96.1606C88.1411 96.1606 86.6345 94.6897 86.6345 92.8756V77.3736C86.6345 75.5593 88.1411 74.0886 90.0002 74.0886ZM93.3658 108.377C93.3658 106.563 91.8588 105.092 90.0002 105.092C88.1411 105.092 86.6345 106.563 86.6345 108.377V108.457C86.6345 110.271 88.1411 111.742 90.0002 111.742C91.8588 111.742 93.3658 110.271 93.3658 108.457V108.377Z' fill='%23747474'/%3e%3c/svg%3e";
106
+ var responseAppearancePrimary = {
107
+ primary: {
108
+ fill: 'primaryPrimary',
109
+ fillHover: 'primaryPrimaryHover',
110
+ labelTextColor: 'primaryTextPrimary',
111
+ },
112
+ };
38
113
 
39
- var img = "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='%23DE8806'/%3e%3cpath d='M90.5028 104.581V45.2513' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M90.5028 134.749V129.721' stroke='white' stroke-width='12' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e";
114
+ var responseAppearanceRequire = {
115
+ requirePrimary: {
116
+ fill: 'warningTertiary',
117
+ borderColor: 'warningBorderQuaternary',
118
+ borderHover: 'warningBorderQuaternary',
119
+ textColor: 'surfaceTextPrimary',
120
+ iconBeforeFill: 'warningItemQuaternary',
121
+ iconClearFill: 'warningItemPrimary',
122
+ placeholderTextColor: 'surfaceTextQuaternary',
123
+ },
124
+ requireSecondary: {
125
+ fill: 'surfaceSecondary',
126
+ borderColor: 'surfaceBorderTertiary',
127
+ borderHover: 'surfaceBorderQuaternary',
128
+ iconBeforeFill: 'surfaceItemQuaternary',
129
+ iconClearFill: 'surfaceItemPrimary',
130
+ placeholderTextColor: 'surfaceTextSecondary',
131
+ },
132
+ };
40
133
 
41
- var responseAppearance = {
42
- custom: {
43
- titleTextColor: 'surfaceTextPrimary',
44
- titleTextSize: 'xxl',
45
- titleTextWeight: 400,
46
- descTextColor: 'surfaceTextPrimary',
47
- descTextSize: 'm',
48
- descTextWeight: 400,
49
- primaryButtonAppearance: 'accent',
50
- primaryButtonLabelTextSize: 'l',
51
- primaryButtonShape: 'rounded',
52
- primaryButtonSize: 'xxl',
53
- primaryButtonWidth: 'fill',
54
- secondaryButtonAppearance: 'surfaceSecondary',
55
- secondaryButtonLabelTextSize: 'l',
56
- secondaryButtonShape: 'rounded',
57
- secondaryButtonSize: 'xxl',
58
- secondaryButtonWidth: 'fill',
134
+ var responseAppearanceSecondary = {
135
+ secondary: {
136
+ fill: 'secondaryPrimary',
137
+ fillHover: 'secondaryPrimaryHover',
138
+ labelTextColor: 'secondaryTextPrimary',
59
139
  },
60
- error: {
61
- titleTextColor: 'surfaceTextPrimary',
62
- titleTextSize: 'xxl',
63
- titleTextWeight: 400,
64
- descTextColor: 'surfaceTextPrimary',
65
- descTextSize: 'm',
66
- descTextWeight: 400,
67
- primaryButtonAppearance: 'secondary',
68
- primaryButtonLabelTextSize: 'l',
69
- primaryButtonShape: 'rounded',
70
- primaryButtonSize: 'xxl',
71
- primaryButtonWidth: 'fill',
72
- secondaryButtonAppearance: 'surfaceSecondary',
73
- secondaryButtonLabelTextSize: 'l',
74
- secondaryButtonShape: 'rounded',
75
- secondaryButtonSize: 'xxl',
76
- secondaryButtonWidth: 'fill',
77
- svgFill: 'surfacePrimary',
78
- SvgImage: img$5,
140
+ };
141
+
142
+ var responseAppearanceSize = {
143
+ sizeXXL: {
144
+ size: 'xxl',
145
+ labelTextSize: 'xxl',
146
+ iconAfterFillSize: '24',
147
+ iconAfterSize: '24',
148
+ iconBeforeFillSize: '24',
149
+ iconBeforeSize: '24',
79
150
  },
80
- success: {
81
- titleTextColor: 'surfaceTextPrimary',
82
- titleTextSize: 'xxl',
83
- titleTextWeight: 400,
84
- descTextColor: 'surfaceTextPrimary',
85
- descTextSize: 'm',
86
- descTextWeight: 400,
87
- primaryButtonAppearance: 'accent',
88
- primaryButtonLabelTextSize: 'l',
89
- primaryButtonShape: 'rounded',
90
- primaryButtonSize: 'xxl',
91
- primaryButtonWidth: 'fill',
92
- secondaryButtonAppearance: 'surfaceSecondary',
93
- secondaryButtonLabelTextSize: 'l',
94
- secondaryButtonShape: 'rounded',
95
- secondaryButtonSize: 'xxl',
96
- secondaryButtonWidth: 'fill',
97
- svgFill: 'successPrimary',
98
- SvgImage: img$2,
151
+ sizeXL: {
152
+ size: 'xl',
153
+ labelTextSize: 'l',
154
+ iconAfterFillSize: '24',
155
+ iconAfterSize: '24',
156
+ iconBeforeFillSize: '24',
157
+ iconBeforeSize: '24',
99
158
  },
100
- warning: {
101
- titleTextColor: 'surfaceTextPrimary',
102
- titleTextSize: 'xxl',
103
- titleTextWeight: 400,
104
- descTextColor: 'surfaceTextPrimary',
105
- descTextSize: 'm',
106
- descTextWeight: 400,
107
- primaryButtonAppearance: 'primary',
108
- primaryButtonLabelTextSize: 'l',
109
- primaryButtonShape: 'rounded',
110
- primaryButtonSize: 'xxl',
111
- primaryButtonWidth: 'fill',
112
- secondaryButtonAppearance: 'surfaceSecondary',
113
- secondaryButtonLabelTextSize: 'l',
114
- secondaryButtonShape: 'rounded',
115
- secondaryButtonSize: 'xxl',
116
- secondaryButtonWidth: 'fill',
117
- svgFill: 'warningPrimary',
118
- SvgImage: img,
159
+ sizeL: {
160
+ size: 'l',
161
+ labelTextSize: 'l',
162
+ iconAfterFillSize: '24',
163
+ iconAfterSize: '24',
164
+ iconBeforeFillSize: '24',
165
+ iconBeforeSize: '24',
166
+ },
167
+ sizeM: {
168
+ size: 'm',
169
+ labelTextSize: 'm',
170
+ iconAfterFillSize: '24',
171
+ iconAfterSize: '24',
172
+ iconBeforeFillSize: '24',
173
+ iconBeforeSize: '24',
174
+ },
175
+ sizeS: {
176
+ size: 's',
177
+ labelTextSize: 's',
178
+ iconAfterFillSize: '20',
179
+ iconAfterSize: '20',
180
+ iconBeforeFillSize: '20',
181
+ iconBeforeSize: '20',
182
+ },
183
+ sizeXS: {
184
+ size: 'xs',
185
+ labelTextSize: 'xs',
186
+ iconAfterFillSize: '16',
187
+ iconAfterSize: '16',
188
+ iconBeforeFillSize: '16',
189
+ iconBeforeSize: '16',
190
+ },
191
+ sizeXXS: {
192
+ size: 'xxs',
193
+ labelTextSize: 'xs',
194
+ iconAfterFillSize: '14',
195
+ iconAfterSize: '14',
196
+ iconBeforeFillSize: '14',
197
+ iconBeforeSize: '14',
198
+ },
199
+ };
200
+
201
+ var responseAppearanceStyle = {
202
+ full: {
203
+ borderColor: '0',
204
+ },
205
+ ghost: {
206
+ fill: 'none',
207
+ borderColor: '0',
208
+ },
209
+ outlined: {
210
+ fill: 'none',
119
211
  },
120
- fail: {
121
- titleTextColor: 'surfaceTextPrimary',
122
- titleTextSize: 'xxl',
123
- titleTextWeight: 400,
124
- descTextColor: 'surfaceTextPrimary',
125
- descTextSize: 'm',
126
- descTextWeight: 400,
127
- primaryButtonAppearance: 'surfaceTertiary',
128
- primaryButtonLabelTextSize: 'l',
129
- primaryButtonShape: 'rounded',
130
- primaryButtonSize: 'xxl',
131
- primaryButtonWidth: 'fill',
132
- secondaryButtonAppearance: 'surfaceSecondary',
133
- secondaryButtonLabelTextSize: 'l',
134
- secondaryButtonShape: 'rounded',
135
- secondaryButtonSize: 'xxl',
136
- secondaryButtonWidth: 'fill',
137
- svgFill: 'surfacePrimary',
138
- SvgImage: img$4,
212
+ solid: {
213
+ borderColor: '0',
139
214
  },
140
- nothingFound: {
141
- titleTextColor: 'surfaceTextPrimary',
142
- titleTextSize: 'xxl',
143
- titleTextWeight: 400,
144
- descTextColor: 'surfaceTextPrimary',
145
- descTextSize: 'm',
146
- descTextWeight: 400,
147
- primaryButtonAppearance: 'surfaceTertiary',
148
- primaryButtonLabelTextSize: 'l',
149
- primaryButtonShape: 'rounded',
150
- primaryButtonSize: 'xxl',
151
- primaryButtonWidth: 'fill',
152
- secondaryButtonAppearance: 'surfaceSecondary',
153
- secondaryButtonLabelTextSize: 'l',
154
- secondaryButtonShape: 'rounded',
155
- secondaryButtonSize: 'xxl',
156
- secondaryButtonWidth: 'fill',
157
- svgFill: 'surfacePrimary',
158
- SvgImage: img$3,
215
+ };
216
+
217
+ var responseAppearanceSuccess = {
218
+ success: {
219
+ fill: 'successPrimary',
220
+ fillHover: 'successPrimaryHover',
221
+ labelTextColor: 'successTextSecondary',
222
+ labelTextColorHover: 'successTextSecondary',
223
+ loaderFill: 'successPrimary',
224
+ loaderItemFill: 'successItemPrimary',
225
+ },
226
+ };
227
+
228
+ var responseAppearanceSurface = {
229
+ surfacePrimary: {
230
+ fill: 'surfacePrimary',
231
+ fillHover: 'surfacePrimaryHover',
232
+ labelTextColor: 'surfaceTextPrimary',
159
233
  },
160
- unableLoadData: {
161
- titleTextColor: 'surfaceTextPrimary',
162
- titleTextSize: 'xxl',
163
- titleTextWeight: 400,
164
- descTextColor: 'surfaceTextPrimary',
165
- descTextSize: 'm',
166
- descTextWeight: 400,
167
- primaryButtonAppearance: 'surfaceTertiary',
168
- primaryButtonLabelTextSize: 'l',
169
- primaryButtonShape: 'rounded',
170
- primaryButtonSize: 'xxl',
171
- primaryButtonWidth: 'fill',
172
- secondaryButtonAppearance: 'surfaceSecondary',
173
- secondaryButtonLabelTextSize: 'l',
174
- secondaryButtonShape: 'rounded',
175
- secondaryButtonSize: 'xxl',
176
- secondaryButtonWidth: 'fill',
177
- svgFill: 'surfacePrimary',
178
- SvgImage: img$1,
234
+ surfaceQuaternary: {
235
+ fill: 'surfaceQuaternary',
236
+ fillHover: 'surfaceQuaternaryHover',
237
+ labelTextColor: 'surfaceTextPrimary',
179
238
  },
180
- refresh: {
181
- titleTextColor: 'surfaceTextPrimary',
182
- titleTextSize: 'xxl',
183
- titleTextWeight: 400,
184
- descTextColor: 'surfaceTextPrimary',
185
- descTextSize: 'm',
186
- descTextWeight: 400,
187
- primaryButtonAppearance: 'surfaceTertiary',
188
- primaryButtonLabelTextSize: 'l',
189
- primaryButtonShape: 'rounded',
190
- primaryButtonSize: 'xxl',
191
- primaryButtonWidth: 'fill',
192
- secondaryButtonAppearance: 'surfaceSecondary',
193
- secondaryButtonLabelTextSize: 'l',
194
- secondaryButtonShape: 'rounded',
195
- secondaryButtonSize: 'xxl',
196
- secondaryButtonWidth: 'fill',
197
- svgFill: 'surfacePrimary',
198
- SvgImage: img$3,
239
+ surfaceSecondary: {
240
+ fill: 'surfaceSecondary',
241
+ fillHover: 'surfaceSecondaryHover',
242
+ labelTextColor: 'surfaceTextPrimary',
243
+ loaderFill: 'surfaceSecondary',
244
+ loaderItemFill: 'surfaceItemPrimary',
199
245
  },
200
- confirm: {
201
- titleTextColor: 'surfaceTextPrimary',
202
- titleTextSize: 'xxl',
203
- titleTextWeight: 400,
204
- descTextColor: 'surfaceTextPrimary',
205
- descTextSize: 'm',
206
- descTextWeight: 400,
207
- primaryButtonAppearance: 'secondary',
208
- primaryButtonLabelTextSize: 'l',
209
- primaryButtonShape: 'rounded',
210
- primaryButtonSize: 'xxl',
211
- primaryButtonWidth: 'fill',
212
- secondaryButtonAppearance: 'surfaceSecondary',
213
- secondaryButtonLabelTextSize: 'l',
214
- secondaryButtonShape: 'rounded',
215
- secondaryButtonSize: 'xxl',
216
- secondaryButtonWidth: 'fill',
217
- svgFill: 'surfacePrimary',
218
- SvgImage: img$6,
246
+ surfaceTertiary: {
247
+ fill: 'surfaceTertiary',
248
+ fillHover: 'surfaceTertiaryHover',
249
+ labelTextColor: 'surfaceTextPrimary',
219
250
  },
220
251
  };
221
252
 
253
+ var responseAppearanceWarning = {
254
+ warning: {
255
+ fill: 'warningPrimary',
256
+ fillHover: 'warningPrimaryHover',
257
+ labelTextColor: 'warningTextSecondary',
258
+ labelTextColorHover: 'warningTextSecondary',
259
+ loaderFill: 'warningPrimary',
260
+ loaderItemFill: 'warningItemPrimary',
261
+ },
262
+ };
263
+
264
+ var responseAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, responseAppearanceSize), responseAppearanceDisabled), responseAppearanceRequire), responseAppearanceStyle), responseAppearanceAccent), responseAppearanceDanger), responseAppearanceError), responseAppearanceInfo), responseAppearancePrimary), responseAppearanceSecondary), responseAppearanceSuccess), responseAppearanceSurface), responseAppearanceWarning);
265
+
222
266
  var responseConfig = {
223
267
  appearance: responseAppearance,
224
268
  setAppearance: function (appearanceConfig) {
@@ -1,12 +1,11 @@
1
1
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
- import { icon16, icon24 } from '@itcase/icons/default';
3
2
  import { jsxs, jsx } from 'react/jsx-runtime';
4
3
  import React, { useCallback } from 'react';
5
4
  import clsx from 'clsx';
6
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { I as Icon } from '../Tooltip_es_C7zstTA2.js';
9
- import { T as Text } from '../Text_es_D012qJ8s.js';
7
+ import { I as Icon } from '../Tooltip_es_D0PSqI2c.js';
8
+ import { T as Text } from '../Text_es_BRb3qqKM.js';
10
9
  import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
11
10
  import 'lodash/camelCase';
12
11
  import 'lodash/castArray';
@@ -21,23 +20,117 @@ import '../utils/setViewportProperty.js';
21
20
  import 'lodash/maxBy';
22
21
  import '../hooks/useStyles/styleAttributes.js';
23
22
  import 'react-inlinesvg';
24
- import '../Link_es_DkW06IM-.js';
23
+ import '../Link_es_CyJn7NFb.js';
25
24
  import 'react-scrollbars-custom';
26
25
 
26
+ var searchAppearanceDefault = {
27
+ defaultPrimary: {
28
+ fill: 'surfaceSecondary',
29
+ borderColor: 'surfaceBorderTertiary',
30
+ borderHover: 'surfaceBorderQuaternary',
31
+ textColor: 'surfaceTextPrimary',
32
+ textColorDisabled: 'surfaceTextDisabled',
33
+ caret: 'secondaryItemSecondary',
34
+ iconBeforeFill: 'surfaceItemQuaternary',
35
+ iconClearFill: 'surfaceItemPrimary',
36
+ },
37
+ defaultSecondary: {
38
+ fill: 'surfacePrimary',
39
+ borderColor: 'surfaceBorderTertiary',
40
+ borderHover: 'surfaceBorderQuaternary',
41
+ textColor: 'surfaceTextPrimary',
42
+ textColorDisabled: 'surfaceTextDisabled',
43
+ caret: 'secondaryItemSecondary',
44
+ iconBeforeFill: 'surfaceItemQuaternary',
45
+ iconClearFill: 'surfaceItemPrimary',
46
+ placeholderTextColor: 'surfaceTextQuaternary',
47
+ },
48
+ };
49
+
50
+ var searchAppearanceDisabled = {
51
+ disabledPrimary: {
52
+ fill: 'surfaceFillDisabled',
53
+ borderColor: 'errorBorderQuaternary',
54
+ borderHover: 'errorBorderQuaternary',
55
+ textColor: 'surfaceTextQuaternary',
56
+ iconBeforeFill: 'errorItemQuaternary',
57
+ iconClearFill: 'errorItemPrimary',
58
+ placeholderTextColor: 'surfaceTextQuaternary',
59
+ },
60
+ disabledSecondary: {
61
+ fill: 'surfaceSecondary',
62
+ borderColor: 'surfaceBorderTertiary',
63
+ borderHover: 'surfaceBorderQuaternary',
64
+ iconBeforeFill: 'surfaceItemQuaternary',
65
+ iconClearFill: 'surfaceItemPrimary',
66
+ placeholderTextColor: 'surfaceTextSecondary',
67
+ },
68
+ };
69
+
70
+ var searchAppearanceError = {
71
+ errorPrimary: {
72
+ fill: 'errorTertiary',
73
+ borderColor: 'errorBorderQuaternary',
74
+ borderHover: 'errorBorderQuaternary',
75
+ textColor: 'surfaceTextPrimary',
76
+ iconBeforeFill: 'errorItemQuaternary',
77
+ iconClearFill: 'errorItemPrimary',
78
+ placeholderTextColor: 'surfaceTextQuaternary',
79
+ },
80
+ errorSecondary: {
81
+ fill: 'errorSecondary',
82
+ borderColor: 'errorBorderTertiary',
83
+ borderHover: 'errorBorderQuaternary',
84
+ iconBeforeFill: 'errorItemQuaternary',
85
+ iconClearFill: 'errorItemPrimary',
86
+ placeholderTextColor: 'errorTextSecondary',
87
+ },
88
+ };
89
+
90
+ var searchAppearanceRequire = {
91
+ requirePrimary: {
92
+ fill: 'warningTertiary',
93
+ borderColor: 'warningBorderQuaternary',
94
+ borderHover: 'warningBorderQuaternary',
95
+ textColor: 'surfaceTextPrimary',
96
+ iconBeforeFill: 'warningItemQuaternary',
97
+ iconClearFill: 'warningItemPrimary',
98
+ placeholderTextColor: 'surfaceTextQuaternary',
99
+ },
100
+ requireSecondary: {
101
+ fill: 'surfaceSecondary',
102
+ borderColor: 'surfaceBorderTertiary',
103
+ borderHover: 'surfaceBorderQuaternary',
104
+ iconBeforeFill: 'surfaceItemQuaternary',
105
+ iconClearFill: 'surfaceItemPrimary',
106
+ placeholderTextColor: 'surfaceTextSecondary',
107
+ },
108
+ };
109
+
27
110
  var searchAppearanceSize = {
111
+ sizeXXL: {
112
+ size: 'xxl',
113
+ textSize: 'l',
114
+ },
115
+ sizeXL: {
116
+ size: 'xl',
117
+ textSize: 's',
118
+ },
119
+ sizeL: {
120
+ size: 'l',
121
+ textSize: 's',
122
+ },
123
+ sizeM: {
124
+ size: 'm',
125
+ textSize: 'm',
126
+ },
28
127
  sizeS: {
29
128
  size: 's',
30
- iconBefore: icon24.Search,
31
- iconBeforeSize: '24',
32
- iconClear: icon24.Clear,
33
- iconClearSize: '24',
129
+ textSize: 's',
34
130
  },
35
131
  sizeXS: {
36
132
  size: 'xs',
37
- iconBefore: icon16.Search,
38
- iconBeforeSize: '16',
39
- iconClear: icon16.Clear,
40
- iconClearSize: '16',
133
+ textSize: 's',
41
134
  },
42
135
  };
43
136
 
@@ -57,6 +150,26 @@ var searchAppearanceStyle = {
57
150
  },
58
151
  };
59
152
 
153
+ var searchAppearanceSuccess = {
154
+ successPrimary: {
155
+ fill: 'successTertiary',
156
+ borderColor: 'successBorderQuaternary',
157
+ borderHover: 'successBorderQuaternary',
158
+ textColor: 'surfaceTextPrimary',
159
+ iconBeforeFill: 'successItemQuaternary',
160
+ iconClearFill: 'successItemPrimary',
161
+ placeholderTextColor: 'surfaceTextQuaternary',
162
+ },
163
+ successSecondary: {
164
+ fill: 'surfaceSecondary',
165
+ borderColor: 'surfaceBorderTertiary',
166
+ borderHover: 'surfaceBorderQuaternary',
167
+ iconBeforeFill: 'surfaceItemQuaternary',
168
+ iconClearFill: 'surfaceItemPrimary',
169
+ placeholderTextColor: 'surfaceTextSecondary',
170
+ },
171
+ };
172
+
60
173
  var searchAppearanceSurface = {
61
174
  surfacePrimary: {
62
175
  fill: 'surfacePrimary',
@@ -75,7 +188,7 @@ var searchAppearanceSurface = {
75
188
  },
76
189
  };
77
190
 
78
- var searchAppearance = __assign(__assign(__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle);
191
+ var searchAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, searchAppearanceSurface), searchAppearanceSize), searchAppearanceStyle), searchAppearanceDefault), searchAppearanceError), searchAppearanceSuccess), searchAppearanceRequire), searchAppearanceDisabled);
79
192
 
80
193
  var searchInputConfig = {
81
194
  appearance: searchAppearance,
@@ -3,7 +3,7 @@ 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_es_D012qJ8s.js';
6
+ import { T as Text } from '../Text_es_BRb3qqKM.js';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
9
9
  import 'lodash/upperFirst';
@@ -1,13 +1,13 @@
1
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, B as Badge } from '../Tooltip_es_C7zstTA2.js';
4
+ import { I as Icon, B as Badge } from '../Tooltip_es_D0PSqI2c.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_es_D012qJ8s.js';
10
- import { G as Group } from '../Group_es_B8pQHYsC.js';
9
+ import { T as Text } from '../Text_es_BRb3qqKM.js';
10
+ import { G as Group } from '../Group_es_CYW2Hquh.js';
11
11
  import { D as Divider } from '../Divider_es_BdU9qjKa.js';
12
12
  import '../hooks/useStyles/useStyles.js';
13
13
  import 'lodash/camelCase';
@@ -22,7 +22,7 @@ import 'react-responsive';
22
22
  import '../utils/setViewportProperty.js';
23
23
  import '../hooks/useStyles/styleAttributes.js';
24
24
  import 'react-inlinesvg';
25
- import '../Link_es_DkW06IM-.js';
25
+ import '../Link_es_CyJn7NFb.js';
26
26
  import 'lodash/castArray';
27
27
 
28
28
  // interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>