@okta/odyssey-react-mui 0.14.4 → 0.15.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 (48) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +29 -0
  3. package/dist/components/Icon/UserGroup.d.ts +16 -0
  4. package/dist/components/Icon/UserGroup.d.ts.map +1 -0
  5. package/dist/components/Icon/UserGroup.js +34 -0
  6. package/dist/components/Icon/UserGroup.js.map +1 -0
  7. package/dist/components/Icon/index.d.ts +2 -0
  8. package/dist/components/Icon/index.d.ts.map +1 -1
  9. package/dist/components/Icon/index.js +3 -0
  10. package/dist/components/Icon/index.js.map +1 -1
  11. package/dist/themes/odyssey/components.d.ts.map +1 -1
  12. package/dist/themes/odyssey/components.js +240 -23
  13. package/dist/themes/odyssey/components.js.map +1 -1
  14. package/dist/themes/odyssey/components.types.d.ts +1 -0
  15. package/dist/themes/odyssey/components.types.d.ts.map +1 -1
  16. package/dist/themes/odyssey/components.types.js.map +1 -1
  17. package/dist/themes/odyssey/mixins.d.ts +14 -0
  18. package/dist/themes/odyssey/mixins.d.ts.map +1 -0
  19. package/dist/themes/odyssey/mixins.js +19 -0
  20. package/dist/themes/odyssey/mixins.js.map +1 -0
  21. package/dist/themes/odyssey/mixins.types.d.ts +27 -0
  22. package/dist/themes/odyssey/mixins.types.d.ts.map +1 -0
  23. package/dist/themes/odyssey/mixins.types.js +13 -0
  24. package/dist/themes/odyssey/mixins.types.js.map +1 -0
  25. package/dist/themes/odyssey/palette.js +4 -4
  26. package/dist/themes/odyssey/palette.js.map +1 -1
  27. package/dist/themes/odyssey/theme.d.ts +1 -0
  28. package/dist/themes/odyssey/theme.d.ts.map +1 -1
  29. package/dist/themes/odyssey/theme.js +3 -0
  30. package/dist/themes/odyssey/theme.js.map +1 -1
  31. package/dist/themes/odyssey/typography.d.ts.map +1 -1
  32. package/dist/themes/odyssey/typography.js +14 -9
  33. package/dist/themes/odyssey/typography.js.map +1 -1
  34. package/dist/themes/odyssey/typography.types.d.ts +9 -4
  35. package/dist/themes/odyssey/typography.types.d.ts.map +1 -1
  36. package/dist/themes/odyssey/typography.types.js +11 -0
  37. package/dist/themes/odyssey/typography.types.js.map +1 -1
  38. package/package.json +4 -4
  39. package/src/components/Icon/UserGroup.tsx +44 -0
  40. package/src/components/Icon/index.tsx +4 -0
  41. package/src/themes/odyssey/{components.ts → components.tsx} +236 -20
  42. package/src/themes/odyssey/components.types.ts +1 -0
  43. package/src/themes/odyssey/mixins.ts +21 -0
  44. package/src/themes/odyssey/mixins.types.ts +29 -0
  45. package/src/themes/odyssey/palette.ts +4 -4
  46. package/src/themes/odyssey/theme.ts +3 -0
  47. package/src/themes/odyssey/typography.ts +13 -8
  48. package/src/themes/odyssey/typography.types.ts +10 -4
@@ -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,CAKzC,CAAC"}
@@ -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
+ import * as Tokens from "@okta/odyssey-design-tokens";
13
+ export const mixins = {
14
+ maxWidth: Tokens.FontLineLengthMax,
15
+ borderRadius: Tokens.BorderRadiusBase,
16
+ borderStyle: Tokens.BorderStyleBase,
17
+ borderWidth: Tokens.BorderWidthBase
18
+ };
19
+ //# sourceMappingURL=mixins.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/themes/odyssey/mixins.ts"],"names":["Tokens","mixins","maxWidth","FontLineLengthMax","borderRadius","BorderRadiusBase","borderStyle","BorderStyleBase","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,YAAY,EAAEJ,MAAM,CAACK,gBAFuB;AAG5CC,EAAAA,WAAW,EAAEN,MAAM,CAACO,eAHwB;AAI5CC,EAAAA,WAAW,EAAER,MAAM,CAACS;AAJwB,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 borderRadius: Tokens.BorderRadiusBase,\n borderStyle: Tokens.BorderStyleBase,\n borderWidth: Tokens.BorderWidthBase,\n};\n"],"file":"mixins.js"}
@@ -0,0 +1,27 @@
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
+ borderRadius?: string;
15
+ borderStyle?: string;
16
+ borderWidth?: string;
17
+ maxWidth?: string;
18
+ }
19
+ interface MixinsOptions {
20
+ borderRadius?: string;
21
+ borderStyle?: string;
22
+ borderWidth?: string;
23
+ maxWidth?: string;
24
+ }
25
+ }
26
+ export {};
27
+ //# 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,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED,UAAU,aAAa;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;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;AAkBA","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 borderRadius?: string;\n borderStyle?: string;\n borderWidth?: string;\n maxWidth?: string;\n }\n\n interface MixinsOptions {\n borderRadius?: string;\n borderStyle?: string;\n borderWidth?: string;\n maxWidth?: string;\n }\n}\n\nexport {};\n"],"file":"mixins.types.js"}
@@ -74,9 +74,9 @@ export const palette = {
74
74
  A700: "#585862"
75
75
  },
