@itcase/ui 1.1.17 → 1.1.19
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/css/components/Accordion/Accordion.css +87 -11
- package/dist/css/components/Avatar/Avatar.css +102 -7
- package/dist/css/components/Badge/Badge.css +66 -8
- package/dist/css/components/Button/Button.css +335 -16
- package/dist/css/components/Caption/Caption.css +22 -4
- package/dist/css/components/Card/Card.css +18 -3
- package/dist/css/components/Cell/Cell.css +119 -13
- package/dist/css/components/Checkbox/Checkbox.css +95 -5
- package/dist/css/components/Chips/Chips.css +59 -5
- package/dist/css/components/Choice/Choice.css +84 -6
- package/dist/css/components/Choice/css/__item/choice__item.css +0 -2
- package/dist/css/components/Code/Code.css +38 -6
- package/dist/css/components/ContextMenu/ContextMenu.css +36 -5
- package/dist/css/components/ContextMenu/css/__item/context-menu__item.css +0 -2
- package/dist/css/components/CookiesWarning/CookiesWarning.css +36 -2
- package/dist/css/components/DadataHintField/DadataHintField.css +36 -6
- package/dist/css/components/DatePicker/DatePicker.css +1175 -8
- package/dist/css/components/Divider/Divider.css +48 -6
- package/dist/css/components/Dot/Dot.css +25 -5
- package/dist/css/components/Drawer/Drawer.css +52 -4
- package/dist/css/components/Dropdown/Dropdown.css +129 -13
- package/dist/css/components/Flex/Flex.css +178 -17
- package/dist/css/components/Flex/css/__item/flex__item.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_align.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_direction.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_grow.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_justify-content.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_shape.css +0 -2
- package/dist/css/components/Flex/css/__item/flex__item_wrap.css +0 -2
- package/dist/css/components/Grid/Grid.css +218 -22
- package/dist/css/components/Grid/css/__item/grid__item.css +0 -2
- package/dist/css/components/Grid/css/__item/grid__item_align-self.css +0 -2
- package/dist/css/components/Grid/css/__item/grid__item_column.css +0 -2
- package/dist/css/components/Grid/css/__item/grid__item_justify-self.css +0 -2
- package/dist/css/components/Grid/css/__item/grid__item_row.css +0 -2
- package/dist/css/components/Grid/css/__row/grid__row.css +0 -2
- package/dist/css/components/Group/Group.css +94 -9
- package/dist/css/components/HTMLContent/HTMLContent.css +98 -7
- package/dist/css/components/Icon/Icon.css +123 -12
- package/dist/css/components/Image/Image.css +132 -9
- package/dist/css/components/Input/Input.css +85 -6
- package/dist/css/components/InputMask/Input.css +77 -6
- package/dist/css/components/InputPassword/InputPassword.css +68 -5
- package/dist/css/components/Label/Label.css +83 -8
- package/dist/css/components/Link/Link.css +32 -5
- package/dist/css/components/List/List.css +112 -9
- package/dist/css/components/Loader/Loader.css +44 -4
- package/dist/css/components/Logo/Logo.css +55 -7
- package/dist/css/components/Menu/Menu.css +56 -6
- package/dist/css/components/MenuItem/MenuItem.css +81 -9
- package/dist/css/components/Modal/Modal.css +39 -5
- package/dist/css/components/Notification/Notification.css +143 -11
- package/dist/css/components/Notification/css/__item/notification__item_set_float.css +0 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_form.css +0 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +0 -2
- package/dist/css/components/Notification/css/__item/notification__item_set_top.css +0 -2
- package/dist/css/components/Notification/css/__item/notification__item_status.css +0 -2
- package/dist/css/components/Notification/css/__item/notification__item_type_close-button.css +0 -2
- package/dist/css/components/Overlay/Overlay.css +43 -5
- package/dist/css/components/Page/Page.css +8 -3
- package/dist/css/components/Pagination/Pagination.css +107 -8
- package/dist/css/components/Pagination/css/__item/pagination__item.css +0 -2
- package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +0 -2
- package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +0 -2
- package/dist/css/components/Panel/Panel.css +107 -10
- package/dist/css/components/Radio/Radio.css +113 -6
- package/dist/css/components/RangeSlider/RangeSlider.css +418 -15
- package/dist/css/components/Response/Response.css +29 -4
- package/dist/css/components/SVGContent/SVGContent.css +2 -3
- package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +30 -2
- package/dist/css/components/Scrollbar/Scrollbar.css +58 -3
- package/dist/css/components/Search/Search.css +114 -10
- package/dist/css/components/Search/css/search-input/search-input.css +0 -2
- package/dist/css/components/Search/css/search-input/search-input_shape.css +0 -2
- package/dist/css/components/Search/css/search-input/search-input_size.css +0 -2
- package/dist/css/components/Search/css/search-result/search-result.css +0 -2
- package/dist/css/components/Search/css/search-result/search-result_shape.css +0 -2
- package/dist/css/components/Segmented/Segmented.css +117 -6
- package/dist/css/components/Select/Select.css +373 -22
- package/dist/css/components/Select/css/__control/select__control.css +0 -2
- package/dist/css/components/Select/css/__control/select__control_fill.css +0 -2
- package/dist/css/components/Select/css/__control/select__control_shape.css +0 -2
- package/dist/css/components/Select/css/__indicators/select__indicators.css +0 -2
- package/dist/css/components/Select/css/__input-container/select__input-container.css +0 -2
- package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +0 -2
- package/dist/css/components/Select/css/__menu/select__menu-notice.css +0 -2
- package/dist/css/components/Select/css/__menu/select__menu.css +0 -2
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +0 -2
- package/dist/css/components/Select/css/__option/select__option.css +0 -2
- package/dist/css/components/Select/css/__placeholder/select__placeholder.css +0 -2
- package/dist/css/components/Select/css/__single-value/select__single-value.css +0 -2
- package/dist/css/components/Select/css/__value-container/select__value-container.css +0 -2
- package/dist/css/components/SiteMenu/SiteMenu.css +37 -3
- package/dist/css/components/Swiper/Swiper.css +973 -7
- package/dist/css/components/Swiper/css/__item/swiper-block__item.css +0 -2
- package/dist/css/components/Switch/Switch.css +68 -5
- package/dist/css/components/Tab/Tab.css +69 -9
- package/dist/css/components/Text/Text.css +57 -6
- package/dist/css/components/Textarea/Textarea.css +40 -5
- package/dist/css/components/Tile/Tile.css +47 -6
- package/dist/css/components/Title/Title.css +59 -7
- package/dist/css/components/Tooltip/Tooltip.css +121 -9
- package/dist/css/components/Video/Video.css +37 -7
- package/dist/css/components/Wrapper/Wrapper.css +35 -4
- package/dist/css/styles/align/align.css +0 -2
- package/dist/css/styles/align/align_horizontal-reverse.css +0 -2
- package/dist/css/styles/align/align_horizontal.css +0 -2
- package/dist/css/styles/align/align_vertical-reverse.css +0 -2
- package/dist/css/styles/align/align_vertical.css +0 -2
- package/dist/css/styles/alignment/alignment.css +0 -2
- package/dist/css/styles/border-color/border-color.css +0 -2
- package/dist/css/styles/border-color/border-color_focus.css +0 -2
- package/dist/css/styles/border-color/border-color_hover.css +0 -2
- package/dist/css/styles/border-type/border-type.css +0 -2
- package/dist/css/styles/border-width/border-width.css +0 -2
- package/dist/css/styles/caret-color/caret-color.css +0 -2
- package/dist/css/styles/column-gap/column-gap.css +0 -2
- package/dist/css/styles/constraints/constraints.css +0 -2
- package/dist/css/styles/cursor/cursor.css +0 -2
- package/dist/css/styles/direction/direction.css +0 -2
- package/dist/css/styles/elevation/elevation.css +0 -2
- package/dist/css/styles/elevation/elevation_hover.css +0 -2
- package/dist/css/styles/fill/fill.css +0 -2
- package/dist/css/styles/fill/fill_active.css +0 -2
- package/dist/css/styles/fill/fill_active_hover.css +0 -2
- package/dist/css/styles/fill/fill_disabled.css +0 -2
- package/dist/css/styles/fill/fill_hover.css +0 -2
- package/dist/css/styles/fill-gradient/fill-gradient.css +0 -2
- package/dist/css/styles/flex/flex-grow.css +0 -2
- package/dist/css/styles/gap/gap.css +0 -2
- package/dist/css/styles/height/height.css +0 -2
- package/dist/css/styles/hover/hover-fill-color.css +0 -2
- package/dist/css/styles/hover/hover-item-color.css +0 -2
- package/dist/css/styles/hover/hover-text-color.css +0 -2
- package/dist/css/styles/justify-content/justify-content.css +0 -2
- package/dist/css/styles/mediaqueries.css +24 -2
- package/dist/css/styles/mixin_elevation.css +0 -2
- package/dist/css/styles/mixin_fill-gradient.css +0 -2
- package/dist/css/styles/mixin_global.css +0 -2
- package/dist/css/styles/opacity/opacity.css +0 -2
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +0 -2
- package/dist/css/styles/position/position.css +0 -2
- package/dist/css/styles/resize-horizontal/resize-horizontal.css +0 -2
- package/dist/css/styles/resize-vertical/resize-vertical.css +0 -2
- package/dist/css/styles/row-gap/row-gap.css +0 -2
- package/dist/css/styles/shape/shape.css +0 -2
- package/dist/css/styles/svg-color/svg_fill.css +1 -2
- package/dist/css/styles/svg-color/svg_fill_hover.css +0 -2
- package/dist/css/styles/text-align/text-align.css +0 -2
- package/dist/css/styles/text-color/text-color.css +0 -2
- package/dist/css/styles/text-color/text-color_active.css +0 -2
- package/dist/css/styles/text-color/text-color_hover.css +0 -2
- package/dist/css/styles/text-decoration/text-decoration.css +0 -2
- package/dist/css/styles/text-gradient/text-gradient.css +0 -2
- package/dist/css/styles/text-style/text-style.css +0 -2
- package/dist/css/styles/text-truncate/text-truncate.css +0 -2
- package/dist/css/styles/text-weight/text-weight.css +0 -2
- package/dist/css/styles/width/width.css +0 -2
- package/dist/css/styles/word-wrap/word-wrap.css +0 -2
- package/package.json +5 -5
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1NWR0NvbnRlbnQvU1ZHQ29udGVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoiU1ZHQ29udGVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAaW1wb3J0ICcuL2Nzcy9zdmctY29udGVudC5jc3MnO1xuIl19 */
|
|
1
|
+
.svg-content {
|
|
2
|
+
}
|
|
@@ -1,3 +1,31 @@
|
|
|
1
|
-
|
|
1
|
+
/* * {
|
|
2
|
+
user-select: none
|
|
3
|
+
} */
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
.scroll-on-drag {
|
|
6
|
+
&__wrapper {
|
|
7
|
+
width: 100%;
|
|
8
|
+
&.indiana-scroll-container {
|
|
9
|
+
overflow: auto;
|
|
10
|
+
&--dragging {
|
|
11
|
+
scroll-behavior: auto;
|
|
12
|
+
}
|
|
13
|
+
&--hide-scrollbars {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
overflow: -moz-scrollbars-none;
|
|
16
|
+
-ms-overflow-style: none;
|
|
17
|
+
scrollbar-width: none;
|
|
18
|
+
&::-webkit-scrollbar {
|
|
19
|
+
width: 0 !important;
|
|
20
|
+
height: 0 !important;
|
|
21
|
+
background: transparent !important;
|
|
22
|
+
display: none !important;
|
|
23
|
+
appearance: none !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&--native-scroll {
|
|
27
|
+
overflow: auto;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,3 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.scrollbar {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 200px;
|
|
4
|
+
position: relative;
|
|
5
|
+
&__wrapper {
|
|
6
|
+
position: absolute;
|
|
7
|
+
inset: 0 10px 0 0;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
^&__scroll {
|
|
10
|
+
min-width: 100%;
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
padding: 0.05px;
|
|
13
|
+
&-content {
|
|
14
|
+
min-width: 100%;
|
|
15
|
+
min-height: 100%;
|
|
16
|
+
padding: 0.05px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&__track {
|
|
21
|
+
&-y {
|
|
22
|
+
width: 8px;
|
|
23
|
+
height: 100%;
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
position: absolute;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
top: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
user-select: none;
|
|
30
|
+
&-item {
|
|
31
|
+
width: 100%;
|
|
32
|
+
background: rgba(0, 0, 0, 0.4);
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&-x {
|
|
38
|
+
width: calc(100% - 20px);
|
|
39
|
+
height: 10px;
|
|
40
|
+
background: rgba(0, 0, 0, 0.1);
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
position: absolute;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
display: none;
|
|
45
|
+
left: 10px;
|
|
46
|
+
bottom: 0;
|
|
47
|
+
user-select: none;
|
|
48
|
+
&-item {
|
|
49
|
+
width: 0;
|
|
50
|
+
height: 100%;
|
|
51
|
+
background: rgba(0, 0, 0, 0.4);
|
|
52
|
+
border-radius: 4px;
|
|
53
|
+
display: none;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -1,11 +1,115 @@
|
|
|
1
|
-
|
|
2
|
-
@import './css/search_shape.css';
|
|
1
|
+
.search {
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
}
|
|
4
|
+
.search {
|
|
5
|
+
&_shape {
|
|
6
|
+
&_rounded {
|
|
7
|
+
border-radius: var(--search-shape-rounded, 6px);
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.search-input {
|
|
13
|
+
width: 100%;
|
|
14
|
+
position: relative;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
&__icon {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
&__wrapper {
|
|
23
|
+
width: 100%;
|
|
24
|
+
position: relative;
|
|
25
|
+
display: grid;
|
|
26
|
+
align-items: center;
|
|
27
|
+
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
28
|
+
grid-template-columns: 1fr 1fr;
|
|
29
|
+
}
|
|
30
|
+
&__value {
|
|
31
|
+
background: none;
|
|
32
|
+
padding: 1px 0 !important;
|
|
33
|
+
border: none;
|
|
34
|
+
position: relative;
|
|
35
|
+
display: block;
|
|
36
|
+
z-index: 2;
|
|
37
|
+
grid-column: 1/3;
|
|
38
|
+
grid-row-start: 1;
|
|
39
|
+
&:focus {
|
|
40
|
+
outline: 0;
|
|
41
|
+
}
|
|
42
|
+
&:not([value='']) {
|
|
43
|
+
& ~ .search-input__placeholder {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&__placeholder {
|
|
49
|
+
background: none;
|
|
50
|
+
border: none;
|
|
51
|
+
position: relative;
|
|
52
|
+
display: grid;
|
|
53
|
+
grid-column: 1/3;
|
|
54
|
+
grid-row-start: 1;
|
|
55
|
+
&:focus {
|
|
56
|
+
outline: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
&__clear {
|
|
60
|
+
margin: 0 4px 0 0;
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 50%;
|
|
63
|
+
right: 0;
|
|
64
|
+
z-index: 2;
|
|
65
|
+
transform: translate(0, -50%);
|
|
66
|
+
}
|
|
67
|
+
&&_state_focus,
|
|
68
|
+
&&_state_filled {
|
|
69
|
+
^&__input {
|
|
70
|
+
&-wrapper {
|
|
71
|
+
left: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@keyframes searchPlaceHolderHide {
|
|
77
|
+
from {
|
|
78
|
+
opacity: 100%;
|
|
79
|
+
}
|
|
80
|
+
to {
|
|
81
|
+
opacity: 0%;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.search-input {
|
|
85
|
+
&_shape {
|
|
86
|
+
&_rounded {
|
|
87
|
+
border-radius: var(--search-input-shape-rounded, 6px);
|
|
88
|
+
position: relative;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.search-input {
|
|
93
|
+
&_size {
|
|
94
|
+
@each $size in compact, normal, s, l {
|
|
95
|
+
&_$(size) {
|
|
96
|
+
padding: var(--search-input-$(size)-padding);
|
|
97
|
+
gap: var(--search-input-$(size)-gap);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.search-result {
|
|
103
|
+
width: 100%;
|
|
104
|
+
&__wrapper {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
.search-result {
|
|
109
|
+
&_shape {
|
|
110
|
+
&_rounded {
|
|
111
|
+
border-radius: 6px;
|
|
112
|
+
position: relative;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -71,5 +71,3 @@
|
|
|
71
71
|
opacity: 0%;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1NlYXJjaC9jc3Mvc2VhcmNoLWlucHV0L3NlYXJjaC1pbnB1dC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEiLCJmaWxlIjoic2VhcmNoLWlucHV0LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gtaW5wdXQge1xuICB3aWR0aDogMTAwJTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgJl9faWNvbiB7XG4gICAgZGlzcGxheTogZmxleDtcbiA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-
|
|
12
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1NlYXJjaC9jc3Mvc2VhcmNoLWlucHV0L3NlYXJjaC1pbnB1dF9zaXplLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJzZWFyY2gtaW5wdXRfc2l6ZS5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc2VhcmNoLWlucHV0IHtcbiAgJl9zaXplIHtcbiAgICBAZWFjaCAkc2l6ZSBpbiBjb21wYWN0LCBub3JtYWwsIHMsIGwge1xuICAgICAgJl8kKHNpemUpIHtcbiAgICAgICAgcGFkZGluZzogdmFyKC0tc2VhcmNoLWlucHV0LSQoc2l6ZSktcGFkZGluZyk7XG4gICAgICAgIGdhcDogdmFyKC0tc2VhcmNoLWlucHV0LSQoc2l6ZSktZ2FwKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ== */
|
|
@@ -4,5 +4,3 @@
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1NlYXJjaC9jc3Mvc2VhcmNoLXJlc3VsdC9zZWFyY2gtcmVzdWx0LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJzZWFyY2gtcmVzdWx0LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gtcmVzdWx0IHtcbiAgd2lkdGg6IDEwMCU7XG4gICZfX3dyYXBwZXIge1xuICAgIHdpZHRoOiAxMDAlO1xuICB9XG59XG4iXX0= */
|
|
@@ -6,5 +6,3 @@
|
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1NlYXJjaC9jc3Mvc2VhcmNoLXJlc3VsdC9zZWFyY2gtcmVzdWx0X3NoYXBlLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsImZpbGUiOiJzZWFyY2gtcmVzdWx0X3NoYXBlLmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zZWFyY2gtcmVzdWx0IHtcbiAgJl9zaGFwZSB7XG4gICAgJl9yb3VuZGVkIHtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDZweDtcbiAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== */
|
|
@@ -1,6 +1,117 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
.segmented {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
&__wrapper {
|
|
5
|
+
&-inner {
|
|
6
|
+
margin: 2px;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
^^&__indicator {
|
|
10
|
+
width: var(--segmented-active-width);
|
|
11
|
+
height: 100%;
|
|
12
|
+
padding: 8px 0;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
position: absolute;
|
|
15
|
+
content: '';
|
|
16
|
+
display: block;
|
|
17
|
+
box-shadow:
|
|
18
|
+
0 3px 8px rgba(0, 0, 0, 0.12),
|
|
19
|
+
0 3px 1px rgba(0, 0, 0, 0.04);
|
|
20
|
+
left: var(--segmented-active-x-pos);
|
|
21
|
+
top: 0;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
transition:
|
|
24
|
+
left 0.3s ease,
|
|
25
|
+
width 0.3s ease;
|
|
26
|
+
}
|
|
27
|
+
^^&__item {
|
|
28
|
+
min-width: 120px;
|
|
29
|
+
border-radius: 6px;
|
|
30
|
+
position: relative;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
/* &::after {
|
|
34
|
+
width: 1px;
|
|
35
|
+
height: 100%;
|
|
36
|
+
background: var(--color-surface-border-tertiary);
|
|
37
|
+
content: '';
|
|
38
|
+
display: block;
|
|
39
|
+
top: 0;
|
|
40
|
+
right: 0;
|
|
41
|
+
}
|
|
42
|
+
&:nth-last-child(-n + 2) {
|
|
43
|
+
&::after {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
} */
|
|
47
|
+
&_state_active {
|
|
48
|
+
& label {
|
|
49
|
+
color: #fff;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
& input {
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 100%;
|
|
55
|
+
margin: 0;
|
|
56
|
+
border: 0;
|
|
57
|
+
position: absolute;
|
|
58
|
+
inset: 0 0 0 0;
|
|
59
|
+
z-index: 2;
|
|
60
|
+
opacity: 0%;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
&-label {
|
|
64
|
+
width: 100%;
|
|
65
|
+
text-align: center;
|
|
66
|
+
position: relative;
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
z-index: 3;
|
|
70
|
+
transition: color 0.5s ease;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
&-text {
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.segmented {
|
|
80
|
+
&_shape {
|
|
81
|
+
&_rounded {
|
|
82
|
+
border-radius: var(--segmented-shape-rounded, 8px);
|
|
83
|
+
}
|
|
84
|
+
&_circular {
|
|
85
|
+
border-radius: 50%;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
.segmented {
|
|
90
|
+
&_size {
|
|
91
|
+
@each $size in normal, compact {
|
|
92
|
+
&_$(size) {
|
|
93
|
+
^^&__item {
|
|
94
|
+
&-label {
|
|
95
|
+
padding: var(--segmented-item-size-$(size)-padding);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.segmented {
|
|
103
|
+
&_width {
|
|
104
|
+
&_fill {
|
|
105
|
+
width: 100%;
|
|
106
|
+
^^&__wrapper {
|
|
107
|
+
flex: 1;
|
|
108
|
+
&-inner {
|
|
109
|
+
flex: 1;
|
|
110
|
+
^^^^&__item {
|
|
111
|
+
flex: 1;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|