@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.
Files changed (117) hide show
  1. package/dist/{Badge_cjs_DrG2tUjI.js → Badge_cjs_CeqDdbMs.js} +1 -1
  2. package/dist/{Badge_es_Bx0NsdST.js → Badge_es_uDX0eyDM.js} +1 -1
  3. package/dist/{Button_cjs_B7OmqizJ.js → Button_cjs_BKQLT7oE.js} +1 -1
  4. package/dist/{Button_es_CBbHMy1v.js → Button_es_H15aBFcg.js} +1 -1
  5. package/dist/{Icon_cjs_DSzfNqif.js → Icon_cjs_BaWMPaAR.js} +1 -1
  6. package/dist/{Icon_es_BBmoZ7_3.js → Icon_es_B0sySEUu.js} +1 -1
  7. package/dist/{Input_cjs_C8RWS1SD.js → Input_cjs_BAVggtkk.js} +5 -5
  8. package/dist/{Input_es_FXxp51gq.js → Input_es_CNduH28G.js} +5 -5
  9. package/dist/{Label_cjs_BCjB-mxC.js → Label_cjs_CbcENlSZ.js} +1 -1
  10. package/dist/{Label_es_CZpanSdR.js → Label_es_BCpDqP3q.js} +1 -1
  11. package/dist/{Title_cjs_iuyln-ab.js → Title_cjs_ByPcFb15.js} +4 -25
  12. package/dist/{Title_es_ke3YylFm.js → Title_es_eejUqSJf.js} +4 -25
  13. package/dist/{Tooltip_cjs_CTwksdFk.js → Tooltip_cjs_CY4HOzhz.js} +1 -1
  14. package/dist/{Tooltip_es_H976MIb7.js → Tooltip_es_B9hN4Zlm.js} +1 -1
  15. package/dist/cjs/components/Accordion.js +3 -3
  16. package/dist/cjs/components/Avatar.js +3 -3
  17. package/dist/cjs/components/Badge.js +4 -4
  18. package/dist/cjs/components/Breadcrumbs.js +3 -3
  19. package/dist/cjs/components/Button.js +4 -4
  20. package/dist/cjs/components/Cell.js +4 -4
  21. package/dist/cjs/components/Checkbox.js +150 -22
  22. package/dist/cjs/components/Chips.js +11 -5
  23. package/dist/cjs/components/Choice.js +3 -3
  24. package/dist/cjs/components/CookiesWarning.js +4 -4
  25. package/dist/cjs/components/DadataHintField.js +1 -1
  26. package/dist/cjs/components/DatePicker.js +65 -100
  27. package/dist/cjs/components/HeroTitle.js +9 -19
  28. package/dist/cjs/components/Icon.js +3 -3
  29. package/dist/cjs/components/Input.js +1 -1
  30. package/dist/cjs/components/InputPassword.js +3 -3
  31. package/dist/cjs/components/Label.js +3 -3
  32. package/dist/cjs/components/Modal.js +1 -1
  33. package/dist/cjs/components/Pagination.js +3 -3
  34. package/dist/cjs/components/Response.js +4 -4
  35. package/dist/cjs/components/Search.js +3 -3
  36. package/dist/cjs/components/Select.js +25 -14
  37. package/dist/cjs/components/Swiper.js +1 -1
  38. package/dist/cjs/components/Switch.js +1 -1
  39. package/dist/cjs/components/Tab.js +4 -4
  40. package/dist/cjs/components/Tile.js +4 -4
  41. package/dist/cjs/components/Title.js +5 -5
  42. package/dist/cjs/components/Tooltip.js +2 -2
  43. package/dist/cjs/hooks/useStyles/useStyles.js +3 -0
  44. package/dist/components/Accordion.js +3 -3
  45. package/dist/components/Avatar.js +3 -3
  46. package/dist/components/Badge.js +4 -4
  47. package/dist/components/Breadcrumbs.js +3 -3
  48. package/dist/components/Button.js +4 -4
  49. package/dist/components/Cell.js +4 -4
  50. package/dist/components/Checkbox.js +151 -22
  51. package/dist/components/Chips.js +11 -5
  52. package/dist/components/Choice.js +3 -3
  53. package/dist/components/CookiesWarning.js +4 -4
  54. package/dist/components/DadataHintField.js +1 -1
  55. package/dist/components/DatePicker.js +65 -100
  56. package/dist/components/HeroTitle.js +9 -19
  57. package/dist/components/Icon.js +3 -3
  58. package/dist/components/Input.js +1 -1
  59. package/dist/components/InputPassword.js +3 -3
  60. package/dist/components/Label.js +3 -3
  61. package/dist/components/Modal.js +1 -1
  62. package/dist/components/Pagination.js +3 -3
  63. package/dist/components/Response.js +4 -4
  64. package/dist/components/Search.js +3 -3
  65. package/dist/components/Select.js +25 -14
  66. package/dist/components/Swiper.js +1 -1
  67. package/dist/components/Switch.js +1 -1
  68. package/dist/components/Tab.js +4 -4
  69. package/dist/components/Tile.js +4 -4
  70. package/dist/components/Title.js +5 -5
  71. package/dist/components/Tooltip.js +2 -2
  72. package/dist/css/components/Checkbox/Checkbox.css +3 -0
  73. package/dist/css/components/Choice/Choice.css +4 -0
  74. package/dist/css/components/DadataHintField/DadataHintField.css +1 -1
  75. package/dist/css/components/DatePicker/DatePicker.css +10 -12
  76. package/dist/css/components/HeroTitle/HeroTitle.css +20 -16
  77. package/dist/css/components/Input/Input.css +1 -1
  78. package/dist/css/components/InputPassword/InputPassword.css +1 -1
  79. package/dist/css/components/Pagination/Pagination.css +3 -3
  80. package/dist/css/components/Select/Select.css +9 -0
  81. package/dist/css/components/Switch/Switch.css +1 -1
  82. package/dist/css/components/Textarea/Textarea.css +2 -0
  83. package/dist/css/components/Title/Title.css +20 -16
  84. package/dist/css/styles/placeholder-text-color/placeholder-text-color.css +1 -1
  85. package/dist/hooks/useStyles/useStyles.js +3 -0
  86. package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +1 -2
  87. package/dist/types/components/Checkbox/Checkbox.interface.d.ts +1 -2
  88. package/dist/types/components/Checkbox/appearance/checkboxDefault.d.ts +26 -0
  89. package/dist/types/components/Checkbox/appearance/checkboxDisabled.d.ts +20 -0
  90. package/dist/types/components/Checkbox/appearance/checkboxError.d.ts +20 -0
  91. package/dist/types/components/Checkbox/appearance/checkboxRequire.d.ts +20 -0
  92. package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +31 -0
  93. package/dist/types/components/Checkbox/appearance/checkboxStyle.d.ts +14 -0
  94. package/dist/types/components/Checkbox/appearance/checkboxSuccess.d.ts +20 -0
  95. package/dist/types/components/Checkbox/index.d.ts +1 -1
  96. package/dist/types/components/Chips/appearance/chipsSize.d.ts +6 -1
  97. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +1 -0
  98. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +30 -55
  99. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +18 -33
  100. package/dist/types/components/DatePicker/appearance/datePickerSurface.d.ts +12 -22
  101. package/dist/types/components/Input/appearance/inputDefault.d.ts +5 -5
  102. package/dist/types/components/Select/appearance/selectDefault.d.ts +21 -0
  103. package/dist/types/components/Select/appearance/selectSize.d.ts +11 -0
  104. package/package.json +3 -3
  105. package/dist/types/appearance/default/defaultAccent.d.ts +0 -33
  106. package/dist/types/appearance/default/defaultAppearance.d.ts +0 -33
  107. package/dist/types/appearance/default/defaultDanger.d.ts +0 -33
  108. package/dist/types/appearance/default/defaultDisabled.d.ts +0 -33
  109. package/dist/types/appearance/default/defaultError.d.ts +0 -33
  110. package/dist/types/appearance/default/defaultInfo.d.ts +0 -33
  111. package/dist/types/appearance/default/defaultPrimary.d.ts +0 -33
  112. package/dist/types/appearance/default/defaultSecondary.d.ts +0 -33
  113. package/dist/types/appearance/default/defaultSuccess.d.ts +0 -33
  114. package/dist/types/appearance/default/defaultSurface.d.ts +0 -33
  115. package/dist/types/appearance/default/defaultWarning.d.ts +0 -33
  116. package/dist/types/appearance/index.d.ts +0 -12
  117. package/dist/types/appearance/styleAppearance.d.ts +0 -14
