@itcase/ui 1.8.5 → 1.8.10
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/{Badge_cjs_DrG2tUjI.js → Badge_cjs_CeqDdbMs.js} +1 -1
- package/dist/{Badge_es_Bx0NsdST.js → Badge_es_uDX0eyDM.js} +1 -1
- package/dist/{Button_cjs_B7OmqizJ.js → Button_cjs_BKQLT7oE.js} +1 -1
- package/dist/{Button_es_CBbHMy1v.js → Button_es_H15aBFcg.js} +1 -1
- package/dist/{Icon_cjs_DSzfNqif.js → Icon_cjs_BaWMPaAR.js} +1 -1
- package/dist/{Icon_es_BBmoZ7_3.js → Icon_es_B0sySEUu.js} +1 -1
- package/dist/{Input_cjs_C8RWS1SD.js → Input_cjs_BAVggtkk.js} +5 -5
- package/dist/{Input_es_FXxp51gq.js → Input_es_CNduH28G.js} +5 -5
- package/dist/{Label_cjs_BCjB-mxC.js → Label_cjs_CbcENlSZ.js} +1 -1
- package/dist/{Label_es_CZpanSdR.js → Label_es_BCpDqP3q.js} +1 -1
- package/dist/{Title_cjs_iuyln-ab.js → Title_cjs_ByPcFb15.js} +4 -25
- package/dist/{Title_es_ke3YylFm.js → Title_es_eejUqSJf.js} +4 -25
- package/dist/{Tooltip_cjs_CTwksdFk.js → Tooltip_cjs_CY4HOzhz.js} +1 -1
- package/dist/{Tooltip_es_H976MIb7.js → Tooltip_es_B9hN4Zlm.js} +1 -1
- package/dist/cjs/components/Accordion.js +3 -3
- package/dist/cjs/components/Avatar.js +3 -3
- package/dist/cjs/components/Badge.js +4 -4
- package/dist/cjs/components/Breadcrumbs.js +3 -3
- package/dist/cjs/components/Button.js +4 -4
- package/dist/cjs/components/Cell.js +4 -4
- package/dist/cjs/components/Checkbox.js +150 -22
- package/dist/cjs/components/Chips.js +11 -5
- package/dist/cjs/components/Choice.js +3 -3
- package/dist/cjs/components/CookiesWarning.js +4 -4
- package/dist/cjs/components/DadataHintField.js +1 -1
- package/dist/cjs/components/DatePicker.js +65 -100
- package/dist/cjs/components/HeroTitle.js +9 -19
- package/dist/cjs/components/Icon.js +3 -3
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/InputPassword.js +3 -3
- package/dist/cjs/components/Label.js +3 -3
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Pagination.js +3 -3
- package/dist/cjs/components/Response.js +4 -4
- package/dist/cjs/components/Search.js +3 -3
- package/dist/cjs/components/Select.js +25 -14
- package/dist/cjs/components/Swiper.js +1 -1
- package/dist/cjs/components/Switch.js +1 -1
- package/dist/cjs/components/Tab.js +4 -4
- package/dist/cjs/components/Tile.js +4 -4
- package/dist/cjs/components/Title.js +5 -5
- package/dist/cjs/components/Tooltip.js +2 -2
- package/dist/cjs/hooks/useStyles/useStyles.js +3 -0
- package/dist/components/Accordion.js +3 -3
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Badge.js +4 -4
- package/dist/components/Breadcrumbs.js +3 -3
- package/dist/components/Button.js +4 -4
- package/dist/components/Cell.js +4 -4
- package/dist/components/Checkbox.js +151 -22
- package/dist/components/Chips.js +11 -5
- package/dist/components/Choice.js +3 -3
- package/dist/components/CookiesWarning.js +4 -4
- package/dist/components/DadataHintField.js +1 -1
- package/dist/components/DatePicker.js +65 -100
- package/dist/components/HeroTitle.js +9 -19
- package/dist/components/Icon.js +3 -3
- package/dist/components/Input.js +1 -1
- package/dist/components/InputPassword.js +3 -3
- package/dist/components/Label.js +3 -3
- package/dist/components/Modal.js +1 -1
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Response.js +4 -4
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.js +25 -14
- package/dist/components/Swiper.js +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Tab.js +4 -4
- package/dist/components/Tile.js +4 -4
- package/dist/components/Title.js +5 -5
- package/dist/components/Tooltip.js +2 -2
- package/dist/css/components/Checkbox/Checkbox.css +3 -0
- package/dist/css/components/Choice/Choice.css +4 -0
- package/dist/css/components/DadataHintField/DadataHintField.css +1 -1
- package/dist/css/components/DatePicker/DatePicker.css +10 -12
- package/dist/css/components/HeroTitle/HeroTitle.css +20 -16
- package/dist/css/components/Input/Input.css +1 -1
- package/dist/css/components/InputPassword/InputPassword.css +1 -1
- package/dist/css/components/Pagination/Pagination.css +3 -3
- package/dist/css/components/Select/Select.css +9 -0
- package/dist/css/components/Switch/Switch.css +1 -1
- package/dist/css/components/Textarea/Textarea.css +2 -0
- package/dist/css/components/Title/Title.css +20 -16
- package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +1 -1
- package/dist/hooks/useStyles/useStyles.js +3 -0
- package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +1 -2
- package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -2
- package/dist/types/components/Checkbox/appearance/checkboxDefault.d.ts +26 -0
- package/dist/types/components/Checkbox/appearance/checkboxDisabled.d.ts +20 -0
- package/dist/types/components/Checkbox/appearance/checkboxError.d.ts +20 -0
- package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +20 -0
- package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +31 -0
- package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +14 -0
- package/dist/types/components/Checkbox/appearance/checkboxSuccess.d.ts +20 -0
- package/dist/types/components/Checkbox/index.d.ts +1 -1
- package/dist/types/components/Chips/appearance/chipsSize.d.ts +6 -1
- package/dist/types/components/Chips/appearance/chipsSurface.d.ts +1 -0
- package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +30 -55
- package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +18 -33
- package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +12 -22
- package/dist/types/components/Input/appearance/inputDefault.d.ts +5 -5
- package/dist/types/components/Select/appearance/selectDefault.d.ts +21 -0
- package/dist/types/components/Select/appearance/selectSize.d.ts +11 -0
- package/package.json +3 -3
- package/dist/types/appearance/default/defaultAccent.d.ts +0 -33
- package/dist/types/appearance/default/defaultAppearance.d.ts +0 -33
- package/dist/types/appearance/default/defaultDanger.d.ts +0 -33
- package/dist/types/appearance/default/defaultDisabled.d.ts +0 -33
- package/dist/types/appearance/default/defaultError.d.ts +0 -33
- package/dist/types/appearance/default/defaultInfo.d.ts +0 -33
- package/dist/types/appearance/default/defaultPrimary.d.ts +0 -33
- package/dist/types/appearance/default/defaultSecondary.d.ts +0 -33
- package/dist/types/appearance/default/defaultSuccess.d.ts +0 -33
- package/dist/types/appearance/default/defaultSurface.d.ts +0 -33
- package/dist/types/appearance/default/defaultWarning.d.ts +0 -33
- package/dist/types/appearance/index.d.ts +0 -12
- package/dist/types/appearance/styleAppearance.d.ts +0 -14
package/dist/components/Tile.js
CHANGED
|
@@ -3,9 +3,9 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
5
5
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
6
|
-
import { B as Badge } from '../
|
|
6
|
+
import { B as Badge } from '../Badge_es_uDX0eyDM.js';
|
|
7
7
|
import { T as Text } from '../Text_es_FJGduy7Z.js';
|
|
8
|
-
import { T as Title } from '../
|
|
8
|
+
import { T as Title } from '../Title_es_eejUqSJf.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'lodash/camelCase';
|
|
11
11
|
import 'lodash/castArray';
|
|
@@ -19,10 +19,10 @@ import 'react-responsive';
|
|
|
19
19
|
import '../utils/setViewportProperty.js';
|
|
20
20
|
import 'lodash/maxBy';
|
|
21
21
|
import '../hooks/useStyles/styleAttributes.js';
|
|
22
|
-
import '../
|
|
22
|
+
import '../Icon_es_B0sySEUu.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
import '../Link_es_DkW06IM-.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Tooltip_es_B9hN4Zlm.js';
|
|
26
26
|
|
|
27
27
|
var tileAppearance = {
|
|
28
28
|
dev: {},
|
package/dist/components/Title.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { T as Title, a as titleAppearance, t as titleConfig } from '../
|
|
1
|
+
export { T as Title, a as titleAppearance, t as titleConfig } from '../Title_es_eejUqSJf.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'clsx';
|
|
6
|
+
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
7
|
+
import 'lodash/camelCase';
|
|
8
|
+
import 'lodash/castArray';
|
|
9
|
+
import 'lodash/upperFirst';
|
|
6
10
|
import '../context/Notifications.js';
|
|
7
11
|
import 'uuid';
|
|
8
12
|
import '@itcase/common';
|
|
9
13
|
import '../context/UIContext.js';
|
|
10
|
-
import 'lodash/camelCase';
|
|
11
14
|
import '../hooks/useMediaQueries/useMediaQueries.js';
|
|
12
15
|
import 'react-responsive';
|
|
13
16
|
import '../utils/setViewportProperty.js';
|
|
14
|
-
import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
15
|
-
import 'lodash/castArray';
|
|
16
|
-
import 'lodash/upperFirst';
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.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 '../Tooltip_es_B9hN4Zlm.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -18,4 +18,4 @@ import '../hooks/useStyles/useStyles.js';
|
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
20
|
import '../Text_es_FJGduy7Z.js';
|
|
21
|
-
import '../
|
|
21
|
+
import '../Title_es_eejUqSJf.js';
|
|
@@ -121,4 +121,7 @@
|
|
|
121
121
|
:root {
|
|
122
122
|
--checkbox-column-gap: 12px;
|
|
123
123
|
--checkbox-row-gap: 4px;
|
|
124
|
+
--checkbox-success-border: var(--color-success-border-secondary);
|
|
125
|
+
--checkbox-error-border: var(--color-error-border-secondary);
|
|
126
|
+
--checkbox-focus-border: var(--color-surface-border-quaternary);
|
|
124
127
|
}
|
|
@@ -1242,6 +1242,7 @@ h2.react-datepicker__current-month {
|
|
|
1242
1242
|
width: 100%;
|
|
1243
1243
|
border-radius: var(--date-picker-day-border-radius);
|
|
1244
1244
|
&__input {
|
|
1245
|
+
width: 100%;
|
|
1245
1246
|
border-radius: var(--date-picker-day-border-radius);
|
|
1246
1247
|
}
|
|
1247
1248
|
}
|
|
@@ -1290,14 +1291,11 @@ h2.react-datepicker__current-month {
|
|
|
1290
1291
|
--date-picker-fill: var(--color-surface-fill-primary);
|
|
1291
1292
|
--date-picker-box-shadow: 0px 4px 24px 0px rgb(0, 0, 0, 0.2);
|
|
1292
1293
|
--date-picker-border-radius: 12px;
|
|
1293
|
-
--date-picker-border: solid 1px var(--color-surface-tertiary);
|
|
1294
|
+
--date-picker-border: solid 1px var(--color-surface-fill-tertiary);
|
|
1294
1295
|
|
|
1295
1296
|
--date-picker-input-container-padding: 9px 15px;
|
|
1296
1297
|
--date-picker-input-border-radius: 6px;
|
|
1297
1298
|
|
|
1298
|
-
--date-picker-name-size: 16px;
|
|
1299
|
-
|
|
1300
|
-
--date-picker-name-weight: 400;
|
|
1301
1299
|
--date-picker-selected-weight: 400;
|
|
1302
1300
|
--date-picker-week-width: 40px;
|
|
1303
1301
|
--date-picker-week-height: 40px;
|
|
@@ -1309,10 +1307,12 @@ h2.react-datepicker__current-month {
|
|
|
1309
1307
|
--date-picker-week-number-fill-hover: #eee;
|
|
1310
1308
|
--date-picker-week-number-text-color: var(--color-surface-text-quaternary);
|
|
1311
1309
|
|
|
1310
|
+
--date-picker-name-size: 16px;
|
|
1311
|
+
--date-picker-name-weight: 400;
|
|
1312
1312
|
--date-picker-day-name-text-size: 16px;
|
|
1313
1313
|
--date-picker-day-name-text-line-height: 18px;
|
|
1314
1314
|
--date-picker-day-name-text-weight: normal;
|
|
1315
|
-
--date-picker-day-name-text-color: var(--color-surface-text-
|
|
1315
|
+
--date-picker-day-name-text-color: var(--color-surface-text-quaternary);
|
|
1316
1316
|
|
|
1317
1317
|
--date-picker-day-width: 40px;
|
|
1318
1318
|
--date-picker-day-height: 40px;
|
|
@@ -1321,16 +1321,16 @@ h2.react-datepicker__current-month {
|
|
|
1321
1321
|
--date-picker-day-text-weight: normal;
|
|
1322
1322
|
--date-picker-day-text-color: var(--color-surface-text-primary);
|
|
1323
1323
|
--date-picker-day-padding: 8px 0;
|
|
1324
|
-
--date-picker-day-hover-background: var(--color-accent-tertiary);
|
|
1324
|
+
--date-picker-day-hover-background: var(--color-accent-fill-tertiary);
|
|
1325
1325
|
--date-picker-day-hover-text-color: var(--color-surface-text-secondary);
|
|
1326
1326
|
--date-picker-day-border-radius: 8px;
|
|
1327
1327
|
|
|
1328
|
-
--date-picker-day-today-background: var(--color-surface-secondary);
|
|
1328
|
+
--date-picker-day-today-background: var(--color-surface-fill-secondary);
|
|
1329
1329
|
--date-picker-day-today-border-radius: 12px;
|
|
1330
1330
|
--date-picker-day-today-text-color: var(--color-surface-text-primary);
|
|
1331
1331
|
|
|
1332
1332
|
--date-picker-day-range-start-end-border-radius: 8px;
|
|
1333
|
-
--date-picker-day-range-background: var(--color-accent-tertiary);
|
|
1333
|
+
--date-picker-day-range-background: var(--color-accent-fill-tertiary);
|
|
1334
1334
|
--date-picker-day-range-text-color: var(--color-accent-text-secondary);
|
|
1335
1335
|
--date-picker-day-range-border-radius: 0;
|
|
1336
1336
|
--date-picker-day-range-start-border-radius: 12px 0 0 12px;
|
|
@@ -1342,10 +1342,8 @@ h2.react-datepicker__current-month {
|
|
|
1342
1342
|
--color-secondary-text-disabled
|
|
1343
1343
|
);
|
|
1344
1344
|
|
|
1345
|
-
--date-picker-day-selected-background: var(--color-accent-primary);
|
|
1346
|
-
--date-picker-day-selected-background-hover: var(
|
|
1347
|
-
--color-accent-primary-hover
|
|
1348
|
-
);
|
|
1345
|
+
--date-picker-day-selected-background: var(--color-accent-fill-primary);
|
|
1346
|
+
--date-picker-day-selected-background-hover: var(--color-accent-fill-hover);
|
|
1349
1347
|
--date-picker-day-selected-text-color: var(--color-accent-text-primary);
|
|
1350
1348
|
--date-picker-day-selected-text-hover-color: var(--color-accent-text-primary);
|
|
1351
1349
|
|
|
@@ -25,12 +25,14 @@
|
|
|
25
25
|
background-position: -200%;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.hero-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
.hero-title {
|
|
29
|
+
&_size {
|
|
30
|
+
@each $size in h1, h2, h3, h4, h5, h6 {
|
|
31
|
+
&_$(size) {
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
@mixin hero_$(size);
|
|
35
|
+
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -43,15 +45,17 @@
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
|
-
.hero-
|
|
47
|
-
&
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
.hero-title {
|
|
49
|
+
&_direction {
|
|
50
|
+
&_horizontal {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
}
|
|
55
|
+
&_vertical {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
align-items: flex-start;
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
--input-password-state-success-background: none;
|
|
88
88
|
--input-password-state-hover-border: var(--color-surface-border-quaternary);
|
|
89
89
|
--input-password-state-hover-background: none;
|
|
90
|
-
--input-password-caret-color: var(--color-accent-primary);
|
|
90
|
+
--input-password-caret-color: var(--color-accent-fill-primary);
|
|
91
91
|
--input-password-shape-rounded: 0;
|
|
92
92
|
}
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
--paginator-item-transition: all 0.2s ease 0s;
|
|
132
132
|
|
|
133
133
|
--paginator-item-default-fill: var(--color-surface-fill-primary);
|
|
134
|
-
--paginator-item-default-fill-hover: var(--color-surface-hover);
|
|
134
|
+
--paginator-item-default-fill-hover: var(--color-surface-fill-hover);
|
|
135
135
|
--paginator-item-default-text: var(--color-surface-text-primary);
|
|
136
136
|
|
|
137
|
-
--paginator-item-active-fill: var(--color-accent-primary);
|
|
138
|
-
--paginator-item-active-fill-hover: var(--color-accent-primary);
|
|
137
|
+
--paginator-item-active-fill: var(--color-accent-fill-primary);
|
|
138
|
+
--paginator-item-active-fill-hover: var(--color-accent-fill-primary);
|
|
139
139
|
--paginator-item-active-text: var(--color-accent-text-primary);
|
|
140
140
|
|
|
141
141
|
--paginator-item-disabled-fill: none;
|
|
@@ -25,12 +25,14 @@
|
|
|
25
25
|
background-position: -200%;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
.title {
|
|
29
|
+
&_size {
|
|
30
|
+
@each $size in h1, h2, h3, h4, h5, h6 {
|
|
31
|
+
&_$(size) {
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
@mixin $(size);
|
|
35
|
+
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
@@ -43,15 +45,17 @@
|
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
|
-
.
|
|
47
|
-
&
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
.title {
|
|
49
|
+
&_direction {
|
|
50
|
+
&_horizontal {
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: row;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
}
|
|
55
|
+
&_vertical {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
align-items: flex-start;
|
|
59
|
+
}
|
|
56
60
|
}
|
|
57
61
|
}
|
|
@@ -42,6 +42,9 @@ function useStyles(props) {
|
|
|
42
42
|
const resultStylesGroups = {};
|
|
43
43
|
for (const [propKey, propValue] of Object.entries(propsStyleAttributes)) {
|
|
44
44
|
let value = null;
|
|
45
|
+
console.log('propKey');
|
|
46
|
+
console.log(propKey);
|
|
47
|
+
console.log('propKey=======');
|
|
45
48
|
const styleAttributeKey = getTargetStyleAttributeKey(propKey, propValue);
|
|
46
49
|
const isStyleForCurrentDevice = propKey.toLowerCase().endsWith(deviceCurrentType.toLowerCase());
|
|
47
50
|
|
|
@@ -34,7 +34,6 @@ interface CheckboxThemeColor {
|
|
|
34
34
|
interface CheckboxConfig {
|
|
35
35
|
[key: number | string | symbol]: any;
|
|
36
36
|
appearance: CheckboxAppearance | undefined;
|
|
37
|
-
state: CheckboxState | undefined;
|
|
38
37
|
setAppearance: (newComponent: CheckboxAppearance) => void;
|
|
39
38
|
setState: (newComponent: CheckboxState) => void;
|
|
40
39
|
}
|
|
@@ -55,4 +54,4 @@ interface CheckboxProps extends CheckboxThemeColor, StyleAttributes {
|
|
|
55
54
|
onChange?: (event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
56
55
|
onFocus?: (event?: React.FocusEvent<HTMLInputElement>) => void;
|
|
57
56
|
}
|
|
58
|
-
export type { CheckboxThemeColor,
|
|
57
|
+
export type { CheckboxThemeColor, CheckboxAppearance, CheckboxConfig, CheckboxProps, };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const checkboxAppearanceDefault: {
|
|
2
|
+
defaultPrimary: {
|
|
3
|
+
labelTextColor: string;
|
|
4
|
+
descTextColor: string;
|
|
5
|
+
errorStateBorderColor: string;
|
|
6
|
+
stateBorderColorDisabled: string;
|
|
7
|
+
stateBorderColorDisabledChecked: string;
|
|
8
|
+
stateCheckmarkFillDisabled: string;
|
|
9
|
+
stateFillDisabled: string;
|
|
10
|
+
stateFillDisabledChecked: string;
|
|
11
|
+
requiredStateBorderColor: string;
|
|
12
|
+
stateBorderColor: string;
|
|
13
|
+
stateBorderColorChecked: string;
|
|
14
|
+
stateCheckmarkFill: string;
|
|
15
|
+
stateFillChecked: string;
|
|
16
|
+
};
|
|
17
|
+
defaultSecondary: {
|
|
18
|
+
fill: string;
|
|
19
|
+
borderColor: string;
|
|
20
|
+
borderHover: string;
|
|
21
|
+
iconBeforeFill: string;
|
|
22
|
+
iconClearFill: string;
|
|
23
|
+
placeholderTextColor: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { checkboxAppearanceDefault };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const checkboxAppearanceDisabled: {
|
|
2
|
+
disabledPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
disabledSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { checkboxAppearanceDisabled };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const checkboxAppearanceError: {
|
|
2
|
+
errorPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
errorSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { checkboxAppearanceError };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const checkboxAppearanceRequire: {
|
|
2
|
+
requirePrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
requireSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { checkboxAppearanceRequire };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const checkboxAppearanceSize: {
|
|
2
|
+
sizeXXL: {
|
|
3
|
+
size: string;
|
|
4
|
+
textSize: string;
|
|
5
|
+
};
|
|
6
|
+
sizeXL: {
|
|
7
|
+
size: string;
|
|
8
|
+
textSize: string;
|
|
9
|
+
};
|
|
10
|
+
sizeL: {
|
|
11
|
+
size: string;
|
|
12
|
+
textSize: string;
|
|
13
|
+
};
|
|
14
|
+
sizeM: {
|
|
15
|
+
labelTextSize: string;
|
|
16
|
+
descTextSize: string;
|
|
17
|
+
};
|
|
18
|
+
sizeS: {
|
|
19
|
+
size: string;
|
|
20
|
+
textSize: string;
|
|
21
|
+
};
|
|
22
|
+
sizeXS: {
|
|
23
|
+
size: string;
|
|
24
|
+
textSize: string;
|
|
25
|
+
};
|
|
26
|
+
sizeXXS: {
|
|
27
|
+
size: string;
|
|
28
|
+
textSize: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export { checkboxAppearanceSize };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const checkboxAppearanceSuccess: {
|
|
2
|
+
successPrimary: {
|
|
3
|
+
fill: string;
|
|
4
|
+
borderColor: string;
|
|
5
|
+
borderHover: string;
|
|
6
|
+
textColor: string;
|
|
7
|
+
iconBeforeFill: string;
|
|
8
|
+
iconClearFill: string;
|
|
9
|
+
placeholderTextColor: string;
|
|
10
|
+
};
|
|
11
|
+
successSecondary: {
|
|
12
|
+
fill: string;
|
|
13
|
+
borderColor: string;
|
|
14
|
+
borderHover: string;
|
|
15
|
+
iconBeforeFill: string;
|
|
16
|
+
iconClearFill: string;
|
|
17
|
+
placeholderTextColor: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export { checkboxAppearanceSuccess };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Checkbox, checkboxConfig } from './Checkbox';
|
|
2
|
-
export { checkboxAppearance
|
|
2
|
+
export { checkboxAppearance } from './Checkbox.appearance';
|
|
@@ -23,66 +23,41 @@ export declare const datePickerAppearance: {
|
|
|
23
23
|
inputProps: {};
|
|
24
24
|
};
|
|
25
25
|
sizeS: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
inputProps: {
|
|
32
|
-
size: string;
|
|
33
|
-
textSize: string;
|
|
34
|
-
clearIconSize: number;
|
|
35
|
-
clearLabelTextSize: string;
|
|
36
|
-
};
|
|
26
|
+
daySize: string;
|
|
27
|
+
dayTextSize: string;
|
|
28
|
+
iconFillSize: number;
|
|
29
|
+
iconLeft: any;
|
|
30
|
+
iconRight: any;
|
|
37
31
|
};
|
|
38
32
|
sizeM: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
clearIconSize: number;
|
|
48
|
-
clearLabelTextSize: string;
|
|
49
|
-
};
|
|
33
|
+
daySize: string;
|
|
34
|
+
dayTextSize: string;
|
|
35
|
+
iconFillSize: number;
|
|
36
|
+
iconSize: number;
|
|
37
|
+
monthTextSize: string;
|
|
38
|
+
yearTextSize: string;
|
|
39
|
+
iconLeft: any;
|
|
40
|
+
iconRight: any;
|
|
50
41
|
};
|
|
51
42
|
sizeL: {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
inputProps: {
|
|
58
|
-
size: string;
|
|
59
|
-
textSize: string;
|
|
60
|
-
clearIconSize: number;
|
|
61
|
-
clearLabelTextSize: string;
|
|
62
|
-
};
|
|
43
|
+
daySize: string;
|
|
44
|
+
dayTextSize: string;
|
|
45
|
+
iconFillSize: number;
|
|
46
|
+
iconLeft: any;
|
|
47
|
+
iconRight: any;
|
|
63
48
|
};
|
|
64
49
|
surfacePrimary: {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
fillHover: string;
|
|
78
|
-
borderColor: string;
|
|
79
|
-
textColor: string;
|
|
80
|
-
caret: string;
|
|
81
|
-
clearIconItemFill: string;
|
|
82
|
-
clearIconItemFillHover: string;
|
|
83
|
-
clearLabelTextColor: string;
|
|
84
|
-
clearLabelTextColorHover: string;
|
|
85
|
-
placeholderTextColor: string;
|
|
86
|
-
};
|
|
50
|
+
dayTextColor: string;
|
|
51
|
+
dayTextShape: string;
|
|
52
|
+
iconFillHover: string;
|
|
53
|
+
iconItemFill: string;
|
|
54
|
+
iconShape: string;
|
|
55
|
+
iconLeft: any;
|
|
56
|
+
iconRight: any;
|
|
57
|
+
monthTextColor: string;
|
|
58
|
+
monthTextWeight: number;
|
|
59
|
+
placeholderTextColor: string;
|
|
60
|
+
yearTextColor: string;
|
|
61
|
+
yearTextWeight: number;
|
|
87
62
|
};
|
|
88
63
|
};
|