@okta/odyssey-react-mui 1.13.3 → 1.13.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.
Files changed (142) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/Accordion.js +11 -12
  3. package/dist/Accordion.js.map +1 -1
  4. package/dist/Autocomplete.js +63 -70
  5. package/dist/Autocomplete.js.map +1 -1
  6. package/dist/Badge.js +7 -8
  7. package/dist/Badge.js.map +1 -1
  8. package/dist/Banner.js +10 -11
  9. package/dist/Banner.js.map +1 -1
  10. package/dist/Box.js +16 -19
  11. package/dist/Box.js.map +1 -1
  12. package/dist/Breadcrumbs.js +12 -14
  13. package/dist/Breadcrumbs.js.map +1 -1
  14. package/dist/Button.js +20 -21
  15. package/dist/Button.js.map +1 -1
  16. package/dist/Callout.js +11 -12
  17. package/dist/Callout.js.map +1 -1
  18. package/dist/Checkbox.js +20 -21
  19. package/dist/Checkbox.js.map +1 -1
  20. package/dist/CheckboxGroup.js +27 -31
  21. package/dist/CheckboxGroup.js.map +1 -1
  22. package/dist/CircularProgress.js +10 -13
  23. package/dist/CircularProgress.js.map +1 -1
  24. package/dist/Dialog.js +11 -12
  25. package/dist/Dialog.js.map +1 -1
  26. package/dist/ErrorMessageList.js +3 -4
  27. package/dist/ErrorMessageList.js.map +1 -1
  28. package/dist/Field.js +16 -17
  29. package/dist/Field.js.map +1 -1
  30. package/dist/FieldError.js +7 -8
  31. package/dist/FieldError.js.map +1 -1
  32. package/dist/FieldHint.js +7 -8
  33. package/dist/FieldHint.js.map +1 -1
  34. package/dist/FieldLabel.js +9 -10
  35. package/dist/FieldLabel.js.map +1 -1
  36. package/dist/Fieldset.js +11 -12
  37. package/dist/Fieldset.js.map +1 -1
  38. package/dist/Form.js +16 -17
  39. package/dist/Form.js.map +1 -1
  40. package/dist/Link.js +13 -14
  41. package/dist/Link.js.map +1 -1
  42. package/dist/MenuButton.js +18 -19
  43. package/dist/MenuButton.js.map +1 -1
  44. package/dist/MenuItem.js +10 -11
  45. package/dist/MenuItem.js.map +1 -1
  46. package/dist/MuiPropsChild.js +4 -5
  47. package/dist/MuiPropsChild.js.map +1 -1
  48. package/dist/NativeSelect.js +49 -53
  49. package/dist/NativeSelect.js.map +1 -1
  50. package/dist/OdysseyCacheProvider.js +6 -7
  51. package/dist/OdysseyCacheProvider.js.map +1 -1
  52. package/dist/OdysseyProvider.js +26 -29
  53. package/dist/OdysseyProvider.js.map +1 -1
  54. package/dist/OdysseyThemeProvider.js +8 -9
  55. package/dist/OdysseyThemeProvider.js.map +1 -1
  56. package/dist/OdysseyTranslationProvider.js +5 -6
  57. package/dist/OdysseyTranslationProvider.js.map +1 -1
  58. package/dist/PasswordField.js +64 -68
  59. package/dist/PasswordField.js.map +1 -1
  60. package/dist/Radio.js +13 -14
  61. package/dist/Radio.js.map +1 -1
  62. package/dist/RadioGroup.js +34 -38
  63. package/dist/RadioGroup.js.map +1 -1
  64. package/dist/ScreenReaderText.js +9 -12
  65. package/dist/ScreenReaderText.js.map +1 -1
  66. package/dist/SearchField.js +56 -60
  67. package/dist/SearchField.js.map +1 -1
  68. package/dist/Select.js +50 -54
  69. package/dist/Select.js.map +1 -1
  70. package/dist/Status.js +6 -7
  71. package/dist/Status.js.map +1 -1
  72. package/dist/Tabs.js +14 -16
  73. package/dist/Tabs.js.map +1 -1
  74. package/dist/Tag.js +9 -10
  75. package/dist/Tag.js.map +1 -1
  76. package/dist/TagList.js +4 -5
  77. package/dist/TagList.js.map +1 -1
  78. package/dist/TextField.js +70 -74
  79. package/dist/TextField.js.map +1 -1
  80. package/dist/Toast.js +13 -14
  81. package/dist/Toast.js.map +1 -1
  82. package/dist/ToastStack.js +3 -4
  83. package/dist/ToastStack.js.map +1 -1
  84. package/dist/Tooltip.js +17 -20
  85. package/dist/Tooltip.js.map +1 -1
  86. package/dist/Typography.js +212 -243
  87. package/dist/Typography.js.map +1 -1
  88. package/dist/i18n.js +1 -2
  89. package/dist/i18n.js.map +1 -1
  90. package/dist/inputUtils.js +9 -11
  91. package/dist/inputUtils.js.map +1 -1
  92. package/dist/labs/DataFilters.js +18 -22
  93. package/dist/labs/DataFilters.js.map +1 -1
  94. package/dist/labs/DataTable.js +78 -92
  95. package/dist/labs/DataTable.js.map +1 -1
  96. package/dist/labs/DataTablePagination.js +9 -10
  97. package/dist/labs/DataTablePagination.js.map +1 -1
  98. package/dist/labs/DatePicker.js +10 -12
  99. package/dist/labs/DatePicker.js.map +1 -1
  100. package/dist/labs/GroupPicker.js +37 -44
  101. package/dist/labs/GroupPicker.js.map +1 -1
  102. package/dist/labs/PaginatedTable.js +23 -27
  103. package/dist/labs/PaginatedTable.js.map +1 -1
  104. package/dist/labs/StaticTable.js +17 -21
  105. package/dist/labs/StaticTable.js.map +1 -1
  106. package/dist/labs/Switch.js +25 -23
  107. package/dist/labs/Switch.js.map +1 -1
  108. package/dist/labs/VirtualizedAutocomplete.js +61 -68
  109. package/dist/labs/VirtualizedAutocomplete.js.map +1 -1
  110. package/dist/labs/datePickerTheme.js +266 -350
  111. package/dist/labs/datePickerTheme.js.map +1 -1
  112. package/dist/properties/ts/odyssey-react-mui.js +2 -0
  113. package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
  114. package/dist/src/OdysseyTranslationProvider.d.ts +1 -1
  115. package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
  116. package/dist/src/i18n.d.ts +1 -1
  117. package/dist/src/i18n.d.ts.map +1 -1
  118. package/dist/src/labs/Switch.d.ts.map +1 -1
  119. package/dist/src/properties/ts/odyssey-react-mui.d.ts +2 -0
  120. package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  121. package/dist/theme/components.js +1104 -1198
  122. package/dist/theme/components.js.map +1 -1
  123. package/dist/theme/createOdysseyMuiTheme.js +22 -25
  124. package/dist/theme/createOdysseyMuiTheme.js.map +1 -1
  125. package/dist/theme/mixins.js +3 -4
  126. package/dist/theme/mixins.js.map +1 -1
  127. package/dist/theme/palette.js +3 -4
  128. package/dist/theme/palette.js.map +1 -1
  129. package/dist/theme/shape.js +3 -4
  130. package/dist/theme/shape.js.map +1 -1
  131. package/dist/theme/spacing.js +3 -4
  132. package/dist/theme/spacing.js.map +1 -1
  133. package/dist/theme/typography.js +3 -4
  134. package/dist/theme/typography.js.map +1 -1
  135. package/dist/tsconfig.production.tsbuildinfo +1 -1
  136. package/dist/useNormalizedKey.js +1 -4
  137. package/dist/useNormalizedKey.js.map +1 -1
  138. package/package.json +3 -3
  139. package/src/i18n.ts +1 -1
  140. package/src/labs/Switch.tsx +3 -1
  141. package/src/properties/odyssey-react-mui.properties +2 -0
  142. package/src/properties/ts/odyssey-react-mui.ts +1 -1
