Skip to content

Commit 42cb678

Browse files
committed
chore: Add in SelectAllActions and update BulkActions
chore: begin tests chore: remove icons
1 parent a192e36 commit 42cb678

File tree

19 files changed

+693
-566
lines changed

19 files changed

+693
-566
lines changed

polaris-react/src/components/BulkActions/BulkActions.scss

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,25 @@ $bulk-actions-button-stacking-order: (
77

88
.Group {
99
@include text-style-input;
10-
width: 100%;
1110
display: none;
1211
align-items: center;
1312
flex-wrap: wrap;
1413
opacity: 0;
14+
width: 90vw;
15+
justify-content: center;
16+
17+
@media #{$p-breakpoints-sm-up} {
18+
display: flex;
19+
20+
&.Group-exiting {
21+
transition: none;
22+
}
23+
24+
&.Group-exited {
25+
opacity: 0;
26+
display: none;
27+
}
28+
}
1529

1630
&.Group-measuring {
1731
transition: none;
@@ -36,29 +50,6 @@ $bulk-actions-button-stacking-order: (
3650
display: none;
3751
}
3852

39-
.Group-smallScreen {
40-
@media #{$p-breakpoints-sm-up} {
41-
display: none;
42-
}
43-
}
44-
45-
.Group-largeScreen {
46-
display: none;
47-
48-
@media #{$p-breakpoints-sm-up} {
49-
display: flex;
50-
51-
&.Group-exiting {
52-
transition: none;
53-
}
54-
55-
&.Group-exited {
56-
opacity: 0;
57-
display: none;
58-
}
59-
}
60-
}
61-
6253
.ButtonGroupWrapper {
6354
width: 100%;
6455
max-width: 100%;
@@ -74,7 +65,10 @@ $bulk-actions-button-stacking-order: (
7465
@media #{$p-breakpoints-sm-up} {
7566
width: auto;
7667
justify-content: flex-start;
77-
margin-right: var(--p-space-2);
68+
padding: var(--p-space-4);
69+
background: var(--p-surface);
70+
border-radius: var(--p-border-radius-2);
71+
box-shadow: var(--p-shadow-popover);
7872
}
7973

8074
.Group-measuring & {

0 commit comments

Comments
 (0)