@itcase/ui 1.8.19 → 1.8.22

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 (287) hide show
  1. package/dist/Avatar_cjs_DSXs1Yrg.js +221 -0
  2. package/dist/Avatar_es_DByUaJL6.js +217 -0
  3. package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CukkOE-v.js} +15 -6
  4. package/dist/{Button_es_CHDT0-8K.js → Button_es_DXcCJuNX.js} +15 -6
  5. package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_9wrMZrzL.js} +2 -2
  6. package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_CjGZ-ulT.js} +2 -2
  7. package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_BriuTQqj.js} +4 -4
  8. package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_DzY_fVii.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DY61IdLK.js} +15 -15
  10. package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_D8mY9vFZ.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_CnwET26s.js} +12 -4
  16. package/dist/{Label_es_CiPEDFcR.js → Label_es_Dc18d1gY.js} +12 -4
  17. package/dist/Link_cjs_DbRGq2Yk.js +303 -0
  18. package/dist/Link_es_DxtZLeKY.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_PkuRdzzy.js} +480 -17
  24. package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_BaGfb-qC.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 +4 -4
  30. package/dist/cjs/components/Button.js +5 -5
  31. package/dist/cjs/components/Cell.js +16 -150
  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/Code.js +2 -8
  36. package/dist/cjs/components/CookiesWarning.js +13 -6
  37. package/dist/cjs/components/DatePeriod.js +8 -8
  38. package/dist/cjs/components/DatePicker.js +7 -7
  39. package/dist/cjs/components/Drawer.js +26 -2
  40. package/dist/cjs/components/Dropdown.js +5 -2
  41. package/dist/cjs/components/Group.js +1 -1
  42. package/dist/cjs/components/Icon.js +3 -3
  43. package/dist/cjs/components/Image.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +166 -44
  45. package/dist/cjs/components/Label.js +4 -4
  46. package/dist/cjs/components/Link.js +1 -1
  47. package/dist/cjs/components/List.js +1 -1
  48. package/dist/cjs/components/Loader.js +2 -2
  49. package/dist/cjs/components/Logo.js +1 -1
  50. package/dist/cjs/components/MenuItem.js +30 -10
  51. package/dist/cjs/components/Modal.js +4 -4
  52. package/dist/cjs/components/ModalSheetBottom.js +7 -0
  53. package/dist/cjs/components/Notification.js +1 -1
  54. package/dist/cjs/components/Pagination.js +11 -9
  55. package/dist/cjs/components/Radio.js +1 -1
  56. package/dist/cjs/components/Response/img.js +33 -0
  57. package/dist/cjs/components/Response.js +96 -184
  58. package/dist/cjs/components/Search.js +126 -13
  59. package/dist/cjs/components/Segmented.js +1 -1
  60. package/dist/cjs/components/Select.js +4 -4
  61. package/dist/cjs/components/Swiper.js +3 -3
  62. package/dist/cjs/components/Switch.js +238 -3
  63. package/dist/cjs/components/Tab.js +3 -3
  64. package/dist/cjs/components/Text.js +1 -1
  65. package/dist/cjs/components/Tile.js +81 -8
  66. package/dist/cjs/components/Title.js +3 -3
  67. package/dist/cjs/components/Tooltip.js +3 -3
  68. package/dist/components/Accordion.js +3 -3
  69. package/dist/components/Avatar.js +10 -237
  70. package/dist/components/AvatarStack.js +33 -0
  71. package/dist/components/Badge.js +3 -3
  72. package/dist/components/Breadcrumbs.js +4 -4
  73. package/dist/components/Button.js +5 -5
  74. package/dist/components/Cell.js +16 -150
  75. package/dist/components/Checkbox.js +1 -1
  76. package/dist/components/Chips.js +4 -4
  77. package/dist/components/Choice.js +6 -6
  78. package/dist/components/Code.js +2 -8
  79. package/dist/components/CookiesWarning.js +13 -7
  80. package/dist/components/DatePeriod.js +8 -8
  81. package/dist/components/DatePicker.js +7 -7
  82. package/dist/components/Drawer.js +26 -2
  83. package/dist/components/Dropdown.js +5 -2
  84. package/dist/components/Group.js +1 -1
  85. package/dist/components/Icon.js +3 -3
  86. package/dist/components/Image.js +2 -2
  87. package/dist/components/InputPassword.js +166 -43
  88. package/dist/components/Label.js +4 -4
  89. package/dist/components/Link.js +1 -1
  90. package/dist/components/List.js +1 -1
  91. package/dist/components/Loader.js +2 -2
  92. package/dist/components/Logo.js +1 -1
  93. package/dist/components/MenuItem.js +30 -10
  94. package/dist/components/Modal.js +4 -4
  95. package/dist/components/ModalSheetBottom.js +7 -1
  96. package/dist/components/Notification.js +1 -1
  97. package/dist/components/Pagination.js +11 -9
  98. package/dist/components/Radio.js +1 -1
  99. package/dist/components/Response/img.js +31 -0
  100. package/dist/components/Response.js +96 -184
  101. package/dist/components/Search.js +126 -13
  102. package/dist/components/Segmented.js +1 -1
  103. package/dist/components/Select.js +4 -4
  104. package/dist/components/Swiper.js +3 -3
  105. package/dist/components/Switch.js +238 -3
  106. package/dist/components/Tab.js +3 -3
  107. package/dist/components/Text.js +1 -1
  108. package/dist/components/Tile.js +81 -8
  109. package/dist/components/Title.js +3 -3
  110. package/dist/components/Tooltip.js +3 -3
  111. package/dist/css/components/AvatarStack/AvatarStack.css +54 -0
  112. package/dist/css/components/Code/Code.css +3 -6
  113. package/dist/css/components/Icon/Icon.css +128 -4
  114. package/dist/css/components/Label/Label.css +4 -4
  115. package/dist/css/components/MenuItem/MenuItem.css +19 -43
  116. package/dist/css/components/Response/Response.css +6 -3
  117. package/dist/css/components/Tab/Tab.css +14 -31
  118. package/dist/css/components/Text/Text.css +0 -9
  119. package/dist/css/components/Tile/Tile.css +7 -5
  120. package/dist/css/styles/border-color/border-color_hover.css +6 -8
  121. package/dist/css/styles/fill/fill_active.css +19 -9
  122. package/dist/css/styles/fill/fill_active_hover.css +19 -0
  123. package/dist/css/styles/fill/fill_hover.css +19 -0
  124. package/dist/css/styles/svg-color/svg_fill.css +5 -5
  125. package/dist/css/styles/text-color/text-color_active.css +17 -0
  126. package/dist/css/styles/text-color/text-color_active_hover.css +40 -0
  127. package/dist/stories/Plsyground.mdx +0 -1
  128. package/dist/stories/index.stories.js +46 -0
  129. package/dist/stories/useDevicePropsGenerator.mdx +76 -102
  130. package/dist/stories/useMediaQueries.mdx +32 -7
  131. package/dist/stories/useStyles.mdx +50 -2
  132. package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
  133. package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
  134. package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
  135. package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
  136. package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
  137. package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
  138. package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
  139. package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
  140. package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +9 -0
  141. package/dist/types/components/AvatarStack/index.d.ts +2 -0
  142. package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
  143. package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -0
  144. package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
  145. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
  146. package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +5 -0
  147. package/dist/types/components/CookiesWarning/index.d.ts +2 -1
  148. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +25 -0
  149. package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +0 -6
  150. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +5 -0
  151. package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +2 -3
  152. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -11
  153. package/dist/types/components/InputPassword/appearance/inputPasswordDefault.d.ts +24 -0
  154. package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
  155. package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +20 -0
  156. package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -0
  157. package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +59 -0
  158. package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +16 -0
  159. package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +20 -0
  160. package/dist/types/components/InputPassword/index.d.ts +1 -1
  161. package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
  162. package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
  163. package/dist/types/components/Link/Link.interface.d.ts +1 -1
  164. package/dist/types/components/{Cell/appearance/cellAccent.d.ts → Link/appearance/linkAccent.d.ts} +2 -3
  165. package/dist/types/components/{Cell/appearance/cellDanger.d.ts → Link/appearance/linkDanger.d.ts} +2 -2
  166. package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
  167. package/dist/types/components/{Cell/appearance/cellError.d.ts → Link/appearance/linkError.d.ts} +2 -2
  168. package/dist/types/components/{Cell/appearance/cellInfo.d.ts → Link/appearance/linkInfo.d.ts} +2 -2
  169. package/dist/types/components/{Cell/appearance/cellPrimary.d.ts → Link/appearance/linkPrimary.d.ts} +2 -2
  170. package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
  171. package/dist/types/components/{Cell/appearance/cellSecondary.d.ts → Link/appearance/linkSecondary.d.ts} +2 -2
  172. package/dist/types/components/Link/appearance/linkSize.d.ts +59 -0
  173. package/dist/types/components/Link/appearance/linkStyle.d.ts +16 -0
  174. package/dist/types/components/{Cell/appearance/cellSuccess.d.ts → Link/appearance/linkSuccess.d.ts} +2 -2
  175. package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
  176. package/dist/types/components/{Cell/appearance/cellWarning.d.ts → Link/appearance/linkWarning.d.ts} +2 -2
  177. package/dist/types/components/Loader/Loader.appearance.d.ts +3 -2
  178. package/dist/types/components/Loader/Loader.interface.d.ts +16 -17
  179. package/dist/types/components/Loader/appearance/loaderSize.d.ts +12 -0
  180. package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
  181. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
  182. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +5 -0
  183. package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
  184. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +8 -0
  185. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
  186. package/dist/types/components/Response/Response.appearance.d.ts +2 -2
  187. package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
  188. package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
  189. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
  190. package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
  191. package/dist/types/components/Response/appearance/responseError.d.ts +13 -0
  192. package/dist/types/components/Response/appearance/responseSuccess.d.ts +13 -0
  193. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
  194. package/dist/types/components/Response/appearance/responseWarning.d.ts +13 -0
  195. package/dist/types/components/Response/img/index.d.ts +12 -0
  196. package/dist/types/components/Search/appearance/searchDefault.d.ts +24 -0
  197. package/dist/types/components/Search/appearance/searchDisabled.d.ts +20 -0
  198. package/dist/types/components/Search/appearance/searchError.d.ts +20 -0
  199. package/dist/types/components/Search/appearance/searchRequire.d.ts +20 -0
  200. package/dist/types/components/Search/appearance/searchSize.d.ts +18 -8
  201. package/dist/types/components/Search/appearance/searchSuccess.d.ts +20 -0
  202. package/dist/types/components/Switch/Switch.appearance.d.ts +1 -1
  203. package/dist/types/components/Switch/appearance/switchAccent.d.ts +20 -0
  204. package/dist/types/components/Switch/appearance/switchDanger.d.ts +7 -0
  205. package/dist/types/components/Switch/appearance/switchDisabled.d.ts +20 -0
  206. package/dist/types/components/Switch/appearance/switchError.d.ts +11 -0
  207. package/dist/types/components/Switch/appearance/switchInfo.d.ts +21 -0
  208. package/dist/types/components/Switch/appearance/switchPrimary.d.ts +8 -0
  209. package/dist/types/components/Switch/appearance/switchRequire.d.ts +20 -0
  210. package/dist/types/components/Switch/appearance/switchSecondary.d.ts +8 -0
  211. package/dist/types/components/Switch/appearance/switchSize.d.ts +59 -0
  212. package/dist/types/components/Switch/appearance/switchStyle.d.ts +16 -0
  213. package/dist/types/components/Switch/appearance/switchSuccess.d.ts +11 -0
  214. package/dist/types/components/Switch/appearance/switchSurface.d.ts +25 -0
  215. package/dist/types/components/Switch/appearance/switchWarning.d.ts +11 -0
  216. package/dist/types/components/Tile/appearance/tileSize.d.ts +51 -0
  217. package/dist/types/components/Tile/appearance/tileSurface.d.ts +24 -0
  218. package/dist/types/components/Title/Title.appearance.d.ts +2 -2
  219. package/dist/types/components/Title/Title.interface.d.ts +3 -3
  220. package/dist/types/components/Title/appearance/titleAccent.d.ts +20 -0
  221. package/dist/types/components/Title/appearance/titleDanger.d.ts +7 -0
  222. package/dist/types/components/Title/appearance/titleDisabled.d.ts +20 -0
  223. package/dist/types/components/Title/appearance/titleError.d.ts +11 -0
  224. package/dist/types/components/Title/appearance/titleInfo.d.ts +21 -0
  225. package/dist/types/components/Title/appearance/titlePrimary.d.ts +8 -0
  226. package/dist/types/components/Title/appearance/titleRequire.d.ts +20 -0
  227. package/dist/types/components/Title/appearance/titleSecondary.d.ts +8 -0
  228. package/dist/types/components/Title/appearance/titleSize.d.ts +59 -0
  229. package/dist/types/components/Title/appearance/titleStyle.d.ts +16 -0
  230. package/dist/types/components/Title/appearance/titleSuccess.d.ts +11 -0
  231. package/dist/types/components/Title/appearance/titleSurface.d.ts +25 -0
  232. package/dist/types/components/Title/appearance/titleWarning.d.ts +11 -0
  233. package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +1 -1
  234. package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +20 -0
  235. package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +7 -0
  236. package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +20 -0
  237. package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +11 -0
  238. package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +21 -0
  239. package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +8 -0
  240. package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +20 -0
  241. package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +8 -0
  242. package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +59 -0
  243. package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +16 -0
  244. package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +11 -0
  245. package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +25 -0
  246. package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +11 -0
  247. package/package.json +7 -7
  248. package/dist/Link_cjs_yht44xJv.js +0 -68
  249. package/dist/Link_es_DkW06IM-.js +0 -63
  250. package/dist/Text_cjs_iL1l_7V1.js +0 -63
  251. package/dist/cjs/components/InputMask.js +0 -65
  252. package/dist/cjs/components/Panel.js +0 -44
  253. package/dist/components/InputMask.js +0 -62
  254. package/dist/components/Panel.js +0 -41
  255. package/dist/css/components/InputMask/InputMask.css +0 -77
  256. package/dist/css/components/Panel/Panel.css +0 -107
  257. package/dist/stories/Accordion.mdx +0 -11
  258. package/dist/stories/AccordionItem.mdx +0 -15
  259. package/dist/stories/Breadcrumbs.mdx +0 -15
  260. package/dist/stories/BreadcrumbsItem.mdx +0 -17
  261. package/dist/stories/Dot.mdx +0 -19
  262. package/dist/stories/Drawer.mdx +0 -11
  263. package/dist/stories/Dropdown.mdx +0 -12
  264. package/dist/stories/DropdownItem.mdx +0 -19
  265. package/dist/stories/Image.mdx +0 -15
  266. package/dist/stories/Input.mdx +0 -31
  267. package/dist/stories/InputPassword.mdx +0 -15
  268. package/dist/stories/Label.mdx +0 -11
  269. package/dist/stories/ListItem.mdx +0 -11
  270. package/dist/stories/Logo.mdx +0 -24
  271. package/dist/stories/MenuItem.mdx +0 -15
  272. package/dist/stories/Modal.mdx +0 -15
  273. package/dist/stories/Notification.mdx +0 -23
  274. package/dist/stories/Pagination.mdx +0 -11
  275. package/dist/stories/Radio.mdx +0 -28
  276. package/dist/stories/Response.mdx +0 -11
  277. package/dist/stories/SearchInput.mdx +0 -19
  278. package/dist/stories/Switch.mdx +0 -23
  279. package/dist/stories/Tab.mdx +0 -27
  280. package/dist/stories/Text.mdx +0 -35
  281. package/dist/stories/Tile.mdx +0 -11
  282. package/dist/types/components/InputMask/InputMask.d.ts +0 -5
  283. package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
  284. package/dist/types/components/InputMask/index.d.ts +0 -1
  285. package/dist/types/components/Panel/Panel.d.ts +0 -5
  286. package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
  287. package/dist/types/components/Panel/index.d.ts +0 -1
