@okta/odyssey-react-mui 1.0.2 → 1.1.1

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 (204) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +1 -1
  3. package/dist/Autocomplete.js +9 -3
  4. package/dist/Autocomplete.js.map +1 -1
  5. package/dist/Banner.js +3 -1
  6. package/dist/Banner.js.map +1 -1
  7. package/dist/Box.js +8 -4
  8. package/dist/Box.js.map +1 -1
  9. package/dist/Button.js +3 -1
  10. package/dist/Button.js.map +1 -1
  11. package/dist/Callout.js +2 -0
  12. package/dist/Callout.js.map +1 -1
  13. package/dist/Checkbox.js +6 -2
  14. package/dist/Checkbox.js.map +1 -1
  15. package/dist/CheckboxGroup.js +5 -7
  16. package/dist/CheckboxGroup.js.map +1 -1
  17. package/dist/CircularProgress.js +2 -0
  18. package/dist/CircularProgress.js.map +1 -1
  19. package/dist/Dialog.js +2 -0
  20. package/dist/Dialog.js.map +1 -1
  21. package/dist/Field.js.map +1 -1
  22. package/dist/FieldError.js +2 -0
  23. package/dist/FieldError.js.map +1 -1
  24. package/dist/FieldHint.js +2 -0
  25. package/dist/FieldHint.js.map +1 -1
  26. package/dist/FieldLabel.js +3 -1
  27. package/dist/FieldLabel.js.map +1 -1
  28. package/dist/Fieldset.js +3 -1
  29. package/dist/Fieldset.js.map +1 -1
  30. package/dist/Form.js +5 -3
  31. package/dist/Form.js.map +1 -1
  32. package/dist/Link.js +3 -1
  33. package/dist/Link.js.map +1 -1
  34. package/dist/MenuButton.js +8 -2
  35. package/dist/MenuButton.js.map +1 -1
  36. package/dist/MenuItem.js +6 -2
  37. package/dist/MenuItem.js.map +1 -1
  38. package/dist/NativeSelect.js +3 -1
  39. package/dist/NativeSelect.js.map +1 -1
  40. package/dist/OdysseyI18n.js +2 -0
  41. package/dist/OdysseyI18n.js.map +1 -1
  42. package/dist/OdysseyProvider.js +7 -4
  43. package/dist/OdysseyProvider.js.map +1 -1
  44. package/dist/OdysseyThemeProvider.js +3 -6
  45. package/dist/OdysseyThemeProvider.js.map +1 -1
  46. package/dist/OdysseyTranslationProvider.types.js +1 -1
  47. package/dist/OdysseyTranslationProvider.types.js.map +1 -1
  48. package/dist/PasswordField.js +9 -8
  49. package/dist/PasswordField.js.map +1 -1
  50. package/dist/Radio.js +2 -0
  51. package/dist/Radio.js.map +1 -1
  52. package/dist/RadioGroup.js +5 -2
  53. package/dist/RadioGroup.js.map +1 -1
  54. package/dist/SearchField.js +11 -10
  55. package/dist/SearchField.js.map +1 -1
  56. package/dist/Select.js +8 -5
  57. package/dist/Select.js.map +1 -1
  58. package/dist/SeleniumProps.js +2 -0
  59. package/dist/SeleniumProps.js.map +1 -0
  60. package/dist/Status.js +4 -2
  61. package/dist/Status.js.map +1 -1
  62. package/dist/Tabs.js +11 -4
  63. package/dist/Tabs.js.map +1 -1
  64. package/dist/Tag.js +4 -2
  65. package/dist/Tag.js.map +1 -1
  66. package/dist/TagList.js +3 -1
  67. package/dist/TagList.js.map +1 -1
  68. package/dist/TextField.js +6 -2
  69. package/dist/TextField.js.map +1 -1
  70. package/dist/Toast.js +2 -0
  71. package/dist/Toast.js.map +1 -1
  72. package/dist/Tooltip.js +2 -0
  73. package/dist/Tooltip.js.map +1 -1
  74. package/dist/Typography.js +71 -37
  75. package/dist/Typography.js.map +1 -1
  76. package/dist/labs/DatePicker.js +4 -2
  77. package/dist/labs/DatePicker.js.map +1 -1
  78. package/dist/labs/PaginatedTable.js +6 -4
  79. package/dist/labs/PaginatedTable.js.map +1 -1
  80. package/dist/labs/StaticTable.js +9 -4
  81. package/dist/labs/StaticTable.js.map +1 -1
  82. package/dist/src/Autocomplete.d.ts +7 -2
  83. package/dist/src/Autocomplete.d.ts.map +1 -1
  84. package/dist/src/Banner.d.ts +3 -2
  85. package/dist/src/Banner.d.ts.map +1 -1
  86. package/dist/src/Box.d.ts +9 -2
  87. package/dist/src/Box.d.ts.map +1 -1
  88. package/dist/src/Button.d.ts +3 -2
  89. package/dist/src/Button.d.ts.map +1 -1
  90. package/dist/src/Callout.d.ts +3 -2
  91. package/dist/src/Callout.d.ts.map +1 -1
  92. package/dist/src/Checkbox.d.ts +8 -3
  93. package/dist/src/Checkbox.d.ts.map +1 -1
  94. package/dist/src/CheckboxGroup.d.ts +3 -6
  95. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  96. package/dist/src/CircularProgress.d.ts +3 -2
  97. package/dist/src/CircularProgress.d.ts.map +1 -1
  98. package/dist/src/Dialog.d.ts +3 -2
  99. package/dist/src/Dialog.d.ts.map +1 -1
  100. package/dist/src/Field.d.ts +2 -1
  101. package/dist/src/Field.d.ts.map +1 -1
  102. package/dist/src/FieldError.d.ts +3 -2
  103. package/dist/src/FieldError.d.ts.map +1 -1
  104. package/dist/src/FieldHint.d.ts +3 -2
  105. package/dist/src/FieldHint.d.ts.map +1 -1
  106. package/dist/src/FieldLabel.d.ts +3 -2
  107. package/dist/src/FieldLabel.d.ts.map +1 -1
  108. package/dist/src/Fieldset.d.ts +3 -2
  109. package/dist/src/Fieldset.d.ts.map +1 -1
  110. package/dist/src/Form.d.ts +3 -2
  111. package/dist/src/Form.d.ts.map +1 -1
  112. package/dist/src/Link.d.ts +3 -2
  113. package/dist/src/Link.d.ts.map +1 -1
  114. package/dist/src/MenuButton.d.ts +12 -3
  115. package/dist/src/MenuButton.d.ts.map +1 -1
  116. package/dist/src/MenuItem.d.ts +5 -4
  117. package/dist/src/MenuItem.d.ts.map +1 -1
  118. package/dist/src/NativeSelect.d.ts +56 -2
  119. package/dist/src/NativeSelect.d.ts.map +1 -1
  120. package/dist/src/OdysseyI18n.d.ts +15 -0
  121. package/dist/src/OdysseyI18n.d.ts.map +1 -1
  122. package/dist/src/OdysseyProvider.d.ts.map +1 -1
  123. package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
  124. package/dist/src/OdysseyTranslationProvider.types.d.ts +1 -1
  125. package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -1
  126. package/dist/src/PasswordField.d.ts +70 -2
  127. package/dist/src/PasswordField.d.ts.map +1 -1
  128. package/dist/src/Radio.d.ts +3 -2
  129. package/dist/src/Radio.d.ts.map +1 -1
  130. package/dist/src/RadioGroup.d.ts +8 -3
  131. package/dist/src/RadioGroup.d.ts.map +1 -1
  132. package/dist/src/SearchField.d.ts +58 -2
  133. package/dist/src/SearchField.d.ts.map +1 -1
  134. package/dist/src/Select.d.ts +60 -2
  135. package/dist/src/Select.d.ts.map +1 -1
  136. package/dist/src/SeleniumProps.d.ts +20 -0
  137. package/dist/src/SeleniumProps.d.ts.map +1 -0
  138. package/dist/src/Status.d.ts +3 -2
  139. package/dist/src/Status.d.ts.map +1 -1
  140. package/dist/src/Tabs.d.ts +9 -3
  141. package/dist/src/Tabs.d.ts.map +1 -1
  142. package/dist/src/Tag.d.ts +3 -2
  143. package/dist/src/Tag.d.ts.map +1 -1
  144. package/dist/src/TagList.d.ts +3 -2
  145. package/dist/src/TagList.d.ts.map +1 -1
  146. package/dist/src/TextField.d.ts +86 -2
  147. package/dist/src/TextField.d.ts.map +1 -1
  148. package/dist/src/Toast.d.ts +3 -2
  149. package/dist/src/Toast.d.ts.map +1 -1
  150. package/dist/src/Tooltip.d.ts +3 -2
  151. package/dist/src/Tooltip.d.ts.map +1 -1
  152. package/dist/src/Typography.d.ts +14 -45
  153. package/dist/src/Typography.d.ts.map +1 -1
  154. package/dist/src/labs/DatePicker.d.ts +5 -1
  155. package/dist/src/labs/DatePicker.d.ts.map +1 -1
  156. package/dist/src/labs/PaginatedTable.d.ts.map +1 -1
  157. package/dist/src/labs/StaticTable.d.ts.map +1 -1
  158. package/dist/src/theme/components.d.ts.map +1 -1
  159. package/dist/theme/components.js +38 -10
  160. package/dist/theme/components.js.map +1 -1
  161. package/dist/tsconfig.production.tsbuildinfo +1 -1
  162. package/package.json +6 -5
  163. package/src/Autocomplete.tsx +13 -2
  164. package/src/Banner.tsx +11 -2
  165. package/src/Box.tsx +11 -5
  166. package/src/Button.tsx +6 -1
  167. package/src/Callout.tsx +5 -3
  168. package/src/Checkbox.tsx +14 -4
  169. package/src/CheckboxGroup.tsx +6 -10
  170. package/src/CircularProgress.tsx +5 -1
  171. package/src/Dialog.tsx +5 -2
  172. package/src/Field.tsx +2 -0
  173. package/src/FieldError.tsx +5 -3
  174. package/src/FieldHint.tsx +9 -3
  175. package/src/FieldLabel.tsx +5 -3
  176. package/src/Fieldset.tsx +4 -1
  177. package/src/Form.tsx +7 -4
  178. package/src/Link.tsx +18 -3
  179. package/src/MenuButton.tsx +33 -4
  180. package/src/MenuItem.tsx +11 -6
  181. package/src/NativeSelect.tsx +7 -2
  182. package/src/OdysseyI18n.ts +2 -0
  183. package/src/OdysseyProvider.tsx +9 -6
  184. package/src/OdysseyThemeProvider.tsx +4 -6
  185. package/src/OdysseyTranslationProvider.types.ts +1 -0
  186. package/src/PasswordField.tsx +18 -10
  187. package/src/Radio.tsx +5 -1
  188. package/src/RadioGroup.tsx +12 -4
  189. package/src/SearchField.tsx +23 -15
  190. package/src/Select.tsx +16 -6
  191. package/src/SeleniumProps.ts +20 -0
  192. package/src/Status.tsx +15 -3
  193. package/src/Tabs.tsx +18 -4
  194. package/src/Tag.tsx +12 -3
  195. package/src/TagList.tsx +4 -2
  196. package/src/TextField.tsx +14 -2
  197. package/src/Toast.tsx +4 -1
  198. package/src/Tooltip.tsx +4 -1
  199. package/src/Typography.tsx +76 -28
  200. package/src/labs/DatePicker.tsx +15 -7
  201. package/src/labs/PaginatedTable.tsx +12 -3
  202. package/src/labs/README.md +2 -2
  203. package/src/labs/StaticTable.tsx +13 -3
  204. package/src/theme/components.tsx +43 -9
