@okta/odyssey-react-mui 0.22.0 → 0.23.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 (280) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/Autocomplete.js +5 -1
  3. package/dist/Autocomplete.js.map +1 -1
  4. package/dist/Banner.js +3 -3
  5. package/dist/Banner.js.map +1 -1
  6. package/dist/Button.js +8 -8
  7. package/dist/Button.js.map +1 -1
  8. package/dist/CheckboxGroup.js +23 -35
  9. package/dist/CheckboxGroup.js.map +1 -1
  10. package/dist/Dialog.js +68 -0
  11. package/dist/Dialog.js.map +1 -0
  12. package/dist/Field.js +18 -5
  13. package/dist/Field.js.map +1 -1
  14. package/dist/FieldLabel.js +3 -3
  15. package/dist/FieldLabel.js.map +1 -1
  16. package/dist/Icon.js +7 -6
  17. package/dist/Icon.js.map +1 -1
  18. package/dist/Infobox.js +1 -1
  19. package/dist/Infobox.js.map +1 -1
  20. package/dist/Link.js +5 -2
  21. package/dist/Link.js.map +1 -1
  22. package/dist/MenuButton.js +3 -2
  23. package/dist/MenuButton.js.map +1 -1
  24. package/dist/MuiPropsChild.js +30 -0
  25. package/dist/MuiPropsChild.js.map +1 -0
  26. package/dist/MuiPropsContext.js +14 -0
  27. package/dist/MuiPropsContext.js.map +1 -0
  28. package/dist/PasswordField.js +8 -3
  29. package/dist/PasswordField.js.map +1 -1
  30. package/dist/RadioGroup.js +25 -26
  31. package/dist/RadioGroup.js.map +1 -1
  32. package/dist/SearchField.js +6 -4
  33. package/dist/SearchField.js.map +1 -1
  34. package/dist/Status.js.map +1 -1
  35. package/dist/TextField.js +17 -8
  36. package/dist/TextField.js.map +1 -1
  37. package/dist/Toast.js +72 -0
  38. package/dist/Toast.js.map +1 -0
  39. package/dist/ToastStack.js +33 -0
  40. package/dist/ToastStack.js.map +1 -0
  41. package/dist/Tooltip.js +20 -0
  42. package/dist/Tooltip.js.map +1 -0
  43. package/dist/iconDictionary/Add.js +4 -4
  44. package/dist/iconDictionary/Add.js.map +1 -1
  45. package/dist/iconDictionary/AddCircle.js +4 -4
  46. package/dist/iconDictionary/AddCircle.js.map +1 -1
  47. package/dist/iconDictionary/AlertCircle.js +4 -4
  48. package/dist/iconDictionary/AlertCircle.js.map +1 -1
  49. package/dist/iconDictionary/AlertCircleFilled.js +4 -4
  50. package/dist/iconDictionary/AlertCircleFilled.js.map +1 -1
  51. package/dist/iconDictionary/AlertTriangleFilled.js +4 -4
  52. package/dist/iconDictionary/AlertTriangleFilled.js.map +1 -1
  53. package/dist/iconDictionary/Anchor.js +5 -5
  54. package/dist/iconDictionary/Anchor.js.map +1 -1
  55. package/dist/iconDictionary/ArrowDown.js +4 -4
  56. package/dist/iconDictionary/ArrowDown.js.map +1 -1
  57. package/dist/iconDictionary/ArrowLeft.js +4 -4
  58. package/dist/iconDictionary/ArrowLeft.js.map +1 -1
  59. package/dist/iconDictionary/ArrowRight.js +4 -4
  60. package/dist/iconDictionary/ArrowRight.js.map +1 -1
  61. package/dist/iconDictionary/ArrowUp.js +4 -4
  62. package/dist/iconDictionary/ArrowUp.js.map +1 -1
  63. package/dist/iconDictionary/ArrowUpDown.js +4 -4
  64. package/dist/iconDictionary/ArrowUpDown.js.map +1 -1
  65. package/dist/iconDictionary/Calendar.js +4 -4
  66. package/dist/iconDictionary/Calendar.js.map +1 -1
  67. package/dist/iconDictionary/Check.js +4 -4
  68. package/dist/iconDictionary/Check.js.map +1 -1
  69. package/dist/iconDictionary/CheckCircleFilled.js +4 -4
  70. package/dist/iconDictionary/CheckCircleFilled.js.map +1 -1
  71. package/dist/iconDictionary/ChevronDown.js +4 -4
  72. package/dist/iconDictionary/ChevronDown.js.map +1 -1
  73. package/dist/iconDictionary/ChevronUp.js +4 -4
  74. package/dist/iconDictionary/ChevronUp.js.map +1 -1
  75. package/dist/iconDictionary/Close.js +4 -4
  76. package/dist/iconDictionary/Close.js.map +1 -1
  77. package/dist/iconDictionary/CloseCircleFilled.js +4 -4
  78. package/dist/iconDictionary/CloseCircleFilled.js.map +1 -1
  79. package/dist/iconDictionary/Copy.js +4 -4
  80. package/dist/iconDictionary/Copy.js.map +1 -1
  81. package/dist/iconDictionary/Delete.js +4 -4
  82. package/dist/iconDictionary/Delete.js.map +1 -1
  83. package/dist/iconDictionary/Download.js +4 -4
  84. package/dist/iconDictionary/Download.js.map +1 -1
  85. package/dist/iconDictionary/DragHandle.js +4 -4
  86. package/dist/iconDictionary/DragHandle.js.map +1 -1
  87. package/dist/iconDictionary/Edit.js +4 -4
  88. package/dist/iconDictionary/Edit.js.map +1 -1
  89. package/dist/iconDictionary/ExternalLink.js +4 -4
  90. package/dist/iconDictionary/ExternalLink.js.map +1 -1
  91. package/dist/iconDictionary/Eye.js +4 -4
  92. package/dist/iconDictionary/Eye.js.map +1 -1
  93. package/dist/iconDictionary/EyeOff.js +4 -4
  94. package/dist/iconDictionary/EyeOff.js.map +1 -1
  95. package/dist/iconDictionary/Filter.js +4 -4
  96. package/dist/iconDictionary/Filter.js.map +1 -1
  97. package/dist/iconDictionary/Globe.js +4 -4
  98. package/dist/iconDictionary/Globe.js.map +1 -1
  99. package/dist/iconDictionary/Home.js +4 -4
  100. package/dist/iconDictionary/Home.js.map +1 -1
  101. package/dist/iconDictionary/InformationCircle.js +4 -4
  102. package/dist/iconDictionary/InformationCircle.js.map +1 -1
  103. package/dist/iconDictionary/InformationCircleFilled.js +4 -4
  104. package/dist/iconDictionary/InformationCircleFilled.js.map +1 -1
  105. package/dist/iconDictionary/Notification.js +4 -4
  106. package/dist/iconDictionary/Notification.js.map +1 -1
  107. package/dist/iconDictionary/OverflowVertical.js +4 -4
  108. package/dist/iconDictionary/OverflowVertical.js.map +1 -1
  109. package/dist/iconDictionary/QuestionCircle.js +4 -4
  110. package/dist/iconDictionary/QuestionCircle.js.map +1 -1
  111. package/dist/iconDictionary/QuestionCircleFilled.js +4 -4
  112. package/dist/iconDictionary/QuestionCircleFilled.js.map +1 -1
  113. package/dist/iconDictionary/Search.js +4 -4
  114. package/dist/iconDictionary/Search.js.map +1 -1
  115. package/dist/iconDictionary/Settings.js +3 -3
  116. package/dist/iconDictionary/Settings.js.map +1 -1
  117. package/dist/iconDictionary/Subtract.js +4 -4
  118. package/dist/iconDictionary/Subtract.js.map +1 -1
  119. package/dist/iconDictionary/User.js +4 -4
  120. package/dist/iconDictionary/User.js.map +1 -1
  121. package/dist/iconDictionary/UserGroup.js +4 -4
  122. package/dist/iconDictionary/UserGroup.js.map +1 -1
  123. package/dist/iconDictionary/index.js.map +1 -1
  124. package/dist/index.js +5 -4
  125. package/dist/index.js.map +1 -1
  126. package/dist/src/Autocomplete.d.ts +2 -1
  127. package/dist/src/Autocomplete.d.ts.map +1 -1
  128. package/dist/src/Banner.d.ts +19 -19
  129. package/dist/src/Banner.d.ts.map +1 -1
  130. package/dist/src/Button.d.ts +4 -3
  131. package/dist/src/Button.d.ts.map +1 -1
  132. package/dist/src/CheckboxGroup.d.ts +7 -4
  133. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  134. package/dist/src/Dialog.d.ts +25 -0
  135. package/dist/src/Dialog.d.ts.map +1 -0
  136. package/dist/src/Field.d.ts +14 -3
  137. package/dist/src/Field.d.ts.map +1 -1
  138. package/dist/src/FieldLabel.d.ts +2 -2
  139. package/dist/src/Icon.d.ts +6 -7
  140. package/dist/src/Icon.d.ts.map +1 -1
  141. package/dist/src/Infobox.d.ts +7 -7
  142. package/dist/src/Infobox.d.ts.map +1 -1
  143. package/dist/src/Link.d.ts +9 -4
  144. package/dist/src/Link.d.ts.map +1 -1
  145. package/dist/src/MenuButton.d.ts +7 -3
  146. package/dist/src/MenuButton.d.ts.map +1 -1
  147. package/dist/src/MenuItem.d.ts +1 -1
  148. package/dist/src/MuiPropsChild.d.ts +18 -0
  149. package/dist/src/MuiPropsChild.d.ts.map +1 -0
  150. package/dist/src/MuiPropsContext.d.ts +15 -0
  151. package/dist/src/MuiPropsContext.d.ts.map +1 -0
  152. package/dist/src/PasswordField.d.ts +8 -8
  153. package/dist/src/PasswordField.d.ts.map +1 -1
  154. package/dist/src/RadioGroup.d.ts +8 -8
  155. package/dist/src/RadioGroup.d.ts.map +1 -1
  156. package/dist/src/SearchField.d.ts +4 -4
  157. package/dist/src/SearchField.d.ts.map +1 -1
  158. package/dist/src/Status.d.ts +2 -2
  159. package/dist/src/Status.d.ts.map +1 -1
  160. package/dist/src/TextField.d.ts +13 -12
  161. package/dist/src/TextField.d.ts.map +1 -1
  162. package/dist/src/Toast.d.ts +60 -0
  163. package/dist/src/Toast.d.ts.map +1 -0
  164. package/dist/src/ToastStack.d.ts +19 -0
  165. package/dist/src/ToastStack.d.ts.map +1 -0
  166. package/dist/src/Tooltip.d.ts +21 -0
  167. package/dist/src/Tooltip.d.ts.map +1 -0
  168. package/dist/src/iconDictionary/Add.d.ts +2 -2
  169. package/dist/src/iconDictionary/AddCircle.d.ts +2 -2
  170. package/dist/src/iconDictionary/AlertCircle.d.ts +2 -2
  171. package/dist/src/iconDictionary/AlertCircleFilled.d.ts +2 -2
  172. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +2 -2
  173. package/dist/src/iconDictionary/Anchor.d.ts +2 -2
  174. package/dist/src/iconDictionary/ArrowDown.d.ts +2 -2
  175. package/dist/src/iconDictionary/ArrowLeft.d.ts +2 -2
  176. package/dist/src/iconDictionary/ArrowRight.d.ts +2 -2
  177. package/dist/src/iconDictionary/ArrowUp.d.ts +2 -2
  178. package/dist/src/iconDictionary/ArrowUpDown.d.ts +2 -2
  179. package/dist/src/iconDictionary/Calendar.d.ts +2 -2
  180. package/dist/src/iconDictionary/Check.d.ts +2 -2
  181. package/dist/src/iconDictionary/CheckCircleFilled.d.ts +2 -2
  182. package/dist/src/iconDictionary/ChevronDown.d.ts +2 -2
  183. package/dist/src/iconDictionary/ChevronUp.d.ts +2 -2
  184. package/dist/src/iconDictionary/Close.d.ts +2 -2
  185. package/dist/src/iconDictionary/CloseCircleFilled.d.ts +2 -2
  186. package/dist/src/iconDictionary/Copy.d.ts +2 -2
  187. package/dist/src/iconDictionary/Delete.d.ts +2 -2
  188. package/dist/src/iconDictionary/Download.d.ts +2 -2
  189. package/dist/src/iconDictionary/DragHandle.d.ts +2 -2
  190. package/dist/src/iconDictionary/Edit.d.ts +2 -2
  191. package/dist/src/iconDictionary/ExternalLink.d.ts +2 -2
  192. package/dist/src/iconDictionary/Eye.d.ts +2 -2
  193. package/dist/src/iconDictionary/EyeOff.d.ts +2 -2
  194. package/dist/src/iconDictionary/Filter.d.ts +2 -2
  195. package/dist/src/iconDictionary/Globe.d.ts +2 -2
  196. package/dist/src/iconDictionary/Home.d.ts +2 -2
  197. package/dist/src/iconDictionary/InformationCircle.d.ts +2 -2
  198. package/dist/src/iconDictionary/InformationCircleFilled.d.ts +2 -2
  199. package/dist/src/iconDictionary/Notification.d.ts +2 -2
  200. package/dist/src/iconDictionary/OverflowVertical.d.ts +2 -2
  201. package/dist/src/iconDictionary/QuestionCircle.d.ts +2 -2
  202. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +2 -2
  203. package/dist/src/iconDictionary/Search.d.ts +2 -2
  204. package/dist/src/iconDictionary/Settings.d.ts +2 -2
  205. package/dist/src/iconDictionary/Subtract.d.ts +2 -2
  206. package/dist/src/iconDictionary/User.d.ts +2 -2
  207. package/dist/src/iconDictionary/UserGroup.d.ts +2 -2
  208. package/dist/src/iconDictionary/index.d.ts +40 -40
  209. package/dist/src/index.d.ts +8 -7
  210. package/dist/src/index.d.ts.map +1 -1
  211. package/dist/src/theme/components.d.ts.map +1 -1
  212. package/dist/theme/components.js +32 -12
  213. package/dist/theme/components.js.map +1 -1
  214. package/dist/tsconfig.production.tsbuildinfo +1 -1
  215. package/package.json +3 -3
  216. package/src/Autocomplete.tsx +10 -1
  217. package/src/Banner.tsx +21 -21
  218. package/src/Button.tsx +38 -18
  219. package/src/CheckboxGroup.tsx +27 -34
  220. package/src/Dialog.tsx +110 -0
  221. package/src/Field.tsx +42 -19
  222. package/src/FieldLabel.tsx +7 -7
  223. package/src/Icon.test.tsx +1 -1
  224. package/src/Icon.tsx +24 -7
  225. package/src/Infobox.tsx +7 -7
  226. package/src/Link.tsx +14 -6
  227. package/src/MenuButton.tsx +8 -3
  228. package/src/MuiPropsChild.tsx +41 -0
  229. package/src/MuiPropsContext.ts +17 -0
  230. package/src/PasswordField.tsx +17 -11
  231. package/src/RadioGroup.tsx +31 -46
  232. package/src/SearchField.tsx +10 -8
  233. package/src/Status.tsx +2 -2
  234. package/src/TextField.tsx +32 -21
  235. package/src/Toast.tsx +138 -0
  236. package/src/ToastStack.tsx +33 -0
  237. package/src/Tooltip.tsx +39 -0
  238. package/src/iconDictionary/Add.tsx +3 -3
  239. package/src/iconDictionary/AddCircle.tsx +3 -3
  240. package/src/iconDictionary/AlertCircle.tsx +3 -3
  241. package/src/iconDictionary/AlertCircleFilled.tsx +3 -3
  242. package/src/iconDictionary/AlertTriangleFilled.tsx +3 -3
  243. package/src/iconDictionary/Anchor.tsx +3 -3
  244. package/src/iconDictionary/ArrowDown.tsx +3 -3
  245. package/src/iconDictionary/ArrowLeft.tsx +3 -3
  246. package/src/iconDictionary/ArrowRight.tsx +3 -3
  247. package/src/iconDictionary/ArrowUp.tsx +3 -3
  248. package/src/iconDictionary/ArrowUpDown.tsx +3 -3
  249. package/src/iconDictionary/Calendar.tsx +3 -3
  250. package/src/iconDictionary/Check.tsx +3 -3
  251. package/src/iconDictionary/CheckCircleFilled.tsx +3 -3
  252. package/src/iconDictionary/ChevronDown.tsx +3 -3
  253. package/src/iconDictionary/ChevronUp.tsx +3 -3
  254. package/src/iconDictionary/Close.tsx +3 -3
  255. package/src/iconDictionary/CloseCircleFilled.tsx +3 -3
  256. package/src/iconDictionary/Copy.tsx +3 -3
  257. package/src/iconDictionary/Delete.tsx +3 -3
  258. package/src/iconDictionary/Download.tsx +3 -3
  259. package/src/iconDictionary/DragHandle.tsx +3 -3
  260. package/src/iconDictionary/Edit.tsx +3 -3
  261. package/src/iconDictionary/ExternalLink.tsx +3 -3
  262. package/src/iconDictionary/Eye.tsx +3 -3
  263. package/src/iconDictionary/EyeOff.tsx +3 -3
  264. package/src/iconDictionary/Filter.tsx +3 -3
  265. package/src/iconDictionary/Globe.tsx +3 -3
  266. package/src/iconDictionary/Home.tsx +3 -3
  267. package/src/iconDictionary/InformationCircle.tsx +3 -3
  268. package/src/iconDictionary/InformationCircleFilled.tsx +3 -3
  269. package/src/iconDictionary/Notification.tsx +3 -3
  270. package/src/iconDictionary/OverflowVertical.tsx +3 -3
  271. package/src/iconDictionary/QuestionCircle.tsx +3 -3
  272. package/src/iconDictionary/QuestionCircleFilled.tsx +3 -3
  273. package/src/iconDictionary/Search.tsx +3 -3
  274. package/src/iconDictionary/Settings.tsx +2 -2
  275. package/src/iconDictionary/Subtract.tsx +3 -3
  276. package/src/iconDictionary/User.tsx +3 -3
  277. package/src/iconDictionary/UserGroup.tsx +3 -3
  278. package/src/iconDictionary/index.ts +1 -1
  279. package/src/index.ts +4 -14
  280. package/src/theme/components.tsx +32 -9
