Skip to content

Commit 563f4bc

Browse files
styles for setup assistant [dir=rtl] added (#5267)
* styles for setup assistant [dir=rtl] added * updated patch to v2.22.1 --------- Co-authored-by: Manjunath Kalburgi <[email protected]>
1 parent 0762df9 commit 563f4bc

File tree

6 files changed

+42
-0
lines changed

6 files changed

+42
-0
lines changed

ui/components/progress-indicator/RELEASENOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22

33
# Progress Indicator Release Notes
4+
## 2.22.1
45

6+
### Fixed
7+
8+
- Matching styles for [dir=rtl] added.
59
## 2.21.0
610

711
### Added

ui/components/progress-indicator/vertical/_index.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,17 @@
3434
&:before {
3535
top: 0;
3636
bottom: 50%;
37+
@include rtl() {
38+
right: $spacing-large;
39+
}
3740
}
3841

3942
&:after {
4043
top: 50%;
4144
bottom: 0;
45+
@include rtl() {
46+
right: $spacing-large;
47+
}
4248
}
4349

4450
&:first-child:before,
@@ -83,6 +89,9 @@
8389
margin-right: $spacing-medium;
8490
min-width: $square-icon-utility-small;
8591
z-index: 5;
92+
@include rtl() {
93+
margin-left: $spacing-medium;
94+
}
8695
}
8796

8897
.slds-progress__marker_icon {

ui/components/setup-assistant/RELEASENOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
# Setup Assistant Release Notes
44

55
<!-- ## [Unreleased] -->
6+
## 2.22.1
7+
8+
### Added
9+
10+
- Matching styles for [dir=rtl] added.
611

712
## 2.16.0
813

ui/components/setup-assistant/base/_index.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
*/
6464
.slds-setup-assistant__step-summary-content {
6565
margin-right: $spacing-xx-large;
66+
@include rtl() {
67+
margin-right:$spacing-none;
68+
}
6669
}
6770

6871
/**
@@ -84,4 +87,16 @@
8487
*/
8588
.slds-setup-assistant__step-detail {
8689
padding-left: ($square-icon-large-content + $spacing-small);
90+
@include rtl() {
91+
padding-right: $spacing-large;
92+
padding-left: $spacing-medium;
93+
}
94+
.slds-media_center{
95+
@include rtl() {
96+
margin-right: $spacing-medium;
97+
}
98+
}
99+
}
100+
.slds-media__figure{
101+
margin-left: $spacing-small;
87102
}

ui/components/summary-detail/RELEASENOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# Summary Detail Release Notes
44

55
<!-- ## [Unreleased] -->
6+
## 2.22.1
7+
### Fixed
8+
9+
- Matching styles for [dir=rtl] added.
610
## 2.22.0
711
### Changed
812
- Replaced aria-hidden with hidden attribute for components that show/hide content

ui/components/summary-detail/base/_index.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
*/
2424
.slds-summary-detail__action-icon {
2525
transform: rotate(-90deg);
26+
27+
@include rtl() {
28+
-webkit-transform: rotate(90deg);
29+
transform: rotate(90deg);
30+
}
2631
}
2732

2833
/**

0 commit comments

Comments
 (0)