2.1.0 • Published 3 months ago

@blueprintui/typewriter v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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.0

3 months ago

2.0.2

4 months ago

2.0.1

4 months ago

2.0.0

4 months ago

1.18.1

9 months ago

1.18.0

9 months ago

1.16.2

10 months ago

1.16.1

10 months ago

1.16.0

10 months ago

1.18.2

7 months ago

1.17.2

9 months ago

1.17.1

9 months ago

1.17.0

9 months ago

1.15.2

10 months ago

1.17.4

9 months ago

1.17.3

9 months ago

1.15.0

11 months ago

1.15.1

11 months ago

1.14.1

12 months ago

1.14.0

12 months ago

1.14.3

11 months ago

1.14.2

12 months ago

1.13.2

1 year ago

1.13.1

1 year ago

1.13.0

1 year ago

1.13.3

12 months ago

1.10.5

1 year ago

1.10.4

1 year ago

1.10.3

1 year ago

1.12.0

1 year ago

1.11.1

1 year ago

1.10.2

1 year ago

1.10.6

1 year ago

1.11.0

1 year ago

1.9.1

1 year ago

1.8.2

1 year ago

1.6.4

1 year ago

1.9.0

1 year ago

1.8.1

1 year ago

1.6.3

1 year ago

1.8.0

1 year ago

1.7.1

1 year ago

1.6.2

1 year ago

1.7.0

1 year ago

1.6.8

1 year ago

1.6.7

1 year ago

1.9.3

1 year ago

1.6.6

1 year ago

1.9.2

1 year ago

1.8.3

1 year ago

1.6.5

1 year ago

1.10.1

1 year ago

1.10.0

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago