@sinco/react 1.1.2-rc.7 → 1.1.2-rc.9

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -6927,7 +6927,8 @@ const components = {
6927
6927
  styleOverrides: {
6928
6928
  root: {
6929
6929
  ".MuiButtonBase-root.MuiAccordionSummary-root": {
6930
- minHeight: 44
6930
+ minHeight: 44,
6931
+ height: 44
6931
6932
  }
6932
6933
  }
6933
6934
  }
@@ -6956,6 +6957,11 @@ const components = {
6956
6957
  density: "compact"
6957
6958
  },
6958
6959
  styleOverrides: {
6960
+ columnHeader: {
6961
+ minHeight: 22,
6962
+ maxHeight: 22,
6963
+ lineHeight: 22
6964
+ },
6959
6965
  iconButtonContainer: {
6960
6966
  fontSize: 16
6961
6967
  },
@@ -14501,9 +14507,7 @@ const DrawerComponent = ({
14501
14507
  gap: 1,
14502
14508
  py: 1.5,
14503
14509
  px: 1,
14504
- sx: {
14505
- bgcolor: theme => theme.palette.background.default
14506
- }
14510
+ bgcolor: "background.default"
14507
14511
  }, actions)));
14508
14512
  };
14509
14513
 
@@ -14680,7 +14684,7 @@ function PageHeaderWraps({
14680
14684
  }
14681
14685
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item);
14682
14686
  }
14683
- const PageHeaderComponent = ({
14687
+ const PageHeader = ({
14684
14688
  title,
14685
14689
  subtitle,
14686
14690
  actions,
@@ -20233,4 +20237,4 @@ const useDynamicColor = url => {
20233
20237
  };
20234
20238
  };
20235
20239
 
20236
- export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FooterAction, PageHeaderComponent as PageHeader, PageHeaderComponent, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
20240
+ export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FooterAction, PageHeader, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.2-rc.7",
3
+ "version": "1.1.2-rc.9",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
package/src/index.d.ts CHANGED
@@ -2,4 +2,4 @@ export * from './lib/Theme';
2
2
  export * from './lib/Components';
3
3
  export * from './lib/Hooks';
4
4
  export * from './lib/Utils';
5
- export * from './module.';
5
+ export * from './module';
@@ -12,5 +12,4 @@ export declare function PageHeaderWraps({ item, color, variant, }: {
12
12
  color: string;
13
13
  variant: Variant;
14
14
  }): JSX.Element;
15
- export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
16
- export { PageHeaderComponent as PageHeader };
15
+ export declare const PageHeader: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => JSX.Element;
@@ -1,11 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { TypographyOptions } from '@mui/material/styles/createTypography';
3
- declare module '@mui/material/styles' {
4
- interface TypographyVariants {
5
- body3: React.CSSProperties;
6
- }
7
- interface TypographyVariantsOptions {
8
- body3?: React.CSSProperties;
9
- }
10
- }
11
2
  export declare const typography: TypographyOptions;
@@ -1,7 +1,16 @@
1
+ /// <reference types="react" />
1
2
  import "@mui/material/Typography";
2
3
  import "@mui/material/Radio";
3
4
  import "@mui/material/Checkbox";
4
5
  import "@mui/material/styles";
6
+ declare module '@mui/material/styles' {
7
+ interface TypographyVariants {
8
+ body3: React.CSSProperties;
9
+ }
10
+ interface TypographyVariantsOptions {
11
+ body3?: React.CSSProperties;
12
+ }
13
+ }
5
14
  declare module '@mui/material/Typography' {
6
15
  interface TypographyPropsVariantOverrides {
7
16
  body3: true;