@applica-software-guru/react-admin 1.5.254 → 1.5.256
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/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-fields/CoverField.d.ts +3 -1
- package/dist/components/ra-fields/CoverField.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +54 -56
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +5229 -5276
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +53 -55
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-buttons/CreateInDialogButton.tsx +21 -19
- package/src/components/ra-buttons/EditInDialogButton.tsx +35 -24
- package/src/components/ra-fields/CoverField.tsx +6 -2
- package/src/playground/components/ra-forms/CategoryForm.jsx +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"CreateInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/CreateInDialogButton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAiC,MAAM,eAAe,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAgB,iBAAiB,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAC;AACzG,OAAc,EAAY,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAClF,OAAO,EAAE,WAAW,EAAkB,MAAM,iBAAiB,CAAC;AAwB9D,KAAK,qBAAqB,GAAG,iBAAiB,GAC5C,WAAW,GAAG;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAsBJ,KAAK,mBAAmB,GAAG,MAAM,IAAI,CAAC;AACtC,KAAK,cAAc,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,KAAK,IAAI,CAAC;AAuBtF,KAAK,yBAAyB,GAAG,iBAAiB,GAChD,WAAW,GACX,qBAAqB,GAAG;IACtB,QAAQ,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC;AACJ,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAwE7D;AAED,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAChC,YAAY,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/EditInDialogButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"EditInDialogButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-buttons/EditInDialogButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAyB,MAAM,eAAe,CAAC;AAElE,OAAO,EAAc,SAAS,EAAc,MAAM,kBAAkB,CAAC;AACrE,OAAc,EAAY,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAClF,OAAO,EAAE,WAAW,EAAkB,MAAM,iBAAiB,CAAC;AAE9D,KAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAcF,KAAK,mBAAmB,GAAG,MAAM,IAAI,CAAC;AACtC,KAAK,cAAc,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,mBAAmB,KAAK,IAAI,CAAC;AA2BtF,KAAK,uBAAuB,GAAG,iBAAiB,GAC9C,SAAS,GACT,qBAAqB,GAAG;IACtB,QAAQ,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACrC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,CAAC;AACJ,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,GAAG,GAAG,CAAC,OAAO,CAwEvE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
2
3
|
import { FieldProps } from 'react-admin';
|
|
3
4
|
type CoverFieldProps = {
|
|
4
5
|
width?: number | string;
|
|
5
6
|
height?: number | string;
|
|
6
7
|
circle?: boolean;
|
|
7
8
|
justify?: 'flex-start' | 'center' | 'flex-end';
|
|
9
|
+
sx?: SxProps;
|
|
8
10
|
} & FieldProps;
|
|
9
11
|
/**
|
|
10
12
|
* A component that displays an image in a circle or square (with minimum radius).
|
|
@@ -21,7 +23,7 @@ type CoverFieldProps = {
|
|
|
21
23
|
* // With custom width/height:
|
|
22
24
|
* <CoverField source="image" width={100} height={100} />
|
|
23
25
|
*/
|
|
24
|
-
declare function CoverField({ width: defaultWidth, height: defaultHeight, circle: defaultCircle, justify: defaultJustify, record: _propRecord, ...props }: CoverFieldProps): JSX.Element;
|
|
26
|
+
declare function CoverField({ width: defaultWidth, height: defaultHeight, circle: defaultCircle, justify: defaultJustify, record: _propRecord, sx: _sx, ...props }: CoverFieldProps): JSX.Element;
|
|
25
27
|
export { CoverField };
|
|
26
28
|
export type { CoverFieldProps };
|
|
27
29
|
//# sourceMappingURL=CoverField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CoverField.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-fields/CoverField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,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;IAC/C,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,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,EAAE,EAAE,GAAG,EACP,GAAG,KAAK,EACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CAgC/B;AAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|