@workday/canvas-kit-docs 6.0.0-beta.0-next.15 → 6.0.2
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.
- package/LICENSE +1 -1
- package/dist/commonjs/lib/specs.js +263 -33
- package/dist/es6/lib/specs.js +263 -33
- package/dist/mdx/4.0-MIGRATION-GUIDE.mdx +1 -1
- package/dist/mdx/6.0-MIGRATION-GUIDE.mdx +554 -0
- package/dist/mdx/COMPOUND_COMPONENTS.mdx +31 -30
- package/dist/mdx/CONTRIBUTING.mdx +90 -63
- package/dist/mdx/labs-react/search-form/SearchForm.mdx +64 -0
- package/dist/mdx/labs-react/search-form/examples/Basic.tsx +61 -0
- package/dist/mdx/labs-react/search-form/examples/CustomTheme.tsx +72 -0
- package/dist/mdx/labs-react/search-form/examples/Grow.tsx +62 -0
- package/dist/mdx/labs-react/search-form/examples/PropTables.splitProps.tsx +4 -0
- package/dist/mdx/labs-react/search-form/examples/RTL.tsx +70 -0
- package/dist/mdx/labs-react/search-form/examples/Theming.tsx +64 -0
- package/dist/mdx/labs-react/text-input/TextInput.mdx +123 -0
- package/dist/mdx/labs-react/text-input/examples/Alert.tsx +46 -0
- package/dist/mdx/labs-react/text-input/examples/Basic.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/Disabled.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/Error.tsx +43 -0
- package/dist/mdx/labs-react/text-input/examples/Grow.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/HiddenLabel.tsx +17 -0
- package/dist/mdx/labs-react/text-input/examples/LabelPosition.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/LoginForm.tsx +100 -0
- package/dist/mdx/labs-react/text-input/examples/Password.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/Placeholder.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/RefForwarding.tsx +27 -0
- package/dist/mdx/labs-react/text-input/examples/Required.tsx +20 -0
- package/dist/mdx/labs-react/text-input/examples/ThemedAlert.tsx +51 -0
- package/dist/mdx/labs-react/text-input/examples/ThemedError.tsx +40 -0
- package/dist/mdx/preview-react/breadcrumbs/Breadcrumbs.mdx +1 -1
- package/dist/mdx/preview-react/menu/Menu.mdx +17 -9
- package/dist/mdx/preview-react/menu/examples/Basic.tsx +65 -10
- package/dist/mdx/preview-react/menu/examples/ContextMenu.tsx +45 -29
- package/dist/mdx/preview-react/menu/examples/CustomMenuItem.tsx +2 -2
- package/dist/mdx/preview-react/menu/examples/Icons.tsx +1 -1
- package/dist/mdx/preview-react/menu/examples/ManyItems.tsx +2 -2
- package/dist/mdx/preview-react/side-panel/SidePanel.mdx +1 -1
- package/dist/mdx/react/action-bar/ActionBar.mdx +1 -1
- package/dist/mdx/react/button/button/Button.mdx +34 -9
- package/dist/mdx/react/button/button/examples/Primary.tsx +10 -1
- package/dist/mdx/react/button/button/examples/PrimaryInverse.tsx +14 -0
- package/dist/mdx/react/button/button/examples/Secondary.tsx +10 -1
- package/dist/mdx/react/button/button/examples/SecondaryInverse.tsx +14 -0
- package/dist/mdx/react/button/button/examples/Tertiary.tsx +10 -1
- package/dist/mdx/react/button/button/examples/TertiaryInverse.tsx +14 -0
- package/dist/mdx/react/button/icon-button/IconButton.mdx +1 -1
- package/dist/mdx/react/card/card.mdx +1 -1
- package/dist/mdx/react/pagination/PropTables.splitprops.tsx +47 -0
- package/dist/mdx/react/pagination/examples/{StepControls.tsx → Basic.tsx} +1 -1
- package/dist/mdx/react/pagination/examples/GoToForm.tsx +1 -1
- package/dist/mdx/react/pagination/examples/HoistedModel.tsx +36 -22
- package/dist/mdx/react/pagination/examples/RTL.tsx +1 -1
- package/dist/mdx/react/pagination/pagination.mdx +225 -474
- package/dist/mdx/react/popup/Popup.mdx +34 -36
- package/dist/mdx/react/radio/examples/Alert.tsx +3 -3
- package/dist/mdx/react/radio/examples/Basic.tsx +3 -3
- package/dist/mdx/react/radio/examples/Disabled.tsx +3 -3
- package/dist/mdx/react/radio/examples/Error.tsx +3 -3
- package/dist/mdx/react/radio/examples/LabelPosition.tsx +3 -3
- package/dist/mdx/react/radio/examples/NoValue.tsx +3 -3
- package/dist/mdx/react/radio/examples/RefForwarding.tsx +3 -3
- package/dist/mdx/react/radio/examples/Required.tsx +3 -3
- package/dist/mdx/react/segmented-control/SegmentedControl.mdx +1 -1
- package/dist/mdx/react/tabs/Tabs.mdx +160 -88
- package/dist/mdx/react/tabs/TabsModel.splitprops.tsx +5 -0
- package/dist/mdx/react/tabs/examples/{Simple.tsx → Basic.tsx} +0 -0
- package/dist/mdx/react/tabs/examples/DisabledTab.tsx +1 -1
- package/dist/mdx/react/tabs/examples/DynamicTabs.tsx +41 -13
- package/dist/mdx/react/tabs/examples/HoistedModel.tsx +4 -4
- package/dist/mdx/react/tabs/examples/Icons.tsx +36 -0
- package/dist/mdx/react/tabs/examples/{NamedKeys.tsx → NamedTabs.tsx} +0 -0
- package/dist/mdx/react/tabs/examples/OverflowTabs.tsx +58 -0
- package/dist/mdx/react/tabs/examples/SinglePanel.tsx +1 -1
- package/dist/mdx/react/text-area/TextArea.mdx +1 -1
- package/dist/mdx/react/toast/toast.mdx +1 -17
- package/dist/mdx/react/tooltip/Tooltip.mdx +1 -1
- package/dist/mdx/react/tooltip/examples/Ellipsis.tsx +6 -0
- package/package.json +3 -3
- package/dist/mdx/CODE_OF_CONDUCT.md +0 -68
- package/dist/mdx/preview-react/menu/examples/ContextMenuTarget.tsx +0 -33
- package/dist/mdx/preview-react/menu/examples/ControlButton.tsx +0 -84
- 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
|
-
©
|
|
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
|
|
@@ -1253,7 +1253,7 @@ module.exports = {specifications: [
|
|
|
1253
1253
|
"children": [
|
|
1254
1254
|
{
|
|
1255
1255
|
"type": "describe",
|
|
1256
|
-
"name": "given the [Preview/Menu/React,
|
|
1256
|
+
"name": "given the [Preview/Menu/React, Basic] example is rendered",
|
|
1257
1257
|
"children": [
|
|
1258
1258
|
{
|
|
1259
1259
|
"type": "it",
|
|
@@ -2471,21 +2471,21 @@ module.exports = {specifications: [
|
|
|
2471
2471
|
},
|
|
2472
2472
|
{
|
|
2473
2473
|
"type": "describe",
|
|
2474
|
-
"name": "when the \"Gluten
|
|
2474
|
+
"name": "when the \"Gluten free\" radio button is clicked",
|
|
2475
2475
|
"children": [
|
|
2476
2476
|
{
|
|
2477
2477
|
"type": "it",
|
|
2478
|
-
"name": "the \"Gluten
|
|
2478
|
+
"name": "the \"Gluten free\" radio button should be checked"
|
|
2479
2479
|
}
|
|
2480
2480
|
]
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
2483
2483
|
"type": "describe",
|
|
2484
|
-
"name": "when clicking the \"Gluten
|
|
2484
|
+
"name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
|
|
2485
2485
|
"children": [
|
|
2486
2486
|
{
|
|
2487
2487
|
"type": "it",
|
|
2488
|
-
"name": "the \"Gluten
|
|
2488
|
+
"name": "the \"Gluten free\" radio button should not be checked"
|
|
2489
2489
|
},
|
|
2490
2490
|
{
|
|
2491
2491
|
"type": "it",
|
|
@@ -2505,21 +2505,21 @@ module.exports = {specifications: [
|
|
|
2505
2505
|
},
|
|
2506
2506
|
{
|
|
2507
2507
|
"type": "describe",
|
|
2508
|
-
"name": "when the \"Gluten
|
|
2508
|
+
"name": "when the \"Gluten free\" radio button is clicked",
|
|
2509
2509
|
"children": [
|
|
2510
2510
|
{
|
|
2511
2511
|
"type": "it",
|
|
2512
|
-
"name": "the \"Gluten
|
|
2512
|
+
"name": "the \"Gluten free\" radio button should be checked"
|
|
2513
2513
|
}
|
|
2514
2514
|
]
|
|
2515
2515
|
},
|
|
2516
2516
|
{
|
|
2517
2517
|
"type": "describe",
|
|
2518
|
-
"name": "when clicking the \"Gluten
|
|
2518
|
+
"name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
|
|
2519
2519
|
"children": [
|
|
2520
2520
|
{
|
|
2521
2521
|
"type": "it",
|
|
2522
|
-
"name": "the \"Gluten
|
|
2522
|
+
"name": "the \"Gluten free\" radio button should not be checked"
|
|
2523
2523
|
},
|
|
2524
2524
|
{
|
|
2525
2525
|
"type": "it",
|
|
@@ -2539,21 +2539,21 @@ module.exports = {specifications: [
|
|
|
2539
2539
|
},
|
|
2540
2540
|
{
|
|
2541
2541
|
"type": "describe",
|
|
2542
|
-
"name": "when the \"Gluten
|
|
2542
|
+
"name": "when the \"Gluten free\" radio button is clicked",
|
|
2543
2543
|
"children": [
|
|
2544
2544
|
{
|
|
2545
2545
|
"type": "it",
|
|
2546
|
-
"name": "the \"Gluten
|
|
2546
|
+
"name": "the \"Gluten free\" radio button should be checked"
|
|
2547
2547
|
}
|
|
2548
2548
|
]
|
|
2549
2549
|
},
|
|
2550
2550
|
{
|
|
2551
2551
|
"type": "describe",
|
|
2552
|
-
"name": "when clicking the \"Gluten
|
|
2552
|
+
"name": "when clicking the \"Gluten free\" radio button and then clicking the \"Thin\" radio button",
|
|
2553
2553
|
"children": [
|
|
2554
2554
|
{
|
|
2555
2555
|
"type": "it",
|
|
2556
|
-
"name": "the \"Gluten
|
|
2556
|
+
"name": "the \"Gluten free\" radio button should not be checked"
|
|
2557
2557
|
},
|
|
2558
2558
|
{
|
|
2559
2559
|
"type": "it",
|
|
@@ -2573,7 +2573,7 @@ module.exports = {specifications: [
|
|
|
2573
2573
|
},
|
|
2574
2574
|
{
|
|
2575
2575
|
"type": "it",
|
|
2576
|
-
"name": "the \"Gluten
|
|
2576
|
+
"name": "the \"Gluten free (sold out)\" radio button should be disabled"
|
|
2577
2577
|
}
|
|
2578
2578
|
]
|
|
2579
2579
|
}
|
|
@@ -4555,7 +4555,7 @@ module.exports = {specifications: [
|
|
|
4555
4555
|
"children": [
|
|
4556
4556
|
{
|
|
4557
4557
|
"type": "describe",
|
|
4558
|
-
"name": "given the [Components/Containers/Tabs/React,
|
|
4558
|
+
"name": "given the [Components/Containers/Tabs/React, Basic] story is rendered",
|
|
4559
4559
|
"children": [
|
|
4560
4560
|
{
|
|
4561
4561
|
"type": "it",
|
|
@@ -4579,7 +4579,7 @@ module.exports = {specifications: [
|
|
|
4579
4579
|
},
|
|
4580
4580
|
{
|
|
4581
4581
|
"type": "it",
|
|
4582
|
-
"name": "should not have tabindex on the first tab"
|
|
4582
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4583
4583
|
},
|
|
4584
4584
|
{
|
|
4585
4585
|
"type": "it",
|
|
@@ -4633,7 +4633,7 @@ module.exports = {specifications: [
|
|
|
4633
4633
|
},
|
|
4634
4634
|
{
|
|
4635
4635
|
"type": "it",
|
|
4636
|
-
"name": "should not have tabindex on the second tab"
|
|
4636
|
+
"name": "should not have tabindex=-1 on the second tab"
|
|
4637
4637
|
},
|
|
4638
4638
|
{
|
|
4639
4639
|
"type": "it",
|
|
@@ -4681,7 +4681,7 @@ module.exports = {specifications: [
|
|
|
4681
4681
|
"children": [
|
|
4682
4682
|
{
|
|
4683
4683
|
"type": "it",
|
|
4684
|
-
"name": "should not have tabindex on the first tab"
|
|
4684
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4685
4685
|
},
|
|
4686
4686
|
{
|
|
4687
4687
|
"type": "it",
|
|
@@ -4707,7 +4707,7 @@ module.exports = {specifications: [
|
|
|
4707
4707
|
},
|
|
4708
4708
|
{
|
|
4709
4709
|
"type": "it",
|
|
4710
|
-
"name": "should not have tabindex on the last tab"
|
|
4710
|
+
"name": "should not have tabindex=-1 on the last tab"
|
|
4711
4711
|
},
|
|
4712
4712
|
{
|
|
4713
4713
|
"type": "it",
|
|
@@ -4731,7 +4731,7 @@ module.exports = {specifications: [
|
|
|
4731
4731
|
"children": [
|
|
4732
4732
|
{
|
|
4733
4733
|
"type": "it",
|
|
4734
|
-
"name": "should not have tabindex on the first tab"
|
|
4734
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4735
4735
|
},
|
|
4736
4736
|
{
|
|
4737
4737
|
"type": "it",
|
|
@@ -4745,7 +4745,7 @@ module.exports = {specifications: [
|
|
|
4745
4745
|
},
|
|
4746
4746
|
{
|
|
4747
4747
|
"type": "describe",
|
|
4748
|
-
"name": "given the [Components/Containers/Tabs/React, Named
|
|
4748
|
+
"name": "given the [Components/Containers/Tabs/React, Named Tabs] story is rendered",
|
|
4749
4749
|
"children": [
|
|
4750
4750
|
{
|
|
4751
4751
|
"type": "it",
|
|
@@ -4769,7 +4769,7 @@ module.exports = {specifications: [
|
|
|
4769
4769
|
},
|
|
4770
4770
|
{
|
|
4771
4771
|
"type": "it",
|
|
4772
|
-
"name": "should not have tabindex on the first tab"
|
|
4772
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4773
4773
|
},
|
|
4774
4774
|
{
|
|
4775
4775
|
"type": "it",
|
|
@@ -4823,7 +4823,7 @@ module.exports = {specifications: [
|
|
|
4823
4823
|
},
|
|
4824
4824
|
{
|
|
4825
4825
|
"type": "it",
|
|
4826
|
-
"name": "should not have tabindex on the second tab"
|
|
4826
|
+
"name": "should not have tabindex=-1 on the second tab"
|
|
4827
4827
|
},
|
|
4828
4828
|
{
|
|
4829
4829
|
"type": "it",
|
|
@@ -4871,7 +4871,7 @@ module.exports = {specifications: [
|
|
|
4871
4871
|
"children": [
|
|
4872
4872
|
{
|
|
4873
4873
|
"type": "it",
|
|
4874
|
-
"name": "should not have tabindex on the first tab"
|
|
4874
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4875
4875
|
},
|
|
4876
4876
|
{
|
|
4877
4877
|
"type": "it",
|
|
@@ -4897,7 +4897,7 @@ module.exports = {specifications: [
|
|
|
4897
4897
|
},
|
|
4898
4898
|
{
|
|
4899
4899
|
"type": "it",
|
|
4900
|
-
"name": "should not have tabindex on the last tab"
|
|
4900
|
+
"name": "should not have tabindex=-1 on the last tab"
|
|
4901
4901
|
},
|
|
4902
4902
|
{
|
|
4903
4903
|
"type": "it",
|
|
@@ -4921,7 +4921,7 @@ module.exports = {specifications: [
|
|
|
4921
4921
|
"children": [
|
|
4922
4922
|
{
|
|
4923
4923
|
"type": "it",
|
|
4924
|
-
"name": "should not have tabindex on the first tab"
|
|
4924
|
+
"name": "should not have tabindex=-1 on the first tab"
|
|
4925
4925
|
},
|
|
4926
4926
|
{
|
|
4927
4927
|
"type": "it",
|
|
@@ -4937,6 +4937,20 @@ module.exports = {specifications: [
|
|
|
4937
4937
|
"type": "describe",
|
|
4938
4938
|
"name": "given the [Components/Containers/Tabs/React, DisabledTab] story is rendered",
|
|
4939
4939
|
"children": [
|
|
4940
|
+
{
|
|
4941
|
+
"type": "describe",
|
|
4942
|
+
"name": "when the Disabled Tab is clicked",
|
|
4943
|
+
"children": [
|
|
4944
|
+
{
|
|
4945
|
+
"type": "it",
|
|
4946
|
+
"name": "should not set \"[aria-selected=true]\" on the Disabled Tab"
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"type": "it",
|
|
4950
|
+
"name": "should leave the first tab selected"
|
|
4951
|
+
}
|
|
4952
|
+
]
|
|
4953
|
+
},
|
|
4940
4954
|
{
|
|
4941
4955
|
"type": "describe",
|
|
4942
4956
|
"name": "when the first tab is active and focused",
|
|
@@ -4947,7 +4961,21 @@ module.exports = {specifications: [
|
|
|
4947
4961
|
"children": [
|
|
4948
4962
|
{
|
|
4949
4963
|
"type": "it",
|
|
4950
|
-
"name": "should
|
|
4964
|
+
"name": "should focus on the Disabled Tab"
|
|
4965
|
+
},
|
|
4966
|
+
{
|
|
4967
|
+
"type": "describe",
|
|
4968
|
+
"name": "when the enter key is pressed",
|
|
4969
|
+
"children": [
|
|
4970
|
+
{
|
|
4971
|
+
"type": "it",
|
|
4972
|
+
"name": "should not set \"[aria-selected=true]\" on the Disabled Tab"
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"type": "it",
|
|
4976
|
+
"name": "should leave the first tab selected"
|
|
4977
|
+
}
|
|
4978
|
+
]
|
|
4951
4979
|
}
|
|
4952
4980
|
]
|
|
4953
4981
|
}
|
|
@@ -4985,7 +5013,7 @@ module.exports = {specifications: [
|
|
|
4985
5013
|
"children": [
|
|
4986
5014
|
{
|
|
4987
5015
|
"type": "describe",
|
|
4988
|
-
"name": "then the
|
|
5016
|
+
"name": "then the Delete key is pressed",
|
|
4989
5017
|
"children": [
|
|
4990
5018
|
{
|
|
4991
5019
|
"type": "it",
|
|
@@ -5009,7 +5037,7 @@ module.exports = {specifications: [
|
|
|
5009
5037
|
"children": [
|
|
5010
5038
|
{
|
|
5011
5039
|
"type": "describe",
|
|
5012
|
-
"name": "then the
|
|
5040
|
+
"name": "then the Delete key is pressed",
|
|
5013
5041
|
"children": [
|
|
5014
5042
|
{
|
|
5015
5043
|
"type": "it",
|
|
@@ -5029,7 +5057,7 @@ module.exports = {specifications: [
|
|
|
5029
5057
|
},
|
|
5030
5058
|
{
|
|
5031
5059
|
"type": "describe",
|
|
5032
|
-
"name": "then the
|
|
5060
|
+
"name": "then the Delete key is pressed again",
|
|
5033
5061
|
"children": [
|
|
5034
5062
|
{
|
|
5035
5063
|
"type": "it",
|
|
@@ -5047,7 +5075,7 @@ module.exports = {specifications: [
|
|
|
5047
5075
|
"children": [
|
|
5048
5076
|
{
|
|
5049
5077
|
"type": "describe",
|
|
5050
|
-
"name": "then the
|
|
5078
|
+
"name": "then the Delete key is pressed",
|
|
5051
5079
|
"children": [
|
|
5052
5080
|
{
|
|
5053
5081
|
"type": "it",
|
|
@@ -5101,7 +5129,7 @@ module.exports = {specifications: [
|
|
|
5101
5129
|
},
|
|
5102
5130
|
{
|
|
5103
5131
|
"type": "it",
|
|
5104
|
-
"name": "should not have tabindex on the second tab"
|
|
5132
|
+
"name": "should not have tabindex=-1 on the second tab"
|
|
5105
5133
|
},
|
|
5106
5134
|
{
|
|
5107
5135
|
"type": "it",
|
|
@@ -5133,7 +5161,7 @@ module.exports = {specifications: [
|
|
|
5133
5161
|
},
|
|
5134
5162
|
{
|
|
5135
5163
|
"type": "it",
|
|
5136
|
-
"name": "should not have tabindex on the last tab"
|
|
5164
|
+
"name": "should not have tabindex=-1 on the last tab"
|
|
5137
5165
|
},
|
|
5138
5166
|
{
|
|
5139
5167
|
"type": "it",
|
|
@@ -5144,6 +5172,58 @@ module.exports = {specifications: [
|
|
|
5144
5172
|
]
|
|
5145
5173
|
}
|
|
5146
5174
|
]
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
"type": "describe",
|
|
5178
|
+
"name": "when [Components/Containers/Tabs/React, OverflowTabs] story is rendered",
|
|
5179
|
+
"children": [
|
|
5180
|
+
{
|
|
5181
|
+
"type": "it",
|
|
5182
|
+
"name": "should pass axe checks"
|
|
5183
|
+
},
|
|
5184
|
+
{
|
|
5185
|
+
"type": "it",
|
|
5186
|
+
"name": "should not show the \"More\" button"
|
|
5187
|
+
},
|
|
5188
|
+
{
|
|
5189
|
+
"type": "describe",
|
|
5190
|
+
"name": "when tab list container is only 500px wide",
|
|
5191
|
+
"children": [
|
|
5192
|
+
{
|
|
5193
|
+
"type": "it",
|
|
5194
|
+
"name": "should pass axe checks"
|
|
5195
|
+
},
|
|
5196
|
+
{
|
|
5197
|
+
"type": "it",
|
|
5198
|
+
"name": "should show the \"More\" button"
|
|
5199
|
+
},
|
|
5200
|
+
{
|
|
5201
|
+
"type": "describe",
|
|
5202
|
+
"name": "when the \"More\" button is clicked",
|
|
5203
|
+
"children": [
|
|
5204
|
+
{
|
|
5205
|
+
"type": "it",
|
|
5206
|
+
"name": "should show the Tab overflow menu"
|
|
5207
|
+
},
|
|
5208
|
+
{
|
|
5209
|
+
"type": "describe",
|
|
5210
|
+
"name": "when the \"Sixth Tab\" is clicked",
|
|
5211
|
+
"children": [
|
|
5212
|
+
{
|
|
5213
|
+
"type": "it",
|
|
5214
|
+
"name": "should select the Sixth Tab"
|
|
5215
|
+
},
|
|
5216
|
+
{
|
|
5217
|
+
"type": "it",
|
|
5218
|
+
"name": "should move focus back to the \"More\" button"
|
|
5219
|
+
}
|
|
5220
|
+
]
|
|
5221
|
+
}
|
|
5222
|
+
]
|
|
5223
|
+
}
|
|
5224
|
+
]
|
|
5225
|
+
}
|
|
5226
|
+
]
|
|
5147
5227
|
}
|
|
5148
5228
|
]
|
|
5149
5229
|
}
|
|
@@ -5417,6 +5497,140 @@ module.exports = {specifications: [
|
|
|
5417
5497
|
}
|
|
5418
5498
|
]
|
|
5419
5499
|
},
|
|
5500
|
+
{
|
|
5501
|
+
"type": "file",
|
|
5502
|
+
"name": "TextInputLabs.spec.ts",
|
|
5503
|
+
"children": [
|
|
5504
|
+
{
|
|
5505
|
+
"type": "describe",
|
|
5506
|
+
"name": "TextInput",
|
|
5507
|
+
"children": [
|
|
5508
|
+
{
|
|
5509
|
+
"type": "describe",
|
|
5510
|
+
"name": "given the 'Basic' story is rendered",
|
|
5511
|
+
"children": [
|
|
5512
|
+
{
|
|
5513
|
+
"type": "it",
|
|
5514
|
+
"name": "should not have any axe errors"
|
|
5515
|
+
},
|
|
5516
|
+
{
|
|
5517
|
+
"type": "describe",
|
|
5518
|
+
"name": "when clicked",
|
|
5519
|
+
"children": [
|
|
5520
|
+
{
|
|
5521
|
+
"type": "it",
|
|
5522
|
+
"name": "should be focused"
|
|
5523
|
+
}
|
|
5524
|
+
]
|
|
5525
|
+
},
|
|
5526
|
+
{
|
|
5527
|
+
"type": "describe",
|
|
5528
|
+
"name": "when text is entered",
|
|
5529
|
+
"children": [
|
|
5530
|
+
{
|
|
5531
|
+
"type": "it",
|
|
5532
|
+
"name": "should reflect the text typed"
|
|
5533
|
+
}
|
|
5534
|
+
]
|
|
5535
|
+
}
|
|
5536
|
+
]
|
|
5537
|
+
},
|
|
5538
|
+
{
|
|
5539
|
+
"type": "describe",
|
|
5540
|
+
"name": "given the 'Alert' story is rendered",
|
|
5541
|
+
"children": [
|
|
5542
|
+
{
|
|
5543
|
+
"type": "it",
|
|
5544
|
+
"name": "should not have any axe errors"
|
|
5545
|
+
},
|
|
5546
|
+
{
|
|
5547
|
+
"type": "describe",
|
|
5548
|
+
"name": "when clicked",
|
|
5549
|
+
"children": [
|
|
5550
|
+
{
|
|
5551
|
+
"type": "it",
|
|
5552
|
+
"name": "should be focused"
|
|
5553
|
+
}
|
|
5554
|
+
]
|
|
5555
|
+
},
|
|
5556
|
+
{
|
|
5557
|
+
"type": "describe",
|
|
5558
|
+
"name": "when text is entered",
|
|
5559
|
+
"children": [
|
|
5560
|
+
{
|
|
5561
|
+
"type": "it",
|
|
5562
|
+
"name": "should reflect the text typed"
|
|
5563
|
+
}
|
|
5564
|
+
]
|
|
5565
|
+
}
|
|
5566
|
+
]
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
"type": "describe",
|
|
5570
|
+
"name": "given the 'Error' story is rendered",
|
|
5571
|
+
"children": [
|
|
5572
|
+
{
|
|
5573
|
+
"type": "it",
|
|
5574
|
+
"name": "should not have any axe errors"
|
|
5575
|
+
},
|
|
5576
|
+
{
|
|
5577
|
+
"type": "describe",
|
|
5578
|
+
"name": "when clicked",
|
|
5579
|
+
"children": [
|
|
5580
|
+
{
|
|
5581
|
+
"type": "it",
|
|
5582
|
+
"name": "should be focused"
|
|
5583
|
+
}
|
|
5584
|
+
]
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
"type": "describe",
|
|
5588
|
+
"name": "when text is entered",
|
|
5589
|
+
"children": [
|
|
5590
|
+
{
|
|
5591
|
+
"type": "it",
|
|
5592
|
+
"name": "should reflect the text typed"
|
|
5593
|
+
}
|
|
5594
|
+
]
|
|
5595
|
+
}
|
|
5596
|
+
]
|
|
5597
|
+
},
|
|
5598
|
+
{
|
|
5599
|
+
"type": "describe",
|
|
5600
|
+
"name": "given the 'Disabled' story is rendered",
|
|
5601
|
+
"children": [
|
|
5602
|
+
{
|
|
5603
|
+
"type": "it",
|
|
5604
|
+
"name": "should not have any axe errors"
|
|
5605
|
+
},
|
|
5606
|
+
{
|
|
5607
|
+
"type": "it",
|
|
5608
|
+
"name": "should be disabled"
|
|
5609
|
+
}
|
|
5610
|
+
]
|
|
5611
|
+
},
|
|
5612
|
+
{
|
|
5613
|
+
"type": "describe",
|
|
5614
|
+
"name": "given the 'Placeholder' story is rendered",
|
|
5615
|
+
"children": [
|
|
5616
|
+
{
|
|
5617
|
+
"type": "it",
|
|
5618
|
+
"name": "should not have any axe errors"
|
|
5619
|
+
},
|
|
5620
|
+
{
|
|
5621
|
+
"type": "it",
|
|
5622
|
+
"name": "should render a placeholder text"
|
|
5623
|
+
},
|
|
5624
|
+
{
|
|
5625
|
+
"type": "it",
|
|
5626
|
+
"name": "should reflect the text typed"
|
|
5627
|
+
}
|
|
5628
|
+
]
|
|
5629
|
+
}
|
|
5630
|
+
]
|
|
5631
|
+
}
|
|
5632
|
+
]
|
|
5633
|
+
},
|
|
5420
5634
|
{
|
|
5421
5635
|
"type": "file",
|
|
5422
5636
|
"name": "Toast.spec.ts",
|
|
@@ -5754,6 +5968,22 @@ module.exports = {specifications: [
|
|
|
5754
5968
|
]
|
|
5755
5969
|
}
|
|
5756
5970
|
]
|
|
5971
|
+
},
|
|
5972
|
+
{
|
|
5973
|
+
"type": "describe",
|
|
5974
|
+
"name": "given the [Testing/React/Popups/Tooltip, Overflow] example is rendered",
|
|
5975
|
+
"children": [
|
|
5976
|
+
{
|
|
5977
|
+
"type": "describe",
|
|
5978
|
+
"name": "when the = button is hovered",
|
|
5979
|
+
"children": [
|
|
5980
|
+
{
|
|
5981
|
+
"type": "it",
|
|
5982
|
+
"name": "should open the tooltip"
|
|
5983
|
+
}
|
|
5984
|
+
]
|
|
5985
|
+
}
|
|
5986
|
+
]
|
|
5757
5987
|
}
|
|
5758
5988
|
]
|
|
5759
5989
|
}
|