@itcase/ui 1.8.30 → 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_33OrnLtt.js → Avatar_cjs_kADy_b4o.js} +1 -1
- package/dist/{Avatar_es_B3LiV8MM.js → Avatar_es_DbGpnL99.js} +1 -1
- package/dist/{Button_cjs_C05Joa8j.js → Button_cjs_CW6ENTbm.js} +1 -1
- package/dist/{Button_es_CO_dwo-N.js → Button_es_DTUagqgU.js} +1 -1
- package/dist/{ChipsGroup_cjs_DN9BoTKe.js → ChipsGroup_cjs_DdWjvr_S.js} +1 -1
- package/dist/{ChipsGroup_es_D9aK8Roh.js → ChipsGroup_es_CXS0aeon.js} +1 -1
- package/dist/{DatePicker_cjs_B_OWDm9X.js → DatePicker_cjs_BYh1Dsto.js} +9 -9
- package/dist/{DatePicker_es_BCbmUdl0.js → DatePicker_es_DEAcYDTL.js} +10 -10
- package/dist/{DropdownItem_cjs_DPoFy70W.js → DropdownItem_cjs_D-zoX7Ik.js} +1 -1
- package/dist/{DropdownItem_es_CVztMEm0.js → DropdownItem_es_BMnIhUSe.js} +1 -1
- package/dist/{Label_cjs_BefEcq6i.js → Label_cjs_CZMMdwt5.js} +63 -63
- package/dist/{Label_es_Dl_DrMOh.js → Label_es_DmDqs4Rc.js} +63 -63
- package/dist/{Tooltip_cjs_pBGCcXLZ.js → Tooltip_cjs_DinScDnC.js} +38 -7
- package/dist/{Tooltip_es_frBCZDrO.js → Tooltip_es_B0nm9irO.js} +38 -7
- 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 +71 -0
- package/dist/cjs/components/Choice.js +75 -28
- 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 +38 -68
- 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 +16 -16
- package/dist/cjs/components/Segmented.js +21 -44
- 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 +68 -0
- package/dist/components/Choice.js +75 -28
- 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 +38 -68
- 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 +17 -17
- package/dist/components/Segmented.js +21 -44
- 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 +41 -38
- 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/css/components/MenuItem/MenuItem.css +45 -8
- package/dist/stories/ChoiceOverview.mdx +2 -2
- package/dist/stories/ChoicePlayground.mdx +3 -3
- 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/Accordion/appearance/accordionSize.d.ts +7 -7
- 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/Choice.interface.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +10 -0
- package/dist/types/components/Choice/appearance/choiceError.d.ts +17 -0
- package/dist/types/components/Choice/appearance/choiceRequire.d.ts +11 -0
- package/dist/types/components/Choice/appearance/choiceStyle.d.ts +6 -4
- package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +11 -0
- package/dist/types/components/Choice/stories/__mock__/index.d.ts +21 -0
- 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/DatePicker/DatePicker.appearance.d.ts +6 -6
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +6 -6
- package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +6 -6
- package/dist/types/components/Icon/appearance/iconDanger.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconError.d.ts +6 -0
- package/dist/types/components/Icon/appearance/iconPrimary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconSecondary.d.ts +5 -0
- package/dist/types/components/Icon/appearance/iconStyle.d.ts +6 -5
- package/dist/types/components/Icon/appearance/iconWarning.d.ts +6 -0
- package/dist/types/components/Label/appearance/labelAccent.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelError.d.ts +7 -7
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +1 -1
- package/dist/types/components/Label/appearance/labelSurface.d.ts +8 -8
- package/dist/types/components/Label/appearance/labelWarning.d.ts +1 -1
- package/dist/types/components/MenuItem/MenuItem.interface.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +5 -8
- package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +3 -3
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +0 -15
- package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +1 -3
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +3 -5
- package/dist/types/components/Notification/appearance/notificationDefault.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationError.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +1 -1
- package/dist/types/components/Notification/appearance/notificationWarning.d.ts +1 -1
- package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +1 -1
- 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/Search/appearance/searchSize.d.ts +12 -12
- package/dist/types/components/Segmented/appearance/{segmentedSurface.d.ts → segmentedDefault.d.ts} +4 -4
- package/dist/types/components/Select/SelectLoadingIndicator.d.ts +1 -2
- package/dist/types/components/Swiper/stories/__mock__/index.d.ts +2 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +1 -1
- package/dist/types/hooks/useDeviceTargetClass.d.ts +5 -0
- package/package.json +12 -12
- 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/Choice/appearance/choiceAccent.d.ts +0 -10
- package/dist/types/components/DadataHintField/DadataHintField.d.ts +0 -3
- package/dist/types/components/DadataHintField/index.d.ts +0 -1
- package/dist/types/components/Label/appearance/labelGradient.d.ts +0 -9
- package/dist/types/components/MenuItem/appearance/menuItemPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationAccent.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationDanger.d.ts +0 -7
- package/dist/types/components/Pagination/appearance/paginationError.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationInfo.d.ts +0 -21
- package/dist/types/components/Pagination/appearance/paginationPrimary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSecondary.d.ts +0 -8
- package/dist/types/components/Pagination/appearance/paginationSize.d.ts +0 -48
- package/dist/types/components/Pagination/appearance/paginationStyle.d.ts +0 -16
- package/dist/types/components/Pagination/appearance/paginationSuccess.d.ts +0 -11
- package/dist/types/components/Pagination/appearance/paginationWarning.d.ts +0 -11
- package/dist/types/components/Segmented/appearance/segmentedAccent.d.ts +0 -19
- package/dist/types/components/Segmented/appearance/segmentedFalse.d.ts +0 -4
- package/dist/types/config/forms/datepicker.d.ts +0 -18
- package/dist/types/config/forms/index.d.ts +0 -3
- package/dist/types/config/forms/input.d.ts +0 -14
package/dist/stories/Colors.mdx
DELETED
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
import { Meta, ColorPalette, ColorItem } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
<Meta title="Tokens / Colors" />
|
|
4
|
-
|
|
5
|
-
# Colors
|
|
6
|
-
|
|
7
|
-
<ColorPalette>
|
|
8
|
-
<ColorItem
|
|
9
|
-
title="Accent"
|
|
10
|
-
subtitle="--color-accent"
|
|
11
|
-
colors={{
|
|
12
|
-
Primary: 'hsla(92, 49%, 47%, 1)',
|
|
13
|
-
PrimaryHover: 'hsla(92, 29%, 62%, 1)',
|
|
14
|
-
Active: 'hsla(92, 46%, 40%, 1)',
|
|
15
|
-
Secondary: 'hsla(92, 29%, 62%, 1)',
|
|
16
|
-
Tertiary: 'hsla(93, 53%, 93%, 1)',
|
|
17
|
-
Disabled: 'hsla(93, 45%, 80%, 1)',
|
|
18
|
-
}}
|
|
19
|
-
/>
|
|
20
|
-
<ColorItem
|
|
21
|
-
title="Accent Text"
|
|
22
|
-
subtitle="--color-accent-text"
|
|
23
|
-
colors={{
|
|
24
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
25
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
26
|
-
Disabled: 'hsla(92, 49%, 47%, 1)',
|
|
27
|
-
}}
|
|
28
|
-
/>
|
|
29
|
-
<ColorItem
|
|
30
|
-
title="Accent Item"
|
|
31
|
-
subtitle="--color-accent-item"
|
|
32
|
-
colors={{
|
|
33
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
34
|
-
Secondary: 'hsla(92, 49%, 47%, 1)',
|
|
35
|
-
}}
|
|
36
|
-
/>
|
|
37
|
-
<ColorItem
|
|
38
|
-
title="Accent Border"
|
|
39
|
-
subtitle="--color-accent-border"
|
|
40
|
-
colors={{
|
|
41
|
-
Primary: 'hsla(92, 49%, 47%, 1)',
|
|
42
|
-
Secondary: 'hsla(92, 29%, 62%, 1)',
|
|
43
|
-
Quaternary: 'hsla(92, 37%, 35%, 1)',
|
|
44
|
-
}}
|
|
45
|
-
/>
|
|
46
|
-
<ColorItem
|
|
47
|
-
title="Primary"
|
|
48
|
-
subtitle="--color-primary"
|
|
49
|
-
colors={{
|
|
50
|
-
Primary: 'hsla(36, 95%, 45%, 1)',
|
|
51
|
-
PrimaryHover: 'hsla(40, 75%, 58%, 1)',
|
|
52
|
-
Active: 'hsla(36, 95%, 40%, 1)',
|
|
53
|
-
Disabled: 'hsla(36, 13%, 80%, 1)',
|
|
54
|
-
}}
|
|
55
|
-
/>
|
|
56
|
-
<ColorItem
|
|
57
|
-
title="Primary Text"
|
|
58
|
-
subtitle="--color-primary-text"
|
|
59
|
-
colors={{
|
|
60
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
61
|
-
Disabled: 'hsla(36, 60%, 65%, 1)',
|
|
62
|
-
}}
|
|
63
|
-
/>
|
|
64
|
-
<ColorItem
|
|
65
|
-
title="Primary Item"
|
|
66
|
-
subtitle="--color-primary-item"
|
|
67
|
-
colors={{
|
|
68
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
69
|
-
}}
|
|
70
|
-
/>
|
|
71
|
-
<ColorItem
|
|
72
|
-
title="Secondary"
|
|
73
|
-
subtitle="--color-secondary"
|
|
74
|
-
colors={{
|
|
75
|
-
Primary: 'hsla(349, 96%, 44%, 1)',
|
|
76
|
-
PrimaryHover: 'hsla(349, 100%, 51%, 1)',
|
|
77
|
-
Active: 'hsla(349, 96%, 34%, 1)',
|
|
78
|
-
Disabled: 'hsla(349, 59%, 90%, 1)',
|
|
79
|
-
}}
|
|
80
|
-
/>
|
|
81
|
-
<ColorItem
|
|
82
|
-
title="Secondary Text"
|
|
83
|
-
subtitle="--color-secondary-text"
|
|
84
|
-
colors={{
|
|
85
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
86
|
-
Secondary: 'hsla(349, 96%, 44%, 1)',
|
|
87
|
-
Disabled: 'hsla(349, 53%, 68%, 1)',
|
|
88
|
-
}}
|
|
89
|
-
/>
|
|
90
|
-
<ColorItem
|
|
91
|
-
title="Secondary Item"
|
|
92
|
-
subtitle="--color-secondary-item"
|
|
93
|
-
colors={{
|
|
94
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
95
|
-
}}
|
|
96
|
-
/>
|
|
97
|
-
<ColorItem
|
|
98
|
-
title="Surface"
|
|
99
|
-
subtitle="--color-surface"
|
|
100
|
-
colors={{
|
|
101
|
-
Primary: 'hsla(0, 0%, 100%, 1)',
|
|
102
|
-
PrimaryHover: 'hsla(0, 0%, 83%, 1)',
|
|
103
|
-
Secondary: 'hsla(220, 14%, 96%, 1)',
|
|
104
|
-
SecondaryHover: 'hsla(0, 0%, 78%, 1)',
|
|
105
|
-
Accent: 'hsla(92, 54%, 93%, 1)',
|
|
106
|
-
}}
|
|
107
|
-
/>
|
|
108
|
-
<ColorItem
|
|
109
|
-
title="Surface"
|
|
110
|
-
subtitle="--color-surface"
|
|
111
|
-
colors={{
|
|
112
|
-
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
113
|
-
TertiaryHover: 'hsla(0, 0%, 73%, 1)',
|
|
114
|
-
Quaternary: 'hsla(0, 0%, 45%, 1)',
|
|
115
|
-
Active: 'hsla(0, 0%, 64%, 1)',
|
|
116
|
-
Disabled: 'hsla(0, 0%, 79%, 1)',
|
|
117
|
-
}}
|
|
118
|
-
/>
|
|
119
|
-
<ColorItem
|
|
120
|
-
title="Surface Text"
|
|
121
|
-
subtitle="--color-surface-text"
|
|
122
|
-
colors={{
|
|
123
|
-
Primary: 'hsla(0, 0%, 9%, 1)',
|
|
124
|
-
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
125
|
-
Secondary: 'hsla(0, 0%, 45%, 1)',
|
|
126
|
-
Tertiary: 'hsla(213, 5%, 45%, 1)',
|
|
127
|
-
Quaternary: 'hsla(0, 0%, 75%, 1)',
|
|
128
|
-
Disabled: 'hsla(0, 0%, 47%, 1)',
|
|
129
|
-
}}
|
|
130
|
-
/>
|
|
131
|
-
<ColorItem
|
|
132
|
-
title="Surface Item"
|
|
133
|
-
subtitle="--color-surface-item"
|
|
134
|
-
colors={{
|
|
135
|
-
Primary: 'hsla(35, 71%, 13%, 1)',
|
|
136
|
-
Secondary: 'hsla(0, 0%, 93%, 1)',
|
|
137
|
-
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
138
|
-
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
139
|
-
Disabled: 'hsla(0, 0%, 61%, 1)',
|
|
140
|
-
}}
|
|
141
|
-
/>
|
|
142
|
-
<ColorItem
|
|
143
|
-
title="Surface Border"
|
|
144
|
-
subtitle="--color-surface-border"
|
|
145
|
-
colors={{
|
|
146
|
-
Primary: 'hsla(36, 71%, 13%, 1)',
|
|
147
|
-
Tertiary: 'hsla(0, 0%, 85%, 1)',
|
|
148
|
-
Quaternary: 'hsla(0, 0%, 45%, 1)',
|
|
149
|
-
Accent: 'hsla(92, 49%, 47%, 1)',
|
|
150
|
-
Active: 'hsla(40, 75%, 58%, 1)',
|
|
151
|
-
Disabled: 'hsla(0, 0%, 61%, 1)',
|
|
152
|
-
}}
|
|
153
|
-
/>
|
|
154
|
-
<ColorItem
|
|
155
|
-
title="Error"
|
|
156
|
-
subtitle="--color-error"
|
|
157
|
-
colors={{
|
|
158
|
-
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
159
|
-
}}
|
|
160
|
-
/>
|
|
161
|
-
<ColorItem
|
|
162
|
-
title="Error Text"
|
|
163
|
-
subtitle="--color-error-text"
|
|
164
|
-
colors={{
|
|
165
|
-
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
166
|
-
PrimaryHover: 'hsla(0, 100%, 60%, 1)',
|
|
167
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
168
|
-
}}
|
|
169
|
-
/>
|
|
170
|
-
<ColorItem
|
|
171
|
-
title="Error Item"
|
|
172
|
-
subtitle="--color-error-item"
|
|
173
|
-
colors={{
|
|
174
|
-
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
175
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
176
|
-
}}
|
|
177
|
-
/>
|
|
178
|
-
<ColorItem
|
|
179
|
-
title="Error Border"
|
|
180
|
-
subtitle="--color-error-border"
|
|
181
|
-
colors={{
|
|
182
|
-
Primary: 'hsla(0, 100%, 44%, 1)',
|
|
183
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
184
|
-
}}
|
|
185
|
-
/>
|
|
186
|
-
<ColorItem
|
|
187
|
-
title="Success"
|
|
188
|
-
subtitle="--color-success"
|
|
189
|
-
colors={{
|
|
190
|
-
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
191
|
-
}}
|
|
192
|
-
/>
|
|
193
|
-
<ColorItem
|
|
194
|
-
title="Success Text"
|
|
195
|
-
subtitle="--color-success-text"
|
|
196
|
-
colors={{
|
|
197
|
-
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
198
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
199
|
-
}}
|
|
200
|
-
/>
|
|
201
|
-
<ColorItem
|
|
202
|
-
title="Success Item"
|
|
203
|
-
subtitle="--color-success-item"
|
|
204
|
-
colors={{
|
|
205
|
-
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
206
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
207
|
-
}}
|
|
208
|
-
/>
|
|
209
|
-
<ColorItem
|
|
210
|
-
title="Success Border"
|
|
211
|
-
subtitle="--color-success-border"
|
|
212
|
-
colors={{
|
|
213
|
-
Primary: 'hsla(108, 46%, 34%, 1)',
|
|
214
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
215
|
-
}}
|
|
216
|
-
/>
|
|
217
|
-
<ColorItem
|
|
218
|
-
title="Active"
|
|
219
|
-
subtitle="--color-active"
|
|
220
|
-
colors={{
|
|
221
|
-
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
222
|
-
}}
|
|
223
|
-
/>
|
|
224
|
-
<ColorItem
|
|
225
|
-
title="Active Text"
|
|
226
|
-
subtitle="--color-active-text"
|
|
227
|
-
colors={{
|
|
228
|
-
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
229
|
-
Secondary: 'hsla(0, 0%, 100%, 1)',
|
|
230
|
-
}}
|
|
231
|
-
/>
|
|
232
|
-
<ColorItem
|
|
233
|
-
title="Active Border"
|
|
234
|
-
subtitle="--color-active-border"
|
|
235
|
-
colors={{
|
|
236
|
-
Primary: 'hsla(40, 75%, 58%, 1)',
|
|
237
|
-
}}
|
|
238
|
-
/>
|
|
239
|
-
</ColorPalette>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as DadataHintFieldStories from '../stories/DadataHintField.stories'
|
|
4
|
-
|
|
5
|
-
<Meta title="Components / DadataHintField / Overview" />
|
|
6
|
-
|
|
7
|
-
# DadataHintField
|
|
8
|
-
|
|
9
|
-
`DadataHintField` - это текстовое поле для организаций(ru), которое выдает подсказки в выпадающем списке
|
|
10
|
-
|
|
11
|
-
<Story of={DadataHintFieldStories.Demo} />
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { Meta, Typeset } from '@storybook/blocks'
|
|
2
|
-
import { Divider } from '../components/Divider'
|
|
3
|
-
import { Group } from '../components/Group'
|
|
4
|
-
import { Text } from '../components/Text'
|
|
5
|
-
|
|
6
|
-
<Meta title="Tokens / Elevation" />
|
|
7
|
-
|
|
8
|
-
# Elevation
|
|
9
|
-
|
|
10
|
-
<Group>
|
|
11
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
12
|
-
<Group elevation="1" height="64" width="64" />
|
|
13
|
-
<Text>elevation 1</Text>
|
|
14
|
-
<Text>box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.24);</Text>
|
|
15
|
-
</Group>
|
|
16
|
-
<Divider width="fill" />
|
|
17
|
-
</Group>
|
|
18
|
-
|
|
19
|
-
<Group>
|
|
20
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
21
|
-
<Group elevation="2" height="64" width="64" />
|
|
22
|
-
<Text>elevation 2</Text>
|
|
23
|
-
<Text>box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.24);</Text>
|
|
24
|
-
</Group>
|
|
25
|
-
<Divider width="fill" />
|
|
26
|
-
</Group>
|
|
27
|
-
|
|
28
|
-
<Group>
|
|
29
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
30
|
-
<Group elevation="4" height="64" width="64" />
|
|
31
|
-
<Text>elevation 4</Text>
|
|
32
|
-
<Text>box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24);</Text>
|
|
33
|
-
</Group>
|
|
34
|
-
<Divider width="fill" />
|
|
35
|
-
</Group>
|
|
36
|
-
|
|
37
|
-
<Group>
|
|
38
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
39
|
-
<Group elevation="6" height="64" width="64" />
|
|
40
|
-
<Text>elevation 6</Text>
|
|
41
|
-
<Text>box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.24);</Text>
|
|
42
|
-
</Group>
|
|
43
|
-
<Divider width="fill" />
|
|
44
|
-
</Group>
|
|
45
|
-
|
|
46
|
-
<Group>
|
|
47
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
48
|
-
<Group elevation="8" height="64" width="64" />
|
|
49
|
-
<Text>elevation 8</Text>
|
|
50
|
-
<Text>box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);</Text>
|
|
51
|
-
</Group>
|
|
52
|
-
<Divider width="fill" />
|
|
53
|
-
</Group>
|
|
54
|
-
|
|
55
|
-
<Group>
|
|
56
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
57
|
-
<Group elevation="12" height="64" width="64" />
|
|
58
|
-
<Text>elevation 12</Text>
|
|
59
|
-
<Text>box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.16);</Text>
|
|
60
|
-
</Group>
|
|
61
|
-
<Divider width="fill" />
|
|
62
|
-
</Group>
|
|
63
|
-
|
|
64
|
-
<Group>
|
|
65
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
66
|
-
<Group elevation="16" height="64" width="64" />
|
|
67
|
-
<Text>elevation 16</Text>
|
|
68
|
-
<Text>box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);</Text>
|
|
69
|
-
</Group>
|
|
70
|
-
<Divider width="fill" />
|
|
71
|
-
</Group>
|
|
72
|
-
|
|
73
|
-
<Group>
|
|
74
|
-
<Group alignItems="center" direction="horizontal" gap="40" padding="10">
|
|
75
|
-
<Group elevation="24" height="64" width="64" />
|
|
76
|
-
<Text>elevation 24</Text>
|
|
77
|
-
<Text>box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.12);</Text>
|
|
78
|
-
</Group>
|
|
79
|
-
<Divider width="fill" />
|
|
80
|
-
</Group>
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Meta, Typeset } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
<Meta title="Tokens / Typography / AM" />
|
|
4
|
-
|
|
5
|
-
export const typography = {
|
|
6
|
-
type: {
|
|
7
|
-
primary: 'Wix Madefor Display, sans-serif',
|
|
8
|
-
},
|
|
9
|
-
weight: {
|
|
10
|
-
regular: '400',
|
|
11
|
-
bold: '700',
|
|
12
|
-
extrabold: '800',
|
|
13
|
-
black: '900',
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
h1: 64,
|
|
17
|
-
h2: 46,
|
|
18
|
-
h3: 32,
|
|
19
|
-
h4: 24,
|
|
20
|
-
h5: 18,
|
|
21
|
-
h6: 16,
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const SampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
26
|
-
|
|
27
|
-
# Typography
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
**Font:** Wix Madefor Display
|
|
31
|
-
|
|
32
|
-
**Title:** H1- H6
|
|
33
|
-
|
|
34
|
-
<Typeset
|
|
35
|
-
fontSizes={[
|
|
36
|
-
Number(typography.size.h1),
|
|
37
|
-
Number(typography.size.h2),
|
|
38
|
-
Number(typography.size.h3),
|
|
39
|
-
Number(typography.size.h4),
|
|
40
|
-
Number(typography.size.h5),
|
|
41
|
-
Number(typography.size.h6),
|
|
42
|
-
]}
|
|
43
|
-
fontWeight={typography.weight.regular}
|
|
44
|
-
sampleText={SampleText}
|
|
45
|
-
fontFamily={typography.type.primary}
|
|
46
|
-
/>
|
|
47
|
-
|
|
48
|
-
export const textography = {
|
|
49
|
-
type: {
|
|
50
|
-
primary: 'Wix Madefor Display, sans-serif',
|
|
51
|
-
},
|
|
52
|
-
weight: {
|
|
53
|
-
regular: '400',
|
|
54
|
-
semibold: '600',
|
|
55
|
-
},
|
|
56
|
-
size: {
|
|
57
|
-
xxl: 24,
|
|
58
|
-
xl: 22,
|
|
59
|
-
l: 20,
|
|
60
|
-
m: 16,
|
|
61
|
-
s: 14,
|
|
62
|
-
xs: 12,
|
|
63
|
-
xxs: 10,
|
|
64
|
-
},
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
**Text:** xxl- xxs
|
|
68
|
-
|
|
69
|
-
<Typeset
|
|
70
|
-
fontSizes={[
|
|
71
|
-
Number(textography.size.xxl),
|
|
72
|
-
Number(textography.size.xl),
|
|
73
|
-
Number(textography.size.l),
|
|
74
|
-
Number(textography.size.m),
|
|
75
|
-
Number(textography.size.s),
|
|
76
|
-
Number(textography.size.xs),
|
|
77
|
-
Number(textography.size.xxs),
|
|
78
|
-
]}
|
|
79
|
-
fontWeight={textography.weight.regular}
|
|
80
|
-
sampleText={SampleText}
|
|
81
|
-
fontFamily={textography.type.primary}
|
|
82
|
-
/>
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Meta, Typeset } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
<Meta title="Tokens / Typography / Baikal" />
|
|
4
|
-
|
|
5
|
-
export const typography = {
|
|
6
|
-
type: {
|
|
7
|
-
primary: 'PF-Din-Display-Pro, sans-serif',
|
|
8
|
-
},
|
|
9
|
-
weight: {
|
|
10
|
-
regular: '400',
|
|
11
|
-
bold: '700',
|
|
12
|
-
extrabold: '800',
|
|
13
|
-
black: '900',
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
h1: 64,
|
|
17
|
-
h2: 46,
|
|
18
|
-
h3: 32,
|
|
19
|
-
h4: 24,
|
|
20
|
-
h5: 18,
|
|
21
|
-
h6: 16,
|
|
22
|
-
},
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const SampleText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'
|
|
26
|
-
|
|
27
|
-
# Typography
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
**Font:** PF-Din-Display-Pro
|
|
31
|
-
|
|
32
|
-
**Title:** H1- H6
|
|
33
|
-
|
|
34
|
-
<Typeset
|
|
35
|
-
fontSizes={[
|
|
36
|
-
Number(typography.size.h1),
|
|
37
|
-
Number(typography.size.h2),
|
|
38
|
-
Number(typography.size.h3),
|
|
39
|
-
Number(typography.size.h4),
|
|
40
|
-
Number(typography.size.h5),
|
|
41
|
-
Number(typography.size.h6),
|
|
42
|
-
]}
|
|
43
|
-
fontWeight={typography.weight.regular}
|
|
44
|
-
sampleText={SampleText}
|
|
45
|
-
fontFamily={typography.type.primary}
|
|
46
|
-
/>
|
|
47
|
-
|
|
48
|
-
export const textography = {
|
|
49
|
-
type: {
|
|
50
|
-
primary: 'PF-Din-Display-Pro, sans-serif',
|
|
51
|
-
},
|
|
52
|
-
weight: {
|
|
53
|
-
regular: '400',
|
|
54
|
-
semibold: '600',
|
|
55
|
-
},
|
|
56
|
-
size: {
|
|
57
|
-
xxl: 24,
|
|
58
|
-
xl: 22,
|
|
59
|
-
l: 20,
|
|
60
|
-
m: 16,
|
|
61
|
-
s: 14,
|
|
62
|
-
xs: 12,
|
|
63
|
-
xxs: 10,
|
|
64
|
-
},
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
**Text:** xxl- xxs
|
|
68
|
-
|
|
69
|
-
<Typeset
|
|
70
|
-
fontSizes={[
|
|
71
|
-
Number(textography.size.xxl),
|
|
72
|
-
Number(textography.size.xl),
|
|
73
|
-
Number(textography.size.l),
|
|
74
|
-
Number(textography.size.m),
|
|
75
|
-
Number(textography.size.s),
|
|
76
|
-
Number(textography.size.xs),
|
|
77
|
-
Number(textography.size.xxs),
|
|
78
|
-
]}
|
|
79
|
-
fontWeight={textography.weight.regular}
|
|
80
|
-
sampleText={SampleText}
|
|
81
|
-
fontFamily={textography.type.primary}
|
|
82
|
-
/>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DadataHintField } from './DadataHintField';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const paginationAppearanceAccent: {
|
|
2
|
-
accent: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
};
|
|
6
|
-
accentPrimary: {
|
|
7
|
-
fill: string;
|
|
8
|
-
fillHover: string;
|
|
9
|
-
borderColor: string;
|
|
10
|
-
};
|
|
11
|
-
accentSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
fillHover: string;
|
|
14
|
-
labelTextColor: string;
|
|
15
|
-
labelTextColorHover: string;
|
|
16
|
-
borderColor: string;
|
|
17
|
-
loaderFill: string;
|
|
18
|
-
loaderItemFill: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export { paginationAppearanceAccent };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const paginationAppearanceInfo: {
|
|
2
|
-
info: {
|
|
3
|
-
fill: string;
|
|
4
|
-
fillHover: string;
|
|
5
|
-
labelTextColor: string;
|
|
6
|
-
labelTextColorHover: string;
|
|
7
|
-
borderColor: string;
|
|
8
|
-
loaderFill: string;
|
|
9
|
-
loaderItemFill: string;
|
|
10
|
-
};
|
|
11
|
-
infoSecondary: {
|
|
12
|
-
fill: string;
|
|
13
|
-
fillHover: string;
|
|
14
|
-
labelTextColor: string;
|
|
15
|
-
labelTextColorHover: string;
|
|
16
|
-
borderColor: string;
|
|
17
|
-
loaderFill: string;
|
|
18
|
-
loaderItemFill: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export { paginationAppearanceInfo };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const paginationAppearanceSize: {
|
|
2
|
-
sizeL: {
|
|
3
|
-
size: string;
|
|
4
|
-
labelTextSize: string;
|
|
5
|
-
gap: string;
|
|
6
|
-
iconAfterFillSize: string;
|
|
7
|
-
iconAfterSize: string;
|
|
8
|
-
iconBeforeFillSize: string;
|
|
9
|
-
iconBeforeSize: string;
|
|
10
|
-
pageCountDescTextSize: string;
|
|
11
|
-
pageCountDropdownItemDividerSize: string;
|
|
12
|
-
pageCountDropdownItemLabelSize: string;
|
|
13
|
-
pageCountDropdownItemSize: string;
|
|
14
|
-
pageCountInputIconFillSize: string;
|
|
15
|
-
pageCountInputTextSize: string;
|
|
16
|
-
};
|
|
17
|
-
sizeM: {
|
|
18
|
-
size: string;
|
|
19
|
-
labelTextSize: string;
|
|
20
|
-
gap: string;
|
|
21
|
-
iconAfterFillSize: string;
|
|
22
|
-
iconAfterSize: string;
|
|
23
|
-
iconBeforeFillSize: string;
|
|
24
|
-
iconBeforeSize: string;
|
|
25
|
-
marginPagesDisplayed: number;
|
|
26
|
-
pageCountDescTextSize: string;
|
|
27
|
-
pageCountDropdownItemDividerSize: string;
|
|
28
|
-
pageCountDropdownItemLabelSize: string;
|
|
29
|
-
pageCountDropdownItemSize: string;
|
|
30
|
-
pageCountInputIconFillSize: string;
|
|
31
|
-
pageCountInputTextSize: string;
|
|
32
|
-
};
|
|
33
|
-
sizeS: {
|
|
34
|
-
size: string;
|
|
35
|
-
labelTextSize: string;
|
|
36
|
-
iconAfterFillSize: string;
|
|
37
|
-
iconAfterSize: string;
|
|
38
|
-
iconBeforeFillSize: string;
|
|
39
|
-
iconBeforeSize: string;
|
|
40
|
-
};
|
|
41
|
-
sizeXS: {
|
|
42
|
-
size: string;
|
|
43
|
-
labelTextSize: string;
|
|
44
|
-
beforeSize: string;
|
|
45
|
-
iconAfterFillSize: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export { paginationAppearanceSize };
|