@@ -1 +1 @@
1
- {"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,MAAM,EAAE,MAAM,UA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B,QAAA,MAAM,YAAY,wLAhDf,SAAS,iBAgDmB,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { ReactElement } from "react";
13
+ import type { SeleniumProps } from "./SeleniumProps";
13
14
  export declare const linkVariantValues: readonly ["default", "monochrome"];
14
15
  export type LinkProps = {
15
16
  /**
@@ -36,7 +37,7 @@ export type LinkProps = {
36
37
  * The visual presentation of the Link (default or monochrome)
37
38
  */
38
39
  variant?: (typeof linkVariantValues)[number];
39
- };
40
- declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, target, rel, variant }: LinkProps) => JSX.Element>;
40
+ } & SeleniumProps;
41
+ declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, rel, target, testId, variant, }: LinkProps) => JSX.Element>;
41
42
  export { MemoizedLink as Link };
42
43
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAK3C,eAAO,MAAM,iBAAiB,oCAAqC,CAAC;AAEpE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EACH,OAAO,GACP,QAAQ,GACR,SAAS,GACT,MAAM,GACN,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9C,CAAC;AAgBF,QAAA,MAAM,YAAY,uFAd4C,SAAS,iBAcxC,CAAC;AAIhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,eAAO,MAAM,iBAAiB,oCAAqC,CAAC;AAEpE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EACH,OAAO,GACP,QAAQ,GACR,SAAS,GACT,MAAM,GACN,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9C,GAAG,aAAa,CAAC;AA8BlB,QAAA,MAAM,YAAY,gGApBf,SAAS,iBAoBmB,CAAC;AAIhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
@@ -9,10 +9,11 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- import { buttonVariantValues, MenuItem } from "./";
12
+ import { buttonSizeValues, buttonVariantValues, MenuItem } from "./";
13
13
  import { Divider, ListSubheader } from "@mui/material";
