@dxc-technology/halstack-react 11.0.0 → 12.0.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 (276) hide show
  1. package/BackgroundColorContext.d.ts +1 -10
  2. package/BackgroundColorContext.js +3 -8
  3. package/HalstackContext.d.ts +32 -142
  4. package/HalstackContext.js +2 -2
  5. package/accordion/Accordion.accessibility.test.js +71 -0
  6. package/accordion/Accordion.js +13 -27
  7. package/accordion/Accordion.stories.tsx +7 -49
  8. package/accordion/types.d.ts +1 -1
  9. package/accordion-group/AccordionGroup.accessibility.test.js +88 -0
  10. package/accordion-group/AccordionGroup.d.ts +2 -3
  11. package/accordion-group/AccordionGroup.js +4 -4
  12. package/accordion-group/AccordionGroup.stories.tsx +23 -23
  13. package/accordion-group/AccordionGroupAccordion.js +3 -3
  14. package/accordion-group/AccordionGroupContext.d.ts +3 -0
  15. package/accordion-group/AccordionGroupContext.js +8 -0
  16. package/accordion-group/types.d.ts +1 -1
  17. package/action-icon/ActionIcon.accessibility.test.js +63 -0
  18. package/action-icon/ActionIcon.d.ts +4 -0
  19. package/action-icon/ActionIcon.js +48 -0
  20. package/action-icon/ActionIcon.stories.tsx +41 -0
  21. package/action-icon/ActionIcon.test.js +64 -0
  22. package/action-icon/types.d.ts +26 -0
  23. package/action-icon/types.js +5 -0
  24. package/alert/Alert.accessibility.test.js +95 -0
  25. package/alert/Alert.js +21 -75
  26. package/badge/Badge.accessibility.test.js +129 -0
  27. package/badge/Badge.d.ts +1 -1
  28. package/badge/Badge.js +141 -28
  29. package/badge/Badge.stories.tsx +210 -0
  30. package/badge/Badge.test.js +30 -0
  31. package/badge/types.d.ts +52 -3
  32. package/box/Box.accessibility.test.js +33 -0
  33. package/box/Box.js +2 -5
  34. package/breadcrumbs/Breadcrumbs.accessibility.test.d.ts +1 -0
  35. package/breadcrumbs/Breadcrumbs.accessibility.test.js +96 -0
  36. package/breadcrumbs/Breadcrumbs.d.ts +4 -0
  37. package/breadcrumbs/Breadcrumbs.js +79 -0
  38. package/breadcrumbs/Breadcrumbs.stories.tsx +194 -0
  39. package/breadcrumbs/Breadcrumbs.test.d.ts +1 -0
  40. package/breadcrumbs/Breadcrumbs.test.js +169 -0
  41. package/breadcrumbs/Item.d.ts +4 -0
  42. package/breadcrumbs/Item.js +52 -0
  43. package/breadcrumbs/dropdownTheme.d.ts +53 -0
  44. package/breadcrumbs/dropdownTheme.js +62 -0
  45. package/breadcrumbs/types.d.ts +16 -0
  46. package/breadcrumbs/types.js +5 -0
  47. package/bulleted-list/BulletedList.accessibility.test.js +119 -0
  48. package/bulleted-list/BulletedList.js +16 -23
  49. package/bulleted-list/BulletedList.stories.tsx +1 -2
  50. package/button/Button.accessibility.test.js +127 -0
  51. package/button/Button.js +16 -16
  52. package/button/Button.stories.tsx +34 -53
  53. package/button/Button.test.js +3 -1
  54. package/button/types.d.ts +1 -1
  55. package/card/Card.accessibility.test.js +36 -0
  56. package/card/Card.js +3 -2
  57. package/checkbox/Checkbox.accessibility.test.js +87 -0
  58. package/checkbox/Checkbox.js +31 -36
  59. package/chip/Chip.accessibility.test.js +67 -0
  60. package/chip/Chip.js +11 -6
  61. package/chip/Chip.stories.tsx +10 -25
  62. package/chip/Chip.test.js +4 -4
  63. package/common/coreTokens.d.ts +105 -14
  64. package/common/coreTokens.js +40 -22
  65. package/common/variables.d.ts +31 -138
  66. package/common/variables.js +103 -210
  67. package/container/Container.d.ts +4 -0
  68. package/container/Container.js +194 -0
  69. package/container/Container.stories.tsx +214 -0
  70. package/container/types.d.ts +74 -0
  71. package/container/types.js +5 -0
  72. package/contextual-menu/ContextualMenu.accessibility.test.js +97 -0
  73. package/contextual-menu/ContextualMenu.d.ts +5 -0
  74. package/contextual-menu/ContextualMenu.js +88 -0
  75. package/contextual-menu/ContextualMenu.stories.tsx +232 -0
  76. package/contextual-menu/ContextualMenu.test.js +205 -0
  77. package/contextual-menu/GroupItem.d.ts +4 -0
  78. package/contextual-menu/GroupItem.js +67 -0
  79. package/contextual-menu/ItemAction.d.ts +4 -0
  80. package/contextual-menu/ItemAction.js +51 -0
  81. package/contextual-menu/MenuItem.d.ts +4 -0
  82. package/contextual-menu/MenuItem.js +29 -0
  83. package/contextual-menu/SingleItem.d.ts +4 -0
  84. package/contextual-menu/SingleItem.js +38 -0
  85. package/contextual-menu/types.d.ts +58 -0
  86. package/contextual-menu/types.js +5 -0
  87. package/date-input/Calendar.js +1 -1
  88. package/date-input/DateInput.accessibility.test.js +228 -0
  89. package/date-input/DateInput.js +4 -5
  90. package/date-input/DateInput.stories.tsx +15 -8
  91. package/date-input/DatePicker.js +13 -7
  92. package/date-input/YearPicker.js +1 -1
  93. package/date-input/types.d.ts +2 -2
  94. package/dialog/Dialog.accessibility.test.js +69 -0
  95. package/dialog/Dialog.js +11 -25
  96. package/dialog/Dialog.stories.tsx +176 -0
  97. package/dialog/Dialog.test.js +1 -1
  98. package/divider/Divider.accessibility.test.js +33 -0
  99. package/divider/Divider.d.ts +4 -0
  100. package/divider/Divider.js +36 -0
  101. package/divider/Divider.stories.tsx +223 -0
  102. package/divider/Divider.test.js +38 -0
  103. package/divider/types.d.ts +21 -0
  104. package/divider/types.js +5 -0
  105. package/dropdown/Dropdown.accessibility.test.js +180 -0
  106. package/dropdown/Dropdown.js +26 -39
  107. package/dropdown/Dropdown.stories.tsx +15 -26
  108. package/dropdown/Dropdown.test.js +18 -18
  109. package/dropdown/DropdownMenu.js +4 -4
  110. package/dropdown/DropdownMenuItem.js +8 -4
  111. package/dropdown/types.d.ts +3 -5
  112. package/file-input/FileInput.accessibility.test.js +160 -0
  113. package/file-input/FileInput.js +126 -141
  114. package/file-input/FileInput.test.js +84 -110
  115. package/file-input/FileItem.js +18 -28
  116. package/file-input/types.d.ts +1 -1
  117. package/footer/Footer.accessibility.test.js +125 -0
  118. package/footer/Footer.d.ts +1 -1
  119. package/footer/Footer.js +36 -31
  120. package/footer/Footer.stories.tsx +58 -2
  121. package/footer/Icons.d.ts +1 -0
  122. package/footer/Icons.js +52 -16
  123. package/footer/types.d.ts +8 -8
  124. package/header/Header.accessibility.test.js +93 -0
  125. package/header/Header.js +20 -41
  126. package/header/Header.stories.tsx +16 -0
  127. package/header/Icons.js +1 -6
  128. package/header/types.d.ts +4 -3
  129. package/heading/Heading.accessibility.test.js +33 -0
  130. package/heading/Heading.js +1 -1
  131. package/icon/Icon.accessibility.test.js +30 -0
  132. package/icon/Icon.d.ts +4 -0
  133. package/icon/Icon.js +33 -0
  134. package/icon/Icon.stories.tsx +28 -0
  135. package/icon/types.d.ts +4 -0
  136. package/icon/types.js +5 -0
  137. package/image/Image.accessibility.test.js +56 -0
  138. package/image/Image.js +1 -1
  139. package/image/Image.stories.tsx +3 -1
  140. package/layout/ApplicationLayout.d.ts +1 -1
  141. package/layout/ApplicationLayout.js +10 -7
  142. package/layout/Icons.d.ts +0 -1
  143. package/layout/Icons.js +1 -11
  144. package/link/Link.accessibility.test.js +108 -0
  145. package/link/Link.js +8 -6
  146. package/link/Link.stories.tsx +4 -4
  147. package/link/types.d.ts +1 -1
  148. package/main.d.ts +7 -3
  149. package/main.js +37 -9
  150. package/nav-tabs/NavTabs.accessibility.test.js +44 -0
  151. package/nav-tabs/NavTabs.d.ts +1 -2
  152. package/nav-tabs/NavTabs.js +10 -7
  153. package/nav-tabs/NavTabs.stories.tsx +29 -24
  154. package/nav-tabs/NavTabs.test.js +11 -9
  155. package/nav-tabs/NavTabsContext.d.ts +3 -0
  156. package/nav-tabs/NavTabsContext.js +8 -0
  157. package/nav-tabs/Tab.js +23 -23
  158. package/nav-tabs/types.d.ts +1 -1
  159. package/number-input/NumberInput.accessibility.test.js +228 -0
  160. package/number-input/NumberInput.d.ts +0 -7
  161. package/number-input/NumberInput.js +24 -5
  162. package/number-input/NumberInput.test.js +165 -6
  163. package/number-input/NumberInputContext.d.ts +3 -0
  164. package/number-input/NumberInputContext.js +8 -0
  165. package/number-input/types.d.ts +6 -0
  166. package/package.json +16 -14
  167. package/paginator/Paginator.accessibility.test.js +79 -0
  168. package/paginator/Paginator.js +14 -14
  169. package/paragraph/Paragraph.accessibility.test.js +28 -0
  170. package/paragraph/Paragraph.js +2 -7
  171. package/password-input/PasswordInput.accessibility.test.js +153 -0
  172. package/password-input/PasswordInput.js +7 -7
  173. package/password-input/PasswordInput.stories.tsx +0 -1
  174. package/password-input/PasswordInput.test.js +4 -4
  175. package/progress-bar/ProgressBar.accessibility.test.js +35 -0
  176. package/progress-bar/ProgressBar.js +11 -15
  177. package/quick-nav/QuickNav.accessibility.test.js +57 -0
  178. package/quick-nav/QuickNav.js +1 -1
  179. package/radio-group/Radio.js +1 -1
  180. package/radio-group/RadioGroup.accessibility.test.js +97 -0
  181. package/radio-group/RadioGroup.js +3 -2
  182. package/resultset-table/ResultsetTable.accessibility.test.js +285 -0
  183. package/resultset-table/ResultsetTable.d.ts +4 -1
  184. package/resultset-table/ResultsetTable.js +25 -13
  185. package/resultset-table/ResultsetTable.stories.tsx +118 -5
  186. package/resultset-table/ResultsetTable.test.js +76 -0
  187. package/resultset-table/types.d.ts +40 -7
  188. package/select/Listbox.js +28 -16
  189. package/select/Option.js +19 -10
  190. package/select/Select.accessibility.test.js +228 -0
  191. package/select/Select.js +57 -37
  192. package/select/Select.stories.tsx +59 -111
  193. package/select/Select.test.js +387 -456
  194. package/select/types.d.ts +3 -3
  195. package/sidenav/Sidenav.accessibility.test.js +59 -0
  196. package/sidenav/Sidenav.js +21 -19
  197. package/sidenav/Sidenav.stories.tsx +4 -9
  198. package/sidenav/types.d.ts +2 -2
  199. package/slider/Slider.accessibility.test.js +104 -0
  200. package/slider/Slider.js +40 -48
  201. package/spinner/Spinner.accessibility.test.js +96 -0
  202. package/spinner/Spinner.js +12 -16
  203. package/status-light/StatusLight.accessibility.test.js +157 -0
  204. package/status-light/StatusLight.d.ts +4 -0
  205. package/status-light/StatusLight.js +51 -0
  206. package/status-light/StatusLight.stories.tsx +74 -0
  207. package/status-light/StatusLight.test.js +25 -0
  208. package/status-light/types.d.ts +17 -0
  209. package/status-light/types.js +5 -0
  210. package/switch/Switch.accessibility.test.js +98 -0
  211. package/switch/Switch.js +24 -29
  212. package/switch/Switch.stories.tsx +12 -0
  213. package/table/DropdownTheme.js +62 -0
  214. package/table/Table.accessibility.test.js +93 -0
  215. package/table/Table.d.ts +6 -2
  216. package/table/Table.js +74 -12
  217. package/table/Table.stories.tsx +309 -2
  218. package/table/Table.test.js +92 -0
  219. package/table/types.d.ts +28 -0
  220. package/tabs/Tab.js +13 -9
  221. package/tabs/Tabs.accessibility.test.js +56 -0
  222. package/tabs/Tabs.js +12 -24
  223. package/tabs/Tabs.stories.tsx +8 -4
  224. package/tabs/Tabs.test.js +19 -37
  225. package/tabs/types.d.ts +2 -2
  226. package/tag/Tag.accessibility.test.js +69 -0
  227. package/tag/Tag.js +7 -7
  228. package/tag/Tag.stories.tsx +4 -7
  229. package/tag/Tag.test.js +4 -12
  230. package/tag/types.d.ts +2 -2
  231. package/text-input/Suggestion.js +1 -1
  232. package/text-input/Suggestions.js +19 -14
  233. package/text-input/TextInput.accessibility.test.js +321 -0
  234. package/text-input/TextInput.js +84 -105
  235. package/text-input/TextInput.stories.tsx +17 -8
  236. package/text-input/TextInput.test.js +96 -79
  237. package/textarea/Textarea.accessibility.test.js +155 -0
  238. package/textarea/Textarea.js +12 -17
  239. package/textarea/Textarea.stories.tsx +0 -1
  240. package/toggle-group/ToggleGroup.accessibility.test.js +107 -0
  241. package/toggle-group/ToggleGroup.js +6 -8
  242. package/toggle-group/ToggleGroup.stories.tsx +3 -3
  243. package/toggle-group/types.d.ts +2 -2
  244. package/typography/Typography.accessibility.test.js +339 -0
  245. package/useTheme.d.ts +31 -138
  246. package/utils/BaseTypography.js +1 -1
  247. package/utils/FocusLock.js +16 -6
  248. package/wizard/Wizard.accessibility.test.js +55 -0
  249. package/wizard/Wizard.js +14 -25
  250. package/wizard/Wizard.stories.tsx +19 -0
  251. package/wizard/types.d.ts +2 -2
  252. package/common/OpenSans.css +0 -69
  253. package/common/fonts/OpenSans-Bold.ttf +0 -0
  254. package/common/fonts/OpenSans-BoldItalic.ttf +0 -0
  255. package/common/fonts/OpenSans-ExtraBold.ttf +0 -0
  256. package/common/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  257. package/common/fonts/OpenSans-Italic.ttf +0 -0
  258. package/common/fonts/OpenSans-Light.ttf +0 -0
  259. package/common/fonts/OpenSans-LightItalic.ttf +0 -0
  260. package/common/fonts/OpenSans-Regular.ttf +0 -0
  261. package/common/fonts/OpenSans-SemiBold.ttf +0 -0
  262. package/common/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  263. package/date-input/Icons.d.ts +0 -6
  264. package/date-input/Icons.js +0 -58
  265. package/paginator/Icons.d.ts +0 -5
  266. package/paginator/Icons.js +0 -40
  267. package/password-input/Icons.d.ts +0 -6
  268. package/password-input/Icons.js +0 -35
  269. package/select/Icons.d.ts +0 -10
  270. package/select/Icons.js +0 -89
  271. package/sidenav/Icons.d.ts +0 -7
  272. package/sidenav/Icons.js +0 -47
  273. package/text-input/Icons.d.ts +0 -8
  274. package/text-input/Icons.js +0 -56
  275. /package/{layout → sidenav}/SidenavContext.d.ts +0 -0
  276. /package/{layout → sidenav}/SidenavContext.js +0 -0
