@veritree/ui 0.43.0 → 0.45.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.43.0",
3
+ "version": "0.45.0",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -22,6 +22,6 @@
22
22
  "devDependencies": {
23
23
  "prettier": "^2.7.1",
24
24
  "prettier-plugin-tailwindcss": "^0.1.13",
25
- "tailwindcss": "^3.2.4"
25
+ "tailwindcss": "^3.3.2"
26
26
  }
27
27
  }
@@ -14,7 +14,7 @@
14
14
  :class="
15
15
  headless
16
16
  ? 'dialog-content'
17
- : `relative m-auto flex flex-col overflow-auto rounded bg-white p-4 focus:outline-none lg:p-6 ${classes}`
17
+ : `relative m-auto flex flex-col overflow-auto rounded bg-white px-4 focus:outline-none lg:px-6 ${classes}`
18
18
  "
19
19
  tabindex="-1"
20
20
  @keydown.esc.stop="onEsc"
@@ -4,7 +4,7 @@
4
4
  :class="[
5
5
  headless
6
6
  ? 'dialog-footer'
7
- : '-mx-4 -mb-4 flex items-center justify-between gap-x-3 p-4 md:-mx-6 md:-mb-6 md:p-6',
7
+ : '-mx-4 flex items-center justify-between gap-x-3 p-4 md:-mx-6 md:px-6 md:py-5',
8
8
  ]"
9
9
  >
10
10
  <slot></slot>
@@ -5,7 +5,7 @@
5
5
  :class="[
6
6
  headless
7
7
  ? 'dialog-header'
8
- : '-mx-4 -mt-4 flex items-center justify-between gap-x-3 p-4 md:-mx-6 md:-mt-6 md:p-6',
8
+ : '-mx-4 flex items-center justify-between gap-x-3 p-4 md:-mx-6 md:px-6 md:py-5',
9
9
  ]"
10
10
  @click.stop
11
11
  >
@@ -2,7 +2,11 @@
2
2
  <component
3
3
  :is="as"
4
4
  :id="id"
5
- :class="[headless ? 'dialog-body' : 'h-full flex-1']"
5
+ :class="[
6
+ headless
7
+ ? 'dialog-body'
8
+ : '-mx-4 flex-1 overflow-y-auto p-4 md:-mx-6 md:px-6 md:py-5',
9
+ ]"
6
10
  >
7
11
  <slot></slot>
8
12
  </component>
@@ -19,7 +19,9 @@
19
19
  : null,
20
20
  ]"
21
21
  />
22
- <span :class="[headless ? 'form-feedback--text' : 'text-sm text-gray-500']">
22
+ <span
23
+ :class="[headless ? 'form-feedback--text' : 'text-caption text-gray-500']"
24
+ >
23
25
  <slot />
24
26
  </span>
25
27
  </div>