@workday/canvas-kit-preview-react 9.0.0-alpha.406-next.8 → 9.0.0-alpha.408-next.10

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.
Files changed (43) hide show
  1. package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.d.ts +3 -5
  2. package/dist/commonjs/form-field/lib/hooks/useFormFieldHint.d.ts.map +1 -1
  3. package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.d.ts +3 -5
  4. package/dist/commonjs/form-field/lib/hooks/useFormFieldInput.d.ts.map +1 -1
  5. package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts +3 -5
  6. package/dist/commonjs/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
  7. package/dist/commonjs/menu/lib/Menu.d.ts +6 -6
  8. package/dist/commonjs/menu/lib/Menu.js +2 -2
  9. package/dist/commonjs/menu/lib/MenuItem.d.ts +4 -4
  10. package/dist/commonjs/menu/lib/MenuItem.js +2 -2
  11. package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts +3 -5
  12. package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
  13. package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +18 -4
  14. package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
  15. package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts +3 -5
  16. package/dist/commonjs/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
  17. package/dist/commonjs/status-indicator/lib/StatusIndicatorIcon.d.ts +3 -6
  18. package/dist/commonjs/status-indicator/lib/StatusIndicatorIcon.d.ts.map +1 -1
  19. package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts +3 -5
  20. package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts.map +1 -1
  21. package/dist/es6/form-field/lib/hooks/useFormFieldHint.d.ts +3 -5
  22. package/dist/es6/form-field/lib/hooks/useFormFieldHint.d.ts.map +1 -1
  23. package/dist/es6/form-field/lib/hooks/useFormFieldInput.d.ts +3 -5
  24. package/dist/es6/form-field/lib/hooks/useFormFieldInput.d.ts.map +1 -1
  25. package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts +3 -5
  26. package/dist/es6/form-field/lib/hooks/useFormFieldLabel.d.ts.map +1 -1
  27. package/dist/es6/menu/lib/Menu.d.ts +6 -6
  28. package/dist/es6/menu/lib/Menu.js +2 -2
  29. package/dist/es6/menu/lib/MenuItem.d.ts +4 -4
  30. package/dist/es6/menu/lib/MenuItem.js +2 -2
  31. package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts +3 -5
  32. package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
  33. package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +18 -4
  34. package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
  35. package/dist/es6/status-indicator/lib/StatusIndicator.d.ts +3 -5
  36. package/dist/es6/status-indicator/lib/StatusIndicator.d.ts.map +1 -1
  37. package/dist/es6/status-indicator/lib/StatusIndicatorIcon.d.ts +3 -6
  38. package/dist/es6/status-indicator/lib/StatusIndicatorIcon.d.ts.map +1 -1
  39. package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts +3 -5
  40. package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts.map +1 -1
  41. package/menu/lib/Menu.tsx +6 -6
  42. package/menu/lib/MenuItem.tsx +4 -4
  43. package/package.json +3 -3
@@ -2,16 +2,14 @@
2
2
  * Adds the necessary props to a `Hint` component.
3
3
  * Used by the FormField.Hint subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldHint: <P extends {}, R>(model: {
5
+ export declare const useFormFieldHint: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  id: string;
14
- } & P & (R extends HTMLOrSVGElement ? {
15
- ref: import("react").Ref<R>;
16
- } : {});
14
+ }>;
17
15
  //# sourceMappingURL=useFormFieldHint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldHint.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldHint.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;OAI3B,CAAC"}
1
+ {"version":3,"file":"useFormFieldHint.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldHint.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;EAI3B,CAAC"}
@@ -2,19 +2,17 @@
2
2
  * Adds the necessary props to an `Input` component.
3
3
  * Used by the FormField.Input subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldInput: <P extends {}, R>(model: {
5
+ export declare const useFormFieldInput: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  required: boolean | undefined;
14
14
  'aria-invalid': boolean | undefined;
15
15
  'aria-describedby': string;
16
16
  id: string;
17
- } & P & (R extends HTMLOrSVGElement ? {
18
- ref: import("react").Ref<R>;
19
- } : {});
17
+ }>;
20
18
  //# sourceMappingURL=useFormFieldInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldInput.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldInput.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;OAO5B,CAAC"}