package/useTheme.d.ts CHANGED
@@ -36,7 +36,7 @@ declare const useTheme: () => {
36
36
  disabledIconColor: string;
37
37
  iconSize: string;
38
38
  iconMarginLeft: string;
39
- iconMarginRigth: string;
39
+ iconMarginRight: string;
40
40
  accordionGroupSeparatorBorderColor: string;
41
41
  accordionGroupSeparatorBorderThickness: string;
42
42
  accordionGroupSeparatorBorderRadius: string;
@@ -109,7 +109,6 @@ declare const useTheme: () => {
109
109
  }>;
110
110
  bulletedList?: Partial<{
111
111
  fontColor: string;
112
- fontColorOnDark: string;
113
112
  bulletIconHeight: string;
114
113
  bulletIconWidth: string;
115
114
  bulletHeight: string;
@@ -124,19 +123,12 @@ declare const useTheme: () => {
124
123
  paddingTop: string;
125
124
  paddingBottom: string;
126
125
  focusBorderColor: string;
127
- focusBorderColorOnDark: string;
128
126
  primaryBackgroundColor: string;
129
- primaryBackgroundColorOnDark: string;
130
127
  primaryFontColor: string;
131
- primaryFontColorOnDark: string;
132
128
  primaryHoverBackgroundColor: string;
133
- primaryHoverBackgroundColorOnDark: string;
134
129
  primaryActiveBackgroundColor: string;
135
- primaryActiveBackgroundColorOnDark: string;
136
130
  primaryDisabledBackgroundColor: string;
137
- primaryDisabledBackgroundColorOnDark: string;
138
131
  primaryDisabledFontColor: string;
139
- primaryDisabledFontColorOnDark: string;
140
132
  primaryBorderThickness: string;
141
133
  primaryBorderStyle: string;
142
134
  primaryBorderRadius: string;
@@ -144,23 +136,14 @@ declare const useTheme: () => {
144
136
  primaryFontSize: string;
145
137
  primaryFontWeight: string;
146
138
  secondaryBackgroundColor: string;
147
- secondaryBackgroundColorOnDark: string;
148
139
  secondaryFontColor: string;
149
- secondaryFontColorOnDark: string;
150
140
  secondaryHoverFontColor: string;
151
- secondaryHoverFontColorOnDark: string;
152
141
  secondaryBorderColor: string;
153
- secondaryBorderColorOnDark: string;
154
142
  secondaryHoverBackgroundColor: string;
155
- secondaryHoverBackgroundColorOnDark: string;
156
143
  secondaryActiveBackgroundColor: string;
157
- secondaryActiveBackgroundColorOnDark: string;
158
144
  secondaryDisabledBackgroundColor: string;
159
- secondaryDisabledBackgroundColorOnDark: string;
160
145
  secondaryDisabledFontColor: string;
161
- secondaryDisabledFontColorOnDark: string;
162
146
  secondaryDisabledBorderColor: string;
163
- secondaryDisabledBorderColorOnDark: string;
164
147
  secondaryBorderThickness: string;
165
148
  secondaryBorderStyle: string;
166
149
  secondaryBorderRadius: string;
@@ -168,17 +151,11 @@ declare const useTheme: () => {
168
151
  secondaryFontSize: string;
169
152
  secondaryFontWeight: string;
170
153
  textBackgroundColor: string;
171
- textBackgroundColorOnDark: string;
172
154
  textFontColor: string;
173
- textFontColorOnDark: string;
174
155
  textHoverBackgroundColor: string;
175
- textHoverBackgroundColorOnDark: string;
176
156
  textActiveBackgroundColor: string;
177
- textActiveBackgroundColorOnDark: string;
178
157
  textDisabledBackgroundColor: string;
179
- textDisabledBackgroundColorOnDark: string;
180
158
  textDisabledFontColor: string;
181
- textDisabledFontColorOnDark: string;
182
159
  textBorderThickness: string;
183
160
  textBorderStyle: string;
184
161
  textBorderRadius: string;
@@ -192,35 +169,24 @@ declare const useTheme: () => {
192
169
  }>;
193
170
  checkbox?: Partial<{
194
171
  backgroundColorChecked: string;
195
- backgroundColorCheckedOnDark: string;
196
172
  hoverBackgroundColorChecked: string;
197
- hoverBackgroundColorCheckedOnDark: string;
198
173
  disabledBackgroundColorChecked: string;
199
- disabledBackgroundColorCheckedOnDark: string;
200
174
  readOnlyBackgroundColorChecked: string;
201
175
  hoverReadOnlyBackgroundColorChecked: string;
202
176
  borderColor: string;
203
- borderColorOnDark: string;
204
177
  hoverBorderColor: string;
205
- hoverBorderColorOnDark: string;
206
178
  disabledBorderColor: string;
207
- disabledBorderColorOnDark: string;
208
179
  readOnlyBorderColor: string;
209
180
  hoverReadOnlyBorderColor: string;
210
181
  checkColor: string;
211
- checkColorOnDark: string;
212
182
  disabledCheckColor: string;
213
- disabledCheckColorOnDark: string;
214
183
  readOnlyCheckColor: string;
215
184
  fontFamily: string;
216
185
  fontSize: string;
217
186
  fontWeight: string;
218
187
  fontColor: string;
219
- fontColorOnDark: string;
220
188
  disabledFontColor: string;
221
- disabledFontColorOnDark: string;
222
189
  focusColor: string;
223
- focusColorOnDark: string;
224
190
  checkLabelSpacing: string;
225
191
  }>;
226
192
  chip?: Partial<{
@@ -285,8 +251,7 @@ declare const useTheme: () => {
285
251
  dialog?: Partial<{
286
252
  overlayColor: string;
287
253
  backgroundColor: string;
288
- closeIconWidth: string;
289
- closeIconHeight: string;
254
+ closeIconSize: string;
290
255
  closeIconTopPosition: string;
291
256
  closeIconRightPosition: string;
292
257
  closeIconBackgroundColor: string;
@@ -316,9 +281,14 @@ declare const useTheme: () => {
316
281
  buttonPaddingBottom: string;
317
282
  buttonPaddingLeft: string;
318
283
  buttonPaddingRight: string;
284
+ buttonHeight: string;
285
+ buttonBorderRadius: string;
286
+ buttonBorderStyle: string;
287
+ buttonBorderThickness: string;
288
+ buttonBorderColor: string;
319
289
  disabledColor: string;
320
290
  disabledButtonBackgroundColor: string;
321
- disabledBorderColor: string;
291
+ disabledButtonBorderColor: string;
322
292
  optionBackgroundColor: string;
323
293
  hoverOptionBackgroundColor: string;
324
294
  activeOptionBackgroundColor: string;
@@ -358,7 +328,6 @@ declare const useTheme: () => {
358
328
  focusDropBorderColor: string;
359
329
  disabledDropBorderColor: string;
360
330
  dragoverDropBackgroundColor: string;
361
- activeFileItemIconBackgrounColor: string;
362
331
  errorFileItemBorderColor: string;
363
332
  errorFileItemBackgroundColor: string;
364
333
  errorFilePreviewBackgroundColor: string;
@@ -454,7 +423,6 @@ declare const useTheme: () => {
454
423
  underlinedThickness: string;
455
424
  underlinedStyle: string;
456
425
  contentColor: string;
457
- contentColorOnDark: string;
458
426
  }>;
459
427
  heading?: Partial<{
460
428
  level1FontColor: string;
@@ -560,32 +528,27 @@ declare const useTheme: () => {
560
528
  totalItemsContainerMarginLeft: string;
561
529
  }>;
562
530
  paragraph?: Partial<{
563
- fontColor: string;
564
- fontColorOnDark: string;
565
531
  display: string;
532
+ fontColor: string;
566
533
  fontSize: string;
567
534
  fontWeight: string;
568
535
  }>;
569
536
  progressBar?: Partial<{
570
537
  trackLineColor: string;
571
- trackLineColorOnDark: string;
572
538
  totalLineColor: string;
573
539
  labelFontFamily: string;
574
540
  labelFontSize: string;
575
541
  labelFontStyle: string;
576
542
  labelFontWeight: string;
577
543
  labelFontColor: string;
578
- labelFontColorOnDark: string;
579
544
  labelFontTextTransform: string;
580
545
  valueFontFamily: string;
581
546
  valueFontSize: string;
582
547
  valueFontStyle: string;
583
548
  valueFontWeight: string;
584
549
  valueFontColor: string;
585
- valueFontColorOnDark: string;
586
550
  valueFontTextTransform: string;
587
551
  helperTextFontColor: string;
588
- helperTextFontColorOnDark: string;
589
552
  helperTextFontSize: string;
590
553
  helperTextFontStyle: string;
591
554
  helperTextFontWeight: string;
@@ -763,7 +726,6 @@ declare const useTheme: () => {
763
726
  slider?: Partial<{
764
727
  fontFamily: string;
765
728
  limitValuesFontColor: string;
766
- limitValuesFontColorOnDark: string;
767
729
  limitValuesFontSize: string;
768
730
  limitValuesFontStyle: string;
769
731
  limitValuesFontWeight: string;
@@ -780,15 +742,10 @@ declare const useTheme: () => {
780
742
  helperTextFontWeight: string;
781
743
  helperTextLineHeight: string;
782
744
  fontColor: string;
783
- fontColorOnDark: string;
784
745
  labelFontColor: string;
785
- labelFontColorOnDark: string;
786
746
  helperTextFontColor: string;
787
- helperTextFontColorOnDark: string;
788
747
  disabledLabelFontColor: string;
789
- disabledLabelFontColorOnDark: string;
790
748
  disabledHelperTextFontColor: string;
791
- disabledHelperTextFontColorOnDark: string;
792
749
  thumbHeight: string;
793
750
  thumbWidth: string;
794
751
  hoverThumbHeight: string;
@@ -796,40 +753,28 @@ declare const useTheme: () => {
796
753
  thumbVerticalPosition: string;
797
754
  hoverThumbVerticalPosition: string;
798
755
  thumbBackgroundColor: string;
799
- thumbBackgroundColorOnDark: string;
800
756
  hoverThumbScale: string;
801
757
  hoverThumbBackgroundColor: string;
802
- hoverThumbBackgroundColorOnDark: string;
803
758
  activeThumbScale: string;
804
759
  activeThumbBackgroundColor: string;
805
- activeThumbBackgroundColorOnDark: string;
806
760
  focusThumbBackgroundColor: string;
807
- focusThumbBackgroundColorOnDark: string;
808
761
  tickHeight: string;
809
762
  tickWidth: string;
810
763
  tickVerticalPosition: string;
811
764
  tickBackgroundColor: string;
812
- tickBackgroundColorOnDark: string;
813
765
  trackLineThickness: string;
814
766
  trackLineVerticalPosition: string;
815
767
  trackLineColor: string;
816
- trackLineColorOnDark: string;
817
768
  totalLineThickness: string;
818
769
  totalLineVerticalPosition: string;
819
770
  totalLineColor: string;
820
- totalLineColorOnDark: string;
821
771
  disabledThumbVerticalPosition: string;
822
772
  disabledThumbBackgroundColor: string;
823
- disabledThumbBackgroundColorOnDark: string;
824
773
  disabledTickVerticalPosition: string;
825
774
  disabledTickBackgroundColor: string;
826
- disabledTickBackgroundColorOnDark: string;
827
775
  disabledTrackLineColor: string;
828
- disabledTrackLineColorOnDark: string;
829
776
  disabledTotalLineColor: string;
830
- disabledTotalLineColorOnDark: string;
831
777
  focusColor: string;
832
- focusColorOnDark: string;
833
778
  floorLabelMarginRight: string;
834
779
  ceilLabelMarginLeft: string;
835
780
  inputMarginLeft: string;
@@ -843,14 +788,12 @@ declare const useTheme: () => {
843
788
  labelFontStyle: string;
844
789
  labelFontWeight: string;
845
790
  labelFontColor: string;
846
- labelFontColorOnDark: string;
847
791
  labelTextAlign: string;
848
792
  progressValueFontFamily: string;
849
793
  progressValueFontSize: string;
850
794
  progressValueFontStyle: string;
851
795
  progressValueFontWeight: string;
852
796
  progressValueFontColor: string;
853
- progressValueFontColorOnDark: string;
854
797
  progressValueTextAlign: string;
855
798
  overlayBackgroundColor: string;
856
799
  overlayOpacity: string;
@@ -869,32 +812,21 @@ declare const useTheme: () => {
869
812
  }>;
870
813
  switch?: Partial<{
871
814
  checkedTrackBackgroundColor: string;
872
- checkedTrackBackgroundColorOnDark: string;
873
815
  checkedThumbBackgroundColor: string;
874
- checkedThumbBackgroundColorOnDark: string;
875
816
  uncheckedTrackBackgroundColor: string;
876
- uncheckedTrackBackgroundColorOnDark: string;
877
817
  uncheckedThumbBackgroundColor: string;
878
- uncheckedThumbBackgroundColorOnDark: string;
879
818
  disabledCheckedTrackBackgroundColor: string;
880
- disabledCheckedTrackBackgroundColorOnDark: string;
881
819
  disabledCheckedThumbBackgroundColor: string;
882
- disabledCheckedThumbBackgroundColorOnDark: string;
883
820
  disabledUncheckedTrackBackgroundColor: string;
884
- disabledUncheckedTrackBackgroundColorOnDark: string;
885
821
  disabledUncheckedThumbBackgroundColor: string;
886
- disabledUncheckedThumbBackgroundColorOnDark: string;
887
822
  disabledLabelFontColor: string;
888
- disabledLabelFontColorOnDark: string;
889
823
  disabledLabelFontStyle: string;
890
824
  labelFontFamily: string;
891
825
  labelFontSize: string;
892
826
  labelFontStyle: string;
893
827
  labelFontWeight: string;
894
828
  labelFontColor: string;
895
- labelFontColorOnDark: string;
896
829
  thumbFocusColor: string;
897
- thumbFocusColorOnDark: string;
898
830
  thumbHeight: string;
899
831
  thumbWidth: string;
900
832
  thumbShift: string;
@@ -917,8 +849,16 @@ declare const useTheme: () => {
917
849
  dataPaddingBottom: string;
918
850
  dataPaddingRight: string;
919
851
  dataPaddingLeft: string;
852
+ dataPaddingTopReduced: string;
853
+ dataPaddingBottomReduced: string;
854
+ dataPaddingRightReduced: string;
855
+ dataPaddingLeftReduced: string;
920
856
  dataTextAlign: string;
921
857
  dataTextLineHeight: string;
858
+ firstChildPaddingLeft: string;
859
+ lastChildPaddingRight: string;
860
+ firstChildPaddingLeftReduced: string;
861
+ lastChildPaddingRightReduced: string;
922
862
  headerBackgroundColor: string;
923
863
  headerBorderRadius: string;
924
864
  headerFontFamily: string;
@@ -931,11 +871,25 @@ declare const useTheme: () => {
931
871
  headerPaddingBottom: string;
932
872
  headerPaddingRight: string;
933
873
  headerPaddingLeft: string;
874
+ headerPaddingTopReduced: string;
875
+ headerPaddingBottomReduced: string;
876
+ headerPaddingRightReduced: string;
877
+ headerPaddingLeftReduced: string;
934
878
  headerTextAlign: string;
935
879
  headerTextLineHeight: string;
936
880
  scrollBarThumbColor: string;
937
881
  scrollBarTrackColor: string;
938
882
  sortIconColor: string;
883
+ actionIconColor: string;
884
+ disabledActionIconColor: string;
885
+ hoverActionIconColor: string;
886
+ focusActionIconColor: string;
887
+ activeActionIconColor: string;
888
+ actionBackgroundColor: string;
889
+ disabledActionBackgroundColor: string;
890
+ hoverActionBackgroundColor: string;
891
+ focusActionBorderColor: string;
892
+ activeActionBackgroundColor: string;
939
893
  }>;
940
894
  tabs?: Partial<{
941
895
  fontFamily: string;
@@ -954,7 +908,6 @@ declare const useTheme: () => {
954
908
  disabledFontColor: string;
955
909
  disabledIconColor: string;
956
910
  disabledFontStyle: string;
957
- disabledBadgeBackgroundColor: string;
958
911
  hoverBackgroundColor: string;
959
912
  pressedBackgroundColor: string;
960
913
  pressedFontWeight: string;
@@ -962,19 +915,6 @@ declare const useTheme: () => {
962
915
  dividerThickness: string;
963
916
  focusOutline: string;
964
917
  scrollButtonsWidth: string;
965
- badgeBackgroundColor: string;
966
- badgeFontFamily: string;
967
- badgeFontSize: string;
968
- badgeFontStyle: string;
969
- badgeFontWeight: string;
970
- badgeFontColor: string;
971
- badgeLetterSpacing: string;
972
- badgeWidth: string;
973
- badgeHeight: string;
974
- badgeRadius: string;
975
- badgeWidthWithNotificationNumber: string;
976
- badgeHeightWithNotificationNumber: string;
977
- badgeRadiusWithNotificationNumber: string;
978
918
  }>;
979
919
  tag?: Partial<{
980
920
  fontFamily: string;
@@ -996,134 +936,87 @@ declare const useTheme: () => {
996
936
  textarea?: Partial<{
997
937
  fontFamily: string;
998
938
  enabledBorderColor: string;
999
- enabledBorderColorOnDark: string;
1000
939
  hoverBorderColor: string;
1001
- hoverBorderColorOnDark: string;
1002
940
  focusBorderColor: string;
1003
- focusBorderColorOnDark: string;
1004
941
  disabledBorderColor: string;
1005
- disabledBorderColorOnDark: string;
1006
942
  disabledContainerFillColor: string;
1007
- disabledContainerFillColorOnDark: string;
1008
943
  readOnlyBorderColor: string;
1009
944
  hoverReadOnlyBorderColor: string;
1010
945
  errorBorderColor: string;
1011
- errorBorderColorOnDark: string;
1012
946
  hoverErrorBorderColor: string;
1013
- hoverErrorBorderColorOnDark: string;
1014
947
  inputMarginTop: string;
1015
948
  inputMarginBottom: string;
1016
949
  errorMessageColor: string;
1017
- errorMessageColorOnDark: string;
1018
950
  labelFontColor: string;
1019
- labelFontColorOnDark: string;
1020
951
  labelFontSize: string;
1021
952
  labelFontStyle: string;
1022
953
  labelFontWeight: string;
1023
954
  labelLineHeight: string;
1024
955
  disabledLabelFontColor: string;
1025
- disabledLabelFontColorOnDark: string;
1026
956
  optionalLabelFontWeight: string;
1027
957
  helperTextFontColor: string;
1028
- helperTextFontColorOnDark: string;
1029
958
  helperTextFontSize: string;
1030
959
  helperTextFontStyle: string;
1031
960
  helperTextFontWeight: string;
1032
961
  helperTextLineHeight: string;
1033
962
  disabledHelperTextFontColor: string;
1034
- disabledHelperTextFontColorOnDark: string;
1035
963
  placeholderFontColor: string;
1036
- placeholderFontColorOnDark: string;
1037
964
  disabledPlaceholderFontColor: string;
1038
- disabledPlaceholderFontColorOnDark: string;
1039
965
  valueFontColor: string;
1040
- valueFontColorOnDark: string;
1041
966
  valueFontSize: string;
1042
967
  valueFontStyle: string;
1043
968
  valueFontWeight: string;
1044
969
  disabledValueFontColor: string;
1045
- disabledValueFontColorOnDark: string;
1046
970
  }>;
1047
971
  textInput?: Partial<{
1048
972
  fontFamily: string;
1049
973
  enabledBorderColor: string;
1050
- enabledBorderColorOnDark: string;
1051
974
  hoverBorderColor: string;
1052
- hoverBorderColorOnDark: string;
1053
975
  focusBorderColor: string;
1054
- focusBorderColorOnDark: string;
1055
976
  disabledBorderColor: string;
1056
- disabledBorderColorOnDark: string;
1057
977
  disabledContainerFillColor: string;
1058
- disabledContainerFillColorOnDark: string;
1059
978
  readOnlyBorderColor: string;
1060
979
  hoverReadOnlyBorderColor: string;
1061
980
  errorBorderColor: string;
1062
- errorBorderColorOnDark: string;
1063
981
  hoverErrorBorderColor: string;
1064
- hoverErrorBorderColorOnDark: string;
1065
982
  inputMarginTop: string;
1066
983
  inputMarginBottom: string;
1067
984
  errorMessageColor: string;
1068
- errorMessageColorOnDark: string;
1069
985
  errorIconColor: string;
1070
- errorIconColorOnDark: string;
1071
986
  labelFontColor: string;
1072
- labelFontColorOnDark: string;
1073
987
  labelFontSize: string;
1074
988
  labelFontStyle: string;
1075
989
  labelFontWeight: string;
1076
990
  labelLineHeight: string;
1077
991
  disabledLabelFontColor: string;
1078
- disabledLabelFontColorOnDark: string;
1079
992
  optionalLabelFontWeight: string;
1080
993
  helperTextFontColor: string;
1081
- helperTextFontColorOnDark: string;
1082
994
  helperTextFontSize: string;
1083
995
  helperTextFontStyle: string;
1084
996
  helperTextFontWeight: string;
1085
997
  helperTextLineHeight: string;
1086
998
  disabledHelperTextFontColor: string;
1087
- disabledHelperTextFontColorOnDark: string;
1088
999
  prefixColor: string;
1089
- prefixColorOnDark: string;
1090
1000
  suffixColor: string;
1091
- suffixColorOnDark: string;
1092
1001
  disabledPrefixColor: string;
1093
1002
  disabledSuffixColor: string;
1094
- disabledPrefixColorOnDark: string;
1095
- disabledSuffixColorOnDark: string;
1096
1003
  placeholderFontColor: string;
1097
- placeholderFontColorOnDark: string;
1098
1004
  disabledPlaceholderFontColor: string;
1099
- disabledPlaceholderFontColorOnDark: string;
1100
1005
  valueFontColor: string;
1101
- valueFontColorOnDark: string;
1102
1006
  valueFontSize: string;
1103
1007
  valueFontStyle: string;
1104
1008
  valueFontWeight: string;
1105
1009
  disabledValueFontColor: string;
1106
- disabledValueFontColorOnDark: string;
1107
1010
  actionIconColor: string;
1108
- actionIconColorOnDark: string;
1109
1011
  disabledActionIconColor: string;
1110
- disabledActionIconColorOnDark: string;
1111
1012
  hoverActionIconColor: string;
1112
- hoverActionIconColorOnDark: string;
1113
1013
  focusActionIconColor: string;
1114
- focusActionIconColorOnDark: string;
1115
1014
  activeActionIconColor: string;
1116
- activeActionIconColorOnDark: string;
1117
1015
  actionBackgroundColor: string;
1118
- actionBackgroundColorOnDark: string;
1119
1016
  disabledActionBackgroundColor: string;
1120
- disabledActionBackgroundColorOnDark: string;
1121
1017
  hoverActionBackgroundColor: string;
1122
- hoverActionBackgroundColorOnDark: string;
1123
1018
  focusActionBorderColor: string;
1124
- focusActionBorderColorOnDark: string;
1125
1019
  activeActionBackgroundColor: string;
1126
- activeActionBackgroundColorOnDark: string;
1127
1020
  listDialogBackgroundColor: string;
1128
1021
  listDialogBorderColor: string;
1129
1022
  listOptionDividerColor: string;
@@ -11,7 +11,7 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _styledComponents = _interopRequireDefault(require("styled-components"));
12
12
  var _templateObject;
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
15
  var TypographyContext = /*#__PURE__*/_react["default"].createContext(null);
16
16
  var BaseTypography = function BaseTypography(_ref) {
17
17
  var as = _ref.as,
@@ -9,7 +9,7 @@ exports["default"] = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _react = _interopRequireWildcard(require("react"));
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
13
  var not = {
14
14
  negTabIndex: ':not([tabindex^="-"])',
15
15
  disabled: ":not(:disabled)"
@@ -28,7 +28,7 @@ var getFocusableElements = function getFocusableElements(container) {
28
28
  * @param element: HTMLElement
29
29
  * @returns
30
30
  */
31
- var attempFocus = function attempFocus(element) {
31
+ var attemptFocus = function attemptFocus(element) {
32
32
  element === null || element === void 0 ? void 0 : element.focus();
33
33
  return document.activeElement === element;
34
34
  };
@@ -39,8 +39,11 @@ var attempFocus = function attempFocus(element) {
39
39
  */
40
40
  var radixPortalContains = function radixPortalContains(activeElement) {
41
41
  var radixPortals = document.querySelectorAll("[data-radix-portal]");
42
+ var radixPoppers = document.querySelectorAll("[data-radix-popper-content-wrapper]");
42
43
  return Array.prototype.slice.call(radixPortals).some(function (portal) {
43
44
  return portal.contains(activeElement);
45
+ }) || Array.prototype.slice.call(radixPoppers).some(function (popper) {
46
+ return popper.contains(activeElement);
44
47
  });
45
48
  };
46
49
 
@@ -87,13 +90,17 @@ var FocusLock = function FocusLock(_ref) {
87
90
  var focusableElements = useFocusableElements(childrenContainerRef);
88
91
  var focusFirst = (0, _react.useCallback)(function () {
89
92
  var _childrenContainerRef;
90
- if ((focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) === 0) (_childrenContainerRef = childrenContainerRef.current) === null || _childrenContainerRef === void 0 ? void 0 : _childrenContainerRef.focus();else if ((focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) > 0) for (var i = 0; i < focusableElements.length; i++) if (attempFocus(focusableElements[i])) return;
93
+ if ((focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) === 0) (_childrenContainerRef = childrenContainerRef.current) === null || _childrenContainerRef === void 0 ? void 0 : _childrenContainerRef.focus();else if ((focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) > 0) focusableElements.some(function (element) {
94
+ return attemptFocus(element);
95
+ });
91
96
  }, [focusableElements]);
92
97
  var focusLast = function focusLast() {
93
- for (var i = focusableElements.length - 1; i >= 0; i--) if (attempFocus(focusableElements[i])) return;
98
+ focusableElements.reverse().some(function (element) {
99
+ return attemptFocus(element);
100
+ });
94
101
  };
95
102
  var focusLock = function focusLock(event) {
96
- if (event.key === "Tab") focusableElements.length === 0 && event.preventDefault();else if (event.key === "Tab" && event.key === "Shift") focusableElements.length === 0 && event.preventDefault();
103
+ if (event.key === "Tab") focusableElements.length === 0 && event.preventDefault();
97
104
  };
98
105
  (0, _react.useEffect)(function () {
99
106
  var _childrenContainerRef2;
@@ -105,7 +112,10 @@ var FocusLock = function FocusLock(_ref) {
105
112
  }), /*#__PURE__*/_react["default"].createElement("div", {
106
113
  onKeyDown: focusLock,
107
114
  ref: childrenContainerRef,
108
- tabIndex: (focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) === 0 ? 0 : -1
115
+ tabIndex: (focusableElements === null || focusableElements === void 0 ? void 0 : focusableElements.length) === 0 ? 0 : -1,
116
+ style: {
117
+ outline: "none"
118
+ }
109
119
  }, children), /*#__PURE__*/_react["default"].createElement("div", {
110
120
  onFocus: focusFirst,
111
121
  tabIndex: 0
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
5
+ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
6
+ var _react = _interopRequireDefault(require("react"));
7
+ var _react2 = require("@testing-library/react");
8
+ var _axeHelper = require("../../test/accessibility/axe-helper.js");
9
+ var _Wizard = _interopRequireDefault(require("./Wizard.tsx"));
10
+ var favoriteSVG = /*#__PURE__*/_react["default"].createElement("svg", {
11
+ viewBox: "0 0 24 24",
12
+ fill: "currentColor"
13
+ }, /*#__PURE__*/_react["default"].createElement("path", {
14
+ d: "M0 0h24v24H0z",
15
+ fill: "none"
16
+ }), /*#__PURE__*/_react["default"].createElement("path", {
17
+ d: "M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"
18
+ }));
19
+ describe("Wizard component accessibility tests", function () {
20
+ it("Should not have basic accessibility issues", /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
21
+ var _render, container, results;
22
+ return _regenerator["default"].wrap(function _callee$(_context) {
23
+ while (1) switch (_context.prev = _context.next) {
24
+ case 0:
25
+ _render = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_Wizard["default"], {
26
+ steps: [{
27
+ label: "first-step",
28
+ description: "Description",
29
+ icon: favoriteSVG
30
+ }, {
31
+ label: "second-step",
32
+ description: "Description"
33
+ }, {
34
+ label: "valid-step",
35
+ valid: true
36
+ }, {
37
+ label: "disabled-step",
38
+ disabled: true
39
+ }],
40
+ mode: "vertical",
41
+ defaultCurrentStep: 1,
42
+ margin: "medium"
43
+ })), container = _render.container;
44
+ _context.next = 3;
45
+ return (0, _axeHelper.axe)(container);
46
+ case 3:
47
+ results = _context.sent;
48
+ expect(results).toHaveNoViolations();
49
+ case 5:
50
+ case "end":
51
+ return _context.stop();
52
+ }
53
+ }, _callee);
54
+ })));
55
+ });