@okta/odyssey-react-mui 0.24.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1064) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/README.md +8 -11
  3. package/dist/Autocomplete.js +2 -1
  4. package/dist/Autocomplete.js.map +1 -1
  5. package/dist/Banner.js +11 -4
  6. package/dist/Banner.js.map +1 -1
  7. package/dist/{src/theme/OdysseyTheme.d.ts → Box.js} +20 -12
  8. package/dist/Box.js.map +1 -0
  9. package/dist/Button.js +23 -9
  10. package/dist/Button.js.map +1 -1
  11. package/dist/{Infobox.js → Callout.js} +18 -9
  12. package/dist/Callout.js.map +1 -0
  13. package/dist/Checkbox.js +17 -12
  14. package/dist/Checkbox.js.map +1 -1
  15. package/dist/CheckboxGroup.js +2 -1
  16. package/dist/CheckboxGroup.js.map +1 -1
  17. package/dist/CircularProgress.js +3 -1
  18. package/dist/CircularProgress.js.map +1 -1
  19. package/dist/Dialog.js +15 -9
  20. package/dist/Dialog.js.map +1 -1
  21. package/dist/Field.js +11 -4
  22. package/dist/Field.js.map +1 -1
  23. package/dist/FieldError.js +3 -2
  24. package/dist/FieldError.js.map +1 -1
  25. package/dist/FieldHint.js +3 -2
  26. package/dist/FieldHint.js.map +1 -1
  27. package/dist/FieldLabel.js +5 -3
  28. package/dist/FieldLabel.js.map +1 -1
  29. package/dist/Fieldset.js +25 -17
  30. package/dist/Fieldset.js.map +1 -1
  31. package/{src/theme/useTheme.ts → dist/FieldsetContext.js} +6 -6
  32. package/dist/FieldsetContext.js.map +1 -0
  33. package/dist/Form.js +25 -13
  34. package/dist/Form.js.map +1 -1
  35. package/dist/Link.js +17 -22
  36. package/dist/Link.js.map +1 -1
  37. package/dist/MenuButton.js +41 -22
  38. package/dist/MenuButton.js.map +1 -1
  39. package/dist/{src/theme/useTheme.d.ts → MenuContext.js} +7 -3
  40. package/dist/MenuContext.js.map +1 -0
  41. package/dist/MenuItem.js +23 -10
  42. package/dist/MenuItem.js.map +1 -1
  43. package/dist/MuiPropsChild.js +1 -0
  44. package/dist/MuiPropsChild.js.map +1 -1
  45. package/dist/MuiPropsContext.js +2 -1
  46. package/dist/MuiPropsContext.js.map +1 -1
  47. package/dist/NativeSelect.js.map +1 -1
  48. package/dist/NullElement.js +2 -0
  49. package/dist/NullElement.js.map +1 -0
  50. package/dist/OdysseyCacheProvider.js +6 -3
  51. package/dist/OdysseyCacheProvider.js.map +1 -1
  52. package/dist/OdysseyDesignTokensContext.js +17 -0
  53. package/dist/OdysseyDesignTokensContext.js.map +1 -0
  54. package/dist/OdysseyI18n.js +12 -8
  55. package/dist/OdysseyI18n.js.map +1 -1
  56. package/dist/OdysseyProvider.js +4 -2
  57. package/dist/OdysseyProvider.js.map +1 -1
  58. package/dist/OdysseyThemeProvider.js +15 -8
  59. package/dist/OdysseyThemeProvider.js.map +1 -1
  60. package/dist/OdysseyTranslationProvider.js.map +1 -1
  61. package/dist/OdysseyTranslationProvider.types.js +1 -1
  62. package/dist/OdysseyTranslationProvider.types.js.map +1 -1
  63. package/dist/PasswordField.js +7 -5
  64. package/dist/PasswordField.js.map +1 -1
  65. package/dist/Radio.js +5 -6
  66. package/dist/Radio.js.map +1 -1
  67. package/dist/RadioGroup.js +1 -0
  68. package/dist/RadioGroup.js.map +1 -1
  69. package/dist/ScreenReaderText.js +5 -2
  70. package/dist/ScreenReaderText.js.map +1 -1
  71. package/dist/SearchField.js +36 -5
  72. package/dist/SearchField.js.map +1 -1
  73. package/dist/Select.js +6 -5
  74. package/dist/Select.js.map +1 -1
  75. package/dist/Status.js +10 -4
  76. package/dist/Status.js.map +1 -1
  77. package/dist/SvgIcon.js.map +1 -0
  78. package/dist/Tabs.js +6 -4
  79. package/dist/Tabs.js.map +1 -1
  80. package/dist/Tag.js +12 -3
  81. package/dist/Tag.js.map +1 -1
  82. package/dist/TagList.js +3 -0
  83. package/dist/TagList.js.map +1 -1
  84. package/dist/TextField.js +1 -0
  85. package/dist/TextField.js.map +1 -1
  86. package/dist/Toast.js +12 -5
  87. package/dist/Toast.js.map +1 -1
  88. package/dist/ToastStack.js +10 -6
  89. package/dist/ToastStack.js.map +1 -1
  90. package/dist/Tooltip.js +2 -2
  91. package/dist/Tooltip.js.map +1 -1
  92. package/dist/Typography.js +283 -0
  93. package/dist/Typography.js.map +1 -0
  94. package/dist/{iconDictionary → icons.generated}/Add.js +5 -5
  95. package/dist/icons.generated/Add.js.map +1 -0
  96. package/dist/{iconDictionary → icons.generated}/AddCircle.js +5 -5
  97. package/dist/icons.generated/AddCircle.js.map +1 -0
  98. package/dist/icons.generated/Apps.js +33 -0
  99. package/dist/icons.generated/Apps.js.map +1 -0
  100. package/dist/{iconDictionary → icons.generated}/ArrowDown.js +5 -5
  101. package/dist/icons.generated/ArrowDown.js.map +1 -0
  102. package/dist/{iconDictionary → icons.generated}/ArrowLeft.js +5 -5
  103. package/dist/icons.generated/ArrowLeft.js.map +1 -0
  104. package/dist/icons.generated/ArrowLowerLeft.js +33 -0
  105. package/dist/icons.generated/ArrowLowerLeft.js.map +1 -0
  106. package/dist/icons.generated/ArrowLowerRight.js +33 -0
  107. package/dist/icons.generated/ArrowLowerRight.js.map +1 -0
  108. package/dist/{iconDictionary → icons.generated}/ArrowRight.js +5 -5
  109. package/dist/icons.generated/ArrowRight.js.map +1 -0
  110. package/dist/icons.generated/ArrowUnsorted.js +33 -0
  111. package/dist/icons.generated/ArrowUnsorted.js.map +1 -0
  112. package/dist/{iconDictionary → icons.generated}/ArrowUp.js +5 -5
  113. package/dist/icons.generated/ArrowUp.js.map +1 -0
  114. package/dist/icons.generated/ArrowUpperLeft.js +33 -0
  115. package/dist/icons.generated/ArrowUpperLeft.js.map +1 -0
  116. package/dist/icons.generated/ArrowUpperRight.js +33 -0
  117. package/dist/icons.generated/ArrowUpperRight.js.map +1 -0
  118. package/dist/icons.generated/Bug.js +33 -0
  119. package/dist/icons.generated/Bug.js.map +1 -0
  120. package/dist/icons.generated/Calendar.js +33 -0
  121. package/dist/icons.generated/Calendar.js.map +1 -0
  122. package/dist/icons.generated/Call.js +33 -0
  123. package/dist/icons.generated/Call.js.map +1 -0
  124. package/dist/icons.generated/Chat.js +33 -0
  125. package/dist/icons.generated/Chat.js.map +1 -0
  126. package/dist/{iconDictionary → icons.generated}/Check.js +5 -5
  127. package/dist/icons.generated/Check.js.map +1 -0
  128. package/dist/{iconDictionary → icons.generated}/CheckCircleFilled.js +5 -5
  129. package/dist/icons.generated/CheckCircleFilled.js.map +1 -0
  130. package/dist/{iconDictionary → icons.generated}/ChevronDown.js +5 -5
  131. package/dist/icons.generated/ChevronDown.js.map +1 -0
  132. package/dist/icons.generated/ChevronLeft.js +33 -0
  133. package/dist/icons.generated/ChevronLeft.js.map +1 -0
  134. package/dist/icons.generated/ChevronRight.js +33 -0
  135. package/dist/icons.generated/ChevronRight.js.map +1 -0
  136. package/dist/{iconDictionary → icons.generated}/ChevronUp.js +5 -5
  137. package/dist/icons.generated/ChevronUp.js.map +1 -0
  138. package/dist/icons.generated/Clock.js +33 -0
  139. package/dist/icons.generated/Clock.js.map +1 -0
  140. package/dist/{iconDictionary → icons.generated}/Close.js +5 -5
  141. package/dist/icons.generated/Close.js.map +1 -0
  142. package/dist/{iconDictionary → icons.generated}/CloseCircleFilled.js +5 -5
  143. package/dist/icons.generated/CloseCircleFilled.js.map +1 -0
  144. package/dist/{iconDictionary/OverflowVertical.js → icons.generated/CollapseLeft.js} +8 -8
  145. package/dist/icons.generated/CollapseLeft.js.map +1 -0
  146. package/dist/icons.generated/CollapseRight.js +33 -0
  147. package/dist/icons.generated/CollapseRight.js.map +1 -0
  148. package/dist/icons.generated/Copy.js +33 -0
  149. package/dist/icons.generated/Copy.js.map +1 -0
  150. package/dist/icons.generated/DangerDiamond.js +33 -0
  151. package/dist/icons.generated/DangerDiamond.js.map +1 -0
  152. package/dist/icons.generated/DangerDiamondFilled.js +33 -0
  153. package/dist/icons.generated/DangerDiamondFilled.js.map +1 -0
  154. package/dist/{iconDictionary → icons.generated}/Delete.js +5 -5
  155. package/dist/icons.generated/Delete.js.map +1 -0
  156. package/dist/icons.generated/Deny.js +33 -0
  157. package/dist/icons.generated/Deny.js.map +1 -0
  158. package/dist/icons.generated/Devices.js +33 -0
  159. package/dist/icons.generated/Devices.js.map +1 -0
  160. package/dist/icons.generated/Directory.js +33 -0
  161. package/dist/icons.generated/Directory.js.map +1 -0
  162. package/dist/icons.generated/Documentation.js +33 -0
  163. package/dist/icons.generated/Documentation.js.map +1 -0
  164. package/dist/icons.generated/Download.js +33 -0
  165. package/dist/icons.generated/Download.js.map +1 -0
  166. package/dist/icons.generated/DragIndicator.js +33 -0
  167. package/dist/icons.generated/DragIndicator.js.map +1 -0
  168. package/dist/{iconDictionary → icons.generated}/Edit.js +5 -5
  169. package/dist/icons.generated/Edit.js.map +1 -0
  170. package/dist/icons.generated/ExpandLeft.js +33 -0
  171. package/dist/icons.generated/ExpandLeft.js.map +1 -0
  172. package/dist/{iconDictionary/ArrowUpDown.js → icons.generated/ExpandRight.js} +8 -8
  173. package/dist/icons.generated/ExpandRight.js.map +1 -0
  174. package/dist/{iconDictionary → icons.generated}/ExternalLink.js +5 -5
  175. package/dist/icons.generated/ExternalLink.js.map +1 -0
  176. package/dist/{iconDictionary → icons.generated}/Filter.js +5 -5
  177. package/dist/icons.generated/Filter.js.map +1 -0
  178. package/dist/icons.generated/Folder.js +33 -0
  179. package/dist/icons.generated/Folder.js.map +1 -0
  180. package/dist/{iconDictionary → icons.generated}/Globe.js +5 -5
  181. package/dist/icons.generated/Globe.js.map +1 -0
  182. package/dist/icons.generated/Grid.js +74 -0
  183. package/dist/icons.generated/Grid.js.map +1 -0
  184. package/dist/icons.generated/Group.js +33 -0
  185. package/dist/icons.generated/Group.js.map +1 -0
  186. package/dist/icons.generated/Hide.js +33 -0
  187. package/dist/icons.generated/Hide.js.map +1 -0
  188. package/dist/icons.generated/Home.js +33 -0
  189. package/dist/icons.generated/Home.js.map +1 -0
  190. package/dist/{iconDictionary → icons.generated}/InformationCircle.js +5 -5
  191. package/dist/icons.generated/InformationCircle.js.map +1 -0
  192. package/dist/{iconDictionary → icons.generated}/InformationCircleFilled.js +5 -5
  193. package/dist/icons.generated/InformationCircleFilled.js.map +1 -0
  194. package/dist/icons.generated/Link.js +33 -0
  195. package/dist/icons.generated/Link.js.map +1 -0
  196. package/dist/icons.generated/List.js +33 -0
  197. package/dist/icons.generated/List.js.map +1 -0
  198. package/dist/{iconDictionary/AlertCircle.js → icons.generated/Lock.js} +8 -8
  199. package/dist/icons.generated/Lock.js.map +1 -0
  200. package/dist/icons.generated/More.js +33 -0
  201. package/dist/icons.generated/More.js.map +1 -0
  202. package/dist/{iconDictionary → icons.generated}/Notification.js +5 -5
  203. package/dist/icons.generated/Notification.js.map +1 -0
  204. package/dist/icons.generated/Pause.js +33 -0
  205. package/dist/icons.generated/Pause.js.map +1 -0
  206. package/dist/{iconDictionary → icons.generated}/QuestionCircle.js +5 -5
  207. package/dist/icons.generated/QuestionCircle.js.map +1 -0
  208. package/dist/{iconDictionary → icons.generated}/QuestionCircleFilled.js +5 -5
  209. package/dist/icons.generated/QuestionCircleFilled.js.map +1 -0
  210. package/dist/icons.generated/Refresh.js +33 -0
  211. package/dist/icons.generated/Refresh.js.map +1 -0
  212. package/dist/icons.generated/Reset.js +33 -0
  213. package/dist/icons.generated/Reset.js.map +1 -0
  214. package/dist/icons.generated/Resume.js +33 -0
  215. package/dist/icons.generated/Resume.js.map +1 -0
  216. package/dist/{iconDictionary → icons.generated}/Search.js +5 -5
  217. package/dist/icons.generated/Search.js.map +1 -0
  218. package/dist/icons.generated/Server.js +33 -0
  219. package/dist/icons.generated/Server.js.map +1 -0
  220. package/dist/icons.generated/Settings.js +33 -0
  221. package/dist/icons.generated/Settings.js.map +1 -0
  222. package/dist/icons.generated/Show.js +33 -0
  223. package/dist/icons.generated/Show.js.map +1 -0
  224. package/dist/{iconDictionary → icons.generated}/Subtract.js +5 -5
  225. package/dist/icons.generated/Subtract.js.map +1 -0
  226. package/dist/{iconDictionary/AlertTriangleFilled.js → icons.generated/Sync.js} +8 -8
  227. package/dist/icons.generated/Sync.js.map +1 -0
  228. package/dist/{iconDictionary/AlertCircleFilled.js → icons.generated/Unlock.js} +8 -8
  229. package/dist/icons.generated/Unlock.js.map +1 -0
  230. package/dist/icons.generated/Upload.js +33 -0
  231. package/dist/icons.generated/Upload.js.map +1 -0
  232. package/dist/{iconDictionary → icons.generated}/User.js +5 -5
  233. package/dist/icons.generated/User.js.map +1 -0
  234. package/dist/icons.generated/Video.js +33 -0
  235. package/dist/icons.generated/Video.js.map +1 -0
  236. package/dist/icons.generated/Warning.js +33 -0
  237. package/dist/icons.generated/Warning.js.map +1 -0
  238. package/dist/icons.generated/WarningFilled.js +33 -0
  239. package/dist/icons.generated/WarningFilled.js.map +1 -0
  240. package/dist/icons.generated/index.js +85 -0
  241. package/dist/icons.generated/index.js.map +1 -0
  242. package/dist/index.js +7 -6
  243. package/dist/index.js.map +1 -1
  244. package/dist/labs/DatePicker.js +42 -0
  245. package/dist/labs/DatePicker.js.map +1 -0
  246. package/{src/iconDictionary/SvgIcon.ts → dist/labs/DatePicker.types.js} +2 -4
  247. package/dist/labs/DatePicker.types.js.map +1 -0
  248. package/dist/labs/PaginatedTable.js +170 -0
  249. package/dist/labs/PaginatedTable.js.map +1 -0
  250. package/dist/labs/StaticTable.js +82 -0
  251. package/dist/labs/StaticTable.js.map +1 -0
  252. package/dist/labs/datePickerTheme.js +456 -0
  253. package/dist/labs/datePickerTheme.js.map +1 -0
  254. package/dist/{src/a11yCheck.d.ts → labs/index.js} +9 -3
  255. package/dist/labs/index.js.map +1 -0
  256. package/dist/labs/materialReactTableTypes.js +2 -0
  257. package/dist/labs/materialReactTableTypes.js.map +1 -0
  258. package/dist/properties/ts/odyssey-react-mui.js +7 -2
  259. package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
  260. package/dist/properties/ts/odyssey-react-mui_cs.js +15 -1
  261. package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -1
  262. package/dist/properties/ts/odyssey-react-mui_da.js +15 -1
  263. package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -1
  264. package/dist/properties/ts/odyssey-react-mui_de.js +15 -1
  265. package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -1
  266. package/dist/properties/ts/odyssey-react-mui_el.js +15 -1
  267. package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -1
  268. package/dist/properties/ts/odyssey-react-mui_es.js +15 -1
  269. package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -1
  270. package/dist/properties/ts/odyssey-react-mui_fi.js +15 -1
  271. package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -1
  272. package/dist/properties/ts/odyssey-react-mui_fr.js +15 -1
  273. package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -1
  274. package/dist/properties/ts/odyssey-react-mui_hu.js +15 -1
  275. package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -1
  276. package/dist/properties/ts/odyssey-react-mui_id.js +15 -1
  277. package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -1
  278. package/dist/properties/ts/odyssey-react-mui_it.js +15 -1
  279. package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -1
  280. package/dist/properties/ts/odyssey-react-mui_ja.js +15 -1
  281. package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -1
  282. package/dist/properties/ts/odyssey-react-mui_ko.js +15 -1
  283. package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -1
  284. package/dist/properties/ts/odyssey-react-mui_ms.js +15 -1
  285. package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -1
  286. package/dist/properties/ts/odyssey-react-mui_nb.js +15 -1
  287. package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -1
  288. package/dist/properties/ts/odyssey-react-mui_nl_NL.js +16 -0
  289. package/dist/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -0
  290. package/dist/properties/ts/odyssey-react-mui_ok_PL.js +11 -0
  291. package/dist/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -0
  292. package/dist/properties/ts/odyssey-react-mui_ok_SK.js +11 -0
  293. package/dist/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -0
  294. package/dist/properties/ts/odyssey-react-mui_pl.js +15 -1
  295. package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -1
  296. package/dist/properties/ts/odyssey-react-mui_pt_BR.js +16 -0
  297. package/dist/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -0
  298. package/dist/properties/ts/odyssey-react-mui_ro.js +15 -1
  299. package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -1
  300. package/dist/properties/ts/odyssey-react-mui_ru.js +15 -1
  301. package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -1
  302. package/dist/properties/ts/odyssey-react-mui_sv.js +15 -1
  303. package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -1
  304. package/dist/properties/ts/odyssey-react-mui_th.js +15 -1
  305. package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -1
  306. package/dist/properties/ts/odyssey-react-mui_tr.js +15 -1
  307. package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -1
  308. package/dist/properties/ts/odyssey-react-mui_uk.js +15 -1
  309. package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -1
  310. package/dist/properties/ts/odyssey-react-mui_vi.js +16 -0
  311. package/dist/properties/ts/odyssey-react-mui_vi.js.map +1 -0
  312. package/dist/properties/ts/odyssey-react-mui_zh_CN.js +16 -0
  313. package/dist/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -0
  314. package/dist/properties/ts/odyssey-react-mui_zh_TW.js +16 -0
  315. package/dist/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -0
  316. package/{src/theme/temp.ts → dist/scripts/generateIconsIndex.d.ts} +2 -8
  317. package/dist/scripts/generateIconsIndex.d.ts.map +1 -0
  318. package/dist/src/Autocomplete.d.ts +34 -1
  319. package/dist/src/Autocomplete.d.ts.map +1 -1
  320. package/dist/src/Banner.d.ts +4 -2
  321. package/dist/src/Banner.d.ts.map +1 -1
  322. package/dist/src/Box.d.ts +21 -0
  323. package/dist/src/Box.d.ts.map +1 -0
  324. package/dist/src/Button.d.ts +66 -9
  325. package/dist/src/Button.d.ts.map +1 -1
  326. package/dist/src/{Infobox.d.ts → Callout.d.ts} +12 -11
  327. package/dist/src/Callout.d.ts.map +1 -0
  328. package/dist/src/Checkbox.d.ts +39 -6
  329. package/dist/src/Checkbox.d.ts.map +1 -1
  330. package/dist/src/CheckboxGroup.d.ts +19 -1
  331. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  332. package/dist/src/CircularProgress.d.ts +9 -1
  333. package/dist/src/CircularProgress.d.ts.map +1 -1
  334. package/dist/src/Dialog.d.ts +29 -7
  335. package/dist/src/Dialog.d.ts.map +1 -1
  336. package/dist/src/Field.d.ts +6 -2
  337. package/dist/src/Field.d.ts.map +1 -1
  338. package/dist/src/FieldError.d.ts.map +1 -1
  339. package/dist/src/FieldHint.d.ts.map +1 -1
  340. package/dist/src/FieldLabel.d.ts.map +1 -1
  341. package/dist/src/Fieldset.d.ts +16 -12
  342. package/dist/src/Fieldset.d.ts.map +1 -1
  343. package/dist/src/FieldsetContext.d.ts +18 -0
  344. package/dist/src/FieldsetContext.d.ts.map +1 -0
  345. package/dist/src/Form.d.ts +31 -28
  346. package/dist/src/Form.d.ts.map +1 -1
  347. package/dist/src/Link.d.ts +23 -4
  348. package/dist/src/Link.d.ts.map +1 -1
  349. package/dist/src/MenuButton.d.ts +40 -10
  350. package/dist/src/MenuButton.d.ts.map +1 -1
  351. package/dist/src/MenuContext.d.ts +18 -0
  352. package/dist/src/MenuContext.d.ts.map +1 -0
  353. package/dist/src/MenuItem.d.ts +32 -6
  354. package/dist/src/MenuItem.d.ts.map +1 -1
  355. package/dist/src/MuiPropsChild.d.ts.map +1 -1
  356. package/dist/src/MuiPropsContext.d.ts +1 -0
  357. package/dist/src/MuiPropsContext.d.ts.map +1 -1
  358. package/dist/src/NativeSelect.d.ts +39 -0
  359. package/dist/src/NativeSelect.d.ts.map +1 -1
  360. package/dist/src/{theme/temp.d.ts → NullElement.d.ts} +2 -5
  361. package/dist/src/NullElement.d.ts.map +1 -0
  362. package/dist/src/OdysseyCacheProvider.d.ts +8 -5
  363. package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
  364. package/dist/src/OdysseyDesignTokensContext.d.ts +16 -0
  365. package/dist/src/OdysseyDesignTokensContext.d.ts.map +1 -0
  366. package/dist/src/OdysseyI18n.d.ts +400 -25
  367. package/dist/src/OdysseyI18n.d.ts.map +1 -1
  368. package/dist/src/OdysseyProvider.d.ts +7 -13
  369. package/dist/src/OdysseyProvider.d.ts.map +1 -1
  370. package/dist/src/OdysseyThemeProvider.d.ts +9 -8
  371. package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
  372. package/dist/src/OdysseyTranslationProvider.d.ts +3 -4
  373. package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
  374. package/dist/src/OdysseyTranslationProvider.types.d.ts +1 -1
  375. package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -1
  376. package/dist/src/PasswordField.d.ts.map +1 -1
  377. package/dist/src/Radio.d.ts +20 -3
  378. package/dist/src/Radio.d.ts.map +1 -1
  379. package/dist/src/RadioGroup.d.ts +7 -7
  380. package/dist/src/RadioGroup.d.ts.map +1 -1
  381. package/dist/src/ScreenReaderText.d.ts.map +1 -1
  382. package/dist/src/SearchField.d.ts +4 -0
  383. package/dist/src/SearchField.d.ts.map +1 -1
  384. package/dist/src/Select.d.ts +37 -1
  385. package/dist/src/Select.d.ts.map +1 -1
  386. package/dist/src/Status.d.ts +11 -5
  387. package/dist/src/Status.d.ts.map +1 -1
  388. package/dist/src/{iconDictionary/types.d.ts → SvgIcon.d.ts} +4 -2
  389. package/dist/src/SvgIcon.d.ts.map +1 -0
  390. package/dist/src/Tabs.d.ts +31 -7
  391. package/dist/src/Tabs.d.ts.map +1 -1
  392. package/dist/src/Tag.d.ts +15 -5
  393. package/dist/src/Tag.d.ts.map +1 -1
  394. package/dist/src/TagList.d.ts +4 -1
  395. package/dist/src/TagList.d.ts.map +1 -1
  396. package/dist/src/TextField.d.ts +4 -4
  397. package/dist/src/TextField.d.ts.map +1 -1
  398. package/dist/src/Toast.d.ts +11 -10
  399. package/dist/src/Toast.d.ts.map +1 -1
  400. package/dist/src/ToastStack.d.ts +3 -0
  401. package/dist/src/ToastStack.d.ts.map +1 -1
  402. package/dist/src/Tooltip.d.ts +15 -3
  403. package/dist/src/Tooltip.d.ts.map +1 -1
  404. package/dist/src/Typography.d.ts +95 -0
  405. package/dist/src/Typography.d.ts.map +1 -0
  406. package/dist/src/icons.generated/Add.d.ts +16 -0
  407. package/dist/src/icons.generated/Add.d.ts.map +1 -0
  408. package/dist/src/icons.generated/AddCircle.d.ts +16 -0
  409. package/dist/src/icons.generated/AddCircle.d.ts.map +1 -0
  410. package/dist/src/icons.generated/Apps.d.ts +16 -0
  411. package/dist/src/icons.generated/Apps.d.ts.map +1 -0
  412. package/dist/src/icons.generated/ArrowDown.d.ts +16 -0
  413. package/dist/src/icons.generated/ArrowDown.d.ts.map +1 -0
  414. package/dist/src/icons.generated/ArrowLeft.d.ts +16 -0
  415. package/dist/src/icons.generated/ArrowLeft.d.ts.map +1 -0
  416. package/dist/src/icons.generated/ArrowLowerLeft.d.ts +16 -0
  417. package/dist/src/icons.generated/ArrowLowerLeft.d.ts.map +1 -0
  418. package/dist/src/icons.generated/ArrowLowerRight.d.ts +16 -0
  419. package/dist/src/icons.generated/ArrowLowerRight.d.ts.map +1 -0
  420. package/dist/src/icons.generated/ArrowRight.d.ts +16 -0
  421. package/dist/src/icons.generated/ArrowRight.d.ts.map +1 -0
  422. package/dist/src/icons.generated/ArrowUnsorted.d.ts +16 -0
  423. package/dist/src/icons.generated/ArrowUnsorted.d.ts.map +1 -0
  424. package/dist/src/icons.generated/ArrowUp.d.ts +16 -0
  425. package/dist/src/icons.generated/ArrowUp.d.ts.map +1 -0
  426. package/dist/src/icons.generated/ArrowUpperLeft.d.ts +16 -0
  427. package/dist/src/icons.generated/ArrowUpperLeft.d.ts.map +1 -0
  428. package/dist/src/icons.generated/ArrowUpperRight.d.ts +16 -0
  429. package/dist/src/icons.generated/ArrowUpperRight.d.ts.map +1 -0
  430. package/dist/src/icons.generated/Bug.d.ts +16 -0
  431. package/dist/src/icons.generated/Bug.d.ts.map +1 -0
  432. package/dist/src/icons.generated/Calendar.d.ts +16 -0
  433. package/dist/src/icons.generated/Calendar.d.ts.map +1 -0
  434. package/dist/src/icons.generated/Call.d.ts +16 -0
  435. package/dist/src/icons.generated/Call.d.ts.map +1 -0
  436. package/dist/src/icons.generated/Chat.d.ts +16 -0
  437. package/dist/src/icons.generated/Chat.d.ts.map +1 -0
  438. package/dist/src/{iconDictionary/InformationCircleFilled.d.ts → icons.generated/Check.d.ts} +4 -4
  439. package/dist/src/icons.generated/Check.d.ts.map +1 -0
  440. package/dist/src/icons.generated/CheckCircleFilled.d.ts +16 -0
  441. package/dist/src/icons.generated/CheckCircleFilled.d.ts.map +1 -0
  442. package/dist/src/icons.generated/ChevronDown.d.ts +16 -0
  443. package/dist/src/icons.generated/ChevronDown.d.ts.map +1 -0
  444. package/dist/src/icons.generated/ChevronLeft.d.ts +16 -0
  445. package/dist/src/icons.generated/ChevronLeft.d.ts.map +1 -0
  446. package/dist/src/icons.generated/ChevronRight.d.ts +16 -0
  447. package/dist/src/icons.generated/ChevronRight.d.ts.map +1 -0
  448. package/dist/src/icons.generated/ChevronUp.d.ts +16 -0
  449. package/dist/src/icons.generated/ChevronUp.d.ts.map +1 -0
  450. package/dist/src/icons.generated/Clock.d.ts +16 -0
  451. package/dist/src/icons.generated/Clock.d.ts.map +1 -0
  452. package/dist/src/icons.generated/Close.d.ts +16 -0
  453. package/dist/src/icons.generated/Close.d.ts.map +1 -0
  454. package/dist/src/icons.generated/CloseCircleFilled.d.ts +16 -0
  455. package/dist/src/icons.generated/CloseCircleFilled.d.ts.map +1 -0
  456. package/dist/src/icons.generated/CollapseLeft.d.ts +16 -0
  457. package/dist/src/icons.generated/CollapseLeft.d.ts.map +1 -0
  458. package/dist/src/icons.generated/CollapseRight.d.ts +16 -0
  459. package/dist/src/icons.generated/CollapseRight.d.ts.map +1 -0
  460. package/dist/src/icons.generated/Copy.d.ts +16 -0
  461. package/dist/src/icons.generated/Copy.d.ts.map +1 -0
  462. package/dist/src/icons.generated/DangerDiamond.d.ts +16 -0
  463. package/dist/src/icons.generated/DangerDiamond.d.ts.map +1 -0
  464. package/dist/src/icons.generated/DangerDiamondFilled.d.ts +16 -0
  465. package/dist/src/icons.generated/DangerDiamondFilled.d.ts.map +1 -0
  466. package/dist/src/icons.generated/Delete.d.ts +16 -0
  467. package/dist/src/icons.generated/Delete.d.ts.map +1 -0
  468. package/dist/src/icons.generated/Deny.d.ts +16 -0
  469. package/dist/src/icons.generated/Deny.d.ts.map +1 -0
  470. package/dist/src/icons.generated/Devices.d.ts +16 -0
  471. package/dist/src/icons.generated/Devices.d.ts.map +1 -0
  472. package/dist/src/icons.generated/Directory.d.ts +16 -0
  473. package/dist/src/icons.generated/Directory.d.ts.map +1 -0
  474. package/dist/src/icons.generated/Documentation.d.ts +16 -0
  475. package/dist/src/icons.generated/Documentation.d.ts.map +1 -0
  476. package/dist/src/icons.generated/Download.d.ts +16 -0
  477. package/dist/src/icons.generated/Download.d.ts.map +1 -0
  478. package/dist/src/icons.generated/DragIndicator.d.ts +16 -0
  479. package/dist/src/icons.generated/DragIndicator.d.ts.map +1 -0
  480. package/dist/src/icons.generated/Edit.d.ts +16 -0
  481. package/dist/src/icons.generated/Edit.d.ts.map +1 -0
  482. package/dist/src/icons.generated/ExpandLeft.d.ts +16 -0
  483. package/dist/src/icons.generated/ExpandLeft.d.ts.map +1 -0
  484. package/dist/src/icons.generated/ExpandRight.d.ts +16 -0
  485. package/dist/src/icons.generated/ExpandRight.d.ts.map +1 -0
  486. package/dist/src/icons.generated/ExternalLink.d.ts +16 -0
  487. package/dist/src/icons.generated/ExternalLink.d.ts.map +1 -0
  488. package/dist/src/icons.generated/Filter.d.ts +16 -0
  489. package/dist/src/icons.generated/Filter.d.ts.map +1 -0
  490. package/dist/src/icons.generated/Folder.d.ts +16 -0
  491. package/dist/src/icons.generated/Folder.d.ts.map +1 -0
  492. package/dist/src/icons.generated/Globe.d.ts +16 -0
  493. package/dist/src/icons.generated/Globe.d.ts.map +1 -0
  494. package/dist/src/icons.generated/Grid.d.ts +16 -0
  495. package/dist/src/icons.generated/Grid.d.ts.map +1 -0
  496. package/dist/src/icons.generated/Group.d.ts +16 -0
  497. package/dist/src/icons.generated/Group.d.ts.map +1 -0
  498. package/dist/src/icons.generated/Hide.d.ts +16 -0
  499. package/dist/src/icons.generated/Hide.d.ts.map +1 -0
  500. package/dist/src/icons.generated/Home.d.ts +16 -0
  501. package/dist/src/icons.generated/Home.d.ts.map +1 -0
  502. package/dist/src/icons.generated/InformationCircle.d.ts +16 -0
  503. package/dist/src/icons.generated/InformationCircle.d.ts.map +1 -0
  504. package/dist/src/icons.generated/InformationCircleFilled.d.ts +16 -0
  505. package/dist/src/icons.generated/InformationCircleFilled.d.ts.map +1 -0
  506. package/dist/src/icons.generated/Link.d.ts +16 -0
  507. package/dist/src/icons.generated/Link.d.ts.map +1 -0
  508. package/dist/src/icons.generated/List.d.ts +16 -0
  509. package/dist/src/icons.generated/List.d.ts.map +1 -0
  510. package/dist/src/icons.generated/Lock.d.ts +16 -0
  511. package/dist/src/icons.generated/Lock.d.ts.map +1 -0
  512. package/dist/src/icons.generated/More.d.ts +16 -0
  513. package/dist/src/icons.generated/More.d.ts.map +1 -0
  514. package/dist/src/icons.generated/Notification.d.ts +16 -0
  515. package/dist/src/icons.generated/Notification.d.ts.map +1 -0
  516. package/dist/src/icons.generated/Pause.d.ts +16 -0
  517. package/dist/src/icons.generated/Pause.d.ts.map +1 -0
  518. package/dist/src/icons.generated/QuestionCircle.d.ts +16 -0
  519. package/dist/src/icons.generated/QuestionCircle.d.ts.map +1 -0
  520. package/dist/src/icons.generated/QuestionCircleFilled.d.ts +16 -0
  521. package/dist/src/icons.generated/QuestionCircleFilled.d.ts.map +1 -0
  522. package/dist/src/icons.generated/Refresh.d.ts +16 -0
  523. package/dist/src/icons.generated/Refresh.d.ts.map +1 -0
  524. package/dist/src/icons.generated/Reset.d.ts +16 -0
  525. package/dist/src/icons.generated/Reset.d.ts.map +1 -0
  526. package/dist/src/icons.generated/Resume.d.ts +16 -0
  527. package/dist/src/icons.generated/Resume.d.ts.map +1 -0
  528. package/dist/src/icons.generated/Search.d.ts +16 -0
  529. package/dist/src/icons.generated/Search.d.ts.map +1 -0
  530. package/dist/src/icons.generated/Server.d.ts +16 -0
  531. package/dist/src/icons.generated/Server.d.ts.map +1 -0
  532. package/dist/src/icons.generated/Settings.d.ts +16 -0
  533. package/dist/src/icons.generated/Settings.d.ts.map +1 -0
  534. package/dist/src/icons.generated/Show.d.ts +16 -0
  535. package/dist/src/icons.generated/Show.d.ts.map +1 -0
  536. package/dist/src/icons.generated/Subtract.d.ts +16 -0
  537. package/dist/src/icons.generated/Subtract.d.ts.map +1 -0
  538. package/dist/src/icons.generated/Sync.d.ts +16 -0
  539. package/dist/src/icons.generated/Sync.d.ts.map +1 -0
  540. package/dist/src/icons.generated/Unlock.d.ts +16 -0
  541. package/dist/src/icons.generated/Unlock.d.ts.map +1 -0
  542. package/dist/src/icons.generated/Upload.d.ts +16 -0
  543. package/dist/src/icons.generated/Upload.d.ts.map +1 -0
  544. package/dist/src/icons.generated/User.d.ts +16 -0
  545. package/dist/src/icons.generated/User.d.ts.map +1 -0
  546. package/dist/src/icons.generated/Video.d.ts +16 -0
  547. package/dist/src/icons.generated/Video.d.ts.map +1 -0
  548. package/dist/src/icons.generated/Warning.d.ts +16 -0
  549. package/dist/src/icons.generated/Warning.d.ts.map +1 -0
  550. package/dist/src/icons.generated/WarningFilled.d.ts +16 -0
  551. package/dist/src/icons.generated/WarningFilled.d.ts.map +1 -0
  552. package/dist/src/icons.generated/index.d.ts +85 -0
  553. package/dist/src/icons.generated/index.d.ts.map +1 -0
  554. package/dist/src/index.d.ts +29 -18
  555. package/dist/src/index.d.ts.map +1 -1
  556. package/dist/src/labs/DatePicker.d.ts +19 -0
  557. package/dist/src/labs/DatePicker.d.ts.map +1 -0
  558. package/dist/src/labs/DatePicker.types.d.ts +19 -0
  559. package/dist/src/labs/DatePicker.types.d.ts.map +1 -0
  560. package/dist/src/labs/PaginatedTable.d.ts +35 -0
  561. package/dist/src/labs/PaginatedTable.d.ts.map +1 -0
  562. package/dist/src/labs/StaticTable.d.ts +29 -0
  563. package/dist/src/labs/StaticTable.d.ts.map +1 -0
  564. package/dist/src/{iconDictionary/SvgIcon.d.ts → labs/datePickerTheme.d.ts} +3 -3
  565. package/dist/src/labs/datePickerTheme.d.ts.map +1 -0
  566. package/dist/src/labs/index.d.ts +21 -0
  567. package/dist/src/labs/index.d.ts.map +1 -0
  568. package/dist/src/labs/materialReactTableTypes.d.ts +15 -0
  569. package/dist/src/labs/materialReactTableTypes.d.ts.map +1 -0
  570. package/dist/src/properties/ts/odyssey-react-mui.d.ts +7 -2
  571. package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  572. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts +15 -1
  573. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
  574. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts +15 -1
  575. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
  576. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts +15 -1
  577. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
  578. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts +15 -1
  579. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
  580. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts +15 -1
  581. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
  582. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts +15 -1
  583. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
  584. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts +15 -1
  585. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
  586. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts +15 -1
  587. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
  588. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts +15 -1
  589. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
  590. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts +15 -1
  591. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
  592. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts +15 -1
  593. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
  594. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts +15 -1
  595. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
  596. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts +15 -1
  597. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
  598. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts +15 -1
  599. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
  600. package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts +16 -0
  601. package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -0
  602. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts +11 -0
  603. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -0
  604. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts +11 -0
  605. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -0
  606. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts +15 -1
  607. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
  608. package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts +16 -0
  609. package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -0
  610. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts +15 -1
  611. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
  612. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts +15 -1
  613. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
  614. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts +15 -1
  615. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
  616. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts +15 -1
  617. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
  618. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts +15 -1
  619. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
  620. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts +15 -1
  621. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
  622. package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts +16 -0
  623. package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -0
  624. package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts +16 -0
  625. package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -0
  626. package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts +16 -0
  627. package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -0
  628. package/dist/src/theme/components.d.ts +2 -1
  629. package/dist/src/theme/components.d.ts.map +1 -1
  630. package/dist/src/theme/components.types.d.ts +4 -2
  631. package/dist/src/theme/components.types.d.ts.map +1 -1
  632. package/dist/src/theme/index.d.ts +0 -3
  633. package/dist/src/theme/index.d.ts.map +1 -1
  634. package/dist/src/theme/mixins.d.ts +2 -2
  635. package/dist/src/theme/mixins.d.ts.map +1 -1
  636. package/dist/src/theme/palette.d.ts +2 -2
  637. package/dist/src/theme/palette.d.ts.map +1 -1
  638. package/dist/src/theme/shape.d.ts +2 -2
  639. package/dist/src/theme/shape.d.ts.map +1 -1
  640. package/dist/src/theme/spacing.d.ts +2 -2
  641. package/dist/src/theme/spacing.d.ts.map +1 -1
  642. package/dist/src/theme/theme.d.ts +4 -3
  643. package/dist/src/theme/theme.d.ts.map +1 -1
  644. package/dist/src/theme/typography.d.ts +2 -2
  645. package/dist/src/theme/typography.d.ts.map +1 -1
  646. package/dist/src/theme/typography.types.d.ts +2 -2
  647. package/dist/src/theme/typography.types.d.ts.map +1 -1
  648. package/dist/theme/components.js +1674 -1757
  649. package/dist/theme/components.js.map +1 -1
  650. package/dist/theme/components.types.js.map +1 -1
  651. package/dist/theme/index.js +0 -1
  652. package/dist/theme/index.js.map +1 -1
  653. package/dist/theme/mixins.js +4 -4
  654. package/dist/theme/mixins.js.map +1 -1
  655. package/dist/theme/palette.js +50 -51
  656. package/dist/theme/palette.js.map +1 -1
  657. package/dist/theme/shape.js +1 -1
  658. package/dist/theme/shape.js.map +1 -1
  659. package/dist/theme/spacing.js +1 -2
  660. package/dist/theme/spacing.js.map +1 -1
  661. package/dist/theme/theme.js +8 -12
  662. package/dist/theme/theme.js.map +1 -1
  663. package/dist/theme/typography.js +76 -46
  664. package/dist/theme/typography.js.map +1 -1
  665. package/dist/theme/typography.types.js.map +1 -1
  666. package/dist/tsconfig.production.tsbuildinfo +1 -1
  667. package/i18n.config.json +0 -1
  668. package/package.json +27 -11
  669. package/scripts/generateIconsIndex.ts +49 -0
  670. package/scripts/properties-to-ts.js +8 -15
  671. package/src/Autocomplete.tsx +36 -1
  672. package/src/Banner.tsx +15 -5
  673. package/src/Box.tsx +35 -0
  674. package/src/Button.tsx +100 -19
  675. package/src/{Infobox.tsx → Callout.tsx} +23 -14
  676. package/src/Checkbox.tsx +64 -14
  677. package/src/CheckboxGroup.tsx +20 -1
  678. package/src/CircularProgress.tsx +13 -1
  679. package/src/Dialog.tsx +44 -16
  680. package/src/Field.tsx +18 -4
  681. package/src/FieldError.tsx +2 -1
  682. package/src/FieldHint.tsx +2 -1
  683. package/src/FieldLabel.tsx +4 -5
  684. package/src/Fieldset.tsx +45 -34
  685. package/src/FieldsetContext.tsx +23 -0
  686. package/src/Form.tsx +54 -44
  687. package/src/Link.tsx +49 -29
  688. package/src/MenuButton.tsx +89 -39
  689. package/src/{theme/OdysseyTheme.ts → MenuContext.ts} +11 -11
  690. package/src/MenuItem.tsx +67 -23
  691. package/src/MuiPropsChild.tsx +1 -0
  692. package/src/MuiPropsContext.ts +3 -1
  693. package/src/NativeSelect.tsx +39 -0
  694. package/{dist/theme/temp.js → src/NullElement.tsx} +1 -4
  695. package/src/OdysseyCacheProvider.test.tsx +1 -1
  696. package/src/OdysseyCacheProvider.tsx +13 -7
  697. package/src/OdysseyDesignTokensContext.tsx +19 -0
  698. package/src/OdysseyI18n.ts +12 -8
  699. package/src/OdysseyProvider.tsx +19 -18
  700. package/src/OdysseyThemeProvider.tsx +30 -13
  701. package/src/OdysseyTranslationProvider.tsx +7 -7
  702. package/src/OdysseyTranslationProvider.types.ts +6 -4
  703. package/src/PasswordField.tsx +8 -7
  704. package/src/Radio.tsx +23 -7
  705. package/src/RadioGroup.tsx +8 -7
  706. package/src/ScreenReaderText.tsx +6 -2
  707. package/src/SearchField.tsx +55 -5
  708. package/src/Select.tsx +42 -4
  709. package/src/Status.tsx +26 -9
  710. package/src/{iconDictionary/types.ts → SvgIcon.ts} +4 -1
  711. package/src/Tabs.tsx +40 -7
  712. package/src/Tag.tsx +34 -14
  713. package/src/TagList.tsx +12 -2
  714. package/src/TextField.tsx +11 -4
  715. package/src/Toast.tsx +22 -19
  716. package/src/ToastStack.tsx +12 -2
  717. package/src/Tooltip.tsx +15 -3
  718. package/src/Typography.tsx +357 -0
  719. package/src/{iconDictionary → icons.generated}/Add.tsx +4 -5
  720. package/src/{iconDictionary → icons.generated}/AddCircle.tsx +4 -5
  721. package/src/icons.generated/Apps.tsx +43 -0
  722. package/src/{iconDictionary → icons.generated}/ArrowDown.tsx +4 -5
  723. package/src/{iconDictionary → icons.generated}/ArrowLeft.tsx +4 -5
  724. package/src/{iconDictionary/OverflowVertical.tsx → icons.generated/ArrowLowerLeft.tsx} +8 -9
  725. package/src/icons.generated/ArrowLowerRight.tsx +44 -0
  726. package/src/{iconDictionary → icons.generated}/ArrowRight.tsx +4 -5
  727. package/src/{iconDictionary/AlertCircleFilled.tsx → icons.generated/ArrowUnsorted.tsx} +8 -9
  728. package/src/{iconDictionary → icons.generated}/ArrowUp.tsx +4 -5
  729. package/src/icons.generated/ArrowUpperLeft.tsx +44 -0
  730. package/src/icons.generated/ArrowUpperRight.tsx +44 -0
  731. package/src/{iconDictionary/Eye.tsx → icons.generated/Bug.tsx} +7 -8
  732. package/src/icons.generated/Calendar.tsx +43 -0
  733. package/src/icons.generated/Call.tsx +43 -0
  734. package/src/icons.generated/Chat.tsx +43 -0
  735. package/src/{iconDictionary → icons.generated}/Check.tsx +4 -5
  736. package/src/{iconDictionary → icons.generated}/CheckCircleFilled.tsx +4 -5
  737. package/src/{iconDictionary → icons.generated}/ChevronDown.tsx +4 -5
  738. package/src/icons.generated/ChevronLeft.tsx +43 -0
  739. package/src/icons.generated/ChevronRight.tsx +44 -0
  740. package/src/{iconDictionary → icons.generated}/ChevronUp.tsx +4 -5
  741. package/src/icons.generated/Clock.tsx +43 -0
  742. package/src/{iconDictionary → icons.generated}/Close.tsx +4 -5
  743. package/src/{iconDictionary → icons.generated}/CloseCircleFilled.tsx +4 -5
  744. package/src/icons.generated/CollapseLeft.tsx +44 -0
  745. package/src/icons.generated/CollapseRight.tsx +44 -0
  746. package/src/icons.generated/Copy.tsx +43 -0
  747. package/src/icons.generated/DangerDiamond.tsx +44 -0
  748. package/src/icons.generated/DangerDiamondFilled.tsx +44 -0
  749. package/src/{iconDictionary → icons.generated}/Delete.tsx +4 -5
  750. package/src/icons.generated/Deny.tsx +43 -0
  751. package/src/{iconDictionary/AlertCircle.tsx → icons.generated/Devices.tsx} +7 -8
  752. package/src/icons.generated/Directory.tsx +43 -0
  753. package/src/icons.generated/Documentation.tsx +44 -0
  754. package/src/icons.generated/Download.tsx +43 -0
  755. package/src/icons.generated/DragIndicator.tsx +44 -0
  756. package/src/{iconDictionary → icons.generated}/Edit.tsx +4 -5
  757. package/src/icons.generated/ExpandLeft.tsx +43 -0
  758. package/src/icons.generated/ExpandRight.tsx +43 -0
  759. package/src/{iconDictionary → icons.generated}/ExternalLink.tsx +4 -5
  760. package/src/{iconDictionary → icons.generated}/Filter.tsx +4 -5
  761. package/src/icons.generated/Folder.tsx +43 -0
  762. package/src/icons.generated/Globe.tsx +43 -0
  763. package/src/icons.generated/Grid.tsx +46 -0
  764. package/src/{iconDictionary/Globe.tsx → icons.generated/Group.tsx} +7 -8
  765. package/src/icons.generated/Hide.tsx +43 -0
  766. package/src/icons.generated/Home.tsx +43 -0
  767. package/src/{iconDictionary → icons.generated}/InformationCircle.tsx +4 -5
  768. package/src/{iconDictionary → icons.generated}/InformationCircleFilled.tsx +4 -5
  769. package/src/icons.generated/Link.tsx +43 -0
  770. package/src/icons.generated/List.tsx +43 -0
  771. package/src/icons.generated/Lock.tsx +43 -0
  772. package/src/icons.generated/More.tsx +43 -0
  773. package/src/{iconDictionary → icons.generated}/Notification.tsx +4 -5
  774. package/src/icons.generated/Pause.tsx +43 -0
  775. package/src/{iconDictionary → icons.generated}/QuestionCircle.tsx +4 -5
  776. package/src/{iconDictionary → icons.generated}/QuestionCircleFilled.tsx +4 -5
  777. package/src/icons.generated/Refresh.tsx +43 -0
  778. package/src/icons.generated/Reset.tsx +43 -0
  779. package/src/icons.generated/Resume.tsx +43 -0
  780. package/src/{iconDictionary → icons.generated}/Search.tsx +4 -5
  781. package/src/icons.generated/Server.tsx +43 -0
  782. package/src/icons.generated/Settings.tsx +43 -0
  783. package/src/icons.generated/Show.tsx +43 -0
  784. package/src/{iconDictionary → icons.generated}/Subtract.tsx +4 -5
  785. package/src/{iconDictionary/Copy.tsx → icons.generated/Sync.tsx} +7 -8
  786. package/src/icons.generated/Unlock.tsx +43 -0
  787. package/src/icons.generated/Upload.tsx +43 -0
  788. package/src/{iconDictionary → icons.generated}/User.tsx +4 -5
  789. package/src/icons.generated/Video.tsx +43 -0
  790. package/src/icons.generated/Warning.tsx +43 -0
  791. package/src/icons.generated/WarningFilled.tsx +44 -0
  792. package/src/icons.generated/index.ts +87 -0
  793. package/src/index.ts +21 -65
  794. package/src/labs/DatePicker.tsx +48 -0
  795. package/src/labs/DatePicker.types.ts +24 -0
  796. package/src/labs/PaginatedTable.tsx +272 -0
  797. package/src/labs/README.md +46 -0
  798. package/src/labs/StaticTable.tsx +122 -0
  799. package/src/labs/datePickerTheme.tsx +341 -0
  800. package/src/labs/index.ts +24 -0
  801. package/{dist/theme/useTheme.js → src/labs/materialReactTableTypes.ts} +7 -5
  802. package/src/properties/odyssey-react-mui.properties +7 -2
  803. package/src/properties/translations/odyssey-react-mui_cs.properties +14 -0
  804. package/src/properties/translations/odyssey-react-mui_da.properties +14 -0
  805. package/src/properties/translations/odyssey-react-mui_de.properties +14 -0
  806. package/src/properties/translations/odyssey-react-mui_el.properties +14 -0
  807. package/src/properties/translations/odyssey-react-mui_es.properties +14 -0
  808. package/src/properties/translations/odyssey-react-mui_fi.properties +14 -0
  809. package/src/properties/translations/odyssey-react-mui_fr.properties +14 -0
  810. package/src/properties/translations/odyssey-react-mui_hu.properties +14 -0
  811. package/src/properties/translations/odyssey-react-mui_id.properties +14 -0
  812. package/src/properties/translations/odyssey-react-mui_it.properties +14 -0
  813. package/src/properties/translations/odyssey-react-mui_ja.properties +14 -0
  814. package/src/properties/translations/odyssey-react-mui_ko.properties +14 -0
  815. package/src/properties/translations/odyssey-react-mui_ms.properties +14 -0
  816. package/src/properties/translations/odyssey-react-mui_nb.properties +14 -0
  817. package/src/properties/translations/odyssey-react-mui_nl_NL.properties +14 -0
  818. package/src/properties/translations/odyssey-react-mui_ok_PL.properties +8 -0
  819. package/src/properties/translations/odyssey-react-mui_ok_SK.properties +8 -0
  820. package/src/properties/translations/odyssey-react-mui_pl.properties +14 -0
  821. package/src/properties/translations/odyssey-react-mui_pt_BR.properties +14 -0
  822. package/src/properties/translations/odyssey-react-mui_ro.properties +14 -0
  823. package/src/properties/translations/odyssey-react-mui_ru.properties +14 -0
  824. package/src/properties/translations/odyssey-react-mui_sv.properties +14 -0
  825. package/src/properties/translations/odyssey-react-mui_th.properties +14 -0
  826. package/src/properties/translations/odyssey-react-mui_tr.properties +14 -0
  827. package/src/properties/translations/odyssey-react-mui_uk.properties +14 -0
  828. package/src/properties/translations/odyssey-react-mui_vi.properties +14 -0
  829. package/src/properties/translations/odyssey-react-mui_zh_CN.properties +14 -0
  830. package/src/properties/translations/odyssey-react-mui_zh_TW.properties +14 -0
  831. package/src/properties/ts/odyssey-react-mui.ts +1 -1
  832. package/src/properties/ts/odyssey-react-mui_cs.ts +1 -1
  833. package/src/properties/ts/odyssey-react-mui_da.ts +1 -1
  834. package/src/properties/ts/odyssey-react-mui_de.ts +1 -1
  835. package/src/properties/ts/odyssey-react-mui_el.ts +1 -1
  836. package/src/properties/ts/odyssey-react-mui_es.ts +1 -1
  837. package/src/properties/ts/odyssey-react-mui_fi.ts +1 -1
  838. package/src/properties/ts/odyssey-react-mui_fr.ts +1 -1
  839. package/src/properties/ts/odyssey-react-mui_hu.ts +1 -1
  840. package/src/properties/ts/odyssey-react-mui_id.ts +1 -1
  841. package/src/properties/ts/odyssey-react-mui_it.ts +1 -1
  842. package/src/properties/ts/odyssey-react-mui_ja.ts +1 -1
  843. package/src/properties/ts/odyssey-react-mui_ko.ts +1 -1
  844. package/src/properties/ts/odyssey-react-mui_ms.ts +1 -1
  845. package/src/properties/ts/odyssey-react-mui_nb.ts +1 -1
  846. package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -0
  847. package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -0
  848. package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -0
  849. package/src/properties/ts/odyssey-react-mui_pl.ts +1 -1
  850. package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -0
  851. package/src/properties/ts/odyssey-react-mui_ro.ts +1 -1
  852. package/src/properties/ts/odyssey-react-mui_ru.ts +1 -1
  853. package/src/properties/ts/odyssey-react-mui_sv.ts +1 -1
  854. package/src/properties/ts/odyssey-react-mui_th.ts +1 -1
  855. package/src/properties/ts/odyssey-react-mui_tr.ts +1 -1
  856. package/src/properties/ts/odyssey-react-mui_uk.ts +1 -1
  857. package/src/properties/ts/odyssey-react-mui_vi.ts +1 -0
  858. package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -0
  859. package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -0
  860. package/src/theme/components.tsx +1921 -1737
  861. package/src/theme/components.types.ts +4 -2
  862. package/src/theme/index.ts +0 -5
  863. package/src/theme/mixins.ts +7 -8
  864. package/src/theme/palette.ts +53 -55
  865. package/src/theme/shape.ts +6 -7
  866. package/src/theme/spacing.ts +13 -13
  867. package/src/theme/theme.ts +6 -8
  868. package/src/theme/typography.ts +81 -48
  869. package/src/theme/typography.types.ts +2 -2
  870. package/tsconfig.json +3 -0
  871. package/dist/Icon.js +0 -30
  872. package/dist/Icon.js.map +0 -1
  873. package/dist/Infobox.js.map +0 -1
  874. package/dist/a11yCheck.js +0 -25
  875. package/dist/a11yCheck.js.map +0 -1
  876. package/dist/iconDictionary/Add.js.map +0 -1
  877. package/dist/iconDictionary/AddCircle.js.map +0 -1
  878. package/dist/iconDictionary/AlertCircle.js.map +0 -1
  879. package/dist/iconDictionary/AlertCircleFilled.js.map +0 -1
  880. package/dist/iconDictionary/AlertTriangleFilled.js.map +0 -1
  881. package/dist/iconDictionary/Anchor.js +0 -35
  882. package/dist/iconDictionary/Anchor.js.map +0 -1
  883. package/dist/iconDictionary/ArrowDown.js.map +0 -1
  884. package/dist/iconDictionary/ArrowLeft.js.map +0 -1
  885. package/dist/iconDictionary/ArrowRight.js.map +0 -1
  886. package/dist/iconDictionary/ArrowUp.js.map +0 -1
  887. package/dist/iconDictionary/ArrowUpDown.js.map +0 -1
  888. package/dist/iconDictionary/Calendar.js +0 -33
  889. package/dist/iconDictionary/Calendar.js.map +0 -1
  890. package/dist/iconDictionary/Check.js.map +0 -1
  891. package/dist/iconDictionary/CheckCircleFilled.js.map +0 -1
  892. package/dist/iconDictionary/ChevronDown.js.map +0 -1
  893. package/dist/iconDictionary/ChevronUp.js.map +0 -1
  894. package/dist/iconDictionary/Close.js.map +0 -1
  895. package/dist/iconDictionary/CloseCircleFilled.js.map +0 -1
  896. package/dist/iconDictionary/Copy.js +0 -33
  897. package/dist/iconDictionary/Copy.js.map +0 -1
  898. package/dist/iconDictionary/Delete.js.map +0 -1
  899. package/dist/iconDictionary/Download.js +0 -33
  900. package/dist/iconDictionary/Download.js.map +0 -1
  901. package/dist/iconDictionary/DragHandle.js +0 -33
  902. package/dist/iconDictionary/DragHandle.js.map +0 -1
  903. package/dist/iconDictionary/Edit.js.map +0 -1
  904. package/dist/iconDictionary/ExternalLink.js.map +0 -1
  905. package/dist/iconDictionary/Eye.js +0 -33
  906. package/dist/iconDictionary/Eye.js.map +0 -1
  907. package/dist/iconDictionary/EyeOff.js +0 -33
  908. package/dist/iconDictionary/EyeOff.js.map +0 -1
  909. package/dist/iconDictionary/Filter.js.map +0 -1
  910. package/dist/iconDictionary/Globe.js.map +0 -1
  911. package/dist/iconDictionary/Home.js +0 -33
  912. package/dist/iconDictionary/Home.js.map +0 -1
  913. package/dist/iconDictionary/InformationCircle.js.map +0 -1
  914. package/dist/iconDictionary/InformationCircleFilled.js.map +0 -1
  915. package/dist/iconDictionary/Notification.js.map +0 -1
  916. package/dist/iconDictionary/OverflowVertical.js.map +0 -1
  917. package/dist/iconDictionary/QuestionCircle.js.map +0 -1
  918. package/dist/iconDictionary/QuestionCircleFilled.js.map +0 -1
  919. package/dist/iconDictionary/Search.js.map +0 -1
  920. package/dist/iconDictionary/Settings.js +0 -31
  921. package/dist/iconDictionary/Settings.js.map +0 -1
  922. package/dist/iconDictionary/Subtract.js.map +0 -1
  923. package/dist/iconDictionary/SvgIcon.js.map +0 -1
  924. package/dist/iconDictionary/User.js.map +0 -1
  925. package/dist/iconDictionary/UserGroup.js +0 -33
  926. package/dist/iconDictionary/UserGroup.js.map +0 -1
  927. package/dist/iconDictionary/index.js +0 -134
  928. package/dist/iconDictionary/index.js.map +0 -1
  929. package/dist/iconDictionary/types.js +0 -2
  930. package/dist/iconDictionary/types.js.map +0 -1
  931. package/dist/properties/ts/odyssey-react-mui_nl-NL.js +0 -2
  932. package/dist/properties/ts/odyssey-react-mui_nl-NL.js.map +0 -1
  933. package/dist/properties/ts/odyssey-react-mui_pt-BR.js +0 -2
  934. package/dist/properties/ts/odyssey-react-mui_pt-BR.js.map +0 -1
  935. package/dist/properties/ts/odyssey-react-mui_zh-CN.js +0 -2
  936. package/dist/properties/ts/odyssey-react-mui_zh-CN.js.map +0 -1
  937. package/dist/properties/ts/odyssey-react-mui_zh-TW.js +0 -2
  938. package/dist/properties/ts/odyssey-react-mui_zh-TW.js.map +0 -1
  939. package/dist/src/Icon.d.ts +0 -29
  940. package/dist/src/Icon.d.ts.map +0 -1
  941. package/dist/src/Infobox.d.ts.map +0 -1
  942. package/dist/src/a11yCheck.d.ts.map +0 -1
  943. package/dist/src/iconDictionary/Add.d.ts +0 -16
  944. package/dist/src/iconDictionary/Add.d.ts.map +0 -1
  945. package/dist/src/iconDictionary/AddCircle.d.ts +0 -16
  946. package/dist/src/iconDictionary/AddCircle.d.ts.map +0 -1
  947. package/dist/src/iconDictionary/AlertCircle.d.ts +0 -16
  948. package/dist/src/iconDictionary/AlertCircle.d.ts.map +0 -1
  949. package/dist/src/iconDictionary/AlertCircleFilled.d.ts +0 -16
  950. package/dist/src/iconDictionary/AlertCircleFilled.d.ts.map +0 -1
  951. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +0 -16
  952. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts.map +0 -1
  953. package/dist/src/iconDictionary/Anchor.d.ts +0 -16
  954. package/dist/src/iconDictionary/Anchor.d.ts.map +0 -1
  955. package/dist/src/iconDictionary/ArrowDown.d.ts +0 -16
  956. package/dist/src/iconDictionary/ArrowDown.d.ts.map +0 -1
  957. package/dist/src/iconDictionary/ArrowLeft.d.ts +0 -16
  958. package/dist/src/iconDictionary/ArrowLeft.d.ts.map +0 -1
  959. package/dist/src/iconDictionary/ArrowRight.d.ts +0 -16
  960. package/dist/src/iconDictionary/ArrowRight.d.ts.map +0 -1
  961. package/dist/src/iconDictionary/ArrowUp.d.ts +0 -16
  962. package/dist/src/iconDictionary/ArrowUp.d.ts.map +0 -1
  963. package/dist/src/iconDictionary/ArrowUpDown.d.ts +0 -16
  964. package/dist/src/iconDictionary/ArrowUpDown.d.ts.map +0 -1
  965. package/dist/src/iconDictionary/Calendar.d.ts +0 -16
  966. package/dist/src/iconDictionary/Calendar.d.ts.map +0 -1
  967. package/dist/src/iconDictionary/Check.d.ts +0 -16
  968. package/dist/src/iconDictionary/Check.d.ts.map +0 -1
  969. package/dist/src/iconDictionary/CheckCircleFilled.d.ts +0 -16
  970. package/dist/src/iconDictionary/CheckCircleFilled.d.ts.map +0 -1
  971. package/dist/src/iconDictionary/ChevronDown.d.ts +0 -16
  972. package/dist/src/iconDictionary/ChevronDown.d.ts.map +0 -1
  973. package/dist/src/iconDictionary/ChevronUp.d.ts +0 -16
  974. package/dist/src/iconDictionary/ChevronUp.d.ts.map +0 -1
  975. package/dist/src/iconDictionary/Close.d.ts +0 -16
  976. package/dist/src/iconDictionary/Close.d.ts.map +0 -1
  977. package/dist/src/iconDictionary/CloseCircleFilled.d.ts +0 -16
  978. package/dist/src/iconDictionary/CloseCircleFilled.d.ts.map +0 -1
  979. package/dist/src/iconDictionary/Copy.d.ts +0 -16
  980. package/dist/src/iconDictionary/Copy.d.ts.map +0 -1
  981. package/dist/src/iconDictionary/Delete.d.ts +0 -16
  982. package/dist/src/iconDictionary/Delete.d.ts.map +0 -1
  983. package/dist/src/iconDictionary/Download.d.ts +0 -16
  984. package/dist/src/iconDictionary/Download.d.ts.map +0 -1
  985. package/dist/src/iconDictionary/DragHandle.d.ts +0 -16
  986. package/dist/src/iconDictionary/DragHandle.d.ts.map +0 -1
  987. package/dist/src/iconDictionary/Edit.d.ts +0 -16
  988. package/dist/src/iconDictionary/Edit.d.ts.map +0 -1
  989. package/dist/src/iconDictionary/ExternalLink.d.ts +0 -16
  990. package/dist/src/iconDictionary/ExternalLink.d.ts.map +0 -1
  991. package/dist/src/iconDictionary/Eye.d.ts +0 -16
  992. package/dist/src/iconDictionary/Eye.d.ts.map +0 -1
  993. package/dist/src/iconDictionary/EyeOff.d.ts +0 -16
  994. package/dist/src/iconDictionary/EyeOff.d.ts.map +0 -1
  995. package/dist/src/iconDictionary/Filter.d.ts +0 -16
  996. package/dist/src/iconDictionary/Filter.d.ts.map +0 -1
  997. package/dist/src/iconDictionary/Globe.d.ts +0 -16
  998. package/dist/src/iconDictionary/Globe.d.ts.map +0 -1
  999. package/dist/src/iconDictionary/Home.d.ts +0 -16
  1000. package/dist/src/iconDictionary/Home.d.ts.map +0 -1
  1001. package/dist/src/iconDictionary/InformationCircle.d.ts +0 -16
  1002. package/dist/src/iconDictionary/InformationCircle.d.ts.map +0 -1
  1003. package/dist/src/iconDictionary/InformationCircleFilled.d.ts.map +0 -1
  1004. package/dist/src/iconDictionary/Notification.d.ts +0 -16
  1005. package/dist/src/iconDictionary/Notification.d.ts.map +0 -1
  1006. package/dist/src/iconDictionary/OverflowVertical.d.ts +0 -16
  1007. package/dist/src/iconDictionary/OverflowVertical.d.ts.map +0 -1
  1008. package/dist/src/iconDictionary/QuestionCircle.d.ts +0 -16
  1009. package/dist/src/iconDictionary/QuestionCircle.d.ts.map +0 -1
  1010. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +0 -16
  1011. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts.map +0 -1
  1012. package/dist/src/iconDictionary/Search.d.ts +0 -16
  1013. package/dist/src/iconDictionary/Search.d.ts.map +0 -1
  1014. package/dist/src/iconDictionary/Settings.d.ts +0 -16
  1015. package/dist/src/iconDictionary/Settings.d.ts.map +0 -1
  1016. package/dist/src/iconDictionary/Subtract.d.ts +0 -16
  1017. package/dist/src/iconDictionary/Subtract.d.ts.map +0 -1
  1018. package/dist/src/iconDictionary/SvgIcon.d.ts.map +0 -1
  1019. package/dist/src/iconDictionary/User.d.ts +0 -16
  1020. package/dist/src/iconDictionary/User.d.ts.map +0 -1
  1021. package/dist/src/iconDictionary/UserGroup.d.ts +0 -16
  1022. package/dist/src/iconDictionary/UserGroup.d.ts.map +0 -1
  1023. package/dist/src/iconDictionary/index.d.ts +0 -94
  1024. package/dist/src/iconDictionary/index.d.ts.map +0 -1
  1025. package/dist/src/iconDictionary/types.d.ts.map +0 -1
  1026. package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts +0 -2
  1027. package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts.map +0 -1
  1028. package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts +0 -2
  1029. package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts.map +0 -1
  1030. package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts +0 -2
  1031. package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts.map +0 -1
  1032. package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts +0 -2
  1033. package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts.map +0 -1
  1034. package/dist/src/theme/OdysseyTheme.d.ts.map +0 -1
  1035. package/dist/src/theme/temp.d.ts.map +0 -1
  1036. package/dist/src/theme/useTheme.d.ts.map +0 -1
  1037. package/dist/theme/OdysseyTheme.js +0 -2
  1038. package/dist/theme/OdysseyTheme.js.map +0 -1
  1039. package/dist/theme/temp.js.map +0 -1
  1040. package/dist/theme/useTheme.js.map +0 -1
  1041. package/scripts/resolveIconSrcPath.cjs +0 -20
  1042. package/src/Icon.test.tsx +0 -51
  1043. package/src/Icon.tsx +0 -54
  1044. package/src/a11yCheck.ts +0 -28
  1045. package/src/iconDictionary/AlertTriangleFilled.tsx +0 -45
  1046. package/src/iconDictionary/Anchor.tsx +0 -46
  1047. package/src/iconDictionary/ArrowUpDown.tsx +0 -44
  1048. package/src/iconDictionary/Calendar.tsx +0 -44
  1049. package/src/iconDictionary/Download.tsx +0 -44
  1050. package/src/iconDictionary/DragHandle.tsx +0 -44
  1051. package/src/iconDictionary/EyeOff.tsx +0 -44
  1052. package/src/iconDictionary/Home.tsx +0 -44
  1053. package/src/iconDictionary/Settings.tsx +0 -42
  1054. package/src/iconDictionary/UserGroup.tsx +0 -44
  1055. package/src/iconDictionary/index.ts +0 -176
  1056. package/src/properties/translations/odyssey-react-mui_nl-NL.properties +0 -0
  1057. package/src/properties/translations/odyssey-react-mui_pt-BR.properties +0 -0
  1058. package/src/properties/translations/odyssey-react-mui_zh-CN.properties +0 -0
  1059. package/src/properties/translations/odyssey-react-mui_zh-TW.properties +0 -0
  1060. package/src/properties/ts/odyssey-react-mui_nl-NL.ts +0 -1
  1061. package/src/properties/ts/odyssey-react-mui_pt-BR.ts +0 -1
  1062. package/src/properties/ts/odyssey-react-mui_zh-CN.ts +0 -1
  1063. package/src/properties/ts/odyssey-react-mui_zh-TW.ts +0 -1
  1064. /package/dist/{iconDictionary/SvgIcon.js → SvgIcon.js} +0 -0