@@ -11,26 +11,26 @@
11
11
  */
12
12
  import { AlertColor } from "@mui/material";
13
13
  import { ReactNode } from "react";
14
- export interface InfoboxProps {
14
+ export type InfoboxProps = {
15
15
  /**
16
16
  * The contents of the alert
17
17
  */
18
18
  children: ReactNode;
19
- /**
20
- * Determine the color and icon of the alert
21
- */
22
- severity: AlertColor;
23
19
  /**
24
20
  * Sets the ARIA role of the alert
25
21
  * ("status" for something that dynamically updates, "alert" for errors, null for something
26
22
  * unchanging)
27
23
  */
28
24
  role?: "status" | "alert";
25
+ /**
26
+ * Determine the color and icon of the alert
27
+ */
28
+ severity: AlertColor;
29
29
  /**
30
30
  * The title of the alert
31
31
  */
32
32
  title?: string;
33
- }
34
- declare const MemoizedInfobox: import("react").MemoExoticComponent<({ children, severity, role, title }: InfoboxProps) => JSX.Element>;
33
+ };
34
+ declare const MemoizedInfobox: import("react").MemoExoticComponent<({ children, role, severity, title }: InfoboxProps) => JSX.Element>;
35
35
  export { MemoizedInfobox as Infobox };
