@okta/odyssey-react-mui 0.22.0 → 0.24.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 (584) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +43 -7
  3. package/dist/@types/i18next.d.js +14 -0
  4. package/dist/@types/i18next.d.js.map +1 -0
  5. package/dist/Autocomplete.js +18 -4
  6. package/dist/Autocomplete.js.map +1 -1
  7. package/dist/Banner.js +9 -6
  8. package/dist/Banner.js.map +1 -1
  9. package/dist/Button.js +20 -10
  10. package/dist/Button.js.map +1 -1
  11. package/dist/Checkbox.js +44 -10
  12. package/dist/Checkbox.js.map +1 -1
  13. package/dist/CheckboxGroup.js +25 -26
  14. package/dist/CheckboxGroup.js.map +1 -1
  15. package/dist/CircularProgress.js +11 -0
  16. package/dist/CircularProgress.js.map +1 -1
  17. package/dist/Dialog.js +72 -0
  18. package/dist/Dialog.js.map +1 -0
  19. package/dist/Field.js +28 -10
  20. package/dist/Field.js.map +1 -1
  21. package/dist/FieldError.js +6 -3
  22. package/dist/FieldError.js.map +1 -1
  23. package/dist/FieldHint.js +1 -2
  24. package/dist/FieldHint.js.map +1 -1
  25. package/dist/FieldLabel.js +19 -7
  26. package/dist/FieldLabel.js.map +1 -1
  27. package/dist/Fieldset.js +55 -0
  28. package/dist/Fieldset.js.map +1 -0
  29. package/dist/Form.js +69 -0
  30. package/dist/Form.js.map +1 -0
  31. package/dist/Icon.js +8 -8
  32. package/dist/Icon.js.map +1 -1
  33. package/dist/Infobox.js +7 -4
  34. package/dist/Infobox.js.map +1 -1
  35. package/dist/Link.js +10 -3
  36. package/dist/Link.js.map +1 -1
  37. package/dist/MenuButton.js +3 -7
  38. package/dist/MenuButton.js.map +1 -1
  39. package/dist/MenuItem.js +4 -2
  40. package/dist/MenuItem.js.map +1 -1
  41. package/dist/MuiPropsChild.js +32 -0
  42. package/dist/MuiPropsChild.js.map +1 -0
  43. package/dist/MuiPropsContext.js +15 -0
  44. package/dist/MuiPropsContext.js.map +1 -0
  45. package/dist/NativeSelect.js +61 -0
  46. package/dist/NativeSelect.js.map +1 -0
  47. package/dist/OdysseyCacheProvider.js +1 -2
  48. package/dist/OdysseyCacheProvider.js.map +1 -1
  49. package/dist/OdysseyI18n.js +93 -0
  50. package/dist/OdysseyI18n.js.map +1 -0
  51. package/dist/OdysseyProvider.js +42 -0
  52. package/dist/OdysseyProvider.js.map +1 -0
  53. package/dist/OdysseyThemeProvider.js +11 -5
  54. package/dist/OdysseyThemeProvider.js.map +1 -1
  55. package/dist/OdysseyTranslationProvider.js +47 -0
  56. package/dist/OdysseyTranslationProvider.js.map +1 -0
  57. package/dist/OdysseyTranslationProvider.types.js +14 -0
  58. package/dist/OdysseyTranslationProvider.types.js.map +1 -0
  59. package/dist/PasswordField.js +20 -3
  60. package/dist/PasswordField.js.map +1 -1
  61. package/dist/Radio.js +11 -2
  62. package/dist/Radio.js.map +1 -1
  63. package/dist/RadioGroup.js +36 -28
  64. package/dist/RadioGroup.js.map +1 -1
  65. package/dist/ScreenReaderText.js +3 -3
  66. package/dist/ScreenReaderText.js.map +1 -1
  67. package/dist/SearchField.js +17 -4
  68. package/dist/SearchField.js.map +1 -1
  69. package/dist/Select.js +131 -0
  70. package/dist/Select.js.map +1 -0
  71. package/dist/Status.js.map +1 -1
  72. package/dist/Tabs.js +46 -0
  73. package/dist/Tabs.js.map +1 -0
  74. package/dist/Tag.js +11 -2
  75. package/dist/Tag.js.map +1 -1
  76. package/dist/TagList.js +11 -2
  77. package/dist/TagList.js.map +1 -1
  78. package/dist/TagListContext.js +1 -0
  79. package/dist/TagListContext.js.map +1 -1
  80. package/dist/TextField.js +28 -9
  81. package/dist/TextField.js.map +1 -1
  82. package/dist/Toast.js +78 -0
  83. package/dist/Toast.js.map +1 -0
  84. package/dist/{ThemeProvider.js → ToastStack.js} +12 -10
  85. package/dist/ToastStack.js.map +1 -0
  86. package/dist/Tooltip.js +31 -0
  87. package/dist/Tooltip.js.map +1 -0
  88. package/dist/a11yCheck.js +1 -2
  89. package/dist/a11yCheck.js.map +1 -1
  90. package/dist/createUniqueAlphabeticalId.js +1 -2
  91. package/dist/createUniqueAlphabeticalId.js.map +1 -1
  92. package/dist/createUniqueId.js +1 -2
  93. package/dist/createUniqueId.js.map +1 -1
  94. package/dist/iconDictionary/Add.js +5 -6
  95. package/dist/iconDictionary/Add.js.map +1 -1
  96. package/dist/iconDictionary/AddCircle.js +5 -6
  97. package/dist/iconDictionary/AddCircle.js.map +1 -1
  98. package/dist/iconDictionary/AlertCircle.js +5 -6
  99. package/dist/iconDictionary/AlertCircle.js.map +1 -1
  100. package/dist/iconDictionary/AlertCircleFilled.js +5 -6
  101. package/dist/iconDictionary/AlertCircleFilled.js.map +1 -1
  102. package/dist/iconDictionary/AlertTriangleFilled.js +5 -6
  103. package/dist/iconDictionary/AlertTriangleFilled.js.map +1 -1
  104. package/dist/iconDictionary/Anchor.js +6 -7
  105. package/dist/iconDictionary/Anchor.js.map +1 -1
  106. package/dist/iconDictionary/ArrowDown.js +5 -6
  107. package/dist/iconDictionary/ArrowDown.js.map +1 -1
  108. package/dist/iconDictionary/ArrowLeft.js +5 -6
  109. package/dist/iconDictionary/ArrowLeft.js.map +1 -1
  110. package/dist/iconDictionary/ArrowRight.js +5 -6
  111. package/dist/iconDictionary/ArrowRight.js.map +1 -1
  112. package/dist/iconDictionary/ArrowUp.js +5 -6
  113. package/dist/iconDictionary/ArrowUp.js.map +1 -1
  114. package/dist/iconDictionary/ArrowUpDown.js +5 -6
  115. package/dist/iconDictionary/ArrowUpDown.js.map +1 -1
  116. package/dist/iconDictionary/Calendar.js +5 -6
  117. package/dist/iconDictionary/Calendar.js.map +1 -1
  118. package/dist/iconDictionary/Check.js +5 -6
  119. package/dist/iconDictionary/Check.js.map +1 -1
  120. package/dist/iconDictionary/CheckCircleFilled.js +5 -6
  121. package/dist/iconDictionary/CheckCircleFilled.js.map +1 -1
  122. package/dist/iconDictionary/ChevronDown.js +5 -6
  123. package/dist/iconDictionary/ChevronDown.js.map +1 -1
  124. package/dist/iconDictionary/ChevronUp.js +5 -6
  125. package/dist/iconDictionary/ChevronUp.js.map +1 -1
  126. package/dist/iconDictionary/Close.js +5 -6
  127. package/dist/iconDictionary/Close.js.map +1 -1
  128. package/dist/iconDictionary/CloseCircleFilled.js +5 -6
  129. package/dist/iconDictionary/CloseCircleFilled.js.map +1 -1
  130. package/dist/iconDictionary/Copy.js +5 -6
  131. package/dist/iconDictionary/Copy.js.map +1 -1
  132. package/dist/iconDictionary/Delete.js +5 -6
  133. package/dist/iconDictionary/Delete.js.map +1 -1
  134. package/dist/iconDictionary/Download.js +5 -6
  135. package/dist/iconDictionary/Download.js.map +1 -1
  136. package/dist/iconDictionary/DragHandle.js +5 -6
  137. package/dist/iconDictionary/DragHandle.js.map +1 -1
  138. package/dist/iconDictionary/Edit.js +5 -6
  139. package/dist/iconDictionary/Edit.js.map +1 -1
  140. package/dist/iconDictionary/ExternalLink.js +5 -6
  141. package/dist/iconDictionary/ExternalLink.js.map +1 -1
  142. package/dist/iconDictionary/Eye.js +5 -6
  143. package/dist/iconDictionary/Eye.js.map +1 -1
  144. package/dist/iconDictionary/EyeOff.js +5 -6
  145. package/dist/iconDictionary/EyeOff.js.map +1 -1
  146. package/dist/iconDictionary/Filter.js +5 -6
  147. package/dist/iconDictionary/Filter.js.map +1 -1
  148. package/dist/iconDictionary/Globe.js +5 -6
  149. package/dist/iconDictionary/Globe.js.map +1 -1
  150. package/dist/iconDictionary/Home.js +5 -6
  151. package/dist/iconDictionary/Home.js.map +1 -1
  152. package/dist/iconDictionary/InformationCircle.js +5 -6
  153. package/dist/iconDictionary/InformationCircle.js.map +1 -1
  154. package/dist/iconDictionary/InformationCircleFilled.js +5 -6
  155. package/dist/iconDictionary/InformationCircleFilled.js.map +1 -1
  156. package/dist/iconDictionary/Notification.js +5 -6
  157. package/dist/iconDictionary/Notification.js.map +1 -1
  158. package/dist/iconDictionary/OverflowVertical.js +5 -6
  159. package/dist/iconDictionary/OverflowVertical.js.map +1 -1
  160. package/dist/iconDictionary/QuestionCircle.js +5 -6
  161. package/dist/iconDictionary/QuestionCircle.js.map +1 -1
  162. package/dist/iconDictionary/QuestionCircleFilled.js +5 -6
  163. package/dist/iconDictionary/QuestionCircleFilled.js.map +1 -1
  164. package/dist/iconDictionary/Search.js +5 -6
  165. package/dist/iconDictionary/Search.js.map +1 -1
  166. package/dist/iconDictionary/Settings.js +4 -5
  167. package/dist/iconDictionary/Settings.js.map +1 -1
  168. package/dist/iconDictionary/Subtract.js +5 -6
  169. package/dist/iconDictionary/Subtract.js.map +1 -1
  170. package/dist/iconDictionary/SvgIcon.js +1 -0
  171. package/dist/iconDictionary/SvgIcon.js.map +1 -1
  172. package/dist/iconDictionary/User.js +5 -6
  173. package/dist/iconDictionary/User.js.map +1 -1
  174. package/dist/iconDictionary/UserGroup.js +5 -6
  175. package/dist/iconDictionary/UserGroup.js.map +1 -1
  176. package/dist/iconDictionary/index.js.map +1 -1
  177. package/dist/index.js +13 -6
  178. package/dist/index.js.map +1 -1
  179. package/dist/properties/ts/odyssey-react-mui.js +11 -0
  180. package/dist/properties/ts/odyssey-react-mui.js.map +1 -0
  181. package/dist/properties/ts/odyssey-react-mui_cs.js +2 -0
  182. package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -0
  183. package/dist/properties/ts/odyssey-react-mui_da.js +2 -0
  184. package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -0
  185. package/dist/properties/ts/odyssey-react-mui_de.js +2 -0
  186. package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -0
  187. package/dist/properties/ts/odyssey-react-mui_el.js +2 -0
  188. package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -0
  189. package/dist/properties/ts/odyssey-react-mui_es.js +2 -0
  190. package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -0
  191. package/dist/properties/ts/odyssey-react-mui_fi.js +2 -0
  192. package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -0
  193. package/dist/properties/ts/odyssey-react-mui_fr.js +2 -0
  194. package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -0
  195. package/dist/properties/ts/odyssey-react-mui_hu.js +2 -0
  196. package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -0
  197. package/dist/properties/ts/odyssey-react-mui_id.js +2 -0
  198. package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -0
  199. package/dist/properties/ts/odyssey-react-mui_it.js +2 -0
  200. package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -0
  201. package/dist/properties/ts/odyssey-react-mui_ja.js +2 -0
  202. package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -0
  203. package/dist/properties/ts/odyssey-react-mui_ko.js +2 -0
  204. package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -0
  205. package/dist/properties/ts/odyssey-react-mui_ms.js +2 -0
  206. package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -0
  207. package/dist/properties/ts/odyssey-react-mui_nb.js +2 -0
  208. package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -0
  209. package/dist/properties/ts/odyssey-react-mui_nl-NL.js +2 -0
  210. package/dist/properties/ts/odyssey-react-mui_nl-NL.js.map +1 -0
  211. package/dist/properties/ts/odyssey-react-mui_pl.js +2 -0
  212. package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -0
  213. package/dist/properties/ts/odyssey-react-mui_pt-BR.js +2 -0
  214. package/dist/properties/ts/odyssey-react-mui_pt-BR.js.map +1 -0
  215. package/dist/properties/ts/odyssey-react-mui_ro.js +2 -0
  216. package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -0
  217. package/dist/properties/ts/odyssey-react-mui_ru.js +2 -0
  218. package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -0
  219. package/dist/properties/ts/odyssey-react-mui_sv.js +2 -0
  220. package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -0
  221. package/dist/properties/ts/odyssey-react-mui_th.js +2 -0
  222. package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -0
  223. package/dist/properties/ts/odyssey-react-mui_tr.js +2 -0
  224. package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -0
  225. package/dist/properties/ts/odyssey-react-mui_uk.js +2 -0
  226. package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -0
  227. package/dist/properties/ts/odyssey-react-mui_zh-CN.js +2 -0
  228. package/dist/properties/ts/odyssey-react-mui_zh-CN.js.map +1 -0
  229. package/dist/properties/ts/odyssey-react-mui_zh-TW.js +2 -0
  230. package/dist/properties/ts/odyssey-react-mui_zh-TW.js.map +1 -0
  231. package/dist/src/Autocomplete.d.ts +2 -1
  232. package/dist/src/Autocomplete.d.ts.map +1 -1
  233. package/dist/src/Banner.d.ts +19 -19
  234. package/dist/src/Banner.d.ts.map +1 -1
  235. package/dist/src/Button.d.ts +4 -3
  236. package/dist/src/Button.d.ts.map +1 -1
  237. package/dist/src/Checkbox.d.ts +4 -2
  238. package/dist/src/Checkbox.d.ts.map +1 -1
  239. package/dist/src/CheckboxGroup.d.ts +8 -4
  240. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  241. package/dist/src/Dialog.d.ts +25 -0
  242. package/dist/src/Dialog.d.ts.map +1 -0
  243. package/dist/src/Field.d.ts +18 -7
  244. package/dist/src/Field.d.ts.map +1 -1
  245. package/dist/src/FieldError.d.ts.map +1 -1
  246. package/dist/src/FieldLabel.d.ts +2 -3
  247. package/dist/src/FieldLabel.d.ts.map +1 -1
  248. package/dist/src/Fieldset.d.ts +42 -0
  249. package/dist/src/Fieldset.d.ts.map +1 -0
  250. package/dist/src/Form.d.ts +73 -0
  251. package/dist/src/Form.d.ts.map +1 -0
  252. package/dist/src/Icon.d.ts +9 -8
  253. package/dist/src/Icon.d.ts.map +1 -1
  254. package/dist/src/Infobox.d.ts +7 -7
  255. package/dist/src/Infobox.d.ts.map +1 -1
  256. package/dist/src/Link.d.ts +9 -4
  257. package/dist/src/Link.d.ts.map +1 -1
  258. package/dist/src/MenuButton.d.ts +7 -3
  259. package/dist/src/MenuButton.d.ts.map +1 -1
  260. package/dist/src/MenuItem.d.ts +1 -1
  261. package/dist/src/MenuItem.d.ts.map +1 -1
  262. package/dist/src/MuiPropsChild.d.ts +18 -0
  263. package/dist/src/MuiPropsChild.d.ts.map +1 -0
  264. package/dist/src/MuiPropsContext.d.ts +15 -0
  265. package/dist/src/MuiPropsContext.d.ts.map +1 -0
  266. package/dist/src/NativeSelect.d.ts +36 -0
  267. package/dist/src/NativeSelect.d.ts.map +1 -0
  268. package/dist/src/OdysseyI18n.d.ts +54 -0
  269. package/dist/src/OdysseyI18n.d.ts.map +1 -0
  270. package/dist/src/OdysseyProvider.d.ts +27 -0
  271. package/dist/src/OdysseyProvider.d.ts.map +1 -0
  272. package/dist/src/OdysseyThemeProvider.d.ts +4 -2
  273. package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
  274. package/dist/src/OdysseyTranslationProvider.d.ts +25 -0
  275. package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -0
  276. package/dist/src/OdysseyTranslationProvider.types.d.ts +14 -0
  277. package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -0
  278. package/dist/src/PasswordField.d.ts +8 -8
  279. package/dist/src/PasswordField.d.ts.map +1 -1
  280. package/dist/src/RadioGroup.d.ts +8 -8
  281. package/dist/src/RadioGroup.d.ts.map +1 -1
  282. package/dist/src/SearchField.d.ts +4 -4
  283. package/dist/src/SearchField.d.ts.map +1 -1
  284. package/dist/src/Select.d.ts +35 -0
  285. package/dist/src/Select.d.ts.map +1 -0
  286. package/dist/src/Status.d.ts +2 -2
  287. package/dist/src/Status.d.ts.map +1 -1
  288. package/dist/src/Tabs.d.ts +27 -0
  289. package/dist/src/Tabs.d.ts.map +1 -0
  290. package/dist/src/TextField.d.ts +12 -15
  291. package/dist/src/TextField.d.ts.map +1 -1
  292. package/dist/src/Toast.d.ts +60 -0
  293. package/dist/src/Toast.d.ts.map +1 -0
  294. package/dist/src/ToastStack.d.ts +19 -0
  295. package/dist/src/ToastStack.d.ts.map +1 -0
  296. package/dist/src/{ThemeProvider.d.ts → Tooltip.d.ts} +8 -4
  297. package/dist/src/Tooltip.d.ts.map +1 -0
  298. package/dist/src/iconDictionary/Add.d.ts +2 -2
  299. package/dist/src/iconDictionary/AddCircle.d.ts +2 -2
  300. package/dist/src/iconDictionary/AlertCircle.d.ts +2 -2
  301. package/dist/src/iconDictionary/AlertCircleFilled.d.ts +2 -2
  302. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +2 -2
  303. package/dist/src/iconDictionary/Anchor.d.ts +2 -2
  304. package/dist/src/iconDictionary/ArrowDown.d.ts +2 -2
  305. package/dist/src/iconDictionary/ArrowLeft.d.ts +2 -2
  306. package/dist/src/iconDictionary/ArrowRight.d.ts +2 -2
  307. package/dist/src/iconDictionary/ArrowUp.d.ts +2 -2
  308. package/dist/src/iconDictionary/ArrowUpDown.d.ts +2 -2
  309. package/dist/src/iconDictionary/Calendar.d.ts +2 -2
  310. package/dist/src/iconDictionary/Check.d.ts +2 -2
  311. package/dist/src/iconDictionary/CheckCircleFilled.d.ts +2 -2
  312. package/dist/src/iconDictionary/ChevronDown.d.ts +2 -2
  313. package/dist/src/iconDictionary/ChevronUp.d.ts +2 -2
  314. package/dist/src/iconDictionary/Close.d.ts +2 -2
  315. package/dist/src/iconDictionary/CloseCircleFilled.d.ts +2 -2
  316. package/dist/src/iconDictionary/Copy.d.ts +2 -2
  317. package/dist/src/iconDictionary/Delete.d.ts +2 -2
  318. package/dist/src/iconDictionary/Download.d.ts +2 -2
  319. package/dist/src/iconDictionary/DragHandle.d.ts +2 -2
  320. package/dist/src/iconDictionary/Edit.d.ts +2 -2
  321. package/dist/src/iconDictionary/ExternalLink.d.ts +2 -2
  322. package/dist/src/iconDictionary/Eye.d.ts +2 -2
  323. package/dist/src/iconDictionary/EyeOff.d.ts +2 -2
  324. package/dist/src/iconDictionary/Filter.d.ts +2 -2
  325. package/dist/src/iconDictionary/Globe.d.ts +2 -2
  326. package/dist/src/iconDictionary/Home.d.ts +2 -2
  327. package/dist/src/iconDictionary/InformationCircle.d.ts +2 -2
  328. package/dist/src/iconDictionary/InformationCircleFilled.d.ts +2 -2
  329. package/dist/src/iconDictionary/Notification.d.ts +2 -2
  330. package/dist/src/iconDictionary/OverflowVertical.d.ts +2 -2
  331. package/dist/src/iconDictionary/QuestionCircle.d.ts +2 -2
  332. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +2 -2
  333. package/dist/src/iconDictionary/Search.d.ts +2 -2
  334. package/dist/src/iconDictionary/Settings.d.ts +2 -2
  335. package/dist/src/iconDictionary/Subtract.d.ts +2 -2
  336. package/dist/src/iconDictionary/User.d.ts +2 -2
  337. package/dist/src/iconDictionary/UserGroup.d.ts +2 -2
  338. package/dist/src/iconDictionary/index.d.ts +40 -40
  339. package/dist/src/index.d.ts +15 -10
  340. package/dist/src/index.d.ts.map +1 -1
  341. package/dist/src/properties/ts/odyssey-react-mui.d.ts +11 -0
  342. package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -0
  343. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts +2 -0
  344. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -0
  345. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts +2 -0
  346. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts.map +1 -0
  347. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts +2 -0
  348. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts.map +1 -0
  349. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts +2 -0
  350. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts.map +1 -0
  351. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts +2 -0
  352. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts.map +1 -0
  353. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts +2 -0
  354. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -0
  355. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts +2 -0
  356. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -0
  357. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts +2 -0
  358. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -0
  359. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts +2 -0
  360. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts.map +1 -0
  361. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts +2 -0
  362. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts.map +1 -0
  363. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts +2 -0
  364. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -0
  365. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts +2 -0
  366. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -0
  367. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts +2 -0
  368. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -0
  369. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts +2 -0
  370. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -0
  371. package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts +2 -0
  372. package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts.map +1 -0
  373. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts +2 -0
  374. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -0
  375. package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts +2 -0
  376. package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts.map +1 -0
  377. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts +2 -0
  378. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -0
  379. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts +2 -0
  380. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -0
  381. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts +2 -0
  382. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -0
  383. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts +2 -0
  384. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts.map +1 -0
  385. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts +2 -0
  386. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -0
  387. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts +2 -0
  388. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -0
  389. package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts +2 -0
  390. package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts.map +1 -0
  391. package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts +2 -0
  392. package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts.map +1 -0
  393. package/dist/src/theme/components.d.ts.map +1 -1
  394. package/dist/src/theme/index.d.ts +3 -1
  395. package/dist/src/theme/index.d.ts.map +1 -1
  396. package/dist/src/theme/mixins.d.ts +2 -1
  397. package/dist/src/theme/mixins.d.ts.map +1 -1
  398. package/dist/src/theme/palette.d.ts +2 -1
  399. package/dist/src/theme/palette.d.ts.map +1 -1
  400. package/dist/src/theme/shape.d.ts +2 -1
  401. package/dist/src/theme/shape.d.ts.map +1 -1
  402. package/dist/src/theme/spacing.d.ts +2 -1
  403. package/dist/src/theme/spacing.d.ts.map +1 -1
  404. package/dist/src/theme/theme.d.ts +3 -2
  405. package/dist/src/theme/theme.d.ts.map +1 -1
  406. package/dist/src/theme/typography.d.ts +2 -1
  407. package/dist/src/theme/typography.d.ts.map +1 -1
  408. package/dist/theme/components.js +123 -85
  409. package/dist/theme/components.js.map +1 -1
  410. package/dist/theme/components.types.js +1 -0
  411. package/dist/theme/components.types.js.map +1 -1
  412. package/dist/theme/index.js +1 -1
  413. package/dist/theme/index.js.map +1 -1
  414. package/dist/theme/mixins.js +8 -6
  415. package/dist/theme/mixins.js.map +1 -1
  416. package/dist/theme/mixins.types.js +1 -0
  417. package/dist/theme/mixins.types.js.map +1 -1
  418. package/dist/theme/palette.js +89 -86
  419. package/dist/theme/palette.js.map +1 -1
  420. package/dist/theme/palette.types.js +1 -0
  421. package/dist/theme/palette.types.js.map +1 -1
  422. package/dist/theme/shape.js +6 -4
  423. package/dist/theme/shape.js.map +1 -1
  424. package/dist/theme/spacing.js +4 -1
  425. package/dist/theme/spacing.js.map +1 -1
  426. package/dist/theme/temp.js +1 -0
  427. package/dist/theme/temp.js.map +1 -1
  428. package/dist/theme/theme.js +12 -9
  429. package/dist/theme/theme.js.map +1 -1
  430. package/dist/theme/typography.js +85 -83
  431. package/dist/theme/typography.js.map +1 -1
  432. package/dist/theme/typography.types.js +1 -0
  433. package/dist/theme/typography.types.js.map +1 -1
  434. package/dist/theme/useTheme.js +1 -0
  435. package/dist/theme/useTheme.js.map +1 -1
  436. package/dist/tsconfig.production.tsbuildinfo +1 -1
  437. package/dist/useUniqueAlphabeticalId.js +1 -0
  438. package/dist/useUniqueAlphabeticalId.js.map +1 -1
  439. package/dist/useUniqueId.js +1 -0
  440. package/dist/useUniqueId.js.map +1 -1
  441. package/i18n.config.json +8 -0
  442. package/package.json +9 -4
  443. package/scripts/properties-to-ts.js +103 -0
  444. package/src/@types/i18next.d.ts +22 -0
  445. package/src/Autocomplete.tsx +10 -1
  446. package/src/Banner.tsx +37 -32
  447. package/src/Button.tsx +38 -18
  448. package/src/Checkbox.tsx +47 -21
  449. package/src/CheckboxGroup.tsx +30 -34
  450. package/src/Dialog.tsx +110 -0
  451. package/src/Field.tsx +56 -24
  452. package/src/FieldError.tsx +6 -1
  453. package/src/FieldLabel.tsx +13 -10
  454. package/src/Fieldset.tsx +95 -0
  455. package/src/Form.tsx +142 -0
  456. package/src/Icon.test.tsx +1 -1
  457. package/src/Icon.tsx +27 -13
  458. package/src/Infobox.tsx +18 -13
  459. package/src/Link.tsx +14 -6
  460. package/src/MenuButton.tsx +8 -3
  461. package/src/MenuItem.tsx +1 -0
  462. package/src/MuiPropsChild.tsx +41 -0
  463. package/src/MuiPropsContext.ts +17 -0
  464. package/src/NativeSelect.tsx +107 -0
  465. package/src/OdysseyI18n.ts +101 -0
  466. package/src/OdysseyProvider.tsx +59 -0
  467. package/src/OdysseyThemeProvider.tsx +9 -3
  468. package/src/OdysseyTranslationProvider.test.tsx +63 -0
  469. package/src/OdysseyTranslationProvider.tsx +65 -0
  470. package/src/OdysseyTranslationProvider.types.ts +42 -0
  471. package/src/PasswordField.tsx +18 -11
  472. package/src/RadioGroup.tsx +31 -46
  473. package/src/SearchField.tsx +10 -8
  474. package/src/Select.tsx +226 -0
  475. package/src/Status.tsx +2 -2
  476. package/src/Tabs.tsx +70 -0
  477. package/src/TextField.tsx +31 -25
  478. package/src/Toast.tsx +140 -0
  479. package/src/{ThemeProvider.tsx → ToastStack.tsx} +16 -9
  480. package/src/Tooltip.tsx +39 -0
  481. package/src/iconDictionary/Add.tsx +3 -3
  482. package/src/iconDictionary/AddCircle.tsx +3 -3
  483. package/src/iconDictionary/AlertCircle.tsx +3 -3
  484. package/src/iconDictionary/AlertCircleFilled.tsx +3 -3
  485. package/src/iconDictionary/AlertTriangleFilled.tsx +3 -3
  486. package/src/iconDictionary/Anchor.tsx +3 -3
  487. package/src/iconDictionary/ArrowDown.tsx +3 -3
  488. package/src/iconDictionary/ArrowLeft.tsx +3 -3
  489. package/src/iconDictionary/ArrowRight.tsx +3 -3
  490. package/src/iconDictionary/ArrowUp.tsx +3 -3
  491. package/src/iconDictionary/ArrowUpDown.tsx +3 -3
  492. package/src/iconDictionary/Calendar.tsx +3 -3
  493. package/src/iconDictionary/Check.tsx +3 -3
  494. package/src/iconDictionary/CheckCircleFilled.tsx +3 -3
  495. package/src/iconDictionary/ChevronDown.tsx +3 -3
  496. package/src/iconDictionary/ChevronUp.tsx +3 -3
  497. package/src/iconDictionary/Close.tsx +3 -3
  498. package/src/iconDictionary/CloseCircleFilled.tsx +3 -3
  499. package/src/iconDictionary/Copy.tsx +3 -3
  500. package/src/iconDictionary/Delete.tsx +3 -3
  501. package/src/iconDictionary/Download.tsx +3 -3
  502. package/src/iconDictionary/DragHandle.tsx +3 -3
  503. package/src/iconDictionary/Edit.tsx +3 -3
  504. package/src/iconDictionary/ExternalLink.tsx +3 -3
  505. package/src/iconDictionary/Eye.tsx +3 -3
  506. package/src/iconDictionary/EyeOff.tsx +3 -3
  507. package/src/iconDictionary/Filter.tsx +3 -3
  508. package/src/iconDictionary/Globe.tsx +3 -3
  509. package/src/iconDictionary/Home.tsx +3 -3
  510. package/src/iconDictionary/InformationCircle.tsx +3 -3
  511. package/src/iconDictionary/InformationCircleFilled.tsx +3 -3
  512. package/src/iconDictionary/Notification.tsx +3 -3
  513. package/src/iconDictionary/OverflowVertical.tsx +3 -3
  514. package/src/iconDictionary/QuestionCircle.tsx +3 -3
  515. package/src/iconDictionary/QuestionCircleFilled.tsx +3 -3
  516. package/src/iconDictionary/Search.tsx +3 -3
  517. package/src/iconDictionary/Settings.tsx +2 -2
  518. package/src/iconDictionary/Subtract.tsx +3 -3
  519. package/src/iconDictionary/User.tsx +3 -3
  520. package/src/iconDictionary/UserGroup.tsx +3 -3
  521. package/src/iconDictionary/index.ts +1 -1
  522. package/src/index.ts +11 -23
  523. package/src/properties/odyssey-react-mui.properties +8 -0
  524. package/src/properties/translations/odyssey-react-mui_cs.properties +0 -0
  525. package/src/properties/translations/odyssey-react-mui_da.properties +0 -0
  526. package/src/properties/translations/odyssey-react-mui_de.properties +0 -0
  527. package/src/properties/translations/odyssey-react-mui_el.properties +0 -0
  528. package/src/properties/translations/odyssey-react-mui_es.properties +0 -0
  529. package/src/properties/translations/odyssey-react-mui_fi.properties +0 -0
  530. package/src/properties/translations/odyssey-react-mui_fr.properties +0 -0
  531. package/src/properties/translations/odyssey-react-mui_hu.properties +0 -0
  532. package/src/properties/translations/odyssey-react-mui_id.properties +0 -0
  533. package/src/properties/translations/odyssey-react-mui_it.properties +0 -0
  534. package/src/properties/translations/odyssey-react-mui_ja.properties +0 -0
  535. package/src/properties/translations/odyssey-react-mui_ko.properties +0 -0
  536. package/src/properties/translations/odyssey-react-mui_ms.properties +0 -0
  537. package/src/properties/translations/odyssey-react-mui_nb.properties +0 -0
  538. package/src/properties/translations/odyssey-react-mui_nl-NL.properties +0 -0
  539. package/src/properties/translations/odyssey-react-mui_pl.properties +0 -0
  540. package/src/properties/translations/odyssey-react-mui_pt-BR.properties +0 -0
  541. package/src/properties/translations/odyssey-react-mui_ro.properties +0 -0
  542. package/src/properties/translations/odyssey-react-mui_ru.properties +0 -0
  543. package/src/properties/translations/odyssey-react-mui_sv.properties +0 -0
  544. package/src/properties/translations/odyssey-react-mui_th.properties +0 -0
  545. package/src/properties/translations/odyssey-react-mui_tr.properties +0 -0
  546. package/src/properties/translations/odyssey-react-mui_uk.properties +0 -0
  547. package/src/properties/translations/odyssey-react-mui_zh-CN.properties +0 -0
  548. package/src/properties/translations/odyssey-react-mui_zh-TW.properties +0 -0
  549. package/src/properties/ts/odyssey-react-mui.ts +1 -0
  550. package/src/properties/ts/odyssey-react-mui_cs.ts +1 -0
  551. package/src/properties/ts/odyssey-react-mui_da.ts +1 -0
  552. package/src/properties/ts/odyssey-react-mui_de.ts +1 -0
  553. package/src/properties/ts/odyssey-react-mui_el.ts +1 -0
  554. package/src/properties/ts/odyssey-react-mui_es.ts +1 -0
  555. package/src/properties/ts/odyssey-react-mui_fi.ts +1 -0
  556. package/src/properties/ts/odyssey-react-mui_fr.ts +1 -0
  557. package/src/properties/ts/odyssey-react-mui_hu.ts +1 -0
  558. package/src/properties/ts/odyssey-react-mui_id.ts +1 -0
  559. package/src/properties/ts/odyssey-react-mui_it.ts +1 -0
  560. package/src/properties/ts/odyssey-react-mui_ja.ts +1 -0
  561. package/src/properties/ts/odyssey-react-mui_ko.ts +1 -0
  562. package/src/properties/ts/odyssey-react-mui_ms.ts +1 -0
  563. package/src/properties/ts/odyssey-react-mui_nb.ts +1 -0
  564. package/src/properties/ts/odyssey-react-mui_nl-NL.ts +1 -0
  565. package/src/properties/ts/odyssey-react-mui_pl.ts +1 -0
  566. package/src/properties/ts/odyssey-react-mui_pt-BR.ts +1 -0
  567. package/src/properties/ts/odyssey-react-mui_ro.ts +1 -0
  568. package/src/properties/ts/odyssey-react-mui_ru.ts +1 -0
  569. package/src/properties/ts/odyssey-react-mui_sv.ts +1 -0
  570. package/src/properties/ts/odyssey-react-mui_th.ts +1 -0
  571. package/src/properties/ts/odyssey-react-mui_tr.ts +1 -0
  572. package/src/properties/ts/odyssey-react-mui_uk.ts +1 -0
  573. package/src/properties/ts/odyssey-react-mui_zh-CN.ts +1 -0
  574. package/src/properties/ts/odyssey-react-mui_zh-TW.ts +1 -0
  575. package/src/theme/components.tsx +44 -13
  576. package/src/theme/index.ts +5 -1
  577. package/src/theme/mixins.ts +10 -6
  578. package/src/theme/palette.ts +95 -88
  579. package/src/theme/shape.ts +12 -8
  580. package/src/theme/spacing.ts +17 -12
  581. package/src/theme/theme.ts +14 -10
  582. package/src/theme/typography.ts +87 -83
  583. package/dist/ThemeProvider.js.map +0 -1
  584. package/dist/src/ThemeProvider.d.ts.map +0 -1
