2.1.10 • Published 9 months ago

@blueprintui/typewriter v2.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@blueprintui/typewriter (beta)

npm version

Simple and lightweight key navigation utilities and components.

npm install @blueprintui/typewriter

Keylist

<script type="module">
  import 'https://cdn.jsdelivr.net/npm/@blueprintui/typewriter@0.0.0/include/keylist.js/+esm';
</script>
<bp-keylist loop>
  <button>1</button>
  <button>2</button>
  <button>3</button>
  <button>4</button>
</bp-keylist>

Keylist Block

Keylist has three directions: inline, block, and all. The default is inline. The block direction is useful for creating a vertical list of items. The loop attribute will loop the list of items when the user reaches the end of the list.

<script type="module">
  import 'https://cdn.jsdelivr.net/npm/@blueprintui/typewriter@0.0.0/include/keylist.js/+esm';
</script>
<bp-keylist loop direction="block">
  <button>1</button>
  <button>2</button>
  <button>3</button>
  <button>4</button>
</bp-keylist>

Keygrid

Keygrid follows the aria grid navigation patterns. Keygrid computes the number of columns by computing the number of items from the CSS property `grid-template-columns`. If the columns are dynamic you can explicity set the column count <bp-keynav columns="4">.

<script type="module">
  import 'https://cdn.jsdelivr.net/npm/@blueprintui/typewriter@0.0.0/include/keynav.js/+esm';
</script>
<bp-keynav layout="grid" columns="4">
  <button>1</button>
  <button>2</button>
  <button>3</button>
  <button>4</button>
</bp-keynav>
2.1.10

9 months ago

2.1.5

9 months ago

2.1.2

1 year ago

2.1.1

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.0

1 year ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.18.1

2 years ago

1.18.0

2 years ago

1.16.2

2 years ago

1.16.1

2 years ago

1.16.0

2 years ago

1.18.2

2 years ago

1.17.2

2 years ago

1.17.1

2 years ago

1.17.0

2 years ago

1.15.2

2 years ago

1.17.4

2 years ago

1.17.3

2 years ago

1.15.0

2 years ago

1.15.1

2 years ago

1.14.1

2 years ago

1.14.0

2 years ago

1.14.3

2 years ago

1.14.2

2 years ago

1.13.2

2 years ago

1.13.1

2 years ago

1.13.0

2 years ago

1.13.3

2 years ago

1.10.5

2 years ago

1.10.4

2 years ago

1.10.3

2 years ago

1.12.0

2 years ago

1.11.1

2 years ago

1.10.2

2 years ago

1.10.6

2 years ago

1.11.0

2 years ago

1.9.1

2 years ago

1.8.2

2 years ago

1.6.4

2 years ago

1.9.0

2 years ago

1.8.1

2 years ago

1.6.3

2 years ago

1.8.0

2 years ago

1.7.1

2 years ago

1.6.2

2 years ago

1.7.0

2 years ago

1.6.8

2 years ago

1.6.7

2 years ago

1.9.3

2 years ago

1.6.6

2 years ago

1.9.2

2 years ago

1.8.3

2 years ago

1.6.5

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago