// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function buttonGroupElementMemphisStyle() {
    return css `
:host {
  --button-group-background-color: var(--memphis-scheme-background);
  --button-group-border-color: var(--memphis-scheme-contrast);
  --button-group-border-radius: var(--memphis-layout-radius);
  --button-group-border-style: solid;
  --button-group-border-width: var(--memphis-layout-thickness);
  --button-group-font-family: var(--memphis-font-family);
  --button-group-font-letter-spacing: var(--memphis-typography-button-letter-spacing);
  --button-group-font-line-height: var(--memphis-typography-button-line-height);
  --button-group-font-size: var(--memphis-typography-button-font-size);
  --button-group-font-text-decoration: var(--memphis-typography-button-text-decoration);
  --button-group-font-text-transform: var(--memphis-typography-button-text-transform);
  --button-group-font-weight: var(--memphis-typography-button-font-weight);
  --button-group-foreground-color: var(--memphis-scheme-foreground);
  --button-group-gap: 0;
  --button-group-padding-bottom: 0;
  --button-group-padding-left: 0;
  --button-group-padding-right: 0;
  --button-group-padding-top: 0;
  --button-group-shadow: unset unset unset unset unset;
  --button-group-shadow-blur: unset;
  --button-group-shadow-color: unset;
  --button-group-shadow-offset-x: unset;
  --button-group-shadow-offset-y: unset;
  --button-group-shadow-spread: unset;
  --button-group-transition-duration: .2s;
  --button-group-transition-mode: ease;
  --button-group-transition-property: background-color, color, border-color, opacity, box-shadow;
  --button-group-translate: unset;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--button-group-font-family);
  font-size: var(--button-group-font-size);
  line-height: var(--button-group-font-line-height);
  font-weight: var(--button-group-font-weight);
  letter-spacing: var(--button-group-font-letter-spacing);
  -webkit-text-decoration: var(--button-group-font-text-decoration);
  text-decoration: var(--button-group-font-text-decoration);
  text-transform: var(--button-group-font-text-transform);
  padding-top: var(--button-group-padding-top);
  padding-right: var(--button-group-padding-right);
  padding-bottom: var(--button-group-padding-bottom);
  padding-left: var(--button-group-padding-left);
  gap: var(--button-group-gap);
  transition-duration: var(--button-group-transition-duration);
  transition-timing-function: var(--button-group-transition-mode);
  transition-property: var(--button-group-transition-property);
  background: var(--button-group-background-color);
  border-color: var(--button-group-border-color);
  color: var(--button-group-foreground-color);
  border-width: var(--button-group-border-width);
  border-radius: var(--button-group-border-radius);
  border-style: var(--button-group-border-style);
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  display: grid;
}

:host ::slotted(mosaik-button), :host ::slotted(mosaik-toggle-button) {
  --button-border-radius: 0;
  --button-border-width: 0;
}

:host ::slotted(mosaik-button:focus), :host ::slotted(mosaik-toggle-button:focus) {
  z-index: 1;
}

:host ::slotted(mosaik-button:hover), :host ::slotted(mosaik-toggle-button:hover) {
  z-index: 2;
}

:host ::slotted(mosaik-button.first), :host ::slotted(mosaik-toggle-button.first) {
  border-start-start-radius: var(--button-group-border-radius);
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-end-start-radius: var(--button-group-border-radius);
}

:host ::slotted(mosaik-button.last), :host ::slotted(mosaik-toggle-button.last) {
  border-start-start-radius: 0;
  border-start-end-radius: var(--button-group-border-radius);
  border-end-end-radius: var(--button-group-border-radius);
  border-end-start-radius: 0;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
}

:host([orientation="horizontal"]) {
  grid-auto-flow: column;
}

:host([orientation="vertical"]) {
  grid-auto-flow: row;
}

:host([orientation="vertical"]) ::slotted(mosaik-button.first), :host([orientation="vertical"]) ::slotted(mosaik-toggle-button.first) {
  border-start-start-radius: var(--button-group-border-radius);
  border-start-end-radius: var(--button-group-border-radius);
  border-end-end-radius: 0;
  border-end-start-radius: 0;
}

:host([orientation="vertical"]) ::slotted(mosaik-button.last), :host([orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-start-start-radius: 0;
  border-start-end-radius: 0;
  border-end-end-radius: var(--button-group-border-radius);
  border-end-start-radius: var(--button-group-border-radius);
}

:host([appearance="outline"]) ::slotted(mosaik-button.inner), :host([appearance="outline"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="outline"]) ::slotted(mosaik-button.last), :host([appearance="outline"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: var(--button-group-border-width);
  border-left-style: solid;
}

:host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-button.inner), :host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-button.last), :host([appearance="outline"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
  border-top-width: var(--button-group-border-width);
  border-top-style: solid;
}

:host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-button.inner), :host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-button.last), :host([appearance="plain"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
}

:host([appearance="soft"]) {
  --button-group-gap: 0;
  --button-group-border-width: 0;
}

:host([appearance="soft"]) ::slotted(mosaik-button.inner), :host([appearance="soft"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="soft"]) ::slotted(mosaik-button.last), :host([appearance="soft"]) ::slotted(mosaik-toggle-button.last) {
  border-left-style: solid;
  border-left-width: 2px;
}

:host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-button.inner), :host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-toggle-button.inner), :host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-button.last), :host([appearance="soft"][orientation="vertical"]) ::slotted(mosaik-toggle-button.last) {
  border-left-width: unset;
  border-left-style: unset;
  border-top-style: solid;
  border-top-width: 2px;
}

:host {
  box-shadow: var(--button-group-shadow-offset-x) var(--button-group-shadow-offset-y) var(--button-group-shadow-blur) var(--button-group-shadow-spread) var(--button-group-shadow-color);
}

    `;
}
//# sourceMappingURL=ButtonGroupElement.Memphis.js.map