// ------------------------------------------------------------------------------
// <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 meterRingElementJoyStyle() {
    return css `
:host {
  --meter-ring-background-color: var(--joy-scheme-highlight);
  --meter-ring-border-color: var(--joy-scheme-highlight);
  --meter-ring-border-radius: none;
  --meter-ring-border-style: solid;
  --meter-ring-border-width: 0px;
  --meter-ring-fill-color: var(--joy-color-info-500);
  --meter-ring-fill-color-high: var(--joy-color-danger-500);
  --meter-ring-fill-color-low: var(--joy-color-warning-500);
  --meter-ring-fill-color-normal: var(--joy-color-info-500);
  --meter-ring-fill-color-optimum: var(--joy-color-success-500);
  --meter-ring-font-family: var(--joy-font-family);
  --meter-ring-font-letter-spacing: var(--joy-typography-body2-letter-spacing);
  --meter-ring-font-line-height: var(--joy-typography-body2-line-height);
  --meter-ring-font-size: var(--joy-typography-body2-line-height);
  --meter-ring-font-text-decoration: var(--joy-typography-body2-text-decoration);
  --meter-ring-font-text-transform: var(--joy-typography-body2-text-transform);
  --meter-ring-font-weight: normal;
  --meter-ring-foreground-color: var(--joy-color-neutral-900);
  --meter-ring-gap: var(--joy-layout-space);
  --meter-ring-marker-color: var(--joy-scheme-foreground);
  --meter-ring-padding-bottom: 4px;
  --meter-ring-padding-left: var(--joy-layout-space);
  --meter-ring-padding-right: var(--joy-layout-space);
  --meter-ring-padding-top: 4px;
  --meter-ring-radius: 60px;
  --meter-ring-shadow: unset unset unset unset unset;
  --meter-ring-shadow-blur: unset;
  --meter-ring-shadow-color: unset;
  --meter-ring-shadow-offset-x: unset;
  --meter-ring-shadow-offset-y: unset;
  --meter-ring-shadow-spread: unset;
  --meter-ring-thickness: 6px;
  --meter-ring-transition-duration: var(--joy-duration-short);
  --meter-ring-transition-mode: ease;
  --meter-ring-transition-property: background-color, color, border-color, opacity, box-shadow, stroke-dashoffset;
  --meter-ring-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 {
  --_meter-ring-circumference: calc(2 * 3.1416 * var(--_meter-ring-radius));
  line-height: 0;
  display: block;
}

:host [part="root"] {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

:host [part="root"] circle {
  fill: none;
  stroke-linecap: round;
}

:host [part="bar"] {
  stroke: var(--meter-ring-background-color);
  stroke-width: var(--_meter-ring-thickness);
  fill: none;
  cx: var(--_meter-ring-radius);
  cy: var(--_meter-ring-radius);
  r: calc(var(--_meter-ring-radius) - var(--_meter-ring-thickness) / 2);
}

:host [part="fill"] {
  stroke-width: var(--_meter-ring-thickness);
  stroke-linecap: round;
  fill: none;
  cx: var(--_meter-ring-radius);
  cy: var(--_meter-ring-radius);
  r: calc(var(--_meter-ring-radius) - var(--_meter-ring-thickness) / 2);
  stroke-dasharray: var(--_meter-ring-circumference) var(--_meter-ring-circumference);
  stroke-dashoffset: calc(var(--_meter-ring-circumference) * (1 - var(--_meter-ring-value) / 100));
  transition-property: stroke-dashoffset, stroke-dasharray, stroke;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
  stroke: var(--meter-ring-fill-color);
}

:host [part="segment"] {
  stroke-linecap: butt;
  transition-property: stroke;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
}

:host [part="marker"] {
  fill: var(--meter-ring-marker-color);
  filter: drop-shadow(0 0 2px #0000004d);
  transition-property: cx, cy;
  transition-duration: var(--meter-ring-transition-duration);
  transition-timing-function: var(--meter-ring-transition-mode);
}

:host [part="hint"] {
  flex-direction: row;
  justify-content: space-between;
  display: flex;
}

:host [part="segment"][data-range="low"] {
  stroke: var(--meter-ring-fill-color-low);
}

:host [part="segment"][data-range="optimum"] {
  stroke: var(--meter-ring-fill-color-optimum);
}

:host [part="segment"][data-range="high"] {
  stroke: var(--meter-ring-fill-color-high);
}

:host([disabled]:not([disabled="false"])) {
  --meter-ring-background-color: var(--joy-scheme-background);
  --meter-ring-border-color: var(--joy-scheme-highlight);
  --meter-ring-foreground-color: var(--joy-scheme-disabled);
  --meter-ring-fill-color: var(--joy-scheme-disabled);
}

:host([range="normal"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-normal);
}

:host([range="low"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-low);
}

:host([range="high"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-high);
}

:host([range="optimum"]) [part="fill"] {
  --meter-ring-fill-color: var(--meter-ring-fill-color-optimum);
}

    `;
}
//# sourceMappingURL=MeterRingElement.Joy.js.map