Mixins / foldkit-mixins-ui
SkeletonSlots
const · packages/mixins-ui/src/skeleton.ts:15
const SkeletonSlots: Slots.Contract<{
readonly bar: Slot.UnnamedSlot<
Capability.Capability<
'Container',
readonly [
Capability.Capability<
'Interactive',
readonly [Capability.Capability<'Base', readonly []>]
>,
]
>,
readonly Slot.EventName[],
readonly Slot.AttributeName[],
readonly Slot.RequirementName[],
boolean
>
readonly group: Slot.UnnamedSlot<
Capability.Capability<
'Container',
readonly [
Capability.Capability<
'Interactive',
readonly [Capability.Capability<'Base', readonly []>]
>,
]
>,
readonly Slot.EventName[],
readonly Slot.AttributeName[],
readonly Slot.RequirementName[],
boolean
>
}>A loading placeholder publishes its bars, and the frame that lays several
out as one shape: text lines, an avatar beside two lines, a card, a table
row. It owns no state, messages, or bundles. A lone bar, or a frame, is
one status named by what it stands in for, or hidden from assistive
technology when it names nothing; the bars inside a frame are drawing. A frame carries data-kind, and its bars data-shape (circle,
block for a picture) and data-short for a line that ends early, for a
style to lay them out; a table row carries --fk-skeleton-columns.