@veritree/ui 0.19.0 → 0.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -16,8 +16,19 @@
16
16
  @keydown.up.prevent="onKeyArrowUp"
17
17
  @keydown.esc.stop="onKeyEsc"
18
18
  >
19
- <span class="Listbox-button__text"><slot></slot></span>
20
- <span class="Listbox-button__icon">
19
+ <span
20
+ :class="{
21
+ 'Listbox-button__text': headless,
22
+ 'text-left': !headless,
23
+ }"
24
+ >
25
+ <slot></slot>
26
+ </span>
27
+ <span
28
+ :class="{
29
+ 'Listbox-button__icon': headless,
30
+ }"
31
+ >
21
32
  <IconChevronDown
22
33
  class="transition-transform"
23
34
  :class="{ 'rotate-180': expanded }"