'use strict';

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

const index = require('./index-1141a245.js');

const DvnRadioCardGroup = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.change = index.createEvent(this, "change", 7);
    this.options = [];
  }
  render() {
    const { options, value } = this;
    return (index.h(index.Host, null, options.map(option => (index.h("dvn-card", { key: option.value, elevation: 0, outlined: true, selectable: true, selected: value === option.value, overrideStyle: { margin: 'calc(2 * var(--spacing-unit)) 0px' }, onClick: () => this.change.emit(option.value), tint: option.tint }, index.h("dvn-card-header", { slot: "header", title: option.label }), option.description)))));
  }
};

exports.dvn_radio_card_group = DvnRadioCardGroup;
