@okta/odyssey-react-mui 1.9.11 → 1.9.13

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 (195) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/Accordion.js +3 -1
  3. package/dist/Accordion.js.map +1 -1
  4. package/dist/AllowedProps.js +2 -0
  5. package/dist/AllowedProps.js.map +1 -0
  6. package/dist/Autocomplete.js +4 -2
  7. package/dist/Autocomplete.js.map +1 -1
  8. package/dist/Badge.js +35 -30
  9. package/dist/Badge.js.map +1 -1
  10. package/dist/Banner.js +5 -1
  11. package/dist/Banner.js.map +1 -1
  12. package/dist/Box.js +4 -2
  13. package/dist/Box.js.map +1 -1
  14. package/dist/Breadcrumbs.js +5 -1
  15. package/dist/Breadcrumbs.js.map +1 -1
  16. package/dist/Button.js +3 -1
  17. package/dist/Button.js.map +1 -1
  18. package/dist/Callout.js +4 -1
  19. package/dist/Callout.js.map +1 -1
  20. package/dist/Checkbox.js +5 -2
  21. package/dist/Checkbox.js.map +1 -1
  22. package/dist/CheckboxGroup.js +4 -2
  23. package/dist/CheckboxGroup.js.map +1 -1
  24. package/dist/CircularProgress.js.map +1 -1
  25. package/dist/Dialog.js +2 -0
  26. package/dist/Dialog.js.map +1 -1
  27. package/dist/FieldError.js +4 -1
  28. package/dist/FieldError.js.map +1 -1
  29. package/dist/FieldHint.js +3 -1
  30. package/dist/FieldHint.js.map +1 -1
  31. package/dist/FieldLabel.js +4 -1
  32. package/dist/FieldLabel.js.map +1 -1
  33. package/dist/Fieldset.js +4 -1
  34. package/dist/Fieldset.js.map +1 -1
  35. package/dist/Form.js +4 -1
  36. package/dist/Form.js.map +1 -1
  37. package/dist/Link.js +2 -0
  38. package/dist/Link.js.map +1 -1
  39. package/dist/MenuButton.js +3 -1
  40. package/dist/MenuButton.js.map +1 -1
  41. package/dist/MenuItem.js.map +1 -1
  42. package/dist/NativeSelect.js +4 -2
  43. package/dist/NativeSelect.js.map +1 -1
  44. package/dist/PasswordField.js +3 -1
  45. package/dist/PasswordField.js.map +1 -1
  46. package/dist/Radio.js +2 -0
  47. package/dist/Radio.js.map +1 -1
  48. package/dist/RadioGroup.js +3 -1
  49. package/dist/RadioGroup.js.map +1 -1
  50. package/dist/ScreenReaderText.js +3 -1
  51. package/dist/ScreenReaderText.js.map +1 -1
  52. package/dist/SearchField.js +3 -1
  53. package/dist/SearchField.js.map +1 -1
  54. package/dist/Select.js +4 -2
  55. package/dist/Select.js.map +1 -1
  56. package/dist/Status.js +2 -0
  57. package/dist/Status.js.map +1 -1
  58. package/dist/Tabs.js +54 -10
  59. package/dist/Tabs.js.map +1 -1
  60. package/dist/Tag.js +5 -3
  61. package/dist/Tag.js.map +1 -1
  62. package/dist/TagList.js.map +1 -1
  63. package/dist/TextField.js +6 -2
  64. package/dist/TextField.js.map +1 -1
  65. package/dist/Toast.js +4 -1
  66. package/dist/Toast.js.map +1 -1
  67. package/dist/Tooltip.js +3 -1
  68. package/dist/Tooltip.js.map +1 -1
  69. package/dist/Typography.js +32 -10
  70. package/dist/Typography.js.map +1 -1
  71. package/dist/labs/Switch.js.map +1 -1
  72. package/dist/labs/VirtualizedAutocomplete.js +4 -2
  73. package/dist/labs/VirtualizedAutocomplete.js.map +1 -1
  74. package/dist/src/Accordion.d.ts +3 -3
  75. package/dist/src/Accordion.d.ts.map +1 -1
  76. package/dist/src/{SeleniumProps.d.ts → AllowedProps.d.ts} +6 -2
  77. package/dist/src/AllowedProps.d.ts.map +1 -0
  78. package/dist/src/Autocomplete.d.ts +3 -3
  79. package/dist/src/Autocomplete.d.ts.map +1 -1
  80. package/dist/src/Badge.d.ts +3 -3
  81. package/dist/src/Badge.d.ts.map +1 -1
  82. package/dist/src/Banner.d.ts +3 -3
  83. package/dist/src/Banner.d.ts.map +1 -1
  84. package/dist/src/Box.d.ts +3 -3
  85. package/dist/src/Box.d.ts.map +1 -1
  86. package/dist/src/Breadcrumbs.d.ts +3 -2
  87. package/dist/src/Breadcrumbs.d.ts.map +1 -1
  88. package/dist/src/Button.d.ts +3 -3
  89. package/dist/src/Button.d.ts.map +1 -1
  90. package/dist/src/Callout.d.ts +3 -3
  91. package/dist/src/Callout.d.ts.map +1 -1
  92. package/dist/src/Checkbox.d.ts +3 -3
  93. package/dist/src/Checkbox.d.ts.map +1 -1
  94. package/dist/src/CheckboxGroup.d.ts +3 -3
  95. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  96. package/dist/src/CircularProgress.d.ts +2 -2
  97. package/dist/src/CircularProgress.d.ts.map +1 -1
  98. package/dist/src/Dialog.d.ts +3 -3
  99. package/dist/src/Dialog.d.ts.map +1 -1
  100. package/dist/src/FieldError.d.ts +3 -3
  101. package/dist/src/FieldError.d.ts.map +1 -1
  102. package/dist/src/FieldHint.d.ts +3 -3
  103. package/dist/src/FieldHint.d.ts.map +1 -1
  104. package/dist/src/FieldLabel.d.ts +3 -3
  105. package/dist/src/FieldLabel.d.ts.map +1 -1
  106. package/dist/src/Fieldset.d.ts +3 -3
  107. package/dist/src/Fieldset.d.ts.map +1 -1
  108. package/dist/src/Form.d.ts +3 -3
  109. package/dist/src/Form.d.ts.map +1 -1
  110. package/dist/src/Link.d.ts +3 -3
  111. package/dist/src/Link.d.ts.map +1 -1
  112. package/dist/src/MenuButton.d.ts +3 -3
  113. package/dist/src/MenuButton.d.ts.map +1 -1
  114. package/dist/src/MenuItem.d.ts +2 -2
  115. package/dist/src/MenuItem.d.ts.map +1 -1
  116. package/dist/src/NativeSelect.d.ts +2 -2
  117. package/dist/src/NativeSelect.d.ts.map +1 -1
  118. package/dist/src/PasswordField.d.ts +3 -3
  119. package/dist/src/PasswordField.d.ts.map +1 -1
  120. package/dist/src/Radio.d.ts +3 -3
  121. package/dist/src/Radio.d.ts.map +1 -1
  122. package/dist/src/RadioGroup.d.ts +3 -3
  123. package/dist/src/RadioGroup.d.ts.map +1 -1
  124. package/dist/src/ScreenReaderText.d.ts +3 -2
  125. package/dist/src/ScreenReaderText.d.ts.map +1 -1
  126. package/dist/src/SearchField.d.ts +3 -3
  127. package/dist/src/SearchField.d.ts.map +1 -1
  128. package/dist/src/Select.d.ts +3 -3
  129. package/dist/src/Select.d.ts.map +1 -1
  130. package/dist/src/Status.d.ts +3 -3
  131. package/dist/src/Status.d.ts.map +1 -1
  132. package/dist/src/Tabs.d.ts +7 -3
  133. package/dist/src/Tabs.d.ts.map +1 -1
  134. package/dist/src/Tag.d.ts +3 -3
  135. package/dist/src/Tag.d.ts.map +1 -1
  136. package/dist/src/TagList.d.ts +2 -2
  137. package/dist/src/TagList.d.ts.map +1 -1
  138. package/dist/src/TextField.d.ts +3 -3
  139. package/dist/src/TextField.d.ts.map +1 -1
  140. package/dist/src/Toast.d.ts +3 -3
  141. package/dist/src/Toast.d.ts.map +1 -1
  142. package/dist/src/Tooltip.d.ts +3 -3
  143. package/dist/src/Tooltip.d.ts.map +1 -1
  144. package/dist/src/Typography.d.ts +13 -13
  145. package/dist/src/Typography.d.ts.map +1 -1
  146. package/dist/src/labs/Switch.d.ts +2 -2
  147. package/dist/src/labs/Switch.d.ts.map +1 -1
  148. package/dist/src/labs/VirtualizedAutocomplete.d.ts +3 -3
  149. package/dist/src/labs/VirtualizedAutocomplete.d.ts.map +1 -1
  150. package/dist/theme/components.js +1 -1
  151. package/dist/theme/components.js.map +1 -1
  152. package/dist/tsconfig.production.tsbuildinfo +1 -1
  153. package/package.json +3 -3
  154. package/src/Accordion.tsx +6 -3
  155. package/src/{SeleniumProps.ts → AllowedProps.ts} +5 -1
  156. package/src/Autocomplete.tsx +4 -2
  157. package/src/Badge.tsx +37 -27
  158. package/src/Banner.tsx +8 -5
  159. package/src/Box.tsx +4 -3
  160. package/src/Breadcrumbs.tsx +6 -1
  161. package/src/Button.tsx +5 -2
  162. package/src/Callout.tsx +14 -5
  163. package/src/Checkbox.tsx +6 -4
  164. package/src/CheckboxGroup.tsx +5 -3
  165. package/src/CircularProgress.tsx +2 -2
  166. package/src/Dialog.tsx +4 -3
  167. package/src/FieldError.tsx +5 -5
  168. package/src/FieldHint.tsx +10 -4
  169. package/src/FieldLabel.tsx +11 -5
  170. package/src/Fieldset.tsx +5 -4
  171. package/src/Form.tsx +9 -4
  172. package/src/Link.tsx +4 -2
  173. package/src/MenuButton.tsx +4 -2
  174. package/src/MenuItem.tsx +2 -2
  175. package/src/NativeSelect.tsx +5 -2
  176. package/src/PasswordField.tsx +5 -2
  177. package/src/Radio.tsx +4 -2
  178. package/src/RadioGroup.tsx +5 -3
  179. package/src/ScreenReaderText.tsx +4 -3
  180. package/src/SearchField.tsx +5 -2
  181. package/src/Select.tsx +5 -2
  182. package/src/Status.tsx +4 -2
  183. package/src/Tabs.tsx +87 -19
  184. package/src/Tag.tsx +14 -3
  185. package/src/TagList.tsx +2 -2
  186. package/src/TextField.tsx +11 -4
  187. package/src/Toast.tsx +5 -4
  188. package/src/Tooltip.tsx +4 -2
  189. package/src/Typography.tsx +24 -2
  190. package/src/labs/Switch.tsx +2 -2
  191. package/src/labs/VirtualizedAutocomplete.tsx +4 -2
  192. package/src/theme/components.tsx +1 -1
  193. package/dist/SeleniumProps.js +0 -2
  194. package/dist/SeleniumProps.js.map +0 -1
  195. package/dist/src/SeleniumProps.d.ts.map +0 -1
