From f3c7ad8470eea544ccd954061f71acebe487d643 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Mon, 2 Oct 2023 18:07:17 +0200 Subject: [PATCH] docs: update badges --- docs/content/1.getting-started/3.theming.md | 2 -- docs/content/3.forms/9.form-group.md | 10 +++++----- docs/content/4.data/1.table.md | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/content/1.getting-started/3.theming.md b/docs/content/1.getting-started/3.theming.md index 3fc1f39f05..cc13f46c14 100644 --- a/docs/content/1.getting-started/3.theming.md +++ b/docs/content/1.getting-started/3.theming.md @@ -1,7 +1,5 @@ --- description: 'Learn how to customize the look and feel of the components.' -navigation: - badge: New --- ## Overview diff --git a/docs/content/3.forms/9.form-group.md b/docs/content/3.forms/9.form-group.md index 15b02a821f..86c2b3d4c7 100644 --- a/docs/content/3.forms/9.form-group.md +++ b/docs/content/3.forms/9.form-group.md @@ -192,7 +192,7 @@ code: >- ## Slots -### `label` +### `label` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} Use the `#label` slot to set the custom content for label. @@ -210,7 +210,7 @@ slots: :u-input{model-value="benjamincanac" placeholder="you@example.com"} :: -### `description` +### `description` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} Use the `#description` slot to set the custom content for description. @@ -230,7 +230,7 @@ props: :u-input{model-value="benjamincanac" placeholder="you@example.com"} :: -### `hint` +### `hint` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} Use the `#hint` slot to set the custom content for hint. @@ -250,7 +250,7 @@ props: :u-input{model-value="benjamincanac" placeholder="you@example.com"} :: -### `help` +### `help` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} Use the `#help` slot to set the custom content for help. @@ -270,7 +270,7 @@ props: :u-input{model-value="benjamincanac" placeholder="you@example.com"} :: -### `error` +### `error` :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} Use the `#error` slot to set the custom content for error. diff --git a/docs/content/4.data/1.table.md b/docs/content/4.data/1.table.md index cb2f369d69..aef481aca1 100644 --- a/docs/content/4.data/1.table.md +++ b/docs/content/4.data/1.table.md @@ -524,7 +524,7 @@ excludedProps: --- :: -## Styling +## Styling :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"} You can apply styles to `tr` and `td` elements by passing a `class` to rows.