@itcase/ui 1.8.1 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/dist/{Badge-Df7Zxjnk.js → Badge_cjs_DrG2tUjI.js} +12 -34
  2. package/dist/{Badge-BY030Mwm.js → Badge_es_Bx0NsdST.js} +12 -34
  3. package/dist/{Button-CWPTzaG2.js → Button_cjs_B7OmqizJ.js} +26 -25
  4. package/dist/{Button-DHOZJDHv.js → Button_es_CBbHMy1v.js} +26 -25
  5. package/dist/{Divider-BQIfjvPR.js → Divider_cjs_DakITdTv.js} +1 -1
  6. package/dist/{Divider-CUFKsm-9.js → Divider_es_CWsDM2Rm.js} +1 -1
  7. package/dist/{DropdownItem-_bKQxzEZ.js → DropdownItem_cjs_TdJHpFgg.js} +3 -3
  8. package/dist/{DropdownItem-Cl1pYnVf.js → DropdownItem_es_CdYP5BQN.js} +3 -3
  9. package/dist/{Group-utjnjUDZ.js → Group_cjs_DFmNT5Mq.js} +8 -4
  10. package/dist/{Group-C8NUU6k5.js → Group_es_CRGwi5XI.js} +8 -4
  11. package/dist/{Icon-D_BDlSSb.js → Icon_cjs_DSzfNqif.js} +3 -3
  12. package/dist/{Icon-BF7i3XdQ.js → Icon_es_BBmoZ7_3.js} +3 -3
  13. package/dist/{Input-BRhHPsGM.js → Input_cjs_DkQh0Utd.js} +1 -1
  14. package/dist/{Input-BH6rNRqZ.js → Input_es_Bs0gEq3L.js} +1 -1
  15. package/dist/{Label-DsNZ-asS.js → Label_cjs_BCjB-mxC.js} +5 -5
  16. package/dist/{Label-brG78nLi.js → Label_es_CZpanSdR.js} +5 -5
  17. package/dist/{Link-CZ8o5lGW.js → Link_cjs_yht44xJv.js} +1 -1
  18. package/dist/{Link-Cn7hiWmM.js → Link_es_DkW06IM-.js} +1 -1
  19. package/dist/{Loader-CjT6-r3I.js → Loader_cjs_D753D3li.js} +2 -2
  20. package/dist/{Loader-Dquhwxz4.js → Loader_es_BE4nyzXi.js} +2 -2
  21. package/dist/{Overlay-BoIJ-g58.js → Overlay_cjs_BTSfcGrM.js} +1 -2
  22. package/dist/{Overlay-Be9UCtR9.js → Overlay_es_CR7d-ISF.js} +1 -2
  23. package/dist/{Text-DwIx33-P.js → Text_cjs_D4xG0cKD.js} +3 -3
  24. package/dist/{Text-aaWArShm.js → Text_es_FJGduy7Z.js} +3 -3
  25. package/dist/{Title-ByfOyy-n.js → Title_cjs_iuyln-ab.js} +1 -1
  26. package/dist/{Title--_epIXkC.js → Title_es_ke3YylFm.js} +1 -1
  27. package/dist/{Tooltip-hznDyLwa.js → Tooltip_cjs_CTwksdFk.js} +3 -3
  28. package/dist/{Tooltip-DP32J5V6.js → Tooltip_es_H976MIb7.js} +3 -3
  29. package/dist/cjs/components/Accordion.js +7 -7
  30. package/dist/cjs/components/Avatar.js +9 -9
  31. package/dist/cjs/components/Badge.js +7 -7
  32. package/dist/cjs/components/Breadcrumbs.js +6 -6
  33. package/dist/cjs/components/Button.js +8 -8
  34. package/dist/cjs/components/Cell.js +7 -7
  35. package/dist/cjs/components/Checkbox.js +2 -2
  36. package/dist/cjs/components/Checkmark.js +1 -1
  37. package/dist/cjs/components/Chips.js +9 -9
  38. package/dist/cjs/components/Choice.js +55 -19
  39. package/dist/cjs/components/Code.js +1 -1
  40. package/dist/cjs/components/CookiesWarning.js +9 -9
  41. package/dist/cjs/components/DadataHintField.js +4 -4
  42. package/dist/cjs/components/DatePicker.js +113 -46
  43. package/dist/cjs/components/Divider.js +2 -2
  44. package/dist/cjs/components/Dot.js +1 -1
  45. package/dist/cjs/components/Dropdown.js +4 -4
  46. package/dist/cjs/components/Flex.js +1 -1
  47. package/dist/cjs/components/Grid.js +1 -1
  48. package/dist/cjs/components/Group.js +2 -2
  49. package/dist/cjs/components/HTMLContent.js +1 -1
  50. package/dist/cjs/components/HeroTitle.js +1 -1
  51. package/dist/cjs/components/Icon.js +6 -6
  52. package/dist/cjs/components/Image.js +2 -2
  53. package/dist/cjs/components/Input.js +2 -2
  54. package/dist/cjs/components/InputMask.js +3 -3
  55. package/dist/cjs/components/InputPassword.js +6 -6
  56. package/dist/cjs/components/Label.js +5 -5
  57. package/dist/cjs/components/Link.js +2 -2
  58. package/dist/cjs/components/List.js +2 -2
  59. package/dist/cjs/components/Loader.js +3 -3
  60. package/dist/cjs/components/Logo.js +2 -2
  61. package/dist/cjs/components/MenuItem.js +3 -3
  62. package/dist/cjs/components/Modal.js +5 -5
  63. package/dist/cjs/components/ModalSheetBottom.js +1 -1
  64. package/dist/cjs/components/Notification.js +2 -2
  65. package/dist/cjs/components/Overlay.js +2 -2
  66. package/dist/cjs/components/Pagination.js +14 -10
  67. package/dist/cjs/components/Panel.js +3 -3
  68. package/dist/cjs/components/Radio.js +2 -2
  69. package/dist/cjs/components/RangeSlider.js +1 -1
  70. package/dist/cjs/components/Response.js +9 -9
  71. package/dist/cjs/components/SVGContent.js +1 -1
  72. package/dist/cjs/components/ScrollOnDrag.js +3 -3
  73. package/dist/cjs/components/ScrollToView.js +1 -1
  74. package/dist/cjs/components/Scrollbar.js +1 -1
  75. package/dist/cjs/components/Search.js +59 -16
  76. package/dist/cjs/components/Segmented.js +30 -18
  77. package/dist/cjs/components/Select.js +10 -10
  78. package/dist/cjs/components/Swiper.js +2 -2
  79. package/dist/cjs/components/Switch.js +2 -2
  80. package/dist/cjs/components/Tab.js +50 -70
  81. package/dist/cjs/components/Text.js +2 -2
  82. package/dist/cjs/components/Textarea.js +132 -51
  83. package/dist/cjs/components/Tile.js +7 -7
  84. package/dist/cjs/components/Title.js +2 -2
  85. package/dist/cjs/components/Tooltip.js +4 -4
  86. package/dist/cjs/components/Video.js +1 -1
  87. package/dist/cjs/context/Notifications.js +2 -2
  88. package/dist/cjs/context/UIContext.js +4 -4
  89. package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  90. package/dist/cjs/hooks/useDevicePropsGenerator.js +1 -1
  91. package/dist/cjs/hooks/useDeviceTargetClass.js +1 -1
  92. package/dist/cjs/hooks/useStyles/useStyles.js +1 -1
  93. package/dist/cjs/hooks/useStyles.js +1 -1
  94. package/dist/components/Accordion.js +7 -7
  95. package/dist/components/Avatar.js +9 -9
  96. package/dist/components/Badge.js +7 -7
  97. package/dist/components/Breadcrumbs.js +6 -6
  98. package/dist/components/Button.js +8 -8
  99. package/dist/components/Cell.js +7 -7
  100. package/dist/components/Checkbox.js +2 -2
  101. package/dist/components/Checkmark.js +1 -1
  102. package/dist/components/Chips.js +9 -9
  103. package/dist/components/Choice.js +55 -19
  104. package/dist/components/Code.js +1 -1
  105. package/dist/components/CookiesWarning.js +9 -9
  106. package/dist/components/DadataHintField.js +4 -4
  107. package/dist/components/DatePicker.js +113 -46
  108. package/dist/components/Divider.js +2 -2
  109. package/dist/components/Dot.js +1 -1
  110. package/dist/components/Dropdown.js +4 -4
  111. package/dist/components/Flex.js +1 -1
  112. package/dist/components/Grid.js +1 -1
  113. package/dist/components/Group.js +2 -2
  114. package/dist/components/HTMLContent.js +1 -1
  115. package/dist/components/HeroTitle.js +1 -1
  116. package/dist/components/Icon.js +6 -6
  117. package/dist/components/Image.js +2 -2
  118. package/dist/components/Input.js +2 -2
  119. package/dist/components/InputMask.js +3 -3
  120. package/dist/components/InputPassword.js +6 -6
  121. package/dist/components/Label.js +5 -5
  122. package/dist/components/Link.js +2 -2
  123. package/dist/components/List.js +2 -2
  124. package/dist/components/Loader.js +3 -3
  125. package/dist/components/Logo.js +2 -2
  126. package/dist/components/MenuItem.js +3 -3
  127. package/dist/components/Modal.js +5 -5
  128. package/dist/components/ModalSheetBottom.js +1 -1
  129. package/dist/components/Notification.js +2 -2
  130. package/dist/components/Overlay.js +2 -2
  131. package/dist/components/Pagination.js +15 -11
  132. package/dist/components/Panel.js +3 -3
  133. package/dist/components/Radio.js +2 -2
  134. package/dist/components/RangeSlider.js +1 -1
  135. package/dist/components/Response.js +9 -9
  136. package/dist/components/SVGContent.js +1 -1
  137. package/dist/components/ScrollOnDrag.js +2 -2
  138. package/dist/components/ScrollToView.js +1 -1
  139. package/dist/components/Scrollbar.js +1 -1
  140. package/dist/components/Search.js +59 -16
  141. package/dist/components/Segmented.js +30 -18
  142. package/dist/components/Select.js +10 -10
  143. package/dist/components/Swiper.js +2 -2
  144. package/dist/components/Switch.js +2 -2
  145. package/dist/components/Tab.js +50 -70
  146. package/dist/components/Text.js +2 -2
  147. package/dist/components/Textarea.js +133 -51
  148. package/dist/components/Tile.js +7 -7
  149. package/dist/components/Title.js +2 -2
  150. package/dist/components/Tooltip.js +4 -4
  151. package/dist/components/Video.js +1 -1
  152. package/dist/context/Notifications.js +2 -2
  153. package/dist/context/UIContext.js +4 -4
  154. package/dist/css/components/Accordion/Accordion.css +2 -0
  155. package/dist/css/components/Avatar/Avatar.css +15 -14
  156. package/dist/css/components/Badge/Badge.css +1 -0
  157. package/dist/css/components/Button/Button.css +8 -2
  158. package/dist/css/components/Cell/Cell.css +10 -9
  159. package/dist/css/components/Chips/Chips.css +12 -0
  160. package/dist/css/components/Choice/Choice.css +47 -14
  161. package/dist/css/components/Choice/css/__item/choice__item.css +3 -0
  162. package/dist/css/components/Choice/css/__item/choice__item_size.css +10 -0
  163. package/dist/css/components/Code/Code.css +9 -11
  164. package/dist/css/components/CookiesWarning/CookiesWarning.token.css +2 -0
  165. package/dist/css/components/DatePicker/DatePicker.css +112 -24
  166. package/dist/css/components/Divider/Divider.css +3 -4
  167. package/dist/css/components/Dot/Dot.css +1 -0
  168. package/dist/css/components/Drawer/Drawer.css +4 -7
  169. package/dist/css/components/Dropdown/Dropdown.css +18 -3
  170. package/dist/css/components/Grid/Grid.css +12 -3
  171. package/dist/css/components/Group/Group.css +1 -1
  172. package/dist/css/components/Icon/Icon.css +6 -0
  173. package/dist/css/components/Input/Input.css +7 -9
  174. package/dist/css/components/InputMask/{Input.css → InputMask.css} +4 -4
  175. package/dist/css/components/InputPassword/InputPassword.css +1 -0
  176. package/dist/css/components/Loader/Loader.css +6 -0
  177. package/dist/css/components/Modal/Modal.css +1 -0
  178. package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +6 -0
  179. package/dist/css/components/Pagination/Pagination.css +7 -5
  180. package/dist/css/components/Pagination/css/__item/pagination__item.css +1 -1
  181. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +1 -4
  182. package/dist/css/components/Radio/Radio.css +2 -0
  183. package/dist/css/components/Search/Search.css +5 -2
  184. package/dist/css/components/Search/css/search-input/search-input_size.css +1 -0
  185. package/dist/css/components/Segmented/Segmented.css +3 -0
  186. package/dist/css/components/Select/Select.css +2 -0
  187. package/dist/css/components/Swiper/Swiper.css +3 -3
  188. package/dist/css/components/Tab/Tab.css +2 -2
  189. package/dist/css/components/Text/Text.css +15 -12
  190. package/dist/css/components/Textarea/Textarea.css +38 -26
  191. package/dist/css/components/Tile/Tile.css +9 -0
  192. package/dist/css/components/Tooltip/Tooltip.css +7 -0
  193. package/dist/css/styles/border-color/border-color.css +6 -6
  194. package/dist/css/styles/border-color/border-color_focus.css +7 -5
  195. package/dist/css/styles/border-color/border-color_hover.css +13 -9
  196. package/dist/css/styles/border-width/border-width.css +2 -1
  197. package/dist/css/styles/caret-color/caret-color.css +6 -4
  198. package/dist/css/styles/fill/fill.css +19 -34
  199. package/dist/css/styles/fill/fill_active.css +14 -25
  200. package/dist/css/styles/fill/fill_active_hover.css +23 -27
  201. package/dist/css/styles/fill/fill_hover.css +27 -33
  202. package/dist/css/styles/opacity/opacity.css +3 -2
  203. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +6 -4
  204. package/dist/css/styles/svg-color/svg_fill.css +6 -9
  205. package/dist/css/styles/svg-color/svg_fill_hover.css +6 -4
  206. package/dist/css/styles/svg-color/svg_path_fill.css +6 -5
  207. package/dist/css/styles/text-color/text-color.css +6 -6
  208. package/dist/css/styles/text-color/text-color_active.css +7 -6
  209. package/dist/css/styles/text-color/text-color_hover.css +7 -6
  210. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +1 -1
  211. package/dist/hooks/useDevicePropsGenerator.js +1 -1
  212. package/dist/hooks/useDeviceTargetClass.js +1 -1
  213. package/dist/hooks/useStyles/useStyles.js +1 -1
  214. package/dist/hooks/useStyles.js +1 -1
  215. package/dist/stories/Breadcrumbs.mdx +15 -0
  216. package/dist/stories/BreadcrumbsItem.mdx +17 -0
  217. package/dist/stories/Image.mdx +2 -2
  218. package/dist/stories/ListItem.mdx +11 -0
  219. package/dist/stories/Overview.mdx +15 -5
  220. package/dist/stories/Playground.mdx +4 -4
  221. package/dist/stories/Playgroynd.mdx +11 -0
  222. package/dist/stories/Plsyground.mdx +14 -0
  223. package/dist/types/components/Badge/appearance/badgeAccent.d.ts +0 -20
  224. package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -7
  225. package/dist/types/components/Button/appearance/buttonSurface.d.ts +6 -5
  226. package/dist/types/components/Choice/appearance/choiceAccent.d.ts +1 -2
  227. package/dist/types/components/Choice/appearance/choiceSize.d.ts +18 -0
  228. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +14 -0
  229. package/dist/types/components/Choice/appearance/choiceSurface.d.ts +5 -2
  230. package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +4 -2
  231. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +80 -12
  232. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +51 -0
  233. package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +26 -0
  234. package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +8 -11
  235. package/dist/types/components/InputMask/InputMask.d.ts +5 -0
  236. package/dist/types/components/InputMask/index.d.ts +1 -1
  237. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +3 -0
  238. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +1 -1
  239. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +1 -1
  240. package/dist/types/components/Search/appearance/searchSize.d.ts +17 -0
  241. package/dist/types/components/Search/appearance/searchStyle.d.ts +14 -0
  242. package/dist/types/components/Search/appearance/searchSurface.d.ts +18 -0
  243. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +15 -0
  244. package/dist/types/components/Segmented/appearance/segmentedSurface.d.ts +13 -0
  245. package/dist/types/components/Tab/appearance/tabSize.d.ts +10 -0
  246. package/dist/types/components/Tab/appearance/tabStyle.d.ts +14 -0
  247. package/dist/types/components/Tab/appearance/tabSurface.d.ts +51 -0
  248. package/dist/types/components/Textarea/Textarea.appearance.d.ts +1 -2
  249. package/dist/types/components/Textarea/Textarea.interface.d.ts +1 -8
  250. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +18 -0
  251. package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +20 -0
  252. package/dist/types/components/Textarea/appearance/textareaError.d.ts +20 -0
  253. package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +20 -0
  254. package/dist/types/components/Textarea/appearance/textareaSize.d.ts +31 -0
  255. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +14 -0
  256. package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +20 -0
  257. package/dist/types/components/Textarea/index.d.ts +1 -1
  258. package/dist/types/components/Video/Video.interface.d.ts +3 -1
  259. package/dist/types/components/Video/stories/mocks/videoSources.d.ts +6 -0
  260. package/dist/types/context/Notifications.d.ts +2 -2
  261. package/dist/types/context/UIContext.d.ts +1 -1
  262. package/package.json +15 -15
  263. package/dist/css/styles/fill/fill_disabled.css +0 -33
  264. package/dist/stories/Avatar.mdx +0 -23
  265. package/dist/stories/Badge.mdx +0 -13
  266. package/dist/stories/Button.mdx +0 -12
  267. package/dist/stories/Cell.mdx +0 -7
  268. package/dist/stories/Checkbox.mdx +0 -12
  269. package/dist/stories/Checkmark.mdx +0 -10
  270. package/dist/stories/Chips.mdx +0 -37
  271. package/dist/stories/Choice.mdx +0 -11
  272. package/dist/stories/Code.mdx +0 -11
  273. package/dist/stories/DatePicker.mdx +0 -31
  274. package/dist/stories/HeroTitle.mdx +0 -31
  275. package/dist/stories/Textarea.mdx +0 -15
  276. package/dist/stories/Title.mdx +0 -31
  277. package/dist/stories/Tooltip.mdx +0 -19
  278. package/dist/types/components/InputMask/Input.d.ts +0 -5
  279. /package/dist/{Image-DuIBtUq5.js → Image_cjs_DuIBtUq5.js} +0 -0
  280. /package/dist/{Image-CSzHhlA1.js → Image_es_CSzHhlA1.js} +0 -0
  281. /package/dist/{Scrollbar-DcKOfcNp.js → Scrollbar_cjs_DcKOfcNp.js} +0 -0
  282. /package/dist/{Scrollbar-CThJeCLF.js → Scrollbar_es_CThJeCLF.js} +0 -0
  283. /package/dist/{tslib.es6-CCZ3TN_7.js → tslib.es6_cjs_CCZ3TN_7.js} +0 -0
  284. /package/dist/{tslib.es6-Bwu1Cn-t.js → tslib.es6_es_Bwu1Cn-t.js} +0 -0
  285. /package/dist/types/components/InputMask/{Input.interface.d.ts → InputMask.interface.d.ts} +0 -0
