0.6.1 • Published 11 months ago

@evanminto/headless-signals v0.6.1

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

Headless Signals

Experimental collection of headless components/hooks, implemented with Preact Signals.

Getting Started

Install with NPM...

npm install @evanminto/headless-signals

...or Yarn.

yarn add @evanminto/headless-signals

Then import in your JavaScript:

import {
  // Tools
  activeElement,
  applyProps,
  asyncTask,
  browserHistory,
  cache,
  clipboard,
  clock,
  deferred,
  draggable,
  droppable,
  eventListener,
  focusManagement,
  focusTrap,
  keyboardListener,
  list,
  liveSelectors,
  mediaQuery,
  mousedown,
  mutationObserver,
  resizeObserver,
  stateMachine,
  toggleValue,

  // Components
  reorderableList,
  showPassword,
  toggleButton,

  // Preact hooks
  useHeadlessSignals,
  useModalControl,
  useReorderableList,
} from '@evanminto/headless-signals';

Future Plans

This project is very much a WIP, and I plan on adding more docs in the future.

As the TC39 Signals proposal continues through the standards process, I will hopefully be able to rewrite this library to use TC39 Signals instead.

0.6.1

11 months ago

0.6.0

11 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.16

1 year ago

0.4.15

1 year ago

0.4.14

1 year ago

0.4.13

1 year ago

0.4.12

1 year ago

0.4.11

1 year ago

0.4.10

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago