Skip to content

Commit b543e1f

Browse files
Merge branch 'next' into ROU-11323
2 parents 1a9493b + ca091e2 commit b543e1f

File tree

6 files changed

+10
-14
lines changed

6 files changed

+10
-14
lines changed

core/src/components/item/item.common.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import "../../themes/functions.string";
21
@import "../../themes/mixins";
32

43
// Item

core/src/components/radio/radio.common.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import "../../themes/functions.string";
21
@import "../../themes/mixins";
32
@import "./radio.vars.scss";
43

core/src/components/segment-button/segment-button.common.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import "../../themes/functions.string";
21
@import "../../themes/mixins";
32

43
// Segment Button: Common

core/src/components/spinner/spinner.common.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import "../../themes/functions.string";
2-
@import "../../themes/functions.color";
31
@import "../../themes/mixins";
2+
// Required to use the current-color function
3+
@import "../../themes/functions.color";
44

55
// Spinners
66
// --------------------------------------------------

core/src/components/toast/toast.common.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
@import "../../themes/mixins";
2-
// Necessary for the mixins to work.
3-
@import "../../themes/functions.string";
2+
// Required to use the current-color function
43
@import "../../themes/functions.color";
54

65
// Toast

core/src/themes/mixins.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@
309309
// ----------------------------------------------------------
310310
@mixin svg-background-image($svg, $flip-rtl: false) {
311311
$url: url-encode($svg);
312-
$viewBox: str-split(str-extract($svg, "viewBox='", "'"), " ");
312+
$viewBox: string.str-split(string.str-extract($svg, "viewBox='", "'"), " ");
313313

314314
@if $flip-rtl != true or $viewBox == null {
315315
@include multi-dir() {
@@ -318,9 +318,9 @@
318318
} @else {
319319
$transform: "transform='translate(#{nth($viewBox, 3)}, 0) scale(-1, 1)'";
320320
$flipped-url: $svg;
321-
$flipped-url: str-replace($flipped-url, "<path", "<path #{$transform}");
322-
$flipped-url: str-replace($flipped-url, "<line", "<line #{$transform}");
323-
$flipped-url: str-replace($flipped-url, "<polygon", "<polygon #{$transform}");
321+
$flipped-url: string.str-replace($flipped-url, "<path", "<path #{$transform}");
322+
$flipped-url: string.str-replace($flipped-url, "<line", "<line #{$transform}");
323+
$flipped-url: string.str-replace($flipped-url, "<polygon", "<polygon #{$transform}");
324324
$flipped-url: url-encode($flipped-url);
325325

326326
@include ltr() {
@@ -575,10 +575,10 @@
575575

576576
@each $transform in $transforms {
577577
@if (str-index($transform, translate3d)) {
578-
$transform: str-replace($transform, "translate3d(");
579-
$transform: str-replace($transform, ")");
578+
$transform: string.str-replace($transform, "translate3d(");
579+
$transform: string.str-replace($transform, ")");
580580

581-
$coordinates: str-split($transform, ",");
581+
$coordinates: string.str-split($transform, ",");
582582

583583
$x: nth($coordinates, 1);
584584
$y: nth($coordinates, 2);

0 commit comments

Comments
 (0)