@@ -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 '../Badge_es_Bx0NsdST.js';
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 '../Title_es_ke3YylFm.js';
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 '../Icon_es_BBmoZ7_3.js';
22
+ import '../Icon_es_B0sySEUu.js';
23
23
  import 'react-inlinesvg';
24
24
  import '../Link_es_DkW06IM-.js';
25
- import '../Tooltip_es_H976MIb7.js';
25
+ import '../Tooltip_es_B9hN4Zlm.js';
26
26
 
27
27
  var tileAppearance = {
28
28
  dev: {},
@@ -1,19 +1,19 @@
1
- export { T as Title, a as titleAppearance, t as titleConfig } from '../Title_es_ke3YylFm.js';
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 '../Tooltip_es_H976MIb7.js';
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 '../Title_es_ke3YylFm.js';
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
  }
@@ -66,9 +66,13 @@
66
66
  display: flex;
67
67
  &__before {
68
68
  margin: 2px 0;
69
+ display: flex;
70
+ align-items: center;
69
71
  }
70
72
  &__after {
71
73
  margin: 2px 0;
74
+ display: flex;
75
+ align-items: center;
72
76
  }
73
77
  }
74
78
  .choice {
@@ -23,7 +23,7 @@
23
23
  }
24
24
  }
25
25
  &--highlighted {
26
- color: var(--color-accent-primary);
26
+ color: var(--color-accent-fill-primary);
27
27
  }
