@veritree/ui 0.19.2-22 → 0.19.2-24

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.
@@ -43,9 +43,9 @@ export const formControlIconMixin = {
43
43
  this.headless
44
44
  ? null
45
45
  : this.isLeft
46
- ? 'left-0'
46
+ ? 'left-1'
47
47
  : this.isRight
48
- ? 'right-0'
48
+ ? 'right-1'
49
49
  : null,
50
50
  ];
51
51
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.19.2-22",
3
+ "version": "0.19.2-24",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div
3
- v-if="modelValue"
3
+ v-if="isVisible"
4
4
  :class="[
5
5
  // default styles
6
6
  headless ? 'alert' : 'flex items-start gap-3 rounded border border-solid',
@@ -99,12 +99,6 @@ export default {
99
99
  },
100
100
  },
101
101
 
102
- watch: {
103
- visible(isVisible) {
104
- if (!isVisible) this.hide();
105
- },
106
- },
107
-
108
102
  mounted() {
109
103
  if (this.hasContent) this.content.show();
110
104
  if (this.hasOverlay) this.overlay.show();
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <transition
3
3
  enter-active-class="duration-300 ease-out"
4
- enter-class="translate-y-[50px] opacity-0"
4
+ enter-from-class="translate-y-[50px] opacity-0"
5
5
  enter-to-class="translate-y-0 opacity-100"
6
6
  leave-active-class="duration-300 ease-out"
7
- leave-class="translate-y-0 opacity-100"
7
+ leave-from-class="translate-y-0 opacity-100"
8
8
  leave-to-class="translate-y-[50px] opacity-0"
9
9
  @after-leave="hideDialog"
10
10
  >
@@ -19,7 +19,13 @@
19
19
  : null,
20
20
  ]"
21
21
  />
22
- <span :class="[headless ? 'form-feedback--text' : 'text-sm text-gray-500']">
22
+ <span
23
+ :class="[
24
+ headless
25
+ ? 'form-feedback--text'
26
+ : 'text-sm lowercase text-gray-500 first-letter:uppercase',
27
+ ]"
28
+ >
23
29
  <slot />
24
30
  </span>
25
31
  </div>
@@ -13,7 +13,7 @@
13
13
  variant="icon"
14
14
  @click="reveal = !reveal"
15
15
  >
16
- <component :is="iconVisibility" class="h-5 w-5" />
16
+ <component :is="iconVisibility" class="h-5 w-5 text-gray-500" />
17
17
  </VTButton>
18
18
  </div>
19
19
  </div>