@sinco/react 1.1.2-rc.6 → 1.1.2-rc.8

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
@@ -14501,9 +14501,7 @@ const DrawerComponent = ({
14501
14501
  gap: 1,
14502
14502
  py: 1.5,
14503
14503
  px: 1,
14504
- sx: {
14505
- bgcolor: theme => theme.palette.background.default
14506
- }
14504
+ bgcolor: "background.default"
14507
14505
  }, actions)));
14508
14506
  };
14509
14507
 
@@ -14680,7 +14678,7 @@ function PageHeaderWraps({
14680
14678
  }
14681
14679
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, item);
14682
14680
  }
14683
- const PageHeaderComponent = ({
14681
+ const PageHeader = ({
14684
14682
  title,
14685
14683
  subtitle,
14686
14684
  actions,
@@ -20233,4 +20231,4 @@ const useDynamicColor = url => {
20233
20231
  };
20234
20232
  };
20235
20233
 
20236
- export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FooterAction, PageHeaderComponent as PageHeader, PageHeaderComponent, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
20234
+ 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.6",
3
+ "version": "1.1.2-rc.8",
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,3 +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';
@@ -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;
package/src/module.d.ts CHANGED
@@ -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;