Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 147ef0f

Browse files
chore: internal cleanup only affecting BUILD files
PiperOrigin-RevId: 505523145
1 parent 3a705fa commit 147ef0f

File tree

9 files changed

+66
-0
lines changed

9 files changed

+66
-0
lines changed

packages/mdc-button/_button-base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
@include feature-targeting.targets($feat-structure) {
6464
font-size: 0;
6565
position: absolute;
66+
@include rtl.ignore-next-line();
6667
transform: translate(-50%, -50%);
6768
top: 50%;
6869
left: 50%;

packages/mdc-chips/_chip.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
.mdc-evolution-chip__checkmark {
286286
@include feature-targeting.targets($feat-animation) {
287287
transition: animation.standard(transform, 150ms);
288+
@include rtl.ignore-next-line();
288289
transform: translate(-75%, -50%);
289290
}
290291
}
@@ -344,6 +345,7 @@
344345
@include feature-targeting.targets($feat-animation) {
345346
transition: animation.standard(opacity, 75ms);
346347
// Ensure the checkmark stays statically positioned
348+
@include rtl.ignore-next-line();
347349
transform: translate(-50%, -50%);
348350
}
349351
}
@@ -365,6 +367,7 @@
365367

366368
.mdc-evolution-chip__checkmark {
367369
@include feature-targeting.targets($feat-structure) {
370+
@include rtl.ignore-next-line();
368371
transform: translate(-50%, -50%);
369372
opacity: 1;
370373
}

packages/mdc-elevation/_elevation-theme.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ $transition-timing-function: animation-variables.$standard-curve-timing-function
305305
top: 50%;
306306
@include rtl.ignore-next-line();
307307
left: 50%;
308+
@include rtl.ignore-next-line();
308309
transform: translate(-50%, -50%);
309310
}
310311
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright 2017 Google Inc.
2+
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
21+
@use '@material/base/mixins' as base-mixins;
22+
@use './mixins';
23+
24+
@provide 'mdc.floatinglabel';
25+
26+
@include base-mixins.emit-once('mdc-floating-label') {
27+
@include mixins.core-styles;
28+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Copyright 2017 Google Inc.
2+
3+
// Permission is hereby granted, free of charge, to any person obtaining a copy
4+
// of this software and associated documentation files (the "Software"), to deal
5+
// in the Software without restriction, including without limitation the rights
6+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
// copies of the Software, and to permit persons to whom the Software is
8+
// furnished to do so, subject to the following conditions:
9+
10+
// The above copyright notice and this permission notice shall be included in
11+
// all copies or substantial portions of the Software.
12+
13+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
// THE SOFTWARE.
20+
21+
@use '@material/base/mixins' as base-mixins;
22+
@use './mixins';
23+
24+
@provide 'mdc.notchedoutline';
25+
26+
// Notched Outline is intended for use by multiple components, but its styles should only be emitted once when bundled
27+
@include base-mixins.emit-once('mdc-notched-outline') {
28+
@include mixins.core-styles;
29+
}

packages/mdc-ripple/_ripple.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@
210210

211211
@include feature-targeting.targets($feat-structure) {
212212
// Retain transform from mdc-ripple-fg-radius-in activation
213+
@include rtl.ignore-next-line();
213214
transform: translate(var(--mdc-ripple-fg-translate-end, 0))
214215
scale(var(--mdc-ripple-fg-scale, 1));
215216
}

packages/mdc-slider/_slider.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ $_track-inactive-height: 4px;
239239
left: 50%;
240240
position: absolute;
241241
top: 50%;
242+
@include rtl.ignore-next-line();
242243
transform: translate(-50%, -50%);
243244
}
244245
}

packages/mdc-switch/_switch.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ $ripple-target: '.mdc-switch__ripple';
294294
left: 50%;
295295
position: absolute;
296296
top: 50%;
297+
@include rtl.ignore-next-line();
297298
transform: translate(-50%, -50%);
298299
// Move ripple beneath shadow overlay and handle background colors (see
299300
// handle() mixin for explanation).

packages/mdc-touch-target/_touch-target.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ $width: $height !default;
7777
@include rtl.ignore-next-line();
7878
left: 50%;
7979
width: $width;
80+
@include rtl.ignore-next-line();
8081
transform: translate(-50%, -50%);
8182
}
8283
} @else {

0 commit comments

Comments
 (0)