28
28
  & .input_state {
29
29
  &_error {
@@ -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-secondary);
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-title_size {
29
- @each $size in h1, h2, h3, h4, h5, h6 {
30
- &_$(size) {
31
- padding: 0;
32
- margin: 0;
33
- @mixin hero_$(size);
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-title_direction {
47
- &_horizontal {
48
- display: flex;
49
- flex-direction: row;
50
- align-items: flex-start;
51
- }
52
- &_vertical {
53
- display: flex;
54
- flex-direction: column;
55
- align-items: flex-start;
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
  }
@@ -79,7 +79,7 @@
79
79
  --input-size-xl-padding: 13px 20px;
80
80
  --input-size-xxl-padding: 17px 25px;
81
81
 
82
- --input-caret-color: var(--color-accent-primary);
82
+ --input-caret-color: var(--color-accent-fill-primary);
83
83
 
84
84
  /* State */
85
85
  --input-state-success-background: none;
@@ -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;
@@ -91,6 +91,15 @@
91
91
  }
92
92
  }
93
93
 
94
+ .select {
95
+ &_width {
96
+ &_fill {
97
+ width: 100%;
98
+ min-width: 0;
99
+ }
100
+ }
101
+ }
102
+
94
103
  .select {
95
104
  &__control {
96
105
  position: relative;
@@ -31,7 +31,7 @@
31
31
  appearance: none;
32
32
  &:checked {
33
33
  & + .switch__bg {
34
- background: var(--color-accent-primary);
34
+ background: var(--color-accent-fill-primary);
35
35
  }
36
36
  & ~ .switch__toggle {
37
37
  background: var(--color-accent-item-primary);
@@ -1,4 +1,6 @@
1
1
  .textarea {
2
+ width: 100%;
3
+ min-width: 100%;
2
4
  &__input {
3
5
  width: 100%;
4
6
  min-width: 100%;
@@ -25,12 +25,14 @@
25
25
  background-position: -200%;
26
26
  }
27
27
  }
28
- .title_size {
29
- @each $size in h1, h2, h3, h4, h5, h6 {
30
- &_$(size) {
31
- padding: 0;
32
- margin: 0;
33
- @mixin $(size);
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
- .title_direction {
47
- &_horizontal {
48
- display: flex;
49
- flex-direction: row;
50
- align-items: flex-start;
51
- }
52
- &_vertical {
53
- display: flex;
54
- flex-direction: column;
55
- align-items: flex-start;
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
 
@@ -1,3 +1,2 @@
1
- import { CheckboxAppearance, CheckboxState } from 'src/components/Checkbox/Checkbox.interface';
1
+ import { CheckboxAppearance } from './Checkbox.interface';
2
2
  export declare const checkboxAppearance: CheckboxAppearance;
3
- export declare const checkboxState: CheckboxState;
@@ -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, CheckboxState, CheckboxAppearance, CheckboxConfig, CheckboxProps, };
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,14 @@
1
+ declare const checkboxAppearanceStyle: {
2
+ full: {};
3
+ ghost: {
4
+ fill: string;
5
+ borderWidth: string;
6
+ };
7
+ outlined: {
8
+ fill: string;
9
+ };
10
+ solid: {
11
+ borderWidth: string;
12
+ };
13
+ };
14
+ export { checkboxAppearanceStyle };
@@ -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, checkboxState } from './Checkbox.appearance';
2
+ export { checkboxAppearance } from './Checkbox.appearance';
@@ -1,2 +1,7 @@
1
- declare const chipsAppearanceSize: {};
1
+ declare const chipsAppearanceSize: {
2
+ sizeM: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ };
6
+ };
2
7
  export { chipsAppearanceSize };
@@ -8,6 +8,7 @@ declare const chipsAppearanceSurface: {
8
8
  labelTextColor: string;
9
9
  labelTextHoverColor: string;
10
10
  borderColor: string;
11
+ activeIconItemFill: string;
11
12
  };
12
13
  surfaceSecondary: {
13
14
  fill: string;
@@ -23,66 +23,41 @@ export declare const datePickerAppearance: {
23
23
  inputProps: {};
24
24
  };
25
25
  sizeS: {
26
- datePickerProps: {
27
- daySize: string;
28
- dayTextSize: string;
29
- iconFillSize: number;
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
- datePickerProps: {
40
- daySize: string;
41
- dayTextSize: string;
42
- iconFillSize: number;
43
- };
44
- inputProps: {
45
- size: string;
46
- textSize: string;
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
- datePickerProps: {
53
- daySize: string;
54
- dayTextSize: string;
55
- iconFillSize: number;
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
- datePickerProps: {
66
- daySize: string;
67
- dayTextColor: string;
68
- dayTextShape: string;
69
- dayTextSize: string;
70
- iconFillHover: string;
71
- iconItemFill: string;
72
- iconShape: string;
73
- };
74
- inputProps: {
75
- width: string;
76
- fill: string;
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
  };