wave-ui 3.17.4 → 3.18.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/dist/types/plugin.d.ts +1 -1
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +4 -4
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +31 -27
- package/src/wave-ui/components/w-accordion/item.vue +5 -2
- package/src/wave-ui/components/w-alert.vue +8 -6
- package/src/wave-ui/components/w-autocomplete.vue +4 -4
- package/src/wave-ui/components/w-badge.vue +26 -24
- package/src/wave-ui/components/w-breadcrumbs.vue +7 -5
- package/src/wave-ui/components/w-button/button.vue +9 -7
- package/src/wave-ui/components/w-checkbox.vue +2 -2
- package/src/wave-ui/components/w-icon.vue +10 -8
- package/src/wave-ui/components/w-input.vue +4 -2
- package/src/wave-ui/components/w-menu.vue +4 -2
- package/src/wave-ui/components/w-rating.vue +6 -4
- package/src/wave-ui/components/w-select.vue +3 -1
- package/src/wave-ui/components/w-slider.vue +4 -2
- package/src/wave-ui/components/w-spinner.vue +6 -4
- package/src/wave-ui/components/w-switch.vue +5 -3
- package/src/wave-ui/components/w-table.vue +8 -6
- package/src/wave-ui/components/w-tabs/index.vue +3 -1
- package/src/wave-ui/components/w-tag.vue +22 -20
- package/src/wave-ui/components/w-tooltip.vue +5 -3
- package/src/wave-ui/scss/_base.scss +22 -14
- package/src/wave-ui/scss/_colors.scss +12 -9
- package/src/wave-ui/scss/_layout.scss +19 -16
- package/src/wave-ui/scss/_transitions.scss +2 -0
- package/src/wave-ui/scss/_typography.scss +9 -6
- package/src/wave-ui/scss/index.scss +6 -18
- package/src/wave-ui/scss/variables/_index.scss +2 -0
- package/src/wave-ui/scss/{_mixins.scss → variables/_mixins.scss} +13 -12
- package/src/wave-ui/scss/{_variables.scss → variables/_variables.scss} +33 -38
package/dist/wave-ui.es.js
CHANGED
|
@@ -5,7 +5,7 @@ var de = (e) => {
|
|
|
5
5
|
var Ie = (e, t, i) => t in e ? $e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
|
|
6
6
|
var F = (e, t, i) => Ie(e, typeof t != "symbol" ? t + "" : t, i), ue = (e, t, i) => t.has(e) || de("Cannot " + i);
|
|
7
7
|
var Y = (e, t, i) => (ue(e, t, "read from private field"), i ? i.call(e) : t.get(e)), te = (e, t, i) => t.has(e) ? de("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), ie = (e, t, i, s) => (ue(e, t, "write to private field"), s ? s.call(e, i) : t.set(e, i), i);
|
|
8
|
-
import { reactive as Z, resolveComponent as $,
|
|
8
|
+
import { reactive as Z, resolveComponent as $, createBlock as b, openBlock as o, Teleport as Ve, createVNode as T, TransitionGroup as ae, normalizeClass as m, withCtx as f, createElementBlock as u, Fragment as v, renderList as x, createCommentVNode as p, mergeProps as _, createElementVNode as w, createApp as Te, defineComponent as Le, inject as Re, withKeys as A, renderSlot as c, withModifiers as M, createTextVNode as B, toDisplayString as S, normalizeStyle as R, toHandlers as ne, Transition as O, resolveDynamicComponent as L, normalizeProps as le, resolveDirective as ke, withDirectives as W, createSlots as ee, vShow as re, vModelText as ve, vModelDynamic as xe, KeepAlive as Oe } from "vue";
|
|
9
9
|
const Pe = Z({
|
|
10
10
|
on: "#app",
|
|
11
11
|
// Sets the Wave UI root node. If not found, will default to `body`.
|
|
@@ -704,7 +704,7 @@ const N = class N {
|
|
|
704
704
|
timeout: l || l === 0 ? parseFloat(l) : 4e3
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
|
-
i.dismiss && (i.dismiss = () => this.dismiss(i._uid)), this.notifications.push(i), ~~i.timeout && setTimeout(() => this.dismiss(i._uid), i.timeout);
|
|
707
|
+
i.dismiss && (i.dismiss = () => this.dismiss(i._uid)), this.notifications.push(i), ~~i.timeout !== 0 && setTimeout(() => this.dismiss(i._uid), i.timeout);
|
|
708
708
|
}
|
|
709
709
|
dismiss(t) {
|
|
710
710
|
this.notifications = this.notifications.filter((i) => i._uid !== t);
|
|
@@ -4488,7 +4488,7 @@ const al = {
|
|
|
4488
4488
|
left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
|
|
4489
4489
|
minWidth: this.minWidth && this.menuMinWidth || null,
|
|
4490
4490
|
maxWidth: this.maxWidth && this.menuMaxWidth || null,
|
|
4491
|
-
"--w-menu-bg-color": this.arrow && (this.$waveui.colors[this.bgColor] || "
|
|
4491
|
+
"--w-menu-bg-color": this.arrow && (this.$waveui.colors[this.bgColor] || "var(--w-base-bg-color)")
|
|
4492
4492
|
};
|
|
4493
4493
|
},
|
|
4494
4494
|
activatorEventHandlers() {
|
|
@@ -7768,7 +7768,7 @@ const Ao = {
|
|
|
7768
7768
|
zIndex: this.zIndex || this.zIndex === 0 || null,
|
|
7769
7769
|
top: this.detachableCoords.top && `${~~this.detachableCoords.top}px` || null,
|
|
7770
7770
|
left: this.detachableCoords.left && `${~~this.detachableCoords.left}px` || null,
|
|
7771
|
-
"--w-tooltip-bg-color": this.$waveui.colors[this.bgColor] || "
|
|
7771
|
+
"--w-tooltip-bg-color": this.$waveui.colors[this.bgColor] || "var(--w-base-bg-color)"
|
|
7772
7772
|
};
|
|
7773
7773
|
},
|
|
7774
7774
|
activatorEventHandlers() {
|