package/src/TextField.tsx CHANGED
@@ -10,24 +10,21 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { InputBase } from "@mui/material";
13
+ import { InputAdornment, InputBase } from "@mui/material";
14
14
  import {
15
15
  ChangeEventHandler,
16
16
  FocusEventHandler,
17
17
  forwardRef,
18
18
  InputHTMLAttributes,
19
19
  memo,
20
- ReactNode,
20
+ ReactElement,
21
21
  useCallback,
22
22
  } from "react";
23
23
 
24
24
  import { Field } from "./Field";
25
+ import { Icon } from "./Icon";
25
26
 
26
27
  export type TextFieldProps = {
27
- /**
28
- * If `true`, the component will receive focus automatically.
29
- */
30
- autoFocus?: boolean;
31
28
  /**
32
29
  * This prop helps users to fill forms faster, especially on mobile devices.
33
30
  * The name can be confusing, as it's more like an autofill.
@@ -37,11 +34,15 @@ export type TextFieldProps = {
37
34
  /**
38
35
  * End `InputAdornment` for this component.
39
36
  */
40
- endAdornment?: ReactNode;
37
+ endAdornment?: string | ReactElement<typeof Icon>;
41
38
  /**
42
39
  * If `error` is not undefined, the `input` will indicate an error.
43
40
  */
44
41
  errorMessage?: string;
42
+ /**
43
+ * If `true`, the component will receive focus automatically.
44
+ */
45
+ hasInitialFocus?: boolean;
45
46
  /**
46
47
  * The helper text content.
47
48
  */
@@ -59,13 +60,13 @@ export type TextFieldProps = {
59
60
  */
60
61
  isMultiline?: boolean;
61
62
  /**
62
- * It prevents the user from changing the value of the field
63
+ * If `true`, the `input` element is not required.
63
64
  */
64
- isReadOnly?: boolean;
65
+ isOptional?: boolean;
65
66
  /**
66
- * If `true`, the `input` element is required.
67
+ * It prevents the user from changing the value of the field
67
68
  */
68
- isRequired?: boolean;
69
+ isReadOnly?: boolean;
69
70
  /**
70
71
  * The label for the `input` element.
71
72
  */
@@ -82,10 +83,6 @@ export type TextFieldProps = {
82
83
  * Callback fired when the `input` element get focus.
83
84
  */
84
85
  onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;
85
- /**
86
- * The label for the `input` element if the it's not optional
87
- */
88
- optionalLabel?: string;
89
86
  /**
90
87
  * The short hint displayed in the `input` before the user enters a value.
91
88
  */
@@ -93,7 +90,7 @@ export type TextFieldProps = {
93
90
  /**
94
91
  * Start `InputAdornment` for this component.
95
92
  */
96
- startAdornment?: ReactNode;
93
+ startAdornment?: string | ReactElement<typeof Icon>;
97
94
  /**
98
95
  * 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).
99
96
  */
@@ -108,20 +105,19 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
108
105
  (
109
106
  {
110
107
  autoCompleteType,
111
- autoFocus,
108
+ hasInitialFocus,
112
109
  endAdornment,
113
110
  errorMessage,
114
111
  hint,
115
112
  id: idOverride,
116
113
  isDisabled = false,
117
114
  isMultiline = false,
115
+ isOptional = false,
118
116
  isReadOnly,
119
- isRequired = true,
120
117
  label,
121
118
  onBlur,
122
119
  onChange,
123
120
  onFocus,
124
- optionalLabel,
125
121
  placeholder,
126
122
  startAdornment,
127
123
  type = "text",
@@ -135,24 +131,33 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
135
131
  aria-describedby={ariaDescribedBy}
136
132
  autoComplete={autoCompleteType}
137
133
  /* eslint-disable-next-line jsx-a11y/no-autofocus */
138
- autoFocus={autoFocus}
139
- endAdornment={endAdornment}
134
+ autoFocus={hasInitialFocus}
135
+ endAdornment={
136
+ endAdornment && (
137
+ <InputAdornment position="end">{endAdornment}</InputAdornment>
138
+ )
139
+ }
140
140
  id={id}
141
141
  multiline={isMultiline}
142
+ name={id}
142
143
  onBlur={onBlur}
143
144
  onChange={onChange}
144
145
  onFocus={onFocus}
145
146
  placeholder={placeholder}
146
147
  readOnly={isReadOnly}
147
148
  ref={ref}
148
- startAdornment={startAdornment}
149
+ startAdornment={
150
+ startAdornment && (
151
+ <InputAdornment position="start">{startAdornment}</InputAdornment>
152
+ )
153
+ }
149
154
  type={type}
150
155
  value={value}
151
156
  />
152
157
  ),
153
158
  [
154
159
  autoCompleteType,
155
- autoFocus,
160
+ hasInitialFocus,
156
161
  endAdornment,
157
162
  isMultiline,
158
163
  onChange,
@@ -170,13 +175,13 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
170
175
  return (
171
176
  <Field
172
177
  errorMessage={errorMessage}
178
+ fieldType="single"
173
179
  hasVisibleLabel
174
180
  hint={hint}
175
181
  id={idOverride}
176
182
  isDisabled={isDisabled}
177
- isRequired={isRequired}
183
+ isOptional={isOptional}
178
184
  label={label}
179
- optionalLabel={optionalLabel}
180
185
  renderFieldComponent={renderFieldComponent}
181
186
  />
182
187
  );
@@ -184,5 +189,6 @@ const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
184
189
  );
185
190
 
186
191
  const MemoizedTextField = memo(TextField);
192
+ MemoizedTextField.displayName = "TextField";
187
193
 
188
194
  export { MemoizedTextField as TextField };
package/src/Toast.tsx ADDED
@@ -0,0 +1,140 @@
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
+
13
+ import { AlertColor } from "@mui/material";
14
+ import { useEffect, memo, useState, useCallback } from "react";
15
+ import {
16
+ Alert,
17
+ AlertTitle,
18
+ CloseIcon,
19
+ Link,
20
+ Snackbar,
21
+ visuallyHidden,
22
+ } from ".";
23
+ import { Button } from "./Button";
24
+ import { useTranslation } from "react-i18next";
25
+
26
+ export type ToastProps = {
27
+ /**
28
+ * If set, this determines how long the toast should appear before automatically disappearing in milliseconds.
29
+ * It will only take effect if the toast is not dismissible.
30
+ * If left blank, it defaults to 6000.
31
+ */
32
+ autoHideDuration?: number;
33
+ /**
34
+ * If `true`, the alert will include a close button.
35
+ */
36
+ isDismissable?: boolean;
37
+ /**
38
+ * If true, the Toast is visible
39
+ */
40
+ isVisible?: boolean;
41
+ /**
42
+ * If linkUrl is not undefined, this is the text of the link.
43
+ * If left blank, it defaults to "Learn more".
44
+ * Note that linkText does nothing if linkUrl is not defined
45
+ */
46
+ linkText?: string;
47
+ /**
48
+ * If defined, the alert will include a link to the URL
49
+ */
50
+ linkUrl?: string;
51
+ /**
52
+ * An optional function to run when the Toast is closed.
53
+ */
54
+ onHide?: () => void;
55
+ /**
56
+ * Sets the ARIA role of the alert
57
+ * ("status" for something that dynamically updates, "alert" for errors, null for something
58
+ * unchanging)
59
+ */
60
+ role?: "status" | "alert";
61
+ /**
62
+ * Determine the color and icon of the alert
63
+ */
64
+ severity: AlertColor;
65
+ /**
66
+ * The text content of the alert
67
+ */
68
+ text: string;
69
+ };
70
+
71
+ const ClickAwayListenerProps = { onClickAway: () => false };
72
+
73
+ const Toast = ({
74
+ autoHideDuration = 6000,
75
+ isDismissable,
76
+ linkText,
77
+ linkUrl,
78
+ isVisible: isVisibleProp,
79
+ onHide: onHideProp,
80
+ role,
81
+ severity,
82
+ text,
83
+ }: ToastProps) => {
84
+ const { t } = useTranslation();
85
+
86
+ const [isVisible, setIsVisible] = useState(isVisibleProp);
87
+
88
+ useEffect(() => {
89
+ setIsVisible(isVisibleProp);
90
+ }, [isVisibleProp]);
91
+
92
+ const onHide = useCallback(() => {
93
+ setIsVisible(false);
94
+ onHideProp?.();
95
+ }, [onHideProp]);
96
+
97
+ return (
98
+ <Snackbar
99
+ open={isVisible}
100
+ autoHideDuration={
101
+ isDismissable || autoHideDuration <= 0 ? undefined : autoHideDuration
102
+ }
103
+ onClose={onHide}
104
+ className="Toast"
105
+ ClickAwayListenerProps={ClickAwayListenerProps}
106
+ >
107
+ <Alert
108
+ action={
109
+ isDismissable === true && (
110
+ <Button
111
+ aria-label={t("toast.close.text")}
112
+ onClick={onHide}
113
+ size="small"
114
+ startIcon={<CloseIcon />}
115
+ variant="floating"
116
+ />
117
+ )
118
+ }
119
+ role={role}
120
+ severity={severity}
121
+ variant="toast"
122
+ >
123
+ <AlertTitle>
124
+ <span style={visuallyHidden}>{severity}:</span>
125
+ {text}
126
+ </AlertTitle>
127
+ {linkUrl && (
128
+ <Link href={linkUrl} variant="monochrome">
129
+ {linkText}
130
+ </Link>
131
+ )}
132
+ </Alert>
133
+ </Snackbar>
134
+ );
135
+ };
136
+
137
+ const MemoizedToast = memo(Toast);
138
+ MemoizedToast.displayName = "Toast";
139
+
140
+ export { MemoizedToast as Toast };
@@ -11,16 +11,23 @@
11
11
  */
12
12
 
13
13
  import { memo, ReactElement } from "react";
14
+ import { Box, Snackbar } from ".";
15
+ import { Toast } from "./Toast";
14
16
 
15
- import { OdysseyCacheProvider } from "./OdysseyCacheProvider";
16
- import { OdysseyThemeProvider } from "./OdysseyThemeProvider";
17
+ export type ToastStackProps = {
18
+ children: ReactElement<typeof Toast> | Array<ReactElement<typeof Toast>>;
19
+ };
17
20
 
18
- const ThemeProvider = ({ children }: { children: ReactElement }) => (
19
- <OdysseyCacheProvider>
20
- <OdysseyThemeProvider>{children}</OdysseyThemeProvider>
21
- </OdysseyCacheProvider>
22
- );
21
+ const ToastStack = ({ children }: ToastStackProps) => {
22
+ return (
23
+ <Snackbar open={true}>
24
+ <Box display="flex" flexDirection="column-reverse" gap={2}>
25
+ {children}
26
+ </Box>
27
+ </Snackbar>
28
+ );
29
+ };
23
30
 
24
- const MemoizedThemeProvider = memo(ThemeProvider);
31
+ const MemoizedToastStack = memo(ToastStack);
25
32
 
26
- export { MemoizedThemeProvider as ThemeProvider };
33
+ export { MemoizedToastStack as ToastStack };
@@ -0,0 +1,39 @@
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
+
13
+ import { Tooltip as MuiTooltip } from "@mui/material";
14
+ import type { TooltipProps as MuiTooltipProps } from "@mui/material";
15
+
16
+ import { MuiPropsChild } from "./MuiPropsChild";
17
+ import { ReactElement } from "react";
18
+
19
+ export type TooltipProps = {
20
+ children: ReactElement;
21
+ ariaType: "description" | "label";
22
+ text: string;
23
+ placement?: MuiTooltipProps["placement"];
24
+ };
25
+
26
+ export const Tooltip = ({
27
+ ariaType,
28
+ children,
29
+ text,
30
+ placement,
31
+ }: TooltipProps) => (
32
+ <MuiTooltip
33
+ describeChild={ariaType === "description"}
34
+ placement={placement}
35
+ title={text}
36
+ >
37
+ <MuiPropsChild>{children}</MuiPropsChild>
38
+ </MuiTooltip>
39
+ );
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -29,10 +29,10 @@ export const AddIcon = forwardRef<SVGSVGElement, AddIconProps>((props, ref) => {
29
29
  >
30
30
  <>
31
31
  <path
32
+ fill="currentColor"
32
33
  fillRule="evenodd"
34
+ d="M7.5 1V7.5H1v1H7.5V15h1V8.5H15v-1H8.5V1h-1Z"
33
35
  clipRule="evenodd"
34
- d="M7.5 1V1.03201V1.06396V1.09586V1.1277V1.15949V1.19123V1.22291V1.25454V1.28612V1.31764V1.34911V1.38053V1.41189V1.4432V1.47446V1.50567V1.53683V1.56794V1.59899V1.62999V1.66095V1.69185V1.7227V1.75351V1.78426V1.81496V1.84562V1.87622V1.90678V1.93728V1.96774V1.99815V2.02851V2.05883V2.08909V2.11931V2.14948V2.17961V2.20969V2.23972V2.2697V2.29964V2.32953V2.35938V2.38918V2.41894V2.44865V2.47831V2.50793V2.53751V2.56704V2.59653V2.62598V2.65538V2.68474V2.71405V2.74332V2.77255V2.80174V2.83088V2.85998V2.88905V2.91806V2.94704V2.97598V3.00487V3.03373V3.06254V3.09131V3.12004V3.14874V3.17739V3.206V3.23458V3.26311V3.29161V3.32007V3.34849V3.37687V3.40521V3.43352V3.46179V3.49002V3.51821V3.54637V3.57448V3.60257V3.63061V3.65863V3.6866V3.71454V3.74244V3.77031V3.79815V3.82594V3.85371V3.88144V3.90913V3.93679V3.96442V3.99202V4.01958V4.04711V4.0746V4.10206V4.12949V4.15689V4.18426V4.21159V4.2389V4.26617V4.29341V4.32062V4.34779V4.37494V4.40206V4.42915V4.45621V4.48323V4.51023V4.5372V4.56414V4.59105V4.61794V4.64479V4.67162V4.69842V4.72519V4.75193V4.77865V4.80534V4.832V4.85864V4.88525V4.91183V4.93839V4.96492V4.99142V5.0179V5.04436V5.07079V5.0972V5.12358V5.14993V5.17627V5.20258V5.22886V5.25512V5.28136V5.30758V5.33377V5.35994V5.38609V5.41222V5.43832V5.4644V5.49047V5.51651V5.54252V5.56852V5.5945V5.62046V5.64639V5.67231V5.69821V5.72408V5.74994V5.77578V5.8016V5.8274V5.85319V5.87895V5.9047V5.93043V5.95614V5.98183V6.00751V6.03317V6.05881V6.08444V6.11005V6.13564V6.16122V6.18678V6.21233V6.23786V6.26338V6.28888V6.31437V6.33984V6.3653V6.39074V6.41617V6.44159V6.467V6.49239V6.51777V6.54313V6.56848V6.59382V6.61915V6.64447V6.66978V6.69507V6.72035V6.74562V6.77089V6.79614V6.82138V6.84661V6.87183V6.89704V6.92224V6.94743V6.97261V6.99779V7.02295V7.04811V7.07326V7.0984V7.12353V7.14866V7.17378V7.19889V7.22399V7.24909V7.27418V7.29927V7.32435V7.34942V7.37449V7.39955V7.42461V7.44966V7.47471V7.49975V7.5H7.49975H7.47471H7.44966H7.42461H7.39955H7.37449H7.34942H7.32435H7.29927H7.27418H7.24909H7.22399H7.19889H7.17378H7.14866H7.12353H7.0984H7.07326H7.04811H7.02295H6.99779H6.97261H6.94743H6.92224H6.89704H6.87183H6.84661H6.82138H6.79614H6.77089H6.74562H6.72035H6.69507H6.66978H6.64447H6.61915H6.59382H6.56848H6.54313H6.51777H6.49239H6.467H6.44159H6.41617H6.39074H6.3653H6.33984H6.31437H6.28888H6.26338H6.23786H6.21233H6.18678H6.16122H6.13564H6.11005H6.08444H6.05881H6.03317H6.00751H5.98183H5.95614H5.93043H5.9047H5.87895H5.85319H5.8274H5.8016H5.77578H5.74994H5.72408H5.69821H5.67231H5.64639H5.62046H5.5945H5.56852H5.54252H5.51651H5.49047H5.4644H5.43832H5.41222H5.38609H5.35994H5.33377H5.30758H5.28136H5.25512H5.22886H5.20258H5.17627H5.14993H5.12358H5.0972H5.07079H5.04436H5.0179H4.99142H4.96492H4.93839H4.91183H4.88525H4.85864H4.832H4.80534H4.77865H4.75193H4.72519H4.69842H4.67162H4.64479H4.61794H4.59105H4.56414H4.5372H4.51023H4.48323H4.45621H4.42915H4.40206H4.37494H4.34779H4.32062H4.29341H4.26617H4.2389H4.21159H4.18426H4.15689H4.12949H4.10207H4.0746H4.04711H4.01958H3.99202H3.96442H3.9368H3.90913H3.88144H3.85371H3.82594H3.79815H3.77031H3.74244H3.71454H3.6866H3.65863H3.63061H3.60257H3.57448H3.54637H3.51821H3.49002H3.46179H3.43352H3.40521H3.37687H3.34849H3.32007H3.29161H3.26311H3.23458H3.20601H3.17739H3.14874H3.12004H3.09131H3.06254H3.03373H3.00487H2.97598H2.94704H2.91806H2.88904H2.85999H2.83088H2.80174H2.77255H2.74332H2.71405H2.68474H2.65538H2.62598H2.59653H2.56704H2.53751H2.50793H2.47831H2.44865H2.41894H2.38918H2.35938H2.32953H2.29964H2.2697H2.23972H2.20969H2.17961H2.14948H2.11931H2.08909H2.05883H2.02851H1.99815H1.96774H1.93728H1.90678H1.87622H1.84562H1.81496H1.78426H1.75351H1.7227H1.69185H1.66095H1.62999H1.59899H1.56794H1.53683H1.50567H1.47446H1.4432H1.41189H1.38053H1.34911H1.31764H1.28612H1.25454H1.22291H1.19123H1.15949H1.1277H1.09586H1.06396H1.03201H1V8.5H1.03201H1.06396H1.09586H1.1277H1.15949H1.19123H1.22291H1.25454H1.28612H1.31764H1.34911H1.38053H1.41189H1.4432H1.47446H1.50567H1.53683H1.56794H1.59899H1.62999H1.66095H1.69185H1.7227H1.75351H1.78426H1.81496H1.84562H1.87622H1.90678H1.93728H1.96774H1.99815H2.02851H2.05883H2.08909H2.11931H2.14948H2.17961H2.20969H2.23972H2.2697H2.29964H2.32953H2.35938H2.38918H2.41894H2.44865H2.47831H2.50793H2.53751H2.56704H2.59653H2.62598H2.65538H2.68474H2.71405H2.74332H2.77255H2.80174H2.83088H2.85999H2.88904H2.91806H2.94704H2.97598H3.00487H3.03373H3.06254H3.09131H3.12004H3.14874H3.17739H3.20601H3.23458H3.26311H3.29161H3.32007H3.34849H3.37687H3.40521H3.43352H3.46179H3.49002H3.51821H3.54637H3.57448H3.60257H3.63061H3.65863H3.6866H3.71454H3.74244H3.77031H3.79815H3.82594H3.85371H3.88144H3.90913H3.9368H3.96442H3.99202H4.01958H4.04711H4.0746H4.10207H4.12949H4.15689H4.18426H4.21159H4.2389H4.26617H4.29341H4.32062H4.34779H4.37494H4.40206H4.42915H4.45621H4.48323H4.51023H4.5372H4.56414H4.59105H4.61794H4.64479H4.67162H4.69842H4.72519H4.75193H4.77865H4.80534H4.832H4.85864H4.88525H4.91183H4.93839H4.96492H4.99142H5.0179H5.04436H5.07079H5.0972H5.12358H5.14993H5.17627H5.20258H5.22886H5.25512H5.28136H5.30758H5.33377H5.35994H5.38609H5.41222H5.43832H5.4644H5.49047H5.51651H5.54252H5.56852H5.5945H5.62046H5.64639H5.67231H5.69821H5.72408H5.74994H5.77578H5.8016H5.8274H5.85319H5.87895H5.9047H5.93043H5.95614H5.98183H6.00751H6.03317H6.05881H6.08444H6.11005H6.13564H6.16122H6.18678H6.21233H6.23786H6.26338H6.28888H6.31437H6.33984H6.3653H6.39074H6.41617H6.44159H6.467H6.49239H6.51777H6.54313H6.56848H6.59382H6.61915H6.64447H6.66978H6.69507H6.72035H6.74562H6.77089H6.79614H6.82138H6.84661H6.87183H6.89704H6.92224H6.94743H6.97261H6.99779H7.02295H7.04811H7.07326H7.0984H7.12353H7.14866H7.17378H7.19889H7.22399H7.24909H7.27418H7.29927H7.32435H7.34942H7.37449H7.39955H7.42461H7.44966H7.47471H7.49975H7.5V8.50025V8.52529V8.55034V8.57539V8.60045V8.62551V8.65058V8.67565V8.70073V8.72582V8.75091V8.77601V8.80111V8.82622V8.85134V8.87647V8.9016V8.92674V8.95189V8.97705V9.00221V9.02739V9.05257V9.07776V9.10296V9.12817V9.15339V9.17862V9.20386V9.22911V9.25438V9.27965V9.30493V9.33022V9.35553V9.38085V9.40618V9.43152V9.45687V9.48223V9.50761V9.533V9.55841V9.58383V9.60926V9.6347V9.66016V9.68563V9.71112V9.73662V9.76214V9.78767V9.81322V9.83878V9.86436V9.88995V9.91556V9.94119V9.96683V9.99249V10.0182V10.0439V10.0696V10.0953V10.121V10.1468V10.1726V10.1984V10.2242V10.2501V10.2759V10.3018V10.3277V10.3536V10.3795V10.4055V10.4315V10.4575V10.4835V10.5095V10.5356V10.5617V10.5878V10.6139V10.6401V10.6662V10.6924V10.7186V10.7449V10.7711V10.7974V10.8237V10.8501V10.8764V10.9028V10.9292V10.9556V10.9821V11.0086V11.0351V11.0616V11.0882V11.1148V11.1414V11.168V11.1947V11.2214V11.2481V11.2748V11.3016V11.3284V11.3552V11.3821V11.4089V11.4359V11.4628V11.4898V11.5168V11.5438V11.5709V11.5979V11.6251V11.6522V11.6794V11.7066V11.7338V11.7611V11.7884V11.8157V11.8431V11.8705V11.8979V11.9254V11.9529V11.9804V12.008V12.0356V12.0632V12.0909V12.1186V12.1463V12.1741V12.2019V12.2297V12.2576V12.2855V12.3134V12.3414V12.3694V12.3974V12.4255V12.4536V12.4818V12.51V12.5382V12.5665V12.5948V12.6231V12.6515V12.6799V12.7084V12.7369V12.7654V12.794V12.8226V12.8513V12.88V12.9087V12.9375V12.9663V12.9951V13.024V13.053V13.0819V13.111V13.14V13.1691V13.1983V13.2274V13.2567V13.2859V13.3153V13.3446V13.374V13.4035V13.433V13.4625V13.4921V13.5217V13.5514V13.5811V13.6108V13.6406V13.6705V13.7004V13.7303V13.7603V13.7903V13.8204V13.8505V13.8807V13.9109V13.9412V13.9715V14.0018V14.0323V14.0627V14.0932V14.1238V14.1544V14.185V14.2157V14.2465V14.2773V14.3081V14.3391V14.37V14.401V14.4321V14.4632V14.4943V14.5255V14.5568V14.5881V14.6195V14.6509V14.6824V14.7139V14.7455V14.7771V14.8088V14.8405V14.8723V14.9041V14.936V14.968V15H8.5V14.968V14.936V14.9041V14.8723V14.8405V14.8088V14.7771V14.7455V14.7139V14.6824V14.6509V14.6195V14.5881V14.5568V14.5255V14.4943V14.4632V14.4321V14.401V14.37V14.3391V14.3081V14.2773V14.2465V14.2157V14.185V14.1544V14.1238V14.0932V14.0627V14.0323V14.0018V13.9715V13.9412V13.9109V13.8807V13.8505V13.8204V13.7903V13.7603V13.7303V13.7004V13.6705V13.6406V13.6108V13.5811V13.5514V13.5217V13.4921V13.4625V13.433V13.4035V13.374V13.3446V13.3153V13.2859V13.2567V13.2274V13.1983V13.1691V13.14V13.111V13.0819V13.053V13.024V12.9951V12.9663V12.9375V12.9087V12.88V12.8513V12.8226V12.794V12.7654V12.7369V12.7084V12.6799V12.6515V12.6231V12.5948V12.5665V12.5382V12.51V12.4818V12.4536V12.4255V12.3974V12.3694V12.3414V12.3134V12.2855V12.2576V12.2297V12.2019V12.1741V12.1463V12.1186V12.0909V12.0632V12.0356V12.008V11.9804V11.9529V11.9254V11.8979V11.8705V11.8431V11.8157V11.7884V11.7611V11.7338V11.7066V11.6794V11.6522V11.6251V11.5979V11.5709V11.5438V11.5168V11.4898V11.4628V11.4359V11.4089V11.3821V11.3552V11.3284V11.3016V11.2748V11.2481V11.2214V11.1947V11.168V11.1414V11.1148V11.0882V11.0616V11.0351V11.0086V10.9821V10.9556V10.9292V10.9028V10.8764V10.8501V10.8237V10.7974V10.7711V10.7449V10.7186V10.6924V10.6662V10.6401V10.6139V10.5878V10.5617V10.5356V10.5095V10.4835V10.4575V10.4315V10.4055V10.3795V10.3536V10.3277V10.3018V10.2759V10.2501V10.2242V10.1984V10.1726V10.1468V10.121V10.0953V10.0696V10.0439V10.0182V9.99249V9.96683V9.94119V9.91556V9.88995V9.86436V9.83878V9.81322V9.78767V9.76214V9.73662V9.71112V9.68563V9.66016V9.6347V9.60926V9.58383V9.55841V9.533V9.50761V9.48223V9.45687V9.43152V9.40618V9.38085V9.35553V9.33022V9.30493V9.27965V9.25438V9.22911V9.20386V9.17862V9.15339V9.12817V9.10296V9.07776V9.05257V9.02739V9.00221V8.97705V8.95189V8.92674V8.9016V8.87647V8.85134V8.82622V8.80111V8.77601V8.75091V8.72582V8.70073V8.67565V8.65058V8.62551V8.60045V8.57539V8.55034V8.52529V8.50025V8.5H8.50025H8.52529H8.55034H8.57539H8.60045H8.62551H8.65058H8.67565H8.70073H8.72582H8.75091H8.77601H8.80111H8.82622H8.85134H8.87647H8.9016H8.92674H8.95189H8.97705H9.00221H9.02739H9.05257H9.07776H9.10296H9.12817H9.15339H9.17862H9.20386H9.22911H9.25438H9.27965H9.30493H9.33022H9.35553H9.38085H9.40617H9.43152H9.45687H9.48223H9.50761H9.533L9.55841 8.5H9.58383H9.60926H9.6347H9.66016H9.68563H9.71112H9.73662H9.76214H9.78767H9.81322H9.83878H9.86436H9.88995H9.91556H9.94119H9.96683H9.99249H10.0182H10.0439H10.0696H10.0953H10.121H10.1468H10.1726H10.1984H10.2242H10.2501H10.2759H10.3018H10.3277H10.3536H10.3795H10.4055H10.4315H10.4575H10.4835H10.5095H10.5356H10.5617H10.5878H10.6139H10.6401H10.6662H10.6924H10.7186H10.7449H10.7711H10.7974H10.8237H10.8501H10.8764H10.9028H10.9292H10.9556H10.9821H11.0086H11.0351H11.0616H11.0882H11.1148H11.1414H11.168H11.1947H11.2214H11.2481H11.2748H11.3016H11.3284H11.3552H11.3821H11.4089H11.4359H11.4628H11.4898H11.5168H11.5438H11.5709H11.5979H11.6251H11.6522H11.6794H11.7066H11.7338H11.7611H11.7884H11.8157H11.8431H11.8705H11.8979H11.9254H11.9529H11.9804H12.008H12.0356H12.0632H12.0909H12.1186H12.1463H12.1741H12.2019H12.2297H12.2576H12.2855H12.3134H12.3414H12.3694H12.3974H12.4255H12.4536H12.4818H12.51H12.5382H12.5665H12.5948H12.6231H12.6515H12.6799H12.7084H12.7369H12.7654H12.794H12.8226H12.8513H12.88H12.9087H12.9375H12.9663H12.9951H13.024H13.053H13.0819H13.111H13.14H13.1691H13.1983H13.2274H13.2567H13.2859H13.3153H13.3446H13.374H13.4035H13.433H13.4625H13.4921H13.5217H13.5514H13.5811H13.6108H13.6406H13.6705H13.7004H13.7303H13.7603H13.7903H13.8204H13.8505H13.8807H13.9109H13.9412H13.9715H14.0018H14.0323H14.0627H14.0932H14.1238H14.1544H14.185H14.2157H14.2465H14.2773H14.3081H14.3391H14.37H14.401H14.4321H14.4632H14.4943H14.5255H14.5568H14.5881H14.6195H14.6509H14.6824H14.7139H14.7455H14.7771H14.8088H14.8405H14.8723H14.9041H14.936H14.968H15V7.5H14.968H14.936H14.9041H14.8723H14.8405H14.8088H14.7771H14.7455H14.7139H14.6824H14.6509H14.6195H14.5881H14.5568H14.5255H14.4943H14.4632H14.4321H14.401H14.37H14.3391H14.3081H14.2773H14.2465H14.2157H14.185H14.1544H14.1238H14.0932H14.0627H14.0323H14.0018H13.9715H13.9412H13.9109H13.8807H13.8505H13.8204H13.7903H13.7603H13.7303H13.7004H13.6705H13.6406H13.6108H13.5811H13.5514H13.5217H13.4921H13.4625H13.433H13.4035H13.374H13.3446H13.3153H13.2859H13.2567H13.2274H13.1983H13.1691H13.14H13.111H13.0819H13.053H13.024H12.9951H12.9663H12.9375H12.9087H12.88H12.8513H12.8226H12.794H12.7654H12.7369H12.7084H12.6799H12.6515H12.6231H12.5948H12.5665H12.5382H12.51H12.4818H12.4536H12.4255H12.3974H12.3694H12.3414H12.3134H12.2855H12.2576H12.2297H12.2019H12.1741H12.1463H12.1186H12.0909H12.0632H12.0356H12.008H11.9804H11.9529H11.9254H11.8979H11.8705H11.8431H11.8157H11.7884H11.7611H11.7338H11.7066H11.6794H11.6522H11.6251H11.5979H11.5709H11.5438H11.5168H11.4898H11.4628H11.4359H11.4089H11.3821H11.3552H11.3284H11.3016H11.2748H11.2481H11.2214H11.1947H11.168H11.1414H11.1148H11.0882H11.0616H11.0351H11.0086H10.9821H10.9556H10.9292H10.9028H10.8764H10.8501H10.8237H10.7974H10.7711H10.7449H10.7186H10.6924H10.6662H10.6401H10.6139H10.5878H10.5617H10.5356H10.5095H10.4835H10.4575H10.4315H10.4055H10.3795H10.3536H10.3277H10.3018H10.2759H10.2501H10.2242H10.1984H10.1726H10.1468H10.121H10.0953H10.0696H10.0439H10.0182H9.99249H9.96683H9.94119H9.91556H9.88995H9.86436H9.83878H9.81322H9.78767H9.76214H9.73662H9.71112H9.68563H9.66016H9.6347H9.60926H9.58383H9.55841L9.533 7.5H9.50761H9.48223H9.45687H9.43152H9.40618H9.38085H9.35553H9.33022H9.30493H9.27965H9.25438H9.22911H9.20386H9.17862H9.15339H9.12817H9.10296H9.07776H9.05257H9.02739H9.00221H8.97705H8.95189H8.92674H8.9016H8.87647H8.85134H8.82622H8.80111H8.77601H8.75091H8.72582H8.70073H8.67565H8.65058H8.62551H8.60045H8.57539H8.55034H8.52529H8.50025H8.5V7.49975V7.47471V7.44966V7.42461V7.39955V7.37449V7.34942V7.32435V7.29927V7.27418V7.24909V7.22399V7.19889V7.17378V7.14866V7.12353V7.0984V7.07326V7.04811V7.02295V6.99779V6.97261V6.94743V6.92224V6.89704V6.87183V6.84661V6.82138V6.79614V6.77089V6.74562V6.72035V6.69507V6.66978V6.64447V6.61915V6.59382V6.56848V6.54313V6.51777V6.49239V6.467V6.44159V6.41617V6.39074V6.3653V6.33984V6.31437V6.28888V6.26338V6.23786V6.21233V6.18678V6.16122V6.13564V6.11005V6.08444V6.05881V6.03317V6.00751V5.98183V5.95614V5.93043V5.9047V5.87895V5.85319V5.8274V5.8016V5.77578V5.74994V5.72408V5.69821V5.67231V5.64639V5.62046V5.5945V5.56852V5.54252V5.51651V5.49047V5.4644V5.43832V5.41222V5.38609V5.35994V5.33377V5.30758V5.28136V5.25512V5.22886V5.20258V5.17627V5.14993V5.12358V5.0972V5.07079V5.04436V5.0179V4.99142V4.96492V4.93839V4.91183V4.88525V4.85864V4.832V4.80534V4.77865V4.75193V4.72519V4.69842V4.67162V4.64479V4.61794V4.59105V4.56414V4.5372V4.51023V4.48323V4.45621V4.42915V4.40206V4.37494V4.34779V4.32062V4.29341V4.26617V4.2389V4.21159V4.18426V4.15689V4.12949V4.10206V4.0746V4.04711V4.01958V3.99202V3.96442V3.93679V3.90913V3.88144V3.85371V3.82594V3.79815V3.77031V3.74244V3.71454V3.6866V3.65863V3.63061V3.60257V3.57448V3.54637V3.51821V3.49002V3.46179V3.43352V3.40521V3.37687V3.34849V3.32007V3.29161V3.26311V3.23458V3.206V3.17739V3.14874V3.12004V3.09131V3.06254V3.03373V3.00487V2.97598V2.94704V2.91806V2.88905V2.85998V2.83088V2.80174V2.77255V2.74332V2.71405V2.68474V2.65538V2.62598V2.59653V2.56704V2.53751V2.50793V2.47831V2.44865V2.41894V2.38918V2.35938V2.32953V2.29964V2.2697V2.23972V2.20969V2.17961V2.14948V2.11931V2.08909V2.05883V2.02851V1.99815V1.96774V1.93728V1.90678V1.87622V1.84562V1.81496V1.78426V1.75351V1.7227V1.69185V1.66095V1.62999V1.59899V1.56794V1.53683V1.50567V1.47446V1.4432V1.41189V1.38053V1.34911V1.31764V1.28612V1.25454V1.22291V1.19123V1.15949V1.1277V1.09586V1.06396V1.03201V1H7.5Z"
35
- fill="currentColor"
36
36
  />
37
37
  </>
38
38
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const AddCircleIcon = forwardRef<SVGSVGElement, AddCircleIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm-7 8A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm-.5-5V8.5H5v-1h2.5V5h1v2.5H11v1H8.5V11h-1Z"
34
36
  clipRule="evenodd"
35
- d="M15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8ZM8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16ZM7.5 11V8.5H5V7.5H7.5V5H8.5V7.5H11V8.5H8.5V11H7.5Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const AlertCircleIcon = forwardRef<SVGSVGElement, AlertCircleIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm8-7A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-8 4a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm-.5-3.5a.5.5 0 0 0 1 0V4h-1v4.5Z"
34
36
  clipRule="evenodd"
35
- d="M8 15C11.866 15 15 11.866 15 8C15 4.13401 11.866 1 8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15ZM16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 12C8.14834 12 8.29334 11.956 8.41668 11.8736C8.54001 11.7912 8.63614 11.6741 8.69291 11.537C8.74968 11.4 8.76453 11.2492 8.73559 11.1037C8.70665 10.9582 8.63522 10.8246 8.53033 10.7197C8.42544 10.6148 8.29181 10.5434 8.14632 10.5144C8.00083 10.4855 7.85003 10.5003 7.71299 10.5571C7.57594 10.6139 7.45881 10.71 7.3764 10.8333C7.29399 10.9567 7.25 11.1017 7.25 11.25C7.25 11.4489 7.32902 11.6397 7.46967 11.7803C7.61032 11.921 7.80109 12 8 12ZM7.5 8.5C7.5 8.77614 7.72386 9 8 9C8.27614 9 8.5 8.77614 8.5 8.5V4H7.5L7.5 8.5Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -32,10 +32,10 @@ export const AlertCircleFilledIcon = forwardRef<
32
32
  >
33
33
  <>
34
34
  <path
35
+ fill="currentColor"
35
36
  fillRule="evenodd"
37
+ d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM8 9a.5.5 0 0 1-.5-.5V4h1v4.5A.5.5 0 0 1 8 9Zm0 3a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
36
38
  clipRule="evenodd"
37
- d="M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 9C7.72386 9 7.5 8.77614 7.5 8.5L7.5 4H8.5V8.5C8.5 8.77614 8.27614 9 8 9ZM8 12C8.14834 12 8.29334 11.956 8.41668 11.8736C8.54001 11.7912 8.63614 11.6741 8.69291 11.537C8.74968 11.4 8.76453 11.2492 8.73559 11.1037C8.70665 10.9582 8.63522 10.8246 8.53033 10.7197C8.42544 10.6148 8.2918 10.5434 8.14632 10.5144C8.00083 10.4855 7.85003 10.5003 7.71299 10.5571C7.57594 10.6139 7.45881 10.71 7.3764 10.8333C7.29399 10.9567 7.25 11.1017 7.25 11.25C7.25 11.4489 7.32902 11.6397 7.46967 11.7803C7.61032 11.921 7.80109 12 8 12Z"
38
- fill="currentColor"
39
39
  />
40
40
  </>
41
41
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -32,10 +32,10 @@ export const AlertTriangleFilledIcon = forwardRef<
32
32
  >
33
33
  <>
34
34
  <path
35
+ fill="currentColor"
35
36
  fillRule="evenodd"
37
+ d="M13.983 14.647c-.512.353-1.35.353-3.026.353H5.042c-1.675 0-2.513 0-3.025-.353a2 2 0 0 1-.839-1.322c-.101-.614.256-1.372.97-2.888l2.957-6.284C6.029 2.189 6.49 1.207 7.125.898a2 2 0 0 1 1.75 0c.634.309 1.096 1.29 2.02 3.255l2.958 6.284c.713 1.516 1.07 2.274.969 2.888a2 2 0 0 1-.839 1.322ZM8 10a.5.5 0 0 1-.5-.5V5h1v4.5a.5.5 0 0 1-.5.5Zm0 3a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
36
38
  clipRule="evenodd"
37
- d="M13.983 14.6471C13.4706 15 12.6329 15 10.9575 15H5.04248C3.36707 15 2.52937 15 2.01699 14.6471C1.56939 14.3387 1.26655 13.8615 1.17816 13.3252C1.07698 12.7114 1.43367 11.9534 2.14706 10.4374L5.10455 4.15277C6.02878 2.18879 6.49089 1.2068 7.12576 0.898255C7.6777 0.630012 8.32225 0.630012 8.87419 0.898255C9.50906 1.2068 9.97117 2.18879 10.8954 4.15277L13.8529 10.4374C14.5663 11.9534 14.923 12.7114 14.8218 13.3252C14.7334 13.8615 14.4306 14.3387 13.983 14.6471ZM7.99998 10C7.72383 10 7.49998 9.77614 7.49998 9.5L7.49998 5H8.49998L8.49998 9.5C8.49998 9.77614 8.27612 10 7.99998 10ZM7.99998 13C8.14831 13 8.29332 12.956 8.41665 12.8736C8.53999 12.7912 8.63612 12.6741 8.69288 12.537C8.74965 12.4 8.7645 12.2492 8.73556 12.1037C8.70662 11.9582 8.6352 11.8246 8.53031 11.7197C8.42542 11.6148 8.29178 11.5434 8.14629 11.5144C8.00081 11.4855 7.85001 11.5003 7.71296 11.5571C7.57592 11.6139 7.45878 11.71 7.37637 11.8333C7.29396 11.9567 7.24998 12.1017 7.24998 12.25C7.24998 12.4489 7.32899 12.6397 7.46964 12.7803C7.6103 12.921 7.80106 13 7.99998 13Z"
38
- fill="currentColor"
39
39
  />
40
40
  </>
41
41
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,12 +30,12 @@ export const AnchorIcon = forwardRef<SVGSVGElement, AnchorIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
- d="M8.32067 5.67758C7.79559 5.1527 7.08356 4.85784 6.34113 4.85784C5.59869 4.85784 4.88666 5.1527 4.36158 5.67758L1.81825 8.22267C1.42752 8.61434 1.16158 9.11298 1.054 9.65566C0.946411 10.1983 1.002 10.7607 1.21375 11.2718C1.42549 11.783 1.78391 12.2199 2.24375 12.5275C2.7036 12.8351 3.24426 12.9996 3.7975 13.0002C4.16467 13.0014 4.52845 12.9299 4.86785 12.7899C5.20725 12.6498 5.51557 12.4439 5.775 12.1841L7.875 10.0841C7.90289 10.0561 7.92186 10.0204 7.92951 9.98164C7.93716 9.94285 7.93315 9.90267 7.91798 9.86616C7.90282 9.82966 7.87718 9.79846 7.8443 9.77651C7.81143 9.75456 7.77278 9.74284 7.73325 9.74283H7.65333C7.2146 9.74422 6.77983 9.6598 6.3735 9.49433C6.33683 9.47928 6.29652 9.47546 6.25768 9.48336C6.21884 9.49125 6.18322 9.5105 6.15533 9.53867L4.64567 11.0501C4.53494 11.1648 4.40246 11.2563 4.25599 11.3192C4.10951 11.3822 3.95196 11.4153 3.79254 11.4167C3.63311 11.4181 3.475 11.3878 3.32744 11.3274C3.17988 11.2671 3.04582 11.1779 2.93308 11.0652C2.82035 10.9524 2.7312 10.8184 2.67084 10.6708C2.61047 10.5232 2.58011 10.3651 2.58151 10.2057C2.58292 10.0463 2.61606 9.88874 2.67901 9.74226C2.74197 9.59579 2.83346 9.46332 2.94817 9.35258L5.50083 6.80167C5.72581 6.577 6.03076 6.45081 6.34871 6.45081C6.66666 6.45081 6.9716 6.577 7.19658 6.80167C7.51217 7.09917 8.0045 7.09917 8.32008 6.80167C8.456 6.66575 8.53825 6.4855 8.55225 6.29417C8.55948 6.18089 8.54252 6.06738 8.50249 5.96117C8.46246 5.85496 8.40028 5.75849 8.32008 5.67817L8.32067 5.67758Z"
34
33
  fill="currentColor"
34
+ d="M8.32 5.678a2.8 2.8 0 0 0-3.958 0L1.818 8.223a2.8 2.8 0 0 0 3.957 3.961l2.1-2.1a.2.2 0 0 0-.142-.341h-.08a3.365 3.365 0 0 1-1.28-.249.2.2 0 0 0-.218.045l-1.51 1.511a1.2 1.2 0 1 1-1.697-1.697l2.553-2.551a1.2 1.2 0 0 1 1.696 0 .819.819 0 0 0 1.123 0 .8.8 0 0 0 .232-.508.8.8 0 0 0-.232-.616Z"
35
35
  />
36
36
  <path
37
- d="M12.1783 1.82C11.6532 1.29512 10.9411 1.00026 10.1987 1.00026C9.45628 1.00026 8.74424 1.29512 8.21917 1.82L6.1215 3.91533C6.09294 3.94353 6.07351 3.97966 6.06575 4.01903C6.05798 4.05841 6.06224 4.09921 6.07797 4.13614C6.09369 4.17306 6.12016 4.2044 6.15393 4.22609C6.1877 4.24778 6.22721 4.25881 6.26733 4.25775H6.34142C6.77945 4.25689 7.21343 4.3417 7.61892 4.50742C7.65553 4.52254 7.6958 4.52645 7.73464 4.51866C7.77348 4.51088 7.80913 4.49173 7.83708 4.46367L9.34267 2.95983C9.4534 2.84513 9.58587 2.75363 9.73235 2.69068C9.87882 2.62773 10.0364 2.59458 10.1958 2.59318C10.3552 2.59177 10.5133 2.62214 10.6609 2.6825C10.8085 2.74286 10.9425 2.83201 11.0553 2.94475C11.168 3.05748 11.2571 3.19155 11.3175 3.33911C11.3779 3.48667 11.4082 3.64478 11.4068 3.8042C11.4054 3.96363 11.3723 4.12118 11.3093 4.26765C11.2464 4.41413 11.1549 4.5466 11.0402 4.65733L9.16475 6.531L9.149 6.54908L8.49275 7.20125C8.26777 7.42591 7.96282 7.5521 7.64487 7.5521C7.32693 7.5521 7.02198 7.42591 6.797 7.20125C6.6449 7.05827 6.444 6.97867 6.23525 6.97867C6.0265 6.97867 5.8256 7.05827 5.6735 7.20125C5.53679 7.33809 5.45431 7.51984 5.44133 7.71283C5.42675 7.94208 5.51133 8.16608 5.6735 8.32883C5.90474 8.56121 6.17531 8.75081 6.47267 8.88883C6.51525 8.90866 6.55725 8.925 6.59925 8.9425C6.64125 8.96058 6.685 8.97458 6.72758 8.99091C6.769 9.00666 6.81333 9.02066 6.85533 9.03291L6.97317 9.06441C7.05308 9.08483 7.133 9.10058 7.21525 9.11458C7.31383 9.12916 7.41358 9.1385 7.51275 9.14258H7.66442L7.78517 9.12858C7.82892 9.12683 7.875 9.11691 7.92692 9.11691H7.99517L8.13283 9.0965L8.197 9.08483L8.31308 9.06091H8.33467C8.82594 8.93747 9.27452 8.68304 9.63258 8.32475L12.1783 5.77908C12.7031 5.25401 12.998 4.54197 12.998 3.79954C12.998 3.05711 12.7031 2.34507 12.1783 1.82V1.82Z"
38
37
  fill="currentColor"
38
+ d="M12.178 1.82a2.8 2.8 0 0 0-3.959 0L6.122 3.915a.2.2 0 0 0 .145.343h.074c.438-.001.872.084 1.278.25a.2.2 0 0 0 .218-.044L9.343 2.96a1.2 1.2 0 1 1 1.697 1.697L9.165 6.531l-.016.018-.656.652a1.2 1.2 0 0 1-1.696 0 .82.82 0 0 0-1.123 0 .8.8 0 0 0 0 1.128c.23.232.501.422.799.56.042.02.084.036.126.054.042.018.086.032.129.048.041.016.085.03.127.042l.118.031c.08.02.16.037.242.05.099.015.199.024.298.029h.151l.121-.014c.044-.002.09-.012.142-.012h.068l.138-.02.064-.012.116-.024h.022a2.8 2.8 0 0 0 1.298-.736l2.545-2.546a2.8 2.8 0 0 0 0-3.959Z"
39
39
  />
40
40
  </>
41
41
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const ArrowDownIcon = forwardRef<SVGSVGElement, ArrowDownIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="m8.5 13.293 4.146-4.147.708.708-5 5a.5.5 0 0 1-.708 0l-5-5 .708-.708L7.5 13.293V1h1v12.293Z"
34
36
  clipRule="evenodd"
35
- d="M8.50001 13.2929L12.6465 9.14645L13.3536 9.85355L8.35356 14.8536C8.1583 15.0488 7.84172 15.0488 7.64645 14.8536L2.64645 9.85355L3.35356 9.14645L7.50001 13.2929L7.50001 1L8.50001 1L8.50001 13.2929Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const ArrowLeftIcon = forwardRef<SVGSVGElement, ArrowLeftIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="m2.707 8.5 4.147 4.146-.708.708-5-5a.5.5 0 0 1 0-.708l5-5 .708.708L2.707 7.5H15v1H2.707Z"
34
36
  clipRule="evenodd"
35
- d="M2.70711 8.5L6.85355 12.6464L6.14645 13.3536L1.14645 8.35355C0.951185 8.15829 0.951185 7.84171 1.14645 7.64645L6.14645 2.64645L6.85355 3.35355L2.70711 7.5L15 7.5L15 8.5L2.70711 8.5Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const ArrowRightIcon = forwardRef<SVGSVGElement, ArrowRightIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="M13.293 7.5 9.146 3.354l.708-.708 5 5a.5.5 0 0 1 0 .708l-5 5-.708-.708L13.293 8.5H1v-1h12.293Z"
34
36
  clipRule="evenodd"
35
- d="M13.2929 7.5L9.14645 3.35355L9.85355 2.64645L14.8536 7.64645C15.0488 7.84171 15.0488 8.15829 14.8536 8.35355L9.85355 13.3536L9.14645 12.6464L13.2929 8.5H1V7.5H13.2929Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const ArrowUpIcon = forwardRef<SVGSVGElement, ArrowUpIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="M7.5 2.707 3.354 6.854l-.708-.708 5-5a.5.5 0 0 1 .708 0l5 5-.707.708L8.5 2.707V15h-1V2.707Z"
34
36
  clipRule="evenodd"
35
- d="M7.50001 2.70711L3.35356 6.85355L2.64645 6.14645L7.64645 1.14645C7.84172 0.951185 8.1583 0.951185 8.35356 1.14645L13.3536 6.14645L12.6465 6.85355L8.50001 2.70711L8.50001 15L7.50001 15L7.50001 2.70711Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
3
  * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
4
  *
5
5
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
@@ -30,10 +30,10 @@ export const ArrowUpDownIcon = forwardRef<SVGSVGElement, ArrowUpDownIconProps>(
30
30
  >
31
31
  <>
32
32
  <path
33
+ fill="currentColor"
33
34
  fillRule="evenodd"
35
+ d="M5 12V3.707l2.646 2.647.708-.708-3.5-3.5a.5.5 0 0 0-.708 0l-3.5 3.5.708.708L4 3.707V12h1Zm6-8v8.293L8.354 9.646l-.708.708 3.5 3.5a.5.5 0 0 0 .708 0l3.5-3.5-.707-.708L12 12.293V4h-1Z"
34
36
  clipRule="evenodd"
35
- d="M5.00001 12V3.70711L7.64645 6.35355L8.35356 5.64645L4.85356 2.14645C4.6583 1.95118 4.34172 1.95118 4.14646 2.14645L0.646454 5.64645L1.35356 6.35355L4.00001 3.70711L4.00001 12H5.00001ZM11 4L11 12.2929L8.35357 9.64644L7.64647 10.3536L11.1465 13.8536C11.3417 14.0488 11.6583 14.0488 11.8536 13.8536L15.3536 10.3536L14.6465 9.64644L12 12.2929L12 4L11 4Z"
36
- fill="currentColor"
37
37
  />
38
38
  </>
39
39
  </SvgIcon>