@cloud-ru/ds-toolbar 2.1.8-preview-c0e895ed.0 → 2.1.8-preview-e8fe6b56.0
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/cjs/components/Toolbar/styles.module.css +3 -3
- package/dist/cjs/helperComponents/BulkActions/BulkActions.js +1 -1
- package/dist/cjs/helperComponents/BulkActions/components/BulkActionsControls/styles.module.css +1 -1
- package/dist/cjs/helperComponents/BulkActions/styles.module.css +2 -18
- package/dist/cjs/style.css +6 -22
- package/dist/esm/components/Toolbar/styles.module.css +3 -3
- package/dist/esm/helperComponents/BulkActions/BulkActions.js +1 -1
- package/dist/esm/helperComponents/BulkActions/components/BulkActionsControls/styles.module.css +1 -1
- package/dist/esm/helperComponents/BulkActions/styles.module.css +2 -18
- package/dist/esm/style.css +6 -22
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +16 -16
- package/src/helperComponents/BulkActions/BulkActions.tsx +5 -8
- package/src/helperComponents/BulkActions/components/BulkActionsControls/styles.module.scss +1 -1
- package/src/helperComponents/BulkActions/styles.module.scss +2 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/ds-toolbar",
|
|
3
|
-
"version": "2.1.8-preview-
|
|
3
|
+
"version": "2.1.8-preview-e8fe6b56.0",
|
|
4
4
|
"description": "Панель инструментов списков и таблиц — поиск, фильтры, массовые действия, меню «Ещё».",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@cloud-ru/ft-request-payload-transform": "^0.5.0",
|
|
43
43
|
"classnames": "^2.5.1",
|
|
44
|
-
"@cloud-ru/ds-
|
|
45
|
-
"@cloud-ru/ds-chips": "1.2.11-preview-
|
|
46
|
-
"@cloud-ru/ds-
|
|
47
|
-
"@cloud-ru/ds-
|
|
48
|
-
"@cloud-ru/ds-
|
|
49
|
-
"@cloud-ru/ds-
|
|
50
|
-
"@cloud-ru/ds-icons": "1.7.3-preview-c0e895ed.0",
|
|
51
|
-
"@cloud-ru/ds-bottom-sheet": "2.1.2-preview-c0e895ed.0",
|
|
44
|
+
"@cloud-ru/ds-adaptive": "1.0.4-preview-e8fe6b56.0",
|
|
45
|
+
"@cloud-ru/ds-chips": "1.2.11-preview-e8fe6b56.0",
|
|
46
|
+
"@cloud-ru/ds-bottom-sheet": "2.1.2-preview-e8fe6b56.0",
|
|
47
|
+
"@cloud-ru/ds-icons": "1.7.3-preview-e8fe6b56.0",
|
|
48
|
+
"@cloud-ru/ds-list": "3.1.2-preview-e8fe6b56.0",
|
|
49
|
+
"@cloud-ru/ds-materials": "2.0.3-preview-e8fe6b56.0",
|
|
52
50
|
"@cloud-ru/ds-locale": "1.0.0",
|
|
53
|
-
"@cloud-ru/ds-
|
|
54
|
-
"@cloud-ru/ds-
|
|
55
|
-
"@cloud-ru/ds-
|
|
56
|
-
"@cloud-ru/ds-
|
|
57
|
-
"@cloud-ru/ds-
|
|
58
|
-
"@cloud-ru/ds-
|
|
59
|
-
"@cloud-ru/ds-
|
|
51
|
+
"@cloud-ru/ds-portal-context": "1.0.4-preview-e8fe6b56.0",
|
|
52
|
+
"@cloud-ru/ds-scroll": "1.0.7-preview-e8fe6b56.0",
|
|
53
|
+
"@cloud-ru/ds-button": "1.0.6-preview-e8fe6b56.0",
|
|
54
|
+
"@cloud-ru/ds-search": "1.0.20-preview-e8fe6b56.0",
|
|
55
|
+
"@cloud-ru/ds-segment-control": "1.0.21-preview-e8fe6b56.0",
|
|
56
|
+
"@cloud-ru/ds-tag": "1.2.2-preview-e8fe6b56.0",
|
|
57
|
+
"@cloud-ru/ds-toggles": "1.1.16-preview-e8fe6b56.0",
|
|
58
|
+
"@cloud-ru/ds-tooltip": "1.0.19-preview-e8fe6b56.0",
|
|
59
|
+
"@cloud-ru/ds-utils": "1.3.1-preview-e8fe6b56.0"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
@@ -25,14 +25,11 @@ export function BulkActions({
|
|
|
25
25
|
return (
|
|
26
26
|
<>
|
|
27
27
|
<div className={styles.bulkTool} data-test-id={TEST_IDS.bulkTool}>
|
|
28
|
-
|
|
29
|
-
{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
)}
|
|
34
|
-
<SelectionLabel selectedCount={selectedCount} totalCount={totalCount} hasSelection={hasSelection} />
|
|
35
|
-
</div>
|
|
28
|
+
{showCheckboxInToolbar && (
|
|
29
|
+
<BulkActionsCheckbox checked={checked} indeterminate={indeterminate} onCheck={onCheck} />
|
|
30
|
+
)}
|
|
31
|
+
|
|
32
|
+
<SelectionLabel selectedCount={selectedCount} totalCount={totalCount} hasSelection={hasSelection} />
|
|
36
33
|
|
|
37
34
|
{showInlineActions && (
|
|
38
35
|
<BulkActionsControls variant='toolbar' actions={actions} resizingContainerRef={resizingContainerRef} />
|
|
@@ -7,7 +7,7 @@ $action-focus-padding: calc(2 * #{base.$sn-primitive-strokeWeight-strokeSemiBold
|
|
|
7
7
|
.actionsArea {
|
|
8
8
|
display: flex;
|
|
9
9
|
flex: 1 1 0;
|
|
10
|
-
gap: toolbar.$sn-toolbar-anatomy-container-tool-
|
|
10
|
+
gap: toolbar.$sn-toolbar-anatomy-container-tool-bulkAction-gap;
|
|
11
11
|
align-items: center;
|
|
12
12
|
|
|
13
13
|
box-sizing: border-box;
|
|
@@ -3,27 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
.bulkTool {
|
|
5
5
|
display: flex;
|
|
6
|
-
gap: toolbar.$sn-toolbar-anatomy-container-tool-
|
|
6
|
+
gap: toolbar.$sn-toolbar-anatomy-container-tool-bulkAction-gap;
|
|
7
7
|
align-items: center;
|
|
8
8
|
|
|
9
9
|
box-sizing: border-box;
|
|
10
10
|
width: 100%;
|
|
11
|
-
min-height:
|
|
11
|
+
min-height: base.$sn-primitive-dimension-24;
|
|
12
12
|
padding-left: toolbar.$sn-toolbar-anatomy-container-tool-bulkAction-paddingLeft;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
.volumeWrapper {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-shrink: 0;
|
|
18
|
-
gap: toolbar.$sn-toolbar-anatomy-container-tool-bulkTool-volumeWrapper-gap;
|
|
19
|
-
align-items: center;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.checkboxWrapper {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
|
|
28
|
-
@include base.composite-var(toolbar.$toolbar, 'anatomy', 'container', 'tool', 'bulkTool', 'volumeWrapper', 'checkboxWrapper');
|
|
29
|
-
}
|