14
14
  import { type ReactElement } from "react";
15
15
  import { NullElement } from "./NullElement";
16
+ import type { SeleniumProps } from "./SeleniumProps";
16
17
  export type MenuButtonProps = {
17
18
  /**
18
19
  * The ARIA label for the Button
@@ -46,6 +47,14 @@ export type MenuButtonProps = {
46
47
  * The id of the Button
47
48
  */
48
49
  id?: string;
50
+ /**
51
+ * If the MenuButton is an overflow menu or standard menu.
52
+ */
53
+ isOverflow?: boolean;
54
+ /**
55
+ * The size of the button
56
+ */
57
+ size?: (typeof buttonSizeValues)[number];
49
58
  /**
50
59
  * The tooltip text for the Button if it's icon-only
51
60
  */
@@ -62,7 +71,7 @@ export type MenuButtonProps = {
62
71
  ariaLabel?: string;
63
72
  ariaLabelledBy: string;
64
73
  buttonLabel?: undefined | "";
65
- });
66
- declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, endIcon, id: idOverride, tooltipText, }: MenuButtonProps) => JSX.Element>;
74
+ }) & SeleniumProps;
75
+ declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, endIcon: endIconProp, id: idOverride, isOverflow, size, testId, tooltipText, }: MenuButtonProps) => JSX.Element>;
67
76
  export { MemoizedMenuButton as MenuButton };
