@workday/canvas-kit-docs 15.1.18 → 15.1.20

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.
@@ -34960,69 +34960,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
34960
34960
  "name": "composeHooks"
34961
34961
  },
34962
34962
  "parameters": [
34963
- {
34964
- "kind": "function",
34965
- "name": {
34966
- "kind": "symbol",
34967
- "name": "createElemPropsHook"
34968
- },
34969
- "parameters": [
34970
- {
34971
- "kind": "parameter",
34972
- "name": "model",
34973
- "description": "",
34974
- "tags": {},
34975
- "declarations": [],
34976
- "type": {
34977
- "kind": "symbol",
34978
- "name": "MultiSelectModel"
34979
- },
34980
- "required": true
34981
- },
34982
- {
34983
- "kind": "parameter",
34984
- "name": "elemProps",
34985
- "description": "",
34986
- "tags": {},
34987
- "declarations": [],
34988
- "type": {
34989
- "kind": "object",
34990
- "properties": []
34991
- },
34992
- "required": false
34993
- },
34994
- {
34995
- "kind": "parameter",
34996
- "name": "ref",
34997
- "description": "",
34998
- "tags": {},
34999
- "declarations": [],
35000
- "type": {
35001
- "kind": "external",
35002
- "name": "React.Ref",
35003
- "url": "https://reactjs.org/docs/refs-and-the-dom.html"
35004
- },
35005
- "required": false
35006
- }
35007
- ],
35008
- "returnType": {
35009
- "kind": "object",
35010
- "properties": [
35011
- {
35012
- "kind": "property",
35013
- "name": "aria-selected",
35014
- "required": true,
35015
- "type": {
35016
- "kind": "boolean",
35017
- "value": true
35018
- },
35019
- "description": "",
35020
- "tags": {},
35021
- "declarations": []
35022
- }
35023
- ]
35024
- }
35025
- },
35026
34963
  {
35027
34964
  "kind": "symbol",
35028
34965
  "name": "useMultiSelectItemRemove",
@@ -37059,6 +36996,50 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
37059
36996
  "returnType": {
37060
36997
  "kind": "object",
37061
36998
  "properties": [
36999
+ {
37000
+ "kind": "property",
37001
+ "name": "onFocus",
37002
+ "required": true,
37003
+ "type": {
37004
+ "kind": "function",
37005
+ "parameters": [
37006
+ {
37007
+ "kind": "parameter",
37008
+ "name": "event",
37009
+ "type": {
37010
+ "kind": "symbol",
37011
+ "name": "React.FocusEvent",
37012
+ "typeParameters": [
37013
+ {
37014
+ "kind": "symbol",
37015
+ "name": "HTMLElement",
37016
+ "value": "HTMLElement"
37017
+ }
37018
+ ],
37019
+ "value": "FocusEvent<Target, RelatedTarget>"
37020
+ },
37021
+ "required": true,
37022
+ "rest": false,
37023
+ "description": "",
37024
+ "declarations": [
37025
+ {
37026
+ "name": "event",
37027
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectItemRemove.ts"
37028
+ }
37029
+ ],
37030
+ "tags": {}
37031
+ }
37032
+ ],
37033
+ "members": [],
37034
+ "returnType": {
37035
+ "kind": "primitive",
37036
+ "value": "void"
37037
+ }
37038
+ },
37039
+ "description": "",
37040
+ "tags": {},
37041
+ "declarations": []
37042
+ },
37062
37043
  {
37063
37044
  "kind": "property",
37064
37045
  "name": "onKeyDown",
@@ -38885,6 +38866,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
38885
38866
  "type": {
38886
38867
  "kind": "model",
38887
38868
  "state": [
38869
+ {
38870
+ "kind": "property",
38871
+ "name": "searchInputRef",
38872
+ "type": {
38873
+ "kind": "symbol",
38874
+ "name": "RefObject",
38875
+ "value": "RefObject<HTMLInputElement>"
38876
+ },
38877
+ "description": "",
38878
+ "declarations": [
38879
+ {
38880
+ "name": "searchInputRef",
38881
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectModel.ts"
38882
+ }
38883
+ ],
38884
+ "tags": {}
38885
+ },
38888
38886
  {
38889
38887
  "kind": "property",
38890
38888
  "name": "stackRef",
@@ -57297,6 +57295,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
57297
57295
  "type": {
57298
57296
  "kind": "object",
57299
57297
  "properties": [
57298
+ {
57299
+ "kind": "property",
57300
+ "name": "searchInputRef",
57301
+ "type": {
57302
+ "kind": "symbol",
57303
+ "name": "RefObject",
57304
+ "value": "RefObject<HTMLInputElement>"
57305
+ },
57306
+ "description": "",
57307
+ "declarations": [
57308
+ {
57309
+ "name": "searchInputRef",
57310
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectModel.ts"
57311
+ }
57312
+ ],
57313
+ "tags": {}
57314
+ },
57300
57315
  {
57301
57316
  "kind": "property",
57302
57317
  "name": "stackRef",
@@ -403967,11 +403982,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
403967
403982
  "properties": [
403968
403983
  {
403969
403984
  "kind": "property",
403970
- "name": "role",
403985
+ "name": "aria-hidden",
403971
403986
  "required": true,
403972
403987
  "type": {
403973
- "kind": "string",
403974
- "value": "presentation"
403988
+ "kind": "boolean",
403989
+ "value": true
403975
403990
  },
403976
403991
  "description": "",
403977
403992
  "tags": {},
@@ -435726,6 +435741,47 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
435726
435741
  ],
435727
435742
  "tags": {}
435728
435743
  },
435744
+ {
435745
+ "kind": "property",
435746
+ "name": "onKeyDown",
435747
+ "type": {
435748
+ "kind": "function",
435749
+ "parameters": [
435750
+ {
435751
+ "kind": "parameter",
435752
+ "name": "event",
435753
+ "type": {
435754
+ "kind": "symbol",
435755
+ "name": "React.KeyboardEvent",
435756
+ "value": "KeyboardEvent<T>"
435757
+ },
435758
+ "required": true,
435759
+ "rest": false,
435760
+ "description": "",
435761
+ "declarations": [
435762
+ {
435763
+ "name": "event",
435764
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/tooltip/lib/useTooltip.tsx"
435765
+ }
435766
+ ],
435767
+ "tags": {}
435768
+ }
435769
+ ],
435770
+ "members": [],
435771
+ "returnType": {
435772
+ "kind": "primitive",
435773
+ "value": "void"
435774
+ }
435775
+ },
435776
+ "description": "",
435777
+ "declarations": [
435778
+ {
435779
+ "name": "onKeyDown",
435780
+ "filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/tooltip/lib/useTooltip.tsx"
435781
+ }
435782
+ ],
435783
+ "tags": {}
435784
+ },
435729
435785
  {
435730
435786
  "kind": "property",
435731
435787
  "name": "onFocus",
@@ -2583,6 +2583,72 @@ module.exports = {specifications: [
2583
2583
  }
2584
2584
  ]
2585
2585
  },
2586
+ {
2587
+ "type": "file",
2588
+ "name": "MultiSelect",
2589
+ "children": [
2590
+ {
2591
+ "type": "describe",
2592
+ "name": "MultiSelect",
2593
+ "children": [
2594
+ {
2595
+ "type": "describe",
2596
+ "name": "given the Searching story is rendered",
2597
+ "children": [
2598
+ {
2599
+ "type": "it",
2600
+ "name": "should not have any axe errors before interaction"
2601
+ },
2602
+ {
2603
+ "type": "describe",
2604
+ "name": "when options have been selected",
2605
+ "children": [
2606
+ {
2607
+ "type": "it",
2608
+ "name": "should expose removal buttons in a named toolbar without axe errors"
2609
+ },
2610
+ {
2611
+ "type": "it",
2612
+ "name": "should navigate and remove pills with the keyboard, then return focus to the input"
2613
+ },
2614
+ {
2615
+ "type": "it",
2616
+ "name": "should use one tab stop and navigate the toolbar with Home, End, and arrow keys"
2617
+ },
2618
+ {
2619
+ "type": "it",
2620
+ "name": "should remove a pill without submitting the form"
2621
+ },
2622
+ {
2623
+ "type": "it",
2624
+ "name": "should activate removal buttons with Enter and Space without submitting the form"
2625
+ }
2626
+ ]
2627
+ },
2628
+ {
2629
+ "type": "describe",
2630
+ "name": "when search text is entered using the keyboard",
2631
+ "children": [
2632
+ {
2633
+ "type": "it",
2634
+ "name": "should not have any axe errors"
2635
+ },
2636
+ {
2637
+ "type": "it",
2638
+ "name": "should open the listbox with the filtered result"
2639
+ },
2640
+ {
2641
+ "type": "it",
2642
+ "name": "should clear the search without moving focus or exposing a redundant button"
2643
+ }
2644
+ ]
2645
+ }
2646
+ ]
2647
+ }
2648
+ ]
2649
+ }
2650
+ ]
2651
+ },
2586
2652
  {
2587
2653
  "type": "file",
2588
2654
  "name": "Pagination",
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
18
18
  "@emotion/react": "11.11.4",
19
19
  "@types/react": "18.2.60",
20
20
  "@types/react-dom": "18.2.19",
21
- "@workday/canvas-kit-labs-react": "15.1.18",
22
- "@workday/canvas-kit-preview-react": "15.1.18",
23
- "@workday/canvas-kit-react": "15.1.18",
24
- "@workday/canvas-kit-react-fonts": "^15.1.18",
25
- "@workday/canvas-kit-styling": "15.1.18",
21
+ "@workday/canvas-kit-labs-react": "15.1.20",
22
+ "@workday/canvas-kit-preview-react": "15.1.20",
23
+ "@workday/canvas-kit-react": "15.1.20",
24
+ "@workday/canvas-kit-react-fonts": "^15.1.20",
25
+ "@workday/canvas-kit-styling": "15.1.20",
26
26
  "@workday/canvas-system-icons-web": "4.0.2",
27
27
  "@workday/canvas-expressive-icons-web": "1.0.1",
28
28
  "@workday/canvas-tokens-web": "4.2.0"
@@ -19,11 +19,11 @@ export const packageJSONFile = `{
19
19
  "@emotion/react": "11.11.4",
20
20
  "@types/react": "18.2.60",
21
21
  "@types/react-dom": "18.2.19",
22
- "@workday/canvas-kit-labs-react": "15.1.18",
23
- "@workday/canvas-kit-preview-react": "15.1.18",
24
- "@workday/canvas-kit-react": "15.1.18",
25
- "@workday/canvas-kit-react-fonts": "^15.1.18",
26
- "@workday/canvas-kit-styling": "15.1.18",
22
+ "@workday/canvas-kit-labs-react": "15.1.20",
23
+ "@workday/canvas-kit-preview-react": "15.1.20",
24
+ "@workday/canvas-kit-react": "15.1.20",
25
+ "@workday/canvas-kit-react-fonts": "^15.1.20",
26
+ "@workday/canvas-kit-styling": "15.1.20",
27
27
  "@workday/canvas-system-icons-web": "4.0.2",
28
28
  "@workday/canvas-expressive-icons-web": "1.0.1",
29
29
  "@workday/canvas-tokens-web": "4.2.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "15.1.18",
3
+ "version": "15.1.20",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -48,10 +48,10 @@
48
48
  "@stackblitz/sdk": "^1.11.0",
49
49
  "@storybook/csf": "0.0.1",
50
50
  "@workday/canvas-expressive-icons-web": "1.0.2",
51
- "@workday/canvas-kit-labs-react": "^15.1.18",
52
- "@workday/canvas-kit-preview-react": "^15.1.18",
53
- "@workday/canvas-kit-react": "^15.1.18",
54
- "@workday/canvas-kit-styling": "^15.1.18",
51
+ "@workday/canvas-kit-labs-react": "^15.1.20",
52
+ "@workday/canvas-kit-preview-react": "^15.1.20",
53
+ "@workday/canvas-kit-react": "^15.1.20",
54
+ "@workday/canvas-kit-styling": "^15.1.20",
55
55
  "@workday/canvas-system-icons-web": "4.2.0",
56
56
  "@workday/canvas-tokens-web": "4.4.0",
57
57
  "markdown-to-jsx": "^7.2.0",
@@ -64,5 +64,5 @@
64
64
  "mkdirp": "^1.0.3",
65
65
  "typescript": "5.0"
66
66
  },
67
- "gitHead": "0ea6d3e10d2b450c6ec8228c1dc340003f744ec9"
67
+ "gitHead": "f0736bc30deff368c6aee3d7de7c13544e693a05"
68
68
  }