@workday/canvas-kit-docs 8.6.0 → 8.6.1

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.
@@ -108890,7 +108890,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
108890
108890
  "kind": "primitive",
108891
108891
  "value": "string"
108892
108892
  },
108893
- "description": "The id of a labelable form-related element. Synonymous with `for`.",
108893
+ "description": "The id of the form-related element. Synonymous with `for`.",
108894
108894
  "declarations": [
108895
108895
  {
108896
108896
  "name": "htmlFor",
@@ -108926,7 +108926,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
108926
108926
  "kind": "primitive",
108927
108927
  "value": "string"
108928
108928
  },
108929
- "description": "The title of the required label.",
108929
+ "description": "The required label is not visible to screen readers and should have no label. This prop will be\nignored.",
108930
108930
  "declarations": [
108931
108931
  {
108932
108932
  "name": "requiredLabel",
@@ -108934,7 +108934,7 @@ export var docs = (typeof window !== 'undefined' && window.__docs) ||
108934
108934
  }
108935
108935
  ],
108936
108936
  "tags": {
108937
- "default": "required"
108937
+ "deprecated": ""
108938
108938
  }
108939
108939
  },
108940
108940
  {
@@ -1343,7 +1343,7 @@ module.exports = {specifications: [
1343
1343
  },
1344
1344
  {
1345
1345
  "type": "it",
1346
- "name": "the asterisk should a title attribute set to \"required\""
1346
+ "name": "the input should have a \"required\" attribute"
1347
1347
  }
1348
1348
  ]
1349
1349
  }
@@ -1435,6 +1435,10 @@ module.exports = {specifications: [
1435
1435
  "type": "it",
1436
1436
  "name": "should transfer focus to the first menu item"
1437
1437
  },
1438
+ {
1439
+ "type": "it",
1440
+ "name": "should have aria-disabled=true"
1441
+ },
1438
1442
  {
1439
1443
  "type": "describe",
1440
1444
  "name": "when escape key is pressed",
@@ -1499,6 +1503,24 @@ module.exports = {specifications: [
1499
1503
  }
1500
1504
  ]
1501
1505
  },
1506
+ {
1507
+ "type": "describe",
1508
+ "name": "when the fourth item is clicked",
1509
+ "children": [
1510
+ {
1511
+ "type": "it",
1512
+ "name": "should not close the menu"
1513
+ },
1514
+ {
1515
+ "type": "it",
1516
+ "name": "should have aria-expanded set to true"
1517
+ },
1518
+ {
1519
+ "type": "it",
1520
+ "name": "should not select the fourth item"
1521
+ }
1522
+ ]
1523
+ },
1502
1524
  {
1503
1525
  "type": "describe",
1504
1526
  "name": "when the tab key is pressed",
@@ -1525,6 +1547,24 @@ module.exports = {specifications: [
1525
1547
  {
1526
1548
  "type": "it",
1527
1549
  "name": "should focus on the last option"
1550
+ },
1551
+ {
1552
+ "type": "describe",
1553
+ "name": "when the enter key is pressed",
1554
+ "children": [
1555
+ {
1556
+ "type": "it",
1557
+ "name": "should not close the menu"
1558
+ },
1559
+ {
1560
+ "type": "it",
1561
+ "name": "should have aria-expanded set to true"
1562
+ },
1563
+ {
1564
+ "type": "it",
1565
+ "name": "should not select the fourth item"
1566
+ }
1567
+ ]
1528
1568
  }
1529
1569
  ]
1530
1570
  }
@@ -15,7 +15,7 @@ export default () => {
15
15
  <Menu.Item>Second Item</Menu.Item>
16
16
  <Menu.Divider />
17
17
  <Menu.Item>Third Item (with a really, really, really long label)</Menu.Item>
18
- <Menu.Item>Fourth Item</Menu.Item>
18
+ <Menu.Item aria-disabled>Fourth Item</Menu.Item>
19
19
  </Menu.List>
20
20
  </Menu.Card>
21
21
  </Menu.Popper>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "8.6.0",
3
+ "version": "8.6.1",
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": "^8.6.0",
48
- "@workday/canvas-kit-preview-react": "^8.6.0",
49
- "@workday/canvas-kit-react": "^8.6.0",
47
+ "@workday/canvas-kit-labs-react": "^8.6.1",
48
+ "@workday/canvas-kit-preview-react": "^8.6.1",
49
+ "@workday/canvas-kit-react": "^8.6.1",
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": "63db571e6d052f6c8d4a3ae6b39d16c3d7d6720f"
60
+ "gitHead": "2fd1e6ab51b4a0f3d3db491c817419b66cc92aaf"
61
61
  }