@workday/canvas-kit-docs 9.1.6 → 9.1.7
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/dist/es6/lib/specs.js +10 -10
- package/dist/mdx/react/action-bar/examples/Basic.tsx +1 -1
- package/dist/mdx/react/action-bar/examples/DeleteAction.tsx +1 -1
- package/dist/mdx/react/action-bar/examples/Icons.tsx +1 -1
- package/dist/mdx/react/action-bar/examples/OverflowActionBar.tsx +2 -1
- package/dist/mdx/react/action-bar/examples/OverflowActionBarCustomButtonCount.tsx +2 -1
- package/package.json +5 -5
package/dist/es6/lib/specs.js
CHANGED
|
@@ -17,11 +17,11 @@ module.exports = {specifications: [
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "it",
|
|
20
|
-
"name": "should have an element with a role of \"
|
|
20
|
+
"name": "should have an element with a role of \"region\""
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"type": "it",
|
|
24
|
-
"name": "should have 2 buttons inside the \"
|
|
24
|
+
"name": "should have 2 buttons inside the \"region\""
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"type": "describe",
|
|
@@ -51,11 +51,11 @@ module.exports = {specifications: [
|
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"type": "it",
|
|
54
|
-
"name": "should have an element with a role of \"
|
|
54
|
+
"name": "should have an element with a role of \"region\""
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"type": "it",
|
|
58
|
-
"name": "should have 2 buttons inside the \"
|
|
58
|
+
"name": "should have 2 buttons inside the \"region\""
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
"type": "describe",
|
|
@@ -85,11 +85,11 @@ module.exports = {specifications: [
|
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"type": "it",
|
|
88
|
-
"name": "should have an element with a role of \"
|
|
88
|
+
"name": "should have an element with a role of \"region\""
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"type": "it",
|
|
92
|
-
"name": "should have 2 buttons inside the \"
|
|
92
|
+
"name": "should have 2 buttons inside the \"region\""
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"type": "describe",
|
|
@@ -119,7 +119,7 @@ module.exports = {specifications: [
|
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
"type": "it",
|
|
122
|
-
"name": "should have 4 buttons inside the \"
|
|
122
|
+
"name": "should have 4 buttons inside the \"region\""
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"type": "it",
|
|
@@ -139,7 +139,7 @@ module.exports = {specifications: [
|
|
|
139
139
|
"children": [
|
|
140
140
|
{
|
|
141
141
|
"type": "it",
|
|
142
|
-
"name": "should have 3 buttons inside the \"
|
|
142
|
+
"name": "should have 3 buttons inside the \"region\""
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"type": "describe",
|
|
@@ -173,7 +173,7 @@ module.exports = {specifications: [
|
|
|
173
173
|
"children": [
|
|
174
174
|
{
|
|
175
175
|
"type": "it",
|
|
176
|
-
"name": "should have 2 buttons inside the \"
|
|
176
|
+
"name": "should have 2 buttons inside the \"region\""
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"type": "describe",
|
|
@@ -213,7 +213,7 @@ module.exports = {specifications: [
|
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
"type": "it",
|
|
216
|
-
"name": "should have 3 visible buttons inside the \"
|
|
216
|
+
"name": "should have 3 visible buttons inside the \"region\""
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"type": "it",
|
|
@@ -4,7 +4,7 @@ import {PrimaryButton} from '@workday/canvas-kit-react/button';
|
|
|
4
4
|
|
|
5
5
|
export default () => (
|
|
6
6
|
<ActionBar>
|
|
7
|
-
<ActionBar.List position="relative" aria-label="actions">
|
|
7
|
+
<ActionBar.List position="relative" as="section" aria-label="Basic example actions">
|
|
8
8
|
<ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
9
9
|
First Action
|
|
10
10
|
</ActionBar.Item>
|
|
@@ -6,7 +6,7 @@ import {DeleteButton} from '@workday/canvas-kit-react/button';
|
|
|
6
6
|
export default () => {
|
|
7
7
|
return (
|
|
8
8
|
<ActionBar>
|
|
9
|
-
<ActionBar.List position="relative" aria-label="actions">
|
|
9
|
+
<ActionBar.List position="relative" as="section" aria-label="Delete actions example">
|
|
10
10
|
<ActionBar.Item as={DeleteButton}>Delete Action</ActionBar.Item>
|
|
11
11
|
<ActionBar.Item>Second Action</ActionBar.Item>
|
|
12
12
|
</ActionBar.List>
|
|
@@ -7,7 +7,7 @@ import {PrimaryButton} from '@workday/canvas-kit-react/button';
|
|
|
7
7
|
export default () => {
|
|
8
8
|
return (
|
|
9
9
|
<ActionBar>
|
|
10
|
-
<ActionBar.List position="relative" aria-label="actions">
|
|
10
|
+
<ActionBar.List position="relative" as="section" aria-label="Icons example actions">
|
|
11
11
|
<ActionBar.Item as={PrimaryButton} icon={notificationsIcon}>
|
|
12
12
|
First Action
|
|
13
13
|
</ActionBar.Item>
|
|
@@ -28,7 +28,8 @@ export default () => {
|
|
|
28
28
|
<ActionBar model={model}>
|
|
29
29
|
<ActionBar.List
|
|
30
30
|
position="relative"
|
|
31
|
-
|
|
31
|
+
as="section"
|
|
32
|
+
aria-label="Overflow example actions"
|
|
32
33
|
overflowButton={<ActionBar.OverflowButton aria-label="More actions" />}
|
|
33
34
|
>
|
|
34
35
|
{(item: MyActionItem, index) => (
|
|
@@ -16,7 +16,8 @@ export default () => {
|
|
|
16
16
|
return (
|
|
17
17
|
<ActionBar items={items} maximumVisible={2}>
|
|
18
18
|
<ActionBar.List
|
|
19
|
-
|
|
19
|
+
as="section"
|
|
20
|
+
aria-label="Custom button count overflow example"
|
|
20
21
|
position="relative"
|
|
21
22
|
overflowButton={<ActionBar.OverflowButton aria-label="More actions" />}
|
|
22
23
|
>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.7",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^9.1.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.1.
|
|
49
|
-
"@workday/canvas-kit-react": "^9.1.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.1.7",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.1.7",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.1.7",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"markdown-to-jsx": "^6.10.3",
|
|
52
52
|
"ts-node": "^10.9.1"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"mkdirp": "^1.0.3",
|
|
58
58
|
"typescript": "4.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "2cb294a8c64c1b7f300e691aacd84d53a37446b4"
|
|
61
61
|
}
|