@workday/canvas-kit-docs 6.0.0-alpha.0-next.31 → 6.0.0-alpha.0-next.37

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 (101) hide show
  1. package/LICENSE +1 -1
  2. package/dist/commonjs/lib/specs.js +351 -33
  3. package/dist/es6/lib/specs.js +351 -33
  4. package/dist/mdx/6.0-MIGRATION-GUIDE.mdx +76 -12
  5. package/dist/mdx/7.0-MIGRATION-GUIDE.mdx +33 -0
  6. package/dist/mdx/COMPOUND_COMPONENTS.mdx +31 -30
  7. package/dist/mdx/CONTRIBUTING.mdx +90 -63
  8. package/dist/mdx/preview-react/breadcrumbs/Breadcrumbs.mdx +1 -1
  9. package/dist/mdx/preview-react/form-field/FormField.mdx +27 -0
  10. package/dist/mdx/preview-react/form-field/examples/Custom.tsx +57 -0
  11. package/dist/mdx/preview-react/menu/examples/Icons.tsx +1 -1
  12. package/dist/mdx/preview-react/menu/examples/ManyItems.tsx +1 -1
  13. package/dist/mdx/preview-react/text-area/TextArea.mdx +122 -0
  14. package/dist/mdx/preview-react/text-area/examples/Alert.tsx +31 -0
  15. package/dist/mdx/preview-react/text-area/examples/Basic.tsx +17 -0
  16. package/dist/mdx/preview-react/text-area/examples/Disabled.tsx +17 -0
  17. package/dist/mdx/preview-react/text-area/examples/Error.tsx +40 -0
  18. package/dist/mdx/preview-react/text-area/examples/Grow.tsx +17 -0
  19. package/dist/mdx/preview-react/text-area/examples/HiddenLabel.tsx +20 -0
  20. package/dist/mdx/preview-react/text-area/examples/LabelPositionHorizontal.tsx +17 -0
  21. package/dist/mdx/preview-react/text-area/examples/LabelPositionVertical.tsx +17 -0
  22. package/dist/mdx/preview-react/text-area/examples/Placeholder.tsx +21 -0
  23. package/dist/mdx/preview-react/text-area/examples/RefForwarding.tsx +28 -0
  24. package/dist/mdx/preview-react/text-area/examples/Required.tsx +17 -0
  25. package/dist/mdx/preview-react/text-area/examples/ResizeConstraints.tsx +22 -0
  26. package/dist/mdx/{labs-react → preview-react}/text-input/TextInput.mdx +40 -18
  27. package/dist/mdx/preview-react/text-input/examples/Alert.tsx +40 -0
  28. package/dist/mdx/{labs-react/text-input/examples/HiddenLabel.tsx → preview-react/text-input/examples/Basic.tsx} +3 -3
  29. package/dist/mdx/preview-react/text-input/examples/Disabled.tsx +17 -0
  30. package/dist/mdx/{labs-react → preview-react}/text-input/examples/Error.tsx +6 -9
  31. package/dist/mdx/preview-react/text-input/examples/Grow.tsx +17 -0
  32. package/dist/mdx/preview-react/text-input/examples/HiddenLabel.tsx +20 -0
  33. package/dist/mdx/preview-react/text-input/examples/LabelPositionHorizontal.tsx +17 -0
  34. package/dist/mdx/preview-react/text-input/examples/LabelPositionVertical.tsx +17 -0
  35. package/dist/mdx/{labs-react → preview-react}/text-input/examples/LoginForm.tsx +10 -5
  36. package/dist/mdx/preview-react/text-input/examples/Password.tsx +17 -0
  37. package/dist/mdx/preview-react/text-input/examples/Placeholder.tsx +17 -0
  38. package/dist/mdx/{labs-react → preview-react}/text-input/examples/RefForwarding.tsx +7 -6
  39. package/dist/mdx/preview-react/text-input/examples/Required.tsx +17 -0
  40. package/dist/mdx/preview-react/text-input/examples/ThemedAlert.tsx +46 -0
  41. package/dist/mdx/{labs-react → preview-react}/text-input/examples/ThemedError.tsx +8 -11
  42. package/dist/mdx/react/_examples/GlobalHeader.mdx +9 -0
  43. package/dist/mdx/react/_examples/PageHeader.mdx +8 -0
  44. package/dist/mdx/react/_examples/examples/GlobalHeader.tsx +66 -0
  45. package/dist/mdx/react/_examples/examples/PageHeader.tsx +63 -0
  46. package/dist/mdx/react/action-bar/ActionBar.mdx +1 -1
  47. package/dist/mdx/react/banner/Banner.mdx +203 -19
  48. package/dist/mdx/react/banner/PropTables.splitprops.tsx +39 -0
  49. package/dist/mdx/react/banner/examples/ActionText.tsx +8 -1
  50. package/dist/mdx/react/banner/examples/Basic.tsx +8 -1
  51. package/dist/mdx/react/banner/examples/Error.tsx +8 -1
  52. package/dist/mdx/react/banner/examples/RefForwarding.tsx +25 -0
  53. package/dist/mdx/react/banner/examples/Sticky.tsx +15 -7
  54. package/dist/mdx/react/banner/examples/StickyAnimation.tsx +62 -0
  55. package/dist/mdx/react/banner/examples/StickyRTL.tsx +38 -0
  56. package/dist/mdx/react/banner/examples/ThemedAlert.tsx +28 -0
  57. package/dist/mdx/react/banner/examples/ThemedError.tsx +29 -0
  58. package/dist/mdx/react/button/button/Button.mdx +7 -7
  59. package/dist/mdx/react/button/icon-button/IconButton.mdx +1 -1
  60. package/dist/mdx/react/loading-animation/LoadingAnimation.mdx +5 -0
  61. package/dist/mdx/react/loading-animation/examples/RTL.tsx +16 -0
  62. package/dist/mdx/react/pagination/PropTables.splitprops.tsx +47 -0
  63. package/dist/mdx/react/pagination/examples/{StepControls.tsx → Basic.tsx} +1 -1
  64. package/dist/mdx/react/pagination/examples/GoToForm.tsx +1 -1
  65. package/dist/mdx/react/pagination/examples/HoistedModel.tsx +36 -22
  66. package/dist/mdx/react/pagination/examples/RTL.tsx +1 -1
  67. package/dist/mdx/react/pagination/pagination.mdx +225 -474
  68. package/dist/mdx/react/popup/Popup.mdx +34 -36
  69. package/dist/mdx/react/radio/examples/Alert.tsx +3 -3
  70. package/dist/mdx/react/radio/examples/Basic.tsx +3 -3
  71. package/dist/mdx/react/radio/examples/Disabled.tsx +3 -3
  72. package/dist/mdx/react/radio/examples/Error.tsx +3 -3
  73. package/dist/mdx/react/radio/examples/LabelPosition.tsx +3 -3
  74. package/dist/mdx/react/radio/examples/NoValue.tsx +3 -3
  75. package/dist/mdx/react/radio/examples/RefForwarding.tsx +3 -3
  76. package/dist/mdx/react/radio/examples/Required.tsx +3 -3
  77. package/dist/mdx/react/segmented-control/SegmentedControl.mdx +1 -1
  78. package/dist/mdx/react/tabs/Tabs.mdx +67 -36
  79. package/dist/mdx/react/tabs/examples/DisabledTab.tsx +1 -1
  80. package/dist/mdx/react/tabs/examples/DynamicTabs.tsx +41 -13
  81. package/dist/mdx/react/tabs/examples/HoistedModel.tsx +4 -4
  82. package/dist/mdx/react/tabs/examples/Icons.tsx +36 -0
  83. package/dist/mdx/react/tabs/examples/{NamedKeys.tsx → NamedTabs.tsx} +0 -0
  84. package/dist/mdx/react/tabs/examples/OverflowTabs.tsx +58 -0
  85. package/dist/mdx/react/tabs/examples/SinglePanel.tsx +1 -1
  86. package/dist/mdx/react/toast/toast.mdx +1 -17
  87. package/dist/mdx/react/tooltip/Tooltip.mdx +9 -1
  88. package/dist/mdx/react/tooltip/examples/DelayedTooltip.tsx +16 -0
  89. package/dist/mdx/react/tooltip/examples/Ellipsis.tsx +6 -0
  90. package/package.json +5 -4
  91. package/dist/mdx/CODE_OF_CONDUCT.md +0 -68
  92. package/dist/mdx/labs-react/text-input/examples/Alert.tsx +0 -46
  93. package/dist/mdx/labs-react/text-input/examples/Basic.tsx +0 -20
  94. package/dist/mdx/labs-react/text-input/examples/Disabled.tsx +0 -20
  95. package/dist/mdx/labs-react/text-input/examples/Grow.tsx +0 -20
  96. package/dist/mdx/labs-react/text-input/examples/LabelPosition.tsx +0 -20
  97. package/dist/mdx/labs-react/text-input/examples/Password.tsx +0 -20
  98. package/dist/mdx/labs-react/text-input/examples/Placeholder.tsx +0 -20
  99. package/dist/mdx/labs-react/text-input/examples/Required.tsx +0 -20
  100. package/dist/mdx/labs-react/text-input/examples/ThemedAlert.tsx +0 -51
  101. package/dist/mdx/react/pagination/examples/ShowAdditionalDetails.tsx +0 -52
