@okta/odyssey-react-mui 0.23.0 → 1.0.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 (1146) hide show
  1. package/CHANGELOG.md +56 -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 +15 -4
  6. package/dist/Autocomplete.js.map +1 -1
  7. package/dist/Banner.js +16 -6
  8. package/dist/Banner.js.map +1 -1
  9. package/dist/Box.js +29 -0
  10. package/dist/Box.js.map +1 -0
  11. package/dist/Button.js +35 -11
  12. package/dist/Button.js.map +1 -1
  13. package/dist/Callout.js +50 -0
  14. package/dist/Callout.js.map +1 -0
  15. package/dist/Checkbox.js +54 -15
  16. package/dist/Checkbox.js.map +1 -1
  17. package/dist/CheckboxGroup.js +16 -4
  18. package/dist/CheckboxGroup.js.map +1 -1
  19. package/dist/CircularProgress.js +14 -1
  20. package/dist/CircularProgress.js.map +1 -1
  21. package/dist/Dialog.js +26 -16
  22. package/dist/Dialog.js.map +1 -1
  23. package/dist/Field.js +21 -9
  24. package/dist/Field.js.map +1 -1
  25. package/dist/FieldError.js +9 -5
  26. package/dist/FieldError.js.map +1 -1
  27. package/dist/FieldHint.js +4 -4
  28. package/dist/FieldHint.js.map +1 -1
  29. package/dist/FieldLabel.js +22 -8
  30. package/dist/FieldLabel.js.map +1 -1
  31. package/dist/Fieldset.js +64 -0
  32. package/dist/Fieldset.js.map +1 -0
  33. package/dist/FieldsetContext.js +18 -0
  34. package/dist/FieldsetContext.js.map +1 -0
  35. package/dist/Form.js +81 -0
  36. package/dist/Form.js.map +1 -0
  37. package/dist/Link.js +18 -19
  38. package/dist/Link.js.map +1 -1
  39. package/dist/MenuButton.js +41 -27
  40. package/dist/MenuButton.js.map +1 -1
  41. package/dist/MenuContext.js +18 -0
  42. package/dist/MenuContext.js.map +1 -0
  43. package/dist/MenuItem.js +25 -10
  44. package/dist/MenuItem.js.map +1 -1
  45. package/dist/MuiPropsChild.js +4 -1
  46. package/dist/MuiPropsChild.js.map +1 -1
  47. package/dist/MuiPropsContext.js +3 -1
  48. package/dist/MuiPropsContext.js.map +1 -1
  49. package/dist/NativeSelect.js +61 -0
  50. package/dist/NativeSelect.js.map +1 -0
  51. package/dist/NullElement.js +2 -0
  52. package/dist/NullElement.js.map +1 -0
  53. package/dist/OdysseyCacheProvider.js +7 -5
  54. package/dist/OdysseyCacheProvider.js.map +1 -1
  55. package/dist/OdysseyDesignTokensContext.js +17 -0
  56. package/dist/OdysseyDesignTokensContext.js.map +1 -0
  57. package/dist/OdysseyI18n.js +97 -0
  58. package/dist/OdysseyI18n.js.map +1 -0
  59. package/dist/OdysseyProvider.js +44 -0
  60. package/dist/OdysseyProvider.js.map +1 -0
  61. package/dist/OdysseyThemeProvider.js +20 -7
  62. package/dist/OdysseyThemeProvider.js.map +1 -1
  63. package/dist/OdysseyTranslationProvider.js +47 -0
  64. package/dist/OdysseyTranslationProvider.js.map +1 -0
  65. package/dist/OdysseyTranslationProvider.types.js +14 -0
  66. package/dist/OdysseyTranslationProvider.types.js.map +1 -0
  67. package/dist/PasswordField.js +19 -5
  68. package/dist/PasswordField.js.map +1 -1
  69. package/dist/Radio.js +16 -8
  70. package/dist/Radio.js.map +1 -1
  71. package/dist/RadioGroup.js +12 -2
  72. package/dist/RadioGroup.js.map +1 -1
  73. package/dist/ScreenReaderText.js +8 -5
  74. package/dist/ScreenReaderText.js.map +1 -1
  75. package/dist/SearchField.js +47 -5
  76. package/dist/SearchField.js.map +1 -1
  77. package/dist/Select.js +132 -0
  78. package/dist/Select.js.map +1 -0
  79. package/dist/Status.js +10 -4
  80. package/dist/Status.js.map +1 -1
  81. package/dist/SvgIcon.js +15 -0
  82. package/dist/SvgIcon.js.map +1 -0
  83. package/dist/Tabs.js +48 -0
  84. package/dist/Tabs.js.map +1 -0
  85. package/dist/Tag.js +23 -5
  86. package/dist/Tag.js.map +1 -1
  87. package/dist/TagList.js +14 -2
  88. package/dist/TagList.js.map +1 -1
  89. package/dist/TagListContext.js +1 -0
  90. package/dist/TagListContext.js.map +1 -1
  91. package/dist/TextField.js +13 -2
  92. package/dist/TextField.js.map +1 -1
  93. package/dist/Toast.js +21 -8
  94. package/dist/Toast.js.map +1 -1
  95. package/dist/ToastStack.js +11 -8
  96. package/dist/ToastStack.js.map +1 -1
  97. package/dist/Tooltip.js +13 -2
  98. package/dist/Tooltip.js.map +1 -1
  99. package/dist/Typography.js +283 -0
  100. package/dist/Typography.js.map +1 -0
  101. package/dist/createUniqueAlphabeticalId.js +1 -2
  102. package/dist/createUniqueAlphabeticalId.js.map +1 -1
  103. package/dist/createUniqueId.js +1 -2
  104. package/dist/createUniqueId.js.map +1 -1
  105. package/dist/icons.generated/Add.js +33 -0
  106. package/dist/icons.generated/Add.js.map +1 -0
  107. package/dist/icons.generated/AddCircle.js +33 -0
  108. package/dist/icons.generated/AddCircle.js.map +1 -0
  109. package/dist/icons.generated/Apps.js +33 -0
  110. package/dist/icons.generated/Apps.js.map +1 -0
  111. package/dist/icons.generated/ArrowDown.js +33 -0
  112. package/dist/icons.generated/ArrowDown.js.map +1 -0
  113. package/dist/icons.generated/ArrowLeft.js +33 -0
  114. package/dist/icons.generated/ArrowLeft.js.map +1 -0
  115. package/dist/icons.generated/ArrowLowerLeft.js +33 -0
  116. package/dist/icons.generated/ArrowLowerLeft.js.map +1 -0
  117. package/dist/icons.generated/ArrowLowerRight.js +33 -0
  118. package/dist/icons.generated/ArrowLowerRight.js.map +1 -0
  119. package/dist/icons.generated/ArrowRight.js +33 -0
  120. package/dist/icons.generated/ArrowRight.js.map +1 -0
  121. package/dist/icons.generated/ArrowUnsorted.js +33 -0
  122. package/dist/icons.generated/ArrowUnsorted.js.map +1 -0
  123. package/dist/icons.generated/ArrowUp.js +33 -0
  124. package/dist/icons.generated/ArrowUp.js.map +1 -0
  125. package/dist/icons.generated/ArrowUpperLeft.js +33 -0
  126. package/dist/icons.generated/ArrowUpperLeft.js.map +1 -0
  127. package/dist/icons.generated/ArrowUpperRight.js +33 -0
  128. package/dist/icons.generated/ArrowUpperRight.js.map +1 -0
  129. package/dist/icons.generated/Bug.js +33 -0
  130. package/dist/icons.generated/Bug.js.map +1 -0
  131. package/dist/icons.generated/Calendar.js +33 -0
  132. package/dist/icons.generated/Calendar.js.map +1 -0
  133. package/dist/icons.generated/Call.js +33 -0
  134. package/dist/icons.generated/Call.js.map +1 -0
  135. package/dist/icons.generated/Chat.js +33 -0
  136. package/dist/icons.generated/Chat.js.map +1 -0
  137. package/dist/icons.generated/Check.js +33 -0
  138. package/dist/icons.generated/Check.js.map +1 -0
  139. package/dist/icons.generated/CheckCircleFilled.js +33 -0
  140. package/dist/icons.generated/CheckCircleFilled.js.map +1 -0
  141. package/dist/icons.generated/ChevronDown.js +33 -0
  142. package/dist/icons.generated/ChevronDown.js.map +1 -0
  143. package/dist/icons.generated/ChevronLeft.js +33 -0
  144. package/dist/icons.generated/ChevronLeft.js.map +1 -0
  145. package/dist/icons.generated/ChevronRight.js +33 -0
  146. package/dist/icons.generated/ChevronRight.js.map +1 -0
  147. package/dist/icons.generated/ChevronUp.js +33 -0
  148. package/dist/icons.generated/ChevronUp.js.map +1 -0
  149. package/dist/icons.generated/Clock.js +33 -0
  150. package/dist/icons.generated/Clock.js.map +1 -0
  151. package/dist/icons.generated/Close.js +33 -0
  152. package/dist/icons.generated/Close.js.map +1 -0
  153. package/dist/icons.generated/CloseCircleFilled.js +33 -0
  154. package/dist/icons.generated/CloseCircleFilled.js.map +1 -0
  155. package/dist/icons.generated/CollapseLeft.js +33 -0
  156. package/dist/icons.generated/CollapseLeft.js.map +1 -0
  157. package/dist/icons.generated/CollapseRight.js +33 -0
  158. package/dist/icons.generated/CollapseRight.js.map +1 -0
  159. package/dist/icons.generated/Copy.js +33 -0
  160. package/dist/icons.generated/Copy.js.map +1 -0
  161. package/dist/icons.generated/DangerDiamond.js +33 -0
  162. package/dist/icons.generated/DangerDiamond.js.map +1 -0
  163. package/dist/icons.generated/DangerDiamondFilled.js +33 -0
  164. package/dist/icons.generated/DangerDiamondFilled.js.map +1 -0
  165. package/dist/icons.generated/Delete.js +33 -0
  166. package/dist/icons.generated/Delete.js.map +1 -0
  167. package/dist/icons.generated/Deny.js +33 -0
  168. package/dist/icons.generated/Deny.js.map +1 -0
  169. package/dist/icons.generated/Devices.js +33 -0
  170. package/dist/icons.generated/Devices.js.map +1 -0
  171. package/dist/icons.generated/Directory.js +33 -0
  172. package/dist/icons.generated/Directory.js.map +1 -0
  173. package/dist/icons.generated/Documentation.js +33 -0
  174. package/dist/icons.generated/Documentation.js.map +1 -0
  175. package/dist/icons.generated/Download.js +33 -0
  176. package/dist/icons.generated/Download.js.map +1 -0
  177. package/dist/icons.generated/DragIndicator.js +33 -0
  178. package/dist/icons.generated/DragIndicator.js.map +1 -0
  179. package/dist/icons.generated/Edit.js +33 -0
  180. package/dist/icons.generated/Edit.js.map +1 -0
  181. package/dist/icons.generated/ExpandLeft.js +33 -0
  182. package/dist/icons.generated/ExpandLeft.js.map +1 -0
  183. package/dist/icons.generated/ExpandRight.js +33 -0
  184. package/dist/icons.generated/ExpandRight.js.map +1 -0
  185. package/dist/icons.generated/ExternalLink.js +33 -0
  186. package/dist/icons.generated/ExternalLink.js.map +1 -0
  187. package/dist/icons.generated/Filter.js +33 -0
  188. package/dist/icons.generated/Filter.js.map +1 -0
  189. package/dist/icons.generated/Folder.js +33 -0
  190. package/dist/icons.generated/Folder.js.map +1 -0
  191. package/dist/icons.generated/Globe.js +33 -0
  192. package/dist/icons.generated/Globe.js.map +1 -0
  193. package/dist/icons.generated/Grid.js +74 -0
  194. package/dist/icons.generated/Grid.js.map +1 -0
  195. package/dist/icons.generated/Group.js +33 -0
  196. package/dist/icons.generated/Group.js.map +1 -0
  197. package/dist/icons.generated/Hide.js +33 -0
  198. package/dist/icons.generated/Hide.js.map +1 -0
  199. package/dist/icons.generated/Home.js +33 -0
  200. package/dist/icons.generated/Home.js.map +1 -0
  201. package/dist/icons.generated/InformationCircle.js +33 -0
  202. package/dist/icons.generated/InformationCircle.js.map +1 -0
  203. package/dist/icons.generated/InformationCircleFilled.js +33 -0
  204. package/dist/icons.generated/InformationCircleFilled.js.map +1 -0
  205. package/dist/icons.generated/Link.js +33 -0
  206. package/dist/icons.generated/Link.js.map +1 -0
  207. package/dist/icons.generated/List.js +33 -0
  208. package/dist/icons.generated/List.js.map +1 -0
  209. package/dist/icons.generated/Lock.js +33 -0
  210. package/dist/icons.generated/Lock.js.map +1 -0
  211. package/dist/icons.generated/More.js +33 -0
  212. package/dist/icons.generated/More.js.map +1 -0
  213. package/dist/icons.generated/Notification.js +33 -0
  214. package/dist/icons.generated/Notification.js.map +1 -0
  215. package/dist/icons.generated/Pause.js +33 -0
  216. package/dist/icons.generated/Pause.js.map +1 -0
  217. package/dist/icons.generated/QuestionCircle.js +33 -0
  218. package/dist/icons.generated/QuestionCircle.js.map +1 -0
  219. package/dist/icons.generated/QuestionCircleFilled.js +33 -0
  220. package/dist/icons.generated/QuestionCircleFilled.js.map +1 -0
  221. package/dist/icons.generated/Refresh.js +33 -0
  222. package/dist/icons.generated/Refresh.js.map +1 -0
  223. package/dist/icons.generated/Reset.js +33 -0
  224. package/dist/icons.generated/Reset.js.map +1 -0
  225. package/dist/icons.generated/Resume.js +33 -0
  226. package/dist/icons.generated/Resume.js.map +1 -0
  227. package/dist/icons.generated/Search.js +33 -0
  228. package/dist/icons.generated/Search.js.map +1 -0
  229. package/dist/icons.generated/Server.js +33 -0
  230. package/dist/icons.generated/Server.js.map +1 -0
  231. package/dist/icons.generated/Settings.js +33 -0
  232. package/dist/icons.generated/Settings.js.map +1 -0
  233. package/dist/icons.generated/Show.js +33 -0
  234. package/dist/icons.generated/Show.js.map +1 -0
  235. package/dist/icons.generated/Subtract.js +33 -0
  236. package/dist/icons.generated/Subtract.js.map +1 -0
  237. package/dist/icons.generated/Sync.js +33 -0
  238. package/dist/icons.generated/Sync.js.map +1 -0
  239. package/dist/icons.generated/Unlock.js +33 -0
  240. package/dist/icons.generated/Unlock.js.map +1 -0
  241. package/dist/icons.generated/Upload.js +33 -0
  242. package/dist/icons.generated/Upload.js.map +1 -0
  243. package/dist/icons.generated/User.js +33 -0
  244. package/dist/icons.generated/User.js.map +1 -0
  245. package/dist/icons.generated/Video.js +33 -0
  246. package/dist/icons.generated/Video.js.map +1 -0
  247. package/dist/icons.generated/Warning.js +33 -0
  248. package/dist/icons.generated/Warning.js.map +1 -0
  249. package/dist/icons.generated/WarningFilled.js +33 -0
  250. package/dist/icons.generated/WarningFilled.js.map +1 -0
  251. package/dist/icons.generated/index.js +85 -0
  252. package/dist/icons.generated/index.js.map +1 -0
  253. package/dist/index.js +15 -8
  254. package/dist/index.js.map +1 -1
  255. package/dist/labs/DatePicker.js +42 -0
  256. package/dist/labs/DatePicker.js.map +1 -0
  257. package/dist/labs/DatePicker.types.js +12 -0
  258. package/dist/labs/DatePicker.types.js.map +1 -0
  259. package/dist/labs/PaginatedTable.js +170 -0
  260. package/dist/labs/PaginatedTable.js.map +1 -0
  261. package/dist/labs/StaticTable.js +82 -0
  262. package/dist/labs/StaticTable.js.map +1 -0
  263. package/dist/labs/datePickerTheme.js +456 -0
  264. package/dist/labs/datePickerTheme.js.map +1 -0
  265. package/dist/labs/index.js +20 -0
  266. package/dist/labs/index.js.map +1 -0
  267. package/dist/labs/materialReactTableTypes.js +2 -0
  268. package/dist/labs/materialReactTableTypes.js.map +1 -0
  269. package/dist/properties/ts/odyssey-react-mui.js +16 -0
  270. package/dist/properties/ts/odyssey-react-mui.js.map +1 -0
  271. package/dist/properties/ts/odyssey-react-mui_cs.js +16 -0
  272. package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -0
  273. package/dist/properties/ts/odyssey-react-mui_da.js +16 -0
  274. package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -0
  275. package/dist/properties/ts/odyssey-react-mui_de.js +16 -0
  276. package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -0
  277. package/dist/properties/ts/odyssey-react-mui_el.js +16 -0
  278. package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -0
  279. package/dist/properties/ts/odyssey-react-mui_es.js +16 -0
  280. package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -0
  281. package/dist/properties/ts/odyssey-react-mui_fi.js +16 -0
  282. package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -0
  283. package/dist/properties/ts/odyssey-react-mui_fr.js +16 -0
  284. package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -0
  285. package/dist/properties/ts/odyssey-react-mui_hu.js +16 -0
  286. package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -0
  287. package/dist/properties/ts/odyssey-react-mui_id.js +16 -0
  288. package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -0
  289. package/dist/properties/ts/odyssey-react-mui_it.js +16 -0
  290. package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -0
  291. package/dist/properties/ts/odyssey-react-mui_ja.js +16 -0
  292. package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -0
  293. package/dist/properties/ts/odyssey-react-mui_ko.js +16 -0
  294. package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -0
  295. package/dist/properties/ts/odyssey-react-mui_ms.js +16 -0
  296. package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -0
  297. package/dist/properties/ts/odyssey-react-mui_nb.js +16 -0
  298. package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -0
  299. package/dist/properties/ts/odyssey-react-mui_nl_NL.js +16 -0
  300. package/dist/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -0
  301. package/dist/properties/ts/odyssey-react-mui_ok_PL.js +11 -0
  302. package/dist/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -0
  303. package/dist/properties/ts/odyssey-react-mui_ok_SK.js +11 -0
  304. package/dist/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -0
  305. package/dist/properties/ts/odyssey-react-mui_pl.js +16 -0
  306. package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -0
  307. package/dist/properties/ts/odyssey-react-mui_pt_BR.js +16 -0
  308. package/dist/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -0
  309. package/dist/properties/ts/odyssey-react-mui_ro.js +16 -0
  310. package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -0
  311. package/dist/properties/ts/odyssey-react-mui_ru.js +16 -0
  312. package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -0
  313. package/dist/properties/ts/odyssey-react-mui_sv.js +16 -0
  314. package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -0
  315. package/dist/properties/ts/odyssey-react-mui_th.js +16 -0
  316. package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -0
  317. package/dist/properties/ts/odyssey-react-mui_tr.js +16 -0
  318. package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -0
  319. package/dist/properties/ts/odyssey-react-mui_uk.js +16 -0
  320. package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -0
  321. package/dist/properties/ts/odyssey-react-mui_vi.js +16 -0
  322. package/dist/properties/ts/odyssey-react-mui_vi.js.map +1 -0
  323. package/dist/properties/ts/odyssey-react-mui_zh_CN.js +16 -0
  324. package/dist/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -0
  325. package/dist/properties/ts/odyssey-react-mui_zh_TW.js +16 -0
  326. package/dist/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -0
  327. package/dist/scripts/generateIconsIndex.d.ts +13 -0
  328. package/dist/scripts/generateIconsIndex.d.ts.map +1 -0
  329. package/dist/src/Autocomplete.d.ts +34 -1
  330. package/dist/src/Autocomplete.d.ts.map +1 -1
  331. package/dist/src/Banner.d.ts +4 -2
  332. package/dist/src/Banner.d.ts.map +1 -1
  333. package/dist/src/Box.d.ts +20 -0
  334. package/dist/src/Box.d.ts.map +1 -0
  335. package/dist/src/Button.d.ts +66 -9
  336. package/dist/src/Button.d.ts.map +1 -1
  337. package/dist/src/Callout.d.ts +37 -0
  338. package/dist/src/Callout.d.ts.map +1 -0
  339. package/dist/src/Checkbox.d.ts +40 -5
  340. package/dist/src/Checkbox.d.ts.map +1 -1
  341. package/dist/src/CheckboxGroup.d.ts +20 -1
  342. package/dist/src/CheckboxGroup.d.ts.map +1 -1
  343. package/dist/src/CircularProgress.d.ts +9 -1
  344. package/dist/src/CircularProgress.d.ts.map +1 -1
  345. package/dist/src/Dialog.d.ts +29 -7
  346. package/dist/src/Dialog.d.ts.map +1 -1
  347. package/dist/src/Field.d.ts +10 -6
  348. package/dist/src/Field.d.ts.map +1 -1
  349. package/dist/src/FieldError.d.ts.map +1 -1
  350. package/dist/src/FieldHint.d.ts.map +1 -1
  351. package/dist/src/FieldLabel.d.ts +1 -2
  352. package/dist/src/FieldLabel.d.ts.map +1 -1
  353. package/dist/src/Fieldset.d.ts +46 -0
  354. package/dist/src/Fieldset.d.ts.map +1 -0
  355. package/dist/src/FieldsetContext.d.ts +18 -0
  356. package/dist/src/FieldsetContext.d.ts.map +1 -0
  357. package/dist/src/Form.d.ts +76 -0
  358. package/dist/src/Form.d.ts.map +1 -0
  359. package/dist/src/Link.d.ts +23 -4
  360. package/dist/src/Link.d.ts.map +1 -1
  361. package/dist/src/MenuButton.d.ts +40 -10
  362. package/dist/src/MenuButton.d.ts.map +1 -1
  363. package/dist/src/MenuContext.d.ts +18 -0
  364. package/dist/src/MenuContext.d.ts.map +1 -0
  365. package/dist/src/MenuItem.d.ts +32 -6
  366. package/dist/src/MenuItem.d.ts.map +1 -1
  367. package/dist/src/MuiPropsChild.d.ts.map +1 -1
  368. package/dist/src/MuiPropsContext.d.ts +1 -0
  369. package/dist/src/MuiPropsContext.d.ts.map +1 -1
  370. package/dist/src/NativeSelect.d.ts +75 -0
  371. package/dist/src/NativeSelect.d.ts.map +1 -0
  372. package/dist/src/NullElement.d.ts +13 -0
  373. package/dist/src/NullElement.d.ts.map +1 -0
  374. package/dist/src/OdysseyCacheProvider.d.ts +8 -5
  375. package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
  376. package/dist/src/OdysseyDesignTokensContext.d.ts +16 -0
  377. package/dist/src/OdysseyDesignTokensContext.d.ts.map +1 -0
  378. package/dist/src/OdysseyI18n.d.ts +429 -0
  379. package/dist/src/OdysseyI18n.d.ts.map +1 -0
  380. package/dist/src/OdysseyProvider.d.ts +21 -0
  381. package/dist/src/OdysseyProvider.d.ts.map +1 -0
  382. package/dist/src/OdysseyThemeProvider.d.ts +9 -6
  383. package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
  384. package/dist/src/OdysseyTranslationProvider.d.ts +24 -0
  385. package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -0
  386. package/dist/src/OdysseyTranslationProvider.types.d.ts +14 -0
  387. package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -0
  388. package/dist/src/PasswordField.d.ts.map +1 -1
  389. package/dist/src/Radio.d.ts +20 -3
  390. package/dist/src/Radio.d.ts.map +1 -1
  391. package/dist/src/RadioGroup.d.ts +7 -7
  392. package/dist/src/RadioGroup.d.ts.map +1 -1
  393. package/dist/src/ScreenReaderText.d.ts.map +1 -1
  394. package/dist/src/SearchField.d.ts +4 -0
  395. package/dist/src/SearchField.d.ts.map +1 -1
  396. package/dist/src/Select.d.ts +71 -0
  397. package/dist/src/Select.d.ts.map +1 -0
  398. package/dist/src/Status.d.ts +11 -5
  399. package/dist/src/Status.d.ts.map +1 -1
  400. package/dist/src/SvgIcon.d.ts +21 -0
  401. package/dist/src/SvgIcon.d.ts.map +1 -0
  402. package/dist/src/Tabs.d.ts +51 -0
  403. package/dist/src/Tabs.d.ts.map +1 -0
  404. package/dist/src/Tag.d.ts +15 -5
  405. package/dist/src/Tag.d.ts.map +1 -1
  406. package/dist/src/TagList.d.ts +4 -1
  407. package/dist/src/TagList.d.ts.map +1 -1
  408. package/dist/src/TextField.d.ts +4 -8
  409. package/dist/src/TextField.d.ts.map +1 -1
  410. package/dist/src/Toast.d.ts +12 -11
  411. package/dist/src/Toast.d.ts.map +1 -1
  412. package/dist/src/ToastStack.d.ts +3 -0
  413. package/dist/src/ToastStack.d.ts.map +1 -1
  414. package/dist/src/Tooltip.d.ts +15 -3
  415. package/dist/src/Tooltip.d.ts.map +1 -1
  416. package/dist/src/Typography.d.ts +95 -0
  417. package/dist/src/Typography.d.ts.map +1 -0
  418. package/dist/src/icons.generated/Add.d.ts +16 -0
  419. package/dist/src/icons.generated/Add.d.ts.map +1 -0
  420. package/dist/src/icons.generated/AddCircle.d.ts +16 -0
  421. package/dist/src/icons.generated/AddCircle.d.ts.map +1 -0
  422. package/dist/src/icons.generated/Apps.d.ts +16 -0
  423. package/dist/src/icons.generated/Apps.d.ts.map +1 -0
  424. package/dist/src/icons.generated/ArrowDown.d.ts +16 -0
  425. package/dist/src/icons.generated/ArrowDown.d.ts.map +1 -0
  426. package/dist/src/icons.generated/ArrowLeft.d.ts +16 -0
  427. package/dist/src/icons.generated/ArrowLeft.d.ts.map +1 -0
  428. package/dist/src/icons.generated/ArrowLowerLeft.d.ts +16 -0
  429. package/dist/src/icons.generated/ArrowLowerLeft.d.ts.map +1 -0
  430. package/dist/src/icons.generated/ArrowLowerRight.d.ts +16 -0
  431. package/dist/src/icons.generated/ArrowLowerRight.d.ts.map +1 -0
  432. package/dist/src/icons.generated/ArrowRight.d.ts +16 -0
  433. package/dist/src/icons.generated/ArrowRight.d.ts.map +1 -0
  434. package/dist/src/icons.generated/ArrowUnsorted.d.ts +16 -0
  435. package/dist/src/icons.generated/ArrowUnsorted.d.ts.map +1 -0
  436. package/dist/src/icons.generated/ArrowUp.d.ts +16 -0
  437. package/dist/src/icons.generated/ArrowUp.d.ts.map +1 -0
  438. package/dist/src/icons.generated/ArrowUpperLeft.d.ts +16 -0
  439. package/dist/src/icons.generated/ArrowUpperLeft.d.ts.map +1 -0
  440. package/dist/src/icons.generated/ArrowUpperRight.d.ts +16 -0
  441. package/dist/src/icons.generated/ArrowUpperRight.d.ts.map +1 -0
  442. package/dist/src/icons.generated/Bug.d.ts +16 -0
  443. package/dist/src/icons.generated/Bug.d.ts.map +1 -0
  444. package/dist/src/icons.generated/Calendar.d.ts +16 -0
  445. package/dist/src/icons.generated/Calendar.d.ts.map +1 -0
  446. package/dist/src/icons.generated/Call.d.ts +16 -0
  447. package/dist/src/icons.generated/Call.d.ts.map +1 -0
  448. package/dist/src/icons.generated/Chat.d.ts +16 -0
  449. package/dist/src/icons.generated/Chat.d.ts.map +1 -0
  450. package/dist/src/icons.generated/Check.d.ts +16 -0
  451. package/dist/src/icons.generated/Check.d.ts.map +1 -0
  452. package/dist/src/icons.generated/CheckCircleFilled.d.ts +16 -0
  453. package/dist/src/icons.generated/CheckCircleFilled.d.ts.map +1 -0
  454. package/dist/src/icons.generated/ChevronDown.d.ts +16 -0
  455. package/dist/src/icons.generated/ChevronDown.d.ts.map +1 -0
  456. package/dist/src/icons.generated/ChevronLeft.d.ts +16 -0
  457. package/dist/src/icons.generated/ChevronLeft.d.ts.map +1 -0
  458. package/dist/src/icons.generated/ChevronRight.d.ts +16 -0
  459. package/dist/src/icons.generated/ChevronRight.d.ts.map +1 -0
  460. package/dist/src/icons.generated/ChevronUp.d.ts +16 -0
  461. package/dist/src/icons.generated/ChevronUp.d.ts.map +1 -0
  462. package/dist/src/icons.generated/Clock.d.ts +16 -0
  463. package/dist/src/icons.generated/Clock.d.ts.map +1 -0
  464. package/dist/src/icons.generated/Close.d.ts +16 -0
  465. package/dist/src/icons.generated/Close.d.ts.map +1 -0
  466. package/dist/src/icons.generated/CloseCircleFilled.d.ts +16 -0
  467. package/dist/src/icons.generated/CloseCircleFilled.d.ts.map +1 -0
  468. package/dist/src/icons.generated/CollapseLeft.d.ts +16 -0
  469. package/dist/src/icons.generated/CollapseLeft.d.ts.map +1 -0
  470. package/dist/src/icons.generated/CollapseRight.d.ts +16 -0
  471. package/dist/src/icons.generated/CollapseRight.d.ts.map +1 -0
  472. package/dist/src/icons.generated/Copy.d.ts +16 -0
  473. package/dist/src/icons.generated/Copy.d.ts.map +1 -0
  474. package/dist/src/icons.generated/DangerDiamond.d.ts +16 -0
  475. package/dist/src/icons.generated/DangerDiamond.d.ts.map +1 -0
  476. package/dist/src/icons.generated/DangerDiamondFilled.d.ts +16 -0
  477. package/dist/src/icons.generated/DangerDiamondFilled.d.ts.map +1 -0
  478. package/dist/src/icons.generated/Delete.d.ts +16 -0
  479. package/dist/src/icons.generated/Delete.d.ts.map +1 -0
  480. package/dist/src/icons.generated/Deny.d.ts +16 -0
  481. package/dist/src/icons.generated/Deny.d.ts.map +1 -0
  482. package/dist/src/icons.generated/Devices.d.ts +16 -0
  483. package/dist/src/icons.generated/Devices.d.ts.map +1 -0
  484. package/dist/src/icons.generated/Directory.d.ts +16 -0
  485. package/dist/src/icons.generated/Directory.d.ts.map +1 -0
  486. package/dist/src/icons.generated/Documentation.d.ts +16 -0
  487. package/dist/src/icons.generated/Documentation.d.ts.map +1 -0
  488. package/dist/src/icons.generated/Download.d.ts +16 -0
  489. package/dist/src/icons.generated/Download.d.ts.map +1 -0
  490. package/dist/src/icons.generated/DragIndicator.d.ts +16 -0
  491. package/dist/src/icons.generated/DragIndicator.d.ts.map +1 -0
  492. package/dist/src/icons.generated/Edit.d.ts +16 -0
  493. package/dist/src/icons.generated/Edit.d.ts.map +1 -0
  494. package/dist/src/icons.generated/ExpandLeft.d.ts +16 -0
  495. package/dist/src/icons.generated/ExpandLeft.d.ts.map +1 -0
  496. package/dist/src/icons.generated/ExpandRight.d.ts +16 -0
  497. package/dist/src/icons.generated/ExpandRight.d.ts.map +1 -0
  498. package/dist/src/icons.generated/ExternalLink.d.ts +16 -0
  499. package/dist/src/icons.generated/ExternalLink.d.ts.map +1 -0
  500. package/dist/src/icons.generated/Filter.d.ts +16 -0
  501. package/dist/src/icons.generated/Filter.d.ts.map +1 -0
  502. package/dist/src/icons.generated/Folder.d.ts +16 -0
  503. package/dist/src/icons.generated/Folder.d.ts.map +1 -0
  504. package/dist/src/icons.generated/Globe.d.ts +16 -0
  505. package/dist/src/icons.generated/Globe.d.ts.map +1 -0
  506. package/dist/src/icons.generated/Grid.d.ts +16 -0
  507. package/dist/src/icons.generated/Grid.d.ts.map +1 -0
  508. package/dist/src/icons.generated/Group.d.ts +16 -0
  509. package/dist/src/icons.generated/Group.d.ts.map +1 -0
  510. package/dist/src/icons.generated/Hide.d.ts +16 -0
  511. package/dist/src/icons.generated/Hide.d.ts.map +1 -0
  512. package/dist/src/icons.generated/Home.d.ts +16 -0
  513. package/dist/src/icons.generated/Home.d.ts.map +1 -0
  514. package/dist/src/icons.generated/InformationCircle.d.ts +16 -0
  515. package/dist/src/icons.generated/InformationCircle.d.ts.map +1 -0
  516. package/dist/src/icons.generated/InformationCircleFilled.d.ts +16 -0
  517. package/dist/src/icons.generated/InformationCircleFilled.d.ts.map +1 -0
  518. package/dist/src/icons.generated/Link.d.ts +16 -0
  519. package/dist/src/icons.generated/Link.d.ts.map +1 -0
  520. package/dist/src/icons.generated/List.d.ts +16 -0
  521. package/dist/src/icons.generated/List.d.ts.map +1 -0
  522. package/dist/src/icons.generated/Lock.d.ts +16 -0
  523. package/dist/src/icons.generated/Lock.d.ts.map +1 -0
  524. package/dist/src/icons.generated/More.d.ts +16 -0
  525. package/dist/src/icons.generated/More.d.ts.map +1 -0
  526. package/dist/src/icons.generated/Notification.d.ts +16 -0
  527. package/dist/src/icons.generated/Notification.d.ts.map +1 -0
  528. package/dist/src/icons.generated/Pause.d.ts +16 -0
  529. package/dist/src/icons.generated/Pause.d.ts.map +1 -0
  530. package/dist/src/icons.generated/QuestionCircle.d.ts +16 -0
  531. package/dist/src/icons.generated/QuestionCircle.d.ts.map +1 -0
  532. package/dist/src/icons.generated/QuestionCircleFilled.d.ts +16 -0
  533. package/dist/src/icons.generated/QuestionCircleFilled.d.ts.map +1 -0
  534. package/dist/src/icons.generated/Refresh.d.ts +16 -0
  535. package/dist/src/icons.generated/Refresh.d.ts.map +1 -0
  536. package/dist/src/icons.generated/Reset.d.ts +16 -0
  537. package/dist/src/icons.generated/Reset.d.ts.map +1 -0
  538. package/dist/src/icons.generated/Resume.d.ts +16 -0
  539. package/dist/src/icons.generated/Resume.d.ts.map +1 -0
  540. package/dist/src/icons.generated/Search.d.ts +16 -0
  541. package/dist/src/icons.generated/Search.d.ts.map +1 -0
  542. package/dist/src/icons.generated/Server.d.ts +16 -0
  543. package/dist/src/icons.generated/Server.d.ts.map +1 -0
  544. package/dist/src/icons.generated/Settings.d.ts +16 -0
  545. package/dist/src/icons.generated/Settings.d.ts.map +1 -0
  546. package/dist/src/icons.generated/Show.d.ts +16 -0
  547. package/dist/src/icons.generated/Show.d.ts.map +1 -0
  548. package/dist/src/icons.generated/Subtract.d.ts +16 -0
  549. package/dist/src/icons.generated/Subtract.d.ts.map +1 -0
  550. package/dist/src/icons.generated/Sync.d.ts +16 -0
  551. package/dist/src/icons.generated/Sync.d.ts.map +1 -0
  552. package/dist/src/icons.generated/Unlock.d.ts +16 -0
  553. package/dist/src/icons.generated/Unlock.d.ts.map +1 -0
  554. package/dist/src/icons.generated/Upload.d.ts +16 -0
  555. package/dist/src/icons.generated/Upload.d.ts.map +1 -0
  556. package/dist/src/icons.generated/User.d.ts +16 -0
  557. package/dist/src/icons.generated/User.d.ts.map +1 -0
  558. package/dist/src/icons.generated/Video.d.ts +16 -0
  559. package/dist/src/icons.generated/Video.d.ts.map +1 -0
  560. package/dist/src/icons.generated/Warning.d.ts +16 -0
  561. package/dist/src/icons.generated/Warning.d.ts.map +1 -0
  562. package/dist/src/icons.generated/WarningFilled.d.ts +16 -0
  563. package/dist/src/icons.generated/WarningFilled.d.ts.map +1 -0
  564. package/dist/src/icons.generated/index.d.ts +85 -0
  565. package/dist/src/icons.generated/index.d.ts.map +1 -0
  566. package/dist/src/index.d.ts +36 -21
  567. package/dist/src/index.d.ts.map +1 -1
  568. package/dist/src/labs/DatePicker.d.ts +19 -0
  569. package/dist/src/labs/DatePicker.d.ts.map +1 -0
  570. package/dist/src/labs/DatePicker.types.d.ts +19 -0
  571. package/dist/src/labs/DatePicker.types.d.ts.map +1 -0
  572. package/dist/src/labs/PaginatedTable.d.ts +35 -0
  573. package/dist/src/labs/PaginatedTable.d.ts.map +1 -0
  574. package/dist/src/labs/StaticTable.d.ts +29 -0
  575. package/dist/src/labs/StaticTable.d.ts.map +1 -0
  576. package/dist/src/labs/datePickerTheme.d.ts +14 -0
  577. package/dist/src/labs/datePickerTheme.d.ts.map +1 -0
  578. package/dist/src/labs/index.d.ts +21 -0
  579. package/dist/src/labs/index.d.ts.map +1 -0
  580. package/dist/src/labs/materialReactTableTypes.d.ts +15 -0
  581. package/dist/src/labs/materialReactTableTypes.d.ts.map +1 -0
  582. package/dist/src/properties/ts/odyssey-react-mui.d.ts +16 -0
  583. package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -0
  584. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts +16 -0
  585. package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -0
  586. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts +16 -0
  587. package/dist/src/properties/ts/odyssey-react-mui_da.d.ts.map +1 -0
  588. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts +16 -0
  589. package/dist/src/properties/ts/odyssey-react-mui_de.d.ts.map +1 -0
  590. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts +16 -0
  591. package/dist/src/properties/ts/odyssey-react-mui_el.d.ts.map +1 -0
  592. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts +16 -0
  593. package/dist/src/properties/ts/odyssey-react-mui_es.d.ts.map +1 -0
  594. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts +16 -0
  595. package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -0
  596. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts +16 -0
  597. package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -0
  598. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts +16 -0
  599. package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -0
  600. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts +16 -0
  601. package/dist/src/properties/ts/odyssey-react-mui_id.d.ts.map +1 -0
  602. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts +16 -0
  603. package/dist/src/properties/ts/odyssey-react-mui_it.d.ts.map +1 -0
  604. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts +16 -0
  605. package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -0
  606. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts +16 -0
  607. package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -0
  608. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts +16 -0
  609. package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -0
  610. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts +16 -0
  611. package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -0
  612. package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts +16 -0
  613. package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -0
  614. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts +11 -0
  615. package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -0
  616. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts +11 -0
  617. package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -0
  618. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts +16 -0
  619. package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -0
  620. package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts +16 -0
  621. package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -0
  622. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts +16 -0
  623. package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -0
  624. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts +16 -0
  625. package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -0
  626. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts +16 -0
  627. package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -0
  628. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts +16 -0
  629. package/dist/src/properties/ts/odyssey-react-mui_th.d.ts.map +1 -0
  630. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts +16 -0
  631. package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -0
  632. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts +16 -0
  633. package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -0
  634. package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts +16 -0
  635. package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -0
  636. package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts +16 -0
  637. package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -0
  638. package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts +16 -0
  639. package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -0
  640. package/dist/src/theme/components.d.ts +2 -1
  641. package/dist/src/theme/components.d.ts.map +1 -1
  642. package/dist/src/theme/components.types.d.ts +4 -2
  643. package/dist/src/theme/components.types.d.ts.map +1 -1
  644. package/dist/src/theme/index.d.ts +1 -2
  645. package/dist/src/theme/index.d.ts.map +1 -1
  646. package/dist/src/theme/mixins.d.ts +2 -1
  647. package/dist/src/theme/mixins.d.ts.map +1 -1
  648. package/dist/src/theme/palette.d.ts +2 -1
  649. package/dist/src/theme/palette.d.ts.map +1 -1
  650. package/dist/src/theme/shape.d.ts +2 -1
  651. package/dist/src/theme/shape.d.ts.map +1 -1
  652. package/dist/src/theme/spacing.d.ts +2 -1
  653. package/dist/src/theme/spacing.d.ts.map +1 -1
  654. package/dist/src/theme/theme.d.ts +4 -2
  655. package/dist/src/theme/theme.d.ts.map +1 -1
  656. package/dist/src/theme/typography.d.ts +2 -1
  657. package/dist/src/theme/typography.d.ts.map +1 -1
  658. package/dist/src/theme/typography.types.d.ts +2 -2
  659. package/dist/src/theme/typography.types.d.ts.map +1 -1
  660. package/dist/theme/components.js +1673 -1738
  661. package/dist/theme/components.js.map +1 -1
  662. package/dist/theme/components.types.js +1 -0
  663. package/dist/theme/components.types.js.map +1 -1
  664. package/dist/theme/index.js +1 -2
  665. package/dist/theme/index.js.map +1 -1
  666. package/dist/theme/mixins.js +8 -6
  667. package/dist/theme/mixins.js.map +1 -1
  668. package/dist/theme/mixins.types.js +1 -0
  669. package/dist/theme/mixins.types.js.map +1 -1
  670. package/dist/theme/palette.js +89 -87
  671. package/dist/theme/palette.js.map +1 -1
  672. package/dist/theme/palette.types.js +1 -0
  673. package/dist/theme/palette.types.js.map +1 -1
  674. package/dist/theme/shape.js +6 -4
  675. package/dist/theme/shape.js.map +1 -1
  676. package/dist/theme/spacing.js +4 -2
  677. package/dist/theme/spacing.js.map +1 -1
  678. package/dist/theme/theme.js +8 -9
  679. package/dist/theme/theme.js.map +1 -1
  680. package/dist/theme/typography.js +115 -83
  681. package/dist/theme/typography.js.map +1 -1
  682. package/dist/theme/typography.types.js +1 -0
  683. package/dist/theme/typography.types.js.map +1 -1
  684. package/dist/tsconfig.production.tsbuildinfo +1 -1
  685. package/dist/useUniqueAlphabeticalId.js +1 -0
  686. package/dist/useUniqueAlphabeticalId.js.map +1 -1
  687. package/dist/useUniqueId.js +1 -0
  688. package/dist/useUniqueId.js.map +1 -1
  689. package/i18n.config.json +7 -0
  690. package/package.json +28 -8
  691. package/scripts/generateIconsIndex.ts +49 -0
  692. package/scripts/properties-to-ts.js +96 -0
  693. package/src/@types/i18next.d.ts +22 -0
  694. package/src/Autocomplete.tsx +36 -1
  695. package/src/Banner.tsx +30 -15
  696. package/src/Box.tsx +28 -0
  697. package/src/Button.tsx +100 -19
  698. package/src/Callout.tsx +62 -0
  699. package/src/Checkbox.tsx +102 -26
  700. package/src/CheckboxGroup.tsx +24 -2
  701. package/src/CircularProgress.tsx +13 -1
  702. package/src/Dialog.tsx +44 -16
  703. package/src/Field.tsx +32 -9
  704. package/src/FieldError.tsx +8 -2
  705. package/src/FieldHint.tsx +2 -1
  706. package/src/FieldLabel.tsx +8 -6
  707. package/src/Fieldset.tsx +106 -0
  708. package/src/FieldsetContext.tsx +23 -0
  709. package/src/Form.tsx +152 -0
  710. package/src/Link.tsx +49 -29
  711. package/src/MenuButton.tsx +89 -39
  712. package/src/MenuContext.ts +25 -0
  713. package/src/MenuItem.tsx +68 -23
  714. package/src/MuiPropsChild.tsx +1 -0
  715. package/src/MuiPropsContext.ts +3 -1
  716. package/src/NativeSelect.tsx +146 -0
  717. package/src/NullElement.tsx +13 -0
  718. package/src/OdysseyCacheProvider.test.tsx +1 -1
  719. package/src/OdysseyCacheProvider.tsx +13 -7
  720. package/src/OdysseyDesignTokensContext.tsx +19 -0
  721. package/src/OdysseyI18n.ts +105 -0
  722. package/src/OdysseyProvider.tsx +60 -0
  723. package/src/OdysseyThemeProvider.tsx +33 -10
  724. package/src/OdysseyTranslationProvider.test.tsx +63 -0
  725. package/src/OdysseyTranslationProvider.tsx +65 -0
  726. package/src/OdysseyTranslationProvider.types.ts +44 -0
  727. package/src/PasswordField.tsx +9 -7
  728. package/src/Radio.tsx +23 -7
  729. package/src/RadioGroup.tsx +8 -7
  730. package/src/ScreenReaderText.tsx +6 -2
  731. package/src/SearchField.tsx +55 -5
  732. package/src/Select.tsx +264 -0
  733. package/src/Status.tsx +26 -9
  734. package/src/SvgIcon.ts +23 -0
  735. package/src/Tabs.tsx +103 -0
  736. package/src/Tag.tsx +34 -14
  737. package/src/TagList.tsx +12 -2
  738. package/src/TextField.tsx +12 -10
  739. package/src/Toast.tsx +82 -77
  740. package/src/ToastStack.tsx +12 -2
  741. package/src/Tooltip.tsx +15 -3
  742. package/src/Typography.tsx +357 -0
  743. package/src/icons.generated/Add.tsx +41 -0
  744. package/src/icons.generated/AddCircle.tsx +43 -0
  745. package/src/icons.generated/Apps.tsx +43 -0
  746. package/src/icons.generated/ArrowDown.tsx +43 -0
  747. package/src/icons.generated/ArrowLeft.tsx +43 -0
  748. package/src/icons.generated/ArrowLowerLeft.tsx +44 -0
  749. package/src/icons.generated/ArrowLowerRight.tsx +44 -0
  750. package/src/icons.generated/ArrowRight.tsx +43 -0
  751. package/src/icons.generated/ArrowUnsorted.tsx +44 -0
  752. package/src/icons.generated/ArrowUp.tsx +43 -0
  753. package/src/icons.generated/ArrowUpperLeft.tsx +44 -0
  754. package/src/icons.generated/ArrowUpperRight.tsx +44 -0
  755. package/src/icons.generated/Bug.tsx +41 -0
  756. package/src/icons.generated/Calendar.tsx +43 -0
  757. package/src/icons.generated/Call.tsx +43 -0
  758. package/src/icons.generated/Chat.tsx +43 -0
  759. package/src/icons.generated/Check.tsx +43 -0
  760. package/src/icons.generated/CheckCircleFilled.tsx +44 -0
  761. package/src/icons.generated/ChevronDown.tsx +43 -0
  762. package/src/icons.generated/ChevronLeft.tsx +43 -0
  763. package/src/icons.generated/ChevronRight.tsx +44 -0
  764. package/src/icons.generated/ChevronUp.tsx +43 -0
  765. package/src/icons.generated/Clock.tsx +43 -0
  766. package/src/icons.generated/Close.tsx +43 -0
  767. package/src/icons.generated/CloseCircleFilled.tsx +44 -0
  768. package/src/icons.generated/CollapseLeft.tsx +44 -0
  769. package/src/icons.generated/CollapseRight.tsx +44 -0
  770. package/src/icons.generated/Copy.tsx +43 -0
  771. package/src/icons.generated/DangerDiamond.tsx +44 -0
  772. package/src/icons.generated/DangerDiamondFilled.tsx +44 -0
  773. package/src/icons.generated/Delete.tsx +43 -0
  774. package/src/icons.generated/Deny.tsx +43 -0
  775. package/src/icons.generated/Devices.tsx +43 -0
  776. package/src/icons.generated/Directory.tsx +43 -0
  777. package/src/icons.generated/Documentation.tsx +44 -0
  778. package/src/icons.generated/Download.tsx +43 -0
  779. package/src/icons.generated/DragIndicator.tsx +44 -0
  780. package/src/icons.generated/Edit.tsx +43 -0
  781. package/src/icons.generated/ExpandLeft.tsx +43 -0
  782. package/src/icons.generated/ExpandRight.tsx +43 -0
  783. package/src/icons.generated/ExternalLink.tsx +44 -0
  784. package/src/icons.generated/Filter.tsx +43 -0
  785. package/src/icons.generated/Folder.tsx +43 -0
  786. package/src/icons.generated/Globe.tsx +43 -0
  787. package/src/icons.generated/Grid.tsx +46 -0
  788. package/src/icons.generated/Group.tsx +43 -0
  789. package/src/icons.generated/Hide.tsx +43 -0
  790. package/src/icons.generated/Home.tsx +43 -0
  791. package/src/icons.generated/InformationCircle.tsx +44 -0
  792. package/src/icons.generated/InformationCircleFilled.tsx +44 -0
  793. package/src/icons.generated/Link.tsx +43 -0
  794. package/src/icons.generated/List.tsx +43 -0
  795. package/src/icons.generated/Lock.tsx +43 -0
  796. package/src/icons.generated/More.tsx +43 -0
  797. package/src/icons.generated/Notification.tsx +44 -0
  798. package/src/icons.generated/Pause.tsx +43 -0
  799. package/src/icons.generated/QuestionCircle.tsx +44 -0
  800. package/src/icons.generated/QuestionCircleFilled.tsx +44 -0
  801. package/src/icons.generated/Refresh.tsx +43 -0
  802. package/src/icons.generated/Reset.tsx +43 -0
  803. package/src/icons.generated/Resume.tsx +43 -0
  804. package/src/icons.generated/Search.tsx +43 -0
  805. package/src/icons.generated/Server.tsx +43 -0
  806. package/src/icons.generated/Settings.tsx +43 -0
  807. package/src/icons.generated/Show.tsx +43 -0
  808. package/src/icons.generated/Subtract.tsx +43 -0
  809. package/src/icons.generated/Sync.tsx +43 -0
  810. package/src/icons.generated/Unlock.tsx +43 -0
  811. package/src/icons.generated/Upload.tsx +43 -0
  812. package/src/icons.generated/User.tsx +43 -0
  813. package/src/icons.generated/Video.tsx +43 -0
  814. package/src/icons.generated/Warning.tsx +43 -0
  815. package/src/icons.generated/WarningFilled.tsx +44 -0
  816. package/src/icons.generated/index.ts +87 -0
  817. package/src/index.ts +28 -74
  818. package/src/labs/DatePicker.tsx +48 -0
  819. package/src/labs/DatePicker.types.ts +24 -0
  820. package/src/labs/PaginatedTable.tsx +272 -0
  821. package/src/labs/README.md +44 -0
  822. package/src/labs/StaticTable.tsx +122 -0
  823. package/src/labs/datePickerTheme.tsx +341 -0
  824. package/src/labs/index.ts +24 -0
  825. package/src/labs/materialReactTableTypes.ts +19 -0
  826. package/src/properties/odyssey-react-mui.properties +13 -0
  827. package/src/properties/translations/odyssey-react-mui_cs.properties +14 -0
  828. package/src/properties/translations/odyssey-react-mui_da.properties +14 -0
  829. package/src/properties/translations/odyssey-react-mui_de.properties +14 -0
  830. package/src/properties/translations/odyssey-react-mui_el.properties +14 -0
  831. package/src/properties/translations/odyssey-react-mui_es.properties +14 -0
  832. package/src/properties/translations/odyssey-react-mui_fi.properties +14 -0
  833. package/src/properties/translations/odyssey-react-mui_fr.properties +14 -0
  834. package/src/properties/translations/odyssey-react-mui_hu.properties +14 -0
  835. package/src/properties/translations/odyssey-react-mui_id.properties +14 -0
  836. package/src/properties/translations/odyssey-react-mui_it.properties +14 -0
  837. package/src/properties/translations/odyssey-react-mui_ja.properties +14 -0
  838. package/src/properties/translations/odyssey-react-mui_ko.properties +14 -0
  839. package/src/properties/translations/odyssey-react-mui_ms.properties +14 -0
  840. package/src/properties/translations/odyssey-react-mui_nb.properties +14 -0
  841. package/src/properties/translations/odyssey-react-mui_nl_NL.properties +14 -0
  842. package/src/properties/translations/odyssey-react-mui_ok_PL.properties +8 -0
  843. package/src/properties/translations/odyssey-react-mui_ok_SK.properties +8 -0
  844. package/src/properties/translations/odyssey-react-mui_pl.properties +14 -0
  845. package/src/properties/translations/odyssey-react-mui_pt_BR.properties +14 -0
  846. package/src/properties/translations/odyssey-react-mui_ro.properties +14 -0
  847. package/src/properties/translations/odyssey-react-mui_ru.properties +14 -0
  848. package/src/properties/translations/odyssey-react-mui_sv.properties +14 -0
  849. package/src/properties/translations/odyssey-react-mui_th.properties +14 -0
  850. package/src/properties/translations/odyssey-react-mui_tr.properties +14 -0
  851. package/src/properties/translations/odyssey-react-mui_uk.properties +14 -0
  852. package/src/properties/translations/odyssey-react-mui_vi.properties +14 -0
  853. package/src/properties/translations/odyssey-react-mui_zh_CN.properties +14 -0
  854. package/src/properties/translations/odyssey-react-mui_zh_TW.properties +14 -0
  855. package/src/properties/ts/odyssey-react-mui.ts +1 -0
  856. package/src/properties/ts/odyssey-react-mui_cs.ts +1 -0
  857. package/src/properties/ts/odyssey-react-mui_da.ts +1 -0
  858. package/src/properties/ts/odyssey-react-mui_de.ts +1 -0
  859. package/src/properties/ts/odyssey-react-mui_el.ts +1 -0
  860. package/src/properties/ts/odyssey-react-mui_es.ts +1 -0
  861. package/src/properties/ts/odyssey-react-mui_fi.ts +1 -0
  862. package/src/properties/ts/odyssey-react-mui_fr.ts +1 -0
  863. package/src/properties/ts/odyssey-react-mui_hu.ts +1 -0
  864. package/src/properties/ts/odyssey-react-mui_id.ts +1 -0
  865. package/src/properties/ts/odyssey-react-mui_it.ts +1 -0
  866. package/src/properties/ts/odyssey-react-mui_ja.ts +1 -0
  867. package/src/properties/ts/odyssey-react-mui_ko.ts +1 -0
  868. package/src/properties/ts/odyssey-react-mui_ms.ts +1 -0
  869. package/src/properties/ts/odyssey-react-mui_nb.ts +1 -0
  870. package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -0
  871. package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -0
  872. package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -0
  873. package/src/properties/ts/odyssey-react-mui_pl.ts +1 -0
  874. package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -0
  875. package/src/properties/ts/odyssey-react-mui_ro.ts +1 -0
  876. package/src/properties/ts/odyssey-react-mui_ru.ts +1 -0
  877. package/src/properties/ts/odyssey-react-mui_sv.ts +1 -0
  878. package/src/properties/ts/odyssey-react-mui_th.ts +1 -0
  879. package/src/properties/ts/odyssey-react-mui_tr.ts +1 -0
  880. package/src/properties/ts/odyssey-react-mui_uk.ts +1 -0
  881. package/src/properties/ts/odyssey-react-mui_vi.ts +1 -0
  882. package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -0
  883. package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -0
  884. package/src/theme/components.tsx +1919 -1727
  885. package/src/theme/components.types.ts +4 -2
  886. package/src/theme/index.ts +1 -2
  887. package/src/theme/mixins.ts +9 -6
  888. package/src/theme/palette.ts +94 -89
  889. package/src/theme/shape.ts +11 -8
  890. package/src/theme/spacing.ts +18 -13
  891. package/src/theme/theme.ts +13 -11
  892. package/src/theme/typography.ts +120 -83
  893. package/src/theme/typography.types.ts +2 -2
  894. package/tsconfig.json +3 -0
  895. package/dist/Icon.js +0 -31
  896. package/dist/Icon.js.map +0 -1
  897. package/dist/Infobox.js +0 -38
  898. package/dist/Infobox.js.map +0 -1
  899. package/dist/ThemeProvider.js +0 -30
  900. package/dist/ThemeProvider.js.map +0 -1
  901. package/dist/a11yCheck.js +0 -26
  902. package/dist/a11yCheck.js.map +0 -1
  903. package/dist/iconDictionary/Add.js +0 -34
  904. package/dist/iconDictionary/Add.js.map +0 -1
  905. package/dist/iconDictionary/AddCircle.js +0 -34
  906. package/dist/iconDictionary/AddCircle.js.map +0 -1
  907. package/dist/iconDictionary/AlertCircle.js +0 -34
  908. package/dist/iconDictionary/AlertCircle.js.map +0 -1
  909. package/dist/iconDictionary/AlertCircleFilled.js +0 -34
  910. package/dist/iconDictionary/AlertCircleFilled.js.map +0 -1
  911. package/dist/iconDictionary/AlertTriangleFilled.js +0 -34
  912. package/dist/iconDictionary/AlertTriangleFilled.js.map +0 -1
  913. package/dist/iconDictionary/Anchor.js +0 -36
  914. package/dist/iconDictionary/Anchor.js.map +0 -1
  915. package/dist/iconDictionary/ArrowDown.js +0 -34
  916. package/dist/iconDictionary/ArrowDown.js.map +0 -1
  917. package/dist/iconDictionary/ArrowLeft.js +0 -34
  918. package/dist/iconDictionary/ArrowLeft.js.map +0 -1
  919. package/dist/iconDictionary/ArrowRight.js +0 -34
  920. package/dist/iconDictionary/ArrowRight.js.map +0 -1
  921. package/dist/iconDictionary/ArrowUp.js +0 -34
  922. package/dist/iconDictionary/ArrowUp.js.map +0 -1
  923. package/dist/iconDictionary/ArrowUpDown.js +0 -34
  924. package/dist/iconDictionary/ArrowUpDown.js.map +0 -1
  925. package/dist/iconDictionary/Calendar.js +0 -34
  926. package/dist/iconDictionary/Calendar.js.map +0 -1
  927. package/dist/iconDictionary/Check.js +0 -34
  928. package/dist/iconDictionary/Check.js.map +0 -1
  929. package/dist/iconDictionary/CheckCircleFilled.js +0 -34
  930. package/dist/iconDictionary/CheckCircleFilled.js.map +0 -1
  931. package/dist/iconDictionary/ChevronDown.js +0 -34
  932. package/dist/iconDictionary/ChevronDown.js.map +0 -1
  933. package/dist/iconDictionary/ChevronUp.js +0 -34
  934. package/dist/iconDictionary/ChevronUp.js.map +0 -1
  935. package/dist/iconDictionary/Close.js +0 -34
  936. package/dist/iconDictionary/Close.js.map +0 -1
  937. package/dist/iconDictionary/CloseCircleFilled.js +0 -34
  938. package/dist/iconDictionary/CloseCircleFilled.js.map +0 -1
  939. package/dist/iconDictionary/Copy.js +0 -34
  940. package/dist/iconDictionary/Copy.js.map +0 -1
  941. package/dist/iconDictionary/Delete.js +0 -34
  942. package/dist/iconDictionary/Delete.js.map +0 -1
  943. package/dist/iconDictionary/Download.js +0 -34
  944. package/dist/iconDictionary/Download.js.map +0 -1
  945. package/dist/iconDictionary/DragHandle.js +0 -34
  946. package/dist/iconDictionary/DragHandle.js.map +0 -1
  947. package/dist/iconDictionary/Edit.js +0 -34
  948. package/dist/iconDictionary/Edit.js.map +0 -1
  949. package/dist/iconDictionary/ExternalLink.js +0 -34
  950. package/dist/iconDictionary/ExternalLink.js.map +0 -1
  951. package/dist/iconDictionary/Eye.js +0 -34
  952. package/dist/iconDictionary/Eye.js.map +0 -1
  953. package/dist/iconDictionary/EyeOff.js +0 -34
  954. package/dist/iconDictionary/EyeOff.js.map +0 -1
  955. package/dist/iconDictionary/Filter.js +0 -34
  956. package/dist/iconDictionary/Filter.js.map +0 -1
  957. package/dist/iconDictionary/Globe.js +0 -34
  958. package/dist/iconDictionary/Globe.js.map +0 -1
  959. package/dist/iconDictionary/Home.js +0 -34
  960. package/dist/iconDictionary/Home.js.map +0 -1
  961. package/dist/iconDictionary/InformationCircle.js +0 -34
  962. package/dist/iconDictionary/InformationCircle.js.map +0 -1
  963. package/dist/iconDictionary/InformationCircleFilled.js +0 -34
  964. package/dist/iconDictionary/InformationCircleFilled.js.map +0 -1
  965. package/dist/iconDictionary/Notification.js +0 -34
  966. package/dist/iconDictionary/Notification.js.map +0 -1
  967. package/dist/iconDictionary/OverflowVertical.js +0 -34
  968. package/dist/iconDictionary/OverflowVertical.js.map +0 -1
  969. package/dist/iconDictionary/QuestionCircle.js +0 -34
  970. package/dist/iconDictionary/QuestionCircle.js.map +0 -1
  971. package/dist/iconDictionary/QuestionCircleFilled.js +0 -34
  972. package/dist/iconDictionary/QuestionCircleFilled.js.map +0 -1
  973. package/dist/iconDictionary/Search.js +0 -34
  974. package/dist/iconDictionary/Search.js.map +0 -1
  975. package/dist/iconDictionary/Settings.js +0 -32
  976. package/dist/iconDictionary/Settings.js.map +0 -1
  977. package/dist/iconDictionary/Subtract.js +0 -34
  978. package/dist/iconDictionary/Subtract.js.map +0 -1
  979. package/dist/iconDictionary/SvgIcon.js +0 -14
  980. package/dist/iconDictionary/SvgIcon.js.map +0 -1
  981. package/dist/iconDictionary/User.js +0 -34
  982. package/dist/iconDictionary/User.js.map +0 -1
  983. package/dist/iconDictionary/UserGroup.js +0 -34
  984. package/dist/iconDictionary/UserGroup.js.map +0 -1
  985. package/dist/iconDictionary/index.js +0 -134
  986. package/dist/iconDictionary/index.js.map +0 -1
  987. package/dist/iconDictionary/types.js +0 -2
  988. package/dist/iconDictionary/types.js.map +0 -1
  989. package/dist/src/Icon.d.ts +0 -27
  990. package/dist/src/Icon.d.ts.map +0 -1
  991. package/dist/src/Infobox.d.ts +0 -36
  992. package/dist/src/Infobox.d.ts.map +0 -1
  993. package/dist/src/ThemeProvider.d.ts +0 -17
  994. package/dist/src/ThemeProvider.d.ts.map +0 -1
  995. package/dist/src/a11yCheck.d.ts +0 -14
  996. package/dist/src/a11yCheck.d.ts.map +0 -1
  997. package/dist/src/iconDictionary/Add.d.ts +0 -16
  998. package/dist/src/iconDictionary/Add.d.ts.map +0 -1
  999. package/dist/src/iconDictionary/AddCircle.d.ts +0 -16
  1000. package/dist/src/iconDictionary/AddCircle.d.ts.map +0 -1
  1001. package/dist/src/iconDictionary/AlertCircle.d.ts +0 -16
  1002. package/dist/src/iconDictionary/AlertCircle.d.ts.map +0 -1
  1003. package/dist/src/iconDictionary/AlertCircleFilled.d.ts +0 -16
  1004. package/dist/src/iconDictionary/AlertCircleFilled.d.ts.map +0 -1
  1005. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +0 -16
  1006. package/dist/src/iconDictionary/AlertTriangleFilled.d.ts.map +0 -1
  1007. package/dist/src/iconDictionary/Anchor.d.ts +0 -16
  1008. package/dist/src/iconDictionary/Anchor.d.ts.map +0 -1
  1009. package/dist/src/iconDictionary/ArrowDown.d.ts +0 -16
  1010. package/dist/src/iconDictionary/ArrowDown.d.ts.map +0 -1
  1011. package/dist/src/iconDictionary/ArrowLeft.d.ts +0 -16
  1012. package/dist/src/iconDictionary/ArrowLeft.d.ts.map +0 -1
  1013. package/dist/src/iconDictionary/ArrowRight.d.ts +0 -16
  1014. package/dist/src/iconDictionary/ArrowRight.d.ts.map +0 -1
  1015. package/dist/src/iconDictionary/ArrowUp.d.ts +0 -16
  1016. package/dist/src/iconDictionary/ArrowUp.d.ts.map +0 -1
  1017. package/dist/src/iconDictionary/ArrowUpDown.d.ts +0 -16
  1018. package/dist/src/iconDictionary/ArrowUpDown.d.ts.map +0 -1
  1019. package/dist/src/iconDictionary/Calendar.d.ts +0 -16
  1020. package/dist/src/iconDictionary/Calendar.d.ts.map +0 -1
  1021. package/dist/src/iconDictionary/Check.d.ts +0 -16
  1022. package/dist/src/iconDictionary/Check.d.ts.map +0 -1
  1023. package/dist/src/iconDictionary/CheckCircleFilled.d.ts +0 -16
  1024. package/dist/src/iconDictionary/CheckCircleFilled.d.ts.map +0 -1
  1025. package/dist/src/iconDictionary/ChevronDown.d.ts +0 -16
  1026. package/dist/src/iconDictionary/ChevronDown.d.ts.map +0 -1
  1027. package/dist/src/iconDictionary/ChevronUp.d.ts +0 -16
  1028. package/dist/src/iconDictionary/ChevronUp.d.ts.map +0 -1
  1029. package/dist/src/iconDictionary/Close.d.ts +0 -16
  1030. package/dist/src/iconDictionary/Close.d.ts.map +0 -1
  1031. package/dist/src/iconDictionary/CloseCircleFilled.d.ts +0 -16
  1032. package/dist/src/iconDictionary/CloseCircleFilled.d.ts.map +0 -1
  1033. package/dist/src/iconDictionary/Copy.d.ts +0 -16
  1034. package/dist/src/iconDictionary/Copy.d.ts.map +0 -1
  1035. package/dist/src/iconDictionary/Delete.d.ts +0 -16
  1036. package/dist/src/iconDictionary/Delete.d.ts.map +0 -1
  1037. package/dist/src/iconDictionary/Download.d.ts +0 -16
  1038. package/dist/src/iconDictionary/Download.d.ts.map +0 -1
  1039. package/dist/src/iconDictionary/DragHandle.d.ts +0 -16
  1040. package/dist/src/iconDictionary/DragHandle.d.ts.map +0 -1
  1041. package/dist/src/iconDictionary/Edit.d.ts +0 -16
  1042. package/dist/src/iconDictionary/Edit.d.ts.map +0 -1
  1043. package/dist/src/iconDictionary/ExternalLink.d.ts +0 -16
  1044. package/dist/src/iconDictionary/ExternalLink.d.ts.map +0 -1
  1045. package/dist/src/iconDictionary/Eye.d.ts +0 -16
  1046. package/dist/src/iconDictionary/Eye.d.ts.map +0 -1
  1047. package/dist/src/iconDictionary/EyeOff.d.ts +0 -16
  1048. package/dist/src/iconDictionary/EyeOff.d.ts.map +0 -1
  1049. package/dist/src/iconDictionary/Filter.d.ts +0 -16
  1050. package/dist/src/iconDictionary/Filter.d.ts.map +0 -1
  1051. package/dist/src/iconDictionary/Globe.d.ts +0 -16
  1052. package/dist/src/iconDictionary/Globe.d.ts.map +0 -1
  1053. package/dist/src/iconDictionary/Home.d.ts +0 -16
  1054. package/dist/src/iconDictionary/Home.d.ts.map +0 -1
  1055. package/dist/src/iconDictionary/InformationCircle.d.ts +0 -16
  1056. package/dist/src/iconDictionary/InformationCircle.d.ts.map +0 -1
  1057. package/dist/src/iconDictionary/InformationCircleFilled.d.ts +0 -16
  1058. package/dist/src/iconDictionary/InformationCircleFilled.d.ts.map +0 -1
  1059. package/dist/src/iconDictionary/Notification.d.ts +0 -16
  1060. package/dist/src/iconDictionary/Notification.d.ts.map +0 -1
  1061. package/dist/src/iconDictionary/OverflowVertical.d.ts +0 -16
  1062. package/dist/src/iconDictionary/OverflowVertical.d.ts.map +0 -1
  1063. package/dist/src/iconDictionary/QuestionCircle.d.ts +0 -16
  1064. package/dist/src/iconDictionary/QuestionCircle.d.ts.map +0 -1
  1065. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +0 -16
  1066. package/dist/src/iconDictionary/QuestionCircleFilled.d.ts.map +0 -1
  1067. package/dist/src/iconDictionary/Search.d.ts +0 -16
  1068. package/dist/src/iconDictionary/Search.d.ts.map +0 -1
  1069. package/dist/src/iconDictionary/Settings.d.ts +0 -16
  1070. package/dist/src/iconDictionary/Settings.d.ts.map +0 -1
  1071. package/dist/src/iconDictionary/Subtract.d.ts +0 -16
  1072. package/dist/src/iconDictionary/Subtract.d.ts.map +0 -1
  1073. package/dist/src/iconDictionary/SvgIcon.d.ts +0 -14
  1074. package/dist/src/iconDictionary/SvgIcon.d.ts.map +0 -1
  1075. package/dist/src/iconDictionary/User.d.ts +0 -16
  1076. package/dist/src/iconDictionary/User.d.ts.map +0 -1
  1077. package/dist/src/iconDictionary/UserGroup.d.ts +0 -16
  1078. package/dist/src/iconDictionary/UserGroup.d.ts.map +0 -1
  1079. package/dist/src/iconDictionary/index.d.ts +0 -94
  1080. package/dist/src/iconDictionary/index.d.ts.map +0 -1
  1081. package/dist/src/iconDictionary/types.d.ts +0 -19
  1082. package/dist/src/iconDictionary/types.d.ts.map +0 -1
  1083. package/dist/src/theme/OdysseyTheme.d.ts +0 -23
  1084. package/dist/src/theme/OdysseyTheme.d.ts.map +0 -1
  1085. package/dist/src/theme/temp.d.ts +0 -16
  1086. package/dist/src/theme/temp.d.ts.map +0 -1
  1087. package/dist/src/theme/useTheme.d.ts +0 -14
  1088. package/dist/src/theme/useTheme.d.ts.map +0 -1
  1089. package/dist/theme/OdysseyTheme.js +0 -2
  1090. package/dist/theme/OdysseyTheme.js.map +0 -1
  1091. package/dist/theme/temp.js +0 -15
  1092. package/dist/theme/temp.js.map +0 -1
  1093. package/dist/theme/useTheme.js +0 -16
  1094. package/dist/theme/useTheme.js.map +0 -1
  1095. package/scripts/resolveIconSrcPath.cjs +0 -20
  1096. package/src/Icon.test.tsx +0 -51
  1097. package/src/Icon.tsx +0 -57
  1098. package/src/Infobox.tsx +0 -48
  1099. package/src/ThemeProvider.tsx +0 -26
  1100. package/src/a11yCheck.ts +0 -28
  1101. package/src/iconDictionary/Add.tsx +0 -42
  1102. package/src/iconDictionary/AddCircle.tsx +0 -44
  1103. package/src/iconDictionary/AlertCircle.tsx +0 -44
  1104. package/src/iconDictionary/AlertCircleFilled.tsx +0 -45
  1105. package/src/iconDictionary/AlertTriangleFilled.tsx +0 -45
  1106. package/src/iconDictionary/Anchor.tsx +0 -46
  1107. package/src/iconDictionary/ArrowDown.tsx +0 -44
  1108. package/src/iconDictionary/ArrowLeft.tsx +0 -44
  1109. package/src/iconDictionary/ArrowRight.tsx +0 -44
  1110. package/src/iconDictionary/ArrowUp.tsx +0 -44
  1111. package/src/iconDictionary/ArrowUpDown.tsx +0 -44
  1112. package/src/iconDictionary/Calendar.tsx +0 -44
  1113. package/src/iconDictionary/Check.tsx +0 -44
  1114. package/src/iconDictionary/CheckCircleFilled.tsx +0 -45
  1115. package/src/iconDictionary/ChevronDown.tsx +0 -44
  1116. package/src/iconDictionary/ChevronUp.tsx +0 -44
  1117. package/src/iconDictionary/Close.tsx +0 -44
  1118. package/src/iconDictionary/CloseCircleFilled.tsx +0 -45
  1119. package/src/iconDictionary/Copy.tsx +0 -44
  1120. package/src/iconDictionary/Delete.tsx +0 -44
  1121. package/src/iconDictionary/Download.tsx +0 -44
  1122. package/src/iconDictionary/DragHandle.tsx +0 -44
  1123. package/src/iconDictionary/Edit.tsx +0 -44
  1124. package/src/iconDictionary/ExternalLink.tsx +0 -45
  1125. package/src/iconDictionary/Eye.tsx +0 -42
  1126. package/src/iconDictionary/EyeOff.tsx +0 -44
  1127. package/src/iconDictionary/Filter.tsx +0 -44
  1128. package/src/iconDictionary/Globe.tsx +0 -44
  1129. package/src/iconDictionary/Home.tsx +0 -44
  1130. package/src/iconDictionary/InformationCircle.tsx +0 -45
  1131. package/src/iconDictionary/InformationCircleFilled.tsx +0 -45
  1132. package/src/iconDictionary/Notification.tsx +0 -45
  1133. package/src/iconDictionary/OverflowVertical.tsx +0 -45
  1134. package/src/iconDictionary/QuestionCircle.tsx +0 -45
  1135. package/src/iconDictionary/QuestionCircleFilled.tsx +0 -45
  1136. package/src/iconDictionary/Search.tsx +0 -44
  1137. package/src/iconDictionary/Settings.tsx +0 -42
  1138. package/src/iconDictionary/Subtract.tsx +0 -44
  1139. package/src/iconDictionary/SvgIcon.ts +0 -14
  1140. package/src/iconDictionary/User.tsx +0 -44
  1141. package/src/iconDictionary/UserGroup.tsx +0 -44
  1142. package/src/iconDictionary/index.ts +0 -176
  1143. package/src/iconDictionary/types.ts +0 -20
  1144. package/src/theme/OdysseyTheme.ts +0 -25
  1145. package/src/theme/temp.ts +0 -19
  1146. package/src/theme/useTheme.ts +0 -18
