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
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
- consuming.md — vendoring a component's dist, the REVISION pin, the registry flow once published.
- toaster.md —
<pebble-toaster>: API, behavior, parts, CSS hooks, examples. - timeline.md —
<pebble-timeline>: the table contract, attributes, behavior, parts, CSS hooks. - vote.md —
<pebble-vote>: the forms it enhances, the JSON the endpoint answers, the captcha fallback, CSS hooks. - more.md —
<pebble-more>: the link and the list, the fragment the endpoint answers, the end of the feed, CSS hooks. - lite-youtube.md —
<pebble-lite-youtube>: the poster link, the player it becomes, CSS hooks. - combobox.md —
<pebble-combobox>: the form it enhances, the HTML the endpoint answers, keys and ARIA, CSS hooks. - 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