package/src/Checkbox.tsx CHANGED
@@ -10,43 +10,79 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { Checkbox as MuiCheckbox, Typography } from "@mui/material";
14
- import { ChangeEventHandler, memo, useMemo } from "react";
13
+ import {
14
+ Checkbox as MuiCheckbox,
15
+ CheckboxProps as MuiCheckboxProps,
16
+ FormControlLabel,
17
+ } from "@mui/material";
18
+ import { Typography } from "./Typography";
19
+ import { memo, useCallback, useMemo, useState } from "react";
15
20
  import { useTranslation } from "react-i18next";
16
21
 
17
- import { FormControlLabel } from ".";
22
+ export const checkboxValidityValues = ["valid", "invalid", "inherit"] as const;
18
23
 
19
24
  export type CheckboxProps = {
25
+ /**
26
+ * The ARIA label for the Checkbox
27
+ */
20
28
  ariaLabel?: string;
29
+ /**
30
+ * The ID of the element that labels the Checkbox
31
+ */
21
32
  ariaLabelledBy?: string;
22
- isInvalid?: boolean;
23
- isValid?: boolean;
24
- isChecked?: boolean;
33
+ /**
34
+ * Determines whether the Checkbox is checked
35
+ */
25
36
  isDefaultChecked?: boolean;
37
+ /**
38
+ * Determines whether the Checkbox is disabled
39
+ */
26
40
  isDisabled?: boolean;
41
+ /**
42
+ * Determines whether the Checkbox is in an indeterminate state
43
+ */
27
44
  isIndeterminate?: boolean;
45
+ /**
46
+ * Determines whether the Checkbox is required
47
+ */
28
48
  isRequired?: boolean;
49
+ /**
50
+ * The label text for the Checkbox
51
+ */
29
52
  label?: string;
53
+ /**
54
+ * The name attribute of the Checkbox
55
+ */
30
56
  name?: string;
31
- onChange?: ChangeEventHandler<EventTarget>;
57
+ /**
58
+ * The change event handler for the Checkbox
59
+ */
60
+ onChange?: MuiCheckboxProps["onChange"];
61
+ /**
62
+ * The checkbox validity, if different from its enclosing group. Defaults to "inherit".
63
+ */
64
+ validity?: (typeof checkboxValidityValues)[number];
65
+ /**
66
+ * The value attribute of the Checkbox
67
+ */
32
68
  value?: string;
33
69
  };
