wave-ui 2.31.0 → 2.31.4
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/README.md +3 -3
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.es.js +5 -7
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +3 -3
- package/src/wave-ui/components/w-icon.vue +1 -1
- package/src/wave-ui/components/w-input.vue +1 -1
- package/src/wave-ui/components/w-progress.vue +4 -1
- package/src/wave-ui/components/w-spinner.vue +2 -2
- package/src/wave-ui/core.js +0 -8
- package/src/wave-ui/scss/_mixins.scss +5 -8
package/dist/wave-ui.es.js
CHANGED
|
@@ -447,9 +447,6 @@ const _WaveUI = class {
|
|
|
447
447
|
app.use(_WaveUI);
|
|
448
448
|
notificationManager = reactive(new NotificationManager$1());
|
|
449
449
|
mergeConfig(options);
|
|
450
|
-
if (config.disableColorShades) {
|
|
451
|
-
consoleWarn("WARNING - Since version 1.30 (Vue 2) & 2.17 (Vue 3), the option `disableColorShades` is replaced with `css.colorShades`.\nhttps://antoniandre.github.io/wave-ui/release-notes");
|
|
452
|
-
}
|
|
453
450
|
if (config.css.colorShades) {
|
|
454
451
|
config.colorShades = {};
|
|
455
452
|
for (let color in config.colors) {
|
|
@@ -2641,9 +2638,10 @@ const _sfc_main$w = {
|
|
|
2641
2638
|
}),
|
|
2642
2639
|
computed: {
|
|
2643
2640
|
ligature() {
|
|
2641
|
+
var _a, _b;
|
|
2644
2642
|
if (!config.iconsLigature)
|
|
2645
2643
|
return false;
|
|
2646
|
-
const [fontName, icon] = this.$slots.default()[0].children;
|
|
2644
|
+
const [fontName, icon] = (_b = (_a = this.$slots.default()[0]) == null ? void 0 : _a.children) == null ? void 0 : _b.split(" ");
|
|
2647
2645
|
return fontName === config.iconsLigature && { fontName, icon };
|
|
2648
2646
|
},
|
|
2649
2647
|
forcedSize() {
|
|
@@ -3119,7 +3117,7 @@ const _sfc_main$u = {
|
|
|
3119
3117
|
case "file":
|
|
3120
3118
|
return !!this.inputFiles.length;
|
|
3121
3119
|
case "number":
|
|
3122
|
-
return this.inputNumberError;
|
|
3120
|
+
return this.inputValue || this.inputValue === 0 || this.inputNumberError;
|
|
3123
3121
|
case "date":
|
|
3124
3122
|
case "time":
|
|
3125
3123
|
return true;
|
|
@@ -5473,7 +5471,7 @@ const _sfc_main$j = {
|
|
|
5473
5471
|
var wSlider = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", render$j]]);
|
|
5474
5472
|
const _hoisted_1$9 = { key: 0 };
|
|
5475
5473
|
function render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5476
|
-
return $props.
|
|
5474
|
+
return $props.modelValue || $props.modelValue === void 0 ? (openBlock(), createElementBlock("div", {
|
|
5477
5475
|
key: 0,
|
|
5478
5476
|
class: normalizeClass(["w-spinner", $options.classes]),
|
|
5479
5477
|
style: normalizeStyle($options.styles)
|
|
@@ -5485,7 +5483,7 @@ var wSpinner_vue_vue_type_style_index_0_lang = "";
|
|
|
5485
5483
|
const _sfc_main$i = {
|
|
5486
5484
|
name: "w-spinner",
|
|
5487
5485
|
props: {
|
|
5488
|
-
|
|
5486
|
+
modelValue: {},
|
|
5489
5487
|
color: { type: String, default: "primary" },
|
|
5490
5488
|
xs: { type: Boolean },
|
|
5491
5489
|
sm: { type: Boolean },
|