@refinedev/antd 5.1.1 → 5.2.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 (57) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/dist/components/buttons/create/index.d.ts.map +1 -1
  3. package/dist/components/crud/show/index.d.ts.map +1 -1
  4. package/dist/components/index.d.ts +5 -0
  5. package/dist/components/index.d.ts.map +1 -1
  6. package/dist/components/pages/auth/components/forgotPassword/index.d.ts.map +1 -1
  7. package/dist/components/pages/auth/components/login/index.d.ts.map +1 -1
  8. package/dist/components/pages/auth/components/register/index.d.ts.map +1 -1
  9. package/dist/components/pages/auth/components/styles.d.ts +2 -0
  10. package/dist/components/pages/auth/components/styles.d.ts.map +1 -1
  11. package/dist/components/pages/auth/components/updatePassword/index.d.ts.map +1 -1
  12. package/dist/components/pages/auth/index.d.ts +4 -1
  13. package/dist/components/pages/auth/index.d.ts.map +1 -1
  14. package/dist/components/themedLayout/header/index.d.ts +4 -0
  15. package/dist/components/themedLayout/header/index.d.ts.map +1 -0
  16. package/dist/components/themedLayout/index.d.ts +4 -0
  17. package/dist/components/themedLayout/index.d.ts.map +1 -0
  18. package/dist/components/themedLayout/sider/index.d.ts +4 -0
  19. package/dist/components/themedLayout/sider/index.d.ts.map +1 -0
  20. package/dist/components/themedLayout/sider/styles.d.ts +3 -0
  21. package/dist/components/themedLayout/sider/styles.d.ts.map +1 -0
  22. package/dist/components/themedLayout/title/index.d.ts +4 -0
  23. package/dist/components/themedLayout/title/index.d.ts.map +1 -0
  24. package/dist/components/themedLayout/types.d.ts +3 -0
  25. package/dist/components/themedLayout/types.d.ts.map +1 -0
  26. package/dist/definitions/index.d.ts +1 -0
  27. package/dist/definitions/index.d.ts.map +1 -1
  28. package/dist/definitions/themes/index.d.ts +6 -0
  29. package/dist/definitions/themes/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/iife/index.js +4 -4
  33. package/dist/iife/index.js.map +1 -1
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +1 -1
  37. package/dist/index.js.map +1 -1
  38. package/package.json +4 -4
  39. package/refine.config.js +96 -0
  40. package/src/components/buttons/create/index.tsx +1 -0
  41. package/src/components/crud/show/index.tsx +1 -0
  42. package/src/components/index.ts +6 -0
  43. package/src/components/pages/auth/components/forgotPassword/index.tsx +53 -7
  44. package/src/components/pages/auth/components/login/index.tsx +61 -10
  45. package/src/components/pages/auth/components/register/index.tsx +63 -11
  46. package/src/components/pages/auth/components/styles.ts +14 -7
  47. package/src/components/pages/auth/components/updatePassword/index.tsx +51 -7
  48. package/src/components/pages/auth/index.tsx +7 -1
  49. package/src/components/themedLayout/header/index.tsx +44 -0
  50. package/src/components/themedLayout/index.tsx +41 -0
  51. package/src/components/themedLayout/sider/index.tsx +296 -0
  52. package/src/components/themedLayout/sider/styles.ts +9 -0
  53. package/src/components/themedLayout/title/index.tsx +81 -0
  54. package/src/components/themedLayout/types.ts +13 -0
  55. package/src/definitions/index.ts +1 -0
  56. package/src/definitions/themes/index.ts +50 -0
  57. package/src/index.tsx +2 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,82 @@
