@okta/odyssey-react-mui 1.44.0 → 1.45.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 (659) hide show
  1. package/dist/appswitcher/admin-app-default.svg +6 -0
  2. package/dist/appswitcher/admin-app-selected.svg +6 -0
  3. package/dist/appswitcher/aerial-default.svg +7 -0
  4. package/dist/appswitcher/aerial-selected.svg +7 -0
  5. package/dist/appswitcher/okta-dashboard-default.svg +7 -0
  6. package/dist/appswitcher/okta-dashboard-selected.svg +7 -0
  7. package/dist/appswitcher/privileged-access-default.svg +4 -0
  8. package/dist/appswitcher/privileged-access-selected.svg +4 -0
  9. package/dist/appswitcher/workflows-default.svg +5 -0
  10. package/dist/appswitcher/workflows-selected.svg +5 -0
  11. package/dist/assets/Accordion-DLG6nIhh.js +1 -0
  12. package/dist/assets/Accordion.stories-VjVp52QD.js +85 -0
  13. package/dist/assets/AccordionSummary-xCoGLMoL.js +1 -0
  14. package/dist/assets/AlertTitle-DlG4YQWR.js +1 -0
  15. package/dist/assets/AppSwitcher-D7UlQ3S8.js +21 -0
  16. package/dist/assets/AppSwitcher.stories-Dv0DHDxk.js +100 -0
  17. package/dist/assets/AppTile _labs_.stories-CgXIqWmJ.js +136 -0
  18. package/dist/assets/ArrowDropDown-bSngWMh1.js +1 -0
  19. package/dist/assets/ArrowRight-DCIAiEpA.js +1 -0
  20. package/dist/assets/Autocomplete-MfScEzbR.js +1 -0
  21. package/dist/assets/Autocomplete-UE4wqxn0.js +1 -0
  22. package/dist/assets/Autocomplete.stories-CCtQosYH.js +316 -0
  23. package/dist/assets/Badge-DL9N0uiE.js +11 -0
  24. package/dist/assets/Banner-C66lWD3c.js +1 -0
  25. package/dist/assets/Banner.stories-D6KqnSl2.js +74 -0
  26. package/dist/assets/BaseButton-B5c4cgt8.js +11 -0
  27. package/dist/assets/BaseMenuButton-DbGGXXbP.js +1 -0
  28. package/dist/assets/Box-BCBP3C7Q.js +1 -0
  29. package/dist/assets/Box-BXOPvc0Q.js +1 -0
  30. package/dist/assets/Box-C2ekHaOu.js +1 -0
  31. package/dist/assets/Box-C_Qfmw-_.js +11 -0
  32. package/dist/assets/Box.stories-uaYeF2xg.js +38 -0
  33. package/dist/assets/Breadcrumbs-Qzfi3j0j.js +6 -0
  34. package/dist/assets/Breadcrumbs.stories-CHIGnsjh.js +79 -0
  35. package/dist/assets/Bug-m6zinguF.js +1 -0
  36. package/dist/assets/Button-BOzIr8Jh.js +11 -0
  37. package/dist/assets/Button-BqwcAVQ-.js +1 -0
  38. package/dist/assets/Button-Cf49fWiK.js +31 -0
  39. package/dist/assets/Button.stories-Db-QptTh.js +271 -0
  40. package/dist/assets/ButtonBase-BqXVk-1q.js +74 -0
  41. package/dist/assets/Calendar-CuqjwSb0.js +1 -0
  42. package/dist/assets/Callout-CaNoXhaj.js +1 -0
  43. package/dist/assets/Callout.stories-D2csAs8g.js +105 -0
  44. package/dist/assets/Card-B5eIV1vH.js +1 -0
  45. package/dist/assets/Card-Bfg-qZM7.js +8 -0
  46. package/dist/assets/Card.stories-BTaeWH4V.js +129 -0
  47. package/dist/assets/CardActionArea-yvoWcAsF.js +1 -0
  48. package/dist/assets/Check-BmyOKfcL.js +1 -0
  49. package/dist/assets/Checkbox-BTj1hXUa.js +1 -0
  50. package/dist/assets/Checkbox-luq82K1t.js +1 -0
  51. package/dist/assets/Checkbox.stories-ChhXQBH_.js +96 -0
  52. package/dist/assets/CheckboxGroup-Cgc2chES.js +1 -0
  53. package/dist/assets/CheckboxGroup.stories-DpGwHWla.js +81 -0
  54. package/dist/assets/ChevronDown-BnAWuc8V.js +1 -0
  55. package/dist/assets/ChevronRight-BB0bQIRj.js +1 -0
  56. package/dist/assets/ChevronUp-B9JV-jmd.js +1 -0
  57. package/dist/assets/Chip-BOK8DR8m.js +1 -0
  58. package/dist/assets/CircularProgress-DNk4kmx6.js +28 -0
  59. package/dist/assets/CircularProgress-Ur28_31H.js +1 -0
  60. package/dist/assets/CircularProgress.stories-gv9B0XLW.js +44 -0
  61. package/dist/assets/Clock-Byj5V_49.js +1 -0
  62. package/dist/assets/Close-DA7fBExu.js +1 -0
  63. package/dist/assets/Close-DA_Sph0R.js +1 -0
  64. package/dist/assets/CloseCircleFilled-D2aBlgBe.js +1 -0
  65. package/dist/assets/Code Styling Guidelines-CAzyRuHZ.js +14 -0
  66. package/dist/assets/Collapse-P1H1b4lO.js +1 -0
  67. package/dist/assets/Color-YHDXOIA2-CcHVwBQP.js +1 -0
  68. package/dist/assets/CssBaseline-C3xNeK8b.js +1 -0
  69. package/dist/assets/CssBaseline-CUjr0ON2.js +190 -0
  70. package/dist/assets/CssBaseline.stories-DgXaUmIC.js +402 -0
  71. package/dist/assets/Custom Theming-CKloJLS_.js +136 -0
  72. package/dist/assets/Custom Theming.stories-BHdYhCs2.js +93 -0
  73. package/dist/assets/DataFilters _labs_-D3S2uNi-.js +55 -0
  74. package/dist/assets/DataFilters _labs_.stories-RwWZVkCe.js +31 -0
  75. package/dist/assets/DataFilters-DVey1xPT.js +1 -0
  76. package/dist/assets/DataTable _labs_-CtXARbkP.js +41 -0
  77. package/dist/assets/DataTable _labs_.stories-U7XFYtR6.js +21 -0
  78. package/dist/assets/DataTable-CkACYzFJ.js +404 -0
  79. package/dist/assets/DataTable-CnCWIOTw.js +21 -0
  80. package/dist/assets/DataTable.stories-Db2HEmax.js +438 -0
  81. package/dist/assets/DataView _labs_-DZnmSNME.js +332 -0
  82. package/dist/assets/DataView _labs_.stories-CusuCHkc.js +438 -0
  83. package/dist/assets/DataView-BQBP0FCs.js +101 -0
  84. package/dist/assets/DatePicker-DIRg7n4d.js +1 -0
  85. package/dist/assets/DatePicker.stories-BPWj6DxY.js +143 -0
  86. package/dist/assets/DateTimePicker-CnXcHc5u.js +1 -0
  87. package/dist/assets/DateTimePicker.stories-nLmYctur.js +168 -0
  88. package/dist/assets/DefaultPropsProvider-B7tpShA7.js +9 -0
  89. package/dist/assets/Design Tokens-BxQ2eYvg.js +4 -0
  90. package/dist/assets/Dialog-BIM-1Zvj.js +1 -0
  91. package/dist/assets/Dialog.stories-D2UYs9Hc.js +201 -0
  92. package/dist/assets/DialogContent-C_FnZ5ZS.js +1 -0
  93. package/dist/assets/DialogTitle-CLDQZ0bg.js +1 -0
  94. package/dist/assets/Divider-CsWa3KCo.js +1 -0
  95. package/dist/assets/DocsRenderer-CFRXHY34-DEwq8OPY.js +2 -0
  96. package/dist/assets/Documentation-DM1hawvn.js +1 -0
  97. package/dist/assets/Download-Cp75oFKP.js +1 -0
  98. package/dist/assets/Drawer-Dg44iOBm.js +27 -0
  99. package/dist/assets/Drawer.stories-DRGYC84s.js +95 -0
  100. package/dist/assets/EmptyState-DQoihCwU.js +11 -0
  101. package/dist/assets/EmptyState.stories-C8kkt-lH.js +11 -0
  102. package/dist/assets/ExampleButton.stories-BKxnZulW.js +11 -0
  103. package/dist/assets/Extending Translations-BnOA8j0s.js +146 -0
  104. package/dist/assets/ExternalLink-DTdulgUc.js +1 -0
  105. package/dist/assets/Field-ilPS333M.js +11 -0
  106. package/dist/assets/FieldHint-Cv7aMlpU.js +1 -0
  107. package/dist/assets/Fieldset-CmtxEykF.js +11 -0
  108. package/dist/assets/Fieldset.stories-CeV3XwQn.js +15 -0
  109. package/dist/assets/FileUploader.stories-CmC83k5u.js +58 -0
  110. package/dist/assets/Filter-BAXcmMyf.js +1 -0
  111. package/dist/assets/Folder-Ddku_ujr.js +1 -0
  112. package/dist/assets/Form Field Accessibility-bATJbTW6.js +18 -0
  113. package/dist/assets/Form-CBnvE26F.js +11 -0
  114. package/dist/assets/Form.stories-Eg4GUI1C.js +69 -0
  115. package/dist/assets/FormControlLabel-CxCmH5hv.js +1 -0
  116. package/dist/assets/FormGroup-BaCH3e06.js +1 -0
  117. package/dist/assets/FormHelperText-ZkUAjajs.js +1 -0
  118. package/dist/assets/FormLabel-BLeax9q3.js +1 -0
  119. package/dist/assets/Generating Icons-CY4QgHRK.js +16 -0
  120. package/dist/assets/GlobalStyles-BxDN_5FT.js +1 -0
  121. package/dist/assets/Globe--OQ55RD1.js +1 -0
  122. package/dist/assets/Grid-B2PgWvdd.js +1 -0
  123. package/dist/assets/Group-W0XqkWVH.js +1 -0
  124. package/dist/assets/GroupPicker _labs_.stories-CP9ogL4g.js +33 -0
  125. package/dist/assets/Grow-CIie3qhp.js +1 -0
  126. package/dist/assets/Hide-RfKmYLNv.js +1 -0
  127. package/dist/assets/Home-BXMRmOIu.js +1 -0
  128. package/dist/assets/Icon _icons_.stories-CfG9aDh6.js +16 -0
  129. package/dist/assets/IconButton-CK9Do7vj.js +1 -0
  130. package/dist/assets/IconWithTooltip _icons_.stories-BriwOCod.js +19 -0
  131. package/dist/assets/InformationCircle-B71JRUfK.js +1 -0
  132. package/dist/assets/InputAdornment-CFgP75Dd.js +1 -0
  133. package/dist/assets/InputBase--xDu7aWm.js +2 -0
  134. package/dist/assets/Installing odyssey-react-mui-FI77Ty6y.js +195 -0
  135. package/dist/assets/Introduction-B_2OeBP6.js +46 -0
  136. package/dist/assets/Layout-Bojn6-Uj.js +11 -0
  137. package/dist/assets/Layout.stories-BN7leK7P.js +217 -0
  138. package/dist/assets/Legacy Migrations-eiPSj0S4.js +86 -0
  139. package/dist/assets/Link-ClKgpBXG.js +1 -0
  140. package/dist/assets/Link-DTvs7F4J.js +11 -0
  141. package/dist/assets/Link.stories-GP1qln9R.js +43 -0
  142. package/dist/assets/List-0o0OI1E9.js +1 -0
  143. package/dist/assets/List-W5kRT_jR.js +1 -0
  144. package/dist/assets/ListContext-C02XM7tn.js +1 -0
  145. package/dist/assets/ListItem-CcduKzQu.js +1 -0
  146. package/dist/assets/ListSubheader-DXKE8lW0.js +1 -0
  147. package/dist/assets/Menu-CGJO1mMf.js +1 -0
  148. package/dist/assets/MenuButton-DeZSGuxY.js +9 -0
  149. package/dist/assets/MenuButton-OjJFnmOD.js +11 -0
  150. package/dist/assets/MenuButton.stories-C8xNZymc.js +246 -0
  151. package/dist/assets/MenuContext-DKMyPMNY.js +11 -0
  152. package/dist/assets/MenuItem-CuP47MJ-.js +1 -0
  153. package/dist/assets/MenuItem-DjSqFwdt.js +1 -0
  154. package/dist/assets/MenuItem.stories-Cc5X-FtZ.js +29 -0
  155. package/dist/assets/MenuList-BboivbXC.js +1 -0
  156. package/dist/assets/Modal-CW5mOzJG.js +1 -0
  157. package/dist/assets/More-axx2rGKU.js +1 -0
  158. package/dist/assets/MuiPropsContext-DhRylJZk.js +11 -0
  159. package/dist/assets/NativeSelect.stories-D8Y2ITgz.js +173 -0
  160. package/dist/assets/OdysseyDesignTokensContext-BWQIA5ie.js +11 -0
  161. package/dist/assets/OdysseyProvider-BQyPcEvx.js +41 -0
  162. package/dist/assets/OdysseyProvider-BjO4GObW.js +280 -0
  163. package/dist/assets/OdysseyStorybookThemeDecorator-DginBfEq.js +1 -0
  164. package/dist/assets/OdysseyThemeProvider-aR5shtx6.js +117 -0
  165. package/dist/assets/PageHeader.stories-CtAENr0_.js +90 -0
  166. package/dist/assets/PageHeader.stories-WaRXuLcH.js +17 -0
  167. package/dist/assets/PageTemplate _labs_-CUXvNJxx.js +8 -0
  168. package/dist/assets/PageTemplate _labs_.stories-BVKInLfu.js +306 -0
  169. package/dist/assets/PageTemplate-DOXk_uAG.js +21 -0
  170. package/dist/assets/PaginatedTable _labs_.stories-Bet6WnQV.js +65 -0
  171. package/dist/assets/Pagination-CgxBDBwQ.js +11 -0
  172. package/dist/assets/Pagination.stories-7dUsTYEf.js +17 -0
  173. package/dist/assets/Paper-DbAuDGNI.js +1 -0
  174. package/dist/assets/PasswordField.stories-Bclv9Lsw.js +129 -0
  175. package/dist/assets/Picker _labs_.stories-Dzo7T9_p.js +18 -0
  176. package/dist/assets/PickerWithOptionAdornment _labs_.stories-C1ftphm9.js +70 -0
  177. package/dist/assets/PlaceholderLogo-JfVvgA23.js +11 -0
  178. package/dist/assets/Popper-CwLH-7YW.js +1 -0
  179. package/dist/assets/Portal-Bvf2g5iG.js +1 -0
  180. package/dist/assets/Radio-Bi1_KmSD.js +1 -0
  181. package/dist/assets/Radio-D85jg1Ri.js +1 -0
  182. package/dist/assets/Radio.stories-BrLSJa7w.js +63 -0
  183. package/dist/assets/RadioGroup-6XgStuIE.js +10 -0
  184. package/dist/assets/RadioGroup-BS6oYUQf.js +1 -0
  185. package/dist/assets/RadioGroup.stories-BcEJF09Q.js +127 -0
  186. package/dist/assets/Refresh-CPgGX1hz.js +1 -0
  187. package/dist/assets/Right-to-Left (RTL)-BK9_DI66.js +62 -0
  188. package/dist/assets/ScopedCssBaseline-FivWKbYZ.js +1 -0
  189. package/dist/assets/ScreenReaderText-DCDUyE9Y.js +15 -0
  190. package/dist/assets/ScreenReaderText-vq7_Ob_I.js +1 -0
  191. package/dist/assets/ScreenReaderText.stories-BZinu6VX.js +8 -0
  192. package/dist/assets/Search-BvCmvJcV.js +1 -0
  193. package/dist/assets/SearchDropdown _labs_.stories-CYbt2vgf.js +53 -0
  194. package/dist/assets/SearchField-jc9ws93I.js +1 -0
  195. package/dist/assets/SearchField.stories-3apxQKjy.js +37 -0
  196. package/dist/assets/Select-DVJCNQIV.js +1 -0
  197. package/dist/assets/Select.stories-Dnr0InYf.js +293 -0
  198. package/dist/assets/Server-F8KLZq7d.js +1 -0
  199. package/dist/assets/Settings-DjrryuBd.js +1 -0
  200. package/dist/assets/Shadow DOM-ErMvgTrT.js +64 -0
  201. package/dist/assets/Show-qQzUH4Sq.js +1 -0
  202. package/dist/assets/SideNav-CCPZq2Bh.js +85 -0
  203. package/dist/assets/SideNav-Duwk1--M.js +125 -0
  204. package/dist/assets/SideNav.stories-CHEyk4wu.js +207 -0
  205. package/dist/assets/Skeleton-BJLiCr2o.js +51 -0
  206. package/dist/assets/Stack-Ba8l39se.js +1 -0
  207. package/dist/assets/Stack.stories-CBatf2Aw.js +1 -0
  208. package/dist/assets/StaticTable _labs_.stories-HuypNvo4.js +34 -0
  209. package/dist/assets/Status-BYBMXN_H.js +1 -0
  210. package/dist/assets/Status.stories-C3BLGCGc.js +66 -0
  211. package/dist/assets/SvgIcon-BQAg6Jm7.js +1 -0
  212. package/dist/assets/Switch.stories-zEk8HMOP.js +61 -0
  213. package/dist/assets/SwitchBase-Bja5dn-O.js +1 -0
  214. package/dist/assets/Sync-Bmam4Lr_.js +1 -0
  215. package/dist/assets/Tabs-BEhcVkzW.js +23 -0
  216. package/dist/assets/Tabs-Buvkuz1V.js +1 -0
  217. package/dist/assets/Tabs-ChAj4m0g.js +1 -0
  218. package/dist/assets/Tabs.stories-BwOqe_a_.js +100 -0
  219. package/dist/assets/Tag-CjPSrGAL.js +11 -0
  220. package/dist/assets/Tag.stories-D1YMwKB7.js +96 -0
  221. package/dist/assets/TagList-BQKiA1TW.js +1 -0
  222. package/dist/assets/TextField-CZ0hstP2.js +1 -0
  223. package/dist/assets/TextField.stories-BVJr2VmB.js +149 -0
  224. package/dist/assets/Toast.stories-aIKtHa18.js +134 -0
  225. package/dist/assets/ToastManager.stories-Bst-XOOh.js +269 -0
  226. package/dist/assets/Tooltip-3088PjcT.js +11 -0
  227. package/dist/assets/Tooltip-B4GIR2eB.js +1 -0
  228. package/dist/assets/Tooltip.stories-GU5ZWKSu.js +68 -0
  229. package/dist/assets/TopNav-CWVyy01x.js +11 -0
  230. package/dist/assets/TopNav.stories-CIdyN7Ai.js +13 -0
  231. package/dist/assets/Trans-DZ9nii1x.js +1 -0
  232. package/dist/assets/TransitionGroup-BBx_tHs0.js +9 -0
  233. package/dist/assets/TransitionGroupContext-BMO0EZjQ.js +9 -0
  234. package/dist/assets/TransitionGroupContext-twgBS-Q3.js +1 -0
  235. package/dist/assets/Typography-BTrM-f_f.js +9 -0
  236. package/dist/assets/Typography-CiNRLenM.js +1 -0
  237. package/dist/assets/Typography-D7-qxuiy.js +1 -0
  238. package/dist/assets/Typography.stories-DOm50jIe.js +139 -0
  239. package/dist/assets/UiShell.stories-CcRPnzQe.js +531 -0
  240. package/dist/assets/UiShellProvider-D1w1Ocw9.js +31 -0
  241. package/dist/assets/Upload-DK3nRIto.js +1 -0
  242. package/dist/assets/User-BBdPovZN.js +1 -0
  243. package/dist/assets/UserProfile-xXh984n9.js +11 -0
  244. package/dist/assets/UserProfile.stories-cf7P_USw.js +14 -0
  245. package/dist/assets/UserProfileMenuButton.stories-DQvKwLs8.js +30 -0
  246. package/dist/assets/Video-DytabcyM.js +1 -0
  247. package/dist/assets/WarningFilled-Y3Vw7n_w.js +1 -0
  248. package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +1 -0
  249. package/dist/assets/alertTitleClasses-CSPeaunQ.js +1 -0
  250. package/dist/assets/assertThisInitialized-B9jnkVVz.js +1 -0
  251. package/dist/assets/autocompleteClasses-Bi4FgC8v.js +1 -0
  252. package/dist/assets/axe-UFrR6cCR.js +30 -0
  253. package/dist/assets/axeRun-BfHtukUP.js +40 -0
  254. package/dist/assets/buttonBaseClasses-CSPKg76d.js +1 -0
  255. package/dist/assets/buttonClasses-DtIJBSf4.js +1 -0
  256. package/dist/assets/checkboxClasses-Dtdq1kQG.js +1 -0
  257. package/dist/assets/chipClasses-BMWKl3Eu.js +1 -0
  258. package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
  259. package/dist/assets/client-akVMpN0m.js +1 -0
  260. package/dist/assets/colorManipulator-O7SU8zMv.js +1 -0
  261. package/dist/assets/constants-CyailK6t.js +11 -0
  262. package/dist/assets/context-D_qJ2zXV.js +1 -0
  263. package/dist/assets/createChainedFunction-BO_9K8Jh.js +1 -0
  264. package/dist/assets/createSvgIcon-DiC7XVU3.js +1 -0
  265. package/dist/assets/createTheme-BmPXDA4p.js +8 -0
  266. package/dist/assets/createUniqueId-ByTaVY63.js +1 -0
  267. package/dist/assets/debounce-Be36O1Ab.js +1 -0
  268. package/dist/assets/emotion-react-jsx-runtime.browser.esm-B2sVIsIq.js +1 -0
  269. package/dist/assets/emotion-styled.browser.esm-Bcn7fuYX.js +1 -0
  270. package/dist/assets/entry-preview-4ElqUVRP.js +2 -0
  271. package/dist/assets/entry-preview-docs-BKXv92OK.js +46 -0
  272. package/dist/assets/fieldComponentPropsMetaData-BqbNLw6V.js +11 -0
  273. package/dist/assets/formControlLabelClasses-BtjP4uib.js +1 -0
  274. package/dist/assets/formGroupClasses-D9ChLj7o.js +1 -0
  275. package/dist/assets/formLabelClasses-xMgYguuN.js +1 -0
  276. package/dist/assets/generateUtilityClasses-DYvjsuMV.js +1 -0
  277. package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +1 -0
  278. package/dist/assets/i18n-DmkmAJlT.js +11 -0
  279. package/dist/assets/i18next-DbMy2do-.js +1 -0
  280. package/dist/assets/iconUtils-Cxr8mVIA.js +11 -0
  281. package/dist/assets/iframe-C-RQ_TKY.js +211 -0
  282. package/dist/assets/index-B5xazMy1.js +1 -0
  283. package/dist/assets/index-B885ELRa.js +1 -0
  284. package/dist/assets/index-BJMTVygn.js +240 -0
  285. package/dist/assets/index-BJTM6NaI.js +192 -0
  286. package/dist/assets/index-BeeV6X6A.js +1 -0
  287. package/dist/assets/index-BpVuOoKb.js +384 -0
  288. package/dist/assets/index-BzN0w9dc.js +1 -0
  289. package/dist/assets/index-CDGerSbe.js +1 -0
  290. package/dist/assets/index-CXQShRbs.js +8 -0
  291. package/dist/assets/index-CpbQl8EB.js +1 -0
  292. package/dist/assets/index-CtY5BB1N.js +1 -0
  293. package/dist/assets/index-DieBXP3Z.js +24 -0
  294. package/dist/assets/index-DrFu-skq.js +6 -0
  295. package/dist/assets/index-NdkWRN8K.js +9 -0
  296. package/dist/assets/index.esm-D7MwfoQM.js +138 -0
  297. package/dist/assets/index.modern-CkASn_bb.js +14 -0
  298. package/dist/assets/inheritsLoose-CWawPfk8.js +1 -0
  299. package/dist/assets/inputAdornmentClasses-DYNxkEwO.js +1 -0
  300. package/dist/assets/inputBaseClasses-PAjj3ZBN.js +1 -0
  301. package/dist/assets/inputUtils-Dbi8XkA6.js +11 -0
  302. package/dist/assets/isHostComponent-DVu5iVWx.js +1 -0
  303. package/dist/assets/jsx-runtime-CnH95YSl.js +9 -0
  304. package/dist/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
  305. package/dist/assets/menuItemClasses-DFm3-Sf1.js +1 -0
  306. package/dist/assets/ownerDocument-DW-IO8s5.js +1 -0
  307. package/dist/assets/ownerWindow-HkKU3E4x.js +1 -0
  308. package/dist/assets/personData-CZJz4n06.js +1 -0
  309. package/dist/assets/personData-Ci-ru1S9.js +11 -0
  310. package/dist/assets/pickerComponentPropsMetadata-C9L3AhmF.js +21 -0
  311. package/dist/assets/popper-CMBiYTiD.js +1 -0
  312. package/dist/assets/preview-B-jDHJEN.js +1 -0
  313. package/dist/assets/preview-B8lJiyuQ.js +34 -0
  314. package/dist/assets/preview-BBWR9nbA.js +1 -0
  315. package/dist/assets/preview-BWzBA1C2.js +396 -0
  316. package/dist/assets/preview-BzLY45Eo.js +2 -0
  317. package/dist/assets/preview-CYp4EYYZ.js +1 -0
  318. package/dist/assets/preview-CeHM5zqH.js +2 -0
  319. package/dist/assets/preview-CvbIS5ZJ.js +1 -0
  320. package/dist/assets/preview-DGUiP6tS.js +7 -0
  321. package/dist/assets/preview-DHQbi4pV.js +1 -0
  322. package/dist/assets/preview-D_z0Z5cB.js +1 -0
  323. package/dist/assets/preview-MBifGIx_.js +1 -0
  324. package/dist/assets/queryOdysseySelector-B27JCf-A.js +151 -0
  325. package/dist/assets/radioClasses-f3ayyf7y.js +1 -0
  326. package/dist/assets/react-18-CxBTDaIe.js +1 -0
  327. package/dist/assets/resolveComponentProps-DMpKAZvD.js +1 -0
  328. package/dist/assets/tableRowClasses-inqOIkjd.js +1 -0
  329. package/dist/assets/test-utils-H9lH7T5D.js +9 -0
  330. package/dist/assets/tooltipClasses-C74HjonW.js +1 -0
  331. package/dist/assets/typographyClasses-D8vr2n3l.js +1 -0
  332. package/dist/assets/uiShellSharedConstants-DD9UP82e.js +11 -0
  333. package/dist/assets/useAutocomplete-C7VK9p4p.js +11 -0
  334. package/dist/assets/useContrastMode-BthoHtLy.js +21 -0
  335. package/dist/assets/useControlled-NQulfz4l.js +1 -0
  336. package/dist/assets/useFormControl-BMISTZuX.js +1 -0
  337. package/dist/assets/useId-cMcvCE23.js +1 -0
  338. package/dist/assets/useId-kSseQ0DW.js +1 -0
  339. package/dist/assets/useIsFocusVisible-DH0qxT5e.js +1 -0
  340. package/dist/assets/useMobilePicker-CfUl5sFz.js +6 -0
  341. package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +11 -0
  342. package/dist/assets/useOdysseyDateFields-DQkQFY7w.js +61 -0
  343. package/dist/assets/useScrollIndication-BJW9jXaC.js +31 -0
  344. package/dist/assets/useSlot-F4Qz2Wzp.js +1 -0
  345. package/dist/assets/useTheme-C05bJKih.js +1 -0
  346. package/dist/assets/useThemeProps-BG38P4ul.js +1 -0
  347. package/dist/assets/useThemeProps-Dy5sAWyz.js +1 -0
  348. package/dist/assets/useTranslation-vEf1lqoc.js +1 -0
  349. package/dist/assets/useUniqueId-Bsgqe1tm.js +11 -0
  350. package/dist/assets/utils-gq6yExow.js +1 -0
  351. package/dist/assets/utils-iop7lDec.js +1 -0
  352. package/dist/assets/v4-BOvFkHkt.js +1 -0
  353. package/dist/assets/visuallyHidden-Dan1xhjv.js +1 -0
  354. package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
  355. package/dist/cjs/Card.cjs +280 -63
  356. package/dist/cjs/Card.cjs.map +1 -1
  357. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +60 -44
  358. package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
  359. package/dist/cjs/labs/DataView/DataCard.cjs +50 -179
  360. package/dist/cjs/labs/DataView/DataCard.cjs.map +1 -1
  361. package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
  362. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs +3 -3
  363. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs.map +1 -1
  364. package/dist/cjs/labs/OdysseyPickers/index.cjs.map +1 -1
  365. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +2 -1
  366. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
  367. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +2 -1
  368. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
  369. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +2 -1
  370. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
  371. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +2 -1
  372. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
  373. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +2 -1
  374. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
  375. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +2 -1
  376. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
  377. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +2 -1
  378. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
  379. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +2 -1
  380. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
  381. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +2 -1
  382. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
  383. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +2 -1
  384. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
  385. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +2 -1
  386. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
  387. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +2 -1
  388. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
  389. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +2 -1
  390. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
  391. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +2 -1
  392. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
  393. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +2 -1
  394. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
  395. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +2 -1
  396. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
  397. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +2 -1
  398. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
  399. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +2 -1
  400. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
  401. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +2 -1
  402. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
  403. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +2 -1
  404. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
  405. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +2 -1
  406. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
  407. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +2 -1
  408. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
  409. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +2 -1
  410. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
  411. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +2 -1
  412. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
  413. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +2 -1
  414. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
  415. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +2 -1
  416. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
  417. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +2 -1
  418. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
  419. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +2 -1
  420. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
  421. package/dist/cjs/theme/components.cjs +0 -4
  422. package/dist/cjs/theme/components.cjs.map +1 -1
  423. package/dist/cjs/tools/addSpecificity.cjs.map +1 -0
  424. package/dist/cjs/tools/bufferLatest.cjs.map +1 -0
  425. package/dist/cjs/tools/createMessageBus.cjs.map +1 -0
  426. package/dist/cjs/tools/createStore.cjs.map +1 -0
  427. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  428. package/dist/cjs/ui-shell/UiShellProvider.cjs +1 -1
  429. package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
  430. package/dist/cjs/ui-shell/renderUiShell.cjs +2 -2
  431. package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
  432. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  433. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  434. package/dist/esm/Buttons/BaseButton.js.map +1 -1
  435. package/dist/esm/Card.js +281 -63
  436. package/dist/esm/Card.js.map +1 -1
  437. package/dist/esm/labs/DataView/CardLayoutContent.js +61 -45
  438. package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
  439. package/dist/esm/labs/DataView/DataCard.js +50 -179
  440. package/dist/esm/labs/DataView/DataCard.js.map +1 -1
  441. package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
  442. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js +3 -3
  443. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js.map +1 -1
  444. package/dist/esm/labs/OdysseyPickers/index.js.map +1 -1
  445. package/dist/esm/properties/ts/odyssey-react-mui_cs.js +2 -1
  446. package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
  447. package/dist/esm/properties/ts/odyssey-react-mui_da.js +2 -1
  448. package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
  449. package/dist/esm/properties/ts/odyssey-react-mui_de.js +2 -1
  450. package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
  451. package/dist/esm/properties/ts/odyssey-react-mui_el.js +2 -1
  452. package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
  453. package/dist/esm/properties/ts/odyssey-react-mui_es.js +2 -1
  454. package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
  455. package/dist/esm/properties/ts/odyssey-react-mui_eu.js +2 -1
  456. package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
  457. package/dist/esm/properties/ts/odyssey-react-mui_fi.js +2 -1
  458. package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
  459. package/dist/esm/properties/ts/odyssey-react-mui_fr.js +2 -1
  460. package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
  461. package/dist/esm/properties/ts/odyssey-react-mui_ht.js +2 -1
  462. package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
  463. package/dist/esm/properties/ts/odyssey-react-mui_hu.js +2 -1
  464. package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
  465. package/dist/esm/properties/ts/odyssey-react-mui_id.js +2 -1
  466. package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
  467. package/dist/esm/properties/ts/odyssey-react-mui_it.js +2 -1
  468. package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
  469. package/dist/esm/properties/ts/odyssey-react-mui_ja.js +2 -1
  470. package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
  471. package/dist/esm/properties/ts/odyssey-react-mui_ko.js +2 -1
  472. package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
  473. package/dist/esm/properties/ts/odyssey-react-mui_ms.js +2 -1
  474. package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
  475. package/dist/esm/properties/ts/odyssey-react-mui_nb.js +2 -1
  476. package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
  477. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +2 -1
  478. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
  479. package/dist/esm/properties/ts/odyssey-react-mui_pl.js +2 -1
  480. package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
  481. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +2 -1
  482. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
  483. package/dist/esm/properties/ts/odyssey-react-mui_ro.js +2 -1
  484. package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
  485. package/dist/esm/properties/ts/odyssey-react-mui_ru.js +2 -1
  486. package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
  487. package/dist/esm/properties/ts/odyssey-react-mui_sv.js +2 -1
  488. package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
  489. package/dist/esm/properties/ts/odyssey-react-mui_th.js +2 -1
  490. package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
  491. package/dist/esm/properties/ts/odyssey-react-mui_tr.js +2 -1
  492. package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
  493. package/dist/esm/properties/ts/odyssey-react-mui_uk.js +2 -1
  494. package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
  495. package/dist/esm/properties/ts/odyssey-react-mui_vi.js +2 -1
  496. package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
  497. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +2 -1
  498. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
  499. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +2 -1
  500. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
  501. package/dist/esm/theme/components.js +0 -4
  502. package/dist/esm/theme/components.js.map +1 -1
  503. package/dist/esm/tools/addSpecificity.js.map +1 -0
  504. package/dist/esm/tools/bufferLatest.js.map +1 -0
  505. package/dist/esm/tools/createMessageBus.js.map +1 -0
  506. package/dist/esm/tools/createStore.js.map +1 -0
  507. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  508. package/dist/esm/ui-shell/UiShellProvider.js +1 -1
  509. package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
  510. package/dist/esm/ui-shell/renderUiShell.js +2 -2
  511. package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
  512. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  513. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  514. package/dist/favicon.svg +1 -0
  515. package/dist/iframe.html +747 -0
  516. package/dist/index.cjs +231 -0
  517. package/dist/index.d.ts +233 -0
  518. package/dist/index.d.ts.map +1 -0
  519. package/dist/index.html +203 -0
  520. package/dist/index.js +25 -0
  521. package/dist/index.json +1 -0
  522. package/dist/index.mjs +229 -0
  523. package/dist/index.scss +549 -0
  524. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  525. package/dist/nunito-sans-bold.woff2 +0 -0
  526. package/dist/nunito-sans-italic.woff2 +0 -0
  527. package/dist/nunito-sans-regular.woff2 +0 -0
  528. package/dist/project.json +1 -0
  529. package/dist/sb-addons/a11y-3/manager-bundle.js +220 -0
  530. package/dist/sb-addons/docs-1/manager-bundle.js +242 -0
  531. package/dist/sb-addons/essentials-actions-5/manager-bundle.js +3 -0
  532. package/dist/sb-addons/essentials-backgrounds-6/manager-bundle.js +12 -0
  533. package/dist/sb-addons/essentials-controls-4/manager-bundle.js +402 -0
  534. package/dist/sb-addons/essentials-measure-9/manager-bundle.js +3 -0
  535. package/dist/sb-addons/essentials-outline-10/manager-bundle.js +3 -0
  536. package/dist/sb-addons/essentials-toolbars-8/manager-bundle.js +3 -0
  537. package/dist/sb-addons/essentials-viewport-7/manager-bundle.js +3 -0
  538. package/dist/sb-addons/interactions-11/manager-bundle.js +222 -0
  539. package/dist/sb-addons/links-2/manager-bundle.js +3 -0
  540. package/dist/sb-addons/rtl-12/manager-bundle.js +3 -0
  541. package/dist/sb-addons/storybook-13/manager-bundle.js +3 -0
  542. package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  543. package/dist/sb-common-assets/favicon.svg +1 -0
  544. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  545. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  546. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  547. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  548. package/dist/sb-manager/globals-module-info.js +1052 -0
  549. package/dist/sb-manager/globals-runtime.js +42127 -0
  550. package/dist/sb-manager/globals.js +48 -0
  551. package/dist/sb-manager/runtime.js +12048 -0
  552. package/dist/tsconfig.production.tsbuildinfo +1 -1
  553. package/dist/tsconfig.tsbuildinfo +1 -0
  554. package/dist/types/Buttons/BaseButton.d.ts +2 -2
  555. package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
  556. package/dist/types/Card.d.ts +17 -6
  557. package/dist/types/Card.d.ts.map +1 -1
  558. package/dist/types/i18n.d.ts +27 -0
  559. package/dist/types/i18n.d.ts.map +1 -1
  560. package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
  561. package/dist/types/labs/DataView/DataCard.d.ts +14 -30
  562. package/dist/types/labs/DataView/DataCard.d.ts.map +1 -1
  563. package/dist/types/labs/DataView/componentTypes.d.ts +1 -1
  564. package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
  565. package/dist/types/labs/OdysseyPickers/index.d.ts +1 -2
  566. package/dist/types/labs/OdysseyPickers/index.d.ts.map +1 -1
  567. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +1 -0
  568. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
  569. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +1 -0
  570. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
  571. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +1 -0
  572. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
  573. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +1 -0
  574. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
  575. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +1 -0
  576. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
  577. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts +1 -0
  578. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts.map +1 -1
  579. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +1 -0
  580. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
  581. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +1 -0
  582. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
  583. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +1 -0
  584. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
  585. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +1 -0
  586. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
  587. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +1 -0
  588. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
  589. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +1 -0
  590. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
  591. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +1 -0
  592. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
  593. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +1 -0
  594. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
  595. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +1 -0
  596. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
  597. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +1 -0
  598. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
  599. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +1 -0
  600. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
  601. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +1 -0
  602. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
  603. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +1 -0
  604. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
  605. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +1 -0
  606. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
  607. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +1 -0
  608. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
  609. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +1 -0
  610. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
  611. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +1 -0
  612. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
  613. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +1 -0
  614. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
  615. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +1 -0
  616. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
  617. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +1 -0
  618. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
  619. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +1 -0
  620. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
  621. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -0
  622. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
  623. package/dist/types/theme/components.d.ts.map +1 -1
  624. package/dist/types/tools/addSpecificity.d.ts.map +1 -0
  625. package/dist/types/tools/bufferLatest.d.ts.map +1 -0
  626. package/dist/types/tools/createMessageBus.d.ts.map +1 -0
  627. package/dist/types/tools/createStore.d.ts.map +1 -0
  628. package/dist/types/ui-shell/UiShell.d.ts +1 -1
  629. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  630. package/dist/types/ui-shell/UiShellProvider.d.ts +1 -1
  631. package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
  632. package/dist/types/ui-shell/renderUiShell.d.ts +2 -2
  633. package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
  634. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  635. package/package.json +9 -9
  636. package/dist/cjs/addSpecificity.cjs.map +0 -1
  637. package/dist/cjs/ui-shell/bufferLatest.cjs.map +0 -1
  638. package/dist/cjs/ui-shell/createMessageBus.cjs.map +0 -1
  639. package/dist/cjs/ui-shell/createStore.cjs.map +0 -1
  640. package/dist/esm/addSpecificity.js.map +0 -1
  641. package/dist/esm/ui-shell/bufferLatest.js.map +0 -1
  642. package/dist/esm/ui-shell/createMessageBus.js.map +0 -1
  643. package/dist/esm/ui-shell/createStore.js.map +0 -1
  644. package/dist/types/addSpecificity.d.ts.map +0 -1
  645. package/dist/types/ui-shell/bufferLatest.d.ts.map +0 -1
  646. package/dist/types/ui-shell/createMessageBus.d.ts.map +0 -1
  647. package/dist/types/ui-shell/createStore.d.ts.map +0 -1
  648. /package/dist/cjs/{addSpecificity.cjs → tools/addSpecificity.cjs} +0 -0
  649. /package/dist/cjs/{ui-shell → tools}/bufferLatest.cjs +0 -0
  650. /package/dist/cjs/{ui-shell → tools}/createMessageBus.cjs +0 -0
  651. /package/dist/cjs/{ui-shell → tools}/createStore.cjs +0 -0
  652. /package/dist/esm/{addSpecificity.js → tools/addSpecificity.js} +0 -0
  653. /package/dist/esm/{ui-shell → tools}/bufferLatest.js +0 -0
  654. /package/dist/esm/{ui-shell → tools}/createMessageBus.js +0 -0
  655. /package/dist/esm/{ui-shell → tools}/createStore.js +0 -0
  656. /package/dist/types/{addSpecificity.d.ts → tools/addSpecificity.d.ts} +0 -0
  657. /package/dist/types/{ui-shell → tools}/bufferLatest.d.ts +0 -0
  658. /package/dist/types/{ui-shell → tools}/createMessageBus.d.ts +0 -0
  659. /package/dist/types/{ui-shell → tools}/createStore.d.ts +0 -0
