@auth0/quantum-product 2.0.0 → 2.1.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.
- package/mui-type-overrides.d.ts +10 -7
- package/package.json +1 -2
- package/theme/create-mixins.d.ts +6 -6
package/mui-type-overrides.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as MuiMaterialStyles from '@mui/material/styles';
|
|
2
|
-
|
|
3
|
-
import * as MuiStyles from '@mui/styles';
|
|
2
|
+
import { CSSProperties } from '@mui/material/styles/createTypography';
|
|
4
3
|
|
|
5
4
|
declare module '@mui/material' {
|
|
6
5
|
interface Color {
|
|
@@ -233,7 +232,11 @@ declare module '@mui/material/styles/createMixins' {
|
|
|
233
232
|
}
|
|
234
233
|
|
|
235
234
|
interface MixinsOptions {
|
|
236
|
-
focusRing?(options?: {
|
|
235
|
+
focusRing?(options?: {
|
|
236
|
+
type?: 'default' | 'inset';
|
|
237
|
+
color?: string;
|
|
238
|
+
opacity?: number;
|
|
239
|
+
}): MuiMaterialStyles.CSSProperties;
|
|
237
240
|
/** @deprecated use tokens instead */
|
|
238
241
|
shadeOfColor?(color: import('./theme/colors').ColorName | 'grey', shade?: import('./theme/colors').Shade): string;
|
|
239
242
|
/** @deprecated use tokens instead */
|
|
@@ -243,10 +246,10 @@ declare module '@mui/material/styles/createMixins' {
|
|
|
243
246
|
): string;
|
|
244
247
|
borderAsBoxShadow?(color: string, width?: number): string;
|
|
245
248
|
appBarAction?(): {
|
|
246
|
-
root:
|
|
247
|
-
hover:
|
|
248
|
-
focus:
|
|
249
|
-
active:
|
|
249
|
+
root: CSSProperties;
|
|
250
|
+
hover: CSSProperties;
|
|
251
|
+
focus: CSSProperties;
|
|
252
|
+
active: CSSProperties;
|
|
250
253
|
};
|
|
251
254
|
getColorModeValue?<LightModeValue extends string = string, DarkModeValue extends string = string>(colorMap: {
|
|
252
255
|
light?: LightModeValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auth0/quantum-product",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"@auth0/quantum-icons": "^1.0.0",
|
|
15
15
|
"@auth0/quantum-tokens": "^1.2.0",
|
|
16
16
|
"@mui/material": "5.15.9",
|
|
17
|
-
"@mui/styles": "5.15.9",
|
|
18
17
|
"@mui/system": "5.15.9",
|
|
19
18
|
"@mui/utils": "5.15.9",
|
|
20
19
|
"clsx": "^1.2.1",
|
package/theme/create-mixins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ColorName, Shade } from './colors';
|
|
2
|
-
import
|
|
2
|
+
import { CSSProperties } from '@mui/material/styles/createTypography';
|
|
3
3
|
import type { IPalette } from './create-palette';
|
|
4
4
|
import type { Mixins } from '@mui/material/styles';
|
|
5
5
|
import type { Breakpoints, Spacing } from '@mui/system';
|
|
@@ -9,17 +9,17 @@ export interface IMixins extends Omit<Mixins, 'toolbar'> {
|
|
|
9
9
|
type?: 'default' | 'inset';
|
|
10
10
|
color?: string;
|
|
11
11
|
opacity?: number;
|
|
12
|
-
}):
|
|
12
|
+
}): CSSProperties;
|
|
13
13
|
/** @deprecated use tokens instead */
|
|
14
14
|
shadeOfColor(color: ColorName | 'grey', shade?: Shade): string;
|
|
15
15
|
/** @deprecated use tokens instead */
|
|
16
16
|
textColorForShadeOfColor(color: ColorName | 'grey', shade?: Shade): string;
|
|
17
17
|
borderAsBoxShadow(color: string, width?: number): string;
|
|
18
18
|
appBarAction(): {
|
|
19
|
-
root:
|
|
20
|
-
hover:
|
|
21
|
-
focus:
|
|
22
|
-
active:
|
|
19
|
+
root: CSSProperties;
|
|
20
|
+
hover: CSSProperties;
|
|
21
|
+
focus: CSSProperties;
|
|
22
|
+
active: CSSProperties;
|
|
23
23
|
};
|
|
24
24
|
getColorModeValue<LightModeValue extends string = string, DarkModeValue extends string = string>(colorMap: {
|
|
25
25
|
light?: LightModeValue;
|