@workday/canvas-kit-preview-react 14.0.0-alpha.1230-next.0 → 14.0.0-alpha.1234-next.0

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 (111) hide show
  1. package/dist/commonjs/divider/lib/Divider.d.ts +1 -1
  2. package/dist/commonjs/divider/lib/Divider.js +1 -1
  3. package/dist/commonjs/index.d.ts +0 -3
  4. package/dist/commonjs/index.d.ts.map +1 -1
  5. package/dist/commonjs/index.js +0 -3
  6. package/dist/commonjs/select/lib/Select.d.ts +2 -2
  7. package/dist/commonjs/select/lib/Select.js +1 -1
  8. package/dist/commonjs/select/lib/SelectBase.d.ts +8 -8
  9. package/dist/commonjs/select/lib/SelectBase.js +1 -1
  10. package/dist/commonjs/select/lib/SelectMenu.d.ts +1 -1
  11. package/dist/commonjs/select/lib/SelectMenu.js +1 -1
  12. package/dist/commonjs/select/lib/SelectOption.d.ts +2 -2
  13. package/dist/commonjs/select/lib/SelectOption.js +1 -1
  14. package/dist/commonjs/select/lib/scrolling.d.ts +1 -1
  15. package/dist/commonjs/select/lib/scrolling.js +1 -1
  16. package/dist/commonjs/select/lib/types.d.ts +2 -2
  17. package/dist/commonjs/select/lib/utils.d.ts +1 -1
  18. package/dist/commonjs/select/lib/utils.js +1 -1
  19. package/dist/es6/divider/lib/Divider.d.ts +1 -1
  20. package/dist/es6/divider/lib/Divider.js +1 -1
  21. package/dist/es6/index.d.ts +0 -3
  22. package/dist/es6/index.d.ts.map +1 -1
  23. package/dist/es6/index.js +0 -3
  24. package/dist/es6/select/lib/Select.d.ts +2 -2
  25. package/dist/es6/select/lib/Select.js +1 -1
  26. package/dist/es6/select/lib/SelectBase.d.ts +8 -8
  27. package/dist/es6/select/lib/SelectBase.js +1 -1
  28. package/dist/es6/select/lib/SelectMenu.d.ts +1 -1
  29. package/dist/es6/select/lib/SelectMenu.js +1 -1
  30. package/dist/es6/select/lib/SelectOption.d.ts +2 -2
  31. package/dist/es6/select/lib/SelectOption.js +1 -1
  32. package/dist/es6/select/lib/scrolling.d.ts +1 -1
  33. package/dist/es6/select/lib/scrolling.js +1 -1
  34. package/dist/es6/select/lib/types.d.ts +2 -2
  35. package/dist/es6/select/lib/utils.d.ts +1 -1
  36. package/dist/es6/select/lib/utils.js +1 -1
  37. package/divider/lib/Divider.tsx +1 -1
  38. package/index.ts +0 -3
  39. package/package.json +4 -4
  40. package/select/lib/Select.tsx +2 -2
  41. package/select/lib/SelectBase.tsx +8 -8
  42. package/select/lib/SelectMenu.tsx +1 -1
  43. package/select/lib/SelectOption.tsx +2 -2
  44. package/select/lib/scrolling.ts +1 -1
  45. package/select/lib/types.ts +2 -2
  46. package/select/lib/utils.ts +1 -1
  47. package/dist/commonjs/text-area/index.d.ts +0 -2
  48. package/dist/commonjs/text-area/index.d.ts.map +0 -1
  49. package/dist/commonjs/text-area/index.js +0 -17
  50. package/dist/commonjs/text-area/lib/TextArea.d.ts +0 -67
  51. package/dist/commonjs/text-area/lib/TextArea.d.ts.map +0 -1
  52. package/dist/commonjs/text-area/lib/TextArea.js +0 -29
  53. package/dist/commonjs/text-area/lib/TextAreaField.d.ts +0 -21
  54. package/dist/commonjs/text-area/lib/TextAreaField.d.ts.map +0 -1
  55. package/dist/commonjs/text-area/lib/TextAreaField.js +0 -19
  56. package/dist/commonjs/text-input/index.d.ts +0 -3
  57. package/dist/commonjs/text-input/index.d.ts.map +0 -1
  58. package/dist/commonjs/text-input/index.js +0 -18
  59. package/dist/commonjs/text-input/lib/TextInput.d.ts +0 -75
  60. package/dist/commonjs/text-input/lib/TextInput.d.ts.map +0 -1
  61. package/dist/commonjs/text-input/lib/TextInput.js +0 -28
  62. package/dist/commonjs/text-input/lib/TextInputField.d.ts +0 -21
  63. package/dist/commonjs/text-input/lib/TextInputField.d.ts.map +0 -1
  64. package/dist/commonjs/text-input/lib/TextInputField.js +0 -31
  65. package/dist/commonjs/text-input/lib/hooks/index.d.ts +0 -3
  66. package/dist/commonjs/text-input/lib/hooks/index.d.ts.map +0 -1
  67. package/dist/commonjs/text-input/lib/hooks/index.js +0 -18
  68. package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts +0 -17
  69. package/dist/commonjs/text-input/lib/hooks/useTextInputField.d.ts.map +0 -1
  70. package/dist/commonjs/text-input/lib/hooks/useTextInputField.js +0 -15
  71. package/dist/commonjs/text-input/lib/hooks/useTextInputModel.d.ts +0 -36
  72. package/dist/commonjs/text-input/lib/hooks/useTextInputModel.d.ts.map +0 -1
  73. package/dist/commonjs/text-input/lib/hooks/useTextInputModel.js +0 -8
  74. package/dist/es6/text-area/index.d.ts +0 -2
  75. package/dist/es6/text-area/index.d.ts.map +0 -1
  76. package/dist/es6/text-area/index.js +0 -1
  77. package/dist/es6/text-area/lib/TextArea.d.ts +0 -67
  78. package/dist/es6/text-area/lib/TextArea.d.ts.map +0 -1
  79. package/dist/es6/text-area/lib/TextArea.js +0 -26
  80. package/dist/es6/text-area/lib/TextAreaField.d.ts +0 -21
  81. package/dist/es6/text-area/lib/TextAreaField.d.ts.map +0 -1
  82. package/dist/es6/text-area/lib/TextAreaField.js +0 -16
  83. package/dist/es6/text-input/index.d.ts +0 -3
  84. package/dist/es6/text-input/index.d.ts.map +0 -1
  85. package/dist/es6/text-input/index.js +0 -2
  86. package/dist/es6/text-input/lib/TextInput.d.ts +0 -75
  87. package/dist/es6/text-input/lib/TextInput.d.ts.map +0 -1
  88. package/dist/es6/text-input/lib/TextInput.js +0 -25
  89. package/dist/es6/text-input/lib/TextInputField.d.ts +0 -21
  90. package/dist/es6/text-input/lib/TextInputField.d.ts.map +0 -1
  91. package/dist/es6/text-input/lib/TextInputField.js +0 -28
  92. package/dist/es6/text-input/lib/hooks/index.d.ts +0 -3
  93. package/dist/es6/text-input/lib/hooks/index.d.ts.map +0 -1
  94. package/dist/es6/text-input/lib/hooks/index.js +0 -2
  95. package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts +0 -17
  96. package/dist/es6/text-input/lib/hooks/useTextInputField.d.ts.map +0 -1
  97. package/dist/es6/text-input/lib/hooks/useTextInputField.js +0 -12
  98. package/dist/es6/text-input/lib/hooks/useTextInputModel.d.ts +0 -36
  99. package/dist/es6/text-input/lib/hooks/useTextInputModel.d.ts.map +0 -1
  100. package/dist/es6/text-input/lib/hooks/useTextInputModel.js +0 -5
  101. package/text-area/index.ts +0 -1
  102. package/text-area/lib/TextArea.tsx +0 -47
  103. package/text-area/lib/TextAreaField.tsx +0 -26
  104. package/text-area/package.json +0 -6
  105. package/text-input/index.ts +0 -2
  106. package/text-input/lib/TextInput.tsx +0 -48
  107. package/text-input/lib/TextInputField.tsx +0 -39
  108. package/text-input/lib/hooks/index.ts +0 -2
  109. package/text-input/lib/hooks/useTextInputField.tsx +0 -13
  110. package/text-input/lib/hooks/useTextInputModel.ts +0 -6
  111. package/text-input/package.json +0 -6
