From 7cccbcfef899a64d63c8d33639a2d0da155c46cb Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 20 Jul 2023 12:00:23 +0200 Subject: [PATCH] fix(SelectMenu)!: invert `ui` and `ui-select` props (#432) --- docs/components/content/ComponentCard.vue | 2 +- src/runtime/components/forms/SelectMenu.vue | 96 ++++++++++----------- 2 files changed, 49 insertions(+), 49 deletions(-) diff --git a/docs/components/content/ComponentCard.vue b/docs/components/content/ComponentCard.vue index 8e30356f4e..918f6e4470 100644 --- a/docs/components/content/ComponentCard.vue +++ b/docs/components/content/ComponentCard.vue @@ -16,7 +16,7 @@ :options="prop.options" :name="`prop-${prop.name}`" variant="none" - :ui="{ width: 'w-32 !-mt-px', rounded: 'rounded-b-md', wrapper: 'relative inline-flex' }" + :ui-menu="{ width: 'w-32 !-mt-px', rounded: 'rounded-b-md', wrapper: 'relative inline-flex' }" class="!py-0" tabindex="-1" :popper="{ strategy: 'fixed', placement: 'bottom-start' }" diff --git a/src/runtime/components/forms/SelectMenu.vue b/src/runtime/components/forms/SelectMenu.vue index 6398aabaff..42aa042579 100644 --- a/src/runtime/components/forms/SelectMenu.vue +++ b/src/runtime/components/forms/SelectMenu.vue @@ -8,7 +8,7 @@ :multiple="multiple" :disabled="disabled || loading" as="div" - :class="ui.wrapper" + :class="uiMenu.wrapper" @update:model-value="onUpdate" > -