@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.
- package/dist/{Avatar_cjs_DRaNGlad.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_Ck1RiTgB.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_CnBP4mKv.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_WG0yV-rp.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_BCnPa9xv.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_1854brF_.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_Cbv3ffoB.js → DatePicker_cjs_BYh1Dsto.js} +9 -9
- package/dist/{DatePicker_es_DGck2HRu.js → DatePicker_es_DEAcYDTL.js} +10 -10
- package/dist/{DropdownItem_cjs_C3BV7axh.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_VDp5tKZr.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Label_cjs_CqSZcFNk.js → Label_cjs_CZMMdwt5.js} +1 -1
- package/dist/{Label_es_s3M2-dON.js → Label_es_DmDqs4Rc.js} +1 -1
- package/dist/{Tooltip_cjs_BE4fABOp.js → Tooltip_cjs_DinScDnC.js} +4 -2
- package/dist/{Tooltip_es_BPMRrd2L.js → Tooltip_es_B0nm9irO.js} +4 -2
- package/dist/cjs/components/Accordion.js +8 -8
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +15 -7
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell/stories/__mock__.js +4 -4
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice/stories/__mock__.js +68 -8
- package/dist/cjs/components/Choice.js +20 -15
- package/dist/cjs/components/Code.js +15 -16
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +7 -7
- package/dist/cjs/components/Dropdown/stories/__mock__.js +19 -4
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +5 -5
- package/dist/cjs/components/Pagination.js +5 -5
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/ScrollOnDrag/stories/__mock__.js +15 -0
- package/dist/cjs/components/Scrollbar/stories/__mock__.js +7 -0
- package/dist/cjs/components/Search.js +13 -13
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper/stories/__mock__.js +16 -0
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +1 -1
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/components/Accordion.js +9 -9
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +15 -7
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell/stories/__mock__.js +4 -4
- package/dist/components/Cell.js +2 -2
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice/stories/__mock__.js +67 -8
- package/dist/components/Choice.js +20 -15
- package/dist/components/Code.js +15 -16
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/{DadataHintField.js → Dadata.js} +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +8 -8
- package/dist/components/Dropdown/stories/__mock__.js +20 -5
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Response.js +2 -2
- package/dist/components/ScrollOnDrag/stories/__mock__.js +13 -0
- package/dist/components/Scrollbar/stories/__mock__.js +5 -0
- package/dist/components/Search.js +14 -14
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper/stories/__mock__.js +14 -0
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +2 -2
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/css/components/Choice/Choice.css +16 -21
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -9
- package/dist/css/components/Choice/css/__item/choice__item_size.css +4 -1
- package/dist/css/components/Code/Code.css +5 -7
- package/dist/css/components/{DadataHintField/DadataHintField.css → Dadata/Dadata.css} +9 -9
- package/dist/css/components/HTMLContent/HTMLContent.css +85 -18
- package/dist/stories/CookiesWarningOverview.mdx +1 -1
- package/dist/stories/CookiesWarningPlayground.mdx +1 -1
- package/dist/stories/DadataOverview.mdx +11 -0
- package/dist/stories/DadataPlaygroynd.mdx +11 -0
- package/dist/stories/HTMLContentOverview.mdx +1 -1
- package/dist/stories/HTMLContentPlayground.mdx +1 -1
- package/dist/stories/HeroTitleOverview.mdx +1 -1
- package/dist/stories/HeroTitlePlayground.mdx +1 -1
- package/dist/stories/LinkOverview.mdx +1 -1
- package/dist/stories/LinkPlayground.mdx +1 -1
- package/dist/stories/RangeSliderOverview.mdx +15 -0
- package/dist/stories/RangeSliderPlayground.mdx +10 -0
- package/dist/stories/SVGContentOverview.mdx +1 -1
- package/dist/stories/SVGContentPlayground.mdx +1 -1
- package/dist/stories/ScrollOnDragOverview.mdx +12 -0
- package/dist/stories/ScrollOnDragPlayground.mdx +10 -0
- package/dist/stories/ScrollbarOverview.mdx +15 -0
- package/dist/stories/ScrollbarPlayground.mdx +10 -0
- package/dist/stories/SwiperOverview.mdx +2 -2
- package/dist/stories/SwiperPlayground.mdx +2 -2
- package/dist/stories/TextOverview.mdx +1 -1
- package/dist/stories/TextPlayground.mdx +1 -1
- package/dist/stories/TitleOverview.mdx +1 -1
- package/dist/stories/TitlePlayground.mdx +1 -1
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +0 -1
- package/dist/types/components/Cell/stories/__mock__/index.d.ts +0 -2
- package/dist/types/components/Choice/appearance/choiceError.d.ts +7 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -4
- package/dist/types/components/Code/appearance/codeDefault.d.ts +6 -8
- package/dist/types/components/Code/appearance/codeError.d.ts +1 -0
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -2
- package/dist/types/components/Dadata/Dadata.d.ts +3 -0
- package/dist/types/components/{DadataHintField/DadataHintField.interface.d.ts → Dadata/Dadata.interface.d.ts} +1 -1
- package/dist/types/components/Dadata/index.d.ts +1 -0
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +5 -5
- package/dist/types/components/ScrollOnDrag/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Scrollbar/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/stories/Colors.mdx +0 -239
- package/dist/stories/DadataHintFieldOverview.mdx +0 -11
- package/dist/stories/DadataHintFieldPlaygroynd.mdx +0 -11
- package/dist/stories/Elevation.mdx +0 -80
- package/dist/stories/Settings.mdx +0 -3
- package/dist/stories/TypographyAM.mdx +0 -82
- package/dist/stories/TypographyBaikal.mdx +0 -82
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- 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
|
|
6
|
-
margin: var(--html-content-title-h1-margin
|
|
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
|
|
13
|
-
margin: var(--html-content-title-h2-margin
|
|
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
|
|
20
|
-
margin: var(--html-content-title-h3-margin
|
|
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
|
|
27
|
-
margin: var(--html-content-title-h4-margin
|
|
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
|
|
34
|
-
margin: var(--html-content-title-h5-margin
|
|
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
|
|
41
|
-
margin: var(--html-content-title-h6-margin
|
|
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
|
|
85
|
+
margin: var(--html-content-table-margin);
|
|
71
86
|
@media (--mobile) {
|
|
72
|
-
margin: var(--html-content-table-margin-mobile
|
|
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
|
|
103
|
+
padding: var(--html-content-table-td-padding);
|
|
80
104
|
@media (--mobile) {
|
|
81
|
-
padding: var(--html-content-table-td-padding-mobile
|
|
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
|
|
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 { Canvas, Controls, Meta } from '@storybook/blocks'
|
|
|
2
2
|
|
|
3
3
|
import * as CookiesWarningStories from '../stories/CoockiesWarning.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
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 LinkStories from '../stories/LinkDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Atoms / Link" />
|
|
6
6
|
|
|
7
7
|
# Link
|
|
8
8
|
`Link` - это элемент, который позволяет пользователю перейти на другую страницу или ресурс
|
|
@@ -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} />
|
|
@@ -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/
|
|
3
|
+
import * as SwiperStories from '../stories/SwiperDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
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/
|
|
3
|
+
import * as SwiperStories from '../stories/SwiperDemo.stories'
|
|
4
4
|
|
|
5
|
-
<Meta title="
|
|
5
|
+
<Meta title="Molecules / Swiper / Playground" />
|
|
6
6
|
|
|
7
7
|
# Playground
|
|
8
8
|
|
|
@@ -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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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,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 };
|
|
@@ -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
|
|
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
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.
|
|
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",
|