@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
@@ -16,7 +16,7 @@ export interface DividerProps extends CSProps {
16
16
  * # Divider
17
17
  * A divider to segment and visually organize content. By default, it renders a semantic `[<hr>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)` element.
18
18
  *
19
- * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider-react)
19
+ * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider--docs)
20
20
  *
21
21
  * The `space` prop will equally apply top and bottom margin styles.
22
22
  * In the example below, `x2` (0.5rem), adds `0.25rem` margin to the top and `0.25rem` to the bottom
@@ -15,7 +15,7 @@ exports.dividerStencil = (0, canvas_kit_styling_1.createStencil)({
15
15
  * # Divider
16
16
  * A divider to segment and visually organize content. By default, it renders a semantic `[<hr>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)` element.
17
17
  *
18
- * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider-react)
18
+ * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider--docs)
19
19
  *
20
20
  * The `space` prop will equally apply top and bottom margin styles.
21
21
  * In the example below, `x2` (0.5rem), adds `0.25rem` margin to the top and `0.25rem` to the bottom
@@ -10,8 +10,5 @@ export * from './segmented-control';
10
10
  export * from './select';
11
11
  export * from './side-panel';
12
12
  export * from './status-indicator';
13
- export * from './text-area';
14
- export * from './text-input';
15
- export * from './information-highlight';
16
13
  export { version } from './version';
17
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC"}
@@ -27,8 +27,5 @@ __exportStar(require("./segmented-control"), exports);
27
27
  __exportStar(require("./select"), exports);
28
28
  __exportStar(require("./side-panel"), exports);
29
29
  __exportStar(require("./status-indicator"), exports);
30
- __exportStar(require("./text-area"), exports);
31
- __exportStar(require("./text-input"), exports);
32
- __exportStar(require("./information-highlight"), exports);
33
30
  var version_1 = require("./version");
34
31
  Object.defineProperty(exports, "version", { enumerable: true, get: function () { return version_1.version; } });
@@ -1,7 +1,7 @@
1
1
  import { ErrorType } from '@workday/canvas-kit-react/common';
2
2
  import { CoreSelectBaseProps, Option } from './SelectBase';
3
3
  /**
4
- * @deprecated ⚠️ `SelectProps` 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.
4
+ * @deprecated ⚠️ `SelectProps` 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.
5
5
  */
