Skip to content

Commit 1bce769

Browse files
committed
fix(lint): Linter errors and warnings
1 parent 24d6348 commit 1bce769

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

src/components/tile-manager/themes/tile.base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
background: var(--placeholder-background);
2020
border: 1px solid var(--ghost-border);
2121
border-radius: var(--border-radius);
22+
2223
igc-resize {
2324
--resize-visibility: hidden;
2425
}

src/components/tile-manager/tile-dnd.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe.skip('Tile drag and drop', () => {
4040
function createTileManager() {
4141
const result = Array.from(range(5)).map(
4242
(i) => html`
43-
<igc-tile id="tile${i}" colSpan="5" rowSpan="5">
43+
<igc-tile id="tile${i}" col-span="5" row-span="5">
4444
<igc-tile-header slot="header">
4545
<h3 slot="title">Tile ${i + 1}</h3>
4646
</igc-tile-header>

src/components/tile-manager/tile-manager.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Tile Manager component', () => {
3838
function createTileManager() {
3939
const result = Array.from(range(5)).map(
4040
(i) => html`
41-
<igc-tile id="tile${i}" colSpan="5" rowSpan="5">
41+
<igc-tile id="tile${i}" col-span="5" row-span="5">
4242
<igc-tile-header slot="header">
4343
<h3 slot="title">Tile ${i + 1}</h3>
4444
</igc-tile-header>
@@ -490,10 +490,10 @@ describe('Tile Manager component', () => {
490490
<igc-tile tile-id="custom-id1"> Tile content 1 </igc-tile>
491491
<igc-tile
492492
tile-id="custom-id2"
493-
colStart="8"
494-
colSpan="10"
495-
rowStart="7"
496-
rowSpan="7"
493+
col-start="8"
494+
col-span="10"
495+
row-start="7"
496+
row-span="7"
497497
disable-drag
498498
disable-resize
499499
>

stories/tile-manager.stories.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ export const Maximized: Story = {
695695
>Toggle maximized state</igc-button
696696
>
697697
</igc-tile>
698-
<igc-tile rowStart="5">
698+
<igc-tile row-start="5">
699699
<igc-tile-header slot="header"></igc-tile-header>
700700
<h2>I am not maximized and will be under the maximized tile</h2>
701701
</igc-tile>
@@ -898,15 +898,15 @@ export const CustomActions: Story = {
898898
state of the tile
899899
</p>
900900
</igc-tile>
901-
<igc-tile colSpan="2">
901+
<igc-tile col-span="2">
902902
<igc-tile-header slot="header">
903903
<h3 slot="title">Empty Fullscreen Action</h3>
904904
<div slot="fullscreen-action"></div>
905905
</igc-tile-header>
906906
907907
<p>Empty div added to the fullscreen action slot</p>
908908
</igc-tile>
909-
<igc-tile colSpan="2">
909+
<igc-tile col-span="2">
910910
<igc-tile-header slot="header">
911911
<h3 slot="title">Default Actions</h3>
912912
</igc-tile-header>

0 commit comments

Comments
 (0)