fds-vue-core 2.0.35 → 2.0.36
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FdsBlockInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FdsBlockInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Blocks/FdsBlockInfo/FdsBlockInfo.vue"],"names":[],"mappings":"AA8EA,OAAO,EAAsB,KAAK,IAAI,EAAE,MAAM,KAAK,CAAA;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAyBhD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,IAAI,CAAA;IACd,MAAM,CAAC,EAAE,IAAI,CAAA;IACb,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAC;AA6KF,QAAA,MAAM,eAAe;;;;4EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/fds-vue-core.cjs.js
CHANGED
|
@@ -2863,11 +2863,10 @@ const _hoisted_5$1 = { class: "flex items-start justify-between gap-4" };
|
|
|
2863
2863
|
const _hoisted_6 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
2864
2864
|
const _hoisted_7 = { class: "flex items-start gap-3" };
|
|
2865
2865
|
const _hoisted_8 = { key: 1 };
|
|
2866
|
-
const _hoisted_9 = { class: "
|
|
2867
|
-
const _hoisted_10 = { class: "flex items-
|
|
2868
|
-
const _hoisted_11 = { class: "
|
|
2869
|
-
const _hoisted_12 = { class: "
|
|
2870
|
-
const _hoisted_13 = { class: "flex items-start gap-3" };
|
|
2866
|
+
const _hoisted_9 = { class: "flex items-start justify-between gap-4" };
|
|
2867
|
+
const _hoisted_10 = { class: "flex items-center gap-3" };
|
|
2868
|
+
const _hoisted_11 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
2869
|
+
const _hoisted_12 = { class: "flex items-start gap-3" };
|
|
2871
2870
|
const smallIconSize = 24;
|
|
2872
2871
|
const largeIconSize = 48;
|
|
2873
2872
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -2880,9 +2879,12 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2880
2879
|
},
|
|
2881
2880
|
setup(__props) {
|
|
2882
2881
|
const props = __props;
|
|
2882
|
+
const hasDefaultSlot = vue.computed(() => !!vue.useSlots().default);
|
|
2883
2883
|
const contentClasses = vue.computed(() => [
|
|
2884
2884
|
"rounded-md bg-blue_t-100 mb-4",
|
|
2885
|
-
|
|
2885
|
+
!hasDefaultSlot.value && "mb-0!",
|
|
2886
|
+
props.size === "small" && "p-4",
|
|
2887
|
+
props.size === "small" && hasDefaultSlot.value && "pb-6",
|
|
2886
2888
|
props.size === "large" && props.icon && "p-6"
|
|
2887
2889
|
]);
|
|
2888
2890
|
const autoId = `fds-content-block-${Math.random().toString(36).slice(2, 9)}`;
|
|
@@ -2907,25 +2909,27 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
2907
2909
|
])
|
|
2908
2910
|
])
|
|
2909
2911
|
]),
|
|
2910
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
2912
|
+
hasDefaultSlot.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : vue.createCommentVNode("", true)
|
|
2911
2913
|
])
|
|
2912
2914
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
2913
|
-
vue.createElementVNode("div",
|
|
2914
|
-
vue.
|
|
2915
|
-
|
|
2915
|
+
vue.createElementVNode("div", {
|
|
2916
|
+
class: vue.normalizeClass({ "mb-4": hasDefaultSlot.value })
|
|
2917
|
+
}, [
|
|
2918
|
+
vue.createElementVNode("header", _hoisted_9, [
|
|
2919
|
+
vue.createElementVNode("div", _hoisted_10, [
|
|
2916
2920
|
_ctx.icon && _ctx.size === "small" ? (vue.openBlock(), vue.createBlock(_sfc_main$u, {
|
|
2917
2921
|
key: 0,
|
|
2918
2922
|
name: _ctx.icon,
|
|
2919
2923
|
size: smallIconSize,
|
|
2920
2924
|
class: "fill-blue-500"
|
|
2921
2925
|
}, null, 8, ["name"])) : vue.createCommentVNode("", true),
|
|
2922
|
-
vue.createElementVNode("h3",
|
|
2926
|
+
vue.createElementVNode("h3", _hoisted_11, vue.toDisplayString(_ctx.heading), 1)
|
|
2923
2927
|
]),
|
|
2924
|
-
vue.createElementVNode("div",
|
|
2928
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
2925
2929
|
vue.renderSlot(_ctx.$slots, "headerInfo")
|
|
2926
2930
|
])
|
|
2927
2931
|
])
|
|
2928
|
-
]),
|
|
2932
|
+
], 2),
|
|
2929
2933
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2930
2934
|
]))
|
|
2931
2935
|
], 10, _hoisted_1$9);
|