@okta/odyssey-react-mui 0.14.4 → 0.14.5

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.14.5](https://github.com/okta/odyssey/compare/v0.14.4...v0.14.5) (2022-08-11)
7
+
8
+ ### Features
9
+
10
+ - added information about ThemeProvider and useTheme to README ([2b2490e](https://github.com/okta/odyssey/commit/2b2490e402bbfb492752a030333871f9a5f8b561))
11
+ - **odyssey-react-mui:** add borderWidth and maxWidth theme variables ([05a2fef](https://github.com/okta/odyssey/commit/05a2fef7eb676262e293c80c5de9d24c70c6892d))
12
+ - **odyssey-react-mui:** add themes for Banner and Toast ([236c2bd](https://github.com/okta/odyssey/commit/236c2bdab1f7e03b0d431730d240de1f1c0ead2b))
13
+ - upgraded Storybook and Material-UI ([ab495f9](https://github.com/okta/odyssey/commit/ab495f9eef6769a2d2e46f488b1a98dc29bc772d))
14
+
15
+ ### Bug Fixes
16
+
17
+ - **odyssey-react-mui:** fix Button :focus-visible styles ([91aaa06](https://github.com/okta/odyssey/commit/91aaa06290433126815c065d382b4261fb7b1c7d))
18
+
6
19
  ### [0.14.4](https://github.com/okta/odyssey/compare/v0.14.3...v0.14.4) (2022-08-04)
7
20
 
8
21
  ### Features
package/README.md CHANGED
@@ -44,6 +44,35 @@ Import named ESM exports:
44
44
  import { PasswordInput } from "@okta/odyssey-react-mui";
45
45
  ```
46
46
 
47
+ Add the Material-UI `ThemeProvider` around your whole app:
48
+
49
+ ```jsx
50
+ import { ThemeProvider } from "@mui/material/styles";
51
+ import { odysseyTheme } from "@okta/odyssey-react-mui";
52
+
53
+ const YourAppRoot = ({ children }) => (
54
+ <ThemeProvider theme={odysseyTheme}>{children}</ThemeProvider>
55
+ );
56
+ ```
57
+
58
+ ### Upgrade Piecemeal
59
+
60
+ It’s possible to have 2 versions of Odyssey running at the same time, so when adding MUI, you can do it piecemeal.
61
+
62
+ This is how you setup two `ThemeProvider`s like so:
63
+
64
+ ```jsx
65
+ import { ThemeProvider as MuiThemeProvider } from "@mui/material/styles";
66
+ import { odysseyTheme } from "@okta/odyssey-react-mui";
67
+ import { ThemeProvider } from "@okta/odyssey-react-theme";
68
+
69
+ const YourAppRoot = ({ children }) => (
70
+ <MuiThemeProvider theme={odysseyTheme}>
71
+ <ThemeProvider>{children}</ThemeProvider>
72
+ </MuiThemeProvider>
73
+ );
74
+ ```
75
+
47
76
  ## Components
48
77
 
49
78
  Components are published in an ESM format transpiled for the modern browsers
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA+kBjD,CAAC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAipBjD,CAAC"}
@@ -17,11 +17,18 @@ export const components = {
17
17
  theme
18
18
  }) => ({
19
19
  padding: theme.spacing(4),
20
+ gap: theme.spacing(4),
20
21
  color: theme.palette.text.primary,
21
22
  ...(ownerState.severity && {
22
23
  backgroundColor: theme.palette[ownerState.severity].lighter,
23
24
  borderColor: theme.palette[ownerState.severity].light
24
25
  }),
26
+ ...(ownerState.variant === "banner" && {
27
+ position: "relative",
28
+ justifyContent: "center",
29
+ alignItems: "center",
30
+ borderWidth: 0
31
+ }),
25
32
  ...(ownerState.variant === "infobox" && {
26
33
  borderStyle: "solid",
27
34
  borderWidth: 1,
@@ -29,15 +36,39 @@ export const components = {
29
36
  marginBottom: theme.spacing(4)
30
37
  }
31
38
  }),
32
- ...(ownerState.variant === "banner" && {
33
- borderWidth: 0
39
+ ...(ownerState.variant === "toast" && {
40
+ maxWidth: theme.mixins.maxWidth,
41
+ borderStyle: "solid",
42
+ borderWidth: 1,
43
+ position: "relative",
44
+ alignItems: "start"
45
+ })
46
+ }),
47
+ action: ({
48
+ ownerState,
49
+ theme
50
+ }) => ({ ...(ownerState.variant === "banner" && {
51
+ padding: 0,
52
+ marginRight: 0,
53
+ top: "50%",
54
+ right: theme.spacing(4),
55
+ position: "absolute",
56
+ transform: "translateY(-50%)"
57
+ }),
58
+ ...(ownerState.variant === "toast" && {
59
+ position: "absolute",
60
+ top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
61
+ right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${theme.mixins.borderWidth})`,
62
+ padding: 0,
63
+ marginLeft: 0,
64
+ marginRight: 0
34
65
  })
35
66
  }),
36
67
  icon: ({
37
68
  ownerState,
38
69
  theme
39
70
  }) => ({
40
- marginRight: theme.spacing(4),
71
+ marginRight: 0,
41
72
  padding: 0,
42
73
  fontSize: "1.429rem",
43
74
  opacity: 1,
@@ -49,10 +80,20 @@ export const components = {
49
80
  })
50
81
  }),
51
82
  message: ({
83
+ ownerState,
52
84
  theme
53
85
  }) => ({
54
86
  padding: 0,
55
- lineHeight: theme.typography.body.lineHeight
87
+ lineHeight: theme.typography.body.lineHeight,
88
+ ...(ownerState.variant === "banner" && {
89
+ display: "flex",
90
+ justifyContent: "space-between",
91
+ gap: theme.spacing(4)
92
+ }),
93
+ ...(ownerState.variant === "toast" && {
94
+ flexGrow: 1,
95
+ paddingRight: `calc((${theme.spacing(1)} * 2) + ${theme.typography.body.fontSize} + ${theme.spacing(4)})`
96
+ })
56
97
  })
57
98
  }
58
99
  },
@@ -87,6 +128,9 @@ export const components = {
87
128
  "&:hover, &:focus-visible": {
88
129
  backgroundColor: theme.palette.primary.dark
89
130
  },
131
+ "&:focus-visible": {
132
+ outlineColor: theme.palette.primary.main
133
+ },
90
134
  "&:active": {
91
135
  backgroundColor: theme.palette.primary.main
92
136
  },
@@ -105,14 +149,13 @@ export const components = {
105
149
  backgroundColor: theme.palette.grey[50],
106
150
  borderColor: theme.palette.grey[200],
107
151
  color: theme.palette.text.primary,
108
- "&:hover": {
109
- background: theme.palette.primary.lighter,
152
+ "&:hover, &:focus-visible": {
153
+ backgroundColor: theme.palette.primary.lighter,
110
154
  borderColor: theme.palette.primary.light,
111
155
  color: theme.palette.primary.main
112
156
  },
113
157
  "&:focus-visible": {
114
- backgroundColor: theme.palette.primary.main,
115
- color: theme.palette.primary.main
158
+ outlineColor: theme.palette.primary.main
116
159
  },
117
160
  "&:active": {
118
161
  borderColor: theme.palette.primary.main
@@ -137,7 +180,7 @@ export const components = {
137
180
  backgroundColor: theme.palette.error.dark
138
181
  },
139
182
  "&:focus-visible": {
140
- outlineColor: theme.palette.error.light,
183
+ outlineColor: theme.palette.error.main,
141
184
  backgroundColor: theme.palette.error.dark
142
185
  },
143
186
  "&:active": {
@@ -162,6 +205,9 @@ export const components = {
162
205
  backgroundColor: "rgba(29, 29, 33, 0.1)",
163
206
  borderColor: "transparent"
164
207
  },
208
+ "&:focus-visible": {
209
+ outlineColor: theme.palette.primary.main
210
+ },
165
211
  "&:active": {
166
212
  backgroundColor: "rgba(29, 29, 33, 0.2)",
167
213
  borderColor: "transparent"
@@ -425,6 +471,16 @@ export const components = {
425
471
  })
426
472
  }
427
473
  },
474
+ MuiIconButton: {
475
+ styleOverrides: {
476
+ root: ({
477
+ theme
478
+ }) => ({
479
+ padding: theme.spacing(1),
480
+ fontSize: theme.typography.body.fontSize
481
+ })
482
+ }
483
+ },
428
484
  MuiInputAdornment: {
429
485
  defaultProps: {
430
486
  variant: "outlined"
@@ -619,6 +675,14 @@ export const components = {
619
675
  })
620
676
  }
621
677
  },
678
+ MuiSnackbar: {
679
+ defaultProps: {
680
+ anchorOrigin: {
681
+ vertical: "bottom",
682
+ horizontal: "right"
683
+ }
684
+ }
685
+ },
622
686
  MuiTypography: {
623
687
  defaultProps: {
624
688
  fontFamily: "'Public Sans', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/themes/odyssey/components.ts"],"names":["components","MuiAlert","styleOverrides","root","ownerState","theme","padding","spacing","color","palette","text","primary","severity","backgroundColor","lighter","borderColor","light","variant","borderStyle","borderWidth","marginBottom","icon","marginRight","fontSize","opacity","main","dark","message","lineHeight","typography","body","MuiAlertTitle","marginTop","h6","fontWeight","fontWeightBold","MuiButton","defaultProps","disableElevation","variants","props","style","common","white","grey","background","error","outlineColor","secondary","size","paddingBlock","paddingInline","fullWidth","display","width","marginBlock","marginInline","marginBlockEnd","children","minWidth","margin","position","transitionProperty","transitionDuration","transitionTimingFunction","outlineOffset","whiteSpace","marginInlineStart","outlineStyle","outlineWidth","cursor","pointerEvents","MuiButtonBase","disableRipple","MuiCssBaseline","boxSizing","fontFeatureSettings","fontVariant","MuiCheckbox","borderRadius","MuiCircularProgress","thickness","disableShrink","circle","strokeDasharray","MuiFormControl","maxWidth","MuiFormControlLabel","gap","marginLeft","labelPlacement","MuiFormHelperText","MuiFormLabel","MuiInputAdornment","MuiInputBase","input","height","MuiInputLabel","disableAnimation","shrink","formControl","transform","MuiLink","textDecoration","marginInlineEnd","svg","top","verticalAlign","MuiNativeSelect","MuiOutlinedInput","notched","startAdornment","paddingLeft","endAdornment","paddingRight","border","notchedOutline","MuiRadio","MuiTypography","fontFamily","paragraph"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,OAAO,MAAMA,UAAsC,GAAG;AACpDC,EAAA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, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\n//import radioClasses from \"@mui/material\";\n\nexport const components: ThemeOptions[\"components\"] = {\n MuiAlert: {\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n padding: theme.spacing(4),\n color: theme.palette.text.primary,\n ...(ownerState.severity && {\n backgroundColor: theme.palette[ownerState.severity].lighter,\n borderColor: theme.palette[ownerState.severity].light,\n }),\n ...(ownerState.variant === \"infobox\" && {\n borderStyle: \"solid\",\n borderWidth: 1,\n \"&:not(:last-child)\": {\n marginBottom: theme.spacing(4),\n },\n }),\n ...(ownerState.variant === \"banner\" && {\n borderWidth: 0,\n }),\n }),\n icon: ({ ownerState, theme }) => ({\n marginRight: theme.spacing(4),\n padding: 0,\n fontSize: \"1.429rem\",\n opacity: 1,\n ...(ownerState.severity && {\n color: theme.palette[ownerState.severity].main,\n }),\n ...(ownerState.severity === \"warning\" && {\n color: theme.palette[ownerState.severity].dark,\n }),\n }),\n message: ({ theme }) => ({\n padding: 0,\n lineHeight: theme.typography.body.lineHeight,\n }),\n },\n },\n MuiAlertTitle: {\n styleOverrides: {\n root: ({ theme }) => ({\n marginTop: 0,\n marginBottom: theme.spacing(1),\n lineHeight: theme.typography.h6.lineHeight,\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n }),\n },\n },\n MuiButton: {\n defaultProps: {\n disableElevation: true,\n },\n variants: [\n {\n props: { variant: \"primary\" },\n style: ({ theme }) => ({\n fontWeight: 600,\n color: theme.palette.common.white,\n borderColor: \"transparent\",\n backgroundColor: theme.palette.primary.main,\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: theme.palette.primary.dark,\n },\n\n \"&:active\": {\n backgroundColor: theme.palette.primary.main,\n },\n\n \"&:disabled\": {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.primary.light,\n },\n }),\n },\n {\n props: { variant: \"secondary\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.grey[50],\n borderColor: theme.palette.grey[200],\n color: theme.palette.text.primary,\n \"&:hover\": {\n background: theme.palette.primary.lighter,\n borderColor: theme.palette.primary.light,\n color: theme.palette.primary.main,\n },\n\n \"&:focus-visible\": {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.main,\n },\n\n \"&:active\": {\n borderColor: theme.palette.primary.main,\n },\n\n \"&:disabled\": {\n borderColor: theme.palette.grey[100],\n backgroundColor: theme.palette.grey[100],\n color: theme.palette.grey[500],\n },\n }),\n },\n {\n props: { variant: \"danger\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.error.main,\n color: theme.palette.common.white,\n borderColor: \"transparent\",\n\n \"&:hover\": {\n backgroundColor: theme.palette.error.dark,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.error.light,\n backgroundColor: theme.palette.error.dark,\n },\n\n \"&:active\": {\n backgroundColor: theme.palette.error.main,\n },\n\n \"&:disabled\": {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.error.light,\n },\n }),\n },\n {\n props: { variant: \"floating\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n color: theme.palette.text.primary,\n borderColor: \"transparent\",\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: \"rgba(29, 29, 33, 0.1)\",\n borderColor: \"transparent\",\n },\n \"&:active\": {\n backgroundColor: \"rgba(29, 29, 33, 0.2)\",\n borderColor: \"transparent\",\n },\n \"&:disabled\": {\n backgroundColor: \"rgba(235, 235, 237, 0.6)\",\n color: theme.palette.text.secondary,\n borderColor: \"transparent\",\n },\n }),\n },\n {\n props: { size: \"s\" },\n style: ({ theme }) => ({\n paddingBlock: `calc(${theme.spacing(2)} - 1px)`,\n paddingInline: `calc(${theme.spacing(3)} - 1px)`,\n fontSize: \"1rem\",\n }),\n },\n {\n props: { size: \"l\" },\n style: ({ theme }) => ({\n paddingBlock: `calc(${theme.spacing(4)} - 1px)`,\n paddingInline: `calc(${theme.spacing(4)} - 1px)`,\n }),\n },\n {\n props: { fullWidth: true },\n style: ({ theme }) => ({\n display: \"block\",\n width: \"100%\",\n marginBlock: \"0\",\n marginInline: \"0\",\n\n \"&:not(:last-child)\": {\n marginBlockEnd: theme.spacing(4),\n },\n }),\n },\n {\n // icon only\n props: { children: \"\" },\n style: {\n minWidth: \"auto\",\n\n \".MuiButton-startIcon\": {\n margin: \"0\",\n },\n },\n },\n ],\n styleOverrides: {\n root: ({ theme }) => ({\n fontWeight: 600,\n padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,\n display: \"inline-block\",\n position: \"relative\",\n marginBlock: \"0\",\n marginInline: \"0\",\n transitionProperty:\n \"color, background-color, border-color, outline-offset, outline-color\",\n transitionDuration: \"100ms\",\n transitionTimingFunction: \"linear\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n outlineColor: \"transparent\",\n outlineOffset: \"0\",\n fontSize: \"1rem\",\n lineHeight: \"1.14285714\",\n whiteSpace: \"nowrap\",\n\n \"& + &\": {\n marginInlineStart: theme.spacing(2),\n },\n\n \"&:focus-visible\": {\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n\n \"&:disabled\": {\n cursor: \"not-allowed\",\n pointerEvents: \"inherit\", // in order to have cursor: not-allowed, must change pointer-events from \"none\"\n },\n\n \".MuiButton-startIcon > *:nth-of-type(1)\": {\n fontSize: \"inherit\",\n },\n }),\n },\n },\n MuiButtonBase: {\n defaultProps: {\n disableRipple: true,\n },\n },\n MuiCssBaseline: {\n styleOverrides: {\n boxSizing: \"border-box\",\n fontFeatureSettings: \"'lnum','pnum'\",\n fontVariant: \"normal\",\n },\n },\n MuiCheckbox: {\n defaultProps: {\n size: \"small\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: \"4px\",\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n padding: 0,\n \".Mui-error > &\": {\n color: theme.palette.error.main,\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \".Mui-error > &.Mui-checked\": {\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \"&.Mui-focusVisible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: 0,\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n }),\n },\n },\n MuiCircularProgress: {\n defaultProps: {\n // TODO: defaultProps cannot take a theme object; needs workaround\n size: \"1.14285714rem\",\n thickness: 8,\n color: \"primary\",\n disableShrink: false,\n variant: \"indeterminate\",\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n ...(ownerState.color !== \"inherit\" && {\n color: theme.palette.primary.dark,\n }),\n }),\n circle: ({ ownerState }) => ({\n ...(ownerState.variant === \"indeterminate\" && {\n strokeDasharray: \"160%, 360%\",\n }),\n }),\n },\n },\n MuiFormControl: {\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n width: \"100%\",\n maxWidth: \"32rem\",\n ...(ownerState.margin === \"normal\" && {\n marginTop: 0,\n marginBottom: theme.spacing(4),\n }),\n ...(ownerState.margin === \"dense\" && {\n marginTop: 0,\n marginBottom: theme.spacing(4),\n }),\n ...(ownerState.fullWidth && {\n maxWidth: \"100%\",\n }),\n }),\n },\n },\n MuiFormControlLabel: {\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n gap: theme.spacing(2),\n marginLeft: 0,\n marginRight: 0, // used for row presentation of radio/checkbox\n ...(ownerState.labelPlacement === \"start\" && {\n marginLeft: 0, // used for row presentation of radio/checkbox\n marginRight: 0,\n }),\n ...(ownerState.labelPlacement === \"top\" && {\n marginLeft: 0,\n }),\n ...(ownerState.labelPlacement === \"bottom\" && {\n marginLeft: 0,\n }),\n \"&:not(:last-child)\": {\n marginBottom: theme.spacing(2),\n },\n \"&.Mui-disabled\": {\n pointerEvents: \"none\",\n },\n //[`&:hover ${radioClasses.root}:not(${radioClasses.checked})`]: {\n //color: theme.palette.text.primary,\n //},\n \"&:hover .MuiRadio-root, &:hover .MuiCheckbox-root\": {\n color: theme.palette.text.primary,\n },\n \"&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked\":\n {\n color: theme.palette.primary.dark,\n },\n \"&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root\":\n {\n color: theme.palette.error.dark,\n },\n \"&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked\":\n {\n color: theme.palette.error.dark,\n },\n }),\n },\n },\n MuiFormHelperText: {\n defaultProps: {\n variant: \"standard\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n lineHeight: \"1.33333333\",\n marginTop: theme.spacing(2),\n \".MuiFormLabel-root + &\": {\n marginTop: `-${theme.spacing(1)}`,\n color: theme.palette.text.secondary,\n },\n marginBottom: theme.spacing(2),\n \"&:last-child\": {\n marginBottom: 0,\n },\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.text.primary,\n lineHeight: \"1.14285714\",\n fontSize: \"1rem\",\n fontWeight: 600,\n marginBottom: theme.spacing(2),\n \"&.Mui-focused, &.Mui-error, &.Mui-disabled\": {\n color: theme.palette.text.primary,\n },\n }),\n },\n },\n MuiInputAdornment: {\n defaultProps: {\n variant: \"outlined\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n display: \"flex\",\n ...(ownerState.position === \"start\" && {\n marginRight: 0,\n }),\n ...(ownerState.position === \"end\" && {\n marginLeft: 0,\n }),\n }),\n },\n },\n MuiInputBase: {\n styleOverrides: {\n root: {\n lineHeight: \"1.14285714\",\n },\n input: {\n boxSizing: \"border-box\",\n height: \"auto\",\n },\n },\n },\n MuiInputLabel: {\n defaultProps: {\n disableAnimation: true,\n shrink: false,\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n // @ts-expect-error: Incorrect typing in MUI\n ...(ownerState.formControl && {\n position: \"initial\",\n transform: \"none\",\n }),\n ...(ownerState.variant === \"outlined\" && {\n pointerEvents: \"initial\",\n transform: \"none\",\n maxWidth: \"100%\",\n ...(ownerState.size === \"small\" && {\n transform: \"none\",\n }),\n }),\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: \"none\",\n\n \"&:hover\": {\n color: theme.palette.primary.main,\n textDecoration: \"underline\",\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: theme.palette.primary.main,\n },\n\n \".Link-indicator, .Link-icon\": {\n display: \"inline-block\",\n height: \"1em\",\n lineHeight: 1,\n },\n\n \".Link-indicator\": {\n marginInlineStart: theme.spacing(2),\n },\n\n \".Link-icon\": {\n marginInlineEnd: theme.spacing(2),\n },\n svg: {\n fontSize: \"1rem\",\n height: \"1em\",\n position: \"relative\",\n top: \"-0.0625em\",\n verticalAlign: \"middle\",\n width: \"1em\",\n },\n }),\n },\n variants: [\n {\n props: { variant: \"monochrome\" },\n style: ({ theme }) => ({\n color: theme.palette.text.primary,\n textDecoration: \"underline\",\n\n \"&:hover\": {\n color: theme.palette.text.secondary,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: theme.palette.text.primary,\n },\n }),\n },\n ],\n },\n MuiNativeSelect: {\n defaultProps: {\n variant: \"outlined\",\n },\n styleOverrides: {\n icon: ({ theme }) => ({\n color: theme.palette.text.primary,\n }),\n },\n },\n MuiOutlinedInput: {\n defaultProps: {\n notched: false,\n },\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n \"&.Mui-disabled\": {\n pointerEvents: \"none\",\n },\n ...(ownerState.startAdornment && {\n paddingLeft: theme.spacing(3),\n }),\n ...(ownerState.endAdornment && {\n paddingRight: theme.spacing(3),\n }),\n }),\n input: ({ theme }) => ({\n padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,\n border: \"1px solid transparent\",\n }),\n notchedOutline: ({ theme }) => ({\n borderColor: theme.palette.grey[500],\n \".MuiOutlinedInput-root:hover &\": {\n borderColor: theme.palette.primary.main,\n },\n \".MuiOutlinedInput-root.Mui-error:hover &\": {\n borderColor: theme.palette.error.dark,\n },\n }),\n },\n },\n MuiRadio: {\n defaultProps: {\n size: \"small\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n padding: 0,\n \".Mui-error > &\": {\n color: theme.palette.error.main,\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \"&.Mui-focusVisible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: 0,\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n }),\n },\n },\n MuiTypography: {\n defaultProps: {\n fontFamily:\n \"'Public Sans', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif\",\n },\n styleOverrides: {\n paragraph: ({ theme }) => ({\n marginBottom: theme.spacing(4),\n }),\n },\n },\n};\n"],"file":"components.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/components.ts"],"names":["components","MuiAlert","styleOverrides","root","ownerState","theme","padding","spacing","gap","color","palette","text","primary","severity","backgroundColor","lighter","borderColor","light","variant","position","justifyContent","alignItems","borderWidth","borderStyle","marginBottom","maxWidth","mixins","action","marginRight","top","right","transform","marginLeft","icon","fontSize","opacity","main","dark","message","lineHeight","typography","body","display","flexGrow","paddingRight","MuiAlertTitle","marginTop","h6","fontWeight","fontWeightBold","MuiButton","defaultProps","disableElevation","variants","props","style","common","white","outlineColor","grey","error","secondary","size","paddingBlock","paddingInline","fullWidth","width","marginBlock","marginInline","marginBlockEnd","children","minWidth","margin","transitionProperty","transitionDuration","transitionTimingFunction","outlineOffset","whiteSpace","marginInlineStart","outlineStyle","outlineWidth","cursor","pointerEvents","MuiButtonBase","disableRipple","MuiCssBaseline","boxSizing","fontFeatureSettings","fontVariant","MuiCheckbox","borderRadius","MuiCircularProgress","thickness","disableShrink","circle","strokeDasharray","MuiFormControl","MuiFormControlLabel","labelPlacement","MuiFormHelperText","MuiFormLabel","MuiIconButton","MuiInputAdornment","MuiInputBase","input","height","MuiInputLabel","disableAnimation","shrink","formControl","MuiLink","textDecoration","marginInlineEnd","svg","verticalAlign","MuiNativeSelect","MuiOutlinedInput","notched","startAdornment","paddingLeft","endAdornment","border","notchedOutline","MuiRadio","MuiSnackbar","anchorOrigin","vertical","horizontal","MuiTypography","fontFamily","paragraph"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAKA,OAAO,MAAMA,UAAsC,GAAG;AACpDC,EAAAA,QAAQ,EAAE;AACRC,IAAAA,cAAc,EAAE;AACdC,MAAAA,IAAI,EAAE,CAAC;AAAEC,QAAAA,UAAF;AAAcC,QAAAA;AAAd,OAAD,MAA4B;AAChCC,QAAAA,OAAO,EAAED,KAAK,CAACE,OAAN,CAAc,CAAd,CADuB;AAEhCC,QAAAA,GAAG,EAAEH,KAAK,CAACE,OAAN,CAAc,CAAd,CAF2B;AAGhCE,QAAAA,KAAK,EAAEJ,KAAK,CAACK,OAAN,CAAcC,IAAd,CAAmBC,OAHM;AAIhC,YAAIR,UAAU,CAACS,QAAX,IAAuB;AACzBC,UAAAA,eAAe,EAAET,KAAK,CAACK,OAAN,CAAcN,UAAU,CAACS,QAAzB,EAAmCE,OAD3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AAW;AACT3B,YAAAA,KAAK,EAAEJ,KAAK,CAACK,OAAN,CAAckD,KAAd,CAAoBvB;AADlB;AAFK,SALE;AAWpB,8BAAsB;AACpBqB,UAAAA,YAAY,EAAErD,KAAK,CAACK,OAAN,CAAcE,OAAd,CAAsBwB,IADhB;AAEpBwC,UAAAA,aAAa,EAAE,CAFK;AAGpBG,UAAAA,YAAY,EAAE,OAHM;AAIpBC,UAAAA,YAAY,EAAE;AAJM;AAXF,OAAhB;AADQ;AAJR,GArmB0C;AA8nBpD4C,EAAAA,WAAW,EAAE;AACXzE,IAAAA,YAAY,EAAE;AACZ0E,MAAAA,YAAY,EAAE;AACZC,QAAAA,QAAQ,EAAE,QADE;AAEZC,QAAAA,UAAU,EAAE;AAFA;AADF;AADH,GA9nBuC;AAsoBpDC,EAAAA,aAAa,EAAE;AACb7E,IAAAA,YAAY,EAAE;AACZ8E,MAAAA,UAAU,EACR;AAFU,KADD;AAKb/H,IAAAA,cAAc,EAAE;AACdgI,MAAAA,SAAS,EAAE,CAAC;AAAE7H,QAAAA;AAAF,OAAD,MAAgB;AACzBmB,QAAAA,YAAY,EAAEnB,KAAK,CAACE,OAAN,CAAc,CAAd;AADW,OAAhB;AADG;AALH;AAtoBqC,CAA/C","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\n//import radioClasses from \"@mui/material\";\n\nexport const components: ThemeOptions[\"components\"] = {\n MuiAlert: {\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n padding: theme.spacing(4),\n gap: theme.spacing(4),\n color: theme.palette.text.primary,\n ...(ownerState.severity && {\n backgroundColor: theme.palette[ownerState.severity].lighter,\n borderColor: theme.palette[ownerState.severity].light,\n }),\n ...(ownerState.variant === \"banner\" && {\n position: \"relative\",\n justifyContent: \"center\",\n alignItems: \"center\",\n borderWidth: 0,\n }),\n ...(ownerState.variant === \"infobox\" && {\n borderStyle: \"solid\",\n borderWidth: 1,\n \"&:not(:last-child)\": {\n marginBottom: theme.spacing(4),\n },\n }),\n ...(ownerState.variant === \"toast\" && {\n maxWidth: theme.mixins.maxWidth,\n borderStyle: \"solid\",\n borderWidth: 1,\n position: \"relative\",\n alignItems: \"start\",\n }),\n }),\n action: ({ ownerState, theme }) => ({\n ...(ownerState.variant === \"banner\" && {\n padding: 0,\n marginRight: 0,\n top: \"50%\",\n right: theme.spacing(4),\n position: \"absolute\",\n transform: \"translateY(-50%)\",\n }),\n ...(ownerState.variant === \"toast\" && {\n position: \"absolute\",\n top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${\n theme.mixins.borderWidth\n })`,\n right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${\n theme.mixins.borderWidth\n })`,\n padding: 0,\n marginLeft: 0,\n marginRight: 0,\n }),\n }),\n icon: ({ ownerState, theme }) => ({\n marginRight: 0,\n padding: 0,\n fontSize: \"1.429rem\",\n opacity: 1,\n ...(ownerState.severity && {\n color: theme.palette[ownerState.severity].main,\n }),\n ...(ownerState.severity === \"warning\" && {\n color: theme.palette[ownerState.severity].dark,\n }),\n }),\n message: ({ ownerState, theme }) => ({\n padding: 0,\n lineHeight: theme.typography.body.lineHeight,\n ...(ownerState.variant === \"banner\" && {\n display: \"flex\",\n justifyContent: \"space-between\",\n gap: theme.spacing(4),\n }),\n ...(ownerState.variant === \"toast\" && {\n flexGrow: 1,\n paddingRight: `calc((${theme.spacing(1)} * 2) + ${\n theme.typography.body.fontSize\n } + ${theme.spacing(4)})`,\n }),\n }),\n },\n },\n MuiAlertTitle: {\n styleOverrides: {\n root: ({ theme }) => ({\n marginTop: 0,\n marginBottom: theme.spacing(1),\n lineHeight: theme.typography.h6.lineHeight,\n fontSize: theme.typography.h6.fontSize,\n fontWeight: theme.typography.fontWeightBold,\n }),\n },\n },\n MuiButton: {\n defaultProps: {\n disableElevation: true,\n },\n variants: [\n {\n props: { variant: \"primary\" },\n style: ({ theme }) => ({\n fontWeight: 600,\n color: theme.palette.common.white,\n borderColor: \"transparent\",\n backgroundColor: theme.palette.primary.main,\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: theme.palette.primary.dark,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n },\n\n \"&:active\": {\n backgroundColor: theme.palette.primary.main,\n },\n\n \"&:disabled\": {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.primary.light,\n },\n }),\n },\n {\n props: { variant: \"secondary\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.grey[50],\n borderColor: theme.palette.grey[200],\n color: theme.palette.text.primary,\n \"&:hover, &:focus-visible\": {\n backgroundColor: theme.palette.primary.lighter,\n borderColor: theme.palette.primary.light,\n color: theme.palette.primary.main,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n },\n\n \"&:active\": {\n borderColor: theme.palette.primary.main,\n },\n\n \"&:disabled\": {\n borderColor: theme.palette.grey[100],\n backgroundColor: theme.palette.grey[100],\n color: theme.palette.grey[500],\n },\n }),\n },\n {\n props: { variant: \"danger\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.error.main,\n color: theme.palette.common.white,\n borderColor: \"transparent\",\n\n \"&:hover\": {\n backgroundColor: theme.palette.error.dark,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.error.main,\n backgroundColor: theme.palette.error.dark,\n },\n\n \"&:active\": {\n backgroundColor: theme.palette.error.main,\n },\n\n \"&:disabled\": {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.error.light,\n },\n }),\n },\n {\n props: { variant: \"floating\" },\n style: ({ theme }) => ({\n backgroundColor: theme.palette.common.white,\n color: theme.palette.text.primary,\n borderColor: \"transparent\",\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: \"rgba(29, 29, 33, 0.1)\",\n borderColor: \"transparent\",\n },\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n },\n \"&:active\": {\n backgroundColor: \"rgba(29, 29, 33, 0.2)\",\n borderColor: \"transparent\",\n },\n \"&:disabled\": {\n backgroundColor: \"rgba(235, 235, 237, 0.6)\",\n color: theme.palette.text.secondary,\n borderColor: \"transparent\",\n },\n }),\n },\n {\n props: { size: \"s\" },\n style: ({ theme }) => ({\n paddingBlock: `calc(${theme.spacing(2)} - 1px)`,\n paddingInline: `calc(${theme.spacing(3)} - 1px)`,\n fontSize: \"1rem\",\n }),\n },\n {\n props: { size: \"l\" },\n style: ({ theme }) => ({\n paddingBlock: `calc(${theme.spacing(4)} - 1px)`,\n paddingInline: `calc(${theme.spacing(4)} - 1px)`,\n }),\n },\n {\n props: { fullWidth: true },\n style: ({ theme }) => ({\n display: \"block\",\n width: \"100%\",\n marginBlock: \"0\",\n marginInline: \"0\",\n\n \"&:not(:last-child)\": {\n marginBlockEnd: theme.spacing(4),\n },\n }),\n },\n {\n // icon only\n props: { children: \"\" },\n style: {\n minWidth: \"auto\",\n\n \".MuiButton-startIcon\": {\n margin: \"0\",\n },\n },\n },\n ],\n styleOverrides: {\n root: ({ theme }) => ({\n fontWeight: 600,\n padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,\n display: \"inline-block\",\n position: \"relative\",\n marginBlock: \"0\",\n marginInline: \"0\",\n transitionProperty:\n \"color, background-color, border-color, outline-offset, outline-color\",\n transitionDuration: \"100ms\",\n transitionTimingFunction: \"linear\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n outlineColor: \"transparent\",\n outlineOffset: \"0\",\n fontSize: \"1rem\",\n lineHeight: \"1.14285714\",\n whiteSpace: \"nowrap\",\n\n \"& + &\": {\n marginInlineStart: theme.spacing(2),\n },\n\n \"&:focus-visible\": {\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n\n \"&:disabled\": {\n cursor: \"not-allowed\",\n pointerEvents: \"inherit\", // in order to have cursor: not-allowed, must change pointer-events from \"none\"\n },\n\n \".MuiButton-startIcon > *:nth-of-type(1)\": {\n fontSize: \"inherit\",\n },\n }),\n },\n },\n MuiButtonBase: {\n defaultProps: {\n disableRipple: true,\n },\n },\n MuiCssBaseline: {\n styleOverrides: {\n boxSizing: \"border-box\",\n fontFeatureSettings: \"'lnum','pnum'\",\n fontVariant: \"normal\",\n },\n },\n MuiCheckbox: {\n defaultProps: {\n size: \"small\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n borderRadius: \"4px\",\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n padding: 0,\n \".Mui-error > &\": {\n color: theme.palette.error.main,\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \".Mui-error > &.Mui-checked\": {\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \"&.Mui-focusVisible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: 0,\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n }),\n },\n },\n MuiCircularProgress: {\n defaultProps: {\n // TODO: defaultProps cannot take a theme object; needs workaround\n size: \"1.14285714rem\",\n thickness: 8,\n color: \"primary\",\n disableShrink: false,\n variant: \"indeterminate\",\n },\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n ...(ownerState.color !== \"inherit\" && {\n color: theme.palette.primary.dark,\n }),\n }),\n circle: ({ ownerState }) => ({\n ...(ownerState.variant === \"indeterminate\" && {\n strokeDasharray: \"160%, 360%\",\n }),\n }),\n },\n },\n MuiFormControl: {\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n width: \"100%\",\n maxWidth: \"32rem\",\n ...(ownerState.margin === \"normal\" && {\n marginTop: 0,\n marginBottom: theme.spacing(4),\n }),\n ...(ownerState.margin === \"dense\" && {\n marginTop: 0,\n marginBottom: theme.spacing(4),\n }),\n ...(ownerState.fullWidth && {\n maxWidth: \"100%\",\n }),\n }),\n },\n },\n MuiFormControlLabel: {\n styleOverrides: {\n root: ({ theme, ownerState }) => ({\n gap: theme.spacing(2),\n marginLeft: 0,\n marginRight: 0, // used for row presentation of radio/checkbox\n ...(ownerState.labelPlacement === \"start\" && {\n marginLeft: 0, // used for row presentation of radio/checkbox\n marginRight: 0,\n }),\n ...(ownerState.labelPlacement === \"top\" && {\n marginLeft: 0,\n }),\n ...(ownerState.labelPlacement === \"bottom\" && {\n marginLeft: 0,\n }),\n \"&:not(:last-child)\": {\n marginBottom: theme.spacing(2),\n },\n \"&.Mui-disabled\": {\n pointerEvents: \"none\",\n },\n //[`&:hover ${radioClasses.root}:not(${radioClasses.checked})`]: {\n //color: theme.palette.text.primary,\n //},\n \"&:hover .MuiRadio-root, &:hover .MuiCheckbox-root\": {\n color: theme.palette.text.primary,\n },\n \"&:hover .MuiRadio-root.Mui-checked, &:hover .MuiCheckbox-root.Mui-checked\":\n {\n color: theme.palette.primary.dark,\n },\n \"&.Mui-error:hover .MuiRadio-root, &.Mui-error:hover .MuiCheckbox-root\":\n {\n color: theme.palette.error.dark,\n },\n \"&.Mui-error:hover .MuiRadio-root.Mui-checked, &.Mui-error:hover .MuiCheckbox-root.Mui-checked\":\n {\n color: theme.palette.error.dark,\n },\n }),\n },\n },\n MuiFormHelperText: {\n defaultProps: {\n variant: \"standard\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n lineHeight: \"1.33333333\",\n marginTop: theme.spacing(2),\n \".MuiFormLabel-root + &\": {\n marginTop: `-${theme.spacing(1)}`,\n color: theme.palette.text.secondary,\n },\n marginBottom: theme.spacing(2),\n \"&:last-child\": {\n marginBottom: 0,\n },\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.text.primary,\n lineHeight: \"1.14285714\",\n fontSize: \"1rem\",\n fontWeight: 600,\n marginBottom: theme.spacing(2),\n \"&.Mui-focused, &.Mui-error, &.Mui-disabled\": {\n color: theme.palette.text.primary,\n },\n }),\n },\n },\n MuiIconButton: {\n styleOverrides: {\n root: ({ theme }) => ({\n padding: theme.spacing(1),\n fontSize: theme.typography.body.fontSize,\n }),\n },\n },\n MuiInputAdornment: {\n defaultProps: {\n variant: \"outlined\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n display: \"flex\",\n ...(ownerState.position === \"start\" && {\n marginRight: 0,\n }),\n ...(ownerState.position === \"end\" && {\n marginLeft: 0,\n }),\n }),\n },\n },\n MuiInputBase: {\n styleOverrides: {\n root: {\n lineHeight: \"1.14285714\",\n },\n input: {\n boxSizing: \"border-box\",\n height: \"auto\",\n },\n },\n },\n MuiInputLabel: {\n defaultProps: {\n disableAnimation: true,\n shrink: false,\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n // @ts-expect-error: Incorrect typing in MUI\n ...(ownerState.formControl && {\n position: \"initial\",\n transform: \"none\",\n }),\n ...(ownerState.variant === \"outlined\" && {\n pointerEvents: \"initial\",\n transform: \"none\",\n maxWidth: \"100%\",\n ...(ownerState.size === \"small\" && {\n transform: \"none\",\n }),\n }),\n }),\n },\n },\n MuiLink: {\n styleOverrides: {\n root: ({ theme }) => ({\n color: theme.palette.primary.main,\n textDecoration: \"none\",\n\n \"&:hover\": {\n color: theme.palette.primary.main,\n textDecoration: \"underline\",\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: theme.palette.primary.main,\n },\n\n \".Link-indicator, .Link-icon\": {\n display: \"inline-block\",\n height: \"1em\",\n lineHeight: 1,\n },\n\n \".Link-indicator\": {\n marginInlineStart: theme.spacing(2),\n },\n\n \".Link-icon\": {\n marginInlineEnd: theme.spacing(2),\n },\n svg: {\n fontSize: \"1rem\",\n height: \"1em\",\n position: \"relative\",\n top: \"-0.0625em\",\n verticalAlign: \"middle\",\n width: \"1em\",\n },\n }),\n },\n variants: [\n {\n props: { variant: \"monochrome\" },\n style: ({ theme }) => ({\n color: theme.palette.text.primary,\n textDecoration: \"underline\",\n\n \"&:hover\": {\n color: theme.palette.text.secondary,\n },\n\n \"&:focus-visible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: theme.palette.text.primary,\n },\n }),\n },\n ],\n },\n MuiNativeSelect: {\n defaultProps: {\n variant: \"outlined\",\n },\n styleOverrides: {\n icon: ({ theme }) => ({\n color: theme.palette.text.primary,\n }),\n },\n },\n MuiOutlinedInput: {\n defaultProps: {\n notched: false,\n },\n styleOverrides: {\n root: ({ ownerState, theme }) => ({\n \"&.Mui-disabled\": {\n pointerEvents: \"none\",\n },\n ...(ownerState.startAdornment && {\n paddingLeft: theme.spacing(3),\n }),\n ...(ownerState.endAdornment && {\n paddingRight: theme.spacing(3),\n }),\n }),\n input: ({ theme }) => ({\n padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,\n border: \"1px solid transparent\",\n }),\n notchedOutline: ({ theme }) => ({\n borderColor: theme.palette.grey[500],\n \".MuiOutlinedInput-root:hover &\": {\n borderColor: theme.palette.primary.main,\n },\n \".MuiOutlinedInput-root.Mui-error:hover &\": {\n borderColor: theme.palette.error.dark,\n },\n }),\n },\n },\n MuiRadio: {\n defaultProps: {\n size: \"small\",\n },\n styleOverrides: {\n root: ({ theme }) => ({\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n padding: 0,\n \".Mui-error > &\": {\n color: theme.palette.error.main,\n \"&:hover\": {\n color: theme.palette.error.dark,\n },\n },\n \"&.Mui-focusVisible\": {\n outlineColor: theme.palette.primary.main,\n outlineOffset: 0,\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n }),\n },\n },\n MuiSnackbar: {\n defaultProps: {\n anchorOrigin: {\n vertical: \"bottom\",\n horizontal: \"right\",\n },\n },\n },\n MuiTypography: {\n defaultProps: {\n fontFamily:\n \"'Public Sans', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif\",\n },\n styleOverrides: {\n paragraph: ({ theme }) => ({\n marginBottom: theme.spacing(4),\n }),\n },\n },\n};\n"],"file":"components.js"}
@@ -16,6 +16,7 @@ declare module "@mui/material/Alert" {
16
16
  standard: false;
17
17
  banner: true;
18
18
  infobox: true;
19
+ toast: true;
19
20
  }
20
21
  }
21
22
  declare module "@mui/material/Button" {
@@ -1 +1 @@
1
- {"version":3,"file":"components.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,QAAQ,qBAAqB,CAAC;IACnC,UAAU,0BAA0B;QAElC,MAAM,EAAE,KAAK,CAAC;QACd,QAAQ,EAAE,KAAK,CAAC;QAChB,QAAQ,EAAE,KAAK,CAAC;QAEhB,MAAM,EAAE,IAAI,CAAC;QACb,OAAO,EAAE,IAAI,CAAC;KACf;CACF;AAED,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,2BAA2B;QACnC,QAAQ,EAAE,IAAI,CAAC;QACf,OAAO,EAAE,IAAI,CAAC;QACd,SAAS,EAAE,IAAI,CAAC;QAChB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,SAAS,EAAE,KAAK,CAAC;QACjB,QAAQ,EAAE,KAAK,CAAC;KACjB;IACD,UAAU,wBAAwB;QAChC,CAAC,EAAE,IAAI,CAAC;QACR,CAAC,EAAE,IAAI,CAAC;QACR,CAAC,EAAE,IAAI,CAAC;QACR,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;QACd,KAAK,EAAE,KAAK,CAAC;KACd;IACD,UAAU,yBAAyB;QACjC,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;QACf,SAAS,EAAE,KAAK,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KAChB;CACF;AAED,OAAO,QAAQ,oBAAoB,CAAC;IAClC,UAAU,yBAAyB;QACjC,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,IAAI,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;QACf,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,OAAO,EAAE,KAAK,CAAC;QACf,QAAQ,EAAE,KAAK,CAAC;QAChB,SAAS,EAAE,KAAK,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC;KAClB;IAED,UAAU,2BAA2B;QACnC,IAAI,EAAE,KAAK,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;KACf;IAED,UAAU,uBAAuB;QAC/B,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;QACf,SAAS,EAAE,KAAK,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KAChB;CACF;AAED,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"components.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components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AAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,OAAO,EAAE,KAAK,CAAC;QACf,QAAQ,EAAE,KAAK,CAAC;QAChB,SAAS,EAAE,KAAK,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC;KAClB;IAED,UAAU,2BAA2B;QACnC,IAAI,EAAE,KAAK,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;KACf;IAED,UAAU,uBAAuB;QAC/B,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;QACf,SAAS,EAAE,KAAK,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KAChB;CACF;AAED,OAAO,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/themes/odyssey/components.types.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAgFA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\ndeclare module \"@mui/material/Alert\" {\n interface AlertPropsVariantOverrides {\n // Disable Mui defaults\n filled: false;\n outlined: false;\n standard: false;\n // Enable Odyssey variants\n banner: true;\n infobox: true;\n }\n}\n\ndeclare module \"@mui/material/Button\" {\n interface ButtonPropsVariantOverrides {\n floating: true;\n primary: true;\n secondary: true;\n danger: true;\n text: false;\n contained: false;\n outlined: false;\n }\n interface ButtonPropsSizeOverrides {\n s: true;\n m: true;\n l: true;\n small: false;\n medium: false;\n large: false;\n }\n interface ButtonPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\n\ndeclare module \"@mui/material/Link\" {\n interface LinkPropsVariantOverrides {\n default: true;\n monochrome: true;\n body1: false;\n body2: false;\n button: false;\n caption: false;\n h1: false;\n h2: false;\n h3: false;\n h4: false;\n h5: false;\n h6: false;\n inherit: false;\n overline: false;\n subtitle1: false;\n subtitle2: false;\n }\n\n interface LinkPropsUnderlineOverrides {\n none: false;\n hover: false;\n always: false;\n }\n\n interface LinkPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\n\nexport {};\n"],"file":"components.types.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/components.types.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAiFA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\ndeclare module \"@mui/material/Alert\" {\n interface AlertPropsVariantOverrides {\n // Disable Mui defaults\n filled: false;\n outlined: false;\n standard: false;\n // Enable Odyssey variants\n banner: true;\n infobox: true;\n toast: true;\n }\n}\n\ndeclare module \"@mui/material/Button\" {\n interface ButtonPropsVariantOverrides {\n floating: true;\n primary: true;\n secondary: true;\n danger: true;\n text: false;\n contained: false;\n outlined: false;\n }\n interface ButtonPropsSizeOverrides {\n s: true;\n m: true;\n l: true;\n small: false;\n medium: false;\n large: false;\n }\n interface ButtonPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\n\ndeclare module \"@mui/material/Link\" {\n interface LinkPropsVariantOverrides {\n default: true;\n monochrome: true;\n body1: false;\n body2: false;\n button: false;\n caption: false;\n h1: false;\n h2: false;\n h3: false;\n h4: false;\n h5: false;\n h6: false;\n inherit: false;\n overline: false;\n subtitle1: false;\n subtitle2: false;\n }\n\n interface LinkPropsUnderlineOverrides {\n none: false;\n hover: false;\n always: false;\n }\n\n interface LinkPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\n\nexport {};\n"],"file":"components.types.js"}
@@ -0,0 +1,14 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ import type { ThemeOptions } from "@mui/material";
13
+ export declare const mixins: ThemeOptions["mixins"];
14
+ //# sourceMappingURL=mixins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mixins.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/mixins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,MAAM,EAAE,YAAY,CAAC,QAAQ,CAGzC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ import * as Tokens from "@okta/odyssey-design-tokens";
13
+ export const mixins = {
14
+ maxWidth: Tokens.FontLineLengthMax,
15
+ borderWidth: Tokens.BorderWidthBase
16
+ };
17
+ //# sourceMappingURL=mixins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/themes/odyssey/mixins.ts"],"names":["Tokens","mixins","maxWidth","FontLineLengthMax","borderWidth","BorderWidthBase"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,OAAO,KAAKA,MAAZ,MAAwB,6BAAxB;AAEA,OAAO,MAAMC,MAA8B,GAAG;AAC5CC,EAAAA,QAAQ,EAAEF,MAAM,CAACG,iBAD2B;AAE5CC,EAAAA,WAAW,EAAEJ,MAAM,CAACK;AAFwB,CAAvC","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\nimport * as Tokens from \"@okta/odyssey-design-tokens\";\n\nexport const mixins: ThemeOptions[\"mixins\"] = {\n maxWidth: Tokens.FontLineLengthMax,\n borderWidth: Tokens.BorderWidthBase,\n};\n"],"file":"mixins.js"}
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ declare module "@mui/material/styles" {
13
+ interface Mixins {
14
+ borderWidth?: string;
15
+ maxWidth?: string;
16
+ }
17
+ interface MixinsOptions {
18
+ borderWidth?: string;
19
+ maxWidth?: string;
20
+ }
21
+ }
22
+ export {};
23
+ //# sourceMappingURL=mixins.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mixins.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/mixins.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,MAAM;QACd,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED,UAAU,aAAa;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,OAAO,EAAE,CAAC"}
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=mixins.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/themes/odyssey/mixins.types.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAcA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\ndeclare module \"@mui/material/styles\" {\n interface Mixins {\n borderWidth?: string;\n maxWidth?: string;\n }\n\n interface MixinsOptions {\n borderWidth?: string;\n maxWidth?: string;\n }\n}\n\nexport {};\n"],"file":"mixins.types.js"}
@@ -10,6 +10,7 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
  import "./palette.types";
13
+ import "./mixins.types";
13
14
  import "./typography.types";
14
15
  import "./components.types";
15
16
  export declare const theme: import("@mui/material/styles").Theme;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,iBAAiB,CAAC;AAIzB,OAAO,oBAAoB,CAAC;AAE5B,OAAO,oBAAoB,CAAC;AAE5B,eAAO,MAAM,KAAK,sCAMhB,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,iBAAiB,CAAC;AAGzB,OAAO,gBAAgB,CAAC;AAGxB,OAAO,oBAAoB,CAAC;AAE5B,OAAO,oBAAoB,CAAC;AAE5B,eAAO,MAAM,KAAK,sCAOhB,CAAC"}
@@ -13,6 +13,8 @@ import { createTheme } from "@mui/material/styles";
13
13
  import { palette } from "./palette.js";
14
14
  import "./palette.types.js";
15
15
  import { shape } from "./shape.js";
16
+ import { mixins } from "./mixins.js";
17
+ import "./mixins.types.js";
16
18
  import { spacing } from "./spacing.js";
17
19
  import { typography } from "./typography.js";
18
20
  import "./typography.types.js";
@@ -21,6 +23,7 @@ import "./components.types.js";
21
23
  export const theme = createTheme({
22
24
  palette,
23
25
  shape,
26
+ mixins,
24
27
  spacing,
25
28
  typography,
26
29
  components
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/themes/odyssey/theme.ts"],"names":["createTheme","palette","shape","spacing","typography","components","theme"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,WAAT,QAA4B,sBAA5B;SAESC,O;;SAEAC,K;SACAC,O;SACAC,U;;SAEAC,U;;AAGT,OAAO,MAAMC,KAAK,GAAGN,WAAW,CAAC;AAC/BC,EAAAA,OAD+B;AAE/BC,EAAAA,KAF+B;AAG/BC,EAAAA,OAH+B;AAI/BC,EAAAA,UAJ+B;AAK/BC,EAAAA;AAL+B,CAAD,CAAzB","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { createTheme } from \"@mui/material/styles\";\n\nimport { palette } from \"./palette\";\nimport \"./palette.types\";\nimport { shape } from \"./shape\";\nimport { spacing } from \"./spacing\";\nimport { typography } from \"./typography\";\nimport \"./typography.types\";\nimport { components } from \"./components\";\nimport \"./components.types\";\n\nexport const theme = createTheme({\n palette,\n shape,\n spacing,\n typography,\n components,\n});\n"],"file":"theme.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/theme.ts"],"names":["createTheme","palette","shape","mixins","spacing","typography","components","theme"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,SAASA,WAAT,QAA4B,sBAA5B;SAESC,O;;SAEAC,K;SACAC,M;;SAEAC,O;SACAC,U;;SAEAC,U;;AAGT,OAAO,MAAMC,KAAK,GAAGP,WAAW,CAAC;AAC/BC,EAAAA,OAD+B;AAE/BC,EAAAA,KAF+B;AAG/BC,EAAAA,MAH+B;AAI/BC,EAAAA,OAJ+B;AAK/BC,EAAAA,UAL+B;AAM/BC,EAAAA;AAN+B,CAAD,CAAzB","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { createTheme } from \"@mui/material/styles\";\n\nimport { palette } from \"./palette\";\nimport \"./palette.types\";\nimport { shape } from \"./shape\";\nimport { mixins } from \"./mixins\";\nimport \"./mixins.types\";\nimport { spacing } from \"./spacing\";\nimport { typography } from \"./typography\";\nimport \"./typography.types\";\nimport { components } from \"./components\";\nimport \"./components.types\";\n\nexport const theme = createTheme({\n palette,\n shape,\n mixins,\n spacing,\n typography,\n components,\n});\n"],"file":"theme.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okta/odyssey-react-mui",
3
- "version": "0.14.4",
3
+ "version": "0.14.5",
4
4
  "description": "React MUI components for Odyssey, Okta's design system",
5
5
  "author": "Okta, Inc.",
6
6
  "license": "Apache-2.0",
@@ -19,14 +19,15 @@
19
19
  "directory": "packages/odyssey-react-mui"
20
20
  },
21
21
  "dependencies": {
22
- "@okta/odyssey-design-tokens": "^0.14.4"
22
+ "@okta/odyssey-design-tokens": "^0.14.5"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@emotion/react": "^11",
26
+ "@emotion/styled": "^11",
26
27
  "@mui/icons-material": "^5",
27
28
  "@mui/material": "^5.9.0",
28
29
  "react": ">=17 <19",
29
30
  "react-dom": ">=17 <19"
30
31
  },
31
- "gitHead": "18b12f8e289c7d94791a413d70e65b815124dccb"
32
+ "gitHead": "5c82b610bc4433e42cc57943ca848fef4e7b92f2"
32
33
  }
@@ -18,11 +18,18 @@ export const components: ThemeOptions["components"] = {
18
18
  styleOverrides: {
19
19
  root: ({ ownerState, theme }) => ({
20
20
  padding: theme.spacing(4),
21
+ gap: theme.spacing(4),
21
22
  color: theme.palette.text.primary,
22
23
  ...(ownerState.severity && {
23
24
  backgroundColor: theme.palette[ownerState.severity].lighter,
24
25
  borderColor: theme.palette[ownerState.severity].light,
25
26
  }),
27
+ ...(ownerState.variant === "banner" && {
28
+ position: "relative",
29
+ justifyContent: "center",
30
+ alignItems: "center",
31
+ borderWidth: 0,
32
+ }),
26
33
  ...(ownerState.variant === "infobox" && {
27
34
  borderStyle: "solid",
28
35
  borderWidth: 1,
@@ -30,12 +37,38 @@ export const components: ThemeOptions["components"] = {
30
37
  marginBottom: theme.spacing(4),
31
38
  },
32
39
  }),
40
+ ...(ownerState.variant === "toast" && {
41
+ maxWidth: theme.mixins.maxWidth,
42
+ borderStyle: "solid",
43
+ borderWidth: 1,
44
+ position: "relative",
45
+ alignItems: "start",
46
+ }),
47
+ }),
48
+ action: ({ ownerState, theme }) => ({
33
49
  ...(ownerState.variant === "banner" && {
34
- borderWidth: 0,
50
+ padding: 0,
51
+ marginRight: 0,
52
+ top: "50%",
53
+ right: theme.spacing(4),
54
+ position: "absolute",
55
+ transform: "translateY(-50%)",
56
+ }),
57
+ ...(ownerState.variant === "toast" && {
58
+ position: "absolute",
59
+ top: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${
60
+ theme.mixins.borderWidth
61
+ })`,
62
+ right: `calc(${theme.spacing(4)} - ${theme.spacing(1)} + ${
63
+ theme.mixins.borderWidth
64
+ })`,
65
+ padding: 0,
66
+ marginLeft: 0,
67
+ marginRight: 0,
35
68
  }),
36
69
  }),
37
70
  icon: ({ ownerState, theme }) => ({
38
- marginRight: theme.spacing(4),
71
+ marginRight: 0,
39
72
  padding: 0,
40
73
  fontSize: "1.429rem",
41
74
  opacity: 1,
@@ -46,9 +79,20 @@ export const components: ThemeOptions["components"] = {
46
79
  color: theme.palette[ownerState.severity].dark,
47
80
  }),
48
81
  }),
49
- message: ({ theme }) => ({
82
+ message: ({ ownerState, theme }) => ({
50
83
  padding: 0,
51
84
  lineHeight: theme.typography.body.lineHeight,
85
+ ...(ownerState.variant === "banner" && {
86
+ display: "flex",
87
+ justifyContent: "space-between",
88
+ gap: theme.spacing(4),
89
+ }),
90
+ ...(ownerState.variant === "toast" && {
91
+ flexGrow: 1,
92
+ paddingRight: `calc((${theme.spacing(1)} * 2) + ${
93
+ theme.typography.body.fontSize
94
+ } + ${theme.spacing(4)})`,
95
+ }),
52
96
  }),
53
97
  },
54
98
  },
@@ -80,6 +124,10 @@ export const components: ThemeOptions["components"] = {
80
124
  backgroundColor: theme.palette.primary.dark,
81
125
  },
82
126
 
127
+ "&:focus-visible": {
128
+ outlineColor: theme.palette.primary.main,
129
+ },
130
+
83
131
  "&:active": {
84
132
  backgroundColor: theme.palette.primary.main,
85
133
  },
@@ -96,15 +144,14 @@ export const components: ThemeOptions["components"] = {
96
144
  backgroundColor: theme.palette.grey[50],
97
145
  borderColor: theme.palette.grey[200],
98
146
  color: theme.palette.text.primary,
99
- "&:hover": {
100
- background: theme.palette.primary.lighter,
147
+ "&:hover, &:focus-visible": {
148
+ backgroundColor: theme.palette.primary.lighter,
101
149
  borderColor: theme.palette.primary.light,
102
150
  color: theme.palette.primary.main,
103
151
  },
104
152
 
105
153
  "&:focus-visible": {
106
- backgroundColor: theme.palette.primary.main,
107
- color: theme.palette.primary.main,
154
+ outlineColor: theme.palette.primary.main,
108
155
  },
109
156
 
110
157
  "&:active": {
@@ -130,7 +177,7 @@ export const components: ThemeOptions["components"] = {
130
177
  },
131
178
 
132
179
  "&:focus-visible": {
133
- outlineColor: theme.palette.error.light,
180
+ outlineColor: theme.palette.error.main,
134
181
  backgroundColor: theme.palette.error.dark,
135
182
  },
136
183
 
@@ -155,6 +202,9 @@ export const components: ThemeOptions["components"] = {
155
202
  backgroundColor: "rgba(29, 29, 33, 0.1)",
156
203
  borderColor: "transparent",
157
204
  },
205
+ "&:focus-visible": {
206
+ outlineColor: theme.palette.primary.main,
207
+ },
158
208
  "&:active": {
159
209
  backgroundColor: "rgba(29, 29, 33, 0.2)",
160
210
  borderColor: "transparent",
@@ -407,6 +457,14 @@ export const components: ThemeOptions["components"] = {
407
457
  }),
408
458
  },
409
459
  },
460
+ MuiIconButton: {
461
+ styleOverrides: {
462
+ root: ({ theme }) => ({
463
+ padding: theme.spacing(1),
464
+ fontSize: theme.typography.body.fontSize,
465
+ }),
466
+ },
467
+ },
410
468
  MuiInputAdornment: {
411
469
  defaultProps: {
412
470
  variant: "outlined",
@@ -593,6 +651,14 @@ export const components: ThemeOptions["components"] = {
593
651
  }),
594
652
  },
595
653
  },
654
+ MuiSnackbar: {
655
+ defaultProps: {
656
+ anchorOrigin: {
657
+ vertical: "bottom",
658
+ horizontal: "right",
659
+ },
660
+ },
661
+ },
596
662
  MuiTypography: {
597
663
  defaultProps: {
598
664
  fontFamily:
@@ -19,6 +19,7 @@ declare module "@mui/material/Alert" {
19
19
  // Enable Odyssey variants
20
20
  banner: true;
21
21
  infobox: true;
22
+ toast: true;
22
23
  }
23
24
  }
24
25
 
@@ -0,0 +1,19 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { ThemeOptions } from "@mui/material";
14
+ import * as Tokens from "@okta/odyssey-design-tokens";
15
+
16
+ export const mixins: ThemeOptions["mixins"] = {
17
+ maxWidth: Tokens.FontLineLengthMax,
18
+ borderWidth: Tokens.BorderWidthBase,
19
+ };
@@ -0,0 +1,25 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ declare module "@mui/material/styles" {
14
+ interface Mixins {
15
+ borderWidth?: string;
16
+ maxWidth?: string;
17
+ }
18
+
19
+ interface MixinsOptions {
20
+ borderWidth?: string;
21
+ maxWidth?: string;
22
+ }
23
+ }
24
+
25
+ export {};
@@ -15,6 +15,8 @@ import { createTheme } from "@mui/material/styles";
15
15
  import { palette } from "./palette";
16
16
  import "./palette.types";
17
17
  import { shape } from "./shape";
18
+ import { mixins } from "./mixins";
19
+ import "./mixins.types";
18
20
  import { spacing } from "./spacing";
19
21
  import { typography } from "./typography";
20
22
  import "./typography.types";
@@ -24,6 +26,7 @@ import "./components.types";
24
26
  export const theme = createTheme({
25
27
  palette,
26
28
  shape,
29
+ mixins,
27
30
  spacing,
28
31
  typography,
29
32
  components,