@@ -0,0 +1,127 @@
1
+ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{w as te,u as ne,e as se}from"./index-BJMTVygn.js";import{r as R}from"./index-NdkWRN8K.js";import{a as oe}from"./axeRun-BfHtukUP.js";import{f as s}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{M as f}from"./RadioGroup-BS6oYUQf.js";import{M as a}from"./Radio-D85jg1Ri.js";import{M as ie}from"./Link-ClKgpBXG.js";const le={component:f,argTypes:{children:{description:"An array of Radio components within the group",table:{type:{summary:"Array<ReactElement<typeof Radio>>"}},type:{required:!0,name:"other",value:"Array<ReactElement<typeof Radio>>"}},defaultValue:{control:"text",description:"The text value of the radio that should be selected by default",table:{type:{summary:"string"}}},errorMessage:s.errorMessage,errorMessageList:s.errorMessageList,hint:s.hint,HintLinkComponent:s.HintLinkComponent,id:s.id,isDisabled:s.isDisabled,isReadOnly:s.isReadOnly,label:{control:"text",description:"The text label for the radio group",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},onChange:{description:"Callback fired when the value of the radio group changes",table:{type:{summary:"func"}}},value:{control:"text",description:"The `value` on the selected radio button",table:{type:{summary:"string"}}}},args:{id:"storybook-radio",label:"Speed"}},t={args:{},render:function(r){return e.jsxs(f,{...r,children:[e.jsx(a,{label:"Light Speed",value:"Light Speed"}),e.jsx(a,{label:"Warp Speed",value:"Warp Speed"}),e.jsx(a,{label:"Ludicrous Speed",value:"Ludicrous Speed"})]})}},d={...t,args:{defaultValue:""}},u={...t,args:{hint:"Select the speed at which you wish to travel.",defaultValue:""}},p={...t,args:{hint:"Select the speed at which you wish to travel.",HintLinkComponent:e.jsx(ie,{href:"/learn-more",children:"Learn more"})}},c={...t,args:{isDisabled:!0,defaultValue:""}},m={...t,args:{isReadOnly:!0,defaultValue:"Warp Speed"}},h={...t,parameters:{docs:{description:{story:"Validation should happen on the group and not individually on each item."}}},args:{errorMessage:"This field is required.",defaultValue:""}},g={...t,args:{errorMessage:"This field is required.",errorMessageList:["Message 1","Message 2"],defaultValue:""}},S={args:{label:"Service Tier"},render:function(r){return e.jsxs(f,{...r,children:[e.jsx(a,{label:"Basic",value:"basic"}),e.jsx(a,{label:"Standard",value:"standard"}),e.jsx(a,{isDisabled:!0,label:"Premium (Unavailable in your region)",value:"premium"})]})}},v={...t,args:{defaultValue:"Warp Speed"}},b={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for managing the state of `RadioGroup`. `onChange` should be used to listen for component changes and to update the values in the `value` prop."}}},args:{value:"Ludicrous Speed"},render:function(r){const[o,l]=R.useState("Ludicrous Speed"),n=R.useCallback((re,T)=>l(T),[]);return e.jsxs(f,{...r,value:o,onChange:n,children:[e.jsx(a,{label:"Light Speed",value:"Light Speed"}),e.jsx(a,{label:"Warp Speed",value:"Warp Speed"}),e.jsx(a,{label:"Ludicrous Speed",value:"Ludicrous Speed"})]})},play:async({canvasElement:i,step:r})=>{await r("select uncontrolled radio button",async()=>{const o=te(i),l=o.getByRole("radiogroup"),n=o.getByLabelText("Warp Speed");l&&n&&await ne.click(n),await se(n).toBeChecked(),await oe("select uncontrolled radio button")})}},y={parameters:{docs:{description:{story:"A controlled Radio Group with Radio-level hints."}}},args:{value:"Ludicrous Speed"},render:function(r){const[o,l]=R.useState("Turtle Speed"),n=R.useCallback((re,T)=>l(T),[]);return e.jsxs(f,{...r,onChange:n,value:o,children:[e.jsx(a,{hint:"Hint text",label:"Snail Speed",value:"Snail Speed"}),e.jsx(a,{hint:"Hint text",label:"Turtle Speed",value:"Turtle Speed"}),e.jsx(a,{hint:"Hint text",label:"Rabbit Speed",value:"Rabbit Speed"})]})}};var x,L,C;d.parameters={...d.parameters,docs:{...(x=d.parameters)==null?void 0:x.docs,source:{originalSource:`{
2
+ ...Template,
3
+ args: {
4
+ defaultValue: ""
5
+ } as Story["args"] // This is a hack.,
6
+ }`,...(C=(L=d.parameters)==null?void 0:L.docs)==null?void 0:C.source}}};var k,M,w;u.parameters={...u.parameters,docs:{...(k=u.parameters)==null?void 0:k.docs,source:{originalSource:`{
7
+ ...Template,
8
+ args: {
9
+ hint: "Select the speed at which you wish to travel.",
10
+ defaultValue: ""
11
+ } as Story["args"] // This is a hack.,
12
+ }`,...(w=(M=u.parameters)==null?void 0:M.docs)==null?void 0:w.source}}};var V,j,G;p.parameters={...p.parameters,docs:{...(V=p.parameters)==null?void 0:V.docs,source:{originalSource:`{
13
+ ...Template,
14
+ args: {
15
+ hint: "Select the speed at which you wish to travel.",
16
+ HintLinkComponent: <Link href="/learn-more">Learn more</Link>
17
+ } as Story["args"] // This is a hack.,
18
+ }`,...(G=(j=p.parameters)==null?void 0:j.docs)==null?void 0:G.source}}};var H,E,W;c.parameters={...c.parameters,docs:{...(H=c.parameters)==null?void 0:H.docs,source:{originalSource:`{
19
+ ...Template,
20
+ args: {
21
+ isDisabled: true,
22
+ defaultValue: ""
23
+ } as Story["args"] // This is a hack.,
24
+ }`,...(W=(E=c.parameters)==null?void 0:E.docs)==null?void 0:W.source}}};var D,_,O;m.parameters={...m.parameters,docs:{...(D=m.parameters)==null?void 0:D.docs,source:{originalSource:`{
25
+ ...Template,
26
+ args: {
27
+ isReadOnly: true,
28
+ defaultValue: "Warp Speed"
29
+ } as Story["args"] // This is a hack.,
30
+ }`,...(O=(_=m.parameters)==null?void 0:_.docs)==null?void 0:O.source}}};var B,q,A;h.parameters={...h.parameters,docs:{...(B=h.parameters)==null?void 0:B.docs,source:{originalSource:`{
31
+ ...Template,
32
+ parameters: {
33
+ docs: {
34
+ description: {
35
+ story: "Validation should happen on the group and not individually on each item."
36
+ }
37
+ }
38
+ },
39
+ args: {
40
+ errorMessage: "This field is required.",
41
+ defaultValue: ""
42
+ } as Story["args"] // This is a hack.,
43
+ }`,...(A=(q=h.parameters)==null?void 0:q.docs)==null?void 0:A.source}}};var z,I,P;g.parameters={...g.parameters,docs:{...(z=g.parameters)==null?void 0:z.docs,source:{originalSource:`{
44
+ ...Template,
45
+ args: {
46
+ errorMessage: "This field is required.",
47
+ errorMessageList: ["Message 1", "Message 2"],
48
+ defaultValue: ""
49
+ } as Story["args"] // This is a hack.,
50
+ }`,...(P=(I=g.parameters)==null?void 0:I.docs)==null?void 0:P.source}}};var U,F,J;S.parameters={...S.parameters,docs:{...(U=S.parameters)==null?void 0:U.docs,source:{originalSource:`{
51
+ args: {
52
+ label: "Service Tier"
53
+ } as Story["args"],
54
+ render: function C(props) {
55
+ return <RadioGroup {...props}>
56
+ <Radio label="Basic" value="basic" />
57
+ <Radio label="Standard" value="standard" />
58
+ <Radio isDisabled={true} label="Premium (Unavailable in your region)" value="premium" />
59
+ </RadioGroup>;
60
+ }
61
+ }`,...(J=(F=S.parameters)==null?void 0:F.docs)==null?void 0:J.source}}};var K,N,Q;v.parameters={...v.parameters,docs:{...(K=v.parameters)==null?void 0:K.docs,source:{originalSource:`{
62
+ ...Template,
63
+ args: {
64
+ defaultValue: "Warp Speed"
65
+ } as Story["args"] // This is a hack.,
66
+ }`,...(Q=(N=v.parameters)==null?void 0:N.docs)==null?void 0:Q.source}}};var X,Y,Z;b.parameters={...b.parameters,docs:{...(X=b.parameters)==null?void 0:X.docs,source:{originalSource:`{
67
+ parameters: {
68
+ docs: {
69
+ description: {
70
+ story: "When the component is controlled, the parent component is responsible for managing the state of \`RadioGroup\`. \`onChange\` should be used to listen for component changes and to update the values in the \`value\` prop."
71
+ }
72
+ }
73
+ },
74
+ args: {
75
+ value: "Ludicrous Speed"
76
+ } as Story["args"],
77
+ // This is a hack.,
78
+ render: function C(props) {
79
+ const [value, setValue] = useState("Ludicrous Speed");
80
+ const onChange = useCallback((_event: ChangeEvent<HTMLInputElement>, value: string) => setValue(value), []);
81
+ return <RadioGroup {...{
82
+ ...props,
83
+ value,
84
+ onChange
85
+ }}>
86
+ <Radio label="Light Speed" value="Light Speed" />
87
+ <Radio label="Warp Speed" value="Warp Speed" />
88
+ <Radio label="Ludicrous Speed" value="Ludicrous Speed" />
89
+ </RadioGroup>;
90
+ },
91
+ play: async ({
92
+ canvasElement,
93
+ step
94
+ }) => {
95
+ await step("select uncontrolled radio button", async () => {
96
+ const canvas = within(canvasElement);
97
+ const radiogroup = canvas.getByRole("radiogroup");
98
+ const radio = canvas.getByLabelText("Warp Speed");
99
+ if (radiogroup && radio) {
100
+ await userEvent.click(radio);
101
+ }
102
+ await expect(radio).toBeChecked();
103
+ await axeRun("select uncontrolled radio button");
104
+ });
105
+ }
106
+ }`,...(Z=(Y=b.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var $,ee,ae;y.parameters={...y.parameters,docs:{...($=y.parameters)==null?void 0:$.docs,source:{originalSource:`{
107
+ parameters: {
108
+ docs: {
109
+ description: {
110
+ story: "A controlled Radio Group with Radio-level hints."
111
+ }
112
+ }
113
+ },
114
+ args: {
115
+ value: "Ludicrous Speed"
116
+ } as Story["args"],
117
+ // This is a hack.,
118
+ render: function C(props) {
119
+ const [value, setValue] = useState("Turtle Speed");
120
+ const onChange = useCallback((_event: ChangeEvent<HTMLInputElement>, value: string) => setValue(value), []);
121
+ return <RadioGroup {...props} onChange={onChange} value={value}>
122
+ <Radio hint="Hint text" label="Snail Speed" value="Snail Speed" />
123
+ <Radio hint="Hint text" label="Turtle Speed" value="Turtle Speed" />
124
+ <Radio hint="Hint text" label="Rabbit Speed" value="Rabbit Speed" />
125
+ </RadioGroup>;
126
+ }
127
+ }`,...(ae=(ee=y.parameters)==null?void 0:ee.docs)==null?void 0:ae.source}}};const de=["Default","Hint","HintLink","Disabled","ReadOnly","Error","ErrorsList","IndividualStates","UncontrolledRadioGroup","ControlledRadioGroup","ControlledRadioGroupWithRadioHints"],be=Object.freeze(Object.defineProperty({__proto__:null,ControlledRadioGroup:b,ControlledRadioGroupWithRadioHints:y,Default:d,Disabled:c,Error:h,ErrorsList:g,Hint:u,HintLink:p,IndividualStates:S,ReadOnly:m,UncontrolledRadioGroup:v,__namedExportsOrder:de,default:le},Symbol.toStringTag,{value:"Module"}));export{be as R};
@@ -0,0 +1 @@
1
+ import{r as o}from"./index-NdkWRN8K.js";import{j as e}from"./jsx-runtime-CnH95YSl.js";import{S as s}from"./SvgIcon-BQAg6Jm7.js";const l=o.forwardRef((r,n)=>e.jsx(s,{fill:"none",ref:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...r,children:e.jsx(e.Fragment,{children:e.jsx("path",{clipRule:"evenodd",d:"M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm7-5h2v10H8V7Zm8 0h-2v10h2V7Z",fill:"currentColor",fillRule:"evenodd"})})})),c=o.memo(l);c.displayName="PauseIcon";const a=o.forwardRef((r,n)=>e.jsx(s,{fill:"none",ref:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...r,children:e.jsx(e.Fragment,{children:e.jsx("path",{clipRule:"evenodd",d:"M12 3a9 9 0 0 0-9 9H1C1 5.925 5.925 1 12 1c3.722 0 7.01 1.848 9 4.674V2h2v5.223c0 .12 0 .262-.01.387a1.508 1.508 0 0 1-.153.571 1.5 1.5 0 0 1-.656.656 1.507 1.507 0 0 1-.571.153c-.125.01-.268.01-.387.01H16V7h3.485A8.991 8.991 0 0 0 12 3Zm0 18a9 9 0 0 0 9-9h2c0 6.075-4.925 11-11 11-3.722 0-7.01-1.848-9-4.674V22H1v-5.223c0-.12 0-.262.01-.387a1.51 1.51 0 0 1 .153-.571 1.5 1.5 0 0 1 .656-.655c.218-.112.426-.142.571-.154.125-.01.268-.01.387-.01H8v2H4.515A8.991 8.991 0 0 0 12 21Z",fill:"currentColor",fillRule:"evenodd"})})})),t=o.memo(a);t.displayName="RefreshIcon";export{c as M,t as a};
@@ -0,0 +1,62 @@
1
+ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{useMDXComponents as i}from"./index-BeeV6X6A.js";import{M as s}from"./index-BpVuOoKb.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./iframe-C-RQ_TKY.js";import"./index-BJTM6NaI.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";function n(r){const d={code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...i(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(s,{}),`
2
+ `,e.jsx(d.h1,{id:"right-to-left-rtl-language-support",children:"Right-to-Left (RTL) language support"}),`
3
+ `,e.jsxs(d.p,{children:["This document outlines the process and constraints of moving from physical CSS properties (",e.jsx(d.code,{children:"margin-left"}),") to logical CSS properties (",e.jsx(d.code,{children:"margin-inline-start"}),") as an effort to provide RTL support. Folks may recognize this syntax from CSS Grid or Flexbox."]}),`
4
+ `,e.jsxs(d.p,{children:["These property variants key off of the ",e.jsx(d.code,{children:'dir="rtl|ltr"'})," attribute on ",e.jsx(d.code,{children:"html"}),". This allows for a single declaration to provide LTR and RTL support."]}),`
5
+ `,e.jsx(d.h2,{id:"property-and-value-translations",children:"Property and value translations"}),`
6
+ `,e.jsx(d.p,{children:"This table documents the related equivalents in physical and logical CSS, their linter support, and any relevant notes."}),`
7
+ `,e.jsxs(d.p,{children:["For a quick visualization of how these properties are related, see ",e.jsx("a",{href:"https://codepen.io/aardrian/full/bGGxrvM",children:"this CodePen"}),"."]}),`
8
+ `,e.jsx("div",{children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{scope:"column",children:"Type"}),e.jsx("td",{scope:"column",children:"Physical CSS"}),e.jsx("td",{scope:"column",children:"Logical CSS"}),e.jsx("td",{scope:"column",children:"Lint status"}),e.jsx("td",{scope:"column",children:"Notes"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"7",children:e.jsx(d.p,{children:"Margin"})}),e.jsx("td",{children:e.jsx("code",{children:"margin"})}),e.jsx("td",{}),e.jsx("td",{children:"no auto-fix"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"margin-top"})}),e.jsx("td",{children:e.jsx("code",{children:"margin-block-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"margin-bottom"})}),e.jsx("td",{children:e.jsx("code",{children:"margin-block-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"margin-left"})}),e.jsx("td",{children:e.jsx("code",{children:"margin-inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"margin-right"})}),e.jsx("td",{children:e.jsx("code",{children:"margin-inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"margin-block"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both block margins"})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"margin-inline"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both inline margins"})]}),e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"7",children:e.jsx(d.p,{children:"Padding"})}),e.jsx("td",{children:e.jsx("code",{children:"padding"})}),e.jsx("td",{}),e.jsx("td",{children:"no auto-fix"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"padding-top"})}),e.jsx("td",{children:e.jsx("code",{children:"padding-block-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"padding-bottom"})}),e.jsx("td",{children:e.jsx("code",{children:"padding-block-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"padding-left"})}),e.jsx("td",{children:e.jsx("code",{children:"padding-inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"padding-right"})}),e.jsx("td",{children:e.jsx("code",{children:"padding-inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"padding-block"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both block paddings"})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"padding-inline"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both inline paddings"})]}),e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"11",children:e.jsx(d.p,{children:"Borders"})}),e.jsx("td",{children:e.jsx("code",{children:"border-top"})}),e.jsx("td",{children:e.jsx("code",{children:"border-block-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["Also applies to ",e.jsx("code",{children:"*-size|style|color"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-bottom"})}),e.jsx("td",{children:e.jsx("code",{children:"border-block-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["Also applies to ",e.jsx("code",{children:"*-size|style|color"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-left"})}),e.jsx("td",{children:e.jsx("code",{children:"border-inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["Also applies to ",e.jsx("code",{children:"*-size|style|color"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-right"})}),e.jsx("td",{children:e.jsx("code",{children:"border-inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:e.jsxs(d.p,{children:["Also applies to ",e.jsx("code",{children:"*-size|style|color"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"border-block"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both block borders"})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"border-inline"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets both inline borders"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-radius"})}),e.jsx("td",{}),e.jsx("td",{children:"no auto-fix"}),e.jsx("td",{children:e.jsxs(d.p,{children:["See ",e.jsx("a",{href:"#linting-notes",children:"Linting notes"})]})})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-top-left-radius"})}),e.jsx("td",{children:e.jsx("code",{children:"border-start-start-radius"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-top-right-radius"})}),e.jsx("td",{children:e.jsx("code",{children:"border-start-end-radius"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-bottom-left-radius"})}),e.jsx("td",{children:e.jsx("code",{children:"border-end-start-radius"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"border-bottom-right-radius"})}),e.jsx("td",{children:e.jsx("code",{children:"border-end-end-radius"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"7",children:e.jsx(d.p,{children:"Position"})}),e.jsx("td",{children:e.jsx("code",{children:"top"})}),e.jsx("td",{children:e.jsx("code",{children:"inset-block-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"bottom"})}),e.jsx("td",{children:e.jsx("code",{children:"inset-block-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"left"})}),e.jsx("td",{children:e.jsx("code",{children:"inset-inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"right"})}),e.jsx("td",{children:e.jsx("code",{children:"inset-inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"inset"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets all inset values"})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"inset-block"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets block inset values"})]}),e.jsxs("tr",{children:[e.jsx("td",{}),e.jsx("td",{children:e.jsx("code",{children:"inset-inline"})}),e.jsx("td",{}),e.jsx("td",{children:"Sets inline inset values"})]}),e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"6",children:e.jsx(d.p,{children:"Layout"})}),e.jsx("td",{children:e.jsx("code",{children:"text-align: left"})}),e.jsx("td",{children:e.jsx("code",{children:"text-align: start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"text-align: right"})}),e.jsx("td",{children:e.jsx("code",{children:"text-align: end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"float: left"})}),e.jsx("td",{children:e.jsx("code",{children:"float: inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:"Prefer Grid or Flex instead"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"float: right"})}),e.jsx("td",{children:e.jsx("code",{children:"float: inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:"Prefer Grid or Flex instead"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"clear: left"})}),e.jsx("td",{children:e.jsx("code",{children:"clear: inline-start"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:"Prefer Grid or Flex instead"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"clear: right"})}),e.jsx("td",{children:e.jsx("code",{children:"clear: inline-end"})}),e.jsx("td",{children:"auto-fixed"}),e.jsx("td",{children:"Prefer Grid or Flex instead"})]})]})]})}),`
9
+ `,e.jsx(d.h3,{id:"linting-notes",children:"Linting notes"}),`
10
+ `,e.jsxs(d.p,{children:["Browsers have not settled on a standard RTL syntax for 4-value shorthands. Currently, using standard 4-value shorthands (",e.jsx(d.code,{children:"margin: 4px 3px 2px 1px"}),") will be parsed as physical CSS by the browser. Stylelint's auto-fix behavior in this regard has a few gaps:"]}),`
11
+ `,e.jsxs(d.ul,{children:[`
12
+ `,e.jsxs(d.li,{children:["When four properties are present, ",e.jsx(d.code,{children:"margin"})," and ",e.jsx(d.code,{children:"padding"})," are collapsed into two forms of shorthand:",`
13
+ `,e.jsxs(d.ul,{children:[`
14
+ `,e.jsxs(d.li,{children:["When all values are the same: ",e.jsx(d.code,{children:"margin: x"})]}),`
15
+ `,e.jsxs(d.li,{children:["When all values are different: ",e.jsx(d.code,{children:"margin: logical p q x y"}),"."]}),`
16
+ `]}),`
17
+ `]}),`
18
+ `,e.jsxs(d.li,{children:["The ",e.jsx(d.code,{children:"logical"})," flag is aligned with the proposed syntax, but it is not supported in most browsers."]}),`
19
+ `,e.jsxs(d.li,{children:[e.jsx(d.code,{children:"border-radius"})," itself goes undetected, as there is no RTL syntax for shorthand. This is safe when the values are the same, but unsafe if they are ever different."]}),`
20
+ `]}),`
21
+ `,e.jsxs(d.p,{children:["For the above reasons, the use of ",e.jsx(d.code,{children:"margin"}),", ",e.jsx(d.code,{children:"padding"}),", and ",e.jsx(d.code,{children:"border-radius"})," shorthands are disallowed in our current config. Please use the associated RTL properties or the ",e.jsx(d.code,{children:"border-radius"})," mixin for broad support."]}),`
22
+ `,e.jsx(d.h3,{id:"unsupported-properties",children:"Unsupported properties"}),`
23
+ `,e.jsxs(d.p,{children:["Of note, ",e.jsx(d.code,{children:"transform"}),", ",e.jsx(d.code,{children:"box-shadow"}),", and ",e.jsx(d.code,{children:"background"})," properties do not have logical equivalents."]}),`
24
+ `,e.jsxs(d.p,{children:["Currently, these properties are always treated as physical. Since the ",e.jsx(d.code,{children:":rtl"})," selector doesn’t have broad support, the recommended solution is to add RTL styles via ",e.jsx(d.code,{children:"[dirl=’rtl’] &"}),"."]}),`
25
+ `,e.jsx(d.pre,{children:e.jsx(d.code,{className:"language-css",children:`.foo {
26
+ transformation: translateX(50%);
27
+
28
+ [dir="rtl"] & {
29
+ transformation: translateX(-50%);
30
+ }
31
+ }
32
+ `})}),`
33
+ `,e.jsx(d.h3,{id:"browser-support",children:"Browser support"}),`
34
+ `,e.jsx(d.p,{children:"Firefox and Chrome both have full support for the new properties and values."}),`
35
+ `,e.jsx(d.p,{children:"Safari is currently missing support for logical border-radius properties; however, full support is available in the Safari 15 preview."}),`
36
+ `,e.jsx(d.h3,{id:"unused-logical-properties-and-values",children:"Unused logical properties and values"}),`
37
+ `,e.jsx(d.p,{children:`Our current implementation focuses on providing "automatic" RTL support with the least amount of overhead. For this reason, we haven't implemented properties related to vertical reading/writing. For completeness, the remaining Logical CSS properties are inventoried here:`}),`
38
+ `,e.jsx("div",{children:e.jsxs("table",{children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("td",{scope:"column",children:"Type"}),e.jsx("td",{scope:"column",children:"Physical CSS"}),e.jsx("td",{scope:"column",children:"Logical CSS"}),e.jsx("td",{scope:"column",children:"Lint status"})]})}),e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"6",children:e.jsx(d.p,{children:"Box"})}),e.jsx("td",{children:e.jsx("code",{children:"width"})}),e.jsx("td",{children:e.jsx("code",{children:"inline-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"min-width"})}),e.jsx("td",{children:e.jsx("code",{children:"min-inline-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"max-width"})}),e.jsx("td",{children:e.jsx("code",{children:"max-inline-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"height"})}),e.jsx("td",{children:e.jsx("code",{children:"block-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"min-height"})}),e.jsx("td",{children:e.jsx("code",{children:"min-block-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"max-height"})}),e.jsx("td",{children:e.jsx("code",{children:"max-block-size"})}),e.jsx("td",{children:"auto-fix available"})]}),e.jsxs("tr",{children:[e.jsx("td",{scope:"row",rowSpan:"6",children:e.jsx(d.p,{children:"Overflow"})}),e.jsx("td",{children:e.jsx("code",{children:"overflow-y"})}),e.jsx("td",{children:e.jsx("code",{children:"overflow-block"})}),e.jsx("td",{children:"undetected"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"overflow-x"})}),e.jsx("td",{children:e.jsx("code",{children:"overflow-inline"})}),e.jsx("td",{children:"undetected"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"overscroll-behavior-y"})}),e.jsx("td",{children:e.jsx("code",{children:"overscroll-behavior-block"})}),e.jsx("td",{children:"undetected"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"overscroll-behavior-x"})}),e.jsx("td",{children:e.jsx("code",{children:"overscroll-behavior-inline"})}),e.jsx("td",{children:"undetected"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"resize: horizontal"})}),e.jsx("td",{children:e.jsx("code",{children:"resize: inline"})}),e.jsx("td",{children:"undetected"})]}),e.jsxs("tr",{children:[e.jsx("td",{children:e.jsx("code",{children:"resize: vertical"})}),e.jsx("td",{children:e.jsx("code",{children:"resize: block"})}),e.jsx("td",{children:"undetected"})]})]})]})}),`
39
+ `,e.jsx(d.p,{children:`There are limited caveats to utilizing these properties today. However, they are
40
+ not required for RTL support.`}),`
41
+ `,e.jsx(d.p,{children:"Browser support is as above."}),`
42
+ `,e.jsx(d.p,{children:"Box properties are correctly detected and auto-fixed by stylelint-use-logical, but Overflow properties are not."}),`
43
+ `,e.jsx(d.p,{children:"PostCSS supports detection and fallback generation for all of these properties."}),`
44
+ `,e.jsx(d.h2,{id:"non-logical-rtl-typography-concerns",children:"Non-logical, RTL typography concerns"}),`
45
+ `,e.jsxs(d.ul,{children:[`
46
+ `,e.jsxs(d.li,{children:[e.jsx(d.code,{children:"letter-spacing"})," is now set to 0 to ensure non-English scripts are properly ligatured"]}),`
47
+ `,e.jsxs(d.li,{children:[e.jsx(d.code,{children:"text-decoration-skip-ink"})," is now set to ",e.jsx(d.code,{children:"all"})," for maximum non-English script support"]}),`
48
+ `,e.jsx(d.li,{children:"Odyssey does not currently utilize or support transparency in text, as it causes legibility issues in non-English scripts"}),`
49
+ `,e.jsxs(d.li,{children:[e.jsx(d.code,{children:"word-break"})," is disallowed since not all languages support intra-word breakage"]}),`
50
+ `,e.jsx(d.li,{children:"Tables do not swap layout or ordering of numerical data"}),`
51
+ `,e.jsx(d.li,{children:"Noto Sans Arabic is our preferred Arabic font family"}),`
52
+ `,e.jsx(d.li,{children:"Addresses, email addresses, and phone numbers should not swap their display"}),`
53
+ `]}),`
54
+ `,e.jsx(d.h2,{id:"guidance-and-documentation-changes",children:"Guidance and documentation changes"}),`
55
+ `,e.jsx(d.h3,{id:"naming",children:"Naming"}),`
56
+ `,e.jsx(d.p,{children:"In both documentation and code, we have replaced and will strive to continue using logical, RTL-friendly names in place of physical ones."}),`
57
+ `,e.jsxs(d.p,{children:["For classes, this means preferring ",e.jsx(d.code,{children:".is-tooltip-start"})," to ",e.jsx(d.code,{children:".is-tooltip-left"}),`. In documentation, we'll refer to the "upper, ending corner" instead of the "upper, right-hand corner".`]}),`
58
+ `,e.jsx(d.h2,{id:"known-rtl-work-remaining",children:"Known RTL work remaining"}),`
59
+ `,e.jsxs(d.ul,{children:[`
60
+ `,e.jsxs(d.li,{children:["All unsupported cases (",e.jsx(d.code,{children:"transform"}),", ",e.jsx(d.code,{children:"background"}),", and ",e.jsx(d.code,{children:"shadow"}),") need linting to ensure appropriate RTL declarations."]}),`
61
+ `,e.jsx(d.li,{children:"Icons require bi-directional support"}),`
62
+ `]})]})}function f(r={}){const{wrapper:d}={...i(),...r.components};return d?e.jsx(d,{...r,children:e.jsx(n,{...r})}):n(r)}export{f as default};
@@ -0,0 +1 @@
1
+ import{a,g as f,_ as g,c as b}from"./createTheme-BmPXDA4p.js";import{r as d}from"./index-NdkWRN8K.js";import{u as m,s as C,c as y}from"./DefaultPropsProvider-B7tpShA7.js";import{j as p}from"./jsx-runtime-CnH95YSl.js";import{G as h}from"./GlobalStyles-BxDN_5FT.js";import{g as v}from"./generateUtilityClasses-DYvjsuMV.js";const u=(o,e)=>a({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&!o.vars&&{colorScheme:o.palette.mode}),S=o=>a({color:(o.vars||o).palette.text.primary},o.typography.body1,{backgroundColor:(o.vars||o).palette.background.default,"@media print":{backgroundColor:(o.vars||o).palette.common.white}}),x=(o,e=!1)=>{var s;const t={};e&&o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([i,n])=>{var c;t[o.getColorSchemeSelector(i).replace(/\s*&/,"")]={colorScheme:(c=n.palette)==null?void 0:c.mode}});let r=a({html:u(o,e),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:o.typography.fontWeightBold},body:a({margin:0},S(o),{"&::backdrop":{backgroundColor:(o.vars||o).palette.background.default}})},t);const l=(s=o.components)==null||(s=s.MuiCssBaseline)==null?void 0:s.styleOverrides;return l&&(r=[r,l]),r};function U(o){const e=m({props:o,name:"MuiCssBaseline"}),{children:s,enableColorScheme:t=!1}=e;return p.jsxs(d.Fragment,{children:[p.jsx(h,{styles:r=>x(r,t)}),s]})}function B(o){return f("MuiScopedCssBaseline",o)}v("MuiScopedCssBaseline",["root"]);const j=["className","component","enableColorScheme"],k=o=>{const{classes:e}=o;return y({root:["root"]},B,e)},M=C("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(o,e)=>e.root})(({theme:o,ownerState:e})=>{const s={};return e.enableColorScheme&&o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([t,r])=>{var l;s[`&${o.getColorSchemeSelector(t).replace(/\s*&/,"")}`]={colorScheme:(l=r.palette)==null?void 0:l.mode}}),a({},u(o,e.enableColorScheme),S(o),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:o.typography.fontWeightBold}},s)}),$=d.forwardRef(function(e,s){const t=m({props:e,name:"MuiScopedCssBaseline"}),{className:r,component:l="div"}=t,i=g(t,j),n=a({},t,{component:l}),c=k(n);return p.jsx(M,a({as:l,className:b(c.root,r),ref:s,ownerState:n},i))});export{U as C,$ as S};
@@ -0,0 +1,15 @@
1
+ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{useMDXComponents as r}from"./index-BeeV6X6A.js";import{M as i,C as s,c}from"./index-BpVuOoKb.js";import{Default as a}from"./ScreenReaderText.stories-BZinu6VX.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./iframe-C-RQ_TKY.js";import"./index-BJTM6NaI.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";import"./ScreenReaderText-vq7_Ob_I.js";import"./Box-C2ekHaOu.js";import"./createTheme-BmPXDA4p.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./visuallyHidden-Dan1xhjv.js";function o(n){const t={code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",...r(),...n.components};return e.jsxs(e.Fragment,{children:[e.jsx(i,{anchor:!0}),`
2
+ `,e.jsx(t.h1,{id:"screenreadertext",children:"ScreenReaderText"}),`
3
+ `,e.jsx(t.p,{children:"The ScreenReaderText component is designed to enhance accessibility by providing text that can be read by screen readers but is not visible to a sighted user."}),`
4
+ `,e.jsx(s,{of:a}),`
5
+ `,e.jsx(t.h2,{id:"usage",children:"Usage"}),`
6
+ `,e.jsx(t.p,{children:"The ScreenReaderText component should be used in conjunction with other visible UI elements to ensure that all users have access to the same information. It is typically used for labeling and providing additional context for form fields, buttons, and other interactive elements on the page."}),`
7
+ `,e.jsx(t.h3,{id:"component-composition",children:"Component composition"}),`
8
+ `,e.jsx(t.p,{children:"ScreenReaderText may be used to provide accessibility when composing custom components."}),`
9
+ `,e.jsxs(t.p,{children:["For example, when communicating the ",e.jsx(t.code,{children:"severity"})," of an Alert:"]}),`
10
+ `,e.jsx(c,{code:`
11
+ <Alert role={role} severity={severity} variant="banner">
12
+ <ScreenReaderText>{severity}:</ScreenReaderText>
13
+ {text}
14
+ </Alert>
15
+ `})]})}function w(n={}){const{wrapper:t}={...r(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(o,{...n})}):o(n)}export{w as default};
@@ -0,0 +1 @@
1
+ import{r as s}from"./index-NdkWRN8K.js";import{j as a}from"./jsx-runtime-CnH95YSl.js";import{B as m}from"./Box-C2ekHaOu.js";import{v as n}from"./visuallyHidden-Dan1xhjv.js";const i={...n},d=({ariaHidden:e,children:r,id:o,translate:t})=>a.jsx(m,{"aria-hidden":e,component:"span",id:o,sx:i,translate:t,children:r}),p=s.memo(d);p.displayName="ScreenReaderText";export{p as M};
@@ -0,0 +1,8 @@
1
+ import{j as r}from"./jsx-runtime-CnH95YSl.js";import{M as s}from"./ScreenReaderText-vq7_Ob_I.js";import"./index-NdkWRN8K.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./Box-C2ekHaOu.js";import"./createTheme-BmPXDA4p.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./visuallyHidden-Dan1xhjv.js";const g={component:s,argTypes:{children:{control:"text"}},args:{children:"This text is visually hidden."}},e={render:function(i){return r.jsxs(r.Fragment,{children:["The following text is visually hidden:",r.jsx(s,{...i})]})}};var t,o,n;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{
2
+ render: function C(args) {
3
+ return <>
4
+ The following text is visually hidden:
5
+ <ScreenReaderText {...args}></ScreenReaderText>
6
+ </>;
7
+ }
8
+ }`,...(n=(o=e.parameters)==null?void 0:o.docs)==null?void 0:n.source}}};const T=["Default"];export{e as Default,T as __namedExportsOrder,g as default};
@@ -0,0 +1 @@
1
+ import{r as e}from"./index-NdkWRN8K.js";import{j as r}from"./jsx-runtime-CnH95YSl.js";import{S as t}from"./SvgIcon-BQAg6Jm7.js";const a=e.forwardRef((o,n)=>r.jsx(t,{fill:"none",ref:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...o,children:r.jsx(r.Fragment,{children:r.jsx("path",{clipRule:"evenodd",d:"M16 10a6 6 0 1 1-12 0 6 6 0 0 1 12 0Zm-1.13 6.348a8 8 0 1 1 1.422-1.406l5.415 5.415-1.414 1.414-5.423-5.423Z",fill:"currentColor",fillRule:"evenodd"})})})),l=e.memo(a);l.displayName="SearchIcon";export{l as M};
@@ -0,0 +1,53 @@
1
+ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{f as V,w as et,u as O,s as k,e as c}from"./index-BJMTVygn.js";import{f as M}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{a as nt,O as it,b as at,c as rt,d as st,e as z,p as lt}from"./pickerComponentPropsMetadata-C9L3AhmF.js";import{n as S}from"./createTheme-BmPXDA4p.js";import{r as u}from"./index-NdkWRN8K.js";import{u as pt}from"./OdysseyDesignTokensContext-BWQIA5ie.js";import{j as ct}from"./Typography-CiNRLenM.js";import{M as v}from"./Settings-DjrryuBd.js";import{M as mt}from"./Folder-Ddku_ujr.js";import{M as I}from"./Video-DytabcyM.js";import"./useAutocomplete-C7VK9p4p.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CWawPfk8.js";import"./Field-ilPS333M.js";import"./Box-BXOPvc0Q.js";import"./Box-C2ekHaOu.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./List-W5kRT_jR.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./ListContext-C02XM7tn.js";import"./ListItem-CcduKzQu.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-BLeax9q3.js";import"./formLabelClasses-xMgYguuN.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BqXVk-1q.js";import"./buttonBaseClasses-CSPKg76d.js";import"./ScreenReaderText-vq7_Ob_I.js";import"./visuallyHidden-Dan1xhjv.js";import"./useTranslation-vEf1lqoc.js";import"./context-D_qJ2zXV.js";import"./FormHelperText-ZkUAjajs.js";import"./FieldHint-Cv7aMlpU.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./inputUtils-Dbi8XkA6.js";import"./InputBase--xDu7aWm.js";import"./inputBaseClasses-PAjj3ZBN.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./debounce-Be36O1Ab.js";import"./GlobalStyles-BxDN_5FT.js";import"./Autocomplete-MfScEzbR.js";import"./ArrowDropDown-bSngWMh1.js";import"./createSvgIcon-DiC7XVU3.js";import"./SvgIcon-BQAg6Jm7.js";import"./Close-DA_Sph0R.js";import"./autocompleteClasses-Bi4FgC8v.js";import"./Paper-DbAuDGNI.js";import"./Popper-CwLH-7YW.js";import"./Portal-Bvf2g5iG.js";import"./resolveComponentProps-DMpKAZvD.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./popper-CMBiYTiD.js";import"./useId-cMcvCE23.js";import"./useControlled-NQulfz4l.js";import"./Chip-BOK8DR8m.js";import"./chipClasses-BMWKl3Eu.js";import"./IconButton-CK9Do7vj.js";import"./ListSubheader-DXKE8lW0.js";import"./Typography-D7-qxuiy.js";import"./typographyClasses-D8vr2n3l.js";/*!
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */const E=S("div",{shouldForwardProp:o=>o!=="odysseyDesignTokens"&&o!=="adornmentSize"&&o!=="isTagContainer"})(({adornmentSize:o="small",isTagContainer:n=!1,odysseyDesignTokens:t,position:i="left"})=>({position:"relative",bottom:"1px",alignSelf:"flex-start",width:t.Spacing5,height:t.Spacing5,overflow:"hidden",...i==="left"&&{marginInlineEnd:t.Spacing3},...i==="right"&&{marginInlineStart:t.Spacing3},svg:{width:"100%",height:"auto"},img:{position:"absolute",top:"50%",left:"50%",width:"100%",transform:"translate(-50%, -50%)"},...o==="large"&&!n&&{bottom:0,width:t.Spacing8,height:t.Spacing8},...n&&{bottom:0,alignSelf:"center",width:t.Spacing4,height:"auto",maxHeight:t.Spacing4,marginInlineEnd:t.Spacing2,svg:{display:"flex",width:"100%",height:"auto"}}})),dt=S("div",{shouldForwardProp:o=>o!=="odysseyDesignTokens"})(()=>({display:"flex",justifyContent:"space-between",width:"100%"})),xt=S("div",{shouldForwardProp:o=>o!=="odysseyDesignTokens"})(()=>({display:"flex"})),ut=({adornment:o,adornmentSize:n,odysseyDesignTokens:t})=>typeof o=="string"?e.jsx(E,{adornmentSize:n,odysseyDesignTokens:t,children:e.jsx("img",{alt:"",role:"presentation",src:o})}):e.jsx(E,{adornmentSize:n,odysseyDesignTokens:t,children:o}),gt=({content:o,size:n,odysseyDesignTokens:t,onClick:i})=>{const r=u.useCallback(a=>{a.stopPropagation(),i()},[i]);return e.jsx(E,{adornmentSize:n,odysseyDesignTokens:t,onClick:r,children:o})},Ct=({adornmentSize:o,muiProps:n,odysseyDesignTokens:t,option:i})=>{const{adornment:r,description:a,label:x,metaData:g,extra:l,onClick:p,isInteractive:s=!0}=i,C=u.useCallback(h=>{if(!s){h.preventDefault();return}h.stopPropagation(),p==null||p()},[p,s]),y=u.useMemo(()=>({...n,onClick:s?C:void 0,"aria-disabled":s?void 0:"true",role:"option"}),[n,s,C]);return e.jsx(it,{hasAdornment:!0,muiProps:y,children:e.jsxs(dt,{odysseyDesignTokens:t,children:[e.jsxs(xt,{odysseyDesignTokens:t,children:[e.jsx(ut,{adornment:r,adornmentSize:o,odysseyDesignTokens:t}),e.jsxs("div",{children:[e.jsxs(at,{odysseyDesignTokens:t,children:[e.jsx(ct,{component:"p",children:x}),e.jsx(rt,{description:a,odysseyDesignTokens:t})]}),g&&e.jsx(st,{metaData:g,odysseyDesignTokens:t})]})]}),l&&e.jsx(gt,{content:l.content,odysseyDesignTokens:t,onClick:l.onClick,size:l.size||o})]})})},ht=({adornmentSize:o="small",ariaDescribedBy:n,defaultValue:t,errorMessage:i,errorMessageList:r,getIsOptionEqualToValue:a,groupOptionsBy:x,id:g,inputValue:l,isCustomValueAllowed:p,isDisabled:s,isFullWidth:C=!1,isLoading:y,isOptional:h=!1,isReadOnly:F,isVirtualized:R=!1,hint:U,HintLinkComponent:_,label:q,name:N,onBlur:G,onChange:J,onInputChange:K,onFocus:Q,options:X,value:Y,testId:Z,translate:$})=>{const j=pt(),tt=u.useCallback((ot,B)=>e.jsx(Ct,{adornmentSize:o,muiProps:ot,odysseyDesignTokens:j,option:B},B.value),[o,j]);return e.jsx(nt,{ariaDescribedBy:n,defaultValue:t,errorMessage:i,errorMessageList:r,getIsOptionEqualToValue:a,groupOptionsBy:x,hint:U,HintLinkComponent:_,id:g,inputValue:l,isCustomValueAllowed:p,isDisabled:s,isFullWidth:C,isLoading:y,isOptional:h,isReadOnly:F,isVirtualized:R,label:q,name:N,onBlur:G,onChange:J,onFocus:Q,onInputChange:K,options:X,renderOption:tt,testId:Z,translate:$,value:Y})},W=u.memo(ht);W.displayName="MemoizedSearchDropdown";const m=V(),d=V(),w=[{value:"an",label:"An Option label",adornment:e.jsx(mt,{}),extra:{content:e.jsx(v,{"data-testid":"option1-extra"}),onClick:d},onClick:m},{value:"another",label:"Another Option label",description:"Some optional descriptive text",adornment:e.jsx(v,{}),extra:{content:e.jsx(I,{}),onClick:d},onClick:m},{value:"unselectable",label:"Unselectable Option",description:"Some optional descriptive text",isInteractive:!1,adornment:e.jsx(v,{"data-testid":"unselectable-extra"}),extra:{content:e.jsx(I,{}),onClick:d},onClick:m}],Do={component:W,argTypes:{...lt,adornmentSize:{control:"radio",options:z,description:"Choose the size for the leading adornment. 'small' or 'large'",table:{type:{summary:z.join(" | ")}}},hint:M.hint,HintLinkComponent:M.HintLinkComponent},args:{label:"Picker with option adornment label",hint:"Optional hint text for picker",options:w},tags:["autodocs"]},b={args:{options:w},play:async({canvasElement:o,step:n})=>{const i=et(o).getByRole("combobox"),r=()=>{m.mockClear(),d.mockClear()};await n("Click on option triggers option onClick",async()=>{r(),await O.click(i);const a=k.getByText("An Option label");await O.click(a),c(m).toBeCalled(),c(d).not.toBeCalled()}),await n("Click on option extra triggers option.extra onClick",async()=>{r();const a=k.getByTestId("option1-extra");await O.click(a),c(m).not.toBeCalled(),c(d).toBeCalled()}),await n("Click on unselectable option not trigger onClick",()=>{r();const a=k.getByText("Unselectable Option");c(a).toHaveStyle("pointer-events: none");const x=k.getByTestId("unselectable-extra");c(x).toHaveStyle("pointer-events: none")})}},f={args:{adornmentSize:"large",options:w}};var A,T,D;b.parameters={...b.parameters,docs:{...(A=b.parameters)==null?void 0:A.docs,source:{originalSource:`{
12
+ args: {
13
+ options: optionsWithExtra
14
+ },
15
+ play: async ({
16
+ canvasElement,
17
+ step
18
+ }) => {
19
+ const canvas = within(canvasElement);
20
+ const comboBoxElement = canvas.getByRole<HTMLInputElement>("combobox");
21
+ const clearMocks = () => {
22
+ optionOnClick.mockClear();
23
+ optionExtraOnClick.mockClear();
24
+ };
25
+ await step("Click on option triggers option onClick", async () => {
26
+ clearMocks();
27
+ await userEvent.click(comboBoxElement);
28
+ const option = screen.getByText("An Option label");
29
+ await userEvent.click(option);
30
+ expect(optionOnClick).toBeCalled();
31
+ expect(optionExtraOnClick).not.toBeCalled();
32
+ });
33
+ await step("Click on option extra triggers option.extra onClick", async () => {
34
+ clearMocks();
35
+ const optionExtra = screen.getByTestId("option1-extra");
36
+ await userEvent.click(optionExtra);
37
+ expect(optionOnClick).not.toBeCalled();
38
+ expect(optionExtraOnClick).toBeCalled();
39
+ });
40
+ await step("Click on unselectable option not trigger onClick", () => {
41
+ clearMocks();
42
+ const unselectableOption = screen.getByText("Unselectable Option");
43
+ expect(unselectableOption).toHaveStyle("pointer-events: none");
44
+ const optionExtra = screen.getByTestId("unselectable-extra");
45
+ expect(optionExtra).toHaveStyle("pointer-events: none");
46
+ });
47
+ }
48
+ }`,...(D=(T=b.parameters)==null?void 0:T.docs)==null?void 0:D.source}}};var P,H,L;f.parameters={...f.parameters,docs:{...(P=f.parameters)==null?void 0:P.docs,source:{originalSource:`{
49
+ args: {
50
+ adornmentSize: "large",
51
+ options: optionsWithExtra
52
+ }
53
+ }`,...(L=(H=f.parameters)==null?void 0:H.docs)==null?void 0:L.source}}};const Po=["SmallAdornmentWithExtra","LargeAdornmentWithExtra"];export{f as LargeAdornmentWithExtra,b as SmallAdornmentWithExtra,Po as __namedExportsOrder,Do as default};
@@ -0,0 +1 @@
1
+ import{n as A}from"./createTheme-BmPXDA4p.js";import{r as s}from"./index-NdkWRN8K.js";import{M as B}from"./Field-ilPS333M.js";import{g as E,u as V}from"./inputUtils-Dbi8XkA6.js";import{M as W}from"./OdysseyThemeProvider-aR5shtx6.js";import{j as e}from"./jsx-runtime-CnH95YSl.js";import{u as g}from"./useTranslation-vEf1lqoc.js";import{I as D}from"./InputBase--xDu7aWm.js";import{I as z}from"./InputAdornment-CFgP75Dd.js";import{M as L}from"./Search-BvCmvJcV.js";import{I as N}from"./IconButton-CK9Do7vj.js";import{M as O}from"./CloseCircleFilled-D2aBlgBe.js";const se=["outline","filled"],q=A("div")({width:"100%"}),G=s.forwardRef(({ariaDescribedBy:C,autoCompleteType:l,defaultValue:n,hasInitialFocus:d,id:k,isDisabled:a=!1,isFullWidth:R=!1,label:T,name:m,onChange:o,onFocus:c,onBlur:u,onClear:r,placeholder:f,tabIndex:h,testId:p,translate:x,value:j,variant:M="outline"},b)=>{const{t:y}=g(),F=s.useCallback(i=>{o==null||o(i)},[o]),S=s.useCallback(()=>{r==null||r()},[r]),v=s.useRef(E({controlledValue:j,uncontrolledValue:n})),t=V({defaultValue:n,value:j,controlState:v.current}),w=s.useCallback(({ariaDescribedBy:i,id:I})=>e.jsx(D,{...t,"aria-describedby":i,autoComplete:l,autoFocus:d,"data-ods-type":"search","data-ods-variant":M,"data-se":p,endAdornment:((t==null?void 0:t.defaultValue)||(t==null?void 0:t.value))&&e.jsx(z,{position:"end",children:e.jsx(N,{"aria-label":y("clear.text"),disabled:a,onClick:S,size:"small",children:e.jsx(O,{})})}),id:I,inputProps:{tabIndex:h},name:m??I,onBlur:u,onChange:F,onFocus:c,placeholder:f,ref:b,startAdornment:e.jsx(z,{position:"start",children:e.jsx(L,{})}),translate:x,type:"search"}),[l,d,t,a,m,u,F,S,c,f,b,y,h,p,x,M]);return e.jsx(q,{children:e.jsx(W,{children:e.jsx(B,{ariaDescribedBy:C,fieldType:"single",hasVisibleLabel:!1,id:k,isDisabled:a,isFullWidth:R,isOptional:!0,label:T,renderFieldComponent:w})})})}),H=s.memo(G);H.displayName="SearchField";export{H as M,se as s};
@@ -0,0 +1,37 @@
1
+ import{j as E}from"./jsx-runtime-CnH95YSl.js";import{r as i}from"./index-NdkWRN8K.js";import{f as e}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{s as l,M as w}from"./SearchField-jc9ws93I.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./createTheme-BmPXDA4p.js";import"./Field-ilPS333M.js";import"./Box-BXOPvc0Q.js";import"./Box-C2ekHaOu.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./OdysseyDesignTokensContext-BWQIA5ie.js";import"./List-W5kRT_jR.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./ListContext-C02XM7tn.js";import"./ListItem-CcduKzQu.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-BLeax9q3.js";import"./formLabelClasses-xMgYguuN.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BqXVk-1q.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CWawPfk8.js";import"./buttonBaseClasses-CSPKg76d.js";import"./ScreenReaderText-vq7_Ob_I.js";import"./visuallyHidden-Dan1xhjv.js";import"./useTranslation-vEf1lqoc.js";import"./context-D_qJ2zXV.js";import"./FormHelperText-ZkUAjajs.js";import"./FieldHint-Cv7aMlpU.js";import"./Typography-CiNRLenM.js";import"./Typography-D7-qxuiy.js";import"./typographyClasses-D8vr2n3l.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./inputUtils-Dbi8XkA6.js";import"./OdysseyThemeProvider-aR5shtx6.js";import"./useContrastMode-BthoHtLy.js";import"./tooltipClasses-C74HjonW.js";import"./tableRowClasses-inqOIkjd.js";import"./SvgIcon-BQAg6Jm7.js";import"./menuItemClasses-DFm3-Sf1.js";import"./checkboxClasses-Dtdq1kQG.js";import"./formControlLabelClasses-BtjP4uib.js";import"./inputBaseClasses-PAjj3ZBN.js";import"./inputAdornmentClasses-DYNxkEwO.js";import"./radioClasses-f3ayyf7y.js";import"./formGroupClasses-D9ChLj7o.js";import"./buttonClasses-DtIJBSf4.js";import"./chipClasses-BMWKl3Eu.js";import"./CloseCircleFilled-D2aBlgBe.js";import"./WarningFilled-Y3Vw7n_w.js";import"./Check-BmyOKfcL.js";import"./autocompleteClasses-Bi4FgC8v.js";import"./Close-DA7fBExu.js";import"./alertTitleClasses-CSPeaunQ.js";import"./ChevronDown-BnAWuc8V.js";import"./index-CpbQl8EB.js";import"./InputBase--xDu7aWm.js";import"./ownerWindow-HkKU3E4x.js";import"./ownerDocument-DW-IO8s5.js";import"./debounce-Be36O1Ab.js";import"./GlobalStyles-BxDN_5FT.js";import"./InputAdornment-CFgP75Dd.js";import"./Search-BvCmvJcV.js";import"./IconButton-CK9Do7vj.js";const Ge={component:w,argTypes:{autoCompleteType:{control:"text",description:"This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill)",table:{type:{summary:"string"},defaultValue:{summary:void 0}}},defaultValue:{control:"text",description:"The value of the `input` element. Use when the component is not controlled",table:{type:{summary:"string"},defaultValue:{summary:void 0}}},hasInitialFocus:{control:"boolean",description:"If `true`, the component will receive focus automatically",table:{type:{summary:"boolean"}}},isDisabled:e.isDisabled,isFullWidth:e.isFullWidth,id:e.id,label:{control:"text",description:"This label won't show up visually, but it's required for accessibility",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},name:e.name,onBlur:{description:"Callback fired when the `input` element loses focus",table:{type:{summary:"function"}}},onClear:{description:"Callback fired when the clear button is pressed",table:{type:{summary:"function"}}},onChange:{description:"Callback fired when the value is changed",table:{type:{summary:"function"}}},onFocus:{description:"Callback fired when the `input` element gets focus",table:{type:{summary:"function"}}},placeholder:{control:"text",description:"The short hint displayed in the `input` before the user enters a value",table:{type:{summary:"string"}}},value:{control:"text",description:"The value of the `input` element. Use when the component is controlled",table:{type:{summary:"string"},defaultValue:{summary:void 0}}},variant:{options:l,control:{type:"radio"},description:"The color and style of the button",table:{type:{summary:l.join(" | ")},defaultValue:{summary:"outline"}},type:{required:!0,name:"other",value:"radio"}}},args:{label:"Search",placeholder:"Search planets"},tags:["autodocs"]},t={args:{defaultValue:""}},o={args:{defaultValue:"",variant:"filled"}},r={args:{isDisabled:!0}},a={args:{isFullWidth:!0}},n={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for managing the state of `SearchField`. `onChange` should be used to listen for component changes and to update the values in the `value` prop."}}},args:{defaultValue:void 0},render:function(x){const[T,s]=i.useState("Jupiter"),k=i.useCallback(W=>s(W.target.value),[]),D=i.useCallback(()=>{s("")},[]);return E.jsx(w,{...x,onChange:k,onClear:D,value:T})}};var p,m,u;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{
2
+ args: {
3
+ defaultValue: ""
4
+ }
5
+ }`,...(u=(m=t.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var c,d,h;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{
6
+ args: {
7
+ defaultValue: "",
8
+ variant: "filled"
9
+ }
10
+ }`,...(h=(d=o.parameters)==null?void 0:d.docs)==null?void 0:h.source}}};var f,g,b;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:`{
11
+ args: {
12
+ isDisabled: true
13
+ }
14
+ }`,...(b=(g=r.parameters)==null?void 0:g.docs)==null?void 0:b.source}}};var y,C,v;a.parameters={...a.parameters,docs:{...(y=a.parameters)==null?void 0:y.docs,source:{originalSource:`{
15
+ args: {
16
+ isFullWidth: true
17
+ }
18
+ }`,...(v=(C=a.parameters)==null?void 0:C.docs)==null?void 0:v.source}}};var V,S,F;n.parameters={...n.parameters,docs:{...(V=n.parameters)==null?void 0:V.docs,source:{originalSource:`{
19
+ parameters: {
20
+ docs: {
21
+ description: {
22
+ story: "When the component is controlled, the parent component is responsible for managing the state of \`SearchField\`. \`onChange\` should be used to listen for component changes and to update the values in the \`value\` prop."
23
+ }
24
+ }
25
+ },
26
+ args: {
27
+ defaultValue: undefined
28
+ },
29
+ render: function C(props) {
30
+ const [constrolledValue, setControlledValue] = useState("Jupiter");
31
+ const onChange = useCallback((event: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => setControlledValue(event.target.value), []);
32
+ const onClear = useCallback(() => {
33
+ setControlledValue("");
34
+ }, []);
35
+ return <SearchField {...props} onChange={onChange} onClear={onClear} value={constrolledValue} />;
36
+ }
37
+ }`,...(F=(S=n.parameters)==null?void 0:S.docs)==null?void 0:F.source}}};const Ke=["Default","FilledVariant","Disabled","FullWidth","ControlledSearch"];export{n as ControlledSearch,t as Default,r as Disabled,o as FilledVariant,a as FullWidth,Ke as __namedExportsOrder,Ge as default};
@@ -0,0 +1 @@
1
+ import{_ as W,a as s,j as pe,g as We,c as ce,b as se,f as ot}from"./createTheme-BmPXDA4p.js";import{r as p}from"./index-NdkWRN8K.js";import{M as nt}from"./Menu-CGJO1mMf.js";import{g as Ee}from"./generateUtilityClasses-DYvjsuMV.js";import{u as le,s as h,c as q,r as _,e as rt}from"./DefaultPropsProvider-B7tpShA7.js";import{j as c}from"./jsx-runtime-CnH95YSl.js";import{i as st}from"./utils-iop7lDec.js";import{u as we}from"./useControlled-NQulfz4l.js";import{u as je}from"./useIsFocusVisible-DH0qxT5e.js";import{o as lt}from"./ownerDocument-DW-IO8s5.js";import{u as it}from"./useId-cMcvCE23.js";import{u as Le,f as Ue}from"./useFormControl-BMISTZuX.js";import{g as at,f as U,a as dt,i as K,b as ut,o as M,A as pt}from"./ArrowDropDown-bSngWMh1.js";import{g as ct}from"./Portal-Bvf2g5iG.js";import{I as fe,a as be,r as me,b as ve,i as ge}from"./InputBase--xDu7aWm.js";const ft=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],bt=e=>{const{classes:t,disableUnderline:o}=e,l=q({root:["root",!o&&"underline"],input:["input"]},at,t);return s({},t,l)},mt=h(be,{shouldForwardProp:e=>_(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...me(e,t),!o.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var o;const r=e.palette.mode==="light",l=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",d=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return s({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:d,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${U.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${U.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(o=(e.vars||e).palette[t.color||"primary"])==null?void 0:o.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${U.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${U.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:l}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${U.disabled}, .${U.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${U.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&s({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),vt=h(ve,{name:"MuiFilledInput",slot:"Input",overridesResolver:ge})(({theme:e,ownerState:t})=>s({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),_e=p.forwardRef(function(t,o){var r,l,a,d;const i=le({props:t,name:"MuiFilledInput"}),{components:C={},componentsProps:I,fullWidth:v=!1,inputComponent:$="input",multiline:b=!1,slotProps:y,slots:R={},type:P="text"}=i,F=W(i,ft),S=s({},i,{fullWidth:v,inputComponent:$,multiline:b,type:P}),x=bt(i),O={root:{ownerState:S},input:{ownerState:S}},f=y??I?pe(O,y??I):O,w=(r=(l=R.root)!=null?l:C.Root)!=null?r:mt,k=(a=(d=R.input)!=null?d:C.Input)!=null?a:vt;return c.jsx(fe,s({slots:{root:w,input:k},componentsProps:f,fullWidth:v,inputComponent:$,multiline:b,ref:o,type:P},F,{classes:x}))});_e.muiName="Input";const gt=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],ht=e=>{const{classes:t,disableUnderline:o}=e,l=q({root:["root",!o&&"underline"],input:["input"]},dt,t);return s({},t,l)},Ct=h(be,{shouldForwardProp:e=>_(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[...me(e,t),!o.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),s({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${K.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${K.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${K.disabled}, .${K.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${K.disabled}:before`]:{borderBottomStyle:"dotted"}})}),xt=h(ve,{name:"MuiInput",slot:"Input",overridesResolver:ge})({}),Ae=p.forwardRef(function(t,o){var r,l,a,d;const i=le({props:t,name:"MuiInput"}),{disableUnderline:C,components:I={},componentsProps:v,fullWidth:$=!1,inputComponent:b="input",multiline:y=!1,slotProps:R,slots:P={},type:F="text"}=i,S=W(i,gt),x=ht(i),f={root:{ownerState:{disableUnderline:C}}},w=R??v?pe(R??v,f):f,k=(r=(l=P.root)!=null?l:I.Root)!=null?r:Ct,N=(a=(d=P.input)!=null?d:I.Input)!=null?a:xt;return c.jsx(fe,s({slots:{root:k,input:N},slotProps:w,fullWidth:$,inputComponent:b,multiline:y,ref:o,type:F},S,{classes:x}))});Ae.muiName="Input";function It(e){return We("MuiNativeSelect",e)}const he=Ee("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),yt=["className","disabled","error","IconComponent","inputRef","variant"],Rt=e=>{const{classes:t,variant:o,disabled:r,multiple:l,open:a,error:d}=e,i={select:["select",o,r&&"disabled",l&&"multiple",d&&"error"],icon:["icon",`icon${se(o)}`,a&&"iconOpen",r&&"disabled"]};return q(i,It,t)},De=({ownerState:e,theme:t})=>s({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":s({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${he.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),St=h("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:_,overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.select,t[o.variant],o.error&&t.error,{[`&.${he.multiple}`]:t.multiple}]}})(De),Te=({ownerState:e,theme:t})=>s({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${he.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),$t=h("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${se(o.variant)}`],o.open&&t.iconOpen]}})(Te),Ot=p.forwardRef(function(t,o){const{className:r,disabled:l,error:a,IconComponent:d,inputRef:i,variant:C="standard"}=t,I=W(t,yt),v=s({},t,{disabled:l,variant:C,error:a}),$=Rt(v);return c.jsxs(p.Fragment,{children:[c.jsx(St,s({ownerState:v,className:ce($.select,r),disabled:l,ref:i||o},I)),t.multiple?null:c.jsx($t,{as:d,ownerState:v,className:$.icon})]})});var Be;const Pt=["children","classes","className","label","notched"],kt=h("fieldset",{shouldForwardProp:_})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Ft=h("legend",{shouldForwardProp:_})(({ownerState:e,theme:t})=>s({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&s({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function wt(e){const{className:t,label:o,notched:r}=e,l=W(e,Pt),a=o!=null&&o!=="",d=s({},e,{notched:r,withLabel:a});return c.jsx(kt,s({"aria-hidden":!0,className:t,ownerState:d},l,{children:c.jsx(Ft,{ownerState:d,children:a?c.jsx("span",{children:o}):Be||(Be=c.jsx("span",{className:"notranslate",children:"​"}))})}))}const Bt=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Nt=e=>{const{classes:t}=e,r=q({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ut,t);return s({},t,r)},Mt=h(be,{shouldForwardProp:e=>_(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:me})(({theme:e,ownerState:t})=>{const o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return s({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${M.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${M.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:o}},[`&.${M.focused} .${M.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${M.error} .${M.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${M.disabled} .${M.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&s({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Wt=h(wt,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Et=h(ve,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ge})(({theme:e,ownerState:t})=>s({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),ze=p.forwardRef(function(t,o){var r,l,a,d,i;const C=le({props:t,name:"MuiOutlinedInput"}),{components:I={},fullWidth:v=!1,inputComponent:$="input",label:b,multiline:y=!1,notched:R,slots:P={},type:F="text"}=C,S=W(C,Bt),x=Nt(C),O=Le(),f=Ue({props:C,muiFormControl:O,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=s({},C,{color:f.color||"primary",disabled:f.disabled,error:f.error,focused:f.focused,formControl:O,fullWidth:v,hiddenLabel:f.hiddenLabel,multiline:y,size:f.size,type:F}),k=(r=(l=P.root)!=null?l:I.Root)!=null?r:Mt,N=(a=(d=P.input)!=null?d:I.Input)!=null?a:Et;return c.jsx(fe,s({slots:{root:k,input:N},renderSuffix:E=>c.jsx(Wt,{ownerState:w,className:x.notchedOutline,label:b!=null&&b!==""&&f.required?i||(i=c.jsxs(p.Fragment,{children:[b," ","*"]})):b,notched:typeof R<"u"?R:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:v,inputComponent:$,multiline:y,ref:o,type:F},S,{classes:s({},x,{notchedOutline:null})}))});ze.muiName="Input";function jt(e){return We("MuiSelect",e)}const X=Ee("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Ne;const Lt=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],Ut=h("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{[`&.${X.select}`]:t.select},{[`&.${X.select}`]:t[o.variant]},{[`&.${X.error}`]:t.error},{[`&.${X.multiple}`]:t.multiple}]}})(De,{[`&.${X.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_t=h("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.icon,o.variant&&t[`icon${se(o.variant)}`],o.open&&t.iconOpen]}})(Te),At=h("input",{shouldForwardProp:e=>rt(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Me(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Dt(e){return e==null||typeof e=="string"&&!e.trim()}const Tt=e=>{const{classes:t,variant:o,disabled:r,multiple:l,open:a,error:d}=e,i={select:["select",o,r&&"disabled",l&&"multiple",d&&"error"],icon:["icon",`icon${se(o)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return q(i,jt,t)},zt=p.forwardRef(function(t,o){var r;const{"aria-describedby":l,"aria-label":a,autoFocus:d,autoWidth:i,children:C,className:I,defaultOpen:v,defaultValue:$,disabled:b,displayEmpty:y,error:R=!1,IconComponent:P,inputRef:F,labelId:S,MenuProps:x={},multiple:O,name:f,onBlur:w,onChange:k,onClose:N,onFocus:E,onOpen:H,open:G,readOnly:J,renderValue:V,SelectDisplayProps:B={},tabIndex:j,value:Q,variant:Y="standard"}=t,A=W(t,Lt),[m,xe]=we({controlled:Q,default:$,name:"Select"}),[Ie,Ve]=we({controlled:G,default:v,name:"Select"}),ye=p.useRef(null),L=p.useRef(null),[D,Ke]=p.useState(null),{current:ie}=p.useRef(G!=null),[Xe,Re]=p.useState(),qe=je(o,F),He=p.useCallback(n=>{L.current=n,n&&Ke(n)},[]),Z=D==null?void 0:D.parentNode;p.useImperativeHandle(qe,()=>({focus:()=>{L.current.focus()},node:ye.current,value:m}),[m]),p.useEffect(()=>{v&&Ie&&D&&!ie&&(Re(i?null:Z.clientWidth),L.current.focus())},[D,i]),p.useEffect(()=>{d&&L.current.focus()},[d]),p.useEffect(()=>{if(!S)return;const n=lt(L.current).getElementById(S);if(n){const u=()=>{getSelection().isCollapsed&&L.current.focus()};return n.addEventListener("click",u),()=>{n.removeEventListener("click",u)}}},[S]);const ee=(n,u)=>{n?H&&H(u):N&&N(u),ie||(Re(i?null:Z.clientWidth),Ve(n))},Ge=n=>{n.button===0&&(n.preventDefault(),L.current.focus(),ee(!0,n))},Je=n=>{ee(!1,n)},Se=p.Children.toArray(C),Qe=n=>{const u=Se.find(g=>g.props.value===n.target.value);u!==void 0&&(xe(u.props.value),k&&k(n,u))},Ye=n=>u=>{let g;if(u.currentTarget.hasAttribute("tabindex")){if(O){g=Array.isArray(m)?m.slice():[];const z=m.indexOf(n.props.value);z===-1?g.push(n.props.value):g.splice(z,1)}else g=n.props.value;if(n.props.onClick&&n.props.onClick(u),m!==g&&(xe(g),k)){const z=u.nativeEvent||u,Fe=new z.constructor(z.type,z);Object.defineProperty(Fe,"target",{writable:!0,value:{value:g,name:f}}),k(Fe,n)}O||ee(!1,u)}},Ze=n=>{J||[" ","ArrowUp","ArrowDown","Enter"].indexOf(n.key)!==-1&&(n.preventDefault(),ee(!0,n))},te=D!==null&&Ie,et=n=>{!te&&w&&(Object.defineProperty(n,"target",{writable:!0,value:{value:m,name:f}}),w(n))};delete A["aria-invalid"];let T,$e;const oe=[];let ne=!1;(st({value:m})||y)&&(V?T=V(m):ne=!0);const tt=Se.map(n=>{if(!p.isValidElement(n))return null;let u;if(O){if(!Array.isArray(m))throw new Error(ot(2));u=m.some(g=>Me(g,n.props.value)),u&&ne&&oe.push(n.props.children)}else u=Me(m,n.props.value),u&&ne&&($e=n.props.children);return p.cloneElement(n,{"aria-selected":u?"true":"false",onClick:Ye(n),onKeyUp:g=>{g.key===" "&&g.preventDefault(),n.props.onKeyUp&&n.props.onKeyUp(g)},role:"option",selected:u,value:void 0,"data-value":n.props.value})});ne&&(O?oe.length===0?T=null:T=oe.reduce((n,u,g)=>(n.push(u),g<oe.length-1&&n.push(", "),n),[]):T=$e);let Oe=Xe;!i&&ie&&D&&(Oe=Z.clientWidth);let ae;typeof j<"u"?ae=j:ae=b?null:0;const Pe=B.id||(f?`mui-component-select-${f}`:void 0),re=s({},t,{variant:Y,value:m,open:te,error:R}),de=Tt(re),ue=s({},x.PaperProps,(r=x.slotProps)==null?void 0:r.paper),ke=it();return c.jsxs(p.Fragment,{children:[c.jsx(Ut,s({ref:He,tabIndex:ae,role:"combobox","aria-controls":ke,"aria-disabled":b?"true":void 0,"aria-expanded":te?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[S,Pe].filter(Boolean).join(" ")||void 0,"aria-describedby":l,onKeyDown:Ze,onMouseDown:b||J?null:Ge,onBlur:et,onFocus:E},B,{ownerState:re,className:ce(B.className,de.select,I),id:Pe,children:Dt(T)?Ne||(Ne=c.jsx("span",{className:"notranslate",children:"​"})):T})),c.jsx(At,s({"aria-invalid":R,value:Array.isArray(m)?m.join(","):m,name:f,ref:ye,"aria-hidden":!0,onChange:Qe,tabIndex:-1,disabled:b,className:de.nativeInput,autoFocus:d,ownerState:re},A)),c.jsx(_t,{as:P,className:de.icon,ownerState:re}),c.jsx(nt,s({id:`menu-${f||""}`,anchorEl:Z,open:te,onClose:Je,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},x,{MenuListProps:s({"aria-labelledby":S,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:ke},x.MenuListProps),slotProps:s({},x.slotProps,{paper:s({},ue,{style:s({minWidth:Oe},ue!=null?ue.style:null)})}),children:tt}))]})}),Vt=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],Kt=["root"],Xt=e=>{const{classes:t}=e;return t},Ce={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>_(e)&&e!=="variant",slot:"Root"},qt=h(Ae,Ce)(""),Ht=h(ze,Ce)(""),Gt=h(_e,Ce)(""),Jt=p.forwardRef(function(t,o){const r=le({name:"MuiSelect",props:t}),{autoWidth:l=!1,children:a,classes:d={},className:i,defaultOpen:C=!1,displayEmpty:I=!1,IconComponent:v=pt,id:$,input:b,inputProps:y,label:R,labelId:P,MenuProps:F,multiple:S=!1,native:x=!1,onClose:O,onOpen:f,open:w,renderValue:k,SelectDisplayProps:N,variant:E="outlined"}=r,H=W(r,Vt),G=x?Ot:zt,J=Le(),V=Ue({props:r,muiFormControl:J,states:["variant","error"]}),B=V.variant||E,j=s({},r,{variant:B,classes:d}),Q=Xt(j),Y=W(Q,Kt),A=b||{standard:c.jsx(qt,{ownerState:j}),outlined:c.jsx(Ht,{label:R,ownerState:j}),filled:c.jsx(Gt,{ownerState:j})}[B],m=je(o,ct(A));return c.jsx(p.Fragment,{children:p.cloneElement(A,s({inputComponent:G,inputProps:s({children:a,error:V.error,IconComponent:v,variant:B,type:void 0,multiple:S},x?{id:$}:{autoWidth:l,defaultOpen:C,displayEmpty:I,labelId:P,MenuProps:F,onClose:O,onOpen:f,open:w,renderValue:k,SelectDisplayProps:s({id:$},N)},y,{classes:y?pe(Y,y.classes):Y},b?b.props.inputProps:{})},(S&&x||I)&&B==="outlined"?{notched:!0}:{},{ref:m,className:ce(A.props.className,i,Q.root)},!b&&{variant:B},H))})});Jt.muiName="Select";export{_e as F,Ae as I,ze as O,Jt as S};