@consta/uikit 3.12.4 → 3.13.0

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 (339) hide show
  1. package/Attach/package.json +1 -1
  2. package/Attachment/package.json +1 -1
  3. package/Avatar/package.json +1 -1
  4. package/Badge/package.json +1 -1
  5. package/BasicSelectDeprecated/package.json +1 -1
  6. package/Breadcrumbs/package.json +1 -1
  7. package/BreadcrumbsCanary/es.js +1 -0
  8. package/BreadcrumbsCanary/index.d.ts +1 -0
  9. package/BreadcrumbsCanary/index.js +4 -0
  10. package/BreadcrumbsCanary/package.json +9 -0
  11. package/Button/package.json +1 -1
  12. package/CHANGELOG.md +22 -14
  13. package/Calendar/package.json +1 -1
  14. package/Card/package.json +1 -1
  15. package/Checkbox/package.json +1 -1
  16. package/CheckboxGroup/package.json +1 -1
  17. package/ChoiceGroup/package.json +1 -1
  18. package/Collapse/package.json +1 -1
  19. package/CollapseGroup/package.json +1 -1
  20. package/Combobox/package.json +1 -1
  21. package/ComboboxDeprecated/package.json +1 -1
  22. package/ContextMenu/package.json +1 -1
  23. package/DatePickerCanary/package.json +1 -1
  24. package/DateTimeCanary/package.json +1 -1
  25. package/DragNDropField/package.json +1 -1
  26. package/EventInterceptor/package.json +1 -1
  27. package/FieldCaption/package.json +1 -1
  28. package/FieldLabel/package.json +1 -1
  29. package/File/package.json +1 -1
  30. package/FileField/package.json +1 -1
  31. package/FileIcon/package.json +1 -1
  32. package/FileIconAvi/package.json +1 -1
  33. package/FileIconBmp/package.json +1 -1
  34. package/FileIconCsv/package.json +1 -1
  35. package/FileIconDoc/package.json +1 -1
  36. package/FileIconExe/package.json +1 -1
  37. package/FileIconGif/package.json +1 -1
  38. package/FileIconJpg/package.json +1 -1
  39. package/FileIconJson/package.json +1 -1
  40. package/FileIconLoading/package.json +1 -1
  41. package/FileIconMov/package.json +1 -1
  42. package/FileIconMp3/package.json +1 -1
  43. package/FileIconMp4/package.json +1 -1
  44. package/FileIconPdf/package.json +1 -1
  45. package/FileIconPng/package.json +1 -1
  46. package/FileIconPtt/package.json +1 -1
  47. package/FileIconRar/package.json +1 -1
  48. package/FileIconRtf/package.json +1 -1
  49. package/FileIconTiff/package.json +1 -1
  50. package/FileIconTxt/package.json +1 -1
  51. package/FileIconUndefined/package.json +1 -1
  52. package/FileIconWav/package.json +1 -1
  53. package/FileIconXls/package.json +1 -1
  54. package/FileIconZip/package.json +1 -1
  55. package/Grid/package.json +1 -1
  56. package/Header/package.json +1 -1
  57. package/Icon/package.json +1 -1
  58. package/IconAdd/package.json +1 -1
  59. package/IconAddToComparison/package.json +1 -1
  60. package/IconAlert/package.json +1 -1
  61. package/IconAlignBlocksLeft/package.json +1 -1
  62. package/IconAlignBlocksRight/package.json +1 -1
  63. package/IconAlignCenter/package.json +1 -1
  64. package/IconAlignJustify/package.json +1 -1
  65. package/IconAlignLeft/package.json +1 -1
  66. package/IconAlignRight/package.json +1 -1
  67. package/IconAllDone/package.json +1 -1
  68. package/IconArrowDown/package.json +1 -1
  69. package/IconArrowLeft/package.json +1 -1
  70. package/IconArrowRight/package.json +1 -1
  71. package/IconArrowUp/package.json +1 -1
  72. package/IconArtBrush/package.json +1 -1
  73. package/IconAttach/package.json +1 -1
  74. package/IconBackward/package.json +1 -1
  75. package/IconBag/package.json +1 -1
  76. package/IconBarrier/package.json +1 -1
  77. package/IconBento/package.json +1 -1
  78. package/IconBold/package.json +1 -1
  79. package/IconBook/package.json +1 -1
  80. package/IconBookmarkFilled/package.json +1 -1
  81. package/IconBookmarkStroked/package.json +1 -1
  82. package/IconCalculator/package.json +1 -1
  83. package/IconCalendar/package.json +1 -1
  84. package/IconCamera/package.json +1 -1
  85. package/IconCancel/package.json +1 -1
  86. package/IconCards/package.json +1 -1
  87. package/IconChat/package.json +1 -1
  88. package/IconCheck/package.json +1 -1
  89. package/IconClose/package.json +1 -1
  90. package/IconCollapse/package.json +1 -1
  91. package/IconColorFill/package.json +1 -1
  92. package/IconColorText/package.json +1 -1
  93. package/IconColumns/package.json +1 -1
  94. package/IconComment/package.json +1 -1
  95. package/IconConnection/package.json +1 -1
  96. package/IconCopy/package.json +1 -1
  97. package/IconCrown/package.json +1 -1
  98. package/IconCursorMouse/package.json +1 -1
  99. package/IconDataNull/package.json +1 -1
  100. package/IconDiamond/package.json +1 -1
  101. package/IconDinosaur/package.json +1 -1
  102. package/IconDisconnection/package.json +1 -1
  103. package/IconDocAdd/package.json +1 -1
  104. package/IconDocBlank/package.json +1 -1
  105. package/IconDocDelete/package.json +1 -1
  106. package/IconDocExport/package.json +1 -1
  107. package/IconDocFilled/package.json +1 -1
  108. package/IconDown/package.json +1 -1
  109. package/IconDownload/package.json +1 -1
  110. package/IconDrag/package.json +1 -1
  111. package/IconDraggable/package.json +1 -1
  112. package/IconDrillingRig/package.json +1 -1
  113. package/IconDrop/package.json +1 -1
  114. package/IconEdit/package.json +1 -1
  115. package/IconExit/package.json +1 -1
  116. package/IconExpand/package.json +1 -1
  117. package/IconEye/package.json +1 -1
  118. package/IconEyeClose/package.json +1 -1
  119. package/IconFavorite/package.json +1 -1
  120. package/IconFilter/package.json +1 -1
  121. package/IconFitToDefault/package.json +1 -1
  122. package/IconFlagFilled/package.json +1 -1
  123. package/IconFlagStroked/package.json +1 -1
  124. package/IconFolders/package.json +1 -1
  125. package/IconForward/package.json +1 -1
  126. package/IconFunnel/package.json +1 -1
  127. package/IconGas/package.json +1 -1
  128. package/IconGeo/package.json +1 -1
  129. package/IconGrouping/package.json +1 -1
  130. package/IconHamburger/package.json +1 -1
  131. package/IconHand/package.json +1 -1
  132. package/IconHealth/package.json +1 -1
  133. package/IconInComparison/package.json +1 -1
  134. package/IconInfo/package.json +1 -1
  135. package/IconIntroduction/package.json +1 -1
  136. package/IconIpad/package.json +1 -1
  137. package/IconItalic/package.json +1 -1
  138. package/IconKebab/package.json +1 -1
  139. package/IconLaptop/package.json +1 -1
  140. package/IconLayers/package.json +1 -1
  141. package/IconLeaf/package.json +1 -1
  142. package/IconLightningBolt/package.json +1 -1
  143. package/IconLineAndBarChart/package.json +1 -1
  144. package/IconLink/package.json +1 -1
  145. package/IconList/package.json +1 -1
  146. package/IconListNumbered/package.json +1 -1
  147. package/IconLock/package.json +1 -1
  148. package/IconLogicalElement/package.json +1 -1
  149. package/IconMBU/package.json +1 -1
  150. package/IconMGRP/package.json +1 -1
  151. package/IconMLSP/package.json +1 -1
  152. package/IconMMP/package.json +1 -1
  153. package/IconMail/package.json +1 -1
  154. package/IconMap/package.json +1 -1
  155. package/IconMaxHeight/package.json +1 -1
  156. package/IconMaxWidth/package.json +1 -1
  157. package/IconMeatball/package.json +1 -1
  158. package/IconMic/package.json +1 -1
  159. package/IconMolecules/package.json +1 -1
  160. package/IconMoon/package.json +1 -1
  161. package/IconNodeEnd/package.json +1 -1
  162. package/IconNodeStart/package.json +1 -1
  163. package/IconNodeStep/package.json +1 -1
  164. package/IconNodes/package.json +1 -1
  165. package/IconOpenInNew/package.json +1 -1
  166. package/IconPanelBottom/package.json +1 -1
  167. package/IconPanelLeft/package.json +1 -1
  168. package/IconPanelRight/package.json +1 -1
  169. package/IconPanelTop/package.json +1 -1
  170. package/IconPaste/package.json +1 -1
  171. package/IconPause/package.json +1 -1
  172. package/IconPhone/package.json +1 -1
  173. package/IconPhoto/package.json +1 -1
  174. package/IconPlay/package.json +1 -1
  175. package/IconPressure/package.json +1 -1
  176. package/IconProcessing/package.json +1 -1
  177. package/IconQuestion/package.json +1 -1
  178. package/IconQuote/package.json +1 -1
  179. package/IconRUO/package.json +1 -1
  180. package/IconRUS/package.json +1 -1
  181. package/IconRecord/package.json +1 -1
  182. package/IconRemove/package.json +1 -1
  183. package/IconRemoveFromComparison/package.json +1 -1
  184. package/IconReply/package.json +1 -1
  185. package/IconResize/package.json +1 -1
  186. package/IconRestart/package.json +1 -1
  187. package/IconRevert/package.json +1 -1
  188. package/IconRing/package.json +1 -1
  189. package/IconRouble/package.json +1 -1
  190. package/IconRuler/package.json +1 -1
  191. package/IconScreen/package.json +1 -1
  192. package/IconSearch/package.json +1 -1
  193. package/IconSelect/package.json +1 -1
  194. package/IconSelectOpen/package.json +1 -1
  195. package/IconSettings/package.json +1 -1
  196. package/IconShape/package.json +1 -1
  197. package/IconShuffle/package.json +1 -1
  198. package/IconSmile/package.json +1 -1
  199. package/IconSortDown/package.json +1 -1
  200. package/IconSortDownCenter/package.json +1 -1
  201. package/IconSortUp/package.json +1 -1
  202. package/IconSortUpCenter/package.json +1 -1
  203. package/IconStop/package.json +1 -1
  204. package/IconStorage/package.json +1 -1
  205. package/IconStrikethrough/package.json +1 -1
  206. package/IconSun/package.json +1 -1
  207. package/IconTable/package.json +1 -1
  208. package/IconTarget/package.json +1 -1
  209. package/IconTeam/package.json +1 -1
  210. package/IconTest/package.json +1 -1
  211. package/IconThumbUp/package.json +1 -1
  212. package/IconTie/package.json +1 -1
  213. package/IconTop/package.json +1 -1
  214. package/IconTrash/package.json +1 -1
  215. package/IconType/package.json +1 -1
  216. package/IconUnderline/package.json +1 -1
  217. package/IconUnlock/package.json +1 -1
  218. package/IconUnsort/package.json +1 -1
  219. package/IconUnsortCenter/package.json +1 -1
  220. package/IconUpload/package.json +1 -1
  221. package/IconUser/package.json +1 -1
  222. package/IconVZD/package.json +1 -1
  223. package/IconVideo/package.json +1 -1
  224. package/IconWarning/package.json +1 -1
  225. package/IconWatch/package.json +1 -1
  226. package/IconWideScreen/package.json +1 -1
  227. package/IconWorld/package.json +1 -1
  228. package/Informer/package.json +1 -1
  229. package/LayoutCanary/package.json +1 -1
  230. package/Loader/package.json +1 -1
  231. package/MixCard/package.json +1 -1
  232. package/MixFocus/package.json +1 -1
  233. package/MixSpace/package.json +1 -1
  234. package/MixVisuallyHidden/package.json +1 -1
  235. package/Modal/package.json +1 -1
  236. package/MultiComboboxDeprecated/package.json +1 -1
  237. package/Pagination/package.json +1 -1
  238. package/Popover/package.json +1 -1
  239. package/PortalWithTheme/package.json +1 -1
  240. package/ProgressSpin/package.json +1 -1
  241. package/ProgressStepBarCanary/package.json +1 -1
  242. package/Radio/package.json +1 -1
  243. package/RadioGroup/package.json +1 -1
  244. package/Responses/package.json +1 -1
  245. package/Responses403/package.json +1 -1
  246. package/Responses404/package.json +1 -1
  247. package/Responses500/package.json +1 -1
  248. package/Responses503/package.json +1 -1
  249. package/ResponsesConnectionError/package.json +1 -1
  250. package/ResponsesDeleted/package.json +1 -1
  251. package/ResponsesEmptyBox/package.json +1 -1
  252. package/ResponsesEmptyPockets/package.json +1 -1
  253. package/ResponsesImage/package.json +1 -1
  254. package/ResponsesImage403/package.json +1 -1
  255. package/ResponsesImage404/package.json +1 -1
  256. package/ResponsesImage500/package.json +1 -1
  257. package/ResponsesImage503/package.json +1 -1
  258. package/ResponsesImageConnectionError/package.json +1 -1
  259. package/ResponsesImageDeleted/package.json +1 -1
  260. package/ResponsesImageEmptyBox/package.json +1 -1
  261. package/ResponsesImageEmptyPockets/package.json +1 -1
  262. package/ResponsesImageNothingFound/package.json +1 -1
  263. package/ResponsesImageSuccess/package.json +1 -1
  264. package/ResponsesNothingFound/package.json +1 -1
  265. package/ResponsesSuccess/package.json +1 -1
  266. package/Select/package.json +1 -1
  267. package/Sidebar/package.json +1 -1
  268. package/Skeleton/package.json +1 -1
  269. package/SliderCanary/package.json +1 -1
  270. package/SnackBar/package.json +1 -1
  271. package/Steps/package.json +1 -1
  272. package/Switch/package.json +1 -1
  273. package/SwitchGroup/package.json +1 -1
  274. package/Table/package.json +1 -1
  275. package/Tabs/package.json +1 -1
  276. package/Tag/package.json +1 -1
  277. package/TagBase/package.json +1 -1
  278. package/Text/package.json +1 -1
  279. package/TextField/package.json +1 -1
  280. package/Theme/package.json +1 -1
  281. package/ThemeToggler/package.json +1 -1
  282. package/Timer/package.json +1 -1
  283. package/Tooltip/package.json +1 -1
  284. package/User/package.json +1 -1
  285. package/UserSelect/package.json +1 -1
  286. package/UserSelectDeprecated/package.json +1 -1
  287. package/__internal__/cjs-src/components/BreadcrumbsCanary/Breadcrumbs.css +75 -0
  288. package/__internal__/cjs-src/components/BreadcrumbsCanary/BreadcrumbsCanary.d.ts +5 -0
  289. package/__internal__/cjs-src/components/BreadcrumbsCanary/BreadcrumbsCanary.js +57 -0
  290. package/__internal__/cjs-src/components/BreadcrumbsCanary/helpers.d.ts +16 -0
  291. package/__internal__/cjs-src/components/BreadcrumbsCanary/helpers.js +21 -0
  292. package/__internal__/cjs-src/components/BreadcrumbsCanary/types.d.ts +36 -0
  293. package/__internal__/cjs-src/components/BreadcrumbsCanary/types.js +5 -0
  294. package/__internal__/cjs-src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.js +1 -1
  295. package/__internal__/cjs-src/components/EventInterceptor/eventInterceptorMap.d.ts +1 -0
  296. package/__internal__/cjs-src/components/EventInterceptor/propsHandlers/useTextFieldEventsHandler.d.ts +1 -0
  297. package/__internal__/cjs-src/components/TextField/TextField.js +2 -2
  298. package/__internal__/cjs-src/components/TextField/helpers.d.ts +1 -0
  299. package/__internal__/cjs-src/mixs/MixCard/MixCard.css +0 -98
  300. package/__internal__/cjs-src/mixs/MixCard/MixCard.d.ts +1 -1
  301. package/__internal__/cjs-src/mixs/MixCard/MixCard.js +10 -1
  302. package/__internal__/src/components/BreadcrumbsCanary/Breadcrumbs.css +75 -0
  303. package/__internal__/src/components/BreadcrumbsCanary/BreadcrumbsCanary.d.ts +5 -0
  304. package/__internal__/src/components/BreadcrumbsCanary/BreadcrumbsCanary.js +54 -0
  305. package/__internal__/src/components/BreadcrumbsCanary/helpers.d.ts +16 -0
  306. package/__internal__/src/components/BreadcrumbsCanary/helpers.js +16 -0
  307. package/__internal__/src/components/BreadcrumbsCanary/types.d.ts +36 -0
  308. package/__internal__/src/components/BreadcrumbsCanary/types.js +2 -0
  309. package/__internal__/src/components/DatePickerCanary/DatePickerFieldTypeDate/DatePickerFieldTypeDate.js +1 -1
  310. package/__internal__/src/components/EventInterceptor/eventInterceptorMap.d.ts +1 -0
  311. package/__internal__/src/components/EventInterceptor/propsHandlers/useTextFieldEventsHandler.d.ts +1 -0
  312. package/__internal__/src/components/TextField/TextField.js +2 -2
  313. package/__internal__/src/components/TextField/helpers.d.ts +1 -0
  314. package/__internal__/src/mixs/MixCard/MixCard.css +0 -98
  315. package/__internal__/src/mixs/MixCard/MixCard.d.ts +1 -1
  316. package/__internal__/src/mixs/MixCard/MixCard.js +10 -1
  317. package/createIcon/package.json +1 -1
  318. package/createResponsesImage/package.json +1 -1
  319. package/package.json +2 -1
  320. package/useBreakpoints/package.json +1 -1
  321. package/useChoiceGroup/package.json +1 -1
  322. package/useChoiceGroupIndexed/package.json +1 -1
  323. package/useClickOutside/package.json +1 -1
  324. package/useComponentSize/package.json +1 -1
  325. package/useDebounce/package.json +1 -1
  326. package/useFlag/package.json +1 -1
  327. package/useForkRef/package.json +1 -1
  328. package/useGlobalKeys/package.json +1 -1
  329. package/useKeys/package.json +1 -1
  330. package/useMutableRef/package.json +1 -1
  331. package/useOverflow/package.json +1 -1
  332. package/usePrevious/package.json +1 -1
  333. package/useResizeObserved/package.json +1 -1
  334. package/useScrollElements/package.json +1 -1
  335. package/useScrollPosition/package.json +1 -1
  336. package/useSelect/package.json +1 -1
  337. package/useThemeVars/package.json +1 -1
  338. package/useTimer/package.json +1 -1
  339. package/withTooltip/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/SnackBar",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Steps",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Switch",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/SwitchGroup",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Table",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