package/src/TextField.tsx CHANGED
@@ -25,7 +25,7 @@ import { InputAdornment, InputBase } from "@mui/material";
25
25
 
26
26
  import { FieldComponentProps } from "./FieldComponentProps";
27
27
  import { Field } from "./Field";
28
- import { SeleniumProps } from "./SeleniumProps";
28
+ import { AllowedProps } from "./AllowedProps";
29
29
  import { useInputValues, getControlState } from "./inputUtils";
30
30
  import { FocusHandle } from "./@types/react-augment";
31
31
 
@@ -97,7 +97,7 @@ export type TextFieldProps = {
97
97
  */
98
98
  value?: string;
99
99
  } & FieldComponentProps &
100
- SeleniumProps;
100
+ AllowedProps;
101
101
 
102
102
  const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
103
103
  (
@@ -124,6 +124,7 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
124
124
  placeholder,
125
125
  startAdornment,
126
126
  testId,
127
+ translate,
127
128
  type = "text",
128
129
  value: value,
129
130
  },
@@ -179,7 +180,9 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
179
180
  data-se={testId}
180
181
  endAdornment={
181
182
  endAdornment && (
182
- <InputAdornment position="end">{endAdornment}</InputAdornment>
183
+ <InputAdornment position="end" translate={translate}>
184
+ {endAdornment}
185
+ </InputAdornment>
183
186
  )
184
187
  }