@@ -12,16 +12,20 @@
12
12
 
13
13
  import { ThemeOptions } from "@mui/material";
14
14
  import type {} from "@mui/lab/themeAugmentation";
15
- //import radioClasses from "@mui/material";
15
+ import { alertTitleClasses } from "@mui/material/AlertTitle";
16
16
  import { buttonClasses } from "@mui/material/Button";
17
+ import { checkboxClasses } from "@mui/material/Checkbox";
17
18
  import { chipClasses } from "@mui/material/Chip";
18
- import { dialogActionsClasses } from "@mui/material/DialogActions";
19
19
  import { dividerClasses } from "@mui/material/Divider";
20
+ import { formControlLabelClasses } from "@mui/material/FormControlLabel";
21
+ import { formLabelClasses } from "@mui/material/FormLabel";
20
22
  import { inputAdornmentClasses } from "@mui/material/InputAdornment";
21
23
  import { inputBaseClasses } from "@mui/material/InputBase";
22
24
  import { listItemIconClasses } from "@mui/material/ListItemIcon";
23
25
  import { listItemTextClasses } from "@mui/material/ListItemText";
24
26
  import { menuItemClasses } from "@mui/material/MenuItem";
27
+ import { radioClasses } from "@mui/material/Radio";
28
+ import { stackClasses } from "@mui/material/Stack";
25
29
  import { svgIconClasses } from "@mui/material/SvgIcon";
