@workday/canvas-kit-docs 15.1.19 → 15.1.21

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": {},
@@ -1599,6 +1599,34 @@ module.exports = {specifications: [
1599
1599
  "name": "should have an element with a role of \"heading\""
1600
1600
  }
1601
1601
  ]
1602
+ },
1603
+ {
1604
+ "type": "describe",
1605
+ "name": "given the Body is the last element",
1606
+ "children": [
1607
+ {
1608
+ "type": "it",
1609
+ "name": "should not have any axe errors"
1610
+ },
1611
+ {
1612
+ "type": "it",
1613
+ "name": "should not add space below the Body"
1614
+ }
1615
+ ]
1616
+ },
1617
+ {
1618
+ "type": "describe",
1619
+ "name": "given the Body is followed by a Link",
1620
+ "children": [
1621
+ {
1622
+ "type": "it",
1623
+ "name": "should not have any axe errors"
1624
+ },
1625
+ {
1626
+ "type": "it",
1627
+ "name": "should add space between the Body and the Link"
1628
+ }
1629
+ ]
1602
1630
  }
1603
1631
  ]
1604
1632
  }
@@ -2583,6 +2611,72 @@ module.exports = {specifications: [
2583
2611
  }
2584
2612
  ]
2585
2613
  },
2614
+ {
2615
+ "type": "file",
2616
+ "name": "MultiSelect",
2617
+ "children": [
2618
+ {
2619
+ "type": "describe",
2620
+ "name": "MultiSelect",
2621
+ "children": [
2622
+ {
2623
+ "type": "describe",
2624
+ "name": "given the Searching story is rendered",
2625
+ "children": [
2626
+ {
2627
+ "type": "it",
2628
+ "name": "should not have any axe errors before interaction"
2629
+ },
2630
+ {
2631
+ "type": "describe",
2632
+ "name": "when options have been selected",
2633
+ "children": [
2634
+ {
2635
+ "type": "it",
2636
+ "name": "should expose removal buttons in a named toolbar without axe errors"
2637
+ },
2638
+ {
2639
+ "type": "it",
2640
+ "name": "should navigate and remove pills with the keyboard, then return focus to the input"
2641
+ },
2642
+ {
2643
+ "type": "it",
2644
+ "name": "should use one tab stop and navigate the toolbar with Home, End, and arrow keys"
2645
+ },
2646
+ {
2647
+ "type": "it",
2648
+ "name": "should remove a pill without submitting the form"
2649
+ },
2650
+ {
2651
+ "type": "it",
2652
+ "name": "should activate removal buttons with Enter and Space without submitting the form"
2653
+ }
2654
+ ]
2655
+ },
2656
+ {
2657
+ "type": "describe",
2658
+ "name": "when search text is entered using the keyboard",
2659
+ "children": [
2660
+ {
2661
+ "type": "it",
2662
+ "name": "should not have any axe errors"
2663
+ },
2664
+ {
2665
+ "type": "it",
2666
+ "name": "should open the listbox with the filtered result"
2667
+ },
2668
+ {
2669
+ "type": "it",
2670
+ "name": "should clear the search without moving focus or exposing a redundant button"
2671
+ }
2672
+ ]
2673
+ }
2674
+ ]
2675
+ }
2676
+ ]
2677
+ }
2678
+ ]
2679
+ },
2586
2680
  {
2587
2681
  "type": "file",
2588
2682
  "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.19",
22
- "@workday/canvas-kit-preview-react": "15.1.19",
23
- "@workday/canvas-kit-react": "15.1.19",
24
- "@workday/canvas-kit-react-fonts": "^15.1.19",
25
- "@workday/canvas-kit-styling": "15.1.19",
21
+ "@workday/canvas-kit-labs-react": "15.1.21",
22
+ "@workday/canvas-kit-preview-react": "15.1.21",
23
+ "@workday/canvas-kit-react": "15.1.21",
24
+ "@workday/canvas-kit-react-fonts": "^15.1.21",
25
+ "@workday/canvas-kit-styling": "15.1.21",
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.19",
23
- "@workday/canvas-kit-preview-react": "15.1.19",
24
- "@workday/canvas-kit-react": "15.1.19",
25
- "@workday/canvas-kit-react-fonts": "^15.1.19",
26
- "@workday/canvas-kit-styling": "15.1.19",
22
+ "@workday/canvas-kit-labs-react": "15.1.21",
23
+ "@workday/canvas-kit-preview-react": "15.1.21",
24
+ "@workday/canvas-kit-react": "15.1.21",
25
+ "@workday/canvas-kit-react-fonts": "^15.1.21",
26
+ "@workday/canvas-kit-styling": "15.1.21",
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"
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
-
3
1
  import {InformationHighlight} from '@workday/canvas-kit-react/information-highlight';
4
2
 
5
3
  export default () => {
@@ -1,5 +1,3 @@
1
- import React from 'react';
2
-
3
1
  import {InformationHighlight} from '@workday/canvas-kit-react/information-highlight';
4
2
 
5
3
  export default () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "15.1.19",
3
+ "version": "15.1.21",
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.19",
52
- "@workday/canvas-kit-preview-react": "^15.1.19",
53
- "@workday/canvas-kit-react": "^15.1.19",
54
- "@workday/canvas-kit-styling": "^15.1.19",
51
+ "@workday/canvas-kit-labs-react": "^15.1.21",
52
+ "@workday/canvas-kit-preview-react": "^15.1.21",
53
+ "@workday/canvas-kit-react": "^15.1.21",
54
+ "@workday/canvas-kit-styling": "^15.1.21",
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": "6b79fdd04491c0f572deb67106e1cb0ab0524b62"
67
+ "gitHead": "4ce1c85a653dda947cf9ddc88aa908e33ce38d42"
68
68
  }