6
6
  export interface SelectProps extends CoreSelectBaseProps {
7
7
  /**
@@ -23,7 +23,7 @@ export interface SelectProps extends CoreSelectBaseProps {
23
23
  options: (Option | string)[];
24
24
  }
25
25
  /**
26
- * @deprecated ⚠️ `Select` 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.
26
+ * @deprecated ⚠️ `Select` 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.
27
27
  */
28
28
  export declare const Select: import("@workday/canvas-kit-react/common").ElementComponent<"button", SelectProps> & {
29
29
  ErrorType: typeof ErrorType;
@@ -472,7 +472,7 @@ class SelectContainer extends React.Component {
472
472
  }
473
473
  SelectContainer.ErrorType = common_1.ErrorType;
474
474
  /**
475
- * @deprecated ⚠️ `Select` 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.
475
+ * @deprecated ⚠️ `Select` 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.
476
476
  */
477
477
  exports.Select = (0, common_1.createComponent)('button')({
478
478
  displayName: 'Select',
@@ -5,7 +5,7 @@ interface OptionData {
5
5
  [key: string]: any;
6
6
  }
7
7
  /**
8
- * @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.
8
+ * @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.
9
9
  */
10
10
  export interface Option {
11
11
  data?: OptionData;
@@ -15,7 +15,7 @@ export interface Option {
15
15
  value: string;
16
16
  }
17
17
  /**
18
- * @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.
18
+ * @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.
19
19
  */
20
20
  export interface NormalizedOption extends Option {
21
21
  data: OptionData;
@@ -24,26 +24,26 @@ export interface NormalizedOption extends Option {
24
24
  label: string;
25
25
  }
26
26
  /**
27
- * @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.
27
+ * @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.
28
28
  */
29
29
  export interface RenderSelectedFunction {
30
30
  (option: NormalizedOption): React.ReactNode;
31
31
  }
32
32
  /**
33
- * @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.
33
+ * @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.
34
34
  */
35
35
  export interface RenderableOption extends NormalizedOption {
36
36
  focused: boolean;
37
37
  selected: boolean;
38
38
  }
39
39
  /**
40
- * @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.
40
+ * @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.
41
41
  */
42
42
  export interface RenderOptionFunction {
43
43
  (option: RenderableOption): React.ReactNode;
44
44
  }
45
45
  /**
46
- * @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.
46
+ * @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.
47
47
  */
48
48
  export interface CoreSelectBaseProps extends Themeable, GrowthBehavior, Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>, Pick<React.SelectHTMLAttributes<HTMLSelectElement>, 'required'>, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
49
49
  /**
@@ -90,7 +90,7 @@ export interface CoreSelectBaseProps extends Themeable, GrowthBehavior, Pick<Rea
90
90
  value?: string;
91
91
  }
92
92
  /**
93
- * @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.
93
+ * @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.
94
94
  */
95
95
  export interface SelectBaseProps extends CoreSelectBaseProps, StyledType {
96
96
  /**
@@ -158,7 +158,7 @@ export interface SelectBaseProps extends CoreSelectBaseProps, StyledType {
158
158
  }
159
159
  export declare const buttonBorderWidth = 1;
160
160
  /**
161
- * @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.
161
+ * @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.
162
162
  */
163
163
  export declare const SelectBase: ({ "aria-labelledby": ariaLabelledBy, "aria-required": ariaRequired, as, forwardedButtonRef, localButtonRef, disabled, error, focusedOptionIndex, grow, inputRef, menuPlacement, menuRef, menuVisibility, onChange, onKeyDown, onBlur, onClose, onOptionSelection, options, renderOption, renderSelected, required, shouldMenuAutoFlip, shouldMenuAutoFocus, value, ...elemProps }: SelectBaseProps) => import("react/jsx-runtime").JSX.Element;
164
164
  export {};
@@ -123,7 +123,7 @@ const defaultRenderSelected = option => {
123
123
  return option.label;
124
124
  };
125
125
  /**
126
- * @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.
126
+ * @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.
127
127
  */
128
128
  const SelectBase = ({ 'aria-labelledby': ariaLabelledBy, 'aria-required': ariaRequired, as, forwardedButtonRef, localButtonRef, disabled, error, focusedOptionIndex = 0, grow, inputRef, menuPlacement = 'bottom', menuRef, menuVisibility = 'closed', onChange, onKeyDown, onBlur, onClose, onOptionSelection, options, renderOption = defaultRenderOption, renderSelected = defaultRenderSelected, required, shouldMenuAutoFlip = true, shouldMenuAutoFocus = true, value, ...elemProps }) => {
129
129
  const focusedOptionRef = react_1.default.useRef(null);
@@ -38,7 +38,7 @@ interface SelectMenuProps extends Themeable, React.HTMLAttributes<HTMLUListEleme
38
38
  }
39
39
  export declare const menuAnimationDuration = 200;
40
40
  /**
41
- * @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.
41
+ * @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.
42
42
  */
43
43
  export declare const SelectMenu: ({ buttonRef, children, error, menuRef, onClose, placement, shouldAutoFlip, shouldAutoFocus, visibility, ...elemProps }: SelectMenuProps) => import("react/jsx-runtime").JSX.Element;
44
44
  export {};
@@ -150,7 +150,7 @@ const generatePopperOptions = (props) => {
150
150
  };
151
151
  };
152
152
  /**
153
- * @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.
153
+ * @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.
154
154
  */
155
155
  const SelectMenu = ({ buttonRef, children, error, menuRef, onClose, placement = 'bottom', shouldAutoFlip = true, shouldAutoFocus = true, visibility = 'closed', ...elemProps }) => {
156
156
  const model = (0, popup_1.usePopupModel)({
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ErrorType, Themeable } from '@workday/canvas-kit-react/common';
3
3
  /**
4
- * @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.
4
+ * @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.
5
5
  */
6
6
  export interface SelectOptionProps extends Themeable, React.LiHTMLAttributes<HTMLLIElement> {
7
7
  /**
@@ -32,7 +32,7 @@ export interface SelectOptionProps extends Themeable, React.LiHTMLAttributes<HTM
32
32
  value?: string;
33
33
  }
34
34
  /**
35
- * @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.
35
+ * @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.
36
36
  */
37
37
  export declare const SelectOption: ({ children, focused, interactive, optionRef, value, ...elemProps }: SelectOptionProps) => import("react/jsx-runtime").JSX.Element;
38
38
  //# sourceMappingURL=SelectOption.d.ts.map
@@ -65,7 +65,7 @@ const Option = (0, common_1.styled)('li')({
65
65
  padding: `${optionPadding}px ${error === common_1.ErrorType.Alert ? optionPadding - 1 : optionPadding}px`,
66
66
  }));
67
67
  /**
68
- * @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.
68
+ * @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.
69
69
  */
70
70
  const SelectOption = ({ children, focused = false, interactive = true, optionRef, value, ...elemProps }) => {
71
71
  return ((0, jsx_runtime_1.jsx)(Option, { "data-value": value, focused: focused, interactive: interactive, ref: optionRef, role: "option", ...elemProps, children: children }));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @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.
2
+ * @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.
3
3
  */
4
4
  export declare const scrollIntoViewIfNeeded: (elem: HTMLElement, centerIfNeeded?: boolean) => void;
5
5
  //# sourceMappingURL=scrolling.d.ts.map
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.scrollIntoViewIfNeeded = void 0;
4
4
  // Modified from https://gist.github.com/hsablonniere/2581101
5
5
  /**
6
- * @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.
6
+ * @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.
7
7
  */
8
8
  const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
9
9
  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
  /**
@@ -31,7 +31,7 @@ export type MenuPlacement = 'bottom' | 'top';
31
31
  * closing in which case the menu can transition from `closing` > `opening` (and
32
32
  * vice-versa).
33
33
  *
34
- * @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.
34
+ * @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.
35
35
  */
36
36
  export type MenuVisibility = 'closed' | 'open' | 'opening' | 'opened' | 'close' | 'closing';
37
37
  //# sourceMappingURL=types.d.ts.map
@@ -4,7 +4,7 @@ import { NormalizedOption } from './SelectBase';
4
4
  */
5
5
  export declare const getIndexByValue: (options: NormalizedOption[], value: string | undefined) => number;
6
6
  /**
7
- * @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.
7
+ * @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.
8
8
  */
9
9
  export declare const getCorrectedIndexByValue: (options: NormalizedOption[], value: string | undefined) => number;
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -18,7 +18,7 @@ const getIndexByValue = (options, value) => {
18
18
  exports.getIndexByValue = getIndexByValue;
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
  const getCorrectedIndexByValue = (options, value) => {
24
24
  const indexByValue = (0, exports.getIndexByValue)(options, value);
@@ -16,7 +16,7 @@ export interface DividerProps extends CSProps {
16
16
  * # Divider
17
17
  * A divider to segment and visually organize content. By default, it renders a semantic `[<hr>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)` element.
18
18
  *
19
- * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider-react)
19
+ * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider--docs)
20
20
  *
21
21
  * The `space` prop will equally apply top and bottom margin styles.
22
22
  * In the example below, `x2` (0.5rem), adds `0.25rem` margin to the top and `0.25rem` to the bottom
@@ -12,7 +12,7 @@ export const dividerStencil = createStencil({
12
12
  * # Divider
13
13
  * A divider to segment and visually organize content. By default, it renders a semantic `[<hr>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)` element.
14
14
  *
15
- * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider-react)
15
+ * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider--docs)
16
16
  *
17
17
  * The `space` prop will equally apply top and bottom margin styles.
18
18
  * In the example below, `x2` (0.5rem), adds `0.25rem` margin to the top and `0.25rem` to the bottom
@@ -10,8 +10,5 @@ export * from './segmented-control';
10
10
  export * from './select';
11
11
  export * from './side-panel';
12
12
  export * from './status-indicator';
13
- export * from './text-area';
14
- export * from './text-input';
15
- export * from './information-highlight';
16
13
  export { version } from './version';
17
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC"}
package/dist/es6/index.js CHANGED
@@ -10,7 +10,4 @@ export * from './segmented-control';
10
10
  export * from './select';
11
11
  export * from './side-panel';
12
12
  export * from './status-indicator';
13
- export * from './text-area';
14
- export * from './text-input';
15
- export * from './information-highlight';
16
13
  export { version } from './version';
@@ -1,7 +1,7 @@
1
1
  import { ErrorType } from '@workday/canvas-kit-react/common';
2
2
  import { CoreSelectBaseProps, Option } from './SelectBase';
3
3
  /**
4
- * @deprecated ⚠️ `SelectProps` 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.
4
+ * @deprecated ⚠️ `SelectProps` 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.
5
5
  */
6
6
  export interface SelectProps extends CoreSelectBaseProps {
7
7
  /**
@@ -23,7 +23,7 @@ export interface SelectProps extends CoreSelectBaseProps {
23
23
  options: (Option | string)[];
24
24
  }
25
25
  /**
26
- * @deprecated ⚠️ `Select` 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.
26
+ * @deprecated ⚠️ `Select` 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.
27
27
  */
28
28
  export declare const Select: import("@workday/canvas-kit-react/common").ElementComponent<"button", SelectProps> & {
29
29
  ErrorType: typeof ErrorType;
@@ -446,7 +446,7 @@ class SelectContainer extends React.Component {
446
446
  }
447
447
  SelectContainer.ErrorType = ErrorType;
448
448
  /**
449
- * @deprecated ⚠️ `Select` 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.
449
+ * @deprecated ⚠️ `Select` 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.
450
450
  */
451
451
  export const Select = createComponent('button')({
452
452
  displayName: 'Select',
@@ -5,7 +5,7 @@ interface OptionData {
5
5
  [key: string]: any;
6
6
  }
7
7
  /**
8
- * @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.
8
+ * @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.
9
9
  */
10
10
  export interface Option {
11
11
  data?: OptionData;
@@ -15,7 +15,7 @@ export interface Option {
15
15
  value: string;
16
16
  }
17
17
  /**
18
- * @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.
18
+ * @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.
19
19
  */
20
20
  export interface NormalizedOption extends Option {
21
21
  data: OptionData;
@@ -24,26 +24,26 @@ export interface NormalizedOption extends Option {
24
24
  label: string;
25
25
  }
26
26
  /**
27
- * @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.
27
+ * @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.
28
28
  */
29
29
  export interface RenderSelectedFunction {
30
30
  (option: NormalizedOption): React.ReactNode;
31
31
  }
32
32
  /**
33
- * @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.
33
+ * @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.
34
34
  */
35
35
  export interface RenderableOption extends NormalizedOption {
36
36
  focused: boolean;
37
37
  selected: boolean;
38
38
  }
39
39
  /**
40
- * @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.
40
+ * @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.
41
41
  */
42
42
  export interface RenderOptionFunction {
43
43
  (option: RenderableOption): React.ReactNode;
44
44
  }
45
45
  /**
46
- * @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.
46
+ * @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.
47
47
  */
48
48
  export interface CoreSelectBaseProps extends Themeable, GrowthBehavior, Pick<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>, Pick<React.SelectHTMLAttributes<HTMLSelectElement>, 'required'>, Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> {
49
49
  /**
@@ -90,7 +90,7 @@ export interface CoreSelectBaseProps extends Themeable, GrowthBehavior, Pick<Rea
90
90
  value?: string;
91
91
  }
92
92
  /**
93
- * @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.
93
+ * @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.
94
94
  */
95
95
  export interface SelectBaseProps extends CoreSelectBaseProps, StyledType {
96
96
  /**
@@ -158,7 +158,7 @@ export interface SelectBaseProps extends CoreSelectBaseProps, StyledType {
158
158
  }
159
159
  export declare const buttonBorderWidth = 1;
160
160
  /**
161
- * @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.
161
+ * @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.
162
162
  */
163
163
  export declare const SelectBase: ({ "aria-labelledby": ariaLabelledBy, "aria-required": ariaRequired, as, forwardedButtonRef, localButtonRef, disabled, error, focusedOptionIndex, grow, inputRef, menuPlacement, menuRef, menuVisibility, onChange, onKeyDown, onBlur, onClose, onOptionSelection, options, renderOption, renderSelected, required, shouldMenuAutoFlip, shouldMenuAutoFocus, value, ...elemProps }: SelectBaseProps) => import("react/jsx-runtime").JSX.Element;
164
164
  export {};
@@ -97,7 +97,7 @@ const defaultRenderSelected = option => {
97
97
  return option.label;
98
98
  };
99
99
  /**
100
- * @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.
100
+ * @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.
101
101
  */
102
102
  export const SelectBase = ({ 'aria-labelledby': ariaLabelledBy, 'aria-required': ariaRequired, as, forwardedButtonRef, localButtonRef, disabled, error, focusedOptionIndex = 0, grow, inputRef, menuPlacement = 'bottom', menuRef, menuVisibility = 'closed', onChange, onKeyDown, onBlur, onClose, onOptionSelection, options, renderOption = defaultRenderOption, renderSelected = defaultRenderSelected, required, shouldMenuAutoFlip = true, shouldMenuAutoFocus = true, value, ...elemProps }) => {
103
103
  const focusedOptionRef = React.useRef(null);
@@ -38,7 +38,7 @@ interface SelectMenuProps extends Themeable, React.HTMLAttributes<HTMLUListEleme
38
38
  }
39
39
  export declare const menuAnimationDuration = 200;
40
40
  /**
41
- * @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.
41
+ * @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.
42
42
  */
43
43
  export declare const SelectMenu: ({ buttonRef, children, error, menuRef, onClose, placement, shouldAutoFlip, shouldAutoFocus, visibility, ...elemProps }: SelectMenuProps) => import("react/jsx-runtime").JSX.Element;
44
44
  export {};
@@ -147,7 +147,7 @@ const generatePopperOptions = (props) => {
147
147
  };
148
148
  };
149
149
  /**
150
- * @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.
150
+ * @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.
151
151
  */
152
152
  export const SelectMenu = ({ buttonRef, children, error, menuRef, onClose, placement = 'bottom', shouldAutoFlip = true, shouldAutoFocus = true, visibility = 'closed', ...elemProps }) => {
153
153
  const model = usePopupModel({
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ErrorType, Themeable } from '@workday/canvas-kit-react/common';
3
3
  /**
4
- * @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.
4
+ * @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.
5
5
  */
6
6
  export interface SelectOptionProps extends Themeable, React.LiHTMLAttributes<HTMLLIElement> {
7
7
  /**
@@ -32,7 +32,7 @@ export interface SelectOptionProps extends Themeable, React.LiHTMLAttributes<HTM
32
32
  value?: string;
33
33
  }
34
34
  /**
35
- * @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.
35
+ * @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.
36
36
  */
37
37
  export declare const SelectOption: ({ children, focused, interactive, optionRef, value, ...elemProps }: SelectOptionProps) => import("react/jsx-runtime").JSX.Element;
38
38
  //# sourceMappingURL=SelectOption.d.ts.map
@@ -62,7 +62,7 @@ const Option = styled('li')({
62
62
  padding: `${optionPadding}px ${error === ErrorType.Alert ? optionPadding - 1 : optionPadding}px`,
63
63
  }));
64
64
  /**
65
- * @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.
65
+ * @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.
66
66
  */
67
67
  export const SelectOption = ({ children, focused = false, interactive = true, optionRef, value, ...elemProps }) => {
68
68
  return (_jsx(Option, { "data-value": value, focused: focused, interactive: interactive, ref: optionRef, role: "option", ...elemProps, children: children }));
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @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.
2
+ * @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.
3
3
  */
4
4
  export declare const scrollIntoViewIfNeeded: (elem: HTMLElement, centerIfNeeded?: boolean) => void;
5
5
  //# sourceMappingURL=scrolling.d.ts.map
@@ -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, centerIfNeeded = true) => {
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
  /**
@@ -31,7 +31,7 @@ export type MenuPlacement = 'bottom' | 'top';
31
31
  * closing in which case the menu can transition from `closing` > `opening` (and
32
32
  * vice-versa).
33
33
  *
34
- * @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.
34
+ * @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.
35
35
  */
36
36
  export type MenuVisibility = 'closed' | 'open' | 'opening' | 'opened' | 'close' | 'closing';
37
37
  //# sourceMappingURL=types.d.ts.map
@@ -4,7 +4,7 @@ import { NormalizedOption } from './SelectBase';
4
4
  */
5
5
  export declare const getIndexByValue: (options: NormalizedOption[], value: string | undefined) => number;
6
6
  /**
7
- * @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.
7
+ * @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.
8
8
  */
9
9
  export declare const getCorrectedIndexByValue: (options: NormalizedOption[], value: string | undefined) => number;
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -14,7 +14,7 @@ export const getIndexByValue = (options, value) => {
14
14
  };
15
15
  // If the value doesn't exist in the options, return index 0
16
16
  /**
17
- * @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.
17
+ * @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.
18
18
  */
19
19
  export const getCorrectedIndexByValue = (options, value) => {
20
20
  const indexByValue = getIndexByValue(options, value);
@@ -37,7 +37,7 @@ export interface DividerProps extends CSProps {
37
37
  * # Divider
38
38
  * A divider to segment and visually organize content. By default, it renders a semantic `[<hr>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)` element.
39
39
  *
40
- * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider-react)
40
+ * [View Docs](https://workday.github.io/canvas-kit/?path=/docs/preview-divider--docs)
41
41
  *
42
42
  * The `space` prop will equally apply top and bottom margin styles.
43
43
  * In the example below, `x2` (0.5rem), adds `0.25rem` margin to the top and `0.25rem` to the bottom
package/index.ts CHANGED
@@ -10,7 +10,4 @@ export * from './segmented-control';
10
10
  export * from './select';
11
11
  export * from './side-panel';
12
12
  export * from './status-indicator';
13
- export * from './text-area';
14
- export * from './text-input';
15
- export * from './information-highlight';
16
13
  export {version} from './version';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-preview-react",
3
- "version": "14.0.0-alpha.1230-next.0",
3
+ "version": "14.0.0-alpha.1234-next.0",
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",
@@ -48,8 +48,8 @@
48
48
  "dependencies": {
49
49
  "@emotion/react": "^11.7.1",
50
50
  "@emotion/styled": "^11.6.0",
51
- "@workday/canvas-kit-react": "^14.0.0-alpha.1230-next.0",
52
- "@workday/canvas-kit-styling": "^14.0.0-alpha.1230-next.0",
51
+ "@workday/canvas-kit-react": "^14.0.0-alpha.1234-next.0",
52
+ "@workday/canvas-kit-styling": "^14.0.0-alpha.1234-next.0",
53
53
  "@workday/canvas-system-icons-web": "^3.0.35",
54
54
  "@workday/canvas-tokens-web": "3.0.0-alpha.12",
55
55
  "@workday/design-assets-types": "^0.2.10"
@@ -60,5 +60,5 @@
60
60
  "react-hook-form": "7.36.1",
61
61
  "yup": "^0.32.11"
62
62
  },
63
- "gitHead": "8080313203652737f30e578bb2ef8d4225948d6b"
63
+ "gitHead": "782f4efdb11b1729f0a706c900be60cfe1910391"
64
64
  }
@@ -11,7 +11,7 @@ import {SelectBase, CoreSelectBaseProps, Option, NormalizedOption} from './Selec
11
11
  import {MenuVisibility} from './types';
12
12
  import {getCorrectedIndexByValue} from './utils';
13
13
  /**
14
- * @deprecated ⚠️ `SelectProps` 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.
14
+ * @deprecated ⚠️ `SelectProps` 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.
15
15
  */
16
16
  export interface SelectProps extends CoreSelectBaseProps {
17
17
  /**
@@ -580,7 +580,7 @@ class SelectContainer extends React.Component<SelectContainerProps, SelectContai
580
580
  }
581
581
  }
582
582
  /**
583
- * @deprecated ⚠️ `Select` 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.
583
+ * @deprecated ⚠️ `Select` 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.
584
584
  */
585
585
  export const Select = createComponent('button')({
586
586
  displayName: 'Select',