@sinco/react 1.1.0 → 1.1.1-rc.1

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 CHANGED
@@ -6629,8 +6629,149 @@ const palette = {
6629
6629
  },
6630
6630
  action: {
6631
6631
  active: "#1018408a",
6632
- hover: "#10184066",
6633
- selected: "#101840cc",
6632
+ hover: "#1018400a",
6633
+ selected: "#10184014",
6634
+ disabled: "#10184042",
6635
+ disabledBackground: "#1018401f",
6636
+ focus: "#1018401f"
6637
+ },
6638
+ background: {
6639
+ default: "#f5f5f5",
6640
+ paper: "#fff"
6641
+ },
6642
+ common: {
6643
+ black: "#000",
6644
+ white: "#fff"
6645
+ },
6646
+ divider: "#0000001f"
6647
+ };
6648
+ const paletteAdpro = {
6649
+ primary: {
6650
+ 50: "#F8FAFB",
6651
+ 100: "#E6EFF0",
6652
+ 200: "#D2E3E4",
6653
+ 300: "#82C6CB",
6654
+ 400: "#2B9DA7",
6655
+ 500: "#058C97",
6656
+ 600: "#04848F",
6657
+ 700: "#047984",
6658
+ 800: "#036F7A",
6659
+ 900: "#015C69",
6660
+ A100: "#98F0FF",
6661
+ A200: "#65E9FF",
6662
+ A400: "#32E1FF",
6663
+ A700: "#32E1FF"
6664
+ },
6665
+ secondary: {
6666
+ 50: "#E0F7FA",
6667
+ 100: "#B3EBF2",
6668
+ 200: "#80DEEA",
6669
+ 300: "#4DD0E1",
6670
+ light: "#26C6DA",
6671
+ main: "#00BCD4",
6672
+ 600: "#00B6CF",
6673
+ 700: "#00ADC9",
6674
+ 800: "#00A5C3",
6675
+ dark: "#0097B9",
6676
+ A100: "#E2F9FF",
6677
+ A200: "#AFEEFF",
6678
+ A400: "#7CE3FF",
6679
+ A700: "#63DDFF",
6680
+ contrastText: "#ffffff"
6681
+ },
6682
+ error: {
6683
+ 50: "#F9E8E8",
6684
+ 100: "#F1C7C7",
6685
+ 200: "#E8A1A1",
6686
+ 300: "#DF7B7B",
6687
+ light: "#D85F5F",
6688
+ main: "#D14343",
6689
+ 600: "#CC3D3D",
6690
+ 700: "#C63434",
6691
+ 800: "#C02C2C",
6692
+ dark: "#B51E1E",
6693
+ A100: "#FFECEC",
6694
+ A200: "#FFB9B9",
6695
+ A400: "#FF8686",
6696
+ A700: "#FF6D6D",
6697
+ contrastText: "#ffffff"
6698
+ },
6699
+ warning: {
6700
+ 50: "#FFF0E0",
6701
+ 100: "#FEDAB3",
6702
+ 200: "#FDC280",
6703
+ 300: "#FCAA4D",
6704
+ light: "#FC9726",
6705
+ main: "#FB8500",
6706
+ 600: "#FA7D00",
6707
+ 700: "#FA7200",
6708
+ 800: "#F96800",
6709
+ dark: "#F85500",
6710
+ A100: "#FFFFFF",
6711
+ A200: "#FFF1EB",
6712
+ A400: "#FFCCB8",
6713
+ A700: "#FFBA9F",
6714
+ contrastText: "#ffffff"
6715
+ },
6716
+ info: {
6717
+ 50: "#E6F3F8",
6718
+ 100: "#C0E2EE",
6719
+ 200: "#96CFE2",
6720
+ 300: "#6CBCD6",
6721
+ light: "#4DADCE",
6722
+ main: "#2D9FC5",
6723
+ 600: "#2897BF",
6724
+ 700: "#228DB8",
6725
+ 800: "#1C83B0",
6726
+ dark: "#1172A3",
6727
+ A100: "#D4EFFF",
6728
+ A200: "#A1DCFF",
6729
+ A400: "#6ECAFF",
6730
+ A700: "#54C1FF",
6731
+ contrastText: "#ffffff"
6732
+ },
6733
+ success: {
6734
+ 50: "#F2F9E7",
6735
+ 100: "#DDEFC4",
6736
+ 200: "#C7E49D",
6737
+ 300: "#B1D975",
6738
+ light: "#A0D158",
6739
+ main: "#8FC93A",
6740
+ 600: "#87C334",
6741
+ 700: "#7CBC2C",
6742
+ 800: "#72B525",
6743
+ dark: "#60A918",
6744
+ A100: "#EDFFDE",
6745
+ A200: "#D2FFAB",
6746
+ A400: "#B6FF78",
6747
+ A700: "#A9FF5E",
6748
+ contrastText: "#ffffff"
6749
+ },
6750
+ grey: {
6751
+ 50: "#F7F7F8",
6752
+ 100: "#EAEBEC",
6753
+ 200: "#DCDEE0",
6754
+ 300: "#CED1D4",
6755
+ 400: "#C4C7CA",
6756
+ 500: "#B9BDC1",
6757
+ 600: "#B2B7BB",
6758
+ 700: "#AAAEB3",
6759
+ 800: "#A2A6AB",
6760
+ 900: "#93989E",
6761
+ A100: "#FFFFFF",
6762
+ A200: "#FFFFFF",
6763
+ A400: "#D4EAFF",
6764
+ A700: "#BBDDFF"
6765
+ },
6766
+ text: {
6767
+ primary: "#101840de",
6768
+ secondary: "#10184099",
6769
+ disabled: "#10184061"
6770
+ },
6771
+ action: {
6772
+ active: "#1018408a",
6773
+ hover: "#1018400a",
6774
+ selected: "#10184014",
6634
6775
  disabled: "#10184042",
6635
6776
  disabledBackground: "#1018401f",
6636
6777
  focus: "#1018401f"
@@ -6646,7 +6787,7 @@ const palette = {
6646
6787
  divider: "#0000001f"
6647
6788
  };
6648
6789
 
6649
- var _palette$grey, _palette$action;
6790
+ var _palette$action;
6650
6791
  const components = {
6651
6792
  MuiDataGrid: {
6652
6793
  defaultProps: {
@@ -6810,28 +6951,37 @@ const components = {
6810
6951
  size: "small"
6811
6952
  }
6812
6953
  },
6813
- MuiChip: {
6954
+ MuiToggleButton: {
6814
6955
  styleOverrides: {
6815
6956
  sizeSmall: {
6816
- height: 16
6957
+ height: 32
6817
6958
  },
6818
6959
  sizeMedium: {
6819
- height: 24
6960
+ height: 38
6820
6961
  },
6821
- filled: {
6822
- backgroundColor: (_palette$grey = palette.grey) == null ? void 0 : _palette$grey[100]
6962
+ sizeLarge: {
6963
+ height: 48
6964
+ }
6965
+ }
6966
+ },
6967
+ MuiChip: {
6968
+ styleOverrides: {
6969
+ sizeSmall: {
6970
+ height: 18
6971
+ },
6972
+ sizeMedium: {
6973
+ height: 22
6823
6974
  },
6824
6975
  icon: {
6825
6976
  color: (_palette$action = palette.action) == null ? void 0 : _palette$action.active,
6826
6977
  opacity: "26%"
6827
6978
  },
6828
6979
  root: {
6829
- fontFamily: "Roboto",
6830
- fontSize: "10px",
6831
- fontStyle: "normal",
6980
+ fontFamily: 'Roboto',
6981
+ fontSize: '11px',
6832
6982
  fontWeight: 400,
6833
- lineHeight: "10px",
6834
- letterSpacing: "0.15px",
6983
+ lineHeight: '14px',
6984
+ letterSpacing: '0.16px',
6835
6985
  height: "inherit",
6836
6986
  borderRadius: 4,
6837
6987
  ".MuiChip-deleteIconXsmall": {
@@ -7360,24 +7510,7 @@ const themeAdproOptions = {
7360
7510
  mixins,
7361
7511
  breakpoints,
7362
7512
  shadows,
7363
- palette: Object.assign({
7364
- primary: {
7365
- 50: "#F8FAFB",
7366
- 100: "#E6EFF0",
7367
- 200: "#D2E3E4",
7368
- 300: "#82C6CB",
7369
- 400: "#2B9DA7",
7370
- 500: "#058C97",
7371
- 600: "#04848F",
7372
- 700: "#047984",
7373
- 800: "#036F7A",
7374
- 900: "#015C69",
7375
- A100: "#98F0FF",
7376
- A200: "#65E9FF",
7377
- A400: "#32E1FF",
7378
- A700: "#32E1FF"
7379
- }
7380
- }, palette)
7513
+ palette: paletteAdpro
7381
7514
  };
7382
7515
 
7383
7516
  const SincoTheme = createTheme(Object.assign({}, themeOptions));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-rc.1",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,13 +1,14 @@
1
1
  import { PaletteOptions } from "@mui/material";
2
2
  declare module "@mui/material/styles" {
3
3
  interface PaletteColor {
4
- 50: string;
5
- 100: string;
6
- 200: string;
7
- 300: string;
8
- 600: string;
9
- 700: string;
10
- 800: string;
4
+ 50?: string;
5
+ 100?: string;
6
+ 200?: string;
7
+ 300?: string;
8
+ 600?: string;
9
+ 700?: string;
10
+ 800?: string;
11
11
  }
12
12
  }
13
13
  export declare const palette: PaletteOptions;
14
+ export declare const paletteAdpro: PaletteOptions;