tobogganSe connecter

library

Prebuilt pebble components: drop-in custom elements, no compiler needed

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

Dernier runAucun
0Étoiles
0Forks
2Issues
NomDernier commitDate
combobox.mdcombobox 0.1.0: <pebble-combobox>, server-rendered suggestions under a search fieldil y a 1 sem.
consuming.mdMerge library-docs: library README, toaster docs, consuming, toaster smokeil y a 3 sem.
lite-youtube.mdlite-youtube 0.1.0: <pebble-lite-youtube>, a poster link that becomes the YouTube playeril y a 1 sem.
more.mdmore 0.1.0: <pebble-more>, a feed's "load more" link that loads the next page in placeil y a 1 sem.
README.mdsequence 0.1.0: <pebble-sequence>, a sequence of steps edited as a tree of cardsil y a 4 j
sequence.mdsequence 0.1.0: <pebble-sequence>, a sequence of steps edited as a tree of cardsil y a 4 j
tablet.mdMerge library-tablet-0.4: tablet 0.4.0, dialect commands see the input's textil y a 2 sem.
timeline.mdMerge library-timeline-0.2: timeline 0.2.0, a table view that scrolls in its own region, glides between schedules, pebble 0.2.0il y a 3 sem.
toaster.mdMerge library-docs: library README, toaster docs, consuming, toaster smokeil y a 3 sem.
vote.mdvote 0.1.1: send the body the form would (URL-encoded), not always multipartil y a 1 sem.
README.MD

pebble/library docs

Each doc is short and self-contained; read them in this order and stop when you have what you need.

Reading order

  1. consuming.md — vendoring a component's dist, the REVISION pin, the registry flow once published.
  2. toaster.md — <pebble-toaster>: API, behavior, parts, CSS hooks, examples.
  3. timeline.md — <pebble-timeline>: the table contract, attributes, behavior, parts, CSS hooks.
  4. vote.md — <pebble-vote>: the forms it enhances, the JSON the endpoint answers, the captcha fallback, CSS hooks.
  5. more.md — <pebble-more>: the link and the list, the fragment the endpoint answers, the end of the feed, CSS hooks.
  6. lite-youtube.md — <pebble-lite-youtube>: the poster link, the player it becomes, CSS hooks.
  7. combobox.md — <pebble-combobox>: the form it enhances, the HTML the endpoint answers, keys and ARIA, CSS hooks.
  8. sequence.md — <pebble-sequence>: the kinds and the value, the JSON shape, editing and removal rules, the form, CSS hooks.

tablet: engine rewrite in flight; its doc lands with it.

Layout

packages/<name>/    one component per package: index.ts(x) self-registers via define()
scripts/            build.ts (per-package dists), sizes.ts + size.ts (fresh-process measurements), sync-pebble.ts
plugins/            preload.ts: pebble's consumer compiler for bun test
test/               smoke + size budgets; component suites land with their packages
examples/           the headless-Chromium smokes (`bun run smoke`): toaster.html + toaster.page.ts + toaster-smoke.ts, tablet-smoke.ts, timeline-smoke.ts;
                    page-smoke.ts <name>, the driver for a self-driving <name>.html + <name>.page.ts (vote, …)
dist/               build output: <name>.js + <name>.d.ts (+ <name>.css) per package