@itcase/ui 1.8.110 → 1.8.112
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_joB9qjwk.js → Avatar_cjs_CQhA8iu9.js} +2 -2
- package/dist/{Avatar_es_C3HGSiHU.js → Avatar_es__NA_FQGM.js} +2 -2
- package/dist/{Button_cjs_mau_55Fl.js → Button_cjs_B2eZhvoC.js} +5 -5
- package/dist/{Button_es_D_IlkeBp.js → Button_es_C8qinRU4.js} +5 -5
- package/dist/{ChipsGroup_cjs_D454M1-p.js → ChipsGroup_cjs_ChJ71i_A.js} +2 -2
- package/dist/{ChipsGroup_es_BKG5mK5N.js → ChipsGroup_es_Dj0Lu5zm.js} +2 -2
- package/dist/{DatePicker_cjs_C9rI2uTl.js → DatePicker_cjs_CpN9wFK4.js} +5 -5
- package/dist/{DatePicker_es_Bi6lgbTb.js → DatePicker_es_B6WjNDiN.js} +5 -5
- package/dist/{DropdownItem_cjs_D2hHKA5E.js → DropdownItem_cjs_DUIefLij.js} +2 -2
- package/dist/{DropdownItem_es_D9JBMV70.js → DropdownItem_es_uFi08Joi.js} +2 -2
- package/dist/{Icon_cjs_ZerVip3X.js → Icon_cjs_D-UNVTqI.js} +6 -6
- package/dist/{Icon_es_C76te22j.js → Icon_es_Cstv1LFr.js} +6 -6
- package/dist/{Input_cjs_TC7DOpvh.js → Input_cjs_D18gXu6j.js} +14 -30
- package/dist/{Input_es_RtN2gtZq.js → Input_es_CHuhHbMo.js} +14 -30
- package/dist/{Label_cjs_CaTh_laL.js → Label_cjs_BvS_ANE3.js} +4 -4
- package/dist/{Label_es_CoIII7Ty.js → Label_es_C4Icioi8.js} +4 -4
- package/dist/{Link_cjs_BqT6eVl6.js → Link_cjs_C5UsZUiF.js} +2 -2
- package/dist/{Link_es_BnUIX0QT.js → Link_es_XiqbdwLp.js} +2 -2
- package/dist/{Loader_cjs_c6yF7akz.js → Loader_cjs_Cme6Hi0B.js} +3 -3
- package/dist/{Loader_es_C8ETXkiZ.js → Loader_es_ByhTIMxS.js} +3 -3
- package/dist/{Text_cjs_DpRclhwc.js → Text_cjs_0EINiUq4.js} +7 -4
- package/dist/{Text_es_CtCwsa3V.js → Text_es_CwV9rjFD.js} +7 -4
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +4 -4
- package/dist/cjs/components/AvatarStack.js +4 -4
- package/dist/cjs/components/Badge.js +3 -3
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +5 -5
- package/dist/cjs/components/Cell.js +4 -4
- package/dist/cjs/components/Checkbox.js +29 -22
- package/dist/cjs/components/Chips.js +4 -4
- package/dist/cjs/components/Choice.js +23 -21
- package/dist/cjs/components/Code.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +5 -5
- package/dist/cjs/components/Dadata.js +1 -1
- package/dist/cjs/components/DatePeriod.js +11 -11
- package/dist/cjs/components/DatePicker.js +8 -8
- package/dist/cjs/components/Drawer.js +3 -3
- package/dist/cjs/components/Dropdown.js +4 -4
- package/dist/cjs/components/HeroTitle.js +5 -5
- package/dist/cjs/components/Icon.js +3 -3
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +6 -10
- package/dist/cjs/components/Label.js +4 -4
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/List.js +1 -1
- package/dist/cjs/components/Loader.js +2 -2
- package/dist/cjs/components/Logo.js +1 -1
- package/dist/cjs/components/MenuItem.js +4 -4
- package/dist/cjs/components/Modal.js +6 -6
- package/dist/cjs/components/ModalSheetBottom.js +5 -5
- package/dist/cjs/components/Notification.js +3 -3
- package/dist/cjs/components/Pagination.js +6 -6
- package/dist/cjs/components/Radio.js +58 -36
- package/dist/cjs/components/Response.js +5 -5
- package/dist/cjs/components/Search.js +5 -5
- package/dist/cjs/components/Segmented.js +12 -11
- package/dist/cjs/components/Select.js +104 -78
- package/dist/cjs/components/Swiper.js +3 -3
- package/dist/cjs/components/Switch.js +2 -2
- package/dist/cjs/components/Tab.js +4 -4
- package/dist/cjs/components/Text.js +1 -1
- package/dist/cjs/components/Textarea.js +31 -26
- package/dist/cjs/components/Tile.js +3 -3
- package/dist/cjs/components/Title.js +3 -3
- package/dist/cjs/components/Tooltip.js +3 -3
- package/dist/cjs/components/Warning.js +3 -3
- package/dist/cjs/hooks/useAppearanceConfig/useAppearanceConfig.js +8 -4
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +4 -4
- package/dist/components/AvatarStack.js +4 -4
- package/dist/components/Badge.js +3 -3
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +5 -5
- package/dist/components/Cell.js +4 -4
- package/dist/components/Checkbox.js +29 -22
- package/dist/components/Chips.js +4 -4
- package/dist/components/Choice.js +23 -21
- package/dist/components/Code.js +3 -3
- package/dist/components/CookiesWarning.js +5 -5
- package/dist/components/Dadata.js +1 -1
- package/dist/components/DatePeriod.js +11 -11
- package/dist/components/DatePicker.js +8 -8
- package/dist/components/Drawer.js +3 -3
- package/dist/components/Dropdown.js +4 -4
- package/dist/components/HeroTitle.js +5 -5
- package/dist/components/Icon.js +3 -3
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +6 -10
- package/dist/components/Label.js +4 -4
- package/dist/components/Link.js +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/Loader.js +2 -2
- package/dist/components/Logo.js +1 -1
- package/dist/components/MenuItem.js +4 -4
- package/dist/components/Modal.js +6 -6
- package/dist/components/ModalSheetBottom.js +5 -5
- package/dist/components/Notification.js +3 -3
- package/dist/components/Pagination.js +6 -6
- package/dist/components/Radio.js +58 -36
- package/dist/components/Response.js +5 -5
- package/dist/components/Search.js +5 -5
- package/dist/components/Segmented.js +12 -11
- package/dist/components/Select.js +104 -78
- package/dist/components/Swiper.js +3 -3
- package/dist/components/Switch.js +2 -2
- package/dist/components/Tab.js +4 -4
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +31 -26
- package/dist/components/Tile.js +3 -3
- package/dist/components/Title.js +3 -3
- package/dist/components/Tooltip.js +3 -3
- package/dist/components/Warning.js +3 -3
- package/dist/css/components/Checkbox/Checkbox.css +440 -25
- package/dist/css/components/Choice/Choice.css +12 -1
- package/dist/css/components/Choice/css/__item/choice__item.css +1 -1
- package/dist/css/components/Choice/css/__item/choice__item_size.css +5 -0
- package/dist/css/components/DatePicker/DatePicker.css +18 -18
- package/dist/css/components/Group/Group.css +5 -0
- package/dist/css/components/Input/Input.css +10 -7
- package/dist/css/components/Radio/Radio.css +436 -5
- package/dist/css/components/Segmented/Segmented.css +15 -17
- package/dist/css/components/Segmented/css/__item/segmaented__item.css +12 -0
- package/dist/css/components/Select/Select.css +12 -1
- package/dist/css/components/Select/css/__placeholder/select__placeholder.css +3 -0
- package/dist/css/components/Select/css/__single-value/select__single-value.css +5 -0
- package/dist/css/components/Textarea/Textarea.css +7 -6
- package/dist/css/styles/bundle.css +36 -46
- package/dist/css/styles/fill/fill.css +0 -3
- package/dist/css/styles/text-align/text-align.css +1 -1
- package/dist/css/styles/text-weight/text-weight.css +35 -42
- package/dist/hooks/useAppearanceConfig/useAppearanceConfig.js +8 -4
- package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +8 -2
- package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
- package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +3 -1
- package/dist/types/components/Code/Code.interface.d.ts +1 -0
- package/dist/types/components/Input/appearance/inputDefault.d.ts +2 -2
- package/dist/types/components/Input/appearance/inputDisabled.d.ts +1 -0
- package/dist/types/components/Input/appearance/inputRequire.d.ts +1 -0
- package/dist/types/components/Input/appearance/inputStyle.d.ts +1 -0
- package/dist/types/components/Radio/Radio.appearance.d.ts +37 -16
- package/dist/types/components/Radio/appearance/radioDefault.d.ts +7 -4
- package/dist/types/components/Radio/appearance/radioDisabled.d.ts +4 -2
- package/dist/types/components/Radio/appearance/radioError.d.ts +4 -2
- package/dist/types/components/Radio/appearance/radioRequire.d.ts +4 -2
- package/dist/types/components/Radio/appearance/radioShape.d.ts +4 -4
- package/dist/types/components/Radio/appearance/radioStyle.d.ts +10 -0
- package/dist/types/components/Radio/appearance/radioSuccess.d.ts +4 -2
- package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +1 -0
- package/dist/types/components/Select/appearance/selectDefault.d.ts +5 -5
- package/dist/types/components/Select/appearance/selectDisabled.d.ts +0 -1
- package/dist/types/components/Select/appearance/selectError.d.ts +16 -8
- package/dist/types/components/Select/appearance/selectRequire.d.ts +16 -8
- package/dist/types/components/Select/appearance/selectShape.d.ts +4 -4
- package/dist/types/components/Select/appearance/selectSize.d.ts +3 -0
- package/dist/types/components/Select/appearance/selectStyle.d.ts +5 -4
- package/dist/types/components/Select/appearance/selectSuccess.d.ts +16 -10
- package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +7 -5
- package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +2 -2
- package/dist/types/components/Textarea/appearance/textareaError.d.ts +2 -2
- package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +2 -2
- package/dist/types/components/Textarea/appearance/textareaShape.d.ts +4 -4
- package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -2
- package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +3 -2
- package/dist/types/hooks/useAppearanceConfig/useAppearanceConfig.d.ts +1 -1
- package/package.json +3 -3
package/dist/components/Tile.js
CHANGED
|
@@ -3,8 +3,8 @@ import clsx from 'clsx';
|
|
|
3
3
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { b as Title, B as Badge, I as Icon } from '../
|
|
7
|
-
import { T as Text } from '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_Cstv1LFr.js';
|
|
7
|
+
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
|
@@ -23,7 +23,7 @@ import 'lodash/maxBy';
|
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../hoc/urlWithAssetPrefix.js';
|
|
25
25
|
import '../context/UrlAssetPrefix.js';
|
|
26
|
-
import '../
|
|
26
|
+
import '../Link_es_XiqbdwLp.js';
|
|
27
27
|
|
|
28
28
|
var tileAppearanceShape = {
|
|
29
29
|
circular: {
|
package/dist/components/Title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Title, d as titleAppearance, c as titleConfig } from '../
|
|
1
|
+
export { b as Title, d as titleAppearance, c as titleConfig } from '../Icon_es_Cstv1LFr.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,5 +22,5 @@ import '../hooks.js';
|
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
23
|
import '../hooks/useStyles/useStyles.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
|
-
import '../
|
|
26
|
-
import '../
|
|
25
|
+
import '../Link_es_XiqbdwLp.js';
|
|
26
|
+
import '../Text_es_CwV9rjFD.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../
|
|
1
|
+
export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Icon_es_Cstv1LFr.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -22,5 +22,5 @@ import '../hooks.js';
|
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
23
|
import '../hooks/useStyles/useStyles.js';
|
|
24
24
|
import 'lodash/maxBy';
|
|
25
|
-
import '../
|
|
26
|
-
import '../
|
|
25
|
+
import '../Link_es_XiqbdwLp.js';
|
|
26
|
+
import '../Text_es_CwV9rjFD.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, Fragment } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { I as Icon } from '../
|
|
5
|
-
import { T as Text } from '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_Cstv1LFr.js';
|
|
5
|
+
import { T as Text } from '../Text_es_CwV9rjFD.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
@@ -12,7 +12,7 @@ import 'react-inlinesvg';
|
|
|
12
12
|
import '../hoc/urlWithAssetPrefix.js';
|
|
13
13
|
import '@itcase/common';
|
|
14
14
|
import '../context/UrlAssetPrefix.js';
|
|
15
|
-
import '../
|
|
15
|
+
import '../Link_es_XiqbdwLp.js';
|
|
16
16
|
import 'lodash/camelCase';
|
|
17
17
|
import 'lodash/castArray';
|
|
18
18
|
import 'lodash/upperFirst';
|
|
@@ -41,14 +41,7 @@
|
|
|
41
41
|
display: flex;
|
|
42
42
|
flex: 1;
|
|
43
43
|
z-index: 1;
|
|
44
|
-
|
|
45
|
-
&_rounded {
|
|
46
|
-
border-radius: 4px;
|
|
47
|
-
}
|
|
48
|
-
&_circular {
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
44
|
+
transition: var(--checkbox-item-transition);
|
|
52
45
|
}
|
|
53
46
|
^&__state-checkmark {
|
|
54
47
|
width: 5px;
|
|
@@ -116,43 +109,465 @@
|
|
|
116
109
|
}
|
|
117
110
|
}
|
|
118
111
|
}
|
|
119
|
-
.
|
|
120
|
-
&
|
|
121
|
-
&
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
112
|
+
.checkbox_fill {
|
|
113
|
+
&_active {
|
|
114
|
+
&_hover {
|
|
115
|
+
&_none {
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
}
|
|
118
|
+
@each $type in accent, primary, secondary, surface, error, warning,
|
|
119
|
+
success, danger, info, disabled {
|
|
120
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
121
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
122
|
+
&_$(type) {
|
|
123
|
+
&-$(color) {
|
|
124
|
+
&:hover {
|
|
125
|
+
& .checkbox__state {
|
|
126
|
+
background: var(--color-$(type)-fill-$(color));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
&-hover {
|
|
130
|
+
&:hover {
|
|
131
|
+
& .checkbox__state {
|
|
132
|
+
background: var(--color-$(type)-fill-$(color)-hover);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
&-active {
|
|
136
|
+
&:hover {
|
|
137
|
+
& .checkbox__state {
|
|
138
|
+
background: var(
|
|
139
|
+
--color-$(type)-fill-$(color)-active-hover
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
&-active {
|
|
146
|
+
&:hover {
|
|
147
|
+
& .checkbox__state {
|
|
148
|
+
background: var(--color-$(type)-fill-$(color)-active);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
&-hover {
|
|
154
|
+
&-$(color) {
|
|
155
|
+
&:hover {
|
|
156
|
+
& .checkbox__state {
|
|
157
|
+
background: var(--color-$(type)-fill-hover-$(color));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* } */
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
168
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum,
|
|
169
|
+
orange, clementine, apricot, papaya, kumquat, light-orange, peach,
|
|
170
|
+
flamingo, rose-gold, pink-sand, vintage-rose, grapefruit, cream,
|
|
171
|
+
mellow-yellow, canary-yellow, pollen, flash-light, lemon-cream, flash,
|
|
172
|
+
dark-green, green, spearmint, mint, beryl, sea-foam, turquoise, blue,
|
|
173
|
+
light-blue, cerulean, surf-blue, pacific-green, blue-cobalt, dark-teal,
|
|
174
|
+
blue-horizon, denim-blue, linen-blue, deep-navy, midnight-blue, purple,
|
|
175
|
+
ultra-violet, lilac, ocean-blue, delft-blue, indigo, lavender-gray,
|
|
176
|
+
lavender, mist-blue, storm-gray, cactus, pine-green, cyprus-green,
|
|
177
|
+
northern-blue, azure, alaskan-blue, khaki, dark-olive, soft-white,
|
|
178
|
+
antique-white, yellow-gold, gold, camel, walnut, stone, pebble, cocoa,
|
|
179
|
+
coastal-gray, white, black, alto, athens-gray, sonic-silver {
|
|
180
|
+
&_$(palette) {
|
|
181
|
+
&:hover {
|
|
182
|
+
& .checkbox__state {
|
|
183
|
+
background: var(--color-palette-$(palette));
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
.checkbox_fill {
|
|
192
|
+
&_active {
|
|
193
|
+
&_none {
|
|
194
|
+
background-color: transparent;
|
|
195
|
+
}
|
|
196
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
197
|
+
danger, info, disabled {
|
|
198
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
199
|
+
&_$(type) {
|
|
200
|
+
&-$(color) {
|
|
201
|
+
& .checkbox__state {
|
|
202
|
+
background: var(--color-$(type)-fill-$(color));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
&-$(color)-active {
|
|
206
|
+
& .checkbox__state {
|
|
207
|
+
background: var(--color-$(type)-fill-active-$(color));
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
214
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
215
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
216
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
217
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
218
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
|
|
219
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
220
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
221
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
222
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
223
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
224
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
225
|
+
alto, athens-gray, sonic-silver {
|
|
226
|
+
&_$(palette) {
|
|
227
|
+
& .checkbox__state {
|
|
228
|
+
background: var(--color-palette-$(palette));
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
.checkbox_fill {
|
|
235
|
+
&_hover {
|
|
236
|
+
&_none {
|
|
237
|
+
background-color: transparent;
|
|
238
|
+
}
|
|
239
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
240
|
+
danger, info, disabled {
|
|
241
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
242
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
243
|
+
&_$(type) {
|
|
244
|
+
&-$(color) {
|
|
245
|
+
&:hover {
|
|
246
|
+
& .checkbox__state {
|
|
247
|
+
background: var(--color-$(type)-fill-$(color));
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
&-hover {
|
|
251
|
+
&:hover {
|
|
252
|
+
& .checkbox__state {
|
|
253
|
+
background: var(--color-$(type)-fill-$(color)-hover);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
&-hover {
|
|
259
|
+
&-$(color) {
|
|
260
|
+
&:hover {
|
|
261
|
+
& .checkbox__state {
|
|
262
|
+
background: var(--color-$(type)-fill-hover-$(color));
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* } */
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
273
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
274
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
275
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
276
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
277
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
|
|
278
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
279
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
280
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
281
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
282
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
283
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
284
|
+
alto, athens-gray, sonic-silver {
|
|
285
|
+
&_$(palette) {
|
|
286
|
+
&:hover {
|
|
287
|
+
& .checkbox__state {
|
|
288
|
+
background: var(--color-palette-$(palette));
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
.checkbox_fill {
|
|
296
|
+
&_none {
|
|
297
|
+
background-color: transparent;
|
|
298
|
+
}
|
|
299
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
300
|
+
danger, info, disabled {
|
|
301
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
302
|
+
/* @each $alpha in 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 { */
|
|
303
|
+
&_$(type) {
|
|
304
|
+
&-$(color) {
|
|
305
|
+
& .checkbox__state {
|
|
306
|
+
background: var(--color-$(type)-fill-$(color));
|
|
307
|
+
}
|
|
308
|
+
/* &$(alpha) {
|
|
309
|
+
background: var(--color-$(type)-$(color)-$(alpha));
|
|
310
|
+
} */
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
/* } */
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
|
|
317
|
+
pomegranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
|
|
318
|
+
apricot, papaya, kumquat, light-orange, peach, flamingo, rose-gold,
|
|
319
|
+
pink-sand, vintage-rose, grapefruit, cream, mellow-yellow, canary-yellow,
|
|
320
|
+
pollen, flash-light, lemon-cream, flash, dark-green, green, spearmint, mint,
|
|
321
|
+
beryl, sea-foam, turquoise, blue, light-blue, cerulean, surf-blue,
|
|
322
|
+
pacific-green, blue-cobalt, dark-teal, blue-horizon, denim-blue, linen-blue,
|
|
323
|
+
deep-navy, midnight-blue, purple, ultra-violet, lilac, ocean-blue,
|
|
324
|
+
delft-blue, indigo, lavender-gray, lavender, mist-blue, storm-gray, cactus,
|
|
325
|
+
pine-green, cyprus-green, northern-blue, azure, alaskan-blue, khaki,
|
|
326
|
+
dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
|
|
327
|
+
stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
|
|
328
|
+
sonic-silver {
|
|
329
|
+
&_$(palette) {
|
|
330
|
+
& .checkbox__state {
|
|
331
|
+
background: var(--color-palette-$(palette));
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
.checkbox_border-color {
|
|
337
|
+
&_active {
|
|
338
|
+
&_none {
|
|
339
|
+
border-width: 1px;
|
|
340
|
+
border-color: transparent;
|
|
341
|
+
border-style: solid;
|
|
342
|
+
}
|
|
343
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
344
|
+
danger, info, disabled {
|
|
345
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
346
|
+
&_$(type) {
|
|
347
|
+
&-border {
|
|
348
|
+
&-$(color) {
|
|
349
|
+
&:hover {
|
|
350
|
+
& .checkbox__state {
|
|
351
|
+
border-width: 1px;
|
|
352
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
353
|
+
border-style: solid;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
362
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
363
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
364
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
365
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
366
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
|
|
367
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
368
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
369
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
370
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
371
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
372
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
373
|
+
alto, athens-gray, sonic-silver {
|
|
374
|
+
&_$(palette) {
|
|
375
|
+
&:hover {
|
|
376
|
+
& .checkbox__state {
|
|
377
|
+
border-width: 1px;
|
|
378
|
+
border-color: var(--color-palette-$(palette));
|
|
379
|
+
border-style: solid;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
.checkbox_border-color {
|
|
387
|
+
&_active {
|
|
388
|
+
&_none {
|
|
389
|
+
border-width: 1px;
|
|
390
|
+
border-color: transparent;
|
|
391
|
+
border-style: solid;
|
|
392
|
+
}
|
|
393
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
394
|
+
danger, info, disabled {
|
|
395
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
396
|
+
&_$(type) {
|
|
397
|
+
&-border {
|
|
398
|
+
&-$(color) {
|
|
399
|
+
& .checkbox__state {
|
|
400
|
+
border-width: 1px;
|
|
401
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
402
|
+
border-style: solid;
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
410
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
411
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
412
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
413
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
414
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
|
|
415
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
416
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
417
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
418
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
419
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
420
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
421
|
+
alto, athens-gray, sonic-silver {
|
|
422
|
+
&_$(palette) {
|
|
423
|
+
& .checkbox__state {
|
|
424
|
+
border-width: 1px;
|
|
425
|
+
border-color: var(--color-palette-$(palette));
|
|
426
|
+
border-style: solid;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
.checkboxborder-color {
|
|
433
|
+
&_hover {
|
|
434
|
+
&_none {
|
|
435
|
+
border-width: 1px;
|
|
436
|
+
border-color: transparent;
|
|
437
|
+
border-style: solid;
|
|
438
|
+
}
|
|
439
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
440
|
+
danger, info, disabled {
|
|
441
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
442
|
+
&_$(type) {
|
|
443
|
+
&-border {
|
|
444
|
+
&-$(color) {
|
|
445
|
+
&:hover {
|
|
446
|
+
& .checkbox_state {
|
|
447
|
+
border-width: 1px;
|
|
448
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
449
|
+
border-style: solid;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
&-hover {
|
|
453
|
+
&:hover {
|
|
454
|
+
& .checkbox_state {
|
|
455
|
+
border-width: 1px;
|
|
456
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
457
|
+
border-style: solid;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink,
|
|
467
|
+
pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
|
|
468
|
+
clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
|
|
469
|
+
rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
|
|
470
|
+
canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
|
|
471
|
+
spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
|
|
472
|
+
surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
|
|
473
|
+
denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
|
|
474
|
+
lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
|
|
475
|
+
storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
|
|
476
|
+
alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
|
|
477
|
+
gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
|
|
478
|
+
alto, athens-gray, sonic-silver {
|
|
479
|
+
&_$(palette) {
|
|
480
|
+
&:hover {
|
|
481
|
+
& .checkbox_state {
|
|
482
|
+
border-width: 1px;
|
|
483
|
+
border-color: var(--color-palette-$(palette));
|
|
484
|
+
border-style: solid;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
&-hover {
|
|
488
|
+
&:hover {
|
|
489
|
+
& .checkbox_state {
|
|
490
|
+
border-width: 1px;
|
|
491
|
+
border-color: var(--color-palette-$(palette));
|
|
492
|
+
border-style: solid;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
.checkbox_border-color {
|
|
501
|
+
&_none {
|
|
502
|
+
border-width: 1px;
|
|
503
|
+
border-color: transparent;
|
|
504
|
+
border-style: solid;
|
|
505
|
+
}
|
|
506
|
+
@each $type in accent, primary, secondary, surface, error, warning, success,
|
|
507
|
+
danger, info, disabled {
|
|
508
|
+
@each $color in primary, secondary, tertiary, quaternary {
|
|
509
|
+
&_$(type) {
|
|
510
|
+
&-border {
|
|
511
|
+
&-$(color) {
|
|
512
|
+
& .checkbox__state {
|
|
513
|
+
border-width: 1px;
|
|
514
|
+
border-color: var(--color-$(type)-border-$(color));
|
|
515
|
+
border-style: solid;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
@each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
|
|
523
|
+
pomegranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
|
|
524
|
+
apricot, papaya, kumquat, light-orange, peach, flamingo, rose-gold,
|
|
525
|
+
pink-sand, vintage-rose, grapefruit, cream, mellow-yellow, canary-yellow,
|
|
526
|
+
pollen, flash-light, lemon-cream, flash, dark-green, green, spearmint, mint,
|
|
527
|
+
beryl, sea-foam, turquoise, blue, light-blue, cerulean, surf-blue,
|
|
528
|
+
pacific-green, blue-cobalt, dark-teal, blue-horizon, denim-blue, linen-blue,
|
|
529
|
+
deep-navy, midnight-blue, purple, ultra-violet, lilac, ocean-blue,
|
|
530
|
+
delft-blue, indigo, lavender-gray, lavender, mist-blue, storm-gray, cactus,
|
|
531
|
+
pine-green, cyprus-green, northern-blue, azure, alaskan-blue, khaki,
|
|
532
|
+
dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
|
|
533
|
+
stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
|
|
534
|
+
sonic-silver {
|
|
535
|
+
&_$(palette) {
|
|
536
|
+
& .checkbox__state {
|
|
537
|
+
border-width: 1px;
|
|
538
|
+
border-color: var(--color-palette-$(palette));
|
|
539
|
+
border-style: solid;
|
|
540
|
+
}
|
|
125
541
|
}
|
|
126
542
|
}
|
|
127
543
|
}
|
|
128
544
|
:root {
|
|
129
545
|
--checkbox-column-gap: 12px;
|
|
130
546
|
--checkbox-row-gap: 4px;
|
|
131
|
-
|
|
132
|
-
--checkbox-
|
|
133
|
-
--checkbox-focus-border: var(--color-surface-border-quaternary);
|
|
547
|
+
|
|
548
|
+
--checkbox-item-transition: all 0.3s ease 0s;
|
|
134
549
|
|
|
135
550
|
--checkbox-area-xl-width: 24px;
|
|
136
551
|
--checkbox-area-xl-height: 24px;
|
|
137
|
-
--checkbox-xl-width:
|
|
138
|
-
--checkbox-xl-height:
|
|
552
|
+
--checkbox-xl-width: 22px;
|
|
553
|
+
--checkbox-xl-height: 22px;
|
|
139
554
|
--checkbox-xl-gap: 0 2px;
|
|
140
555
|
|
|
141
556
|
--checkbox-area-l-width: 20px;
|
|
142
557
|
--checkbox-area-l-height: 20px;
|
|
143
|
-
--checkbox-l-width:
|
|
144
|
-
--checkbox-l-height:
|
|
558
|
+
--checkbox-l-width: 18px;
|
|
559
|
+
--checkbox-l-height: 18px;
|
|
145
560
|
--checkbox-l-gap: 0 2px;
|
|
146
561
|
|
|
147
562
|
--checkbox-area-m-width: 16px;
|
|
148
563
|
--checkbox-area-m-height: 16px;
|
|
149
|
-
--checkbox-m-width:
|
|
150
|
-
--checkbox-m-height:
|
|
564
|
+
--checkbox-m-width: 14px;
|
|
565
|
+
--checkbox-m-height: 14px;
|
|
151
566
|
--checkbox-m-gap: 0 2px;
|
|
152
567
|
|
|
153
568
|
--checkbox-area-s-width: 14px;
|
|
154
569
|
--checkbox-area-s-height: 14px;
|
|
155
|
-
--checkbox-s-width:
|
|
156
|
-
--checkbox-s-height:
|
|
570
|
+
--checkbox-s-width: 12px;
|
|
571
|
+
--checkbox-s-height: 12px;
|
|
157
572
|
--checkbox-s-gap: 0 2px;
|
|
158
573
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
margin: 2px 0;
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
5
|
-
|
|
6
5
|
/*
|
|
7
6
|
&:not(:last-child) {
|
|
8
7
|
border-right: var(--chioce-item-border-right);
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
width: 100%;
|
|
24
23
|
text-align: center;
|
|
25
24
|
position: relative;
|
|
25
|
+
justify-content: center;
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
z-index: 3;
|
|
@@ -47,6 +47,11 @@
|
|
|
47
47
|
&_$(size) {
|
|
48
48
|
min-height: var(--choice-item-$(size)-min-height);
|
|
49
49
|
padding: var(--choice-item-$(size)-padding);
|
|
50
|
+
&^^&_icon {
|
|
51
|
+
width: var(--choice-item-icon-$(size)-width);
|
|
52
|
+
height: var(--choice-item-icon-$(size)-height);
|
|
53
|
+
padding: 0;
|
|
54
|
+
}
|
|
50
55
|
^^&-label {
|
|
51
56
|
gap: var(--choice-item-$(size)-gap);
|
|
52
57
|
}
|
|
@@ -156,12 +161,18 @@
|
|
|
156
161
|
--choice-item-l-padding: 0px 12px;
|
|
157
162
|
--choice-item-l-min-height: 44px;
|
|
158
163
|
--choice-item-l-gap: 8px;
|
|
164
|
+
--choice-item-icon-l-width: 44px;
|
|
165
|
+
--choice-item-icon-l-height: 44px;
|
|
159
166
|
|
|
160
167
|
--choice-item-m-padding: 0px 12px;
|
|
161
168
|
--choice-item-m-min-height: 36px;
|
|
162
169
|
--choice-item-m-gap: 8px;
|
|
170
|
+
--choice-item-icon-m-width: 36px;
|
|
171
|
+
--choice-item-icon-m-height: 36px;
|
|
163
172
|
|
|
164
173
|
--choice-item-s-padding: 0px 6px;
|
|
165
174
|
--choice-item-s-min-height: 24px;
|
|
166
175
|
--choice-item-s-gap: 8px;
|
|
176
|
+
--choice-item-icon-s-width: 24px;
|
|
177
|
+
--choice-item-icon-s-height: 24px;
|
|
167
178
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
margin: 2px 0;
|
|
3
3
|
position: relative;
|
|
4
4
|
display: flex;
|
|
5
|
-
|
|
6
5
|
/*
|
|
7
6
|
&:not(:last-child) {
|
|
8
7
|
border-right: var(--chioce-item-border-right);
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
width: 100%;
|
|
24
23
|
text-align: center;
|
|
25
24
|
position: relative;
|
|
25
|
+
justify-content: center;
|
|
26
26
|
display: flex;
|
|
27
27
|
align-items: center;
|
|
28
28
|
z-index: 3;
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
&_$(size) {
|
|
5
5
|
min-height: var(--choice-item-$(size)-min-height);
|
|
6
6
|
padding: var(--choice-item-$(size)-padding);
|
|
7
|
+
&^^&_icon {
|
|
8
|
+
width: var(--choice-item-icon-$(size)-width);
|
|
9
|
+
height: var(--choice-item-icon-$(size)-height);
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
7
12
|
^^&-label {
|
|
8
13
|
gap: var(--choice-item-$(size)-gap);
|
|
9
14
|
}
|