@@ -1,37 +1,26 @@
1
1
  .fill {
2
2
  &_active {
3
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
4
- senary, surface, error, success, warning, info, danger, disabled, gradient {
5
- &_$(type) {
6
- &-item {
7
- @each $color in primary, secondary, tertiary, quaternary, quinary,
8
- senary, accent, disabled, hover {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ &_$(type) {
8
+ &-item {
9
9
  &-$(color) {
10
10
  background: var(--color-$(type)-item-$(color));
11
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65,
12
- 75, 80, 85, 90, 95 {
13
- &$(alpha) {
14
- background: var(--color-$(type)-item-$(color)-$(alpha));
15
- }
16
- }
17
11
  }
18
12
  }
19
- }
20
- @each $color in primary, secondary, tertiary, quaternary, quinary,
21
- senary, accent, active {
22
13
  &-$(color) {
23
- background: var(--color-$(type)-$(color));
14
+ background: var(--color-$(type)-fill-$(color));
24
15
  }
25
- }
26
- }
27
- }
28
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
29
- senary, surface, error, success, warning, info, danger, gradient {
30
- &_$(type) {
31
- &-primary {
32
- &-active {
33
- background: var(--color-$(type)-primary-active);
16
+
17
+ /*
18
+ &-primary {
19
+ &-active {
20
+ background: var(--color-$(type)-fill--primary-active);
21
+ }
34
22
  }
23
+ */
35
24
  }
36
25
  }
37
26
  }
@@ -1,81 +1,77 @@
1
1
  .fill {
2
2
  &_active {
3
3
  &_hover {
4
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
5
- senary, surface, error, success, warning, info, danger, gradient {
6
- &_$(type) {
7
- &-item {
8
- @each $color in primary, secondary, tertiary, quaternary, quinary,
9
- senary, accent, disabled, hover {
4
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
5
+ error, success, warning, info, danger, gradient, disabled, hover,
6
+ inverse {
7
+ @each $color in primary, secondary, tertiary, quaternary, accent,
8
+ disabled, hover, inverse {
9
+ /* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
10
+ &_$(type) {
11
+ &-item {
10
12
  &-$(color) {
11
13
  &:hover {
12
14
  background: var(--color-$(type)-item-$(color));
13
15
  }
14
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
15
- 65, 75, 80, 85, 90, 95 {
16
- &$(alpha) {
16
+
17
+ /* &$(alpha) {
17
18
  &:hover {
18
19
  background: var(--color-$(type)-item-$(color)-$(alpha));
19
20
  }
20
- }
21
- }
21
+ } */
22
22
  &-hover {
23
23
  &:hover {
24
24
  background: var(--color-$(type)-item-$(color)-hover);
25
25
  }
26
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
27
- 65, 75, 80, 85, 90, 95 {
28
- &$(alpha) {
26
+
27
+ /* &$(alpha) {
29
28
  &:hover {
30
29
  background: var(
31
30
  --color-$(type)-item-$(color)-$(alpha)-hover
32
31
  );
33
32
  }
34
- }
35
- }
33
+ } */
36
34
  &-active {
37
35
  &:hover {
38
36
  background: var(
39
37
  --color-$(type)-item-$(color)-active-hover
40
38
  );
41
39
  }
42
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55,
43
- 60, 65, 75, 80, 85, 90, 95 {
44
- &$(alpha) {
40
+
41
+ /* &$(alpha) {
45
42
  &:hover {
46
43
  background: var(
47
44
  --color-$(type)-item-$(color)-$(alpha)-active-hover
48
45
  );
49
46
  }
50
- }
51
- }
47
+ } */
52
48
  }
53
49
  }
54
50
  }
55
51
  }
56
- }
57
- @each $color in primary, secondary, tertiary, quaternary {
58
52
  &-$(color) {
59
53
  &:hover {
60
- background: var(--color-$(type)-$(color));
54
+ background: var(--color-$(type)-fill-$(color));
61
55
  }
62
56
  &-hover {
63
57
  &:hover {
64
- background: var(--color-$(type)-$(color)-hover);
58
+ background: var(--color-$(type)-fill-$(color)-hover);
65
59
  }
66
60
  &-active {
67
61
  &:hover {
68
- background: var(--color-$(type)-$(color)-active-hover);
62
+ background: var(--color-$(type)-fill-$(color)-active-hover);
69
63
  }
70
64
  }
71
65
  }
72
66
  &-active {
73
67
  &:hover {
74
- background: var(--color-$(type)-$(color)-active);
68
+ background: var(--color-$(type)-fill-$(color)-active);
75
69
  }
76
70
  }
77
71
  }
78
72
  }
73
+
74
+ /* } */
79
75
  }
80
76
  }
81
77
  }
@@ -1,69 +1,63 @@
1
1
  .fill {
2
2
  &_hover {
3
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
4
- senary, surface, error, success, warning, info, danger, gradient {
5
- &_$(type) {
6
- &-item {
7
- @each $color in primary, secondary, tertiary, quaternary, quinary,
8
- senary, accent, disabled, hover {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ /* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
8
+ &_$(type) {
9
+ &-item {
9
10
  &-$(color) {
10
11
  &:hover {
11
12
  background: var(--color-$(type)-item-$(color));
12
13
  }
13
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65,
14
- 75, 80, 85, 90, 95 {
15
- &$(alpha) {
14
+
15
+ /* &$(alpha) {
16
16
  &:hover {
17
17
  background: var(--color-$(type)-item-$(color)-$(alpha));
18
18
  }
19
- }
20
- }
19
+ } */
21
20
  &-hover {
22
21
  &:hover {
23
22
  background: var(--color-$(type)-item-$(color)-hover);
24
23
  }
25
- @each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60,
26
- 65, 75, 80, 85, 90, 95 {
27
- &$(alpha) {
24
+
25
+ /* &$(alpha) {
28
26
  &:hover {
29
27
  background: var(
30
28
  --color-$(type)-item-$(color)-$(alpha)-hover
31
29
  );
32
30
  }
33
- }
34
- }
31
+ } */
35
32
  }
36
33
  }
37
34
  }
38
- }
39
- @each $color in primary, secondary, tertiary, quaternary, quinary,
40
- senary, accent, disabled, hover {
41
35
  &-$(color) {
42
36
  &:hover {
43
- background: var(--color-$(type)-$(color));
37
+ background: var(--color-$(type)-fill-$(color));
44
38
  }
45
39
  &-hover {
46
40
  &:hover {
47
- background: var(--color-$(type)-$(color)-hover);
41
+ background: var(--color-$(type)-fill-$(color)-hover);
48
42
  }
49
43
  }
50
44
  }
51
- }
52
- }
53
- }
54
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
55
- senary, surface, error, success, warning, info, danger, gradient {
56
- &_$(type) {
57
- &-primary {
58
- &:hover {
59
- background: var(--color-$(type)-primary);
60
- }
61
- &-hover {
45
+
46
+ /*
47
+ &-primary {
62
48
  &:hover {
63
- background: var(--color-$(type)-primary-hover);
49
+ background: var(--color-$(type)-fill-primary);
50
+ }
51
+ &-hover {
52
+ &:hover {
53
+ background: var(--color-$(type)-fill-primary-hover);
54
+ }
64
55
  }
65
56
  }
57
+ */
66
58
  }
59
+
60
+ /* } */
67
61
  }
68
62
  }
69
63
  }
@@ -1,7 +1,8 @@
1
1
  .opacity {
2
- @each $val in 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100 {
2
+ @each $val in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85,
3
+ 90, 95 {
3
4
  &_$(val) {
4
- opacity: $(val)%;
5
+ opacity: $(val) %;
5
6
  }
6
7
  }
7
8
  }
@@ -1,8 +1,10 @@
1
1
  .placeholder-text-color {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
3
- &_$(type) {
4
- &-text {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
2
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
3
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
4
+ @each $color in primary, secondary, tertiary, quaternary, accent, disabled,
5
+ hover, inverse {
6
+ &_$(type) {
7
+ &-text {
6
8
  &-$(color) {
7
9
  &::placeholder {
8
10
  color: var(--color-$(type)-text-$(color));
@@ -1,11 +1,11 @@
1
1
  .svg {
2
2
  &_fill {
3
- @each $type in accent, primary, secondary, tertiary, surface, success,
4
- error {
5
- &_$(type) {
6
- &-item {
7
- @each $color in primary, secondary, tertiary, quaternary, quinary,
8
- senary, accent, disabled, hover, inverse {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ &_$(type) {
8
+ &-item {
9
9
  &-$(color) {
10
10
  & svg {
11
11
  stroke: none;
@@ -17,9 +17,6 @@
17
17
  }
18
18
  }
19
19
  }
20
- }
21
- @each $color in primary, secondary, tertiary, quaternary, quinary,
22
- senary, accent, disabled, hover, inverse {
23
20
  &-$(color) {
24
21
  & svg {
25
22
  stroke: none;
@@ -1,9 +1,11 @@
1
1
  .svg {
2
2
  &_fill_hover {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
4
- &_$(type) {
5
- &-item {
6
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover, inverse {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ &_$(type) {
8
+ &-item {
7
9
  &-$(color) {
8
10
  &:hover {
9
11
  & svg {
@@ -1,10 +1,11 @@
1
1
  .svg {
2
2
  &_path_fill {
3
- @each $type in accent, primary, secondary, tertiary, surface, success, error {
4
- &_$(type) {
5
- &-item {
6
- @each $color in primary, secondary, tertiary, quaternary, quinary,
7
- senary, accent, disabled, hover, inverse {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ &_$(type) {
8
+ &-item {
8
9
  &-$(color) {
9
10
  & path {
10
11
  fill: var(--color-$(type)-item-$(color));
@@ -1,11 +1,11 @@
1
1
  .text {
2
2
  &&-color {
3
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary,
4
- senary, surface, success, error, info, warning, danger {
5
- &_$(type) {
6
- &-text {
7
- @each $color in primary, secondary, tertiary, quaternary, quinary,
8
- senary, accent, disabled, hover, inverse {
3
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
4
+ error, success, warning, info, danger, gradient, disabled, hover, inverse {
5
+ @each $color in primary, secondary, tertiary, quaternary, accent,
6
+ disabled, hover, inverse {
7
+ &_$(type) {
8
+ &-text {
9
9
  &-$(color) {
10
10
  color: var(--color-$(type)-text-$(color));
11
11
  }
@@ -1,12 +1,13 @@
1
1
  .text {
2
2
  &&-color {
3
3
  &_active {
4
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
5
- success, error, info, warning {
6
- &_$(type) {
7
- &-text {
8
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
9
- disabled, hover, inverse {
4
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
5
+ error, success, warning, info, danger, gradient, disabled, hover,
6
+ inverse {
7
+ @each $color in primary, secondary, tertiary, quaternary, accent,
8
+ disabled, hover, inverse {
9
+ &_$(type) {
10
+ &-text {
10
11
  &-$(color) {
11
12
  color: var(--color-$(type)-text-$(color));
12
13
  }
@@ -1,12 +1,13 @@
1
1
  .text {
2
2
  &&-color {
3
3
  &_hover {
4
- @each $type in accent, primary, secondary, tertiary, quaternary, quinary, senary, surface,
5
- success, error, info, warning, inverse {
6
- &_$(type) {
7
- &-text {
8
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent,
9
- disabled, hover, inverse {
4
+ @each $type in accent, primary, secondary, tertiary, quaternary, surface,
5
+ error, success, warning, info, danger, gradient, disabled, hover,
6
+ inverse {
7
+ @each $color in primary, secondary, tertiary, quaternary, accent,
8
+ disabled, hover, inverse {
9
+ &_$(type) {
10
+ &-text {
10
11
  &-$(color) {
11
12
  &:hover {
12
13
  color: var(--color-$(type)-text-$(color));
@@ -1,4 +1,4 @@
1
- import { a as __spreadArray } from '../../tslib.es6-Bwu1Cn-t.js';
1
+ import { a as __spreadArray } from '../../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { useMemo } from 'react';
3
3
  import camelCase from 'lodash/camelCase';
4
4
  import castArray from 'lodash/castArray';
@@ -1,5 +1,5 @@
1
1
  export { useDevicePropsGenerator } from './useDevicePropsGenerator/useDevicePropsGenerator.js';
2
- import '../tslib.es6-Bwu1Cn-t.js';
2
+ import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react';
4
4
  import 'lodash/camelCase';
5
5
  import 'lodash/castArray';
@@ -2,7 +2,7 @@ import { useMemo } from 'react';
2
2
  import camelCase from 'lodash/camelCase';
3
3
  import castArray from 'lodash/castArray';
4
4
  import { useUserDeviceContext } from '../context/UIContext.js';
5
- import '../tslib.es6-Bwu1Cn-t.js';
5
+ import '../tslib.es6_es_Bwu1Cn-t.js';
6
6
  import 'react/jsx-runtime';
7
7
  import './useMediaQueries/useMediaQueries.js';
8
8
  import 'react-responsive';
@@ -5,7 +5,7 @@ import upperFirst from 'lodash/upperFirst';
5
5
  import '../../context/Notifications.js';
6
6
  import { useUserDeviceContext } from '../../context/UIContext.js';
7
7
  import styleAttributes from './styleAttributes.js';
8
- import '../../tslib.es6-Bwu1Cn-t.js';
8
+ import '../../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'react/jsx-runtime';
10
10
  import 'uuid';
11
11
  import '@itcase/common';
@@ -4,7 +4,7 @@ import 'lodash/camelCase';
4
4
  import 'lodash/maxBy';
5
5
  import 'lodash/upperFirst';
6
6
  import '../context/Notifications.js';
7
- import '../tslib.es6-Bwu1Cn-t.js';
7
+ import '../tslib.es6_es_Bwu1Cn-t.js';
8
8
  import 'react/jsx-runtime';
9
9
  import 'uuid';
10
10
  import '@itcase/common';
@@ -0,0 +1,15 @@
1
+ import { Canvas, Meta } from '@storybook/blocks'
2
+
3
+ import * as BreadcrumbsStories from '../stories/Breadcrumbs.stories'
4
+
5
+ <Meta of={BreadcrumbsStories} />
6
+
7
+ # Breadcrumbs
8
+ `Breadcrumbs` - это навигационные элементы на странице сайта,
9
+ которые показывают текущее местоположение пользователя внутри структуры сайта
10
+
11
+ ## Default
12
+ <Canvas of={BreadcrumbsStories.Default} />
13
+
14
+ ## IconAfter
15
+ <Canvas of={BreadcrumbsStories.IconAfter} />
@@ -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 };