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

:host [part="focusRing"] {
  --focus-ring-color: var(--split-button-focus-ring-color);
  --focus-ring-active-width: var(--split-button-focus-ring-active-width);
  --focus-ring-inward-offset: var(--split-button-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--split-button-focus-ring-outward-offset);
}

:host [part="ripple"] {
  --ripple-background-color: var(--split-button-ripple-color);
  --ripple-duration: var(--split-button-ripple-duration);
}

:host [part="progressRing"] {
  --progress-ring-thickness: var(--split-button-progress-ring-width);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

: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(--split-button-padding-top);
  padding-right: var(--split-button-padding-right);
  padding-bottom: var(--split-button-padding-bottom);
  padding-left: var(--split-button-padding-left);
  gap: var(--split-button-gap);
  background: var(--split-button-background-color);
  color: var(--split-button-foreground-color);
  border-color: var(--split-button-border-color);
  border-width: var(--split-button-border-width);
  border-style: var(--split-button-border-style);
  border-top-left-radius: var(--split-button-border-radius);
  border-bottom-left-radius: var(--split-button-border-radius);
  border-right-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  transition-property: inherit;
}

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

:host [part="button"] {
  -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;
  cursor: inherit;
  pointer-events: inherit;
  outline-style: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  margin: 0;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="button"] [part="icon"] {
  color: inherit;
  flex-shrink: 0;
}

: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="buttonSplit"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding: var(--split-button-padding-top);
  background: var(--split-button-background-color);
  color: var(--split-button-foreground-color);
  border-color: var(--split-button-border-color);
  border-width: var(--split-button-border-width);
  border-style: var(--split-button-border-style);
  border-top-right-radius: var(--split-button-border-radius);
  border-bottom-right-radius: var(--split-button-border-radius);
  border-left-width: 1px;
  border-left-color: inherit;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  transition-property: inherit;
}

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

:host [part="buttonSplit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  z-index: 0;
  cursor: inherit;
  pointer-events: inherit;
  outline-style: none;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  margin: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="buttonSplit"] [part="iconCaret"] {
  color: inherit;
  flex-shrink: 0;
  transition-property: transform;
  transition-duration: .2s;
  transition-timing-function: ease;
  transform: rotate(0);
}

:host [part="focusRingMain"] {
  --focus-ring-outward-offset: 0px;
  border-top-left-radius: var(--split-button-border-radius) !important;
  border-bottom-left-radius: var(--split-button-border-radius) !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

:host [part="focusRingSplit"] {
  --focus-ring-outward-offset: 0px;
  border-top-right-radius: var(--split-button-border-radius) !important;
  border-bottom-right-radius: var(--split-button-border-radius) !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

:host [part="rippleMain"] {
  border-top-left-radius: calc(var(--split-button-border-radius) - var(--split-button-border-width));
  border-bottom-left-radius: calc(var(--split-button-border-radius) - var(--split-button-border-width));
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

:host [part="rippleSplit"] {
  border-top-right-radius: calc(var(--split-button-border-radius) - var(--split-button-border-width));
  border-bottom-right-radius: calc(var(--split-button-border-radius) - var(--split-button-border-width));
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

:host [part="popup"] {
  z-index: 100;
}

:host [part="popup"] ::slotted(mosaik-menu) {
  padding: 0;
}

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

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

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

:host([is-drop-down-open]) [part="iconCaret"] {
  transform: rotate(180deg);
}

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

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

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

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

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

:host {
  --split-button-background-color: var(--memphis-scheme-highlight);
  --split-button-foreground-color: var(--memphis-scheme-foreground);
}

:host [part="focusRingMain"], :host [part="focusRingSplit"] {
  --focus-ring-width: 0px;
}

:host([disabled]:not([disabled="false"])) {
  --split-button-background-color: var(--memphis-scheme-background);
  --split-button-border-color: var(--memphis-scheme-disabled);
  --split-button-foreground-color: var(--memphis-scheme-disabled);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-primary-500);
  --split-button-foreground-color: var(--memphis-color-primary-0);
}

:host([variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-primary-600);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-secondary-500);
  --split-button-foreground-color: var(--memphis-color-secondary-0);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-secondary-600);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-tertiary-500);
  --split-button-foreground-color: var(--memphis-color-tertiary-0);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-tertiary-600);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-danger-500);
  --split-button-foreground-color: var(--memphis-color-danger-0);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-danger-600);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-warning-500);
  --split-button-foreground-color: var(--memphis-color-warning-0);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-warning-600);
}

:host([variant="success"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-success-500);
  --split-button-foreground-color: var(--memphis-color-success-0);
}

:host([variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-success-600);
}

:host([variant="info"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-info-500);
  --split-button-foreground-color: var(--memphis-color-info-0);
}

:host([variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-info-600);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-highlight-500);
  --split-button-foreground-color: var(--memphis-color-highlight-0);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-highlight-600);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-neutral-500);
  --split-button-foreground-color: var(--memphis-color-neutral-0);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-neutral-600);
}

:host([appearance="outline"]) {
  --split-button-border-width: var(--memphis-layout-thickness);
  --split-button-border-style: solid;
}

:host([appearance="outline"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-scheme-background);
  --split-button-foreground-color: var(--memphis-scheme-foreground);
  --split-button-border-color: var(--memphis-scheme-highlight);
}

:host([appearance="outline"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-primary-500);
  --split-button-border-color: var(--memphis-color-primary-500);
}

