@kizmann/nano-ui 0.8.26 → 0.8.27
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/dist/nano-ui.css +1 -1
- package/dist/nano-ui.js +2 -2
- package/dist/nano-ui.js.map +1 -1
- package/package.json +2 -2
- package/src/confirm/src/confirm/confirm.js +11 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kizmann/nano-ui",
|
|
3
|
-
"version": "0.8.
|
|
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.
|
|
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.
|
|
179
|
+
<NButton size={this.buttonSize} type={this.type} link={true} onClick={this.abort}>
|
|
172
180
|
{ this.abortText }
|
|
173
181
|
</NButton>
|
|
174
|
-
<NButton size={this.
|
|
182
|
+
<NButton size={this.buttonSize} type={this.type} link={false} onClick={this.confirm}>
|
|
175
183
|
{ this.confirmText }
|
|
176
184
|
</NButton>
|
|
177
185
|
</div>
|