@itcase/ui 1.8.31 → 1.8.32

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 (148) hide show
  1. package/dist/{Avatar_cjs_DRaNGlad.js → Avatar_cjs_kADy_b4o.js} +1 -1
  2. package/dist/{Avatar_es_Ck1RiTgB.js → Avatar_es_DbGpnL99.js} +1 -1
  3. package/dist/{Button_cjs_CnBP4mKv.js → Button_cjs_CW6ENTbm.js} +1 -1
  4. package/dist/{Button_es_WG0yV-rp.js → Button_es_DTUagqgU.js} +1 -1
  5. package/dist/{ChipsGroup_cjs_BCnPa9xv.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
  6. package/dist/{ChipsGroup_es_1854brF_.js → ChipsGroup_es_CXS0aeon.js} +1 -1
  7. package/dist/{DatePicker_cjs_Cbv3ffoB.js → DatePicker_cjs_BYh1Dsto.js} +9 -9
  8. package/dist/{DatePicker_es_DGck2HRu.js → DatePicker_es_DEAcYDTL.js} +10 -10
  9. package/dist/{DropdownItem_cjs_C3BV7axh.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
  10. package/dist/{DropdownItem_es_VDp5tKZr.js → DropdownItem_es_BMnIhUSe.js} +1 -1
  11. package/dist/{Label_cjs_CqSZcFNk.js → Label_cjs_CZMMdwt5.js} +1 -1
  12. package/dist/{Label_es_s3M2-dON.js → Label_es_DmDqs4Rc.js} +1 -1
  13. package/dist/{Tooltip_cjs_BE4fABOp.js → Tooltip_cjs_DinScDnC.js} +4 -2
  14. package/dist/{Tooltip_es_BPMRrd2L.js → Tooltip_es_B0nm9irO.js} +4 -2
  15. package/dist/cjs/components/Accordion.js +8 -8
  16. package/dist/cjs/components/Avatar.js +2 -2
  17. package/dist/cjs/components/AvatarStack.js +2 -2
  18. package/dist/cjs/components/Badge.js +1 -1
  19. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +15 -7
  20. package/dist/cjs/components/Breadcrumbs.js +1 -1
  21. package/dist/cjs/components/Button.js +2 -2
  22. package/dist/cjs/components/Cell/stories/__mock__.js +4 -4
  23. package/dist/cjs/components/Cell.js +2 -2
  24. package/dist/cjs/components/Chips.js +2 -2
  25. package/dist/cjs/components/Choice/stories/__mock__.js +68 -8
  26. package/dist/cjs/components/Choice.js +20 -15
  27. package/dist/cjs/components/Code.js +15 -16
  28. package/dist/cjs/components/CookiesWarning.js +2 -2
  29. package/dist/cjs/components/{DadataHintField.js → Dadata.js} +2 -2
  30. package/dist/cjs/components/DatePeriod.js +5 -5
  31. package/dist/cjs/components/DatePicker.js +4 -4
  32. package/dist/cjs/components/Drawer.js +7 -7
  33. package/dist/cjs/components/Dropdown/stories/__mock__.js +19 -4
  34. package/dist/cjs/components/Dropdown.js +2 -2
  35. package/dist/cjs/components/HeroTitle.js +1 -1
  36. package/dist/cjs/components/Icon.js +1 -1
  37. package/dist/cjs/components/InputPassword.js +1 -1
  38. package/dist/cjs/components/Label.js +2 -2
  39. package/dist/cjs/components/MenuItem.js +1 -1
  40. package/dist/cjs/components/Modal.js +1 -1
  41. package/dist/cjs/components/Notification.js +5 -5
  42. package/dist/cjs/components/Pagination.js +5 -5
  43. package/dist/cjs/components/Response.js +2 -2
  44. package/dist/cjs/components/ScrollOnDrag/stories/__mock__.js +15 -0
  45. package/dist/cjs/components/Scrollbar/stories/__mock__.js +7 -0
  46. package/dist/cjs/components/Search.js +13 -13
  47. package/dist/cjs/components/Select.js +1 -1
  48. package/dist/cjs/components/Swiper/stories/__mock__.js +16 -0
  49. package/dist/cjs/components/Swiper.js +1 -1
  50. package/dist/cjs/components/Tab/stories/__mock__.js +1 -1
  51. package/dist/cjs/components/Tab.js +1 -1
  52. package/dist/cjs/components/Tile.js +1 -1
  53. package/dist/cjs/components/Title.js +1 -1
  54. package/dist/cjs/components/Tooltip.js +1 -1
  55. package/dist/components/Accordion.js +9 -9
  56. package/dist/components/Avatar.js +2 -2
  57. package/dist/components/AvatarStack.js +2 -2
  58. package/dist/components/Badge.js +1 -1
  59. package/dist/components/Breadcrumbs/stories/__mock__.js +15 -7
  60. package/dist/components/Breadcrumbs.js +1 -1
  61. package/dist/components/Button.js +2 -2
  62. package/dist/components/Cell/stories/__mock__.js +4 -4
  63. package/dist/components/Cell.js +2 -2
  64. package/dist/components/Chips.js +2 -2
  65. package/dist/components/Choice/stories/__mock__.js +67 -8
  66. package/dist/components/Choice.js +20 -15
  67. package/dist/components/Code.js +15 -16
  68. package/dist/components/CookiesWarning.js +2 -2
  69. package/dist/components/{DadataHintField.js → Dadata.js} +2 -2
  70. package/dist/components/DatePeriod.js +5 -5
  71. package/dist/components/DatePicker.js +4 -4
  72. package/dist/components/Drawer.js +8 -8
  73. package/dist/components/Dropdown/stories/__mock__.js +20 -5
  74. package/dist/components/Dropdown.js +2 -2
  75. package/dist/components/HeroTitle.js +1 -1
  76. package/dist/components/Icon.js +1 -1
  77. package/dist/components/InputPassword.js +1 -1
  78. package/dist/components/Label.js +2 -2
  79. package/dist/components/MenuItem.js +1 -1
  80. package/dist/components/Modal.js +1 -1
  81. package/dist/components/Notification.js +6 -6
  82. package/dist/components/Pagination.js +6 -6
  83. package/dist/components/Response.js +2 -2
  84. package/dist/components/ScrollOnDrag/stories/__mock__.js +13 -0
  85. package/dist/components/Scrollbar/stories/__mock__.js +5 -0
  86. package/dist/components/Search.js +14 -14
  87. package/dist/components/Select.js +1 -1
  88. package/dist/components/Swiper/stories/__mock__.js +14 -0
  89. package/dist/components/Swiper.js +1 -1
  90. package/dist/components/Tab/stories/__mock__.js +2 -2
  91. package/dist/components/Tab.js +1 -1
  92. package/dist/components/Tile.js +1 -1
  93. package/dist/components/Title.js +1 -1
  94. package/dist/components/Tooltip.js +1 -1
  95. package/dist/css/components/Choice/Choice.css +16 -21
  96. package/dist/css/components/Choice/css/__item/choice__item.css +0 -9
  97. package/dist/css/components/Choice/css/__item/choice__item_size.css +4 -1
  98. package/dist/css/components/Code/Code.css +5 -7
  99. package/dist/css/components/{DadataHintField/DadataHintField.css → Dadata/Dadata.css} +9 -9
  100. package/dist/css/components/HTMLContent/HTMLContent.css +85 -18
  101. package/dist/stories/CookiesWarningOverview.mdx +1 -1
  102. package/dist/stories/CookiesWarningPlayground.mdx +1 -1
  103. package/dist/stories/DadataOverview.mdx +11 -0
  104. package/dist/stories/DadataPlaygroynd.mdx +11 -0
  105. package/dist/stories/HTMLContentOverview.mdx +1 -1
  106. package/dist/stories/HTMLContentPlayground.mdx +1 -1
  107. package/dist/stories/HeroTitleOverview.mdx +1 -1
  108. package/dist/stories/HeroTitlePlayground.mdx +1 -1
  109. package/dist/stories/LinkOverview.mdx +1 -1
  110. package/dist/stories/LinkPlayground.mdx +1 -1
  111. package/dist/stories/RangeSliderOverview.mdx +15 -0
  112. package/dist/stories/RangeSliderPlayground.mdx +10 -0
  113. package/dist/stories/SVGContentOverview.mdx +1 -1
  114. package/dist/stories/SVGContentPlayground.mdx +1 -1
  115. package/dist/stories/ScrollOnDragOverview.mdx +12 -0
  116. package/dist/stories/ScrollOnDragPlayground.mdx +10 -0
  117. package/dist/stories/ScrollbarOverview.mdx +15 -0
  118. package/dist/stories/ScrollbarPlayground.mdx +10 -0
  119. package/dist/stories/SwiperOverview.mdx +2 -2
  120. package/dist/stories/SwiperPlayground.mdx +2 -2
  121. package/dist/stories/TextOverview.mdx +1 -1
  122. package/dist/stories/TextPlayground.mdx +1 -1
  123. package/dist/stories/TitleOverview.mdx +1 -1
  124. package/dist/stories/TitlePlayground.mdx +1 -1
  125. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +0 -1
  126. package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
  127. package/dist/types/components/Choice/appearance/choiceError.d.ts +7 -0
  128. package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -4
  129. package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
  130. package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
  131. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
  132. package/dist/types/components/Dadata/Dadata.d.ts +3 -0
  133. package/dist/types/components/{DadataHintField/DadataHintField.interface.d.ts → Dadata/Dadata.interface.d.ts} +1 -1
  134. package/dist/types/components/Dadata/index.d.ts +1 -0
  135. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +5 -5
  136. package/dist/types/components/ScrollOnDrag/stories/__mock__/index.d.ts +2 -0
  137. package/dist/types/components/Scrollbar/stories/__mock__/index.d.ts +2 -0
  138. package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
  139. package/package.json +2 -2
  140. package/dist/stories/Colors.mdx +0 -239
  141. package/dist/stories/DadataHintFieldOverview.mdx +0 -11
  142. package/dist/stories/DadataHintFieldPlaygroynd.mdx +0 -11
  143. package/dist/stories/Elevation.mdx +0 -80
  144. package/dist/stories/Settings.mdx +0 -3
  145. package/dist/stories/TypographyAM.mdx +0 -82
  146. package/dist/stories/TypographyBaikal.mdx +0 -82
  147. package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
  148. package/dist/types/components/DadataHintField/index.d.ts +0 -1
@@ -2,43 +2,43 @@
2
2
  & h1 {
3
3
  width: 100%;
4
4
  color: var(--html-content-title-h1-color);
5
- padding: var(--html-content-title-h1-padding, 0);
6
- margin: var(--html-content-title-h1-margin, 0);
5
+ padding: var(--html-content-title-h1-padding);
6
+ margin: var(--html-content-title-h1-margin);
7
7
  @mixin h1;
8
8
  }
9
9
  & h2 {
10
10
  width: 100%;
11
11
  color: var(--html-content-title-h2-color);
12
- padding: var(--html-content-title-h2-padding, 0);
13
- margin: var(--html-content-title-h2-margin, 0);
12
+ padding: var(--html-content-title-h2-padding);
13
+ margin: var(--html-content-title-h2-margin);
14
14
  @mixin h2;
15
15
  }
16
16
  & h3 {
17
17
  width: 100%;
18
18
  color: var(--html-content-title-h3-color);
19
- padding: var(--html-content-title-h3-padding, 0);
20
- margin: var(--html-content-title-h3-margin, 0);
19
+ padding: var(--html-content-title-h3-padding);
20
+ margin: var(--html-content-title-h3-margin);
21
21
  @mixin h3;
22
22
  }
23
23
  & h4 {
24
24
  width: 100%;
25
25
  color: var(--html-content-title-h4-color);
26
- padding: var(--html-content-title-h4-padding, 0);
27
- margin: var(--html-content-title-h4-margin, 0);
26
+ padding: var(--html-content-title-h4-padding);
27
+ margin: var(--html-content-title-h4-margin);
28
28
  @mixin h4;
29
29
  }
30
30
  & h5 {
31
31
  width: 100%;
32
32
  color: var(--html-content-title-h5-color);
33
- padding: var(--html-content-title-h5-padding, 0);
34
- margin: var(--html-content-title-h5-margin, 0);
33
+ padding: var(--html-content-title-h5-padding);
34
+ margin: var(--html-content-title-h5-margin);
35
35
  @mixin h5;
36
36
  }
37
37
  & h6 {
38
38
  width: 100%;
39
39
  color: var(--html-content-title-h6-color);
40
- padding: var(--html-content-title-h6-padding, 0);
41
- margin: var(--html-content-title-h6-margin, 0);
40
+ padding: var(--html-content-title-h6-padding);
41
+ margin: var(--html-content-title-h6-margin);
42
42
  @mixin h6;
43
43
  }
44
44
  }
@@ -64,22 +64,47 @@
64
64
  }
