Skip to content

Commit c5cfe90

Browse files
authored
[polaris.shopify.com] Support beta components (#7418)
Better communicates our confidence level in developing APIs and will help us release layout components Closes #7417
1 parent 95a8ac0 commit c5cfe90

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'polaris.shopify.com': minor
3+
---
4+
5+
Support beta status components

polaris.shopify.com/src/components/StatusBadge/StatusBadge.module.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
padding: 0.05rem 0.25rem;
77
color: var(--text);
88

9+
&[data-value='alpha'],
910
&[data-value='warning'],
1011
&[data-value='deprecated'] {
1112
background: var(--surface-warning);
1213
}
1314

14-
&[data-value='information'],
15-
&[data-value='alpha'] {
15+
&[data-value='beta'],
16+
&[data-value='information'] {
1617
background: var(--surface-information);
1718
}
1819
}

polaris.shopify.com/src/components/StatusBanner/StatusBanner.module.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
background: var(--surface-subdued);
66
border-radius: var(--border-radius-400);
77

8+
&[data-value='alpha'],
89
&[data-value='warning'],
910
&[data-value='deprecated'] {
1011
background: var(--surface-warning);
1112
}
1213

13-
&[data-value='information'],
14-
&[data-value='alpha'] {
14+
&[data-value='beta'],
15+
&[data-value='information'] {
1516
background: var(--surface-information);
1617
}
1718

0 commit comments

Comments
 (0)