import{Button as t}from"@redocly/theme/components/Button/Button";import{styled as r}from"../../../styled-components.js";const o=r.span`
  vertical-align: middle;
  line-height: var(--schema-labels-line-height);
  font-size: var(--schema-property-labels-font-size);
  color: var(--schema-labels--text-color);
`,i=r(o)`
  color: var(--schema-type-text-color);
`,d=r(o)`
  color: var(--schema-type-text-color);
`,m=r(o)`
  color: var(--schema-type-title-text-color);
  word-break: break-word;
`,c=r(o).attrs({as:"div"})`
  color: var(--text-color-secondary);
  font-size: var(--schema-labels-font-size);
  line-height: var(--schema-labels-line-height);
  font-weight: normal;
  display: block;
`,p=r(o)`
  color: var(--schema-property-required-label-text-color);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
`,b=r(c)`
  color: var(--schema-property-additional-label-text-color);
`,e=r.span.attrs(()=>({className:"tag-grey"}))`
  background: var(--tag-bg-color);
  padding: 0 var(--spacing-xxs);
  font-family: var(--font-family-monospaced);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  border-radius: var(--border-radius);
  color: var(--text-color-secondary);
  display: inline-flex;
  word-break: var(--code-word-break);
`,v=r(e)`
  color: var(--schema-property-access-label-text-color);
  background-color: var(--bg-color);
  border: 1px solid var(--border-color-secondary);
`,a=r(e)`
  background-color: var(--schema-inline-bg-color);
  border-radius: var(--border-radius);
  border: var(--schema-inline-border);
  padding: 0 var(--spacing-unit);
  width: fit-content;
`,h=r(e)`
  background-color: var(--schema-recursive-bg-color);
  border-color: var(--schema-recursive-border-color);
  color: var(--schema-recursive-text-color);
  padding: 0 var(--spacing-xs);
`,g=r(a)`
  background-color: var(--schema-enum-bg-color);
  border-color: var(--schema-enum-border-color);
  color: var(--schema-enum-text-color);
`,x=r(e)`
  background-color: var(--schema-default-bg-color);
  border-color: var(--schema-default-border-color);
  color: var(--schema-default-text-color);
`,l=r(e)`
  background-color: var(--schema-example-bg-color);
  border-color: var(--schema-example-border-color);
  color: var(--schema-example-text-color);
  word-break: var(--code-word-break);

  & + & {
    margin-left: 0;
  }

  display: inline-flex;
  white-space: pre-wrap;
  overflow-wrap: anywhere;

  & p,
  p:only-of-type {
    font-size: var(--schema-inline-code-font-size);
    font-family: var(--schema-inline-code-font-family);
    margin: 0;
  }
`,f=r(l)``,u=r(a)`
  background-color: var(--schema-constraint-bg-color);
  border-color: var(--schema-constraint-border-color);
  color: var(--schema-constraint-text-color);
  word-break: var(--code-word-break);
  margin: 0 var(--spacing-unit);

  & + & {
    margin-left: 0;
  }
`,y=r(t).attrs(()=>({variant:"link",size:"small"}))`
  padding: 0;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
`;export{v as AccessLabel,b as AdditionalPropertiesLabel,u as ConstraintItem,x as DefaultValue,g as EnumValue,l as ExampleValue,f as ExtensionValue,o as FieldLabel,a as FieldValueLabel,c as PropertyLabel,h as RecursiveLabel,p as RequiredLabel,e as Tag,y as ToggleButton,d as TypeName,i as TypePrefix,m as TypeTitle};
