chore(): switch to using disallow terminology (#23618)

This commit is contained in:
Liam DeBeasi
2021-07-13 14:03:58 -04:00
committed by GitHub
parent 4b56744d7f
commit 7315e0157b
10 changed files with 34 additions and 34 deletions

View File

@ -254,7 +254,7 @@ rules:
- visibility
- z-index
property-blacklist:
property-disallowed-list:
- background-position
- right
- left

View File

@ -150,9 +150,9 @@
display: none;
position: absolute;
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
left: -100%;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
width: 100%;
height: 100vh;
@ -165,9 +165,9 @@
.transition-cover {
position: absolute;
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: 0;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
width: 100%;
height: 100%;
@ -181,9 +181,9 @@
display: block;
position: absolute;
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: 0;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
width: 10px;
height: 100%;

View File

@ -5,10 +5,10 @@
ion-item-options {
@include multi-dir() {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
top: 0;
right: 0;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
}
@include ltr() {
@ -19,10 +19,10 @@ ion-item-options {
justify-content: flex-start;
&:not(.item-options-end) {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: auto;
left: 0;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
justify-content: flex-end;
}
@ -41,10 +41,10 @@ ion-item-options {
.item-options-start {
@include multi-dir() {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: auto;
left: 0;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
}
@include ltr() {

View File

@ -32,7 +32,7 @@ ion-item-sliding .item {
.item-sliding-active-swipe-end .item-options-end .item-option-expandable {
@include multi-dir() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
padding-left: 100%;
}
@ -50,7 +50,7 @@ ion-item-sliding .item {
.item-sliding-active-swipe-start .item-options-start .item-option-expandable {
@include multi-dir() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
padding-right: 100%;
}

View File

@ -63,7 +63,7 @@
--ion-safe-area-right: 0px;
@include multi-dir() {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: auto;
left: 0;
}
@ -75,7 +75,7 @@
@include multi-dir() {
right: 0;
left: auto;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
}
}

View File

@ -46,10 +46,10 @@
// Extend a bit to overflow. The size of animated distance.
.buffer-circles {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
right: -10px;
left: -10px;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
}
// Determinate progress bar
@ -58,7 +58,7 @@
.progress,
.progress-buffer-bar,
.buffer-circles-container {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
transform-origin: left top;
transition: transform 150ms linear;
@ -88,12 +88,12 @@
// --------------------------------------------------
.indeterminate-bar-primary {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
top: 0;
right: 0;
bottom: 0;
left: -145.166611%;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
animation: primary-indeterminate-translate 2s infinite linear;
@ -104,12 +104,12 @@
}
.indeterminate-bar-secondary {
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
top: 0;
right: 0;
bottom: 0;
left: -54.888891%;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
animation: secondary-indeterminate-translate 2s infinite linear;
@ -125,11 +125,11 @@
.buffer-circles {
background-image: radial-gradient(ellipse at center, var(--buffer-background) 0%, var(--buffer-background) 30%, transparent 30%);
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
background-repeat: repeat-x;
background-position: 5px center;
background-size: 10px 10px;
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */
z-index: 0;
animation: buffering 450ms infinite linear;

View File

@ -105,12 +105,12 @@
@include margin-horizontal(-13px, null);
@include multi-dir() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
border-radius: 50% 50% 50% 0;
}
@include rtl() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
left: unset;
}

View File

@ -82,7 +82,7 @@
);
@include rtl() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
left: unset;
}
@ -104,7 +104,7 @@
@include position(calc((var(--height) - var(--bar-height)) / 2), null, null, 0);
@include rtl() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
left: unset;
}
@ -127,7 +127,7 @@
);
@include rtl() {
/* stylelint-disable-next-line property-blacklist */
/* stylelint-disable-next-line property-disallowed-list */
left: unset;
}

View File

@ -61,7 +61,7 @@ span {
animation-timing-function: linear;
}
/* stylelint-disable property-blacklist */
/* stylelint-disable property-disallowed-list */
@keyframes shimmer {
0% {
background-position: -400px 0;
@ -71,4 +71,4 @@ span {
background-position: 400px 0;
}
}
/* stylelint-enable property-blacklist */
/* stylelint-enable property-disallowed-list */

View File

@ -16,7 +16,7 @@ ion-virtual-scroll > .virtual-loading {
}
ion-virtual-scroll > .virtual-item {
/* stylelint-disable declaration-no-important, property-blacklist */
/* stylelint-disable declaration-no-important, property-disallowed-list */
position: absolute !important;
top: 0 !important;