@simsustech/quasar-components 0.4.2 → 0.4.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 17dbf94: refactor(components): change class attribute of ResponsiveDialog; fix(components): fix BooleanSelect validation
8
+
3
9
  ## 0.4.2
4
10
 
5
11
  ### Patch Changes
package/dist/form.js CHANGED
@@ -456,7 +456,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
456
456
  const validations = ref([]);
457
457
  if (props.required)
458
458
  validations.value.push(
459
- (val) => val !== void 0 || lang2.value.validations.fieldRequired
459
+ (val) => val !== null || lang2.value.validations.fieldRequired
460
460
  );
461
461
  return (_ctx, _cache) => {
462
462
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
package/dist/general.js CHANGED
@@ -148,7 +148,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
148
148
  createVNode(_component_q_layout, {
149
149
  view: "LHh lpR fff",
150
150
  container: "",
151
- class: normalizeClass({ "bg-dark": unref($q).dark.isActive, "bg-white": !unref($q).dark.isActive }),
151
+ class: normalizeClass(unref($q).dark.isActive ? "bg-dark" : "bg-white"),
152
152
  style: { "min-width": "85vw" }
153
153
  }, {
154
154
  default: withCtx(() => [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@ const validations = ref<ValidationRule[]>([])
49
49
  if (props.required)
50
50
  validations.value.push(
51
51
  (val: { label: string; value: string }) =>
52
- val !== void 0 || lang.value.validations.fieldRequired
52
+ val !== null || lang.value.validations.fieldRequired
53
53
  )
54
54
  defineEmits(['update:modelValue'])
55
55
  </script>
@@ -3,7 +3,7 @@
3
3
  <q-layout
4
4
  view="LHh lpR fff"
5
5
  container
6
- :class="{ 'bg-dark': $q.dark.isActive, 'bg-white': !$q.dark.isActive }"
6
+ :class="$q.dark.isActive ? 'bg-dark' : 'bg-white'"
7
7
  style="min-width: 85vw"
8
8
  >
9
9
  <q-header class="bg-primary">