@jobber/components 7.15.0 → 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/dist/styles.css
CHANGED
|
@@ -4365,6 +4365,43 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
4365
4365
|
opacity: 0.4;
|
|
4366
4366
|
}
|
|
4367
4367
|
|
|
4368
|
+
/*
|
|
4369
|
+
* Match the wrapper's INNER border arc when the stepper sits at the wrapper's
|
|
4370
|
+
* right edge so the hover background follows the curve flush. Only fires when
|
|
4371
|
+
* nothing follows the stepper (no suffix label/icon in default mode, no later
|
|
4372
|
+
* child in compound mode). Button radius = outer radius - border width.
|
|
4373
|
+
*/
|
|
4374
|
+
|
|
4375
|
+
:where(
|
|
4376
|
+
.c20czk-FSyY- > .t42w4ZDiDyI-:last-child,
|
|
4377
|
+
.c20czk-FSyY- > .k9dAO6d010o-:last-child > .t42w4ZDiDyI-
|
|
4378
|
+
)
|
|
4379
|
+
> .zzrCzYF-8u0-:first-child {
|
|
4380
|
+
border-top-right-radius: calc(
|
|
4381
|
+
8px -
|
|
4382
|
+
1px
|
|
4383
|
+
);
|
|
4384
|
+
border-top-right-radius: calc(
|
|
4385
|
+
var(--public-field--top-right-radius, var(--radius-base)) -
|
|
4386
|
+
var(--border-base)
|
|
4387
|
+
);
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
:where(
|
|
4391
|
+
.c20czk-FSyY- > .t42w4ZDiDyI-:last-child,
|
|
4392
|
+
.c20czk-FSyY- > .k9dAO6d010o-:last-child > .t42w4ZDiDyI-
|
|
4393
|
+
)
|
|
4394
|
+
> .zzrCzYF-8u0-:last-child {
|
|
4395
|
+
border-bottom-right-radius: calc(
|
|
4396
|
+
8px -
|
|
4397
|
+
1px
|
|
4398
|
+
);
|
|
4399
|
+
border-bottom-right-radius: calc(
|
|
4400
|
+
var(--public-field--bottom-right-radius, var(--radius-base)) -
|
|
4401
|
+
var(--border-base)
|
|
4402
|
+
);
|
|
4403
|
+
}
|
|
4404
|
+
|
|
4368
4405
|
._0mcAZAtwQ2o- {
|
|
4369
4406
|
display: -ms-flexbox;
|
|
4370
4407
|
display: flex;
|
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
|
}
|