@veritree/ui 0.30.0 → 0.31.0

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.30.0",
3
+ "version": "0.31.0",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -6,7 +6,7 @@
6
6
  @click.prevent="hide"
7
7
  >
8
8
  <slot>
9
- <IconClose class="h-5 w-5" />
9
+ <IconClose class="w-4" />
10
10
  </slot>
11
11
  </VTButton>
12
12
  </template>
@@ -1,5 +1,12 @@
1
1
  <template>
2
- <component :is="as" :class="[headless ? 'dialog-footer' : 'w-full']">
2
+ <component
3
+ :is="as"
4
+ :class="[
5
+ headless
6
+ ? 'dialog-footer'
7
+ : '-mx-4 -mb-4 flex items-center justify-between gap-x-3 p-4 md:-mx-8 md:-mb-8 md:p-8',
8
+ ]"
9
+ >
3
10
  <slot></slot>
4
11
  </component>
5
12
  </template>
@@ -5,7 +5,7 @@
5
5
  :class="[
6
6
  headless
7
7
  ? 'dialog-header'
8
- : 'mb-6 flex w-full items-center justify-between gap-x-3',
8
+ : '-mx-4 -mt-4 flex items-center justify-between gap-x-3 p-4 md:-mx-8 md:-mt-8 md:p-8',
9
9
  ]"
10
10
  >
11
11
  <slot></slot>
@@ -2,7 +2,7 @@
2
2
  <component
3
3
  :is="as"
4
4
  :id="id"
5
- :class="[headless ? 'dialog-body' : 'h-full w-full flex-1 overflow-y-auto']"
5
+ :class="[headless ? 'dialog-body' : 'h-full flex-1 overflow-y-auto']"
6
6
  >
7
7
  <slot></slot>
8
8
  </component>