Tous les exports
Chaque nom qu’exportent les 13 paquets, lu dans leurs points d’entrée. Tapez un nom, ou filtrez par nature.
159 exports13 paquetsDernière version 2026-11-12
/
Rien en attente
Rien de fusionné depuis la dernière version. Un changement fusionné dans main s’affiche ici, dans les mots de son auteur, jusqu’à sa publication.
Tous les exports, groupés par paquet, la version la plus récente d’abord
@adrienlcp/react-aria
Version la plus récenteCe que répète chacune de mes apps react-aria : une fusion de className qui suit l’état de rendu, un anneau de focus Sass sur data-focus-visible, et un popover qui devient une feuille montant du bas d’un écran étroit, avec la poignée qui la tire vers le bas0.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/Fonctionreact-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/Composantreact-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/Constantereact-aria ScrollbarGutterReleaseLets a modal's scrim reach the screen's edge on a page that reserves its scrollbar's room.@adrienlcp/Composantreact-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/Composantreact-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
Les réglages de lint et de formatage de Biome : guillemets simples, pas de points-virgules, clés et imports triés, aucune promesse laissée flottante0.3.02026-11-052 exports@adrienlcp/browser
Les appels au navigateur qui cachent un piège : une copie dans le presse-papiers qui marche en simple HTTP, un verrou d’écran qui survit au départ de l’onglet, la préférence de mouvement réduit, un token de durée lu en secondes, la première arrivée sur laquelle se joue l’entrée d’une page, une media query suivie quand l’écran change0.6.02026-10-1710 exportscopyTextCopiestextto the clipboard.@adrienlcp/Fonctionbrowser prefersReducedMotionWhether the reader asked the system for less motion.@adrienlcp/Fonctionbrowser 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/Fonctionbrowser reloadPageReloads the page, the way out a crash screen offers.@adrienlcp/Fonctionbrowser selectContentsSelects everything insidenode, so a reader can finish a refused copy with a keystroke.@adrienlcp/Fonctionbrowser 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/Fonctionbrowser shareLinkOpens the device's share sheet on a link.@adrienlcp/Fonctionbrowser 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
Une bibliothèque i18n typée en cinq fichiers, sans dépendance, bâtie sur 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/Fonctioni18n 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/Fonctioni18n 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/Fonctioni18n 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
Des outils de build qui font de la coquille d’une app Vite un document prérendu par page : le head rendu remis à sa place, les alternatives de langue, les feuilles de style de la page intégrées sans que Vite les lie une seconde fois, ses polices et ses modules préchargés au choix ; et le côté navigateur, qui démarre l’app après le premier affichage et vérifie que son premier rendu a gardé le texte prérendu0.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/Fonctionprerender 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/Fonctionprerender setMetaContentsEverysetMetain one call, keyed by the attribute that names each tag.@adrienlcp/Fonctionprerender originOfCanonicalThe canonical link is the one place a host is written down.@adrienlcp/Fonctionprerender parseDocumenthtmlparsed into a DOM, to edit through elements rather than with patterns over its text.@adrienlcp/Fonctionprerender serializeDocumentThe document printed back, doctype and comments included.@adrienlcp/Fonctionprerender 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/Fonctionprerender 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/Fonctionprerender 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/Fonctionprerender 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/Fonctionprerender appendStructuredDataAppendsdatato the head as JSON-LD.@adrienlcp/Fonctionprerender 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/Fonctionprerender/ vite
@adrienlcp/react
Des utilitaires React génériques : un contexte qui nomme son provider manquant, un élément qui finit sa transition de sortie avant de se démonter, et une jointure de noms de classes0.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/Fonctionreact createSafeContext[Context, useSafeContext, useOptionalContext]for one value.@adrienlcp/Fonctionreact
@adrienlcp/react-router
Des liens react-aria qui naviguent par react-router : un RouterProvider branché sur useNavigate, les URL externes laissées telles quelles, NavigateOptions typé sur chaque lien0.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/Composantreact-router ignoreSupersededNavigationA navigation superseded by the next one rejects withAbortError, more often with view transitions on: expected control flow, not a failure.@adrienlcp/Fonctionreact-router
@adrienlcp/styles
Un reset, un interrupteur de mouvement réduit, des tokens par défaut, des mixins Sass pour les polices auto-hébergées, les container queries, un breakpoint, le texte masqué à l’écran, un lien d’évitement qui dégage l’encoche, une taille fluide en rem, une rotation continue, un plugin PostCSS qui liste les jumelles métriques d’Arial dans les polices de repli de fontaine, et des vérifications : contraste WCAG entre tokens de couleur, tailles que la taille de police de l’utilisateur ne peut atteindre, tokens de police qui sautent leur police de repli, bandes de repli auxquelles manque une graisse et texte SVG qui nomme une famille0.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/Fonctionstyles/ audit findTypeLiteralsLists everyfont-weight,line-heightandletter-spacingwritten as a literal.@adrienlcp/Fonctionstyles/ 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/Fonctionstyles/ audit findTokenFailuresLists the custom properties an app gets wrong across all its sources — the stylesheets and the scripts that set a property throughstyle.@adrienlcp/Fonctionstyles/ 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/Fonctionstyles/ 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/Fonctionstyles/ audit findFallbackFailuresLists every custom property whose font stack names a web font without'<family> fallback'right after it (missing-fallback).@adrienlcp/Fonctionstyles/ 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/Fonctionstyles/ 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/Fonctionstyles/ 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/Constantestyles/ 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/Fonctionstyles/ 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/Constantestyles/ 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/Fichierstyles/ reduced-motion.css @adrienlcp/styles/ reset.css @adrienlcp/Fichierstyles/ 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
Un thème clair, sombre ou système sans flash au chargement, une barre d’outils du navigateur qui suit le choix, et des mixins Sass pour une valeur par thème que light-dark() ne sait pas porter0.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/Fonctiontheme-preference THEME_PREFERENCES@adrienlcp/Constantetheme-preference ThemePreferenceWhat the visitor chose.@adrienlcp/Typetheme-preference isThemePreference@adrienlcp/Fonctiontheme-preference ThemePreferenceStore@adrienlcp/Typetheme-preference createThemePreferenceStoreOne store per page, so every switch showing the theme reads the same choice.@adrienlcp/Fonctiontheme-preference @adrienlcp/theme-preference/ color-scheme.css @adrienlcp/Fichiertheme-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/Fonctiontheme-preference/ vite
@adrienlcp/result
Une valeur succès ou échec, sans exception et sans null0.1.12026-10-062 exports@adrienlcp/safe-storage
Un localStorage qui ne lève jamais d’erreur : chaque lecture, écriture et suppression renvoie un Result, et les lectures typées vérifient ce qu’elles trouvent0.1.12026-10-0611 exportsreadRecognizedTextThe text stored underkey, narrowed byisRecognized— a locale, a theme, any closed set of strings.@adrienlcp/Fonctionsafe-storage readStoredJsonThe JSON stored underkey, parsed and narrowed byisValue.@adrienlcp/Fonctionsafe-storage readStoredTextThe text stored underkey, ornullwhen nothing is: an absence, never a failure.@adrienlcp/Fonctionsafe-storage removeStoredRemoves whatever is stored underkey; a missing key is not a failure.@adrienlcp/Fonctionsafe-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/Fonctionsafe-storage writeStoredTextStorestextunderkey.@adrienlcp/Fonctionsafe-storage