1
1
  # @pankod/refine-antd
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3912](https://github.com/refinedev/refine/pull/3912) [`0ffe70308b2`](https://github.com/refinedev/refine/commit/0ffe70308b24d2d70695399fb0a1b7b76bcf2ccb) Thanks [@alicanerdurmaz](https://github.com/alicanerdurmaz)! - - `RefineThemes` added. It contains predefined colors for the antd components.
8
+
9
+ ```tsx
10
+ import { RefineThemes } from "@refinedev/antd";
11
+ import { Refine } from "@refinedev/core";
12
+ import dataProvider from "@refinedev/simple-rest";
13
+
14
+ const App = () => {
15
+ // ---
16
+
17
+ return (
18
+ <ConfigProvider
19
+ theme={{
20
+ token: RefineThemes.Magenta.token,
21
+ }}
22
+ >
23
+ <Refine dataProvider={dataProvider("YOUR_API_URL")}>
24
+ {/** your app here */}
25
+ </Refine>
26
+ </ConfigProvider>
27
+ );
28
+ };
29
+ ```
30
+
31
+ - default title with icon added to `AuthPage`. It uses `ThemedTitle` component from `@refinedev/antd`. You can remove it by setting `title` prop to `false`.
32
+
33
+ ```tsx
34
+ <AuthPage title={false} />
35
+ ```
36
+
37
+ - `title` prop added to `AuthPage`'s `renderContent` prop to use in the custom content.
38
+
39
+ ```tsx
40
+ <AuthPage
41
+ renderContent={(content: React.ReactNode, title: React.ReactNode) => {
42
+ return (
43
+ <div
44
+ style={{
45
+ display: "flex",
46
+ flexDirection: "column",
47
+ justifyContent: "center",
48
+ alignItems: "center",
49
+ }}
50
+ >
51
+ {title}
52
+ <h1 style={{ color: "white" }}>Extra Header</h1>
53
+ {content}
54
+ <h1 style={{ color: "white" }}>Extra Footer</h1>
55
+ </div>
56
+ );
57
+ }}
58
+ />
59
+ ```
60
+
61
+ - `<ThemedLayout>`, `<ThemedSider>`, `<ThemedTitle>`, `<ThemedHeader>` created to use theme colors.
62
+
63
+ - `<EditButton>` in `<Show>` type changed to `primary`.
64
+ - `<CreateButton>` type changed to `primary`.
65
+
66
+ - `<AuthPage>` component uses colors from the theme.
67
+ - `<ThemedTitle>` added to `AuthPage`
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies [[`0ffe70308b2`](https://github.com/refinedev/refine/commit/0ffe70308b24d2d70695399fb0a1b7b76bcf2ccb)]:
72
+ - @refinedev/ui-types@1.2.0
73
+
74
+ ## 5.1.2
75
+
76
+ ### Patch Changes
77
+
78
+ - [#3885](https://github.com/refinedev/refine/pull/3885) [`5495ab7028e`](https://github.com/refinedev/refine/commit/5495ab7028e9cbd576948f2b347e6d00ddc87728) Thanks [@omeraplak](https://github.com/omeraplak)! - fix: header text color
79
+
3
80
  ## 5.1.1
4
81
 
5
82
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/create/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+EpD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/create/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgFpD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAwLpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/crud/show/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsB1B,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAyLpC,CAAC"}
@@ -3,6 +3,11 @@ export { Header } from "./layout/header";
3
3
  export { Sider } from "./layout/sider";
4
4
  export { Title } from "./layout/title";
5
5
  export * from "./layout/types";
6
+ export { ThemedLayout } from "./themedLayout";
7
+ export { ThemedHeader } from "./themedLayout/header";
8
+ export { ThemedSider } from "./themedLayout/sider";
9
+ export { ThemedTitle } from "./themedLayout/title";
10
+ export * from "./themedLayout/types";
6
11
  export * from "./buttons";
7
12
  export * from "./crud";
8
13
  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,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,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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAI1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EACZ,MAAM,MAAM,CAAC;AASd,aAAK,iBAAiB,GAAG,uBAAuB,CAC5C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6H1D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/forgotPassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAI1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAgBd,aAAK,iBAAiB,GAAG,uBAAuB,CAC5C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAkK1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,cAAc,EAKjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAUH,SAAS,EACT,WAAW,EAEX,SAAS,EACZ,MAAM,MAAM,CAAC;AAOd,aAAK,UAAU,GAAG,cAAc,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA0M1C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/login/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,cAAc,EAKjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAUH,SAAS,EACT,WAAW,EAEX,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,UAAU,GAAG,cAAc,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AACpE;;;;GAIG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAqP1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,iBAAiB,EAKpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAOd,aAAK,aAAa,GAAG,iBAAiB,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA8KhD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/register/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,iBAAiB,EAKpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAGZ,MAAM,MAAM,CAAC;AAed,aAAK,aAAa,GAAG,iBAAiB,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAC1E;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA0NhD,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import { CSSProperties } from "react";
2
2
  export declare const layoutStyles: CSSProperties;
3
3
  export declare const containerStyles: CSSProperties;
4
+ export declare const headStyles: CSSProperties;
5
+ export declare const bodyStyles: CSSProperties;
4
6
  export declare const titleStyles: CSSProperties;
5
7
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/pages/auth/components/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,EAAE,aAG1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,aAG7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,aAUzB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/pages/auth/components/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,YAAY,EAAE,aAAkB,CAAC;AAE9C,eAAO,MAAM,eAAe,EAAE,aAM7B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,aAGxB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,aAAiD,CAAC;AAE3E,eAAO,MAAM,WAAW,EAAE,aAUzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAG1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EACZ,MAAM,MAAM,CAAC;AAOd,aAAK,mBAAmB,GAAG,uBAAuB,CAC9C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyH5D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/pages/auth/components/updatePassword/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACH,uBAAuB,EAG1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EASH,WAAW,EACX,SAAS,EACT,SAAS,EAEZ,MAAM,MAAM,CAAC;AAed,aAAK,mBAAmB,GAAG,uBAAuB,CAC9C,WAAW,EACX,SAAS,EACT,SAAS,CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4J5D,CAAC"}
@@ -1,7 +1,10 @@
1
1
  import React from "react";
2
2
  import { CardProps, FormProps, LayoutProps } from "antd";
3
3
  import { AuthPageProps } from "@refinedev/core";
4
- export declare type AuthProps = AuthPageProps<LayoutProps, CardProps, FormProps>;
4
+ export declare type AuthProps = AuthPageProps<LayoutProps, CardProps, FormProps> & {
5
+ renderContent?: (content: React.ReactNode, title: React.ReactNode) => React.ReactNode;
6
+ title?: React.ReactNode;
7
+ };
5
8
  /**
6
9
  * **refine** has a default auth page form served on the `/login` route when the `authProvider` configuration is provided.
7
10
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAShD,oBAAY,SAAS,GAAG,aAAa,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgBxC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pages/auth/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAShD,oBAAY,SAAS,GAAG,aAAa,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,GAAG;IACvE,aAAa,CAAC,EAAE,CACZ,OAAO,EAAE,KAAK,CAAC,SAAS,EACxB,KAAK,EAAE,KAAK,CAAC,SAAS,KACrB,KAAK,CAAC,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgBxC,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutHeaderProps } from "../types";
3
+ export declare const ThemedHeader: React.FC<RefineThemedLayoutHeaderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutProps } from "./types";
3
+ export declare const ThemedLayout: React.FC<RefineThemedLayoutProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { RefineThemedLayoutSiderProps } from "../types";
3
+ export declare const ThemedSider: React.FC<RefineThemedLayoutSiderProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/themedLayout/sider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AA2BxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAMxD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAsQ9D,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/themedLayout/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 ThemedTitle: React.FC<RefineLayoutThemedTitleProps>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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,CAiD9D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { RefineThemedLayoutSiderProps, RefineThemedLayoutHeaderProps, RefineThemedLayoutProps, RefineLayoutThemedTitleProps } from "@refinedev/ui-types";
2
+ export type { RefineLayoutThemedTitleProps, RefineThemedLayoutSiderProps, RefineThemedLayoutHeaderProps, RefineThemedLayoutProps, };
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/themedLayout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,4BAA4B,EAC/B,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACR,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,GAC1B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./table";
2
2
  export * from "./upload";
3
+ export * from "./themes";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/definitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/definitions/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { ThemeConfig } from "antd";
2
+ declare type ThemeNames = "Blue" | "Purple" | "Magenta" | "Red" | "Orange" | "Yellow" | "Green";
3
+ declare type RefineThemes = Record<ThemeNames, ThemeConfig>;
4
+ export declare const RefineThemes: RefineThemes;
5
+ export {};
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/definitions/themes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAEnC,aAAK,UAAU,GACT,MAAM,GACN,QAAQ,GACR,SAAS,GACT,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,CAAC;AAEd,aAAK,YAAY,GAAG,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAEpD,eAAO,MAAM,YAAY,EAAE,YAoC1B,CAAC"}