@dxc-technology/halstack-react 0.0.0-61a8ced → 0.0.0-62702b8

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