1
+ {"version":3,"file":"useFormFieldInput.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldInput.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAO5B,CAAC"}
@@ -2,16 +2,14 @@
2
2
  * Adds the necessary props to a `Label` component.
3
3
  * Used by the FormField.Label subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldLabel: <P extends {}, R>(model: {
5
+ export declare const useFormFieldLabel: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  htmlFor: string;
14
- } & P & (R extends HTMLOrSVGElement ? {
15
- ref: import("react").Ref<R>;
16
- } : {});
14
+ }>;
17
15
  //# sourceMappingURL=useFormFieldLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;OAI5B,CAAC"}
1
+ {"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAI5B,CAAC"}
@@ -4,8 +4,8 @@ import { GrowthBehavior } from '@workday/canvas-kit-react/common';
4
4
  /**
5
5
  * ### Deprecated Menu
6
6
  *
7
- * As of Canvas Kit v8, Menu is being soft-deprecated.
8
- * It will be hard-deprecated (completely removed) in v9. Please see the
7
+ * As of Canvas Kit v8, Menu is being deprecated.
8
+ * It will be removed in v10. Please see the
9
9
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
10
10
  * for more information.
11
11
  */
@@ -47,8 +47,8 @@ export interface DeprecatedMenuProps extends GrowthBehavior, React.HTMLAttribute
47
47
  /**
48
48
  * ### Deprecated Menu State
49
49
  *
50
- * As of Canvas Kit v8, Menu is being soft-deprecated.
51
- * It will be hard-deprecated (completely removed) in v9. Please see the
50
+ * As of Canvas Kit v8, Menu is being deprecated.
51
+ * It will be removed in v10. Please see the
52
52
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
53
53
  * for more information.
54
54
  */
@@ -56,8 +56,8 @@ export interface DeprecatedMenuState {
56
56
  selectedItemIndex: number;
57
57
  }
58
58
  /**
59
- * As of Canvas Kit v8, this component is being soft-deprecated. It will be hard-deprecated
60
- * (completely removed) in v9. Please see the [upgrade
59
+ * As of Canvas Kit v8, Menu is being deprecated.
60
+ * It will be removed in v10. Please see the [upgrade
61
61
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
62
62
  * more information.
63
63
  *
@@ -39,8 +39,8 @@ const List = styled_1.default('ul')({
39
39
  ...common_1.hideMouseFocus,
40
40
  });
41
41
  /**
42
- * As of Canvas Kit v8, this component is being soft-deprecated. It will be hard-deprecated
43
- * (completely removed) in v9. Please see the [upgrade
42
+ * As of Canvas Kit v8, Menu is being deprecated.
43
+ * It will be removed in v10. Please see the [upgrade
44
44
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
45
45
  * more information.
46
46
  *
@@ -3,8 +3,8 @@ import { CanvasSystemIcon } from '@workday/design-assets-types';
3
3
  /**
4
4
  * ### Deprecated Menu Item Props
5
5
  *
6
- * As of Canvas Kit v8, Menu is being soft-deprecated.
7
- * It will be hard-deprecated (completely removed) in v9. Please see the
6
+ * As of Canvas Kit v8, Menu is being deprecated.
7
+ * It will be removed in v10. Please see the
8
8
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
9
9
  * for more information.
10
10
  */
@@ -65,8 +65,8 @@ export interface DeprecatedMenuItemProps extends React.LiHTMLAttributes<HTMLLIEl
65
65
  * - `tabindex={-1}`
66
66
  * - `id`s following this pattern: `${MenuId}-${index}`
67
67
  *