36
36
  //# sourceMappingURL=Infobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Infobox.d.ts","sourceRoot":"","sources":["../../src/Infobox.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAUD,QAAA,MAAM,eAAe,4EARiC,YAAY,iBAQ7B,CAAC;AAEtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"Infobox.d.ts","sourceRoot":"","sources":["../../src/Infobox.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAUF,QAAA,MAAM,eAAe,4EARiC,YAAY,iBAQ7B,CAAC;AAEtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
@@ -10,9 +10,14 @@
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 { LinkProps as MuiLinkProps } from "@mui/material";
14
- export interface LinkProps extends MuiLinkProps {
13
+ import { LinkProps as MuiLinkProps } from "@mui/material";
14
+ export type LinkProps = {
15
+ children: React.ReactNode;
16
+ href: string;
15
17
  icon?: ReactElement;
16
- }
17
- export declare const Link: import("react").ForwardRefExoticComponent<Pick<LinkProps, "classes" | "className" | "style" | "children" | "sx" | "variant" | "p" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "left" | "right" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "type" | "referrerPolicy" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "top" | "bottom" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping" | "TypographyClasses" | "underline" | "icon"> & import("react").RefAttributes<HTMLAnchorElement>>;
18
+ rel?: string;
19
+ target?: "_self" | "_blank" | "_parent" | "_top" | string;
20
+ variant?: MuiLinkProps["variant"];
21
+ };
22
+ export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
18
23
  //# 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,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,KAAK,EAAE,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,eAAO,MAAM,IAAI,mgMAoBf,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAc,YAAY,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAEL,SAAS,IAAI,YAAY,EAE1B,MAAM,eAAe,CAAC;AAEvB,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1D,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,IAAI,yGAoBf,CAAC"}
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { ButtonProps, Divider, ListSubheader, MenuItem } from "./";
13
13
  import { ReactElement } from "react";
