fds-vue-core 2.0.46 → 2.0.49
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/components/Blocks/FdsBlockAlert/FdsBlockAlert.vue.d.ts.map +1 -1
- package/dist/components/Blocks/FdsBlockContent/FdsBlockContent.vue.d.ts.map +1 -1
- package/dist/fds-vue-core.cjs.js +4 -5
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.es.js +4 -5
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +1 -1
package/dist/fds-vue-core.es.js
CHANGED
|
@@ -1917,7 +1917,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1917
1917
|
},
|
|
1918
1918
|
setup(__props) {
|
|
1919
1919
|
const hasSlot = useHasSlot();
|
|
1920
|
-
const hasHeading = useHasSlot("heading");
|
|
1921
1920
|
const props = __props;
|
|
1922
1921
|
const contentClasses = computed(() => [
|
|
1923
1922
|
"rounded-md p-4 bg-white mb-4",
|
|
@@ -1947,7 +1946,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1947
1946
|
class: normalizeClass(contentClasses.value),
|
|
1948
1947
|
style: normalizeStyle(borderLeftStyle.value)
|
|
1949
1948
|
}, [
|
|
1950
|
-
|
|
1949
|
+
_ctx.heading ? (openBlock(), createElementBlock("header", _hoisted_2$c, [
|
|
1951
1950
|
createElementVNode("div", _hoisted_3$8, [
|
|
1952
1951
|
createElementVNode("h3", {
|
|
1953
1952
|
class: normalizeClass(headerClasses.value)
|
|
@@ -2875,7 +2874,7 @@ const _hoisted_9 = { class: "flex items-start justify-between gap-4" };
|
|
|
2875
2874
|
const _hoisted_10 = { class: "flex items-center gap-3" };
|
|
2876
2875
|
const _hoisted_11 = { class: "m-0 text-base font-main font-bold tracking-wide" };
|
|
2877
2876
|
const _hoisted_12 = { class: "flex items-start gap-3" };
|
|
2878
|
-
const _hoisted_13 = { class: "
|
|
2877
|
+
const _hoisted_13 = { class: "mb-0-last-child" };
|
|
2879
2878
|
const smallIconSize = 24;
|
|
2880
2879
|
const largeIconSize = 48;
|
|
2881
2880
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
@@ -2952,7 +2951,7 @@ const _hoisted_2$5 = { class: "flex items-center gap-2" };
|
|
|
2952
2951
|
const _hoisted_3$2 = { class: "relative" };
|
|
2953
2952
|
const _hoisted_4$2 = {
|
|
2954
2953
|
key: 1,
|
|
2955
|
-
class: "
|
|
2954
|
+
class: "mb-0-last-child"
|
|
2956
2955
|
};
|
|
2957
2956
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2958
2957
|
__name: "FdsBlockAlert",
|
|
@@ -3007,7 +3006,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3007
3006
|
createElementVNode("div", null, [
|
|
3008
3007
|
_ctx.label ? (openBlock(), createElementBlock("div", {
|
|
3009
3008
|
key: 0,
|
|
3010
|
-
class: normalizeClass(["font-bold w-full justify-between items-center h-[24px] flex gap-2", { "mb-4": isExpanded.value || !_ctx.collapsable }])
|
|
3009
|
+
class: normalizeClass(["font-bold w-full justify-between items-center h-[24px] flex gap-2", { "mb-4": (isExpanded.value || !_ctx.collapsable) && unref(hasSlot) }])
|
|
3011
3010
|
}, [
|
|
3012
3011
|
createElementVNode("div", _hoisted_2$5, [
|
|
3013
3012
|
createVNode(_sfc_main$u, {
|