@sinco/react 1.0.7-rc.13 → 1.0.7-rc.14
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +25 -3
- package/package.json +1 -1
- package/src/lib/Theme/index.d.ts +13 -0
package/index.js
CHANGED
@@ -8149,14 +8149,36 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
|
|
8149
8149
|
size: "xsmall"
|
8150
8150
|
},
|
8151
8151
|
style: {
|
8152
|
-
|
8152
|
+
fontFamily: "Roboto",
|
8153
|
+
fontStyle: "normal",
|
8153
8154
|
borderRadius: "4px",
|
8155
|
+
fontSize: "10px",
|
8156
|
+
height: "16px",
|
8157
|
+
fontWeight: 400,
|
8158
|
+
lineHeight: 10,
|
8159
|
+
letterSpacing: 0.15
|
8160
|
+
}
|
8161
|
+
}]
|
8162
|
+
},
|
8163
|
+
MuiCheckbox: {
|
8164
|
+
variants: [{
|
8165
|
+
props: {
|
8166
|
+
size: "xsmall"
|
8167
|
+
},
|
8168
|
+
style: {
|
8169
|
+
padding: 0,
|
8154
8170
|
fontFamily: "Roboto",
|
8155
|
-
fontSize: 10,
|
8156
8171
|
fontStyle: "normal",
|
8172
|
+
borderRadius: "4px",
|
8173
|
+
fontSize: "10px",
|
8174
|
+
height: "16px",
|
8157
8175
|
fontWeight: 400,
|
8158
8176
|
lineHeight: 10,
|
8159
|
-
letterSpacing:
|
8177
|
+
letterSpacing: 0.15,
|
8178
|
+
"&.MuiSvgIcon-root": {
|
8179
|
+
width: 12,
|
8180
|
+
height: 12
|
8181
|
+
}
|
8160
8182
|
}
|
8161
8183
|
}]
|
8162
8184
|
}
|
package/package.json
CHANGED
package/src/lib/Theme/index.d.ts
CHANGED
@@ -25,4 +25,17 @@ declare module "@mui/material/Chip" {
|
|
25
25
|
xsmall: true;
|
26
26
|
}
|
27
27
|
}
|
28
|
+
declare module "@mui/material/Checkbox" {
|
29
|
+
interface CheckboxPropsSize {
|
30
|
+
xsmall: React.CSSProperties;
|
31
|
+
}
|
32
|
+
interface CheckboxSizeOptions {
|
33
|
+
xsmall?: React.CSSProperties;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
declare module "@mui/material/Checkbox" {
|
37
|
+
interface CheckboxPropsSizeOverrides {
|
38
|
+
xsmall: true;
|
39
|
+
}
|
40
|
+
}
|
28
41
|
export declare const SincoTheme: import("@mui/material/styles").Theme;
|