@simsustech/quasar-components 0.12.2 → 0.12.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.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - ff2fc3b: fix(components): fix Md3Layout rendering
8
+
3
9
  ## 0.12.2
4
10
 
5
11
  ### Patch Changes
package/dist/md3.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
2
  import { QBtn, QDrawer, QFooter, QHeader, QLayout, QPageContainer, QPageSticky, QToolbar, debounce, useQuasar } from "quasar";
3
- import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, onMounted, openBlock, ref, renderSlot, resolveComponent, toRefs, toValue, unref, vShow, watch, withCtx, withDirectives } from "vue";
3
+ import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, onMounted, openBlock, ref, renderSlot, resolveComponent, toRefs, toValue, unref, watch, withCtx } from "vue";
4
4
  //#region src/ui/md3/NavigationRailFabs.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1$1 = { key: 0 };
6
6
  //#endregion
@@ -264,7 +264,8 @@ function onClickOutside(target, handler, options = {}) {
264
264
  Number.POSITIVE_INFINITY;
265
265
  //#endregion
266
266
  //#region src/ui/md3/Md3Layout.vue?vue&type=script&setup=true&lang.ts
267
- var _hoisted_1 = {
267
+ var _hoisted_1 = { key: 0 };
268
+ var _hoisted_2 = {
268
269
  id: "fabs",
269
270
  class: "q-mb-md min-h-56px"
270
271
  };
@@ -325,7 +326,7 @@ var Md3Layout_default = /* @__PURE__ */ defineComponent({
325
326
  const _component_q_page_container = QPageContainer;
326
327
  const _component_q_layout = QLayout;
327
328
  return openBlock(), createBlock(_component_q_layout, { view: "lHh Lpr lFf" }, {
328
- default: withCtx(() => [withDirectives(createElementVNode("div", null, [
329
+ default: withCtx(() => [__props.ready ? (openBlock(), createElementBlock("div", _hoisted_1, [
329
330
  createVNode(_component_q_header, null, {
330
331
  default: withCtx(() => [createVNode(_component_q_toolbar, null, {
331
332
  default: withCtx(() => [!miniState.value ? (openBlock(), createBlock(_component_q_btn, {
@@ -368,7 +369,7 @@ var Md3Layout_default = /* @__PURE__ */ defineComponent({
368
369
  class: "q-mb-md",
369
370
  onClick: _cache[1] || (_cache[1] = ($event) => toggleLeftDrawer())
370
371
  }),
371
- createElementVNode("div", _hoisted_1, [renderSlot(_ctx.$slots, "fabs", { showSticky: false })]),
372
+ createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "fabs", { showSticky: false })]),
372
373
  renderSlot(_ctx.$slots, "drawer-mini-navigation")
373
374
  ], 2)]),
374
375
  default: withCtx(() => [renderSlot(_ctx.$slots, "drawer")]),
@@ -386,7 +387,7 @@ var Md3Layout_default = /* @__PURE__ */ defineComponent({
386
387
  default: withCtx(() => [createVNode(_component_router_view), renderSlot(_ctx.$slots, "fabs", { showSticky: true })]),
387
388
  _: 3
388
389
  })
389
- ], 512), [[vShow, __props.ready]])]),
390
+ ])) : createCommentVNode("", true)]),
390
391
  _: 3
391
392
  });
392
393
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "High level components for Quasar Framework",
5
5
  "bugs": "https://github.com/simsusech/quasar-components/issues",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <q-layout view="lHh Lpr lFf">
3
- <div v-show="ready">
3
+ <div v-if="ready">
4
4
  <q-header>
5
5
  <q-toolbar>
6
6
  <q-btn