14
- export interface MenuButtonProps {
14
+ export type MenuButtonProps = {
15
15
  /**
16
16
  * The <MenuItem> components within the Menu.
17
17
  */
@@ -28,7 +28,11 @@ export interface MenuButtonProps {
28
28
  * The variant of the triggering Button
29
29
  */
30
30
  buttonVariant?: ButtonProps["variant"];
31
- }
32
- declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ buttonLabel, children, buttonEndIcon, buttonVariant, }: MenuButtonProps) => JSX.Element>;
31
+ /**
32
+ * The id of the `input` element.
33
+ */
34
+ id?: string;
35
+ };
36
+ declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ buttonLabel, children, buttonEndIcon, buttonVariant, id: idOverride, }: MenuButtonProps) => JSX.Element>;
33
37
  export { MemoizedMenuButton as MenuButton };
34
38
  //# 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,EAEL,WAAW,EAEX,OAAO,EACP,aAAa,EAEb,QAAQ,EAET,MAAM,IAAI,CAAC;AACZ,OAAO,EAAoB,YAAY,EAAqB,MAAM,OAAO,CAAC;AAE1E,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,QAAQ,EAAE,KAAK,CACb,YAAY,CAAC,OAAO,QAAQ,GAAG,OAAO,OAAO,GAAG,OAAO,aAAa,CAAC,CACtE,CAAC;IACF;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACxC;AAoDD,QAAA,MAAM,kBAAkB,iGA7CrB,eAAe,iBA6CyB,CAAC;AAE5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,WAAW,EAEX,OAAO,EACP,aAAa,EAEb,QAAQ,EAET,MAAM,IAAI,CAAC;AACZ,OAAO,EAAoB,YAAY,EAAqB,MAAM,OAAO,CAAC;AAE1E,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CACb,YAAY,CAAC,OAAO,QAAQ,GAAG,OAAO,OAAO,GAAG,OAAO,aAAa,CAAC,CACtE,CAAC;IACF;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAqDF,QAAA,MAAM,kBAAkB,iHA7CrB,eAAe,iBA6CyB,CAAC;AAE5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -17,6 +17,6 @@ export interface MenuItemProps extends Omit<MuiMenuItemProps, "component" | "den
