@sinco/react 1.0.7-rc.12 → 1.0.7-rc.14
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/index.js +30 -1
- package/package.json +1 -1
- package/src/lib/Theme/index.d.ts +13 -0
package/index.js
CHANGED
@@ -8149,7 +8149,36 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
|
|
8149
8149
|
size: "xsmall"
|
8150
8150
|
},
|
8151
8151
|
style: {
|
8152
|
-
|
8152
|
+
fontFamily: "Roboto",
|
8153
|
+
fontStyle: "normal",
|
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,
|
8170
|
+
fontFamily: "Roboto",
|
8171
|
+
fontStyle: "normal",
|
8172
|
+
borderRadius: "4px",
|
8173
|
+
fontSize: "10px",
|
8174
|
+
height: "16px",
|
8175
|
+
fontWeight: 400,
|
8176
|
+
lineHeight: 10,
|
8177
|
+
letterSpacing: 0.15,
|
8178
|
+
"&.MuiSvgIcon-root": {
|
8179
|
+
width: 12,
|
8180
|
+
height: 12
|
8181
|
+
}
|
8153
8182
|
}
|
8154
8183
|
}]
|
8155
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;
|