@veritree/ui 0.27.0-3 → 0.27.0-4

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.27.0-3",
3
+ "version": "0.27.0-4",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -11,7 +11,9 @@
11
11
  "registry": "https://registry.npmjs.org"
12
12
  },
13
13
  "scripts": {
14
- "release": "np --no-tests --no-2fa --branch=next"
14
+ "release": "np --no-tests --no-2fa --branch=next",
15
+ "release-v2": "yarn publish && yarn push-tag",
16
+ "push-tag": "git push origin v$(node -p \"require('./package.json').version\")"
15
17
  },
16
18
  "dependencies": {
17
19
  "@floating-ui/dom": "^1.4.5",
@@ -92,7 +92,7 @@ export default {
92
92
  type: Boolean,
93
93
  default: false,
94
94
  },
95
- style: {
95
+ buttonStyle: {
96
96
  type: String,
97
97
  default: 'normal', // normal or ghost
98
98
  },
@@ -132,7 +132,7 @@ export default {
132
132
  },
133
133
 
134
134
  isGhost() {
135
- return this.style === 'ghost';
135
+ return this.buttonStyle === 'ghost';
136
136
  },
137
137
 
138
138
  tag() {