17
17
  */
18
18
  isDestructive?: boolean;
19
19
  }
20
- declare const MemoizedMenuItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "classes" | "className" | "style" | "children" | "sx" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "value" | "selected" | "isDestructive"> & import("react").RefAttributes<HTMLLIElement>>>;
20
+ declare const MemoizedMenuItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Pick<MenuItemProps, "classes" | "className" | "style" | "children" | "sx" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "value" | "action" | "selected" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "isDestructive"> & import("react").RefAttributes<HTMLLIElement>>>;
21
21
  export { MemoizedMenuItem as MenuItem };
22
22
  //# sourceMappingURL=MenuItem.d.ts.map
@@ -0,0 +1,18 @@
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
+ import { ReactNode } from "react";
13
+ export type MuiPropsChildProps = {
14
+ children: ReactNode;
15
+ };
16
+ declare const MemoizedMuiPropsChild: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MuiPropsChildProps & import("react").RefAttributes<HTMLElement>>>;
17
+ export { MemoizedMuiPropsChild as MuiPropsChild };
18
+ //# sourceMappingURL=MuiPropsChild.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MuiPropsChild.d.ts","sourceRoot":"","sources":["../../src/MuiPropsChild.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAoB,SAAS,EAAW,MAAM,OAAO,CAAC;AAI7D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAoBF,QAAA,MAAM,qBAAqB,iJAAsB,CAAC;AAElD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
@@ -0,0 +1,15 @@
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
+ /// <reference types="react" />
13
+ export type MuiPropsContextType = Record<string, unknown>;
14
+ export declare const MuiPropsContext: import("react").Context<MuiPropsContextType>;
15
+ //# sourceMappingURL=MuiPropsContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MuiPropsContext.d.ts","sourceRoot":"","sources":["../../src/MuiPropsContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAIH,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe,8CAAyC,CAAC"}
@@ -11,10 +11,6 @@
11
11
  */
