@dxc-technology/halstack-react 9.0.0 → 9.1.0

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 (126) hide show
  1. package/BackgroundColorContext.d.ts +2 -2
  2. package/BackgroundColorContext.js +1 -1
  3. package/HalstackContext.d.ts +1332 -5
  4. package/HalstackContext.js +59 -67
  5. package/accordion/Accordion.js +6 -11
  6. package/accordion/Accordion.stories.tsx +1 -1
  7. package/accordion/Accordion.test.js +1 -1
  8. package/accordion/types.d.ts +3 -3
  9. package/accordion-group/AccordionGroup.js +2 -2
  10. package/accordion-group/AccordionGroup.test.js +1 -1
  11. package/accordion-group/types.d.ts +2 -2
  12. package/alert/Alert.js +3 -5
  13. package/alert/Alert.test.js +1 -1
  14. package/bleed/Bleed.stories.tsx +1 -0
  15. package/box/Box.js +2 -2
  16. package/box/Box.test.js +1 -1
  17. package/button/Button.js +2 -3
  18. package/button/Button.stories.tsx +1 -1
  19. package/button/Button.test.js +1 -1
  20. package/button/types.d.ts +3 -3
  21. package/card/Card.js +12 -13
  22. package/card/Card.stories.tsx +12 -13
  23. package/card/Card.test.js +1 -1
  24. package/checkbox/Checkbox.js +3 -3
  25. package/checkbox/Checkbox.test.js +1 -1
  26. package/checkbox/types.d.ts +2 -2
  27. package/chip/Chip.js +2 -4
  28. package/chip/Chip.test.js +3 -5
  29. package/common/utils.d.ts +1 -0
  30. package/common/utils.js +4 -4
  31. package/common/variables.d.ts +1625 -0
  32. package/common/variables.js +2 -2
  33. package/dialog/Dialog.js +1 -1
  34. package/dialog/Dialog.test.js +24 -24
  35. package/dialog/types.d.ts +2 -2
  36. package/dropdown/Dropdown.js +2 -2
  37. package/dropdown/Dropdown.test.js +3 -2
  38. package/dropdown/DropdownMenuItem.js +0 -2
  39. package/dropdown/types.d.ts +3 -3
  40. package/file-input/FileInput.js +1 -2
  41. package/file-input/FileInput.test.js +1 -1
  42. package/flex/Flex.stories.tsx +19 -24
  43. package/footer/Footer.js +6 -8
  44. package/footer/Footer.test.js +14 -26
  45. package/grid/Grid.d.ts +7 -0
  46. package/grid/Grid.js +91 -0
  47. package/grid/Grid.stories.tsx +219 -0
  48. package/grid/types.d.ts +115 -0
  49. package/grid/types.js +5 -0
  50. package/header/Header.d.ts +3 -2
  51. package/header/Header.js +3 -3
  52. package/header/Header.test.js +2 -2
  53. package/header/types.d.ts +2 -2
  54. package/heading/Heading.js +1 -1
  55. package/heading/Heading.test.js +1 -1
  56. package/inset/Inset.stories.tsx +1 -0
  57. package/layout/ApplicationLayout.d.ts +3 -3
  58. package/layout/ApplicationLayout.js +1 -1
  59. package/layout/types.d.ts +2 -3
  60. package/link/Link.js +2 -2
  61. package/link/Link.test.js +2 -4
  62. package/link/types.d.ts +2 -2
  63. package/main.d.ts +2 -1
  64. package/main.js +8 -0
  65. package/nav-tabs/NavTabs.test.js +1 -1
  66. package/nav-tabs/Tab.js +7 -7
  67. package/number-input/NumberInput.test.js +1 -1
  68. package/package.json +2 -2
  69. package/paginator/Paginator.js +1 -3
  70. package/paginator/Paginator.test.js +27 -37
  71. package/paragraph/Paragraph.d.ts +3 -4
  72. package/paragraph/Paragraph.js +5 -5
  73. package/password-input/PasswordInput.test.js +1 -1
  74. package/progress-bar/ProgressBar.d.ts +2 -2
  75. package/progress-bar/ProgressBar.js +1 -1
  76. package/progress-bar/ProgressBar.test.js +1 -1
  77. package/progress-bar/types.d.ts +4 -3
  78. package/radio-group/RadioGroup.test.js +1 -1
  79. package/resultsetTable/ResultsetTable.js +2 -2
  80. package/resultsetTable/ResultsetTable.test.js +1 -1
  81. package/resultsetTable/types.d.ts +3 -3
  82. package/select/Select.js +13 -11
  83. package/select/Select.test.js +59 -59
  84. package/sidenav/Icons.d.ts +7 -0
  85. package/sidenav/Icons.js +51 -0
  86. package/sidenav/Sidenav.d.ts +2 -2
  87. package/sidenav/Sidenav.js +50 -76
  88. package/sidenav/Sidenav.stories.tsx +60 -60
  89. package/sidenav/types.d.ts +21 -18
  90. package/slider/Slider.js +2 -3
  91. package/slider/Slider.test.js +1 -1
  92. package/slider/types.d.ts +2 -2
  93. package/spinner/Spinner.js +15 -21
  94. package/spinner/Spinner.stories.jsx +28 -28
  95. package/spinner/Spinner.test.js +1 -1
  96. package/switch/Switch.js +2 -2
  97. package/switch/Switch.test.js +1 -1
  98. package/switch/types.d.ts +2 -2
  99. package/table/Table.js +2 -2
  100. package/table/Table.test.js +1 -1
  101. package/tabs/Tab.js +9 -10
  102. package/tabs/Tabs.js +11 -17
  103. package/tabs/Tabs.test.js +4 -5
  104. package/tabs/types.d.ts +2 -2
  105. package/tag/Tag.js +7 -9
  106. package/tag/Tag.test.js +1 -1
  107. package/text-input/Suggestion.js +2 -2
  108. package/text-input/TextInput.js +3 -3
  109. package/text-input/TextInput.test.js +1 -2
  110. package/textarea/Textarea.js +3 -4
  111. package/textarea/Textarea.test.js +2 -4
  112. package/toggle-group/ToggleGroup.js +7 -4
  113. package/toggle-group/ToggleGroup.test.js +1 -1
  114. package/toggle-group/types.d.ts +1 -1
  115. package/typography/Typography.d.ts +2 -2
  116. package/typography/Typography.js +14 -113
  117. package/typography/Typography.stories.tsx +1 -1
  118. package/useTheme.d.ts +1234 -1
  119. package/useTheme.js +1 -1
  120. package/useTranslatedLabels.d.ts +84 -1
  121. package/utils/BaseTypography.d.ts +21 -0
  122. package/utils/BaseTypography.js +108 -0
  123. package/utils/FocusLock.js +1 -1
  124. package/wizard/Wizard.js +2 -2
  125. package/wizard/Wizard.test.js +1 -1
  126. package/wizard/types.d.ts +5 -6
@@ -1,10 +1,1337 @@
1
1
  import React from "react";
