0.0.9 • Published 3 years ago

@unc-dsi/unc-initial-bar v0.0.9

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

<unc-initial-bar>

<unc-initial-bar> is bar to select an initial. Useful for quick access by person's name.

<unc-initial-bar label="Name" selection="R"></unc-initial-bar>

screenshot

Attributes / Properties

NameDescription
labelOptional text on top of the bar
selectionSelect or change the selected initial

Events

NameDescription
selectFire when the selection changed. Contains the old selection and the new selection : {detail: {oldSelection, newSelection }}

Styling

NameDefault Lumo valueDefault valueDescription
--unc-initial-bar-padding--lumo-space-xs / 20.25rem / 2Padding around each initial
--unc-initial-bar-selected-color--lumo-base-color#fffForeground color of the selected initial
--unc-initial-bar-selected-background-color--lumo-primary-colorhsl(214, 90%, 52%)Background color of the selected initial
--unc-initial-bar-border-color--lumo-shade-20pcthsla(214, 53%, 23%, 0.16)Color of grid's lines
--unc-initial-bar-hover-colorN/A--unc-initial-bar-border-colorColor hovering of the initial
--unc-initial-bar-label-color--lumo-secondary-text-colorhsla(214, 42%, 18%, 0.72)Foreground color of the label
--unc-initial-bar-label-size--lumo-font-size-s.875remFont size of the label

License

Apache License 2.0

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago