@namelivia/vue-components 4.0.0 → 4.0.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/index.esm.js CHANGED
@@ -147,6 +147,7 @@ var script$r = defineComponent({
147
147
  CardImage: script$t,
148
148
  CardBody: script$s,
149
149
  },
150
+ emits: ['width']
150
151
  });
151
152
 
152
153
  const _hoisted_1$m = {
@@ -160,10 +161,11 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
160
161
 
161
162
  return (!_ctx.dismissed)
162
163
  ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
163
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "card" }, null, -1 /* HOISTED */)),
164
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "card" }, null, -1 /* HOISTED */)),
164
165
  createVNode(_component_card_image, {
165
166
  src: _ctx.image,
166
- alt: _ctx.title
167
+ alt: _ctx.title,
168
+ onWidth: _cache[0] || (_cache[0] = $event => (_ctx.$emit('width', $event)))
167
169
  }, null, 8 /* PROPS */, ["src", "alt"]),
168
170
  createVNode(_component_card_body, { title: _ctx.title }, {
169
171
  default: withCtx(() => [