68
77
  //# sourceMappingURL=MenuButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAU,mBAAmB,EAAE,QAAQ,EAAe,MAAM,IAAI,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAQ,MAAM,eAAe,CAAC;AAE7D,OAAO,EAAQ,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,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,CACJ,GACC,aAAa,CAAC;AAqFhB,QAAA,MAAM,kBAAkB,2MAtErB,eAAe,iBAsEyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { MenuItemProps as MuiMenuItemProps } from "@mui/material";
13
13
  import { type ReactNode } from "react";
14
+ import type { SeleniumProps } from "./SeleniumProps";
14
15
  export type MenuItemProps = {
15
16
  /**
16
17
  * The content of the menu item.
@@ -25,9 +26,9 @@ export type MenuItemProps = {
25
26
  */
26
27
  isSelected?: boolean;
27
28
  /**
28
- * If `true`, the menu item will be visually marked as destructive.
29
+ * If `true`, the menu item will be visually marked as disabled.
29
30
  */
30
- isDestructive?: boolean;
31
+ isDisabled?: boolean;
31
32
  /**
32
33
  * Callback fired when the menu item is clicked.
33
34
  */
@@ -42,7 +43,7 @@ export type MenuItemProps = {
42
43
  * - "destructive": A variant indicating a destructive action.
43
44
  */
44
45
  variant?: "default" | "destructive";
45
- };
46
- declare const MemoizedMenuItem: import("react").MemoExoticComponent<({ children, hasInitialFocus, isSelected, onClick: onClickProp, value, variant, }: MenuItemProps) => JSX.Element>;
46
+ } & SeleniumProps;
47
+ declare const MemoizedMenuItem: import("react").MemoExoticComponent<({ children, hasInitialFocus, isSelected, isDisabled, onClick: onClickProp, testId, value, variant, }: MenuItemProps) => JSX.Element>;
47
48
  export { MemoizedMenuItem as MenuItem };
48
49
  //# sourceMappingURL=MenuItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,SAAS,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E,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ReactElement } from "react";
13
13
  import { SelectProps as MuiSelectProps } from "@mui/material";
