Skip to content

Commit 7093d79

Browse files
authored
Merge branch 'main' into feat-shell
2 parents 883578e + 69961ca commit 7093d79

File tree

3 files changed

+56
-7
lines changed

3 files changed

+56
-7
lines changed

.changeset/funny-guests-retire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@db-ux/core-components": patch
3+
---
4+
5+
fix: deprecation warning for SASS `if()` function

package-lock.json

Lines changed: 45 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/components/src/styles/internal/_stack-components.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ $stack-gaps: (
2121

2222
@for $i from 1 through list.length($list) {
2323
$e: list.nth($list, $i);
24-
$result: if(
25-
$i != list.length($list),
26-
$result#{$e}#{$glue},
27-
$result#{$e}
28-
);
24+
25+
@if $i != list.length($list) {
26+
$result: $result#{$e}#{$glue};
27+
} @else {
28+
$result: $result#{$e};
29+
}
2930
}
3031

3132
@return $result;

0 commit comments

Comments
 (0)