@kizmann/nano-ui 0.8.26 → 0.8.27

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.8.26",
3
+ "version": "0.8.27",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -17,7 +17,7 @@
17
17
  "@babel/plugin-proposal-export-default-from": "^7.2.0",
18
18
  "@babel/plugin-proposal-object-rest-spread": "^7.4.4",
19
19
  "@babel/preset-env": "^7.4.4",
20
- "@kizmann/pico-js": "^0.4.4",
20
+ "@kizmann/pico-js": "^0.4.14",
21
21
  "@vue/babel-plugin-jsx": "^1.0.0",
22
22
  "@vue/babel-preset-jsx": "^1.2.4",
23
23
  "autoprefixer": "^9.6.1",
@@ -91,7 +91,15 @@ export default {
91
91
  return Locale.trans('Abort');
92
92
  },
93
93
  type: [String]
94
- }
94
+ },
95
+
96
+ buttonSize: {
97
+ default()
98
+ {
99
+ return 'md';
100
+ },
101
+ type: [String]
102
+ },
95
103
 
96
104
  },
97
105
 
@@ -168,10 +176,10 @@ export default {
168
176
 
169
177
  return (
170
178
  <div class={classList}>
171
- <NButton size={this.size} type={this.type} link={true} onClick={this.abort}>
179
+ <NButton size={this.buttonSize} type={this.type} link={true} onClick={this.abort}>
172
180
  { this.abortText }
173
181
  </NButton>
174
- <NButton size={this.size} type={this.type} link={false} onClick={this.confirm}>
182
+ <NButton size={this.buttonSize} type={this.type} link={false} onClick={this.confirm}>
175
183
  { this.confirmText }
176
184
  </NButton>
177
185
  </div>