@applica-software-guru/react-admin 1.3.169 → 1.3.172
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/dist/ApplicaAdmin.d.ts +6 -1
- package/dist/ApplicaAdmin.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts +2 -0
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/ThemeToggler.d.ts +3 -0
- package/dist/components/Layout/ThemeToggler.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +57 -57
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +3650 -3632
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +56 -56
- package/dist/react-admin.umd.js.map +1 -1
- package/dist/themes/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/ApplicaAdmin.tsx +10 -2
- package/src/components/Layout/Layout.tsx +4 -1
- package/src/components/Layout/ThemeToggler.tsx +20 -0
- package/src/components/Layout/index.ts +2 -1
- package/src/themes/index.jsx +2 -1
package/dist/ApplicaAdmin.d.ts
CHANGED
|
@@ -125,6 +125,10 @@ export type ApplicaAdminProps = AdminProps & {
|
|
|
125
125
|
* This image must be a component with absolute positioning.
|
|
126
126
|
*/
|
|
127
127
|
background?: React.ReactNode;
|
|
128
|
+
/**
|
|
129
|
+
* Indicates whether the theme toggler should be displayed.
|
|
130
|
+
*/
|
|
131
|
+
enableThemeToggler: boolean;
|
|
128
132
|
};
|
|
129
133
|
/**
|
|
130
134
|
* Define a basic super cool application based on React Admin, Mantis Theme and our style.
|
|
@@ -134,7 +138,7 @@ export type ApplicaAdminProps = AdminProps & {
|
|
|
134
138
|
* @returns {React.ReactElement}
|
|
135
139
|
*/
|
|
136
140
|
declare const ApplicaAdmin: {
|
|
137
|
-
({ theme, themeConfig, apiUrl, defaultLocale, development, logoMain, logoIcon, loginPage, menu, name, copy, version, dataProvider, authProvider, errorHandler, error, notification, enableNotification, enableRegistration, enablePasswordRecover, queryClient, background, ...props }: ApplicaAdminProps): import("react/jsx-runtime").JSX.Element;
|
|
141
|
+
({ theme, themeConfig, apiUrl, defaultLocale, development, logoMain, logoIcon, loginPage, menu, name, copy, version, dataProvider, authProvider, errorHandler, error, notification, enableNotification, enableRegistration, enablePasswordRecover, queryClient, background, enableThemeToggler, ...props }: ApplicaAdminProps): import("react/jsx-runtime").JSX.Element;
|
|
138
142
|
defaultProps: {
|
|
139
143
|
fileFields: never[];
|
|
140
144
|
defaultLocale: string;
|
|
@@ -146,6 +150,7 @@ declare const ApplicaAdmin: {
|
|
|
146
150
|
enableForgotPassword: boolean;
|
|
147
151
|
loginPage: import("react/jsx-runtime").JSX.Element;
|
|
148
152
|
queryClient: QueryClient;
|
|
153
|
+
enableThemeToggler: boolean;
|
|
149
154
|
store: import("react-admin").Store;
|
|
150
155
|
title: string;
|
|
151
156
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicaAdmin.d.ts","sourceRoot":"","sources":["../../src/ApplicaAdmin.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAwD,WAAW,EAAuB,MAAM,YAAY,CAAC;AAGpH,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAU7D,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG;IAC3C;;;;;;OAMG;IACH,KAAK,EAAE,GAAG,CAAC;IACX;;;OAGG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;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AAC"}
|
|
@@ -5,12 +5,14 @@ type ILayoutProps = React.PropsWithChildren<{
|
|
|
5
5
|
version: string;
|
|
6
6
|
copy?: string;
|
|
7
7
|
error?: React.ComponentType<ErrorProps>;
|
|
8
|
+
enableThemeToggler: boolean;
|
|
8
9
|
}>;
|
|
9
10
|
declare const Layout: import("react").ForwardRefExoticComponent<{
|
|
10
11
|
name: string;
|
|
11
12
|
version: string;
|
|
12
13
|
copy?: string | undefined;
|
|
13
14
|
error?: import("react").ComponentType<ErrorProps> | undefined;
|
|
15
|
+
enableThemeToggler: boolean;
|
|
14
16
|
} & {
|
|
15
17
|
children?: import("react").ReactNode;
|
|
16
18
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAoB,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,UAAU,EAAoB,MAAM,kBAAkB,CAAC;AAQhE,KAAK,YAAY,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACxC,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC,CAAC;AAEH,QAAA,MAAM,MAAM;UAPJ,MAAM;aACH,MAAM;;;wBAGK,OAAO;;;;;;;;2CA0C3B,CAAC;AAEH,YAAY,EAAE,YAAY,EAAE,CAAC;AAE7B,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeToggler.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeToggler.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,+CAajB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAChE,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAChE,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|