0.0.9 • Published 9 months ago

@phase2/outline-card v0.0.9

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

outline-card

The Card component.

Properties

PropertyAttributeTypeDefaultDescription
bgColorContentbgColorContentAllowedColorsThe color class to apply to the content slot.
bgColorFooterbgColorFooterAllowedColorsThe color class to apply to the footer slot.
bgColorHeaderbgColorHeaderAllowedColorsThe color class to apply to the header slot.
hasContentSlotboolean
hasFooterSlotboolean
hasHeaderSlotboolean
hasShadowhas-shadowbooleanfalseWhether or not this card has a shadow.
isRoundedis-roundedbooleanfalseWhether or not this is a nested container. If it's nested, remove padding.

Methods

MethodType
contentTemplate(contentBackgroundClasses: ClassInfo): TemplateResult<ResultType> \| null
footerTemplate(footerBackgroundClasses: ClassInfo): TemplateResult<ResultType> \| null
headerTemplate(headerBackgroundClasses: ClassInfo): TemplateResult<ResultType> \| null

Slots

NameDescription
contentThe primary slot to render the card content.
footerThe footer slot.
headerThe header slot.
0.0.9

9 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.5

1 year ago

0.0.6

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago