diff --git a/docs/components/text-inputs.md b/docs/components/text-inputs.md index 3ad64071f..7253fe344 100644 --- a/docs/components/text-inputs.md +++ b/docs/components/text-inputs.md @@ -50,3 +50,52 @@ const inputText = ref(null) ``` + + + + + +```vue + + + +``` + diff --git a/lib/assets/styles/defaults.scss b/lib/assets/styles/defaults.scss index 036cef20d..39864069f 100644 --- a/lib/assets/styles/defaults.scss +++ b/lib/assets/styles/defaults.scss @@ -93,6 +93,31 @@ input[type='number'] { } } +.dropdown-input { + display: flex; + flex-direction: row; + gap: 1px; + .animated-dropdown { + width: unset; + + .selected { + border-radius: var(--radius-md) 0 0 var(--radius-md); + + &.render-down { + border-radius: var(--radius-md) 0 0 0; + } + + &.render-up { + border-radius: 0 0 0 var(--radius-md); + } + } + } + + input { + border-radius: 0 var(--radius-md) var(--radius-md) 0; + } +} + .iconified-input { align-items: center; display: inline-flex; diff --git a/lib/components/base/DropdownSelect.vue b/lib/components/base/DropdownSelect.vue index e3c203323..138a82b78 100644 --- a/lib/components/base/DropdownSelect.vue +++ b/lib/components/base/DropdownSelect.vue @@ -23,7 +23,7 @@ @click="toggleDropdown" > {{ selectedOption }} - +
@@ -61,6 +61,7 @@