Every export
Each name the 13 packages export, read from their entry points. Type a name, or filter by kind.
159 exports13 packagesLast release 2026-11-12
/
Nothing pending
Nothing merged since the last release. A change merged into main shows here, in its author’s words, until it ships.
Every export, grouped by package, newest release first
@adrienlcp/react-aria
Newest releaseWhat every react-aria app of mine repeats: a className merge that follows the render state, a Sass focus ring on data-focus-visible, and a popover that turns into a sheet rising from the bottom of a narrow screen, pulled down by its grabber or from anywhere on its content, and closed by the back gesture0.8.12026-11-1229 exportsClassNameRenderPropsThe render state react-aria hands aclassNamefunction.@adrienlcp/Typereact-aria composeClassNameMerges a component's own class names with theclassNameits caller passed.@adrienlcp/Functionreact-aria PopoverSheetProps@adrienlcp/Typereact-aria PopoverSheetWhat a trigger opens, in the place of aPopoverinside aDialogTrigger: a popover beside the trigger on a screen that answerswideQuery, a sheet rising from the bottom edge below it, where a box hung from a corner is out of a thumb's reach.@adrienlcp/Componentreact-aria REACT_ARIA_TOKENSThe custom properties react-aria-components sets at runtime on the elements it renders, which an app's stylesheets read but never declare: a popover's--trigger-width, a disclosure panel's--disclosure-panel-height, a tree item's--tree-item-level.@adrienlcp/Constantreact-aria ScrollbarGutterReleaseLets a modal's scrim reach the screen's edge on a page that reserves its scrollbar's room.@adrienlcp/Componentreact-aria SheetGrabberProps@adrienlcp/Typereact-aria SheetGrabberThe strip across the top of a sheet that a pointer pulls it down by, and what lets a touch pull it from anywhere on its content: downward, from content scrolled to its top, never from a field or a slider.@adrienlcp/Componentreact-aria $ring-widthConfigure once, in the app's own_focus.sass:@forward '@adrienlcp/react-aria/focus' with ($ring-color: var(--focus)).@adrienlcp/Sassreact-aria/ focus $ring-color@adrienlcp/Sassreact-aria/ focus $ring-offset@adrienlcp/Sassreact-aria/ focus ringreact-aria stampsdata-focus-visibleon keyboard focus only, and on the element it styles: a control built over a hidden input rings through it alone.@adrienlcp/Sassreact-aria/ focus ring-insetThe ring drawn inside the box, for an element a clipping ancestor would cut.@adrienlcp/Sassreact-aria/ focus ring-withinThe ring drawn on a box while the field inside it has focus — aSearchField'sGrouparound its input and its clear button.@adrienlcp/Sassreact-aria/ focus ring-focusablesThe ring every element that takes focus draws by default, at zero specificity so a component's own ring wins.@adrienlcp/Sassreact-aria/ focus $z-indexConfigure once, in the app's own_sheet.sass:@forward '@adrienlcp/react-aria/sheet' with ($z-index: 3).@adrienlcp/Sassreact-aria/ sheet $scrim@adrienlcp/Sassreact-aria/ sheet $enter@adrienlcp/Sassreact-aria/ sheet $exit@adrienlcp/Sassreact-aria/ sheet $easing@adrienlcp/Sassreact-aria/ sheet $exit-easingThe leave's own curve, never the enter's reversed: an ease-out played backwards holds the sheet still before it drops.@adrienlcp/Sassreact-aria/ sheet $top-gapThe strip of screen the tallest sheet leaves above it, for a press that closes it.@adrienlcp/Sassreact-aria/ sheet $grabber-color@adrienlcp/Sassreact-aria/ sheet $grabber-radius@adrienlcp/Sassreact-aria/ sheet overlayThe scrim a sheet rises over, holding it to the bottom edge.@adrienlcp/Sassreact-aria/ sheet surfaceThe sheet itself: the screen's width, following the thumb on its grabber and settling back from where a short pull let go.@adrienlcp/Sassreact-aria/ sheet grabberThe strip a thumb pulls the sheet down by, at the top of the sheet above its scrolling content.@adrienlcp/Sassreact-aria/ sheet keyframesThe rise ends where the thumb left the sheet, and the fall starts there, so a sheet pulled down leaves from where it was let go.@adrienlcp/Sassreact-aria/ sheet stylesThe rulesPopoverSheetandSheetGrabberneed, included once in the app's components layer.@adrienlcp/Sassreact-aria/ sheet
@adrienlcp/biome-config
Biome lint and format settings: single quotes, no semicolons, sorted keys and imports, no floating promises0.3.02026-11-052 exports@adrienlcp/browser
Browser calls that hide a trap: a clipboard copy that works over plain HTTP, a link handed to the share sheet, a wake lock that survives the tab going away, the reduced-motion preference, a duration token read in seconds, a media query followed as the screen changes0.6.02026-10-1710 exportscopyTextCopiestextto the clipboard.@adrienlcp/Functionbrowser prefersReducedMotionWhether the reader asked the system for less motion.@adrienlcp/Functionbrowser readDurationSecondsA<time>custom property aselementcomputes it, in seconds: what a script hands to the Web Animations API or a timer, read from the token the stylesheet already holds rather than a copy of it.@adrienlcp/Functionbrowser reloadPageReloads the page, the way out a crash screen offers.@adrienlcp/Functionbrowser selectContentsSelects everything insidenode, so a reader can finish a refused copy with a keystroke.@adrienlcp/Functionbrowser SharedLinkThe link as the share sheet hands it on: a title, the address, and optionally the words to send it with.@adrienlcp/Typebrowser canShareLinksWhether the device has a share sheet a link can be handed to — WhatsApp, SMS, mail.@adrienlcp/Functionbrowser shareLinkOpens the device's share sheet on a link.@adrienlcp/Functionbrowser useMediaQueryWhether the screen answersqueryright now, following it as the window is resized or turned.@adrienlcp/Hookbrowser/ react useScreenAwakeHolds the screen awake whileisWantedis true and the component is mounted.@adrienlcp/Hookbrowser/ react
@adrienlcp/i18n
A typed i18n library in five files, with no dependencies, built on Intl0.7.02026-10-1325 exportsDictionaryLoaderContextWhat a loader is handed: a signal aborted once no caller wants the dictionary any more.@adrienlcp/Typei18n DictionaryLoaderA dictionary the bundler is told to split out —() => import('./fr').@adrienlcp/Typei18n LoadOptionsWhatloadtakes beside the locale.@adrienlcp/Typei18n I18n@adrienlcp/Typei18n createI18nBinds every locale to its dictionary once, so that afterwards a locale is all anyone passes.@adrienlcp/Functioni18n Translator@adrienlcp/Typei18n FormatLocaleWhere numbers and numeric dates take their shape from — the decimal separator, the hour cycle, the order of day and month.@adrienlcp/Typei18n PluralFormsA placeholder written{name}is text and takes a string.@adrienlcp/Typei18n RelativeTimeIntl.RelativeTimeFormatformats a number of something, and the message cannot say which — so the unit is declared here, per placeholder, and the caller passes the count alone.@adrienlcp/Typei18n TranslationOptions@adrienlcp/Typei18n OptionsFor@adrienlcp/Typei18n DefinedTranslation@adrienlcp/Typei18n defineTranslationPairs a message with what its placeholders need beyond the value itself.@adrienlcp/Functioni18n DictionaryA tree of messages for one locale: every leaf is a sentence, every branch a namespace.@adrienlcp/Typei18n WellFormedA bare string is enough until a placeholder needs alternatives to choose between — and{n:plural}or{n:enum}written as one resolves toneverhere rather than putting the raw key on screen at runtime.@adrienlcp/Typei18n defineDictionaryThe reference dictionary — the one every key and every value is typed from.@adrienlcp/Functioni18n DictionaryForWhat a second locale owes the reference one: the same tree down to the same leaves, and for a leaf whose placeholders carry alternatives, its own alternatives in the same shape.@adrienlcp/Typei18n MatchingDictionaryWhat a second locale owes the reference beyond its shape: the same placeholders, in the same message.@adrienlcp/Typei18n DotPathEvery leaf, as the dotted path that reaches it.@adrienlcp/Typei18n LeafAt@adrienlcp/Typei18n FormattableDateWhat a{x:date}placeholder takes: aDate, or aTemporal.Instant,Temporal.PlainDate,Temporal.PlainDateTime,Temporal.PlainTimeorTemporal.ZonedDateTime, handed toIntl.DateTimeFormatas they are.@adrienlcp/Typei18n ValuesFor@adrienlcp/Typei18n RichValuesForWhat a rich rendering asks for: the message's values, plus one function per marked span.@adrienlcp/Typei18n PlainKeyA key whose message carries no placeholder, so it renders from nothing but itself.@adrienlcp/Typei18n ParameterizedKey@adrienlcp/Typei18n
@adrienlcp/prerender
Build-time helpers that turn a Vite app's shell into one prerendered document per page: the rendered head moved where it belongs, language alternates, the page's stylesheets inlined without Vite linking them again, its fonts preloaded as chosen0.3.02026-10-1316 exportsBuildChunkWhat Vite emitted for one source module: its file, its stylesheets, the chunks it imports statically.@adrienlcp/Typeprerender BuildManifestVite's build manifest, keyed by source module relative to the project root, such assrc/pages/home.tsx.@adrienlcp/Typeprerender readBuildManifestThe manifest of the client build inclientDir, built withbuild.manifest: true.@adrienlcp/Functionprerender FontPreloadSelectionWhich faces to preload: a pattern of their URLs, several in the order to ask for them, or'none'.@adrienlcp/Typeprerender addFontPreloadsPreloads the faces the page's inlined CSS declares whose URLincludematches.@adrienlcp/Functionprerender setMetaContentsEverysetMetain one call, keyed by the attribute that names each tag.@adrienlcp/Functionprerender originOfCanonicalThe canonical link is the one place a host is written down.@adrienlcp/Functionprerender parseDocumenthtmlparsed into a DOM, to edit through elements rather than with patterns over its text.@adrienlcp/Functionprerender serializeDocumentThe document printed back, doctype and comments included.@adrienlcp/Functionprerender htmlFileForPathWhere a static host looks for a path's document:/en→en.html,/fr/about→fr/about.html,/→index.html,/docs/→docs/index.html.@adrienlcp/Functionprerender inlinePageStylesheetsReplaces the stylesheets the shell links with one<style>holding them and the stylesheets ofmodulesand of every chunk they import statically, in cascade order.@adrienlcp/Functionprerender LanguageVersionOne language a page exists in.@adrienlcp/Typeprerender writeLanguageVersionsPoints the canonical link atcurrent, and lists every language the page exists in: anhreflangalternate each,currentincluded since search engines only trust links that are reciprocal, plusx-defaultwhen given.@adrienlcp/Functionprerender renderIntoShellWrites the server-renderedhtmlinto the shell'sroot, and moves what React rendered ahead of the page — its<title>, its<meta>tags, the resources it asks for — into the head.@adrienlcp/Functionprerender appendStructuredDataAppendsdatato the head as JSON-LD.@adrienlcp/Functionprerender shellHeadWrites one page's head into the shell,index.html, so the documentpnpm devand the SPA fallback serve carries real copy rather than an empty title.@adrienlcp/Functionprerender/ vite
@adrienlcp/react
Generic React helpers: a context that names its missing provider and a class name join0.5.02026-10-133 exportsPlainClassNameA class name, or a falsy value standing for none.@adrienlcp/Typereact classNamesJoins class names with a space, dropping the falsy ones:classNames('icon', className, isWide && 'wide').@adrienlcp/Functionreact createSafeContext[Context, useSafeContext, useOptionalContext]for one value.@adrienlcp/Functionreact
@adrienlcp/react-router
react-aria links that navigate through react-router: a RouterProvider wired to useNavigate, external URLs left alone, NavigateOptions typed on every link0.2.02026-10-133 exportsAriaRouterProviderProps@adrienlcp/Typereact-router AriaRouterProviderreact-aria'sRouterProviderwired to react-router: anhrefon any react-ariaLink,MenuItemorListBoxItembelow it becomes a client-side navigation instead of a page load, itsrouterOptionsare forwarded tonavigate, and an external URL is left as it is.@adrienlcp/Componentreact-router ignoreSupersededNavigationA navigation superseded by the next one rejects withAbortError, more often with view transitions on: expected control flow, not a failure.@adrienlcp/Functionreact-router
@adrienlcp/styles
A reset, a reduced-motion switch, default tokens, Sass mixins for self-hosted fonts, container queries, a breakpoint, visually hidden text, a skip link that clears the notch, a fluid size in rem, a spin animation, a PostCSS plugin that lists Arial's metric twins in fontaine's fallback faces, and checks for WCAG contrast between colour tokens, for sizes the user's font size cannot reach, for font tokens that skip their fallback face, for fallback bands that miss a weight and for SVG text that names a family0.19.02026-10-1346 exportsvisually-hiddenHidden from sight, still read aloud: a label the layout says without words, a column header a table needs for a screen reader only.@adrienlcp/Sassstyles/ accessibility skip-linkA skip link parked above the viewport that slides in on keyboard focus.@adrienlcp/Sassstyles/ accessibility StyleFailureA declaration that breaks a stylesheet rule, with the line it sits on (1-based).@adrienlcp/Typestyles/ audit UnitFailure@adrienlcp/Typestyles/ audit TypeLiteral@adrienlcp/Typestyles/ audit UnnamedValue@adrienlcp/Typestyles/ audit FallbackFailureA font token naming a web font that fontaine's fallback face never follows.@adrienlcp/Typestyles/ audit UnreadFontFaceA face whose family or weight bands the audit cannot read, so no check reaches it.@adrienlcp/Typestyles/ audit FontAttributeFailureAfont-familyattribute or style key in markup that names no font token.@adrienlcp/Typestyles/ audit FallbackBandFailureA weight or a style the fallback faces drawn per band miss, or a band nothing sets.@adrienlcp/Typestyles/ audit TokenFailureA custom property read or declared under a name that breaks the shared set.@adrienlcp/Typestyles/ audit TokenAuditOptionsWhat a project's sources rely on beyond their own declarations.@adrienlcp/Typestyles/ audit findUnitFailuresLists every size in a stylesheet that the user's font size cannot reach: apxtext size, spacing, box size, offset or translation — atransform'stranslate*()included —, apxcustom property outside the families drawn in pixels (--stroke-*,--outline-*,--radius-*,--shadow-*,--target), a text size driven by the viewport with no rem part (eachpixelsorviewport-without-rem), a size, a grid track or a custom property inch(ch) — the width of the font's zero, which the fallback face and the web font draw differently, so the box changes when one replaces the other —, an outline width that is not a whole number of pixels (fractional-outline) — Chromium draws an outline in whole device pixels, so a2.5pxring is2pxon a 1x screen.@adrienlcp/Functionstyles/ audit findTypeLiteralsLists everyfont-weight,line-heightandletter-spacingwritten as a literal.@adrienlcp/Functionstyles/ audit findUnnamedValuesLists every radius (radius), every transition or animation duration and delay (duration) and everyfont-size(text-size) written as a literal instead of a--radius-*,--transition-*or--text-*token — a literal duration is onereduced-motion.csscannot reach.@adrienlcp/Functionstyles/ audit findTokenFailuresLists the custom properties an app gets wrong across all its sources — the stylesheets and the scripts that set a property throughstyle.@adrienlcp/Functionstyles/ audit webFontFamiliesThe families a project self-hosts, read from its stylesheets: everyfonts.font-faceinclude, everyfonts.fallback-facesinclude, every@font-facewith aurl()source, and the family of every hand-written<family> fallbackface.@adrienlcp/Functionstyles/ audit findUnreadFontFacesLists every face in a stylesheet whose family (unread-family) or$widthsbands (unread-weights) the audit cannot read — a family built in an@eachloop, a$widthsmap from another module —: no fallback check reaches it, and a font token that skips its fallback face passes unseen.@adrienlcp/Functionstyles/ audit findFallbackFailuresLists every custom property whose font stack names a web font without'<family> fallback'right after it (missing-fallback).@adrienlcp/Functionstyles/ audit findFallbackBandFailuresChecks the fallback facesfonts.fallback-facesdraws per weight band against what the stylesheets set — fontaine's own faces copy every@font-face, and are not read.@adrienlcp/Functionstyles/ audit findFontAttributeFailuresLists everyfont-familyattribute (.svg),fontFamilyprop or style key (.tsx) and inlinefont-family:that names a family instead of a font token (font-attribute).@adrienlcp/Functionstyles/ audit $wide-screenWhere a screen stops being a phone's, in rem: a media query reads rem off the browser's font size, so a user who raises it gets the narrow layout sooner.@adrienlcp/Sassstyles/ breakpoints widewideandnarroware exact complements: every width is one or the other.@adrienlcp/Sassstyles/ breakpoints narrow@adrienlcp/Sassstyles/ breakpoints containerMakes the element a container its descendants query by inline size.@adrienlcp/Sassstyles/ containers container-wideMatches when the nearest container — or the one named — is at least$widthwide.@adrienlcp/Sassstyles/ containers container-narrowThe exact complement ofcontainer-widefor the same$widthand$name.@adrienlcp/Sassstyles/ containers ColorScheme@adrienlcp/Typestyles/ contrast TokenError@adrienlcp/Typestyles/ contrast WCAG_AAWCAG 2.2 level AA minimum contrast ratios.@adrienlcp/Constantstyles/ contrast ContrastPairTwo tokens that meet on screen, named as declared:{ foreground: '--ink', background: '--ground', minimum: WCAG_AA.text }.@adrienlcp/Typestyles/ contrast ContrastFailure@adrienlcp/Typestyles/ contrast findContrastFailuresEvery pair below its minimum, in either scheme, read straight from the stylesheet that declares the tokens.@adrienlcp/Functionstyles/ contrast $latinThe two subsets Google Fonts cuts a Latin face into: a page in English or French downloads the first file only.@adrienlcp/Sassstyles/ fonts $latin-ext@adrienlcp/Sassstyles/ fonts font-faceOne self-hostedwoff2file.@adrienlcp/Sassstyles/ fonts fallback-facesA fallback face per weight band of a variable web font, Arial scaled to the font's width at that band's weight, named<family> fallbackas fontaine names its own.@adrienlcp/Sassstyles/ fonts MetricTwinsThe fonts each one is widened to, keyed by the font a fallback face names.@adrienlcp/Typestyles/ metric-twins MetricTwinsOptions@adrienlcp/Typestyles/ metric-twins MetricTwinsPluginA PostCSS plugin, typed on the slice it reads: postcss is Vite's dependency, not the app's.@adrienlcp/Typestyles/ metric-twins metricTwinsThe PostCSS plugin that widens thesrcof every@font-facenaming one local font with metric twins to all of them.@adrienlcp/Constantstyles/ metric-twins spinTurns the element a full circle, again and again: a spinner, a sync icon.@adrienlcp/Sassstyles/ motion @adrienlcp/styles/ reduced-motion.css @adrienlcp/Filestyles/ reduced-motion.css @adrienlcp/styles/ reset.css @adrienlcp/Filestyles/ reset.css fluid()A size that grows with the viewport from$minat$fromto$maxat$to, and holds still outside:@adrienlcp/Sassstyles/ sizes defaultsThe tokens every app names the same way, at values that hold until the app sets its own.@adrienlcp/Sassstyles/ tokens
@adrienlcp/theme-preference
Light, dark or system theme with no flash on load, and a browser toolbar that follows the choice, and Sass mixins for a value per theme that light-dark() cannot carry0.5.02026-10-1310 exportsapplyThemePreferenceStampsdata-themeon<html>for an explicit scheme, removes it for'system'so the stylesheet'sprefers-color-schemerules answer, and points everytheme-colortag at the same palette.@adrienlcp/Functiontheme-preference THEME_PREFERENCES@adrienlcp/Constanttheme-preference ThemePreferenceWhat the visitor chose.@adrienlcp/Typetheme-preference isThemePreference@adrienlcp/Functiontheme-preference ThemePreferenceStore@adrienlcp/Typetheme-preference createThemePreferenceStoreOne store per page, so every switch showing the theme reads the same choice.@adrienlcp/Functiontheme-preference @adrienlcp/theme-preference/ color-scheme.css @adrienlcp/Filetheme-preference/ color-scheme.css useThemePreferenceThe store's preference, re-rendering every component that shows it when it changes.@adrienlcp/Hooktheme-preference/ react darkA valuelight-dark()cannot carry — a percentage, a length, a shadow's geometry, an image — set per theme with the same precedence ascolor-scheme.css: the explicit choice stamped indata-themebeats the system preference.@adrienlcp/Sasstheme-preference/ scheme themePreferencePluginAppends the pre-paint script to the<head>of every page Vite serves or builds, after thetheme-colortags.@adrienlcp/Functiontheme-preference/ vite
@adrienlcp/result
A success-or-failure value with no exceptions and no nulls0.1.12026-10-062 exports@adrienlcp/safe-storage
localStorage that never throws: every read, write and removal returns a Result, and typed reads check what they find0.1.12026-10-0611 exportsreadRecognizedTextThe text stored underkey, narrowed byisRecognized— a locale, a theme, any closed set of strings.@adrienlcp/Functionsafe-storage readStoredJsonThe JSON stored underkey, parsed and narrowed byisValue.@adrienlcp/Functionsafe-storage readStoredTextThe text stored underkey, ornullwhen nothing is: an absence, never a failure.@adrienlcp/Functionsafe-storage removeStoredRemoves whatever is stored underkey; a missing key is not a failure.@adrienlcp/Functionsafe-storage StorageUnavailablelocalStoragethrew on access: a Safari private window, storage blocked by the user or a policy, or nolocalStorageat all, as on a server.@adrienlcp/Typesafe-storage StoredValueUnrecognizedSomething is stored under the key, but not a value the caller recognizes.@adrienlcp/Typesafe-storage StorageQuotaExceededThe browser refused the write because the origin's storage is full.@adrienlcp/Typesafe-storage StorageReadError@adrienlcp/Typesafe-storage StorageWriteError@adrienlcp/Typesafe-storage writeStoredJsonStoresvalueas JSON underkey, refused likewriteStoredText.@adrienlcp/Functionsafe-storage writeStoredTextStorestextunderkey.@adrienlcp/Functionsafe-storage