14
+ import type { SeleniumProps } from "./SeleniumProps";
14
15
  export type NativeSelectOption = {
15
16
  text: string;
16
17
  value?: string;
@@ -69,7 +70,60 @@ export type NativeSelectProps = {
69
70
  * The value or values selected in the NativeSelect
70
71
  */
71
72
  value?: string | string[];
72
- };
73
- declare const MemoizedNativeSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<NativeSelectProps & import("react").RefAttributes<HTMLSelectElement>>>;
73
+ } & SeleniumProps;
74
+ declare const MemoizedNativeSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
75
+ /**
76
+ * The options or optgroup elements within the NativeSelect
77
+ */
78
+ children?: ReactElement<"option", string | import("react").JSXElementConstructor<any>> | ReactElement<"optgroup", string | import("react").JSXElementConstructor<any>> | undefined;
79
+ /**
80
+ * The default value of the NativeSelect. Only applicable if `value` is not provided
81
+ */
82
+ defaultValue?: string | undefined;
83
+ /**
84
+ * The error message for the NativeSelect
85
+ */
86
+ errorMessage?: string | undefined;
87
+ /**
88
+ * The hint text for the NativeSelect
89
+ */
90
+ hint?: string | undefined;
91
+ /**
92
+ * The id attribute of the NativeSelect
93
+ */
94
+ id?: string | undefined;
95
+ /**
96
+ * If `true`, the NativeSelect is disabled
97
+ */
98
+ isDisabled?: boolean | undefined;
99
+ /**
100
+ * If `true`, the NativeSelect allows multiple selections
101
+ */
102
+ isMultiSelect?: boolean | undefined;
103
+ /**
104
+ * If `true`, the NativeSelect is optional
105
+ */
106
+ isOptional?: boolean | undefined;
107
+ /**
108
+ * The label text for the NativeSelect
109
+ */
110
+ label: string;
111
+ /**
112
+ * Callback fired when the NativeSelect loses focus
113
+ */
114
+ onBlur?: MuiSelectProps["onBlur"];
115
+ /**
116
+ * Callback fired when the value of the NativeSelect changes
117
+ */
118
+ onChange?: MuiSelectProps["onChange"];
119
+ /**
120
+ * Callback fired when the NativeSelect gains focus
121
+ */
122
+ onFocus?: MuiSelectProps["onFocus"];
123
+ /**
124
+ * The value or values selected in the NativeSelect
125
+ */
126
+ value?: string | string[] | undefined;
127
+ } & SeleniumProps & import("react").RefAttributes<HTMLSelectElement>>>;
74
128
  export { MemoizedNativeSelect as NativeSelect };
75
129
  //# sourceMappingURL=NativeSelect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../src/NativeSelect.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAiC,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAG9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;IAC7D;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;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,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAqElB,QAAA,MAAM,oBAAoB;IAzHxB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;aACM,cAAc,CAAC,QAAQ,CAAC;IACjC;;OAEG;eACQ,cAAc,CAAC,UAAU,CAAC;IACrC;;OAEG;cACO,cAAc,CAAC,SAAS,CAAC;IACnC;;OAEG;;sEAuE0C,CAAC;AAGhD,OAAO,EAAE,oBAAoB,IAAI,YAAY,EAAE,CAAC"}
@@ -394,6 +394,21 @@ export declare const resources: {
394
394
  "table.rows.text_plural": string;
395
395
  "toast.close.text": string;
396
396
  };
