Skip to content

Commit eed3eac

Browse files
authored
chore: resolve lint warnings (#4140)
1 parent 8479ac3 commit eed3eac

File tree

9 files changed

+1
-16
lines changed

9 files changed

+1
-16
lines changed

components/actionbutton/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ governing permissions and limitations under the License.
5252
--spectrum-actionbutton-edge-to-text: var(--spectrum-component-edge-to-text-100);
5353
--spectrum-actionbutton-edge-to-visual-only: var(--spectrum-component-edge-to-visual-only-100);
5454

55-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
5655
--spectrum-actionbutton-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
5756

5857
&:dir(rtl) {

components/button/index.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
--spectrum-button-intended-icon-size: var(--spectrum-workflow-icon-size-100);
4242

4343
--mod-progress-circle-position: absolute;
44-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
4544
--spectrum-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
4645

4746
&.spectrum-Button--iconOnly {
@@ -355,7 +354,7 @@
355354
margin-inline-start: var(--mod-button-margin-left);
356355

357356
.spectrum-Icon {
358-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- Any block-size difference between the intended workflow icon size and actual icon used. Helps support any existing use of smaller UI icons instead of intended Workflow icons. */
357+
/* Any block-size difference between the intended workflow icon size and actual icon used. Helps support any existing use of smaller UI icons instead of intended Workflow icons. */
359358
--_icon-size-difference: max(0px, var(--spectrum-button-intended-icon-size) - var(--spectrum-icon-block-size, var(--spectrum-button-intended-icon-size)));
360359

361360
margin-block-start: var(--mod-button-icon-margin-block-start, max(0px, var(--mod-button-top-to-icon, var(--spectrum-button-top-to-icon)) - var(--mod-button-border-width, var(--spectrum-button-border-width)) + (var(--_icon-size-difference, 0px) / 2)));

components/infieldbutton/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
--spectrum-infield-button-field-edge-to-disclosure-icon: var(--spectrum-field-edge-to-disclosure-icon-100);
3636

3737
--spectrum-infield-button-fill-justify-content: center;
38-
39-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
4038
--spectrum-infield-button-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
4139

4240
&:disabled {

components/menu/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,6 @@
573573

574574
/* The perceived motion can be a bit jarring given the size/complexity of a menu item */
575575
@media (prefers-reduced-motion: no-preference) {
576-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
577576
transform: perspective(max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down))) translateZ(var(--spectrum-component-size-difference-down));
578577
}
579578

components/modal/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@
4949
* We use the stretch value to counteract this where supported.
5050
*/
5151
block-size: 100vh;
52-
/* stylelint-disable-next-line value-no-vendor-prefix */
5352
block-size: -moz-available;
54-
/* stylelint-disable-next-line value-no-vendor-prefix */
5553
block-size: -webkit-fill-available;
5654

5755
/* autoprefixer: ignore next -- -moz-available providing inconsistent results; want to fall FF back to 100vh */

components/picker/dist/metadata.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
"--spectrum-picker-background-color-active",
130130
"--spectrum-picker-background-color-default",
131131
"--spectrum-picker-background-color-default-open",
132-
"--spectrum-picker-background-color-disabled",
133132
"--spectrum-picker-background-color-hover",
134133
"--spectrum-picker-background-color-hover-open",
135134
"--spectrum-picker-background-color-key-focus",
@@ -226,7 +225,6 @@
226225
"--spectrum-corner-radius-medium-size-medium",
227226
"--spectrum-corner-radius-medium-size-small",
228227
"--spectrum-default-font-style",
229-
"--spectrum-disabled-background-color",
230228
"--spectrum-disabled-content-color",
231229
"--spectrum-downstate-height",
232230
"--spectrum-downstate-width",

components/picker/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393

9494
--spectrum-picker-icon-color-error: var(--spectrum-negative-visual-color);
9595

96-
--spectrum-picker-background-color-disabled: var(--spectrum-disabled-background-color);
9796
--spectrum-picker-font-color-disabled: var(--spectrum-disabled-content-color);
9897
--spectrum-picker-icon-color-disabled: var(--spectrum-disabled-content-color);
9998

components/pickerbutton/index.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
--spectrum-picker-button-background-animation-duration: var(--spectrum-animation-duration-100);
3030

3131
--spectrum-picker-button-fill-padding: var(--spectrum-field-edge-to-disclosure-icon-100); /* equivalent to --spectrum-infield-button-inline-edge-to-disclosure-icon */
32-
33-
34-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
3532
--spectrum-picker-button-downstate-perspective: max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down));
3633

3734
&:disabled {

components/tag/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,6 @@
297297
border-color: var(--spectrum-tag-border-color-active);
298298
background-color: var(--spectrum-tag-background-color-active);
299299
color: var(--spectrum-tag-content-color-active);
300-
301-
/* stylelint-disable-next-line spectrum-tools/no-unknown-custom-properties -- height and width are set by implementations */
302300
transform: perspective(max(var(--spectrum-downstate-height), var(--spectrum-downstate-width) * var(--spectrum-component-size-width-ratio-down))) translateZ(var(--spectrum-component-size-difference-down));
303301
}
304302

0 commit comments

Comments
 (0)