@refinedev/antd 5.18.2 → 5.20.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.
@@ -6,4 +6,5 @@ export * from "./list";
6
6
  export * from "./useFileUploadState";
7
7
  export * from "./modal";
8
8
  export * from "./useSiderVisible";
9
+ export * from "./useThemedLayoutContext";
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC"}
@@ -1,4 +1,11 @@
1
- import { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
2
- export declare type UseSiderVisibleType = IThemedLayoutContext;
1
+ export declare type UseSiderVisibleType = {
2
+ siderVisible: boolean;
3
+ drawerSiderVisible: boolean;
4
+ setSiderVisible: (visible: boolean) => void;
5
+ setDrawerSiderVisible: (visible: boolean) => void;
6
+ };
7
+ /**
8
+ * @deprecated Please use `useThemedLayoutContext` instead.
9
+ */
3
10
  export declare const useSiderVisible: () => UseSiderVisibleType;
4
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSiderVisible/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE1F,oBAAY,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,eAAO,MAAM,eAAe,QAAO,mBAclC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useSiderVisible/index.ts"],"names":[],"mappings":"AAIA,oBAAY,mBAAmB,GAAG;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5C,qBAAqB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,mBAclC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { IThemedLayoutContext } from "@contexts/themedLayoutContext/IThemedLayoutContext";
2
+ export declare type UseThemedLayoutContextType = IThemedLayoutContext;
3
+ export declare const useThemedLayoutContext: () => UseThemedLayoutContextType;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedLayoutContext/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE1F,oBAAY,0BAA0B,GAAG,oBAAoB,CAAC;AAE9D,eAAO,MAAM,sBAAsB,QAAO,0BAczC,CAAC"}