// ------------------------------------------------------------------------------
// <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 treeItemElementMemphisStyle() {
    return css `
:host {
  --tree-item-background-color: unset;
  --tree-item-border-color: unset;
  --tree-item-border-radius: unset;
  --tree-item-border-style: unset;
  --tree-item-border-width: unset;
  --tree-item-font-family: unset;
  --tree-item-font-letter-spacing: unset;
  --tree-item-font-line-height: unset;
  --tree-item-font-size: unset;
  --tree-item-font-text-decoration: unset;
  --tree-item-font-text-transform: unset;
  --tree-item-font-weight: unset;
  --tree-item-foreground-color: unset;
  --tree-item-gap: unset;
  --tree-item-indent-color: var(--memphis-scheme-highlight);
  --tree-item-indent-offset: calc(var(--memphis-layout-space) * 2);
  --tree-item-indent-size: var(--memphis-layout-thickness);
  --tree-item-padding-bottom: unset;
  --tree-item-padding-left: unset;
  --tree-item-padding-right: unset;
  --tree-item-padding-top: unset;
  --tree-item-shadow: unset;
  --tree-item-transition-duration: unset;
  --tree-item-transition-mode: unset;
  --tree-item-transition-property: unset;
  --tree-item-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 {
  content-visibility: auto;
}

:host [part="root"] {
  font-family: var(--tree-item-font-family);
  font-size: var(--tree-item-font-size);
  line-height: var(--tree-item-font-line-height);
  font-weight: var(--tree-item-font-weight);
  letter-spacing: var(--tree-item-font-letter-spacing);
  -webkit-text-decoration: var(--tree-item-font-text-decoration);
  text-decoration: var(--tree-item-font-text-decoration);
  text-transform: var(--tree-item-font-text-transform);
  align-items: center;
  gap: var(--tree-item-gap);
  background-color: var(--tree-item-background-color);
  flex-direction: row;
  min-height: 48px;
  display: flex;
}

:host [part="text"] {
  flex: 1;
}

:host [part="caret"]::part(icon) {
  transition-property: transform;
  transition-duration: .2s;
  transition-timing-function: ease;
  transform: rotate(-90deg);
}

:host [part="expandable"]::part(content):before {
  content: "";
  top: 0;
  left: var(--tree-item-indent-offset);
  width: var(--tree-item-indent-size);
  background-color: var(--tree-item-indent-color);
  height: 100%;
  position: absolute;
}

:host [part="prefix-container"] {
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: flex;
}

:host slot:not([name]) {
  margin-left: calc(var(--tree-item-padding-left) * 2 + var(--tree-item-gap));
  display: block;
}

:host(:not([has-children])) {
  margin-left: 8px;
}

:host([is-expanded]) [part="caret"]::part(icon) {
  transform: rotate(-45deg);
}

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