185
188
  id={id}
@@ -195,10 +198,13 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
195
198
  required={!isOptional}
196
199
  startAdornment={
197
200
  startAdornment && (
198
- <InputAdornment position="start">{startAdornment}</InputAdornment>
201
+ <InputAdornment position="start" translate={translate}>
202
+ {startAdornment}
203
+ </InputAdornment>
199
204
  )
200
205
  }
201
206
  type={type}
207
+ translate={translate}
202
208
  />
203
209
  ),
204
210
  [
@@ -217,6 +223,7 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
217
223
  ref,
218
224
  startAdornment,
219
225
  testId,
226
+ translate,
220
227
  type,
221
228
  ]
222
229
  );
package/src/Toast.tsx CHANGED
@@ -17,7 +17,7 @@ import { Link } from "./Link";
17
17
  import { CloseIcon } from "./icons.generated";
18
18
  import { Button } from "./Button";
19
19
  import { useTranslation } from "react-i18next";
20
- import { SeleniumProps } from "./SeleniumProps";
20
+ import { AllowedProps } from "./AllowedProps";
21
21
 
22
22
  export const toastRoleValues = ["status", "alert"] as const;
23
23
  export const toastSeverityValues = [
@@ -70,7 +70,7 @@ export type ToastProps = {
70
70
  * The text content of the Toast
71
71
  */
72
72
  text: string;
73
- } & SeleniumProps;
73
+ } & AllowedProps;
74
74
 
