0.6.3 • Published 4 years ago

@vcl/token v0.6.3

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

VCL token

A atomic input element that can be interacted upon.

Features

  • Optional button to remove the token.
  • Support for selected and highlighted states.
  • A container to get a gaps relative to container's border right.

Usage

basic example

A button may be embedded to offer a control to remove the token.

button example

A selected and highlighted state is supported.

states example

Classes

  • vclToken
  • vclTokenContainer: Container for tokens to get proper paddings.
  • vclTokenLabel

Modifiers

  • vclSelected
  • vclHighlighted

Variables

  • --token-bg-color
  • --token-border-color
  • --token-border-hover-color
  • --token-border-selected-color
  • --token-bg-selected-color
  • --token-selected-color
  • --token-border-highlighted-color
  • --token-bg-highlighted-color
  • --token-highlighted-color
  • --token-color

Demo

example.html on GH-pages.

1.0.0-alpha.2

4 years ago

0.7.0-alpha.3

4 years ago

0.7.0-alpha.1

4 years ago

0.6.3

4 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0-6

5 years ago

0.6.0-1

5 years ago

0.5.3

5 years ago

0.4.5

5 years ago

0.4.2

5 years ago

0.4.0

5 years ago

0.4.0-beta.3

5 years ago

0.4.0-beta.1

5 years ago

0.4.0-beta.0

5 years ago

0.4.0-0

5 years ago

0.3.0-0

5 years ago

0.3.0-2

5 years ago

0.3.0

5 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

7 years ago

0.2.0

7 years ago