diff --git a/lit-full/src/components/editor/ui/slash-menu/slash-menu-item.ts b/lit-full/src/components/editor/ui/slash-menu/slash-menu-item.ts index ed2b00ee3d..d735e83d98 100644 --- a/lit-full/src/components/editor/ui/slash-menu/slash-menu-item.ts +++ b/lit-full/src/components/editor/ui/slash-menu/slash-menu-item.ts @@ -34,14 +34,14 @@ export class SlashMenuItemElement extends LitElement { > ${this.label} ${ - this.kbd - ? html` - - ${this.kbd} - - ` - : '' - } + this.kbd + ? html` + + ${this.kbd} + + ` + : '' + } ` } diff --git a/lit-full/src/components/editor/ui/table-handle/table-handle.ts b/lit-full/src/components/editor/ui/table-handle/table-handle.ts index d314b1bb93..b9f8a63c48 100644 --- a/lit-full/src/components/editor/ui/table-handle/table-handle.ts +++ b/lit-full/src/components/editor/ui/table-handle/table-handle.ts @@ -163,71 +163,71 @@ class LitTableHandle extends LitElement { class="box-border origin-(--transform-origin) transition-[opacity,scale] transition-discrete motion-reduce:transition-none data-[state=closed]:duration-150 data-[state=closed]:opacity-0 starting:opacity-0 data-[state=closed]:scale-95 starting:scale-95 duration-40 rounded-xl border border-gray-200 dark:border-gray-800 shadow-lg bg-[canvas] relative flex flex-col max-h-100 min-w-32 select-none overflow-auto whitespace-nowrap p-1 outline-none" > ${ - state.addTableColumnBefore.canExec - ? html` - - Insert Left - - ` - : nothing - } + state.addTableColumnBefore.canExec + ? html` + + Insert Left + + ` + : nothing + } ${ - state.addTableColumnAfter.canExec - ? html` - - Insert Right - - ` - : nothing - } + state.addTableColumnAfter.canExec + ? html` + + Insert Right + + ` + : nothing + } ${ - state.deleteCellSelection.canExec - ? html` - - Clear Contents - - Del - - - ` - : nothing - } + Clear Contents + + Del + + + ` + : nothing + } ${ - state.deleteTableColumn.canExec - ? html` - - Delete Column - - ` - : nothing - } + state.deleteTableColumn.canExec + ? html` + + Delete Column + + ` + : nothing + } ${ - state.deleteTable.canExec - ? html` - - Delete Table - - ` - : nothing - } + state.deleteTable.canExec + ? html` + + Delete Table + + ` + : nothing + } @@ -257,71 +257,71 @@ class LitTableHandle extends LitElement { class="box-border origin-(--transform-origin) transition-[opacity,scale] transition-discrete motion-reduce:transition-none data-[state=closed]:duration-150 data-[state=closed]:opacity-0 starting:opacity-0 data-[state=closed]:scale-95 starting:scale-95 duration-40 rounded-xl border border-gray-200 dark:border-gray-800 shadow-lg bg-[canvas] relative flex flex-col max-h-100 min-w-32 select-none overflow-auto whitespace-nowrap p-1 outline-none" > ${ - state.addTableRowAbove.canExec - ? html` - - Insert Above - - ` - : nothing - } + state.addTableRowAbove.canExec + ? html` + + Insert Above + + ` + : nothing + } ${ - state.addTableRowBelow.canExec - ? html` - - Insert Below - - ` - : nothing - } + state.addTableRowBelow.canExec + ? html` + + Insert Below + + ` + : nothing + } ${ - state.deleteCellSelection.canExec - ? html` - - Clear Contents - - Del - - - ` - : nothing - } + Clear Contents + + Del + + + ` + : nothing + } ${ - state.deleteTableRow.canExec - ? html` - - Delete Row - - ` - : nothing - } + state.deleteTableRow.canExec + ? html` + + Delete Row + + ` + : nothing + } ${ - state.deleteTable.canExec - ? html` - - Delete Table - - ` - : nothing - } + state.deleteTable.canExec + ? html` + + Delete Table + + ` + : nothing + } diff --git a/lit-full/src/components/editor/ui/tag-menu/tag-menu.ts b/lit-full/src/components/editor/ui/tag-menu/tag-menu.ts index d465fc045a..77f66a17db 100644 --- a/lit-full/src/components/editor/ui/tag-menu/tag-menu.ts +++ b/lit-full/src/components/editor/ui/tag-menu/tag-menu.ts @@ -74,17 +74,17 @@ class TagMenuElement extends LitElement { No results ${repeat( - this.tags, - (tag) => tag.id, - (tag) => html` - this.handleTagInsert(editor, tag.id, tag.label)} - > - ${'#' + tag.label} - - `, - )} + this.tags, + (tag) => tag.id, + (tag) => html` + this.handleTagInsert(editor, tag.id, tag.label)} + > + ${'#' + tag.label} + + `, + )} diff --git a/lit-full/src/components/editor/ui/user-menu/user-menu.ts b/lit-full/src/components/editor/ui/user-menu/user-menu.ts index b51577189e..19bd34b148 100644 --- a/lit-full/src/components/editor/ui/user-menu/user-menu.ts +++ b/lit-full/src/components/editor/ui/user-menu/user-menu.ts @@ -96,19 +96,19 @@ class UserMenuElement extends LitElement { ${this.loading ? 'Loading...' : 'No results'} ${repeat( - this.users, - (user) => user.id, - (user) => html` - this.handleUserInsert(editor, user.id, user.name)} - > - - ${user.name} - - - `, - )} + this.users, + (user) => user.id, + (user) => html` + this.handleUserInsert(editor, user.id, user.name)} + > + + ${user.name} + + + `, + )} diff --git a/lit-slash-menu/src/components/editor/ui/slash-menu/slash-menu-item.ts b/lit-slash-menu/src/components/editor/ui/slash-menu/slash-menu-item.ts index ed2b00ee3d..d735e83d98 100644 --- a/lit-slash-menu/src/components/editor/ui/slash-menu/slash-menu-item.ts +++ b/lit-slash-menu/src/components/editor/ui/slash-menu/slash-menu-item.ts @@ -34,14 +34,14 @@ export class SlashMenuItemElement extends LitElement { > ${this.label} ${ - this.kbd - ? html` - - ${this.kbd} - - ` - : '' - } + this.kbd + ? html` + + ${this.kbd} + + ` + : '' + } ` } diff --git a/lit-table/src/components/editor/ui/table-handle/table-handle.ts b/lit-table/src/components/editor/ui/table-handle/table-handle.ts index d314b1bb93..b9f8a63c48 100644 --- a/lit-table/src/components/editor/ui/table-handle/table-handle.ts +++ b/lit-table/src/components/editor/ui/table-handle/table-handle.ts @@ -163,71 +163,71 @@ class LitTableHandle extends LitElement { class="box-border origin-(--transform-origin) transition-[opacity,scale] transition-discrete motion-reduce:transition-none data-[state=closed]:duration-150 data-[state=closed]:opacity-0 starting:opacity-0 data-[state=closed]:scale-95 starting:scale-95 duration-40 rounded-xl border border-gray-200 dark:border-gray-800 shadow-lg bg-[canvas] relative flex flex-col max-h-100 min-w-32 select-none overflow-auto whitespace-nowrap p-1 outline-none" > ${ - state.addTableColumnBefore.canExec - ? html` - - Insert Left - - ` - : nothing - } + state.addTableColumnBefore.canExec + ? html` + + Insert Left + + ` + : nothing + } ${ - state.addTableColumnAfter.canExec - ? html` - - Insert Right - - ` - : nothing - } + state.addTableColumnAfter.canExec + ? html` + + Insert Right + + ` + : nothing + } ${ - state.deleteCellSelection.canExec - ? html` - - Clear Contents - - Del - - - ` - : nothing - } + Clear Contents + + Del + + + ` + : nothing + } ${ - state.deleteTableColumn.canExec - ? html` - - Delete Column - - ` - : nothing - } + state.deleteTableColumn.canExec + ? html` + + Delete Column + + ` + : nothing + } ${ - state.deleteTable.canExec - ? html` - - Delete Table - - ` - : nothing - } + state.deleteTable.canExec + ? html` + + Delete Table + + ` + : nothing + } @@ -257,71 +257,71 @@ class LitTableHandle extends LitElement { class="box-border origin-(--transform-origin) transition-[opacity,scale] transition-discrete motion-reduce:transition-none data-[state=closed]:duration-150 data-[state=closed]:opacity-0 starting:opacity-0 data-[state=closed]:scale-95 starting:scale-95 duration-40 rounded-xl border border-gray-200 dark:border-gray-800 shadow-lg bg-[canvas] relative flex flex-col max-h-100 min-w-32 select-none overflow-auto whitespace-nowrap p-1 outline-none" > ${ - state.addTableRowAbove.canExec - ? html` - - Insert Above - - ` - : nothing - } + state.addTableRowAbove.canExec + ? html` + + Insert Above + + ` + : nothing + } ${ - state.addTableRowBelow.canExec - ? html` - - Insert Below - - ` - : nothing - } + state.addTableRowBelow.canExec + ? html` + + Insert Below + + ` + : nothing + } ${ - state.deleteCellSelection.canExec - ? html` - - Clear Contents - - Del - - - ` - : nothing - } + Clear Contents + + Del + + + ` + : nothing + } ${ - state.deleteTableRow.canExec - ? html` - - Delete Row - - ` - : nothing - } + state.deleteTableRow.canExec + ? html` + + Delete Row + + ` + : nothing + } ${ - state.deleteTable.canExec - ? html` - - Delete Table - - ` - : nothing - } + state.deleteTable.canExec + ? html` + + Delete Table + + ` + : nothing + } diff --git a/package.json b/package.json index 40625f7cfc..6898d23db0 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "dependencies": { "@types/bun": "1.4.2", "@types/node": "24.13.3", - "prettier": "3.9.6", + "prettier": "3.9.9", "prettier-plugin-packagejson": "3.0.2", "prosekit-registry": "0.0.20260901031754" }