Skip to content

Commit d60fdb7

Browse files
author
amandaesmith3
committed
lint
1 parent ed865e2 commit d60fdb7

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

core/src/components/textarea/test/slot/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h2>Solid / Floating Label / Buttons</h2>
151151
</ion-button>
152152
</ion-textarea>
153153
</div>
154-
154+
155155
<div class="grid-item">
156156
<h2>Outline / Floating Label / Buttons</h2>
157157
<ion-textarea label-placement="floating" fill="outline" value="[email protected]" label="Email">
@@ -195,15 +195,15 @@ <h2>No Fill / Floating Label / Decorations</h2>
195195
<ion-label slot="end">lbs</ion-label>
196196
</ion-textarea>
197197
</div>
198-
198+
199199
<div class="grid-item">
200200
<h2>Solid / Floating Label / Decorations</h2>
201201
<ion-textarea label-placement="floating" fill="solid" value="100" label="Weight">
202202
<ion-icon slot="start" name="barbell" aria-hidden="true"></ion-icon>
203203
<ion-label slot="end">lbs</ion-label>
204204
</ion-textarea>
205205
</div>
206-
206+
207207
<div class="grid-item">
208208
<h2>Outline / Floating Label / Decorations</h2>
209209
<ion-textarea label-placement="floating" fill="outline" value="100" label="Weight">

core/src/components/textarea/test/slot/textarea.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
6565
await expect(textarea).toHaveClass(/label-floating/);
6666
});
6767
});
68-
});
68+
});

core/src/components/textarea/textarea.md.outline.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@
112112
@include margin(12px, 0px, 0px, 0px);
113113
}
114114

115-
:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot='start']),
116-
:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot='end']),
117-
:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot='start']),
118-
:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot='end']) {
115+
:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot="start"]),
116+
:host(.textarea-fill-outline.textarea-label-placement-stacked) ::slotted([slot="end"]),
117+
:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot="start"]),
118+
:host(.textarea-fill-outline.textarea-label-placement-floating) ::slotted([slot="end"]) {
119119
margin-top: 12px;
120120
}
121121

core/src/components/textarea/textarea.scss

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -667,10 +667,10 @@
667667
@include margin(8px, 0px, 0px, 0px);
668668
}
669669

670-
:host(.textarea-label-placement-stacked) ::slotted([slot='start']),
671-
:host(.textarea-label-placement-stacked) ::slotted([slot='end']),
672-
:host(.textarea-label-placement-floating) ::slotted([slot='start']),
673-
:host(.textarea-label-placement-floating) ::slotted([slot='end']) {
670+
:host(.textarea-label-placement-stacked) ::slotted([slot="start"]),
671+
:host(.textarea-label-placement-stacked) ::slotted([slot="end"]),
672+
:host(.textarea-label-placement-floating) ::slotted([slot="start"]),
673+
:host(.textarea-label-placement-floating) ::slotted([slot="end"]) {
674674
margin-top: 8px;
675675
}
676676

@@ -717,20 +717,20 @@
717717

718718
display: flex;
719719

720-
align-self: start;
721-
722720
flex-shrink: 0;
721+
722+
align-self: start;
723723
}
724724

725-
::slotted([slot='start']),
726-
::slotted([slot='end']) {
725+
::slotted([slot="start"]),
726+
::slotted([slot="end"]) {
727727
margin-top: 0; // ensure slot content is vertically aligned with label
728728
}
729729

730-
::slotted([slot='start']) {
730+
::slotted([slot="start"]) {
731731
margin-inline-end: $form-control-label-margin;
732732
}
733733

734-
::slotted([slot='end']) {
734+
::slotted([slot="end"]) {
735735
margin-inline-start: $form-control-label-margin;
736736
}

core/src/components/textarea/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ Developers can use the "legacy" property to continue using the legacy form marku
700700
const inItem = hostContext('ion-item', this.el);
701701
const shouldRenderHighlight = mode === 'md' && fill !== 'outline' && !inItem;
702702

703-
const hasValue = this.hasValue();
703+
const hasValue = this.hasValue();
704704
const hasStartEndSlots = el.querySelector('[slot="start"], [slot="end"]') !== null;
705705

706706
/**

0 commit comments

Comments
 (0)