@sinco/react 1.0.14-rc.1 → 1.0.14-rc.11
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 +166 -28
- package/package.json +1 -1
- package/src/lib/Theme/components.d.ts +0 -10
- package/src/lib/Theme/index.d.ts +1 -0
- package/src/lib/Theme/palette.d.ts +1 -0
- package/src/lib/Theme/theme.d.ts +1 -0
package/index.js
CHANGED
|
@@ -10547,8 +10547,8 @@ const components = {
|
|
|
10547
10547
|
root: {
|
|
10548
10548
|
boxShadow: "0px 3px 1px -2px rgba(24, 39, 75, 0.20), 0px 2px 2px 0px rgba(24, 39, 75, 0.14), 0px 1px 5px 0px rgba(24, 39, 75, 0.12)",
|
|
10549
10549
|
"&.MuiBackdrop-root": {
|
|
10550
|
-
backgroundColor: "
|
|
10551
|
-
backdropFilter: "blur(
|
|
10550
|
+
backgroundColor: "rgba(240,240,240,0.6)",
|
|
10551
|
+
backdropFilter: "blur(4px) !important"
|
|
10552
10552
|
}
|
|
10553
10553
|
}
|
|
10554
10554
|
}
|
|
@@ -10574,25 +10574,18 @@ const components = {
|
|
|
10574
10574
|
},
|
|
10575
10575
|
MuiCheckbox: {
|
|
10576
10576
|
variants: [{
|
|
10577
|
-
props: {
|
|
10578
|
-
size: "xsmall"
|
|
10579
|
-
},
|
|
10580
|
-
style: {
|
|
10581
|
-
padding: 2
|
|
10582
|
-
}
|
|
10583
|
-
}, {
|
|
10584
10577
|
props: {
|
|
10585
10578
|
size: "small"
|
|
10586
10579
|
},
|
|
10587
10580
|
style: {
|
|
10588
|
-
padding:
|
|
10581
|
+
padding: 2
|
|
10589
10582
|
}
|
|
10590
10583
|
}, {
|
|
10591
10584
|
props: {
|
|
10592
10585
|
size: "medium"
|
|
10593
10586
|
},
|
|
10594
10587
|
style: {
|
|
10595
|
-
padding:
|
|
10588
|
+
padding: 4
|
|
10596
10589
|
}
|
|
10597
10590
|
}],
|
|
10598
10591
|
defaultProps: {
|
|
@@ -10600,35 +10593,30 @@ const components = {
|
|
|
10600
10593
|
}
|
|
10601
10594
|
},
|
|
10602
10595
|
MuiChip: {
|
|
10603
|
-
variants: [{
|
|
10604
|
-
props: {
|
|
10605
|
-
size: "xsmall"
|
|
10606
|
-
},
|
|
10607
|
-
style: {
|
|
10608
|
-
height: 16
|
|
10609
|
-
}
|
|
10610
|
-
}],
|
|
10611
10596
|
styleOverrides: {
|
|
10612
10597
|
sizeSmall: {
|
|
10613
|
-
|
|
10598
|
+
fontFamily: "Roboto",
|
|
10599
|
+
fontSize: "10px",
|
|
10600
|
+
fontStyle: "normal",
|
|
10601
|
+
fontWeight: 400,
|
|
10602
|
+
lineHeight: "10px",
|
|
10603
|
+
letterSpacing: " 0.15px",
|
|
10604
|
+
color: "text.primary",
|
|
10605
|
+
height: 16
|
|
10614
10606
|
},
|
|
10615
10607
|
sizeMedium: {
|
|
10616
|
-
height:
|
|
10608
|
+
height: 24
|
|
10617
10609
|
},
|
|
10618
10610
|
root: {
|
|
10619
10611
|
height: "inherit",
|
|
10620
10612
|
borderRadius: 4,
|
|
10621
|
-
".MuiChip-
|
|
10613
|
+
".MuiChip-deleteIconSmall": {
|
|
10622
10614
|
height: 12,
|
|
10623
10615
|
width: 12
|
|
10624
10616
|
},
|
|
10625
|
-
".MuiChip-
|
|
10617
|
+
".MuiChip-deleteIconMedium": {
|
|
10626
10618
|
height: 16,
|
|
10627
10619
|
widht: 16
|
|
10628
|
-
},
|
|
10629
|
-
".MuiChip-deleteIconMedium": {
|
|
10630
|
-
height: 20,
|
|
10631
|
-
widht: 20
|
|
10632
10620
|
}
|
|
10633
10621
|
}
|
|
10634
10622
|
}
|
|
@@ -11089,6 +11077,147 @@ const palette = {
|
|
|
11089
11077
|
},
|
|
11090
11078
|
divider: "rgba(16,24,64,0.12)"
|
|
11091
11079
|
};
|
|
11080
|
+
const paletteADPRO = {
|
|
11081
|
+
primary: {
|
|
11082
|
+
50: "#e1f1f3",
|
|
11083
|
+
100: "#b4dde0",
|
|
11084
|
+
200: "#82c6cb",
|
|
11085
|
+
300: "#50afb6",
|
|
11086
|
+
400: "#2b9da7",
|
|
11087
|
+
500: "#058c97",
|
|
11088
|
+
600: "#04848f",
|
|
11089
|
+
700: "#047984",
|
|
11090
|
+
800: "#036f7a",
|
|
11091
|
+
900: "#015c69",
|
|
11092
|
+
A100: "#98f0ff",
|
|
11093
|
+
A200: "#65e9ff",
|
|
11094
|
+
A400: "#32e1ff",
|
|
11095
|
+
A700: "#19ddff"
|
|
11096
|
+
},
|
|
11097
|
+
secondary: {
|
|
11098
|
+
50: "#E0F7FA",
|
|
11099
|
+
100: "#B3EBF2",
|
|
11100
|
+
200: "#80DEEA",
|
|
11101
|
+
300: "#4DD0E1",
|
|
11102
|
+
light: "#26C6DA",
|
|
11103
|
+
main: "#00BCD4",
|
|
11104
|
+
600: "#00B6CF",
|
|
11105
|
+
700: "#00ADC9",
|
|
11106
|
+
800: "#00A5C3",
|
|
11107
|
+
dark: "#0097B9",
|
|
11108
|
+
A100: "#E2F9FF",
|
|
11109
|
+
A200: "#AFEEFF",
|
|
11110
|
+
A400: "#7CE3FF",
|
|
11111
|
+
A700: "#63DDFF",
|
|
11112
|
+
contrastText: "#ffffff"
|
|
11113
|
+
},
|
|
11114
|
+
error: {
|
|
11115
|
+
50: "#F9E8E8",
|
|
11116
|
+
100: "#F1C7C7",
|
|
11117
|
+
200: "#E8A1A1",
|
|
11118
|
+
300: "#DF7B7B",
|
|
11119
|
+
light: "#D85F5F",
|
|
11120
|
+
main: "#D14343",
|
|
11121
|
+
600: "#CC3D3D",
|
|
11122
|
+
700: "#C63434",
|
|
11123
|
+
800: "#C02C2C",
|
|
11124
|
+
dark: "#B51E1E",
|
|
11125
|
+
A100: "#FFECEC",
|
|
11126
|
+
A200: "#FFB9B9",
|
|
11127
|
+
A400: "#FF8686",
|
|
11128
|
+
A700: "#FF6D6D",
|
|
11129
|
+
contrastText: "#ffffff"
|
|
11130
|
+
},
|
|
11131
|
+
warning: {
|
|
11132
|
+
50: "#FFF0E0",
|
|
11133
|
+
100: "#FEDAB3",
|
|
11134
|
+
200: "#FDC280",
|
|
11135
|
+
300: "#FCAA4D",
|
|
11136
|
+
light: "#FC9726",
|
|
11137
|
+
main: "#FB8500",
|
|
11138
|
+
600: "#FA7D00",
|
|
11139
|
+
700: "#FA7200",
|
|
11140
|
+
800: "#F96800",
|
|
11141
|
+
dark: "#F85500",
|
|
11142
|
+
A100: "#FFFFFF",
|
|
11143
|
+
A200: "#FFF1EB",
|
|
11144
|
+
A400: "#FFCCB8",
|
|
11145
|
+
A700: "#FFBA9F",
|
|
11146
|
+
contrastText: "#ffffff"
|
|
11147
|
+
},
|
|
11148
|
+
info: {
|
|
11149
|
+
50: "#E6F3F8",
|
|
11150
|
+
100: "#C0E2EE",
|
|
11151
|
+
200: "#96CFE2",
|
|
11152
|
+
300: "#6CBCD6",
|
|
11153
|
+
light: "#4DADCE",
|
|
11154
|
+
main: "#2D9FC5",
|
|
11155
|
+
600: "#2897BF",
|
|
11156
|
+
700: "#228DB8",
|
|
11157
|
+
800: "#1C83B0",
|
|
11158
|
+
dark: "#1172A3",
|
|
11159
|
+
A100: "#D4EFFF",
|
|
11160
|
+
A200: "#A1DCFF",
|
|
11161
|
+
A400: "#6ECAFF",
|
|
11162
|
+
A700: "#54C1FF",
|
|
11163
|
+
contrastText: "#ffffff"
|
|
11164
|
+
},
|
|
11165
|
+
success: {
|
|
11166
|
+
50: "#F2F9E7",
|
|
11167
|
+
100: "#DDEFC4",
|
|
11168
|
+
200: "#C7E49D",
|
|
11169
|
+
300: "#B1D975",
|
|
11170
|
+
light: "#A0D158",
|
|
11171
|
+
main: "#8FC93A",
|
|
11172
|
+
600: "#87C334",
|
|
11173
|
+
700: "#7CBC2C",
|
|
11174
|
+
800: "#72B525",
|
|
11175
|
+
dark: "#60A918",
|
|
11176
|
+
A100: "#EDFFDE",
|
|
11177
|
+
A200: "#D2FFAB",
|
|
11178
|
+
A400: "#B6FF78",
|
|
11179
|
+
A700: "#A9FF5E",
|
|
11180
|
+
contrastText: "#ffffff"
|
|
11181
|
+
},
|
|
11182
|
+
grey: {
|
|
11183
|
+
50: "#FAFBFF",
|
|
11184
|
+
100: "#F4F6FA",
|
|
11185
|
+
200: "#EDEFF5",
|
|
11186
|
+
300: "#E6E8F0",
|
|
11187
|
+
400: "#D8DAE5",
|
|
11188
|
+
500: "#C1C4D6",
|
|
11189
|
+
600: "#8F95B2",
|
|
11190
|
+
700: "#696F8C",
|
|
11191
|
+
800: "#474D66",
|
|
11192
|
+
900: "#101840",
|
|
11193
|
+
A100: "#D8DAE5",
|
|
11194
|
+
A200: "#C1C4D6",
|
|
11195
|
+
A400: "#696F8C",
|
|
11196
|
+
A700: "#101840"
|
|
11197
|
+
},
|
|
11198
|
+
text: {
|
|
11199
|
+
primary: "#101840de",
|
|
11200
|
+
secondary: "#10184099",
|
|
11201
|
+
disabled: "#10184061"
|
|
11202
|
+
},
|
|
11203
|
+
action: {
|
|
11204
|
+
active: "rgba(16, 24, 64, 0.54)",
|
|
11205
|
+
hover: "rgba(16, 24, 64, 0.04)",
|
|
11206
|
+
selected: "rgba(16, 24, 64, 0.08)",
|
|
11207
|
+
disabled: "rgba(16, 24, 64, 0.26)",
|
|
11208
|
+
disabledBackground: "rgba(16, 24, 64, 0.12)",
|
|
11209
|
+
focus: "rgba(16, 24, 64, 0.12)"
|
|
11210
|
+
},
|
|
11211
|
+
background: {
|
|
11212
|
+
default: '#f5f5f5',
|
|
11213
|
+
paper: "#fff"
|
|
11214
|
+
},
|
|
11215
|
+
common: {
|
|
11216
|
+
black: '#000',
|
|
11217
|
+
white: '#fff'
|
|
11218
|
+
},
|
|
11219
|
+
divider: "rgba(16,24,64,0.12)"
|
|
11220
|
+
};
|
|
11092
11221
|
|
|
11093
11222
|
const breakpoints = createBreakpoints({
|
|
11094
11223
|
values: {
|
|
@@ -11243,8 +11372,17 @@ const themeOptions = {
|
|
|
11243
11372
|
mixins,
|
|
11244
11373
|
breakpoints
|
|
11245
11374
|
};
|
|
11375
|
+
const themeAdproOptions = {
|
|
11376
|
+
components,
|
|
11377
|
+
typography,
|
|
11378
|
+
spacing: 8,
|
|
11379
|
+
mixins,
|
|
11380
|
+
breakpoints,
|
|
11381
|
+
palette: paletteADPRO
|
|
11382
|
+
};
|
|
11246
11383
|
|
|
11247
11384
|
const SincoTheme = createTheme(Object.assign({}, themeOptions));
|
|
11385
|
+
const AdproSincoTheme = createTheme(Object.assign({}, themeAdproOptions));
|
|
11248
11386
|
|
|
11249
11387
|
var wellKnownSymbol$d = wellKnownSymbol$f;
|
|
11250
11388
|
|
|
@@ -22026,4 +22164,4 @@ const useDynamicColor = url => {
|
|
|
22026
22164
|
};
|
|
22027
22165
|
};
|
|
22028
22166
|
|
|
22029
|
-
export { DrawerComponent, DynamicColor, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent, SincoTheme, useDynamicColor };
|
|
22167
|
+
export { AdproSincoTheme, DrawerComponent, DynamicColor, EmptyStateComponent, EmptyStateImageUrls, FooterActionComponent, SincoTheme, useDynamicColor };
|
package/package.json
CHANGED
|
@@ -1,12 +1,2 @@
|
|
|
1
1
|
import { Components } from '@mui/material';
|
|
2
|
-
declare module '@mui/material/Chip' {
|
|
3
|
-
interface ChipPropsSizeOverrides {
|
|
4
|
-
xsmall: true;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
declare module "@mui/material/Checkbox" {
|
|
8
|
-
interface CheckboxPropsSizeOverrides {
|
|
9
|
-
xsmall: true;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
2
|
export declare const components: Components;
|
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED