Skip to content

Commit

Permalink
refactor: prettier (#3686)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Jan 17, 2025
1 parent aebc32c commit 5319aea
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 18 deletions.
5 changes: 4 additions & 1 deletion packages/components/src/components/header/docs/HTML.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,10 @@ For general installation and configuration take a look at the [components](https
<div class="db-header-navigation">
<nav class="db-navigation">
<menu>
<li class="db-navigation-item" data-icon="x_placeholder">
<li
class="db-navigation-item"
data-icon="x_placeholder"
>
<a href="#">Regular (Default)</a>
</li>
<li class="db-navigation-item" aria-disabled="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<body>
<div style="display: flex">
<button class="db-button">Button</button>
<button class="db-button" data-icon="x_placeholder">Icon Button</button>
<button class="db-button" data-icon="x_placeholder">
Icon Button
</button>
<div class="db-input">
<label for="OVERWRITE_DEFAULT_ID">Label</label>
<input
Expand Down
6 changes: 1 addition & 5 deletions showcases/angular-showcase/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@
<db-button icon="x_placeholder" variant="ghost" [noText]="true">
Notification
</db-button>
<db-button
icon="x_placeholder"
variant="ghost"
[noText]="true"
>
<db-button icon="x_placeholder" variant="ghost" [noText]="true">
Help
</db-button>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,20 @@ <h1>Output</h1>

<db-tabs orientation="vertical">
<db-tab-list>
<db-tab-item icon="x_placeholder">Airplane Button</db-tab-item>
<db-tab-item icon="x_placeholder"
>Airplane Button</db-tab-item
>
<db-tab-item iconAfter="cancel">Cancel Button</db-tab-item>
<db-tab-item iconAfter="cancel">
Long Button Label with a lot of text
</db-tab-item>
<db-tab-item icon="x_placeholder" iconAfter="cancel">
Another Button Label with a lot of text
</db-tab-item>
<db-tab-item icon="x_placeholder" [noText]="true"></db-tab-item>
<db-tab-item
icon="x_placeholder"
[noText]="true"
></db-tab-item>
</db-tab-list>
<db-tab-panel>
It is a long established fact that a reader will be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@
</ng-container>
<ng-container *dbSecondaryAction>
@if (!exampleProps?.example) {
<db-button icon="x_placeholder" variant="ghost" [noText]="true">
<db-button
icon="x_placeholder"
variant="ghost"
[noText]="true"
>
Profile
</db-button>
<db-button icon="x_placeholder" variant="ghost" [noText]="true">
<db-button
icon="x_placeholder"
variant="ghost"
[noText]="true"
>
Notification
</db-button>
<db-button
Expand Down
12 changes: 10 additions & 2 deletions showcases/nuxt-showcase/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,18 @@ const {
</DBButton>
</template>
<template v-slot:action-bar>
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Profile
</DBButton>
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Notification
</DBButton>
<DBButton
Expand Down
12 changes: 10 additions & 2 deletions showcases/vue-showcase/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,18 @@ const {
</DBButton>
</template>
<template v-slot:action-bar>
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Profile
</DBButton>
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Notification
</DBButton>
<DBButton
Expand Down
6 changes: 5 additions & 1 deletion showcases/vue-showcase/src/components/badge/Badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ import {
!exampleProps?.example
"
>
<DBButton icon="x_placeholder" variant="outlined" :noText="true">
<DBButton
icon="x_placeholder"
variant="outlined"
:noText="true"
>
<DBBadge
emphasis="strong"
semantic="critical"
Expand Down
12 changes: 10 additions & 2 deletions showcases/vue-showcase/src/components/header/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,18 @@ import {
</template>
<template v-slot:secondary-action>
<template v-if="!exampleProps?.example">
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Profile
</DBButton>
<DBButton icon="x_placeholder" variant="ghost" :no-text="true">
<DBButton
icon="x_placeholder"
variant="ghost"
:no-text="true"
>
Notification
</DBButton>
<DBButton
Expand Down

0 comments on commit 5319aea

Please sign in to comment.