@applica-software-guru/react-admin 1.5.316 → 1.5.318

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-lists/Datagrid/Datagrid.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAwF,MAAM,OAAO,CAAC;AACjH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EASL,aAAa,IAAI,eAAe,EACjC,MAAM,aAAa,CAAC;AAIrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,QAAA,MAAM,QAAQ,mBAqJS,CAAC;AAExB,KAAK,aAAa,GAAG,eAAe,GAClC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,kBAAkB,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,GAAG,OAAO,CAAC;CAC1D,CAAC;AA6BJ,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"Datagrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/ra-lists/Datagrid/Datagrid.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAwF,MAAM,OAAO,CAAC;AACjH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAQL,aAAa,IAAI,eAAe,EACjC,MAAM,aAAa,CAAC;AAMrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,QAAA,MAAM,QAAQ,mBA6JS,CAAC;AAExB,KAAK,aAAa,GAAG,eAAe,GAClC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG;IACtC;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,kBAAkB,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,EAAE,GAAG,OAAO,CAAC;CAC1D,CAAC;AA2BJ,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { SxProps } from '@mui/material/styles';
1
2
  import * as React from 'react';
2
3
  type EmptyProps = {
3
4
  /**
@@ -17,6 +18,28 @@ type EmptyProps = {
17
18
  **/
18
19
  className?: string;
19
20
  hasCreate?: boolean;
21
+ /**
22
+ * The icon of the empty page.
23
+ *
24
+ * @example <DropboxOutlined />
25
+ * @example <DropboxOutlined style={{ fontSize: '9em' }} />
26
+ **/
27
+ icon?: React.ReactNode;
28
+ /**
29
+ * The title of the empty page.
30
+ *
31
+ * @example 'No data available'
32
+ * @example translate('ra_text')
33
+ **/
34
+ title?: string | React.ReactNode;
35
+ /**
36
+ * The subtitle of the empty page.
37
+ *
38
+ * @example 'Please add some data'
39
+ * @example translate('ra_text')
40
+ **/
41
+ subtitle?: string | React.ReactNode;
42
+ sx?: SxProps;
20
43
  };
21
44
  /**
22
45
  * The Empty component is used to display a message when the list is empty.
@@ -25,7 +48,7 @@ type EmptyProps = {
25
48
  * @example
26
49
  * <List empty={<Empty actions={<Button label="Add" onClick={add} />} />} />
27
50
  */
28
- declare function Empty({ actions, className, hasCreate: _hasCreate, ...props }: EmptyProps): JSX.Element;
51
+ declare function Empty({ actions, className, hasCreate: _hasCreate, icon, title, subtitle, sx, ...props }: EmptyProps): JSX.Element;
29
52
  declare const EmptyClasses: {
30
53
  message: string;
31
54
  icon: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../../src/components/ra-lists/Empty.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,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