12
12
  import { ChangeEventHandler, FocusEventHandler } from "react";
13
13
  export type PasswordFieldProps = {
14
- /**
15
- * If `true`, the component will receive focus automatically.
16
- */
17
- autoFocus?: boolean;
18
14
  /**
19
15
  * This prop helps users to fill forms faster, especially on mobile devices.
20
16
  * The name can be confusing, as it's more like an autofill.
@@ -25,6 +21,10 @@ export type PasswordFieldProps = {
25
21
  * If `error` is not undefined, the `input` will indicate an error.
26
22
  */
27
23
  errorMessage?: string;
24
+ /**
25
+ * If `true`, the component will receive focus automatically.
26
+ */
27
+ hasInitialFocus?: boolean;
28
28
  /**
29
29
  * The helper text content.
30
30
  */
@@ -38,13 +38,13 @@ export type PasswordFieldProps = {
38
38
  */
39
39
  isDisabled?: boolean;
40
40
  /**
41
- * It prevents the user from changing the value of the field
41
+ * If `true`, the `input` element is not required.
42
42
  */
43
- isReadOnly?: boolean;
43
+ isOptional?: boolean;
44
44
  /**
45
- * If `true`, the `input` element is required.
45
+ * It prevents the user from changing the value of the field
46
46
  */
47
- isRequired?: boolean;
47
+ isReadOnly?: boolean;
48
48
  /**
49
49
  * The label for the `input` element.
50
50
  */
@@ -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;AAKf,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,cAAc,CAAC;IACvD;;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,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,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,CAAC;AAuFF,QAAA,MAAM,qBAAqB,sJAAsB,CAAC;AAElD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
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;AAKf,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;IACH,MAAM,CAAC,EAAE,iBAAiB,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,CAAC;AA6FF,QAAA,MAAM,qBAAqB,sJAAsB,CAAC;AAElD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
@@ -10,8 +10,8 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import { ChangeEventHandler, ReactElement } from "react";
13
- import { Radio, RadioProps } from ".";
14
- export interface RadioGroupProps {
13
+ import { Radio, RadioProps } from "./Radio";
14
+ export type RadioGroupProps = {
15
15
  /**
16
16
  * The <Radio> components within the group. Must include two or more.
17
17
  */
@@ -28,6 +28,10 @@ export interface RadioGroupProps {
28
28
  * Optional hint text
29
29
  */
30
30
  hint?: string;
31
+ /**
32
+ * The id of the `input` element. This will also be the input's `name` field.
33
+ */
34
+ id?: string;
31
35
  /**
32
36
  * Disables the whole radio group
33
37
  */
@@ -36,10 +40,6 @@ export interface RadioGroupProps {
36
40
  * The text label for the radio group
37
41
  */
38
42
  label: string;
39
- /**
40
- * The name of the radio group, which only needs to be changed if there are multiple radio groups on the same screen
41
- */
42
- name?: string;
43
43
  /**
44
44
  * Listen for changes in the browser that change `value`.
45
45
  */
@@ -48,7 +48,7 @@ export interface RadioGroupProps {
48
48
  * The `value` on the selected radio button.
49
49
  */
50
50
  value?: RadioProps["value"];
51
- }
52
- declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, isDisabled, label, name, onChange, }: RadioGroupProps) => JSX.Element>;
51
+ };
52
+ declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, id: idOverride, isDisabled, label, onChange, value, }: RadioGroupProps) => JSX.Element>;
53
53
  export { MemoizedRadioGroup as RadioGroup };
54
54
  //# 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,EAAW,MAAM,OAAO,CAAC;AAExE,OAAO,EAIL,KAAK,EAGL,UAAU,EACX,MAAM,GAAG,CAAC;AAEX,MAAM,WAAW,eAAe;IAC9B;;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,CAAC,EAAE,MAAM,CAAC;IACd;;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,QAAQ,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B;AAmDD,QAAA,MAAM,kBAAkB,2HAxCrB,eAAe,iBAwCyB,CAAC;AAE5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
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,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B,CAAC;AA2CF,QAAA,MAAM,kBAAkB,4IA/BrB,eAAe,iBA+ByB,CAAC;AAE5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -11,16 +11,16 @@
11
11
  */
12
12
  import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes } from "react";