2
- declare const HalstackContext: React.Context<object>;
3
- declare const HalstackLanguageContext: React.Context<object>;
2
+ import { AdvancedTheme, OpinionatedTheme, TranslatedLabels } from "./common/variables";
3
+ declare const HalstackContext: React.Context<DeepPartial<{
4
+ accordion: {
5
+ backgroundColor: string;
6
+ hoverBackgroundColor: string;
7
+ arrowColor: string;
8
+ disabledArrowColor: string;
9
+ assistiveTextFontFamily: string;
10
+ assistiveTextFontSize: string;
11
+ assistiveTextFontWeight: string;
12
+ assistiveTextFontStyle: string;
13
+ assistiveTextLetterSpacing: string;
14
+ assistiveTextFontColor: string;
15
+ disabledAssistiveTextFontColor: string;
16
+ assistiveTextMinWidth: string;
17
+ assistiveTextPaddingRight: string;
18
+ assistiveTextPaddingLeft: string;
19
+ titleLabelFontFamily: string;
20
+ titleLabelFontSize: string;
21
+ titleLabelFontWeight: string;
22
+ titleLabelFontStyle: string;
23
+ titleLabelFontColor: string;
24
+ disabledTitleLabelFontColor: string;
25
+ titleLabelPaddingTop: string;
26
+ titleLabelPaddingBottom: string;
27
+ titleLabelPaddingLeft: string;
28
+ titleLabelPaddingRight: string;
29
+ focusBorderColor: string;
30
+ focusBorderStyle: string;
31
+ focusBorderThickness: string;
32
+ borderRadius: string;
33
+ boxShadowOffsetX: string;
34
+ boxShadowOffsetY: string;
35
+ boxShadowBlur: string;
36
+ boxShadowColor: string;
37
+ iconColor: string;
38
+ disabledIconColor: string;
39
+ iconSize: string;
40
+ iconMarginLeft: string;
41
+ iconMarginRigth: string;
42
+ accordionGroupSeparatorBorderColor: string;
43
+ accordionGroupSeparatorBorderThickness: string;
44
+ accordionGroupSeparatorBorderRadius: string;
45
+ accordionGroupSeparatorBorderStyle: string;
46
+ };
47
+ alert: {
48
+ titleFontFamily: string;
49
+ titleFontColor: string;
50
+ titleFontSize: string;
51
+ titleFontStyle: string;
52
+ titleFontWeight: string;
53
+ titleTextTransform: string;
54
+ titlePaddingRight: string;
55
+ titlePaddingLeft: string;
56
+ inlineTextFontFamily: string;
57
+ inlineTextFontColor: string;
58
+ inlineTextFontSize: string;
59
+ inlineTextFontStyle: string;
60
+ inlineTextFontWeight: string;
61
+ inlineTextPaddingLeft: string;
62
+ inlineTextPaddingRight: string;
63
+ contentPaddingLeft: string;
64
+ contentPaddingRight: string;
65
+ contentPaddingTop: string;
66
+ contentPaddingBottom: string;
67
+ borderRadius: string;
68
+ borderStyle: string;
69
+ borderThickness: string;
70
+ infoBorderColor: string;
71
+ successBorderColor: string;
72
+ warningBorderColor: string;
73
+ errorBorderColor: string;
74
+ iconSize: string;
75
+ iconPaddingLeft: string;
76
+ iconPaddingRight: string;
77
+ infoIconColor: string;
78
+ successIconColor: string;
79
+ warningIconColor: string;
80
+ errorIconColor: string;
81
+ infoBackgroundColor: string;
82
+ successBackgroundColor: string;
83
+ warningBackgroundColor: string;
84
+ errorBackgroundColor: string;
85
+ hoverActionBackgroundColor: string;
86
+ activeActionBackgroundColor: string;
87
+ focusActionBorderColor: string;
88
+ overlayColor: string;
89
+ };
90
+ box: {
91
+ backgroundColor: string;
92
+ borderRadius: string;
93
+ borderThickness: string;
94
+ borderStyle: string;
95
+ borderColor: string;
96
+ noneShadowDepthShadowOffsetX: string;
97
+ noneShadowDepthShadowOffsetY: string;
98
+ noneShadowDepthShadowBlur: string;
99
+ noneShadowDepthShadowSpread: string;
100
+ noneShadowDepthShadowColor: string;
101
+ oneShadowDepthShadowOffsetX: string;
102
+ oneShadowDepthShadowOffsetY: string;
103
+ oneShadowDepthShadowBlur: string;
104
+ oneShadowDepthShadowSpread: string;
105
+ oneShadowDepthShadowColor: string;
106
+ twoShadowDepthShadowOffsetX: string;
107
+ twoShadowDepthShadowOffsetY: string;
108
+ twoShadowDepthShadowBlur: string;
109
+ twoShadowDepthShadowSpread: string;
110
+ twoShadowDepthShadowColor: string;
111
+ };
112
+ bulletedList: {
113
+ fontColor: string;
114
+ fontColorOnDark: string;
115
+ bulletIconHeight: string;
116
+ bulletIconWidth: string;
117
+ bulletHeight: string;
118
+ bulletWidth: string;
119
+ bulletMarginRight: string;
120
+ };
121
+ button: {
122
+ labelFontLineHeight: string;
123
+ labelLetterSpacing: string;
124
+ paddingLeft: string;
125
+ paddingRight: string;
126
+ paddingTop: string;
127
+ paddingBottom: string;
128
+ focusBorderColor: string;
129
+ focusBorderColorOnDark: string;
130
+ primaryBackgroundColor: string;
131
+ primaryBackgroundColorOnDark: string;
132
+ primaryFontColor: string;
133
+ primaryFontColorOnDark: string;
134
+ primaryHoverBackgroundColor: string;
135
+ primaryHoverBackgroundColorOnDark: string;
136
+ primaryActiveBackgroundColor: string;
137
+ primaryActiveBackgroundColorOnDark: string;
138
+ primaryDisabledBackgroundColor: string;
139
+ primaryDisabledBackgroundColorOnDark: string;
140
+ primaryDisabledFontColor: string;
141
+ primaryDisabledFontColorOnDark: string;
142
+ primaryBorderThickness: string;
143
+ primaryBorderStyle: string;
144
+ primaryBorderRadius: string;
145
+ primaryFontFamily: string;
146
+ primaryFontSize: string;
147
+ primaryFontWeight: string;
148
+ secondaryBackgroundColor: string;
149
+ secondaryBackgroundColorOnDark: string;
150
+ secondaryFontColor: string;
151
+ secondaryFontColorOnDark: string;
152
+ secondaryHoverFontColor: string;
153
+ secondaryHoverFontColorOnDark: string;
154
+ secondaryBorderColor: string;
155
+ secondaryBorderColorOnDark: string;
156
+ secondaryHoverBackgroundColor: string;
157
+ secondaryHoverBackgroundColorOnDark: string;
158
+ secondaryActiveBackgroundColor: string;
159
+ secondaryActiveBackgroundColorOnDark: string;
160
+ secondaryDisabledBackgroundColor: string;
161
+ secondaryDisabledBackgroundColorOnDark: string;
162
+ secondaryDisabledFontColor: string;
163
+ secondaryDisabledFontColorOnDark: string;
164
+ secondaryDisabledBorderColor: string;
165
+ secondaryDisabledBorderColorOnDark: string;
166
+ secondaryBorderThickness: string;
167
+ secondaryBorderStyle: string;
168
+ secondaryBorderRadius: string;
169
+ secondaryFontFamily: string;
170
+ secondaryFontSize: string;
171
+ secondaryFontWeight: string;
172
+ textBackgroundColor: string;
173
+ textBackgroundColorOnDark: string;
174
+ textFontColor: string;
175
+ textFontColorOnDark: string;
176
+ textHoverBackgroundColor: string;
177
+ textHoverBackgroundColorOnDark: string;
178
+ textActiveBackgroundColor: string;
179
+ textActiveBackgroundColorOnDark: string;
180
+ textDisabledBackgroundColor: string;
181
+ textDisabledBackgroundColorOnDark: string;
182
+ textDisabledFontColor: string;
183
+ textDisabledFontColorOnDark: string;
184
+ textBorderThickness: string;
185
+ textBorderStyle: string;
186
+ textBorderRadius: string;
187
+ textFontFamily: string;
188
+ textFontSize: string;
189
+ textFontWeight: string;
190
+ };
191
+ card: {
192
+ height: string;
193
+ width: string;
194
+ };
195
+ checkbox: {
196
+ backgroundColorChecked: string;
197
+ backgroundColorCheckedOnDark: string;
198
+ hoverBackgroundColorChecked: string;
199
+ hoverBackgroundColorCheckedOnDark: string;
200
+ disabledBackgroundColorChecked: string;
201
+ disabledBackgroundColorCheckedOnDark: string;
202
+ borderColor: string;
203
+ borderColorOnDark: string;
204
+ hoverBorderColor: string;
205
+ hoverBorderColorOnDark: string;
206
+ disabledBorderColor: string;
207
+ disabledBorderColorOnDark: string;
208
+ checkColor: string;
209
+ checkColorOnDark: string;
210
+ disabledCheckColor: string;
211
+ disabledCheckColorOnDark: string;
212
+ fontFamily: string;
213
+ fontSize: string;
214
+ fontWeight: string;
215
+ fontColor: string;
216
+ fontColorOnDark: string;
217
+ disabledFontColor: string;
218
+ disabledFontColorOnDark: string;
219
+ focusColor: string;
220
+ focusColorOnDark: string;
221
+ checkLabelSpacing: string;
222
+ };
223
+ chip: {
224
+ backgroundColor: string;
225
+ disabledBackgroundColor: string;
226
+ fontFamily: string;
227
+ fontSize: string;
228
+ fontStyle: string;
229
+ fontWeight: string;
230
+ fontColor: string;
231
+ disabledFontColor: string;
232
+ borderColor: string;
233
+ borderRadius: string;
234
+ borderThickness: string;
235
+ borderStyle: string;
236
+ contentPaddingLeft: string;
237
+ contentPaddingRight: string;
238
+ contentPaddingTop: string;
239
+ contentPaddingBottom: string;
240
+ iconSize: string;
241
+ iconSpacing: string;
242
+ iconColor: string;
243
+ hoverIconColor: string;
244
+ activeIconColor: string;
245
+ disabledIconColor: string;
246
+ focusColor: string;
247
+ focusBorderStyle: string;
248
+ focusBorderThickness: string;
249
+ focusBorderRadius: string;
250
+ };
251
+ dateInput: {
252
+ pickerBackgroundColor: string;
253
+ pickerFontColor: string;
254
+ pickerBorderColor: string;
255
+ pickerSelectedBackgroundColor: string;
256
+ pickerSelectedFontColor: string;
257
+ pickerHoverBackgroundColor: string;
258
+ pickerHoverFontColor: string;
259
+ pickerActiveBackgroundColor: string;
260
+ pickerActiveFontColor: string;
261
+ pickerNonCurrentMonthFontColor: string;
262
+ pickerCurrentDateBorderColor: string;
263
+ pickerCurrentDateFontColor: string;
264
+ pickerCurrentYearFontColor: string;
265
+ pickerHeaderBackgroundColor: string;
266
+ pickerHeaderFontColor: string;
267
+ pickerHeaderHoverBackgroundColor: string;
268
+ pickerHeaderHoverFontColor: string;
269
+ pickerHeaderActiveBackgroundColor: string;
270
+ pickerHeaderActiveFontColor: string;
271
+ pickerFocusColor: string;
272
+ pickerBorderWidth: string;
273
+ pickerBorderStyle: string;
274
+ pickerFocusWidth: string;
275
+ pickerCurrentDateBorderWidth: string;
276
+ pickerFontFamily: string;
277
+ pickerFontSize: string;
278
+ pickerFontWeight: string;
279
+ pickerInteractedYearFontSize: string;
280
+ pickerHeaderFontSize: string;
281
+ };
282
+ dialog: {
283
+ overlayColor: string;
284
+ backgroundColor: string;
285
+ closeIconWidth: string;
286
+ closeIconHeight: string;
287
+ closeIconTopPosition: string;
288
+ closeIconRightPosition: string;
289
+ closeIconBackgroundColor: string;
290
+ closeIconBorderColor: string;
291
+ closeIconColor: string;
292
+ closeIconBorderThickness: string;
293
+ closeIconBorderStyle: string;
294
+ closeIconBorderRadius: string;
295
+ boxShadowOffsetX: string;
296
+ boxShadowOffsetY: string;
297
+ boxShadowBlur: string;
298
+ boxShadowColor: string;
299
+ };
300
+ dropdown: {
301
+ buttonBackgroundColor: string;
302
+ hoverButtonBackgroundColor: string;
303
+ activeButtonBackgroundColor: string;
304
+ buttonFontFamily: string;
305
+ buttonFontSize: string;
306
+ buttonFontStyle: string;
307
+ buttonFontWeight: string;
308
+ buttonFontColor: string;
309
+ buttonIconSize: string;
310
+ buttonIconSpacing: string;
311
+ buttonIconColor: string;
312
+ buttonPaddingTop: string;
313
+ buttonPaddingBottom: string;
314
+ buttonPaddingLeft: string;
315
+ buttonPaddingRight: string;
316
+ disabledColor: string;
317
+ disabledButtonBackgroundColor: string;
318
+ disabledBorderColor: string;
319
+ optionBackgroundColor: string;
320
+ hoverOptionBackgroundColor: string;
321
+ activeOptionBackgroundColor: string;
322
+ optionFontFamily: string;
323
+ optionFontSize: string;
324
+ optionFontStyle: string;
325
+ optionFontWeight: string;
326
+ optionFontColor: string;
327
+ optionIconSize: string;
328
+ optionIconSpacing: string;
329
+ optionIconColor: string;
330
+ optionPaddingTop: string;
331
+ optionPaddingBottom: string;
332
+ optionPaddingLeft: string;
333
+ optionPaddingRight: string;
334
+ caretIconSize: string;
335
+ caretIconColor: string;
336
+ caretIconSpacing: string;
337
+ borderRadius: string;
338
+ borderStyle: string;
339
+ borderThickness: string;
340
+ borderColor: string;
341
+ scrollBarThumbColor: string;
342
+ scrollBarTrackColor: string;
343
+ focusColor: string;
344
+ };
345
+ fileInput: {
346
+ dropBorderColor: string;
347
+ fileItemBorderColor: string;
348
+ fileNameFontColor: string;
349
+ labelFontColor: string;
350
+ helperTextFontColor: string;
351
+ dropLabelFontColor: string;
352
+ disabledLabelFontColor: string;
353
+ disabledHelperTextFontcolor: string;
354
+ disabledDropLabelFontColor: string;
355
+ focusDropBorderColor: string;
356
+ disabledDropBorderColor: string;
357
+ dragoverDropBackgroundColor: string;
358
+ activeFileItemIconBackgrounColor: string;
359
+ errorFileItemBorderColor: string;
360
+ errorFileItemBackgroundColor: string;
361
+ errorFilePreviewBackgroundColor: string;
362
+ errorFileItemIconColor: string;
363
+ fileItemIconBackgroundColor: string;
364
+ deleteFileItemColor: string;
365
+ errorMessageFontColor: string;
366
+ labelFontFamily: string;
367
+ labelFontSize: string;
368
+ labelFontWeight: string;
369
+ labelLineHeight: string;
370
+ fileItemFontFamily: string;
371
+ fileItemFontSize: string;
372
+ fileItemFontWeight: string;
373
+ fileItemLineHeight: string;
374
+ helperTextFontFamily: string;
375
+ helperTextFontSize: string;
376
+ helperTextFontWeight: string;
377
+ helperTextLineHeight: string;
378
+ dropLabelFontFamily: string;
379
+ dropLabelFontSize: string;
380
+ dropLabelFontWeight: string;
381
+ errorMessageFontFamily: string;
382
+ errorMessageFontSize: string;
383
+ errorMessageFontWeight: string;
384
+ errorMessageLineHeight: string;
385
+ dropBorderThickness: string;
386
+ dropBorderStyle: string;
387
+ dropBorderRadius: string;
388
+ fileItemBorderThickness: string;
389
+ fileItemBorderStyle: string;
390
+ fileItemBorderRadius: string;
391
+ hoverDeleteFileItemBackgroundColor: string;
392
+ activeDeleteFileItemBackgroundColor: string;
393
+ focusDeleteFileItemBorderColor: string;
394
+ filePreviewBackgroundColor: string;
395
+ filePreviewIconColor: string;
396
+ errorFilePreviewIconColor: string;
397
+ };
398
+ footer: {
399
+ height: string;
400
+ backgroundColor: string;
401
+ bottomLinksDividerColor: string;
402
+ bottomLinksDividerThickness: string;
403
+ bottomLinksDividerStyle: string;
404
+ bottomLinksDividerSpacing: string;
405
+ bottomLinksFontFamily: string;
406
+ bottomLinksFontSize: string;
407
+ bottomLinksFontStyle: string;
408
+ bottomLinksFontWeight: string;
409
+ bottomLinksFontColor: string;
410
+ bottomLinksTextDecoration: string;
411
+ copyrightFontFamily: string;
412
+ copyrightFontSize: string;
413
+ copyrightFontStyle: string;
414
+ copyrightFontWeight: string;
415
+ copyrightFontColor: string;
416
+ logo: string;
417
+ logoHeight: string;
418
+ logoWidth: string;
419
+ socialLinksSize: string;
420
+ socialLinksGutter: string;
421
+ socialLinksColor: string;
422
+ };
423
+ header: {
424
+ backgroundColor: string;
425
+ hamburguerFocusColor: string;
426
+ hamburguerFontFamily: string;
427
+ hamburguerFontStyle: string;
428
+ hamburguerFontColor: string;
429
+ hamburguerFontSize: string;
430
+ hamburguerFontWeight: string;
431
+ hamburguerTextTransform: string;
432
+ hamburguerIconColor: string;
433
+ hamburguerHoverColor: string;
434
+ logo: string;
435
+ logoResponsive: string; /**
436
+ * This type is used to allow partial themes and labels objects to be passed to the HalstackProvider.
437
+ * This is an extension of the already extisting Partial type, which only allows one level of partiality.
438
+ */
439
+ logoHeight: string;
440
+ logoWidth: string;
441
+ menuBackgroundColor: string;
442
+ menuZindex: string;
443
+ menuTabletWidth: string;
444
+ menuMobileWidth: string;
445
+ minHeight: string;
446
+ overlayColor: string;
447
+ overlayOpacity: string;
448
+ overlayZindex: string;
449
+ paddingTop: string;
450
+ paddingBottom: string;
451
+ paddingRight: string;
452
+ paddingLeft: string;
453
+ underlinedColor: string;
454
+ underlinedThickness: string;
455
+ underlinedStyle: string;
456
+ contentColor: string;
457
+ contentColorOnDark: string;
458
+ };
459
+ heading: {
460
+ level1FontColor: string;
461
+ level1FontFamily: string;
462
+ level1FontSize: string;
463
+ level1FontStyle: string;
464
+ level1FontWeight: string;
465
+ level1LineHeight: string;
466
+ level1LetterSpacing: string;
467
+ level2FontColor: string;
468
+ level2FontFamily: string;
469
+ level2FontSize: string;
470
+ level2FontStyle: string;
471
+ level2FontWeight: string;
472
+ level2LineHeight: string;
473
+ level2LetterSpacing: string;
474
+ level3FontColor: string;
475
+ level3FontFamily: string;
476
+ level3FontSize: string;
477
+ level3FontStyle: string;
478
+ level3FontWeight: string;
479
+ level3LineHeight: string;
480
+ level3LetterSpacing: string;
481
+ level4FontColor: string;
482
+ level4FontFamily: string;
483
+ level4FontSize: string;
484
+ level4FontStyle: string;
485
+ level4FontWeight: string;
486
+ level4LineHeight: string;
487
+ level4LetterSpacing: string;
488
+ level5FontColor: string;
489
+ level5FontFamily: string;
490
+ level5FontSize: string;
491
+ level5FontStyle: string;
492
+ level5FontWeight: string;
493
+ level5LineHeight: string;
494
+ level5LetterSpacing: string;
495
+ };
496
+ link: {
497
+ fontColor: string;
498
+ fontFamily: string;
499
+ fontSize: string;
500
+ fontStyle: string;
501
+ fontWeight: string;
502
+ iconSize: string;
503
+ iconSpacing: string;
504
+ underlineSpacing: string;
505
+ underlineStyle: string;
506
+ underlineThickness: string;
507
+ disabledColor: string;
508
+ hoverFontColor: string;
509
+ hoverUnderlineColor: string;
510
+ visitedFontColor: string;
511
+ visitedUnderlineColor: string;
512
+ activeFontColor: string;
513
+ activeUnderlineColor: string;
514
+ focusColor: string;
515
+ };
516
+ navTabs: {
517
+ selectedBackgroundColor: string;
518
+ unselectedBackgroundColor: string;
519
+ hoverBackgroundColor: string;
520
+ pressedBackgroundColor: string;
521
+ selectedFontColor: string;
522
+ unselectedFontColor: string;
523
+ disabledFontColor: string;
524
+ focusOutline: string;
525
+ selectedUnderlineColor: string;
526
+ dividerColor: string;
527
+ fontFamily: string;
528
+ fontSize: string;
529
+ fontStyle: string;
530
+ fontWeight: string;
531
+ selectedIconColor: string;
532
+ unselectedIconColor: string;
533
+ disabledIconColor: string;
534
+ };
535
+ paginator: {
536
+ backgroundColor: string;
537
+ fontColor: string;
538
+ fontFamily: string;
539
+ fontSize: string;
540
+ fontStyle: string;
541
+ fontWeight: string;
542
+ fontTextTransform: string;
543
+ verticalPadding: string;
544
+ horizontalPadding: string;
545
+ marginRight: string;
546
+ marginLeft: string;
547
+ itemsPerPageSelectorMarginLeft: string;
548
+ itemsPerPageSelectorMarginRight: string;
549
+ pageSelectorMarginRight: string;
550
+ pageSelectorMarginLeft: string;
551
+ totalItemsContainerMarginRight: string;
552
+ totalItemsContainerMarginLeft: string;
553
+ };
554
+ paragraph: {
555
+ fontColor: string;
556
+ fontColorOnDark: string;
557
+ display: string;
558
+ fontSize: string;
559
+ fontWeight: string;
560
+ };
561
+ progressBar: {
562
+ trackLineColor: string;
563
+ trackLineColorOnDark: string;
564
+ totalLineColor: string;
565
+ labelFontFamily: string;
566
+ labelFontSize: string;
567
+ labelFontStyle: string;
568
+ labelFontWeight: string;
569
+ labelFontColor: string;
570
+ labelFontColorOnDark: string;
571
+ labelFontTextTransform: string;
572
+ valueFontFamily: string;
573
+ valueFontSize: string;
574
+ valueFontStyle: string;
575
+ valueFontWeight: string;
576
+ valueFontColor: string;
577
+ valueFontColorOnDark: string;
578
+ valueFontTextTransform: string;
579
+ helperTextFontColor: string;
580
+ helperTextFontColorOnDark: string;
581
+ helperTextFontSize: string;
582
+ helperTextFontStyle: string;
583
+ helperTextFontWeight: string;
584
+ helperTextFontFamily: string;
585
+ thickness: string;
586
+ borderRadius: string;
587
+ overlayColor: string;
588
+ overlayFontColor: string;
589
+ };
590
+ quickNav: {
591
+ fontColor: string;
592
+ hoverFontColor: string;
593
+ dividerBorderColor: string;
594
+ focusBorderColor: string;
595
+ focusBorderStyle: string;
596
+ focusBorderThickness: string;
597
+ focusBorderRadius: string;
598
+ paddingTop: string;
599
+ paddingBottom: string;
600
+ paddingLeft: string;
601
+ paddingRight: string;
602
+ fontFamily: string;
603
+ fontSize: string;
604
+ fontStyle: string;
605
+ fontWeight: string;
606
+ };
607
+ radioGroup: {
608
+ fontFamily: string;
609
+ radioInputColor: string;
610
+ hoverRadioInputColor: string;
611
+ focusBorderColor: string;
612
+ activeRadioInputColor: string;
613
+ errorRadioInputColor: string;
614
+ hoverErrorRadioInputColor: string;
615
+ activeErrorRadioInputColor: string;
616
+ readonlyRadioInputColor: string;
617
+ hoverReadonlyRadioInputColor: string;
618
+ activeReadonlyRadioInputColor: string;
619
+ disabledRadioInputColor: string;
620
+ disabledLabelFontColor: string;
621
+ disabledHelperTextFontColor: string;
622
+ disabledRadioInputLabelFontColor: string;
623
+ errorMessageColor: string;
624
+ labelFontColor: string;
625
+ labelFontSize: string;
626
+ labelFontStyle: string;
627
+ labelFontWeight: string;
628
+ labelLineHeight: string;
629
+ optionalLabelFontWeight: string;
630
+ helperTextFontColor: string;
631
+ helperTextFontSize: string;
632
+ helperTextFontStyle: string;
633
+ helperTextFontWeight: string;
634
+ helperTextLineHeight: string;
635
+ radioInputLabelFontColor: string;
636
+ radioInputLabelFontSize: string;
637
+ radioInputLabelFontStyle: string;
638
+ radioInputLabelFontWeight: string;
639
+ radioInputLabelLineHeight: string;
640
+ groupLabelMargin: string;
641
+ radioInputLabelMargin: string;
642
+ groupVerticalGutter: string;
643
+ groupHorizontalGutter: string;
644
+ };
645
+ select: {
646
+ fontFamily: string;
647
+ disabledColor: string;
648
+ enabledInputBorderColor: string;
649
+ hoverInputBorderColor: string;
650
+ focusInputBorderColor: string;
651
+ errorInputBorderColor: string;
652
+ hoverInputErrorBorderColor: string;
653
+ disabledInputBorderColor: string;
654
+ disabledInputBackgroundColor: string;
655
+ inputMarginTop: string;
656
+ inputMarginBottom: string;
657
+ errorMessageColor: string;
658
+ errorIconColor: string;
659
+ labelFontColor: string;
660
+ labelFontSize: string;
661
+ labelFontStyle: string;
662
+ labelFontWeight: string;
663
+ labelLineHeight: string;
664
+ optionalLabelFontWeight: string;
665
+ helperTextFontColor: string;
666
+ helperTextFontSize: string;
667
+ helperTextFontStyle: string;
668
+ helperTextFontWeight: string;
669
+ helperTextLineHeight: string;
670
+ placeholderFontColor: string;
671
+ valueFontColor: string;
672
+ valueFontSize: string;
673
+ valueFontStyle: string;
674
+ valueFontWeight: string;
675
+ actionIconColor: string;
676
+ hoverActionIconColor: string;
677
+ activeActionIconColor: string;
678
+ actionBackgroundColor: string;
679
+ hoverActionBackgroundColor: string;
680
+ activeActionBackgroundColor: string;
681
+ listOptionFontColor: string;
682
+ listOptionFontSize: string;
683
+ listOptionFontStyle: string;
684
+ listOptionFontWeight: string;
685
+ listOptionIconColor: string;
686
+ listOptionDividerColor: string;
687
+ listGroupLabelFontWeight: string;
688
+ focusListOptionBorderColor: string;
689
+ systemMessageFontColor: string;
690
+ collapseIndicatorColor: string;
691
+ listDialogBackgroundColor: string;
692
+ listDialogBorderColor: string;
693
+ selectedListOptionBackgroundColor: string;
694
+ selectedHoverListOptionBackgroundColor: string;
695
+ selectedActiveListOptionBackgroundColor: string;
696
+ selectedListOptionIconColor: string;
697
+ unselectedHoverListOptionBackgroundColor: string;
698
+ unselectedActiveListOptionBackgroundColor: string;
699
+ selectionIndicatorFontColor: string;
700
+ selectionIndicatorFontSize: string;
701
+ selectionIndicatorFontStyle: string;
702
+ selectionIndicatorFontWeight: string;
703
+ selectionIndicatorBorderColor: string;
704
+ selectionIndicatorBackgroundColor: string;
705
+ enabledSelectionIndicatorActionBackgroundColor: string;
706
+ enabledSelectionIndicatorActionIconColor: string;
707
+ hoverSelectionIndicatorActionBackgroundColor: string;
708
+ hoverSelectionIndicatorActionIconColor: string;
709
+ activeSelectionIndicatorActionBackgroundColor: string;
710
+ activeSelectionIndicatorActionIconColor: string;
711
+ };
712
+ sidenav: {
713
+ backgroundColor: string;
714
+ titleFontFamily: string;
715
+ titleFontSize: string;
716
+ titleFontStyle: string;
717
+ titleFontWeight: string;
718
+ titleFontColor: string;
719
+ titleFontTextTransform: string;
720
+ titleFontLetterSpacing: string;
721
+ groupTitleFontFamily: string;
722
+ groupTitleFontSize: string;
723
+ groupTitleFontStyle: string;
724
+ groupTitleFontWeight: string;
725
+ groupTitleFontColor: string;
726
+ groupTitleHoverBackgroundColor: string;
727
+ groupTitleActiveBackgroundColor: string;
728
+ groupTitleSelectedFontColor: string;
729
+ groupTitleSelectedBackgroundColor: string;
730
+ groupTitleSelectedHoverFontColor: string;
731
+ groupTitleSelectedHoverBackgroundColor: string;
732
+ groupTitleFontTextTransform: string;
733
+ groupTitleFontLetterSpacing: string;
734
+ linkFontFamily: string;
735
+ linkFontSize: string;
736
+ linkFontStyle: string;
737
+ linkFontWeight: string;
738
+ linkFontColor: string;
739
+ linkHoverBackgroundColor: string;
740
+ linkSelectedFontColor: string;
741
+ linkSelectedBackgroundColor: string;
742
+ linkSelectedHoverFontColor: string;
743
+ linkSelectedHoverBackgroundColor: string;
744
+ linkFontTextTransform: string;
745
+ linkFontLetterSpacing: string;
746
+ linkTextDecoration: string;
747
+ linkMarginTop: string;
748
+ linkMarginBottom: string;
749
+ linkMarginRight: string;
750
+ linkMarginLeft: string;
751
+ linkFocusColor: string;
752
+ scrollBarThumbColor: string;
753
+ scrollBarTrackColor: string;
754
+ };
755
+ slider: {
756
+ fontFamily: string;
757
+ limitValuesFontColor: string;
758
+ limitValuesFontColorOnDark: string;
759
+ limitValuesFontSize: string;
760
+ limitValuesFontStyle: string;
761
+ limitValuesFontWeight: string;
762
+ limitValuesFontLetterSpacing: string;
763
+ disabledLimitValuesFontColor: string;
764
+ labelFontFamily: string;
765
+ labelFontSize: string;
766
+ labelFontStyle: string;
767
+ labelFontWeight: string;
768
+ labelLineHeight: string;
769
+ helperTextFontFamily: string;
770
+ helperTextFontSize: string;
771
+ helperTextFontStyle: string;
772
+ helperTextFontWeight: string;
773
+ helperTextLineHeight: string;
774
+ fontColor: string;
775
+ fontColorOnDark: string;
776
+ labelFontColor: string;
777
+ labelFontColorOnDark: string;
778
+ helperTextFontColor: string;
779
+ helperTextFontColorOnDark: string;
780
+ disabledLabelFontColor: string;
781
+ disabledLabelFontColorOnDark: string;
782
+ disabledHelperTextFontColor: string;
783
+ disabledHelperTextFontColorOnDark: string;
784
+ thumbHeight: string;
785
+ thumbWidth: string;
786
+ hoverThumbHeight: string;
787
+ hoverThumbWidth: string;
788
+ thumbVerticalPosition: string;
789
+ hoverThumbVerticalPosition: string;
790
+ thumbBackgroundColor: string;
791
+ thumbBackgroundColorOnDark: string;
792
+ hoverThumbScale: string;
793
+ hoverThumbBackgroundColor: string;
794
+ hoverThumbBackgroundColorOnDark: string;
795
+ activeThumbScale: string;
796
+ activeThumbBackgroundColor: string;
797
+ activeThumbBackgroundColorOnDark: string;
798
+ focusThumbBackgroundColor: string;
799
+ focusThumbBackgroundColorOnDark: string;
800
+ tickHeight: string;
801
+ tickWidth: string;
802
+ tickVerticalPosition: string;
803
+ tickBackgroundColor: string;
804
+ tickBackgroundColorOnDark: string;
805
+ trackLineThickness: string;
806
+ trackLineVerticalPosition: string;
807
+ trackLineColor: string;
808
+ trackLineColorOnDark: string;
809
+ totalLineThickness: string;
810
+ totalLineVerticalPosition: string;
811
+ totalLineColor: string;
812
+ totalLineColorOnDark: string;
813
+ disabledThumbVerticalPosition: string;
814
+ disabledThumbBackgroundColor: string;
815
+ disabledThumbBackgroundColorOnDark: string;
816
+ disabledTickVerticalPosition: string;
817
+ disabledTickBackgroundColor: string;
818
+ disabledTickBackgroundColorOnDark: string;
819
+ disabledTrackLineColor: string;
820
+ disabledTrackLineColorOnDark: string;
821
+ disabledTotalLineColor: string;
822
+ disabledTotalLineColorOnDark: string;
823
+ focusColor: string;
824
+ focusColorOnDark: string;
825
+ floorLabelMarginRight: string;
826
+ ceilLabelMarginLeft: string;
827
+ inputMarginLeft: string;
828
+ };
829
+ spinner: {
830
+ trackCircleColor: string;
831
+ trackCircleColorOverlay: string;
832
+ totalCircleColor: string;
833
+ labelFontFamily: string;
834
+ labelFontSize: string;
835
+ labelFontStyle: string;
836
+ labelFontWeight: string;
837
+ labelFontColor: string;
838
+ labelFontColorOnDark: string;
839
+ labelTextAlign: string;
840
+ progressValueFontFamily: string;
841
+ progressValueFontSize: string;
842
+ progressValueFontStyle: string;
843
+ progressValueFontWeight: string;
844
+ progressValueFontColor: string;
845
+ progressValueFontColorOnDark: string;
846
+ progressValueTextAlign: string;
847
+ overlayBackgroundColor: string;
848
+ overlayOpacity: string;
849
+ overlayLabelFontFamily: string;
850
+ overlayLabelFontSize: string;
851
+ overlayLabelFontStyle: string;
852
+ overlayLabelFontWeight: string;
853
+ overlayLabelFontColor: string;
854
+ overlayLabelTextAlign: string;
855
+ overlayProgressValueFontFamily: string;
856
+ overlayProgressValueFontSize: string;
857
+ overlayProgressValueFontStyle: string;
858
+ overlayProgressValueFontWeight: string;
859
+ overlayProgressValueFontColor: string;
860
+ overlayProgressValueTextAlign: string;
861
+ };
862
+ switch: {
863
+ checkedTrackBackgroundColor: string;
864
+ checkedTrackBackgroundColorOnDark: string;
865
+ checkedThumbBackgroundColor: string;
866
+ checkedThumbBackgroundColorOnDark: string;
867
+ uncheckedTrackBackgroundColor: string;
868
+ uncheckedTrackBackgroundColorOnDark: string;
869
+ uncheckedThumbBackgroundColor: string;
870
+ uncheckedThumbBackgroundColorOnDark: string;
871
+ disabledCheckedTrackBackgroundColor: string;
872
+ disabledCheckedTrackBackgroundColorOnDark: string;
873
+ disabledCheckedThumbBackgroundColor: string;
874
+ disabledCheckedThumbBackgroundColorOnDark: string;
875
+ disabledUncheckedTrackBackgroundColor: string;
876
+ disabledUncheckedTrackBackgroundColorOnDark: string;
877
+ disabledUncheckedThumbBackgroundColor: string;
878
+ disabledUncheckedThumbBackgroundColorOnDark: string;
879
+ disabledLabelFontColor: string;
880
+ disabledLabelFontColorOnDark: string;
881
+ disabledLabelFontStyle: string;
882
+ labelFontFamily: string;
883
+ labelFontSize: string;
884
+ labelFontStyle: string;
885
+ labelFontWeight: string;
886
+ labelFontColor: string;
887
+ labelFontColorOnDark: string;
888
+ thumbFocusColor: string;
889
+ thumbFocusColorOnDark: string;
890
+ thumbHeight: string;
891
+ thumbWidth: string;
892
+ thumbShift: string;
893
+ trackHeight: string;
894
+ trackWidth: string;
895
+ spaceBetweenLabelSwitch: string;
896
+ };
897
+ table: {
898
+ rowSeparatorThickness: string;
899
+ rowSeparatorStyle: string;
900
+ rowSeparatorColor: string;
901
+ dataBackgroundColor: string;
902
+ dataFontFamily: string;
903
+ dataFontSize: string;
904
+ dataFontStyle: string;
905
+ dataFontWeight: string;
906
+ dataFontColor: string;
907
+ dataFontTextTransform: string;
908
+ dataPaddingTop: string;
909
+ dataPaddingBottom: string;
910
+ dataPaddingRight: string;
911
+ dataPaddingLeft: string;
912
+ dataTextAlign: string;
913
+ dataTextLineHeight: string;
914
+ headerBackgroundColor: string;
915
+ headerBorderRadius: string;
916
+ headerFontFamily: string;
917
+ headerFontSize: string;
918
+ headerFontStyle: string;
919
+ headerFontWeight: string;
920
+ headerFontColor: string;
921
+ headerFontTextTransform: string;
922
+ headerPaddingTop: string;
923
+ headerPaddingBottom: string;
924
+ headerPaddingRight: string;
925
+ headerPaddingLeft: string;
926
+ headerTextAlign: string;
927
+ headerTextLineHeight: string;
928
+ scrollBarThumbColor: string;
929
+ scrollBarTrackColor: string;
930
+ sortIconColor: string;
931
+ };
932
+ tabs: {
933
+ fontFamily: string;
934
+ fontSize: string;
935
+ fontStyle: string;
936
+ fontWeight: string;
937
+ fontTextTransform: string;
938
+ selectedBackgroundColor: string;
939
+ selectedFontColor: string;
940
+ selectedIconColor: string;
941
+ selectedUnderlineColor: string;
942
+ selectedUnderlineThickness: string;
943
+ unselectedBackgroundColor: string;
944
+ unselectedFontColor: string;
945
+ unselectedIconColor: string;
946
+ disabledFontColor: string;
947
+ disabledIconColor: string;
948
+ disabledFontStyle: string;
949
+ disabledBadgeBackgroundColor: string;
950
+ hoverBackgroundColor: string;
951
+ pressedBackgroundColor: string;
952
+ pressedFontWeight: string;
953
+ dividerColor: string;
954
+ dividerThickness: string;
955
+ focusOutline: string;
956
+ scrollButtonsWidth: string;
957
+ badgeBackgroundColor: string;
958
+ badgeFontFamily: string;
959
+ badgeFontSize: string;
960
+ badgeFontStyle: string;
961
+ badgeFontWeight: string;
962
+ badgeFontColor: string;
963
+ badgeLetterSpacing: string;
964
+ badgeWidth: string;
965
+ badgeHeight: string;
966
+ badgeRadius: string;
967
+ badgeWidthWithNotificationNumber: string;
968
+ badgeHeightWithNotificationNumber: string;
969
+ badgeRadiusWithNotificationNumber: string;
970
+ };
971
+ tag: {
972
+ fontFamily: string;
973
+ fontColor: string;
974
+ fontSize: string;
975
+ fontStyle: string;
976
+ fontWeight: string;
977
+ labelPaddingTop: string;
978
+ labelPaddingBottom: string;
979
+ labelPaddingLeft: string;
980
+ labelPaddingRight: string;
981
+ height: string;
982
+ iconColor: string;
983
+ iconSectionWidth: string;
984
+ iconHeight: string;
985
+ iconWidth: string;
986
+ focusColor: string;
987
+ };
988
+ textarea: {
989
+ fontFamily: string;
990
+ enabledBorderColor: string;
991
+ enabledBorderColorOnDark: string;
992
+ hoverBorderColor: string;
993
+ hoverBorderColorOnDark: string;
994
+ focusBorderColor: string;
995
+ focusBorderColorOnDark: string;
996
+ disabledBorderColor: string;
997
+ disabledBorderColorOnDark: string;
998
+ disabledContainerFillColor: string;
999
+ disabledContainerFillColorOnDark: string;
1000
+ errorBorderColor: string;
1001
+ errorBorderColorOnDark: string;
1002
+ hoverErrorBorderColor: string;
1003
+ hoverErrorBorderColorOnDark: string;
1004
+ inputMarginTop: string;
1005
+ inputMarginBottom: string;
1006
+ errorMessageColor: string;
1007
+ errorMessageColorOnDark: string;
1008
+ labelFontColor: string;
1009
+ labelFontColorOnDark: string;
1010
+ labelFontSize: string;
1011
+ labelFontStyle: string;
1012
+ labelFontWeight: string;
1013
+ labelLineHeight: string;
1014
+ disabledLabelFontColor: string;
1015
+ disabledLabelFontColorOnDark: string;
1016
+ optionalLabelFontWeight: string;
1017
+ helperTextFontColor: string;
1018
+ helperTextFontColorOnDark: string;
1019
+ helperTextFontSize: string;
1020
+ helperTextFontStyle: string;
1021
+ helperTextFontWeight: string;
1022
+ helperTextLineHeight: string;
1023
+ disabledHelperTextFontColor: string;
1024
+ disabledHelperTextFontColorOnDark: string;
1025
+ placeholderFontColor: string;
1026
+ placeholderFontColorOnDark: string;
1027
+ disabledPlaceholderFontColor: string;
1028
+ disabledPlaceholderFontColorOnDark: string;
1029
+ valueFontColor: string;
1030
+ valueFontColorOnDark: string;
1031
+ valueFontSize: string;
1032
+ valueFontStyle: string;
1033
+ valueFontWeight: string;
1034
+ disabledValueFontColor: string;
1035
+ disabledValueFontColorOnDark: string;
1036
+ };
1037
+ textInput: {
1038
+ fontFamily: string;
1039
+ enabledBorderColor: string;
1040
+ enabledBorderColorOnDark: string;
1041
+ hoverBorderColor: string;
1042
+ hoverBorderColorOnDark: string;
1043
+ focusBorderColor: string;
1044
+ focusBorderColorOnDark: string;
1045
+ disabledBorderColor: string;
1046
+ disabledBorderColorOnDark: string;
1047
+ disabledContainerFillColor: string;
1048
+ disabledContainerFillColorOnDark: string;
1049
+ errorBorderColor: string;
1050
+ errorBorderColorOnDark: string;
1051
+ hoverErrorBorderColor: string;
1052
+ hoverErrorBorderColorOnDark: string;
1053
+ inputMarginTop: string;
1054
+ inputMarginBottom: string;
1055
+ errorMessageColor: string;
1056
+ errorMessageColorOnDark: string;
1057
+ errorIconColor: string;
1058
+ errorIconColorOnDark: string;
1059
+ labelFontColor: string;
1060
+ labelFontColorOnDark: string;
1061
+ labelFontSize: string;
1062
+ labelFontStyle: string;
1063
+ labelFontWeight: string;
1064
+ labelLineHeight: string;
1065
+ disabledLabelFontColor: string;
1066
+ disabledLabelFontColorOnDark: string;
1067
+ optionalLabelFontWeight: string;
1068
+ helperTextFontColor: string;
1069
+ helperTextFontColorOnDark: string;
1070
+ helperTextFontSize: string;
1071
+ helperTextFontStyle: string;
1072
+ helperTextFontWeight: string;
1073
+ helperTextLineHeight: string;
1074
+ disabledHelperTextFontColor: string;
1075
+ disabledHelperTextFontColorOnDark: string;
1076
+ prefixColor: string;
1077
+ prefixColorOnDark: string;
1078
+ suffixColor: string;
1079
+ suffixColorOnDark: string;
1080
+ disabledPrefixColor: string;
1081
+ disabledSuffixColor: string;
1082
+ disabledPrefixColorOnDark: string;
1083
+ disabledSuffixColorOnDark: string;
1084
+ placeholderFontColor: string;
1085
+ placeholderFontColorOnDark: string;
1086
+ disabledPlaceholderFontColor: string;
1087
+ disabledPlaceholderFontColorOnDark: string;
1088
+ valueFontColor: string;
1089
+ valueFontColorOnDark: string;
1090
+ valueFontSize: string;
1091
+ valueFontStyle: string;
1092
+ valueFontWeight: string;
1093
+ disabledValueFontColor: string;
1094
+ disabledValueFontColorOnDark: string;
1095
+ actionIconColor: string;
1096
+ actionIconColorOnDark: string;
1097
+ disabledActionIconColor: string;
1098
+ disabledActionIconColorOnDark: string;
1099
+ hoverActionIconColor: string;
1100
+ hoverActionIconColorOnDark: string;
1101
+ focusActionIconColor: string;
1102
+ focusActionIconColorOnDark: string;
1103
+ activeActionIconColor: string;
1104
+ activeActionIconColorOnDark: string;
1105
+ actionBackgroundColor: string;
1106
+ actionBackgroundColorOnDark: string;
1107
+ disabledActionBackgroundColor: string;
1108
+ disabledActionBackgroundColorOnDark: string;
1109
+ hoverActionBackgroundColor: string;
1110
+ hoverActionBackgroundColorOnDark: string;
1111
+ focusActionBorderColor: string;
1112
+ focusActionBorderColorOnDark: string;
1113
+ activeActionBackgroundColor: string;
1114
+ activeActionBackgroundColorOnDark: string;
1115
+ listDialogBackgroundColor: string;
1116
+ listDialogBorderColor: string;
1117
+ listOptionDividerColor: string;
1118
+ listOptionFontColor: string;
1119
+ listOptionFontSize: string;
1120
+ listOptionFontStyle: string;
1121
+ listOptionFontWeight: string;
1122
+ systemMessageFontColor: string;
1123
+ errorListDialogFontColor: string;
1124
+ errorListDialogBackgroundColor: string;
1125
+ errorListDialogBorderColor: string;
1126
+ hoverListOptionBackgroundColor: string;
1127
+ activeListOptionBackgroundColor: string;
1128
+ focusListOptionBorderColor: string;
1129
+ };
1130
+ toggleGroup: {
1131
+ containerBackgroundColor: string;
1132
+ containerBorderColor: string;
1133
+ labelFontColor: string;
1134
+ disabledLabelFontColor: string;
1135
+ helperTextFontColor: string;
1136
+ disabledHelperTextFontcolor: string;
1137
+ unselectedBackgroundColor: string;
1138
+ unselectedHoverBackgroundColor: string;
1139
+ unselectedActiveBackgroundColor: string;
1140
+ unselectedDisabledBackgroundColor: string;
1141
+ unselectedFontColor: string;
1142
+ unselectedDisabledFontColor: string;
1143
+ selectedBackgroundColor: string;
1144
+ selectedHoverBackgroundColor: string;
1145
+ selectedActiveBackgroundColor: string;
1146
+ selectedDisabledBackgroundColor: string;
1147
+ selectedFontColor: string;
1148
+ selectedDisabledFontColor: string;
1149
+ focusColor: string;
1150
+ labelFontFamily: string;
1151
+ labelFontSize: string;
1152
+ labelFontStyle: string;
1153
+ labelFontWeight: string;
1154
+ labelLineHeight: string;
1155
+ helperTextFontFamily: string;
1156
+ helperTextFontSize: string;
1157
+ helperTextFontStyle: string;
1158
+ helperTextFontWeight: string;
1159
+ helperTextLineHeight: string;
1160
+ optionLabelFontFamily: string;
1161
+ optionLabelFontSize: string;
1162
+ optionLabelFontStyle: string;
1163
+ optionLabelFontWeight: string;
1164
+ iconPaddingRight: string;
1165
+ iconPaddingLeft: string;
1166
+ labelPaddingLeft: string;
1167
+ labelPaddingRight: string;
1168
+ iconMarginRight: string;
1169
+ containerMarginTop: string;
1170
+ optionBorderThickness: string;
1171
+ optionBorderStyle: string;
1172
+ optionBorderRadius: string;
1173
+ containerBorderThickness: string;
1174
+ containerBorderStyle: string;
1175
+ containerBorderRadius: string;
1176
+ optionFocusBorderThickness: string;
1177
+ };
1178
+ wizard: {
1179
+ visitedStepFontColor: string;
1180
+ visitedStepBackgroundColor: string;
1181
+ visitedStepBorderColor: string;
1182
+ unvisitedStepFontColor: string;
1183
+ unvisitedLabelFontColor: string;
1184
+ unvisitedHelperTextFontColor: string;
1185
+ unvisitedStepBackgroundColor: string;
1186
+ unvisitedStepBorderColor: string;
1187
+ selectedStepFontColor: string;
1188
+ selectedStepBackgroundColor: string;
1189
+ selectedStepBorderColor: string;
1190
+ selectedLabelFontColor: string;
1191
+ selectedHelperTextFontColor: string;
1192
+ selectedStepWidth: string;
1193
+ selectedStepHeight: string;
1194
+ selectedStepBorderThickness: string;
1195
+ selectedStepBorderStyle: string;
1196
+ selectedStepBorderRadius: string;
1197
+ stepFontSize: string;
1198
+ stepFontFamily: string;
1199
+ stepFontStyle: string;
1200
+ stepFontWeight: string;
1201
+ stepFontTracking: string;
1202
+ stepIconSize: string;
1203
+ stepWidth: string;
1204
+ stepHeight: string;
1205
+ stepBorderThickness: string;
1206
+ stepBorderStyle: string;
1207
+ stepBorderRadius: string;
1208
+ visitedLabelFontColor: string;
1209
+ labelFontSize: string;
1210
+ labelFontFamily: string;
1211
+ labelFontStyle: string;
1212
+ labelFontWeight: string;
1213
+ labelFontTracking: string;
1214
+ labelFontTextTransform: string;
1215
+ labelTextAlign: string;
1216
+ helperTextFontSize: string;
1217
+ helperTextFontFamily: string;
1218
+ helperTextFontStyle: string;
1219
+ helperTextFontWeight: string;
1220
+ helperTextFontTracking: string;
1221
+ helperTextFontTextTransform: string;
1222
+ visitedHelperTextFontColor: string;
1223
+ helperTextTextAlign: string;
1224
+ disabledStepBackgroundColor: string;
1225
+ disabledStepFontColor: string;
1226
+ disabledLabelFontColor: string;
1227
+ disabledHelperTextFontColor: string;
1228
+ disabledStepBorderColor: string;
1229
+ disabledStepWidth: string;
1230
+ disabledStepHeight: string;
1231
+ disabledStepBorderThickness: string;
1232
+ disabledStepBorderStyle: string;
1233
+ disabledStepBorderRadius: string;
1234
+ separatorBorderThickness: string;
1235
+ separatorBorderStyle: string;
1236
+ separatorColor: string;
1237
+ focusColor: string;
1238
+ };
1239
+ }>>;
1240
+ declare const HalstackLanguageContext: React.Context<DeepPartial<{
1241
+ formFields: {
1242
+ optionalLabel: string;
1243
+ requiredSelectionErrorMessage: string;
1244
+ requiredValueErrorMessage: string;
1245
+ formatRequestedErrorMessage: string;
1246
+ lengthErrorMessage: (minLength?: number, maxLength?: number) => string;
1247
+ logoAlternativeText: string;
1248
+ };
1249
+ applicationLayout: {
1250
+ visibilityToggleTitle: string;
1251
+ };
1252
+ alert: {
1253
+ infoTitleText: string;
1254
+ successTitleText: string;
1255
+ warningTitleText: string;
1256
+ errorTitleText: string;
1257
+ };
1258
+ dateInput: {
1259
+ invalidDateErrorMessage: string;
1260
+ };
1261
+ dialog: {
1262
+ closeIconAriaLabel: string;
1263
+ };
1264
+ fileInput: {
1265
+ fileSizeGreaterThanErrorMessage: string;
1266
+ fileSizeLessThanErrorMessage: string;
1267
+ multipleButtonLabelDefault: string;
1268
+ singleButtonLabelDefault: string;
1269
+ dropAreaButtonLabelDefault: string;
1270
+ multipleDropAreaLabelDefault: string;
1271
+ singleDropAreaLabelDefault: string;
1272
+ deleteFileActionTitle: string;
1273
+ };
1274
+ footer: {
1275
+ copyrightText: (year: number) => string;
1276
+ };
1277
+ header: {
1278
+ closeIcon: string;
1279
+ hamburguerTitle: string;
1280
+ };
1281
+ numberInput: {
1282
+ valueGreaterThanOrEqualToErrorMessage: (value: number) => string;
1283
+ valueLessThanOrEqualToErrorMessage: (value: number) => string;
1284
+ decrementValueTitle: string;
1285
+ incrementValueTitle: string;
1286
+ };
1287
+ paginator: {
1288
+ itemsPerPageText: string;
1289
+ minToMaxOfText: (minNumberOfItems: number, maxNumberOfItems: number, totalItems: number) => string;
1290
+ goToPageText: string;
1291
+ pageOfText: (pageNumber: number, totalPagesNumber: number) => string;
1292
+ };
1293
+ passwordInput: {
1294
+ inputShowPasswordTitle: string;
1295
+ inputHidePasswordTitle: string;
1296
+ };
1297
+ quickNav: {
1298
+ contentTitle: string;
1299
+ };
1300
+ radioGroup: {
1301
+ optionalItemLabelDefault: string;
1302
+ };
1303
+ select: {
1304
+ noMatchesErrorMessage: string;
1305
+ actionClearSelectionTitle: string;
1306
+ actionClearSearchTitle: string;
1307
+ };
1308
+ tabs: {
1309
+ scrollLeft: string;
1310
+ scrollRight: string;
1311
+ };
1312
+ textInput: {
1313
+ clearFieldActionTitle: string;
1314
+ searchingMessage: string;
1315
+ fetchingDataErrorMessage: string;
1316
+ };
1317
+ calendar: {
1318
+ daysShort: string[];
1319
+ months: string[];
1320
+ previousMonthTitle: string;
1321
+ nextMonthTitle: string;
1322
+ };
1323
+ }>>;
1324
+ /**
1325
+ * This type is used to allow partial themes and labels objects to be passed to the HalstackProvider.
1326
+ * This is an extension of the already extisting Partial type, which only allows one level of partiality.
1327
+ */
1328
+ declare type DeepPartial<T> = {
1329
+ [P in keyof T]?: Partial<T[P]>;
1330
+ };
4
1331
  declare type HalstackProviderPropsType = {
5
- theme?: object;
6
- advancedTheme?: object;
7
- labels?: object;
1332
+ theme?: DeepPartial<OpinionatedTheme>;
1333
+ advancedTheme?: DeepPartial<AdvancedTheme>;
1334
+ labels?: DeepPartial<TranslatedLabels>;
8
1335
  children: React.ReactNode;
9
1336
  };
10
1337
  declare const HalstackProvider: ({ theme, advancedTheme, labels, children }: HalstackProviderPropsType) => JSX.Element;