From 53b26b81945cf3799a31639273732b6240ac9fb9 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Fri, 27 Oct 2023 20:43:23 +0200 Subject: [PATCH] docs: rename `Preset` title to `Config` --- docs/content/1.getting-started/3.theming.md | 2 +- docs/content/2.elements/1.accordion.md | 2 +- docs/content/2.elements/10.progress.md | 2 +- docs/content/2.elements/11.meter.md | 2 +- docs/content/2.elements/2.alert.md | 2 +- docs/content/2.elements/3.avatar.md | 2 +- docs/content/2.elements/4.badge.md | 2 +- docs/content/2.elements/5.button.md | 2 +- docs/content/2.elements/6.dropdown.md | 2 +- docs/content/2.elements/8.kbd.md | 2 +- docs/content/3.forms/1.input.md | 2 +- docs/content/3.forms/2.textarea.md | 2 +- docs/content/3.forms/3.select.md | 2 +- docs/content/3.forms/4.select-menu.md | 2 +- docs/content/3.forms/5.checkbox.md | 2 +- docs/content/3.forms/6.radio-group.md | 2 +- docs/content/3.forms/7.toggle.md | 2 +- docs/content/3.forms/8.range.md | 2 +- docs/content/3.forms/9.form-group.md | 2 +- docs/content/4.data/1.table.md | 2 +- docs/content/5.navigation/1.vertical-navigation.md | 2 +- docs/content/5.navigation/2.command-palette.md | 2 +- docs/content/5.navigation/3.pagination.md | 2 +- docs/content/5.navigation/4.tabs.md | 2 +- docs/content/6.overlays/1.modal.md | 2 +- docs/content/6.overlays/2.slideover.md | 2 +- docs/content/6.overlays/3.popover.md | 2 +- docs/content/6.overlays/4.tooltip.md | 2 +- docs/content/6.overlays/5.context-menu.md | 2 +- docs/content/6.overlays/6.notification.md | 2 +- docs/content/7.layout/1.card.md | 2 +- docs/content/7.layout/2.container.md | 2 +- docs/content/7.layout/3.skeleton.md | 2 +- docs/content/7.layout/4.divider.md | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/docs/content/1.getting-started/3.theming.md b/docs/content/1.getting-started/3.theming.md index b31ab2ca..40011751 100644 --- a/docs/content/1.getting-started/3.theming.md +++ b/docs/content/1.getting-started/3.theming.md @@ -152,7 +152,7 @@ Each component has a `ui` prop that allows you to customize everything specifica ``` ::callout{icon="i-heroicons-light-bulb"} -You can find the default classes for each component under the `Preset` section. +You can find the default classes for each component under the `Config` section. :: Thanks to [tailwind-merge](https://github.com/dcastil/tailwind-merge), the `ui` prop is smartly merged with the config. This means you don't have to rewrite everything. diff --git a/docs/content/2.elements/1.accordion.md b/docs/content/2.elements/1.accordion.md index d24a3dd6..cf47b16b 100644 --- a/docs/content/2.elements/1.accordion.md +++ b/docs/content/2.elements/1.accordion.md @@ -157,6 +157,6 @@ Use the `#item` slot to customize the items content or pass a `slot` property to :component-props -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/10.progress.md b/docs/content/2.elements/10.progress.md index 9cabeeac..4c50fe48 100644 --- a/docs/content/2.elements/10.progress.md +++ b/docs/content/2.elements/10.progress.md @@ -148,6 +148,6 @@ Use the `#step-` to alter the HTML being shown for each step. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/11.meter.md b/docs/content/2.elements/11.meter.md index b9c3cc86..ee04b94d 100644 --- a/docs/content/2.elements/11.meter.md +++ b/docs/content/2.elements/11.meter.md @@ -173,7 +173,7 @@ The `label` slot can be used to change how the label below the meter bar is show :component-props{slug="MeterGroup"} -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/2.alert.md b/docs/content/2.elements/2.alert.md index aba0556d..48f834f8 100644 --- a/docs/content/2.elements/2.alert.md +++ b/docs/content/2.elements/2.alert.md @@ -167,6 +167,6 @@ This can be handy when you want to display HTML content. To achieve this, you ca :component-props -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/3.avatar.md b/docs/content/2.elements/3.avatar.md index 5599db1e..0b73d980 100644 --- a/docs/content/2.elements/3.avatar.md +++ b/docs/content/2.elements/3.avatar.md @@ -115,7 +115,7 @@ code: | :component-props{slug="avatar-group"} -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/4.badge.md b/docs/content/2.elements/4.badge.md index 14911e70..27e2f490 100644 --- a/docs/content/2.elements/4.badge.md +++ b/docs/content/2.elements/4.badge.md @@ -145,6 +145,6 @@ You can customize the whole [preset](#preset) by using the `ui` prop. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/5.button.md b/docs/content/2.elements/5.button.md index bca2ce35..f3fac37c 100644 --- a/docs/content/2.elements/5.button.md +++ b/docs/content/2.elements/5.button.md @@ -377,7 +377,7 @@ excludedProps: :component-props{slug="ButtonGroup"} -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/6.dropdown.md b/docs/content/2.elements/6.dropdown.md index 5304745c..27a7a319 100644 --- a/docs/content/2.elements/6.dropdown.md +++ b/docs/content/2.elements/6.dropdown.md @@ -60,6 +60,6 @@ Use the `#item` slot to customize the items content or pass a `slot` property to :component-props -## Preset +## Config :component-preset diff --git a/docs/content/2.elements/8.kbd.md b/docs/content/2.elements/8.kbd.md index eb03f953..9ad8024b 100644 --- a/docs/content/2.elements/8.kbd.md +++ b/docs/content/2.elements/8.kbd.md @@ -52,6 +52,6 @@ U :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/1.input.md b/docs/content/3.forms/1.input.md index 1f19ad96..a3a47b32 100644 --- a/docs/content/3.forms/1.input.md +++ b/docs/content/3.forms/1.input.md @@ -194,6 +194,6 @@ As leading and trailing icons are wrapped around a `pointer-events-none` class, :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/2.textarea.md b/docs/content/3.forms/2.textarea.md index 264d5edd..f84871e8 100644 --- a/docs/content/3.forms/2.textarea.md +++ b/docs/content/3.forms/2.textarea.md @@ -136,6 +136,6 @@ props: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/3.select.md b/docs/content/3.forms/3.select.md index ca789a6f..ade77cfb 100644 --- a/docs/content/3.forms/3.select.md +++ b/docs/content/3.forms/3.select.md @@ -217,6 +217,6 @@ baseProps: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/4.select-menu.md b/docs/content/3.forms/4.select-menu.md index f73dfd22..8ffc92f9 100644 --- a/docs/content/3.forms/4.select-menu.md +++ b/docs/content/3.forms/4.select-menu.md @@ -145,6 +145,6 @@ An example is available in the [Create option](#create-option) section. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/5.checkbox.md b/docs/content/3.forms/5.checkbox.md index 8fadda91..3308668a 100644 --- a/docs/content/3.forms/5.checkbox.md +++ b/docs/content/3.forms/5.checkbox.md @@ -91,6 +91,6 @@ slots: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/6.radio-group.md b/docs/content/3.forms/6.radio-group.md index adca0953..f6183a7e 100644 --- a/docs/content/3.forms/6.radio-group.md +++ b/docs/content/3.forms/6.radio-group.md @@ -149,7 +149,7 @@ slots: :component-props{slug="radio"} -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/7.toggle.md b/docs/content/3.forms/7.toggle.md index d1c98963..aac446f1 100644 --- a/docs/content/3.forms/7.toggle.md +++ b/docs/content/3.forms/7.toggle.md @@ -57,6 +57,6 @@ props: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/8.range.md b/docs/content/3.forms/8.range.md index ce4a7cdd..c7b59ae3 100644 --- a/docs/content/3.forms/8.range.md +++ b/docs/content/3.forms/8.range.md @@ -74,6 +74,6 @@ props: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/3.forms/9.form-group.md b/docs/content/3.forms/9.form-group.md index 5a62ad71..2eb0fce5 100644 --- a/docs/content/3.forms/9.form-group.md +++ b/docs/content/3.forms/9.form-group.md @@ -253,6 +253,6 @@ Use the `#error` slot to set the custom content for error. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/4.data/1.table.md b/docs/content/4.data/1.table.md index 78d304b3..777cee19 100644 --- a/docs/content/4.data/1.table.md +++ b/docs/content/4.data/1.table.md @@ -419,6 +419,6 @@ componentProps: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/5.navigation/1.vertical-navigation.md b/docs/content/5.navigation/1.vertical-navigation.md index 59831ae6..17a350db 100644 --- a/docs/content/5.navigation/1.vertical-navigation.md +++ b/docs/content/5.navigation/1.vertical-navigation.md @@ -58,6 +58,6 @@ Use the `#badge` slot to customize the link badge. You will have access to the ` :component-props -## Preset +## Config :component-preset diff --git a/docs/content/5.navigation/2.command-palette.md b/docs/content/5.navigation/2.command-palette.md index e2730fb6..5a7d8bfc 100644 --- a/docs/content/5.navigation/2.command-palette.md +++ b/docs/content/5.navigation/2.command-palette.md @@ -236,6 +236,6 @@ componentProps: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/5.navigation/3.pagination.md b/docs/content/5.navigation/3.pagination.md index 9a6840c5..53368b04 100644 --- a/docs/content/5.navigation/3.pagination.md +++ b/docs/content/5.navigation/3.pagination.md @@ -136,6 +136,6 @@ Use the `#first` and `#last` slots to set the content of the first and last butt :component-props -## Preset +## Config :component-preset diff --git a/docs/content/5.navigation/4.tabs.md b/docs/content/5.navigation/4.tabs.md index a29ecbd6..ac3ba2bc 100644 --- a/docs/content/5.navigation/4.tabs.md +++ b/docs/content/5.navigation/4.tabs.md @@ -73,6 +73,6 @@ You can also pass a `slot` property to customize a specific item. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/1.modal.md b/docs/content/6.overlays/1.modal.md index 9e98234a..e71dff0f 100644 --- a/docs/content/6.overlays/1.modal.md +++ b/docs/content/6.overlays/1.modal.md @@ -63,6 +63,6 @@ Set the `fullscreen` prop to `true` to enable it. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/2.slideover.md b/docs/content/6.overlays/2.slideover.md index 5ccdde1a..9c7b838e 100644 --- a/docs/content/6.overlays/2.slideover.md +++ b/docs/content/6.overlays/2.slideover.md @@ -57,6 +57,6 @@ defineShortcuts({ :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/3.popover.md b/docs/content/6.overlays/3.popover.md index d0ac7fb1..9a5d659e 100644 --- a/docs/content/6.overlays/3.popover.md +++ b/docs/content/6.overlays/3.popover.md @@ -53,6 +53,6 @@ Use the `#panel` slot to fill the content of the panel. You will have access to :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/4.tooltip.md b/docs/content/6.overlays/4.tooltip.md index 78563695..03c6be98 100644 --- a/docs/content/6.overlays/4.tooltip.md +++ b/docs/content/6.overlays/4.tooltip.md @@ -46,6 +46,6 @@ slots: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/5.context-menu.md b/docs/content/6.overlays/5.context-menu.md index 6693ccea..1316ae53 100644 --- a/docs/content/6.overlays/5.context-menu.md +++ b/docs/content/6.overlays/5.context-menu.md @@ -31,6 +31,6 @@ Use the `popper` prop to customize the popper instance. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/6.overlays/6.notification.md b/docs/content/6.overlays/6.notification.md index b7bbb009..8a852e31 100644 --- a/docs/content/6.overlays/6.notification.md +++ b/docs/content/6.overlays/6.notification.md @@ -291,6 +291,6 @@ Slots defined in the `` component are automatically passed dow :component-props -## Preset +## Config :component-preset diff --git a/docs/content/7.layout/1.card.md b/docs/content/7.layout/1.card.md index 5f63782d..3ea559f9 100644 --- a/docs/content/7.layout/1.card.md +++ b/docs/content/7.layout/1.card.md @@ -24,6 +24,6 @@ Use the `#footer` slot to fill the footer. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/7.layout/2.container.md b/docs/content/7.layout/2.container.md index b8b86223..aa8252f2 100644 --- a/docs/content/7.layout/2.container.md +++ b/docs/content/7.layout/2.container.md @@ -14,6 +14,6 @@ links: :component-props -## Preset +## Config :component-preset diff --git a/docs/content/7.layout/3.skeleton.md b/docs/content/7.layout/3.skeleton.md index b0b294db..fa6d5fcf 100644 --- a/docs/content/7.layout/3.skeleton.md +++ b/docs/content/7.layout/3.skeleton.md @@ -16,6 +16,6 @@ Use to show a placeholder while content is loading. :component-props -## Preset +## Config :component-preset diff --git a/docs/content/7.layout/4.divider.md b/docs/content/7.layout/4.divider.md index 729b353e..9dfef51c 100644 --- a/docs/content/7.layout/4.divider.md +++ b/docs/content/7.layout/4.divider.md @@ -114,6 +114,6 @@ Use the `default` slot to add content to the divider. :component-props -## Preset +## Config :component-preset