75
75
  const ClickAwayListenerProps = { onClickAway: () => false };
76
76
 
@@ -85,6 +85,7 @@ const Toast = ({
85
85
  severity,
86
86
  testId,
87
87
  text,
88
+ translate,
88
89
  }: ToastProps) => {
89
90
  const { t } = useTranslation();
90
91
 
@@ -126,12 +127,12 @@ const Toast = ({
126
127
  severity={severity}
127
128
  variant="toast"
128
129
  >
129
- <AlertTitle>
130
+ <AlertTitle translate={translate}>
130
131
  <span style={visuallyHidden}>{severity}:</span>
131
132
  {text}
132
133
  </AlertTitle>
133
134
  {linkUrl && (
134
- <Link href={linkUrl} variant="monochrome">
135
+ <Link href={linkUrl} variant="monochrome" translate={translate}>
135
136
  {linkText}
136
137
  </Link>
137
138
  )}
package/src/Tooltip.tsx CHANGED
@@ -15,7 +15,7 @@ import type { TooltipProps as MuiTooltipProps } from "@mui/material";
15
15
 
16
16
  import { MuiPropsChild } from "./MuiPropsChild";
17
17
  import { ReactElement, memo } from "react";
18
- import { SeleniumProps } from "./SeleniumProps";
18
+ import { AllowedProps } from "./AllowedProps";
19
19
 
20
20
  export type TooltipProps = {
21
21
  /**
@@ -34,7 +34,7 @@ export type TooltipProps = {
34
34
  * The text to display in the Tooltip
35
35
  */
36
36
  text: string;
37
- } & SeleniumProps;
37
+ } & AllowedProps;
38
38
 
39
39
  const Tooltip = ({
40
40
  ariaType,
@@ -42,12 +42,14 @@ const Tooltip = ({
42
42
  placement = "top",
43
43
  testId,
44
44
  text,
45
+ translate,
45
46
  }: TooltipProps) => (
46
47
  <MuiTooltip
47
48
  data-se={testId}
48
49
  describeChild={ariaType === "description"}
49
50
  placement={placement}
50
51
  title={text}
52
+ translate={translate}
51
53
  >
52
54
  <MuiPropsChild>{children}</MuiPropsChild>
53
55
  </MuiTooltip>
@@ -22,7 +22,7 @@ import {
22
22
  useRef,
23
23
  useImperativeHandle,
24
24
  } from "react";
25
- import { SeleniumProps } from "./SeleniumProps";
25
+ import { AllowedProps } from "./AllowedProps";
26
26
  import { FocusHandle } from "./@types/react-augment";
27
27
 
28
28
  export type TypographyVariantValue =
@@ -94,7 +94,7 @@ export type TypographyProps = {
94
94
  * The variant of Typography to render.
95
95
  */
96
96
  variant?: keyof typeof typographyVariantMapping;
97
- } & SeleniumProps;
97
+ } & AllowedProps;
98
98
 
99
99
  const Typography = ({
100
100
  ariaDescribedBy,
@@ -104,6 +104,7 @@ const Typography = ({
104
104
  color,
105
105
  component: componentProp,
106
106
  testId,
107
+ translate,
107
108
  typographyFocusRef,
108
109
  variant = "body",
109
110
  }: TypographyProps) => {
@@ -145,6 +146,7 @@ const Typography = ({
145
146
  data-se={testId}
146
147
  ref={ref}
147
148
  tabIndex={-1}
149
+ translate={translate}
148
150
  variant={typographyVariantMapping[variant]}
149
151
  />
150
152
  );
@@ -161,6 +163,7 @@ const Heading1 = ({
161
163
  color,
162
164
  component,
163
165
  testId,
166
+ translate,
164
167
  }: TypographyProps) => (
165
168
  <Typography
166
169
  ariaDescribedBy={ariaDescribedBy}
@@ -170,6 +173,7 @@ const Heading1 = ({
170
173
  color={color}
171
174
  component={component}
172
175
  data-se={testId}
176
+ translate={translate}
173
177
  variant="h1"
174
178
  />
175
179
  );
@@ -185,6 +189,7 @@ const Heading2 = ({
185
189
  color,
186
190
  component,
187
191
  testId,
192
+ translate,
188
193
  }: TypographyProps) => (
189
194
  <Typography
190
195
  ariaDescribedBy={ariaDescribedBy}
@@ -194,6 +199,7 @@ const Heading2 = ({
194
199
  color={color}
195
200
  component={component}
196
201
  data-se={testId}
202
+ translate={translate}
197
203
  variant="h2"
198
204
  />
199
205
  );
@@ -209,6 +215,7 @@ const Heading3 = ({
209
215
  color,
210
216
  component,
211
217
  testId,
218
+ translate,
212
219
  }: TypographyProps) => (
213
220
  <Typography
214
221
  ariaDescribedBy={ariaDescribedBy}
@@ -218,6 +225,7 @@ const Heading3 = ({
218
225
  color={color}
219
226
  component={component}
220
227
  data-se={testId}
228
+ translate={translate}
221
229
  variant="h3"
222
230
  />
223
231
  );
@@ -233,6 +241,7 @@ const Heading4 = ({
233
241
  color,
234
242
  component,
235
243
  testId,
244
+ translate,
236
245
  }: TypographyProps) => (
237
246
  <Typography
238
247
  ariaDescribedBy={ariaDescribedBy}
@@ -242,6 +251,7 @@ const Heading4 = ({
242
251
  color={color}
243
252
  component={component}
244
253
  data-se={testId}
254
+ translate={translate}
245
255
  variant="h4"
246
256
  />
247
257
  );
@@ -257,6 +267,7 @@ const Heading5 = ({
257
267
  color,
258
268
  component,
259
269
  testId,
270
+ translate,
260
271
  }: TypographyProps) => (
261
272
  <Typography
262
273
  ariaDescribedBy={ariaDescribedBy}
@@ -266,6 +277,7 @@ const Heading5 = ({
266
277
  color={color}
267
278
  component={component}
268
279
  data-se={testId}
280
+ translate={translate}
269
281
  variant="h5"
270
282
  />
271
283
  );
@@ -281,6 +293,7 @@ const Heading6 = ({
281
293
  color,
282
294
  component,
283
295
  testId,
296
+ translate,
284
297
  }: TypographyProps) => (
285
298
  <Typography
286
299
  ariaDescribedBy={ariaDescribedBy}
@@ -290,6 +303,7 @@ const Heading6 = ({
290
303
  color={color}
291
304
  component={component}
292
305
  data-se={testId}
306
+ translate={translate}
293
307
  variant="h6"
294
308
  />
295
309
  );
@@ -305,6 +319,7 @@ const Paragraph = ({
305
319
  color,
306
320
  component,
307
321
  testId,
322
+ translate,
308
323
  }: TypographyProps) => (
309
324
  <Typography
310
325
  ariaDescribedBy={ariaDescribedBy}
@@ -314,6 +329,7 @@ const Paragraph = ({
314
329
  color={color}
315
330
  component={component}
316
331
  data-se={testId}
332
+ translate={translate}
317
333
  variant="body"
318
334
  />
319
335
  );
@@ -329,6 +345,7 @@ const Subordinate = ({
329
345
  color,
330
346
  component,
331
347
  testId,
348
+ translate,
332
349
  }: TypographyProps) => (
333
350
  <Typography
334
351
  ariaDescribedBy={ariaDescribedBy}
@@ -338,6 +355,7 @@ const Subordinate = ({
338
355
  color={color}
339
356
  component={component}
340
357
  data-se={testId}
358
+ translate={translate}
341
359
  variant="subordinate"
342
360
  />
343
361
  );
@@ -353,6 +371,7 @@ const Support = ({
353
371
  color,
354
372
  component,
355
373
  testId,
374
+ translate,
356
375
  }: TypographyProps) => (
357
376
  <Typography
358
377
  ariaDescribedBy={ariaDescribedBy}
@@ -362,6 +381,7 @@ const Support = ({
362
381
  color={color}
363
382
  component={component}
364
383
  data-se={testId}
384
+ translate={translate}
365
385
  variant="support"
366
386
  />
367
387
  );
@@ -377,6 +397,7 @@ const Legend = ({
377
397
  color,
378
398
  component,
379
399
  testId,
400
+ translate,
380
401
  }: TypographyProps) => (
381
402
  <Typography
382
403
  ariaDescribedBy={ariaDescribedBy}
@@ -386,6 +407,7 @@ const Legend = ({
386
407
  color={color}
387
408
  component={component}
388
409
  data-se={testId}
410
+ translate={translate}
389
411
  variant="legend"
390
412
  />
391
413
  );
@@ -30,7 +30,7 @@ import { useOdysseyDesignTokens } from "../OdysseyDesignTokensContext";
30
30
  import { Box } from "../Box";
31
31
  import { FieldComponentProps } from "../FieldComponentProps";
32
32
  import { FieldHint } from "../FieldHint";
33
- import type { SeleniumProps } from "../SeleniumProps";
33
+ import type { AllowedProps } from "../AllowedProps";
34
34
  import { useUniqueId } from "../useUniqueId";
35
35
  import { ComponentControlledState, getControlState } from "../inputUtils";
36
36
  import { CheckedFieldProps } from "../FormCheckedProps";
@@ -62,7 +62,7 @@ export type SwitchProps = {
62
62
  "hint" | "id" | "isFullWidth" | "isDisabled" | "name"
63
63
  > &
64
64
  CheckedFieldProps<MuiSwitchProps> &
65
- SeleniumProps;
65
+ AllowedProps;
66
66
 
67
67
  type SwitchLabelProps = {
68
68
  checked: boolean;
@@ -21,7 +21,7 @@ import { memo, useCallback, useMemo, useRef } from "react";
21
21
 
22
22
  import { Field } from "../Field";
23
23
  import { FieldComponentProps } from "../FieldComponentProps";
24
- import type { SeleniumProps } from "../SeleniumProps";
24
+ import type { AllowedProps } from "../AllowedProps";
25
25
  import {
26
26
  ComponentControlledState,
27
27
  getControlState,
@@ -170,7 +170,7 @@ export type AutocompleteProps<
170
170
  FieldComponentProps,
171
171
  "errorMessage" | "hint" | "id" | "isOptional" | "name"
172
172
  > &
173
- SeleniumProps;
173
+ AllowedProps;
174
174
 
175
175
  const VirtualizedAutocomplete = <
176
176
  OptionType,
@@ -199,6 +199,7 @@ const VirtualizedAutocomplete = <
199
199
  value,
200
200
  getIsOptionEqualToValue,
201
201
  testId,
202
+ translate,
202
203
  }: AutocompleteProps<OptionType, HasMultipleChoices, IsCustomValueAllowed>) => {
203
204
  const controlledStateRef = useRef(
204
205
  getControlState({ controlledValue: value, uncontrolledValue: defaultValue })
@@ -327,6 +328,7 @@ const VirtualizedAutocomplete = <
327
328
  readOnly={isReadOnly}
328
329
  renderInput={renderInput}
329
330
  isOptionEqualToValue={getIsOptionEqualToValue}
331
+ translate={translate}
330
332
  />
331
333
  );
332
334
  };
@@ -2208,7 +2208,7 @@ export const components = ({
2208
2208
  root: ({ ownerState }) => ({
2209
2209
  maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
2210
2210
  minWidth: "unset",
2211
- minHeight: "unset",
2211
+ minHeight: odysseyTokens.Spacing9,
2212
2212
  padding: `${odysseyTokens.Spacing4} ${odysseyTokens.Spacing1}`,
2213
2213
  fontSize: odysseyTokens.TypographySizeHeading6,
2214
2214
  fontFamily: odysseyTokens.TypographyFamilyHeading,
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=SeleniumProps.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeleniumProps.js","names":[],"sources":["../src/SeleniumProps.ts"],"sourcesContent":["/*!\n * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport type SeleniumProps = {\n /**\n * This prop puts a `data` attribute on an HTML element in this component with the value provided.\n *\n * @deprecated **WARNING:** You should be using Semantic Selectors instead of this property. This is a temporary measure for backwards compatibility with existing Selenium tests.\n */\n testId?: string;\n};\n"],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SeleniumProps.d.ts","sourceRoot":"","sources":["../../src/SeleniumProps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}