package/LICENSE CHANGED
@@ -43,7 +43,7 @@ While redistributing the Work or Derivative Works thereof, You may choose to off
43
43
 
44
44
  END OF TERMS AND CONDITIONS
45
45
 
46
- ©2020. Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
46
+ ©2021 Workday, Inc. All rights reserved. Workday and the Workday logo are registered trademarks of Workday, Inc. All other brand and product names are trademarks or registered trademarks of their respective holders.
47
47
 
48
48
 
49
49
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
@@ -41,6 +41,62 @@ module.exports = {specifications: [
41
41
  }
42
42
  ]
43
43
  },
44
+ {
45
+ "type": "file",
46
+ "name": "Banner.spec.ts",
47
+ "children": [
48
+ {
49
+ "type": "describe",
50
+ "name": "Banner",
51
+ "children": [
52
+ {
53
+ "type": "describe",
54
+ "name": "given the [Components/Indicators/Banner/React, Error] story is rendered",
55
+ "children": [
56
+ {
57
+ "type": "it",
58
+ "name": "should pass axe checks"
59
+ },
60
+ {
61
+ "type": "it",
62
+ "name": "should have an element with a role of \"button\""
63
+ },
64
+ {
65
+ "type": "it",
66
+ "name": "should have an \"aria-labelledby\" that matches the action"
67
+ },
68
+ {
69
+ "type": "it",
70
+ "name": "should have an \"aria-describedby\" that matches the label"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "type": "describe",
76
+ "name": "given the [Components/Indicators/Banner/React, Sticky] story is rendered",
77
+ "children": [
78
+ {
79
+ "type": "it",
80
+ "name": "should pass axe checks"
81
+ },
82
+ {
83
+ "type": "it",
84
+ "name": "should have an element with a role of \"button\""
85
+ },
86
+ {
87
+ "type": "it",
88
+ "name": "should have an \"aria-labelledby\" that matches the action"
89
+ },
90
+ {
91
+ "type": "it",
92
+ "name": "should have an \"aria-describedby\" that matches the label"
93
+ }
94
+ ]
95
+ }
96
+ ]
97
+ }
98
+ ]
99
+ },
44
100
  {
45
101
  "type": "file",
46
102
  "name": "Breadcrumbs.spec.ts",
@@ -2471,21 +2527,21 @@ module.exports = {specifications: [
2471
2527
  },
2472
2528
  {
2473
2529
  "type": "describe",
2474
- "name": "when the \"Gluten Free\" radio button is clicked",
2530
+ "name": "when the \"Gluten free\" radio button is clicked",
2475
2531
  "children": [
2476
2532
  {
2477
2533
  "type": "it",
2478
- "name": "the \"Gluten Free\" radio button should be checked"
2534
+ "name": "the \"Gluten free\" radio button should be checked"
2479
2535
  }
2480
2536
  ]
2481
2537
  },
2482
2538
  {
2483
2539
  "type": "describe",
2484
- "name": "when clicking the \"Gluten Free\" radio button and then clicking the \"Thin\" radio button",
2540
+ "name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
2485
2541
  "children": [
2486
2542
  {
2487
2543
  "type": "it",
2488
- "name": "the \"Gluten Free\" radio button should not be checked"
2544
+ "name": "the \"Gluten free\" radio button should not be checked"
2489
2545
  },
2490
2546
  {
2491
2547
  "type": "it",
@@ -2505,21 +2561,21 @@ module.exports = {specifications: [
2505
2561
  },
2506
2562
  {
2507
2563
  "type": "describe",
2508
- "name": "when the \"Gluten Free\" radio button is clicked",
2564
+ "name": "when the \"Gluten free\" radio button is clicked",
2509
2565
  "children": [
2510
2566
  {
2511
2567
  "type": "it",
2512
- "name": "the \"Gluten Free\" radio button should be checked"
2568
+ "name": "the \"Gluten free\" radio button should be checked"
2513
2569
  }
2514
2570
  ]
2515
2571
  },
2516
2572
  {
2517
2573
  "type": "describe",
2518
- "name": "when clicking the \"Gluten Free\" radio button and then clicking the \"Thin\" radio button",
2574
+ "name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
2519
2575
  "children": [
2520
2576
  {
2521
2577
  "type": "it",
2522
- "name": "the \"Gluten Free\" radio button should not be checked"
2578
+ "name": "the \"Gluten free\" radio button should not be checked"
2523
2579
  },
2524
2580
  {
2525
2581
  "type": "it",
@@ -2539,21 +2595,21 @@ module.exports = {specifications: [
2539
2595
  },
2540
2596
  {
2541
2597
  "type": "describe",
2542
- "name": "when the \"Gluten Free\" radio button is clicked",
2598
+ "name": "when the \"Gluten free\" radio button is clicked",
2543
2599
  "children": [
2544
2600
  {
2545
2601
  "type": "it",
2546
- "name": "the \"Gluten Free\" radio button should be checked"
2602
+ "name": "the \"Gluten free\" radio button should be checked"
2547
2603
  }
2548
2604
  ]
2549
2605
  },
2550
2606
  {
2551
2607
  "type": "describe",
2552
- "name": "when clicking the \"Gluten Free\" radio button and then clicking the \"Thin\" radio button",
2608
+ "name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
2553
2609
  "children": [
2554
2610
  {
2555
2611
  "type": "it",
2556
- "name": "the \"Gluten Free\" radio button should not be checked"
2612
+ "name": "the \"Gluten free\" radio button should not be checked"
2557
2613
  },
2558
2614
  {
2559
2615
  "type": "it",
@@ -2573,7 +2629,7 @@ module.exports = {specifications: [
2573
2629
  },
2574
2630
  {
2575
2631
  "type": "it",
2576
- "name": "the \"Gluten Free (Sold Out)\" radio button should be disabled"
2632
+ "name": "the \"Gluten free (sold out)\" radio button should be disabled"
2577
2633
  }
2578
2634
  ]
2579
2635
  }
@@ -4579,7 +4635,7 @@ module.exports = {specifications: [
4579
4635
  },
4580
4636
  {
4581
4637
  "type": "it",
4582
- "name": "should not have tabindex on the first tab"
4638
+ "name": "should not have tabindex=-1 on the first tab"
4583
4639
  },
4584
4640
  {
4585
4641
  "type": "it",
@@ -4633,7 +4689,7 @@ module.exports = {specifications: [
4633
4689
  },
4634
4690
  {
4635
4691
  "type": "it",
4636
- "name": "should not have tabindex on the second tab"
4692
+ "name": "should not have tabindex=-1 on the second tab"
4637
4693
  },
4638
4694
  {
4639
4695
  "type": "it",
@@ -4681,7 +4737,7 @@ module.exports = {specifications: [
4681
4737
  "children": [
4682
4738
  {
4683
4739
  "type": "it",
4684
- "name": "should not have tabindex on the first tab"
4740
+ "name": "should not have tabindex=-1 on the first tab"
4685
4741
  },
4686
4742
  {
4687
4743
  "type": "it",
@@ -4707,7 +4763,7 @@ module.exports = {specifications: [
4707
4763
  },
4708
4764
  {
4709
4765
  "type": "it",
4710
- "name": "should not have tabindex on the last tab"
4766
+ "name": "should not have tabindex=-1 on the last tab"
4711
4767
  },
4712
4768
  {
4713
4769
  "type": "it",
@@ -4731,7 +4787,7 @@ module.exports = {specifications: [
4731
4787
  "children": [
4732
4788
  {
4733
4789
  "type": "it",
4734
- "name": "should not have tabindex on the first tab"
4790
+ "name": "should not have tabindex=-1 on the first tab"
4735
4791
  },
4736
4792
  {
4737
4793
  "type": "it",
@@ -4745,7 +4801,7 @@ module.exports = {specifications: [
4745
4801
  },
4746
4802
  {
4747
4803
  "type": "describe",
4748
- "name": "given the [Components/Containers/Tabs/React, Named Keys] story is rendered",
4804
+ "name": "given the [Components/Containers/Tabs/React, Named Tabs] story is rendered",
4749
4805
  "children": [
4750
4806
  {
4751
4807
  "type": "it",
@@ -4769,7 +4825,7 @@ module.exports = {specifications: [
4769
4825
  },
4770
4826
  {
4771
4827
  "type": "it",
4772
- "name": "should not have tabindex on the first tab"
4828
+ "name": "should not have tabindex=-1 on the first tab"
4773
4829
  },
4774
4830
  {
4775
4831
  "type": "it",
@@ -4823,7 +4879,7 @@ module.exports = {specifications: [
4823
4879
  },
4824
4880
  {
4825
4881
  "type": "it",
4826
- "name": "should not have tabindex on the second tab"
4882
+ "name": "should not have tabindex=-1 on the second tab"
4827
4883
  },
4828
4884
  {
4829
4885
  "type": "it",
@@ -4871,7 +4927,7 @@ module.exports = {specifications: [
4871
4927
  "children": [
4872
4928
  {
4873
4929
  "type": "it",
4874
- "name": "should not have tabindex on the first tab"
4930
+ "name": "should not have tabindex=-1 on the first tab"
4875
4931
  },
4876
4932
  {
4877
4933
  "type": "it",
@@ -4897,7 +4953,7 @@ module.exports = {specifications: [
4897
4953
  },
4898
4954
  {
4899
4955
  "type": "it",
4900
- "name": "should not have tabindex on the last tab"
4956
+ "name": "should not have tabindex=-1 on the last tab"
4901
4957
  },
4902
4958
  {
4903
4959
  "type": "it",
@@ -4921,7 +4977,7 @@ module.exports = {specifications: [
4921
4977
  "children": [
4922
4978
  {
4923
4979
  "type": "it",
4924
- "name": "should not have tabindex on the first tab"
4980
+ "name": "should not have tabindex=-1 on the first tab"
4925
4981
  },
4926
4982
  {
4927
4983
  "type": "it",
@@ -4937,6 +4993,20 @@ module.exports = {specifications: [
4937
4993
  "type": "describe",
4938
4994
  "name": "given the [Components/Containers/Tabs/React, DisabledTab] story is rendered",
4939
4995
  "children": [
4996
+ {
4997
+ "type": "describe",
4998
+ "name": "when the Disabled Tab is clicked",
4999
+ "children": [
5000
+ {
5001
+ "type": "it",
5002
+ "name": "should not set \"[aria-selected=true]\" on the Disabled Tab"
5003
+ },
5004
+ {
5005
+ "type": "it",
5006
+ "name": "should leave the first tab selected"
5007
+ }
5008
+ ]
5009
+ },
4940
5010
  {
4941
5011
  "type": "describe",
4942
5012
  "name": "when the first tab is active and focused",
@@ -4947,7 +5017,21 @@ module.exports = {specifications: [
4947
5017
  "children": [
4948
5018
  {
4949
5019
  "type": "it",
4950
- "name": "should skip over the second tab and focus on the third tab"
5020
+ "name": "should focus on the Disabled Tab"
5021
+ },
5022
+ {
5023
+ "type": "describe",
5024
+ "name": "when the enter key is pressed",
5025
+ "children": [
5026
+ {
5027
+ "type": "it",
5028
+ "name": "should not set \"[aria-selected=true]\" on the Disabled Tab"
5029
+ },
5030
+ {
5031
+ "type": "it",
5032
+ "name": "should leave the first tab selected"
5033
+ }
5034
+ ]
4951
5035
  }
4952
5036
  ]
4953
5037
  }
@@ -4985,7 +5069,7 @@ module.exports = {specifications: [
4985
5069
  "children": [
4986
5070
  {
4987
5071
  "type": "describe",
4988
- "name": "then the Backspace/Delete key is pressed",
5072
+ "name": "then the Delete key is pressed",
4989
5073
  "children": [
4990
5074
  {
4991
5075
  "type": "it",
@@ -5009,7 +5093,7 @@ module.exports = {specifications: [
5009
5093
  "children": [
5010
5094
  {
5011
5095
  "type": "describe",
5012
- "name": "then the Backspace/Delete key is pressed",
5096
+ "name": "then the Delete key is pressed",
5013
5097
  "children": [
5014
5098
  {
5015
5099
  "type": "it",
@@ -5029,7 +5113,7 @@ module.exports = {specifications: [
5029
5113
  },
5030
5114
  {
5031
5115
  "type": "describe",
5032
- "name": "then the Backspace/Delete key is pressed again",
5116
+ "name": "then the Delete key is pressed again",
5033
5117
  "children": [
5034
5118
  {
5035
5119
  "type": "it",
@@ -5047,7 +5131,7 @@ module.exports = {specifications: [
5047
5131
  "children": [
5048
5132
  {
5049
5133
  "type": "describe",
5050
- "name": "then the Backspace/Delete key is pressed",
5134
+ "name": "then the Delete key is pressed",
5051
5135
  "children": [
5052
5136
  {
5053
5137
  "type": "it",
@@ -5101,7 +5185,7 @@ module.exports = {specifications: [
5101
5185
  },
5102
5186
  {
5103
5187
  "type": "it",
5104
- "name": "should not have tabindex on the second tab"
5188
+ "name": "should not have tabindex=-1 on the second tab"
5105
5189
  },
5106
5190
  {
5107
5191
  "type": "it",
@@ -5133,7 +5217,7 @@ module.exports = {specifications: [
5133
5217
  },
5134
5218
  {
5135
5219
  "type": "it",
5136
- "name": "should not have tabindex on the last tab"
5220
+ "name": "should not have tabindex=-1 on the last tab"
5137
5221
  },
5138
5222
  {
5139
5223
  "type": "it",
@@ -5144,6 +5228,90 @@ module.exports = {specifications: [
5144
5228
  ]
5145
5229
  }
5146
5230
  ]
5231
+ },
5232
+ {
5233
+ "type": "describe",
5234
+ "name": "when [Components/Containers/Tabs/React, OverflowTabs] story is rendered",
5235
+ "children": [
5236
+ {
5237
+ "type": "it",
5238
+ "name": "should pass axe checks"
5239
+ },
5240
+ {
5241
+ "type": "it",
5242
+ "name": "should not show the \"More\" button"
5243
+ },
5244
+ {
5245
+ "type": "describe",
5246
+ "name": "when the \"First Tab\" is focused",
5247
+ "children": [
5248
+ {
5249
+ "type": "describe",
5250
+ "name": "when the Tab key is pressed",
5251
+ "children": [
5252
+ {
5253
+ "type": "it",
5254
+ "name": "should focus on the tab panel"
5255
+ }
5256
+ ]
5257
+ }
5258
+ ]
5259
+ },
5260
+ {
5261
+ "type": "describe",
5262
+ "name": "when tab list container is only 500px wide",
5263
+ "children": [
5264
+ {
5265
+ "type": "it",
5266
+ "name": "should pass axe checks"
5267
+ },
5268
+ {
5269
+ "type": "it",
5270
+ "name": "should show the \"More\" button"
5271
+ },
5272
+ {
5273
+ "type": "describe",
5274
+ "name": "when the \"First Tab\" is focused",
5275
+ "children": [
5276
+ {
5277
+ "type": "describe",
5278
+ "name": "when the Tab key is pressed",
5279
+ "children": [
5280
+ {
5281
+ "type": "it",
5282
+ "name": "should focus on the \"More\" button"
5283
+ }
5284
+ ]
5285
+ }
5286
+ ]
5287
+ },
5288
+ {
5289
+ "type": "describe",
5290
+ "name": "when the \"More\" button is clicked",
5291
+ "children": [
5292
+ {
5293
+ "type": "it",
5294
+ "name": "should show the Tab overflow menu"
5295
+ },
5296
+ {
5297
+ "type": "describe",
5298
+ "name": "when the \"Sixth Tab\" is clicked",
5299
+ "children": [
5300
+ {
5301
+ "type": "it",
5302
+ "name": "should select the Sixth Tab"
5303
+ },
5304
+ {
5305
+ "type": "it",
5306
+ "name": "should move focus back to the \"More\" button"
5307
+ }
5308
+ ]
5309
+ }
5310
+ ]
5311
+ }
5312
+ ]
5313
+ }
5314
+ ]
5147
5315
  }
5148
5316
  ]
5149
5317
  }
@@ -5283,6 +5451,140 @@ module.exports = {specifications: [
5283
5451
  }
5284
5452
  ]
5285
5453
  },
5454
+ {
5455
+ "type": "file",
5456
+ "name": "TextAreaPreview.spec.ts",
5457
+ "children": [
5458
+ {
5459
+ "type": "describe",
5460
+ "name": "Text Area",
5461
+ "children": [
5462
+ {
5463
+ "type": "describe",
5464
+ "name": "given the 'Basic' story is rendered",
5465
+ "children": [
5466
+ {
5467
+ "type": "it",
5468
+ "name": "should not have any axe errors"
5469
+ },
5470
+ {
5471
+ "type": "describe",
5472
+ "name": "when clicked",
5473
+ "children": [
5474
+ {
5475
+ "type": "it",
5476
+ "name": "should be focused"
5477
+ }
5478
+ ]
5479
+ },
5480
+ {
5481
+ "type": "describe",
5482
+ "name": "when text is entered",
5483
+ "children": [
5484
+ {
5485
+ "type": "it",
5486
+ "name": "should reflect the text typed"
5487
+ }
5488
+ ]
5489
+ }
5490
+ ]
5491
+ },
5492
+ {
5493
+ "type": "describe",
5494
+ "name": "given the 'Alert' story is rendered",
5495
+ "children": [
5496
+ {
5497
+ "type": "it",
5498
+ "name": "should not have any axe errors"
5499
+ },
5500
+ {
5501
+ "type": "describe",
5502
+ "name": "when clicked",
5503
+ "children": [
5504
+ {
5505
+ "type": "it",
5506
+ "name": "should be focused"
5507
+ }
5508
+ ]
5509
+ },
5510
+ {
5511
+ "type": "describe",
5512
+ "name": "when text is entered",
5513
+ "children": [
5514
+ {
5515
+ "type": "it",
5516
+ "name": "should reflect the text typed"
5517
+ }
5518
+ ]
5519
+ }
5520
+ ]
5521
+ },
5522
+ {
5523
+ "type": "describe",
5524
+ "name": "given the 'Error' story is rendered",
5525
+ "children": [
5526
+ {
5527
+ "type": "it",
5528
+ "name": "should not have any axe errors"
5529
+ },
5530
+ {
5531
+ "type": "describe",
5532
+ "name": "when clicked",
5533
+ "children": [
5534
+ {
5535
+ "type": "it",
5536
+ "name": "should be focused"
5537
+ }
5538
+ ]
5539
+ },
5540
+ {
5541
+ "type": "describe",
5542
+ "name": "when text is entered",
5543
+ "children": [
5544
+ {
5545
+ "type": "it",
5546
+ "name": "should reflect the text typed"
5547
+ }
5548
+ ]
5549
+ }
5550
+ ]
5551
+ },
5552
+ {
5553
+ "type": "describe",
5554
+ "name": "given the 'Disabled' story is rendered",
5555
+ "children": [
5556
+ {
5557
+ "type": "it",
5558
+ "name": "should not have any axe errors"
5559
+ },
5560
+ {
5561
+ "type": "it",
5562
+ "name": "should be disabled"
5563
+ }
5564
+ ]
5565
+ },
5566
+ {
5567
+ "type": "describe",
5568
+ "name": "given the 'Placeholder' story is rendered",
5569
+ "children": [
5570
+ {
5571
+ "type": "it",
5572
+ "name": "should not have any axe errors"
5573
+ },
5574
+ {
5575
+ "type": "it",
5576
+ "name": "should render a placeholder text"
5577
+ },
5578
+ {
5579
+ "type": "it",
5580
+ "name": "should reflect the text typed"
5581
+ }
5582
+ ]
5583
+ }
5584
+ ]
5585
+ }
5586
+ ]
5587
+ },
5286
5588
  {
5287
5589
  "type": "file",
5288
5590
  "name": "TextInput.spec.ts",
@@ -5419,11 +5721,11 @@ module.exports = {specifications: [
5419
5721
  },
5420
5722
  {
5421
5723
  "type": "file",
5422
- "name": "TextInputLabs.spec.ts",
5724
+ "name": "TextInputPreview.spec.ts",
5423
5725
  "children": [
5424
5726
  {
5425
5727
  "type": "describe",
5426
- "name": "TextInput",
5728
+ "name": "Text Input",
5427
5729
  "children": [
5428
5730
  {
5429
5731
  "type": "describe",
@@ -5888,6 +6190,22 @@ module.exports = {specifications: [
5888
6190
  ]
5889
6191
  }
5890
6192
  ]
6193
+ },
6194
+ {
6195
+ "type": "describe",
6196
+ "name": "given the [Testing/React/Popups/Tooltip, Overflow] example is rendered",
6197
+ "children": [
6198
+ {
6199
+ "type": "describe",
6200
+ "name": "when the = button is hovered",
6201
+ "children": [
6202
+ {
6203
+ "type": "it",
6204
+ "name": "should open the tooltip"
6205
+ }
6206
+ ]
6207
+ }
6208
+ ]
5891
6209
  }
5892
6210
  ]
5893
6211
  }