@jobber/components 7.15.1 → 7.15.2
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.
|
@@ -9,6 +9,10 @@ import { DataListLayoutActions } from "./components/DataListLayoutActions";
|
|
|
9
9
|
import type { DataListBulkActionProps, DataListObject, DataListProps } from "./DataList.types";
|
|
10
10
|
import { DataListBulkActions } from "./components/DataListBulkActions";
|
|
11
11
|
import { DataListStatusBar } from "./components/DataListStatusBar";
|
|
12
|
+
/**
|
|
13
|
+
* Legacy component. Existing usages are supported but DataList should not
|
|
14
|
+
* be used for new implementations. Use DataTable composable atoms instead.
|
|
15
|
+
*/
|
|
12
16
|
export declare function DataList<T extends DataListObject>({ selected, sorting, ...props }: DataListProps<T>): React.JSX.Element;
|
|
13
17
|
export declare namespace DataList {
|
|
14
18
|
var Layout: typeof DataListLayout;
|
package/dist/DataList-cjs.js
CHANGED
|
@@ -23,6 +23,10 @@ var DataListStatusBar = require('./DataListStatusBar-cjs.js');
|
|
|
23
23
|
var Heading = require('./Heading-cjs.js');
|
|
24
24
|
var Spinner = require('./Spinner-cjs.js');
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Legacy component. Existing usages are supported but DataList should not
|
|
28
|
+
* be used for new implementations. Use DataTable composable atoms instead.
|
|
29
|
+
*/
|
|
26
30
|
function DataList(_a) {
|
|
27
31
|
var { selected = [], sorting } = _a, props = tslib_es6.__rest(_a, ["selected", "sorting"]);
|
|
28
32
|
const [layouts, setLayouts] = React.useState({});
|
package/dist/DataList-es.js
CHANGED
|
@@ -21,6 +21,10 @@ import { I as InternalDataListStatusBar, D as DataListStatusBar } from './DataLi
|
|
|
21
21
|
import { H as Heading } from './Heading-es.js';
|
|
22
22
|
import { S as Spinner } from './Spinner-es.js';
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Legacy component. Existing usages are supported but DataList should not
|
|
26
|
+
* be used for new implementations. Use DataTable composable atoms instead.
|
|
27
|
+
*/
|
|
24
28
|
function DataList(_a) {
|
|
25
29
|
var { selected = [], sorting } = _a, props = __rest(_a, ["selected", "sorting"]);
|
|
26
30
|
const [layouts, setLayouts] = useState({});
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# DataList
|
|
2
2
|
|
|
3
|
-
> **NOTICE:**
|
|
4
|
-
>
|
|
3
|
+
> **NOTICE:** DataList is a Legacy component and should not be used for new implementations.
|
|
4
|
+
> Use [DataTable](../DataTable/DataTable.md) composable atoms instead. Existing
|
|
5
|
+
> usages are supported.
|
|
5
6
|
|
|
6
7
|
DataList is used to show a collection list of similar items in a simpler manner
|
|
7
8
|
than [DataTable](../DataTable/DataTable.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "7.15.
|
|
3
|
+
"version": "7.15.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -583,5 +583,5 @@
|
|
|
583
583
|
"> 1%",
|
|
584
584
|
"IE 10"
|
|
585
585
|
],
|
|
586
|
-
"gitHead": "
|
|
586
|
+
"gitHead": "815ff3e508f8fa0645f29bc1e33929a614d12fe4"
|
|
587
587
|
}
|