@itcase/ui 1.8.86 → 1.8.88
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_D8sqd5K7.js → Avatar_cjs_CoDaXDKy.js} +1 -1
- package/dist/{Avatar_es_-Bpxwi6_.js → Avatar_es_DUtgRVQ7.js} +1 -1
- package/dist/{Button_cjs_BG6t5BXg.js → Button_cjs_Crmtn084.js} +1 -1
- package/dist/{Button_es_CAxHI9Qd.js → Button_es_BTidGO25.js} +1 -1
- package/dist/{ChipsGroup_cjs_DlU08Wik.js → ChipsGroup_cjs_BfzeDpwM.js} +1 -1
- package/dist/{ChipsGroup_es_BcYHhSiE.js → ChipsGroup_es_tfEKBIc4.js} +1 -1
- package/dist/{DatePicker_cjs_BFT9fj8A.js → DatePicker_cjs_DGlgp1Oj.js} +3 -3
- package/dist/{DatePicker_es_C1ykgFhq.js → DatePicker_es_6j1FwGTI.js} +3 -3
- package/dist/{DropdownItem_cjs_ETiDwbCM.js → DropdownItem_cjs_eiWqrFRW.js} +1 -1
- package/dist/{DropdownItem_es_DD5Tgd3Z.js → DropdownItem_es_CHGCRZt0.js} +1 -1
- package/dist/{Label_cjs_LEuuFaN-.js → Label_cjs_CFzGH1Ah.js} +1 -1
- package/dist/{Label_es_Bfi00e0G.js → Label_es_D-tO6hy7.js} +1 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Avatar.js +2 -2
- package/dist/cjs/components/AvatarStack.js +2 -2
- package/dist/cjs/components/Badge.js +1 -1
- package/dist/cjs/components/Breadcrumbs.js +1 -1
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +2 -2
- package/dist/cjs/components/Checkbox.js +48 -35
- package/dist/cjs/components/Chips.js +2 -2
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +5 -5
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Drawer.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/HeroTitle.js +1 -1
- package/dist/cjs/components/Icon.js +1 -1
- package/dist/cjs/components/InputPassword.js +1 -1
- package/dist/cjs/components/Label.js +2 -2
- package/dist/cjs/components/MenuItem.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Notification.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +2 -2
- package/dist/cjs/components/Search.js +1 -1
- package/dist/cjs/components/Segmented.js +1 -1
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Switch.js +11 -11
- package/dist/cjs/components/Tab.js +1 -1
- package/dist/cjs/components/Tile.js +1 -1
- package/dist/cjs/components/Title.js +1 -1
- package/dist/cjs/components/Tooltip.js +1 -1
- package/dist/cjs/components/Warning.js +1 -1
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Avatar.js +2 -2
- package/dist/components/AvatarStack.js +2 -2
- package/dist/components/Badge.js +1 -1
- package/dist/components/Breadcrumbs.js +1 -1
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +2 -2
- package/dist/components/Checkbox.js +48 -35
- package/dist/components/Chips.js +2 -2
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +5 -5
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Drawer.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/HeroTitle.js +1 -1
- package/dist/components/Icon.js +1 -1
- package/dist/components/InputPassword.js +1 -1
- package/dist/components/Label.js +2 -2
- package/dist/components/MenuItem.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Notification.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +2 -2
- package/dist/components/Search.js +1 -1
- package/dist/components/Segmented.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Switch.js +11 -11
- package/dist/components/Tab.js +1 -1
- package/dist/components/Tile.js +1 -1
- package/dist/components/Title.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Warning.js +1 -1
- package/dist/css/components/Checkbox/Checkbox.css +22 -16
- package/dist/css/components/Code/Code.css +2 -1
- package/dist/css/components/Switch/Switch.css +16 -27
- package/dist/types/components/Badge/appearance/badgeStyle.d.ts +4 -4
- package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +11 -7
- package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +8 -3
- package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +6 -4
- package/dist/types/components/Checkbox/appearance/checkboxSuccess.d.ts +11 -7
- package/dist/types/components/Switch/appearance/switchStyle.d.ts +5 -5
- package/package.json +2 -2
- package/dist/{Icon_cjs_DP41Z8bS.js → Icon_cjs_CdFkbmKN.js} +4 -4
- package/dist/{Icon_es_-iRj1sFG.js → Icon_es_BpZIoe9M.js} +4 -4
|
@@ -82,17 +82,17 @@ var switchAppearanceSize = {
|
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
var switchAppearanceStyle = {
|
|
85
|
-
|
|
85
|
+
solid: {
|
|
86
86
|
borderColor: 'none',
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
outlined: {
|
|
89
89
|
fill: 'none',
|
|
90
|
+
},
|
|
91
|
+
full: {
|
|
90
92
|
borderColor: 'none',
|
|
91
93
|
},
|
|
92
|
-
|
|
94
|
+
ghost: {
|
|
93
95
|
fill: 'none',
|
|
94
|
-
},
|
|
95
|
-
solid: {
|
|
96
96
|
borderColor: 'none',
|
|
97
97
|
},
|
|
98
98
|
};
|
|
@@ -117,20 +117,20 @@ var switchConfig = {
|
|
|
117
117
|
},
|
|
118
118
|
};
|
|
119
119
|
var Switch = React.forwardRef(function Switch(props, ref) {
|
|
120
|
-
var id = props.id, className = props.className, appearance = props.appearance, _a = props.align, align = _a === void 0 ? 'left' : _a, title = props.title, desc = props.desc, isDisabled = props.isDisabled,
|
|
120
|
+
var id = props.id, className = props.className, appearance = props.appearance, _a = props.align, align = _a === void 0 ? 'left' : _a, title = props.title, desc = props.desc, isDisabled = props.isDisabled, isActive = props.isActive, onChange = props.onChange;
|
|
121
121
|
var appearanceConfig = useAppearanceConfig(appearance, switchConfig);
|
|
122
122
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
123
123
|
var size = propsGenerator.size, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, fillToggleActiveClass = propsGenerator.fillToggleActiveClass, fillToggleActiveHoverClass = propsGenerator.fillToggleActiveHoverClass, fillToggleClass = propsGenerator.fillToggleClass, fillToggleHoverClass = propsGenerator.fillToggleHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize;
|
|
124
|
-
return (jsxs("div", { className: clsx('switch', className, align && "switch_align_".concat(align), size && "switch_size_".concat(size)), children: [title && (jsx(Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc })), jsxs("div", { className: 'switch__item', children: [jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
|
|
124
|
+
return (jsxs("div", { className: clsx('switch', className, align && "switch_align_".concat(align), size && "switch_size_".concat(size)), children: [jsxs("div", { className: "switch__wrapper", children: [title && (jsx(Text, { className: clsx('switch__title'), size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: clsx('switch__desc'), size: descTextSize, textColor: descTextColor, children: desc }))] }), jsxs("div", { className: 'switch__item', children: [jsx("input", { id: id, className: "switch__checkbox", type: "checkbox",
|
|
125
125
|
// @ts-expect-error
|
|
126
|
-
ref: ref, onChange: onChange }), jsx("div", { className: clsx('switch__bg', !isActive
|
|
126
|
+
ref: ref, disabled: isDisabled && 'disabled', checked: isActive && 'checked', onChange: onChange }), jsx("div", { className: clsx('switch__bg', !isActive
|
|
127
127
|
? fillClass && "fill_".concat(fillClass)
|
|
128
|
-
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
128
|
+
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
129
129
|
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
130
130
|
: fillActiveHoverClass &&
|
|
131
|
-
"fill_active_hover_".concat(fillActiveHoverClass)), children: "\u00A0" }), jsx("div", { className: clsx('switch__toggle', !isActive
|
|
131
|
+
"fill_active_hover_".concat(fillActiveHoverClass)), children: "\u00A0" }), jsx("div", { className: clsx('switch__toggle', !isActive
|
|
132
132
|
? fillToggleClass && "fill_".concat(fillToggleClass)
|
|
133
|
-
: fillToggleActiveClass && "fill_active_".concat(fillToggleActiveClass), !isActive
|
|
133
|
+
: fillToggleActiveClass && "fill_active_".concat(fillToggleActiveClass), !isActive
|
|
134
134
|
? fillToggleHoverClass && "fill_hover_".concat(fillToggleHoverClass)
|
|
135
135
|
: fillToggleActiveHoverClass &&
|
|
136
136
|
"fill_active_hover_".concat(fillToggleActiveHoverClass)), children: "\u00A0" })] })] }));
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,7 +4,7 @@ import clsx from 'clsx';
|
|
|
4
4
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge, I as Icon } from '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
8
8
|
import { D as Divider } from '../Divider_es_CiRU0sTz.js';
|
|
9
9
|
import { L as Link } from '../Link_es_BnUIX0QT.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
package/dist/components/Tile.js
CHANGED
|
@@ -3,7 +3,7 @@ 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 '../
|
|
6
|
+
import { b as Title, B as Badge, I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
7
7
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
8
8
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
9
9
|
import 'react';
|
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_BpZIoe9M.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -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_BpZIoe9M.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
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 '../
|
|
4
|
+
import { I as Icon } from '../Icon_es_BpZIoe9M.js';
|
|
5
5
|
import { T as Text } from '../Text_es_BvmOR4nv.js';
|
|
6
6
|
import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
.checkbox {
|
|
102
|
-
@each $size in
|
|
102
|
+
@each $size in xl, l, m, s {
|
|
103
103
|
&_size_$(size) {
|
|
104
104
|
padding: var(--checkbox-$(size)-padding);
|
|
105
105
|
gap: var(--checkbox-$(size)-gap);
|
|
@@ -132,21 +132,27 @@
|
|
|
132
132
|
--checkbox-error-border: var(--color-error-border-secondary);
|
|
133
133
|
--checkbox-focus-border: var(--color-surface-border-quaternary);
|
|
134
134
|
|
|
135
|
-
--checkbox-area-
|
|
136
|
-
--checkbox-area-
|
|
137
|
-
--checkbox-
|
|
138
|
-
--checkbox-
|
|
139
|
-
--checkbox-
|
|
135
|
+
--checkbox-area-xl-width: 24px;
|
|
136
|
+
--checkbox-area-xl-height: 24px;
|
|
137
|
+
--checkbox-xl-width: 16px;
|
|
138
|
+
--checkbox-xl-height: 16px;
|
|
139
|
+
--checkbox-xl-gap: 0 2px;
|
|
140
|
+
|
|
141
|
+
--checkbox-area-l-width: 20px;
|
|
142
|
+
--checkbox-area-l-height: 20px;
|
|
143
|
+
--checkbox-l-width: 16px;
|
|
144
|
+
--checkbox-l-height: 16px;
|
|
145
|
+
--checkbox-l-gap: 0 2px;
|
|
140
146
|
|
|
141
|
-
--checkbox-area-
|
|
142
|
-
--checkbox-area-
|
|
143
|
-
--checkbox-
|
|
144
|
-
--checkbox-
|
|
145
|
-
--checkbox-
|
|
147
|
+
--checkbox-area-m-width: 16px;
|
|
148
|
+
--checkbox-area-m-height: 16px;
|
|
149
|
+
--checkbox-m-width: 12px;
|
|
150
|
+
--checkbox-m-height: 12px;
|
|
151
|
+
--checkbox-m-gap: 0 2px;
|
|
146
152
|
|
|
147
|
-
--checkbox-area-
|
|
148
|
-
--checkbox-area-
|
|
149
|
-
--checkbox-
|
|
150
|
-
--checkbox-
|
|
151
|
-
--checkbox-
|
|
153
|
+
--checkbox-area-s-width: 14px;
|
|
154
|
+
--checkbox-area-s-height: 14px;
|
|
155
|
+
--checkbox-s-width: 10px;
|
|
156
|
+
--checkbox-s-height: 10px;
|
|
157
|
+
--checkbox-s-gap: 0 2px;
|
|
152
158
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.code {
|
|
2
|
+
width: 100%;
|
|
2
3
|
&__wrapper {
|
|
3
4
|
width: 100%;
|
|
4
5
|
display: flex;
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
}
|
|
15
16
|
.code__input {
|
|
16
17
|
&_size {
|
|
17
|
-
@each $size in l, m {
|
|
18
|
+
@each $size in xl, l, m, s {
|
|
18
19
|
&_$(size) {
|
|
19
20
|
min-width: var(--code-input-size-$(size)-width);
|
|
20
21
|
min-height: var(--code-input-size-$(size)-height);
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
.switch {
|
|
2
|
-
display:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
&__wrapper {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex: 1;
|
|
7
|
+
align-items: center;
|
|
8
|
+
^&__title {
|
|
9
|
+
padding: 0 8px 0 0;
|
|
10
|
+
}
|
|
11
|
+
^&__desc {
|
|
12
|
+
padding: 0 8px 0 0;
|
|
13
|
+
}
|
|
10
14
|
}
|
|
11
15
|
&__item {
|
|
12
16
|
border-radius: 50px;
|
|
13
17
|
position: relative;
|
|
14
18
|
overflow: hidden;
|
|
15
19
|
display: flex;
|
|
16
|
-
align-self: start;
|
|
17
20
|
transition: 0.4s;
|
|
18
21
|
cursor: pointer;
|
|
19
|
-
grid-row: 1/3;
|
|
20
22
|
}
|
|
21
23
|
&__checkbox {
|
|
22
24
|
width: 100%;
|
|
@@ -30,11 +32,7 @@
|
|
|
30
32
|
cursor: pointer;
|
|
31
33
|
appearance: none;
|
|
32
34
|
&:checked {
|
|
33
|
-
& + .switch__bg {
|
|
34
|
-
/* background: var(--color-accent-fill-primary); */
|
|
35
|
-
}
|
|
36
35
|
& ~ .switch__toggle {
|
|
37
|
-
/* background: var(--color-accent-item-primary); */
|
|
38
36
|
margin: 0 0 0 -3px;
|
|
39
37
|
left: 100%;
|
|
40
38
|
transform: translate(-100%, -50%);
|
|
@@ -47,7 +45,6 @@
|
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
47
|
&__bg {
|
|
50
|
-
/* background: var(--color-surface-tertiary); */
|
|
51
48
|
width: 100%;
|
|
52
49
|
flex: 1;
|
|
53
50
|
transition: all 0.25s;
|
|
@@ -55,8 +52,6 @@
|
|
|
55
52
|
&__toggle {
|
|
56
53
|
height: calc(100% - 6px);
|
|
57
54
|
aspect-ratio: 1/1;
|
|
58
|
-
|
|
59
|
-
/* background: #fff; */
|
|
60
55
|
border-radius: 50%;
|
|
61
56
|
position: absolute;
|
|
62
57
|
box-shadow: inset 0 0 5px rgb(0, 0, 0, 0.2);
|
|
@@ -70,26 +65,20 @@
|
|
|
70
65
|
.switch {
|
|
71
66
|
&_align {
|
|
72
67
|
&_left {
|
|
73
|
-
|
|
68
|
+
width: 100%;
|
|
69
|
+
flex-direction: row-reverse;
|
|
74
70
|
^^&__title,
|
|
75
71
|
^^&__desc {
|
|
76
|
-
grid-column-start: 2;
|
|
77
72
|
padding: 0 0 0 8px;
|
|
78
73
|
}
|
|
79
|
-
^^&__item {
|
|
80
|
-
grid-column-start: 1;
|
|
81
|
-
}
|
|
82
74
|
}
|
|
83
75
|
&_right {
|
|
84
|
-
|
|
76
|
+
width: 100%;
|
|
77
|
+
flex-direction: row;
|
|
85
78
|
^^&__title,
|
|
86
79
|
^^&__desc {
|
|
87
|
-
grid-column-start: 1;
|
|
88
80
|
padding: 0 8px 0 0;
|
|
89
81
|
}
|
|
90
|
-
^^&__item {
|
|
91
|
-
grid-column-start: 2;
|
|
92
|
-
}
|
|
93
82
|
}
|
|
94
83
|
}
|
|
95
84
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
declare const checkboxAppearanceRequire: {
|
|
2
2
|
requirePrimary: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
fillCheckbox: string;
|
|
4
|
+
fillCheckboxActive: string;
|
|
5
|
+
fillCheckboxActiveHover: string;
|
|
6
|
+
fillCheckboxHover: string;
|
|
7
|
+
fillCheckmark: string;
|
|
8
|
+
labelTextColor: string;
|
|
9
|
+
descTextColor: string;
|
|
10
|
+
borderColorCheckbox: string;
|
|
11
|
+
borderColorCheckboxActive: string;
|
|
12
|
+
borderColorCheckboxActiveHover: string;
|
|
13
|
+
borderColorCheckboxHover: string;
|
|
10
14
|
};
|
|
11
15
|
requireSecondary: {
|
|
12
16
|
fill: string;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
declare const checkboxAppearanceSize: {
|
|
2
|
-
|
|
2
|
+
sizeXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
labelTextSize: string;
|
|
5
|
+
descTextSize: string;
|
|
6
|
+
};
|
|
7
|
+
sizeL: {
|
|
3
8
|
size: string;
|
|
4
9
|
labelTextSize: string;
|
|
5
10
|
descTextSize: string;
|
|
6
11
|
};
|
|
7
|
-
|
|
12
|
+
sizeM: {
|
|
8
13
|
size: string;
|
|
9
14
|
labelTextSize: string;
|
|
10
15
|
descTextSize: string;
|
|
11
16
|
};
|
|
12
|
-
|
|
17
|
+
sizeS: {
|
|
13
18
|
size: string;
|
|
14
19
|
labelTextSize: string;
|
|
15
20
|
descTextSize: string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
declare const checkboxAppearanceStyle: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
fill: string;
|
|
2
|
+
solid: {
|
|
3
|
+
borderColorCheckbox: string;
|
|
5
4
|
borderWidth: string;
|
|
6
5
|
};
|
|
7
6
|
outlined: {
|
|
8
7
|
fill: string;
|
|
9
8
|
};
|
|
10
|
-
|
|
9
|
+
full: {};
|
|
10
|
+
ghost: {
|
|
11
|
+
fill: string;
|
|
12
|
+
borderColorCheckbox: string;
|
|
11
13
|
borderWidth: string;
|
|
12
14
|
};
|
|
13
15
|
};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
declare const checkboxAppearanceSuccess: {
|
|
2
2
|
successPrimary: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
fillCheckbox: string;
|
|
4
|
+
fillCheckboxActive: string;
|
|
5
|
+
fillCheckboxActiveHover: string;
|
|
6
|
+
fillCheckboxHover: string;
|
|
7
|
+
fillCheckmark: string;
|
|
8
|
+
labelTextColor: string;
|
|
9
|
+
descTextColor: string;
|
|
10
|
+
borderColorCheckbox: string;
|
|
11
|
+
borderColorCheckboxActive: string;
|
|
12
|
+
borderColorCheckboxActiveHover: string;
|
|
13
|
+
borderColorCheckboxHover: string;
|
|
10
14
|
};
|
|
11
15
|
successSecondary: {
|
|
12
16
|
fill: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
declare const switchAppearanceStyle: {
|
|
2
|
-
|
|
2
|
+
solid: {
|
|
3
3
|
borderColor: string;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
outlined: {
|
|
6
6
|
fill: string;
|
|
7
|
+
};
|
|
8
|
+
full: {
|
|
7
9
|
borderColor: string;
|
|
8
10
|
};
|
|
9
|
-
|
|
11
|
+
ghost: {
|
|
10
12
|
fill: string;
|
|
11
|
-
};
|
|
12
|
-
solid: {
|
|
13
13
|
borderColor: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.88",
|
|
4
4
|
"description": "UI components (Modal, Loader, Popup, etc)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Modal",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@emotion/is-prop-valid": "^1.3.1",
|
|
104
104
|
"@itcase/common": "^1.2.28",
|
|
105
105
|
"@itcase/icons": "^1.2.16",
|
|
106
|
-
"@itcase/storybook-config": "^1.1.
|
|
106
|
+
"@itcase/storybook-config": "^1.1.77",
|
|
107
107
|
"@itcase/tokens-am": "^1.1.19",
|
|
108
108
|
"@itcase/tokens-baikal": "^1.1.17",
|
|
109
109
|
"@itcase/tokens-palette": "^1.1.11",
|
|
@@ -207,15 +207,15 @@ var badgeAppearanceSize = {
|
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
var badgeAppearanceStyle = {
|
|
210
|
-
|
|
211
|
-
ghost: {
|
|
212
|
-
fill: 'none',
|
|
210
|
+
solid: {
|
|
213
211
|
borderColor: 'none',
|
|
214
212
|
},
|
|
215
213
|
outlined: {
|
|
216
214
|
fill: 'none',
|
|
217
215
|
},
|
|
218
|
-
|
|
216
|
+
full: {},
|
|
217
|
+
ghost: {
|
|
218
|
+
fill: 'none',
|
|
219
219
|
borderColor: 'none',
|
|
220
220
|
},
|
|
221
221
|
};
|
|
@@ -205,15 +205,15 @@ var badgeAppearanceSize = {
|
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
var badgeAppearanceStyle = {
|
|
208
|
-
|
|
209
|
-
ghost: {
|
|
210
|
-
fill: 'none',
|
|
208
|
+
solid: {
|
|
211
209
|
borderColor: 'none',
|
|
212
210
|
},
|
|
213
211
|
outlined: {
|
|
214
212
|
fill: 'none',
|
|
215
213
|
},
|
|
216
|
-
|
|
214
|
+
full: {},
|
|
215
|
+
ghost: {
|
|
216
|
+
fill: 'none',
|
|
217
217
|
borderColor: 'none',
|
|
218
218
|
},
|
|
219
219
|
};
|