@namelivia/vue-components 4.0.1 → 4.0.2
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/.storybook/main.js +1 -3
- package/.storybook/preview.js +1 -1
- package/dist/index.esm.js +16 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +16 -14
- package/dist/index.js.map +1 -1
- package/package.json +6 -8
- package/src/Card/Card.vue +3 -3
package/.storybook/main.js
CHANGED
package/.storybook/preview.js
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -114,12 +114,12 @@ var script$s = defineComponent({
|
|
|
114
114
|
});
|
|
115
115
|
|
|
116
116
|
const _hoisted_1$n = { class: "card-body" };
|
|
117
|
-
const _hoisted_2$
|
|
117
|
+
const _hoisted_2$e = { class: "card-title" };
|
|
118
118
|
const _hoisted_3$9 = { class: "card-text" };
|
|
119
119
|
|
|
120
120
|
function render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
121
121
|
return (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
122
|
-
createElementVNode("div", _hoisted_2$
|
|
122
|
+
createElementVNode("div", _hoisted_2$e, toDisplayString(_ctx.title), 1 /* TEXT */),
|
|
123
123
|
createElementVNode("p", _hoisted_3$9, [
|
|
124
124
|
renderSlot(_ctx.$slots, "default")
|
|
125
125
|
])
|
|
@@ -154,6 +154,7 @@ const _hoisted_1$m = {
|
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "card-container"
|
|
156
156
|
};
|
|
157
|
+
const _hoisted_2$d = { class: "card" };
|
|
157
158
|
|
|
158
159
|
function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
159
160
|
const _component_card_image = resolveComponent("card-image");
|
|
@@ -161,18 +162,19 @@ function render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
161
162
|
|
|
162
163
|
return (!_ctx.dismissed)
|
|
163
164
|
? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
165
|
+
createElementVNode("div", _hoisted_2$d, [
|
|
166
|
+
createVNode(_component_card_image, {
|
|
167
|
+
src: _ctx.image,
|
|
168
|
+
alt: _ctx.title,
|
|
169
|
+
onWidth: _cache[0] || (_cache[0] = $event => (_ctx.$emit('width', $event)))
|
|
170
|
+
}, null, 8 /* PROPS */, ["src", "alt"]),
|
|
171
|
+
createVNode(_component_card_body, { title: _ctx.title }, {
|
|
172
|
+
default: withCtx(() => [
|
|
173
|
+
renderSlot(_ctx.$slots, "default")
|
|
174
|
+
]),
|
|
175
|
+
_: 3 /* FORWARDED */
|
|
176
|
+
}, 8 /* PROPS */, ["title"])
|
|
177
|
+
])
|
|
176
178
|
]))
|
|
177
179
|
: createCommentVNode("v-if", true)
|
|
178
180
|
}
|