@stsdti/funky-ui-kit 1.3.6 → 1.3.8

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) {
@@ -20558,7 +20561,7 @@ const _sfc_main$1m = {
20558
20561
  const isVisible = ref(false);
20559
20562
  const confirmButtonClass = computed(() => {
20560
20563
  if (props2.variant === "danger" || props2.variant === "destructive") {
20561
- return "btn btn-danger text-white";
20564
+ return "btn bg-red text-white";
20562
20565
  }
20563
20566
  return "btn btn-black";
20564
20567
  });