65
65
  }
66
66
  }
67
+ & ul {
68
+ list-style-type: none;
69
+ padding: 0;
70
+ margin: 0;
71
+ & li {
72
+ padding: 0 0 16px 24px;
73
+ }
74
+ & > li {
75
+ gap: 32px;
76
+ padding: 0 0 16px 0;
77
+ margin: 0;
78
+ display: block;
79
+ @mixin p;
80
+ }
81
+ }
67
82
  }
68
83
  .html-content {
69
84
  & table {
70
- margin: var(--html-content-table-margin, 0);
85
+ margin: var(--html-content-table-margin);
71
86
  @media (--mobile) {
72
- margin: var(--html-content-table-margin-mobile, 0);
87
+ margin: var(--html-content-table-margin-mobile);
73
88
  display: flex;
74
89
  }
75
90
  & tr {
76
- display: flex;
77
91
  flex-wrap: wrap;
92
+ @media (--mobile) {
93
+ display: flex;
94
+ }
95
+ & th {
96
+ padding: var(--html-content-table-th-padding);
97
+ @media (--mobile) {
98
+ padding: var(--html-content-table-th-padding-mobile);
99
+ }
100
+ @mixin p;
101
+ }
78
102
  & td {
79
- padding: var(--html-content-table-td-padding, 0);
103
+ padding: var(--html-content-table-td-padding);
80
104
  @media (--mobile) {
81
- padding: var(--html-content-table-td-padding-mobile, 0);
105
+ padding: var(--html-content-table-td-padding-mobile);
82
106
  }
107
+ @mixin p;
83
108
  }
84
109
  }
85
110
  }
@@ -87,13 +112,55 @@
87
112
  .html-content {
88
113
  & p {
89
114
  color: var(--html-content-p-color);
90
- margin: var(--html-content-p-margin, 0);
115
+ margin: var(--html-content-p-margin);
91
116
  @mixin p;
92
117
  }
93
118
  & a {
94
119
  color: var(--html-content-link-color);
95
120
  text-decoration: none;
121
+ @mixin p;
96
122
  }
97
123
  }
98
124
  .html-content {
99
125
  }
126
+ :root {
127
+ --html-content-p-color: 0;
128
+ --html-content-p-margin: 0;
129
+ --html-content-link-color: 0;
130
+
131
+ /* h1 */
132
+ --html-content-title-h1-color: 0;
133
+ --html-content-title-h1-padding: 0;
134
+ --html-content-title-h1-margin: 0;
135
+
136
+ /* h2 */
137
+ --html-content-title-h2-color: 0;
138
+ --html-content-title-h2-padding: 0;
139
+ --html-content-title-h2-margin: 0;
140
+
141
+ /* h3 */
142
+ --html-content-title-h3-color: 0;
143
+ --html-content-title-h3-padding: 0;
144
+ --html-content-title-h3-margin: 0;
145
+
146
+ /* h4 */
147
+ --html-content-title-h4-color: 0;
148
+ --html-content-title-h4-padding: 0;
149
+ --html-content-title-h4-margin: 0;
150
+
151
+ /* h5 */
152
+ --html-content-title-h5-color: 0;
153
+ --html-content-title-h5-padding: 0;
154
+ --html-content-title-h5-margin: 0;
155
+
156
+ /* h6 */
157
+ --html-content-title-h6-color: 0;
158
+ --html-content-title-h6-padding: 0;
159
+ --html-content-title-h6-margin: 0;
160
+
161
+ /* Table */
162
+ --html-content-table-margin: 0;
163
+ --html-content-table-margin-mobile: 0;
164
+ --html-content-table-td-padding: 0;
165
+ --html-content-table-td-padding-mobile: 0;
166
+ }
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as CookiesWarningStories from '../stories/CoockiesWarning.stories'
4
4
 
5
- <Meta title="Components / CookiesWarning / Overview" />
5
+ <Meta title="Molecules / CookiesWarning / Overview" />
6
6
 
7
7
  # CookiesWarning
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as CookiesWarningStories from '../stories/CoockiesWarning.stories'
4
4
 
5
- <Meta title="Components / CookiesWarning / Playground" />
5
+ <Meta title="Molecules / CookiesWarning / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -0,0 +1,11 @@
1
+ import { Meta, Story } from '@storybook/blocks'
2
+
3
+ import * as DadataStories from '../stories/Dadata.stories'
4
+
5
+ <Meta title="Molecules / Dadata / Overview" />
6
+
7
+ # Dadata
8
+
9
+ `Dadata` - это текстовое поле для организаций(ru), которое выдает подсказки в выпадающем списке
10
+
11
+ <Story of={DadataStories.Demo} />
@@ -0,0 +1,11 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as DadataStories from '../stories/Dadata.stories'
4
+
5
+ <Meta title="Molecules / Dadata / Playground" />
6
+
7
+ # Playground
8
+
9
+ <Canvas sourceState="shown" of={DadataStories.Demo} />
10
+ <Controls of={DadataStories.Demo} />
11
+
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as HTMLContentStories from '../stories/HTMLContent.stories'
4
4
 
5
- <Meta title="Components / HTMLContent / Overview" />
5
+ <Meta title="Wrappers / HTMLContent / Overview" />
6
6
 
7
7
  # HTMLContent
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as HTMLContentStories from '../stories/HTMLContent.stories'
4
4
 
5
- <Meta title="Components / HTMLContent / Playground" />
5
+ <Meta title="Wrappers / HTMLContent / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -2,7 +2,7 @@ import { Meta, Story, Canvas } from '@storybook/blocks'
2
2
 
3
3
  import * as HeroTitleSizeStories from '../stories/HeroTitleSize.stories'
4
4
 
5
- <Meta title="Atoms / Hero Title / Overview" />
5
+ <Meta title="Typography / Hero Title / Overview" />
6
6
 
7
7
  # Title
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as HeroTitleSizeStories from '../stories/HeroTitleSize.stories'
4
4
 
5
- <Meta title="Atoms / Hero Title / Playground" />
5
+ <Meta title="Typography / Hero Title / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as LinkStories from '../stories/LinkDemo.stories'
4
4
 
5
- <Meta title="Components / Link" />
5
+ <Meta title="Atoms / Link" />
6
6
 
7
7
  # Link
8
8
  `Link` - это элемент, который позволяет пользователю перейти на другую страницу или ресурс
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as LinkStories from '../stories/LinkDemo.stories'
4
4
 
5
- <Meta title="Components / Link / Playground" />
5
+ <Meta title="Atoms / Link / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -0,0 +1,15 @@
1
+ import { Meta, Story } from '@storybook/blocks'
2
+
3
+ import * as RangeSliderStories from '../stories/RangeSliderDemo.stories'
4
+
5
+ <Meta title="Molecules / RangeSlider / Overview" />
6
+
7
+ # RangeSlider
8
+
9
+ `RangeSlider` - это слайдер для выбора значений в заданном диапазоне
10
+
11
+ ## Demo
12
+ <Story of={RangeSliderStories.Demo}/>
13
+
14
+ ## Disabled
15
+ <Story of={RangeSliderStories.Disabled}/>
@@ -0,0 +1,10 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as RangeSliderStories from '../stories/RangeSliderDemo.stories'
4
+
5
+ <Meta title="Molecules / RangeSlider / Playground" />
6
+
7
+ # Playground
8
+
9
+ <Canvas sourceState="shown" of={RangeSliderStories.Demo} />
10
+ <Controls of={RangeSliderStories.Demo} />
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as SVGContentStories from '../stories/SVGContent.stories'
4
4
 
5
- <Meta title="Components / SVGContent / Overview" />
5
+ <Meta title="Wrappers / SVGContent / Overview" />
6
6
 
7
7
  # SVGContent
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as SVGContentStories from '../stories/SVGContent.stories'
4
4
 
5
- <Meta title="Components / SVGContent / Playground" />
5
+ <Meta title="Wrappers / SVGContent / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -0,0 +1,12 @@
1
+ import { Meta, Story } from '@storybook/blocks'
2
+
3
+ import * as ScrollOnDragStories from '../stories/ScrollOnDrag.stories'
4
+
5
+ <Meta title="Molecules / ScrollOnDrag / Overview" />
6
+
7
+ # ScrollOnDrag
8
+
9
+ `ScrollOnDrag` - компонент для отображения прокручиваемой области с эффектом `drag`
10
+
11
+ ## Demo
12
+ <Story of={ScrollOnDragStories.Demo}/>
@@ -0,0 +1,10 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as ScrollOnDragStories from '../stories/ScrollOnDrag.stories'
4
+
5
+ <Meta title="Molecules / ScrollOnDrag / Playground" />
6
+
7
+ # Playground
8
+
9
+ <Canvas sourceState="shown" of={ScrollOnDragStories.Demo} />
10
+ <Controls of={ScrollOnDragStories.Demo} />
@@ -0,0 +1,15 @@
1
+ import { Meta, Story } from '@storybook/blocks'
2
+
3
+ import * as ScrollbarStories from '../stories/Scrollbar.stories'
4
+
5
+ <Meta title="Molecules / Scrollbar / Overview" />
6
+
7
+ # Scrollbar
8
+ `Scrollbar` - компонент для отображения прокручиваемой области.
9
+ <Story of={ScrollbarStories.Demo} />
10
+
11
+ ## No Default Styles
12
+ <Story of={ScrollbarStories.NoDefaultStyles} />
13
+
14
+ ## Height
15
+ <Story of={ScrollbarStories.Height} />
@@ -0,0 +1,10 @@
1
+ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
+
3
+ import * as ScrollbarStories from '../stories/Scrollbar.stories'
4
+
5
+ <Meta title="Molecules / Scrollbar / Playground" />
6
+
7
+ # Playground
8
+
9
+ <Canvas sourceState="shown" of={ScrollbarStories.Demo} />
10
+ <Controls of={ScrollbarStories.Demo} />
@@ -1,8 +1,8 @@
1
1
  import { Meta, Story } from '@storybook/blocks'
2
2
 
3
- import * as SwiperStories from '../stories/Swiper.stories'
3
+ import * as SwiperStories from '../stories/SwiperDemo.stories'
4
4
 
5
- <Meta title="Components / Swiper / Overview" />
5
+ <Meta title="Molecules / Swiper / Overview" />
6
6
 
7
7
  # Swiper
8
8
 
@@ -1,8 +1,8 @@
1
1
  import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
- import * as SwiperStories from '../stories/Swiper.stories'
3
+ import * as SwiperStories from '../stories/SwiperDemo.stories'
4
4
 
5
- <Meta title="Components / Swiper / Playground" />
5
+ <Meta title="Molecules / Swiper / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as TextStories from '../stories/TextSize.stories'
4
4
 
5
- <Meta title="Atoms / Text / Overview" />
5
+ <Meta title="Typography / Text / Overview" />
6
6
 
7
7
  # Text
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as TextStories from '../stories/TextSize.stories'
4
4
 
5
- <Meta title="Atoms / Text / Playground" />
5
+ <Meta title="Typography / Text / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -2,7 +2,7 @@ import { Meta, Story } from '@storybook/blocks'
2
2
 
3
3
  import * as TitleStories from '../stories/TitleDemo.stories'
4
4
 
5
- <Meta title="Atoms / Title / Overview" />
5
+ <Meta title="Typography / Title / Overview" />
6
6
 
7
7
  # Overview
8
8
 
@@ -2,7 +2,7 @@ import { Canvas, Controls, Meta } from '@storybook/blocks'
2
2
 
3
3
  import * as TitleStories from '../stories/TitleDemo.stories'
4
4
 
5
- <Meta title="Atoms / Title / Playground" />
5
+ <Meta title="Typography / Title / Playground" />
6
6
 
7
7
  # Playground
8
8
 
@@ -4,7 +4,6 @@ declare const breadcrumbsListMock: {
4
4
  key: number;
5
5
  text: string;
6
6
  href: string;
7
- icon: any;
8
7
  }[];
9
8
  };
