@refinedev/antd 5.5.2 → 5.7.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/components/index.d.ts +5 -0
  3. package/dist/components/index.d.ts.map +1 -1
  4. package/dist/components/themedLayout/header/index.d.ts +3 -0
  5. package/dist/components/themedLayout/header/index.d.ts.map +1 -1
  6. package/dist/components/themedLayout/index.d.ts +3 -0
  7. package/dist/components/themedLayout/index.d.ts.map +1 -1
  8. package/dist/components/themedLayout/sider/index.d.ts +3 -0
  9. package/dist/components/themedLayout/sider/index.d.ts.map +1 -1
  10. package/dist/components/themedLayout/title/index.d.ts +3 -0
  11. package/dist/components/themedLayout/title/index.d.ts.map +1 -1
  12. package/dist/components/themedLayoutV2/header/index.d.ts +4 -0
  13. package/dist/components/themedLayoutV2/header/index.d.ts.map +1 -0
  14. package/dist/components/themedLayoutV2/index.d.ts +4 -0
  15. package/dist/components/themedLayoutV2/index.d.ts.map +1 -0
  16. package/dist/components/themedLayoutV2/sider/index.d.ts +4 -0
  17. package/dist/components/themedLayoutV2/sider/index.d.ts.map +1 -0
  18. package/dist/components/themedLayoutV2/sider/styles.d.ts +3 -0
  19. package/dist/components/themedLayoutV2/sider/styles.d.ts.map +1 -0
  20. package/dist/components/themedLayoutV2/title/index.d.ts +4 -0
  21. package/dist/components/themedLayoutV2/title/index.d.ts.map +1 -0
  22. package/dist/components/themedLayoutV2/types.d.ts +3 -0
  23. package/dist/components/themedLayoutV2/types.d.ts.map +1 -0
  24. package/dist/contexts/index.d.ts +2 -0
  25. package/dist/contexts/index.d.ts.map +1 -0
  26. package/dist/contexts/themedLayoutContext/IThemedLayoutContext.d.ts +7 -0
  27. package/dist/contexts/themedLayoutContext/IThemedLayoutContext.d.ts.map +1 -0
  28. package/dist/contexts/themedLayoutContext/index.d.ts +7 -0
  29. package/dist/contexts/themedLayoutContext/index.d.ts.map +1 -0
  30. package/dist/esm/index.js +1 -1
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/hooks/fields/useCheckboxGroup/index.d.ts +11 -9
  33. package/dist/hooks/fields/useCheckboxGroup/index.d.ts.map +1 -1
  34. package/dist/hooks/fields/useRadioGroup/index.d.ts +11 -9
  35. package/dist/hooks/fields/useRadioGroup/index.d.ts.map +1 -1
  36. package/dist/hooks/fields/useSelect/index.d.ts +5 -3
  37. package/dist/hooks/fields/useSelect/index.d.ts.map +1 -1
  38. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts +3 -3
  39. package/dist/hooks/form/useDrawerForm/useDrawerForm.d.ts.map +1 -1
  40. package/dist/hooks/form/useForm.d.ts +3 -3
  41. package/dist/hooks/form/useForm.d.ts.map +1 -1
  42. package/dist/hooks/form/useModalForm/useModalForm.d.ts +3 -3
  43. package/dist/hooks/form/useModalForm/useModalForm.d.ts.map +1 -1
  44. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts +3 -3
  45. package/dist/hooks/form/useStepsForm/useStepsForm.d.ts.map +1 -1
  46. package/dist/hooks/index.d.ts +1 -0
  47. package/dist/hooks/index.d.ts.map +1 -1
  48. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts +6 -5
  49. package/dist/hooks/list/useSimpleList/useSimpleList.d.ts.map +1 -1
  50. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts +12 -5
  51. package/dist/hooks/table/useEditableTable/useEditableTable.d.ts.map +1 -1
  52. package/dist/hooks/table/useTable/useTable.d.ts +9 -3
  53. package/dist/hooks/table/useTable/useTable.d.ts.map +1 -1
  54. package/dist/hooks/useSiderVisible/index.d.ts +4 -0
  55. package/dist/hooks/useSiderVisible/index.d.ts.map +1 -0
  56. package/dist/iife/index.js +12 -6
  57. package/dist/iife/index.js.map +1 -1
  58. package/dist/index.d.ts +1 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/index.js.map +1 -1
  62. package/package.json +4 -4
  63. package/refine.config.js +122 -1
  64. package/src/components/index.ts +6 -0
  65. package/src/components/themedLayout/header/index.tsx +3 -0
  66. package/src/components/themedLayout/index.tsx +3 -0
  67. package/src/components/themedLayout/sider/index.tsx +3 -0
  68. package/src/components/themedLayout/title/index.tsx +3 -0
  69. package/src/components/themedLayoutV2/header/index.tsx +44 -0
  70. package/src/components/themedLayoutV2/index.tsx +44 -0
  71. package/src/components/themedLayoutV2/sider/index.tsx +324 -0
  72. package/src/components/themedLayoutV2/sider/styles.ts +9 -0
  73. package/src/components/themedLayoutV2/title/index.tsx +85 -0
  74. package/src/components/themedLayoutV2/types.ts +13 -0
  75. package/src/contexts/index.ts +4 -0
  76. package/src/contexts/themedLayoutContext/IThemedLayoutContext.ts +6 -0
  77. package/src/contexts/themedLayoutContext/index.tsx +28 -0
  78. package/src/hooks/fields/useCheckboxGroup/index.ts +20 -13
  79. package/src/hooks/fields/useRadioGroup/index.ts +20 -13
  80. package/src/hooks/fields/useSelect/index.ts +8 -4
  81. package/src/hooks/form/useDrawerForm/useDrawerForm.ts +11 -7
  82. package/src/hooks/form/useForm.ts +15 -6
  83. package/src/hooks/form/useModalForm/useModalForm.ts +13 -9
  84. package/src/hooks/form/useStepsForm/useStepsForm.ts +13 -8
  85. package/src/hooks/index.ts +1 -0
  86. package/src/hooks/list/useSimpleList/useSimpleList.ts +12 -8
  87. package/src/hooks/table/useEditableTable/useEditableTable.ts +30 -13
  88. package/src/hooks/table/useTable/useTable.ts +21 -14
  89. package/src/hooks/useSiderVisible/index.ts +22 -0
  90. package/src/index.tsx +1 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @pankod/refine-antd
