'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-b7293b2f.js');
const theme = require('./theme-1ac31ccf.js');

const cardFooterCss = ":host{--min-height:44px;padding:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;width:100%;background:var(--background);color:var(--color);font-family:var(--lu-font-family, inherit);contain:content;box-sizing:border-box}:host(.lu-color){background:var(--lu-color-base);color:var(--lu-color-contrast)}:host(.lu-color) ::slotted(lu-card-title),:host(.lu-color) ::slotted(lu-card-image){color:currentColor}:host(.card-footer-translucent){background-color:rgba(var(--lu-background-color-rgb, 255, 255, 255), 0.9);backdrop-filter:saturate(180%) blur(30px)}.footer-container{padding:var(--padding-top) var(--padding-end) var(--padding-bottom) var(--padding-start);display:flex;position:relative;flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-height:var(--min-height);contain:content;overflow:hidden;box-sizing:border-box}.footer-content{flex:1;order:2;min-width:0;max-width:100%}::slotted([slot=start]){order:1}::slotted([slot=end]){order:3;text-align:end}";

const CardFooter = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    /**
     * If `true`, the card footer will be translucent.
     */
    this.translucent = false;
  }
  hostData() {
    return {
      class: Object.assign(Object.assign({}, theme.createColorClasses(this.color)), { 'card-footer-translucent': this.translucent })
    };
  }
  __stencil_render() {
    return (index.h("div", { class: "footer-container" }, index.h("slot", { name: "start" }), index.h("div", { class: "footer-content" }, index.h("slot", null)), index.h("slot", { name: "end" })));
  }
  render() { return index.h(index.Host, this.hostData(), this.__stencil_render()); }
};
CardFooter.style = cardFooterCss;

exports.lu_card_footer = CardFooter;

//# sourceMappingURL=lu-card-footer.cjs.entry.js.map