26
30
  import { tableBodyClasses } from "@mui/material/TableBody";
27
31
  import { tableCellClasses } from "@mui/material/TableCell";
@@ -29,2049 +33,2237 @@ import { tableHeadClasses } from "@mui/material/TableHead";
29
33
  import { tableRowClasses } from "@mui/material/TableRow";
30
34
  import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
31
35
  import { tooltipClasses } from "@mui/material/Tooltip";
36
+ import { typographyClasses } from "@mui/material/Typography";
37
+
32
38
  import {
33
- AlertTriangleFilledIcon,
34
39
  ArrowDownIcon,
35
- CheckIcon,
36
40
  CheckCircleFilledIcon,
41
+ CheckIcon,
37
42
  ChevronDownIcon,
38
43
  CloseCircleFilledIcon,
39
44
  CloseIcon,
45
+ DangerDiamondFilledIcon,
40
46
  InformationCircleFilledIcon,
41
47
  SubtractIcon,
42
- } from "../iconDictionary";
43
-
44
- export const components: ThemeOptions["components"] = {
45
- MuiAlert: {
46
- defaultProps: {
47
- iconMapping: {
48
- error: <AlertTriangleFilledIcon />,
49
- info: <InformationCircleFilledIcon />,
50
- success: <CheckCircleFilledIcon />,
51
- warning: <AlertTriangleFilledIcon />,
48
+ WarningFilledIcon,
49
+ } from "../icons.generated";
50
+ import { DesignTokens } from "./theme";
51
+
52
+ export const components = (
53
+ odysseyTokens: DesignTokens
54
+ ): ThemeOptions["components"] => {
55
+ return {
56
+ MuiAlert: {
57
+ defaultProps: {
58
+ iconMapping: {
59
+ error: <DangerDiamondFilledIcon />,
60
+ info: <InformationCircleFilledIcon />,
61
+ success: <CheckCircleFilledIcon />,
62
+ warning: <WarningFilledIcon />,
63
+ },
52
64
  },
53
- },
54
- styleOverrides: {
55
- root: ({ ownerState, theme }) => ({
56
- padding: theme.spacing(4),
57
- gap: theme.spacing(4),
58
- color: theme.palette.text.primary,
59
- ...(ownerState.severity && {
60
- backgroundColor: theme.palette[ownerState.severity].lighter,
61
- borderColor: theme.palette[ownerState.severity].light,
62
- }),
63
- ...(ownerState.variant === "banner" && {
64
- position: "relative",
65
- justifyContent: "center",
66
- alignItems: "center",
67
- borderWidth: 0,
68
- borderRadius: 0,
69
- }),
70
- ...(ownerState.variant === "infobox" && {
71
- borderStyle: theme.mixins.borderStyle,
72
- borderWidth: theme.mixins.borderWidth,
73
- borderRadius: theme.mixins.borderRadius,
74
- "&:not(:last-child)": {
75
- marginBottom: theme.spacing(4),
76
- },
65
+ styleOverrides: {
66
+ root: ({ ownerState }) => ({
67
+ padding: odysseyTokens.Spacing4,
68
+ gap: odysseyTokens.Spacing4,
69
+ color: odysseyTokens.TypographyColorBody,
70
+ border: 0,
71
+
72
+ // Severity color variation
73
+ ...(ownerState.severity === "success" && {
74
+ backgroundColor: odysseyTokens.HueGreen100,
75
+
76
+ ...(ownerState.variant === "toast" && {
77
+ backgroundColor: odysseyTokens.HueGreen100.concat(
78
+ odysseyTokens.PaletteAlphaSemi
79
+ ),
80
+ }),
81
+ }),
82
+ ...(ownerState.severity === "info" && {
83
+ backgroundColor: odysseyTokens.HueBlue100,
84
+
85
+ ...(ownerState.variant === "toast" && {
86
+ backgroundColor: odysseyTokens.HueBlue100.concat(
87
+ odysseyTokens.PaletteAlphaSemi
88
+ ),
89
+ }),
90
+ }),
91
+ ...(ownerState.severity === "error" && {
92
+ backgroundColor: odysseyTokens.HueRed100,
93
+
94
+ ...(ownerState.variant === "toast" && {
95
+ backgroundColor: odysseyTokens.HueRed100.concat(
96
+ odysseyTokens.PaletteAlphaSemi
97
+ ),
98
+ }),
99
+ }),
100
+ ...(ownerState.severity === "warning" && {
101
+ backgroundColor: odysseyTokens.HueYellow100,
102
+
103
+ ...(ownerState.variant === "toast" && {
104
+ backgroundColor: odysseyTokens.HueYellow100.concat(
105
+ odysseyTokens.PaletteAlphaSemi
106
+ ),
107
+ }),
108
+ }),
109
+
110
+ // Alert title variation
111
+ [`& .${alertTitleClasses.root}`]: {
112
+ ...(ownerState.severity === "success" && {
113
+ color: odysseyTokens.PaletteSuccessHeading,
114
+ }),
115
+ ...(ownerState.severity === "info" && {
116
+ color: odysseyTokens.PalettePrimaryHeading,
117
+ }),
118
+ ...(ownerState.severity === "error" && {
119
+ color: odysseyTokens.PaletteDangerHeading,
120
+ }),
121
+ ...(ownerState.severity === "warning" && {
122
+ color: odysseyTokens.PaletteWarningHeading,
123
+ }),
124
+ ...(ownerState.variant === "banner" && {
125
+ marginBlockEnd: 0,
126
+ }),
127
+ },
128
+
129
+ // Alert variant styling
130
+ ...(ownerState.variant === "banner" && {
131
+ position: "relative",
132
+ justifyContent: "center",
133
+ alignItems: "center",
134
+ borderRadius: 0,
135
+
136
+ ...(ownerState.onClose !== undefined && {
137
+ paddingInline: odysseyTokens.Spacing6,
138
+ }),
139
+ }),
140
+ ...(ownerState.variant === "callout" && {
141
+ borderRadius: odysseyTokens.BorderRadiusMain,
142
+ "&:not(:last-child)": {
143
+ marginBottom: odysseyTokens.Spacing6,
144
+ },
145
+ }),
146
+ ...(ownerState.variant === "toast" && {
147
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
148
+ borderRadius: odysseyTokens.BorderRadiusOuter,
149
+ position: "relative",
150
+ alignItems: "center",
151
+ backdropFilter: "blur(10px)",
152
+ }),
77
153
  }),
78
- ...(ownerState.variant === "toast" && {
79
- maxWidth: theme.mixins.maxWidth,
80
- borderStyle: theme.mixins.borderStyle,
81
- borderWidth: theme.mixins.borderWidth,
82
- borderRadius: theme.mixins.borderRadius,
83
- position: "relative",
84
- alignItems: "center",
154
+ action: ({ ownerState }) => ({
155
+ ...(ownerState.variant === "banner" && {
156
+ padding: 0,
157
+ marginInlineEnd: 0,
158
+ insetBlockStart: "50%",
159
+ insetInlineEnd: odysseyTokens.Spacing2,
160
+ position: "absolute",
161
+ transform: "translateY(-50%)",
162
+ }),
163
+ ...(ownerState.variant === "toast" && {
164
+ padding: 0,
165
+ marginInlineStart: 0,
166
+ marginInlineEnd: 0,
167
+ }),
85
168
  }),
86
- }),
87
- action: ({ ownerState, theme }) => ({
88
- ...(ownerState.variant === "banner" && {
89
- padding: 0,
169
+ icon: ({ ownerState }) => ({
90
170
  marginInlineEnd: 0,
91
- top: "50%",
92
- right: theme.spacing(4),
93
- position: "absolute",
94
- transform: "translateY(-50%)",
95
- }),
96
- ...(ownerState.variant === "toast" && {
97
171
  padding: 0,
98
- marginInlineStart: 0,
99
- marginInlineEnd: 0,
100
- }),
101
- }),
102
- icon: ({ ownerState, theme }) => ({
103
- marginInlineEnd: 0,
104
- padding: 0,
105
- fontSize: "inherit",
106
- opacity: 1,
107
- ...(ownerState.severity && {
108
- color: theme.palette[ownerState.severity].main,
109
- }),
110
- ...(ownerState.severity === "warning" && {
111
- color: theme.palette[ownerState.severity].dark,
112
- }),
172
+ height: `calc(${odysseyTokens.TypographySizeHeading6} * ${odysseyTokens.TypographyLineHeightHeading6})`,
173
+ opacity: 1,
174
+ ...(ownerState.severity === "info" && {
175
+ color: odysseyTokens.PalettePrimaryMain,
176
+ }),
177
+ ...(ownerState.severity === "error" && {
178
+ color: odysseyTokens.PaletteDangerMain,
179
+ }),
180
+ ...(ownerState.severity === "success" && {
181
+ color: odysseyTokens.PaletteSuccessMain,
182
+ }),
183
+ ...(ownerState.severity === "warning" && {
184
+ color: odysseyTokens.PaletteWarningDark,
185
+ }),
113
186
 
114
- [`& .${svgIconClasses.root}`]: {
115
- fontSize: "1.429rem",
116
- },
117
- }),
118
- message: ({ ownerState, theme }) => ({
119
- padding: 0,
120
- lineHeight: theme.typography.body1.lineHeight,
121
- overflow: "visible",
122
- ...(ownerState.variant === "banner" && {
123
- display: "flex",
124
- justifyContent: "space-between",
125
- gap: theme.spacing(4),
187
+ [`& .${svgIconClasses.root}`]: {
188
+ alignSelf: "center",
189
+ fontSize: odysseyTokens.TypographySizeHeading6,
190
+ },
126
191
  }),
127
- ...(ownerState.variant === "toast" && {
128
- flexGrow: 1,
192
+ message: ({ ownerState }) => ({
193
+ padding: 0,
194
+ overflow: "visible",
195
+ ...(ownerState.variant === "banner" && {
196
+ display: "flex",
197
+ justifyContent: "space-between",
198
+ gap: odysseyTokens.Spacing4,
199
+ }),
200
+ ...(ownerState.variant === "toast" && {
201
+ flexGrow: 1,
202
+ }),
129
203
  }),
130
- }),
204
+ },
131
205
  },
132
- },
133
- MuiAlertTitle: {
134
- styleOverrides: {
135
- root: ({ theme }) => ({
136
- marginTop: 0,
137
- marginBottom: theme.spacing(1),
138
- lineHeight: theme.typography.h6.lineHeight,
139
- fontSize: theme.typography.h6.fontSize,
140
- fontWeight: theme.typography.fontWeightBold,
141
-
142
- "&:last-child": {
143
- marginBlockEnd: 0,
206
+ MuiAlertTitle: {
207
+ styleOverrides: {
208
+ root: {
209
+ marginBlockStart: 0,
210
+ marginBlockEnd: odysseyTokens.Spacing2,
211
+ lineHeight: odysseyTokens.TypographyLineHeightHeading6,
212
+ fontSize: odysseyTokens.TypographySizeHeading6,
213
+ fontWeight: odysseyTokens.TypographyWeightHeading,
214
+ fontFamily: odysseyTokens.TypographyFamilyHeading,
215
+
216
+ [`&:last-child`]: {
217
+ marginBlockEnd: 0,
218
+ },
144
219
  },
145
- }),
146
- },
147
- },
148
- MuiAutocomplete: {
149
- defaultProps: {
150
- autoHighlight: true,
151
- autoSelect: false,
152
- blurOnSelect: false,
153
- clearIcon: <CloseIcon />,
154
- clearOnEscape: true,
155
- disableClearable: false,
156
- disabledItemsFocusable: false,
157
- disableListWrap: false,
158
- disablePortal: false,
159
- filterSelectedOptions: false,
160
- fullWidth: false,
161
- handleHomeEndKeys: true,
162
- includeInputInList: true,
163
- limitTags: -1,
164
- openOnFocus: false,
165
- popupIcon: <ChevronDownIcon />,
166
- selectOnFocus: true,
220
+ },
167
221
  },
168
- styleOverrides: {
169
- clearIndicator: ({ theme }) => ({
170
- marginRight: "unset",
171
- padding: theme.spacing(1),
172
- }),
173
- endAdornment: ({ theme, ownerState }) => ({
174
- display: "flex",
175
- gap: theme.spacing(1),
176
- top: `calc(${theme.spacing(2)} - ${theme.mixins.borderWidth})`,
177
- right: theme.spacing(2),
178
- maxHeight: "unset",
179
- alignItems: "center",
180
- whiteSpace: "nowrap",
181
- color: theme.palette.action.active,
182
-
183
- ...(ownerState.disabled === true && {
184
- display: "none",
185
- }),
222
+ MuiAutocomplete: {
223
+ defaultProps: {
224
+ autoHighlight: true,
225
+ autoSelect: false,
226
+ blurOnSelect: false,
227
+ clearIcon: <CloseIcon />,
228
+ clearOnEscape: true,
229
+ disableClearable: false,
230
+ disabledItemsFocusable: false,
231
+ disableListWrap: false,
232
+ disablePortal: false,
233
+ filterSelectedOptions: false,
234
+ fullWidth: false,
235
+ handleHomeEndKeys: true,
236
+ includeInputInList: true,
237
+ limitTags: -1,
238
+ openOnFocus: false,
239
+ popupIcon: <ChevronDownIcon />,
240
+ selectOnFocus: true,
241
+ },
242
+ styleOverrides: {
243
+ clearIndicator: {
244
+ marginRight: "unset",
245
+ padding: odysseyTokens.Spacing1,
246
+ },
247
+ endAdornment: ({ ownerState }) => ({
248
+ display: "flex",
249
+ gap: odysseyTokens.Spacing1,
250
+ top: "unset",
251
+ right: "unset",
252
+ insetBlockStart: odysseyTokens.Spacing2,
253
+ insetInlineEnd: odysseyTokens.Spacing2,
254
+ maxHeight: "unset",
255
+ alignItems: "center",
256
+ whiteSpace: "nowrap",
257
+ color: odysseyTokens.TypographyColorSubordinate,
186
258
 
187
- ...(ownerState.readOnly === true && {
188
- display: "none",
259
+ ...(ownerState.disabled === true && {
260
+ display: "none",
261
+ }),
262
+
263
+ ...(ownerState.readOnly === true && {
264
+ display: "none",
265
+ }),
189
266
  }),
190
- }),
191
- loading: ({ theme }) => ({
192
- paddingBlock: theme.spacing(3),
193
- paddingInline: theme.spacing(4),
194
- }),
195
- popupIndicator: ({ theme }) => ({
196
- padding: theme.spacing(1),
197
- marginRight: "unset",
198
- }),
199
- inputRoot: ({ theme, ownerState }) => ({
200
- ...(ownerState.readOnly === true && {
201
- backgroundColor: theme.palette.grey[50],
202
-
203
- [`&:not(:hover)`]: {
204
- borderColor: "transparent",
205
- },
267
+ listbox: {
268
+ paddingBlock: odysseyTokens.Spacing2,
269
+ paddingInline: odysseyTokens.Spacing2,
270
+ borderRadius: odysseyTokens.BorderRadiusMain,
271
+ },
272
+ loading: {
273
+ paddingBlock: odysseyTokens.Spacing3,
274
+ paddingInline: odysseyTokens.Spacing4,
275
+ },
276
+ option: {
277
+ paddingBlock: odysseyTokens.Spacing3,
278
+ borderRadius: odysseyTokens.BorderRadiusTight,
279
+ },
280
+ popupIndicator: {
281
+ padding: odysseyTokens.Spacing1,
282
+ marginRight: "unset",
283
+ },
284
+ inputRoot: ({ ownerState }) => ({
285
+ ...(ownerState.readOnly === true && {
286
+ backgroundColor: odysseyTokens.HueNeutral50,
287
+
288
+ [`&:not(:hover)`]: {
289
+ borderColor: "transparent",
290
+ },
291
+ }),
206
292
  }),
207
- }),
293
+ },
208
294
  },
209
- },
210
- MuiBackdrop: {
211
- styleOverrides: {
212
- root: ({ ownerState }) => ({
213
- backgroundColor: "rgba(29,29,33,0.75)",
214
-
215
- ...(ownerState.invisible === true && {
216
- backgroundColor: "transparent",
295
+ MuiBackdrop: {
296
+ styleOverrides: {
297
+ root: ({ ownerState }) => ({
298
+ backgroundColor: "rgba(29,29,33,0.75)",
299
+
300
+ ...(ownerState.invisible === true && {
301
+ backgroundColor: "transparent",
302
+ }),
217
303
  }),
218
- }),
219
- },
220
- },
221
- MuiButton: {
222
- defaultProps: {
223
- variant: "primary",
224
- disableElevation: true,
304
+ },
225
305
  },
226
- variants: [
227
- {
228
- props: { variant: "primary" },
229
- style: ({ theme }) => ({
230
- fontWeight: 600,
231
- color: theme.palette.common.white,
306
+ MuiButton: {
307
+ defaultProps: {
308
+ variant: "primary",
309
+ disableElevation: true,
310
+ },
311
+ styleOverrides: {
312
+ root: ({ ownerState }) => ({
313
+ minWidth: "unset",
314
+ paddingBlock: odysseyTokens.Spacing3,
315
+ paddingInline: odysseyTokens.Spacing4,
316
+ display: "inline-flex",
317
+ position: "relative",
318
+ marginBlock: "0",
319
+ marginInline: "0",
320
+ transitionProperty:
321
+ "color, background-color, border-color, box-shadow",
322
+ transitionDuration: "100ms",
323
+ transitionTimingFunction: "linear",
324
+ borderWidth: odysseyTokens.BorderWidthMain,
325
+ borderStyle: odysseyTokens.BorderStyleMain,
326
+ borderRadius: odysseyTokens.BorderRadiusMain,
232
327
  borderColor: "transparent",
233
- backgroundColor: theme.palette.primary.main,
328
+ fontSize: odysseyTokens.TypographySizeBody,
329
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
330
+ fontFamily: odysseyTokens.TypographyFamilyButton,
331
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
332
+ whiteSpace: "nowrap",
234
333
 
235
- "&:hover, &:focus-visible": {
236
- backgroundColor: theme.palette.primary.dark,
334
+ [`.${buttonClasses.root} + &`]: {
335
+ marginInlineStart: odysseyTokens.Spacing2,
237
336
  },
238
337
 
239
- "&:active": {
240
- backgroundColor: theme.palette.primary.main,
338
+ "&:focus-visible": {
339
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
340
+ outline: "2px solid transparent",
341
+ outlineOffset: "1px",
241
342
  },
242
343
 
243
344
  "&:disabled": {
244
- color: theme.palette.common.white,
245
- backgroundColor: theme.palette.primary.light,
246
- pointerEvents: "initial",
247
- },
248
- }),
249
- },
250
- {
251
- props: { variant: "secondary" },
252
- style: ({ theme }) => ({
253
- backgroundColor: theme.palette.grey[50],
254
- borderColor: theme.palette.grey[200],
255
- color: theme.palette.text.primary,
256
- "&:hover, &:focus-visible": {
257
- backgroundColor: theme.palette.primary.lighter,
258
- borderColor: theme.palette.primary.light,
259
- color: theme.palette.primary.main,
345
+ pointerEvents: "none",
260
346
  },
261
347
 
262
- "&:active": {
263
- borderColor: theme.palette.primary.main,
348
+ [`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
349
+ "& > *:nth-of-type(1)": {
350
+ fontSize: `${odysseyTokens.TypographyLineHeightUi}em`,
351
+ },
264
352
  },
265
353
 
266
- "&:disabled": {
267
- borderColor: theme.palette.grey[100],
268
- backgroundColor: theme.palette.grey[100],
269
- color: theme.palette.grey[500],
270
- },
271
- }),
272
- },
273
- {
274
- props: { variant: "danger" },
275
- style: ({ theme }) => ({
276
- backgroundColor: theme.palette.error.main,
277
- color: theme.palette.common.white,
278
- borderColor: "transparent",
354
+ ...(ownerState.variant === "primary" && {
355
+ color: odysseyTokens.HueNeutralWhite,
356
+ backgroundColor: odysseyTokens.PalettePrimaryMain,
279
357
 
280
- "&:hover": {
281
- backgroundColor: theme.palette.error.dark,
282
- },
358
+ "&:hover": {
359
+ backgroundColor: odysseyTokens.PalettePrimaryDark,
360
+ },
283
361
 
284
- "&:focus-visible": {
285
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`,
286
- backgroundColor: theme.palette.error.dark,
287
- },
362
+ "&:active": {
363
+ backgroundColor: odysseyTokens.PalettePrimaryDarker,
364
+ },
288
365
 
289
- "&:active": {
290
- backgroundColor: theme.palette.error.main,
291
- },
366
+ "&:disabled": {
367
+ color: odysseyTokens.PalettePrimaryLight,
368
+ backgroundColor: odysseyTokens.HueBlue100,
369
+ },
370
+ }),
292
371
 
293
- "&:disabled": {
294
- color: theme.palette.common.white,
295
- backgroundColor: theme.palette.error.light,
296
- },
297
- }),
298
- },
299
- {
300
- props: { variant: "floating" },
301
- style: ({ theme }) => ({
302
- backgroundColor: "transparent",
303
- color: theme.palette.text.primary,
304
- borderColor: "transparent",
372
+ ...(ownerState.variant === "secondary" && {
373
+ backgroundColor: odysseyTokens.HueBlue100,
374
+ color: odysseyTokens.PalettePrimaryDark,
305
375
 
306
- "&:hover, &:focus-visible": {
307
- backgroundColor: "rgba(29, 29, 33, 0.1)",
308
- borderColor: "transparent",
309
- },
310
- "&:active": {
311
- backgroundColor: "rgba(29, 29, 33, 0.2)",
312
- borderColor: "transparent",
313
- },
314
- "&:disabled": {
315
- backgroundColor: "transparent",
316
- color: theme.palette.text.secondary,
317
- borderColor: "transparent",
318
- },
319
- }),
320
- },
321
- {
322
- props: { size: "small" },
323
- style: ({ theme }) => ({
324
- paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
325
- paddingInline: `calc(${theme.spacing(2)} - 1px)`,
326
- fontSize: "1rem",
327
- }),
328
- },
329
- {
330
- props: { size: "large" },
331
- style: ({ theme }) => ({
332
- paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
333
- paddingInline: `calc(${theme.spacing(4)} - 1px)`,
334
- }),
335
- },
336
- {
337
- props: { fullWidth: true },
338
- style: ({ theme }) => ({
339
- display: "block",
340
- width: "100%",
341
- marginBlock: "0",
342
- marginInline: "0",
376
+ "&:hover": {
377
+ backgroundColor: odysseyTokens.HueBlue200,
378
+ color: odysseyTokens.HueBlue800,
379
+ },
343
380
 
344
- "&:not(:last-child)": {
345
- marginBlockEnd: theme.spacing(4),
346
- },
347
- }),
348
- },
349
- {
350
- // icon only
351
- props: { children: "" },
352
- style: {
353
- minWidth: "auto",
381
+ "&:active": {
382
+ backgroundColor: odysseyTokens.PalettePrimaryLight,
383
+ color: odysseyTokens.HueBlue800,
384
+ },
354
385
 
355
- [`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: {
356
- margin: "0",
357
- },
358
- },
359
- },
360
- ],
361
- styleOverrides: {
362
- root: ({ theme }) => ({
363
- fontWeight: 600,
364
- minWidth: "unset",
365
- padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
366
- display: "inline-flex",
367
- position: "relative",
368
- marginBlock: "0",
369
- marginInline: "0",
370
- transitionProperty: "color, background-color, border-color, box-shadow",
371
- transitionDuration: "100ms",
372
- transitionTimingFunction: "linear",
373
- borderWidth: theme.mixins.borderWidth,
374
- borderStyle: theme.mixins.borderStyle,
375
- borderRadius: theme.mixins.borderRadius,
376
- fontSize: theme.typography.body1.fontSize,
377
- lineHeight: theme.typography.ui.lineHeight,
378
- whiteSpace: "nowrap",
379
-
380
- ".MuiButton-root + &": {
381
- marginInlineStart: theme.spacing(2),
382
- },
386
+ "&:disabled": {
387
+ backgroundColor: odysseyTokens.HueNeutral100,
388
+ color: odysseyTokens.TypographyColorDisabled,
389
+ },
390
+ }),
383
391
 
384
- "&:focus-visible": {
385
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.primary.main}`,
386
- outline: "2px solid transparent",
387
- outlineOffset: "1px",
388
- },
392
+ ...(ownerState.variant === "tertiary" && {
393
+ backgroundColor: odysseyTokens.HueNeutral100,
394
+ color: odysseyTokens.HueNeutral700,
389
395
 
390
- "&:disabled": {
391
- cursor: "not-allowed",
392
- pointerEvents: "initial",
393
- },
396
+ "&:hover": {
397
+ backgroundColor: odysseyTokens.HueNeutral200,
398
+ color: odysseyTokens.HueNeutral800,
399
+ },
394
400
 
395
- "&:disabled:active": {
396
- pointerEvents: "none",
397
- },
401
+ "&:active": {
402
+ backgroundColor: odysseyTokens.HueNeutral300,
403
+ color: odysseyTokens.HueNeutral800,
404
+ },
398
405
 
399
- [`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
400
- "& > *:nth-of-type(1)": {
401
- fontSize: `${theme.typography.ui.lineHeight}em`,
402
- },
403
- },
404
- }),
406
+ "&:disabled": {
407
+ backgroundColor: odysseyTokens.HueNeutral100,
408
+ color: odysseyTokens.TypographyColorDisabled,
409
+ },
410
+ }),
405
411
 
406
- endIcon: ({ theme, ownerState }) => ({
407
- display: "inline-flex",
408
- margin: 0,
409
- marginInlineStart: theme.spacing(2),
412
+ ...(ownerState.variant === "danger" && {
413
+ backgroundColor: odysseyTokens.PaletteDangerMain,
414
+ color: odysseyTokens.HueNeutralWhite,
410
415
 
411
- ...(ownerState.children === undefined && {
412
- marginInlineStart: 0,
416
+ "&:hover": {
417
+ backgroundColor: odysseyTokens.PaletteDangerDark,
418
+ },
419
+
420
+ "&:focus-visible": {
421
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`,
422
+ },
423
+
424
+ "&:active": {
425
+ backgroundColor: odysseyTokens.PaletteDangerDarker,
426
+ },
427
+
428
+ "&:disabled": {
429
+ color: odysseyTokens.PaletteDangerLight,
430
+ backgroundColor: odysseyTokens.HueRed100,
431
+ },
432
+ }),
433
+ ...(ownerState.variant === "floating" && {
434
+ backgroundColor: "transparent",
435
+ color: odysseyTokens.TypographyColorBody,
436
+
437
+ "&:hover": {
438
+ backgroundColor: odysseyTokens.HueNeutral100,
439
+ },
440
+
441
+ "&:active": {
442
+ backgroundColor: odysseyTokens.HueNeutral200,
443
+ },
444
+
445
+ "&:disabled": {
446
+ backgroundColor: "transparent",
447
+ color: odysseyTokens.TypographyColorDisabled,
448
+ },
449
+ }),
450
+ ...(ownerState.size === "small" && {
451
+ paddingBlock: odysseyTokens.Spacing2,
452
+ paddingInline: odysseyTokens.Spacing3,
453
+ fontSize: odysseyTokens.TypographySizeBody,
454
+ }),
455
+ ...(ownerState.size === "large" && {
456
+ paddingBlock: odysseyTokens.Spacing4,
457
+ paddingInline: odysseyTokens.Spacing4,
458
+ }),
459
+ ...(ownerState.fullWidth === true && {
460
+ display: "block",
461
+ width: "100%",
462
+ marginBlock: "0",
463
+ marginInline: "0",
464
+
465
+ "&:not(:last-child)": {
466
+ marginBlockEnd: odysseyTokens.Spacing4,
467
+ },
468
+ }),
469
+ ...(ownerState.children === "" && {
470
+ minWidth: "auto",
471
+ padding: odysseyTokens.Spacing3,
472
+
473
+ [`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: {
474
+ margin: "0",
475
+ },
476
+
477
+ ...(ownerState.size === "small" && {
478
+ padding: odysseyTokens.Spacing2,
479
+ }),
480
+ }),
413
481
  }),
414
- }),
415
482
 
416
- startIcon: ({ theme, ownerState }) => ({
417
- display: "inline-flex",
418
- margin: 0,
419
- marginInlineEnd: theme.spacing(2),
483
+ endIcon: ({ ownerState }) => ({
484
+ display: "inline-flex",
485
+ margin: 0,
486
+ marginInlineStart: odysseyTokens.Spacing2,
420
487
 
421
- ...(ownerState.children === undefined && {
422
- marginInlineEnd: 0,
488
+ ...(ownerState.children === undefined && {
489
+ marginInlineStart: 0,
490
+ }),
423
491
  }),
424
- }),
425
- },
426
- },
427
- MuiButtonBase: {
428
- defaultProps: {
429
- disableRipple: true,
492
+
493
+ startIcon: ({ ownerState }) => ({
494
+ display: "inline-flex",
495
+ margin: 0,
496
+ marginInlineEnd: odysseyTokens.Spacing2,
497
+
498
+ ...(ownerState.children === undefined && {
499
+ marginInlineEnd: 0,
500
+ }),
501
+ }),
502
+ },
430
503
  },
431
- },
432
- MuiCheckbox: {
433
- defaultProps: {
434
- size: "small",
435
- icon: <></>,
436
- checkedIcon: <CheckIcon />,
437
- indeterminateIcon: <SubtractIcon />,
504
+ MuiButtonBase: {
505
+ defaultProps: {
506
+ disableRipple: true,
507
+ },
438
508
  },
439
- styleOverrides: {
440
- root: ({ theme }) => ({
441
- width: `${theme.typography.ui.lineHeight}em`,
442
- height: `${theme.typography.ui.lineHeight}em`,
443
- borderRadius: theme.mixins.borderRadius,
444
- borderWidth: theme.mixins.borderWidth,
445
- borderStyle: theme.mixins.borderStyle,
446
- borderColor: theme.palette.grey[500],
447
- padding: 0,
448
- boxShadow: `0 0 0 0 transparent`,
449
- transition: theme.transitions.create(
450
- ["border-color", "background-color", "box-shadow"],
451
- {
452
- duration: theme.transitions.duration.short,
453
- }
454
- ),
455
-
456
- ".MuiSvgIcon-root": {
457
- color: theme.palette.common.white,
458
- transition: theme.transitions.create(["color"], {
459
- duration: theme.transitions.duration.short,
460
- }),
461
- },
462
-
463
- "&.Mui-checked": {
464
- backgroundColor: theme.palette.primary.main,
465
- borderColor: theme.palette.primary.main,
509
+ MuiCheckbox: {
510
+ defaultProps: {
511
+ size: "small",
512
+ icon: <></>,
513
+ checkedIcon: <CheckIcon />,
514
+ indeterminateIcon: <SubtractIcon />,
515
+ },
516
+ styleOverrides: {
517
+ root: ({ theme }) => ({
518
+ width: `${odysseyTokens.TypographyLineHeightUi}em`,
519
+ height: `${odysseyTokens.TypographyLineHeightUi}em`,
520
+ borderRadius: odysseyTokens.BorderRadiusTight,
521
+ borderWidth: odysseyTokens.BorderWidthMain,
522
+ borderStyle: odysseyTokens.BorderStyleMain,
523
+ borderColor: odysseyTokens.HueNeutral500,
524
+ padding: 0,
525
+ boxShadow: `0 0 0 0 transparent`,
526
+ transition: theme.transitions.create(
527
+ ["border-color", "background-color", "box-shadow"],
528
+ {
529
+ duration: odysseyTokens.TransitionDurationMain,
530
+ }
531
+ ),
466
532
 
467
- ".MuiFormControlLabel-root:hover > &": {
468
- backgroundColor: theme.palette.primary.dark,
469
- borderColor: theme.palette.primary.dark,
533
+ [`.${svgIconClasses.root}`]: {
534
+ color: odysseyTokens.HueNeutralWhite,
535
+ transition: theme.transitions.create(["color"], {
536
+ duration: odysseyTokens.TransitionDurationMain,
537
+ }),
470
538
  },
471
- },
472
-
473
- ".MuiFormControlLabel-root:hover > &": {
474
- backgroundColor: "transparent",
475
- borderColor: theme.palette.grey[900],
476
- },
477
- ".Mui-error:hover > &": {
478
- borderColor: theme.palette.error.dark,
479
539
 
480
540
  "&.Mui-checked": {
481
- backgroundColor: theme.palette.error.dark,
482
- borderColor: theme.palette.error.dark,
541
+ backgroundColor: odysseyTokens.PalettePrimaryMain,
542
+ borderColor: odysseyTokens.PalettePrimaryMain,
543
+
544
+ [`.${formControlLabelClasses.root}:hover > &`]: {
545
+ backgroundColor: odysseyTokens.PalettePrimaryDark,
546
+ borderColor: odysseyTokens.PalettePrimaryDark,
547
+ },
483
548
  },
484
- },
485
- ".Mui-error > &": {
486
- borderColor: theme.palette.error.main,
487
549
 
488
- "&.Mui-checked": {
489
- backgroundColor: theme.palette.error.main,
490
- borderColor: theme.palette.error.main,
550
+ [`.${formControlLabelClasses.root}:hover > &`]: {
551
+ backgroundColor: "transparent",
552
+ borderColor: odysseyTokens.HueNeutral900,
491
553
  },
554
+ ".Mui-error:not(.Mui-valid):hover > &": {
555
+ borderColor: odysseyTokens.BorderColorDangerDark,
492
556
 
493
- "&.Mui-focusVisible": {
494
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`,
557
+ "&.Mui-checked": {
558
+ backgroundColor: odysseyTokens.PaletteDangerDark,
559
+ borderColor: odysseyTokens.BorderColorDangerDark,
560
+ },
495
561
  },
496
- },
497
- "&.Mui-focusVisible": {
498
- borderColor: theme.palette.grey[900],
499
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.primary.main}`,
500
- outline: "2px solid transparent",
501
- outlineOffset: "1px",
502
- },
503
- "&.Mui-disabled": {
504
- backgroundColor: theme.palette.grey[50],
505
- borderColor: theme.palette.grey[300],
562
+ ".Mui-error:not(.Mui-valid) > &": {
563
+ borderColor: odysseyTokens.BorderColorDangerControl,
506
564
 
507
- ".Mui-error > &": {
508
- backgroundColor: theme.palette.grey[50],
509
- borderColor: theme.palette.grey[300],
565
+ "&.Mui-checked": {
566
+ backgroundColor: odysseyTokens.PaletteDangerMain,
567
+ borderColor: odysseyTokens.BorderColorDangerControl,
568
+ },
569
+
570
+ "&.Mui-focusVisible": {
571
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`,
572
+ },
510
573
  },
574
+ "&.Mui-focusVisible": {
575
+ borderColor: odysseyTokens.HueNeutral900,
576
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
577
+ outline: "2px solid transparent",
578
+ outlineOffset: "1px",
579
+ },
580
+ "&.Mui-disabled": {
581
+ backgroundColor: odysseyTokens.HueNeutral50,
582
+ borderColor: odysseyTokens.HueNeutral300,
583
+
584
+ ".Mui-error:not(.Mui-valid) > &": {
585
+ backgroundColor: odysseyTokens.HueNeutral50,
586
+ borderColor: odysseyTokens.HueNeutral300,
587
+ },
511
588
 
512
- ".MuiSvgIcon-root": {
513
- color: theme.palette.common.black,
589
+ [`.${svgIconClasses.root}`]: {
590
+ color: odysseyTokens.HueNeutral900,
591
+ },
514
592
  },
515
- },
516
- }),
517
- },
518
- },
519
- MuiChip: {
520
- defaultProps: {
521
- deleteIcon: <CloseCircleFilledIcon />,
522
- },
523
- styleOverrides: {
524
- root: ({ theme, ownerState }) => ({
525
- height: "auto",
526
- paddingBlock: theme.spacing(2),
527
- paddingInline: theme.spacing(3),
528
- fontSize: theme.typography.body1.fontSize,
529
- lineHeight: theme.typography.ui.lineHeight,
530
- borderRadius: "1.5em",
531
- backgroundColor: theme.palette.grey[100],
532
-
533
- ...(ownerState.onDelete && {
534
- paddingInlineEnd: theme.spacing(2),
535
593
  }),
594
+ },
595
+ },
596
+ MuiChip: {
597
+ defaultProps: {
598
+ deleteIcon: <CloseCircleFilledIcon />,
599
+ },
600
+ styleOverrides: {
601
+ root: ({ ownerState }) => ({
602
+ height: "auto",
603
+ paddingBlock: `calc(${odysseyTokens.Spacing2} - ${odysseyTokens.BorderWidthMain})`,
604
+ paddingInline: odysseyTokens.Spacing3,
605
+ fontSize: odysseyTokens.TypographySizeBody,
606
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
607
+ borderRadius: odysseyTokens.BorderRadiusRound,
608
+ backgroundColor: odysseyTokens.HueNeutral100,
609
+ borderWidth: odysseyTokens.BorderWidthMain,
610
+ borderColor: odysseyTokens.HueNeutral200,
611
+ borderStyle: odysseyTokens.BorderStyleMain,
612
+ color: odysseyTokens.HueNeutral700,
613
+
614
+ ...(ownerState.onDelete && {
615
+ paddingInlineEnd: odysseyTokens.Spacing2,
616
+ }),
536
617
 
537
- [`&.${chipClasses.disabled}`]: {
538
- opacity: 1,
539
- pointerEvents: "none",
540
- backgroundColor: theme.palette.grey[50],
541
- color: theme.palette.text.secondary,
542
- },
543
-
544
- ...(ownerState.clickable && {
545
- "&:hover": {
546
- backgroundColor: theme.palette.grey[200],
547
- },
548
- [`&.${chipClasses.focusVisible}`]: {
549
- backgroundColor: theme.palette.grey[200],
550
- outlineColor: theme.palette.primary.main,
551
- outlineOffset: "2px",
552
- outlineStyle: "solid",
553
- outlineWidth: "2px",
554
- },
555
- "&:active": {
556
- boxShadow: "none",
557
- backgroundColor: theme.palette.grey[300],
618
+ [`&.${chipClasses.disabled}`]: {
619
+ opacity: 1,
620
+ pointerEvents: "none",
621
+ backgroundColor: odysseyTokens.HueNeutral50,
622
+ color: odysseyTokens.TypographyColorDisabled,
558
623
  },
559
- }),
560
624
 
561
- ...(ownerState.variant === "status" && {
562
- paddingBlock: 0,
563
- paddingInline: 0,
564
- borderRadius: 0,
565
- backgroundColor: "transparent",
566
- color: theme.palette.text.primary,
625
+ ...(ownerState.clickable && {
626
+ "&:hover": {
627
+ backgroundColor: odysseyTokens.HueNeutral200,
628
+ },
629
+ [`&.${chipClasses.focusVisible}`]: {
630
+ backgroundColor: odysseyTokens.HueNeutral200,
631
+ outlineColor: odysseyTokens.FocusOutlineColorPrimary,
632
+ outlineOffset: odysseyTokens.FocusOutlineOffsetTight,
633
+ outlineStyle: odysseyTokens.FocusOutlineStyle,
634
+ outlineWidth: odysseyTokens.FocusOutlineWidthMain,
635
+ },
636
+ "&:active": {
637
+ boxShadow: "none",
638
+ backgroundColor: odysseyTokens.HueNeutral300,
639
+ },
640
+ }),
567
641
 
568
- "&::before": {
569
- content: "''",
570
- width: ".57em",
571
- height: ".57em",
572
- marginInlineEnd: theme.spacing(2),
573
- borderRadius: "100%",
574
- backgroundColor: theme.palette.text.secondary,
642
+ [`& .${chipClasses.icon}`]: {
643
+ margin: 0,
644
+ marginInlineEnd: odysseyTokens.Spacing1,
575
645
  },
576
646
 
577
- [`&.${chipClasses.colorError}`]: {
647
+ ...(ownerState.variant === "lamp" && {
648
+ paddingBlock: 0,
649
+ paddingInline: 0,
650
+ borderRadius: 0,
651
+ border: 0,
652
+ backgroundColor: "transparent",
653
+ color: odysseyTokens.TypographyColorBody,
654
+
578
655
  "&::before": {
579
- backgroundColor: theme.palette.error.main,
656
+ content: "''",
657
+ width: ".64em",
658
+ height: ".64em",
659
+ marginInlineEnd: odysseyTokens.Spacing2,
660
+ borderRadius: "100%",
661
+ backgroundColor: "transparent",
662
+ borderColor: odysseyTokens.TypographyColorBody,
663
+ borderWidth: odysseyTokens.BorderWidthHeavy,
664
+ borderStyle: odysseyTokens.BorderStyleMain,
580
665
  },
581
- },
582
666
 
583
- [`&.${chipClasses.colorSuccess}`]: {
584
- "&::before": {
585
- backgroundColor: theme.palette.success.main,
667
+ [`&.${chipClasses.colorError}`]: {
668
+ "&::before": {
669
+ border: 0,
670
+ backgroundColor: odysseyTokens.PaletteDangerMain,
671
+ },
586
672
  },
587
- },
588
673
 
589
- [`&.${chipClasses.colorWarning}`]: {
674
+ [`&.${chipClasses.colorSuccess}`]: {
675
+ "&::before": {
676
+ border: 0,
677
+ backgroundColor: odysseyTokens.PaletteSuccessMain,
678
+ },
679
+ },
680
+
681
+ [`&.${chipClasses.colorWarning}`]: {
682
+ "&::before": {
683
+ border: 0,
684
+ backgroundColor: odysseyTokens.HueYellow200,
685
+ },
686
+ },
687
+ }),
688
+
689
+ ...(ownerState.variant === "pill" && {
690
+ paddingBlock: odysseyTokens.Spacing1,
691
+ paddingInline: odysseyTokens.Spacing2,
692
+ borderRadius: odysseyTokens.BorderRadiusMain,
693
+ border: 0,
694
+ fontWeight: odysseyTokens.TypographyWeightHeadingBold,
695
+ lineHeight: odysseyTokens.TypographyLineHeightOverline,
696
+ backgroundColor: odysseyTokens.HueNeutral50,
697
+ color: odysseyTokens.TypographyColorSubordinate,
698
+ fontSize: odysseyTokens.TypographySizeSubordinate,
699
+
590
700
  "&::before": {
591
- backgroundColor: theme.palette.warning.main,
701
+ content: "''",
702
+ width: ".64em",
703
+ height: ".64em",
704
+ marginInlineEnd: odysseyTokens.Spacing1,
705
+ borderRadius: "100%",
706
+ backgroundColor: odysseyTokens.HueNeutral600,
707
+ },
708
+
709
+ [`&.${chipClasses.colorError}`]: {
710
+ backgroundColor: odysseyTokens.PaletteDangerLighter,
711
+ color: odysseyTokens.TypographyColorDanger,
712
+
713
+ "&::before": {
714
+ backgroundColor: odysseyTokens.PaletteDangerMain,
715
+ },
716
+ },
717
+
718
+ [`&.${chipClasses.colorSuccess}`]: {
719
+ backgroundColor: odysseyTokens.PaletteSuccessLighter,
720
+ color: odysseyTokens.TypographyColorSuccess,
721
+
722
+ "&::before": {
723
+ backgroundColor: odysseyTokens.PaletteSuccessMain,
724
+ },
725
+ },
726
+
727
+ [`&.${chipClasses.colorWarning}`]: {
728
+ backgroundColor: odysseyTokens.PaletteWarningLighter,
729
+ color: odysseyTokens.TypographyColorWarning,
730
+
731
+ "&::before": {
732
+ backgroundColor: odysseyTokens.HueYellow200,
733
+ },
592
734
  },
735
+ }),
736
+
737
+ [`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
738
+ backgroundColor: odysseyTokens.HueNeutral200,
593
739
  },
594
740
  }),
595
741
 
596
- [`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
597
- backgroundColor: theme.palette.grey[200],
742
+ label: {
743
+ padding: 0,
598
744
  },
599
- }),
600
745
 
601
- label: {
602
- padding: 0,
603
- },
746
+ deleteIcon: {
747
+ WebkitTapHighlightColor: "transparent",
748
+ color: odysseyTokens.HueNeutral500,
749
+ fontSize: "1em",
750
+ cursor: "pointer",
751
+ margin: "0",
752
+ marginInlineStart: odysseyTokens.Spacing2,
604
753
 
605
- deleteIcon: ({ theme }) => ({
606
- WebkitTapHighlightColor: "transparent",
607
- color: theme.palette.text.secondary,
608
- fontSize: "1em",
609
- cursor: "pointer",
610
- margin: "0",
611
- marginInlineStart: theme.spacing(2),
754
+ "&:hover": {
755
+ color: odysseyTokens.HueNeutral600,
756
+ },
612
757
 
613
- "&:hover": {
614
- color: theme.palette.text.primary,
615
- },
616
-
617
- [`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
618
- display: "none",
758
+ [`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
759
+ display: "none",
760
+ },
619
761
  },
620
- }),
621
- },
622
- },
623
- MuiCircularProgress: {
624
- defaultProps: {
625
- // TODO: defaultProps cannot take a theme object; matches theme.typography.ui.lineHeight
626
- size: "1.14285714rem",
627
- thickness: 8,
628
- color: "primary",
629
- disableShrink: false,
630
- variant: "indeterminate",
762
+ },
631
763
  },
632
- styleOverrides: {
633
- root: ({ theme, ownerState }) => ({
634
- ...(ownerState.color !== "inherit" && {
635
- color: theme.palette.primary.dark,
764
+ MuiCircularProgress: {
765
+ defaultProps: {
766
+ size: odysseyTokens.TypographyScale2,
767
+ thickness: 8,
768
+ color: "primary",
769
+ disableShrink: false,
770
+ variant: "indeterminate",
771
+ },
772
+ styleOverrides: {
773
+ root: ({ ownerState }) => ({
774
+ ...(ownerState.color !== "inherit" && {
775
+ color: odysseyTokens.PalettePrimaryDark,
776
+ }),
636
777
  }),
637
- }),
638
- circle: ({ ownerState }) => ({
639
- ...(ownerState.variant === "indeterminate" && {
640
- strokeDasharray: "160%, 360%",
778
+ circle: ({ ownerState }) => ({
779
+ ...(ownerState.variant === "indeterminate" && {
780
+ strokeDasharray: "160%, 360%",
781
+ }),
641
782
  }),
642
- }),
783
+ },
643
784
  },
644
- },
645
- MuiCssBaseline: {
646
- styleOverrides: (themeParam) => `
785
+ MuiCssBaseline: {
786
+ styleOverrides: (themeParam) => `
647
787
  html {
648
788
  font-size: calc((${themeParam.typography.fontSize} / 16) * 100%);
649
789
  }
650
790
  `,
651
- },
652
- MuiScopedCssBaseline: {
653
- styleOverrides: {
654
- root: ({ theme }) => ({
655
- abbr: {
656
- borderBottomWidth: "1px",
657
- borderBottomStyle: "dashed",
658
- borderBottomColor: theme.palette.primary.dark,
659
- textDecoration: "none",
660
- },
661
-
662
- address: {
663
- maxWidth: theme.mixins.maxWidth,
664
- marginBlockStart: 0,
665
- marginBlockEnd: theme.spacing(4),
666
- marginInline: 0,
667
-
668
- "&:last-child": {
669
- marginBlockEnd: 0,
791
+ },
792
+ MuiScopedCssBaseline: {
793
+ styleOverrides: {
794
+ root: {
795
+ abbr: {
796
+ borderBottomWidth: odysseyTokens.BorderWidthMain,
797
+ borderBottomStyle: "dashed", // Token?
798
+ borderBottomColor: odysseyTokens.HueNeutral700,
799
+ textDecoration: "none",
800
+ },
801
+
802
+ address: {
803
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
804
+ marginBlockStart: 0,
805
+ marginBlockEnd: odysseyTokens.Spacing4,
806
+ marginInline: 0,
807
+ fontStyle: "normal",
808
+
809
+ "&:last-child": {
810
+ marginBlockEnd: 0,
811
+ },
670
812
  },
671
- },
672
-
673
- blockquote: {
674
- maxWidth: theme.mixins.maxWidth,
675
- marginBlockStart: 0,
676
- marginBlockEnd: theme.spacing(4),
677
- marginInline: 0,
678
- paddingBlock: 0,
679
- paddingInlineStart: theme.spacing(2),
680
- paddingInlineEnd: 0,
681
- borderInlineStartWidth: "3px",
682
- borderInlineStartStyle: "solid",
683
- borderInlineStartColor: theme.palette.grey[200],
684
813
 
685
- "&:last-child": {
686
- marginBlockEnd: 0,
814
+ blockquote: {
815
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
816
+ marginBlockStart: 0,
817
+ marginBlockEnd: odysseyTokens.Spacing4,
818
+ marginInline: 0,
819
+ paddingBlock: 0,
820
+ paddingInlineStart: odysseyTokens.Spacing4,
821
+ paddingInlineEnd: 0,
822
+ borderInlineStartWidth: "3px", // Token?
823
+ borderInlineStartStyle: odysseyTokens.BorderStyleMain,
824
+ borderInlineStartColor: odysseyTokens.HueNeutral200,
825
+
826
+ "&:last-child": {
827
+ marginBlockEnd: 0,
828
+ },
687
829
  },
688
- },
689
830
 
690
- cite: {
691
- fontStyle: "italic",
692
- },
693
-
694
- code: {
695
- fontFamily:
696
- "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
697
- },
831
+ cite: {
832
+ fontStyle: "normal",
833
+ },
834
+
835
+ code: {
836
+ fontFamily: odysseyTokens.TypographyFamilyMono,
837
+ display: "inline-block",
838
+ minWidth: `calc(${odysseyTokens.TypographySizeSubordinate} * ${odysseyTokens.TypographyLineHeightHeading5})`,
839
+ borderStyle: odysseyTokens.BorderStyleMain,
840
+ borderWidth: odysseyTokens.BorderWidthMain,
841
+ borderRadius: odysseyTokens.BorderRadiusTight,
842
+ borderColor: odysseyTokens.BorderColorDisplay,
843
+ backgroundColor: odysseyTokens.HueNeutral50,
844
+ padding: `calc(${odysseyTokens.Spacing1} / 2) ${odysseyTokens.Spacing1}`,
845
+ fontSize: odysseyTokens.TypographySizeSubordinate,
846
+ lineHeight: odysseyTokens.TypographyLineHeightHeading5,
847
+ },
848
+
849
+ del: {
850
+ display: "inline-block",
851
+ backgroundColor: odysseyTokens.PaletteDangerHighlight,
852
+
853
+ "&::before, &::after": {
854
+ clip: "rect(0 0 0 0)",
855
+ clipPath: "inset(50%)",
856
+ height: "1px",
857
+ overflow: "hidden",
858
+ position: "absolute",
859
+ whiteSpace: "nowrap",
860
+ width: "1px",
861
+ },
698
862
 
699
- del: {
700
- display: "inline-block",
701
- backgroundColor: theme.palette.error.light,
863
+ "&::before": {
864
+ content: "attr(data-a11y-start)",
865
+ },
702
866
 
703
- "&::before, &::after": {
704
- clip: "rect(0 0 0 0)",
705
- clipPath: "inset(50%)",
706
- height: "1px",
707
- overflow: "hidden",
708
- position: "absolute",
709
- whiteSpace: "nowrap",
710
- width: "1px",
867
+ "&::after": {
868
+ content: "attr(data-a11y-end)",
869
+ },
711
870
  },
712
871
 
713
- "&::before": {
714
- content: "attr(data-a11y-start)",
872
+ details: {
873
+ fontSize: odysseyTokens.TypographySizeBody,
715
874
  },
716
875
 
717
- "&::after": {
718
- content: "attr(data-a11y-end)",
876
+ dfn: {
877
+ fontStyle: "italic",
719
878
  },
720
- },
721
879
 
722
- details: {
723
- fontSize: theme.typography.body1.fontSize,
724
- },
880
+ dl: {
881
+ display: "grid",
882
+ gridGap: `${odysseyTokens.Spacing2} ${odysseyTokens.Spacing4}`,
883
+ gridTemplateColumns: "repeat(2, minmax(min-content, max-content))",
884
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
885
+ marginBlockStart: 0,
886
+ marginBlockEnd: odysseyTokens.Spacing4,
887
+ marginInline: 0,
888
+ padding: 0,
725
889
 
726
- dfn: {
727
- fontStyle: "italic",
728
- },
890
+ "&:last-child": {
891
+ marginBlockEnd: 0,
892
+ },
729
893
 
730
- dl: {
731
- display: "grid",
732
- gridGap: `${theme.spacing(2)} ${theme.spacing(4)}`,
733
- gridTemplateColumns: "repeat(2, minmax(min-content, max-content))",
734
- maxWidth: theme.mixins.maxWidth,
735
- marginBlockStart: 0,
736
- marginBlockEnd: theme.spacing(4),
737
- marginInline: 0,
738
- padding: 0,
894
+ dt: {
895
+ gridColumn: 1,
896
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
897
+ },
739
898
 
740
- "&:last-child": {
741
- marginBlockEnd: 0,
899
+ dd: {
900
+ gridColumn: 2,
901
+ marginInlineStart: odysseyTokens.Spacing0,
902
+ fontWeight: 400,
903
+ },
742
904
  },
743
905
 
744
- dt: {
745
- gridColumn: 1,
746
- fontWeight: 600,
747
- },
906
+ em: {
907
+ fontStyle: "italic",
748
908
 
749
- dd: {
750
- gridColumn: 2,
751
- fontWeight: 400,
909
+ "& > em": {
910
+ textDecoration: "underline",
911
+ },
752
912
  },
753
- },
754
913
 
755
- em: {
756
- fontStyle: "italic",
914
+ figure: {
915
+ display: "grid",
916
+ gridGap: odysseyTokens.Spacing2,
917
+ gridTemplateColumns: "minmax(min-content, max-content)",
918
+ justifyContent: "start",
919
+ justifyItems: "start",
920
+ marginBlockStart: 0,
921
+ marginBlockEnd: odysseyTokens.Spacing4,
922
+ marginInline: 0,
757
923
 
758
- "& > em": {
759
- textDecoration: "underline",
924
+ "&:last-child": {
925
+ marginBlockEnd: 0,
926
+ },
760
927
  },
761
- },
762
928
 
763
- figure: {
764
- display: "grid",
765
- gridGap: theme.spacing(2),
766
- gridTemplateColumns: "minmax(min-content, max-content)",
767
- justifyContent: "start",
768
- justifyItems: "start",
769
- marginBlockStart: 0,
770
- marginBlockEnd: theme.spacing(4),
771
- marginInline: 0,
929
+ "figcaption:not([class])": {
930
+ color: odysseyTokens.TypographyColorSubordinate,
931
+ fontSize: odysseyTokens.TypographySizeSubordinate,
932
+ },
772
933
 
773
- "&:last-child": {
774
- marginBlockEnd: 0,
934
+ hr: {
935
+ marginBlock: odysseyTokens.Spacing2,
936
+ marginInline: 0,
937
+ borderWidth: odysseyTokens.BorderWidthMain,
938
+ borderStyle: odysseyTokens.BorderStyleMain,
939
+ borderColor: odysseyTokens.HueNeutral200,
775
940
  },
776
- },
777
941
 
778
- "figcaption:not([class])": {
779
- color: theme.palette.text.secondary,
780
- fontSize: theme.typography.body1.fontSize,
781
- },
942
+ ins: {
943
+ display: "inline-block",
944
+ backgroundColor: odysseyTokens.PaletteSuccessHighlight,
782
945
 
783
- hr: {
784
- marginBlock: theme.spacing(2),
785
- marginInline: 0,
786
- borderWidth: "1px",
787
- borderStyle: "solid",
788
- borderColor: theme.palette.grey[200],
789
- },
946
+ "&::before, &::after": {
947
+ clip: "rect(0 0 0 0)",
948
+ clipPath: "inset(50%)",
949
+ height: "1px",
950
+ overflow: "hidden",
951
+ position: "absolute",
952
+ whiteSpace: "nowrap",
953
+ width: "1px",
954
+ },
790
955
 
791
- ins: {
792
- display: "inline-block",
793
- backgroundColor: theme.palette.success.light,
956
+ "&::before": {
957
+ content: "attr(data-a11y-start)",
958
+ },
794
959
 
795
- "&::before, &::after": {
796
- clip: "rect(0 0 0 0)",
797
- clipPath: "inset(50%)",
798
- height: "1px",
799
- overflow: "hidden",
800
- position: "absolute",
801
- whiteSpace: "nowrap",
802
- width: "1px",
960
+ "&::after": {
961
+ content: "attr(data-a11y-end)",
962
+ },
803
963
  },
804
964
 
805
- "&::before": {
806
- content: "attr(data-a11y-start)",
807
- },
965
+ kbd: {
966
+ display: "inline-block",
967
+ minWidth: `calc(${odysseyTokens.TypographySizeSubordinate} * ${odysseyTokens.TypographyLineHeightHeading5})`,
968
+ borderStyle: odysseyTokens.BorderStyleMain,
969
+ borderWidth: odysseyTokens.BorderWidthMain,
970
+ borderRadius: odysseyTokens.BorderRadiusMain,
971
+ borderColor: odysseyTokens.HueNeutral200,
972
+ backgroundColor: odysseyTokens.HueNeutral50,
973
+ padding: `calc(${odysseyTokens.Spacing1} / 2) ${odysseyTokens.Spacing1}`,
974
+ fontFamily:
975
+ "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
976
+ fontSize: odysseyTokens.TypographySizeSubordinate,
977
+ fontWeight: odysseyTokens.Spacing5,
978
+ lineHeight: odysseyTokens.TypographyLineHeightHeading5,
979
+ boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`,
980
+ },
981
+
982
+ mark: {
983
+ backgroundColor: odysseyTokens.PaletteWarningHighlight,
984
+
985
+ "&::before, &::after": {
986
+ clip: "rect(0 0 0 0)",
987
+ clipPath: "inset(50%)",
988
+ height: "1px",
989
+ overflow: "hidden",
990
+ position: "absolute",
991
+ whiteSpace: "nowrap",
992
+ width: "1px",
993
+ },
808
994
 
809
- "&::after": {
810
- content: "attr(data-a11y-end)",
811
- },
812
- },
995
+ "&::before": {
996
+ content: "attr(data-a11y-start)",
997
+ },
813
998
 
814
- kbd: {
815
- display: "inline-block",
816
- minWidth: `calc(${theme.typography.subtitle1.fontSize} * ${theme.typography.h5.lineHeight})`,
817
- borderStyle: theme.mixins.borderStyle,
818
- borderWidth: theme.mixins.borderWidth,
819
- borderRadius: theme.mixins.borderRadius,
820
- borderColor: theme.palette.grey[200],
821
- backgroundColor: theme.palette.grey[50],
822
- padding: `calc(${theme.spacing(1)} / 2) ${theme.spacing(1)}`,
823
- fontFamily:
824
- "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
825
- fontSize: theme.typography.subtitle1.fontSize,
826
- fontWeight: theme.typography.fontWeightRegular,
827
- lineHeight: theme.typography.h5.lineHeight,
828
- boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`,
829
- },
999
+ "&::after": {
1000
+ content: "attr(data-a11y-end)",
1001
+ },
1002
+ },
830
1003
 
831
- mark: {
832
- backgroundColor: theme.palette.warning.light,
1004
+ "p:not([class])": {
1005
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
1006
+ marginBlockStart: 0,
1007
+ marginBlockEnd: odysseyTokens.Spacing4, // Token?
833
1008
 
834
- "&::before, &::after": {
835
- clip: "rect(0 0 0 0)",
836
- clipPath: "inset(50%)",
837
- height: "1px",
838
- overflow: "hidden",
839
- position: "absolute",
840
- whiteSpace: "nowrap",
841
- width: "1px",
1009
+ "&:last-child": {
1010
+ marginBlockEnd: 0,
1011
+ },
842
1012
  },
843
1013
 
844
- "&::before": {
845
- content: "attr(data-a11y-start)",
1014
+ pre: {
1015
+ marginInline: 0,
1016
+ marginBlockStart: 0,
1017
+ marginBlockEnd: odysseyTokens.Spacing4,
1018
+ fontFamily: odysseyTokens.TypographyFamilyMono,
1019
+ whiteSpace: "pre-wrap",
1020
+ tabSize: 2,
1021
+
1022
+ "&:last-child": {
1023
+ marginBlockEnd: 0,
1024
+ },
846
1025
  },
847
1026
 
848
- "&::after": {
849
- content: "attr(data-a11y-end)",
1027
+ ul: {
1028
+ [`&.${stackClasses.root}`]: {
1029
+ padding: 0,
1030
+ margin: 0,
1031
+ },
850
1032
  },
851
- },
852
1033
 
853
- "p:not([class])": {
854
- maxWidth: theme.mixins.maxWidth,
855
- marginBlockStart: 0,
856
- marginBlockEnd: theme.spacing(4),
1034
+ "ul:not([class]), ol:not([class])": {
1035
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
1036
+ marginBlockStart: 0,
1037
+ marginBlockEnd: odysseyTokens.Spacing4,
1038
+ // Unique padding to get desire appearance with "outside" position
1039
+ paddingInlineStart: "2ch",
857
1040
 
858
- "&:last-child": {
859
- marginBlockEnd: 0,
1041
+ ol: {
1042
+ listStyleType: "lower-alpha",
1043
+
1044
+ ol: {
1045
+ listStyleType: "lower-roman",
1046
+ },
1047
+ },
1048
+
1049
+ "&:last-child": {
1050
+ marginBlockEnd: 0,
1051
+ },
860
1052
  },
861
- },
862
1053
 
863
- pre: {
864
- marginInline: 0,
865
- marginBlockStart: 0,
866
- marginBlockEnd: theme.spacing(4),
867
- fontFamily:
868
- "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
869
- whiteSpace: "pre-wrap",
870
- tabSize: 2,
1054
+ "li:not([class])": {
1055
+ marginBlockEnd: odysseyTokens.Spacing2,
1056
+ paddingInlineStart: odysseyTokens.Spacing1,
871
1057
 
872
- "&:last-child": {
873
- marginBlockEnd: 0,
1058
+ "ul, ol": {
1059
+ marginBlockStart: odysseyTokens.Spacing2,
1060
+ marginInlineStart: `calc(${odysseyTokens.Spacing6} - 2ch)`,
1061
+ },
874
1062
  },
875
- },
876
1063
 
877
- "ul:not([class]), ol:not([class])": {
878
- maxWidth: theme.mixins.maxWidth,
879
- marginBlockStart: 0,
880
- marginBlockEnd: theme.spacing(4),
881
- // Unique padding to get desire appearance with "outside" position
882
- paddingInlineStart: "2ch",
1064
+ q: {
1065
+ quotes: `'"' '"' "'" "'"`,
883
1066
 
884
- ol: {
885
- listStyleType: "lower-alpha",
1067
+ "&::before": {
1068
+ content: "open-quote",
1069
+ },
886
1070
 
887
- ol: {
888
- listStyleType: "lower-roman",
1071
+ "&::after": {
1072
+ content: "close-quote",
889
1073
  },
890
1074
  },
891
1075
 
892
- "&:last-child": {
893
- marginBlockEnd: 0,
1076
+ s: {
1077
+ textDecoration: "line-through",
894
1078
  },
895
- },
896
1079
 
897
- "li:not([class])": {
898
- marginBlockEnd: theme.spacing(2),
899
- paddingInlineStart: theme.spacing(1),
1080
+ samp: {
1081
+ padding: "0 0.5ch",
1082
+ backgroundColor: odysseyTokens.HueNeutral100,
1083
+ boxShadow: `0 1px 0 ${odysseyTokens.HueNeutral50}`,
1084
+ fontSize: odysseyTokens.TypographySizeBody,
900
1085
 
901
- "ul, ol": {
902
- marginBlockStart: theme.spacing(2),
903
- marginInlineStart: `calc(${theme.spacing(6)} - 2ch)`,
1086
+ kbd: {
1087
+ background: odysseyTokens.HueNeutralWhite,
1088
+ },
904
1089
  },
905
- },
906
1090
 
907
- q: {
908
- quotes: `'"' '"' "'" "'"`,
909
-
910
- "&::before": {
911
- content: "open-quote",
1091
+ small: {
1092
+ fontSize: odysseyTokens.TypographySizeSubordinate,
912
1093
  },
913
1094
 
914
- "&::after": {
915
- content: "close-quote",
1095
+ strong: {
1096
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
916
1097
  },
917
- },
918
-
919
- s: {
920
- textDecoration: "line-through",
921
- },
922
-
923
- samp: {
924
- padding: "0 0.5ch",
925
- backgroundColor: theme.palette.grey[50],
926
- boxShadow: `0 1px 0 ${theme.palette.grey[50]}`,
927
- fontSize: theme.typography.body1.fontSize,
928
1098
 
929
- kbd: {
930
- background: theme.palette.common.white,
1099
+ sub: {
1100
+ fontSize: odysseyTokens.TypographySizeSubordinate,
1101
+ lineHeight: 1,
1102
+ verticalAlign: "sub",
931
1103
  },
932
- },
933
1104
 
934
- small: {
935
- fontSize: theme.typography.caption.fontSize,
936
- },
1105
+ summary: {
1106
+ marginBlockEnd: odysseyTokens.Spacing2,
1107
+ fontSize: odysseyTokens.TypographySizeBody,
1108
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1109
+ cursor: "default",
937
1110
 
938
- sub: {
939
- fontSize: theme.typography.caption.fontSize,
940
- lineHeight: 1,
941
- verticalAlign: "sub",
942
- },
1111
+ "&:focus-visible": {
1112
+ outlineColor: odysseyTokens.FocusOutlineColorPrimary,
1113
+ outlineOffset: odysseyTokens.FocusOutlineOffsetMain,
1114
+ outlineStyle: odysseyTokens.FocusOutlineStyle,
1115
+ outlineWidth: odysseyTokens.FocusOutlineWidthMain,
1116
+ },
1117
+ },
943
1118
 
944
- summary: {
945
- fontSize: theme.typography.body1.fontSize,
946
- fontWeight: theme.typography.fontWeightBold,
947
- cursor: "default",
1119
+ sup: {
1120
+ fontSize: odysseyTokens.TypographySizeSubordinate,
1121
+ lineHeight: 1,
1122
+ verticalAlign: "super",
1123
+ },
948
1124
 
949
- "&:focus-visible": {
950
- outlineColor: theme.palette.primary.main,
951
- outlineOffset: "2px",
952
- outlineStyle: "solid",
953
- outlineWidth: "2px",
1125
+ var: {
1126
+ fontStyle: "italic",
1127
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
954
1128
  },
955
1129
  },
956
-
957
- sup: {
958
- fontSize: theme.typography.caption.fontSize,
959
- lineHeight: 1,
960
- verticalAlign: "super",
1130
+ },
1131
+ },
1132
+ MuiDialog: {
1133
+ defaultProps: {
1134
+ scroll: "paper",
1135
+ },
1136
+ styleOverrides: {
1137
+ paper: {
1138
+ maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} + (${odysseyTokens.Spacing6} * 2))`,
1139
+ borderRadius: odysseyTokens.BorderRadiusOuter,
1140
+ boxShadow: "none",
1141
+ filter:
1142
+ "drop-shadow(0px 1px 4px rgba(29, 29, 33, 0.08)) drop-shadow(0px 4px 10px rgba(29, 29, 33, 0.08)) drop-shadow(0px 8px 30px rgba(29, 29, 33, 0.1))",
961
1143
  },
1144
+ },
1145
+ },
1146
+ MuiDialogActions: {
1147
+ styleOverrides: {
1148
+ root: {
1149
+ flexWrap: "wrap",
1150
+ gap: odysseyTokens.Spacing2,
1151
+ paddingBlockStart: odysseyTokens.Spacing6,
1152
+ paddingBlockEnd: odysseyTokens.Spacing6,
1153
+ paddingInline: odysseyTokens.Spacing6,
962
1154
 
963
- var: {
964
- fontStyle: "italic",
965
- fontWeight: theme.typography.fontWeightBold,
1155
+ "& > .${ buttonClasses.root }": {
1156
+ margin: "0 !important",
1157
+ },
966
1158
  },
967
- }),
968
- },
969
- },
970
- MuiDialog: {
971
- defaultProps: {
972
- scroll: "paper",
973
- },
974
- styleOverrides: {
975
- paper: ({ theme }) => ({
976
- maxWidth: `calc(${theme.mixins.maxWidth} + (${theme.spacing(6)} * 2))`,
977
- boxShadow: "none",
978
- filter:
979
- "drop-shadow(0px 1px 4px rgba(29, 29, 33, 0.08)) drop-shadow(0px 4px 10px rgba(29, 29, 33, 0.08)) drop-shadow(0px 8px 30px rgba(29, 29, 33, 0.1))",
980
- }),
981
- },
982
- },
983
- MuiDialogActions: {
984
- styleOverrides: {
985
- root: ({ theme }) => ({
986
- paddingBlockStart: theme.spacing(4),
987
- paddingBlockEnd: theme.spacing(6),
988
- paddingInline: theme.spacing(6),
989
- }),
1159
+ },
990
1160
  },
991
- },
992
- MuiDialogContent: {
993
- styleOverrides: {
994
- root: ({ theme, ownerState }) => ({
995
- padding: 0,
996
- paddingBlock: theme.spacing(4),
997
- paddingInline: theme.spacing(6),
998
-
999
- "&:last-child": {
1000
- paddingBlockEnd: theme.spacing(6),
1001
- },
1161
+ MuiDialogContent: {
1162
+ styleOverrides: {
1163
+ root: ({ ownerState }) => ({
1164
+ paddingBlock: 0,
1165
+ paddingInline: odysseyTokens.Spacing6,
1002
1166
 
1003
- ...(ownerState.dividers === false && {
1004
- [`& + .${dialogActionsClasses.root}`]: {
1005
- paddingBlockStart: theme.spacing(4),
1167
+ ...(ownerState.dividers === true && {
1168
+ paddingBlock: odysseyTokens.Spacing6,
1169
+ color: odysseyTokens.HueNeutral600,
1170
+ }),
1171
+
1172
+ ["&:last-child"]: {
1173
+ paddingBlockEnd: odysseyTokens.Spacing6,
1006
1174
  },
1007
1175
  }),
1008
- }),
1009
- },
1010
- },
1011
- MuiDialogContentText: {
1012
- defaultProps: {
1013
- color: "text.primary",
1176
+ },
1014
1177
  },
1015
- styleOverrides: {
1016
- root: ({ theme }) => ({
1017
- marginBlockEnd: theme.spacing(5),
1178
+ MuiDialogContentText: {
1179
+ styleOverrides: {
1180
+ root: {
1181
+ marginBlockEnd: odysseyTokens.Spacing5,
1182
+ color: odysseyTokens.HueNeutral700,
1018
1183
 
1019
- "&:last-child": {
1020
- marginBlockEnd: "0",
1021
- },
1022
- }),
1023
- },
1024
- },
1025
- MuiDialogTitle: {
1026
- defaultProps: {
1027
- component: "h1",
1028
- variant: "h5",
1029
- },
1030
- styleOverrides: {
1031
- root: ({ theme }) => ({
1032
- display: "flex",
1033
- justifyContent: "space-between",
1034
- alignItems: "center",
1035
- marginBlockEnd: 0,
1036
- padding: 0,
1037
- paddingBlockStart: theme.spacing(5),
1038
- paddingBlockEnd: theme.spacing(4),
1039
- paddingInline: theme.spacing(6),
1040
- }),
1041
- },
1042
- },
1043
- MuiFormControl: {
1044
- defaultProps: {
1045
- margin: "normal",
1046
- },
1047
- styleOverrides: {
1048
- root: ({ ownerState, theme }) => ({
1049
- width: "100%",
1050
- maxWidth: "32rem",
1051
- ...(ownerState.margin === "normal" && {
1052
- marginTop: 0,
1053
- marginBottom: theme.spacing(5),
1054
1184
  "&:last-child": {
1055
- marginBottom: 0,
1185
+ marginBlockEnd: "0",
1056
1186
  },
1057
- }),
1058
- ...(ownerState.margin === "dense" && {
1059
- marginTop: 0,
1060
- marginBottom: theme.spacing(5),
1061
- "&:last-child": {
1062
- marginBottom: 0,
1187
+ },
1188
+ },
1189
+ },
1190
+ MuiDialogTitle: {
1191
+ defaultProps: {
1192
+ component: "h1",
1193
+ variant: "h5",
1194
+ },
1195
+ styleOverrides: {
1196
+ root: {
1197
+ display: "flex",
1198
+ justifyContent: "space-between",
1199
+ alignItems: "center",
1200
+ marginBlockEnd: 0,
1201
+ padding: 0,
1202
+ paddingBlockStart: odysseyTokens.Spacing5,
1203
+ paddingBlockEnd: odysseyTokens.Spacing4,
1204
+ paddingInline: odysseyTokens.Spacing6,
1205
+ fontFamily: odysseyTokens.TypographyFamilyHeading,
1206
+
1207
+ [`.${buttonClasses.root}`]: {
1208
+ // Pull close button by inline padding amount
1209
+ marginInlineEnd: `-${odysseyTokens.Spacing3}`,
1063
1210
  },
1064
- }),
1065
- ...(ownerState.fullWidth && {
1066
- maxWidth: "100%",
1067
- }),
1068
- }),
1211
+ },
1212
+ },
1069
1213
  },
1070
- },
1071
- MuiFormControlLabel: {
1072
- styleOverrides: {
1073
- root: ({ theme, ownerState }) => ({
1074
- gap: theme.spacing(2),
1075
- marginInlineStart: 0,
1076
- marginInlineEnd: 0, // used for row presentation of radio/checkbox
1077
- ...(ownerState.labelPlacement === "start" && {
1078
- marginInlineStart: 0, // used for row presentation of radio/checkbox
1079
- marginInlineEnd: 0,
1080
- }),
1081
- ...(ownerState.labelPlacement === "top" && {
1082
- marginInlineStart: 0,
1214
+ MuiFormControl: {
1215
+ defaultProps: {
1216
+ margin: "normal",
1217
+ },
1218
+ styleOverrides: {
1219
+ root: ({ ownerState }) => ({
1220
+ width: "100%",
1221
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
1222
+ ...(ownerState.margin === "normal" && {
1223
+ marginTop: 0,
1224
+ marginBottom: odysseyTokens.Spacing4,
1225
+ "&:last-child": {
1226
+ marginBottom: 0,
1227
+ },
1228
+ }),
1229
+ ...(ownerState.margin === "dense" && {
1230
+ marginTop: 0,
1231
+ marginBottom: odysseyTokens.Spacing5,
1232
+ "&:last-child": {
1233
+ marginBottom: 0,
1234
+ },
1235
+ }),
1236
+ ...(ownerState.fullWidth && {
1237
+ maxWidth: "100%",
1238
+ }),
1083
1239
  }),
1084
- ...(ownerState.labelPlacement === "bottom" && {
1240
+ },
1241
+ },
1242
+ MuiFormControlLabel: {
1243
+ styleOverrides: {
1244
+ root: ({ ownerState }) => ({
1245
+ gap: odysseyTokens.Spacing2,
1085
1246
  marginInlineStart: 0,
1086
- }),
1087
- "&:not(:last-child)": {
1088
- marginBottom: theme.spacing(2),
1089
- },
1090
- "&.Mui-disabled": {
1091
- pointerEvents: "none",
1092
- },
1093
- //[`&:hover ${radioClasses.root}:not(${radioClasses.checked})`]: {
1094
- //color: theme.palette.text.primary,
1095
- //},
1096
- "&:hover .MuiRadio-root, &:hover .MuiCheckbox-root": {
1097
- color: theme.palette.text.primary,
1098
- },
1099
- "&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked":
1100
- {
1101
- color: theme.palette.primary.dark,
1247
+ marginInlineEnd: 0, // used for row presentation of radio/checkbox
1248
+ ...(ownerState.labelPlacement === "start" && {
1249
+ marginInlineStart: 0, // used for row presentation of radio/checkbox
1250
+ marginInlineEnd: 0,
1251
+ }),
1252
+ ...(ownerState.labelPlacement === "top" && {
1253
+ marginInlineStart: 0,
1254
+ }),
1255
+ ...(ownerState.labelPlacement === "bottom" && {
1256
+ marginInlineStart: 0,
1257
+ }),
1258
+ "&:not(:last-child)": {
1259
+ marginBottom: odysseyTokens.Spacing2,
1102
1260
  },
1103
- "&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root":
1104
- {
1105
- color: theme.palette.error.dark,
1261
+ "&.Mui-disabled": {
1262
+ pointerEvents: "none",
1106
1263
  },
1107
- "&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked":
1108
- {
1109
- color: theme.palette.error.dark,
1264
+ [`&:hover .${radioClasses.root}, &:hover .${checkboxClasses.root}`]: {
1265
+ color: odysseyTokens.TypographyColorBody,
1110
1266
  },
1111
- }),
1112
- },
1113
- },
1114
- MuiFormHelperText: {
1115
- defaultProps: {
1116
- variant: "standard",
1117
- },
1118
- styleOverrides: {
1119
- root: ({ theme }) => ({
1120
- fontSize: theme.typography.subtitle1.fontSize,
1121
- lineHeight: "1.33333333",
1122
- marginBlockStart: theme.spacing(2),
1123
- ".MuiFormLabel-root + &": {
1124
- marginBlockStart: `-${theme.spacing(1)}`,
1125
- color: theme.palette.text.secondary,
1126
- },
1127
- marginBlockEnd: theme.spacing(2),
1128
- "&:last-child": {
1129
- marginBlockEnd: 0,
1267
+ [`&:hover .${radioClasses.root}.Mui-checked, &:hover .${checkboxClasses.root}.Mui-checked`]:
1268
+ {
1269
+ color: odysseyTokens.PalettePrimaryDark,
1270
+ },
1271
+ [`&.Mui-error:hover .${radioClasses.root}, &.Mui-error:hover .${checkboxClasses.root}`]:
1272
+ {
1273
+ color: odysseyTokens.PaletteDangerDark,
1274
+ },
1275
+ [`&.Mui-error:hover .${radioClasses.root}.Mui-checked, &.Mui-error:hover .${checkboxClasses.root}.Mui-checked`]:
1276
+ {
1277
+ color: odysseyTokens.PaletteDangerDark,
1278
+ },
1279
+ }),
1280
+ label: {
1281
+ gap: odysseyTokens.Spacing1,
1130
1282
  },
1131
- textAlign: "start",
1132
- }),
1283
+ asterisk: () => ({
1284
+ display: "none",
1285
+ }),
1286
+ },
1133
1287
  },
1134
- },
1135
- MuiFormLabel: {
1136
- styleOverrides: {
1137
- root: ({ theme }) => ({
1138
- color: theme.palette.text.primary,
1139
- lineHeight: theme.typography.ui.lineHeight,
1140
- fontSize: "1rem",
1141
- fontWeight: 600,
1142
- marginBottom: theme.spacing(2),
1143
- "&.Mui-focused, &.Mui-error, &.Mui-disabled": {
1144
- color: theme.palette.text.primary,
1288
+ MuiFormHelperText: {
1289
+ defaultProps: {
1290
+ variant: "standard",
1291
+ },
1292
+ styleOverrides: {
1293
+ root: {
1294
+ fontSize: odysseyTokens.TypographySizeSubordinate,
1295
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
1296
+ marginBlockStart: odysseyTokens.Spacing2,
1297
+ [`.${formLabelClasses.root} + &`]: {
1298
+ marginBlockStart: `-${odysseyTokens.Spacing1}`,
1299
+ color: odysseyTokens.TypographyColorSubordinate,
1300
+ },
1301
+ marginBlockEnd: odysseyTokens.Spacing2,
1302
+ "&:last-child": {
1303
+ marginBlockEnd: 0,
1304
+ },
1305
+ textAlign: "start",
1145
1306
  },
1146
- }),
1307
+ },
1147
1308
  },
1148
- },
1149
- MuiIconButton: {
1150
- styleOverrides: {
1151
- edgeEnd: ({ theme }) => ({
1152
- marginInlineEnd: theme.spacing(1),
1153
- }),
1154
- root: ({ theme }) => ({
1155
- padding: theme.spacing(1),
1156
- fontSize: theme.typography.body1.fontSize,
1157
- backgroundColor: "transparent",
1158
- color: theme.palette.text.primary,
1159
- borderColor: "transparent",
1160
- borderRadius: theme.mixins.borderRadius,
1161
-
1162
- "&:hover, &:focus-visible": {
1163
- backgroundColor: "rgba(29, 29, 33, 0.1)",
1164
- borderColor: "transparent",
1165
- },
1166
- "&:focus-visible": {
1167
- outlineColor: theme.palette.primary.main,
1168
- },
1169
- "&:active": {
1170
- backgroundColor: "rgba(29, 29, 33, 0.2)",
1171
- borderColor: "transparent",
1172
- },
1173
- "&:disabled": {
1174
- backgroundColor: "rgba(235, 235, 237, 0.6)",
1175
- color: theme.palette.text.secondary,
1176
- borderColor: "transparent",
1309
+ MuiFormLabel: {
1310
+ styleOverrides: {
1311
+ root: {
1312
+ alignItems: "center",
1313
+ color: odysseyTokens.TypographyColorBody,
1314
+ display: "inline-flex",
1315
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
1316
+ fontSize: odysseyTokens.TypographySizeBody,
1317
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1318
+ marginBottom: odysseyTokens.Spacing2,
1319
+ "&.Mui-focused, &.Mui-error, &.Mui-disabled": {
1320
+ color: odysseyTokens.TypographyColorBody,
1321
+ },
1322
+ "& > .MuiTypography-root": {
1323
+ margin: "reset",
1324
+ marginInlineStart: odysseyTokens.Spacing1,
1325
+ },
1177
1326
  },
1178
- }),
1179
- },
1180
- },
1181
- MuiInput: {
1182
- defaultProps: {
1183
- disableUnderline: true,
1327
+ },
1184
1328
  },
1185
- styleOverrides: {
1186
- root: {
1187
- "label + &": {
1188
- marginTop: 0,
1329
+ MuiInput: {
1330
+ defaultProps: {
1331
+ disableUnderline: true,
1332
+ },
1333
+ styleOverrides: {
1334
+ root: {
1335
+ "label + &": {
1336
+ marginTop: 0,
1337
+ },
1189
1338
  },
1190
1339
  },
1191
1340
  },
1192
- },
1193
- MuiInputAdornment: {
1194
- styleOverrides: {
1195
- root: ({ theme, ownerState }) => ({
1196
- display: "flex",
1197
- minWidth: "1.25em",
1198
- maxHeight: "unset",
1199
- margin: 0,
1200
- alignItems: "center",
1201
- whiteSpace: "nowrap",
1202
- color: theme.palette.action.active,
1203
- ...(ownerState.position === "start" && {
1204
- marginInlineStart: theme.spacing(2),
1205
- }),
1206
- ...(ownerState.position === "end" && {
1207
- marginInlineEnd: theme.spacing(2),
1208
- }),
1209
- ...(ownerState.disablePointerEvents === true && {
1210
- pointerEvents: "none",
1341
+ MuiInputAdornment: {
1342
+ styleOverrides: {
1343
+ root: ({ ownerState }) => ({
1344
+ display: "flex",
1345
+ minWidth: "1.25em",
1346
+ maxHeight: "unset",
1347
+ margin: 0,
1348
+ alignItems: "center",
1349
+ whiteSpace: "nowrap",
1350
+ color: odysseyTokens.TypographyColorSubordinate,
1351
+ ...(ownerState.position === "start" && {
1352
+ marginInlineStart: odysseyTokens.Spacing2,
1353
+ }),
1354
+ ...(ownerState.position === "end" && {
1355
+ marginInlineEnd: odysseyTokens.Spacing2,
1356
+ }),
1357
+ ...(ownerState.disablePointerEvents === true && {
1358
+ pointerEvents: "none",
1359
+ }),
1211
1360
  }),
1212
- }),
1213
- },
1214
- },
1215
- MuiInputBase: {
1216
- defaultProps: {
1217
- minRows: 3,
1218
- required: true,
1361
+ },
1219
1362
  },
1220
- styleOverrides: {
1221
- root: ({ ownerState, theme }) => ({
1222
- ...theme.typography.body1,
1223
- flex: "1",
1224
- width: "auto",
1225
- color: theme.palette.text.primary,
1226
- lineHeight: theme.typography.ui.lineHeight,
1227
- borderWidth: theme.mixins.borderWidth,
1228
- borderStyle: theme.mixins.borderStyle,
1229
- borderRadius: theme.mixins.borderRadius,
1230
- borderColor: theme.palette.grey[500],
1231
- boxShadow: `0 0 0 0 transparent`,
1232
- backgroundColor: theme.palette.common.white,
1233
- transition: theme.transitions.create(
1234
- ["border-color", "background-color", "box-shadow"],
1235
- {
1236
- duration: theme.transitions.duration.short,
1237
- }
1238
- ),
1239
-
1240
- ...(ownerState.fullWidth && {
1241
- width: "100%",
1242
- }),
1363
+ MuiInputBase: {
1364
+ defaultProps: {
1365
+ minRows: 3,
1366
+ required: true,
1367
+ },
1368
+ styleOverrides: {
1369
+ root: ({ ownerState, theme }) => ({
1370
+ ...theme.typography.body1,
1371
+ flex: "1",
1372
+ width: "auto",
1373
+ color: odysseyTokens.TypographyColorBody,
1374
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
1375
+ borderWidth: odysseyTokens.BorderWidthMain,
1376
+ borderStyle: odysseyTokens.BorderStyleMain,
1377
+ borderRadius: odysseyTokens.BorderRadiusMain,
1378
+ borderColor: odysseyTokens.HueNeutral500,
1379
+ boxShadow: `0 0 0 0 transparent`,
1380
+ backgroundColor: odysseyTokens.HueNeutralWhite,
1381
+ transition: theme.transitions.create(
1382
+ ["border-color", "background-color", "box-shadow"],
1383
+ {
1384
+ duration: odysseyTokens.TransitionDurationMain,
1385
+ }
1386
+ ),
1387
+
1388
+ ...(ownerState.fullWidth && {
1389
+ width: "100%",
1390
+ }),
1243
1391
 
1244
- ...(ownerState.readOnly === true && {
1245
- borderColor: "transparent",
1246
- backgroundColor: theme.palette.grey[50],
1247
- }),
1392
+ ...(ownerState.readOnly === true && {
1393
+ borderColor: "transparent",
1394
+ backgroundColor: odysseyTokens.HueNeutral50,
1395
+ }),
1248
1396
 
1249
- [`&:hover`]: {
1250
- borderColor: theme.palette.grey[900],
1251
- },
1397
+ [`&:hover`]: {
1398
+ borderColor: odysseyTokens.HueNeutral900,
1399
+ },
1252
1400
 
1253
- [`&.${inputBaseClasses.focused}`]: {
1254
- borderColor: theme.palette.primary.main,
1255
- boxShadow: `0 0 0 1px ${theme.palette.primary.main}`,
1256
- outline: "2px solid transparent",
1257
- outlineOffset: "1px",
1258
- },
1401
+ [`&.${inputBaseClasses.focused}`]: {
1402
+ borderColor: odysseyTokens.FocusOutlineColorPrimary,
1403
+ boxShadow: `0 0 0 1px ${odysseyTokens.FocusOutlineColorPrimary}`,
1404
+ outline: `${odysseyTokens.FocusOutlineWidthMain} ${odysseyTokens.FocusOutlineStyle} transparent`,
1405
+ outlineOffset: odysseyTokens.FocusOutlineOffsetTight,
1406
+ },
1259
1407
 
1260
- [`&.${inputBaseClasses.error}`]: {
1261
- borderColor: theme.palette.error.main,
1262
- },
1408
+ [`&.${inputBaseClasses.error}`]: {
1409
+ borderColor: odysseyTokens.BorderColorDangerControl,
1410
+ },
1263
1411
 
1264
- [`&.${inputBaseClasses.error}:hover`]: {
1265
- borderColor: theme.palette.error.dark,
1266
- },
1412
+ [`&.${inputBaseClasses.error}:hover`]: {
1413
+ borderColor: odysseyTokens.BorderColorDangerDark,
1414
+ },
1267
1415
 
1268
- [`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
1269
- borderColor: theme.palette.error.main,
1270
- boxShadow: `0 0 0 1px ${theme.palette.error.main}`,
1271
- },
1416
+ [`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
1417
+ borderColor: odysseyTokens.BorderColorDangerControl,
1418
+ boxShadow: `0 0 0 1px ${odysseyTokens.PaletteDangerMain}`,
1419
+ },
1272
1420
 
1273
- [`&.${inputBaseClasses.disabled}`]: {
1274
- color: theme.palette.text.disabled,
1275
- borderColor: theme.palette.action.disabled,
1276
- pointerEvents: "auto",
1277
- backgroundColor: theme.palette.grey[50],
1278
- cursor: "not-allowed",
1279
- },
1280
- }),
1281
- input: ({ theme }) => ({
1282
- boxSizing: "border-box",
1283
- height: "auto",
1284
- paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
1285
- paddingInline: theme.spacing(3),
1286
- boxShadow: "none",
1287
-
1288
- [`.${inputBaseClasses.disabled} &`]: {
1289
- pointerEvents: "auto",
1290
- cursor: "not-allowed",
1291
- },
1421
+ [`&.${inputBaseClasses.disabled}`]: {
1422
+ color: odysseyTokens.TypographyColorDisabled,
1423
+ borderColor: odysseyTokens.BorderColorDisabled,
1424
+ pointerEvents: "auto",
1425
+ backgroundColor: odysseyTokens.HueNeutral50,
1426
+ cursor: "not-allowed",
1427
+ },
1428
+ }),
1429
+ input: {
1430
+ boxSizing: "border-box",
1431
+ height: "auto",
1432
+ paddingBlock: odysseyTokens.Spacing3,
1433
+ paddingInline: odysseyTokens.Spacing3,
1434
+ boxShadow: "none",
1292
1435
 
1293
- [`.${inputAdornmentClasses.root} + &`]: {
1294
- paddingInlineStart: theme.spacing(2),
1295
- },
1436
+ [`.${inputBaseClasses.disabled} &`]: {
1437
+ pointerEvents: "auto",
1438
+ cursor: "not-allowed",
1439
+ },
1440
+
1441
+ [`.${inputAdornmentClasses.root} + &`]: {
1442
+ paddingInlineStart: odysseyTokens.Spacing2,
1443
+ },
1444
+
1445
+ [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
1446
+ "&::placeholder": {
1447
+ color: odysseyTokens.TypographyColorSubordinate,
1448
+ opacity: "1 !important",
1449
+ },
1450
+ },
1451
+
1452
+ [`&::-webkit-search-cancel-button`]: {
1453
+ display: "none",
1454
+ "-webkit-appearance": "none",
1455
+ "-moz-appearance": "none",
1456
+ },
1296
1457
 
1297
- [`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
1298
- "&::placeholder": {
1299
- color: theme.palette.text.secondary,
1300
- opacity: "1 !important",
1458
+ [`&::-moz-search-cancel-button`]: {
1459
+ display: "none",
1460
+ "-moz-appearance": "none",
1461
+ },
1462
+
1463
+ [`&::-ms-clear`]: {
1464
+ display: "none",
1301
1465
  },
1302
1466
  },
1303
- }),
1304
- },
1305
- },
1306
- MuiInputLabel: {
1307
- defaultProps: {
1308
- disableAnimation: true,
1309
- shrink: false,
1467
+ },
1310
1468
  },
1311
- styleOverrides: {
1312
- root: ({ ownerState }) => ({
1313
- display: "flex",
1314
- justifyContent: "space-between",
1315
- // @ts-expect-error: Incorrect typing in MUI
1316
- ...(ownerState.formControl && {
1317
- position: "initial",
1318
- transform: "none",
1319
- }),
1320
- ...(ownerState.variant === "outlined" && {
1321
- pointerEvents: "initial",
1322
- transform: "none",
1323
- maxWidth: "100%",
1324
- ...(ownerState.size === "small" && {
1469
+ MuiInputLabel: {
1470
+ defaultProps: {
1471
+ disableAnimation: true,
1472
+ shrink: false,
1473
+ },
1474
+ styleOverrides: {
1475
+ root: ({ ownerState }) => ({
1476
+ display: "flex",
1477
+ justifyContent: "space-between",
1478
+ overflow: "unset",
1479
+ whiteSpace: "unset",
1480
+ // @ts-expect-error: Incorrect typing in MUI
1481
+ ...(ownerState.formControl && {
1482
+ position: "initial",
1325
1483
  transform: "none",
1326
1484
  }),
1485
+ ...(ownerState.variant === "outlined" && {
1486
+ pointerEvents: "initial",
1487
+ transform: "none",
1488
+ maxWidth: "100%",
1489
+ ...(ownerState.size === "small" && {
1490
+ transform: "none",
1491
+ }),
1492
+ }),
1493
+ [`& > .${typographyClasses.root}`]: {
1494
+ lineHeight: "unset",
1495
+ },
1327
1496
  }),
1328
- "& > .MuiTypography-root": {
1329
- lineHeight: "unset",
1330
- },
1331
- }),
1497
+ },
1332
1498
  },
1333
- },
1334
- MuiLink: {
1335
- styleOverrides: {
1336
- root: ({ theme }) => ({
1337
- color: theme.palette.primary.main,
1338
- textDecoration: "underline",
1339
- cursor: "pointer",
1340
-
1341
- "&:hover": {
1342
- color: theme.palette.primary.dark,
1499
+ MuiLink: {
1500
+ styleOverrides: {
1501
+ root: {
1502
+ color: odysseyTokens.TypographyColorAction,
1343
1503
  textDecoration: "underline",
1344
- },
1345
-
1346
- "&:focus-visible": {
1347
- outlineColor: theme.palette.primary.main,
1348
- outlineOffset: "2px",
1349
- outlineStyle: "solid",
1350
- outlineWidth: "1px",
1351
- },
1504
+ cursor: "pointer",
1352
1505
 
1353
- "&:visited": {
1354
- color: theme.palette.primary.main,
1355
- },
1356
-
1357
- ".Link-indicator, .Link-icon": {
1358
- display: "inline-block",
1359
- height: "1em",
1360
- lineHeight: 1,
1361
- },
1362
-
1363
- ".Link-indicator": {
1364
- marginInlineStart: theme.spacing(2),
1365
- },
1366
-
1367
- ".Link-icon": {
1368
- marginInlineEnd: theme.spacing(2),
1369
- },
1370
- svg: {
1371
- fontSize: "1rem",
1372
- height: "1em",
1373
- position: "relative",
1374
- top: "-0.0625em",
1375
- verticalAlign: "middle",
1376
- width: "1em",
1377
- },
1378
- }),
1379
- },
1380
- variants: [
1381
- {
1382
- props: { variant: "monochrome" },
1383
- style: ({ theme }) => ({
1384
- color: theme.palette.text.primary,
1385
- textDecoration: "underline",
1506
+ "&:visited": {
1507
+ color: odysseyTokens.TypographyColorAction,
1508
+ },
1386
1509
 
1387
1510
  "&:hover": {
1388
- color: theme.palette.text.secondary,
1511
+ color: odysseyTokens.PalettePrimaryDark,
1512
+ textDecoration: "underline",
1389
1513
  },
1390
1514
 
1391
1515
  "&:focus-visible": {
1392
- outlineColor: theme.palette.primary.main,
1393
- outlineOffset: "2px",
1394
- outlineStyle: "solid",
1395
- outlineWidth: "1px",
1516
+ borderRadius: odysseyTokens.BorderRadiusMain,
1517
+ outlineColor: odysseyTokens.FocusOutlineColorPrimary,
1518
+ outlineOffset: odysseyTokens.FocusOutlineOffsetMain,
1519
+ outlineStyle: odysseyTokens.FocusOutlineStyle,
1520
+ outlineWidth: odysseyTokens.FocusOutlineWidthTight,
1521
+ textDecoration: "none",
1396
1522
  },
1397
1523
 
1398
- "&:visited": {
1399
- color: theme.palette.text.primary,
1524
+ ".Link-indicator, .Link-icon": {
1525
+ display: "inline-block",
1526
+ height: "1em",
1527
+ lineHeight: 1,
1400
1528
  },
1401
- }),
1402
- },
1403
- ],
1404
- },
1405
- MuiListItem: {
1406
- styleOverrides: {
1407
- root: {
1408
- textAlign: "start",
1529
+
1530
+ ".Link-indicator": {
1531
+ marginInlineStart: odysseyTokens.Spacing2,
1532
+ },
1533
+
1534
+ ".Link-icon": {
1535
+ marginInlineEnd: odysseyTokens.Spacing2,
1536
+ },
1537
+ svg: {
1538
+ fontSize: "1em",
1539
+ height: "1em",
1540
+ position: "relative",
1541
+ insetBlockStart: "-0.0625em",
1542
+ verticalAlign: "middle",
1543
+ width: "1em",
1544
+ },
1545
+ },
1409
1546
  },
1547
+ variants: [
1548
+ {
1549
+ props: { variant: "monochrome" },
1550
+ style: {
1551
+ color: odysseyTokens.TypographyColorBody,
1552
+ textDecoration: "underline",
1553
+
1554
+ "&:visited": {
1555
+ color: odysseyTokens.TypographyColorBody,
1556
+ },
1557
+
1558
+ "&:hover": {
1559
+ color: odysseyTokens.TypographyColorSubordinate,
1560
+ },
1561
+ },
1562
+ },
1563
+ ],
1410
1564
  },
1411
- },
1412
- MuiListSubheader: {
1413
- styleOverrides: {
1414
- root: ({ theme }) => ({
1415
- paddingBlock: theme.spacing(2),
1416
- paddingInline: theme.spacing(4),
1417
- fontSize: theme.typography.caption.fontSize,
1418
- fontWeight: theme.typography.fontWeightBold,
1419
- lineHeight: theme.typography.caption.lineHeight,
1420
- color: theme.palette.text.secondary,
1421
- textTransform: "uppercase",
1422
- }),
1565
+ MuiListItem: {
1566
+ styleOverrides: {
1567
+ root: {
1568
+ textAlign: "start",
1569
+ },
1570
+ },
1423
1571
  },
1424
- },
1425
- MuiMenuItem: {
1426
- styleOverrides: {
1427
- root: ({ theme, ownerState }) => ({
1428
- gap: theme.spacing(2),
1429
- minHeight: "unset",
1430
- paddingBlock: theme.spacing(3),
1431
-
1432
- "&:hover": {
1433
- textDecoration: "none",
1434
- backgroundColor: theme.palette.grey[100],
1435
-
1436
- // Reset on touch devices, it doesn't add specificity
1437
- "@media (hover: none)": {
1438
- backgroundColor: "transparent",
1439
- },
1572
+ MuiListSubheader: {
1573
+ styleOverrides: {
1574
+ root: {
1575
+ paddingBlock: odysseyTokens.Spacing2,
1576
+ paddingInline: odysseyTokens.Spacing4,
1577
+ fontSize: odysseyTokens.TypographySizeSubordinate,
1578
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1579
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
1580
+ color: odysseyTokens.TypographyColorSubordinate,
1581
+ textTransform: "uppercase",
1440
1582
  },
1441
-
1442
- [`&.${menuItemClasses.root}-destructive`]: {
1443
- color: theme.palette.error.main,
1583
+ },
1584
+ },
1585
+ MuiMenu: {
1586
+ styleOverrides: {
1587
+ list: {
1588
+ paddingBlock: odysseyTokens.Spacing2,
1589
+ paddingInline: odysseyTokens.Spacing2,
1590
+ borderRadius: odysseyTokens.BorderRadiusMain,
1444
1591
  },
1592
+ },
1593
+ },
1594
+ MuiMenuItem: {
1595
+ styleOverrides: {
1596
+ root: ({ ownerState }) => ({
1597
+ gap: odysseyTokens.Spacing2,
1598
+ minHeight: "unset",
1599
+ paddingBlock: odysseyTokens.Spacing3,
1600
+ borderRadius: odysseyTokens.BorderRadiusTight,
1445
1601
 
1446
- [`&.${menuItemClasses.selected}`]: {
1447
- backgroundColor: "transparent",
1448
- color: theme.palette.primary.main,
1602
+ [`& .${formControlLabelClasses.root}`]: {
1603
+ gap: "unset",
1604
+ },
1449
1605
 
1450
1606
  "&:hover": {
1451
- backgroundColor: theme.palette.primary.lighter,
1607
+ textDecoration: "none",
1608
+ backgroundColor: odysseyTokens.HueNeutral100,
1452
1609
 
1610
+ // Reset on touch devices, it doesn't add specificity
1453
1611
  "@media (hover: none)": {
1454
- backgroundColor: `rgba(${theme.palette.primary.main} / ${theme.palette.action.selectedOpacity})`,
1612
+ backgroundColor: "transparent",
1455
1613
  },
1456
1614
  },
1457
- },
1458
1615
 
1459
- ...(!ownerState.disableGutters && {
1460
- paddingInline: theme.spacing(4),
1461
- }),
1616
+ [`&.${menuItemClasses.root}-destructive`]: {
1617
+ color: odysseyTokens.TypographyColorDanger,
1618
+ },
1462
1619
 
1463
- ...(ownerState.divider && {
1464
- borderBlockEnd: `1px solid ${theme.palette.divider}`,
1465
- }),
1620
+ [`&.${menuItemClasses.selected}`]: {
1621
+ backgroundColor: "transparent",
1622
+ color: odysseyTokens.TypographyColorAction,
1466
1623
 
1467
- [`&.${menuItemClasses.disabled}`]: {
1468
- opacity: 1,
1469
- color: theme.palette.text.disabled,
1470
- },
1624
+ "&:hover": {
1625
+ backgroundColor: odysseyTokens.PalettePrimaryLighter,
1471
1626
 
1472
- [`& + .${dividerClasses.root}`]: {
1473
- marginBlock: theme.spacing(1),
1474
- },
1627
+ "@media (hover: none)": {
1628
+ backgroundColor: odysseyTokens.PalettePrimaryLighter,
1629
+ },
1630
+ },
1631
+ },
1475
1632
 
1476
- [`& .${listItemTextClasses.root}`]: {
1477
- marginBlock: 0,
1478
- },
1633
+ ...(!ownerState.disableGutters && {
1634
+ paddingInline: odysseyTokens.Spacing4,
1635
+ }),
1636
+
1637
+ ...(ownerState.divider && {
1638
+ borderBlockEnd: `1px solid ${odysseyTokens.BorderColorDisplay}`,
1639
+ }),
1640
+
1641
+ [`&.${menuItemClasses.disabled}`]: {
1642
+ opacity: 1,
1643
+ color: odysseyTokens.TypographyColorDisabled,
1644
+ },
1645
+
1646
+ [`& + .${dividerClasses.root}`]: {
1647
+ marginBlock: odysseyTokens.Spacing1,
1648
+ },
1649
+
1650
+ [`& .${listItemTextClasses.root}`]: {
1651
+ marginBlock: 0,
1652
+ },
1479
1653
 
1480
- [`& .${listItemIconClasses.root}`]: {
1654
+ [`& .${listItemIconClasses.root}`]: {
1655
+ minWidth: "unset",
1656
+ },
1657
+ }),
1658
+ },
1659
+ },
1660
+ MuiListItemIcon: {
1661
+ styleOverrides: {
1662
+ root: {
1481
1663
  minWidth: "unset",
1664
+ color: "inherit",
1482
1665
  },
1483
- }),
1484
- },
1485
- },
1486
- MuiListItemIcon: {
1487
- styleOverrides: {
1488
- root: {
1489
- minWidth: "unset",
1490
- color: "inherit",
1491
1666
  },
1492
1667
  },
1493
- },
1494
- MuiNativeSelect: {
1495
- defaultProps: {
1496
- variant: "standard",
1497
- },
1498
- styleOverrides: {
1499
- select: {
1500
- "&:focus": {
1501
- backgroundColor: "transparent",
1668
+ MuiNativeSelect: {
1669
+ defaultProps: {
1670
+ variant: "standard",
1671
+ },
1672
+ styleOverrides: {
1673
+ select: {
1674
+ "&:focus": {
1675
+ backgroundColor: "transparent",
1676
+ },
1677
+ },
1678
+ icon: {
1679
+ right: "unset",
1680
+ insetInlineEnd: odysseyTokens.Spacing3,
1681
+ color: odysseyTokens.TypographyColorBody,
1502
1682
  },
1503
1683
  },
1504
- icon: ({ theme }) => ({
1505
- insetInlineEnd: theme.spacing(3),
1506
- color: theme.palette.text.primary,
1507
- }),
1508
- },
1509
- },
1510
- MuiPopover: {
1511
- styleOverrides: {
1512
- paper: ({ theme }) => ({
1513
- marginBlockStart: theme.spacing(1),
1514
- borderWidth: theme.mixins.borderWidth,
1515
- borderStyle: theme.mixins.borderStyle,
1516
- borderColor: theme.palette.grey[200],
1517
- }),
1518
- },
1519
- },
1520
- MuiRadio: {
1521
- defaultProps: {
1522
- size: "small",
1523
- icon: <></>,
1524
- checkedIcon: <></>,
1525
1684
  },
1526
- styleOverrides: {
1527
- root: ({ theme }) => ({
1528
- width: `${theme.typography.ui.lineHeight}em`,
1529
- height: `${theme.typography.ui.lineHeight}em`,
1530
- borderRadius: `${theme.typography.ui.lineHeight}em`,
1531
- borderWidth: theme.mixins.borderWidth,
1532
- borderStyle: theme.mixins.borderStyle,
1533
- borderColor: theme.palette.grey[500],
1534
- padding: 0,
1535
- boxShadow: `0 0 0 0 transparent`,
1536
- transition: theme.transitions.create(
1537
- ["border-color", "background-color", "box-shadow"],
1538
- {
1539
- duration: theme.transitions.duration.short,
1540
- }
1541
- ),
1542
-
1543
- "&::before": {
1544
- content: "''",
1545
- position: "absolute",
1546
- width: "0.5em",
1547
- height: "0.5em",
1548
- borderRadius: "50%",
1549
- backgroundColor: "transparent",
1550
- transition: theme.transitions.create(["background-color"], {
1551
- duration: theme.transitions.duration.short,
1552
- }),
1685
+ MuiPopover: {
1686
+ styleOverrides: {
1687
+ paper: {
1688
+ marginBlockStart: odysseyTokens.Spacing1,
1689
+ borderWidth: odysseyTokens.BorderWidthMain,
1690
+ borderStyle: odysseyTokens.BorderStyleMain,
1691
+ borderColor: odysseyTokens.HueNeutral200,
1553
1692
  },
1693
+ },
1694
+ },
1695
+ MuiRadio: {
1696
+ defaultProps: {
1697
+ size: "small",
1698
+ icon: <></>,
1699
+ checkedIcon: <></>,
1700
+ },
1701
+ styleOverrides: {
1702
+ root: ({ theme }) => ({
1703
+ width: `${odysseyTokens.TypographyLineHeightUi}em`,
1704
+ height: `${odysseyTokens.TypographyLineHeightUi}em`,
1705
+ borderRadius: `${odysseyTokens.TypographyLineHeightUi}em`,
1706
+ borderWidth: odysseyTokens.BorderWidthMain,
1707
+ borderStyle: odysseyTokens.BorderStyleMain,
1708
+ borderColor: odysseyTokens.HueNeutral500,
1709
+ padding: 0,
1710
+ boxShadow: `0 0 0 0 transparent`,
1711
+ transition: theme.transitions.create(
1712
+ ["border-color", "background-color", "box-shadow"],
1713
+ {
1714
+ duration: odysseyTokens.TransitionDurationMain,
1715
+ }
1716
+ ),
1554
1717
 
1555
- ".MuiFormControlLabel-root:hover > &": {
1556
- backgroundColor: "transparent",
1557
- borderColor: theme.palette.grey[900],
1558
- },
1559
- ".Mui-error:hover > &": {
1560
- backgroundColor: "transparent",
1561
- borderColor: theme.palette.error.dark,
1562
1718
  "&::before": {
1563
- backgroundColor: theme.palette.error.dark,
1719
+ content: "''",
1720
+ position: "absolute",
1721
+ width: "0.5em",
1722
+ height: "0.5em",
1723
+ borderRadius: "50%",
1724
+ backgroundColor: "transparent",
1725
+ transition: theme.transitions.create(["background-color"], {
1726
+ duration: odysseyTokens.TransitionDurationMain,
1727
+ }),
1564
1728
  },
1565
- },
1566
- ".Mui-error > &": {
1567
- borderColor: theme.palette.error.main,
1568
1729
 
1730
+ [`.${formControlLabelClasses.root}:hover > &`]: {
1731
+ backgroundColor: "transparent",
1732
+ borderColor: odysseyTokens.HueNeutral900,
1733
+ },
1734
+ ".Mui-error:hover > &": {
1735
+ backgroundColor: "transparent",
1736
+ borderColor: odysseyTokens.BorderColorDangerDark,
1737
+ "&::before": {
1738
+ backgroundColor: odysseyTokens.PaletteDangerDark,
1739
+ },
1740
+ },
1741
+ ".Mui-error > &": {
1742
+ borderColor: odysseyTokens.BorderColorDangerControl,
1743
+
1744
+ "&.Mui-focusVisible": {
1745
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`,
1746
+ },
1747
+ },
1569
1748
  "&.Mui-focusVisible": {
1570
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`,
1749
+ borderColor: odysseyTokens.HueNeutral900,
1750
+ boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
1751
+ outline: "2px solid transparent",
1752
+ outlineOffset: "1px",
1571
1753
  },
1572
- },
1573
- "&.Mui-focusVisible": {
1574
- borderColor: theme.palette.grey[900],
1575
- boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.primary.main}`,
1576
- outline: "2px solid transparent",
1577
- outlineOffset: "1px",
1578
- },
1579
- "&.Mui-checked": {
1580
- position: "relative",
1754
+ "&.Mui-checked": {
1755
+ position: "relative",
1581
1756
 
1582
- "&::before": {
1583
- backgroundColor: theme.palette.primary.main,
1757
+ "&::before": {
1758
+ backgroundColor: odysseyTokens.PalettePrimaryMain,
1759
+ },
1584
1760
  },
1585
- },
1586
- ".Mui-error > &.Mui-checked::before": {
1587
- backgroundColor: theme.palette.error.main,
1588
- },
1589
- "&.Mui-disabled": {
1590
- backgroundColor: theme.palette.grey[50],
1591
- borderColor: theme.palette.grey[300],
1761
+ ".Mui-error > &.Mui-checked::before": {
1762
+ backgroundColor: odysseyTokens.PaletteDangerMain,
1763
+ },
1764
+ "&.Mui-disabled": {
1765
+ backgroundColor: odysseyTokens.HueNeutral50,
1766
+ borderColor: odysseyTokens.HueNeutral300,
1592
1767
 
1593
- "&.Mui-checked::before": {
1594
- backgroundColor: theme.palette.grey[300],
1768
+ "&.Mui-checked::before": {
1769
+ backgroundColor: odysseyTokens.HueNeutral300,
1770
+ },
1595
1771
  },
1596
- },
1597
- }),
1598
- },
1599
- },
1600
- MuiSnackbar: {
1601
- defaultProps: {
1602
- anchorOrigin: {
1603
- vertical: "bottom",
1604
- horizontal: "right",
1772
+ }),
1605
1773
  },
1606
1774
  },
1607
- styleOverrides: {
1608
- root: {
1609
- "&.Toast": {
1610
- position: "static",
1775
+ MuiSnackbar: {
1776
+ defaultProps: {
1777
+ anchorOrigin: {
1778
+ vertical: "bottom",
1779
+ horizontal: "right",
1780
+ },
1781
+ },
1782
+ styleOverrides: {
1783
+ root: {
1784
+ "&.Toast": {
1785
+ position: "static",
1786
+ },
1611
1787
  },
1612
1788
  },
1613
1789
  },
1614
- },
1615
- MuiSelect: {
1616
- defaultProps: {
1617
- variant: "standard",
1618
- IconComponent: ChevronDownIcon,
1619
- },
1620
- styleOverrides: {
1621
- select: ({ theme }) => ({
1622
- paddingBlock: `calc(${theme.spacing(3)} - ${theme.mixins.borderWidth})`,
1623
- paddingInline: theme.spacing(3),
1790
+ MuiSelect: {
1791
+ defaultProps: {
1792
+ variant: "standard",
1793
+ IconComponent: ChevronDownIcon,
1794
+ },
1795
+ styleOverrides: {
1796
+ select: {
1797
+ paddingBlock: odysseyTokens.Spacing3,
1798
+ paddingInline: odysseyTokens.Spacing3,
1624
1799
 
1625
- "&:focus": {
1626
- backgroundColor: "transparent",
1627
- },
1800
+ "&:focus": {
1801
+ backgroundColor: "transparent",
1802
+ },
1628
1803
 
1629
- ".MuiBox-root": {
1630
- display: "flex",
1631
- flexWrap: "wrap",
1632
- gap: theme.spacing(1),
1633
- marginBlock: `-${theme.spacing(2)}`,
1634
- marginInline: `-${theme.spacing(2)}`,
1804
+ ".MuiBox-root": {
1805
+ display: "flex",
1806
+ flexWrap: "wrap",
1807
+ gap: odysseyTokens.Spacing1,
1808
+ marginBlock: `-${odysseyTokens.Spacing2}`,
1809
+ marginInline: `-${odysseyTokens.Spacing2}`,
1810
+ },
1635
1811
  },
1636
- }),
1637
- icon: ({ theme }) => ({
1638
- insetInlineEnd: theme.spacing(3),
1639
- color: theme.palette.text.primary,
1640
- }),
1641
- },
1642
- },
1643
- MuiSvgIcon: {
1644
- defaultProps: {
1645
- fontSize: "inherit",
1646
- color: "inherit",
1812
+ icon: {
1813
+ right: "unset",
1814
+ insetInlineEnd: odysseyTokens.Spacing3,
1815
+ color: odysseyTokens.TypographyColorBody,
1816
+ },
1817
+ },
1647
1818
  },
1648
- styleOverrides: {
1649
- root: ({ theme, ownerState }) => ({
1650
- fontSize: `${theme.typography.ui.lineHeight}rem`,
1651
-
1652
- ...(ownerState.fontSize === "small" && {
1653
- fontSize: `${Number(theme.typography.ui.lineHeight) * 0.75}rem`,
1654
- }),
1819
+ MuiSvgIcon: {
1820
+ defaultProps: {
1821
+ fontSize: "inherit",
1822
+ color: "inherit",
1823
+ },
1824
+ styleOverrides: {
1825
+ root: ({ ownerState }) => ({
1826
+ fontSize: `${odysseyTokens.TypographyLineHeightUi}rem`,
1827
+
1828
+ ...(ownerState.fontSize === "small" && {
1829
+ fontSize: `${
1830
+ Number(odysseyTokens.TypographyLineHeightUi) * 0.75
1831
+ }rem`,
1832
+ }),
1655
1833
 
1656
- ...(ownerState.fontSize === "large" && {
1657
- fontSize: `${Number(theme.typography.ui.lineHeight) * 1.25}rem`,
1834
+ ...(ownerState.fontSize === "large" && {
1835
+ fontSize: `${
1836
+ Number(odysseyTokens.TypographyLineHeightUi) * 1.25
1837
+ }rem`,
1838
+ }),
1658
1839
  }),
1659
- }),
1660
- },
1661
- },
1662
- MuiTab: {
1663
- defaultProps: {
1664
- iconPosition: "start",
1840
+ },
1665
1841
  },
1666
- styleOverrides: {
1667
- root: ({ theme, ownerState }) => ({
1668
- maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
1669
- minWidth: "unset",
1670
- minHeight: "unset",
1671
- padding: `${theme.spacing(4)} 0`,
1672
- lineHeight: theme.typography.body1.lineHeight,
1673
- overflow: "visible",
1674
- ...(ownerState.selected == true && {
1675
- color: theme.palette.text.primary,
1676
- }),
1677
- ...(ownerState.textColor === "inherit" && {
1678
- color: "inherit",
1679
- opacity: 1,
1680
- }),
1681
- ...(ownerState.wrapped && {
1682
- fontSize: theme.typography.subtitle1.fontSize,
1683
- lineHeight: theme.typography.subtitle1.lineHeight,
1684
- }),
1685
- "&:hover": {
1686
- color: theme.palette.primary.main,
1687
- },
1688
- "&:focus-visible::before, &.Mui-focusVisible::before": {
1689
- content: "''",
1690
- position: "absolute",
1691
- top: theme.spacing(4),
1692
- right: `calc(-1 * ${theme.spacing(2)})`,
1693
- bottom: theme.spacing(4),
1694
- left: `calc(-1 * ${theme.spacing(2)})`,
1695
- borderWidth: theme.mixins.borderWidth,
1696
- borderStyle: theme.mixins.borderStyle,
1697
- borderColor: theme.palette.primary.main,
1698
- borderRadius: theme.mixins.borderRadius,
1699
- },
1700
- "&.Mui-selected": {
1701
- color: theme.palette.text.primary,
1702
- fontWeight: theme.typography.fontWeightBold,
1842
+ MuiTab: {
1843
+ defaultProps: {
1844
+ iconPosition: "start",
1845
+ },
1846
+ styleOverrides: {
1847
+ root: ({ ownerState }) => ({
1848
+ maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
1849
+ minWidth: "unset",
1850
+ minHeight: "unset",
1851
+ padding: `${odysseyTokens.Spacing4} 0`,
1852
+ fontFamily: odysseyTokens.TypographyFamilyHeading,
1853
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
1854
+ overflow: "visible",
1855
+
1856
+ ...(ownerState.textColor === "inherit" && {
1857
+ color: "inherit",
1858
+ opacity: 1,
1859
+ }),
1860
+
1861
+ ...(ownerState.selected == true && {
1862
+ color: odysseyTokens.TypographyColorAction,
1863
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1864
+ }),
1865
+
1866
+ ...(ownerState.disabled && {
1867
+ color: odysseyTokens.TypographyColorDisabled,
1868
+ }),
1869
+
1870
+ ...(ownerState.wrapped && {
1871
+ fontSize: odysseyTokens.TypographySizeSubordinate,
1872
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
1873
+ }),
1874
+
1703
1875
  "&:hover": {
1704
- color: theme.palette.primary.main,
1876
+ color: odysseyTokens.TypographyColorAction,
1705
1877
  },
1706
- },
1707
- "&.Mui-disabled": {
1708
- cursor: "not-allowed",
1709
- pointerEvents: "unset",
1710
- "&:hover": {
1711
- color: theme.palette.text.disabled,
1878
+
1879
+ "&:focus-visible::before, &.Mui-focusVisible::before": {
1880
+ content: "''",
1881
+ position: "absolute",
1882
+ insetBlockStart: odysseyTokens.Spacing4,
1883
+ insetInlineEnd: `calc(-1 * ${odysseyTokens.Spacing2})`,
1884
+ insetBlockEnd: odysseyTokens.Spacing4,
1885
+ insetInlineStart: `calc(-1 * ${odysseyTokens.Spacing2})`,
1886
+ borderWidth: odysseyTokens.BorderWidthMain,
1887
+ borderStyle: odysseyTokens.BorderStyleMain,
1888
+ borderColor: odysseyTokens.PalettePrimaryMain,
1889
+ borderRadius: odysseyTokens.BorderRadiusMain,
1712
1890
  },
1713
- },
1714
- }),
1715
- },
1716
- },
1717
- MuiTabPanel: {
1718
- styleOverrides: {
1719
- root: {
1720
- padding: 0,
1891
+
1892
+ "& .MuiTab-iconWrapper": {
1893
+ marginInlineEnd: odysseyTokens.Spacing1,
1894
+ },
1895
+ }),
1721
1896
  },
1722
1897
  },
1723
- },
1724
- MuiTable: {
1725
- styleOverrides: {
1726
- root: ({ theme, ownerState }) => ({
1727
- display: "table",
1728
- width: "auto",
1729
- borderCollapse: "separate",
1730
- borderSpacing: 0,
1731
- border: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
1732
- borderRadius: theme.mixins.borderRadius,
1733
- marginBlock: theme.spacing(0),
1734
- marginInline: theme.spacing(0),
1735
- lineHeight: theme.typography.ui.lineHeight,
1736
-
1737
- "&:only-child": {
1738
- marginBlockEnd: 0,
1898
+ MuiTabPanel: {
1899
+ styleOverrides: {
1900
+ root: {
1901
+ padding: 0,
1739
1902
  },
1740
-
1741
- ...(ownerState.stickyHeader && {
1903
+ },
1904
+ },
1905
+ MuiTable: {
1906
+ styleOverrides: {
1907
+ root: ({ ownerState }) => ({
1908
+ display: "table",
1909
+ width: "auto",
1742
1910
  borderCollapse: "separate",
1743
- }),
1911
+ borderSpacing: 0,
1912
+ border: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.HueNeutral100}`,
1913
+ borderRadius: odysseyTokens.BorderRadiusMain,
1914
+ marginBlock: odysseyTokens.Spacing0,
1915
+ marginInline: odysseyTokens.Spacing0,
1916
+ lineHeight: odysseyTokens.TypographyLineHeightUi,
1917
+
1918
+ "&:only-child": {
1919
+ marginBlockEnd: 0,
1920
+ },
1744
1921
 
1745
- caption: {
1746
- clip: "rect(0 0 0 0)",
1747
- clipPath: "inset(50%)",
1748
- height: "1px",
1749
- overflow: "hidden",
1750
- position: "absolute",
1751
- whiteSpace: "nowrap",
1752
- width: "1px",
1753
- },
1754
- }),
1922
+ ...(ownerState.stickyHeader && {
1923
+ borderCollapse: "separate",
1924
+ }),
1925
+
1926
+ caption: {
1927
+ clip: "rect(0 0 0 0)",
1928
+ clipPath: "inset(50%)",
1929
+ height: "1px",
1930
+ overflow: "hidden",
1931
+ position: "absolute",
1932
+ whiteSpace: "nowrap",
1933
+ width: "1px",
1934
+ },
1935
+ }),
1936
+ },
1755
1937
  },
1756
- },
1757
- MuiTableCell: {
1758
- styleOverrides: {
1759
- root: ({ theme, ownerState }) => ({
1760
- ...theme.typography.body1,
1761
- maxWidth: theme.mixins.maxWidth,
1762
- borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.grey[100]}`,
1763
- textAlign: "start",
1764
- verticalAlign: "baseline",
1765
- padding: "unset",
1766
- paddingBlock: theme.spacing(4),
1767
- paddingInline: theme.spacing(4),
1768
- overflowWrap: "break-word",
1769
-
1770
- [`.${tableRowClasses.root}:hover &[rowspan]`]: {
1771
- backgroundColor: theme.palette.common.white,
1772
- },
1938
+ MuiTableCell: {
1939
+ styleOverrides: {
1940
+ root: ({ theme, ownerState }) => ({
1941
+ ...theme.typography.body1,
1942
+ maxWidth: odysseyTokens.TypographyLineLengthMax,
1943
+ borderBottom: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.HueNeutral100}`,
1944
+ textAlign: "start",
1945
+ verticalAlign: "baseline",
1946
+ padding: "unset",
1947
+ paddingBlock: odysseyTokens.Spacing4,
1948
+ paddingInline: odysseyTokens.Spacing4,
1949
+ overflowWrap: "break-word",
1773
1950
 
1774
- [`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]: {
1775
- borderBottom: 0,
1776
- },
1951
+ [`.${tableRowClasses.root}:hover &[rowspan]`]: {
1952
+ backgroundColor: odysseyTokens.HueNeutralWhite,
1953
+ },
1777
1954
 
1778
- [`.${tableRowClasses.selected} &`]: {
1779
- borderBottomColor: theme.palette.primary.light,
1780
- },
1955
+ [`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]:
1956
+ {
1957
+ borderBottom: 0,
1958
+ },
1781
1959
 
1782
- [`.${tableRowClasses.selected}:hover &`]: {
1783
- borderBottomColor: theme.palette.primary.main,
1784
- },
1960
+ [`.${tableRowClasses.selected} &`]: {
1961
+ borderBottomColor: odysseyTokens.PalettePrimaryLight,
1962
+ },
1785
1963
 
1786
- ...(ownerState.variant === "action" && {
1787
- paddingBlock: 0,
1788
- }),
1964
+ [`.${tableRowClasses.selected}:hover &`]: {
1965
+ borderBottomColor: odysseyTokens.PalettePrimaryMain,
1966
+ },
1789
1967
 
1790
- ...(ownerState.variant === "body" && {
1791
- color: theme.palette.text.primary,
1792
- }),
1968
+ ...(ownerState.variant === "action" && {
1969
+ paddingBlock: 0,
1970
+ }),
1793
1971
 
1794
- ...(ownerState.variant === "date" && {
1795
- whiteSpace: "nowrap",
1796
- }),
1972
+ ...(ownerState.variant === "body" && {
1973
+ color: odysseyTokens.TypographyColorBody,
1974
+ }),
1797
1975
 
1798
- ...(ownerState.variant === "footer" && {
1799
- color: theme.palette.text.secondary,
1800
- lineHeight: theme.typography.body1.lineHeight,
1801
- fontSize: theme.typography.body1.fontSize,
1802
- }),
1976
+ ...(ownerState.variant === "date" && {
1977
+ whiteSpace: "nowrap",
1978
+ }),
1803
1979
 
1804
- [`.${tableHeadClasses.root} &`]: {
1805
- color: theme.palette.text.secondary,
1806
- lineHeight: theme.typography.body1.lineHeight,
1807
- fontWeight: theme.typography.fontWeightBold,
1808
- backgroundColor: theme.palette.grey[50],
1809
- },
1980
+ ...(ownerState.variant === "footer" && {
1981
+ color: odysseyTokens.TypographyColorSubordinate,
1982
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
1983
+ fontSize: odysseyTokens.TypographySizeBody,
1984
+ }),
1810
1985
 
1811
- ...(ownerState.variant === "head" && {
1812
- lineHeight: theme.typography.body1.lineHeight,
1813
- fontWeight: theme.typography.fontWeightBold,
1814
- }),
1986
+ [`.${tableHeadClasses.root} &`]: {
1987
+ color: odysseyTokens.TypographyColorBody,
1988
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
1989
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1990
+ backgroundColor: odysseyTokens.HueNeutral50,
1991
+ },
1815
1992
 
1816
- ...(ownerState.variant === "number" && {
1817
- textAlign: "end",
1818
- fontFeatureSettings: '"lnum", "tnum"',
1819
- }),
1993
+ ...(ownerState.variant === "head" && {
1994
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
1995
+ fontWeight: odysseyTokens.TypographyWeightBodyBold,
1996
+ }),
1820
1997
 
1821
- ...(ownerState.padding === "checkbox" && {
1822
- width: 48, // prevent the checkbox column from growing
1823
- padding: "0 0 0 4px",
1824
- }),
1998
+ ...(ownerState.variant === "number" && {
1999
+ textAlign: "end",
2000
+ fontFeatureSettings: '"lnum", "tnum"',
2001
+ }),
1825
2002
 
1826
- ...(ownerState.padding === "none" && {
1827
- padding: 0,
1828
- }),
2003
+ ...(ownerState.padding === "checkbox" && {
2004
+ width: 48, // prevent the checkbox column from growing
2005
+ padding: "0 0 0 4px",
2006
+ }),
1829
2007
 
1830
- ...(ownerState.align === "left" && {
1831
- textAlign: "start",
1832
- }),
2008
+ ...(ownerState.padding === "none" && {
2009
+ padding: 0,
2010
+ }),
1833
2011
 
1834
- ...(ownerState.align === "center" && {
1835
- textAlign: "center",
1836
- }),
2012
+ ...(ownerState.align === "left" && {
2013
+ textAlign: "start",
2014
+ }),
1837
2015
 
1838
- ...(ownerState.align === "right" && {
1839
- textAlign: "end",
1840
- flexDirection: "row-reverse",
1841
- }),
2016
+ ...(ownerState.align === "center" && {
2017
+ textAlign: "center",
2018
+ }),
2019
+
2020
+ ...(ownerState.align === "right" && {
2021
+ textAlign: "end",
2022
+ flexDirection: "row-reverse",
2023
+ }),
1842
2024
 
1843
- ...(ownerState.align === "justify" && {
1844
- textAlign: "justify",
2025
+ ...(ownerState.align === "justify" && {
2026
+ textAlign: "justify",
2027
+ }),
1845
2028
  }),
1846
- }),
1847
- },
1848
- },
1849
- MuiTableContainer: {
1850
- defaultProps: {
1851
- // @ts-expect-error valid prop and value; MUI TS bug
1852
- component: "figure",
2029
+ },
1853
2030
  },
1854
- styleOverrides: {
1855
- root: ({ theme }) => ({
1856
- width: "unset",
1857
- maxWidth: "100%",
1858
- marginBlockStart: theme.spacing(0),
1859
- marginBlockEnd: theme.spacing(4),
1860
- marginInline: 0,
1861
- overflowX: "auto",
1862
-
1863
- "&:last-child": {
1864
- marginBlock: 0,
2031
+ MuiTableContainer: {
2032
+ defaultProps: {
2033
+ // @ts-expect-error valid prop and value; MUI TS bug
2034
+ component: "figure",
2035
+ },
2036
+ styleOverrides: {
2037
+ root: {
2038
+ width: "unset",
2039
+ maxWidth: "100%",
2040
+ marginBlockStart: odysseyTokens.Spacing0,
2041
+ marginBlockEnd: odysseyTokens.Spacing4,
2042
+ marginInline: 0,
2043
+ overflowX: "auto",
2044
+
2045
+ "&:last-child": {
2046
+ marginBlock: 0,
2047
+ },
1865
2048
  },
1866
- }),
2049
+ },
1867
2050
  },
1868
- },
1869
- MuiTableRow: {
1870
- styleOverrides: {
1871
- root: ({ theme }) => ({
1872
- verticalAlign: "unset",
1873
- [`&.${tableRowClasses.root}:hover`]: {
1874
- backgroundColor: theme.palette.grey[50],
1875
- },
1876
- [`&.${tableRowClasses.selected}`]: {
1877
- backgroundColor: theme.palette.primary.lighter,
1878
- "&:hover": {
1879
- backgroundColor: theme.palette.primary.lighter,
2051
+ MuiTableRow: {
2052
+ styleOverrides: {
2053
+ root: {
2054
+ verticalAlign: "unset",
2055
+ [`&.${tableRowClasses.root}:hover`]: {
2056
+ backgroundColor: odysseyTokens.HueNeutral50,
2057
+ },
2058
+ [`&.${tableRowClasses.selected}`]: {
2059
+ backgroundColor: odysseyTokens.PalettePrimaryLighter,
2060
+ "&:hover": {
2061
+ backgroundColor: odysseyTokens.PalettePrimaryLighter,
2062
+ },
1880
2063
  },
1881
2064
  },
1882
- }),
1883
- },
1884
- },
1885
- MuiTableSortLabel: {
1886
- defaultProps: {
1887
- IconComponent: ArrowDownIcon,
2065
+ },
1888
2066
  },
1889
- styleOverrides: {
1890
- root: ({ theme }) => ({
1891
- cursor: "pointer",
1892
- display: "inline-flex",
1893
- justifyContent: "flex-start",
1894
- flexDirection: "inherit",
1895
- alignItems: "center",
1896
- "&:focus-visible": {
1897
- color: theme.palette.text.primary,
1898
- outlineOffset: theme.spacing(4),
1899
- outlineStyle: "solid",
1900
- outlineWidth: "2px",
1901
- outlineColor: theme.palette.primary.main,
1902
- },
1903
- "&:hover": {
1904
- color: theme.palette.text.primary,
1905
- [`& .${tableSortLabelClasses.icon}`]: {
1906
- opacity: 1,
2067
+ MuiTableSortLabel: {
2068
+ defaultProps: {
2069
+ IconComponent: ArrowDownIcon,
2070
+ },
2071
+ styleOverrides: {
2072
+ root: {
2073
+ cursor: "pointer",
2074
+ display: "inline-flex",
2075
+ justifyContent: "flex-start",
2076
+ flexDirection: "inherit",
2077
+ alignItems: "center",
2078
+ "&:focus-visible": {
2079
+ color: odysseyTokens.TypographyColorBody,
2080
+ outlineOffset: odysseyTokens.Spacing4,
2081
+ outlineStyle: odysseyTokens.FocusOutlineStyle,
2082
+ outlineWidth: odysseyTokens.FocusOutlineWidthMain,
2083
+ outlineColor: odysseyTokens.FocusOutlineColorPrimary,
1907
2084
  },
1908
- },
1909
- [`&.${tableSortLabelClasses.active}`]: {
1910
- color: theme.palette.text.secondary,
1911
- [`& .${tableSortLabelClasses.icon}`]: {
1912
- opacity: 1,
1913
- color: "inherit",
2085
+ "&:hover": {
2086
+ color: odysseyTokens.TypographyColorBody,
2087
+ [`& .${tableSortLabelClasses.icon}`]: {
2088
+ opacity: 1,
2089
+ },
2090
+ },
2091
+ [`&.${tableSortLabelClasses.active}`]: {
2092
+ color: odysseyTokens.TypographyColorSubordinate,
2093
+ [`& .${tableSortLabelClasses.icon}`]: {
2094
+ opacity: 1,
2095
+ color: "inherit",
2096
+ },
1914
2097
  },
1915
2098
  },
1916
- }),
1917
- icon: ({ theme, ownerState }) => ({
1918
- fontSize: "inherit",
1919
- marginInlineEnd: 0,
1920
- marginInlineStart: 0,
1921
- opacity: 0,
1922
- color: "inherit",
1923
- transition: theme.transitions.create(["opacity", "transform"], {
1924
- duration: theme.transitions.duration.shorter,
1925
- }),
1926
- userSelect: "none",
2099
+ icon: ({ theme, ownerState }) => ({
2100
+ fontSize: "inherit",
2101
+ marginInlineEnd: 0,
2102
+ marginInlineStart: 0,
2103
+ opacity: 0,
2104
+ color: "inherit",
2105
+ transition: theme.transitions.create(["opacity", "transform"], {
2106
+ duration: odysseyTokens.TransitionDurationMain,
2107
+ }),
2108
+ userSelect: "none",
1927
2109
 
1928
- [`.${tableCellClasses.alignRight} &`]: {
1929
- marginInlineEnd: theme.spacing(2),
1930
- },
2110
+ [`.${tableCellClasses.alignRight} &`]: {
2111
+ marginInlineEnd: odysseyTokens.Spacing2,
2112
+ },
1931
2113
 
1932
- [`.${tableCellClasses.alignLeft} &`]: {
1933
- marginInlineStart: theme.spacing(2),
1934
- },
2114
+ [`.${tableCellClasses.alignLeft} &`]: {
2115
+ marginInlineStart: odysseyTokens.Spacing2,
2116
+ },
1935
2117
 
1936
- ...(ownerState.direction === "desc" && {
1937
- transform: "rotate(0deg)",
1938
- }),
1939
- ...(ownerState.direction === "asc" && {
1940
- transform: "rotate(180deg)",
2118
+ ...(ownerState.direction === "desc" && {
2119
+ transform: "rotate(0deg)",
2120
+ }),
2121
+ ...(ownerState.direction === "asc" && {
2122
+ transform: "rotate(180deg)",
2123
+ }),
1941
2124
  }),
1942
- }),
1943
- },
1944
- },
1945
- MuiTabs: {
1946
- styleOverrides: {
1947
- root: ({ theme }) => ({
1948
- minHeight: "unset",
1949
- marginBottom: theme.spacing(5),
1950
- }),
1951
- flexContainer: ({ theme }) => ({
1952
- gap: theme.spacing(5),
1953
- borderBottom: `${theme.mixins.borderWidth} ${theme.mixins.borderStyle} ${theme.palette.divider}`,
1954
- }),
1955
- },
1956
- },
1957
- MuiTooltip: {
1958
- defaultProps: {
1959
- arrow: true,
1960
- enterDelay: 500,
1961
- enterNextDelay: 250,
1962
- placement: "top",
2125
+ },
1963
2126
  },
1964
- styleOverrides: {
1965
- tooltip: ({ theme, ownerState }) => ({
1966
- maxWidth: `calc(${theme.mixins.maxWidth} / 2)`,
1967
- paddingBlock: theme.spacing(2),
1968
- paddingInline: theme.spacing(3),
1969
- backgroundColor: theme.palette.grey[900],
1970
- color: theme.palette.common.white,
1971
- fontSize: theme.typography.subtitle1.fontSize,
1972
- lineHeight: theme.typography.subtitle1.lineHeight,
1973
- ...(ownerState.touch === true && {
1974
- paddingBlock: theme.spacing(2),
1975
- paddingInline: theme.spacing(3),
1976
- fontSize: theme.typography.subtitle1.fontSize,
1977
- lineHeight: theme.typography.subtitle1.lineHeight,
1978
- fontWeight: theme.typography.fontWeightRegular,
1979
- }),
1980
- [`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
1981
- transformOrigin: "right center",
1982
- ...(ownerState.isRtl
1983
- ? {
1984
- marginInlineStart: theme.spacing(3),
1985
- ...(ownerState.touch === true && {
1986
- marginInlineStart: theme.spacing(4),
1987
- }),
1988
- }
1989
- : {
1990
- marginInlineEnd: theme.spacing(3),
1991
- ...(ownerState.touch === true && {
1992
- marginInlineEnd: theme.spacing(4),
1993
- }),
1994
- }),
1995
- },
1996
- [`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
1997
- transformOrigin: "left center",
1998
- ...(ownerState.isRtl
1999
- ? {
2000
- marginInlineEnd: theme.spacing(3),
2001
- ...(ownerState.touch === true && {
2002
- marginInlineEnd: theme.spacing(4),
2003
- }),
2004
- }
2005
- : {
2006
- marginInlineStart: theme.spacing(3),
2007
- ...(ownerState.touch === true && {
2008
- marginInlineStart: theme.spacing(4),
2009
- }),
2010
- }),
2127
+ MuiTabs: {
2128
+ defaultProps: {
2129
+ textColor: "inherit",
2130
+ },
2131
+ styleOverrides: {
2132
+ root: {
2133
+ minHeight: "unset",
2134
+ marginBottom: odysseyTokens.Spacing5,
2011
2135
  },
2012
- [`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
2013
- transformOrigin: "center bottom",
2014
- marginBottom: theme.spacing(3),
2015
- ...(ownerState.touch === true && {
2016
- marginBottom: theme.spacing(4),
2017
- }),
2136
+
2137
+ flexContainer: {
2138
+ gap: odysseyTokens.Spacing5,
2139
+ borderBottom: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.BorderColorDisplay}`,
2018
2140
  },
2019
- [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
2020
- transformOrigin: "center top",
2021
- marginTop: theme.spacing(3),
2141
+ },
2142
+ },
2143
+ MuiTooltip: {
2144
+ defaultProps: {
2145
+ arrow: true,
2146
+ enterDelay: 500,
2147
+ enterNextDelay: 250,
2148
+ placement: "top",
2149
+ },
2150
+ styleOverrides: {
2151
+ tooltip: ({ ownerState }) => ({
2152
+ maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
2153
+ paddingBlock: odysseyTokens.Spacing2,
2154
+ paddingInline: odysseyTokens.Spacing3,
2155
+ backgroundColor: odysseyTokens.HueNeutral900,
2156
+ color: odysseyTokens.HueNeutralWhite,
2157
+ fontSize: odysseyTokens.TypographySizeSubordinate,
2158
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
2022
2159
  ...(ownerState.touch === true && {
2023
- marginTop: theme.spacing(4),
2160
+ paddingBlock: odysseyTokens.Spacing2,
2161
+ paddingInline: odysseyTokens.Spacing3,
2162
+ fontSize: odysseyTokens.TypographySizeSubordinate,
2163
+ lineHeight: odysseyTokens.TypographyLineHeightBody,
2164
+ fontWeight: odysseyTokens.TypographyWeightBody,
2024
2165
  }),
2025
- },
2026
- }),
2027
- arrow: ({ theme }) => ({
2028
- color: theme.palette.grey[900],
2029
- "&::before": {
2030
- borderRadius: "0",
2031
- },
2166
+ [`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
2167
+ transformOrigin: "right center",
2168
+ ...(ownerState.isRtl
2169
+ ? {
2170
+ marginInlineStart: odysseyTokens.Spacing3,
2171
+ ...(ownerState.touch === true && {
2172
+ marginInlineStart: odysseyTokens.Spacing4,
2173
+ }),
2174
+ }
2175
+ : {
2176
+ marginInlineEnd: odysseyTokens.Spacing3,
2177
+ ...(ownerState.touch === true && {
2178
+ marginInlineEnd: odysseyTokens.Spacing4,
2179
+ }),
2180
+ }),
2181
+ },
2182
+ [`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
2183
+ transformOrigin: "left center",
2184
+ ...(ownerState.isRtl
2185
+ ? {
2186
+ marginInlineEnd: odysseyTokens.Spacing3,
2187
+ ...(ownerState.touch === true && {
2188
+ marginInlineEnd: odysseyTokens.Spacing4,
2189
+ }),
2190
+ }
2191
+ : {
2192
+ marginInlineStart: odysseyTokens.Spacing3,
2193
+ ...(ownerState.touch === true && {
2194
+ marginInlineStart: odysseyTokens.Spacing4,
2195
+ }),
2196
+ }),
2197
+ },
2198
+ [`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
2199
+ transformOrigin: "center bottom",
2200
+ marginBottom: odysseyTokens.Spacing3,
2201
+ ...(ownerState.touch === true && {
2202
+ marginBottom: odysseyTokens.Spacing4,
2203
+ }),
2204
+ },
2205
+ [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
2206
+ transformOrigin: "center top",
2207
+ marginTop: odysseyTokens.Spacing3,
2208
+ ...(ownerState.touch === true && {
2209
+ marginTop: odysseyTokens.Spacing4,
2210
+ }),
2211
+ },
2212
+ }),
2213
+ arrow: {
2214
+ color: odysseyTokens.HueNeutral900,
2215
+ "&::before": {
2216
+ borderRadius: "0",
2217
+ },
2032
2218
 
2033
- [`.${tooltipClasses.popper}[data-popper-placement*="top"] &::before`]: {
2034
- borderRadius: `0 0 3px 0`,
2035
- },
2219
+ [`.${tooltipClasses.popper}[data-popper-placement*="top"] &::before`]:
2220
+ {
2221
+ borderRadius: `0 0 3px 0`,
2222
+ },
2036
2223
 
2037
- [`.${tooltipClasses.popper}[data-popper-placement*="right"] &::before`]:
2038
- {
2039
- borderRadius: `0 0 0 3px`,
2040
- },
2224
+ [`.${tooltipClasses.popper}[data-popper-placement*="right"] &::before`]:
2225
+ {
2226
+ borderRadius: `0 0 0 3px`,
2227
+ },
2041
2228
 
2042
- [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &::before`]:
2043
- {
2044
- borderRadius: `3px 0 0 0`,
2045
- },
2229
+ [`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &::before`]:
2230
+ {
2231
+ borderRadius: `3px 0 0 0`,
2232
+ },
2046
2233
 
2047
- [`.${tooltipClasses.popper}[data-popper-placement*="left"] &::before`]:
2048
- {
2049
- borderRadius: `0 3px 0 0`,
2050
- },
2051
- }),
2052
- },
2053
- },
2054
- MuiTypography: {
2055
- defaultProps: {
2056
- fontFamily:
2057
- "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
2058
- variantMapping: {
2059
- h1: "h1",
2060
- h2: "h2",
2061
- h3: "h3",
2062
- h4: "h4",
2063
- h5: "h5",
2064
- h6: "h6",
2065
- subtitle1: "p",
2066
- body1: "p",
2067
- inherit: "p",
2068
- legend: "legend",
2234
+ [`.${tooltipClasses.popper}[data-popper-placement*="left"] &::before`]:
2235
+ {
2236
+ borderRadius: `0 3px 0 0`,
2237
+ },
2238
+ },
2069
2239
  },
2070
2240
  },
2071
- styleOverrides: {
2072
- paragraph: ({ theme }) => ({
2073
- marginBottom: theme.spacing(4),
2074
- }),
2241
+ MuiTypography: {
2242
+ defaultProps: {
2243
+ fontFamily:
2244
+ "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
2245
+ variantMapping: {
2246
+ h1: "h1",
2247
+ h2: "h2",
2248
+ h3: "h3",
2249
+ h4: "h4",
2250
+ h5: "h5",
2251
+ h6: "h6",
2252
+ subtitle1: "p",
2253
+ body1: "p",
2254
+ inherit: "p",
2255
+ legend: "legend",
2256
+ },
2257
+ },
2258
+ styleOverrides: {
2259
+ paragraph: {
2260
+ marginBlockEnd: odysseyTokens.Spacing4,
2261
+
2262
+ [`&:last-child`]: {
2263
+ marginBlockEnd: 0,
2264
+ },
2265
+ },
2266
+ },
2075
2267
  },
2076
- },
2268
+ };
2077
2269
  };