@stsdti/funky-ui-kit 1.3.5 → 1.3.7

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.
@@ -18289,6 +18289,10 @@ const _sfc_main$1y = {
18289
18289
  type: Boolean,
18290
18290
  default: false
18291
18291
  },
18292
+ isHeaderSticky: {
18293
+ type: Boolean,
18294
+ default: false
18295
+ },
18292
18296
  disabled: {
18293
18297
  type: Boolean,
18294
18298
  default: false
@@ -18301,17 +18305,14 @@ const _sfc_main$1y = {
18301
18305
  const isCollapsedLocal = ref(props2.isCollapsed);
18302
18306
  const visibleHeadingElement = ref(false);
18303
18307
  const cardClasses = computed(() => {
18304
- return [
18305
- "card",
18306
- props2.type,
18307
- isCollapsedLocal.value ? "card-collapsed" : ""
18308
- ];
18308
+ return ["card", props2.type, isCollapsedLocal.value ? "card-collapsed" : ""];
18309
18309
  });
18310
18310
  const headerClasses = computed(() => {
18311
18311
  return {
18312
18312
  "card-header": !props2.disabled,
18313
18313
  "heading-elements-visible": visibleHeadingElement.value,
18314
- "collapsable": props2.canCollapse
18314
+ "collapsable": props2.canCollapse,
18315
+ "sticky-top": props2.isHeaderSticky
18315
18316
  };
18316
18317
  });
18317
18318
  const headerElementsClasses = computed(() => {
@@ -18328,10 +18329,12 @@ const _sfc_main$1y = {
18328
18329
  };
18329
18330
  });
18330
18331
  const bodyClasses = computed(() => {
18331
- return [{
18332
- "card-body": true,
18333
- "d-none": isCollapsedLocal.value
18334
- }];
18332
+ return [
18333
+ {
18334
+ "card-body": true,
18335
+ "d-none": isCollapsedLocal.value
18336
+ }
18337
+ ];
18335
18338
  });
18336
18339
  const collapseBody = () => {
18337
18340
  if (props2.canCollapse) {
@@ -20576,7 +20579,6 @@ const _sfc_main$1m = {
20576
20579
  close2({ value: false });
20577
20580
  }
20578
20581
  return (_ctx, _cache2) => {
20579
- const _component_app_button = resolveComponent("app-button");
20580
20582
  return openBlock(), createBlock(AppModal, {
20581
20583
  modelValue: isVisible.value,
20582
20584
  "onUpdate:modelValue": _cache2[0] || (_cache2[0] = ($event) => isVisible.value = $event),
@@ -20596,7 +20598,7 @@ const _sfc_main$1m = {
20596
20598
  }, null, 8, _hoisted_3$v)) : (openBlock(), createElementBlock("p", _hoisted_4$n, toDisplayString(__props.text), 1))
20597
20599
  ]),
20598
20600
  createElementVNode("div", _hoisted_5$i, [
20599
- createVNode(_component_app_button, {
20601
+ createVNode(_sfc_main$1E, {
20600
20602
  class: "btn app-alert-cancel-btn border",
20601
20603
  onClick: onCancel
20602
20604
  }, {
@@ -20605,7 +20607,7 @@ const _sfc_main$1m = {
20605
20607
  ]),
20606
20608
  _: 1
20607
20609
  }),
20608
- createVNode(_component_app_button, {
20610
+ createVNode(_sfc_main$1E, {
20609
20611
  class: normalizeClass(confirmButtonClass.value),
20610
20612
  onClick: onConfirm
20611
20613
  }, {