76
76
  text: {
77
- primary: Tokens.ColorNeutralDark,
78
- secondary: Tokens.ColorNeutralBase,
79
- disabled: Tokens.ColorNeutralBase
77
+ primary: Tokens.ColorPaletteNeutral900,
78
+ secondary: Tokens.ColorPaletteNeutral600,
79
+ disabled: Tokens.ColorPaletteNeutral500
80
80
  },
81
81
  divider: Tokens.ColorBorderDisplay,
82
82
  background: {
@@ -89,7 +89,7 @@ export const palette = {
89
89
  hoverOpacity: 0.04,
90
90
  selected: "rgba(0, 0, 0, 0.08)",
91
91
  selectedOpacity: 0.08,
92
- disabled: "rgba(0, 0, 0, 0.26)",
92
+ disabled: Tokens.ColorPaletteNeutral200,
93
93
  disabledBackground: "rgba(0, 0, 0, 0.12)",
94
94
  disabledOpacity: 0.38,
95
95
  focus: "rgba(0, 0, 0, 0.12)",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/themes/odyssey/palette.ts"],"names":["Tokens","palette","mode","common","black","ColorNeutralDark","white","ColorPaletteNeutralWhite","primary","lighter","ColorPaletteBlue000","light","ColorPaletteBlue300","main","ColorPaletteBlue500","dark","ColorPaletteBlue900","contrastText","ColorTextBodyInverse","secondary","ColorPaletteTurquoise500","error","ColorPaletteRed000","ColorPaletteRed300","ColorPaletteRed500","ColorPaletteRed900","warning","ColorPaletteYellow000","ColorPaletteYellow300","ColorPaletteYellow500","ColorPaletteYellow900","ColorTextBody","info","success","ColorPaletteGreen000","ColorPaletteGreen300","ColorPaletteGreen500","ColorPaletteGreen900","grey","ColorPaletteNeutral000","ColorPaletteNeutral100","ColorPaletteNeutral200","ColorPaletteNeutral500","ColorPaletteNeutral600","ColorPaletteNeutral900","A100","A200","A400","A700","text","ColorNeutralBase","disabled","divider","ColorBorderDisplay","background","paper","ColorBackgroundBase","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity"],"mappings":"AAAA;AACA;AACA;AACA;AACA;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,EAAEnD,MAAM,CAACkD;AAHb,GAhEwC;AAqE9CE,EAAAA,OAAO,EAAEpD,MAAM,CAACqD,kBArE8B;AAsE9CC,EAAAA,UAAU,EAAE;AACVC,IAAAA,KAAK,EAAEvD,MAAM,CAACwD,mBADJ;AAEVC,IAAAA,OAAO,EAAEzD,MAAM,CAACwD;AAFN,GAtEkC;AA0E9CE,EAAAA,MAAM,EAAE;AAENC,IAAAA,MAAM,EAAE,qBAFF;AAGNC,IAAAA,KAAK,EAAE,qBAHD;AAINC,IAAAA,YAAY,EAAE,IAJR;AAKNC,IAAAA,QAAQ,EAAE,qBALJ;AAMNC,IAAAA,eAAe,EAAE,IANX;AAONZ,IAAAA,QAAQ,EAAE,qBAPJ;AAQNa,IAAAA,kBAAkB,EAAE,qBARd;AASNC,IAAAA,eAAe,EAAE,IATX;AAUNC,IAAAA,KAAK,EAAE,qBAVD;AAWNC,IAAAA,YAAY,EAAE,IAXR;AAYNC,IAAAA,gBAAgB,EAAE;AAZZ;AA1EsC,CAAzC","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 palette: ThemeOptions[\"palette\"] = {\n mode: \"light\",\n common: {\n black: Tokens.ColorNeutralDark,\n white: Tokens.ColorPaletteNeutralWhite,\n },\n primary: {\n lighter: Tokens.ColorPaletteBlue000,\n light: Tokens.ColorPaletteBlue300,\n main: Tokens.ColorPaletteBlue500,\n dark: Tokens.ColorPaletteBlue900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n secondary: {\n light: \"#80c7ca\",\n main: Tokens.ColorPaletteTurquoise500,\n dark: \"#004650\",\n contrastText: Tokens.ColorTextBodyInverse,\n },\n error: {\n lighter: Tokens.ColorPaletteRed000,\n light: Tokens.ColorPaletteRed300,\n main: Tokens.ColorPaletteRed500,\n dark: Tokens.ColorPaletteRed900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n warning: {\n lighter: Tokens.ColorPaletteYellow000,\n light: Tokens.ColorPaletteYellow300,\n main: Tokens.ColorPaletteYellow500,\n dark: Tokens.ColorPaletteYellow900,\n contrastText: Tokens.ColorTextBody,\n },\n info: {\n lighter: Tokens.ColorPaletteBlue000,\n light: Tokens.ColorPaletteBlue300,\n main: Tokens.ColorPaletteBlue500,\n dark: Tokens.ColorPaletteBlue900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n success: {\n lighter: Tokens.ColorPaletteGreen000,\n light: Tokens.ColorPaletteGreen300,\n main: Tokens.ColorPaletteGreen500,\n dark: Tokens.ColorPaletteGreen900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n grey: {\n 50: Tokens.ColorPaletteNeutral000,\n 100: Tokens.ColorPaletteNeutral100,\n 200: Tokens.ColorPaletteNeutral200,\n 300: \"#c1c1c8\",\n 400: \"#aaaab4\",\n 500: Tokens.ColorPaletteNeutral500,\n 600: Tokens.ColorPaletteNeutral600,\n 700: \"#585862\",\n 800: \"#41414b\",\n 900: Tokens.ColorPaletteNeutral900,\n // These are \"Accent\" colors. MUI's palette matches them to the standard greys.\n A100: Tokens.ColorPaletteNeutral100,\n A200: Tokens.ColorPaletteNeutral200,\n A400: \"#aaaab4\",\n A700: \"#585862\",\n },\n text: {\n primary: Tokens.ColorNeutralDark,\n secondary: Tokens.ColorNeutralBase,\n disabled: Tokens.ColorNeutralBase, // We do not currently have a unique disabled color.\n },\n divider: Tokens.ColorBorderDisplay,\n background: {\n paper: Tokens.ColorBackgroundBase,\n default: Tokens.ColorBackgroundBase,\n },\n action: {\n // We have no equivalents here. It's likely we will update these as their uses are discovered.\n active: \"rgba(0, 0, 0, 0.54)\",\n hover: \"rgba(0, 0, 0, 0.04)\",\n hoverOpacity: 0.04,\n selected: \"rgba(0, 0, 0, 0.08)\",\n selectedOpacity: 0.08,\n disabled: \"rgba(0, 0, 0, 0.26)\",\n disabledBackground: \"rgba(0, 0, 0, 0.12)\",\n disabledOpacity: 0.38,\n focus: \"rgba(0, 0, 0, 0.12)\",\n focusOpacity: 0.12,\n activatedOpacity: 0.12,\n },\n};\n"],"file":"palette.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/palette.ts"],"names":["Tokens","palette","mode","common","black","ColorNeutralDark","white","ColorPaletteNeutralWhite","primary","lighter","ColorPaletteBlue000","light","ColorPaletteBlue300","main","ColorPaletteBlue500","dark","ColorPaletteBlue900","contrastText","ColorTextBodyInverse","secondary","ColorPaletteTurquoise500","error","ColorPaletteRed000","ColorPaletteRed300","ColorPaletteRed500","ColorPaletteRed900","warning","ColorPaletteYellow000","ColorPaletteYellow300","ColorPaletteYellow500","ColorPaletteYellow900","ColorTextBody","info","success","ColorPaletteGreen000","ColorPaletteGreen300","ColorPaletteGreen500","ColorPaletteGreen900","grey","ColorPaletteNeutral000","ColorPaletteNeutral100","ColorPaletteNeutral200","ColorPaletteNeutral500","ColorPaletteNeutral600","ColorPaletteNeutral900","A100","A200","A400","A700","text","disabled","divider","ColorBorderDisplay","background","paper","ColorBackgroundBase","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,OAAO,KAAKA,MAAZ,MAAwB,6BAAxB;AAEA,OAAO,MAAMC,OAAgC,GAAG;AAC9CC,EAAAA,IAAI,EAAE,OADwC;AAE9CC,EAAAA,MAAM,EAAE;AACNC,IAAAA,KAAK,EAAEJ,MAAM,CA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MAAM,CAACuD;AAFN,GAtEkC;AA0E9CE,EAAAA,MAAM,EAAE;AAENC,IAAAA,MAAM,EAAE,qBAFF;AAGNC,IAAAA,KAAK,EAAE,qBAHD;AAINC,IAAAA,YAAY,EAAE,IAJR;AAKNC,IAAAA,QAAQ,EAAE,qBALJ;AAMNC,IAAAA,eAAe,EAAE,IANX;AAONZ,IAAAA,QAAQ,EAAElD,MAAM,CAACyC,sBAPX;AAQNsB,IAAAA,kBAAkB,EAAE,qBARd;AASNC,IAAAA,eAAe,EAAE,IATX;AAUNC,IAAAA,KAAK,EAAE,qBAVD;AAWNC,IAAAA,YAAY,EAAE,IAXR;AAYNC,IAAAA,gBAAgB,EAAE;AAZZ;AA1EsC,CAAzC","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 palette: ThemeOptions[\"palette\"] = {\n mode: \"light\",\n common: {\n black: Tokens.ColorNeutralDark,\n white: Tokens.ColorPaletteNeutralWhite,\n },\n primary: {\n lighter: Tokens.ColorPaletteBlue000,\n light: Tokens.ColorPaletteBlue300,\n main: Tokens.ColorPaletteBlue500,\n dark: Tokens.ColorPaletteBlue900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n secondary: {\n light: \"#80c7ca\",\n main: Tokens.ColorPaletteTurquoise500,\n dark: \"#004650\",\n contrastText: Tokens.ColorTextBodyInverse,\n },\n error: {\n lighter: Tokens.ColorPaletteRed000,\n light: Tokens.ColorPaletteRed300,\n main: Tokens.ColorPaletteRed500,\n dark: Tokens.ColorPaletteRed900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n warning: {\n lighter: Tokens.ColorPaletteYellow000,\n light: Tokens.ColorPaletteYellow300,\n main: Tokens.ColorPaletteYellow500,\n dark: Tokens.ColorPaletteYellow900,\n contrastText: Tokens.ColorTextBody,\n },\n info: {\n lighter: Tokens.ColorPaletteBlue000,\n light: Tokens.ColorPaletteBlue300,\n main: Tokens.ColorPaletteBlue500,\n dark: Tokens.ColorPaletteBlue900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n success: {\n lighter: Tokens.ColorPaletteGreen000,\n light: Tokens.ColorPaletteGreen300,\n main: Tokens.ColorPaletteGreen500,\n dark: Tokens.ColorPaletteGreen900,\n contrastText: Tokens.ColorTextBodyInverse,\n },\n grey: {\n 50: Tokens.ColorPaletteNeutral000,\n 100: Tokens.ColorPaletteNeutral100,\n 200: Tokens.ColorPaletteNeutral200,\n 300: \"#c1c1c8\",\n 400: \"#aaaab4\",\n 500: Tokens.ColorPaletteNeutral500,\n 600: Tokens.ColorPaletteNeutral600,\n 700: \"#585862\",\n 800: \"#41414b\",\n 900: Tokens.ColorPaletteNeutral900,\n // These are \"Accent\" colors. MUI's palette matches them to the standard greys.\n A100: Tokens.ColorPaletteNeutral100,\n A200: Tokens.ColorPaletteNeutral200,\n A400: \"#aaaab4\",\n A700: \"#585862\",\n },\n text: {\n primary: Tokens.ColorPaletteNeutral900,\n secondary: Tokens.ColorPaletteNeutral600,\n disabled: Tokens.ColorPaletteNeutral500,\n },\n divider: Tokens.ColorBorderDisplay,\n background: {\n paper: Tokens.ColorBackgroundBase,\n default: Tokens.ColorBackgroundBase,\n },\n action: {\n // We have no equivalents here. It's likely we will update these as their uses are discovered.\n active: \"rgba(0, 0, 0, 0.54)\",\n hover: \"rgba(0, 0, 0, 0.04)\",\n hoverOpacity: 0.04,\n selected: \"rgba(0, 0, 0, 0.08)\",\n selectedOpacity: 0.08,\n disabled: Tokens.ColorPaletteNeutral200,\n disabledBackground: \"rgba(0, 0, 0, 0.12)\",\n disabledOpacity: 0.38,\n focus: \"rgba(0, 0, 0, 0.12)\",\n focusOpacity: 0.12,\n activatedOpacity: 0.12,\n },\n};\n"],"file":"palette.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"}
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAsEjD,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAGlD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CA2EjD,CAAC"}
@@ -60,9 +60,13 @@ export const typography = {
60
60
  lineHeight: Tokens.FontLineHeightHeading6,
61
61
  marginBottom: Tokens.SpaceScale1
62
62
  },