13
13
  export type SearchFieldProps = {
14
- /**
15
- * If `true`, the component will receive focus automatically.
16
- */
17
- autoFocus?: boolean;
18
14
  /**
19
15
  * This prop helps users to fill forms faster, especially on mobile devices.
20
16
  * The name can be confusing, as it's more like an autofill.
21
17
  * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
22
18
  */
23
19
  autoCompleteType?: InputHTMLAttributes<HTMLInputElement>["autoComplete"];
20
+ /**
21
+ * If `true`, the component will receive focus automatically.
22
+ */
23
+ hasInitialFocus?: boolean;
24
24
  /**
25
25
  * The id of the `input` element.
26
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAGpB,MAAM,OAAO,CAAC;AAKf,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,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,CAAC;AAiEF,QAAA,MAAM,mBAAmB,oJAAoB,CAAC;AAE9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAGpB,MAAM,OAAO,CAAC;AAKf,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;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,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,CAAC;AAmEF,QAAA,MAAM,mBAAmB,oJAAoB,CAAC;AAE9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
@@ -9,7 +9,7 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- export interface StatusProps {
12
+ export type StatusProps = {
13
13
  /**
14
14
  * Determine the color and icon of the alert
15
15
  */
@@ -18,6 +18,6 @@ export interface StatusProps {
18
18
  * The text content of the status
19
19
  */
20
20
  label: string;
21
- }
21
+ };
22
22
  export declare const Status: ({ severity, label }: StatusProps) => JSX.Element;
23
23
  //# sourceMappingURL=Status.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IAE/D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,MAAM,wBAAyB,WAAW,gBAEtD,CAAC"}