:host([appearance="outline"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-secondary-500);
  --split-button-border-color: var(--memphis-color-secondary-500);
}

:host([appearance="outline"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-tertiary-500);
  --split-button-border-color: var(--memphis-color-tertiary-500);
}

:host([appearance="outline"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-danger-500);
  --split-button-border-color: var(--memphis-color-danger-500);
}

:host([appearance="outline"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-warning-500);
  --split-button-border-color: var(--memphis-color-warning-500);
}

:host([appearance="outline"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-success-500);
  --split-button-border-color: var(--memphis-color-success-500);
}

:host([appearance="outline"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-info-500);
  --split-button-border-color: var(--memphis-color-info-500);
}

:host([appearance="outline"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-highlight-500);
  --split-button-border-color: var(--memphis-color-highlight-500);
}

:host([appearance="outline"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --split-button-foreground-color: var(--memphis-color-neutral-500);
  --split-button-border-color: var(--memphis-color-neutral-500);
}

:host([appearance="solid"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-scheme-highlight);
  --split-button-border-color: var(--memphis-scheme-contrast);
  --split-button-foreground-color: var(--memphis-scheme-foreground);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-primary-500);
  --split-button-foreground-color: var(--memphis-color-primary-0);
}

:host([appearance="solid"][variant="primary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-primary-600);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-secondary-500);
  --split-button-foreground-color: var(--memphis-color-secondary-0);
}

:host([appearance="solid"][variant="secondary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-secondary-600);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-tertiary-500);
  --split-button-foreground-color: var(--memphis-color-tertiary-0);
}

:host([appearance="solid"][variant="tertiary"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-tertiary-600);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-danger-500);
  --split-button-foreground-color: var(--memphis-color-danger-0);
}

:host([appearance="solid"][variant="danger"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-danger-600);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-warning-500);
  --split-button-foreground-color: var(--memphis-color-warning-0);
}

:host([appearance="solid"][variant="warning"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-warning-600);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-success-500);
  --split-button-foreground-color: var(--memphis-color-success-0);
}

:host([appearance="solid"][variant="success"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-success-600);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-info-500);
  --split-button-foreground-color: var(--memphis-color-info-0);
}

:host([appearance="solid"][variant="info"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-info-600);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-highlight-500);
  --split-button-foreground-color: var(--memphis-color-highlight-0);
}

:host([appearance="solid"][variant="highlight"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-highlight-600);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"]))) {
  --split-button-background-color: var(--memphis-color-neutral-500);
  --split-button-foreground-color: var(--memphis-color-neutral-0);
}

:host([appearance="solid"][variant="neutral"]:not([disabled]:not([disabled="false"])):hover) {
  --split-button-background-color: var(--memphis-color-neutral-600);
}

:host([size="tiny"]) {
  --split-button-font-size: calc(var(--memphis-typography-button-font-size) - 4px);
  --split-button-font-line-height: calc(var(--memphis-typography-button-line-height) - 4px);
  --split-button-padding-top: calc(var(--memphis-layout-space) - 4px);
  --split-button-padding-right: calc(var(--memphis-layout-space) - 4px);
  --split-button-padding-bottom: calc(var(--memphis-layout-space) - 4px);
  --split-button-padding-left: calc(var(--memphis-layout-space) - 4px);
}

:host([size="tiny"]) [part="buttonSplit"] {
  min-width: 24px;
}

:host([size="small"]) {
  --split-button-font-size: calc(var(--memphis-typography-button-font-size) - 2px);
  --split-button-font-line-height: calc(var(--memphis-typography-button-line-height) - 2px);
  --split-button-padding-top: calc(var(--memphis-layout-space) - 2px);
  --split-button-padding-right: calc(var(--memphis-layout-space) - 2px);
  --split-button-padding-bottom: calc(var(--memphis-layout-space) - 2px);
  --split-button-padding-left: calc(var(--memphis-layout-space) - 2px);
}

:host([size="small"]) [part="buttonSplit"] {
  min-width: 28px;
}

:host([size="medium"]) {
  --split-button-font-size: var(--memphis-typography-button-font-size);
  --split-button-font-line-height: var(--memphis-typography-button-line-height);
}

:host([size="large"]) {
  --split-button-font-size: calc(var(--memphis-typography-button-font-size) + 2px);
  --split-button-font-line-height: calc(var(--memphis-typography-button-line-height) + 2px);
  --split-button-padding-top: calc(var(--memphis-layout-space) + 4px);
  --split-button-padding-right: calc(var(--memphis-layout-space) + 4px);
  --split-button-padding-bottom: calc(var(--memphis-layout-space) + 4px);
  --split-button-padding-left: calc(var(--memphis-layout-space) + 4px);
}

:host([size="large"]) [part="buttonSplit"] {
  min-width: 40px;
}

:host([size="giant"]) {
  --split-button-font-size: calc(var(--memphis-typography-button-font-size) + 4px);
  --split-button-font-line-height: calc(var(--memphis-typography-button-line-height) + 4px);
  --split-button-padding-top: calc(var(--memphis-layout-space) + 8px);
  --split-button-padding-right: calc(var(--memphis-layout-space) + 8px);
  --split-button-padding-bottom: calc(var(--memphis-layout-space) + 8px);
  --split-button-padding-left: calc(var(--memphis-layout-space) + 8px);
}

:host([size="giant"]) [part="buttonSplit"] {
  min-width: 48px;
}

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