@sinco/react 1.2.0-rc.1 → 1.2.0-rc.3
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.esm.js +155 -1
- package/package.json +1 -1
- 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.esm.js
CHANGED
@@ -8500,6 +8500,9 @@ var components = {
|
|
8500
8500
|
}
|
8501
8501
|
},
|
8502
8502
|
MuiChip: {
|
8503
|
+
defaultProps: {
|
8504
|
+
color: "primary"
|
8505
|
+
},
|
8503
8506
|
styleOverrides: {
|
8504
8507
|
sizeSmall: {
|
8505
8508
|
height: 16
|
@@ -9345,6 +9348,147 @@ var paletteAdpro = {
|
|
9345
9348
|
},
|
9346
9349
|
divider: "#0000001f"
|
9347
9350
|
};
|
9351
|
+
var paletteADC = {
|
9352
|
+
primary: {
|
9353
|
+
50: "#E5E7FA",
|
9354
|
+
100: "#BEC4F2",
|
9355
|
+
200: "#6876E0",
|
9356
|
+
400: "#4758DA",
|
9357
|
+
light: "#939DE9",
|
9358
|
+
main: "#273BD3",
|
9359
|
+
600: "#2335CE",
|
9360
|
+
700: "#1D2DC8",
|
9361
|
+
800: "#1726C2",
|
9362
|
+
dark: "#0E19B7",
|
9363
|
+
A100: "#98F0FF",
|
9364
|
+
A200: "#65E9FF",
|
9365
|
+
A400: "#32E1FF",
|
9366
|
+
A700: "#32E1FF"
|
9367
|
+
},
|
9368
|
+
secondary: {
|
9369
|
+
50: "#F9F9F9",
|
9370
|
+
100: "#EFEFEF",
|
9371
|
+
300: "#DADADA",
|
9372
|
+
400: "#D2D2D2",
|
9373
|
+
light: "#E5E5E5",
|
9374
|
+
main: "#CACACA",
|
9375
|
+
600: "#C5C5C5",
|
9376
|
+
700: "#BDBDBD",
|
9377
|
+
800: "#B7B7B7",
|
9378
|
+
dark: "#ABABAB",
|
9379
|
+
A100: "#E2F9FF",
|
9380
|
+
A200: "#AFEEFF",
|
9381
|
+
A400: "#7CE3FF",
|
9382
|
+
A700: "#63DDFF",
|
9383
|
+
contrastText: "#ffffff"
|
9384
|
+
},
|
9385
|
+
error: {
|
9386
|
+
50: "#F9E8E8",
|
9387
|
+
100: "#F1C7C7",
|
9388
|
+
200: "#E8A1A1",
|
9389
|
+
300: "#DF7B7B",
|
9390
|
+
light: "#D85F5F",
|
9391
|
+
main: "#D14343",
|
9392
|
+
600: "#CC3D3D",
|
9393
|
+
700: "#C63434",
|
9394
|
+
800: "#C02C2C",
|
9395
|
+
dark: "#B51E1E",
|
9396
|
+
A100: "#FFECEC",
|
9397
|
+
A200: "#FFB9B9",
|
9398
|
+
A400: "#FF8686",
|
9399
|
+
A700: "#FF6D6D",
|
9400
|
+
contrastText: "#ffffff"
|
9401
|
+
},
|
9402
|
+
warning: {
|
9403
|
+
50: "#FFF0E0",
|
9404
|
+
100: "#FEDAB3",
|
9405
|
+
200: "#FDC280",
|
9406
|
+
300: "#FCAA4D",
|
9407
|
+
light: "#FC9726",
|
9408
|
+
main: "#FB8500",
|
9409
|
+
600: "#FA7D00",
|
9410
|
+
700: "#FA7200",
|
9411
|
+
800: "#F96800",
|
9412
|
+
dark: "#F85500",
|
9413
|
+
A100: "#FFFFFF",
|
9414
|
+
A200: "#FFF1EB",
|
9415
|
+
A400: "#FFCCB8",
|
9416
|
+
A700: "#FFBA9F",
|
9417
|
+
contrastText: "#ffffff"
|
9418
|
+
},
|
9419
|
+
info: {
|
9420
|
+
50: "#E6F3F8",
|
9421
|
+
100: "#C0E2EE",
|
9422
|
+
200: "#96CFE2",
|
9423
|
+
300: "#6CBCD6",
|
9424
|
+
light: "#4DADCE",
|
9425
|
+
main: "#2D9FC5",
|
9426
|
+
600: "#2897BF",
|
9427
|
+
700: "#228DB8",
|
9428
|
+
800: "#1C83B0",
|
9429
|
+
dark: "#1172A3",
|
9430
|
+
A100: "#D4EFFF",
|
9431
|
+
A200: "#A1DCFF",
|
9432
|
+
A400: "#6ECAFF",
|
9433
|
+
A700: "#54C1FF",
|
9434
|
+
contrastText: "#ffffff"
|
9435
|
+
},
|
9436
|
+
success: {
|
9437
|
+
50: "#F2F9E7",
|
9438
|
+
100: "#DDEFC4",
|
9439
|
+
200: "#C7E49D",
|
9440
|
+
300: "#B1D975",
|
9441
|
+
light: "#A0D158",
|
9442
|
+
main: "#8FC93A",
|
9443
|
+
600: "#87C334",
|
9444
|
+
700: "#7CBC2C",
|
9445
|
+
800: "#72B525",
|
9446
|
+
dark: "#60A918",
|
9447
|
+
A100: "#EDFFDE",
|
9448
|
+
A200: "#D2FFAB",
|
9449
|
+
A400: "#B6FF78",
|
9450
|
+
A700: "#A9FF5E",
|
9451
|
+
contrastText: "#ffffff"
|
9452
|
+
},
|
9453
|
+
grey: {
|
9454
|
+
50: "#FBFBFB",
|
9455
|
+
100: "#F5F5F6",
|
9456
|
+
200: "#EAEBEC",
|
9457
|
+
300: "#DCDEE0",
|
9458
|
+
400: "#CED1D4",
|
9459
|
+
500: "#C4C7CA",
|
9460
|
+
600: "#B9BDC1",
|
9461
|
+
700: "#B2B7BB",
|
9462
|
+
800: "#AAAEB3",
|
9463
|
+
900: "#A2A6AB",
|
9464
|
+
A100: "#FFFFFF",
|
9465
|
+
A200: "#FFFFFF",
|
9466
|
+
A400: "#D4EAFF",
|
9467
|
+
A700: "#BBDDFF"
|
9468
|
+
},
|
9469
|
+
text: {
|
9470
|
+
primary: "#101840de",
|
9471
|
+
secondary: "#10184099",
|
9472
|
+
disabled: "#10184061"
|
9473
|
+
},
|
9474
|
+
action: {
|
9475
|
+
active: "#1018408a",
|
9476
|
+
hover: "#1018400a",
|
9477
|
+
selected: "#10184014",
|
9478
|
+
disabled: "#10184042",
|
9479
|
+
disabledBackground: "#1018401f",
|
9480
|
+
focus: "#1018401f"
|
9481
|
+
},
|
9482
|
+
background: {
|
9483
|
+
"default": "#f5f5f5",
|
9484
|
+
paper: "#fff"
|
9485
|
+
},
|
9486
|
+
common: {
|
9487
|
+
black: "#000",
|
9488
|
+
white: "#fff"
|
9489
|
+
},
|
9490
|
+
divider: "#0000001f"
|
9491
|
+
};
|
9348
9492
|
|
9349
9493
|
var breakpoints = createBreakpoints({
|
9350
9494
|
values: {
|
@@ -12295,9 +12439,19 @@ var themeAdproOptions = {
|
|
12295
12439
|
shadows: shadows,
|
12296
12440
|
palette: paletteAdpro
|
12297
12441
|
};
|
12442
|
+
var themeAdcOptions = {
|
12443
|
+
components: components,
|
12444
|
+
typography: typography,
|
12445
|
+
spacing: 8,
|
12446
|
+
mixins: mixins,
|
12447
|
+
breakpoints: breakpoints,
|
12448
|
+
shadows: shadows,
|
12449
|
+
palette: paletteADC
|
12450
|
+
};
|
12298
12451
|
|
12299
12452
|
var SincoTheme = createTheme(_objectSpread2({}, themeOptions));
|
12300
12453
|
var AdproSincoTheme = createTheme(_objectSpread2({}, themeAdproOptions));
|
12454
|
+
var ADCSincoTheme = createTheme(_objectSpread2({}, themeAdcOptions));
|
12301
12455
|
|
12302
12456
|
const reflow = node => node.scrollTop;
|
12303
12457
|
function getTransitionProps(props, options) {
|
@@ -21332,4 +21486,4 @@ var useDynamicColor = function useDynamicColor(url) {
|
|
21332
21486
|
};
|
21333
21487
|
};
|
21334
21488
|
|
21335
|
-
export { AdproSincoTheme, CardRadio, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyStateComponent as EmptyState, EmptyStateComponent, FooterAction, Incognit, IncognitIcon, IncognitIconOutlined, IncognitOutlined, PageHeader, PageHeaderWraps, ProgressSinco, SincoTheme, ToastNotification, useDynamicColor };
|
21489
|
+
export { ADCSincoTheme, AdproSincoTheme, CardRadio, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyStateComponent as EmptyState, EmptyStateComponent, FooterAction, Incognit, IncognitIcon, IncognitIconOutlined, IncognitOutlined, PageHeader, PageHeaderWraps, ProgressSinco, SincoTheme, ToastNotification, useDynamicColor };
|
package/package.json
CHANGED
package/src/lib/Theme/index.d.ts
CHANGED
package/src/lib/Theme/theme.d.ts
CHANGED