wave-ui 2.42.2 → 2.43.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": "wave-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.43.0",
|
|
4
4
|
"description": "An emerging UI framework for Vue.js (2 & 3) with only the bright side. :sunny:",
|
|
5
5
|
"author": "Antoni Andre <antoniandre.web@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
".": {
|
|
19
19
|
"import": "./dist/wave-ui.es.js",
|
|
20
20
|
"require": "./dist/wave-ui.umd.js"
|
|
21
|
-
}
|
|
21
|
+
},
|
|
22
|
+
"./package.json": "./package.json",
|
|
23
|
+
"./dist/*": "./dist/*",
|
|
24
|
+
"./src/wave-ui/*": "./src/wave-ui/*"
|
|
22
25
|
},
|
|
23
26
|
"files": [
|
|
24
27
|
"dist",
|
|
@@ -8,7 +8,7 @@ component.w-button(
|
|
|
8
8
|
v-on="listeners"
|
|
9
9
|
v-bind="$attrs"
|
|
10
10
|
:style="styles")
|
|
11
|
-
w-icon(v-if="icon") {{ icon }}
|
|
11
|
+
w-icon(v-if="icon" v-bind="iconProps || {}") {{ icon }}
|
|
12
12
|
slot(v-else)
|
|
13
13
|
transition(name="scale-fade")
|
|
14
14
|
.w-button__loader(v-if="loading")
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
loading: { type: Boolean },
|
|
45
45
|
// If an icon is passed, no text will display.
|
|
46
46
|
icon: { type: String, default: null },
|
|
47
|
+
iconProps: { type: Object, default: () => ({}) },
|
|
47
48
|
// Positions.
|
|
48
49
|
absolute: { type: Boolean },
|
|
49
50
|
fixed: { type: Boolean },
|
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
noPosition: { type: Boolean },
|
|
23
23
|
zIndex: { type: [Number, String, Boolean] },
|
|
24
24
|
// Optionally designate an external activator.
|
|
25
|
-
activator: { type: [String, Object
|
|
25
|
+
activator: { type: [String, Object] } // The activator can be a DOM string selector, a ref or a DOM node.
|
|
26
26
|
},
|
|
27
27
|
|
|
28
28
|
inject: {
|