0.1.6 • Published 9 months ago

@phase2/outline-list v0.1.6

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
9 months ago

outline-list

The OutlineList component

Properties

PropertyAttributeTypeDefaultDescription
listTypelist-type"ol" \| "ul" \| "div"Determines which type of list is rendered.ol | ul | div
navLabelnav-labelstring \| undefinedIf set will wrap list in a nav tagwith the passed string set as the aria-label.
orientationorientation"column" \| "row" \| "col-center""column"Sets orientation of list.column | row

Methods

MethodType
listCase(classes: ClassInfo): TemplateResult<1>

Slots

NameDescription
default slot.

CSS Custom Properties

PropertyDescription
--outline-list--spacingThe default spacing between items.
--outline-list--spacing-lgThe default spacing between items for large screens.
--outline-list--spacing-mdThe default spacing between items for medium screens.
--outline-list--spacing-smThe default spacing between items for small screens.
--outline-list--spacing-xlThe default spacing between items for extra large screens.
--outline-list--spacing-xsThe default spacing between items for extra small screens.
--outline-list--spacing-xxlThe default spacing between items for extra extra large screens.
--outline-list--spacing-xxxlThe default spacing between items for extra extra extra large screens.