szs-slot-map

An szs slot map the build cannot read, or one on a host element.

Message

A name in angle brackets is a value the message fills in.

host-element

[csszyx] szs-slot-map: `szs` has no effect on a host element; it maps the slot names of a custom component.
  help: remove `szs`, or move it to the custom component whose slots it names.
  note: the attribute is left unchanged.
  docs: https://csszyx.com/e/szs-slot-map

unreadable-slot

[csszyx] szs-slot-map: A slot value in `szs` could not be read at build time, so no slot classes were compiled.
  help: write every slot as an identifier key with a static object literal or class string; for a value known only at runtime, pass the class string `dynamic()` returns.
  note: the attribute is left unchanged.
  docs: https://csszyx.com/e/szs-slot-map

Level

Default: error under recommended, error under atomic. Set it in csszyx.config: rules: { 'szs-slot-map': 'warn' }.

Arguments

The values this diagnostic names.

NameType
form'host-element' | 'unreadable-slot'