2
2
 
3
+ ## 5.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4193](https://github.com/refinedev/refine/pull/4193) [`3d28fccc1ca`](https://github.com/refinedev/refine/commit/3d28fccc1ca14cdf316d518935cb6c17500c62a4) Thanks [@yildirayunlu](https://github.com/yildirayunlu)! - feat: add `ThemedLayoutV2` component and `useSiderVisible` hook
8
+
9
+ `ThemeLayout` is deprecated. Added `ThemedLayoutV2` instead. This update fixed some UI problems in the layout. Also, with the new `useSiderVisible` hook, it's easier to collapse/uncollapse the `Sider`.
10
+
11
+ See here for detailed [migration guideline](https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2).
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`deec38a034a`](https://github.com/refinedev/refine/commit/deec38a034a0b5ab2d7842e428f6fc3a1b8561fa)]:
16
+ - @refinedev/ui-types@1.8.0
17
+
18
+ ## 5.6.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#4113](https://github.com/refinedev/refine/pull/4113) [`1c13602e308`](https://github.com/refinedev/refine/commit/1c13602e308ffba93099922c144966f25fb2087d) Thanks [@salihozdemir](https://github.com/salihozdemir)! - Added missing third generic parameter to hooks which are using `useQuery` internally.
23
+
24
+ For example:
25
+
26
+ ```ts
27
+ import { useOne, HttpError } from "@refinedev/core";
28
+
29
+ const { data } = useOne<{ count: string }, HttpError, { count: number }>({
30
+ resource: "product-count",
31
+ queryOptions: {
32
+ select: (rawData) => {
33
+ return {
34
+ data: {
35
+ count: Number(rawData?.data?.count),
36
+ },
37
+ };
38
+ },
39
+ },
40
+ });
41
+
42
+ console.log(typeof data?.data.count); // number
43
+ ```
44
+
45
+ ### Patch Changes
46
+
47
+ - [#4113](https://github.com/refinedev/refine/pull/4113) [`1c13602e308`](https://github.com/refinedev/refine/commit/1c13602e308ffba93099922c144966f25fb2087d) Thanks [@salihozdemir](https://github.com/salihozdemir)! - Updated the generic type name of hooks that use `useQuery` to synchronize generic type names with `tanstack-query`.
48
+
3
49
  ## 5.5.2
4
50
 
5
51
  ### Patch Changes
@@ -8,6 +8,11 @@ export { ThemedHeader } from "./themedLayout/header";
8
8
  export { ThemedSider } from "./themedLayout/sider";
9
9
  export { ThemedTitle } from "./themedLayout/title";
10
10
  export * from "./themedLayout/types";
11
+ export { ThemedLayoutV2 } from "./themedLayoutV2";
12
+ export { ThemedHeaderV2 } from "./themedLayoutV2/header";
13
+ export { ThemedSiderV2 } from "./themedLayoutV2/sider";
14
+ export { ThemedTitleV2 } from "./themedLayoutV2/title";
15
+ export * from "./themedLayoutV2/types";
11
16
  export * from "./buttons";
12
17
  export * from "./crud";
13
18
  export * from "./fields";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,cAAc,sBAAsB,CAAC;AAErC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,cAAc,sBAAsB,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,cAAc,wBAAwB,CAAC;AAEvC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import React from "react";
2
2
  import { RefineThemedLayoutHeaderProps } from "../types";
3
+ /**
4
+ * @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
5
+ */
3
6
  export declare const ThemedHeader: React.FC<RefineThemedLayoutHeaderProps>;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAKzD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAmChE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAKzD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAmChE,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import React from "react";
2
2
  import { RefineThemedLayoutProps } from "./types";
3
+ /**
4
+ * @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
5
+ */
3
6
  export declare const ThemedLayout: React.FC<RefineThemedLayoutProps>;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/themedLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiC1D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/themedLayout/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiC1D,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import React from "react";
2
2
  import { RefineThemedLayoutSiderProps } from "../types";
3
+ /**
4
+ * @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
5
+ */
3
6
  export declare const ThemedSider: React.FC<RefineThemedLayoutSiderProps>;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4BxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAMxD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CA0R9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA4BxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAMxD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CA0R9D,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import React from "react";
2
2
  import { RefineLayoutThemedTitleProps } from "../types";
3
+ /**
4
+ * @deprecated It is recommended to use the improved `ThemedLayoutV2`. Review migration guidelines. https://refine.dev/docs/api-reference/antd/components/antd-themed-layout/#migrate-themedlayout-to-themedlayoutv2
5
+ */
3
6
  export declare const ThemedTitle: React.FC<RefineLayoutThemedTitleProps>;
4
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AA4BxD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqD9D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AA4BxD;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqD9D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutV2HeaderProps } from "../types";
3
+ export declare const ThemedHeaderV2: React.FC<RefineThemedLayoutV2HeaderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAK3D,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,+BAA+B,CAmCpE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutV2Props } from "./types";
3
+ export declare const ThemedLayoutV2: React.FC<RefineThemedLayoutV2Props>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/themedLayoutV2/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAGpD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAmC9D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutV2SiderProps } from "../types";
3
+ export declare const ThemedSiderV2: React.FC<RefineThemedLayoutV2SiderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA4B1B,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAO1D,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAgSlE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { CSSProperties } from "react";
2
+ export declare const drawerButtonStyles: CSSProperties;
3
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/sider/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,kBAAkB,EAAE,aAMhC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineLayoutThemedTitleProps } from "../types";
3
+ export declare const ThemedTitleV2: React.FC<RefineLayoutThemedTitleProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayoutV2/title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AA4BxD,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqDhE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { RefineThemedLayoutV2SiderProps, RefineThemedLayoutV2HeaderProps, RefineThemedLayoutV2Props, RefineLayoutThemedTitleProps } from "@refinedev/ui-types";
2
+ export type { RefineLayoutThemedTitleProps, RefineThemedLayoutV2SiderProps, RefineThemedLayoutV2HeaderProps, RefineThemedLayoutV2Props, };
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/themedLayoutV2/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,8BAA8B,EAC9B,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC/B,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACR,4BAA4B,EAC5B,8BAA8B,EAC9B,+BAA+B,EAC/B,yBAAyB,GAC5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ThemedLayoutContext, ThemedLayoutContextProvider, } from "./themedLayoutContext";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,2BAA2B,GAC9B,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface IThemedLayoutContext {
2
+ siderVisible: boolean;
3
+ drawerSiderVisible: boolean;
4
+ setSiderVisible?: (visible: boolean) => void;
5
+ setDrawerSiderVisible?: (visible: boolean) => void;
6
+ }
7
+ //# sourceMappingURL=IThemedLayoutContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IThemedLayoutContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/themedLayoutContext/IThemedLayoutContext.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACjC,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACtD"}
@@ -0,0 +1,7 @@
1
+ import React, { ReactNode } from "react";
2
+ import { IThemedLayoutContext } from "./IThemedLayoutContext";
3
+ export declare const ThemedLayoutContext: React.Context<IThemedLayoutContext>;
4
+ export declare const ThemedLayoutContextProvider: React.FC<{
5
+ children: ReactNode;
6
+ }>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/themedLayoutContext/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,eAAO,MAAM,mBAAmB,qCAG9B,CAAC;AAEH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAkBzE,CAAC"}