@@ -26,7 +26,7 @@ interface OptionData {
26
26
  [key: string]: any;
27
27
  }
28
28
  /**
29
- * @deprecated ⚠️ `Option` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
29
+ * @deprecated ⚠️ `Option` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
30
30
  */
31
31
  export interface Option {
32
32
  data?: OptionData;
@@ -36,7 +36,7 @@ export interface Option {
36
36
  value: string;
37
37
  }
38
38
  /**
39
- * @deprecated ⚠️ `NormalizedOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
39
+ * @deprecated ⚠️ `NormalizedOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
40
40
  */
41
41
  export interface NormalizedOption extends Option {
42
42
  // Optional keys in Option are required in NormalizedOption
@@ -46,26 +46,26 @@ export interface NormalizedOption extends Option {
46
46
  label: string;
47
47
  }
48
48
  /**
49
- * @deprecated ⚠️ `RenderSelectedFunction` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
49
+ * @deprecated ⚠️ `RenderSelectedFunction` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
50
50
  */
51
51
  export interface RenderSelectedFunction {
52
52
  (option: NormalizedOption): React.ReactNode;
53
53
  }
54
54
  /**
55
- * @deprecated ⚠️ `RenderableOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
55
+ * @deprecated ⚠️ `RenderableOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
56
56
  */
57
57
  export interface RenderableOption extends NormalizedOption {
58
58
  focused: boolean;
59
59
  selected: boolean;
60
60
  }
61
61
  /**
62
- * @deprecated ⚠️ `RenderOptionFunction` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
62
+ * @deprecated ⚠️ `RenderOptionFunction` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
63
63
  */
64
64
  export interface RenderOptionFunction {
65
65
  (option: RenderableOption): React.ReactNode;
66
66
  }
67
67
  /**
68
- * @deprecated ⚠️ `CoreSelectBaseProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
68
+ * @deprecated ⚠️ `CoreSelectBaseProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
69
69
  */
70
70
  export interface CoreSelectBaseProps
71
71
  extends Themeable,
@@ -117,7 +117,7 @@ export interface CoreSelectBaseProps
117
117
  value?: string;
118
118
  }
119
119
  /**
120
- * @deprecated ⚠️ `SelectBaseProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
120
+ * @deprecated ⚠️ `SelectBaseProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
121
121
  */
122
122
  export interface SelectBaseProps extends CoreSelectBaseProps, StyledType {
123
123
  /**
@@ -293,7 +293,7 @@ const defaultRenderSelected: RenderSelectedFunction = option => {
293
293
  return option.label;
294
294
  };
295
295
  /**
296
- * @deprecated ⚠️ `SelectBase` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
296
+ * @deprecated ⚠️ `SelectBase` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
297
297
  */
298
298
  export const SelectBase = ({
299
299
  'aria-labelledby': ariaLabelledBy,
@@ -229,7 +229,7 @@ const generatePopperOptions = (
229
229
  };
230
230
 
231
231
  /**
232
- * @deprecated ⚠️ `SelectMenu` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
232
+ * @deprecated ⚠️ `SelectMenu` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
233
233
  */
234
234
  export const SelectMenu = ({
235
235
  buttonRef,
@@ -9,7 +9,7 @@ import {
9
9
  } from '@workday/canvas-kit-react/common';
10
10
  import {colors, commonColors, type} from '@workday/canvas-kit-react/tokens';
11
11
  /**
12
- * @deprecated ⚠️ `SelectOptionProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
12
+ * @deprecated ⚠️ `SelectOptionProps` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
13
13
  */
14
14
  export interface SelectOptionProps extends Themeable, React.LiHTMLAttributes<HTMLLIElement> {
15
15
  /**
@@ -108,7 +108,7 @@ const Option = styled('li')<SelectOptionProps>(
108
108
  );
109
109
 
110
110
  /**
111
- * @deprecated ⚠️ `SelectOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
111
+ * @deprecated ⚠️ `SelectOption` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
112
112
  */
113
113
  export const SelectOption = ({
114
114
  children,
@@ -1,6 +1,6 @@
1
1
  // Modified from https://gist.github.com/hsablonniere/2581101
2
2
  /**
3
- * @deprecated ⚠️ `scrollIntoViewIfNeeded` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
3
+ * @deprecated ⚠️ `scrollIntoViewIfNeeded` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
4
4
  */
5
5
  export const scrollIntoViewIfNeeded = (elem: HTMLElement, centerIfNeeded = true): void => {
6
6
  const parent = elem.parentElement;
@@ -8,7 +8,7 @@
8
8
  * This rounding causes problems with browsers that allow subpixel values for elements
9
9
  * like Firefox and Edge.
10
10
  *
11
- * @deprecated ⚠️ `MenuPlacement` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
11
+ * @deprecated ⚠️ `MenuPlacement` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
12
12
  */
13
13
  export type MenuPlacement = 'bottom' | 'top';
14
14
 
@@ -32,6 +32,6 @@ export type MenuPlacement = 'bottom' | 'top';
32
32
  * closing in which case the menu can transition from `closing` > `opening` (and
33
33
  * vice-versa).
34
34
  *
35
- * @deprecated ⚠️ `MenuVisibility` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
35
+ * @deprecated ⚠️ `MenuVisibility` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
36
36
  */
37
37
  export type MenuVisibility = 'closed' | 'open' | 'opening' | 'opened' | 'close' | 'closing';
@@ -18,7 +18,7 @@ export const getIndexByValue = (options: NormalizedOption[], value: string | und
18
18
 
19
19
  // If the value doesn't exist in the options, return index 0
20
20
  /**
21
- * @deprecated ⚠️ `getCorrectedIndexByValue` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--basic) instead.
21
+ * @deprecated ⚠️ `getCorrectedIndexByValue` in Preview has been deprecated and will be removed in a future major version. Please use [`Select` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-select--docs) instead.
22
22
  */
23
23
  export const getCorrectedIndexByValue = (
24
24
  options: NormalizedOption[],
@@ -1,2 +0,0 @@
1
- export * from './lib/TextArea';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-area/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./lib/TextArea"), exports);
@@ -1,67 +0,0 @@
1
- import React from 'react';
2
- import { ExtractProps } from '@workday/canvas-kit-react/common';
3
- import { FormField } from '@workday/canvas-kit-react/form-field';
4
- /**
5
- * @deprecated ⚠️ `TextAreaProps` in Preview has been deprecated and will be removed in a future major version. Please use [`TextArea` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-textarea--docs) instead.
6
- */
7
- export interface TextAreaProps extends ExtractProps<typeof FormField, never> {
8
- /**
9
- * Children of the Text Input. Should contain a `<TextArea.Field>`, a `<TextArea.Label>` and an optional `<TextArea.Hint>`
10
- */
11
- children: React.ReactNode;
12
- }
13
- /**
14
- * @stencil formFieldStencil
15
- * @deprecated ⚠️ `TextArea` in Preview has been deprecated and will be removed in a future major version. Please use [`TextArea` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-textarea--docs) instead.
16
- */
17
- export declare const TextArea: import("@workday/canvas-kit-react/common").ElementComponentM<"div", TextAreaProps & Partial<{
18
- error: "error" | "alert" | undefined;
19
- id: string;
20
- isRequired: boolean;
21
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
22
- }> & {} & {}, {
23
- state: {
24
- id: string;
25
- error: "error" | "alert" | undefined;
26
- isRequired: boolean;
27
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
28
- };
29
- events: {};
30
- }> & {
31
- Field: import("@workday/canvas-kit-react/common").ElementComponentM<"textarea", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/color").BorderColorStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/radius").BorderRadiusStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps & import("@workday/canvas-kit-react/common").PropsWithModel<{
32
- state: {
33
- id: string;
34
- error: "error" | "alert" | undefined;
35
- isRequired: boolean;
36
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
37
- };
38
- events: {};
39
- }, {}>, {
40
- state: {
41
- id: string;
42
- error: "error" | "alert" | undefined;
43
- isRequired: boolean;
44
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
45
- };
46
- events: {};
47
- }>;
48
- Label: import("@workday/canvas-kit-react/common").ElementComponentM<"label", import("@workday/canvas-kit-react/form-field").FormFieldLabelProps, {
49
- state: {
50
- id: string;
51
- error: "error" | "alert" | undefined;
52
- isRequired: boolean;
53
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
54
- };
55
- events: {};
56
- }>;
57
- Hint: import("@workday/canvas-kit-react/common").ElementComponentM<"p", import("@workday/canvas-kit-react/text").TextProps, {
58
- state: {
59
- id: string;
60
- error: "error" | "alert" | undefined;
61
- isRequired: boolean;
62
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
63
- };
64
- events: {};
65
- }>;
66
- };
67
- //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../text-area/lib/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAkB,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAC,SAAS,EAAmB,MAAM,sCAAsC,CAAC;AAKjF;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,YAAY,CAAC,OAAO,SAAS,EAAE,KAAK,CAAC;IAC1E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBnB,CAAC"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextArea = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const common_1 = require("@workday/canvas-kit-react/common");
6
- const form_field_1 = require("@workday/canvas-kit-react/form-field");
7
- const layout_1 = require("@workday/canvas-kit-react/layout");
8
- const TextAreaField_1 = require("./TextAreaField");
9
- const text_input_1 = require("@workday/canvas-kit-preview-react/text-input");
10
- /**
11
- * @stencil formFieldStencil
12
- * @deprecated ⚠️ `TextArea` in Preview has been deprecated and will be removed in a future major version. Please use [`TextArea` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-textarea--docs) instead.
13
- */
14
- exports.TextArea = (0, common_1.createContainer)('div')({
15
- displayName: 'TextArea',
16
- modelHook: text_input_1.useTextInputModel,
17
- subComponents: {
18
- Field: TextAreaField_1.TextAreaField,
19
- Label: form_field_1.FormField.Label,
20
- Hint: form_field_1.FormField.Hint,
21
- },
22
- })(({ children, grow, orientation, ...elemProps }, Element, model) => {
23
- return ((0, jsx_runtime_1.jsx)(Element, { ...(0, layout_1.mergeStyles)(elemProps, (0, form_field_1.formFieldStencil)({
24
- grow,
25
- orientation: orientation,
26
- error: model.state.error,
27
- required: model.state.isRequired,
28
- })), children: children }));
29
- });
@@ -1,21 +0,0 @@
1
- /**
2
- * @deprecated ⚠️ `TextAreaField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-form-field--docs) in Preview instead.
3
- */
4
- export declare const TextAreaField: import("@workday/canvas-kit-react/common").ElementComponentM<"textarea", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/color").BorderColorStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/radius").BorderRadiusStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps & import("@workday/canvas-kit-react/common").PropsWithModel<{
5
- state: {
6
- id: string;
7
- error: "error" | "alert" | undefined;
8
- isRequired: boolean;
9
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
10
- };
11
- events: {};
12
- }, {}>, {
13
- state: {
14
- id: string;
15
- error: "error" | "alert" | undefined;
16
- isRequired: boolean;
17
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
18
- };
19
- events: {};
20
- }>;
21
- //# sourceMappingURL=TextAreaField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextAreaField.d.ts","sourceRoot":"","sources":["../../../../text-area/lib/TextAreaField.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;EAexB,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextAreaField = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const common_1 = require("@workday/canvas-kit-react/common");
6
- const form_field_1 = require("@workday/canvas-kit-react/form-field");
7
- const text_input_1 = require("@workday/canvas-kit-preview-react/text-input");
8
- const text_area_1 = require("@workday/canvas-kit-react/text-area");
9
- const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
10
- const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
11
- /**
12
- * @deprecated ⚠️ `TextAreaField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField`](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-form-field--docs) in Preview instead.
13
- */
14
- exports.TextAreaField = (0, common_1.createSubcomponent)('textarea')({
15
- displayName: 'TextArea.Field',
16
- modelHook: text_input_1.useTextInputModel,
17
- })(({ ...elemProps }, Element, model) => {
18
- return ((0, jsx_runtime_1.jsx)(form_field_1.FormField.Input, { as: text_area_1.TextArea, display: "block", minHeight: 64, minWidth: 280, padding: (0, canvas_kit_styling_1.cssVar)(canvas_tokens_web_1.system.space.x2), margin: 0, ...elemProps }));
19
- });
@@ -1,3 +0,0 @@
1
- export * from './lib/TextInput';
2
- export * from './lib/hooks';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./lib/TextInput"), exports);
18
- __exportStar(require("./lib/hooks"), exports);
@@ -1,75 +0,0 @@
1
- import React from 'react';
2
- import { ExtractProps } from '@workday/canvas-kit-react/common';
3
- import { FormField } from '@workday/canvas-kit-react/form-field';
4
- /**
5
- * @deprecated ⚠️ `TextInputProps` in Preview has been deprecated and will be removed in a future major version. Please use [`TextInput` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-text-input--docs) instead.
6
- */
7
- export interface TextInputProps extends ExtractProps<typeof FormField, never> {
8
- /**
9
- * Children of the Text Input. Should contain a `<TextInput.Field>`, a `<TextInput.Label>` and an optional `<TextInput.Hint>`
10
- */
11
- children: React.ReactNode;
12
- }
13
- /**
14
- * @stencil formFieldStencil
15
- * @deprecated ⚠️ `TextInput` in Preview has been deprecated and will be removed in a future major version. Please use [`TextInput` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-textinput--docs) instead.
16
- */
17
- export declare const TextInput: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("@workday/canvas-kit-react/form-field").FormFieldProps & Partial<{
18
- error: "error" | "alert" | undefined;
19
- id: string;
20
- isRequired: boolean;
21
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
22
- }> & {} & {} & import("@workday/canvas-kit-react/common").PropsWithModel<{
23
- state: {
24
- id: string;
25
- error: "error" | "alert" | undefined;
26
- isRequired: boolean;
27
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
28
- };
29
- events: {};
30
- }, {}>, {
31
- state: {
32
- id: string;
33
- error: "error" | "alert" | undefined;
34
- isRequired: boolean;
35
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
36
- };
37
- events: {};
38
- }> & {
39
- Field: import("@workday/canvas-kit-react/common").ElementComponentM<"input", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/color").BorderColorStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/radius").BorderRadiusStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps & import("@workday/canvas-kit-react/common").PropsWithModel<{
40
- state: {
41
- id: string;
42
- error: "error" | "alert" | undefined;
43
- isRequired: boolean;
44
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
45
- };
46
- events: {};
47
- }, {}>, {
48
- state: {
49
- id: string;
50
- error: "error" | "alert" | undefined;
51
- isRequired: boolean;
52
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
53
- };
54
- events: {};
55
- }>;
56
- Label: import("@workday/canvas-kit-react/common").ElementComponentM<"label", import("@workday/canvas-kit-react/form-field").FormFieldLabelProps, {
57
- state: {
58
- id: string;
59
- error: "error" | "alert" | undefined;
60
- isRequired: boolean;
61
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
62
- };
63
- events: {};
64
- }>;
65
- Hint: import("@workday/canvas-kit-react/common").ElementComponentM<"p", import("@workday/canvas-kit-react/text").TextProps, {
66
- state: {
67
- id: string;
68
- error: "error" | "alert" | undefined;
69
- isRequired: boolean;
70
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
71
- };
72
- events: {};
73
- }>;
74
- };
75
- //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAkB,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAC,SAAS,EAAsC,MAAM,sCAAsC,CAAC;AAKpG;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY,CAAC,OAAO,SAAS,EAAE,KAAK,CAAC;IAC3E;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AACD;;;GAGG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextInput = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const common_1 = require("@workday/canvas-kit-react/common");
6
- const form_field_1 = require("@workday/canvas-kit-react/form-field");
7
- const layout_1 = require("@workday/canvas-kit-react/layout");
8
- const TextInputField_1 = require("./TextInputField");
9
- /**
10
- * @stencil formFieldStencil
11
- * @deprecated ⚠️ `TextInput` in Preview has been deprecated and will be removed in a future major version. Please use [`TextInput` in Main](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-textinput--docs) instead.
12
- */
13
- exports.TextInput = (0, common_1.createContainer)('div')({
14
- displayName: 'TextInput',
15
- modelHook: form_field_1.useFormFieldModel,
16
- subComponents: {
17
- Field: TextInputField_1.TextInputField,
18
- Label: form_field_1.FormField.Label,
19
- Hint: form_field_1.FormField.Hint,
20
- },
21
- })(({ children, orientation, grow, ...elemProps }, Element, model) => {
22
- return ((0, jsx_runtime_1.jsx)(Element, { ...(0, layout_1.mergeStyles)(elemProps, (0, form_field_1.formFieldStencil)({
23
- grow,
24
- orientation: orientation,
25
- error: model.state.error,
26
- required: model.state.isRequired,
27
- })), children: children }));
28
- });
@@ -1,21 +0,0 @@
1
- /**
2
- * @deprecated ⚠️ `TextInputField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField` in Preview](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-form-field--docs) instead.
3
- */
4
- export declare const TextInputField: import("@workday/canvas-kit-react/common").ElementComponentM<"input", import("@workday/canvas-kit-react/layout").BackgroundStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/color").BorderColorStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/lineStyle").BorderLineStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/radius").BorderRadiusStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/shorthand").BorderShorthandStyleProps & import("@workday/canvas-kit-react/layout/lib/utils/border/width").BorderWidthStyleProps & import("@workday/canvas-kit-react/layout").ColorStyleProps & import("@workday/canvas-kit-react/layout").DepthStyleProps & import("@workday/canvas-kit-react/layout").FlexItemStyleProps & import("@workday/canvas-kit-react/layout").GridItemStyleProps & import("@workday/canvas-kit-react/layout").LayoutStyleProps & import("@workday/canvas-kit-react/layout").OtherStyleProps & import("@workday/canvas-kit-react/layout").PositionStyleProps & import("@workday/canvas-kit-react/layout").SpaceStyleProps & import("@workday/canvas-kit-react/layout").TextStyleProps & import("@workday/canvas-kit-styling").CSProps & import("@workday/canvas-kit-react/common").PropsWithModel<{
5
- state: {
6
- id: string;
7
- error: "error" | "alert" | undefined;
8
- isRequired: boolean;
9
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
10
- };
11
- events: {};
12
- }, {}>, {
13
- state: {
14
- id: string;
15
- error: "error" | "alert" | undefined;
16
- isRequired: boolean;
17
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
18
- };
19
- events: {};
20
- }>;
21
- //# sourceMappingURL=TextInputField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInputField.d.ts","sourceRoot":"","sources":["../../../../text-input/lib/TextInputField.tsx"],"names":[],"mappings":"AAwBA;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;EAWzB,CAAC"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextInputField = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const common_1 = require("@workday/canvas-kit-react/common");
6
- const form_field_1 = require("@workday/canvas-kit-react/form-field");
7
- const canvas_tokens_web_1 = require("@workday/canvas-tokens-web");
8
- const canvas_kit_styling_1 = require("@workday/canvas-kit-styling");
9
- const layout_1 = require("@workday/canvas-kit-react/layout");
10
- const hooks_1 = require("./hooks");
11
- const text_input_1 = require("@workday/canvas-kit-react/text-input");
12
- const textInputFieldStencil = (0, canvas_kit_styling_1.createStencil)({
13
- extends: text_input_1.textInputStencil,
14
- base: { name: "1h6l82", styles: "box-sizing:border-box;" },
15
- modifiers: {
16
- error: {
17
- error: { name: "1y589u", styles: "background-color:var(--cnvs-brand-error-lightest);" },
18
- alert: { name: "vll5z", styles: "background-color:var(--cnvs-brand-alert-lightest);" }
19
- }
20
- }
21
- }, "text-input-field-ef9db8");
22
- /**
23
- * @deprecated ⚠️ `TextInputField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField` in Preview](https://workday.github.io/canvas-kit/?path=/docs/components-inputs-form-field--docs) instead.
24
- */
25
- exports.TextInputField = (0, common_1.createSubcomponent)('input')({
26
- displayName: 'TextInput.Field',
27
- modelHook: hooks_1.useTextInputModel,
28
- elemPropsHook: hooks_1.useTextInputField,
29
- })((elemProps, Element, model) => {
30
- return ((0, jsx_runtime_1.jsx)(form_field_1.FormField.Input, { as: text_input_1.TextInput, ...(0, layout_1.mergeStyles)(elemProps, [textInputFieldStencil({ error: model.state.error })]) }));
31
- });
@@ -1,3 +0,0 @@
1
- export * from './useTextInputField';
2
- export * from './useTextInputModel';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./useTextInputField"), exports);
18
- __exportStar(require("./useTextInputModel"), exports);
@@ -1,17 +0,0 @@
1
- /**
2
- * Adds the necessary props to a `Field` component. Used by the TextInput.Field subcomponent.
3
- *
4
- * @deprecated ⚠️ `useTextInputField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField` in Preview](https://workday.github.io/canvas-kit/?path=/story/preview-inputs-form-field--basic) instead.
5
- */
6
- export declare const useTextInputField: import("@workday/canvas-kit-react/common").BehaviorHook<{
7
- state: {
8
- id: string;
9
- error: "error" | "alert" | undefined;
10
- isRequired: boolean;
11
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
12
- };
13
- events: {};
14
- }, {
15
- readonly type: "text";
16
- }>;
17
- //# sourceMappingURL=useTextInputField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTextInputField.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputField.tsx"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;EAI5B,CAAC"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useTextInputField = void 0;
4
- const common_1 = require("@workday/canvas-kit-react/common");
5
- const useTextInputModel_1 = require("./useTextInputModel");
6
- /**
7
- * Adds the necessary props to a `Field` component. Used by the TextInput.Field subcomponent.
8
- *
9
- * @deprecated ⚠️ `useTextInputField` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField` in Preview](https://workday.github.io/canvas-kit/?path=/story/preview-inputs-form-field--basic) instead.
10
- */
11
- exports.useTextInputField = (0, common_1.createElemPropsHook)(useTextInputModel_1.useTextInputModel)(() => {
12
- return {
13
- type: 'text',
14
- };
15
- });
@@ -1,36 +0,0 @@
1
- /**
2
- * @deprecated ⚠️ `useTextInputModel` in Preview has been deprecated and will be removed in a future major version. Please use [`FormField` in Preview](https://workday.github.io/canvas-kit/?path=/story/preview-inputs-form-field--basic) instead.
3
- */
4
- export declare const useTextInputModel: (<TT_Special_Generic>(config?: (Partial<{
5
- error: "error" | "alert" | undefined;
6
- id: string;
7
- isRequired: boolean;
8
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
9
- }> & {} & {}) | undefined) => {
10
- state: {
11
- id: string;
12
- error: "error" | "alert" | undefined;
13
- isRequired: boolean;
14
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
15
- };
16
- events: {};
17
- }) & import("@workday/canvas-kit-react/common").ModelExtras<{
18
- error: "error" | "alert" | undefined;
19
- id: string;
20
- isRequired: boolean;
21
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
22
- }, {}, {
23
- id: string;
24
- error: "error" | "alert" | undefined;
25
- isRequired: boolean;
26
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
27
- }, {}, {
28
- state: {
29
- id: string;
30
- error: "error" | "alert" | undefined;
31
- isRequired: boolean;
32
- orientation: "vertical" | "horizontalEnd" | "horizontalStart";
33
- };
34
- events: {};
35
- }>;
36
- //# sourceMappingURL=useTextInputModel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTextInputModel.d.ts","sourceRoot":"","sources":["../../../../../text-input/lib/hooks/useTextInputModel.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoB,CAAC"}