@okta/odyssey-react-mui 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/babel.config.cjs +2 -2
- package/dist/components/Link/Link.d.ts +2 -2
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.js +21 -14
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +1 -2
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +29 -23
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/themes/odyssey/components.d.ts.map +1 -1
- package/dist/themes/odyssey/components.js +308 -120
- package/dist/themes/odyssey/components.js.map +1 -1
- package/dist/themes/odyssey/components.types.d.ts +37 -28
- package/dist/themes/odyssey/components.types.d.ts.map +1 -1
- package/dist/themes/odyssey/components.types.js.map +1 -1
- package/dist/themes/odyssey/palette.d.ts.map +1 -1
- package/dist/themes/odyssey/palette.js +36 -30
- package/dist/themes/odyssey/palette.js.map +1 -1
- package/dist/themes/odyssey/palette.types.d.ts +21 -0
- package/dist/themes/odyssey/palette.types.d.ts.map +1 -0
- package/dist/themes/odyssey/palette.types.js +13 -0
- package/dist/themes/odyssey/palette.types.js.map +1 -0
- package/dist/themes/odyssey/theme.d.ts +1 -0
- package/dist/themes/odyssey/theme.d.ts.map +1 -1
- package/dist/themes/odyssey/theme.js +1 -0
- package/dist/themes/odyssey/theme.js.map +1 -1
- package/dist/themes/odyssey/typography.d.ts.map +1 -1
- package/dist/themes/odyssey/typography.js +9 -15
- package/dist/themes/odyssey/typography.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Link/Link.tsx +1 -1
- package/src/components/PasswordInput/PasswordInput.test.tsx +0 -1
- package/src/components/PasswordInput/PasswordInput.tsx +1 -1
- package/src/themes/odyssey/components.ts +315 -128
- package/src/themes/odyssey/components.types.ts +41 -28
- package/src/themes/odyssey/palette.ts +36 -32
- package/src/themes/odyssey/palette.types.ts +22 -0
- package/src/themes/odyssey/theme.ts +1 -0
- package/src/themes/odyssey/typography.ts +8 -14
- package/tsconfig.json +4 -1
- package/tsconfig.production.json +2 -1
|
@@ -21,52 +21,46 @@ export const typography: ThemeOptions["typography"] = {
|
|
|
21
21
|
fontWeightRegular: Number(Tokens.FontWeightNormal),
|
|
22
22
|
fontWeightMedium: 500,
|
|
23
23
|
fontWeightBold: Number(Tokens.FontWeightBold),
|
|
24
|
-
|
|
24
|
+
allVariants: {
|
|
25
25
|
fontFamily: Tokens.FontFamilyBase,
|
|
26
|
+
fontFeatureSettings: "'lnum', 'pnum'",
|
|
27
|
+
fontVariant: "normal",
|
|
28
|
+
letterSpacing: 0,
|
|
29
|
+
},
|
|
30
|
+
h1: {
|
|
26
31
|
fontWeight: Tokens.FontWeightBold,
|
|
27
32
|
fontSize: Tokens.FontSizeHeading1,
|
|
28
33
|
lineHeight: Tokens.FontLineHeightHeading1,
|
|
29
|
-
letterSpacing: "initial",
|
|
30
34
|
marginBottom: Tokens.SpaceScale1,
|
|
31
35
|
},
|
|
32
36
|
h2: {
|
|
33
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
34
37
|
fontWeight: Tokens.FontWeightBold,
|
|
35
38
|
fontSize: Tokens.FontSizeHeading2,
|
|
36
39
|
lineHeight: Tokens.FontLineHeightHeading2,
|
|
37
|
-
letterSpacing: "initial",
|
|
38
40
|
marginBottom: Tokens.SpaceScale1,
|
|
39
41
|
},
|
|
40
42
|
h3: {
|
|
41
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
42
43
|
fontWeight: Tokens.FontWeightBold,
|
|
43
44
|
fontSize: Tokens.FontSizeHeading3,
|
|
44
45
|
lineHeight: Tokens.FontLineHeightHeading3,
|
|
45
|
-
letterSpacing: "initial",
|
|
46
46
|
marginBottom: Tokens.SpaceScale1,
|
|
47
47
|
},
|
|
48
48
|
h4: {
|
|
49
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
50
49
|
fontWeight: Tokens.FontWeightBold,
|
|
51
50
|
fontSize: Tokens.FontSizeHeading4,
|
|
52
51
|
lineHeight: Tokens.FontLineHeightHeading4,
|
|
53
|
-
letterSpacing: "initial",
|
|
54
52
|
marginBottom: Tokens.SpaceScale1,
|
|
55
53
|
},
|
|
56
54
|
h5: {
|
|
57
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
58
55
|
fontWeight: Tokens.FontWeightBold,
|
|
59
56
|
fontSize: Tokens.FontSizeHeading5,
|
|
60
57
|
lineHeight: Tokens.FontLineHeightHeading5,
|
|
61
|
-
letterSpacing: "initial",
|
|
62
58
|
marginBottom: Tokens.SpaceScale1,
|
|
63
59
|
},
|
|
64
60
|
h6: {
|
|
65
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
66
61
|
fontWeight: Tokens.FontWeightBold,
|
|
67
62
|
fontSize: Tokens.FontScale2,
|
|
68
63
|
lineHeight: Tokens.FontLineHeightHeading6,
|
|
69
|
-
letterSpacing: "initial",
|
|
70
64
|
marginBottom: Tokens.SpaceScale1,
|
|
71
65
|
},
|
|
72
66
|
subtitle1: undefined,
|
|
@@ -75,6 +69,8 @@ export const typography: ThemeOptions["typography"] = {
|
|
|
75
69
|
fontFamily: Tokens.FontFamilyBase,
|
|
76
70
|
fontWeight: Number(Tokens.FontWeightNormal),
|
|
77
71
|
fontSize: Tokens.FontScale1,
|
|
72
|
+
fontFeatureSettings: "'lnum', 'pnum'",
|
|
73
|
+
fontVariant: "normal",
|
|
78
74
|
lineHeight: Tokens.FontLineHeightBody,
|
|
79
75
|
letterSpacing: "initial",
|
|
80
76
|
},
|
|
@@ -82,11 +78,9 @@ export const typography: ThemeOptions["typography"] = {
|
|
|
82
78
|
body2: undefined,
|
|
83
79
|
button: undefined,
|
|
84
80
|
caption: {
|
|
85
|
-
fontFamily: Tokens.FontFamilyBase,
|
|
86
81
|
fontWeight: Tokens.FontWeightNormal,
|
|
87
82
|
fontSize: Tokens.FontScale0,
|
|
88
83
|
lineHeight: Tokens.FontLineHeightBody,
|
|
89
|
-
letterSpacing: "initial",
|
|
90
84
|
},
|
|
91
85
|
overline: undefined,
|
|
92
86
|
};
|
package/tsconfig.json
CHANGED