@itcase/ui 1.8.1 → 1.8.4

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 (294) hide show
  1. package/dist/{Badge-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
  2. package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
  3. package/dist/{Button-CWPTzaG2.js → Button_cjs_B7OmqizJ.js} +26 -25
  4. package/dist/{Button-DHOZJDHv.js → Button_es_CBbHMy1v.js} +26 -25
  5. package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
  6. package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
  7. package/dist/{DropdownItem-_bKQxzEZ.js → DropdownItem_cjs_TdJHpFgg.js} +3 -3
  8. package/dist/{DropdownItem-Cl1pYnVf.js → DropdownItem_es_CdYP5BQN.js} +3 -3
  9. package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
  10. package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
  11. package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
  12. package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
  13. package/dist/{Input-BRhHPsGM.js → Input_cjs_DkQh0Utd.js} +1 -1
  14. package/dist/{Input-BH6rNRqZ.js → Input_es_Bs0gEq3L.js} +1 -1
  15. package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
  16. package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
  17. package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
  18. package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
  19. package/dist/{Loader-CjT6-r3I.js → Loader_cjs_D753D3li.js} +2 -2
  20. package/dist/{Loader-Dquhwxz4.js → Loader_es_BE4nyzXi.js} +2 -2
  21. package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
  22. package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
  23. package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
  24. package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
  25. package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
  26. package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
  27. package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
  28. package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
  29. package/dist/cjs/components/Accordion.js +7 -7
  30. package/dist/cjs/components/Avatar.js +9 -9
  31. package/dist/cjs/components/Badge.js +7 -7
  32. package/dist/cjs/components/Breadcrumbs.js +6 -6
  33. package/dist/cjs/components/Button.js +8 -8
  34. package/dist/cjs/components/Cell.js +7 -7
  35. package/dist/cjs/components/Checkbox.js +2 -2
  36. package/dist/cjs/components/Checkmark.js +1 -1
  37. package/dist/cjs/components/Chips.js +12 -12
  38. package/dist/cjs/components/Choice.js +54 -18
  39. package/dist/cjs/components/Code.js +1 -1
  40. package/dist/cjs/components/CookiesWarning.js +9 -9
  41. package/dist/cjs/components/DadataHintField.js +4 -4
  42. package/dist/cjs/components/DatePicker.js +113 -46
  43. package/dist/cjs/components/Divider.js +2 -2
  44. package/dist/cjs/components/Dot.js +1 -1
  45. package/dist/cjs/components/Dropdown.js +4 -4
  46. package/dist/cjs/components/Flex.js +1 -1
  47. package/dist/cjs/components/Grid.js +1 -1
  48. package/dist/cjs/components/Group.js +2 -2
  49. package/dist/cjs/components/HTMLContent.js +1 -1
  50. package/dist/cjs/components/HeroTitle.js +1 -1
  51. package/dist/cjs/components/Icon.js +6 -6
  52. package/dist/cjs/components/Image.js +2 -2
  53. package/dist/cjs/components/Input.js +2 -2
  54. package/dist/cjs/components/InputMask.js +3 -3
  55. package/dist/cjs/components/InputPassword.js +6 -6
  56. package/dist/cjs/components/Label.js +5 -5
  57. package/dist/cjs/components/Link.js +2 -2
  58. package/dist/cjs/components/List.js +2 -2
  59. package/dist/cjs/components/Loader.js +3 -3
  60. package/dist/cjs/components/Logo.js +2 -2
  61. package/dist/cjs/components/MenuItem.js +3 -3
  62. package/dist/cjs/components/Modal.js +5 -5
  63. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  64. package/dist/cjs/components/Notification.js +2 -2
  65. package/dist/cjs/components/Overlay.js +2 -2
  66. package/dist/cjs/components/Pagination.js +14 -10
  67. package/dist/cjs/components/Panel.js +3 -3
  68. package/dist/cjs/components/Radio.js +2 -2
  69. package/dist/cjs/components/RangeSlider.js +1 -1
  70. package/dist/cjs/components/Response.js +9 -9
  71. package/dist/cjs/components/SVGContent.js +1 -1
  72. package/dist/cjs/components/ScrollOnDrag.js +3 -3
  73. package/dist/cjs/components/ScrollToView.js +1 -1
  74. package/dist/cjs/components/Scrollbar.js +1 -1
  75. package/dist/cjs/components/Search.js +59 -16
  76. package/dist/cjs/components/Segmented.js +30 -18
  77. package/dist/cjs/components/Select.js +10 -10
  78. package/dist/cjs/components/Swiper.js +2 -2
  79. package/dist/cjs/components/Switch.js +2 -2
  80. package/dist/cjs/components/Tab.js +50 -70
  81. package/dist/cjs/components/Text.js +2 -2
  82. package/dist/cjs/components/Textarea.js +132 -51
  83. package/dist/cjs/components/Tile.js +7 -7
  84. package/dist/cjs/components/Title.js +2 -2
  85. package/dist/cjs/components/Tooltip.js +4 -4
  86. package/dist/cjs/components/Video.js +1 -1
  87. package/dist/cjs/context/Notifications.js +2 -2
  88. package/dist/cjs/context/UIContext.js +4 -4
  89. package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  90. package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
  91. package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
  92. package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
  93. package/dist/cjs/hooks/useStyles.js +1 -1
  94. package/dist/components/Accordion.js +7 -7
  95. package/dist/components/Avatar.js +9 -9
  96. package/dist/components/Badge.js +7 -7
  97. package/dist/components/Breadcrumbs.js +6 -6
  98. package/dist/components/Button.js +8 -8
  99. package/dist/components/Cell.js +7 -7
  100. package/dist/components/Checkbox.js +2 -2
  101. package/dist/components/Checkmark.js +1 -1
  102. package/dist/components/Chips.js +12 -12
  103. package/dist/components/Choice.js +54 -18
  104. package/dist/components/Code.js +1 -1
  105. package/dist/components/CookiesWarning.js +9 -9
  106. package/dist/components/DadataHintField.js +4 -4
  107. package/dist/components/DatePicker.js +113 -46
  108. package/dist/components/Divider.js +2 -2
  109. package/dist/components/Dot.js +1 -1
  110. package/dist/components/Dropdown.js +4 -4
  111. package/dist/components/Flex.js +1 -1
  112. package/dist/components/Grid.js +1 -1
  113. package/dist/components/Group.js +2 -2
  114. package/dist/components/HTMLContent.js +1 -1
  115. package/dist/components/HeroTitle.js +1 -1
  116. package/dist/components/Icon.js +6 -6
  117. package/dist/components/Image.js +2 -2
  118. package/dist/components/Input.js +2 -2
  119. package/dist/components/InputMask.js +3 -3
  120. package/dist/components/InputPassword.js +6 -6
  121. package/dist/components/Label.js +5 -5
  122. package/dist/components/Link.js +2 -2
  123. package/dist/components/List.js +2 -2
  124. package/dist/components/Loader.js +3 -3
  125. package/dist/components/Logo.js +2 -2
  126. package/dist/components/MenuItem.js +3 -3
  127. package/dist/components/Modal.js +5 -5
  128. package/dist/components/ModalSheetBottom.js +1 -1
  129. package/dist/components/Notification.js +2 -2
  130. package/dist/components/Overlay.js +2 -2
  131. package/dist/components/Pagination.js +15 -11
  132. package/dist/components/Panel.js +3 -3
  133. package/dist/components/Radio.js +2 -2
  134. package/dist/components/RangeSlider.js +1 -1
  135. package/dist/components/Response.js +9 -9
  136. package/dist/components/SVGContent.js +1 -1
  137. package/dist/components/ScrollOnDrag.js +2 -2
  138. package/dist/components/ScrollToView.js +1 -1
  139. package/dist/components/Scrollbar.js +1 -1
  140. package/dist/components/Search.js +59 -16
  141. package/dist/components/Segmented.js +30 -18
  142. package/dist/components/Select.js +10 -10
  143. package/dist/components/Swiper.js +2 -2
  144. package/dist/components/Switch.js +2 -2
  145. package/dist/components/Tab.js +50 -70
  146. package/dist/components/Text.js +2 -2
  147. package/dist/components/Textarea.js +133 -51
  148. package/dist/components/Tile.js +7 -7
  149. package/dist/components/Title.js +2 -2
  150. package/dist/components/Tooltip.js +4 -4
  151. package/dist/components/Video.js +1 -1
  152. package/dist/context/Notifications.js +2 -2
  153. package/dist/context/UIContext.js +4 -4
  154. package/dist/css/components/Accordion/Accordion.css +2 -0
  155. package/dist/css/components/Avatar/Avatar.css +15 -14
  156. package/dist/css/components/Badge/Badge.css +1 -0
  157. package/dist/css/components/Button/Button.css +8 -2
  158. package/dist/css/components/Cell/Cell.css +10 -9
  159. package/dist/css/components/Chips/Chips.css +12 -0
  160. package/dist/css/components/Choice/Choice.css +47 -14
  161. package/dist/css/components/Choice/css/__item/choice__item.css +3 -0
  162. package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
  163. package/dist/css/components/Code/Code.css +9 -11
  164. package/dist/css/components/CookiesWarning/CookiesWarning.css +1 -1
  165. package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
  166. package/dist/css/components/DatePicker/DatePicker.css +114 -26
  167. package/dist/css/components/Divider/Divider.css +3 -4
  168. package/dist/css/components/Dot/Dot.css +1 -0
  169. package/dist/css/components/Drawer/Drawer.css +4 -7
  170. package/dist/css/components/Dropdown/Dropdown.css +18 -3
  171. package/dist/css/components/Grid/Grid.css +12 -3
  172. package/dist/css/components/Group/Group.css +1 -1
  173. package/dist/css/components/Icon/Icon.css +7 -1
  174. package/dist/css/components/Input/Input.css +7 -9
  175. package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
  176. package/dist/css/components/InputPassword/InputPassword.css +1 -0
  177. package/dist/css/components/Loader/Loader.css +6 -0
  178. package/dist/css/components/Modal/Modal.css +1 -0
  179. package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +7 -4
  180. package/dist/css/components/Notification/Notification.css +1 -1
  181. package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +1 -1
  182. package/dist/css/components/Pagination/Pagination.css +10 -8
  183. package/dist/css/components/Pagination/css/__item/pagination__item.css +1 -1
  184. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
  185. package/dist/css/components/Radio/Radio.css +2 -0
  186. package/dist/css/components/RangeSlider/RangeSlider.css +1 -1
  187. package/dist/css/components/Search/Search.css +5 -2
  188. package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
  189. package/dist/css/components/Segmented/Segmented.css +3 -0
  190. package/dist/css/components/Select/Select.css +13 -5
  191. package/dist/css/components/Select/css/__control/select__control_fill.css +1 -1
  192. package/dist/css/components/Select/css/__menu/select__menu.css +1 -1
  193. package/dist/css/components/Swiper/Swiper.css +3 -3
  194. package/dist/css/components/Tab/Tab.css +2 -2
  195. package/dist/css/components/Text/Text.css +15 -12
  196. package/dist/css/components/Textarea/Textarea.css +38 -26
  197. package/dist/css/components/Tile/Tile.css +9 -0
  198. package/dist/css/components/Tooltip/Tooltip.css +8 -1
  199. package/dist/css/styles/border-color/border-color.css +6 -6
  200. package/dist/css/styles/border-color/border-color_focus.css +7 -5
  201. package/dist/css/styles/border-color/border-color_hover.css +13 -9
  202. package/dist/css/styles/border-width/border-width.css +2 -1
  203. package/dist/css/styles/caret-color/caret-color.css +6 -4
  204. package/dist/css/styles/fill/fill.css +19 -34
  205. package/dist/css/styles/fill/fill_active.css +14 -25
  206. package/dist/css/styles/fill/fill_active_hover.css +23 -27
  207. package/dist/css/styles/fill/fill_hover.css +27 -33
  208. package/dist/css/styles/hover/hover-fill-color.css +6 -4
  209. package/dist/css/styles/hover/hover-item-color.css +6 -4
  210. package/dist/css/styles/hover/hover-text-color.css +6 -4
  211. package/dist/css/styles/opacity/opacity.css +3 -2
  212. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
  213. package/dist/css/styles/svg-color/svg_fill.css +6 -9
  214. package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
  215. package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
  216. package/dist/css/styles/text-color/text-color.css +6 -6
  217. package/dist/css/styles/text-color/text-color_active.css +7 -6
  218. package/dist/css/styles/text-color/text-color_hover.css +7 -6
  219. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  220. package/dist/hooks/useDevicePropsGenerator.js +1 -1
  221. package/dist/hooks/useDeviceTargetClass.js +1 -1
  222. package/dist/hooks/useStyles/useStyles.js +1 -1
  223. package/dist/hooks/useStyles.js +1 -1
  224. package/dist/stories/Breadcrumbs.mdx +15 -0
  225. package/dist/stories/BreadcrumbsItem.mdx +17 -0
  226. package/dist/stories/Image.mdx +2 -2
  227. package/dist/stories/ListItem.mdx +11 -0
  228. package/dist/stories/Overview.mdx +15 -5
  229. package/dist/stories/Playground.mdx +4 -4
  230. package/dist/stories/Playgroynd.mdx +11 -0
  231. package/dist/stories/Plsyground.mdx +14 -0
  232. package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
  233. package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
  234. package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
  235. package/dist/types/components/Choice/appearance/choiceAccent.d.ts +1 -2
  236. package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
  237. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
  238. package/dist/types/components/Choice/appearance/choiceSurface.d.ts +5 -2
  239. package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
  240. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +71 -12
  241. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +42 -0
  242. package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
  243. package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +8 -11
  244. package/dist/types/components/InputMask/InputMask.d.ts +5 -0
  245. package/dist/types/components/InputMask/index.d.ts +1 -1
  246. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
  247. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
  248. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
  249. package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
  250. package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
  251. package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
  252. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
  253. package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
  254. package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
  255. package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
  256. package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
  257. package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
  258. package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
  259. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
  260. package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
  261. package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
  262. package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
  263. package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
  264. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
  265. package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
  266. package/dist/types/components/Textarea/index.d.ts +1 -1
  267. package/dist/types/components/Video/Video.interface.d.ts +3 -1
  268. package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
  269. package/dist/types/context/Notifications.d.ts +2 -2
  270. package/dist/types/context/UIContext.d.ts +1 -1
  271. package/package.json +15 -15
  272. package/dist/css/styles/fill/fill_disabled.css +0 -33
  273. package/dist/stories/Avatar.mdx +0 -23
  274. package/dist/stories/Badge.mdx +0 -13
  275. package/dist/stories/Button.mdx +0 -12
  276. package/dist/stories/Cell.mdx +0 -7
  277. package/dist/stories/Checkbox.mdx +0 -12
  278. package/dist/stories/Checkmark.mdx +0 -10
  279. package/dist/stories/Chips.mdx +0 -37
  280. package/dist/stories/Choice.mdx +0 -11
  281. package/dist/stories/Code.mdx +0 -11
  282. package/dist/stories/DatePicker.mdx +0 -31
  283. package/dist/stories/HeroTitle.mdx +0 -31
  284. package/dist/stories/Textarea.mdx +0 -15
  285. package/dist/stories/Title.mdx +0 -31
  286. package/dist/stories/Tooltip.mdx +0 -19
  287. package/dist/types/components/InputMask/Input.d.ts +0 -5
  288. /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
  289. /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
  290. /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
  291. /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
  292. /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
  293. /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
  294. /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
@@ -0,0 +1,17 @@
1
+ import { Canvas, Meta } from '@storybook/blocks'
2
+
3
+ import * as BreadcrumbsItemStories from '../stories/BreadcrubsItem.stories'
4
+
5
+ <Meta of={BreadcrumbsItemStories} />
6
+
7
+ # BreadcrumbsItem
8
+ `BreadcrumbsItem` - это навигационный элемент на странице сайта,
9
+ который показывает текущее местоположение пользователя внутри структуры сайта
10
+
11
+ ## Demo
12
+
13
+ <Canvas of={BreadcrumbsItemStories.Demo} />
14
+
15
+ ## Icon After
16
+
17
+ <Canvas of={BreadcrumbsItemStories.IconAfter} />
@@ -8,8 +8,8 @@ import * as ImageStories from '../stories/Image.stories.tsx'
8
8
 
9
9
  ## Rectangular
10
10
 
11
- <Canvas sourceState="shown" of={ImageStories.Rectangular} />
11
+ <Canvas sourceState="shown" of={ImageStories.Default} />
12
12
 
13
13
  ## Circular
14
14
 
15
- <Canvas sourceState="shown" of={ImageStories.Circular} />
15
+ <Canvas sourceState="shown" of={ImageStories.Skeleton} />
@@ -0,0 +1,11 @@
1
+ import { Canvas, Meta, Story } from '@storybook/blocks'
2
+
3
+ import * as ListItemStories from '../stories/ListItem.stories'
4
+
5
+ <Meta of={ListItemStories} />
6
+
7
+ # ListItem
8
+ `ListItem` - это элемент списка `List`
9
+
10
+ ## Demo
11
+ <Canvas of={ListItemStories.Demo} />
@@ -1,11 +1,21 @@
1
1
  import { Meta, Story } from '@storybook/blocks'
2
2
 
3
- import * as TooltipStories from '../stories/Tooltip.stories.tsx'
3
+ import * as VideoStories from '../stories/Video.stories'
4
4
 
5
- <Meta title="Atoms / Tooltip / Overview" />
5
+ <Meta title="Components / Video / Overview" />
6
6
 
7
- # Tooltip
7
+ # Video
8
8
 
9
- `Tooltip` - это небольшой фрагмент контекстной информации, который появляется, когда пользователи наводят курсор мыши на элемент пользовательского интерфейса.
9
+ `Video` - используется для встраивания видео в разных форматах в веб-приложения
10
10
 
11
- <Story of={TooltipStories.surfacePrimary} />
11
+ ## Poster
12
+ <Story of={VideoStories.Poster}/>
13
+
14
+ ## Mp4
15
+ <Story of={VideoStories.Mp4}/>
16
+
17
+ ## Webm
18
+ <Story of={VideoStories.Webm}/>
19
+
20
+ ## Ogv
21
+ <Story of={VideoStories.Ogv}/>
@@ -1,10 +1,10 @@
1
1
  import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
- import * as TooltipStories from '../stories/Tooltip.stories.tsx'
3
+ import * as VideoStories from '../stories/Video.stories.tsx'
4
4
 
5
- <Meta title="Atoms / Tooltip / Playground" />
5
+ <Meta title="Components / Video / Playground" />
6
6
 
7
7
  # Playground
8
8
 
9
- <Canvas sourceState="shown" of={TooltipStories.surfacePrimary} />
10
- <Controls of={TooltipStories.surfacePrimary} />
9
+ <Canvas sourceState="shown" of={VideoStories.Mp4} />
10
+ <Controls of={VideoStories.Mp4} />
@@ -0,0 +1,11 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as DadataHintFieldStories from '../stories/DadataHintField.stories'
4
+
5
+ <Meta title="Components / DadataHintField / Playground" />
6
+
7
+ # Playground
8
+
9
+ <Canvas sourceState="shown" of={DadataHintFieldStories.Demo} />
10
+ <Controls of={DadataHintFieldStories.Demo} />
11
+
@@ -0,0 +1,14 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as BreadcrumbsStories from '../stories/Breadcrumbs.stories'
4
+ import * as BreadcrumbsItemStories from '../stories/BreadcrubsItem.stories'
5
+
6
+ <Meta title="Atoms / Breadcrumbs / Playground" />
7
+
8
+ # Playground
9
+
10
+ <Canvas sourceState="shown" of={BreadcrumbsStories.Default} />
11
+ <Controls of={BreadcrumbsStories.Default} />
12
+
13
+ <Canvas sourceState="shown" of={BreadcrumbsItemStories.Demo} />
14
+ <Controls of={BreadcrumbsItemStories.IconAfter} />
@@ -2,38 +2,18 @@ declare const badgeAppearanceAccent: {
2
2
  accent: {
3
3
  dotFill: string;
4
4
  iconFill: string;
5
- fill: string;
6
- fillHover: string;
7
- borderColor: string;
8
- textColor: string;
9
5
  };
10
6
  accentPrimary: {
11
7
  dotFill: string;
12
- fill: string;
13
- borderColor: string;
14
- textColor: string;
15
- iconFill: string;
16
8
  };
17
9
  accentQuaternary: {
18
10
  dotFill: string;
19
- fill: string;
20
- borderColor: string;
21
- textColor: string;
22
- iconFill: string;
23
11
  };
24
12
  accentSecondary: {
25
13
  dotFill: string;
26
- fill: string;
27
- borderColor: string;
28
- textColor: string;
29
- iconFill: string;
30
14
  };
31
15
  accentTertiary: {
32
16
  dotFill: string;
33
- fill: string;
34
- borderColor: string;
35
- textColor: string;
36
- iconFill: string;
37
17
  };
38
18
  };
39
19
  export { badgeAppearanceAccent };
@@ -1,59 +1,59 @@
1
1
  declare const buttonAppearanceSize: {
2
2
  sizeXXL: {
3
- labelTextSize: string;
4
3
  size: string;
4
+ labelTextSize: string;
5
5
  iconAfterFillSize: number;
6
6
  iconAfterSize: number;
7
7
  iconBeforeFillSize: number;
8
8
  iconBeforeSize: number;
9
9
  };
10
10
  sizeXL: {
11
+ size: string;
11
12
  labelTextSize: string;
12
13
  iconAfterFillSize: number;
13
14
  iconAfterSize: number;
14
15
  iconBeforeFillSize: number;
15
16
  iconBeforeSize: number;
16
- size: string;
17
17
  };
18
18
  sizeL: {
19
+ size: string;
19
20
  labelTextSize: string;
20
21
  iconAfterFillSize: number;
21
22
  iconAfterSize: number;
22
23
  iconBeforeFillSize: number;
23
24
  iconBeforeSize: number;
24
- size: string;
25
25
  };
26
26
  sizeM: {
27
+ size: string;
27
28
  labelTextSize: string;
28
29
  iconAfterFillSize: number;
29
30
  iconAfterSize: number;
30
31
  iconBeforeFillSize: number;
31
32
  iconBeforeSize: number;
32
- size: string;
33
33
  };
34
34
  sizeS: {
35
+ size: string;
35
36
  labelTextSize: string;
36
37
  iconAfterFillSize: number;
37
38
  iconAfterSize: number;
38
39
  iconBeforeFillSize: number;
39
40
  iconBeforeSize: number;
40
- size: string;
41
41
  };
42
42
  sizeXS: {
43
+ size: string;
43
44
  labelTextSize: string;
44
45
  iconAfterFillSize: number;
45
46
  iconAfterSize: number;
46
47
  iconBeforeFillSize: number;
47
48
  iconBeforeSize: number;
48
- size: string;
49
49
  };
50
50
  sizeXXS: {
51
+ size: string;
51
52
  labelTextSize: string;
52
53
  iconAfterFillSize: number;
53
54
  iconAfterSize: number;
54
55
  iconBeforeFillSize: number;
55
56
  iconBeforeSize: number;
56
- size: string;
57
57
  };
58
58
  };
59
59
  export { buttonAppearanceSize };
@@ -3,20 +3,21 @@ declare const buttonAppearanceSurface: {
3
3
  fill: string;
4
4
  fillHover: string;
5
5
  labelTextColor: string;
6
+ iconFillIcon: string;
6
7
  };
7
- surfaceSecondary: {
8
+ surfaceQuaternary: {
8
9
  fill: string;
9
10
  fillHover: string;
10
11
  labelTextColor: string;
11
- loaderFill: string;
12
- loaderItemFill: string;
13
12
  };
14
- surfaceTertiary: {
13
+ surfaceSecondary: {
15
14
  fill: string;
16
15
  fillHover: string;
17
16
  labelTextColor: string;
17
+ loaderFill: string;
18
+ loaderItemFill: string;
18
19
  };
19
- surfaceQuaternary: {
20
+ surfaceTertiary: {
20
21
  fill: string;
21
22
  fillHover: string;
22
23
  labelTextColor: string;
@@ -1,10 +1,9 @@
1
1
  declare const choiceAppearanceAccent: {
2
2
  accentPrimary: {
3
3
  fill: string;
4
- fillActive: string;
4
+ fillItemActive: string;
5
5
  labelTextActiveColor: string;
6
6
  labelTextColor: string;
7
- labelTextSize: string;
8
7
  borderColor: string;
9
8
  };
10
9
  };
@@ -0,0 +1,18 @@
1
+ declare const choiceAppearanceSize: {
2
+ sizeL: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ iconSize: string;
6
+ };
7
+ sizeM: {
8
+ size: string;
9
+ labelTextSize: string;
10
+ iconSize: string;
11
+ };
12
+ sizeS: {
13
+ size: string;
14
+ labelTextSize: string;
15
+ iconSize: string;
16
+ };
17
+ };
18
+ export { choiceAppearanceSize };
@@ -0,0 +1,14 @@
1
+ declare const choiceAppearanceStyle: {
2
+ full: {};
3
+ ghost: {
4
+ fill: string;
5
+ borderWidth: string;
6
+ };
7
+ outlined: {
8
+ fill: string;
9
+ };
10
+ solid: {
11
+ borderWidth: string;
12
+ };
13
+ };
14
+ export { choiceAppearanceStyle };
@@ -7,7 +7,10 @@ declare const choiceAppearanceSurface: {
7
7
  fillItemHover: string;
8
8
  labelTextActiveColor: string;
9
9
  labelTextColor: string;
10
- labelTextSize: string;
10
+ labelTextWrap: string;
11
+ borderColor: string;
12
+ iconBeforeFill: string;
13
+ iconBeforeFillActive: string;
11
14
  };
12
15
  surfaceSecondary: {
13
16
  fill: string;
@@ -16,7 +19,7 @@ declare const choiceAppearanceSurface: {
16
19
  fillItemHover: string;
17
20
  labelTextActiveColor: string;
18
21
  labelTextColor: string;
19
- labelTextSize: string;
22
+ labelTextWrap: string;
20
23
  };
21
24
  };
22
25
  export { choiceAppearanceSurface };
@@ -1,4 +1,6 @@
1
1
  import { HTMLProps } from 'react';
2
+ import { DaDataSuggestion } from 'react-dadata';
3
+ import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
2
4
  import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
3
5
  export interface DadataHintFieldProps extends StyleAttributes {
4
6
  delay?: number;
@@ -6,8 +8,8 @@ export interface DadataHintFieldProps extends StyleAttributes {
6
8
  inputProps?: HTMLProps<HTMLInputElement>;
7
9
  meta?: any;
8
10
  token: string;
9
- setValue?: () => void;
11
+ setValue?: (suggestion?: DaDataSuggestion<DaDataParty>) => void;
10
12
  }
11
- export interface DadataСustomInputProps extends StyleAttributes {
13
+ export interface DadataCustomInputProps extends StyleAttributes {
12
14
  inputValue?: string;
13
15
  }
@@ -1,29 +1,88 @@
1
1
  export declare const datePickerAppearance: {
2
+ solid: {
3
+ datePickerProps: {};
4
+ inputProps: {
5
+ borderWidth: string;
6
+ };
7
+ };
8
+ outlined: {
9
+ datePickerProps: {};
10
+ inputProps: {
11
+ fill: string;
12
+ };
13
+ };
14
+ ghost: {
15
+ datePickerProps: {};
16
+ inputProps: {
17
+ fill: string;
18
+ borderWidth: string;
19
+ };
20
+ };
21
+ full: {
22
+ datePickerProps: {};
23
+ inputProps: {};
24
+ };
25
+ sizeS: {
26
+ datePickerProps: {
27
+ daySize: string;
28
+ dayTextSize: string;
29
+ iconFillSize: number;
30
+ };
31
+ inputProps: {
32
+ size: string;
33
+ textSize: string;
34
+ clearIconSize: number;
35
+ clearLabelTextSize: string;
36
+ };
37
+ };
38
+ sizeM: {
39
+ datePickerProps: {
40
+ daySize: string;
41
+ dayTextSize: string;
42
+ iconFillSize: number;
43
+ };
44
+ inputProps: {
45
+ size: string;
46
+ textSize: string;
47
+ clearIconSize: number;
48
+ clearLabelTextSize: string;
49
+ };
50
+ };
51
+ sizeL: {
52
+ datePickerProps: {
53
+ daySize: string;
54
+ dayTextSize: string;
55
+ iconFillSize: number;
56
+ };
57
+ inputProps: {
58
+ size: string;
59
+ textSize: string;
60
+ clearIconSize: number;
61
+ clearLabelTextSize: string;
62
+ };
63
+ };
2
64
  surfacePrimary: {
3
- datePicker: {
65
+ datePickerProps: {
4
66
  daySize: string;
5
67
  dayTextColor: string;
6
68
  dayTextShape: string;
7
69
  dayTextSize: string;
70
+ iconFillHover: string;
8
71
  iconItemFill: string;
9
- monthTextColor: string;
10
- monthTextSize: string;
11
- monthTextWeight: string;
12
- yearTextColor: string;
13
- yearTextSize: string;
14
- yearTextWeight: string;
15
- };
16
- input: {
72
+ iconShape: string;
73
+ };
74
+ inputProps: {
17
75
  width: string;
18
- size: string;
19
76
  fill: string;
20
77
  fillHover: string;
21
78
  borderColor: string;
22
79
  textColor: string;
23
- textSize: string;
24
80
  caret: string;
81
+ clearIconItemFill: string;
82
+ clearIconItemFillHover: string;
83
+ clearLabelTextColor: string;
84
+ clearLabelTextColorHover: string;
25
85
  placeholderTextColor: string;
26
- shape: string;
27
86
  };
28
87
  };
29
88
  };
@@ -0,0 +1,42 @@
1
+ declare const datePickerSize: {
2
+ sizeS: {
3
+ datePickerProps: {
4
+ daySize: string;
5
+ dayTextSize: string;
6
+ iconFillSize: number;
7
+ };
8
+ inputProps: {
9
+ size: string;
10
+ textSize: string;
11
+ clearIconSize: number;
12
+ clearLabelTextSize: string;
13
+ };
14
+ };
15
+ sizeM: {
16
+ datePickerProps: {
17
+ daySize: string;
18
+ dayTextSize: string;
19
+ iconFillSize: number;
20
+ };
21
+ inputProps: {
22
+ size: string;
23
+ textSize: string;
24
+ clearIconSize: number;
25
+ clearLabelTextSize: string;
26
+ };
27
+ };
28
+ sizeL: {
29
+ datePickerProps: {
30
+ daySize: string;
31
+ dayTextSize: string;
32
+ iconFillSize: number;
33
+ };
34
+ inputProps: {
35
+ size: string;
36
+ textSize: string;
37
+ clearIconSize: number;
38
+ clearLabelTextSize: string;
39
+ };
40
+ };
41
+ };
42
+ export { datePickerSize };
@@ -0,0 +1,26 @@
1
+ declare const datePickerStyle: {
2
+ solid: {
3
+ datePickerProps: {};
4
+ inputProps: {
5
+ borderWidth: string;
6
+ };
7
+ };
8
+ outlined: {
9
+ datePickerProps: {};
10
+ inputProps: {
11
+ fill: string;
12
+ };
13
+ };
14
+ ghost: {
15
+ datePickerProps: {};
16
+ inputProps: {
17
+ fill: string;
18
+ borderWidth: string;
19
+ };
20
+ };
21
+ full: {
22
+ datePickerProps: {};
23
+ inputProps: {};
24
+ };
25
+ };
26
+ export { datePickerStyle };
@@ -1,29 +1,26 @@
1
1
  declare const datePickerAppearanceSurface: {
2
2
  surfacePrimary: {
3
- datePicker: {
3
+ datePickerProps: {
4
4
  daySize: string;
5
5
  dayTextColor: string;
6
6
  dayTextShape: string;
7
7
  dayTextSize: string;
8
+ iconFillHover: string;
8
9
  iconItemFill: string;
9
- monthTextColor: string;
10
- monthTextSize: string;
11
- monthTextWeight: string;
12
- yearTextColor: string;
13
- yearTextSize: string;
14
- yearTextWeight: string;
10
+ iconShape: string;
15
11
  };
16
- input: {
12
+ inputProps: {
17
13
  width: string;
18
- size: string;
19
14
  fill: string;
20
15
  fillHover: string;
21
16
  borderColor: string;
22
17
  textColor: string;
23
- textSize: string;
24
18
  caret: string;
19
+ clearIconItemFill: string;
20
+ clearIconItemFillHover: string;
21
+ clearLabelTextColor: string;
22
+ clearLabelTextColorHover: string;
25
23
  placeholderTextColor: string;
26
- shape: string;
27
24
  };
28
25
  };
29
26
  };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { InputMaskConfig } from './InputMask.interface';
3
+ declare const inputMaskConfig: InputMaskConfig;
4
+ declare const InputMask: React.ForwardRefExoticComponent<Omit<InputMaskProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ export { InputMask, inputMaskConfig };
@@ -1 +1 @@
1
- export { Input, inputMaskConfig } from './Input';
1
+ export { InputMask, inputMaskConfig } from './InputMask';
@@ -4,6 +4,7 @@ declare const paginationAppearanceSurface: {
4
4
  fillHover: string;
5
5
  gap: string;
6
6
  marginPagesDisplayed: number;
7
+ nextLabel: import("react/jsx-runtime").JSX.Element;
7
8
  pageCountDesc: string;
8
9
  pageCountDescTextColor: string;
9
10
  pageCountDescTextSize: string;
@@ -24,11 +25,13 @@ declare const paginationAppearanceSurface: {
24
25
  pageCountDropdownItemSize: string;
25
26
  pageCountDropdownItemWidth: string;
26
27
  pageCountDropdownShape: string;
28
+ pageCountInputIcon: any;
27
29
  pageCountInputIconColor: string;
28
30
  pageCountInputIconFillSize: string;
29
31
  pageCountInputTextColor: string;
30
32
  pageCountInputTextSize: string;
31
33
  pageRangeDisplayed: number;
34
+ previousLabel: import("react/jsx-runtime").JSX.Element;
32
35
  };
33
36
  };
34
37
  export { paginationAppearanceSurface };
@@ -24,6 +24,6 @@ export interface RangeSliderProps extends StyleAttributes {
24
24
  value?: number;
25
25
  vertical?: boolean;
26
26
  width?: WidthProps;
27
- onChangeSlider?: () => void;
27
+ onChangeSlider?: (value: number | number[]) => void;
28
28
  set?: string;
29
29
  }
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import ScrollContainer from 'react-indiana-drag-scroll';
2
+ import { ScrollContainer } from 'react-indiana-drag-scroll';
3
3
  import { BorderColorProps, BorderTypeProps, BorderWidthProps, ElevationProps, FillHoverProps, FillProps, HeightProps, WidthProps } from '@itcase/types';
4
4
  import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
5
5
  export interface ScrollOnDragProps extends StyleAttributes {
@@ -0,0 +1,17 @@
1
+ declare const searchAppearanceSize: {
2
+ sizeS: {
3
+ size: string;
4
+ iconBefore: any;
5
+ iconBeforeSize: string;
6
+ iconClear: any;
7
+ iconClearSize: string;
8
+ };
9
+ sizeXS: {
10
+ size: string;
11
+ iconBefore: any;
12
+ iconBeforeSize: string;
13
+ iconClear: any;
14
+ iconClearSize: string;
15
+ };
16
+ };
17
+ export { searchAppearanceSize };
@@ -0,0 +1,14 @@
1
+ declare const searchAppearanceStyle: {
2
+ full: {};
3
+ ghost: {
4
+ fill: string;
5
+ borderWidth: string;
6
+ };
7
+ outlined: {
8
+ fill: string;
9
+ };
10
+ solid: {
11
+ borderWidth: string;
12
+ };
13
+ };
14
+ export { searchAppearanceStyle };
@@ -0,0 +1,18 @@
1
+ declare const searchAppearanceSurface: {
2
+ surfacePrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ iconBeforeFill: string;
7
+ iconClearFill: string;
8
+ };
9
+ surfaceSecondary: {
10
+ fill: string;
11
+ borderColor: string;
12
+ borderHover: string;
13
+ iconBeforeFill: string;
14
+ iconClearFill: string;
15
+ placeholderTextColor: string;
16
+ };
17
+ };
18
+ export { searchAppearanceSurface };
@@ -0,0 +1,15 @@
1
+ declare const segmentedAppearanceSize: {
2
+ sizeS: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ };
6
+ sizeM: {
7
+ size: string;
8
+ labelTextSize: string;
9
+ };
10
+ sizeL: {
11
+ size: string;
12
+ labelTextSize: string;
13
+ };
14
+ };
15
+ export { segmentedAppearanceSize };