@applica-software-guru/react-admin 1.5.249 → 1.5.250
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/components/AuthWrapper.d.ts +2 -1
- package/dist/components/AuthWrapper.d.ts.map +1 -1
- package/dist/components/Layout/Footer.d.ts.map +1 -1
- package/dist/components/Layout/Layout.d.ts.map +1 -1
- package/dist/components/Layout/ThemeColor.d.ts +10 -0
- package/dist/components/Layout/ThemeColor.d.ts.map +1 -0
- package/dist/components/Layout/ThemeToggler.d.ts.map +1 -1
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/Layout/index.d.ts.map +1 -1
- package/dist/components/ra-fields/CoverField.d.ts +0 -1
- package/dist/components/ra-fields/CoverField.d.ts.map +1 -1
- package/dist/components/ra-inputs/FileInput.d.ts +0 -1
- package/dist/components/ra-inputs/FileInput.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +59 -59
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +7511 -7823
- 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/package.json +2 -2
- package/src/components/AuthWrapper.tsx +19 -13
- package/src/components/Layout/Footer.tsx +8 -1
- package/src/components/Layout/Layout.tsx +2 -0
- package/src/components/Layout/ThemeColor.tsx +24 -0
- package/src/components/Layout/ThemeToggler.tsx +0 -1
- package/src/components/Layout/index.ts +1 -0
- package/src/components/ra-fields/CoverField.tsx +0 -1
- package/src/components/ra-inputs/FileInput.tsx +0 -1
- package/src/playground/App.jsx +1 -0
- package/src/playground/config.jsx +3 -2
|
@@ -5,7 +5,8 @@ type AuthWrapperProps = PropsWithChildren<{
|
|
|
5
5
|
copy?: string;
|
|
6
6
|
background?: React.ReactNode | React.ComponentType;
|
|
7
7
|
logo?: React.ReactNode;
|
|
8
|
+
footer?: boolean;
|
|
8
9
|
}>;
|
|
9
|
-
declare function AuthWrapper({ version, name, copy, children, logo, background }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function AuthWrapper({ version, name, copy, children, logo, background, footer }: AuthWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
export { AuthWrapper };
|
|
11
12
|
//# sourceMappingURL=AuthWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuthWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/AuthWrapper.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,gBAAgB,GAAG,iBAAiB,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC;IACnD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC,CAAC;AAEH,iBAAS,WAAW,CAAC,EACnB,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,UAA2B,EAC3B,MAAa,EACd,EAAE,gBAAgB,2CA+BlB;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Footer.tsx"],"names":[],"mappings":"AAEA,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,iBAAS,MAAM,CAAC,KAAK,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Footer.tsx"],"names":[],"mappings":"AAEA,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,iBAAS,MAAM,CAAC,KAAK,EAAE,YAAY,2CAgBlC;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,UAAU,EAAoB,MAAM,kBAAkB,CAAC;AAGhE,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;AAC7B,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type ThemeColorProps = {
|
|
2
|
+
source?: 'paper' | 'default';
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* ThemeColor component is responsible for setting the theme color in the browser.
|
|
6
|
+
* It uses the current theme mode and the theme object to set the theme color.
|
|
7
|
+
*/
|
|
8
|
+
declare function ThemeColor({ source }: ThemeColorProps): null;
|
|
9
|
+
export { ThemeColor };
|
|
10
|
+
//# sourceMappingURL=ThemeColor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeColor.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeColor.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,CAAC;AACF;;;GAGG;AACH,iBAAS,UAAU,CAAC,EAAE,MAAgB,EAAE,EAAE,eAAe,QASxD;AAED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeToggler.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeToggler.tsx"],"names":[],"mappings":";AAIA,iBAAS,YAAY,IAAI,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"ThemeToggler.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/ThemeToggler.tsx"],"names":[],"mappings":";AAIA,iBAAS,YAAY,IAAI,GAAG,CAAC,OAAO,CAYnC;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
|
|
@@ -12,7 +12,6 @@ type CoverFieldProps = {
|
|
|
12
12
|
* @example
|
|
13
13
|
* // Suppose you have a property, in your record, called 'image' and it contains a base64 string related field called '_image'.
|
|
14
14
|
* // You can use this component as follows:
|
|
15
|
-
* import { CoverField } from 'ra-ui-applica';
|
|
16
15
|
* ...
|
|
17
16
|
* <CoverField source="image" />
|
|
18
17
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;CAChD,GAAG,UAAU,CAAC;AAEf
|
|
1
|
+
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAoB,MAAM,aAAa,CAAC;AAE3D,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;CAChD,GAAG,UAAU,CAAC;AAEf;;;;;;;;;;;;;;GAcG;AACH,iBAAS,UAAU,CAAC,EAClB,KAAK,EAAE,YAAkB,EACzB,MAAM,EAAE,aAAmB,EAC3B,MAAM,EAAE,aAAqB,EAC7B,OAAO,EAAE,cAA6B,EACtC,MAAM,EAAE,WAAW,EACnB,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA+B/B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -6,7 +6,6 @@ import { FileInputProps as RaFileInputProps } from 'react-admin';
|
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* // If you hav an object class with @File annotation, you can map it to a FileInput:
|
|
9
|
-
* import { FileInput } from 'ra-ui-applica';
|
|
10
9
|
* ...
|
|
11
10
|
* <FileInput source="file_property" />
|
|
12
11
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/FileInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA4B,cAAc,IAAI,gBAAgB,EAAoB,MAAM,aAAa,CAAC;AAwB7G
|
|
1
|
+
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-inputs/FileInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAA4B,cAAc,IAAI,gBAAgB,EAAoB,MAAM,aAAa,CAAC;AAwB7G;;;;;;;;;;;;GAYG;AACH,iBAAS,SAAS,CAAC,EAAE,QAA2C,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CA0ChH;AAED,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,gBAAgB,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,CAAC"}
|