68
- * As of Canvas Kit v8, Menu is being soft-deprecated. It will be hard-deprecated (completely
69
- * removed) in v9. Please see the [upgrade
68
+ * As of Canvas Kit v8, Menu is being deprecated.
69
+ * It will be removed in v10. Please see the [upgrade
70
70
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
71
71
  * more information.
72
72
  *
@@ -192,8 +192,8 @@ const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
192
192
  * - `tabindex={-1}`
193
193
  * - `id`s following this pattern: `${MenuId}-${index}`
194
194
  *
195
- * As of Canvas Kit v8, Menu is being soft-deprecated. It will be hard-deprecated (completely
196
- * removed) in v9. Please see the [upgrade
195
+ * As of Canvas Kit v8, Menu is being deprecated.
196
+ * It will be removed in v10. Please see the [upgrade
197
197
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
198
198
  * more information.
199
199
  *
@@ -5,7 +5,7 @@ export interface SegmentedControlListProps<T = any> extends Omit<Partial<Extract
5
5
  'aria-label': string;
6
6
  children: ((item: T) => React.ReactNode) | React.ReactNode;
7
7
  }
8
- export declare const useSegmentedControlList: <P extends {}, R>(model: {
8
+ export declare const useSegmentedControlList: import("@workday/canvas-kit-react/common").BehaviorHook<{
9
9
  state: {
10
10
  disabled: boolean;
11
11
  size: "small" | "medium" | "large";
@@ -62,12 +62,10 @@ export declare const useSegmentedControlList: <P extends {}, R>(model: {
62
62
  selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
63
63
  navigation: import("@workday/canvas-kit-react/collection/lib/useCursorListModel").NavigationManager;
64
64
  getId: (item: any) => string;
65
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
65
+ }, {
66
66
  [x: string]: string | number | undefined;
67
67
  opacity: number | undefined;
68
- } & P & (R extends HTMLOrSVGElement ? {
69
- ref: React.Ref<R>;
70
- } : {});
68
+ }>;
71
69
  export declare const SegmentedControlList: import("@workday/canvas-kit-react/common").ElementComponentM<"div", SegmentedControlListProps<any>, {
72
70
  state: {
73
71
  disabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControlList.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControlList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAEb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAItD,MAAM,WAAW,yBAAyB,CAAC,CAAC,GAAG,GAAG,CAChD,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAQnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAC"}
1
+ {"version":3,"file":"SegmentedControlList.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControlList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAEb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAItD,MAAM,WAAW,yBAAyB,CAAC,CAAC,GAAG,GAAG,CAChD,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare const useSegmentedControlItem: <P extends {}, R>(model: {
2
+ export declare const useSegmentedControlItem: import("@workday/canvas-kit-react/common").BehaviorHook<{
3
3
  state: {
4
4
  selectedIds: string[] | "all";
5
5
  unselectedIds: string[];
@@ -54,7 +54,21 @@ export declare const useSegmentedControlItem: <P extends {}, R>(model: {
54
54
  selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
55
55
  navigation: import("@workday/canvas-kit-react/collection/lib/useCursorListModel").NavigationManager;
56
56
  getId: (item: any) => string;
57
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
58
- ref: React.Ref<R>;
59
- } : {});
57
+ }, {
58
+ onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
59
+ } & {
60
+ id: string;
61
+ 'aria-pressed': boolean;
62
+ } & {
63
+ ref: (instance: HTMLElement | null) => void;
64
+ 'data-id': string;
65
+ disabled: boolean | undefined;
66
+ item: null;
67
+ virtual: null;
68
+ 'aria-setsize': number | undefined;
69
+ 'aria-posinset': number | undefined;
70
+ style: React.CSSProperties;
71
+ } & {
72
+ disabled: boolean | undefined;
73
+ }>;
60
74
  //# sourceMappingURL=useSegmentedControlItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSegmentedControlItem.d.ts","sourceRoot":"","sources":["../../../../../segmented-control/lib/hooks/useSegmentedControlItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BnC,CAAC"}
1
+ {"version":3,"file":"useSegmentedControlItem.d.ts","sourceRoot":"","sources":["../../../../../segmented-control/lib/hooks/useSegmentedControlItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BnC,CAAC"}
@@ -7,19 +7,17 @@ export interface StatusIndicatorProps extends ExtractProps<typeof Flex, never> {
7
7
  */
8
8
  children: React.ReactNode;
9
9
  }
10
- export declare const useStatusIndicator: <P extends {}, R>(model: {
10
+ export declare const useStatusIndicator: import("@workday/canvas-kit-react/common").BehaviorHook<{
11
11
  state: {
12
12
  emphasis: import("./hooks").StatusIndicatorEmphasis;
13
13
  variant: import("./hooks").StatusIndicatorVariant;
14
14
  };
15
15
  events: {};
16
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
16
+ }, {
17
17
  opacity: string | undefined;
18
18
  color: string;
19
19
  background: string;
20
- } & P & (R extends HTMLOrSVGElement ? {
21
- ref: React.Ref<R>;
22
- } : {});
20
+ }>;
23
21
  /**
24
22
  * `StatusIndicator` is a container component which renders an {@link Flex} under the hood to
25
23
  * apply spacing evenly between its children. It has a default maximum width of `200px`.
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAuC,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;OAO7B,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;IAKxB;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;;;;;;;CAmBL,CAAC"}
1
+ {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAuC,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;EAO7B,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;IAKxB;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;;;;;;;CAmBL,CAAC"}
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { SystemIconProps } from '@workday/canvas-kit-react/icon';
3
2
  export interface StatusIndicatorIconProps extends SystemIconProps {
4
3
  }
@@ -64,18 +63,16 @@ export declare const statusIndicatorColors: {
64
63
  };
65
64
  };
66
65
  };
67
- export declare const useStatusIndicatorIcon: <P extends {}, R>(model: {
66
+ export declare const useStatusIndicatorIcon: import("@workday/canvas-kit-react/common").BehaviorHook<{
68
67
  state: {
69
68
  emphasis: import("./hooks").StatusIndicatorEmphasis;
70
69
  variant: import("./hooks").StatusIndicatorVariant;
71
70
  };
72
71
  events: {};
73
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
72
+ }, {
74
73
  color: string;
75
74
  colorHover: string;
76
- } & P & (R extends HTMLOrSVGElement ? {
77
- ref: React.Ref<R>;
78
- } : {});
75
+ }>;
79
76
  export declare const StatusIndicatorIcon: import("@workday/canvas-kit-react/common").ElementComponentM<"span", StatusIndicatorIconProps, {
80
77
  state: {
81
78
  emphasis: import("./hooks").StatusIndicatorEmphasis;
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicatorIcon.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicatorIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAG3E,MAAM,WAAW,wBAAyB,SAAQ,eAAe;CAAG;AAIpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;OAMjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;EAK9B,CAAC"}
1
+ {"version":3,"file":"StatusIndicatorIcon.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicatorIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAG3E,MAAM,WAAW,wBAAyB,SAAQ,eAAe;CAAG;AAIpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;EAMjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;EAK9B,CAAC"}
@@ -1,16 +1,14 @@
1
1
  /**
2
2
  * Adds the necessary props to a `Field` component. Used by the TextInput.Field subcomponent.
3
3
  */
4
- export declare const useTextInputField: <P extends {}, R>(model: {
4
+ export declare const useTextInputField: import("@workday/canvas-kit-react/common").BehaviorHook<{
5
5
  state: {
6
6
  id: string;
7
7
  hasError: boolean;
8
8
  isRequired: boolean;
9
9
  };
10
10
  events: {};
11
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
11
+ }, {
12
12
  type: string;
13
- } & P & (R extends HTMLOrSVGElement ? {
14
- ref: import("react").Ref<R>;
15
- } : {});
13
+ }>;
16
14
  //# sourceMappingURL=useTextInputField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTextInputField.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputField.tsx"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;OAI5B,CAAC"}
1
+ {"version":3,"file":"useTextInputField.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputField.tsx"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAI5B,CAAC"}
@@ -2,16 +2,14 @@
2
2
  * Adds the necessary props to a `Hint` component.
3
3
  * Used by the FormField.Hint subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldHint: <P extends {}, R>(model: {
5
+ export declare const useFormFieldHint: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  id: string;
14
- } & P & (R extends HTMLOrSVGElement ? {
15
- ref: import("react").Ref<R>;
16
- } : {});
14
+ }>;
17
15
  //# sourceMappingURL=useFormFieldHint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldHint.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldHint.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;OAI3B,CAAC"}
1
+ {"version":3,"file":"useFormFieldHint.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldHint.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;EAI3B,CAAC"}
@@ -2,19 +2,17 @@
2
2
  * Adds the necessary props to an `Input` component.
3
3
  * Used by the FormField.Input subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldInput: <P extends {}, R>(model: {
5
+ export declare const useFormFieldInput: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  required: boolean | undefined;
14
14
  'aria-invalid': boolean | undefined;
15
15
  'aria-describedby': string;
16
16
  id: string;
17
- } & P & (R extends HTMLOrSVGElement ? {
18
- ref: import("react").Ref<R>;
19
- } : {});
17
+ }>;
20
18
  //# sourceMappingURL=useFormFieldInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldInput.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldInput.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;OAO5B,CAAC"}
1
+ {"version":3,"file":"useFormFieldInput.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldInput.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAO5B,CAAC"}
@@ -2,16 +2,14 @@
2
2
  * Adds the necessary props to a `Label` component.
3
3
  * Used by the FormField.Label subcomponent and other input type components
4
4
  */
5
- export declare const useFormFieldLabel: <P extends {}, R>(model: {
5
+ export declare const useFormFieldLabel: import("@workday/canvas-kit-react/common").BehaviorHook<{
6
6
  state: {
7
7
  id: string;
8
8
  hasError: boolean;
9
9
  isRequired: boolean;
10
10
  };
11
11
  events: {};
12
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
12
+ }, {
13
13
  htmlFor: string;
14
- } & P & (R extends HTMLOrSVGElement ? {
15
- ref: import("react").Ref<R>;
16
- } : {});
14
+ }>;
17
15
  //# sourceMappingURL=useFormFieldLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;OAI5B,CAAC"}
1
+ {"version":3,"file":"useFormFieldLabel.d.ts","sourceRoot":"","sources":["../../../../../form-field/lib/hooks/useFormFieldLabel.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAI5B,CAAC"}
@@ -4,8 +4,8 @@ import { GrowthBehavior } from '@workday/canvas-kit-react/common';
4
4
  /**
5
5
  * ### Deprecated Menu
6
6
  *
7
- * As of Canvas Kit v8, Menu is being soft-deprecated.
8
- * It will be hard-deprecated (completely removed) in v9. Please see the
7
+ * As of Canvas Kit v8, Menu is being deprecated.
8
+ * It will be removed in v10. Please see the
9
9
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
10
10
  * for more information.
11
11
  */
@@ -47,8 +47,8 @@ export interface DeprecatedMenuProps extends GrowthBehavior, React.HTMLAttribute
47
47
  /**
48
48
  * ### Deprecated Menu State
49
49
  *
50
- * As of Canvas Kit v8, Menu is being soft-deprecated.
51
- * It will be hard-deprecated (completely removed) in v9. Please see the
50
+ * As of Canvas Kit v8, Menu is being deprecated.
51
+ * It will be removed in v10. Please see the
52
52
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
53
53
  * for more information.
54
54
  */
@@ -56,8 +56,8 @@ export interface DeprecatedMenuState {
56
56
  selectedItemIndex: number;
57
57
  }
58
58
  /**
59
- * As of Canvas Kit v8, this component is being soft-deprecated. It will be hard-deprecated
60
- * (completely removed) in v9. Please see the [upgrade
59
+ * As of Canvas Kit v8, Menu is being deprecated.
60
+ * It will be removed in v10. Please see the [upgrade
61
61
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
62
62
  * more information.
63
63
  *
@@ -14,8 +14,8 @@ const List = styled('ul')({
14
14
  ...hideMouseFocus,
15
15
  });
16
16
  /**
17
- * As of Canvas Kit v8, this component is being soft-deprecated. It will be hard-deprecated
18
- * (completely removed) in v9. Please see the [upgrade
17
+ * As of Canvas Kit v8, Menu is being deprecated.
18
+ * It will be removed in v10. Please see the [upgrade
19
19
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
20
20
  * more information.
21
21
  *
@@ -3,8 +3,8 @@ import { CanvasSystemIcon } from '@workday/design-assets-types';
3
3
  /**
4
4
  * ### Deprecated Menu Item Props
5
5
  *
6
- * As of Canvas Kit v8, Menu is being soft-deprecated.
7
- * It will be hard-deprecated (completely removed) in v9. Please see the
6
+ * As of Canvas Kit v8, Menu is being deprecated.
7
+ * It will be removed in v10. Please see the
8
8
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
9
9
  * for more information.
10
10
  */
@@ -65,8 +65,8 @@ export interface DeprecatedMenuItemProps extends React.LiHTMLAttributes<HTMLLIEl
65
65
  * - `tabindex={-1}`
66
66
  * - `id`s following this pattern: `${MenuId}-${index}`
67
67
  *
68
- * As of Canvas Kit v8, Menu is being soft-deprecated. It will be hard-deprecated (completely
69
- * removed) in v9. Please see the [upgrade
68
+ * As of Canvas Kit v8, Menu is being deprecated.
69
+ * It will be removed in v10. Please see the [upgrade
70
70
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
71
71
  * more information.
72
72
  *
@@ -167,8 +167,8 @@ const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
167
167
  * - `tabindex={-1}`
168
168
  * - `id`s following this pattern: `${MenuId}-${index}`
169
169
  *
170
- * As of Canvas Kit v8, Menu is being soft-deprecated. It will be hard-deprecated (completely
171
- * removed) in v9. Please see the [upgrade
170
+ * As of Canvas Kit v8, Menu is being deprecated.
171
+ * It will be removed in v10. Please see the [upgrade
172
172
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
173
173
  * more information.
174
174
  *
@@ -5,7 +5,7 @@ export interface SegmentedControlListProps<T = any> extends Omit<Partial<Extract
5
5
  'aria-label': string;
6
6
  children: ((item: T) => React.ReactNode) | React.ReactNode;
7
7
  }
8
- export declare const useSegmentedControlList: <P extends {}, R>(model: {
8
+ export declare const useSegmentedControlList: import("@workday/canvas-kit-react/common").BehaviorHook<{
9
9
  state: {
10
10
  disabled: boolean;
11
11
  size: "small" | "medium" | "large";
@@ -62,12 +62,10 @@ export declare const useSegmentedControlList: <P extends {}, R>(model: {
62
62
  selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
63
63
  navigation: import("@workday/canvas-kit-react/collection/lib/useCursorListModel").NavigationManager;
64
64
  getId: (item: any) => string;
65
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
65
+ }, {
66
66
  [x: string]: string | number | undefined;
67
67
  opacity: number | undefined;
68
- } & P & (R extends HTMLOrSVGElement ? {
69
- ref: React.Ref<R>;
70
- } : {});
68
+ }>;
71
69
  export declare const SegmentedControlList: import("@workday/canvas-kit-react/common").ElementComponentM<"div", SegmentedControlListProps<any>, {
72
70
  state: {
73
71
  disabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentedControlList.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControlList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAEb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAItD,MAAM,WAAW,yBAAyB,CAAC,CAAC,GAAG,GAAG,CAChD,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAQnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAC"}
1
+ {"version":3,"file":"SegmentedControlList.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControlList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,YAAY,EAEb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAItD,MAAM,WAAW,yBAAyB,CAAC,CAAC,GAAG,GAAG,CAChD,SAAQ,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;IACnE,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;CAC5D;AAED,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare const useSegmentedControlItem: <P extends {}, R>(model: {
2
+ export declare const useSegmentedControlItem: import("@workday/canvas-kit-react/common").BehaviorHook<{
3
3
  state: {
4
4
  selectedIds: string[] | "all";
5
5
  unselectedIds: string[];
@@ -54,7 +54,21 @@ export declare const useSegmentedControlItem: <P extends {}, R>(model: {
54
54
  selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
55
55
  navigation: import("@workday/canvas-kit-react/collection/lib/useCursorListModel").NavigationManager;
56
56
  getId: (item: any) => string;
57
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {} & P & (R extends HTMLOrSVGElement ? {
58
- ref: React.Ref<R>;
59
- } : {});
57
+ }, {
58
+ onClick: (event: React.MouseEvent<HTMLElement, MouseEvent>) => void;
59
+ } & {
60
+ id: string;
61
+ 'aria-pressed': boolean;
62
+ } & {
63
+ ref: (instance: HTMLElement | null) => void;
64
+ 'data-id': string;
65
+ disabled: boolean | undefined;
66
+ item: null;
67
+ virtual: null;
68
+ 'aria-setsize': number | undefined;
69
+ 'aria-posinset': number | undefined;
70
+ style: React.CSSProperties;
71
+ } & {
72
+ disabled: boolean | undefined;
73
+ }>;
60
74
  //# sourceMappingURL=useSegmentedControlItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSegmentedControlItem.d.ts","sourceRoot":"","sources":["../../../../../segmented-control/lib/hooks/useSegmentedControlItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BnC,CAAC"}
1
+ {"version":3,"file":"useSegmentedControlItem.d.ts","sourceRoot":"","sources":["../../../../../segmented-control/lib/hooks/useSegmentedControlItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BnC,CAAC"}
@@ -7,19 +7,17 @@ export interface StatusIndicatorProps extends ExtractProps<typeof Flex, never> {
7
7
  */
8
8
  children: React.ReactNode;
9
9
  }
10
- export declare const useStatusIndicator: <P extends {}, R>(model: {
10
+ export declare const useStatusIndicator: import("@workday/canvas-kit-react/common").BehaviorHook<{
11
11
  state: {
12
12
  emphasis: import("./hooks").StatusIndicatorEmphasis;
13
13
  variant: import("./hooks").StatusIndicatorVariant;
14
14
  };
15
15
  events: {};
16
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
16
+ }, {
17
17
  opacity: string | undefined;
18
18
  color: string;
19
19
  background: string;
20
- } & P & (R extends HTMLOrSVGElement ? {
21
- ref: React.Ref<R>;
22
- } : {});
20
+ }>;
23
21
  /**
24
22
  * `StatusIndicator` is a container component which renders an {@link Flex} under the hood to
25
23
  * apply spacing evenly between its children. It has a default maximum width of `200px`.
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAuC,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;OAO7B,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;IAKxB;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;;;;;;;CAmBL,CAAC"}
1
+ {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,YAAY,EAAuC,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,oBAAqB,SAAQ,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC;IAC5E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;EAO7B,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;IAKxB;;;;;;;OAOG;;IAEH;;;;;;;OAOG;;;;;;;;CAmBL,CAAC"}
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import { SystemIconProps } from '@workday/canvas-kit-react/icon';
3
2
  export interface StatusIndicatorIconProps extends SystemIconProps {
4
3
  }
@@ -64,18 +63,16 @@ export declare const statusIndicatorColors: {
64
63
  };
65
64
  };
66
65
  };
67
- export declare const useStatusIndicatorIcon: <P extends {}, R>(model: {
66
+ export declare const useStatusIndicatorIcon: import("@workday/canvas-kit-react/common").BehaviorHook<{
68
67
  state: {
69
68
  emphasis: import("./hooks").StatusIndicatorEmphasis;
70
69
  variant: import("./hooks").StatusIndicatorVariant;
71
70
  };
72
71
  events: {};
73
- }, elemProps?: P | undefined, ref?: React.Ref<R> | undefined) => {
72
+ }, {
74
73
  color: string;
75
74
  colorHover: string;
76
- } & P & (R extends HTMLOrSVGElement ? {
77
- ref: React.Ref<R>;
78
- } : {});
75
+ }>;
79
76
  export declare const StatusIndicatorIcon: import("@workday/canvas-kit-react/common").ElementComponentM<"span", StatusIndicatorIconProps, {
80
77
  state: {
81
78
  emphasis: import("./hooks").StatusIndicatorEmphasis;
@@ -1 +1 @@
1
- {"version":3,"file":"StatusIndicatorIcon.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicatorIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAG3E,MAAM,WAAW,wBAAyB,SAAQ,eAAe;CAAG;AAIpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;OAMjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;EAK9B,CAAC"}
1
+ {"version":3,"file":"StatusIndicatorIcon.d.ts","sourceRoot":"","sources":["../../../../status-indicator/lib/StatusIndicatorIcon.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAG3E,MAAM,WAAW,wBAAyB,SAAQ,eAAe;CAAG;AAIpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;EAMjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;EAK9B,CAAC"}
@@ -1,16 +1,14 @@
1
1
  /**
2
2
  * Adds the necessary props to a `Field` component. Used by the TextInput.Field subcomponent.
3
3
  */
4
- export declare const useTextInputField: <P extends {}, R>(model: {
4
+ export declare const useTextInputField: import("@workday/canvas-kit-react/common").BehaviorHook<{
5
5
  state: {
6
6
  id: string;
7
7
  hasError: boolean;
8
8
  isRequired: boolean;
9
9
  };
10
10
  events: {};
11
- }, elemProps?: P | undefined, ref?: import("react").Ref<R> | undefined) => {
11
+ }, {
12
12
  type: string;
13
- } & P & (R extends HTMLOrSVGElement ? {
14
- ref: import("react").Ref<R>;
15
- } : {});
13
+ }>;
16
14
  //# sourceMappingURL=useTextInputField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTextInputField.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputField.tsx"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;OAI5B,CAAC"}
1
+ {"version":3,"file":"useTextInputField.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputField.tsx"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;EAI5B,CAAC"}
package/menu/lib/Menu.tsx CHANGED
@@ -9,8 +9,8 @@ import {hideMouseFocus, GrowthBehavior, generateUniqueId} from '@workday/canvas-
9
9
  /**
10
10
  * ### Deprecated Menu
11
11
  *
12
- * As of Canvas Kit v8, Menu is being soft-deprecated.
13
- * It will be hard-deprecated (completely removed) in v9. Please see the
12
+ * As of Canvas Kit v8, Menu is being deprecated.
13
+ * It will be removed in v10. Please see the
14
14
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
15
15
  * for more information.
16
16
  */
@@ -57,8 +57,8 @@ export interface DeprecatedMenuProps
57
57
  /**
58
58
  * ### Deprecated Menu State
59
59
  *
60
- * As of Canvas Kit v8, Menu is being soft-deprecated.
61
- * It will be hard-deprecated (completely removed) in v9. Please see the
60
+ * As of Canvas Kit v8, Menu is being deprecated.
61
+ * It will be removed in v10. Please see the
62
62
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
63
63
  * for more information.
64
64
  */
@@ -78,8 +78,8 @@ const List = styled('ul')({
78
78
  });
79
79
 
80
80
  /**
81
- * As of Canvas Kit v8, this component is being soft-deprecated. It will be hard-deprecated
82
- * (completely removed) in v9. Please see the [upgrade
81
+ * As of Canvas Kit v8, Menu is being deprecated.
82
+ * It will be removed in v10. Please see the [upgrade
83
83
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
84
84
  * more information.
85
85
  *
@@ -14,8 +14,8 @@ import {SystemIcon, SystemIconProps} from '@workday/canvas-kit-react/icon';
14
14
  /**
15
15
  * ### Deprecated Menu Item Props
16
16
  *
17
- * As of Canvas Kit v8, Menu is being soft-deprecated.
18
- * It will be hard-deprecated (completely removed) in v9. Please see the
17
+ * As of Canvas Kit v8, Menu is being deprecated.
18
+ * It will be removed in v10. Please see the
19
19
  * [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
20
20
  * for more information.
21
21
  */
@@ -262,8 +262,8 @@ const scrollIntoViewIfNeeded = (elem: HTMLElement, centerIfNeeded = true): void
262
262
  * - `tabindex={-1}`
263
263
  * - `id`s following this pattern: `${MenuId}-${index}`
264
264
  *
265
- * As of Canvas Kit v8, Menu is being soft-deprecated. It will be hard-deprecated (completely
266
- * removed) in v9. Please see the [upgrade
265
+ * As of Canvas Kit v8, Menu is being deprecated.
266
+ * It will be removed in v10. Please see the [upgrade
267
267
  * guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
268
268
  * more information.
269
269
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-preview-react",
3
- "version": "9.0.0-alpha.406-next.8+2b77c467",
3
+ "version": "9.0.0-alpha.408-next.10+65b73c9b",
4
4
  "description": "Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@emotion/react": "^11.7.1",
48
48
  "@emotion/styled": "^11.6.0",
49
- "@workday/canvas-kit-react": "^9.0.0-alpha.406-next.8+2b77c467",
49
+ "@workday/canvas-kit-react": "^9.0.0-alpha.408-next.10+65b73c9b",
50
50
  "@workday/canvas-system-icons-web": "^3.0.0",
51
51
  "@workday/design-assets-types": "^0.2.8"
52
52
  },
@@ -56,5 +56,5 @@
56
56
  "react-hook-form": "7.36.1",
57
57
  "yup": "^0.32.11"
58
58
  },
59
- "gitHead": "2b77c46799e24cfd01d235ec1e2cb5224bcd4df4"
59
+ "gitHead": "65b73c9b9b236a428608f9ecec02e70294aeddf2"
60
60
  }