@workday/canvas-kit-react 10.3.5 → 10.3.7

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.
@@ -74,6 +74,7 @@ export const useComboboxInput = composeHooks(
74
74
  'aria-expanded': model.state.visibility === 'visible',
75
75
  'aria-autocomplete': 'list',
76
76
  'aria-controls': `${model.state.id}-list`,
77
+ 'aria-activedescendant': model.state.visibility === 'hidden' ? null : undefined, // Removes activedescendant on menu close
77
78
  id: model.state.id,
78
79
  ref: elementRef,
79
80
  } as const;
@@ -92,6 +92,7 @@ export declare const useComboboxInput: import("@workday/canvas-kit-react/common"
92
92
  readonly 'aria-expanded': boolean;
93
93
  readonly 'aria-autocomplete': "list";
94
94
  readonly 'aria-controls': `${string}-list`;
95
+ readonly 'aria-activedescendant': null | undefined;
95
96
  readonly id: string;
96
97
  readonly ref: (instance: unknown) => void;
97
98
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;EAoBpC,CAAC"}
1
+ {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;;EAqBpC,CAAC"}
@@ -71,6 +71,7 @@ exports.useComboboxInput = common_1.composeHooks(common_1.createElemPropsHook(us
71
71
  'aria-expanded': model.state.visibility === 'visible',
72
72
  'aria-autocomplete': 'list',
73
73
  'aria-controls': `${model.state.id}-list`,
74
+ 'aria-activedescendant': model.state.visibility === 'hidden' ? null : undefined,
74
75
  id: model.state.id,
75
76
  ref: elementRef,
76
77
  };
@@ -102,6 +102,7 @@ export declare const useSelectInput: import("@workday/canvas-kit-react/common").
102
102
  readonly 'aria-expanded': boolean;
103
103
  readonly 'aria-autocomplete': "list";
104
104
  readonly 'aria-controls': `${string}-list`;
105
+ readonly 'aria-activedescendant': null | undefined;
105
106
  readonly id: string;
106
107
  readonly ref: (instance: unknown) => void;
107
108
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"useSelectInput.d.ts","sourceRoot":"","sources":["../../../../../select/lib/hooks/useSelectInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA8CF,mBAAmB;+BAvCP,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0FvE,CAAC"}
1
+ {"version":3,"file":"useSelectInput.d.ts","sourceRoot":"","sources":["../../../../../select/lib/hooks/useSelectInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA8CF,mBAAmB;+BAvCP,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0FvE,CAAC"}
@@ -92,6 +92,7 @@ export declare const useComboboxInput: import("@workday/canvas-kit-react/common"
92
92
  readonly 'aria-expanded': boolean;
93
93
  readonly 'aria-autocomplete': "list";
94
94
  readonly 'aria-controls': `${string}-list`;
95
+ readonly 'aria-activedescendant': null | undefined;
95
96
  readonly id: string;
96
97
  readonly ref: (instance: unknown) => void;
97
98
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;EAoBpC,CAAC"}
1
+ {"version":3,"file":"useComboboxInput.d.ts","sourceRoot":"","sources":["../../../../../combobox/lib/hooks/useComboboxInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA6BN,mBAAmB;6BActB,gBAAgB;;8BAIf,gBAAgB;;;;;;;;;;;;;;;;;;;EAqBpC,CAAC"}
@@ -65,6 +65,7 @@ export const useComboboxInput = composeHooks(createElemPropsHook(useComboboxMode
65
65
  'aria-expanded': model.state.visibility === 'visible',
66
66
  'aria-autocomplete': 'list',
67
67
  'aria-controls': `${model.state.id}-list`,
68
+ 'aria-activedescendant': model.state.visibility === 'hidden' ? null : undefined,
68
69
  id: model.state.id,
69
70
  ref: elementRef,
70
71
  };
@@ -102,6 +102,7 @@ export declare const useSelectInput: import("@workday/canvas-kit-react/common").
102
102
  readonly 'aria-expanded': boolean;
103
103
  readonly 'aria-autocomplete': "list";
104
104
  readonly 'aria-controls': `${string}-list`;
105
+ readonly 'aria-activedescendant': null | undefined;
105
106
  readonly id: string;
106
107
  readonly ref: (instance: unknown) => void;
107
108
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"useSelectInput.d.ts","sourceRoot":"","sources":["../../../../../select/lib/hooks/useSelectInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA8CF,mBAAmB;+BAvCP,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0FvE,CAAC"}
1
+ {"version":3,"file":"useSelectInput.d.ts","sourceRoot":"","sources":["../../../../../select/lib/hooks/useSelectInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA8CF,mBAAmB;+BAvCP,MAAM,WAAW,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0FvE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-react",
3
- "version": "10.3.5",
3
+ "version": "10.3.7",
4
4
  "description": "The parent module that contains all Workday Canvas Kit React components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -50,8 +50,8 @@
50
50
  "@emotion/styled": "^11.6.0",
51
51
  "@popperjs/core": "^2.5.4",
52
52
  "@workday/canvas-colors-web": "^2.0.0",
53
- "@workday/canvas-kit-popup-stack": "^10.3.5",
54
- "@workday/canvas-kit-styling": "^10.3.5",
53
+ "@workday/canvas-kit-popup-stack": "^10.3.7",
54
+ "@workday/canvas-kit-styling": "^10.3.7",
55
55
  "@workday/canvas-system-icons-web": "^3.0.0",
56
56
  "@workday/canvas-tokens-web": "^1.0.0",
57
57
  "@workday/design-assets-types": "^0.2.8",
@@ -69,5 +69,5 @@
69
69
  "@workday/canvas-accent-icons-web": "^3.0.0",
70
70
  "@workday/canvas-applet-icons-web": "^2.0.0"
71
71
  },
72
- "gitHead": "ff2e0a2ef7bfedfa90006e0195ac8fcc1039b39c"
72
+ "gitHead": "70769d7d6322602631f5501ec92e7910556117f9"
73
73
  }