// ------------------------------------------------------------------------------
// <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 repeatButtonElementMemphisStyle() {
    return css `
:host {
  --repeat-button-background-color: var(--memphis-scheme-background);
  --repeat-button-border-color: var(--memphis-scheme-highlight);
  --repeat-button-border-radius: var(--memphis-layout-radius);
  --repeat-button-border-style: solid;
  --repeat-button-border-width: var(--memphis-layout-thickness);
  --repeat-button-focus-ring-active-width: 8px;
  --repeat-button-focus-ring-color: unset;
  --repeat-button-focus-ring-inward-offset: 2px;
  --repeat-button-focus-ring-outward-offset: 2px;
  --repeat-button-font-family: var(--memphis-typography-button-font-family);
  --repeat-button-font-letter-spacing: var(--memphis-typography-button-letter-spacing);
  --repeat-button-font-line-height: var(--memphis-typography-button-line-height);
  --repeat-button-font-size: var(--memphis-typography-button-font-size);
  --repeat-button-font-text-decoration: var(--memphis-typography-button-text-decoration);
  --repeat-button-font-text-transform: var(--memphis-typography-button-text-transform);
  --repeat-button-font-weight: var(--memphis-typography-button-font-weight);
  --repeat-button-foreground-color: var(--memphis-scheme-foreground);
  --repeat-button-gap: var(--memphis-layout-space);
  --repeat-button-height: auto;
  --repeat-button-icon-min-width: 36px;
  --repeat-button-icon-min-height: 36px;
  --repeat-button-line-height: calc(var(--repeat-button-font-line-height)  - 4px);
  --repeat-button-min-height: calc(var(--memphis-layout-space) * 5 - var(--memphis-layout-space) / 2);
  --repeat-button-min-width: 64px;
  --repeat-button-padding-bottom: var(--memphis-layout-space);
  --repeat-button-padding-left: var(--memphis-layout-space);
  --repeat-button-padding-right: var(--memphis-layout-space);
  --repeat-button-padding-top: var(--memphis-layout-space);
  --repeat-button-progress-thickness: var(--memphis-layout-thickness);
  --repeat-button-ripple-color: unset;
  --repeat-button-ripple-duration: .2s;
  --repeat-button-shadow: var(--memphis-elevation-none);
  --repeat-button-transition-duration: var(--memphis-layout-transition);
  --repeat-button-transition-mode: ease;
  --repeat-button-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --repeat-button-translate: none;
  --repeat-button-width: auto;
}

@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(--repeat-button-font-family);
  font-size: var(--repeat-button-font-size);
  line-height: var(--repeat-button-font-line-height);
  font-weight: var(--repeat-button-font-weight);
  letter-spacing: var(--repeat-button-font-letter-spacing);
  -webkit-text-decoration: var(--repeat-button-font-text-decoration);
  text-decoration: var(--repeat-button-font-text-decoration);
  text-transform: var(--repeat-button-font-text-transform);
  transition-duration: var(--repeat-button-transition-duration);
  transition-timing-function: var(--repeat-button-transition-mode);
  transition-property: var(--repeat-button-transition-property);
  cursor: pointer;
  border-start-start-radius: var(--repeat-button-border-radius);
  border-start-end-radius: var(--repeat-button-border-radius);
  border-end-end-radius: var(--repeat-button-border-radius);
  border-end-start-radius: var(--repeat-button-border-radius);
  width: auto;
  height: auto;
  display: flex;
}

:host [part="innerStack"] {
  --stack-gap: var(--repeat-button-gap);
}

:host [part="button"]:before {
  border-radius: var(--repeat-button-border-radius);
  content: "";
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: inherit;
  position: absolute;
  inset: 0;
}

:host [part="button"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding-top: var(--repeat-button-padding-top);
  padding-right: var(--repeat-button-padding-right);
  padding-bottom: var(--repeat-button-padding-bottom);
  padding-left: var(--repeat-button-padding-left);
  gap: var(--repeat-button-gap);
  background-color: var(--repeat-button-background-color);
  color: var(--repeat-button-foreground-color);
  border-color: var(--repeat-button-border-color);
  border-width: var(--repeat-button-border-width);
  border-radius: var(--repeat-button-border-radius);
  border-style: var(--repeat-button-border-style);
  width: inherit;
  height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 40px;
  cursor: inherit;
  pointer-events: inherit;
  border-style: solid;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
  border-end-start-radius: inherit;
  outline-style: none;
  flex: 1;
  margin: 0;
  text-decoration: none;
  transition-property: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="button"] [part="icon"] {
  color: inherit;
}

:host [part="button"] [part="label"] {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host [part="progressRing"] {
  margin: -12px 0 0 -12px;
  position: absolute;
  top: 50%;
  left: 50%;
}

:host [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host(:not([has-icon])) {
  min-width: var(--repeat-button-min-width);
}

:host(:not([has-link])[has-icon]) {
  min-width: var(--repeat-button-icon-min-width);
  min-height: var(--repeat-button-icon-min-height);
}

:host(:active) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-busy]) {
  pointer-events: none;
  position: relative;
}

:host([is-busy]) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([is-busy]) [part="label"], :host([is-busy]) [part="icon"] {
  visibility: hidden;
}

:host([appearance="outline"]) {
  --repeat-button-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="plain"]) {
  --repeat-button-border-width: 0px;
}

:host([appearance="plain"]:not([disabled]:not([disabled="false"]))) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

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

:host([appearance="soft"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="solid"]) {
  --repeat-button-border-width: 0px;
}

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([size="tiny"]) {
  --repeat-button-font-size: calc(var(--repeat-button-font-size)  - 4px);
  --repeat-button-line-height: calc(var(--repeat-button-font-line-height)  - 4px);
}

:host([size="small"]) {
  --repeat-button-font-size: calc(var(--repeat-button-font-size)  - 2px);
  --repeat-button-line-height: calc(var(--repeat-button-font-line-height)  - 2px);
}

:host([size="large"]) {
  --repeat-button-font-size: calc(var(--repeat-button-font-size)  + 2px);
  --repeat-button-line-height: calc(var(--repeat-button-font-line-height)  + 2px);
}

:host([size="giant"]) {
  --repeat-button-font-size: calc(var(--repeat-button-font-size)  + 4px);
  --repeat-button-line-height: calc(var(--repeat-button-font-line-height)  + 4px);
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

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