wave-ui 2.31.0 → 2.31.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/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.es.js +3 -6
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +2 -2
- 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) {
|
|
@@ -3119,7 +3116,7 @@ const _sfc_main$u = {
|
|
|
3119
3116
|
case "file":
|
|
3120
3117
|
return !!this.inputFiles.length;
|
|
3121
3118
|
case "number":
|
|
3122
|
-
return this.inputNumberError;
|
|
3119
|
+
return this.inputValue || this.inputValue === 0 || this.inputNumberError;
|
|
3123
3120
|
case "date":
|
|
3124
3121
|
case "time":
|
|
3125
3122
|
return true;
|
|
@@ -5473,7 +5470,7 @@ const _sfc_main$j = {
|
|
|
5473
5470
|
var wSlider = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", render$j]]);
|
|
5474
5471
|
const _hoisted_1$9 = { key: 0 };
|
|
5475
5472
|
function render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5476
|
-
return $props.
|
|
5473
|
+
return $props.modelValue || $props.modelValue === void 0 ? (openBlock(), createElementBlock("div", {
|
|
5477
5474
|
key: 0,
|
|
5478
5475
|
class: normalizeClass(["w-spinner", $options.classes]),
|
|
5479
5476
|
style: normalizeStyle($options.styles)
|
|
@@ -5485,7 +5482,7 @@ var wSpinner_vue_vue_type_style_index_0_lang = "";
|
|
|
5485
5482
|
const _sfc_main$i = {
|
|
5486
5483
|
name: "w-spinner",
|
|
5487
5484
|
props: {
|
|
5488
|
-
|
|
5485
|
+
modelValue: {},
|
|
5489
5486
|
color: { type: String, default: "primary" },
|
|
5490
5487
|
xs: { type: Boolean },
|
|
5491
5488
|
sm: { type: Boolean },
|