Skip to content

Releases

webwm v0.2.0

Choose a tag to compare

@sanchitrk sanchitrk released this 16 Oct 18:07

Tile columns that cannot fit all their widgets no longer have to scroll. Pass the new collapsedHeight option (the height of a widget shown as its title bar) to arrangeWithMinimums:

  • The most recently focused widgets stay open; the rest collapse to title bars at the column's bottom, in tile order. Placements carry collapsed: true, and mode is preferred-collapse.
  • When even the title bars do not all fit, the column keeps one widget open, shows the title bars that fit, and returns the rest in the new overflow field: the hidden widgets and the rect of one entry slot, for a "+N more" list.
  • Focusing a collapsed or overflowed widget opens it on the next arrangement.
  • webwm/dom marks collapsed elements with data-collapsed; tileInsertionTargetAtPoint reads columns top to bottom.

Without collapsedHeight, behaviour is unchanged. MinimumAwareArrangement gains a required overflow field (always empty unless collapsing).

Install with pnpm add https://github.com/codeworksh/webwm/releases/download/v0.2.0/webwm-0.2.0.tgz. This package is not published to npm.

webwm v0.1.0

Choose a tag to compare

@sanchitrk sanchitrk released this 28 Sep 19:44

First GitHub-only release of webwm: pure dynamic tiling core, optional DOM and React adapters, TanStack React and plain DOM examples, and browser E2E coverage. Install with pnpm add https://github.com/codeworksh/webwm/releases/download/v0.1.0/webwm-0.1.0.tgz. If using webwm/react, also install React in your app (pnpm add react). This package has not been published to npm.