wave-ui 2.42.2 → 2.43.1

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.2",
3
+ "version": "2.43.1",
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",
@@ -11,14 +11,14 @@
11
11
  "jsdelivr": "dist/wave-ui.umd.js",
12
12
  "module": "./dist/wave-ui.es.js",
13
13
  "exports": {
14
- "./dist/wave-ui.css": "./dist/wave-ui.css",
15
- "./dist/wave-ui.cjs.js": "./dist/wave-ui.cjs.js",
16
- "./src/wave-ui": "./src/wave-ui/index.js",
17
- "./src/wave-ui/scss/_variables.scss": "./src/wave-ui/scss/_variables.scss",
18
14
  ".": {
19
15
  "import": "./dist/wave-ui.es.js",
20
16
  "require": "./dist/wave-ui.umd.js"
21
- }
17
+ },
18
+ "./package.json": "./package.json",
19
+ "./dist/*": "./dist/*",
20
+ "./src/wave-ui": "./src/wave-ui/index.js",
21
+ "./src/wave-ui/*": "./src/wave-ui/*"
22
22
  },
23
23
  "files": [
24
24
  "dist",
@@ -46,29 +46,29 @@
46
46
  "*.vue"
47
47
  ],
48
48
  "devDependencies": {
49
- "@babel/core": "^7.19.0",
50
- "@babel/eslint-parser": "^7.18.9",
49
+ "@babel/core": "^7.19.6",
50
+ "@babel/eslint-parser": "^7.19.1",
51
51
  "@babel/plugin-proposal-class-properties": "^7.18.6",
52
52
  "@mdi/font": "^5.9.55",
53
- "@vitejs/plugin-vue": "^1.10.2",
54
- "@vue/compiler-sfc": "3.1.5",
55
- "autoprefixer": "^10.4.8",
53
+ "@vitejs/plugin-vue": "^3.1.2",
54
+ "@vue/compiler-sfc": "3.2.41",
55
+ "autoprefixer": "^10.4.12",
56
56
  "axios": "^0.25.0",
57
57
  "eslint": "^7.32.0",
58
58
  "font-awesome": "^4.7.0",
59
- "gsap": "^3.11.1",
59
+ "gsap": "^3.11.3",
60
60
  "ionicons": "^4.6.3",
61
61
  "material-design-icons": "^3.0.1",
62
- "postcss": "^8.4.16",
62
+ "postcss": "^8.4.18",
63
+ "pug": "^3.0.2",
63
64
  "rollup-plugin-delete": "^2.0.0",
64
- "sass": "^1.54.8",
65
+ "sass": "^1.55.0",
65
66
  "simple-syntax-highlighter": "^2.2.3",
66
67
  "splitpanes": "^3.1.1",
67
- "vite": "^2.9.15",
68
- "vite-plugin-pug": "^0.3.1",
69
- "vue": "^3.2.38",
68
+ "vite": "^3.1.8",
69
+ "vue": "^3.2.41",
70
70
  "vue-router": "^4.1.5",
71
- "vueperslides": "^3.4.2",
72
- "vuex": "^4.0.2"
71
+ "vueperslides": "^3.5.0",
72
+ "vuex": "^4.1.0"
73
73
  }
74
74
  }
@@ -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 },
@@ -175,6 +175,8 @@ export default {
175
175
  .w-image-wrap {
176
176
  position: relative;
177
177
  display: inline-flex;
178
+ flex-grow: 0;
179
+ flex-shrink: 0;
178
180
  width: 4em;
179
181
 
180
182
  &--has-ratio {width: 100%;}
@@ -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: {