397
+ vi: {
398
+ "fielderror.screenreader.text": string;
399
+ "fieldlabel.optional.text": string;
400
+ "fieldlabel.required.text": string;
401
+ "severity.error": string;
402
+ "severity.info": string;
403
+ "severity.success": string;
404
+ "severity.warning": string;
405
+ "table.error": string;
406
+ "table.fetchedrows.text": string;
407
+ "table.fetchedrows.text_plural": string;
408
+ "table.rows.text": string;
409
+ "table.rows.text_plural": string;
410
+ "toast.close.text": string;
411
+ };
397
412
  zh_CN: {
398
413
  "fielderror.screenreader.text": string;
399
414
  "fieldlabel.optional.text": string;
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyI18n.d.ts","sourceRoot":"","sources":["../../src/OdysseyI18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BrB,CAAC;AAwBF,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAC1D,yBAAyB,GACzB,+BAA+B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AA0BJ,QAAA,MAAM,qBAAqB,qJAhBxB,oBAAoB,iBAgB4B,CAAC;AAEpD,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAC1D,yBAAyB,GACzB,+BAA+B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AA4BJ,QAAA,MAAM,qBAAqB,qJAlBxB,oBAAoB,iBAkB4B,CAAC;AAEpD,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAqB,YAAY,EAAE,MAAM,eAAe,CAAC;AAEhE,OAAO,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAItE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AAgCF,QAAA,MAAM,4BAA4B,2FA1B/B,yBAAyB,iBA0BmC,CAAC;AAEhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAItE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AA8BF,QAAA,MAAM,4BAA4B,2FAxB/B,yBAAyB,iBAwBmC,CAAC;AAEhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
@@ -9,6 +9,6 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- export declare const supportedLanguages: readonly ["cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "id", "it", "ja", "ko", "ms", "nb", "nl_NL", "ok_PL", "ok_SK", "pl", "pt_BR", "ro", "ru", "sv", "th", "tr", "uk", "zh_CN", "zh_TW"];
12
+ export declare const supportedLanguages: readonly ["cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "id", "it", "ja", "ko", "ms", "nb", "nl_NL", "ok_PL", "ok_SK", "pl", "pt_BR", "ro", "ru", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW"];
13
13
  export type SupportedLanguages = (typeof supportedLanguages)[number];
14
14
  //# sourceMappingURL=OdysseyTranslationProvider.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyTranslationProvider.types.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,kBAAkB,qMA6BrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"OdysseyTranslationProvider.types.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,kBAAkB,2MA8BrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { ChangeEventHandler, FocusEventHandler } from "react";
13
+ import type { SeleniumProps } from "./SeleniumProps";
13
14
  export type PasswordFieldProps = {
14
15
  /**
15
16
  * This prop helps users to fill forms faster, especially on mobile devices.
@@ -49,6 +50,10 @@ export type PasswordFieldProps = {
49
50
  * The label for the `input` element.
50
51
  */
51
52
  label: string;
53
+ /**
54
+ * The name of the `input` element. Defaults to the `id` if not set.
55
+ */
56
+ name?: string;
52
57
  /**
53
58
  * Callback fired when the `input` element loses focus.
54
59
  */
@@ -69,7 +74,70 @@ export type PasswordFieldProps = {
69
74
  * The value of the `input` element, required for a controlled component.
70
75
  */
71
76
  value?: string;
72
- };
73
- declare const MemoizedPasswordField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<PasswordFieldProps & import("react").RefAttributes<HTMLInputElement>>>;
77
+ } & SeleniumProps;
78
+ declare const MemoizedPasswordField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
79
+ /**
80
+ * This prop helps users to fill forms faster, especially on mobile devices.
81
+ * The name can be confusing, as it's more like an autofill.
82
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
83
+ */
84
+ autoCompleteType?: "current-password" | "new-password" | undefined;
85
+ /**
86
+ * If `error` is not undefined, the `input` will indicate an error.
87
+ */
88
+ errorMessage?: string | undefined;
89
+ /**
90
+ * If `true`, the component will receive focus automatically.
91
+ */
92
+ hasInitialFocus?: boolean | undefined;
93
+ /**
94
+ * The helper text content.
95
+ */
96
+ hint?: string | undefined;
97
+ /**
98
+ * The id of the `input` element.
99
+ */
100
+ id?: string | undefined;
101
+ /**
102
+ * If `true`, the component is disabled.
103
+ */
104
+ isDisabled?: boolean | undefined;
105
+ /**
106
+ * If `true`, the `input` element is not required.
107
+ */
108
+ isOptional?: boolean | undefined;
109
+ /**
110
+ * It prevents the user from changing the value of the field
111
+ */
112
+ isReadOnly?: boolean | undefined;
113
+ /**
114
+ * The label for the `input` element.
115
+ */
116
+ label: string;
117
+ /**
118
+ * The name of the `input` element. Defaults to the `id` if not set.
119
+ */
120
+ name?: string | undefined;
121
+ /**
122
+ * Callback fired when the `input` element loses focus.
123
+ */
124
+ onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
125
+ /**
126
+ * Callback fired when the value is changed.
127
+ */
128
+ onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
129
+ /**
130
+ * Callback fired when the `input` element get focus.
131
+ */
132
+ onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
133
+ /**
134
+ * The short hint displayed in the `input` before the user enters a value.
135
+ */
136
+ placeholder?: string | undefined;
137
+ /**
138
+ * The value of the `input` element, required for a controlled component.
139
+ */
140
+ value?: string | undefined;
141
+ } & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
74
142
  export { MemoizedPasswordField as PasswordField };
75
143
  //# sourceMappingURL=PasswordField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAMf,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,cAAc,CAAC;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;I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BAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAiGlB,QAAA,MAAM,qBAAqB;IA/JzB;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEAmG4C,CAAC;AAGlD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  /// <reference types="react" />
13
+ import type { SeleniumProps } from "./SeleniumProps";
13
14
  export type RadioProps = {
14
15
  /**
15
16
  * If `true`, the Radio is selected
@@ -35,7 +36,7 @@ export type RadioProps = {
35
36
  * The value attribute of the Radio
36
37
  */
37
38
  value: string;
38
- };
39
- declare const MemoizedRadio: import("react").MemoExoticComponent<({ isChecked, isDisabled, isInvalid, label, name, value, }: RadioProps) => JSX.Element>;
39
+ } & SeleniumProps;
40
+ declare const MemoizedRadio: import("react").MemoExoticComponent<({ isChecked, isDisabled, isInvalid, label, name, testId, value, }: RadioProps) => JSX.Element>;
40
41
  export { MemoizedRadio as Radio };
