@sinco/react 1.2.5-rc.11 → 1.2.5-rc.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.5-rc.11",
3
+ "version": "1.2.5-rc.13",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -9,11 +9,11 @@
9
9
  "url": "https://github.com/SincosoftSAS/DesignSystem.git"
10
10
  },
11
11
  "peerDependencies": {
12
- "@emotion/react": "^11.11.0",
13
- "@mui/icons-material": "6.1.8",
12
+ "@emotion/react": "^11.14.0",
13
+ "@mui/icons-material": "7.2.0",
14
14
  "@mui/x-data-grid": "7.27.2",
15
- "react": "^18.2.0",
16
- "react-dom": "^18.2.0"
15
+ "react": "^19.0.0",
16
+ "react-dom": "^19.0.0"
17
17
  },
18
18
  "sideEffects": false,
19
19
  "module": "./index.esm.js",
@@ -20,5 +20,5 @@ export interface DrawerComponentProperties {
20
20
  anchor?: DrawerPosition;
21
21
  anchorActions: "flex-end" | "flex-start";
22
22
  }
23
- export declare const DrawerComponent: ({ open, onClose, title, width, children, actions, sx, sxHeader, sxContent, sxActions, color, backgroundColor, closeIconColor, headerColor, anchor, anchorActions, showActions, }: DrawerComponentProperties) => React.JSX.Element;
23
+ export declare const DrawerComponent: ({ open, onClose, title, width, children, actions, sx, sxHeader, sxContent, sxActions, backgroundColor, closeIconColor, headerColor, anchor, anchorActions, showActions, }: DrawerComponentProperties) => React.JSX.Element;
24
24
  export { DrawerComponent as Drawer };
@@ -1,13 +1,13 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  export type EmptyStateStates = 'create' | 'error' | 'noResult' | 'search';
3
+ export type EmptyStateSize = 'small' | 'large';
3
4
  export interface EmptyStateProperties {
4
5
  icon?: ReactNode;
5
6
  state?: EmptyStateStates;
7
+ size?: EmptyStateSize;
6
8
  title: string;
7
9
  subtitle?: string;
8
10
  actions?: ReactNode;
9
- iconStyle?: React.CSSProperties;
10
11
  containerHeight?: string;
11
12
  }
12
- export declare const EmptyStateComponent: ({ state, title, subtitle, actions, containerHeight, iconStyle, icon, }: EmptyStateProperties) => React.JSX.Element;
13
- export { EmptyStateComponent as EmptyState };
13
+ export declare const EmptyState: ({ state, size, title, subtitle, actions, containerHeight, icon, }: EmptyStateProperties) => React.JSX.Element;