package/Tabs/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Tabs",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
package/Tag/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Tag",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/TagBase",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
package/Text/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Text",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/TextField",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Theme",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/ThemeToggler",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Timer",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/Tooltip",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
package/User/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/User",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/UserSelect",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/UserSelectDeprecated",
3
- "version": "3.12.4",
3
+ "version": "3.13.0",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -0,0 +1,75 @@
1
+ .Breadcrumbs {
2
+ display: -webkit-box;
3
+ display: -ms-flexbox;
4
+ display: flex;
5
+ margin: 0;
6
+ padding: 0;
7
+ list-style: none;
8
+ color: var(--color-typo-secondary);
9
+ -ms-flex-wrap: wrap;
10
+ flex-wrap: wrap;
11
+ }
12
+
13
+ .Breadcrumbs_size_xs {
14
+ --delimiter-space: var(--space-xs);
15
+ font-size: var(--control-text-size-xs);
16
+ }
17
+
18
+ .Breadcrumbs_size_s {
19
+ --delimiter-space: var(--space-s);
20
+ font-size: var(--control-text-size-s);
21
+ }
22
+
23
+ .Breadcrumbs_size_m {
24
+ --delimiter-space: var(--space-m);
25
+ font-size: var(--control-text-size-m);
26
+ }
27
+
28
+ .Breadcrumbs_size_l {
29
+ --delimiter-space: var(--space-l);
30
+ font-size: var(--control-text-size-l);
31
+ }
32
+
33
+ .Breadcrumbs-Item {
34
+ display: -webkit-box;
35
+ display: -ms-flexbox;
36
+ display: flex;
37
+ -webkit-box-align: center;
38
+ -ms-flex-align: center;
39
+ align-items: center;
40
+ }
41
+
42
+ .Breadcrumbs-Link {
43
+ display: -webkit-box;
44
+ display: -ms-flexbox;
45
+ display: flex;
46
+ -webkit-box-align: center;
47
+ -ms-flex-align: center;
48
+ align-items: center;
49
+ color: var(--color-typo-secondary);
50
+ text-decoration: none;
51
+ -webkit-transition: color 0.2s;
52
+ transition: color 0.2s;
53
+ }
54
+
55
+ .Breadcrumbs-Link_active {
56
+ color: var(--color-typo-primary);
57
+ pointer-events: none;
58
+ }
59
+
60
+ .Breadcrumbs-Link:hover {
61
+ color: var(--color-typo-link-hover);
62
+ }
63
+
64
+ .Breadcrumbs-Icon {
65
+ margin-right: var(--space-xs);
66
+ }
67
+
68
+ .Breadcrumbs-Delimiter {
69
+ margin: 0 var(--delimiter-space);
70
+ color: var(--color-typo-ghost);
71
+ }
72
+
73
+ .Breadcrumbs-More {
74
+ color: var(--color-control-typo-clear);
75
+ }
@@ -0,0 +1,5 @@
1
+ import './Breadcrumbs.css';
2
+ import { BreadcrumbsComponent } from './types';
3
+ export declare const cnBreadcrumbs: import("@bem-react/classname").ClassNameFormatter;
4
+ export declare const Breadcrumbs: BreadcrumbsComponent;
5
+ export * from './types';
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.Breadcrumbs = exports.cnBreadcrumbs = void 0;
4
+ var tslib_1 = require("tslib");
5
+ require("./Breadcrumbs.css");
6
+ var react_1 = tslib_1.__importStar(require("react"));
7
+ var IconArrowRight_1 = require("../../icons/IconArrowRight/IconArrowRight");
8
+ var bem_1 = require("../../utils/bem");
9
+ var getByMap_1 = require("../../utils/getByMap");
10
+ var Button_1 = require("../Button/Button");
11
+ var helpers_1 = require("./helpers");
12
+ var types_1 = require("./types");
13
+ exports.cnBreadcrumbs = bem_1.cn('Breadcrumbs');
14
+ var sizeMap = {
15
+ xs: 'xs',
16
+ s: 'xs',
17
+ m: 'xs',
18
+ l: 'm'
19
+ };
20
+ var BreadcrumbsRender = function (props, ref) {
21
+ var _a = helpers_1.withDefaultGetters(props), items = _a.items, getItemHref = _a.getItemHref, getItemLabel = _a.getItemLabel, getItemActive = _a.getItemActive, getItemIcon = _a.getItemIcon, getItemOnClick = _a.getItemOnClick, onItemClick = _a.onItemClick, _b = _a.size, size = _b === void 0 ? types_1.breadcrumbPropSizeDefault : _b, _c = _a.maxCount, maxCount = _c === void 0 ? 0 : _c, _d = _a.onlyIconRoot, onlyIconRoot = _d === void 0 ? false : _d, className = _a.className, restProps = tslib_1.__rest(_a, ["items", "getItemHref", "getItemLabel", "getItemActive", "getItemIcon", "getItemOnClick", "onItemClick", "size", "maxCount", "onlyIconRoot", "className"]);
22
+ var iconSize = getByMap_1.getByMap(sizeMap, size);
23
+ var _e = react_1.useMemo(function () {
24
+ var rest = items.slice();
25
+ var head = rest.splice(0, 1);
26
+ var tail = rest.splice(2 - maxCount);
27
+ return {
28
+ head: head,
29
+ tail: tail,
30
+ rest: rest
31
+ };
32
+ }, [items, maxCount]), head = _e.head, tail = _e.tail, rest = _e.rest;
33
+ var renderPages = function (items, isFirst) {
34
+ if (isFirst === void 0) { isFirst = false; }
35
+ return items.map(function (item, index) {
36
+ var Icon = getItemIcon(item);
37
+ var label = getItemLabel(item);
38
+ var href = getItemHref(item);
39
+ var active = getItemActive(item);
40
+ var onClick = helpers_1.getItemClick(item, getItemOnClick, onItemClick);
41
+ return (react_1["default"].createElement("li", { className: exports.cnBreadcrumbs('Item'), key: exports.cnBreadcrumbs('Item', { index: index, href: href }) },
42
+ !isFirst && react_1["default"].createElement(IconArrowRight_1.IconArrowRight, { className: exports.cnBreadcrumbs('Delimiter'), size: iconSize }),
43
+ react_1["default"].createElement("a", { className: exports.cnBreadcrumbs('Link', { active: active }), onClick: onClick, href: href },
44
+ Icon &&
45
+ (onlyIconRoot && isFirst ? (react_1["default"].createElement(Button_1.Button, { view: "clear", onlyIcon: true, iconLeft: Icon, size: iconSize })) : (react_1["default"].createElement(Icon, { className: exports.cnBreadcrumbs('Icon'), size: iconSize }))),
46
+ (!isFirst || !onlyIconRoot) && react_1["default"].createElement("span", { className: exports.cnBreadcrumbs('Label') }, label))));
47
+ });
48
+ };
49
+ return (react_1["default"].createElement("ul", tslib_1.__assign({ className: exports.cnBreadcrumbs({ size: size }, [className]), ref: ref }, restProps),
50
+ renderPages(head, true),
51
+ maxCount && rest.length > 1 ? (react_1["default"].createElement("li", { className: exports.cnBreadcrumbs('Item') },
52
+ react_1["default"].createElement(IconArrowRight_1.IconArrowRight, { className: exports.cnBreadcrumbs('Delimiter'), size: iconSize }),
53
+ react_1["default"].createElement("span", { className: exports.cnBreadcrumbs('More') }, "..."))) : (renderPages(rest)),
54
+ renderPages(tail)));
55
+ };
56
+ exports.Breadcrumbs = react_1.forwardRef(BreadcrumbsRender);
57
+ tslib_1.__exportStar(require("./types"), exports);
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { BreadcrumbsPropGetItemActive, BreadcrumbsPropGetItemHref, BreadcrumbsPropGetItemIcon, BreadcrumbsPropGetItemLabel, BreadcrumbsPropGetItemOnClick, BreadcrumbsPropOnItemClick, BreadcrumbsProps, DefaultItem } from './types';
3
+ export declare function withDefaultGetters<ITEM>(props: BreadcrumbsProps<ITEM>): {
4
+ getItemLabel: BreadcrumbsPropGetItemLabel<DefaultItem> | BreadcrumbsPropGetItemLabel<ITEM>;
5
+ getItemActive: BreadcrumbsPropGetItemActive<DefaultItem> | BreadcrumbsPropGetItemActive<ITEM>;
6
+ getItemHref: BreadcrumbsPropGetItemHref<DefaultItem> | BreadcrumbsPropGetItemHref<ITEM>;
7
+ getItemOnClick: BreadcrumbsPropGetItemOnClick<DefaultItem> | BreadcrumbsPropGetItemOnClick<ITEM>;
8
+ getItemIcon: BreadcrumbsPropGetItemIcon<DefaultItem> | BreadcrumbsPropGetItemIcon<ITEM>;
9
+ items: ITEM[];
10
+ onItemClick?: BreadcrumbsPropOnItemClick<ITEM> | undefined;
11
+ size?: "xs" | "s" | "m" | "l" | undefined;
12
+ maxCount?: number | undefined;
13
+ onlyIconRoot?: boolean | undefined;
14
+ className?: string | undefined;
15
+ };
16
+ export declare function getItemClick<ITEM>(item: ITEM, getItemOnClick: BreadcrumbsPropGetItemOnClick<ITEM>, onItemClick?: BreadcrumbsPropOnItemClick<ITEM>): React.MouseEventHandler;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.getItemClick = exports.withDefaultGetters = void 0;
4
+ var tslib_1 = require("tslib");
5
+ var defaultGetItemLabel = function (item) { return item.label; };
6
+ var defaultGetItemIcon = function (item) { return item.icon; };
7
+ var defaultGetItemActive = function (item) { return item.active; };
8
+ var defaultGetItemHref = function (item) { return item.href; };
9
+ var defaultGetItemOnClick = function (item) { return item.onClick; };
10
+ function withDefaultGetters(props) {
11
+ return tslib_1.__assign(tslib_1.__assign({}, props), { getItemLabel: props.getItemLabel || defaultGetItemLabel, getItemActive: props.getItemActive || defaultGetItemActive, getItemHref: props.getItemHref || defaultGetItemHref, getItemOnClick: props.getItemOnClick || defaultGetItemOnClick, getItemIcon: props.getItemIcon || defaultGetItemIcon });
12
+ }
13
+ exports.withDefaultGetters = withDefaultGetters;
14
+ function getItemClick(item, getItemOnClick, onItemClick) {
15
+ return function (e) {
16
+ var _a;
17
+ onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick({ e: e, item: item });
18
+ (_a = getItemOnClick(item)) === null || _a === void 0 ? void 0 : _a(e);
19
+ };
20
+ }
21
+ exports.getItemClick = getItemClick;
@@ -0,0 +1,36 @@
1
+ /// <reference types="react" />
2
+ import { IconComponent } from '../../icons/Icon/Icon';
3
+ import { PropsWithHTMLAttributesAndRef } from '../../utils/types/PropsWithHTMLAttributes';
4
+ export declare const breadcrumbPropSize: readonly ["m", "xs", "s", "l"];
5
+ export declare type BreadcrumbPropSize = typeof breadcrumbPropSize[number];
6
+ export declare const breadcrumbPropSizeDefault: "m";
7
+ export declare type BreadcrumbsPropGetItemLabel<ITEM> = (item: ITEM) => string | React.ReactNode;
8
+ export declare type BreadcrumbsPropGetItemActive<ITEM> = (item: ITEM) => boolean | undefined;
9
+ export declare type BreadcrumbsPropGetItemHref<ITEM> = (item: ITEM) => string | undefined;
10
+ export declare type BreadcrumbsPropGetItemIcon<ITEM> = (item: ITEM) => IconComponent | undefined;
11
+ export declare type BreadcrumbsPropGetItemOnClick<ITEM> = (item: ITEM) => React.MouseEventHandler | undefined;
12
+ export declare type BreadcrumbsPropOnItemClick<ITEM> = (props: {
13
+ item: ITEM;
14
+ e: React.MouseEvent;
15
+ }) => void;
16
+ export declare type DefaultItem = {
17
+ label: string;
18
+ active?: boolean;
19
+ icon?: IconComponent;
20
+ href?: string;
21
+ onClick?: React.MouseEventHandler<HTMLAnchorElement>;
22
+ };
23
+ export declare type BreadcrumbsProps<ITEM = DefaultItem> = {
24
+ items: ITEM[];
25
+ getItemLabel?: BreadcrumbsPropGetItemLabel<ITEM>;
26
+ getItemActive?: BreadcrumbsPropGetItemActive<ITEM>;
27
+ getItemHref?: BreadcrumbsPropGetItemHref<ITEM>;
28
+ getItemIcon?: BreadcrumbsPropGetItemIcon<ITEM>;
29
+ getItemOnClick?: BreadcrumbsPropGetItemOnClick<ITEM>;
30
+ onItemClick?: BreadcrumbsPropOnItemClick<ITEM>;
31
+ size?: BreadcrumbPropSize;
32
+ maxCount?: number;
33
+ onlyIconRoot?: boolean;
34
+ className?: string;
35
+ };
36
+ export declare type BreadcrumbsComponent = <ITEM>(props: PropsWithHTMLAttributesAndRef<BreadcrumbsProps<ITEM>, HTMLUListElement>) => React.ReactElement | null;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ exports.__esModule = true;
3
+ exports.breadcrumbPropSizeDefault = exports.breadcrumbPropSize = void 0;
4
+ exports.breadcrumbPropSize = ['m', 'xs', 's', 'l'];
5
+ exports.breadcrumbPropSizeDefault = exports.breadcrumbPropSize[0];
@@ -140,5 +140,5 @@ exports.DatePickerFieldTypeDate = react_1["default"].forwardRef(function (props,
140
140
  var _a;
141
141
  (_a = imaskRef.current) === null || _a === void 0 ? void 0 : _a.updateValue();
142
142
  }, [stringValue]);
