@veritree/ui 0.83.0 → 0.83.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.83.0",
3
+ "version": "0.83.1",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,11 +8,7 @@
8
8
  :disabled="isDisabled"
9
9
  :class="[
10
10
  // default styles
11
- headless
12
- ? 'button'
13
- : isIcon
14
- ? 'relative inline-flex items-center justify-center rounded-full [&_svg]:max-h-full [&_svg]:max-w-full'
15
- : 'button-base',
11
+ headless ? 'button' : isIcon ? null : 'button-base',
16
12
  // variant styles
17
13
  headless
18
14
  ? `button--${variant}`
@@ -23,11 +19,11 @@
23
19
  ? 'border-gray-500 text-gray-100 hover:bg-white hover:text-gray-700'
24
20
  : 'button--secondary'
25
21
  : isTertiary
26
- ? 'border-transparent text-gray-600 hover:text-gray-800 focus:text-gray-800 active:text-gray-800 disabled:text-gray-400'
22
+ ? 'button--tertiary'
27
23
  : isDark
28
- ? 'border-transparent bg-gray-800 text-white hover:bg-gray-700 active:bg-gray-600 disabled:bg-gray-200 disabled:text-gray-400'
24
+ ? 'button--dark'
29
25
  : isIcon
30
- ? 'text-primary-100 focus-within:bg-gray-200 hover:bg-gray-200 active:bg-gray-300 disabled:bg-gray-200 disabled:text-gray-400'
26
+ ? 'button--icon'
31
27
  : null,
32
28
  // sizes styles
33
29
  headless