uswds / web-components

Work on the next version of USWDS will happen here
https://federalist-c7964e49-2db7-4585-85f1-49d23b9329cb.sites.pages.cloud.gov/site/uswds/uswds-next/
28 stars 5 forks source link

Web components Identifier: Pre-alpha #115

Open amyleadem opened 21 hours ago

amyleadem commented 21 hours ago

Summary

Research and planning tasks

amyleadem commented 21 hours ago

Identifier component design plan

Landscape analysis

[Identifier code samples from the landscape analysis]() (Google docs :lock:)

Proposed component structure

Critical content

Element Required attributes Content

Sample default implementation:

Shadow DOM

Variants

Current variants

USWDS 3 variant Web components variant Description Defined via

Proposed additional variants

USWDS 3 variant Web components variant Description Defined via

Props

Current variants

Property Description Expected values

Proposed additional variants

Property Description Expected values

Slots

Unnamed slot

CSS Parts

Part name Element

CSS Variables

Current settings

USWDS 3 setting CSS custom property Description

Proposed additional setting

USWDS 3 setting CSS custom property Description

Translatable content