@@ -21,31 +21,28 @@ import "./components.types.js";
21
21
  import "./mixins.types.js";
22
22
  import "./palette.types.js";
23
23
  import "./typography.types.js";
24
- export const createOdysseyMuiTheme = _ref => {
25
- let {
24
+ export const createOdysseyMuiTheme = ({
25
+ odysseyTokens,
26
+ shadowDomElement
27
+ }) => createTheme({
28
+ components: components({
26
29
  odysseyTokens,
27
30
  shadowDomElement
28
- } = _ref;
29
- return createTheme({
30
- components: components({
31
- odysseyTokens,
32
- shadowDomElement
33
- }),
34
- mixins: mixins({
35
- odysseyTokens
36
- }),
37
- palette: palette({
38
- odysseyTokens
39
- }),
40
- shape: shape({
41
- odysseyTokens
42
- }),
43
- spacing: spacing({
44
- odysseyTokens
45
- }),
46
- typography: typography({
47
- odysseyTokens
48
- })
49
- });
50
- };
31
+ }),
32
+ mixins: mixins({
33
+ odysseyTokens
34
+ }),
35
+ palette: palette({
36
+ odysseyTokens
37
+ }),
38
+ shape: shape({
39
+ odysseyTokens
40
+ }),
41
+ spacing: spacing({
42
+ odysseyTokens
43
+ }),
44
+ typography: typography({
45
+ odysseyTokens
46
+ })
47
+ });
51
48
  //# sourceMappingURL=createOdysseyMuiTheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createOdysseyMuiTheme.js","names":["createTheme","components","mixins","palette","shape","spacing","typography","createOdysseyMuiTheme","_ref","odysseyTokens","shadowDomElement"],"sources":["../../src/theme/createOdysseyMuiTheme.ts"],"sourcesContent":["/*!\n * Copyright (c) 2023-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\";\nimport * as Tokens from \"@okta/odyssey-design-tokens\";\n\nimport { components } from \"./components\";\nimport { mixins } from \"./mixins\";\nimport { palette } from \"./palette\";\nimport { shape } from \"./shape\";\nimport { spacing } from \"./spacing\";\nimport { typography } from \"./typography\";\nimport \"./components.types\";\nimport \"./mixins.types\";\nimport \"./palette.types\";\nimport \"./typography.types\";\n\nexport type DesignTokens = typeof Tokens;\nexport type DesignTokensOverride = Partial<typeof Tokens>;\n\nexport const createOdysseyMuiTheme = ({\n odysseyTokens,\n shadowDomElement,\n}: {\n odysseyTokens: DesignTokens;\n shadowDomElement?: HTMLElement;\n}) =>\n createTheme({\n components: components({\n odysseyTokens,\n shadowDomElement,\n }),\n mixins: mixins({ odysseyTokens }),\n palette: palette({ odysseyTokens }),\n shape: shape({ odysseyTokens }),\n spacing: spacing({ odysseyTokens }),\n typography: typography({ odysseyTokens }),\n });\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,sBAAsB;AAAC,SAG1CC,UAAU;AAAA,SACVC,MAAM;AAAA,SACNC,OAAO;AAAA,SACPC,KAAK;AAAA,SACLC,OAAO;AAAA,SACPC,UAAU;AAAA;AAAA;AAAA;AAAA;AASnB,OAAO,MAAMC,qBAAqB,GAAGC,IAAA;EAAA,IAAC;IACpCC,aAAa;IACbC;EAIF,CAAC,GAAAF,IAAA;EAAA,OACCR,WAAW,CAAC;IACVC,UAAU,EAAEA,UAAU,CAAC;MACrBQ,aAAa;MACbC;IACF,CAAC,CAAC;IACFR,MAAM,EAAEA,MAAM,CAAC;MAAEO;IAAc,CAAC,CAAC;IACjCN,OAAO,EAAEA,OAAO,CAAC;MAAEM;IAAc,CAAC,CAAC;IACnCL,KAAK,EAAEA,KAAK,CAAC;MAAEK;IAAc,CAAC,CAAC;IAC/BJ,OAAO,EAAEA,OAAO,CAAC;MAAEI;IAAc,CAAC,CAAC;IACnCH,UAAU,EAAEA,UAAU,CAAC;MAAEG;IAAc,CAAC;EAC1C,CAAC,CAAC;AAAA"}
