Skip to content

Commit 1630c0f

Browse files
committed
[WIP] Ensure non-responsive React props are properly encapsulated when converted to CSS Custom Properties
1 parent 8086069 commit 1630c0f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
@import '../../styles/common';
22

33
.HorizontalStack {
4-
@include responsive-props('horizontal-stack', 'gap', 'gap');
54
display: flex;
6-
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
7-
flex-wrap: var(--pc-horizontal-stack-wrap);
8-
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
9-
align-items: var(--pc-horizontal-stack-block-align);
10-
// stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
11-
justify-content: var(--pc-horizontal-stack-align);
5+
@include responsive-props('horizontal-stack', 'gap', 'gap');
6+
@include non-responsive-prop('horizontal-stack', 'wrap', 'flex-wrap');
7+
@include non-responsive-prop(
8+
'horizontal-stack',
9+
'block-align',
10+
'align-items'
11+
);
12+
@include non-responsive-prop('horizontal-stack', 'align', 'justify-content');
1213
}

0 commit comments

Comments
 (0)