@sinco/react 1.0.7 → 1.0.8-rc.0

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.0.7",
3
+ "version": "1.0.8-rc.0",
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
@@ -1,2 +1,4 @@
1
1
  export * from './lib/Theme';
2
2
  export * from './lib/Components';
3
+ export * from './lib/Hooks';
4
+ export * from './lib/Utils';
@@ -0,0 +1 @@
1
+ export * from './useDynamicColor';
@@ -0,0 +1,3 @@
1
+ export declare const useDynamicColor: (url: string) => {
2
+ loading: boolean;
3
+ };
@@ -0,0 +1,7 @@
1
+ import { PaletteColor, TypeBackground } from "@mui/material";
2
+ declare const dynamicColor: (src: string) => Promise<{
3
+ primaryColor: PaletteColor;
4
+ secondaryColor: PaletteColor;
5
+ backgroundColor: TypeBackground;
6
+ }>;
7
+ export default dynamicColor;
@@ -0,0 +1 @@
1
+ export * from './dynamicColor';