@sinco/react 1.2.7 → 1.2.8-rc.2
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
    CHANGED
    
    | 
         @@ -7329,7 +7329,7 @@ var components = { 
     | 
|
| 
       7329 
7329 
     | 
    
         
             
                    return {
         
     | 
| 
       7330 
7330 
     | 
    
         
             
                      height: "inherit",
         
     | 
| 
       7331 
7331 
     | 
    
         
             
                      borderRadius: 4,
         
     | 
| 
       7332 
     | 
    
         
            -
                      variants: [{
         
     | 
| 
      
 7332 
     | 
    
         
            +
                      variants: [{}, {
         
     | 
| 
       7333 
7333 
     | 
    
         
             
                        props: {
         
     | 
| 
       7334 
7334 
     | 
    
         
             
                          variant: "outlined",
         
     | 
| 
       7335 
7335 
     | 
    
         
             
                          color: "default"
         
     | 
| 
         @@ -8080,6 +8080,94 @@ var components = { 
     | 
|
| 
       8080 
8080 
     | 
    
         
             
                }
         
     | 
| 
       8081 
8081 
     | 
    
         
             
              }
         
     | 
| 
       8082 
8082 
     | 
    
         
             
            };
         
     | 
| 
      
 8083 
     | 
    
         
            +
            _objectSpread2(_objectSpread2({}, components), {}, {
         
     | 
| 
      
 8084 
     | 
    
         
            +
              MuiChip: {
         
     | 
| 
      
 8085 
     | 
    
         
            +
                styleOverrides: {
         
     | 
| 
      
 8086 
     | 
    
         
            +
                  sizeSmall: {
         
     | 
| 
      
 8087 
     | 
    
         
            +
                    padding: 0,
         
     | 
| 
      
 8088 
     | 
    
         
            +
                    "& .MuiChip-label MuiChip-labelMedium": {
         
     | 
| 
      
 8089 
     | 
    
         
            +
                      padding: 3
         
     | 
| 
      
 8090 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8091 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8092 
     | 
    
         
            +
                  sizeMedium: {
         
     | 
| 
      
 8093 
     | 
    
         
            +
                    padding: 3,
         
     | 
| 
      
 8094 
     | 
    
         
            +
                    "& .MuiChip-label MuiChip-labelMedium": {
         
     | 
| 
      
 8095 
     | 
    
         
            +
                      padding: 4
         
     | 
| 
      
 8096 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8097 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8098 
     | 
    
         
            +
                  root: {
         
     | 
| 
      
 8099 
     | 
    
         
            +
                    borderRadius: 100,
         
     | 
| 
      
 8100 
     | 
    
         
            +
                    fontSize: 13,
         
     | 
| 
      
 8101 
     | 
    
         
            +
                    lineHeight: "18px"
         
     | 
| 
      
 8102 
     | 
    
         
            +
                  }
         
     | 
| 
      
 8103 
     | 
    
         
            +
                }
         
     | 
| 
      
 8104 
     | 
    
         
            +
              },
         
     | 
| 
      
 8105 
     | 
    
         
            +
              MuiButton: {
         
     | 
| 
      
 8106 
     | 
    
         
            +
                styleOverrides: {
         
     | 
| 
      
 8107 
     | 
    
         
            +
                  sizeSmall: {
         
     | 
| 
      
 8108 
     | 
    
         
            +
                    fontSize: 13,
         
     | 
| 
      
 8109 
     | 
    
         
            +
                    lineHeight: "22px",
         
     | 
| 
      
 8110 
     | 
    
         
            +
                    padding: 4
         
     | 
| 
      
 8111 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8112 
     | 
    
         
            +
                  sizeMedium: {
         
     | 
| 
      
 8113 
     | 
    
         
            +
                    fontSize: 14,
         
     | 
| 
      
 8114 
     | 
    
         
            +
                    lineHeight: "24px",
         
     | 
| 
      
 8115 
     | 
    
         
            +
                    padding: 6
         
     | 
| 
      
 8116 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8117 
     | 
    
         
            +
                  sizeLarge: {
         
     | 
| 
      
 8118 
     | 
    
         
            +
                    fontSize: 15,
         
     | 
| 
      
 8119 
     | 
    
         
            +
                    lineHeight: "26px",
         
     | 
| 
      
 8120 
     | 
    
         
            +
                    padding: 8
         
     | 
| 
      
 8121 
     | 
    
         
            +
                  }
         
     | 
| 
      
 8122 
     | 
    
         
            +
                }
         
     | 
| 
      
 8123 
     | 
    
         
            +
              },
         
     | 
| 
      
 8124 
     | 
    
         
            +
              MuiIconButton: {
         
     | 
| 
      
 8125 
     | 
    
         
            +
                styleOverrides: {
         
     | 
| 
      
 8126 
     | 
    
         
            +
                  sizeSmall: {
         
     | 
| 
      
 8127 
     | 
    
         
            +
                    padding: 4,
         
     | 
| 
      
 8128 
     | 
    
         
            +
                    "& .MuiSvgIcon-root": {
         
     | 
| 
      
 8129 
     | 
    
         
            +
                      padding: 24
         
     | 
| 
      
 8130 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8131 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8132 
     | 
    
         
            +
                  sizeMedium: {
         
     | 
| 
      
 8133 
     | 
    
         
            +
                    padding: 12,
         
     | 
| 
      
 8134 
     | 
    
         
            +
                    "& .MuiSvgIcon-root": {
         
     | 
| 
      
 8135 
     | 
    
         
            +
                      padding: 24
         
     | 
| 
      
 8136 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8137 
     | 
    
         
            +
                  }
         
     | 
| 
      
 8138 
     | 
    
         
            +
                }
         
     | 
| 
      
 8139 
     | 
    
         
            +
              },
         
     | 
| 
      
 8140 
     | 
    
         
            +
              MuiAccordion: {
         
     | 
| 
      
 8141 
     | 
    
         
            +
                styleOverrides: {
         
     | 
| 
      
 8142 
     | 
    
         
            +
                  root: {
         
     | 
| 
      
 8143 
     | 
    
         
            +
                    "& .MuiAccordionSummary-root .Mui-expanded .MuiAccordionSummary-gutters ": {
         
     | 
| 
      
 8144 
     | 
    
         
            +
                      padding: 2,
         
     | 
| 
      
 8145 
     | 
    
         
            +
                      "& .MuiAccordionDetails-root": {
         
     | 
| 
      
 8146 
     | 
    
         
            +
                        paddingTop: 8
         
     | 
| 
      
 8147 
     | 
    
         
            +
                      }
         
     | 
| 
      
 8148 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8149 
     | 
    
         
            +
                  }
         
     | 
| 
      
 8150 
     | 
    
         
            +
                }
         
     | 
| 
      
 8151 
     | 
    
         
            +
              },
         
     | 
| 
      
 8152 
     | 
    
         
            +
              MuiToggleButton: {
         
     | 
| 
      
 8153 
     | 
    
         
            +
                styleOverrides: {
         
     | 
| 
      
 8154 
     | 
    
         
            +
                  sizeSmall: {
         
     | 
| 
      
 8155 
     | 
    
         
            +
                    padding: 8
         
     | 
| 
      
 8156 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8157 
     | 
    
         
            +
                  sizeMedium: {
         
     | 
| 
      
 8158 
     | 
    
         
            +
                    padding: 12
         
     | 
| 
      
 8159 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8160 
     | 
    
         
            +
                  sizeLarge: {
         
     | 
| 
      
 8161 
     | 
    
         
            +
                    padding: 16
         
     | 
| 
      
 8162 
     | 
    
         
            +
                  },
         
     | 
| 
      
 8163 
     | 
    
         
            +
                  root: {
         
     | 
| 
      
 8164 
     | 
    
         
            +
                    "& .MuiSvgIcon-root .MuiSvgIcon-fontSizeMedium": {
         
     | 
| 
      
 8165 
     | 
    
         
            +
                      padding: 24
         
     | 
| 
      
 8166 
     | 
    
         
            +
                    }
         
     | 
| 
      
 8167 
     | 
    
         
            +
                  }
         
     | 
| 
      
 8168 
     | 
    
         
            +
                }
         
     | 
| 
      
 8169 
     | 
    
         
            +
              }
         
     | 
| 
      
 8170 
     | 
    
         
            +
            });
         
     | 
| 
       8083 
8171 
     | 
    
         
             
            var cosmosConfig = _objectSpread2(_objectSpread2({}, components), {}, {
         
     | 
| 
       8084 
8172 
     | 
    
         
             
              MuiCard: {
         
     | 
| 
       8085 
8173 
     | 
    
         
             
                styleOverrides: {
         
     | 
| 
         @@ -8280,6 +8368,32 @@ var BasicPalette = { 
     | 
|
| 
       8280 
8368 
     | 
    
         
             
                contrastText: "#5A5E73"
         
     | 
| 
       8281 
8369 
     | 
    
         
             
              }
         
     | 
| 
       8282 
8370 
     | 
    
         
             
            };
         
     | 
| 
      
 8371 
     | 
    
         
            +
            _objectSpread2({
         
     | 
| 
      
 8372 
     | 
    
         
            +
              primary: {
         
     | 
| 
      
 8373 
     | 
    
         
            +
                50: "#e4ecf4",
         
     | 
| 
      
 8374 
     | 
    
         
            +
                100: "#bcd0e3",
         
     | 
| 
      
 8375 
     | 
    
         
            +
                200: "#bcd0e3",
         
     | 
| 
      
 8376 
     | 
    
         
            +
                300: "#6392bd",
         
     | 
| 
      
 8377 
     | 
    
         
            +
                light: "#417aae",
         
     | 
| 
      
 8378 
     | 
    
         
            +
                main: "#2063a0",
         
     | 
| 
      
 8379 
     | 
    
         
            +
                600: "#1c5b98",
         
     | 
| 
      
 8380 
     | 
    
         
            +
                700: "#18518e",
         
     | 
| 
      
 8381 
     | 
    
         
            +
                800: "#134784",
         
     | 
| 
      
 8382 
     | 
    
         
            +
                dark: "#0b3573"
         
     | 
| 
      
 8383 
     | 
    
         
            +
              },
         
     | 
| 
      
 8384 
     | 
    
         
            +
              secondary: {
         
     | 
| 
      
 8385 
     | 
    
         
            +
                50: "#e0f7fa",
         
     | 
| 
      
 8386 
     | 
    
         
            +
                100: "#b3ebf2",
         
     | 
| 
      
 8387 
     | 
    
         
            +
                200: "#80deea",
         
     | 
| 
      
 8388 
     | 
    
         
            +
                300: "#4dd0e1",
         
     | 
| 
      
 8389 
     | 
    
         
            +
                light: "#26c6da",
         
     | 
| 
      
 8390 
     | 
    
         
            +
                main: "#00bcd4",
         
     | 
| 
      
 8391 
     | 
    
         
            +
                600: "#00b6cf",
         
     | 
| 
      
 8392 
     | 
    
         
            +
                700: "#00adc9",
         
     | 
| 
      
 8393 
     | 
    
         
            +
                800: "#00a5c3",
         
     | 
| 
      
 8394 
     | 
    
         
            +
                dark: "#0097b9"
         
     | 
| 
      
 8395 
     | 
    
         
            +
              }
         
     | 
| 
      
 8396 
     | 
    
         
            +
            }, BasicPalette);
         
     | 
| 
       8283 
8397 
     | 
    
         
             
            var paletteCosmos = _objectSpread2({
         
     | 
| 
       8284 
8398 
     | 
    
         
             
              primary: {
         
     | 
| 
       8285 
8399 
     | 
    
         
             
                50: "#f3f3ff",
         
     | 
| 
         @@ -12545,6 +12659,11 @@ var BasicTheme = { 
     | 
|
| 
       12545 
12659 
     | 
    
         
             
              breakpoints: breakpoints,
         
     | 
| 
       12546 
12660 
     | 
    
         
             
              shadows: shadows
         
     | 
| 
       12547 
12661 
     | 
    
         
             
            };
         
     | 
| 
      
 12662 
     | 
    
         
            +
            var BTKtheme = _objectSpread2({
         
     | 
| 
      
 12663 
     | 
    
         
            +
              palette: paletteERP,
         
     | 
| 
      
 12664 
     | 
    
         
            +
              components: components,
         
     | 
| 
      
 12665 
     | 
    
         
            +
              typography: typography
         
     | 
| 
      
 12666 
     | 
    
         
            +
            }, BasicTheme);
         
     | 
| 
       12548 
12667 
     | 
    
         
             
            var CosmoTheme = _objectSpread2({
         
     | 
| 
       12549 
12668 
     | 
    
         
             
              palette: paletteCosmos,
         
     | 
| 
       12550 
12669 
     | 
    
         
             
              components: cosmosConfig,
         
     | 
| 
         @@ -12571,6 +12690,11 @@ var CosmosTheme = createTheme(_objectSpread2(_objectSpread2({}, CosmoTheme), {}, 
     | 
|
| 
       12571 
12690 
     | 
    
         
             
              darken: darken,
         
     | 
| 
       12572 
12691 
     | 
    
         
             
              lighten: lighten
         
     | 
| 
       12573 
12692 
     | 
    
         
             
            }));
         
     | 
| 
      
 12693 
     | 
    
         
            +
            var BitakoraTheme = createTheme(_objectSpread2(_objectSpread2({}, BTKtheme), {}, {
         
     | 
| 
      
 12694 
     | 
    
         
            +
              alpha: alpha,
         
     | 
| 
      
 12695 
     | 
    
         
            +
              darken: darken,
         
     | 
| 
      
 12696 
     | 
    
         
            +
              lighten: lighten
         
     | 
| 
      
 12697 
     | 
    
         
            +
            }));
         
     | 
| 
       12574 
12698 
     | 
    
         
             
            var SincoTheme = createTheme(_objectSpread2(_objectSpread2({}, ERPTheme), {}, {
         
     | 
| 
       12575 
12699 
     | 
    
         
             
              alpha: alpha,
         
     | 
| 
       12576 
12700 
     | 
    
         
             
              darken: darken,
         
     | 
| 
         @@ -25636,4 +25760,4 @@ var useDynamicColor = function useDynamicColor(url) { 
     | 
|
| 
       25636 
25760 
     | 
    
         
             
              };
         
     | 
| 
       25637 
25761 
     | 
    
         
             
            };
         
     | 
| 
       25638 
25762 
     | 
    
         | 
| 
       25639 
     | 
    
         
            -
            export { ADCSincoTheme, AddCalendar, AdproSincoTheme, Ai, BarChart, BarChartHorizontal, BasicCalendar, Books, Box$1 as Box, BoxReceived, Boxes, Brick, Building, BussinesTarget, CalendarUserEvents, Call, CardRadio, Cement, Chat, CheckBill, CheckBillSearch, CheckDocSearch, CheckedCalendar, CircularChart, Click, ClipBoard, ClipBoardUser, Clock, Cloud, Coin, Config, ContactMails, Contacts, Conversation, CosmosTheme, Coupon, Crane, DaysCalendar, Develop, Diagram, Discount, Doc, DonutChart, DownloadDoc, DrawerComponent as Drawer, DrawerComponent, Drill, DuplicateTemplate, DynamicColor, EmailAddress, EmptyState, Engine, ErrorCalendar, ErrorDoc, EventsCalendar, Excavator, ExclamationBox, ExclamationCalendar, Flag, Flow, FooterAction, Gasoline, General, Hammer, Img, Law, Lego, Lift, Location, LockedFolder, Mail, Megaphone, Microphone, ModalSinco, MoneyBill, MoneyBillSearch, MoneyDoc, MoneyDocSearch, MountainFlag, Notification, OpenBox, OpenFolder, Padlock, PageHeaderComponent as PageHeader, PageHeaderComponent, PaintRoller, Pdf, PintPot, Ppt, ProgressSinco, Puzzle, QuestionBill, QuestionBillSearch, QuestionBox, QuestionDocSearch, Rar, ReceivedMail, ReloadDoc, SealedBox, SearchCountry, SearchHome, SearchMoney, SearchUser, ShippingBox, Sholve, SincoTheme, Speedometer, StackedChart, StarChart, StartPennant, Support, TextDoc, TextFolder, ToastNotification, ToolBox, TrafficCone, TrendChart, Trolly, TrollyBox, Truck, Txt, UnlockedCalendar, Upload, UploadDoc, UserConfig, UserFolder, Users, WhatsApp, Xls, Zip, stateConfig, useDynamicColor };
         
     | 
| 
      
 25763 
     | 
    
         
            +
            export { ADCSincoTheme, AddCalendar, AdproSincoTheme, Ai, BarChart, BarChartHorizontal, BasicCalendar, BitakoraTheme, Books, Box$1 as Box, BoxReceived, Boxes, Brick, Building, BussinesTarget, CalendarUserEvents, Call, CardRadio, Cement, Chat, CheckBill, CheckBillSearch, CheckDocSearch, CheckedCalendar, CircularChart, Click, ClipBoard, ClipBoardUser, Clock, Cloud, Coin, Config, ContactMails, Contacts, Conversation, CosmosTheme, Coupon, Crane, DaysCalendar, Develop, Diagram, Discount, Doc, DonutChart, DownloadDoc, DrawerComponent as Drawer, DrawerComponent, Drill, DuplicateTemplate, DynamicColor, EmailAddress, EmptyState, Engine, ErrorCalendar, ErrorDoc, EventsCalendar, Excavator, ExclamationBox, ExclamationCalendar, Flag, Flow, FooterAction, Gasoline, General, Hammer, Img, Law, Lego, Lift, Location, LockedFolder, Mail, Megaphone, Microphone, ModalSinco, MoneyBill, MoneyBillSearch, MoneyDoc, MoneyDocSearch, MountainFlag, Notification, OpenBox, OpenFolder, Padlock, PageHeaderComponent as PageHeader, PageHeaderComponent, PaintRoller, Pdf, PintPot, Ppt, ProgressSinco, Puzzle, QuestionBill, QuestionBillSearch, QuestionBox, QuestionDocSearch, Rar, ReceivedMail, ReloadDoc, SealedBox, SearchCountry, SearchHome, SearchMoney, SearchUser, ShippingBox, Sholve, SincoTheme, Speedometer, StackedChart, StarChart, StartPennant, Support, TextDoc, TextFolder, ToastNotification, ToolBox, TrafficCone, TrendChart, Trolly, TrollyBox, Truck, Txt, UnlockedCalendar, Upload, UploadDoc, UserConfig, UserFolder, Users, WhatsApp, Xls, Zip, stateConfig, useDynamicColor };
         
     | 
    
        package/package.json
    CHANGED
    
    
    
        package/src/lib/Theme/index.d.ts
    CHANGED
    
    | 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            export declare let CosmosTheme: import("@mui/material/styles").Theme;
         
     | 
| 
      
 2 
     | 
    
         
            +
            export declare let BitakoraTheme: import("@mui/material/styles").Theme;
         
     | 
| 
       2 
3 
     | 
    
         
             
            export declare const SincoTheme: import("@mui/material/styles").Theme;
         
     | 
| 
       3 
4 
     | 
    
         
             
            export declare let AdproSincoTheme: import("@mui/material/styles").Theme;
         
     | 
| 
       4 
5 
     | 
    
         
             
            export declare let ADCSincoTheme: import("@mui/material/styles").Theme;
         
     | 
| 
         @@ -1,5 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            import { PaletteOptions } from "@mui/material";
         
     | 
| 
       2 
2 
     | 
    
         
             
            export declare const BasicPalette: Partial<PaletteOptions>;
         
     | 
| 
      
 3 
     | 
    
         
            +
            export declare const paletteBitakora: PaletteOptions;
         
     | 
| 
       3 
4 
     | 
    
         
             
            export declare const paletteCosmos: PaletteOptions;
         
     | 
| 
       4 
5 
     | 
    
         
             
            export declare const paletteERP: PaletteOptions;
         
     | 
| 
       5 
6 
     | 
    
         
             
            export declare const paletteADPRO: PaletteOptions;
         
     | 
    
        package/src/lib/Theme/theme.d.ts
    CHANGED