10
9
  export { breadcrumbsListMock };
@@ -1,9 +1,7 @@
1
1
  declare const cellMock: {
2
2
  title: string;
3
- titleIcon: any;
4
3
  titleLabel: string;
5
4
  value: string;
6
- valueIcon: any;
7
5
  valueLabel: string;
8
6
  };
9
7
  export { cellMock };
@@ -1,10 +1,17 @@
1
1
  declare const choiceAppearanceError: {
2
2
  errorPrimary: {
3
3
  fill: string;
4
+ fillItem: string;
5
+ fillItemActive: string;
6
+ fillItemHover: string;
4
7
  labelTextColor: string;
5
8
  borderColor: string;
6
9
  iconAfterFill: string;
10
+ iconAfterFillActive: string;
7
11
  iconBeforeFill: string;
12
+ iconBeforeFillActive: string;
13
+ iconFill: string;
14
+ iconFillActive: string;
8
15
  };
9
16
  };
10
17
  export { choiceAppearanceError };
@@ -1,4 +1,21 @@
1
- export declare const options: {
2
- label: string;
3
- value: number;
4
- }[];
1
+ declare const choiceListMock: {
2
+ active: {
3
+ value: number;
4
+ };
5
+ choices: {
6
+ label: string;
7
+ iconAfter: any;
8
+ iconBefore: any;
9
+ value: number;
10
+ }[];
11
+ };
12
+ declare const choiceListIconMock: {
13
+ active: {
14
+ value: number;
15
+ };
16
+ choices: {
17
+ icon: any;
18
+ value: number;
19
+ }[];
20
+ };
21
+ export { choiceListMock, choiceListIconMock };
@@ -1,13 +1,11 @@
1
1
  declare const codeAppearanceDefault: {
2
2
  defaultPrimary: {
3
- fill: string;
4
- borderColor: string;
5
- borderHover: string;
6
- };
7
- defaultSecondary: {
8
- fill: string;
9
- borderColor: string;
10
- borderHover: string;
3
+ inputBorderColor: string;
4
+ inputCaretColor: string;
5
+ inputFill: string;
6
+ inputFillHover: string;
7
+ inputPlaceholderTextColor: string;
8
+ inputTextColor: string;
11
9
  };
12
10
  };