@@ -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_BaGfb-qC.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_DxtZLeKY.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_BaGfb-qC.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_DxtZLeKY.js';
26
26
  import 'lodash/castArray';
27
27
 
28
28
  // interface ClearIndicatorProps<Option, IsMulti extends boolean, Group extends GroupBase<Option>>
@@ -4,7 +4,7 @@ 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 { b as Title } from '../Tooltip_es_C7zstTA2.js';
7
+ import { b as Title } from '../Tooltip_es_BaGfb-qC.js';
8
8
  import '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
@@ -18,9 +18,9 @@ import 'react-responsive';
18
18
  import '../utils/setViewportProperty.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
- import '../Text_es_D012qJ8s.js';
21
+ import '../Text_es_BRb3qqKM.js';
22
22
  import 'react-inlinesvg';
23
- import '../Link_es_DkW06IM-.js';
23
+ import '../Link_es_DxtZLeKY.js';
24
24
 
25
25
  function Swiper(props) {
26
26
  var id = props.id, className = props.className, direction = props.direction, title = props.title, titleAfter = props.titleAfter, titleSize = props.titleSize, titleTextColor = props.titleTextColor, titleWeight = props.titleWeight, setNextBtnDisabled = props.setNextBtnDisabled, setPrevBtnDisabled = props.setPrevBtnDisabled, _a = props.activeSlideIndex, activeSlideIndex = _a === void 0 ? 0 : _a, allowTouchMove = props.allowTouchMove, autoHeight = props.autoHeight, breakpoints = props.breakpoints, forwardedRef = props.forwardedRef, // https://github.com/vercel/next.js/issues/4957
@@ -3,7 +3,7 @@ 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_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';
@@ -18,10 +18,245 @@ import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
20
 
21
- var switchAppearance = {
22
- dev: {},
21
+ var switchAppearanceAccent = {
22
+ accent: {
23
+ fill: 'accentPrimary',
24
+ fillHover: 'accentPrimaryHover',
25
+ },
26
+ accentPrimary: {
27
+ fill: 'accentPrimary',
28
+ fillHover: 'accentPrimaryHover',
29
+ borderColor: 'accentBorderPrimary',
30
+ },
31
+ accentSecondary: {
32
+ fill: 'accentPrimary',
33
+ fillHover: 'accentPrimaryHover',
34
+ labelTextColor: 'accentTextSecondary',
35
+ labelTextColorHover: 'accentTextSecondary',
36
+ borderColor: 'accentBorderPrimary',
37
+ loaderItemFill: 'accentItemPrimary',
38
+ },
39
+ };
40
+
41
+ var switchAppearanceDanger = {
42
+ danger: {
43
+ fill: 'dangerPrimary',
44
+ fillHover: 'dangerPrimaryHover',
45
+ },
46
+ };
47
+
48
+ var switchAppearanceDisabled = {
49
+ disabledPrimary: {
50
+ fill: 'surfaceFillDisabled',
51
+ borderColor: 'errorBorderQuaternary',
52
+ borderHover: 'errorBorderQuaternary',
53
+ textColor: 'surfaceTextQuaternary',
54
+ iconBeforeFill: 'errorItemQuaternary',
55
+ iconClearFill: 'errorItemPrimary',
56
+ placeholderTextColor: 'surfaceTextQuaternary',
57
+ },
58
+ disabledSecondary: {
59
+ fill: 'surfaceSecondary',
60
+ borderColor: 'surfaceBorderTertiary',
61
+ borderHover: 'surfaceBorderQuaternary',
62
+ iconBeforeFill: 'surfaceItemQuaternary',
63
+ iconClearFill: 'surfaceItemPrimary',
64
+ placeholderTextColor: 'surfaceTextSecondary',
65
+ },
66
+ };
67
+
68
+ var switchAppearanceError = {
69
+ error: {
70
+ fill: 'errorPrimary',
71
+ fillHover: 'errorPrimaryHover',
72
+ labelTextColor: 'errorTextPrimary',
73
+ labelTextColorHover: 'errorTextPrimary',
74
+ loaderFill: 'errorPrimary',
75
+ loaderItemFill: 'errorItemPrimary',
76
+ },
77
+ };
78
+
79
+ var switchAppearanceInfo = {
80
+ info: {
81
+ fill: 'accentPrimary',
82
+ fillHover: 'accentPrimaryHover',
83
+ labelTextColor: 'accentTextPrimary',
84
+ labelTextColorHover: 'accentTextPrimary',
85
+ borderColor: 'accentBorderPrimary',
86
+ loaderFill: 'accentPrimary',
87
+ loaderItemFill: 'accentItemPrimary',
88
+ },
89
+ infoSecondary: {
90
+ fill: 'accentPrimary',
91
+ fillHover: 'accentPrimaryHover',
92
+ labelTextColor: 'accentTextSecondary',
93
+ labelTextColorHover: 'accentTextSecondary',
94
+ borderColor: 'accentBorderPrimary',
95
+ loaderFill: 'accentPrimary',
96
+ loaderItemFill: 'accentItemPrimary',
97
+ },
98
+ };
99
+
100
+ var switchAppearancePrimary = {
101
+ primary: {
102
+ fill: 'primaryPrimary',
103
+ fillHover: 'primaryPrimaryHover',
104
+ labelTextColor: 'primaryTextPrimary',
105
+ },
106
+ };
107
+
108
+ var switchAppearanceRequire = {
109
+ requirePrimary: {
110
+ fill: 'warningTertiary',
111
+ borderColor: 'warningBorderQuaternary',
112
+ borderHover: 'warningBorderQuaternary',
113
+ textColor: 'surfaceTextPrimary',
114
+ iconBeforeFill: 'warningItemQuaternary',
115
+ iconClearFill: 'warningItemPrimary',
116
+ placeholderTextColor: 'surfaceTextQuaternary',
117
+ },
118
+ requireSecondary: {
119
+ fill: 'surfaceSecondary',
120
+ borderColor: 'surfaceBorderTertiary',
121
+ borderHover: 'surfaceBorderQuaternary',
122
+ iconBeforeFill: 'surfaceItemQuaternary',
123
+ iconClearFill: 'surfaceItemPrimary',
124
+ placeholderTextColor: 'surfaceTextSecondary',
125
+ },
23
126
  };
24
127
 
128
+ var switchAppearanceSecondary = {
129
+ secondary: {
130
+ fill: 'secondaryPrimary',
131
+ fillHover: 'secondaryPrimaryHover',
132
+ labelTextColor: 'secondaryTextPrimary',
133
+ },
134
+ };
135
+
136
+ var switchAppearanceSize = {
137
+ sizeXXL: {
138
+ size: 'xxl',
139
+ labelTextSize: 'xxl',
140
+ iconAfterFillSize: '24',
141
+ iconAfterSize: '24',
142
+ iconBeforeFillSize: '24',
143
+ iconBeforeSize: '24',
144
+ },
145
+ sizeXL: {
146
+ size: 'xl',
147
+ labelTextSize: 'l',
148
+ iconAfterFillSize: '24',
149
+ iconAfterSize: '24',
150
+ iconBeforeFillSize: '24',
151
+ iconBeforeSize: '24',
152
+ },
153
+ sizeL: {
154
+ size: 'l',
155
+ labelTextSize: 'l',
156
+ iconAfterFillSize: '24',
157
+ iconAfterSize: '24',
158
+ iconBeforeFillSize: '24',
159
+ iconBeforeSize: '24',
160
+ },
161
+ sizeM: {
162
+ size: 'm',
163
+ labelTextSize: 'm',
164
+ iconAfterFillSize: '24',
165
+ iconAfterSize: '24',
166
+ iconBeforeFillSize: '24',
167
+ iconBeforeSize: '24',
168
+ },
169
+ sizeS: {
170
+ size: 's',
171
+ labelTextSize: 's',
172
+ iconAfterFillSize: '20',
173
+ iconAfterSize: '20',
174
+ iconBeforeFillSize: '20',
175
+ iconBeforeSize: '20',
176
+ },
177
+ sizeXS: {
178
+ size: 'xs',
179
+ labelTextSize: 'xs',
180
+ iconAfterFillSize: '16',
181
+ iconAfterSize: '16',
182
+ iconBeforeFillSize: '16',
183
+ iconBeforeSize: '16',
184
+ },
185
+ sizeXXS: {
186
+ size: 'xxs',
187
+ labelTextSize: 'xs',
188
+ iconAfterFillSize: '14',
189
+ iconAfterSize: '14',
190
+ iconBeforeFillSize: '14',
191
+ iconBeforeSize: '14',
192
+ },
193
+ };
194
+
195
+ var switchAppearanceStyle = {
196
+ full: {
197
+ borderColor: '0',
198
+ },
199
+ ghost: {
200
+ fill: 'none',
201
+ borderColor: '0',
202
+ },
203
+ outlined: {
204
+ fill: 'none',
205
+ },
206
+ solid: {
207
+ borderColor: '0',
208
+ },
209
+ };
210
+
211
+ var switchAppearanceSuccess = {
212
+ success: {
213
+ fill: 'successPrimary',
214
+ fillHover: 'successPrimaryHover',
215
+ labelTextColor: 'successTextSecondary',
216
+ labelTextColorHover: 'successTextSecondary',
217
+ loaderFill: 'successPrimary',
218
+ loaderItemFill: 'successItemPrimary',
219
+ },
220
+ };
221
+
222
+ var switchAppearanceSurface = {
223
+ surfacePrimary: {
224
+ fill: 'surfacePrimary',
225
+ fillHover: 'surfacePrimaryHover',
226
+ labelTextColor: 'surfaceTextPrimary',
227
+ },
228
+ surfaceQuaternary: {
229
+ fill: 'surfaceQuaternary',
230
+ fillHover: 'surfaceQuaternaryHover',
231
+ labelTextColor: 'surfaceTextPrimary',
232
+ },
233
+ surfaceSecondary: {
234
+ fill: 'surfaceSecondary',
235
+ fillHover: 'surfaceSecondaryHover',
236
+ labelTextColor: 'surfaceTextPrimary',
237
+ loaderFill: 'surfaceSecondary',
238
+ loaderItemFill: 'surfaceItemPrimary',
239
+ },
240
+ surfaceTertiary: {
241
+ fill: 'surfaceTertiary',
242
+ fillHover: 'surfaceTertiaryHover',
243
+ labelTextColor: 'surfaceTextPrimary',
244
+ },
245
+ };
246
+
247
+ var switchAppearanceWarning = {
248
+ warning: {
249
+ fill: 'warningPrimary',
250
+ fillHover: 'warningPrimaryHover',
251
+ labelTextColor: 'warningTextSecondary',
252
+ labelTextColorHover: 'warningTextSecondary',
253
+ loaderFill: 'warningPrimary',
254
+ loaderItemFill: 'warningItemPrimary',
255
+ },
256
+ };
257
+
258
+ var switchAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, switchAppearanceSize), switchAppearanceDisabled), switchAppearanceRequire), switchAppearanceStyle), switchAppearanceAccent), switchAppearanceDanger), switchAppearanceError), switchAppearanceInfo), switchAppearancePrimary), switchAppearanceSecondary), switchAppearanceSuccess), switchAppearanceSurface), switchAppearanceWarning);
259
+
25
260
  var switchConfig = {
26
261
  appearance: switchAppearance,
27
262
  setAppearance: function (appearanceConfig) {
@@ -4,10 +4,10 @@ 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 { B as Badge } from '../Tooltip_es_C7zstTA2.js';
7
+ import { B as Badge } from '../Tooltip_es_BaGfb-qC.js';
8
8
  import { D as Divider } from '../Divider_es_BdU9qjKa.js';
9
- import { L as Link } from '../Link_es_DkW06IM-.js';
10
- import { T as Text } from '../Text_es_D012qJ8s.js';
9
+ import { L as Link } from '../Link_es_DxtZLeKY.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';
@@ -1,4 +1,4 @@
1
- export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_D012qJ8s.js';
1
+ export { T as Text, a as textAppearance, t as textConfig } from '../Text_es_BRb3qqKM.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';
@@ -3,8 +3,8 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { b as Title, B as Badge } from '../Tooltip_es_C7zstTA2.js';
7
- import { T as Text } from '../Text_es_D012qJ8s.js';
6
+ import { b as Title, B as Badge } from '../Tooltip_es_BaGfb-qC.js';
7
+ import { T as Text } from '../Text_es_BRb3qqKM.js';
8
8
  import 'react';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
@@ -19,12 +19,85 @@ import '../utils/setViewportProperty.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import 'react-inlinesvg';
22
- import '../Link_es_DkW06IM-.js';
22
+ import '../Link_es_DxtZLeKY.js';
23
23
 
24
- var tileAppearance = {
25
- dev: {},
24
+ var tileAppearanceSize = {
25
+ sizeXL: {
26
+ size: 'xl',
27
+ labelTextSize: 'l',
28
+ iconAfterFillSize: '24',
29
+ iconAfterSize: '24',
30
+ iconBeforeFillSize: '24',
31
+ iconBeforeSize: '24',
32
+ },
33
+ sizeL: {
34
+ size: 'l',
35
+ labelTextSize: 'l',
36
+ iconAfterFillSize: '24',
37
+ iconAfterSize: '24',
38
+ iconBeforeFillSize: '24',
39
+ iconBeforeSize: '24',
40
+ },
41
+ sizeM: {
42
+ size: 'm',
43
+ labelTextSize: 'm',
44
+ iconAfterFillSize: '24',
45
+ iconAfterSize: '24',
46
+ iconBeforeFillSize: '24',
47
+ iconBeforeSize: '24',
48
+ },
49
+ sizeS: {
50
+ size: 's',
51
+ labelTextSize: 's',
52
+ iconAfterFillSize: '20',
53
+ iconAfterSize: '20',
54
+ iconBeforeFillSize: '20',
55
+ iconBeforeSize: '20',
56
+ },
57
+ sizeXS: {
58
+ size: 'xs',
59
+ labelTextSize: 'xs',
60
+ iconAfterFillSize: '16',
61
+ iconAfterSize: '16',
62
+ iconBeforeFillSize: '16',
63
+ iconBeforeSize: '16',
64
+ },
65
+ sizeXXS: {
66
+ size: 'xxs',
67
+ labelTextSize: 'xs',
68
+ iconAfterFillSize: '16',
69
+ iconAfterSize: '16',
70
+ iconBeforeFillSize: '16',
71
+ iconBeforeSize: '16',
72
+ },
26
73
  };
27
74
 
75
+ var tileAppearanceSurface = {
76
+ surfacePrimary: {
77
+ fill: 'surfacePrimary',
78
+ fillHover: 'surfacePrimaryHover',
79
+ labelTextColor: 'surfaceTextPrimary',
80
+ },
81
+ surfaceQuaternary: {
82
+ fill: 'surfaceQuaternary',
83
+ fillHover: 'surfaceQuaternaryHover',
84
+ labelTextColor: 'surfaceTextPrimary',
85
+ },
86
+ surfaceSecondary: {
87
+ fill: 'surfaceSecondary',
88
+ fillHover: 'surfaceSecondaryHover',
89
+ labelTextColor: 'surfaceTextPrimary',
90
+ loaderItemFill: 'surfaceItemPrimary',
91
+ },
92
+ surfaceTertiary: {
93
+ fill: 'surfaceTertiary',
94
+ fillHover: 'surfaceTertiaryHover',
95
+ labelTextColor: 'surfaceTextPrimary',
96
+ },
97
+ };
98
+
99
+ var tileAppearance = __assign(__assign({}, tileAppearanceSize), tileAppearanceSurface);
100
+
28
101
  var tileConfig = {
29
102
  appearance: tileAppearance,
30
103
  setAppearance: function (appearanceConfig) {
@@ -32,16 +105,16 @@ var tileConfig = {
32
105
  },
33
106
  };
34
107
  function Tile(props) {
35
- var className = props.className, type = props.type, appearance = props.appearance, direction = props.direction, size = props.size, title = props.title, text = props.text, badge = props.badge, badgeAppearance = props.badgeAppearance, reverse = props.reverse, before = props.before, after = props.after, onClick = props.onClick, children = props.children;
108
+ var className = props.className, type = props.type, appearance = props.appearance, direction = props.direction, title = props.title, text = props.text, badge = props.badge, badgeAppearance = props.badgeAppearance, reverse = props.reverse, before = props.before, after = props.after, onClick = props.onClick, children = props.children;
36
109
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
37
110
  var _a;
38
111
  return (__assign(__assign({}, resultConfig), (_a = tileConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
39
112
  }, {});
40
113
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
41
- var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWrap = propsGenerator.textWrap, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, shapeClass = propsGenerator.shapeClass;
114
+ var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWrap = propsGenerator.textWrap, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
42
115
  // @ts-expect-error
43
116
  var tileStyles = useStyles(props).styles;
44
- return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', size && "tile_size_".concat(size), type && "tile_type_".concat(type), badge && "tile_state_badge"), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), text && (jsx(Text, { className: "tile__text", size: textSize, textColor: textColor, textWrap: textWrap, children: text })), badge && (jsx(Badge, { className: "tile__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, value: badge })), children, after] }) }));
117
+ return (jsx("div", { className: clsx('tile', className, fillClass && "fill_".concat(fillClass), shapeClass && "tile_shape_".concat(shapeClass), alignClass && "align_".concat(alignClass), alignDirectionClass && "align_".concat(alignDirectionClass), direction && "direction_".concat(direction), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), reverse && 'tile_reverse', sizeClass && "tile_size_".concat(sizeClass), type && "tile_type_".concat(type), badge && "tile_state_badge"), "data-testid": dataTestId, "data-tour": dataTour, style: tileStyles, onClick: onClick, children: jsxs("div", { className: clsx('tile__wrapper', alignClass, alignDirectionClass), children: [before, title && (jsx(Title, { className: "tile__title", size: titleTextSize, textAlign: titleTextAlign, textColor: titleTextColor, textWeight: titleTextWeight, textWrap: titleTextWrap, children: title })), text && (jsx(Text, { className: "tile__text", size: textSize, textColor: textColor, textWrap: textWrap, children: text })), badge && (jsx(Badge, { className: "tile__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, value: badge })), children, after] }) }));
45
118
  }
46
119
 
47
120
  export { Tile, tileAppearance, tileConfig };
@@ -1,4 +1,4 @@
1
- export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_C7zstTA2.js';
1
+ export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_BaGfb-qC.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -17,6 +17,6 @@ import '../utils/setViewportProperty.js';
17
17
  import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
- import '../Text_es_D012qJ8s.js';
20
+ import '../Text_es_BRb3qqKM.js';
21
21
  import 'react-inlinesvg';
22
- import '../Link_es_DkW06IM-.js';
22
+ import '../Link_es_DxtZLeKY.js';
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_C7zstTA2.js';
1
+ export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_BaGfb-qC.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -17,6 +17,6 @@ import '../utils/setViewportProperty.js';
17
17
  import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
- import '../Text_es_D012qJ8s.js';
20
+ import '../Text_es_BRb3qqKM.js';
21
21
  import 'react-inlinesvg';
22
- import '../Link_es_DkW06IM-.js';
22
+ import '../Link_es_DxtZLeKY.js';