143
- return (react_1["default"].createElement(TextField_1.TextField, tslib_1.__assign({}, otherProps, { type: "text", ref: ref, inputRef: useForkRef_1.useForkRef([inputRef, inputRefProp]), value: stringValue, placeholder: placeholder })));
143
+ return (react_1["default"].createElement(TextField_1.TextField, tslib_1.__assign({}, otherProps, { type: "text", inputContainerRef: ref, inputRef: useForkRef_1.useForkRef([inputRef, inputRefProp]), value: stringValue, placeholder: placeholder })));
144
144
  });
@@ -62,6 +62,7 @@ export declare const eventInterceptorMap: {
62
62
  required?: boolean | undefined;
63
63
  step?: string | number | undefined;
64
64
  tabIndex?: number | undefined;
65
+ inputContainerRef?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
65
66
  inputRef?: ((instance: HTMLInputElement | HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLInputElement | HTMLTextAreaElement> | null | undefined;
66
67
  ariaLabel?: string | undefined;
67
68
  iconSize?: "xs" | "s" | "m" | undefined;
@@ -71,6 +71,7 @@ export declare const useTextFieldEventsHandler: <P extends {
71
71
  required?: boolean | undefined;
72
72
  step?: string | number | undefined;
73
73
  tabIndex?: number | undefined;
74
+ inputContainerRef?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
74
75
  inputRef?: ((instance: HTMLInputElement | HTMLTextAreaElement | null) => void) | React.RefObject<HTMLInputElement | HTMLTextAreaElement> | null | undefined;
75
76
  ariaLabel?: string | undefined;
76
77
  iconSize?: "xs" | "s" | "m" | undefined;
@@ -20,7 +20,7 @@ exports.cnTextField = bem_1.cn(exports.COMPONENT_NAME);
20
20
  function TextFieldRender(props, ref) {
21
21
  var textFieldRef = react_1["default"].useRef(null);
22
22
  var inputRef = react_1["default"].useRef(null);
23
- var _a = usePropsHandler_1.usePropsHandler(exports.COMPONENT_NAME, props, textFieldRef), className = _a.className, _b = _a.type, type = _b === void 0 ? 'text' : _b, value = _a.value, onChange = _a.onChange, id = _a.id, name = _a.name, rows = _a.rows, cols = _a.cols, minRows = _a.minRows, maxRows = _a.maxRows, inputRefProp = _a.inputRef, maxLength = _a.maxLength, disabled = _a.disabled, _c = _a.size, size = _c === void 0 ? helpers_1.textFieldPropSizeDefault : _c, _d = _a.view, view = _d === void 0 ? helpers_1.textFieldPropViewDefault : _d, _e = _a.form, form = _e === void 0 ? helpers_1.textFieldPropFormDefault : _e, state = _a.state, status = _a.status, _f = _a.width, width = _f === void 0 ? helpers_1.textFieldPropWidthDefault : _f, onBlur = _a.onBlur, onFocus = _a.onFocus, _g = _a.autoFocus, autoFocus = _g === void 0 ? false : _g, placeholder = _a.placeholder, leftSide = _a.leftSide, rightSide = _a.rightSide, autoComplete = _a.autoComplete, withClearButton = _a.withClearButton, max = _a.max, min = _a.min, readOnly = _a.readOnly, required = _a.required, _h = _a.step, step = _h === void 0 ? 1 : _h, tabIndex = _a.tabIndex, ariaLabel = _a.ariaLabel, label = _a.label, _j = _a.labelPosition, labelPosition = _j === void 0 ? 'top' : _j, caption = _a.caption, iconSizeProp = _a.iconSize, focused = _a.focused, onClick = _a.onClick, otherProps = tslib_1.__rest(_a, ["className", "type", "value", "onChange", "id", "name", "rows", "cols", "minRows", "maxRows", "inputRef", "maxLength", "disabled", "size", "view", "form", "state", "status", "width", "onBlur", "onFocus", "autoFocus", "placeholder", "leftSide", "rightSide", "autoComplete", "withClearButton", "max", "min", "readOnly", "required", "step", "tabIndex", "ariaLabel", "label", "labelPosition", "caption", "iconSize", "focused", "onClick"]);
23
+ var _a = usePropsHandler_1.usePropsHandler(exports.COMPONENT_NAME, props, textFieldRef), className = _a.className, _b = _a.type, type = _b === void 0 ? 'text' : _b, value = _a.value, onChange = _a.onChange, id = _a.id, name = _a.name, rows = _a.rows, cols = _a.cols, minRows = _a.minRows, maxRows = _a.maxRows, inputRefProp = _a.inputRef, maxLength = _a.maxLength, disabled = _a.disabled, _c = _a.size, size = _c === void 0 ? helpers_1.textFieldPropSizeDefault : _c, _d = _a.view, view = _d === void 0 ? helpers_1.textFieldPropViewDefault : _d, _e = _a.form, form = _e === void 0 ? helpers_1.textFieldPropFormDefault : _e, state = _a.state, status = _a.status, _f = _a.width, width = _f === void 0 ? helpers_1.textFieldPropWidthDefault : _f, onBlur = _a.onBlur, onFocus = _a.onFocus, _g = _a.autoFocus, autoFocus = _g === void 0 ? false : _g, placeholder = _a.placeholder, leftSide = _a.leftSide, rightSide = _a.rightSide, autoComplete = _a.autoComplete, withClearButton = _a.withClearButton, max = _a.max, min = _a.min, readOnly = _a.readOnly, required = _a.required, _h = _a.step, step = _h === void 0 ? 1 : _h, tabIndex = _a.tabIndex, ariaLabel = _a.ariaLabel, label = _a.label, inputContainerRef = _a.inputContainerRef, _j = _a.labelPosition, labelPosition = _j === void 0 ? 'top' : _j, caption = _a.caption, iconSizeProp = _a.iconSize, focused = _a.focused, onClick = _a.onClick, otherProps = tslib_1.__rest(_a, ["className", "type", "value", "onChange", "id", "name", "rows", "cols", "minRows", "maxRows", "inputRef", "maxLength", "disabled", "size", "view", "form", "state", "status", "width", "onBlur", "onFocus", "autoFocus", "placeholder", "leftSide", "rightSide", "autoComplete", "withClearButton", "max", "min", "readOnly", "required", "step", "tabIndex", "ariaLabel", "label", "inputContainerRef", "labelPosition", "caption", "iconSize", "focused", "onClick"]);
24
24
  var _k = tslib_1.__read(react_1.useState(autoFocus), 2), focus = _k[0], setFocus = _k[1];
25
25
  var textarea = type === 'textarea';
26
26
  var LeftIcon = leftSide;
@@ -116,7 +116,7 @@ function TextFieldRender(props, ref) {
116
116
  return (react_1["default"].createElement("div", tslib_1.__assign({ className: exports.cnTextField({ labelPosition: labelPosition, size: size, view: view, width: width }, [className]), ref: useForkRef_1.useForkRef([ref, textFieldRef]) }, rootProps, otherProps),
117
117
  label && (react_1["default"].createElement(FieldLabel_1.FieldLabel, { required: required, className: exports.cnTextField('Label', { labelPosition: labelPosition }), size: size }, label)),
118
118
  react_1["default"].createElement("div", { className: exports.cnTextField('Body') },
119
- react_1["default"].createElement("div", { className: exports.cnTextField('InputContainer', {
119
+ react_1["default"].createElement("div", { ref: inputContainerRef, className: exports.cnTextField('InputContainer', {
120
120
  view: view,
121
121
  form: form,
122
122
  status: status || state,
@@ -74,6 +74,7 @@ export declare type TextFieldProps<TYPE extends string> = PropsWithHTMLAttribute
74
74
  required?: boolean;
75
75
  step?: number | string;
76
76
  tabIndex?: number;
77
+ inputContainerRef?: React.Ref<HTMLDivElement>;
77
78
  inputRef?: React.Ref<HTMLTextAreaElement | HTMLInputElement>;
78
79
  ariaLabel?: string;
79
80
  iconSize?: IconPropSize;
@@ -8,104 +8,6 @@
8
8
  box-shadow: var(--shadow-group);
9
9
  }
10
10
 
11
- .MixCard_verticalSpace_xs,
12
- .MixCard_verticalSpace_s,
13
- .MixCard_verticalSpace_m,
14
- .MixCard_verticalSpace_l,
15
- .MixCard_verticalSpace_xl,
16
- .MixCard_verticalSpace_2xl,
17
- .MixCard_verticalSpace_3xl,
18
- .MixCard_verticalSpace_4xl,
19
- .MixCard_verticalSpace_5xl {
20
- padding-top: var(--vertical-space);
21
- padding-bottom: var(--vertical-space);
22
- }
23
-
24
- .MixCard_verticalSpace_xs {
25
- --vertical-space: var(--space-xs);
26
- }
27
-
28
- .MixCard_verticalSpace_s {
29
- --vertical-space: var(--space-s);
30
- }
31
-
32
- .MixCard_verticalSpace_m {
33
- --vertical-space: var(--space-m);
34
- }
35
-
36
- .MixCard_verticalSpace_l {
37
- --vertical-space: var(--space-l);
38
- }
39
-
40
- .MixCard_verticalSpace_xl {
41
- --vertical-space: var(--space-xl);
42
- }
43
-
44
- .MixCard_verticalSpace_2xl {
45
- --vertical-space: var(--space-2xl);
46
- }
47
-
48
- .MixCard_verticalSpace_3xl {
49
- --vertical-space: var(--space-3xl);
50
- }
51
-
52
- .MixCard_verticalSpace_4xl {
53
- --vertical-space: var(--space-4xl);
54
- }
55
-
56
- .MixCard_verticalSpace_5xl {
57
- --vertical-space: var(--space-5xl);
58
- }
59
-
60
- .MixCard_horizontalSpace_xs,
61
- .MixCard_horizontalSpace_s,
62
- .MixCard_horizontalSpace_m,
63
- .MixCard_horizontalSpace_l,
64
- .MixCard_horizontalSpace_xl,
65
- .MixCard_horizontalSpace_2xl,
66
- .MixCard_horizontalSpace_3xl,
67
- .MixCard_horizontalSpace_4xl,
68
- .MixCard_horizontalSpace_5xl {
69
- padding-right: var(--horizontal-space);
70
- padding-left: var(--horizontal-space);
71
- }
72
-
73
- .MixCard_horizontalSpace_xs {
74
- --horizontal-space: var(--space-xs);
75
- }
76
-
77
- .MixCard_horizontalSpace_s {
78
- --horizontal-space: var(--space-s);
79
- }
80
-
81
- .MixCard_horizontalSpace_m {
82
- --horizontal-space: var(--space-m);
83
- }
84
-
85
- .MixCard_horizontalSpace_l {
86
- --horizontal-space: var(--space-l);
87
- }
88
-
89
- .MixCard_horizontalSpace_xl {
90
- --horizontal-space: var(--space-xl);
91
- }
92
-
93
- .MixCard_horizontalSpace_2xl {
94
- --horizontal-space: var(--space-2xl);
95
- }
96
-
97
- .MixCard_horizontalSpace_3xl {
98
- --horizontal-space: var(--space-3xl);
99
- }
100
-
101
- .MixCard_horizontalSpace_4xl {
102
- --horizontal-space: var(--space-4xl);
103
- }
104
-
105
- .MixCard_horizontalSpace_5xl {
106
- --horizontal-space: var(--space-5xl);
107
- }
108
-
109
11
  .MixCard_form_round,
110
12
  .MixCard_form_square {
111
13
  border-radius: var(--border-radius);
@@ -11,6 +11,6 @@ declare type Props = {
11
11
  form?: FormMap;
12
12
  status?: CardStatus;
13
13
  };
14
- declare type CnCard = (elemNameOrBlockMods?: Props | string | null, elemModsOrBlockMix?: Props | Array<string | undefined> | null, elemMix?: Array<string | undefined>) => string;
14
+ declare type CnCard = (props: Props, classNames?: Array<string | undefined>) => string;
15
15
  export declare const cnMixCard: CnCard;
16
16
  export {};
@@ -1,8 +1,17 @@
1
1
  "use strict";
2
2
  exports.__esModule = true;
3
3
  exports.cnMixCard = void 0;
4
+ var tslib_1 = require("tslib");
4
5
  require("./MixCard.css");
5
6
  var bem_1 = require("../../utils/bem");
7
+ var MixSpace_1 = require("../MixSpace/MixSpace");
6
8
  var formMap = ['round', 'square'];
7
9
  var cardStatus = ['alert', 'success', 'warning'];
8
- exports.cnMixCard = bem_1.cn('MixCard');
10
+ var cnCard = bem_1.cn('MixCard');
11
+ exports.cnMixCard = function (props, classNames) {
12
+ if (classNames === void 0) { classNames = []; }
13
+ var verticalSpace = props.verticalSpace, horizontalSpace = props.horizontalSpace, otherProps = tslib_1.__rest(props, ["verticalSpace", "horizontalSpace"]);
14
+ return cnCard(tslib_1.__assign({}, otherProps), tslib_1.__spread([
15
+ MixSpace_1.cnMixSpace({ pV: verticalSpace, pH: horizontalSpace })
16
+ ], classNames));
17
+ };
@@ -0,0 +1,75 @@
1
+ .Breadcrumbs {
2
+ display: -webkit-box;
3
+ display: -ms-flexbox;
4
+ display: flex;
5
+ margin: 0;
6
+ padding: 0;
7
+ list-style: none;
8
+ color: var(--color-typo-secondary);
9
+ -ms-flex-wrap: wrap;
10
+ flex-wrap: wrap;
11
+ }
12
+
13
+ .Breadcrumbs_size_xs {
14
+ --delimiter-space: var(--space-xs);
15
+ font-size: var(--control-text-size-xs);
16
+ }
17
+
18
+ .Breadcrumbs_size_s {
19
+ --delimiter-space: var(--space-s);
20
+ font-size: var(--control-text-size-s);
21
+ }
22
+
23
+ .Breadcrumbs_size_m {
24
+ --delimiter-space: var(--space-m);
25
+ font-size: var(--control-text-size-m);
26
+ }
27
+
28
+ .Breadcrumbs_size_l {
29
+ --delimiter-space: var(--space-l);
30
+ font-size: var(--control-text-size-l);
31
+ }
32
+
33
+ .Breadcrumbs-Item {
34
+ display: -webkit-box;
35
+ display: -ms-flexbox;
36
+ display: flex;
37
+ -webkit-box-align: center;
38
+ -ms-flex-align: center;
39
+ align-items: center;
40
+ }
41
+
42
+ .Breadcrumbs-Link {
43
+ display: -webkit-box;
44
+ display: -ms-flexbox;
45
+ display: flex;
46
+ -webkit-box-align: center;
47
+ -ms-flex-align: center;
48
+ align-items: center;
49
+ color: var(--color-typo-secondary);
50
+ text-decoration: none;
51
+ -webkit-transition: color 0.2s;
52
+ transition: color 0.2s;
53
+ }
54
+
55
+ .Breadcrumbs-Link_active {
56
+ color: var(--color-typo-primary);
57
+ pointer-events: none;
58
+ }
59
+
60
+ .Breadcrumbs-Link:hover {
61
+ color: var(--color-typo-link-hover);
62
+ }
63
+
64
+ .Breadcrumbs-Icon {
65
+ margin-right: var(--space-xs);
66
+ }
67
+
68
+ .Breadcrumbs-Delimiter {
69
+ margin: 0 var(--delimiter-space);
70
+ color: var(--color-typo-ghost);
71
+ }
72
+
73
+ .Breadcrumbs-More {
74
+ color: var(--color-control-typo-clear);
75
+ }