41
42
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAOH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAqBF,QAAA,MAAM,aAAa,kGAZhB,UAAU,iBAYoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAOH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,aAAa,CAAC;AAuBlB,QAAA,MAAM,aAAa,0GAbhB,UAAU,iBAaoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ChangeEventHandler, ReactElement } from "react";
13
13
  import { Radio, RadioProps } from "./Radio";
14
+ import type { SeleniumProps } from "./SeleniumProps";
14
15
  export type RadioGroupProps = {
15
16
  /**
16
17
  * The Radio components within the group. Must include two or more.
@@ -29,7 +30,7 @@ export type RadioGroupProps = {
29
30
  */
30
31
  hint?: string;
31
32
  /**
32
- * The id of the `input` element. This will also be the input's `name` field.
33
+ * The id of the `input` element.
33
34
  */
34
35
  id?: string;
35
36
  /**
@@ -40,6 +41,10 @@ export type RadioGroupProps = {
40
41
  * The text label for the RadioGroup
41
42
  */
42
43
  label: string;
44
+ /**
45
+ * The name of the `input` element. Defaults to the `id` if not set.
46
+ */
47
+ name?: string;
43
48
  /**
44
49
  * Listen for changes in the browser that change `value`
45
50
  */
@@ -48,7 +53,7 @@ export type RadioGroupProps = {
48
53
  * The `value` on the selected Radio
49
54
  */
50
55
  value?: RadioProps["value"];
51
- };
52
- declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, id: idOverride, isDisabled, label, onChange, value, }: RadioGroupProps) => JSX.Element>;
56
+ } & SeleniumProps;
57
+ declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, id: idOverride, isDisabled, label, name: nameOverride, onChange, testId, value, }: RadioGroupProps) => JSX.Element>;
53
58
  export { MemoizedRadioGroup as RadioGroup };
54
59
  //# sourceMappingURL=RadioGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,kBAAkB,EAAQ,YAAY,EAAe,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CA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EG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B,GAAG,aAAa,CAAC;AA8ClB,QAAA,MAAM,kBAAkB,wKAhCrB,eAAe,iBAgCyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -10,6 +10,7 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes } from "react";
13
+ import type { SeleniumProps } from "./SeleniumProps";
13
14
  export type SearchFieldProps = {
14
15
  /**
15
16
  * This prop helps users to fill forms faster, especially on mobile devices.
@@ -33,6 +34,10 @@ export type SearchFieldProps = {
33
34
  * This label won't show up visually, but it's required for accessibility.
34
35
  */
35
36
  label: string;
37
+ /**
38
+ * The name of the `input` element. Defaults to the `id` if not set.
39
+ */
40
+ name?: string;
36
41
  /**
37
42
  * Callback fired when the `input` element loses focus.
38
43
  */
@@ -57,7 +62,58 @@ export type SearchFieldProps = {
57
62
  * The value of the `input` element, required for a controlled component.
58
63
  */
59
64
  value?: string;
60
- };
61
- declare const MemoizedSearchField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SearchFieldProps & import("react").RefAttributes<HTMLInputElement>>>;
65
+ } & SeleniumProps;
66
+ declare const MemoizedSearchField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
67
+ /**
68
+ * This prop helps users to fill forms faster, especially on mobile devices.
69
+ * The name can be confusing, as it's more like an autofill.
70
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
71
+ */
72
+ autoCompleteType?: InputHTMLAttributes<HTMLInputElement>["autoComplete"];
73
+ /**
74
+ * If `true`, the component will receive focus automatically.
75
+ */
76
+ hasInitialFocus?: boolean | undefined;
77
+ /**
78
+ * The id of the `input` element.
79
+ */
80
+ id?: string | undefined;
81
+ /**
82
+ * If `true`, the component is disabled.
83
+ */
84
+ isDisabled?: boolean | undefined;
85
+ /**
86
+ * This label won't show up visually, but it's required for accessibility.
87
+ */
88
+ label: string;
89
+ /**
90
+ * The name of the `input` element. Defaults to the `id` if not set.
91
+ */
92
+ name?: string | undefined;
93
+ /**
94
+ * Callback fired when the `input` element loses focus.
95
+ */
96
+ onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
97
+ /**
98
+ * Callback fired when the clear button is pressed.
99
+ */
100
+ onClear?: (() => void) | undefined;
101
+ /**
102
+ * Callback fired when the value is changed.
103
+ */
104
+ onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
105
+ /**
106
+ * Callback fired when the `input` element get focus.
107
+ */
108
+ onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
109
+ /**
110
+ * The short hint displayed in the `input` before the user enters a value.
111
+ */
112
+ placeholder?: string | undefined;
113
+ /**
114
+ * The value of the `input` element, required for a controlled component.
115
+ */
116
+ value?: string | undefined;
117
+ } & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
62
118
  export { MemoizedSearchField as SearchField };
