@campxdev/shared 1.11.67 → 1.11.68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "1.11.67",
3
+ "version": "1.11.68",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -2,37 +2,48 @@ import { ThemeOptions as MuiThemeOptions } from '@mui/material/styles'
2
2
 
3
3
  declare module '@mui/material/styles' {
4
4
  interface Theme {
5
- borders: {
6
- grayLight: string
7
- primary: string
5
+ borders?: {
6
+ grayLight?: string
7
+ primary?: string
8
8
  }
9
- palette: {
10
- primary: {
11
- dark: string
12
- main: string
13
- light: string
14
- lighter: string
15
- }
16
- secondary: {
17
- main: string
18
- light: string
19
- dark: string
20
- lighter: string
21
- }
22
- common: {
23
- black: string
24
- white: string
25
- green: string
26
- yellow: string
27
- blue: string
28
- }
29
- error: {
30
- main: string
31
- }
32
- text: {
33
- primary: string
34
- secondary: string
35
- disabled: string
9
+ palette?: {
10
+ mode?: string
11
+ primary?: {
12
+ dark?: string
13
+ main?: string
14
+ light?: string
15
+ lighter?: string
16
+ }
17
+ secondary?: {
18
+ main?: string
19
+ light?: string
20
+ dark?: string
21
+ lighter?: string
22
+ }
23
+ highlight?: {
24
+ main?: string
25
+ }
26
+ grey?: {
27
+ main?: string
28
+ }
29
+ common?: {
30
+ black?: string
31
+ white?: string
32
+ green?: string
33
+ yellow?: string
34
+ blue?: string
35
+ }
36
+ error?: {
37
+ main?: string
38
+ }
39
+ text?: {
40
+ primary?: string
41
+ secondary?: string
42
+ disabled?: string
43
+ }
44
+ background?: {
45
+ paper?: string
46
+ default?: string
36
47
  }
37
48
  }
38
49
  }
@@ -40,20 +51,28 @@ declare module '@mui/material/styles' {
40
51
  interface CustomThemeOptions extends MuiThemeOptions {
41
52
  borders?: {
42
53
  grayLight?: string
54
+ primary?: string
43
55
  }
44
- palette: {
45
- secondary?: {
56
+ palette?: {
57
+ mode?: string
58
+ primary?: {
59
+ dark?: string
46
60
  main?: string
47
61
  light?: string
48
- dark?: string
49
62
  lighter?: string
50
63
  }
51
- primary?: {
52
- dark?: string
64
+ secondary?: {
53
65
  main?: string
54
66
  light?: string
67
+ dark?: string
55
68
  lighter?: string
56
69
  }
70
+ highlight?: {
71
+ main?: string
72
+ }
73
+ grey?: {
74
+ main?: string
75
+ }
57
76
  common?: {
58
77
  black?: string
59
78
  white?: string
@@ -69,9 +88,21 @@ declare module '@mui/material/styles' {
69
88
  secondary?: string
70
89
  disabled?: string
71
90
  }
91
+ background?: {
92
+ paper?: string
93
+ default?: string
94
+ }
72
95
  }
73
96
  components?: Components<Omit<Theme, 'components'>>
74
97
  typography?: TypographyOptions | ((palette: Palette) => TypographyOptions)
75
98
  }
76
99
  export function createTheme(options?: CustomThemeOptions): CustomTheme
77
100
  }
101
+
102
+ declare module '@mui/material/Typography' {
103
+ interface TypographyPropsVariantOverrides {
104
+ label1: true
105
+ label2: true
106
+ subtitle3: true
107
+ }
108
+ }