wave-ui 2.42.1 → 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.42.1",
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",
@@ -46,7 +49,7 @@
46
49
  "*.vue"
47
50
  ],
48
51
  "devDependencies": {
49
- "@babel/core": "^7.18.13",
52
+ "@babel/core": "^7.19.0",
50
53
  "@babel/eslint-parser": "^7.18.9",
51
54
  "@babel/plugin-proposal-class-properties": "^7.18.6",
52
55
  "@mdi/font": "^5.9.55",
@@ -56,17 +59,17 @@
56
59
  "axios": "^0.25.0",
57
60
  "eslint": "^7.32.0",
58
61
  "font-awesome": "^4.7.0",
59
- "gsap": "^3.11.0",
62
+ "gsap": "^3.11.1",
60
63
  "ionicons": "^4.6.3",
61
64
  "material-design-icons": "^3.0.1",
62
65
  "postcss": "^8.4.16",
63
66
  "rollup-plugin-delete": "^2.0.0",
64
- "sass": "^1.54.5",
67
+ "sass": "^1.54.8",
65
68
  "simple-syntax-highlighter": "^2.2.3",
66
69
  "splitpanes": "^3.1.1",
67
70
  "vite": "^2.9.15",
68
71
  "vite-plugin-pug": "^0.3.1",
69
- "vue": "^3.2.37",
72
+ "vue": "^3.2.38",
70
73
  "vue-router": "^4.1.5",
71
74
  "vueperslides": "^3.4.2",
72
75
  "vuex": "^4.0.2"
@@ -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 },
@@ -103,7 +104,7 @@ export default {
103
104
  ]
104
105
  },
105
106
  externalLink () {
106
- return /^(https?:)?\/\//.test(this.route)
107
+ return /^(https?:)?\/\/|mailto:|tel:/.test(this.route)
107
108
  },
108
109
  classes () {
109
110
  return {
@@ -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, HTMLElement] } // The activator can be a DOM string selector, a ref or a DOM node.
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: {