1
+ {"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;IAE/D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,MAAM,wBAAyB,WAAW,gBAEtD,CAAC"}
@@ -9,12 +9,9 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactNode } from "react";
12
+ import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactElement } from "react";
13
+ import { Icon } from "./Icon";
13
14
  export type TextFieldProps = {
14
- /**
15
- * If `true`, the component will receive focus automatically.
16
- */
17
- autoFocus?: boolean;
18
15
  /**
19
16
  * This prop helps users to fill forms faster, especially on mobile devices.
20
17
  * The name can be confusing, as it's more like an autofill.
@@ -24,11 +21,15 @@ export type TextFieldProps = {
24
21
  /**
25
22
  * End `InputAdornment` for this component.
26
23
  */
27
- endAdornment?: ReactNode;
24
+ endAdornment?: string | ReactElement<typeof Icon>;
28
25
  /**
29
26
  * If `error` is not undefined, the `input` will indicate an error.
30
27
  */
31
28
  errorMessage?: string;
29
+ /**
30
+ * If `true`, the component will receive focus automatically.
31
+ */
32
+ hasInitialFocus?: boolean;
32
33
  /**
33
34
  * The helper text content.
34
35
  */
@@ -46,13 +47,13 @@ export type TextFieldProps = {
46
47
  */
47
48
  isMultiline?: boolean;
48
49
  /**
49
- * It prevents the user from changing the value of the field
50
+ * If `true`, the `input` element is not required.
50
51
  */
51
- isReadOnly?: boolean;
52
+ isOptional?: boolean;
52
53
  /**
53
- * If `true`, the `input` element is required.
54
+ * It prevents the user from changing the value of the field
54
55
  */
55
- isRequired?: boolean;
56
+ isReadOnly?: boolean;
56
57
  /**
57
58
  * The label for the `input` element.
58
59
  */
@@ -70,7 +71,7 @@ export type TextFieldProps = {
70
71
  */
71
72
  onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
72
73
  /**
73
- * The label for the `input` element if the it's not optional
74
+ * The label for the `input` element if it's optional
74
75
  */
75
76
  optionalLabel?: string;
76
77
  /**
@@ -80,7 +81,7 @@ export type TextFieldProps = {
80
81
  /**
81
82
  * Start `InputAdornment` for this component.
82
83
  */
83
- startAdornment?: ReactNode;
84
+ startAdornment?: string | ReactElement<typeof Icon>;
84
85
  /**
85
86
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
86
87
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,SAAS,EAEV,MAAM,OAAO,CAAC;AAIf,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;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,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IACnD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAiFF,QAAA,MAAM,iBAAiB,kJAAkB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAEb,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;IAClD;;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,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC;IACpD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,KAAK,CAAC;IACnD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA2FF,QAAA,MAAM,iBAAiB,kJAAkB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
@@ -0,0 +1,60 @@
1
+ /*!
2
+ * Copyright (c) 2022-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
+ /// <reference types="react" />
13
+ import { AlertColor } from "@mui/material";
14
+ export type ToastProps = {
15
+ /**
16
+ * If set, this determines how long the toast should appear before automatically disappearing in milliseconds.
17
+ * It will only take effect if the toast is not dismissible.
18
+ * If left blank, it defaults to 6000.
19
+ */
20
+ autoHideDuration?: number;
21
+ /**
22
+ * If `true`, the alert will include a close button.
23
+ */
24
+ isDismissable?: boolean;
25
+ /**
26
+ * If true, the Toast is visible
27
+ */
28
+ isVisible?: boolean;
29
+ /**
30
+ * If linkUrl is not undefined, this is the text of the link.
31
+ * If left blank, it defaults to "Learn more".
32
+ * Note that linkText does nothing if linkUrl is not defined
33
+ */
34
+ linkText?: string;
35
+ /**
36
+ * If defined, the alert will include a link to the URL
37
+ */
38
+ linkUrl?: string;
39
+ /**
40
+ * An optional function to run when the Toast is closed.
41
+ */
42
+ onHide?: () => void;
43
+ /**
44
+ * Sets the ARIA role of the alert
45
+ * ("status" for something that dynamically updates, "alert" for errors, null for something
46
+ * unchanging)
47
+ */
48
+ role?: "status" | "alert";
49
+ /**
50
+ * Determine the color and icon of the alert
51
+ */
52
+ severity: AlertColor;
53
+ /**
54
+ * The text content of the alert
55
+ */
56
+ text: string;
57
+ };
58
+ declare const MemoizedToast: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ToastProps & import("react").RefAttributes<unknown>>>;
59
+ export { MemoizedToast as Toast };
60
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAY3C,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAoEF,QAAA,MAAM,aAAa,qIAAc,CAAC;AAElC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
@@ -0,0 +1,19 @@
1
+ /*!
2
+ * Copyright (c) 2022-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
+ import { ReactElement } from "react";
13
+ import { Toast } from "./Toast";
14
+ export type ToastStackProps = {
15
+ children: ReactElement<typeof Toast> | Array<ReactElement<typeof Toast>>;
16
+ };
17
+ declare const MemoizedToastStack: import("react").MemoExoticComponent<({ children }: ToastStackProps) => JSX.Element>;
18
+ export { MemoizedToastStack as ToastStack };
19
+ //# sourceMappingURL=ToastStack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastStack.d.ts","sourceRoot":"","sources":["../../src/ToastStack.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,YAAY,CAAC,OAAO,KAAK,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;CAC1E,CAAC;AAYF,QAAA,MAAM,kBAAkB,qDAVU,eAAe,iBAUN,CAAC;AAE5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
@@ -0,0 +1,21 @@
1
+ /*!
2
+ * Copyright (c) 2022-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
+ import type { TooltipProps as MuiTooltipProps } from "@mui/material";
13
+ import { ReactElement } from "react";
14
+ export type TooltipProps = {
15
+ children: ReactElement;
16
+ ariaType: "description" | "label";
17
+ text: string;
18
+ placement?: MuiTooltipProps["placement"];
19
+ };
20
+ export declare const Tooltip: ({ ariaType, children, text, placement, }: TooltipProps) => JSX.Element;
21
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,OAAO,6CAKjB,YAAY,gBAQd,CAAC"}