25.52K
total weekly downloads
74 packages
@dloizides/a11y
The accessibility platform seam for the dloizides.com RN-web UI kit. One authored contract (label/hint/role/state/testID) emitted as platform-correct props: React Native accessibility* on native, real ARIA on web - including the hint, which react-native-w
@dloizides/ad-slot
Consent-gated ad slot for marketing sites: a reserved box per format so nothing shifts, a consent port and an injected provider. No publisher id means no request. No DOM framework, no third-party script.
@dloizides/analytics-web
Product-agnostic web analytics layer for the dloizides.com portfolio: a guarded never-throws Umami event helper (track), first-touch UTM/ref/referrer attribution capture, a snippet-injection helper, and a Core Web Vitals reporter (createWebVitals) that wi
@dloizides/api-client-base
Realm-agnostic, product-agnostic HTTP plumbing for the dloizides.com portfolio: fetch wrapper with bearer-token injection via callback, error envelope mapping, declarative error registry, typed event bus. Pairs with @dloizides/auth-client by composition,
@dloizides/auth-client
Auth client for the dloizides.com portfolio. v3 adds BffAuthClient — the same-origin client for a per-app Backend-For-Frontend. Also: realm-aware Keycloak/OIDC (PKCE/ROPC), token refresh, storage adapters, hooks for sessions and password reset.
@dloizides/auth-web
Themeable, branded auth UI for the dloizides.com portfolio. Native LoginForm / ForgotPasswordForm / ResetPasswordForm components, headless hooks, the same-origin BffAuthClient, and a role-based post-login router. Built on @dloizides/auth-client; talks onl
@dloizides/background-removal
In-browser background removal: an Apache-2.0 MODNet (or U2-Netp) model run by onnxruntime-web in a Web Worker, WebGPU with WASM fallback, model served from your own host. Returns an alpha PNG + mask, plus a framework-free keep/erase refine brush for a can
@dloizides/bead-chart
One thread-path rule for bead charts: PatternDoc schema, peyote, brick and loom geometry, stitch order, word chart, counts, SVG, Miyuki Delica colour data, rule-based motif generator, recolour, licence codes and a lazy catalogue of 21,000+ figures from No
@dloizides/bff-web-client
Product-agnostic RN-web BFF HTTP layer for the dloizides.com portfolio: an axios instance factory plus an interceptor chain (logging, success-toast normalizer, error classifier) with app-supplied ports for the CSRF strategy, session-expiry handling, toast
@dloizides/brand-mooncube
Moon Cube brand kit, framework-agnostic: the Thread rim mark as SVG, its 1.1 s entrance animation with a reduced-motion still, and the palette read from the design-tokens mooncube preset.
@dloizides/color-science
Pure colour maths: OKLab and OKLCH conversion, deltaE, nearest-in-palette, colour-vision-deficiency simulation and 2, 3, 4-colour harmonies that stay distinct under CVD. No DOM, no React, no dependencies.
@dloizides/content-upload
Framework-light image upload client for the dloizides.com ContentService (multipart POST through a same-origin BFF proxy, CSRF header, abort, optional progress) plus a useImageUpload React hook with idle/uploading/error/done states. The endpoint is suppli
@dloizides/design-tokens
Framework-agnostic design-token SOURCE for the dloizides.com portfolio. One typed token set per app (aml / erevna / katalogos), seeded byte-for-byte from each app's CURRENT values, emitted in three forms from one source: CSS custom properties (:root) for
@dloizides/e2e-helpers
Shared Playwright E2E building blocks for the estate's two-tier (@api/@ui) suites — reachability, ROPC realm tokens, auth headers, health polling, multipart CSV, username/email derivation.
@dloizides/event-landing-kit
Framework-free toolkit for single-page event landing sites (dance socials, congresses): a configurable PWA service worker, live registration stats from a public ledger.json, a registration-deadline countdown with door-fallback swap, and a WhatsApp deep-li
@dloizides/folder-store
Browser folder storage over the File System Access API: remembered handle, re-permission, support check, Web Locks across tabs, exclusive writes.
@dloizides/frontend-devtools
Shared RN-web dev tooling (dev-only) for the dloizides.com SaaS frontends: the custom ESLint plugin pack and rule packs (/eslint) the test-results reporters (/test-results) and the Lighthouse CI budget preset (/lighthouse). initI18n moved to @dloizides/i1
@dloizides/game-e2e
Playwright helpers shared by the EisaiPollis browser games: phone/desktop device projects, a simulated browser-toolbar visible height, game-shell fit assertions, DOM control boxes and overlap math, exact or tolerant PNG pixel/region diff, and the 44x44 to
@dloizides/game-feel
Engine-free game feel: trauma screenshake with smooth noise, a hitstop and slow-mo clock, a reduced-motion and ?juice=0 feel scale, a full-screen flash limiter and coyote / press-buffer timers. Feel-kit presets (Settle / Snap / Rush), the J-3 ranking chec
@dloizides/game-input
Framework-agnostic game input primitives. v1 ships safe, player-toggleable haptics (Vibration API wrapper, localStorage-gated, zero deps). Extracted from Aurora; consumed across EisaiPollis games.
@dloizides/game-rng
Deterministic seeded randomness for games: mulberry32 PRNG, FNV-1a string-seed hashing, range/pick helpers and daily/random seed builders. Zero deps, isomorphic. Extracted from Surge + Aurora; bit-identical to Surge/src/rng.ts.
@dloizides/game-shell
Framework-free web game shell: fits the visible viewport (--gs-vh), offers install (chip / card / iOS steps), shows a crash overlay, pauses on hide, unlocks audio, polls for new versions, shares a link (Web Share, copy, QR) and downloads assets for offlin
@dloizides/game-skins
Engine-free game skin contract (roles, materials, environment, UI tokens, audio cues) plus the shared skin palettes Night circuit, Dusk highway, Ember line and Deep current. Zero deps. Extracted from Surge.
@dloizides/gmail-send-web
Send email from the browser through the signed-in user's Gmail: RFC 2047 MIME building, Google Identity sign-in limited to gmail.send, a time limit on every call and typed errors.
@dloizides/i18n
Tiny, dependency-free i18n runtime for React / React Native (RN-web) apps — locale detection, persisted choice, per-key English fallback, positional AND named interpolation, and a themable LanguageSwitcher. Its translate function matches the @dloizides UI