1
+ {"version":3,"file":"createOdysseyMuiTheme.js","names":["createTheme","components","mixins","palette","shape","spacing","typography","createOdysseyMuiTheme","odysseyTokens","shadowDomElement"],"sources":["../../src/theme/createOdysseyMuiTheme.ts"],"sourcesContent":["/*!\n * Copyright (c) 2023-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\";\nimport * as Tokens from \"@okta/odyssey-design-tokens\";\n\nimport { components } from \"./components\";\nimport { mixins } from \"./mixins\";\nimport { palette } from \"./palette\";\nimport { shape } from \"./shape\";\nimport { spacing } from \"./spacing\";\nimport { typography } from \"./typography\";\nimport \"./components.types\";\nimport \"./mixins.types\";\nimport \"./palette.types\";\nimport \"./typography.types\";\n\nexport type DesignTokens = typeof Tokens;\nexport type DesignTokensOverride = Partial<typeof Tokens>;\n\nexport const createOdysseyMuiTheme = ({\n odysseyTokens,\n shadowDomElement,\n}: {\n odysseyTokens: DesignTokens;\n shadowDomElement?: HTMLElement;\n}) =>\n createTheme({\n components: components({\n odysseyTokens,\n shadowDomElement,\n }),\n mixins: mixins({ odysseyTokens }),\n palette: palette({ odysseyTokens }),\n shape: shape({ odysseyTokens }),\n spacing: spacing({ odysseyTokens }),\n typography: typography({ odysseyTokens }),\n });\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,sBAAsB;AAAC,SAG1CC,UAAU;AAAA,SACVC,MAAM;AAAA,SACNC,OAAO;AAAA,SACPC,KAAK;AAAA,SACLC,OAAO;AAAA,SACPC,UAAU;AAAA;AAAA;AAAA;AAAA;AASnB,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,aAAa;EACbC;AAIF,CAAC,KACCT,WAAW,CAAC;EACVC,UAAU,EAAEA,UAAU,CAAC;IACrBO,aAAa;IACbC;EACF,CAAC,CAAC;EACFP,MAAM,EAAEA,MAAM,CAAC;IAAEM;EAAc,CAAC,CAAC;EACjCL,OAAO,EAAEA,OAAO,CAAC;IAAEK;EAAc,CAAC,CAAC;EACnCJ,KAAK,EAAEA,KAAK,CAAC;IAAEI;EAAc,CAAC,CAAC;EAC/BH,OAAO,EAAEA,OAAO,CAAC;IAAEG;EAAc,CAAC,CAAC;EACnCF,UAAU,EAAEA,UAAU,CAAC;IAAEE;EAAc,CAAC;AAC1C,CAAC,CAAC"}
@@ -10,10 +10,9 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export const mixins = _ref => {
14
- let {
15
- odysseyTokens
16
- } = _ref;
13
+ export const mixins = ({
14
+ odysseyTokens
15
+ }) => {
17
16
  return {
18
17
  maxWidth: odysseyTokens.TypographyLineLengthMax,
19
18
  borderRadius: odysseyTokens.BorderRadiusMain,
@@ -1 +1 @@
1
- {"version":3,"file":"mixins.js","names":["mixins","_ref","odysseyTokens","maxWidth","TypographyLineLengthMax","borderRadius","BorderRadiusMain","borderStyle","BorderStyleMain","borderWidth","BorderWidthMain"],"sources":["../../src/theme/mixins.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const mixins = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"mixins\"] => {\n return {\n maxWidth: odysseyTokens.TypographyLineLengthMax,\n borderRadius: odysseyTokens.BorderRadiusMain,\n borderStyle: odysseyTokens.BorderStyleMain,\n borderWidth: odysseyTokens.BorderWidthMain,\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,MAAM,GAAGC,IAAA,IAIQ;EAAA,IAJP;IACrBC;EAGF,CAAC,GAAAD,IAAA;EACC,OAAO;IACLE,QAAQ,EAAED,aAAa,CAACE,uBAAuB;IAC/CC,YAAY,EAAEH,aAAa,CAACI,gBAAgB;IAC5CC,WAAW,EAAEL,aAAa,CAACM,eAAe;IAC1CC,WAAW,EAAEP,aAAa,CAACQ;EAC7B,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"mixins.js","names":["mixins","odysseyTokens","maxWidth","TypographyLineLengthMax","borderRadius","BorderRadiusMain","borderStyle","BorderStyleMain","borderWidth","BorderWidthMain"],"sources":["../../src/theme/mixins.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const mixins = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"mixins\"] => {\n return {\n maxWidth: odysseyTokens.TypographyLineLengthMax,\n borderRadius: odysseyTokens.BorderRadiusMain,\n borderStyle: odysseyTokens.BorderStyleMain,\n borderWidth: odysseyTokens.BorderWidthMain,\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,MAAM,GAAGA,CAAC;EACrBC;AAGF,CAAC,KAA6B;EAC5B,OAAO;IACLC,QAAQ,EAAED,aAAa,CAACE,uBAAuB;IAC/CC,YAAY,EAAEH,aAAa,CAACI,gBAAgB;IAC5CC,WAAW,EAAEL,aAAa,CAACM,eAAe;IAC1CC,WAAW,EAAEP,aAAa,CAACQ;EAC7B,CAAC;AACH,CAAC"}
@@ -10,10 +10,9 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export const palette = _ref => {
14
- let {
15
- odysseyTokens
16
- } = _ref;
13
+ export const palette = ({
14
+ odysseyTokens
15
+ }) => {
17
16
  return {
18
17
  mode: "light",
19
18
  common: {
@@ -1 +1 @@
1
- {"version":3,"file":"palette.js","names":["palette","_ref","odysseyTokens","mode","common","black","HueNeutral900","white","HueNeutralWhite","primary","lighter","HueBlue50","light","HueBlue300","main","HueBlue500","dark","HueBlue900","contrastText","TypographyColorInverse","secondary","error","HueRed50","HueRed300","HueRed500","HueRed900","warning","HueYellow50","HueYellow300","HueYellow500","HueYellow900","TypographyColorBody","info","success","HueGreen50","HueGreen300","HueGreen500","HueGreen900","grey","HueNeutral50","HueNeutral100","HueNeutral200","HueNeutral300","HueNeutral400","HueNeutral500","HueNeutral600","HueNeutral700","HueNeutral800","A100","A200","A400","A700","text","disabled","divider","BorderColorDisplay","background","paper","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity"],"sources":["../../src/theme/palette.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const palette = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"palette\"] => {\n return {\n mode: \"light\",\n common: {\n black: odysseyTokens.HueNeutral900,\n white: odysseyTokens.HueNeutralWhite,\n },\n primary: {\n lighter: odysseyTokens.HueBlue50,\n light: odysseyTokens.HueBlue300,\n main: odysseyTokens.HueBlue500,\n dark: odysseyTokens.HueBlue900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n secondary: {\n light: \"#80c7ca\",\n main: \"#096256\",\n dark: \"#004650\",\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n error: {\n lighter: odysseyTokens.HueRed50,\n light: odysseyTokens.HueRed300,\n main: odysseyTokens.HueRed500,\n dark: odysseyTokens.HueRed900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n warning: {\n lighter: odysseyTokens.HueYellow50,\n light: odysseyTokens.HueYellow300,\n main: odysseyTokens.HueYellow500,\n dark: odysseyTokens.HueYellow900,\n contrastText: odysseyTokens.TypographyColorBody,\n },\n info: {\n lighter: odysseyTokens.HueBlue50,\n light: odysseyTokens.HueBlue300,\n main: odysseyTokens.HueBlue500,\n dark: odysseyTokens.HueBlue900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n success: {\n lighter: odysseyTokens.HueGreen50,\n light: odysseyTokens.HueGreen300,\n main: odysseyTokens.HueGreen500,\n dark: odysseyTokens.HueGreen900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n grey: {\n 50: odysseyTokens.HueNeutral50,\n 100: odysseyTokens.HueNeutral100,\n 200: odysseyTokens.HueNeutral200,\n 300: odysseyTokens.HueNeutral300,\n 400: odysseyTokens.HueNeutral400,\n 500: odysseyTokens.HueNeutral500,\n 600: odysseyTokens.HueNeutral600,\n 700: odysseyTokens.HueNeutral700,\n 800: odysseyTokens.HueNeutral800,\n 900: odysseyTokens.HueNeutral900,\n // These are \"Accent\" colors. MUI's palette matches them to the standard greys.\n A100: odysseyTokens.HueNeutral100,\n A200: odysseyTokens.HueNeutral200,\n A400: odysseyTokens.HueNeutral400,\n A700: odysseyTokens.HueNeutral700,\n },\n text: {\n primary: odysseyTokens.HueNeutral900,\n secondary: odysseyTokens.HueNeutral600,\n disabled: odysseyTokens.HueNeutral300,\n },\n divider: odysseyTokens.BorderColorDisplay,\n background: {\n paper: odysseyTokens.HueNeutralWhite,\n default: odysseyTokens.HueNeutralWhite,\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: odysseyTokens.HueNeutral200,\n disabledBackground: \"rgba(0, 0, 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CC,UAAU,EAAE;MACVC,KAAK,EAAEvD,aAAa,CAACM,eAAe;MACpCkD,OAAO,EAAExD,aAAa,CAACM;IACzB,CAAC;IACDmD,MAAM,EAAE;MAENC,MAAM,EAAE,qBAAqB;MAC7BC,KAAK,EAAE,qBAAqB;MAC5BC,YAAY,EAAE,IAAI;MAClBC,QAAQ,EAAE,qBAAqB;MAC/BC,eAAe,EAAE,IAAI;MACrBX,QAAQ,EAAEnD,aAAa,CAACuC,aAAa;MACrCwB,kBAAkB,EAAE,qBAAqB;MACzCC,eAAe,EAAE,IAAI;MACrBC,KAAK,EAAE,qBAAqB;MAC5BC,YAAY,EAAE,IAAI;MAClBC,gBAAgB,EAAE;IACpB;EACF,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"palette.js","names":["palette","odysseyTokens","mode","common","black","HueNeutral900","white","HueNeutralWhite","primary","lighter","HueBlue50","light","HueBlue300","main","HueBlue500","dark","HueBlue900","contrastText","TypographyColorInverse","secondary","error","HueRed50","HueRed300","HueRed500","HueRed900","warning","HueYellow50","HueYellow300","HueYellow500","HueYellow900","TypographyColorBody","info","success","HueGreen50","HueGreen300","HueGreen500","HueGreen900","grey","HueNeutral50","HueNeutral100","HueNeutral200","HueNeutral300","HueNeutral400","HueNeutral500","HueNeutral600","HueNeutral700","HueNeutral800","A100","A200","A400","A700","text","disabled","divider","BorderColorDisplay","background","paper","default","action","active","hover","hoverOpacity","selected","selectedOpacity","disabledBackground","disabledOpacity","focus","focusOpacity","activatedOpacity"],"sources":["../../src/theme/palette.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const palette = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"palette\"] => {\n return {\n mode: \"light\",\n common: {\n black: odysseyTokens.HueNeutral900,\n white: odysseyTokens.HueNeutralWhite,\n },\n primary: {\n lighter: odysseyTokens.HueBlue50,\n light: odysseyTokens.HueBlue300,\n main: odysseyTokens.HueBlue500,\n dark: odysseyTokens.HueBlue900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n secondary: {\n light: \"#80c7ca\",\n main: \"#096256\",\n dark: \"#004650\",\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n error: {\n lighter: odysseyTokens.HueRed50,\n light: odysseyTokens.HueRed300,\n main: odysseyTokens.HueRed500,\n dark: odysseyTokens.HueRed900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n warning: {\n lighter: odysseyTokens.HueYellow50,\n light: odysseyTokens.HueYellow300,\n main: odysseyTokens.HueYellow500,\n dark: odysseyTokens.HueYellow900,\n contrastText: odysseyTokens.TypographyColorBody,\n },\n info: {\n lighter: odysseyTokens.HueBlue50,\n light: odysseyTokens.HueBlue300,\n main: odysseyTokens.HueBlue500,\n dark: odysseyTokens.HueBlue900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n success: {\n lighter: odysseyTokens.HueGreen50,\n light: odysseyTokens.HueGreen300,\n main: odysseyTokens.HueGreen500,\n dark: odysseyTokens.HueGreen900,\n contrastText: odysseyTokens.TypographyColorInverse,\n },\n grey: {\n 50: odysseyTokens.HueNeutral50,\n 100: odysseyTokens.HueNeutral100,\n 200: odysseyTokens.HueNeutral200,\n 300: odysseyTokens.HueNeutral300,\n 400: odysseyTokens.HueNeutral400,\n 500: odysseyTokens.HueNeutral500,\n 600: odysseyTokens.HueNeutral600,\n 700: odysseyTokens.HueNeutral700,\n 800: odysseyTokens.HueNeutral800,\n 900: odysseyTokens.HueNeutral900,\n // These are \"Accent\" colors. MUI's palette matches them to the standard greys.\n A100: odysseyTokens.HueNeutral100,\n A200: odysseyTokens.HueNeutral200,\n A400: odysseyTokens.HueNeutral400,\n A700: odysseyTokens.HueNeutral700,\n },\n text: {\n primary: odysseyTokens.HueNeutral900,\n secondary: odysseyTokens.HueNeutral600,\n disabled: odysseyTokens.HueNeutral300,\n },\n divider: odysseyTokens.BorderColorDisplay,\n background: {\n paper: odysseyTokens.HueNeutralWhite,\n default: odysseyTokens.HueNeutralWhite,\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: odysseyTokens.HueNeutral200,\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};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,OAAO,GAAGA,CAAC;EACtBC;AAGF,CAAC,KAA8B;EAC7B,OAAO;IACLC,IAAI,EAAE,OAAO;IACbC,MAAM,EAAE;MACNC,KAAK,EAAEH,aAAa,CAACI,aAAa;MAClCC,KAAK,EAAEL,aAAa,CAACM;IACvB,CAAC;IACDC,OAAO,EAAE;MACPC,OAAO,EAAER,aAAa,CAACS,SAAS;MAChCC,KAAK,EAAEV,aAAa,CAACW,UAAU;MAC/BC,IAAI,EAAEZ,aAAa,CAACa,UAAU;MAC9BC,IAAI,EAAEd,aAAa,CAACe,UAAU;MAC9BC,YAAY,EAAEhB,aAAa,CAACiB;IAC9B,CAAC;IACDC,SAAS,EAAE;MACTR,KAAK,EAAE,SAAS;MAChBE,IAAI,EAAE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aAAa,CAAC0C,aAAa;MAChC,GAAG,EAAE1C,aAAa,CAAC2C,aAAa;MAChC,GAAG,EAAE3C,aAAa,CAAC4C,aAAa;MAChC,GAAG,EAAE5C,aAAa,CAAC6C,aAAa;MAChC,GAAG,EAAE7C,aAAa,CAACI,aAAa;MAEhC0C,IAAI,EAAE9C,aAAa,CAACsC,aAAa;MACjCS,IAAI,EAAE/C,aAAa,CAACuC,aAAa;MACjCS,IAAI,EAAEhD,aAAa,CAACyC,aAAa;MACjCQ,IAAI,EAAEjD,aAAa,CAAC4C;IACtB,CAAC;IACDM,IAAI,EAAE;MACJ3C,OAAO,EAAEP,aAAa,CAACI,aAAa;MACpCc,SAAS,EAAElB,aAAa,CAAC2C,aAAa;MACtCQ,QAAQ,EAAEnD,aAAa,CAACwC;IAC1B,CAAC;IACDY,OAAO,EAAEpD,aAAa,CAACqD,kBAAkB;IACzCC,UAAU,EAAE;MACVC,KAAK,EAAEvD,aAAa,CAACM,eAAe;MACpCkD,OAAO,EAAExD,aAAa,CAACM;IACzB,CAAC;IACDmD,MAAM,EAAE;MAENC,MAAM,EAAE,qBAAqB;MAC7BC,KAAK,EAAE,qBAAqB;MAC5BC,YAAY,EAAE,IAAI;MAClBC,QAAQ,EAAE,qBAAqB;MAC/BC,eAAe,EAAE,IAAI;MACrBX,QAAQ,EAAEnD,aAAa,CAACuC,aAAa;MACrCwB,kBAAkB,EAAE,qBAAqB;MACzCC,eAAe,EAAE,IAAI;MACrBC,KAAK,EAAE,qBAAqB;MAC5BC,YAAY,EAAE,IAAI;MAClBC,gBAAgB,EAAE;IACpB;EACF,CAAC;AACH,CAAC"}
@@ -10,10 +10,9 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export const shape = _ref => {
14
- let {
15
- odysseyTokens
16
- } = _ref;
13
+ export const shape = ({
14
+ odysseyTokens
15
+ }) => {
17
16
  const NumericalBorderRadiusBase = typeof odysseyTokens.BorderRadiusMain === "string" ? Number(odysseyTokens.BorderRadiusMain.replace(/(\d+).*/, "$1")) : odysseyTokens.BorderRadiusMain;
18
17
  return {
19
18
  borderRadius: NumericalBorderRadiusBase
@@ -1 +1 @@
1
- {"version":3,"file":"shape.js","names":["shape","_ref","odysseyTokens","NumericalBorderRadiusBase","BorderRadiusMain","Number","replace","borderRadius"],"sources":["../../src/theme/shape.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const shape = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"shape\"] => {\n // Strip units from BorderRadiusBase to accommodate MUI's typing\n const NumericalBorderRadiusBase =\n typeof odysseyTokens.BorderRadiusMain === \"string\"\n ? Number(odysseyTokens.BorderRadiusMain.replace(/(\\d+).*/, \"$1\"))\n : odysseyTokens.BorderRadiusMain;\n\n return {\n borderRadius: NumericalBorderRadiusBase,\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,KAAK,GAAGC,IAAA,IAIQ;EAAA,IAJP;IACpBC;EAGF,CAAC,GAAAD,IAAA;EAEC,MAAME,yBAAyB,GAC7B,OAAOD,aAAa,CAACE,gBAAgB,KAAK,QAAQ,GAC9CC,MAAM,CAACH,aAAa,CAACE,gBAAgB,CAACE,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,GAC/DJ,aAAa,CAACE,gBAAgB;EAEpC,OAAO;IACLG,YAAY,EAAEJ;EAChB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"shape.js","names":["shape","odysseyTokens","NumericalBorderRadiusBase","BorderRadiusMain","Number","replace","borderRadius"],"sources":["../../src/theme/shape.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const shape = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"shape\"] => {\n // Strip units from BorderRadiusBase to accommodate MUI's typing\n const NumericalBorderRadiusBase =\n typeof odysseyTokens.BorderRadiusMain === \"string\"\n ? Number(odysseyTokens.BorderRadiusMain.replace(/(\\d+).*/, \"$1\"))\n : odysseyTokens.BorderRadiusMain;\n\n return {\n borderRadius: NumericalBorderRadiusBase,\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,KAAK,GAAGA,CAAC;EACpBC;AAGF,CAAC,KAA4B;EAE3B,MAAMC,yBAAyB,GAC7B,OAAOD,aAAa,CAACE,gBAAgB,KAAK,QAAQ,GAC9CC,MAAM,CAACH,aAAa,CAACE,gBAAgB,CAACE,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,GAC/DJ,aAAa,CAACE,gBAAgB;EAEpC,OAAO;IACLG,YAAY,EAAEJ;EAChB,CAAC;AACH,CAAC"}
@@ -10,10 +10,9 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export const spacing = _ref => {
14
- let {
15
- odysseyTokens
16
- } = _ref;
13
+ export const spacing = ({
14
+ odysseyTokens
15
+ }) => {
17
16
  return [odysseyTokens.Spacing0, odysseyTokens.Spacing1, odysseyTokens.Spacing2, odysseyTokens.Spacing3, odysseyTokens.Spacing4, odysseyTokens.Spacing5, odysseyTokens.Spacing6, odysseyTokens.Spacing7, odysseyTokens.Spacing8, odysseyTokens.Spacing9];
18
17
  };
19
18
  //# sourceMappingURL=spacing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spacing.js","names":["spacing","_ref","odysseyTokens","Spacing0","Spacing1","Spacing2","Spacing3","Spacing4","Spacing5","Spacing6","Spacing7","Spacing8","Spacing9"],"sources":["../../src/theme/spacing.ts"],"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\nimport type { DesignTokens } from \"./theme\";\n\nexport const spacing = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"spacing\"] => {\n return [\n odysseyTokens.Spacing0,\n odysseyTokens.Spacing1,\n odysseyTokens.Spacing2,\n odysseyTokens.Spacing3,\n odysseyTokens.Spacing4,\n odysseyTokens.Spacing5,\n odysseyTokens.Spacing6,\n odysseyTokens.Spacing7,\n odysseyTokens.Spacing8,\n odysseyTokens.Spacing9,\n ];\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,OAAO,GAAGC,IAAA,IAIQ;EAAA,IAJP;IACtBC;EAGF,CAAC,GAAAD,IAAA;EACC,OAAO,CACLC,aAAa,CAACC,QAAQ,EACtBD,aAAa,CAACE,QAAQ,EACtBF,aAAa,CAACG,QAAQ,EACtBH,aAAa,CAACI,QAAQ,EACtBJ,aAAa,CAACK,QAAQ,EACtBL,aAAa,CAACM,QAAQ,EACtBN,aAAa,CAACO,QAAQ,EACtBP,aAAa,CAACQ,QAAQ,EACtBR,aAAa,CAACS,QAAQ,EACtBT,aAAa,CAACU,QAAQ,CACvB;AACH,CAAC"}
1
+ {"version":3,"file":"spacing.js","names":["spacing","odysseyTokens","Spacing0","Spacing1","Spacing2","Spacing3","Spacing4","Spacing5","Spacing6","Spacing7","Spacing8","Spacing9"],"sources":["../../src/theme/spacing.ts"],"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\nimport type { DesignTokens } from \"./theme\";\n\nexport const spacing = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"spacing\"] => {\n return [\n odysseyTokens.Spacing0,\n odysseyTokens.Spacing1,\n odysseyTokens.Spacing2,\n odysseyTokens.Spacing3,\n odysseyTokens.Spacing4,\n odysseyTokens.Spacing5,\n odysseyTokens.Spacing6,\n odysseyTokens.Spacing7,\n odysseyTokens.Spacing8,\n odysseyTokens.Spacing9,\n ];\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,OAAO,GAAGA,CAAC;EACtBC;AAGF,CAAC,KAA8B;EAC7B,OAAO,CACLA,aAAa,CAACC,QAAQ,EACtBD,aAAa,CAACE,QAAQ,EACtBF,aAAa,CAACG,QAAQ,EACtBH,aAAa,CAACI,QAAQ,EACtBJ,aAAa,CAACK,QAAQ,EACtBL,aAAa,CAACM,QAAQ,EACtBN,aAAa,CAACO,QAAQ,EACtBP,aAAa,CAACQ,QAAQ,EACtBR,aAAa,CAACS,QAAQ,EACtBT,aAAa,CAACU,QAAQ,CACvB;AACH,CAAC"}
@@ -10,10 +10,9 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- export const typography = _ref => {
14
- let {
15
- odysseyTokens
16
- } = _ref;
13
+ export const typography = ({
14
+ odysseyTokens
15
+ }) => {
17
16
  return {
18
17
  htmlFontSize: 16,
19
18
  fontFamily: odysseyTokens.TypographyFamilyBody,
@@ -1 +1 @@
1
- {"version":3,"file":"typography.js","names":["typography","_ref","odysseyTokens","htmlFontSize","fontFamily","TypographyFamilyBody","fontSize","fontWeightLight","fontWeightRegular","Number","TypographyWeightBody","fontWeightMedium","TypographyWeightHeading","fontWeightBold","TypographyWeightHeadingBold","allVariants","fontFeatureSettings","fontVariant","letterSpacing","h1","TypographyFamilyHeading","color","TypographyColorHeading","fontWeight","TypographySizeHeading1","lineHeight","TypographyLineHeightHeading1","marginBottom","Spacing2","h2","TypographySizeHeading2","TypographyLineHeightHeading2","h3","TypographySizeHeading3","TypographyLineHeightHeading3","h4","TypographySizeHeading4","TypographyLineHeightHeading4","h5","TypographySizeHeading5","TypographyLineHeightHeading5","h6","TypographySizeHeading6","TypographyLineHeightHeading6","subtitle1","TypographyColorSubordinate","TypographySizeSubordinate","TypographyLineHeightBody","subtitle2","TypographyColorSupport","TypographySizeBody","marginBlockEnd","Spacing4","body1","TypographyColorBody","body2","undefined","button","overline","TypographyLineHeightOverline","textTransform","legend","padding","ui","TypographyLineHeightUi"],"sources":["../../src/theme/typography.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const typography = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"typography\"] => {\n return {\n htmlFontSize: 16,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontSize: 14,\n fontWeightLight: 300,\n fontWeightRegular: Number(odysseyTokens.TypographyWeightBody),\n fontWeightMedium: Number(odysseyTokens.TypographyWeightHeading),\n fontWeightBold: Number(odysseyTokens.TypographyWeightHeadingBold),\n allVariants: {\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n letterSpacing: 0,\n },\n h1: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading1,\n lineHeight: odysseyTokens.TypographyLineHeightHeading1,\n marginBottom: odysseyTokens.Spacing2,\n },\n h2: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading2,\n lineHeight: odysseyTokens.TypographyLineHeightHeading2,\n marginBottom: odysseyTokens.Spacing2,\n },\n h3: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading3,\n lineHeight: odysseyTokens.TypographyLineHeightHeading3,\n marginBottom: odysseyTokens.Spacing2,\n },\n h4: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading4,\n lineHeight: odysseyTokens.TypographyLineHeightHeading4,\n marginBottom: odysseyTokens.Spacing2,\n },\n h5: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading5,\n lineHeight: odysseyTokens.TypographyLineHeightHeading5,\n marginBottom: odysseyTokens.Spacing2,\n },\n h6: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading6,\n lineHeight: odysseyTokens.TypographyLineHeightHeading6,\n marginBottom: odysseyTokens.Spacing2,\n },\n subtitle1: {\n // \"caption\"\n color: odysseyTokens.TypographyColorSubordinate,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeSubordinate,\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n },\n subtitle2: {\n // \"body.light\"\n color: odysseyTokens.TypographyColorSupport,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n letterSpacing: \"initial\",\n marginBlockEnd: odysseyTokens.Spacing4,\n },\n body1: {\n color: odysseyTokens.TypographyColorBody,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n letterSpacing: \"initial\",\n },\n body2: undefined,\n button: undefined,\n overline: {\n fontWeight: Number(odysseyTokens.TypographyWeightHeadingBold),\n fontFamily: odysseyTokens.TypographyFamilyBody,\n lineHeight: odysseyTokens.TypographyLineHeightOverline,\n letterSpacing: \"5%\",\n textTransform: \"uppercase\",\n fontSize: \"0.71428571rem\",\n },\n legend: {\n padding: 0,\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading5,\n lineHeight: odysseyTokens.TypographyLineHeightHeading5,\n marginBottom: odysseyTokens.Spacing2,\n },\n ui: {\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n lineHeight: odysseyTokens.TypographyLineHeightUi,\n letterSpacing: \"initial\",\n },\n };\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,OAAO,MAAMA,UAAU,GAAGC,IAAA,IAIQ;EAAA,IAJP;IACzBC;EAGF,CAAC,GAAAD,IAAA;EACC,OAAO;IACLE,YAAY,EAAE,EAAE;IAChBC,UAAU,EAAEF,aAAa,CAACG,oBAAoB;IAC9CC,QAAQ,EAAE,EAAE;IACZC,eAAe,EAAE,GAAG;IACpBC,iBAAiB,EAAEC,MAAM,CAACP,aAAa,CAACQ,oBAAoB,CAAC;IAC7DC,gBAAgB,EAAEF,MAAM,CAACP,aAAa,CAACU,uBAAuB,CAAC;IAC/DC,cAAc,EAAEJ,MAAM,CAACP,aAAa,CAACY,2BAA2B,CAAC;IACjEC,WAAW,EAAE;MACXC,mBAAmB,EAAE,gBAAgB;MACrCC,WAAW,EAAE,QAAQ;MAC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;IACDC,KAAK,EAAE;MACLhC,KAAK,EAAEnB,aAAa,CAACoD,mBAAmB;MACxClD,UAAU,EAAEF,aAAa,CAACG,oBAAoB;MAC9CkB,UAAU,EAAEd,MAAM,CAACP,aAAa,CAACQ,oBAAoB,CAAC;MACtDJ,QAAQ,EAAEJ,aAAa,CAACgD,kBAAkB;MAC1ClC,mBAAmB,EAAE,gBAAgB;MACrCC,WAAW,EAAE,QAAQ;MACrBQ,UAAU,EAAEvB,aAAa,CAAC6C,wBAAwB;MAClD7B,aAAa,EAAE;IACjB,CAAC;IACDqC,KAAK,EAAEC,SAAS;IAChBC,MAAM,EAAED,SAAS;IACjBE,QAAQ,EAAE;MACRnC,UAAU,EAAEd,MAAM,CAACP,aAAa,CAACY,2BAA2B,CAAC;MAC7DV,UAAU,EAAEF,aAAa,CAACG,oBAAoB;MAC9CoB,UAAU,EAAEvB,aAAa,CAACyD,4BAA4B;MACtDzC,aAAa,EAAE,IAAI;MACnB0C,aAAa,EAAE,WAAW;MAC1BtD,QAAQ,EAAE;IACZ,CAAC;IACDuD,MAAM,EAAE;MACNC,OAAO,EAAE,CAAC;MACV1D,UAAU,EAAEF,aAAa,CAACkB,uBAAuB;MACjDG,UAAU,EAAEd,MAAM,CAACP,aAAa,CAACU,uBAAuB,CAAC;MACzDN,QAAQ,EAAEJ,aAAa,CAACqC,sBAAsB;MAC9Cd,UAAU,EAAEvB,aAAa,CAACsC,4BAA4B;MACtDb,YAAY,EAAEzB,aAAa,CAAC0B;IAC9B,CAAC;IACDmC,EAAE,EAAE;MACFxC,UAAU,EAAEd,MAAM,CAACP,aAAa,CAACQ,oBAAoB,CAAC;MACtDJ,QAAQ,EAAEJ,aAAa,CAACgD,kBAAkB;MAC1CzB,UAAU,EAAEvB,aAAa,CAAC8D,sBAAsB;MAChD9C,aAAa,EAAE;IACjB;EACF,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"typography.js","names":["typography","odysseyTokens","htmlFontSize","fontFamily","TypographyFamilyBody","fontSize","fontWeightLight","fontWeightRegular","Number","TypographyWeightBody","fontWeightMedium","TypographyWeightHeading","fontWeightBold","TypographyWeightHeadingBold","allVariants","fontFeatureSettings","fontVariant","letterSpacing","h1","TypographyFamilyHeading","color","TypographyColorHeading","fontWeight","TypographySizeHeading1","lineHeight","TypographyLineHeightHeading1","marginBottom","Spacing2","h2","TypographySizeHeading2","TypographyLineHeightHeading2","h3","TypographySizeHeading3","TypographyLineHeightHeading3","h4","TypographySizeHeading4","TypographyLineHeightHeading4","h5","TypographySizeHeading5","TypographyLineHeightHeading5","h6","TypographySizeHeading6","TypographyLineHeightHeading6","subtitle1","TypographyColorSubordinate","TypographySizeSubordinate","TypographyLineHeightBody","subtitle2","TypographyColorSupport","TypographySizeBody","marginBlockEnd","Spacing4","body1","TypographyColorBody","body2","undefined","button","overline","TypographyLineHeightOverline","textTransform","legend","padding","ui","TypographyLineHeightUi"],"sources":["../../src/theme/typography.ts"],"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\nimport { DesignTokens } from \"./theme\";\n\nexport const typography = ({\n odysseyTokens,\n}: {\n odysseyTokens: DesignTokens;\n}): ThemeOptions[\"typography\"] => {\n return {\n htmlFontSize: 16,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontSize: 14,\n fontWeightLight: 300,\n fontWeightRegular: Number(odysseyTokens.TypographyWeightBody),\n fontWeightMedium: Number(odysseyTokens.TypographyWeightHeading),\n fontWeightBold: Number(odysseyTokens.TypographyWeightHeadingBold),\n allVariants: {\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n letterSpacing: 0,\n },\n h1: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading1,\n lineHeight: odysseyTokens.TypographyLineHeightHeading1,\n marginBottom: odysseyTokens.Spacing2,\n },\n h2: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading2,\n lineHeight: odysseyTokens.TypographyLineHeightHeading2,\n marginBottom: odysseyTokens.Spacing2,\n },\n h3: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading3,\n lineHeight: odysseyTokens.TypographyLineHeightHeading3,\n marginBottom: odysseyTokens.Spacing2,\n },\n h4: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading4,\n lineHeight: odysseyTokens.TypographyLineHeightHeading4,\n marginBottom: odysseyTokens.Spacing2,\n },\n h5: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading5,\n lineHeight: odysseyTokens.TypographyLineHeightHeading5,\n marginBottom: odysseyTokens.Spacing2,\n },\n h6: {\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n color: odysseyTokens.TypographyColorHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading6,\n lineHeight: odysseyTokens.TypographyLineHeightHeading6,\n marginBottom: odysseyTokens.Spacing2,\n },\n subtitle1: {\n // \"caption\"\n color: odysseyTokens.TypographyColorSubordinate,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeSubordinate,\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n },\n subtitle2: {\n // \"body.light\"\n color: odysseyTokens.TypographyColorSupport,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n letterSpacing: \"initial\",\n marginBlockEnd: odysseyTokens.Spacing4,\n },\n body1: {\n color: odysseyTokens.TypographyColorBody,\n fontFamily: odysseyTokens.TypographyFamilyBody,\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n fontFeatureSettings: \"'lnum', 'pnum'\",\n fontVariant: \"normal\",\n lineHeight: odysseyTokens.TypographyLineHeightBody,\n letterSpacing: \"initial\",\n },\n body2: undefined,\n button: undefined,\n overline: {\n fontWeight: Number(odysseyTokens.TypographyWeightHeadingBold),\n fontFamily: odysseyTokens.TypographyFamilyBody,\n lineHeight: odysseyTokens.TypographyLineHeightOverline,\n letterSpacing: \"5%\",\n textTransform: \"uppercase\",\n fontSize: \"0.71428571rem\",\n },\n legend: {\n padding: 0,\n fontFamily: odysseyTokens.TypographyFamilyHeading,\n fontWeight: Number(odysseyTokens.TypographyWeightHeading),\n fontSize: odysseyTokens.TypographySizeHeading5,\n lineHeight: odysseyTokens.TypographyLineHeightHeading5,\n marginBottom: odysseyTokens.Spacing2,\n },\n ui: {\n fontWeight: Number(odysseyTokens.TypographyWeightBody),\n fontSize: odysseyTokens.TypographySizeBody,\n lineHeight: odysseyTokens.TypographyLineHeightUi,\n letterSpacing: \"initial\",\n },\n };\n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