@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
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
outline: 0;
|
|
15
15
|
resize: none;
|
|
16
16
|
appearance: none;
|
|
17
|
+
transition: var(--textarea-transition);
|
|
17
18
|
&:read-only {
|
|
18
19
|
color: var(--color-surface-text-tertiary);
|
|
19
20
|
}
|
|
@@ -43,15 +44,15 @@
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
:root {
|
|
46
|
-
--textarea-shape-rounded: 8px;
|
|
47
|
-
--textarea-size-m-padding: 8px 12px;
|
|
48
47
|
--textarea-min-height: 80px;
|
|
49
48
|
--textarea-max-height: 80px;
|
|
50
49
|
--textarea-success-border: var(--color-surface-border-tertiary);
|
|
51
50
|
|
|
51
|
+
--textarea-transition: all 0.3s ease 0s;
|
|
52
|
+
|
|
52
53
|
/* Size */
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
--textarea-size-xl-padding: 17px 25px;
|
|
55
|
+
--textarea-size-l-padding: 13px 20px;
|
|
56
|
+
--textarea-size-m-padding: 8px 12px;
|
|
57
|
+
--textarea-size-s-padding: 7px 12px;
|
|
57
58
|
}
|
|
@@ -805,7 +805,6 @@ div.alignment {
|
|
|
805
805
|
&-item {
|
|
806
806
|
&-$(color) {
|
|
807
807
|
background: var(--color-$(type)-item-$(color));
|
|
808
|
-
|
|
809
808
|
/* &$(alpha) {
|
|
810
809
|
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
811
810
|
} */
|
|
@@ -813,13 +812,11 @@ div.alignment {
|
|
|
813
812
|
}
|
|
814
813
|
&-$(color) {
|
|
815
814
|
background: var(--color-$(type)-fill-$(color));
|
|
816
|
-
|
|
817
815
|
/* &$(alpha) {
|
|
818
816
|
background: var(--color-$(type)-$(color)-$(alpha));
|
|
819
817
|
} */
|
|
820
818
|
}
|
|
821
819
|
}
|
|
822
|
-
|
|
823
820
|
/* } */
|
|
824
821
|
}
|
|
825
822
|
}
|
|
@@ -1356,7 +1353,7 @@ div.alignment {
|
|
|
1356
1353
|
.text_align {
|
|
1357
1354
|
@each $align in left, center, right {
|
|
1358
1355
|
&_$(align) {
|
|
1359
|
-
text-align: (
|
|
1356
|
+
text-align: $(align);
|
|
1360
1357
|
}
|
|
1361
1358
|
}
|
|
1362
1359
|
}
|
|
@@ -1572,49 +1569,42 @@ div.alignment {
|
|
|
1572
1569
|
}
|
|
1573
1570
|
}
|
|
1574
1571
|
/* stylelint-disable order/order */
|
|
1575
|
-
span
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1572
|
+
@each $selector in div, span, li {
|
|
1573
|
+
.text,
|
|
1574
|
+
$(selector).text {
|
|
1575
|
+
&-weight {
|
|
1576
|
+
@each $val in 100, 200, 300, 400, 500, 600, 700, 800, 900 {
|
|
1577
|
+
&_$(val) {
|
|
1578
|
+
font-weight: $(val);
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
&_thin {
|
|
1582
|
+
font-weight: 100;
|
|
1583
|
+
}
|
|
1584
|
+
&_extra-light {
|
|
1585
|
+
font-weight: 200;
|
|
1586
|
+
}
|
|
1587
|
+
&_light {
|
|
1588
|
+
font-weight: 300;
|
|
1589
|
+
}
|
|
1590
|
+
&_normal {
|
|
1591
|
+
font-weight: 400;
|
|
1592
|
+
}
|
|
1593
|
+
&_medium {
|
|
1594
|
+
font-weight: 500;
|
|
1595
|
+
}
|
|
1596
|
+
&_semi-bold {
|
|
1597
|
+
font-weight: 600;
|
|
1598
|
+
}
|
|
1599
|
+
&_bold {
|
|
1600
|
+
font-weight: 700;
|
|
1601
|
+
}
|
|
1602
|
+
&_extra-bold {
|
|
1603
|
+
font-weight: 800;
|
|
1604
|
+
}
|
|
1605
|
+
&_black {
|
|
1606
|
+
font-weight: 900;
|
|
1581
1607
|
}
|
|
1582
|
-
}
|
|
1583
|
-
&_thin {
|
|
1584
|
-
font-weight: 100;
|
|
1585
|
-
}
|
|
1586
|
-
&_extra-light,
|
|
1587
|
-
&_extralight,
|
|
1588
|
-
&_ultra-light,
|
|
1589
|
-
&_ultralight {
|
|
1590
|
-
font-weight: 200;
|
|
1591
|
-
}
|
|
1592
|
-
&_light {
|
|
1593
|
-
font-weight: 300;
|
|
1594
|
-
}
|
|
1595
|
-
&_normal {
|
|
1596
|
-
font-weight: 400;
|
|
1597
|
-
}
|
|
1598
|
-
&_medium {
|
|
1599
|
-
font-weight: 500;
|
|
1600
|
-
}
|
|
1601
|
-
&_semibold,
|
|
1602
|
-
&_semi-bold,
|
|
1603
|
-
&_demi-bold {
|
|
1604
|
-
font-weight: 600;
|
|
1605
|
-
}
|
|
1606
|
-
&_bold {
|
|
1607
|
-
font-weight: 700;
|
|
1608
|
-
}
|
|
1609
|
-
&_extrabold,
|
|
1610
|
-
&_extra-bold,
|
|
1611
|
-
&_ultrabold,
|
|
1612
|
-
&_ultra-bold {
|
|
1613
|
-
font-weight: 800;
|
|
1614
|
-
}
|
|
1615
|
-
&_black,
|
|
1616
|
-
&_heavy {
|
|
1617
|
-
font-weight: 900;
|
|
1618
1608
|
}
|
|
1619
1609
|
}
|
|
1620
1610
|
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
&-item {
|
|
13
13
|
&-$(color) {
|
|
14
14
|
background: var(--color-$(type)-item-$(color));
|
|
15
|
-
|
|
16
15
|
/* &$(alpha) {
|
|
17
16
|
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
18
17
|
} */
|
|
@@ -20,13 +19,11 @@
|
|
|
20
19
|
}
|
|
21
20
|
&-$(color) {
|
|
22
21
|
background: var(--color-$(type)-fill-$(color));
|
|
23
|
-
|
|
24
22
|
/* &$(alpha) {
|
|
25
23
|
background: var(--color-$(type)-$(color)-$(alpha));
|
|
26
24
|
} */
|
|
27
25
|
}
|
|
28
26
|
}
|
|
29
|
-
|
|
30
27
|
/* } */
|
|
31
28
|
}
|
|
32
29
|
}
|
|
@@ -1,48 +1,41 @@
|
|
|
1
1
|
/* stylelint-disable order/order */
|
|
2
2
|
|
|
3
|
-
span
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
@each $selector in div, span, li {
|
|
4
|
+
.text,
|
|
5
|
+
$(selector).text {
|
|
6
|
+
&-weight {
|
|
7
|
+
@each $val in 100, 200, 300, 400, 500, 600, 700, 800, 900 {
|
|
8
|
+
&_$(val) {
|
|
9
|
+
font-weight: $(val);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
&_thin {
|
|
13
|
+
font-weight: 100;
|
|
14
|
+
}
|
|
15
|
+
&_extra-light {
|
|
16
|
+
font-weight: 200;
|
|
17
|
+
}
|
|
18
|
+
&_light {
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
}
|
|
21
|
+
&_normal {
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
}
|
|
24
|
+
&_medium {
|
|
25
|
+
font-weight: 500;
|
|
26
|
+
}
|
|
27
|
+
&_semi-bold {
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
}
|
|
30
|
+
&_bold {
|
|
31
|
+
font-weight: 700;
|
|
32
|
+
}
|
|
33
|
+
&_extra-bold {
|
|
34
|
+
font-weight: 800;
|
|
35
|
+
}
|
|
36
|
+
&_black {
|
|
37
|
+
font-weight: 900;
|
|
9
38
|
}
|
|
10
|
-
}
|
|
11
|
-
&_thin {
|
|
12
|
-
font-weight: 100;
|
|
13
|
-
}
|
|
14
|
-
&_extra-light,
|
|
15
|
-
&_extralight,
|
|
16
|
-
&_ultra-light,
|
|
17
|
-
&_ultralight {
|
|
18
|
-
font-weight: 200;
|
|
19
|
-
}
|
|
20
|
-
&_light {
|
|
21
|
-
font-weight: 300;
|
|
22
|
-
}
|
|
23
|
-
&_normal {
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
}
|
|
26
|
-
&_medium {
|
|
27
|
-
font-weight: 500;
|
|
28
|
-
}
|
|
29
|
-
&_semibold,
|
|
30
|
-
&_semi-bold,
|
|
31
|
-
&_demi-bold {
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
}
|
|
34
|
-
&_bold {
|
|
35
|
-
font-weight: 700;
|
|
36
|
-
}
|
|
37
|
-
&_extrabold,
|
|
38
|
-
&_extra-bold,
|
|
39
|
-
&_ultrabold,
|
|
40
|
-
&_ultra-bold {
|
|
41
|
-
font-weight: 800;
|
|
42
|
-
}
|
|
43
|
-
&_black,
|
|
44
|
-
&_heavy {
|
|
45
|
-
font-weight: 900;
|
|
46
39
|
}
|
|
47
40
|
}
|
|
48
41
|
}
|
|
@@ -3,19 +3,23 @@ import { useMemo } from 'react';
|
|
|
3
3
|
|
|
4
4
|
var useAppearanceConfig = function (appearance, componentConfig, isDisabled) {
|
|
5
5
|
var appearanceConfig = useMemo(function () {
|
|
6
|
-
var _a, _b, _c;
|
|
6
|
+
var _a, _b, _c, _d, _e, _f;
|
|
7
7
|
if (appearance) {
|
|
8
8
|
var appearanceProps = appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
9
9
|
var _a;
|
|
10
10
|
return (__assign(__assign({}, resultConfig), (_a = componentConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
11
11
|
}, {});
|
|
12
|
-
if (isDisabled &&
|
|
13
|
-
|
|
12
|
+
if (isDisabled &&
|
|
13
|
+
(((_a = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _a === void 0 ? void 0 : _a.disabled) ||
|
|
14
|
+
((_b = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _b === void 0 ? void 0 : _b.disabledPrimary))) {
|
|
15
|
+
Object.assign(appearanceProps, ((_c = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _c === void 0 ? void 0 : _c.disabled) ||
|
|
16
|
+
((_d = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _d === void 0 ? void 0 : _d.disabledPrimary));
|
|
14
17
|
}
|
|
15
18
|
return appearanceProps;
|
|
16
19
|
}
|
|
17
20
|
if (isDisabled) {
|
|
18
|
-
return (
|
|
21
|
+
return (((_e = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _e === void 0 ? void 0 : _e.disabled) ||
|
|
22
|
+
((_f = componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance) === null || _f === void 0 ? void 0 : _f.disabledPrimary));
|
|
19
23
|
}
|
|
20
24
|
return {};
|
|
21
25
|
}, [appearance, componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.appearance, isDisabled]);
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
declare const checkboxAppearanceStyle: {
|
|
2
2
|
solid: {
|
|
3
3
|
borderColorCheckbox: string;
|
|
4
|
-
|
|
4
|
+
borderColorCheckboxActive: string;
|
|
5
|
+
borderColorCheckboxActiveHover: string;
|
|
6
|
+
borderColorCheckboxHover: string;
|
|
5
7
|
};
|
|
6
8
|
outlined: {
|
|
7
9
|
fill: string;
|
|
10
|
+
fillHover: string;
|
|
8
11
|
};
|
|
9
12
|
full: {};
|
|
10
13
|
ghost: {
|
|
11
14
|
fill: string;
|
|
15
|
+
fillHover: string;
|
|
12
16
|
borderColorCheckbox: string;
|
|
13
|
-
|
|
17
|
+
borderColorCheckboxActive: string;
|
|
18
|
+
borderColorCheckboxActiveHover: string;
|
|
19
|
+
borderColorCheckboxHover: string;
|
|
14
20
|
};
|
|
15
21
|
};
|
|
16
22
|
export { checkboxAppearanceStyle };
|
|
@@ -3,8 +3,10 @@ declare const choiceAppearanceDisabled: {
|
|
|
3
3
|
fill: string;
|
|
4
4
|
fillItem: string;
|
|
5
5
|
fillItemActive: string;
|
|
6
|
-
|
|
6
|
+
fillItemActiveHover: string;
|
|
7
|
+
fillItemHover: string;
|
|
7
8
|
labelTextColor: string;
|
|
9
|
+
labelTextActiveColor: string;
|
|
8
10
|
borderColor: string;
|
|
9
11
|
iconAfterFill: string;
|
|
10
12
|
iconAfterFillActive: string;
|
|
@@ -27,6 +27,7 @@ export interface CodeProps extends CodeThemeColor, StyleAttributes {
|
|
|
27
27
|
before?: ReactNode;
|
|
28
28
|
className?: string;
|
|
29
29
|
gap?: string;
|
|
30
|
+
initialValue?: string;
|
|
30
31
|
inputAutoFocus?: boolean;
|
|
31
32
|
inputBorderColor?: BorderColorProps;
|
|
32
33
|
inputBorderColorHover?: BorderColorHoverProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const inputAppearanceDefault: {
|
|
2
2
|
defaultPrimary: {
|
|
3
3
|
fill: string;
|
|
4
|
-
|
|
4
|
+
fillHover: string;
|
|
5
5
|
borderColor: string;
|
|
6
6
|
borderColorHover: string;
|
|
7
7
|
textColor: string;
|
|
@@ -12,7 +12,7 @@ declare const inputAppearanceDefault: {
|
|
|
12
12
|
};
|
|
13
13
|
defaultSecondary: {
|
|
14
14
|
fill: string;
|
|
15
|
-
|
|
15
|
+
fillHover: string;
|
|
16
16
|
borderColor: string;
|
|
17
17
|
borderColorHover: string;
|
|
18
18
|
textColor: string;
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
export declare const radioAppearance: {
|
|
2
2
|
solid: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillHover: string;
|
|
3
5
|
borderColor: string;
|
|
6
|
+
borderColorHover: string;
|
|
7
|
+
borderRadioColor: string;
|
|
8
|
+
borderRadioColorActive: string;
|
|
9
|
+
borderRadioColorActiveHover: string;
|
|
10
|
+
borderRadioColorHover: string;
|
|
4
11
|
};
|
|
5
12
|
outlined: {
|
|
6
13
|
fill: string;
|
|
14
|
+
fillHover: string;
|
|
7
15
|
};
|
|
8
16
|
full: {};
|
|
9
17
|
ghost: {
|
|
10
18
|
fill: string;
|
|
19
|
+
fillHover: string;
|
|
11
20
|
borderColor: string;
|
|
21
|
+
borderColorHover: string;
|
|
12
22
|
};
|
|
13
23
|
circular: {
|
|
14
24
|
shape: string;
|
|
@@ -16,19 +26,19 @@ export declare const radioAppearance: {
|
|
|
16
26
|
rounded: {
|
|
17
27
|
shape: string;
|
|
18
28
|
};
|
|
19
|
-
|
|
29
|
+
roundedXL: {
|
|
20
30
|
shape: string;
|
|
21
31
|
shapeStrength: string;
|
|
22
32
|
};
|
|
23
|
-
|
|
33
|
+
roundedL: {
|
|
24
34
|
shape: string;
|
|
25
35
|
shapeStrength: string;
|
|
26
36
|
};
|
|
27
|
-
|
|
37
|
+
roundedM: {
|
|
28
38
|
shape: string;
|
|
29
39
|
shapeStrength: string;
|
|
30
40
|
};
|
|
31
|
-
|
|
41
|
+
roundedS: {
|
|
32
42
|
shape: string;
|
|
33
43
|
shapeStrength: string;
|
|
34
44
|
};
|
|
@@ -53,8 +63,10 @@ export declare const radioAppearance: {
|
|
|
53
63
|
labelTextColor: string;
|
|
54
64
|
descTextColor: string;
|
|
55
65
|
borderColor: string;
|
|
56
|
-
|
|
57
|
-
|
|
66
|
+
borderRadioColor: string;
|
|
67
|
+
borderRadioColorHover: string;
|
|
68
|
+
borderRadioColorActive: string;
|
|
69
|
+
borderRadioColorActiveHover: string;
|
|
58
70
|
};
|
|
59
71
|
requirePrimary: {
|
|
60
72
|
fill: string;
|
|
@@ -62,8 +74,10 @@ export declare const radioAppearance: {
|
|
|
62
74
|
labelTextColor: string;
|
|
63
75
|
descTextColor: string;
|
|
64
76
|
borderColor: string;
|
|
65
|
-
|
|
66
|
-
|
|
77
|
+
borderRadioColor: string;
|
|
78
|
+
borderRadioColorHover: string;
|
|
79
|
+
borderRadioColorActive: string;
|
|
80
|
+
borderRadioColorActiveHover: string;
|
|
67
81
|
};
|
|
68
82
|
successPrimary: {
|
|
69
83
|
fill: string;
|
|
@@ -71,8 +85,10 @@ export declare const radioAppearance: {
|
|
|
71
85
|
labelTextColor: string;
|
|
72
86
|
descTextColor: string;
|
|
73
87
|
borderColor: string;
|
|
74
|
-
|
|
75
|
-
|
|
88
|
+
borderRadioColor: string;
|
|
89
|
+
borderRadioColorHover: string;
|
|
90
|
+
borderRadioColorActive: string;
|
|
91
|
+
borderRadioColorActiveHover: string;
|
|
76
92
|
};
|
|
77
93
|
errorPrimary: {
|
|
78
94
|
fill: string;
|
|
@@ -80,19 +96,24 @@ export declare const radioAppearance: {
|
|
|
80
96
|
labelTextColor: string;
|
|
81
97
|
descTextColor: string;
|
|
82
98
|
borderColor: string;
|
|
83
|
-
|
|
84
|
-
|
|
99
|
+
borderRadioColor: string;
|
|
100
|
+
borderRadioColorHover: string;
|
|
101
|
+
borderRadioColorActive: string;
|
|
102
|
+
borderRadioColorActiveHover: string;
|
|
85
103
|
};
|
|
86
104
|
defaultPrimary: {
|
|
87
105
|
fill: string;
|
|
88
106
|
fillCheckmark: string;
|
|
89
107
|
fillDisabled: string;
|
|
90
|
-
|
|
108
|
+
fillRadio: string;
|
|
109
|
+
fillRadioHover: string;
|
|
91
110
|
labelTextColor: string;
|
|
92
111
|
descTextColor: string;
|
|
93
112
|
borderColor: string;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
113
|
+
borderRadioColor: string;
|
|
114
|
+
borderRadioColorActive: string;
|
|
115
|
+
borderRadioColorActiveHover: string;
|
|
116
|
+
borderRadioColorHover: string;
|
|
117
|
+
shape: string;
|
|
97
118
|
};
|
|
98
119
|
};
|
|
@@ -3,13 +3,16 @@ declare const radioAppearanceDefault: {
|
|
|
3
3
|
fill: string;
|
|
4
4
|
fillCheckmark: string;
|
|
5
5
|
fillDisabled: string;
|
|
6
|
-
|
|
6
|
+
fillRadio: string;
|
|
7
|
+
fillRadioHover: string;
|
|
7
8
|
labelTextColor: string;
|
|
8
9
|
descTextColor: string;
|
|
9
10
|
borderColor: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
borderRadioColor: string;
|
|
12
|
+
borderRadioColorActive: string;
|
|
13
|
+
borderRadioColorActiveHover: string;
|
|
14
|
+
borderRadioColorHover: string;
|
|
15
|
+
shape: string;
|
|
13
16
|
};
|
|
14
17
|
};
|
|
15
18
|
export { radioAppearanceDefault };
|
|
@@ -5,8 +5,10 @@ declare const radioAppearanceDisabled: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
descTextColor: string;
|
|
7
7
|
borderColor: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
borderRadioColor: string;
|
|
9
|
+
borderRadioColorHover: string;
|
|
10
|
+
borderRadioColorActive: string;
|
|
11
|
+
borderRadioColorActiveHover: string;
|
|
10
12
|
};
|
|
11
13
|
};
|
|
12
14
|
export { radioAppearanceDisabled };
|
|
@@ -5,8 +5,10 @@ declare const radioAppearanceError: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
descTextColor: string;
|
|
7
7
|
borderColor: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
borderRadioColor: string;
|
|
9
|
+
borderRadioColorHover: string;
|
|
10
|
+
borderRadioColorActive: string;
|
|
11
|
+
borderRadioColorActiveHover: string;
|
|
10
12
|
};
|
|
11
13
|
};
|
|
12
14
|
export { radioAppearanceError };
|
|
@@ -5,8 +5,10 @@ declare const radioAppearanceRequire: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
descTextColor: string;
|
|
7
7
|
borderColor: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
borderRadioColor: string;
|
|
9
|
+
borderRadioColorHover: string;
|
|
10
|
+
borderRadioColorActive: string;
|
|
11
|
+
borderRadioColorActiveHover: string;
|
|
10
12
|
};
|
|
11
13
|
};
|
|
12
14
|
export { radioAppearanceRequire };
|
|
@@ -5,19 +5,19 @@ declare const radioAppearanceShape: {
|
|
|
5
5
|
rounded: {
|
|
6
6
|
shape: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
roundedXL: {
|
|
9
9
|
shape: string;
|
|
10
10
|
shapeStrength: string;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
roundedL: {
|
|
13
13
|
shape: string;
|
|
14
14
|
shapeStrength: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
roundedM: {
|
|
17
17
|
shape: string;
|
|
18
18
|
shapeStrength: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
roundedS: {
|
|
21
21
|
shape: string;
|
|
22
22
|
shapeStrength: string;
|
|
23
23
|
};
|
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
declare const radioAppearanceStyle: {
|
|
2
2
|
solid: {
|
|
3
|
+
fill: string;
|
|
4
|
+
fillHover: string;
|
|
3
5
|
borderColor: string;
|
|
6
|
+
borderColorHover: string;
|
|
7
|
+
borderRadioColor: string;
|
|
8
|
+
borderRadioColorActive: string;
|
|
9
|
+
borderRadioColorActiveHover: string;
|
|
10
|
+
borderRadioColorHover: string;
|
|
4
11
|
};
|
|
5
12
|
outlined: {
|
|
6
13
|
fill: string;
|
|
14
|
+
fillHover: string;
|
|
7
15
|
};
|
|
8
16
|
full: {};
|
|
9
17
|
ghost: {
|
|
10
18
|
fill: string;
|
|
19
|
+
fillHover: string;
|
|
11
20
|
borderColor: string;
|
|
21
|
+
borderColorHover: string;
|
|
12
22
|
};
|
|
13
23
|
};
|
|
14
24
|
export { radioAppearanceStyle };
|
|
@@ -5,8 +5,10 @@ declare const radioAppearanceSuccess: {
|
|
|
5
5
|
labelTextColor: string;
|
|
6
6
|
descTextColor: string;
|
|
7
7
|
borderColor: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
borderRadioColor: string;
|
|
9
|
+
borderRadioColorHover: string;
|
|
10
|
+
borderRadioColorActive: string;
|
|
11
|
+
borderRadioColorActiveHover: string;
|
|
10
12
|
};
|
|
11
13
|
};
|
|
12
14
|
export { radioAppearanceSuccess };
|