@veritree/ui 0.64.1 → 0.64.3

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.
@@ -92,7 +92,7 @@ export const formControlStyleMixin = {
92
92
  this.disabled
93
93
  ? this.headless
94
94
  ? `${this.name}--disabled`
95
- : 'bg-gray-100'
95
+ : 'bg-gray-100 text-gray-500'
96
96
  : null,
97
97
  ];
98
98
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.64.1",
3
+ "version": "0.64.3",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -2,7 +2,7 @@
2
2
  <VTButton
3
3
  variant="icon"
4
4
  :id="id"
5
- :class="[headless ? 'dialog-close' : null]"
5
+ :class="[headless ? 'dialog-close' : 'self-start']"
6
6
  @click.prevent="hide"
7
7
  >
8
8
  <slot>
@@ -1,5 +1,24 @@
1
1
  <template>
2
- <legend class="text-body mb-2 block w-full font-normal text-gray-500">
2
+ <legend
3
+ :class="[
4
+ headless
5
+ ? 'legend'
6
+ : 'mb-4 block w-full text-sm font-medium text-gray-600',
7
+ ]"
8
+ >
3
9
  <slot />
4
10
  </legend>
5
11
  </template>
12
+
13
+ <script>
14
+ export default {
15
+ name: 'VTLegend',
16
+
17
+ props: {
18
+ headless: {
19
+ type: Boolean,
20
+ default: false,
21
+ },
22
+ },
23
+ };
24
+ </script>