@workday/canvas-kit-docs 16.2.14 → 16.2.16
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/docs.js
CHANGED
|
@@ -70357,69 +70357,6 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
70357
70357
|
"name": "composeHooks"
|
|
70358
70358
|
},
|
|
70359
70359
|
"parameters": [
|
|
70360
|
-
{
|
|
70361
|
-
"kind": "function",
|
|
70362
|
-
"name": {
|
|
70363
|
-
"kind": "symbol",
|
|
70364
|
-
"name": "createElemPropsHook"
|
|
70365
|
-
},
|
|
70366
|
-
"parameters": [
|
|
70367
|
-
{
|
|
70368
|
-
"kind": "parameter",
|
|
70369
|
-
"name": "model",
|
|
70370
|
-
"description": "",
|
|
70371
|
-
"tags": {},
|
|
70372
|
-
"declarations": [],
|
|
70373
|
-
"type": {
|
|
70374
|
-
"kind": "symbol",
|
|
70375
|
-
"name": "MultiSelectModel"
|
|
70376
|
-
},
|
|
70377
|
-
"required": true
|
|
70378
|
-
},
|
|
70379
|
-
{
|
|
70380
|
-
"kind": "parameter",
|
|
70381
|
-
"name": "elemProps",
|
|
70382
|
-
"description": "",
|
|
70383
|
-
"tags": {},
|
|
70384
|
-
"declarations": [],
|
|
70385
|
-
"type": {
|
|
70386
|
-
"kind": "object",
|
|
70387
|
-
"properties": []
|
|
70388
|
-
},
|
|
70389
|
-
"required": false
|
|
70390
|
-
},
|
|
70391
|
-
{
|
|
70392
|
-
"kind": "parameter",
|
|
70393
|
-
"name": "ref",
|
|
70394
|
-
"description": "",
|
|
70395
|
-
"tags": {},
|
|
70396
|
-
"declarations": [],
|
|
70397
|
-
"type": {
|
|
70398
|
-
"kind": "external",
|
|
70399
|
-
"name": "React.Ref",
|
|
70400
|
-
"url": "https://reactjs.org/docs/refs-and-the-dom.html"
|
|
70401
|
-
},
|
|
70402
|
-
"required": false
|
|
70403
|
-
}
|
|
70404
|
-
],
|
|
70405
|
-
"returnType": {
|
|
70406
|
-
"kind": "object",
|
|
70407
|
-
"properties": [
|
|
70408
|
-
{
|
|
70409
|
-
"kind": "property",
|
|
70410
|
-
"name": "aria-selected",
|
|
70411
|
-
"required": true,
|
|
70412
|
-
"type": {
|
|
70413
|
-
"kind": "boolean",
|
|
70414
|
-
"value": true
|
|
70415
|
-
},
|
|
70416
|
-
"description": "",
|
|
70417
|
-
"tags": {},
|
|
70418
|
-
"declarations": []
|
|
70419
|
-
}
|
|
70420
|
-
]
|
|
70421
|
-
}
|
|
70422
|
-
},
|
|
70423
70360
|
{
|
|
70424
70361
|
"kind": "symbol",
|
|
70425
70362
|
"name": "useMultiSelectItemRemove",
|
|
@@ -72456,6 +72393,50 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
72456
72393
|
"returnType": {
|
|
72457
72394
|
"kind": "object",
|
|
72458
72395
|
"properties": [
|
|
72396
|
+
{
|
|
72397
|
+
"kind": "property",
|
|
72398
|
+
"name": "onFocus",
|
|
72399
|
+
"required": true,
|
|
72400
|
+
"type": {
|
|
72401
|
+
"kind": "function",
|
|
72402
|
+
"parameters": [
|
|
72403
|
+
{
|
|
72404
|
+
"kind": "parameter",
|
|
72405
|
+
"name": "event",
|
|
72406
|
+
"type": {
|
|
72407
|
+
"kind": "symbol",
|
|
72408
|
+
"name": "React.FocusEvent",
|
|
72409
|
+
"typeParameters": [
|
|
72410
|
+
{
|
|
72411
|
+
"kind": "symbol",
|
|
72412
|
+
"name": "HTMLElement",
|
|
72413
|
+
"value": "HTMLElement"
|
|
72414
|
+
}
|
|
72415
|
+
],
|
|
72416
|
+
"value": "FocusEvent<Target, RelatedTarget>"
|
|
72417
|
+
},
|
|
72418
|
+
"required": true,
|
|
72419
|
+
"rest": false,
|
|
72420
|
+
"description": "",
|
|
72421
|
+
"declarations": [
|
|
72422
|
+
{
|
|
72423
|
+
"name": "event",
|
|
72424
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectItemRemove.ts"
|
|
72425
|
+
}
|
|
72426
|
+
],
|
|
72427
|
+
"tags": {}
|
|
72428
|
+
}
|
|
72429
|
+
],
|
|
72430
|
+
"members": [],
|
|
72431
|
+
"returnType": {
|
|
72432
|
+
"kind": "primitive",
|
|
72433
|
+
"value": "void"
|
|
72434
|
+
}
|
|
72435
|
+
},
|
|
72436
|
+
"description": "",
|
|
72437
|
+
"tags": {},
|
|
72438
|
+
"declarations": []
|
|
72439
|
+
},
|
|
72459
72440
|
{
|
|
72460
72441
|
"kind": "property",
|
|
72461
72442
|
"name": "onKeyDown",
|
|
@@ -74282,6 +74263,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
74282
74263
|
"type": {
|
|
74283
74264
|
"kind": "model",
|
|
74284
74265
|
"state": [
|
|
74266
|
+
{
|
|
74267
|
+
"kind": "property",
|
|
74268
|
+
"name": "searchInputRef",
|
|
74269
|
+
"type": {
|
|
74270
|
+
"kind": "symbol",
|
|
74271
|
+
"name": "RefObject",
|
|
74272
|
+
"value": "RefObject<HTMLInputElement>"
|
|
74273
|
+
},
|
|
74274
|
+
"description": "",
|
|
74275
|
+
"declarations": [
|
|
74276
|
+
{
|
|
74277
|
+
"name": "searchInputRef",
|
|
74278
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectModel.ts"
|
|
74279
|
+
}
|
|
74280
|
+
],
|
|
74281
|
+
"tags": {}
|
|
74282
|
+
},
|
|
74285
74283
|
{
|
|
74286
74284
|
"kind": "property",
|
|
74287
74285
|
"name": "stackRef",
|
|
@@ -92694,6 +92692,23 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
92694
92692
|
"type": {
|
|
92695
92693
|
"kind": "object",
|
|
92696
92694
|
"properties": [
|
|
92695
|
+
{
|
|
92696
|
+
"kind": "property",
|
|
92697
|
+
"name": "searchInputRef",
|
|
92698
|
+
"type": {
|
|
92699
|
+
"kind": "symbol",
|
|
92700
|
+
"name": "RefObject",
|
|
92701
|
+
"value": "RefObject<HTMLInputElement>"
|
|
92702
|
+
},
|
|
92703
|
+
"description": "",
|
|
92704
|
+
"declarations": [
|
|
92705
|
+
{
|
|
92706
|
+
"name": "searchInputRef",
|
|
92707
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/preview-react/multi-select/lib/useMultiSelectModel.ts"
|
|
92708
|
+
}
|
|
92709
|
+
],
|
|
92710
|
+
"tags": {}
|
|
92711
|
+
},
|
|
92697
92712
|
{
|
|
92698
92713
|
"kind": "property",
|
|
92699
92714
|
"name": "stackRef",
|
|
@@ -473255,11 +473270,11 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
473255
473270
|
"properties": [
|
|
473256
473271
|
{
|
|
473257
473272
|
"kind": "property",
|
|
473258
|
-
"name": "
|
|
473273
|
+
"name": "aria-hidden",
|
|
473259
473274
|
"required": true,
|
|
473260
473275
|
"type": {
|
|
473261
|
-
"kind": "
|
|
473262
|
-
"value":
|
|
473276
|
+
"kind": "boolean",
|
|
473277
|
+
"value": true
|
|
473263
473278
|
},
|
|
473264
473279
|
"description": "",
|
|
473265
473280
|
"tags": {},
|
|
@@ -505076,6 +505091,47 @@ export const docs = (typeof window !== 'undefined' && window.__docs) ||
|
|
|
505076
505091
|
],
|
|
505077
505092
|
"tags": {}
|
|
505078
505093
|
},
|
|
505094
|
+
{
|
|
505095
|
+
"kind": "property",
|
|
505096
|
+
"name": "onKeyDown",
|
|
505097
|
+
"type": {
|
|
505098
|
+
"kind": "function",
|
|
505099
|
+
"parameters": [
|
|
505100
|
+
{
|
|
505101
|
+
"kind": "parameter",
|
|
505102
|
+
"name": "event",
|
|
505103
|
+
"type": {
|
|
505104
|
+
"kind": "symbol",
|
|
505105
|
+
"name": "React.KeyboardEvent",
|
|
505106
|
+
"value": "KeyboardEvent<T>"
|
|
505107
|
+
},
|
|
505108
|
+
"required": true,
|
|
505109
|
+
"rest": false,
|
|
505110
|
+
"description": "",
|
|
505111
|
+
"declarations": [
|
|
505112
|
+
{
|
|
505113
|
+
"name": "event",
|
|
505114
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/tooltip/lib/useTooltip.tsx"
|
|
505115
|
+
}
|
|
505116
|
+
],
|
|
505117
|
+
"tags": {}
|
|
505118
|
+
}
|
|
505119
|
+
],
|
|
505120
|
+
"members": [],
|
|
505121
|
+
"returnType": {
|
|
505122
|
+
"kind": "primitive",
|
|
505123
|
+
"value": "void"
|
|
505124
|
+
}
|
|
505125
|
+
},
|
|
505126
|
+
"description": "",
|
|
505127
|
+
"declarations": [
|
|
505128
|
+
{
|
|
505129
|
+
"name": "onKeyDown",
|
|
505130
|
+
"filePath": "/home/runner/work/canvas-kit/canvas-kit/modules/react/tooltip/lib/useTooltip.tsx"
|
|
505131
|
+
}
|
|
505132
|
+
],
|
|
505133
|
+
"tags": {}
|
|
505134
|
+
},
|
|
505079
505135
|
{
|
|
505080
505136
|
"kind": "property",
|
|
505081
505137
|
"name": "onFocus",
|
package/dist/es6/lib/specs.js
CHANGED
|
@@ -2877,6 +2877,10 @@ module.exports = {specifications: [
|
|
|
2877
2877
|
"type": "describe",
|
|
2878
2878
|
"name": "given the Searching story is rendered",
|
|
2879
2879
|
"children": [
|
|
2880
|
+
{
|
|
2881
|
+
"type": "it",
|
|
2882
|
+
"name": "should not have any axe errors before interaction"
|
|
2883
|
+
},
|
|
2880
2884
|
{
|
|
2881
2885
|
"type": "describe",
|
|
2882
2886
|
"name": "when Enter is pressed before typing",
|
|
@@ -2887,6 +2891,32 @@ module.exports = {specifications: [
|
|
|
2887
2891
|
}
|
|
2888
2892
|
]
|
|
2889
2893
|
},
|
|
2894
|
+
{
|
|
2895
|
+
"type": "describe",
|
|
2896
|
+
"name": "when options have been selected",
|
|
2897
|
+
"children": [
|
|
2898
|
+
{
|
|
2899
|
+
"type": "it",
|
|
2900
|
+
"name": "should expose removal buttons in a named toolbar without axe errors"
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"type": "it",
|
|
2904
|
+
"name": "should navigate and remove pills with the keyboard, then return focus to the input"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"type": "it",
|
|
2908
|
+
"name": "should use one tab stop and navigate the toolbar with Home, End, and arrow keys"
|
|
2909
|
+
},
|
|
2910
|
+
{
|
|
2911
|
+
"type": "it",
|
|
2912
|
+
"name": "should remove a pill without submitting the form"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"type": "it",
|
|
2916
|
+
"name": "should activate removal buttons with Enter and Space without submitting the form"
|
|
2917
|
+
}
|
|
2918
|
+
]
|
|
2919
|
+
},
|
|
2890
2920
|
{
|
|
2891
2921
|
"type": "describe",
|
|
2892
2922
|
"name": "when search text is entered using the keyboard",
|
|
@@ -2898,6 +2928,10 @@ module.exports = {specifications: [
|
|
|
2898
2928
|
{
|
|
2899
2929
|
"type": "it",
|
|
2900
2930
|
"name": "should open the listbox with the filtered result"
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"type": "it",
|
|
2934
|
+
"name": "should clear the search without moving focus or exposing a redundant button"
|
|
2901
2935
|
}
|
|
2902
2936
|
]
|
|
2903
2937
|
}
|
|
@@ -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": "16.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "16.2.
|
|
23
|
-
"@workday/canvas-kit-react": "16.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^16.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "16.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "16.2.16",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "16.2.16",
|
|
23
|
+
"@workday/canvas-kit-react": "16.2.16",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^16.2.16",
|
|
25
|
+
"@workday/canvas-kit-styling": "16.2.16",
|
|
26
26
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
27
27
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
28
28
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
|
@@ -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": "16.2.
|
|
23
|
-
"@workday/canvas-kit-preview-react": "16.2.
|
|
24
|
-
"@workday/canvas-kit-react": "16.2.
|
|
25
|
-
"@workday/canvas-kit-react-fonts": "^16.2.
|
|
26
|
-
"@workday/canvas-kit-styling": "16.2.
|
|
22
|
+
"@workday/canvas-kit-labs-react": "16.2.16",
|
|
23
|
+
"@workday/canvas-kit-preview-react": "16.2.16",
|
|
24
|
+
"@workday/canvas-kit-react": "16.2.16",
|
|
25
|
+
"@workday/canvas-kit-react-fonts": "^16.2.16",
|
|
26
|
+
"@workday/canvas-kit-styling": "16.2.16",
|
|
27
27
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
28
28
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
29
29
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.16",
|
|
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": "^16.2.
|
|
52
|
-
"@workday/canvas-kit-preview-react": "^16.2.
|
|
53
|
-
"@workday/canvas-kit-react": "^16.2.
|
|
54
|
-
"@workday/canvas-kit-styling": "^16.2.
|
|
51
|
+
"@workday/canvas-kit-labs-react": "^16.2.16",
|
|
52
|
+
"@workday/canvas-kit-preview-react": "^16.2.16",
|
|
53
|
+
"@workday/canvas-kit-react": "^16.2.16",
|
|
54
|
+
"@workday/canvas-kit-styling": "^16.2.16",
|
|
55
55
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
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": "
|
|
67
|
+
"gitHead": "1ca6177d8f970d92386feb639b60e55378c2434a"
|
|
68
68
|
}
|