34
70
 
35
71
  const Checkbox = ({
36
72
  ariaLabel,
37
73
  ariaLabelledBy,
38
- isInvalid,
39
- isValid,
40
- isChecked,
74
+ isDefaultChecked = false,
41
75
  isDisabled,
42
76
  isIndeterminate,
43
77
  isRequired,
44
78
  label: labelProp,
45
79
  name,
46
- onChange,
80
+ onChange: onChangeProp,
81
+ validity = "inherit",
47
82
  value,
48
83
  }: CheckboxProps) => {
49
84
  const { t } = useTranslation();
85
+ const [isCheckedValue, setIsCheckedValue] = useState(isDefaultChecked);
50
86
 
51
87
  const label = useMemo(() => {
52
88
  if (isRequired) {
@@ -63,13 +99,26 @@ const Checkbox = ({
63
99
  }
64
100
  }, [isRequired, labelProp, t]);
65
101
 
102
+ const onChange = useCallback(
103
+ (event, checked) => {
104
+ setIsCheckedValue(event.target.checked);
105
+ onChangeProp?.(event, checked);
106
+ },
107
+ [onChangeProp]
108
+ );
109
+
66
110
  return (
67
111
  <FormControlLabel
68
112
  aria-label={ariaLabel}
69
113
  aria-labelledby={ariaLabelledBy}
70
- aria-required={isRequired}
71
- checked={isChecked}
72
- className={isInvalid ? "Mui-error" : isValid ? "Mui-valid" : ""}
114
+ checked={isCheckedValue}
115
+ className={
116
+ validity === "invalid"
117
+ ? "Mui-error"
118
+ : validity === "valid"
119
+ ? "Mui-valid"
120
+ : ""
121
+ }
73
122
  control={
74
123
  <MuiCheckbox indeterminate={isIndeterminate} required={isRequired} />
75
124
  }
@@ -84,5 +133,6 @@ const Checkbox = ({
84
133
  };
85
134
 
86
135
  const MemoizedCheckbox = memo(Checkbox);
136
+ MemoizedCheckbox.displayName = "Checkbox";
87
137
 
88
138
  export { MemoizedCheckbox as Checkbox };
@@ -17,26 +17,44 @@ import { Checkbox } from "./Checkbox";
17
17
  import { Field } from "./Field";
18
18
 
19
19
  export type CheckboxGroupProps = {
20
+ /**
21
+ * A single Checkbox element or an array of Checkbox elements
22
+ */
20
23
  children:
21
24
  | ReactElement<typeof Checkbox>
22
25
  | Array<ReactElement<typeof Checkbox>>;
26
+ /**
27
+ * The error message for the CheckboxGroup
28
+ */
23
29
  errorMessage?: string;
30
+ /**
31
+ * The hint text for the CheckboxGroup
32
+ */
24
33
  hint?: string;
25
34
  /**
26
35
  * The id of the `input` element. This will also be the input's `name` field.
27
36
  */
28
37
  id?: string;
38
+ /**
39
+ * If `true`, the CheckboxGroup is disabled
40
+ */
29
41
  isDisabled?: boolean;
42
+ /**
43
+ * If `true`, the CheckboxGroup is required
44
+ */
30
45
  isRequired?: boolean;
46
+ /**
47
+ * The label text for the CheckboxGroup
48
+ */
31
49
  label: string;
32
50
  };
33
51
 
34
52
  const CheckboxGroup = ({
35
53
  children,
36
- isDisabled,
37
54
  errorMessage,
38
55
  hint,
39
56
  id: idOverride,
57
+ isDisabled,
40
58
  isRequired = false,
41
59
  label,
42
60
  }: CheckboxGroupProps) => {
@@ -65,5 +83,6 @@ const CheckboxGroup = ({
65
83
  };
66
84
 
67
85
  const MemoizedCheckboxGroup = memo(CheckboxGroup);
86
+ MemoizedCheckboxGroup.displayName = "CheckboxGroup";
68
87
 
69
88
  export { MemoizedCheckboxGroup as CheckboxGroup };
@@ -13,12 +13,24 @@
13
13
  import { CircularProgress as MuiCircularProgress } from "@mui/material";
14
14
 
15
15
  export type CircularProgressProps = {
16
+ /**
17
+ * The ARIA label for the progress spinner
18
+ */
19
+ ariaLabel?: string;
20
+ /**
21
+ * The percentage filled the spinner should be, as an integer.
22
+ * If undefined, the spinner will spin perpetually.
23
+ */
16
24
  value?: number;
17
25
  };
18
26
 
19
- export const CircularProgress = ({ value }: CircularProgressProps) => (
27
+ export const CircularProgress = ({
28
+ ariaLabel,
29
+ value,
30
+ }: CircularProgressProps) => (
20
31
  <MuiCircularProgress
21
32
  value={value}
22
33
  variant={value ? "determinate" : "indeterminate"}
34
+ aria-label={ariaLabel}
23
35
  />
24
36
  );
package/src/Dialog.tsx CHANGED
@@ -17,7 +17,8 @@ import {
17
17
  DialogContentText,
18
18
  DialogActions,
19
19
  } from "@mui/material";
20
- import { Button, CloseIcon } from "./";
20
+ import { Button } from "./Button";
21
+ import { CloseIcon } from "./icons.generated";
21
22
  import {
22
23
  memo,
23
24
  ReactNode,
@@ -28,23 +29,46 @@ import {
28
29
  } from "react";
29
30
 
30
31
  export type DialogProps = {
31
- callToActionPrimaryComponent?: ReactElement<typeof Button>;
32
- callToActionSecondaryComponent?: ReactElement<typeof Button>;
33
- callToActionTertiaryComponent?: ReactElement<typeof Button>;
34
- children: ReactNode | Array<ReactNode>;
35
- onClose: () => void;
32
+ /**
33
+ * An optional Button object to be situated in the Dialog footer. Should almost always be of variant `primary`.
34
+ */
35
+ callToActionFirstComponent?: ReactElement<typeof Button>;
36
+ /**
37
+ * An optional Button object to be situated in the Dialog footer, alongside the `callToActionPrimaryComponent`.
38
+ */
39
+ callToActionSecondComponent?: ReactElement<typeof Button>;
40
+ /**
41
+ * An optional Button object to be situated in the Dialog footer, alongside the other two `callToAction` components.
42
+ */
43
+ callToActionLastComponent?: ReactElement<typeof Button>;
44
+ /**
45
+ * The content of the Dialog. May be a `string` or any other `ReactNode` or array of `ReactNode`s.
46
+ */
47
+ children: ReactNode;
48
+ /**
49
+ * When set to `true`, the Dialog will be visible.
50
+ */
36
51
  isOpen: boolean;
52
+ /**
53
+ * Callback that controls what happens when the Dialog is dismissed
54
+ */
55
+ onClose: () => void;
56
+ /**
57
+ * The title of the Dialog
58
+ */
37
59
  title: string;
60
+ ariaLabel: string;
38
61
  };
39
62
 
40
63
  const Dialog = ({
41
- callToActionPrimaryComponent,
42
- callToActionSecondaryComponent,
43
- callToActionTertiaryComponent,
64
+ callToActionFirstComponent,
65
+ callToActionSecondComponent,
66
+ callToActionLastComponent,
44
67
  children,
45
68
  isOpen,
46
69
  onClose,
47
70
  title,
71
+ ariaLabel,
48
72
  }: DialogProps) => {
49
73
  const [isContentScrollable, setIsContentScrollable] = useState(false);
50
74
  const dialogContentRef = useRef<HTMLDivElement>(null);
@@ -83,22 +107,25 @@ const Dialog = ({
83
107
  <DialogTitle>
84
108
  {title}
85
109
  <Button
86
- variant="floating"
110
+ ariaLabel={ariaLabel}
111
+ label=""
87
112
  onClick={onClose}
113
+ size="small"
88
114
  startIcon={<CloseIcon />}
115
+ variant="floating"
89
116
  />
90
117
  </DialogTitle>
91
118
  <DialogContent dividers={isContentScrollable} ref={dialogContentRef}>
92
119
  {content}
93
120
  </DialogContent>
94
121
 
95
- {(callToActionPrimaryComponent ||
96
- callToActionSecondaryComponent ||
97
- callToActionTertiaryComponent) && (
122
+ {(callToActionFirstComponent ||
123
+ callToActionSecondComponent ||
124
+ callToActionLastComponent) && (
98
125
  <DialogActions>
99
- {callToActionTertiaryComponent}
100
- {callToActionSecondaryComponent}
101
- {callToActionPrimaryComponent}
126
+ {callToActionLastComponent}
127
+ {callToActionSecondComponent}
128
+ {callToActionFirstComponent}
102
129
  </DialogActions>
103
130
  )}
104
131
  </MuiDialog>
@@ -106,5 +133,6 @@ const Dialog = ({
106
133
  };
107
134
 
108
135
  const MemoizedDialog = memo(Dialog);
136
+ MemoizedDialog.displayName = "Dialog";
109
137
 
110
138
  export { MemoizedDialog as Dialog };
package/src/Field.tsx CHANGED
@@ -15,13 +15,16 @@ import { memo, ReactElement, useMemo } from "react";
15
15
  import {
16
16
  FormControl as MuiFormControl,
17
17
  FormLabel as MuiFormLabel,
18
- Typography,
19
18
  } from "@mui/material";
20
19
  import { FieldError } from "./FieldError";
21
20
  import { FieldHint } from "./FieldHint";
22
21
  import { FieldLabel } from "./FieldLabel";
23
- import { useUniqueId } from "./useUniqueId";
22
+ import { Typography } from "./Typography";
23
+ import { useFieldset } from "./FieldsetContext";
24
24
  import { useTranslation } from "react-i18next";
25
+ import { useUniqueId } from "./useUniqueId";
26
+
27
+ export const fieldTypeValues = ["single", "group"] as const;
25
28
 
26
29
  export type FieldProps = {
27
30
  /**
@@ -31,7 +34,10 @@ export type FieldProps = {
31
34
  /**
32
35
  * The field type determines how ARIA components are setup. It's important to use this to denote if you expect only one component (like a text field) or multiple (like a radio group).
33
36
  */
34
- fieldType: "single" | "group";
37
+ fieldType: (typeof fieldTypeValues)[number];
38
+ /**
39
+ * If `true`, the Field label will be shown
40
+ */
35
41
  hasVisibleLabel: boolean;
36
42
  /**
37
43
  * The helper text content.
@@ -83,7 +89,7 @@ const Field = ({
83
89
  hasVisibleLabel,
84
90
  hint,
85
91
  id: idOverride,
86
- isDisabled = false,
92
+ isDisabled: isDisabledProp = false,
87
93
  isRadioGroup = false,
88
94
  isOptional = false,
89
95
  label,
@@ -101,6 +107,13 @@ const Field = ({
101
107
  [errorId, hintId]
102
108
  );
103
109
 
110
+ const { isDisabled: isFieldsetDisabled } = useFieldset();
111
+
112
+ const isDisabled = useMemo(
113
+ () => isDisabledProp || isFieldsetDisabled,
114
+ [isDisabledProp, isFieldsetDisabled]
115
+ );
116
+
104
117
  return (
105
118
  <MuiFormControl
106
119
  component={fieldType === "group" ? "fieldset" : "div"}
@@ -140,5 +153,6 @@ const Field = ({
140
153
  };
141
154
 
142
155
  const MemoizedField = memo(Field);
156
+ MemoizedField.displayName = "Field";
143
157
 
144
158
  export { MemoizedField as Field };
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { memo } from "react";
14
14
 
15
- import { FormHelperText } from ".";
15
+ import { FormHelperText } from "@mui/material";
16
16
  import { ScreenReaderText } from "./ScreenReaderText";
17
17
  import { useTranslation } from "react-i18next";
18
18
 
@@ -35,5 +35,6 @@ const FieldError = ({ id, text }: FieldErrorProps) => {
35
35
  };
36
36
 
37
37
  const MemoizedFieldError = memo(FieldError);
38
+ MemoizedFieldError.displayName = "FieldError";
38
39
 
39
40
  export { MemoizedFieldError as FieldError };
package/src/FieldHint.tsx CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  import { memo } from "react";
14
14
 
15
- import { FormHelperText } from "./";
15
+ import { FormHelperText } from "@mui/material";
16
16
 
17
17
  export type FieldHintProps = {
18
18
  id?: string;
@@ -24,5 +24,6 @@ const FieldHint = ({ id, text }: FieldHintProps) => {
24
24
  };
25
25
 
26
26
  const MemoizedFieldHint = memo(FieldHint);
27
+ MemoizedFieldHint.displayName = "FieldHint";
27
28
 
28
29
  export { MemoizedFieldHint as FieldHint };
@@ -15,7 +15,7 @@ import { memo, useMemo } from "react";
15
15
 
16
16
  import { useTranslation } from "react-i18next";
17
17
  import { ScreenReaderText } from "./ScreenReaderText";
18
- import { Typography } from ".";
18
+ import { Subordinate } from "./Typography";
19
19
 
20
20
  export type FieldLabelProps = {
21
21
  hasVisibleLabel: boolean;
@@ -37,11 +37,9 @@ const FieldLabel = ({
37
37
  const inputLabel = useMemo(
38
38
  () => (
39
39
  <MuiInputLabel htmlFor={inputId} id={id}>
40
- {text}
40
+ <span>{text}</span>
41
41
  {isOptional && (
42
- <Typography variant="subtitle1">
43
- {t("fieldlabel.optional.text")}
44
- </Typography>
42
+ <Subordinate>{t("fieldlabel.optional.text")}</Subordinate>
45
43
  )}
46
44
  </MuiInputLabel>
47
45
  ),
@@ -56,5 +54,6 @@ const FieldLabel = ({
56
54
  };
57
55
 
58
56
  const MemoizedFieldLabel = memo(FieldLabel);
57
+ MemoizedFieldLabel.displayName = "FieldLabel";
59
58
 
60
59
  export { MemoizedFieldLabel as FieldLabel };
package/src/Fieldset.tsx CHANGED
@@ -10,81 +10,92 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { memo, ReactElement } from "react";
13
+ import { Box } from "@mui/material";
14
+ import { memo, ReactElement, useMemo } from "react";
14
15
 
15
- import { Box, Typography } from ".";
16
- import { Infobox } from "./Infobox";
16
+ import { Callout } from "./Callout";
17
+ import { FieldsetContext } from "./FieldsetContext";
18
+ import { Legend, Support } from "./Typography";
19
+ import { useOdysseyDesignTokens } from "./OdysseyDesignTokensContext";
17
20
  import { useUniqueId } from "./useUniqueId";
18
21
 
19
22
  export type FieldsetProps = {
20
23
  /**
21
- * The title of the Fieldset
24
+ * A Callout indicating a Fieldset-wide error or status update.
22
25
  */
23
- legend: string;
26
+ alert?: ReactElement<typeof Callout>;
27
+ /**
28
+ * The Field components within the Fieldset
29
+ */
30
+ children: ReactElement | Array<ReactElement>;
24
31
  /**
25
32
  * A supplementary description
26
33
  */
27
34
  description?: string;
28
35
  /**
29
- * The Field components within the Fieldset
36
+ * Defines a unique identifier (ID) which must be unique in the whole document.
30
37
  */
31
- children: ReactElement | Array<ReactElement>;
38
+ id?: string;
32
39
  /**
33
- * An Infobox indicating a Fieldset-wide error or status update.
40
+ * Disables the component and any wrapped input fields.
34
41
  */
35
- alert?: ReactElement<typeof Infobox>;
42
+ isDisabled?: boolean;
36
43
  /**
37
- * The name associated with the group.
44
+ * The title of the Fieldset
38
45
  */
39
- name?: string;
40
- // /**
41
- // * If this Boolean attribute is set, all form controls that are descendants of the <fieldset>, are disabled, meaning they are not editable and won't be submitted along with the <form>.
42
- // * They won't receive any browsing events, like mouse clicks or focus-related events.
43
- // * Note that form elements inside the <legend> element won't be disabled.
44
- // */
45
- // NOTE: Functionality is currently disabled. This will correctly disable child <input>s, but will not pass `isDisabled` to the child components.
46
- // isDisabled?: boolean;
46
+ legend: string;
47
47
  /**
48
- * Defines a unique identifier (ID) which must be unique in the whole document.
48
+ * The name associated with the group.
49
49
  */
50
- id?: string;
50
+ name?: string;
51
51
  };
52
52
 
53
53
  const Fieldset = ({
54
54
  alert,
55
55
  children,
56
56
  description,
57
+ id: idOverride,
58
+ isDisabled = false,
57
59
  legend,
58
60
  name,
59
- id: idOverride,
60
- }: // isDisabled,
61
- FieldsetProps) => {
61
+ }: FieldsetProps) => {
62
+ const odysseyDesignTokens = useOdysseyDesignTokens();
62
63
  const id = useUniqueId(idOverride);
63
64
 
65
+ const fieldsetContextValue = useMemo(
66
+ () => ({
67
+ isDisabled,
68
+ }),
69
+ [isDisabled]
70
+ );
71
+
64
72
  return (
65
73
  <Box
66
74
  component="fieldset"
67
- // disabled={isDisabled}
75
+ disabled={isDisabled}
68
76
  name={name}
69
77
  id={id}
70
78
  sx={{
71
- maxWidth: (theme) => theme.mixins.maxWidth,
72
- margin: (theme) => theme.spacing(0),
73
- marginBlockEnd: (theme) => theme.spacing(4),
74
- padding: (theme) => theme.spacing(0),
75
79
  border: "0",
80
+ margin: odysseyDesignTokens.Spacing0,
81
+ marginBlockEnd: odysseyDesignTokens.Spacing6,
82
+ maxWidth: odysseyDesignTokens.TypographyLineLengthMax,
83
+ padding: odysseyDesignTokens.Spacing0,
76
84
 
77
85
  "&:last-child": {
78
- marginBlockEnd: (theme) => theme.spacing(0),
86
+ marginBlockEnd: odysseyDesignTokens.Spacing0,
79
87
  },
80
88
  }}
81
89
  >
82
- <Typography variant="legend" component="legend">
83
- {legend}
84
- </Typography>
85
- {description && <Typography paragraph>{description}</Typography>}
90
+ <Legend>{legend}</Legend>
91
+
92
+ {description && <Support>{description}</Support>}
93
+
86
94
  {alert}
87
- {children}
95
+
96
+ <FieldsetContext.Provider value={fieldsetContextValue}>
97
+ {children}
98
+ </FieldsetContext.Provider>
88
99
  </Box>
89
100
  );
90
101
  };
@@ -0,0 +1,23 @@
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
+
13
+ import { createContext, useContext } from "react";
14
+
15
+ export type FieldsetContextValue = {
16
+ isDisabled: boolean;
17
+ };
18
+
19
+ export const FieldsetContext = createContext<FieldsetContextValue>({
20
+ isDisabled: false,
21
+ });
22
+
23
+ export const useFieldset = () => useContext(FieldsetContext);