@workday/canvas-kit-docs 10.3.50 → 10.3.52

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.
@@ -164175,7 +164175,7 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
164175
164175
  {
164176
164176
  "name": "Card",
164177
164177
  "symbol": "ModalCard",
164178
- "description": "The `Modal.Card` is wraps a {@link PopupCard Popup.Card} which wraps a {@link Card}. It is\nthe `role=\"dialog\"` element and is uses `useModalCard` behavior hook which sets\n`aria-modal=\"true\"` and sets the `aria-labelledby` that points to the `id` of the\n{@link ModalHeading Modal.Heading}. If you don't use a `Modal.Heading`, add an `aria-label`\ninstead. The default element is a `div` and can be changed via the `as` prop.",
164178
+ "description": "The `Modal.Card` is wraps a {@link PopupCard Popup.Card} which wraps a {@link Card}. It is\nthe `role=\"dialog\"` element and is uses `useModalCard` behavior hook which sets\n`aria-modal=\"false\"` and sets the `aria-labelledby` that points to the `id` of the\n{@link ModalHeading Modal.Heading}. If you don't use a `Modal.Heading`, add an `aria-label`\ninstead. The default element is a `div` and can be changed via the `as` prop.",
164179
164179
  "declarations": [
164180
164180
  {
164181
164181
  "name": "Card",
@@ -192616,16 +192616,42 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
192616
192616
  "name": "ref",
192617
192617
  "required": true,
192618
192618
  "type": {
192619
- "kind": "symbol",
192620
- "name": "RefObject",
192621
- "typeParameters": [
192619
+ "kind": "function",
192620
+ "parameters": [
192622
192621
  {
192623
- "kind": "symbol",
192624
- "name": "HTMLInputElement",
192625
- "value": "any"
192622
+ "kind": "parameter",
192623
+ "name": "instance",
192624
+ "type": {
192625
+ "kind": "union",
192626
+ "value": [
192627
+ {
192628
+ "kind": "symbol",
192629
+ "name": "T",
192630
+ "value": "T"
192631
+ },
192632
+ {
192633
+ "kind": "primitive",
192634
+ "value": "null"
192635
+ }
192636
+ ]
192637
+ },
192638
+ "required": true,
192639
+ "rest": false,
192640
+ "description": "",
192641
+ "declarations": [
192642
+ {
192643
+ "name": "instance",
192644
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/node_modules/@types/react/index.d.ts"
192645
+ }
192646
+ ],
192647
+ "tags": {}
192626
192648
  }
192627
192649
  ],
192628
- "value": "any"
192650
+ "members": [],
192651
+ "returnType": {
192652
+ "kind": "primitive",
192653
+ "value": "void"
192654
+ }
192629
192655
  },
192630
192656
  "description": "",
192631
192657
  "tags": {},
@@ -192666,52 +192692,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
192666
192692
  "tags": {},
192667
192693
  "declarations": []
192668
192694
  },
192669
- {
192670
- "kind": "property",
192671
- "name": "ref",
192672
- "required": true,
192673
- "type": {
192674
- "kind": "function",
192675
- "parameters": [
192676
- {
192677
- "kind": "parameter",
192678
- "name": "instance",
192679
- "type": {
192680
- "kind": "union",
192681
- "value": [
192682
- {
192683
- "kind": "symbol",
192684
- "name": "T",
192685
- "value": "T"
192686
- },
192687
- {
192688
- "kind": "primitive",
192689
- "value": "null"
192690
- }
192691
- ]
192692
- },
192693
- "required": true,
192694
- "rest": false,
192695
- "description": "",
192696
- "declarations": [
192697
- {
192698
- "name": "instance",
192699
- "filePath": "/home/runner/work/canvas-kit/canvas-kit/node_modules/@types/react/index.d.ts"
192700
- }
192701
- ],
192702
- "tags": {}
192703
- }
192704
- ],
192705
- "members": [],
192706
- "returnType": {
192707
- "kind": "primitive",
192708
- "value": "void"
192709
- }
192710
- },
192711
- "description": "",
192712
- "tags": {},
192713
- "declarations": []
192714
- },
192715
192695
  {
192716
192696
  "kind": "property",
192717
192697
  "name": "aria-haspopup",
@@ -273,6 +273,16 @@ module.exports = {specifications: [
273
273
  "type": "describe",
274
274
  "name": "when the combobox is opened",
275
275
  "children": [
276
+ {
277
+ "type": "describe",
278
+ "name": "when the combobox is clicked",
279
+ "children": [
280
+ {
281
+ "type": "it",
282
+ "name": "should close the menu"
283
+ }
284
+ ]
285
+ },
276
286
  {
277
287
  "type": "it",
278
288
  "name": "should set the aria-owns to reference the listbox element"
@@ -2383,7 +2393,7 @@ module.exports = {specifications: [
2383
2393
  },
2384
2394
  {
2385
2395
  "type": "it",
2386
- "name": "should have an aria-modal=true"
2396
+ "name": "should have an aria-modal=false"
2387
2397
  },
2388
2398
  {
2389
2399
  "type": "it",
@@ -2653,7 +2663,7 @@ module.exports = {specifications: [
2653
2663
  },
2654
2664
  {
2655
2665
  "type": "it",
2656
- "name": "should have an aria-modal=true"
2666
+ "name": "should have an aria-modal=false"
2657
2667
  },
2658
2668
  {
2659
2669
  "type": "it",
@@ -2733,7 +2743,7 @@ module.exports = {specifications: [
2733
2743
  },
2734
2744
  {
2735
2745
  "type": "it",
2736
- "name": "should have an aria-modal=true"
2746
+ "name": "should have an aria-modal=false"
2737
2747
  },
2738
2748
  {
2739
2749
  "type": "it",
@@ -4521,6 +4531,16 @@ module.exports = {specifications: [
4521
4531
  "type": "describe",
4522
4532
  "name": "when the menu is opened",
4523
4533
  "children": [
4534
+ {
4535
+ "type": "describe",
4536
+ "name": "when the combobox is clicked",
4537
+ "children": [
4538
+ {
4539
+ "type": "it",
4540
+ "name": "should close the menu"
4541
+ }
4542
+ ]
4543
+ },
4524
4544
  {
4525
4545
  "type": "describe",
4526
4546
  "name": "when a character is typed (provided no other characters have been typed in the last 500ms), the select should advance assistive focus to the first matching option beyond the currently selected option (cycling back to the beginning of the options if necessary) and scroll that option into view",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "10.3.50",
3
+ "version": "10.3.52",
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,10 +44,10 @@
44
44
  "dependencies": {
45
45
  "@emotion/styled": "^11.6.0",
46
46
  "@storybook/csf": "0.0.1",
47
- "@workday/canvas-kit-labs-react": "^10.3.50",
48
- "@workday/canvas-kit-preview-react": "^10.3.50",
49
- "@workday/canvas-kit-react": "^10.3.50",
50
- "@workday/canvas-kit-styling": "^10.3.50",
47
+ "@workday/canvas-kit-labs-react": "^10.3.52",
48
+ "@workday/canvas-kit-preview-react": "^10.3.52",
49
+ "@workday/canvas-kit-react": "^10.3.52",
50
+ "@workday/canvas-kit-styling": "^10.3.52",
51
51
  "@workday/canvas-system-icons-web": "^3.0.0",
52
52
  "@workday/canvas-tokens-web": "^1.0.0",
53
53
  "markdown-to-jsx": "^6.10.3",
@@ -59,5 +59,5 @@
59
59
  "mkdirp": "^1.0.3",
60
60
  "typescript": "4.2"
61
61
  },
62
- "gitHead": "419f977a18c6952dca36a9490b4eb2c3de9d1309"
62
+ "gitHead": "3dbd98287262af9e8a614dcc1942652ead4cb2b5"
63
63
  }