63
119
  //# sourceMappingURL=SearchField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAGpB,MAAM,OAAO,CAAC;AAMf,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;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IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAkHlB,QAAA,MAAM,mBAAmB;IApKvB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;qBACa,IAAI;IACpB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEAoHwC,CAAC;AAG9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  /// <reference types="react" />
13
13
  import { SelectProps as MuiSelectProps } from "@mui/material";
14
+ import type { SeleniumProps } from "./SeleniumProps";
14
15
  export type SelectOption = {
15
16
  text: string;
16
17
  type?: "heading" | "option";
@@ -45,6 +46,10 @@ export type SelectProps = {
45
46
  * The label text for the Select
46
47
  */
47
48
  label: string;
49
+ /**
50
+ * The name of the `input` element. Defaults to the `id` if not set.
51
+ */
52
+ name?: string;
48
53
  /**
49
54
  * Callback fired when the Select loses focus
50
55
  */
@@ -65,7 +70,60 @@ export type SelectProps = {
65
70
  * The value or values selected in the Select
66
71
  */
67
72
  value?: string | string[];
68
- };
69
- declare const MemoizedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLSelectElement>>>;
73
+ } & SeleniumProps;
74
+ declare const MemoizedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
75
+ /**
76
+ * The error message for the Select
77
+ */
78
+ errorMessage?: string | undefined;
79
+ /**
80
+ * The hint text for the Select
81
+ */
82
+ hint?: string | undefined;
83
+ /**
84
+ * The id attribute of the Select
85
+ */
86
+ id?: string | undefined;
87
+ /**
88
+ * If `true`, the Select is disabled
89
+ */
90
+ isDisabled?: boolean | undefined;
91
+ /**
92
+ * If `true`, the Select allows multiple selections
93
+ */
94
+ isMultiSelect?: boolean | undefined;
95
+ /**
96
+ * If `true`, the Select is optional
97
+ */
98
+ isOptional?: boolean | undefined;
99
+ /**
100
+ * The label text for the Select
101
+ */
102
+ label: string;
103
+ /**
104
+ * The name of the `input` element. Defaults to the `id` if not set.
105
+ */
106
+ name?: string | undefined;
107
+ /**
108
+ * Callback fired when the Select loses focus
109
+ */
110
+ onBlur?: MuiSelectProps["onBlur"];
111
+ /**
112
+ * Callback fired when the value of the Select changes
113
+ */
114
+ onChange?: MuiSelectProps["onChange"];
115
+ /**
116
+ * Callback fired when the Select gains focus
117
+ */
118
+ onFocus?: MuiSelectProps["onFocus"];
119
+ /**
120
+ * The options for the Select
121
+ */
122
+ options: (string | SelectOption)[];
123
+ /**
124
+ * The value or values selected in the Select
125
+ */
126
+ value?: string | string[] | undefined;
127
+ } & SeleniumProps & import("react").RefAttributes<HTMLSelectElement>>>;
70
128
  export { MemoizedSelect as Select };
71
129
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAWH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAI9D,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;I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ACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAyLlB,QAAA,MAAM,cAAc;IA7OlB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;aACM,cAAc,CAAC,QAAQ,CAAC;IACjC;;OAEG;eACQ,cAAc,CAAC,UAAU,CAAC;IACrC;;OAEG;cACO,cAAc,CAAC,SAAS,CAAC;IACnC;;OAEG;aACM,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE;IAClC;;OAEG;;sEA2L8B,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ /*!
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ export type SeleniumProps = {
13
+ /**
14
+ * This prop puts a `data` attribute on an HTML element in this component with the value provided.
15
+ *
16
+ * @deprecated **WARNING:** You should be using Semantic Selectors instead of this property. This is a temporary measure for backwards compatibility with existing Selenium tests.
17
+ */
18
+ testId?: string;
19
+ };
20
+ //# sourceMappingURL=SeleniumProps.d.ts.map
@@ -0,0 +1 @@
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"}