@okta/odyssey-react-mui 0.14.6 → 0.15.1
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 +41 -0
- package/dist/components/Icon/Add.js.map +1 -1
- package/dist/components/Icon/AddCircle.js.map +1 -1
- package/dist/components/Icon/AlertCircle.js.map +1 -1
- package/dist/components/Icon/AlertCircleFilled.js.map +1 -1
- package/dist/components/Icon/AlertTriangleFilled.js.map +1 -1
- package/dist/components/Icon/Anchor.js.map +1 -1
- package/dist/components/Icon/ArrowDown.js.map +1 -1
- package/dist/components/Icon/ArrowLeft.js.map +1 -1
- package/dist/components/Icon/ArrowRight.js.map +1 -1
- package/dist/components/Icon/ArrowUp.js.map +1 -1
- package/dist/components/Icon/ArrowUpDown.d.ts +16 -0
- package/dist/components/Icon/ArrowUpDown.d.ts.map +1 -0
- package/dist/components/Icon/ArrowUpDown.js +34 -0
- package/dist/components/Icon/ArrowUpDown.js.map +1 -0
- package/dist/components/Icon/Calendar.js.map +1 -1
- package/dist/components/Icon/Check.js.map +1 -1
- package/dist/components/Icon/CheckCircleFilled.js.map +1 -1
- package/dist/components/Icon/ChevronDown.js.map +1 -1
- package/dist/components/Icon/ChevronUp.js.map +1 -1
- package/dist/components/Icon/Close.js.map +1 -1
- package/dist/components/Icon/CloseCircleFilled.js.map +1 -1
- package/dist/components/Icon/Copy.js.map +1 -1
- package/dist/components/Icon/Delete.js.map +1 -1
- package/dist/components/Icon/Download.js.map +1 -1
- package/dist/components/Icon/DragHandle.js.map +1 -1
- package/dist/components/Icon/Edit.js.map +1 -1
- package/dist/components/Icon/ExternalLink.js.map +1 -1
- package/dist/components/Icon/Eye.js.map +1 -1
- package/dist/components/Icon/EyeOff.js.map +1 -1
- package/dist/components/Icon/Filter.js.map +1 -1
- package/dist/components/Icon/Globe.js.map +1 -1
- package/dist/components/Icon/Home.js.map +1 -1
- package/dist/components/Icon/Icon.js +6 -5
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Icon/InformationCircle.js.map +1 -1
- package/dist/components/Icon/InformationCircleFilled.js.map +1 -1
- package/dist/components/Icon/Notification.js.map +1 -1
- package/dist/components/Icon/OverflowVertical.js.map +1 -1
- package/dist/components/Icon/QuestionCircle.js.map +1 -1
- package/dist/components/Icon/QuestionCircleFilled.js.map +1 -1
- package/dist/components/Icon/Search.js.map +1 -1
- package/dist/components/Icon/Settings.js.map +1 -1
- package/dist/components/Icon/Subtract.js.map +1 -1
- package/dist/components/Icon/SvgIcon.js.map +1 -1
- package/dist/components/Icon/User.js.map +1 -1
- package/dist/components/Icon/UserGroup.d.ts +16 -0
- package/dist/components/Icon/UserGroup.d.ts.map +1 -0
- package/dist/components/Icon/UserGroup.js +34 -0
- package/dist/components/Icon/UserGroup.js.map +1 -0
- package/dist/components/Icon/index.d.ts +4 -0
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +6 -0
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Icon/types.js.map +1 -1
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/Link/index.js.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +1 -3
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/PasswordInput/index.js.map +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/themes/index.js.map +1 -1
- package/dist/themes/odyssey/components.d.ts.map +1 -1
- package/dist/themes/odyssey/components.js +987 -577
- package/dist/themes/odyssey/components.js.map +1 -1
- package/dist/themes/odyssey/components.types.d.ts +10 -1
- 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/index.js.map +1 -1
- package/dist/themes/odyssey/mixins.js.map +1 -1
- package/dist/themes/odyssey/mixins.types.js.map +1 -1
- package/dist/themes/odyssey/palette.js.map +1 -1
- package/dist/themes/odyssey/palette.types.js.map +1 -1
- package/dist/themes/odyssey/shape.js.map +1 -1
- package/dist/themes/odyssey/spacing.js.map +1 -1
- 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 +14 -9
- package/dist/themes/odyssey/typography.js.map +1 -1
- package/dist/themes/odyssey/typography.types.d.ts +9 -5
- package/dist/themes/odyssey/typography.types.d.ts.map +1 -1
- package/dist/themes/odyssey/typography.types.js +11 -0
- package/dist/themes/odyssey/typography.types.js.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/oid.d.ts +1 -1
- package/dist/utils/oid.d.ts.map +1 -1
- package/dist/utils/oid.js.map +1 -1
- package/jest.config.cjs +1 -0
- package/package.json +4 -4
- package/src/components/Icon/ArrowUpDown.tsx +44 -0
- package/src/components/Icon/UserGroup.tsx +44 -0
- package/src/components/Icon/index.tsx +8 -0
- package/src/themes/odyssey/{components.ts → components.tsx} +308 -17
- package/src/themes/odyssey/components.types.ts +11 -1
- package/src/themes/odyssey/typography.ts +13 -8
- package/src/themes/odyssey/typography.types.ts +12 -7
|
@@ -63,9 +63,13 @@ export const typography: ThemeOptions["typography"] = {
|
|
|
63
63
|
lineHeight: Tokens.FontLineHeightHeading6,
|
|
64
64
|
marginBottom: Tokens.SpaceScale1,
|
|
65
65
|
},
|
|
66
|
-
subtitle1:
|
|
66
|
+
subtitle1: {
|
|
67
|
+
fontWeight: Tokens.FontWeightNormal,
|
|
68
|
+
fontSize: Tokens.FontScale0,
|
|
69
|
+
lineHeight: Tokens.FontLineHeightBody,
|
|
70
|
+
},
|
|
67
71
|
subtitle2: undefined,
|
|
68
|
-
|
|
72
|
+
body1: {
|
|
69
73
|
fontFamily: Tokens.FontFamilyBase,
|
|
70
74
|
fontWeight: Number(Tokens.FontWeightNormal),
|
|
71
75
|
fontSize: Tokens.FontScale1,
|
|
@@ -74,13 +78,14 @@ export const typography: ThemeOptions["typography"] = {
|
|
|
74
78
|
lineHeight: Tokens.FontLineHeightBody,
|
|
75
79
|
letterSpacing: "initial",
|
|
76
80
|
},
|
|
77
|
-
body1: undefined,
|
|
78
81
|
body2: undefined,
|
|
79
82
|
button: undefined,
|
|
80
|
-
caption: {
|
|
81
|
-
fontWeight: Tokens.FontWeightNormal,
|
|
82
|
-
fontSize: Tokens.FontScale0,
|
|
83
|
-
lineHeight: Tokens.FontLineHeightBody,
|
|
84
|
-
},
|
|
85
83
|
overline: undefined,
|
|
84
|
+
legend: {
|
|
85
|
+
padding: 0,
|
|
86
|
+
fontWeight: Number(Tokens.FontWeightBold),
|
|
87
|
+
fontSize: Tokens.FontScale2,
|
|
88
|
+
lineHeight: Tokens.FontLineHeightHeading6,
|
|
89
|
+
marginBottom: Tokens.SpaceScale1,
|
|
90
|
+
},
|
|
86
91
|
};
|
|
@@ -14,23 +14,28 @@ import { CSSProperties } from "react";
|
|
|
14
14
|
|
|
15
15
|
declare module "@mui/material/styles" {
|
|
16
16
|
interface TypographyVariants {
|
|
17
|
-
|
|
17
|
+
kbd: CSSProperties;
|
|
18
|
+
legend: CSSProperties;
|
|
18
19
|
}
|
|
19
20
|
interface TypographyVariantsOptions {
|
|
20
|
-
|
|
21
|
+
kbd?: CSSProperties;
|
|
22
|
+
legend?: CSSProperties;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
declare module "@mui/material/Typography" {
|
|
25
27
|
interface TypographyPropsVariantOverrides {
|
|
26
|
-
body1:
|
|
28
|
+
body1: true; // Design may refer to this as "body"
|
|
27
29
|
body2: false;
|
|
28
|
-
body: true;
|
|
29
30
|
button: false;
|
|
31
|
+
kbd: true;
|
|
32
|
+
legend: true;
|
|
30
33
|
overline: false;
|
|
31
|
-
subtitle1:
|
|
34
|
+
subtitle1: true; // Design may refer to this as "caption"
|
|
32
35
|
subtitle2: false;
|
|
33
|
-
default: true; // used by Link
|
|
34
|
-
monochrome: true; // used by Link
|
|
36
|
+
default: true; // used by <Link>
|
|
37
|
+
monochrome: true; // used by <Link>
|
|
35
38
|
}
|
|
36
39
|
}
|
|
40
|
+
|
|
41
|
+
export {};
|