From 8880bdc45640103aea3e84a5410567bd87607738 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 12 Aug 2023 17:17:00 +0200 Subject: [PATCH] feat(module)!: use `tailwind-merge` for class merging (#509) --- .../color-picker/ColorPickerPill.vue | 4 +- docs/components/content/ComponentCard.vue | 9 +- .../examples/FormGroupErrorExample.vue | 2 +- .../content/examples/TableExampleAdvanced.vue | 2 +- .../content/themes/PaginationThemeRounded.vue | 2 +- .../VerticalNavigationThemeTailwind.vue | 4 +- docs/content/1.getting-started/3.theming.md | 43 ++++++ docs/content/1.getting-started/5.examples.md | 6 +- docs/content/3.forms/9.form-group.md | 2 - package.json | 3 +- pnpm-lock.yaml | 35 +++-- src/runtime/app.config.ts | 1 - src/runtime/components/data/Table.vue | 15 ++- src/runtime/components/elements/Accordion.vue | 17 ++- src/runtime/components/elements/Alert.vue | 19 +-- src/runtime/components/elements/Avatar.vue | 37 ++--- .../components/elements/AvatarGroup.ts | 31 ++--- src/runtime/components/elements/Badge.vue | 19 +-- src/runtime/components/elements/Button.vue | 27 ++-- .../components/elements/ButtonGroup.ts | 30 ++--- src/runtime/components/elements/Dropdown.vue | 15 ++- src/runtime/components/elements/Kbd.vue | 29 +++- src/runtime/components/forms/Checkbox.vue | 28 ++-- src/runtime/components/forms/FormGroup.vue | 21 ++- src/runtime/components/forms/Input.vue | 36 +++-- src/runtime/components/forms/Radio.vue | 28 ++-- src/runtime/components/forms/Range.vue | 33 +++-- src/runtime/components/forms/Select.vue | 37 +++-- src/runtime/components/forms/SelectMenu.vue | 39 ++++-- src/runtime/components/forms/Textarea.vue | 28 ++-- src/runtime/components/forms/Toggle.vue | 22 +-- src/runtime/components/layout/Card.vue | 29 +++- src/runtime/components/layout/Container.vue | 25 +++- src/runtime/components/layout/Skeleton.vue | 25 +++- .../components/navigation/CommandPalette.vue | 127 +++++++++--------- .../navigation/CommandPaletteGroup.vue | 2 +- .../components/navigation/Pagination.vue | 17 ++- src/runtime/components/navigation/Tabs.vue | 24 +++- .../navigation/VerticalNavigation.vue | 16 ++- .../components/overlays/ContextMenu.vue | 21 ++- src/runtime/components/overlays/Modal.vue | 17 ++- .../components/overlays/Notification.vue | 43 +++--- .../components/overlays/Notifications.vue | 29 ++-- src/runtime/components/overlays/Popover.vue | 16 ++- src/runtime/components/overlays/Slideover.vue | 17 ++- src/runtime/components/overlays/Tooltip.vue | 16 ++- src/runtime/utils/index.ts | 13 +- 47 files changed, 685 insertions(+), 376 deletions(-) diff --git a/docs/components/color-picker/ColorPickerPill.vue b/docs/components/color-picker/ColorPickerPill.vue index 4bf012b6..cbc4b911 100644 --- a/docs/components/color-picker/ColorPickerPill.vue +++ b/docs/components/color-picker/ColorPickerPill.vue @@ -1,11 +1,11 @@