13
11
  export { codeAppearanceDefault };
@@ -1,6 +1,7 @@
1
1
  declare const codeAppearanceError: {
2
2
  errorPrimary: {
3
3
  inputBorderColor: string;
4
+ inputBorderColorHover: string;
4
5
  inputCaretColor: string;
5
6
  inputFill: string;
6
7
  inputFillHover: string;
@@ -1,13 +1,13 @@
1
1
  declare const codeAppearanceSize: {
2
2
  sizeL: {
3
3
  size: string;
4
- labelTextSize: string;
5
4
  inputSize: string;
5
+ inputTextSize: string;
6
6
  };
7
7
  sizeM: {
8
8
  size: string;
9
- labelTextSize: string;
10
9
  inputSize: string;
10
+ inputTextSize: string;
11
11
  };
12
12
  };
13
13
  export { codeAppearanceSize };
@@ -0,0 +1,3 @@
1
+ import type { DadataProps } from './Dadata.interface';
2
+ declare function Dadata(props: DadataProps): import("react/jsx-runtime").JSX.Element;
3
+ export { Dadata };
@@ -2,7 +2,7 @@ import { HTMLProps } from 'react';
2
2
  import { DaDataSuggestion } from 'react-dadata';
3
3
  import { DaDataParty } from 'react-dadata/dist/variants/party_russia/party-russia-types';
4
4
  import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
5
- export interface DadataHintFieldProps extends StyleAttributes {
5
+ export interface DadataProps extends StyleAttributes {
6
6
  delay?: number;
7
7
  input?: any;
8
8
  inputProps?: HTMLProps<HTMLInputElement>;
@@ -0,0 +1 @@
1
+ export { Dadata } from './Dadata';
@@ -10,11 +10,6 @@ declare const drawerAppearanceSurface: {
10
10
  closeIcon: any;
11
11
  closeIconFillIcon: string;
12
12
  };
13
- surfaceQuaternary: {
14
- fill: string;
15
- fillHover: string;
16
- labelTextColor: string;
17
- };
18
13
  surfaceSecondary: {
19
14
  fill: string;
20
15
  fillHover: string;
@@ -27,5 +22,10 @@ declare const drawerAppearanceSurface: {
27
22
  fillHover: string;
28
23
  labelTextColor: string;
29
24
  };
25
+ surfaceQuaternary: {
26
+ fill: string;
27
+ fillHover: string;
28
+ labelTextColor: string;
29
+ };
30
30
  };
31
31
  export { drawerAppearanceSurface };
@@ -0,0 +1,2 @@
1
+ declare const scrollOnDragMock: import("react/jsx-runtime").JSX.Element;
2
+ export { scrollOnDragMock };
@@ -0,0 +1,2 @@
1
+ declare const scrollbarMock: import("react/jsx-runtime").JSX.Element[];
2
+ export { scrollbarMock };
@@ -0,0 +1,2 @@
1
+ declare const slidesMock: import("react/jsx-runtime").JSX.Element[];
2
+ export { slidesMock };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.31",
3
+ "version": "1.8.32",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -97,7 +97,7 @@
97
97
  "dependencies": {
98
98
  "@emotion/is-prop-valid": "^1.3.1",
99
99
  "@itcase/common": "^1.2.28",
100
- "@itcase/icons": "^1.1.4",
100
+ "@itcase/icons": "^1.1.5",
101
101
  "@itcase/storybook-config": "^1.1.14",
102
102
  "@itcase/tokens-am": "^1.1.9",
103
103
  "@itcase/tokens-baikal": "^1.1.9",