Skip to content

Commit 170662a

Browse files
committed
chore: runs eslint --fix
1 parent 33a6d62 commit 170662a

File tree

5 files changed

+9
-17
lines changed

5 files changed

+9
-17
lines changed

packages/uui-color-area/lib/uui-color-area.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ export class UUIColorAreaElement extends LitElement {
298298
position: relative;
299299
height: 100%;
300300
width: 100%;
301-
background-image: linear-gradient(
301+
background-image:
302+
linear-gradient(
302303
to bottom,
303304
rgba(0, 0, 0, 0) 0%,
304305
rgba(0, 0, 0, 1) 100%

packages/uui-color-picker/lib/uui-color-picker.element.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -650,11 +650,8 @@ export class UUIColorPickerElement extends LabelMixin('label', LitElement) {
650650
651651
.color-picker__transparent-bg {
652652
border: 1px solid var(--uui-color-border);
653-
background-image: linear-gradient(
654-
45deg,
655-
var(--uui-palette-grey) 25%,
656-
transparent 25%
657-
),
653+
background-image:
654+
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%),
658655
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
659656
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
660657
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%);

packages/uui-color-slider/lib/uui-color-slider.element.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,11 +342,8 @@ export class UUIColorSliderElement extends LabelMixin('label', LitElement) {
342342
}
343343
344344
:host([type='opacity']) {
345-
--uui-slider-background-image: linear-gradient(
346-
45deg,
347-
var(--uui-palette-grey) 25%,
348-
transparent 25%
349-
),
345+
--uui-slider-background-image:
346+
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%),
350347
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
351348
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
352349
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%);

packages/uui-color-swatch/lib/uui-color-swatch.element.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,8 @@ export class UUIColorSwatchElement extends LabelMixin(
251251
}
252252
253253
.color-swatch.color-swatch--transparent-bg {
254-
background-image: linear-gradient(
255-
45deg,
256-
var(--uui-palette-grey) 25%,
257-
transparent 25%
258-
),
254+
background-image:
255+
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%),
259256
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
260257
linear-gradient(45deg, transparent 75%, var(--uui-palette-grey) 75%),
261258
linear-gradient(45deg, var(--uui-palette-grey) 25%, transparent 25%);

storyhelpers/render-slots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function renderSlots(param: TemplateResult[] | Args) {
3535
const spacing = ' ';
3636

3737
const stringSlots = validSlots.map(slot =>
38-
typeof slot === 'string' ? slot : slot.strings?.[0] ?? '',
38+
typeof slot === 'string' ? slot : (slot.strings?.[0] ?? ''),
3939
);
4040
const stringSlotsJoined = stringSlots.join('\n');
4141
const stringSlotsJoinedWithSpacing = stringSlotsJoined

0 commit comments

Comments
 (0)