// ------------------------------------------------------------------------------
// <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 chipBoxElementMemphisStyle() {
    return css `
:host {
  --chipbox-background-color: var(--memphis-scheme-background);
  --chipbox-border-color: var(--memphis-scheme-contrast);
  --chipbox-border-radius: var(--memphis-layout-radius);
  --chipbox-border-style: solid;
  --chipbox-border-width: var(--memphis-layout-thickness);
  --chipbox-focus-ring-outward-offset: 0px;
  --chipbox-focus-ring-width: 0px;
  --chipbox-font-family: var(--memphis-font-family);
  --chipbox-font-letter-spacing: unset;
  --chipbox-font-line-height: unset;
  --chipbox-font-size: var(--memphis-typography-body1-font-size);
  --chipbox-font-text-decoration: unset;
  --chipbox-font-text-transform: unset;
  --chipbox-font-weight: var(--memphis-typography-body1-font-weight);
  --chipbox-foreground-color: var(--memphis-scheme-foreground);
  --chipbox-gap: var(--memphis-layout-space);
  --chipbox-height: 56px;
  --chipbox-padding-bottom: var(--memphis-layout-space);
  --chipbox-padding-left: calc(var(--memphis-layout-space) * 1.5);
  --chipbox-padding-right: calc(var(--memphis-layout-space) * 1.5);
  --chipbox-padding-top: var(--memphis-layout-space);
  --chipbox-prefix-icon-size: 20px;
  --chipbox-shadow: var(--memphis-elevation-semilight-offset-x-0) var(--memphis-elevation-semilight-offset-y-0) var(--memphis-elevation-semilight-blur-0) var(--memphis-elevation-semilight-spread-0) var(--memphis-elevation-semilight-color-0);
  --chipbox-shadow-blur: var(--memphis-elevation-semilight-blur-0);
  --chipbox-shadow-color: var(--memphis-elevation-semilight-color-0);
  --chipbox-shadow-offset-x: var(--memphis-elevation-semilight-offset-x-0);
  --chipbox-shadow-offset-y: var(--memphis-elevation-semilight-offset-y-0);
  --chipbox-shadow-spread: var(--memphis-elevation-semilight-spread-0);
  --chipbox-suffix-icon-size: 20px;
  --chipbox-transition-duration: .2s;
  --chipbox-transition-mode: ease;
  --chipbox-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --chipbox-translate: none;
}

@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 input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  resize: none;
  margin: 0;
  overflow: visible;
}

:host {
  font-family: var(--chipbox-font-family);
  font-size: var(--chipbox-font-size);
  line-height: var(--chipbox-font-line-height);
  font-weight: var(--chipbox-font-weight);
  letter-spacing: var(--chipbox-font-letter-spacing);
  -webkit-text-decoration: var(--chipbox-font-text-decoration);
  text-decoration: var(--chipbox-font-text-decoration);
  text-transform: var(--chipbox-font-text-transform);
  padding-top: var(--chipbox-padding-top);
  padding-right: var(--chipbox-padding-right);
  padding-bottom: var(--chipbox-padding-bottom);
  padding-left: var(--chipbox-padding-left);
  gap: var(--chipbox-gap);
  transition-duration: var(--chipbox-transition-duration);
  transition-timing-function: var(--chipbox-transition-mode);
  transition-property: var(--chipbox-transition-property);
  translate: var(--chipbox-translate);
  background: var(--chipbox-background-color);
  color: var(--chipbox-foreground-color);
  border-color: var(--chipbox-border-color);
  border-width: var(--chipbox-border-width);
  border-radius: var(--chipbox-border-radius);
  border-style: var(--chipbox-border-style);
  min-height: var(--chipbox-height);
  cursor: text;
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  display: flex;
}

:host [part="input"] {
  transition-duration: inherit;
  transition-timing-function: inherit;
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
  transition-property: inherit;
}

:host [part="label"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transform-origin: 0 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform;
  transition-property: transform, font-size, color, letter-spacing, top;
  transition-duration: .2s;
  transition-timing-function: ease;
  display: block;
  position: absolute;
  top: 10px;
  overflow: hidden;
  transform: translateY(0);
}

:host [part="label"].floating {
  top: unset;
  font-size: 12px;
  transform: translateY(-50%);
}

:host [part="suffix"], :host [part="prefix"] {
  gap: var(--chipbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="suffix"][hidden], :host [part="prefix"][hidden] {
  display: none;
}

:host [part="suffix"] {
  --icon-size: var(--chipbox-suffix-icon-size);
}

:host [part="prefix"] {
  --icon-size: var(--chipbox-prefix-icon-size);
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--chipbox-padding-top) var(--chipbox-padding-right) var(--chipbox-padding-bottom) var(--chipbox-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
}

:host [part="inner"] [part="wrapper"] {
  place-content: flex-start;
  gap: var(--chipbox-gap);
  flex-flow: wrap;
  display: flex;
}

:host [part="inner"] [part="wrapper"] [part="chip"] {
  flex-basis: unset;
}

:host [part="clear"] {
  --button-icon-min-width: 36px;
  --button-icon-min-height: 36px;
  --icon-size: 20px;
}

:host([has-label]) [part="inner"] [part="wrapper"] {
  padding-top: 12px;
}

:host([has-label]) [part="inner"] {
  padding-bottom: unset;
}

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

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

:host {
  --chipbox-shadow-color: var(--memphis-scheme-highlight);
  box-shadow: var(--chipbox-shadow-offset-x) var(--chipbox-shadow-offset-y) var(--chipbox-shadow-blur) var(--chipbox-shadow-spread) var(--chipbox-shadow-color);
}

:host [part="focusRing"] {
  --focus-ring-width: var(--chipbox-focus-ring-width);
}

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