@tb-dev/vue-components 2.2.1 → 2.2.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2169,8 +2169,8 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
2169
2169
  const isOpen = useModel(__props, "modelValue");
2170
2170
  return (_ctx, _cache) => {
2171
2171
  return openBlock(), createBlock(unref(_sfc_main$2m), {
2172
- modelValue: isOpen.value,
2173
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event)
2172
+ open: isOpen.value,
2173
+ "onUpdate:open": _cache[0] || (_cache[0] = ($event) => isOpen.value = $event)
2174
2174
  }, {
2175
2175
  default: withCtx(() => [
2176
2176
  _ctx.$slots.trigger ? (openBlock(), createBlock(unref(_sfc_main$2e), {
@@ -2211,6 +2211,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
2211
2211
  ]),
2212
2212
  _: 3
2213
2213
  }, 8, ["class"])) : createCommentVNode("", true),
2214
+ renderSlot(_ctx.$slots, "default"),
2214
2215
  _ctx.$slots.footer ? (openBlock(), createBlock(unref(_sfc_main$2h), {
2215
2216
  key: 1,
2216
2217
  class: normalizeClass(_ctx.footerClass)
@@ -2219,14 +2220,13 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
2219
2220
  renderSlot(_ctx.$slots, "footer")
2220
2221
  ]),
2221
2222
  _: 3
2222
- }, 8, ["class"])) : createCommentVNode("", true),
2223
- renderSlot(_ctx.$slots, "default")
2223
+ }, 8, ["class"])) : createCommentVNode("", true)
2224
2224
  ]),
2225
2225
  _: 3
2226
2226
  }, 8, ["class"])
2227
2227
  ]),
2228
2228
  _: 3
2229
- }, 8, ["modelValue"]);
2229
+ }, 8, ["open"]);
2230
2230
  };
2231
2231
  }
2232
2232
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/vue-components",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "Vue components",
5
5
  "license": "MIT",
6
6
  "type": "module",