@workday/canvas-kit-docs 10.3.51 → 10.3.53

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.
@@ -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"
@@ -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",
@@ -4778,6 +4798,16 @@ module.exports = {specifications: [
4778
4798
  ]
4779
4799
  }
4780
4800
  ]
4801
+ },
4802
+ {
4803
+ "type": "describe",
4804
+ "name": "when a value is selected",
4805
+ "children": [
4806
+ {
4807
+ "type": "it",
4808
+ "name": "should select phone and the selected value should be visible"
4809
+ }
4810
+ ]
4781
4811
  }
4782
4812
  ]
4783
4813
  },
@@ -4863,6 +4893,22 @@ module.exports = {specifications: [
4863
4893
  }
4864
4894
  ]
4865
4895
  },
4896
+ {
4897
+ "type": "describe",
4898
+ "name": "given the \"Complex\" story is rendered",
4899
+ "children": [
4900
+ {
4901
+ "type": "describe",
4902
+ "name": "when a value is selected with an id and text",
4903
+ "children": [
4904
+ {
4905
+ "type": "it",
4906
+ "name": "should display the correct id and value of the selected Phone"
4907
+ }
4908
+ ]
4909
+ }
4910
+ ]
4911
+ },
4866
4912
  {
4867
4913
  "type": "describe",
4868
4914
  "name": "given the \"FetchingDynamicItems\" story is rendered",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "10.3.51",
3
+ "version": "10.3.53",
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.51",
48
- "@workday/canvas-kit-preview-react": "^10.3.51",
49
- "@workday/canvas-kit-react": "^10.3.51",
50
- "@workday/canvas-kit-styling": "^10.3.51",
47
+ "@workday/canvas-kit-labs-react": "^10.3.53",
48
+ "@workday/canvas-kit-preview-react": "^10.3.53",
49
+ "@workday/canvas-kit-react": "^10.3.53",
50
+ "@workday/canvas-kit-styling": "^10.3.53",
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": "8d7ea547516e83b62e0ad497657b1397dc5550e8"
62
+ "gitHead": "e8774056fbabc57307b542429ebd2742b024175b"
63
63
  }