@itcase/ui 1.8.21 → 1.8.23
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_CiQ14ufF.js → Avatar_cjs_D84VawE9.js} +2 -21
- package/dist/{Avatar_es_No9vSqji.js → Avatar_es_CUnfNViT.js} +2 -21
- package/dist/{Button_cjs_CnStmeGt.js → Button_cjs_MfWRETXI.js} +13 -4
- package/dist/{Button_es_BV1bepl1.js → Button_es_zW2pQTwL.js} +13 -4
- package/dist/{ChipsGroup_cjs_CL00pWKy.js → ChipsGroup_cjs_CTh6644i.js} +1 -1
- package/dist/{ChipsGroup_es_Ciln2otW.js → ChipsGroup_es_BFxBhYNB.js} +1 -1
- package/dist/{DatePicker_cjs_DGgkpGbI.js → DatePicker_cjs_uDJmwWkk.js} +3 -3
- package/dist/{DatePicker_es_BIOyGm22.js → DatePicker_es_5r0isX1_.js} +3 -3
- package/dist/{DropdownItem_cjs_DT-zspEr.js → DropdownItem_cjs_C6Jx7-kx.js} +1 -1
- package/dist/{DropdownItem_es_BJLFqVuH.js → DropdownItem_es_UdkGGVtg.js} +1 -1
- package/dist/{Label_cjs_Cqcf6ffp.js → Label_cjs_jN0dxo1q.js} +11 -3
- package/dist/{Label_es_CeNdA70T.js → Label_es_CFQzN-2m.js} +11 -3
- package/dist/{Link_cjs_BlXrJ15R.js → Link_cjs_DbRGq2Yk.js} +9 -9
- package/dist/{Link_es_CyJn7NFb.js → Link_es_DxtZLeKY.js} +9 -9
- package/dist/{Tooltip_cjs_Cq5kuaIK.js → Tooltip_cjs_CaocDcQ5.js} +85 -27
- package/dist/{Tooltip_es_D0PSqI2c.js → Tooltip_es_D1w1s33u.js} +85 -27
- package/dist/cjs/components/Accordion.js +2 -2
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/AvatarStack.js +5 -5
- package/dist/cjs/components/Badge.js +2 -2
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +3 -3
- package/dist/cjs/components/Cell.js +15 -149
- package/dist/cjs/components/Chips.js +3 -3
- package/dist/cjs/components/Choice.js +2 -2
- package/dist/cjs/components/Code.js +2 -8
- package/dist/cjs/components/CookiesWarning.js +3 -3
- package/dist/cjs/components/DatePeriod.js +6 -6
- package/dist/cjs/components/DatePicker.js +5 -5
- package/dist/cjs/components/Dropdown.js +3 -3
- package/dist/cjs/components/Icon.js +2 -2
- package/dist/cjs/components/InputPassword.js +71 -129
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +29 -9
- package/dist/cjs/components/Modal.js +2 -2
- package/dist/cjs/components/ModalSheetBottom.js +19 -5
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response/img.js +33 -0
- package/dist/cjs/components/Response.js +81 -213
- package/dist/cjs/components/Search.js +2 -2
- package/dist/cjs/components/Select.js +2 -2
- package/dist/cjs/components/Swiper.js +2 -2
- package/dist/cjs/components/Tab.js +2 -2
- package/dist/cjs/components/Tile.js +10 -172
- package/dist/cjs/components/Title.js +2 -2
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/components/Accordion.js +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/AvatarStack.js +5 -5
- package/dist/components/Badge.js +2 -2
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +3 -3
- package/dist/components/Cell.js +15 -149
- package/dist/components/Chips.js +3 -3
- package/dist/components/Choice.js +2 -2
- package/dist/components/Code.js +2 -8
- package/dist/components/CookiesWarning.js +3 -3
- package/dist/components/DatePeriod.js +6 -6
- package/dist/components/DatePicker.js +5 -5
- package/dist/components/Dropdown.js +3 -3
- package/dist/components/Icon.js +2 -2
- package/dist/components/InputPassword.js +71 -129
- package/dist/components/Label.js +3 -3
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +29 -9
- package/dist/components/Modal.js +2 -2
- package/dist/components/ModalSheetBottom.js +19 -5
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response/img.js +31 -0
- package/dist/components/Response.js +81 -213
- package/dist/components/Search.js +2 -2
- package/dist/components/Select.js +2 -2
- package/dist/components/Swiper.js +2 -2
- package/dist/components/Tab.js +2 -2
- package/dist/components/Tile.js +10 -172
- package/dist/components/Title.js +2 -2
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/AvatarStack/AvatarStack.css +2 -15
- package/dist/css/components/Badge/Badge.css +3 -3
- package/dist/css/components/Code/Code.css +3 -6
- package/dist/css/components/Label/Label.css +4 -4
- package/dist/css/components/MenuItem/MenuItem.css +19 -43
- package/dist/css/components/Response/Response.css +6 -3
- package/dist/css/components/Tab/Tab.css +14 -31
- package/dist/css/components/Tile/Tile.css +7 -5
- package/dist/css/styles/border-color/border-color.css +19 -0
- package/dist/css/styles/border-color/border-color_active.css +38 -0
- package/dist/css/styles/border-color/border-color_focus.css +25 -1
- package/dist/css/styles/border-color/border-color_hover.css +32 -0
- package/dist/css/styles/svg-color/svg_fill.css +5 -5
- package/dist/stories/Plsyground.mdx +0 -1
- package/dist/stories/index.stories.js +5 -8
- package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
- package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
- package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
- package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
- package/dist/types/components/Badge/appearance/badgeAccent.d.ts +13 -1
- package/dist/types/components/Badge/appearance/badgeDanger.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +6 -1
- package/dist/types/components/Badge/appearance/badgeError.d.ts +7 -2
- package/dist/types/components/Badge/appearance/badgeInfo.d.ts +1 -3
- package/dist/types/components/Badge/appearance/badgePrimary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +5 -7
- package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +7 -1
- package/dist/types/components/Badge/appearance/badgeWarning.d.ts +7 -1
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -0
- package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
- package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
- package/dist/types/components/{Response/appearance/responseDisabled.d.ts → InputPassword/appearance/inputPasswordDefault.d.ts} +9 -5
- package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +15 -6
- package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +7 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +15 -6
- package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
- package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
- package/dist/types/components/Link/Link.interface.d.ts +1 -1
- package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
- package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
- package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -1
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseError.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +6 -4
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
- package/dist/types/components/Response/appearance/responseWarning.d.ts +6 -4
- package/dist/types/components/Response/img/index.d.ts +12 -0
- package/dist/types/components/Tile/appearance/tileSize.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileSurface.d.ts +0 -1
- package/package.json +6 -8
- package/dist/cjs/components/InputMask.js +0 -65
- package/dist/cjs/components/Panel.js +0 -44
- package/dist/components/InputMask.js +0 -62
- package/dist/components/Panel.js +0 -41
- package/dist/css/components/InputMask/InputMask.css +0 -77
- package/dist/css/components/Panel/Panel.css +0 -107
- package/dist/stories/Accordion.mdx +0 -11
- package/dist/stories/AccordionItem.mdx +0 -15
- package/dist/stories/Breadcrumbs.mdx +0 -15
- package/dist/stories/BreadcrumbsItem.mdx +0 -17
- package/dist/stories/Dot.mdx +0 -19
- package/dist/stories/Drawer.mdx +0 -11
- package/dist/stories/Dropdown.mdx +0 -12
- package/dist/stories/DropdownItem.mdx +0 -19
- package/dist/stories/Image.mdx +0 -15
- package/dist/stories/Input.mdx +0 -31
- package/dist/stories/InputPassword.mdx +0 -15
- package/dist/stories/Label.mdx +0 -11
- package/dist/stories/ListItem.mdx +0 -11
- package/dist/stories/Logo.mdx +0 -24
- package/dist/stories/MenuItem.mdx +0 -15
- package/dist/stories/Modal.mdx +0 -15
- package/dist/stories/Notification.mdx +0 -23
- package/dist/stories/Radio.mdx +0 -28
- package/dist/stories/Response.mdx +0 -11
- package/dist/stories/SearchInput.mdx +0 -19
- package/dist/stories/Switch.mdx +0 -23
- package/dist/stories/Tab.mdx +0 -27
- package/dist/stories/Text.mdx +0 -35
- package/dist/types/components/Cell/appearance/cellAccent.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellDanger.d.ts +0 -7
- package/dist/types/components/Cell/appearance/cellError.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellInfo.d.ts +0 -21
- package/dist/types/components/Cell/appearance/cellPrimary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSecondary.d.ts +0 -8
- package/dist/types/components/Cell/appearance/cellSuccess.d.ts +0 -11
- package/dist/types/components/Cell/appearance/cellWarning.d.ts +0 -11
- package/dist/types/components/InputMask/InputMask.d.ts +0 -5
- package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
- package/dist/types/components/InputMask/index.d.ts +0 -1
- package/dist/types/components/InputPassword/appearance/inputPasswordAccent.d.ts +0 -20
- package/dist/types/components/InputPassword/appearance/inputPasswordDanger.d.ts +0 -7
- package/dist/types/components/InputPassword/appearance/inputPasswordInfo.d.ts +0 -21
- package/dist/types/components/InputPassword/appearance/inputPasswordPrimary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSecondary.d.ts +0 -8
- package/dist/types/components/InputPassword/appearance/inputPasswordSurface.d.ts +0 -25
- package/dist/types/components/InputPassword/appearance/inputPasswordWarning.d.ts +0 -11
- package/dist/types/components/Panel/Panel.d.ts +0 -5
- package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
- package/dist/types/components/Panel/index.d.ts +0 -1
- package/dist/types/components/Response/appearance/responseAccent.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseDanger.d.ts +0 -7
- package/dist/types/components/Response/appearance/responseInfo.d.ts +0 -21
- package/dist/types/components/Response/appearance/responsePrimary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseRequire.d.ts +0 -20
- package/dist/types/components/Response/appearance/responseSecondary.d.ts +0 -8
- package/dist/types/components/Response/appearance/responseSize.d.ts +0 -59
- package/dist/types/components/Response/appearance/responseStyle.d.ts +0 -16
- package/dist/types/components/Response/appearance/responseSurface.d.ts +0 -25
- package/dist/types/components/Tile/appearance/tileAccent.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileDanger.d.ts +0 -7
- package/dist/types/components/Tile/appearance/tileDisabled.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileError.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileInfo.d.ts +0 -21
- package/dist/types/components/Tile/appearance/tilePrimary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileRequire.d.ts +0 -20
- package/dist/types/components/Tile/appearance/tileSecondary.d.ts +0 -8
- package/dist/types/components/Tile/appearance/tileStyle.d.ts +0 -16
- package/dist/types/components/Tile/appearance/tileSuccess.d.ts +0 -11
- package/dist/types/components/Tile/appearance/tileWarning.d.ts +0 -11
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
.input-mask {
|
|
2
|
-
min-width: unset;
|
|
3
|
-
padding: 0;
|
|
4
|
-
margin: 0;
|
|
5
|
-
border: none;
|
|
6
|
-
position: relative;
|
|
7
|
-
box-shadow: none;
|
|
8
|
-
appearance: none;
|
|
9
|
-
outline: 0;
|
|
10
|
-
caret-color: var(--input-caret-color);
|
|
11
|
-
&:disabled {
|
|
12
|
-
background: var(--input-state-disabled-background);
|
|
13
|
-
border: solid 1px var(--input-state-disabled-border);
|
|
14
|
-
&:hover {
|
|
15
|
-
background: var(--input-state-disabled-background);
|
|
16
|
-
border: solid 1px var(--input-state-disabled-border);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
&:focus {
|
|
20
|
-
outline: none;
|
|
21
|
-
}
|
|
22
|
-
&:hover {
|
|
23
|
-
background: var(--input-state-hover-background);
|
|
24
|
-
border: solid 1px var(--input-state-hover-border);
|
|
25
|
-
}
|
|
26
|
-
&&_state {
|
|
27
|
-
&_success {
|
|
28
|
-
background: var(--input-state-success-background);
|
|
29
|
-
border: solid 1px var(--input-state-success-border);
|
|
30
|
-
}
|
|
31
|
-
&_error {
|
|
32
|
-
background: var(--input-state-error-background);
|
|
33
|
-
border: solid 1px var(--input-state-error-border);
|
|
34
|
-
}
|
|
35
|
-
&_focus {
|
|
36
|
-
background: var(--input-state-focus-background);
|
|
37
|
-
border: solid 1px var(--input-state-focus-border);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.input-mask {
|
|
42
|
-
&_shape {
|
|
43
|
-
&_rounded {
|
|
44
|
-
border-radius: var(--input-shape-rounded);
|
|
45
|
-
position: relative;
|
|
46
|
-
}
|
|
47
|
-
&_underline {
|
|
48
|
-
border-left: none !important;
|
|
49
|
-
border-top: none !important;
|
|
50
|
-
border-right: none !important;
|
|
51
|
-
position: relative;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
.input-mask {
|
|
56
|
-
&&_size {
|
|
57
|
-
@each $size in xxl, xl, l, m, s, xs, xxs, normal, tiny, compact, large {
|
|
58
|
-
&_$(size) {
|
|
59
|
-
padding: var(--input-size-$(size)-padding);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
.input-mask {
|
|
65
|
-
&_type {
|
|
66
|
-
&_number {
|
|
67
|
-
appearance: none;
|
|
68
|
-
&[type='number'] {
|
|
69
|
-
appearance: textfield;
|
|
70
|
-
}
|
|
71
|
-
&::-webkit-outer-spin-button,
|
|
72
|
-
&::-webkit-inner-spin-button {
|
|
73
|
-
appearance: none;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
.panel {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
&__wrapper {
|
|
5
|
-
align-items: stretch;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
.panel {
|
|
9
|
-
&_direction {
|
|
10
|
-
&_horizontal {
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
}
|
|
14
|
-
&_vertical {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
}
|
|
18
|
-
&_horizontal-reverse {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: row-reverse;
|
|
21
|
-
}
|
|
22
|
-
&_vertical-reverse {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column-reverse;
|
|
25
|
-
}
|
|
26
|
-
@each $val in row, row-reverse, column, column-reverse {
|
|
27
|
-
&_$(val) {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex-direction: $(val);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.panel {
|
|
35
|
-
@each $val in flex-start, flex-end, center, space-between, space-around, stretch {
|
|
36
|
-
&_align-content_$(val) {
|
|
37
|
-
align-content: $(val);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.panel {
|
|
42
|
-
@each $val in stretch, flex-start, flex-end, center, baseline, auto {
|
|
43
|
-
&_align-self_$(val) {
|
|
44
|
-
align-self: $(val);
|
|
45
|
-
}
|
|
46
|
-
&_align-items_$(val) {
|
|
47
|
-
align-items: $(val);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
.panel {
|
|
52
|
-
@each $val in flex-start, flex-end, center, space-between, space-around, space-evenly, flexStart,
|
|
53
|
-
flexEnd, center, spaceBetween, spaceAround, spaceEvenly {
|
|
54
|
-
&_justify-content_$(val) {
|
|
55
|
-
justify-content: $(val);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.panel {
|
|
60
|
-
&_shape {
|
|
61
|
-
&_rounded {
|
|
62
|
-
border-radius: var(--panel-shape-rounded, 12px);
|
|
63
|
-
}
|
|
64
|
-
&_circular {
|
|
65
|
-
border-radius: 50%;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.panel {
|
|
70
|
-
&_wrap {
|
|
71
|
-
&_wrap {
|
|
72
|
-
flex-wrap: wrap;
|
|
73
|
-
}
|
|
74
|
-
&_nowrap {
|
|
75
|
-
flex-wrap: nowrap;
|
|
76
|
-
}
|
|
77
|
-
&_wrap-reverse {
|
|
78
|
-
flex-wrap: wrap-reverse;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
.panel {
|
|
83
|
-
&_type {
|
|
84
|
-
&_scroll {
|
|
85
|
-
&_vertical {
|
|
86
|
-
/* ^^^&& {
|
|
87
|
-
max-height: 80%;
|
|
88
|
-
} */
|
|
89
|
-
^^^&__wrapper {
|
|
90
|
-
max-height: 100%;
|
|
91
|
-
overflow: auto;
|
|
92
|
-
scrollbar-width: thin;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
&_horizontal {
|
|
96
|
-
/* ^^^&& {
|
|
97
|
-
max-width: 80%;
|
|
98
|
-
} */
|
|
99
|
-
^^^&__wrapper {
|
|
100
|
-
max-width: 100%;
|
|
101
|
-
overflow: auto;
|
|
102
|
-
scrollbar-width: thin;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as AccordionItemStories from '../stories/AccordionItem.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={AccordionItemStories} />
|
|
6
|
-
|
|
7
|
-
# AccordionItem
|
|
8
|
-
|
|
9
|
-
## Closed
|
|
10
|
-
|
|
11
|
-
<Canvas of={AccordionItemStories.Closed} />
|
|
12
|
-
|
|
13
|
-
## Opened
|
|
14
|
-
|
|
15
|
-
<Canvas of={AccordionItemStories.Opened} />
|
|
@@ -1,15 +0,0 @@
|
|
|
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} />
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as BreadcrumbsItemStories from '../stories/BreadcrubsItem.stories'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Breadcrumbs / BreadcrumbsItem" 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} />
|
package/dist/stories/Dot.mdx
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as DotStories from '../stories/Dot.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={DotStories} />
|
|
6
|
-
|
|
7
|
-
# Dot
|
|
8
|
-
|
|
9
|
-
## Accent
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={DotStories.Accent} />
|
|
12
|
-
|
|
13
|
-
## Primary
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={DotStories.Primary} />
|
|
16
|
-
|
|
17
|
-
## Secondary
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={DotStories.Secondary} />
|
package/dist/stories/Drawer.mdx
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as DropdownStories from '../stories/Dropdown.stories.tsx'
|
|
4
|
-
import * as DropdownItemStories from '../stories/DropdownItem.stories.tsx'
|
|
5
|
-
|
|
6
|
-
<Meta of={DropdownStories} />
|
|
7
|
-
|
|
8
|
-
# Dropdown
|
|
9
|
-
|
|
10
|
-
## Default
|
|
11
|
-
|
|
12
|
-
<Canvas sourceState="shown" of={DropdownStories.Default} />
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as DropdownItemStories from '../stories/DropdownItem.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={DropdownItemStories} />
|
|
6
|
-
|
|
7
|
-
# DropdownItem
|
|
8
|
-
|
|
9
|
-
## Default
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={DropdownItemStories.Default} />
|
|
12
|
-
|
|
13
|
-
## Active
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={DropdownItemStories.Active} />
|
|
16
|
-
|
|
17
|
-
## Disabled
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={DropdownItemStories.Disabled} />
|
package/dist/stories/Image.mdx
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as ImageStories from '../stories/Image.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={ImageStories} />
|
|
6
|
-
|
|
7
|
-
# Image
|
|
8
|
-
|
|
9
|
-
## Rectangular
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={ImageStories.Default} />
|
|
12
|
-
|
|
13
|
-
## Circular
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={ImageStories.Skeleton} />
|
package/dist/stories/Input.mdx
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as InputStories from '../stories/Input.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={InputStories} />
|
|
6
|
-
|
|
7
|
-
# Input
|
|
8
|
-
|
|
9
|
-
## XXL
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={InputStories.SizeXXL} />
|
|
12
|
-
|
|
13
|
-
## XL
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={InputStories.SizeXL} />
|
|
16
|
-
|
|
17
|
-
## L
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={InputStories.SizeL} />
|
|
20
|
-
|
|
21
|
-
## M
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={InputStories.SizeM} />
|
|
24
|
-
|
|
25
|
-
## S
|
|
26
|
-
|
|
27
|
-
<Canvas sourceState="shown" of={InputStories.SizeS} />
|
|
28
|
-
|
|
29
|
-
## XS
|
|
30
|
-
|
|
31
|
-
<Canvas sourceState="shown" of={InputStories.SizeXS} />
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as InputPasswordStories from '../stories/InputPassword.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={InputPasswordStories} />
|
|
6
|
-
|
|
7
|
-
# InputPassword
|
|
8
|
-
|
|
9
|
-
## Hidden
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={InputPasswordStories.Hidden} />
|
|
12
|
-
|
|
13
|
-
## Disabled
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={InputPasswordStories.Disabled} />
|
package/dist/stories/Label.mdx
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as LabelStories from '../stories/Label.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Atoms / Label" />
|
|
6
|
-
|
|
7
|
-
# Label
|
|
8
|
-
|
|
9
|
-
`Label` - это маленький компонент, который позволяет дополнить ваш компонент лейблом с описанием.
|
|
10
|
-
|
|
11
|
-
<Story of={LabelStories.Demo} />
|
|
@@ -1,11 +0,0 @@
|
|
|
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} />
|
package/dist/stories/Logo.mdx
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as LogoStories from '../stories/Logo.stories.tsx'
|
|
4
|
-
import * as LogoSizeStories from '../stories/LogoSize.stories.tsx'
|
|
5
|
-
|
|
6
|
-
<Meta title="Atoms / Logo" />
|
|
7
|
-
|
|
8
|
-
# Logo
|
|
9
|
-
|
|
10
|
-
`Logo` - отображает логотип компании, и зачастую явлется ссылкой на главную страницу.
|
|
11
|
-
|
|
12
|
-
<Canvas sourceState="shown" of={LogoStories.Default} />
|
|
13
|
-
|
|
14
|
-
## SizeS
|
|
15
|
-
|
|
16
|
-
<Canvas sourceState="shown" of={LogoSizeStories.S} />
|
|
17
|
-
|
|
18
|
-
## SizeM
|
|
19
|
-
|
|
20
|
-
<Canvas sourceState="shown" of={LogoSizeStories.M} />
|
|
21
|
-
|
|
22
|
-
## SizeL
|
|
23
|
-
|
|
24
|
-
<Canvas sourceState="shown" of={LogoSizeStories.L} />
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as MenuItemStories from '../stories/MenuItem.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={MenuItemStories} />
|
|
6
|
-
|
|
7
|
-
# MenuItem
|
|
8
|
-
|
|
9
|
-
## Active
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={MenuItemStories.Active} />
|
|
12
|
-
|
|
13
|
-
## Subitem
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={MenuItemStories.SetSubitem} />
|
package/dist/stories/Modal.mdx
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as ModalStories from '../stories/Modal.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Molecules / Modal" />
|
|
6
|
-
|
|
7
|
-
# Modal
|
|
8
|
-
|
|
9
|
-
`Modal` - это карточка, на которой находится вся ключевая информация, более детальная отобразится при клике на нее.
|
|
10
|
-
|
|
11
|
-
## Demo
|
|
12
|
-
<Canvas sourceState="shown" of={ModalStories.Demo} />
|
|
13
|
-
|
|
14
|
-
## Skeleton
|
|
15
|
-
<Canvas sourceState="shown" of={ModalStories.Skeleton} />
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as NotificationStories from '../stories/Notification.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={NotificationStories} />
|
|
6
|
-
|
|
7
|
-
# Notification
|
|
8
|
-
|
|
9
|
-
## Top
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={NotificationStories.Top} />
|
|
12
|
-
|
|
13
|
-
## Float
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={NotificationStories.Float} />
|
|
16
|
-
|
|
17
|
-
## Form
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={NotificationStories.Form} />
|
|
20
|
-
|
|
21
|
-
## Toast
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={NotificationStories.Toast} />
|
package/dist/stories/Radio.mdx
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as RadioStories from '../stories/Radio.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={RadioStories} />
|
|
6
|
-
|
|
7
|
-
# Radio
|
|
8
|
-
|
|
9
|
-
## Active
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={RadioStories.Active} />
|
|
12
|
-
|
|
13
|
-
## Disabled
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={RadioStories.Disabled} />
|
|
16
|
-
|
|
17
|
-
## Checked
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={RadioStories.Checked} />
|
|
20
|
-
|
|
21
|
-
## CheckedDisabled
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={RadioStories.CheckedDisabled} />
|
|
24
|
-
|
|
25
|
-
Active
|
|
26
|
-
Disabled
|
|
27
|
-
Checked
|
|
28
|
-
CheckedDisabled
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Canvas, Controls, Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as ResponseStories from '../stories/Default.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta title="Molecules / Response" />
|
|
6
|
-
|
|
7
|
-
# Response
|
|
8
|
-
|
|
9
|
-
`Response` отображает статус, например, предупреждения или ошибки, напрямую влияющих на возможности пользователей выполнять определенные задачи.
|
|
10
|
-
|
|
11
|
-
<Story of={ResponseStories.Demo} />
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as SearchInputStories from '../stories/SearchInput.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={SearchInputStories} />
|
|
6
|
-
|
|
7
|
-
# SearchInput
|
|
8
|
-
|
|
9
|
-
## С иконкой для очистки поля ClearIcon
|
|
10
|
-
|
|
11
|
-
<Canvas of={SearchInputStories.ClearIcon} />
|
|
12
|
-
|
|
13
|
-
## С иконкой до текста BeforeIcon
|
|
14
|
-
|
|
15
|
-
<Canvas of={SearchInputStories.BeforeIcon} />
|
|
16
|
-
|
|
17
|
-
## С иконкой после текста AfterIcon
|
|
18
|
-
|
|
19
|
-
<Canvas of={SearchInputStories.AfterIcon} />
|
package/dist/stories/Switch.mdx
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as SwitchStories from '../stories/Switch.stories.tsx'
|
|
4
|
-
|
|
5
|
-
<Meta of={SwitchStories} />
|
|
6
|
-
|
|
7
|
-
# Switch
|
|
8
|
-
|
|
9
|
-
## Active
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={SwitchStories.Active} />
|
|
12
|
-
|
|
13
|
-
## ActiveChecked
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={SwitchStories.ActiveChecked} />
|
|
16
|
-
|
|
17
|
-
## Disabled
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={SwitchStories.Disabled} />
|
|
20
|
-
|
|
21
|
-
## DisabledChecked
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={SwitchStories.DisabledChecked} />
|
package/dist/stories/Tab.mdx
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Meta, Story } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as TabStories from '../stories/Appearance.stories.tsx'
|
|
4
|
-
import * as TabGroupStories from '../stories/Group.stories.tsx'
|
|
5
|
-
|
|
6
|
-
<Meta title="Atoms / Tab" />
|
|
7
|
-
|
|
8
|
-
# Tab
|
|
9
|
-
|
|
10
|
-
`Tab` - это элемент быстрой навигации между сгруппированным контентом без перезагрузки страницы.
|
|
11
|
-
Отображает в общем контейнере выбранный раздел контента, скрывая остальные разделы.
|
|
12
|
-
|
|
13
|
-
Табы образуют группу. Группа табов отделяется от контента линией или
|
|
14
|
-
границей блоков. Один таб всегда выбран, по умолчанию первый. Может быть выбран только один таб
|
|
15
|
-
из всей группы. Клик по неактивному табу скрывает текущий контент и отображает контент выбранного таба.
|
|
16
|
-
Используйте табы для второстепенной навигации, группировки и фильтрации связанного контента.
|
|
17
|
-
|
|
18
|
-
<Story of={TabStories.Accent} />
|
|
19
|
-
|
|
20
|
-
# TabGroup
|
|
21
|
-
|
|
22
|
-
`TabGroup` состоит из табов, которые образуют группу. Группа табов отделяется от контента линией или
|
|
23
|
-
границей блоков. Один таб всегда выбран, по умолчанию первый. Может быть выбран только один таб
|
|
24
|
-
из всей группы. Клик по неактивному табу скрывает текущий контент и отображает контент выбранного таба.
|
|
25
|
-
Используйте табы для второстепенной навигации, группировки и фильтрации связанного контента.
|
|
26
|
-
|
|
27
|
-
<Story of={TabGroupStories.Default} />
|
package/dist/stories/Text.mdx
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Canvas, Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
import * as SizeStories from '../stories/TextSize.stories'
|
|
4
|
-
|
|
5
|
-
<Meta of={SizeStories} />
|
|
6
|
-
|
|
7
|
-
# Size
|
|
8
|
-
|
|
9
|
-
## XXL
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={SizeStories.SizeXXL} />
|
|
12
|
-
|
|
13
|
-
## XL
|
|
14
|
-
|
|
15
|
-
<Canvas sourceState="shown" of={SizeStories.SizeXL} />
|
|
16
|
-
|
|
17
|
-
## L
|
|
18
|
-
|
|
19
|
-
<Canvas sourceState="shown" of={SizeStories.SizeL} />
|
|
20
|
-
|
|
21
|
-
## M
|
|
22
|
-
|
|
23
|
-
<Canvas sourceState="shown" of={SizeStories.SizeM} />
|
|
24
|
-
|
|
25
|
-
## S
|
|
26
|
-
|
|
27
|
-
<Canvas sourceState="shown" of={SizeStories.SizeS} />
|
|
28
|
-
|
|
29
|
-
## XS
|
|
30
|
-
|
|
31
|
-
<Canvas sourceState="shown" of={SizeStories.SizeXS} />
|
|
32
|
-
|
|
33
|
-
## XXS
|
|
34
|
-
|
|
35
|
-
<Canvas sourceState="shown" of={SizeStories.SizeXXS} />
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
declare const cellAppearanceAccent: {
|
|
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 { cellAppearanceAccent };
|