63
- subtitle1: undefined,
63
+ subtitle1: {
64
+ fontWeight: Tokens.FontWeightNormal,
65
+ fontSize: Tokens.FontScale0,
66
+ lineHeight: Tokens.FontLineHeightBody
67
+ },
64
68
  subtitle2: undefined,
65
- body: {
69
+ body1: {
66
70
  fontFamily: Tokens.FontFamilyBase,
67
71
  fontWeight: Number(Tokens.FontWeightNormal),
68
72
  fontSize: Tokens.FontScale1,
@@ -71,14 +75,15 @@ export const typography = {
71
75
  lineHeight: Tokens.FontLineHeightBody,
72
76
  letterSpacing: "initial"
73
77
  },
74
- body1: undefined,
75
78
  body2: undefined,
76
79
  button: undefined,
77
- caption: {
78
- fontWeight: Tokens.FontWeightNormal,
79
- fontSize: Tokens.FontScale0,
80
- lineHeight: Tokens.FontLineHeightBody
81
- },
82
- overline: undefined
80
+ overline: undefined,
81
+ legend: {
82
+ padding: 0,
83
+ fontWeight: Number(Tokens.FontWeightBold),
84
+ fontSize: Tokens.FontScale2,
85
+ lineHeight: Tokens.FontLineHeightHeading6,
86
+ marginBottom: Tokens.SpaceScale1
87
+ }
83
88
  };
84
89
  //# sourceMappingURL=typography.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/themes/odyssey/typography.ts"],"names":["Tokens","typography","htmlFontSize","fontFamily","FontFamilyBase","fontSize","fontWeightLight","fontWeightRegular","Number","FontWeightNormal","fontWeightMedium","fontWeightBold","FontWeightBold","allVariants","fontFeatureSettings","fontVariant","letterSpacing","h1","fontWeight","FontSizeHeading1","lineHeight","FontLineHeightHeading1","marginBottom","SpaceScale1","h2","FontSizeHeading2","FontLineHeightHeading2","h3","FontSizeHeading3","FontLineHeightHeading3","h4","FontSizeHeading4","FontLineHeightHeading4","h5","FontSizeHeading5","FontLineHeightHeading5","h6","FontScale2","FontLineHeightHeading6","subtitle1","undefined","subtitle2","body","FontScale1","FontLineHeightBody","body1","body2","button","caption","FontScale0","overline"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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A,KAAK,EAAEN,SA9D6C;AA+DpDO,EAAAA,MAAM,EAAEP,SA/D4C;AAgEpDQ,EAAAA,OAAO,EAAE;AACP9B,IAAAA,UAAU,EAAElB,MAAM,CAACS,gBADZ;AAEPJ,IAAAA,QAAQ,EAAEL,MAAM,CAACiD,UAFV;AAGP7B,IAAAA,UAAU,EAAEpB,MAAM,CAAC4C;AAHZ,GAhE2C;AAqEpDM,EAAAA,QAAQ,EAAEV;AArE0C,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\";\nimport * as Tokens from \"@okta/odyssey-design-tokens\";\n\nexport const typography: ThemeOptions[\"typography\"] = {\n htmlFontSize: 16,\n fontFamily: Tokens.FontFamilyBase,\n fontSize: 14,\n fontWeightLight: 300,\n fontWeightRegular: Number(Tokens.FontWeightNormal),\n fontWeightMedium: 500,\n fontWeightBold: Number(Tokens.FontWeightBold),\n allVariants: {\n fontFamily: Tokens.FontFamilyBase,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n letterSpacing: 0,\n },\n h1: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading1,\n lineHeight: Tokens.FontLineHeightHeading1,\n marginBottom: Tokens.SpaceScale1,\n },\n h2: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading2,\n lineHeight: Tokens.FontLineHeightHeading2,\n marginBottom: Tokens.SpaceScale1,\n },\n h3: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading3,\n lineHeight: Tokens.FontLineHeightHeading3,\n marginBottom: Tokens.SpaceScale1,\n },\n h4: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading4,\n lineHeight: Tokens.FontLineHeightHeading4,\n marginBottom: Tokens.SpaceScale1,\n },\n h5: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading5,\n lineHeight: Tokens.FontLineHeightHeading5,\n marginBottom: Tokens.SpaceScale1,\n },\n h6: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontScale2,\n lineHeight: Tokens.FontLineHeightHeading6,\n marginBottom: Tokens.SpaceScale1,\n },\n subtitle1: undefined,\n subtitle2: undefined,\n body: {\n fontFamily: Tokens.FontFamilyBase,\n fontWeight: Number(Tokens.FontWeightNormal),\n fontSize: Tokens.FontScale1,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: Tokens.FontLineHeightBody,\n letterSpacing: \"initial\",\n },\n body1: undefined,\n body2: undefined,\n button: undefined,\n caption: {\n fontWeight: Tokens.FontWeightNormal,\n fontSize: Tokens.FontScale0,\n lineHeight: Tokens.FontLineHeightBody,\n },\n overline: undefined,\n};\n"],"file":"typography.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/typography.ts"],"names":["Tokens","typography","htmlFontSize","fontFamily","FontFamilyBase","fontSize","fontWeightLight","fontWeightRegular","Number","FontWeightNormal","fontWeightMedium","fontWeightBold","FontWeightBold","allVariants","fontFeatureSettings","fontVariant","letterSpacing","h1","fontWeight","FontSizeHeading1","lineHeight","FontLineHeightHeading1","marginBottom","SpaceScale1","h2","FontSizeHeading2","FontLineHeightHeading2","h3","FontSizeHeading3","FontLineHeightHeading3","h4","FontSizeHeading4","FontLineHeightHeading4","h5","FontSizeHeading5","FontLineHeightHeading5","h6","FontScale2","FontLineHeightHeading6","subtitle1","FontScale0","FontLineHeightBody","subtitle2","undefined","body1","FontSc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IL/B,IAAAA,mBAAmB,EAAE,gBAJhB;AAKLC,IAAAA,WAAW,EAAE,QALR;AAMLK,IAAAA,UAAU,EAAEpB,MAAM,CAACyC,kBANd;AAOLzB,IAAAA,aAAa,EAAE;AAPV,GAxD6C;AAiEpD8B,EAAAA,KAAK,EAAEH,SAjE6C;AAkEpDI,EAAAA,MAAM,EAAEJ,SAlE4C;AAmEpDK,EAAAA,QAAQ,EAAEL,SAnE0C;AAoEpDM,EAAAA,MAAM,EAAE;AACNC,IAAAA,OAAO,EAAE,CADH;AAENhC,IAAAA,UAAU,EAAEV,MAAM,CAACR,MAAM,CAACY,cAAR,CAFZ;AAGNP,IAAAA,QAAQ,EAAEL,MAAM,CAACqC,UAHX;AAINjB,IAAAA,UAAU,EAAEpB,MAAM,CAACsC,sBAJb;AAKNhB,IAAAA,YAAY,EAAEtB,MAAM,CAACuB;AALf;AApE4C,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\";\nimport * as Tokens from \"@okta/odyssey-design-tokens\";\n\nexport const typography: ThemeOptions[\"typography\"] = {\n htmlFontSize: 16,\n fontFamily: Tokens.FontFamilyBase,\n fontSize: 14,\n fontWeightLight: 300,\n fontWeightRegular: Number(Tokens.FontWeightNormal),\n fontWeightMedium: 500,\n fontWeightBold: Number(Tokens.FontWeightBold),\n allVariants: {\n fontFamily: Tokens.FontFamilyBase,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n letterSpacing: 0,\n },\n h1: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading1,\n lineHeight: Tokens.FontLineHeightHeading1,\n marginBottom: Tokens.SpaceScale1,\n },\n h2: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading2,\n lineHeight: Tokens.FontLineHeightHeading2,\n marginBottom: Tokens.SpaceScale1,\n },\n h3: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading3,\n lineHeight: Tokens.FontLineHeightHeading3,\n marginBottom: Tokens.SpaceScale1,\n },\n h4: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading4,\n lineHeight: Tokens.FontLineHeightHeading4,\n marginBottom: Tokens.SpaceScale1,\n },\n h5: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontSizeHeading5,\n lineHeight: Tokens.FontLineHeightHeading5,\n marginBottom: Tokens.SpaceScale1,\n },\n h6: {\n fontWeight: Tokens.FontWeightBold,\n fontSize: Tokens.FontScale2,\n lineHeight: Tokens.FontLineHeightHeading6,\n marginBottom: Tokens.SpaceScale1,\n },\n subtitle1: {\n fontWeight: Tokens.FontWeightNormal,\n fontSize: Tokens.FontScale0,\n lineHeight: Tokens.FontLineHeightBody,\n },\n subtitle2: undefined,\n body1: {\n fontFamily: Tokens.FontFamilyBase,\n fontWeight: Number(Tokens.FontWeightNormal),\n fontSize: Tokens.FontScale1,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: Tokens.FontLineHeightBody,\n letterSpacing: \"initial\",\n },\n body2: undefined,\n button: undefined,\n overline: undefined,\n legend: {\n padding: 0,\n fontWeight: Number(Tokens.FontWeightBold),\n fontSize: Tokens.FontScale2,\n lineHeight: Tokens.FontLineHeightHeading6,\n marginBottom: Tokens.SpaceScale1,\n },\n};\n"],"file":"typography.js"}
@@ -12,23 +12,28 @@
12
12
  import { CSSProperties } from "react";
13
13
  declare module "@mui/material/styles" {
14
14
  interface TypographyVariants {
15
- body: CSSProperties;
15
+ kbd: CSSProperties;
16
+ legend: CSSProperties;
16
17
  }
17
18
  interface TypographyVariantsOptions {
18
- body?: CSSProperties;
19
+ kbd?: CSSProperties;
20
+ legend?: CSSProperties;
19
21
  }
20
22
  }
21
23
  declare module "@mui/material/Typography" {
22
24
  interface TypographyPropsVariantOverrides {
23
- body1: false;
25
+ body1: true;
24
26
  body2: false;
25
27
  body: true;
26
28
  button: false;
29
+ kbd: true;
30
+ legend: true;
27
31
  overline: false;
28
- subtitle1: false;
32
+ subtitle1: true;
29
33
  subtitle2: false;
30
34
  default: true;
31
35
  monochrome: true;
32
36
  }
33
37
  }
38
+ export {};
34
39
  //# sourceMappingURL=typography.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/typography.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,kBAAkB;QAC1B,IAAI,EAAE,aAAa,CAAC;KACrB;IACD,UAAU,yBAAyB;QACjC,IAAI,CAAC,EAAE,aAAa,CAAC;KACtB;CACF;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,+BAA+B;QACvC,KAAK,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,KAAK,CAAC;QACd,QAAQ,EAAE,KAAK,CAAC;QAChB,SAAS,EAAE,KAAK,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC;QACjB,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,IAAI,CAAC;KAClB;CACF"}
1
+ {"version":3,"file":"typography.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/typography.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,kBAAkB;QAC1B,GAAG,EAAE,aAAa,CAAC;QACnB,MAAM,EAAE,aAAa,CAAC;KACvB;IACD,UAAU,yBAAyB;QACjC,GAAG,CAAC,EAAE,aAAa,CAAC;QACpB,MAAM,CAAC,EAAE,aAAa,CAAC;KACxB;CACF;AAED,OAAO,QAAQ,0BAA0B,CAAC;IACxC,UAAU,+BAA+B;QACvC,KAAK,EAAE,IAAI,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,IAAI,CAAC;QACX,MAAM,EAAE,KAAK,CAAC;QACd,GAAG,EAAE,IAAI,CAAC;QACV,MAAM,EAAE,IAAI,CAAC;QACb,QAAQ,EAAE,KAAK,CAAC;QAChB,SAAS,EAAE,IAAI,CAAC;QAChB,SAAS,EAAE,KAAK,CAAC;QACjB,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,IAAI,CAAC;KAClB;CACF;AAED,OAAO,EAAE,CAAC"}
@@ -1,2 +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
+ */
1
12
  export {};
2
13
  //# sourceMappingURL=typography.types.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"typography.types.js"}
1
+ {"version":3,"sources":["../../../src/themes/odyssey/typography.types.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA+BA","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 { CSSProperties } from \"react\";\n\ndeclare module \"@mui/material/styles\" {\n interface TypographyVariants {\n kbd: CSSProperties;\n legend: CSSProperties;\n }\n interface TypographyVariantsOptions {\n kbd?: CSSProperties;\n legend?: CSSProperties;\n }\n}\n\ndeclare module \"@mui/material/Typography\" {\n interface TypographyPropsVariantOverrides {\n body1: true;\n body2: false;\n body: true;\n button: false;\n kbd: true;\n legend: true;\n overline: false;\n subtitle1: true;\n subtitle2: false;\n default: true; // used by Link\n monochrome: true; // used by Link\n }\n}\n\nexport {};\n"],"file":"typography.types.js"}
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@okta/odyssey-react-mui",
3
- "version": "0.14.4",
3
+ "version": "0.15.0",
4
4
  "description": "React MUI components for Odyssey, Okta's design system",
5
5
  "author": "Okta, Inc.",
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
10
- "type": "module",
11
10
  "exports": {
12
11
  ".": {
13
12
  "default": "./dist/index.js"
@@ -19,14 +18,15 @@
19
18
  "directory": "packages/odyssey-react-mui"
20
19
  },
21
20
  "dependencies": {
22
- "@okta/odyssey-design-tokens": "^0.14.4"
21
+ "@okta/odyssey-design-tokens": "^0.15.0"
23
22
  },
24
23
  "peerDependencies": {
25
24
  "@emotion/react": "^11",
25
+ "@emotion/styled": "^11",
26
26
  "@mui/icons-material": "^5",
27
27
  "@mui/material": "^5.9.0",
28
28
  "react": ">=17 <19",
29
29
  "react-dom": ">=17 <19"
30
30
  },
31
- "gitHead": "18b12f8e289c7d94791a413d70e65b815124dccb"
31
+ "gitHead": "0b9b95e150ac14ec2d65e74d97353ee8b869536b"
32
32
  }
@@ -0,0 +1,44 @@
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
+ // Code automatically generated by svgr; DO NOT EDIT.
14
+
15
+ import { forwardRef } from "react";
16
+ import { SvgIcon } from "./SvgIcon";
17
+ import type { SvgIconNoChildrenProps } from "./types";
18
+
19
+ export type UserGroupIconProps = SvgIconNoChildrenProps;
20
+
21
+ export const UserGroupIcon = forwardRef<SVGSVGElement, UserGroupIconProps>(
22
+ (props, ref) => {
23
+ return (
24
+ <SvgIcon
25
+ viewBox="0 0 16 16"
26
+ fill="none"
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ ref={ref}
29
+ {...props}
30
+ >
31
+ <>
32
+ <path
33
+ fillRule="evenodd"
34
+ clipRule="evenodd"
35
+ d="M12 4V3C12 2.44772 11.5523 2 11 2C10.4477 2 10 2.44772 10 3V4C10 4.55228 10.4477 5 11 5C11.5523 5 12 4.55228 12 4ZM11 1C9.89543 1 9 1.89543 9 3V4C9 5.10457 9.89543 6 11 6C12.1046 6 13 5.10457 13 4V3C13 1.89543 12.1046 1 11 1ZM13.4507 9.70979C13.3461 9.25176 13.2788 8.96046 13.2112 8.74017C13.1473 8.53193 13.1019 8.45367 13.0716 8.41204L13.8805 7.82408C14.1212 8.15524 14.2227 8.59915 14.4256 9.48696L14.7714 11L15 12H13.9742H8.31292C8.34765 12.146 8.38455 12.3074 8.42559 12.487L8.77143 14L9 15H7.97421H2.02579H1L1.22857 14L1.57441 12.487C1.77734 11.5991 1.8788 11.1552 2.11952 10.8241C2.33185 10.532 2.61932 10.3028 2.95142 10.1609C3.32789 10 3.78325 10 4.69396 10H5.30604C6.21675 10 6.67211 10 7.04858 10.1609C7.16471 10.2105 7.27538 10.2708 7.37928 10.3407L7.57443 9.48696C7.77735 8.59915 7.87882 8.15524 8.11953 7.82408C8.33187 7.53195 8.61934 7.30278 8.95143 7.16087C9.32791 7 9.78326 7 10.694 7H11.3061C12.2168 7 12.6721 7 13.0486 7.16087C13.3807 7.30278 13.6682 7.53195 13.8805 7.82408L13.0716 8.41204C12.9654 8.26598 12.8217 8.15139 12.6557 8.08044C12.6083 8.06021 12.5219 8.03334 12.3047 8.01744C12.0748 8.00062 11.7759 8 11.3061 8H10.694C10.2241 8 9.92519 8.00062 9.69536 8.01744C9.47812 8.03334 9.3917 8.06021 9.34437 8.08044C9.17833 8.15139 9.03459 8.26598 8.92842 8.41204C8.89816 8.45367 8.85271 8.53193 8.7888 8.74017C8.72119 8.96047 8.65397 9.25177 8.54928 9.70979L8.25438 11H13.7457L13.4681 9.78588L13.4507 9.70979ZM6 7V6C6 5.44772 5.55228 5 5 5C4.44772 5 4 5.44772 4 6V7C4 7.55228 4.44772 8 5 8C5.55228 8 6 7.55228 6 7ZM5 4C3.89543 4 3 4.89543 3 6V7C3 8.10457 3.89543 9 5 9C6.10457 9 7 8.10457 7 7V6C7 4.89543 6.10457 4 5 4ZM5.30604 11H4.69396C4.22413 11 3.92517 11.0006 3.69534 11.0174C3.4781 11.0333 3.39168 11.0602 3.34436 11.0804C3.17831 11.1514 3.03457 11.266 2.92841 11.412C2.89815 11.4537 2.85269 11.5319 2.78879 11.7402C2.72118 11.9605 2.65396 12.2518 2.54927 12.7098L2.25436 14H7.74564L7.45073 12.7098C7.34604 12.2518 7.27882 11.9605 7.21122 11.7402C7.14731 11.5319 7.10185 11.4537 7.0716 11.412C6.96543 11.266 6.82169 11.1514 6.65565 11.0804C6.60832 11.0602 6.5219 11.0333 6.30466 11.0174C6.07483 11.0006 5.77587 11 5.30604 11Z"
36
+ fill="currentColor"
37
+ />
38
+ </>
39
+ </SvgIcon>
40
+ );
41
+ }
42
+ );
43
+
44
+ UserGroupIcon.displayName = "UserGroupIcon";
@@ -125,6 +125,9 @@ export * from "./Settings";
125
125
  import { SubtractIcon } from "./Subtract";
126
126
  export * from "./Subtract";
127
127
 
128
+ import { UserGroupIcon } from "./UserGroup";
129
+ export * from "./UserGroup";
130
+
128
131
  import { UserIcon } from "./User";
129
132
  export * from "./User";
130
133
 
@@ -166,5 +169,6 @@ export const iconDictionary = {
166
169
  search: SearchIcon,
167
170
  settings: SettingsIcon,
168
171
  subtract: SubtractIcon,
172
+ "user-group": UserGroupIcon,
169
173
  user: UserIcon,
170
174
  };