commit 7878054b704a5ac3c72b955a290c4e37a1c25ec8 Author: Nathan DUQUET Date: Wed Sep 16 11:15:30 2026 +0200 Initial commit — direction A4, design tokens, et package @napps/design-system Direction artistique explorée (A1-A4), audit complet du kit Figma iOS 27 d'Apple pour calibrer les mécaniques du design system (hiérarchie de texte par opacité, échelle de fills, deux familles de matière), tokens formalisés dans tokens.css, et première version du package de composants React. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dd6e803 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +dist/ +*.log +.DS_Store diff --git a/Main.dc.html b/Main.dc.html new file mode 100644 index 0000000..dc6ae6d --- /dev/null +++ b/Main.dc.html @@ -0,0 +1,174 @@ + + + + + + + + + + + + +
+ + +
+
A1 — Précision (référence)
+

Sobre, dense, exact.

+

Inspirée de Linear et d'Apple : palette quasi monochrome, un seul accent fort, typographie géométrique comme colonne vertébrale, aucune décoration gratuite. Chaque pixel a une fonction.

+
+ + +
+
Palette — Light / Dark
+ +
+
+
Light
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ +
+
Dark
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+
+
+ + +
+
Typographie
+
+
+
Espace Grotesk
+
Titres — géométrique, dessinée pour le digital, aucune trace de police système par défaut.
+
+
+
IBM Plex Sans — texte courant. Dessinée pour l'interface, excellente lisibilité en petite taille, chasse maîtrisée pour les tableaux de données denses.
+
Texte — humaniste mais structurée, pensée pour la densité d'information.
+
+
+
+ + +
+
Composants
+
+ + + +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe
+
+
+
+
Rayon 8px · bordure fine, pas d'ombre lourde
+
+
+ + + + + +
Signe maison — barres géométriques
+
+
+
+ +
+
+ + diff --git a/OptionA2.dc.html b/OptionA2.dc.html new file mode 100644 index 0000000..e5bdf4a --- /dev/null +++ b/OptionA2.dc.html @@ -0,0 +1,174 @@ + + + + + + + + + + + + +
+ + +
+
A2 — Précision / Cobalt
+

Même rigueur, accent plus froid.

+

Même socle que A1 (typographie, densité, structure) — seul l'accent change : un cobalt profond plutôt qu'un émeraude, plus proche du bleu système d'Apple mais désaturé pour rester premium et non générique.

+
+ + +
+
Palette — Light / Dark
+ +
+
+
Light
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ +
+
Dark
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+
+
+ + +
+
Typographie — inchangée
+
+
+
Espace Grotesk
+
Titres — identique à A1, la variation porte uniquement sur la couleur.
+
+
+
IBM Plex Sans — texte courant, inchangé. La cohérence typographique reste la colonne vertébrale de toute la famille A.
+
Texte — identique à A1.
+
+
+
+ + +
+
Composants
+
+ + + +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe
+
+
+
+
Rayon 8px · inchangé
+
+
+ + + + + +
Signe maison — même mark, couleur cobalt
+
+
+
+ +
+
+ + diff --git a/OptionA3.dc.html b/OptionA3.dc.html new file mode 100644 index 0000000..7705bb8 --- /dev/null +++ b/OptionA3.dc.html @@ -0,0 +1,174 @@ + + + + + + + + + + + + +
+ + +
+
A3 — Précision / Ambre
+

Même structure, autre voix.

+

Densité et sobriété de A1 conservées, mais avec une typographie plus arrondie (Sora / Work Sans) et un accent ambre chaud — la précision reste, la froideur s'efface légèrement.

+
+ + +
+
Palette — Light / Dark
+ +
+
+
Light
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ +
+
Dark
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+
+
+ + +
+
Typographie — nouvelle paire
+
+
+
Sora
+
Titres — géométrique comme Space Grotesk mais aux terminaisons plus douces, légèrement plus chaude à grande taille.
+
+
+
Work Sans — texte courant. Proportions proches d'IBM Plex Sans mais moins technique, plus neutre pour un public grand public.
+
Texte — sobre, légèrement plus accessible que A1.
+
+
+
+ + +
+
Composants
+
+ + + +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe
+
+
+
+
Rayon 8px · inchangé
+
+
+ + + + + +
Signe maison — même mark, terminaisons plus rondes
+
+
+
+ +
+
+ + diff --git a/OptionA4.dc.html b/OptionA4.dc.html new file mode 100644 index 0000000..c750aef --- /dev/null +++ b/OptionA4.dc.html @@ -0,0 +1,177 @@ + + + + + + + + + + + + +
+ + +
+
A4 — Précision / Vibrance — révisée HIG
+

Corrigée sur les vrais principes Apple.

+

Révisée une seconde fois après audit complet du kit Figma iOS 27 (26 composants, valeurs exactes) : hiérarchie de texte par opacité du noir plutôt que par des gris fixes, échelle de fills en trois paliers, et deux familles de matière seulement (contrôle / panneau) plutôt qu'une recette par composant. Typographie et signe restent les nôtres — ce ne sont pas SF Pro ni SF Symbols. Détail dans tokens.css et figma-kit-audit.md.

+
+ + +
+
Couches de couleur — pas d'ombre pour la hiérarchie
+

Trois niveaux de surface empilés par teinte, séparés par un trait de 1px — jamais par une ombre. L'accent n'apparaît que sur ce qui est interactif.

+
+
+
Fond de page
+
+
Surface groupée
+
Surface imbriquée (piste, champ inactif)
+
+
+
+
Fond de page (dark)
+
+
Surface groupée
+
Surface imbriquée — plus claire, pas plus sombre
+
+
+
+
+
+
+
Succès — jamais seul signal, toujours + texte/icône
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ + +
+
Échelle typographique — hiérarchie par le poids
+

Inspirée de l'échelle de type standard iOS (points, poids, usage) — appliquée ici à Manrope, notre propre famille, pas SF Pro.

+
+
+
Grand titre
+
34pt · extrabold
+
+
+
Titre de section
+
22pt · bold
+
+
+
En-tête de liste
+
17pt · bold
+
+
+
Corps de texte — même taille que l'en-tête ci-dessus, seul le poids change
+
17pt · regular
+
+
+
Note de bas de bloc
+
13pt · regular
+
+
+
+ + +
+
Matière & vibrancy — recette calibrée sur le vrai verre liquide
+

Flou à 46px (pas 20), aucune bordure visible — juste un rehaut interne très doux —, et une forme entièrement en pilule pour les contrôles, comme dans le système réel. Valeurs vérifiées, pas estimées.

+
+
+
+
+
+
+
+
+
+
+
Aperçu
+
Activité
+
Réglages
+
+
+
+
Le contenu coloré derrière reste visible en transparence — c'est ce qui justifie le flou, pas la décoration seule.
+
+ + +
+
Composants — cibles tactiles 44×44pt
+

Chaque élément interactif est dimensionné pour une cible d'au moins 44×44pt, quelle que soit sa taille visuelle apparente.

+
+ +
+ +
primaire
+
+ +
+ +
secondaire — fond translucide, pas un contour
+
+ +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe hiérarchique
+

Une seule ombre douce, réservée aux surfaces réellement au-dessus du reste (popover, menu) — le reste du temps, un hairline suffit.

+
+
+
+
Surface normale — hairline seul
+
+
+
+
Surface flottante (popover) — ombre quasi imperceptible, valeur réelle vérifiée
+
+
+ + + + + +
Signe maison — rendu hiérarchique (opacité dégressive), grille cohérente avec le poids du texte
+
+
+
+ +
+
+ + diff --git a/OptionA4Dark.dc.html b/OptionA4Dark.dc.html new file mode 100644 index 0000000..35d9e7c --- /dev/null +++ b/OptionA4Dark.dc.html @@ -0,0 +1,160 @@ + + + + + + + + + + + + +
+ + +
+
A4 — Précision / Vibrance — Dark — révisée HIG
+

Même logique, en obscurité.

+

Les couches de couleur s'inversent : chaque niveau de surface devient plus clair, jamais plus sombre, à mesure qu'il s'élève. Et les tokens de fill eux-mêmes changent de valeur entre les deux thèmes — 0.12 en light devient 0.16 en dark, pas juste "la même valeur sur fond sombre".

+
+ + +
+
Couches de couleur — élévation par éclaircissement
+

Fond → surface groupée → surface imbriquée : chaque niveau est plus clair que le précédent, séparé par un trait de 1px.

+
+
Fond de page — #15171C
+
+
Surface groupée — #1D1F26
+
Surface imbriquée — #262930
+
+
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ + +
+
Échelle typographique — hiérarchie par le poids
+
+
+
Grand titre
+
34pt · extrabold
+
+
+
En-tête de liste
+
17pt · bold
+
+
+
Corps de texte — même taille, poids différent
+
17pt · regular
+
+
+
Note de bas de bloc
+
13pt · regular
+
+
+
+ + +
+
Matière & vibrancy — recette calibrée sur le vrai verre liquide
+

Même recette qu'en light — flou à 46px, pilule, pas de bordure visible — le contraste des rehauts internes s'inverse pour rester lisible sur fond sombre.

+
+
+
+
+
+
+
+
+
+
+
Aperçu
+
Activité
+
Réglages
+
+
+
+
+ + +
+
Composants — cibles tactiles 44×44pt
+
+ +
+ +
primaire
+
+ +
+ +
secondaire — 0.16 en dark (2× le light)
+
+ +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe hiérarchique
+
+
+
+
Surface normale — hairline seul
+
+
+
+
Surface flottante (popover) — ombre douce, un peu plus marquée qu'en light pour rester lisible
+
+
+ + + + + +
Signe maison — même rendu hiérarchique, accent éclairci
+
+
+
+ +
+
+ + diff --git a/OptionB.dc.html b/OptionB.dc.html new file mode 100644 index 0000000..bf88579 --- /dev/null +++ b/OptionB.dc.html @@ -0,0 +1,173 @@ + + + + + + + + + + + + +
+ + +
+
Option B — Chaleur
+

Doux, maîtrisé, humain.

+

Inspirée de Things : couleurs pastel confortables, coins généreux, icônes maison dessinées à la main. L'app se sent accueillante sans jamais être enfantine.

+
+ + +
+
Palette — Light / Dark
+ +
+
+
Light
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ +
+
Dark
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+
+
+ + +
+
Typographie
+
+
+
Instrument Serif
+
Titres — serif contemporaine, chaleureuse sans être classique, apporte une touche d'artisanat.
+
+
+
Karla — texte courant. Sans-serif humaniste aux formes rondes et confortables, pensée pour rassurer un public grand public.
+
Texte — douce, lisible, jamais froide.
+
+
+
+ + +
+
Composants
+
+ + + +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe
+
+
+
+
Rayon 18px · ombre douce et diffuse
+
+
+ + + + +
Signe maison — goutte dessinée à la main
+
+
+
+ +
+
+ + diff --git a/OptionC.dc.html b/OptionC.dc.html new file mode 100644 index 0000000..a94e39d --- /dev/null +++ b/OptionC.dc.html @@ -0,0 +1,174 @@ + + + + + + + + + + + + +
+ + +
+
Option C — Éditorial
+

Composé comme un objet fini.

+

Inspirée de Craft et d'Apple : typographie éditoriale, blocs modulaires, profondeur en couches subtiles. L'app se lit comme un document soigné, pas comme un gabarit.

+
+ + +
+
Palette — Light / Dark
+ +
+
+
Light
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+ +
+
Dark
+
+
+
+
Fond
+
+
+
+
Surface
+
+
+
+
Texte
+
+
+
+
Texte 2
+
+
+
+
Accent
+
+
+
+
Succès
+
+
+
+
Attention
+
+
+
+
Erreur
+
+
+
+
+
+ + +
+
Typographie
+
+
+
Newsreader
+
Titres — serif éditoriale, référence à la presse et à l'édition, confère une autorité tranquille.
+
+
+
Public Sans — texte courant. Sans-serif neutre et rigoureuse, conçue pour une lisibilité irréprochable à toute taille.
+
Texte — sobre, jamais tape-à-l'œil, laisse la parole au contenu.
+
+
+
+ + +
+
Composants
+
+ + + +
+
Facturation
+
Prochaine échéance dans 12 jours.
+
À jour
+
+ +
+ + +
+ +
+
Aperçu
+
Activité
+
Réglages
+
+ +
+
+ + +
+
Profondeur & signe
+
+
+
+
Rayon 6px · ombres empilées, effet papier
+
+
+ + + + + +
Signe maison — marque au trait fin
+
+
+
+ +
+
+ + diff --git a/README.md b/README.md new file mode 100644 index 0000000..8200e7e --- /dev/null +++ b/README.md @@ -0,0 +1,79 @@ +# nApps Design + +Identité visuelle commune et bibliothèque de composants pour les applications nApps. + +## Structure du dépôt + +``` +nAppsDesign/ +├── tokens.css # Design tokens de référence (copie canonique dans packages/design-system/src/) +├── figma-kit-audit.md # Audit détaillé du kit Apple iOS 27 utilisé comme référence +├── Main.dc.html, OptionA*.dc.html, canvas.json # Planches de direction artistique (A1-A4) +├── kit-audit/ # Planches de synthèse de l'audit Figma +└── packages/ + └── design-system/ # Le package npm distribuable — @napps/design-system + ├── src/ + │ ├── tokens.css + │ ├── components/ + │ └── index.ts + └── package.json +``` + +## Direction retenue : A4 — Précision / Vibrance + +Inspirée du vrai Human Interface Guidelines d'Apple (mécaniques : hiérarchie de texte par +opacité, échelle de fills en trois paliers, deux familles de matière translucide) mais avec +une identité propre à nApps : typographie Manrope, accent cobalt `#0B6CFF`, signe maison — +jamais de copie de SF Pro, SF Symbols, ou du bleu système Apple. + +Voir `figma-kit-audit.md` pour le détail complet de l'audit et le raisonnement derrière +chaque décision de token. + +## Utiliser le design system dans une app nApps + +Le package n'est pas encore publié sur un registre npm. En attendant, chaque app peut le +consommer directement depuis ce dépôt git une fois poussé sur un remote : + +```json +{ + "dependencies": { + "@napps/design-system": "git+https:////nAppsDesign.git#" + } +} +``` + +```tsx +import { Button, Text, Surface } from '@napps/design-system'; +import '@napps/design-system/tokens.css'; + +function Example() { + return ( + + Bienvenue + + + ); +} +``` + +Pour le thème sombre, ajouter `data-theme="dark"` sur l'élément racine (`` ou un +conteneur) — tous les tokens ont leur propre valeur dark, ce n'est jamais une simple +inversion des tokens light (voir `figma-kit-audit.md`, section "Découverte majeure"). + +## Développer le package + +```bash +cd packages/design-system +npm install +npm run build # génère dist/ (ESM + CJS + types + CSS) +npm run dev # rebuild en continu +``` + +## Prochaines étapes + +- Choisir un hébergeur git (GitHub/GitLab) et pousser ce dépôt. +- Décider du mécanisme de distribution définitif : dépendance git taguée (rapide à mettre + en place) ou registre npm privé (plus propre à long terme, nécessite une infra). +- Étendre la bibliothèque de composants au fur et à mesure des besoins des apps (éviter + d'anticiper des composants qu'aucune app ne demande encore). +- Migrer une première app pilote pour valider l'ensemble avant généralisation. diff --git a/canvas.json b/canvas.json new file mode 100644 index 0000000..ead5eb5 --- /dev/null +++ b/canvas.json @@ -0,0 +1,25 @@ +{ + "artboards": [ + { "file": "Main.dc.html", "x": 0, "y": 0, "w": 1160, "h": 1180, "page": "page-1" }, + { "file": "OptionA2.dc.html", "x": 1260, "y": 0, "w": 1160, "h": 1180, "page": "page-1" }, + { "file": "OptionA3.dc.html", "x": 2520, "y": 0, "w": 1160, "h": 1180, "page": "page-1" }, + { "file": "OptionA4.dc.html", "x": 3780, "y": 0, "w": 1160, "h": 1780, "page": "page-1" }, + { "file": "OptionA4Dark.dc.html", "x": 5040, "y": 0, "w": 1160, "h": 1700, "page": "page-1" }, + { "file": "OptionB.dc.html", "x": 0, "y": 0, "w": 1160, "h": 1260, "page": "page-2" }, + { "file": "OptionC.dc.html", "x": 1260, "y": 0, "w": 1160, "h": 1320, "page": "page-2" } + ], + "annotations": [ + { "id": "brief-summary", "x": 0, "y": -100, "w": 1160, "text": "A1 — Précision (référence)", "page": "page-1" }, + { "id": "note-a2", "x": 1260, "y": -100, "w": 1160, "text": "A2 — accent cobalt, même typo", "page": "page-1" }, + { "id": "note-a3", "x": 2520, "y": -100, "w": 1160, "text": "A3 — accent ambre, typo Sora/Work Sans", "page": "page-1" }, + { "id": "note-a4", "x": 3780, "y": -100, "w": 1160, "text": "A4 — Apple-vibe poussé au max (Manrope, squircle, vibrancy)", "page": "page-1" }, + { "id": "note-a4-dark", "x": 5040, "y": -100, "w": 1160, "text": "A4 en dark mode", "page": "page-1" }, + { "id": "note-b", "x": 0, "y": -100, "w": 1160, "text": "Écarté — Option Chaleur (Things)", "page": "page-2" }, + { "id": "note-c", "x": 1260, "y": -100, "w": 1160, "text": "Écarté — Option Éditorial (Craft / Apple)", "page": "page-2" } + ], + "pages": [ + { "id": "page-1", "name": "Variantes A" }, + { "id": "page-2", "name": "Pistes écartées" } + ], + "launch": { "view": "canvas", "page": "page-1" } +} diff --git a/figma-kit-audit.md b/figma-kit-audit.md new file mode 100644 index 0000000..a8b4cce --- /dev/null +++ b/figma-kit-audit.md @@ -0,0 +1,190 @@ +# Audit du kit Figma "iOS and iPadOS 27 (Community)" + +Fichier : `zGlk9zfprLJgnlwWWq35wr` — https://www.figma.com/design/zGlk9zfprLJgnlwWWq35wr/iOS-and-iPadOS-27--Community- + +Objectif : extraire les valeurs réelles (couleurs, typographie, mécanique des matériaux, taxonomie des composants) pour aligner le design system nApps (direction A4) sur le vrai système Apple, sans copier ses assets protégés (police SF Pro, glyphes SF Symbols, wordmark). + +Comptes Figma utilisés pour l'accès MCP : +- felix.brossard@studio-n.fr (plan Starter, siège View) — limite atteinte le 2026-09-16, bloqué. +- achat@studio-n.fr (plan Starter, siège View) — limite atteinte le 2026-09-16 après 19 appels, bloqué. +- felixbrossard79@gmail.com (plan Starter, siège Full) — **compte actif**, a permis d'identifier les 9 dernières pages (36/36) et d'extraire les couleurs système exactes + la recette des boutons Bordered/Bordered-Prominent. + +## Toutes les pages identifiées (36/36) + +## Couleurs système — extraction complète (light + dark) + +| Nom | Light | Dark | +|---|---|---| +| Black | `#000000` | `#000000` | +| Gray | `#8E8E93` | `#8E8E93` | +| Gray 2 | `#AEAEB2` | `#636366` | +| Gray 3 | `#C7C7CC` | `#48484A` | +| Gray 4 | `#D1D1D6` | `#3A3A3C` | +| Gray 5 | `#E5E5EA` | `#2C2C2E` | +| Gray 6 | `#F2F2F7` | `#1C1C1E` | +| White | `#FFFFFF` | `#FFFFFF` | +| Red | `#FF383C` | `#FF4245` | +| Orange | `#FF8D28` | `#FF9230` | +| Yellow | `#FFCC00` | `#FFD600` | +| Green | `#34C759` | `#30D158` | +| Mint | `#00C8B3` | `#00DAC3` | +| Teal | `#00C3D0` | `#00D2E0` | +| Cyan | `#00C0E8` | `#3CD3FE` | +| Blue (accent système) | `#0088FF` | `#0091FF` | +| Indigo | `#6155F5` | `#6D7CFF` | +| Purple | `#CB30E0` | `#DB34F2` | +| Pink | `#FF2D55` | `#FF375F` | +| Brown | `#AC7F5E` | `#B78A66` | + +Ce sont les vraies teintes système d'Apple (publiques, bien documentées) — utile comme référence de calibration, pas à copier telles quelles pour l'accent nApps (déjà distinct : cobalt `#0B6CFF` pour A2/A4, ambre pour A3). + +## Découverte majeure — la hiérarchie de texte se fait par opacité, pas par des gris fixes + +Confirmé sur Text Fields, Lists et Toggles : Apple n'utilise pas une palette de gris différents pour Label Primary/Secondary/Tertiary. Il module l'**opacité du noir** (ou du blanc en dark) : + +| Token | Valeur | Usage observé | +|---|---|---| +| `labels/primary` | `rgba(0,0,0,1)` (noir plein) | Titre de ligne, valeur saisie | +| `labels/secondary` | `rgba(60,60,67,0.6)` | Sous-titre, détail trailing, description empty state | +| `labels/tertiary` | `rgba(60,60,67,0.3)` | Placeholder, chevron disclosure, switch OFF, séparateur stepper | +| `fills/primary` | `rgba(120,120,128,0.2)` | Piste du slider | +| `fills/tertiary` | `rgba(118,118,128,0.12)` | Fond bouton "Bordered", piste Segmented Control, moitiés du Stepper | +| `separators/vibrant` | `#E6E6E6` | Trait de séparation fin (hairline), partout (List, Text Field, Slider) | +| accent (`accents/blue` = `#0088FF`) | plein sur Bordered-Prominent/Slider fill/curseur ; en tinte à 15% pour badge Empty State ; superposé sur blanc 94% pour Glass Prominent | Jamais peint en aplat direct sur du verre — toujours via une couche blanche translucide en dessous | + +**Pourquoi c'est important** : un token en opacité s'adapte automatiquement à n'importe quel fond (blanc, gris clair, glass translucide) sans qu'on ait à définir une variante par contexte. C'est plus robuste que nos couleurs de texte fixes actuelles en A4 (`#62636B`, `#9A9BA3`...). **À corriger dans les tokens nApps** : remplacer texte secondaire/tertiaire par du noir (ou blanc en dark) à opacité réduite plutôt que des hex de gris séparés. + +## Boutons — recette exacte extraite (les 4 styles principaux) + +- **Bordered - Prominent** (= notre CTA principal) : fond accent plein, texte blanc, radius **1000px (pilule complète)**, padding **20px 14px** (Large), typo Body (17pt, line-height 22px, letter-spacing -0.43px). Exactement ce qu'on avait déjà construit en A4. +- **Bordered** (à ne pas confondre avec "contour") : fond `fills/tertiary` (gris translucide 12%, pas de bordure visible), texte couleur accent, même radius pilule. **Nouveau pattern** — bouton secondaire discret, à ajouter à notre bibliothèque. +- **Glass** : même recette matière que la page Materials (blend modes plus-lighter/luminosity + ombres internes simulant l'épaisseur du verre), texte `#1A1A1A` (presque noir, pas pur noir), padding 20px 16px, radius pilule. +- **Glass Prominent** : fond blanc à 94% d'opacité + une teinte accent superposée par-dessus, texte blanc, même effet de verre. C'est la version "colorée" du bouton verre — confirme qu'on ne peint jamais l'accent en aplat sur du verre, on superpose une teinte sur un fond blanc translucide. + +## Slider, Stepper, Empty States — recettes exactes + +- **Slider** : piste en `fills/primary` `rgba(120,120,128,0.2)` (nouveau token, distinct de `fills/tertiary`), remplissage en accent plein, knob blanc en pilule 38×24 avec ombre en deux couches (`0 0.5px 4px rgba(0,0,0,.12)` + `0 6px 13px rgba(0,0,0,.12)`) — c'est la seule ombre "généreuse" observée dans tout le kit, réservée à un élément qu'on déplace activement au doigt. +- **Stepper** : pilule complète divisée en deux, chaque moitié en fond `fills/tertiary` (même token que Bordered/Segmented), séparateur central 1px en `labels/tertiary`, icônes +/- en noir semibold (taille Headline 17pt). +- **Empty States** : 3 variantes toutes terminées par un bouton **Glass Prominent** (confirme que ce style sert d'action principale même hors barre d'outils) — titre 22pt semibold noir, description medium `labels/secondary`. La variante "Symbol in Circle" utilise un badge rond avec fond accent à 15% d'opacité et l'icône en accent plein par-dessus — un pattern de badge doux réutilisable tel quel pour nApps. + +## Échelle complète des fills (fonds gris translucides) + +Trois niveaux confirmés, tous utilisés pour des fonds de contrôle sans accent : + +| Token | Valeur | Usage | +|---|---|---| +| `fills/primary` | `rgba(120,120,128,0.2)` | Piste de Slider, piste de Progress Bar | +| `fills/secondary` | `rgba(120,120,128,0.16)` | Boutons d'Alert et d'Action Sheet (rôles None/Cancel/Destructive) | +| `fills/tertiary` | `rgba(118,118,128,0.12)` | Bouton "Bordered", piste de Segmented Control, moitiés de Stepper | + +Plus la surface est "au premier plan" (un bouton qu'on presse) plus l'opacité est haute ; plus elle est "de fond" (une piste, un contrôle secondaire), plus elle baisse. Un seul principe, trois graduations. + +**Nuance dark mode** : ces opacités ne sont pas fixes entre les deux thèmes. Le champ de recherche en dark utilise `fills/secondary` à **0.32** (contre 0.16 en light) — même token, valeur doublée pour rester visible sur fond sombre. À prévoir dans les tokens nApps : chaque fill/opacité doit avoir sa propre valeur dark, pas juste hériter du light. + +## Alerts, Action Sheets, Progress Indicators, Page Controls, Notifications, Sheets — recettes exactes + +- **Alert / Action Sheet — boutons** : pilule 48px, `Default` = accent plein + texte blanc, `None`/`Cancel` = `fills/secondary` + texte noir, `Destructive` = `fills/secondary` + texte rouge (`#FF383C`). Le fond de la card Action Sheet utilise une **troisième recette de verre**, distincte de Materials et des boutons Glass : `mix-blend-lighten` + `mix-blend-darken` (plutôt que luminosity/plus-lighter), pour un rendu plus opaque et laiteux adapté à une grande surface de dialogue. +- **Progress Bar** (linéaire) : piste `fills/primary`, remplissage accent, 4px de haut, radius pilule. +- **Spinner** : 8 lames à `labels/secondary`, opacité dégressive (87/75/63/51/39/27/15/8%) — c'est la rotation perçue, huit états statiques suffisent à l'animation. +- **Page Control** (dots) : actif = `labels/primary` 8px, inactif = `labels/tertiary` 8px (réduit à 6px "adjacent" et 4px "overflow" au-delà de 7 pages) — posé sur un fond capsule en vrai Liquid Glass (blur 50px + color-dodge). +- **Notification (collapsed)** : carte 24px de rayon, texte **blanc** (pas noir — pensé pour flotter sur un fond animé/wallpaper), utilise encore une **variante de verre** différente (`mix-blend-plus-lighter` sur noir `#101010` + `luminosity` sur blanc à 4%) — plus sombre que celle des boutons, cohérente avec un contexte lock screen. +- **Sheet — grabber** (poignée de la feuille modale) : pilule 60×4px, `#CCCCCC` en light, `#333333` + `plus-lighter` en dark. + +**Correction après extraction complémentaire (Activity Views, Contextual Menus)** : ce n'est pas une multitude de recettes de verre au hasard, mais **exactement deux familles**, chacune avec un usage cohérent : + +1. **"Verre de contrôle"** (`plus-lighter` + `luminosity`) — boutons, barres d'outils, capsule du Page Control, échantillons de la page Materials. Utilisé sur des **éléments flottants isolés**. +2. **"Verre de panneau"** (`lighten` + `darken` + `multiply`, rendu plus opaque et laiteux) — Action Sheet, Context Menu. Utilisé sur des **grandes surfaces de dialogue**. + +La variante Notification (`plus-lighter` sur noir + `luminosity` sur blanc à 4%) est une troisième nuance de la famille "contrôle", assombrie pour rester lisible sur un fond animé (wallpaper de lock screen) — pas une recette à part entière. + +Autre confirmation : le badge circulaire à icône (`fills-vibrant/tertiary`, 66px, icône centrée) apparaît à la fois dans **Activity Views** (neutre, gris) et **Empty States** ("Symbol in Circle", teinté accent à 15%) — c'est un composant réutilisable à part entière dans le kit, pas une coïncidence. + +## Menus, Sidebars, Toolbars — recettes exactes (dernière session d'extraction) + +- **Menus** : item 190px de large, icône 28px, label 17pt (tracking -0.43px, line-height 20px), sous-titre 13pt en `labels/secondary`. Destructif = rouge accent. Désactivé = `labels/tertiary`. En dark mode, tous les textes de menu utilisent `mix-blend-mode: plus-lighter` — le menu étant posé sur du verre translucide, le texte s'adapte optiquement à ce qu'il y a en dessous plutôt que d'être une couleur fixe. +- **Sidebars** : ligne de 44px, indentation par palier de 20px (10/30/50px de padding-left selon le niveau). **Découverte notable** : l'état sélectionné n'est pas un simple fond pleine largeur — c'est une **pilule** (`border-radius: 100px`) en fond `fills-vibrant/tertiary` avec `mix-blend-mode: plus-lighter`, insérée dans la ligne. Désactivé = opacité 50% globale. +- **Toolbars** (boutons 44pt) : confirme que **tous les boutons "chrome"** (Back, Text, Symbol, Button Group) utilisent exactement la même recette de verre que la page Materials et les boutons Glass — aucune variante. Les versions "Prominent" (Text-Prominent, Symbol-Prominent) réutilisent le pattern **blanc 94% + teinte accent superposée** déjà vu sur Glass Prominent et les CTA d'Empty States. C'est un pattern totalement systématique dans tout le kit : dès qu'une action est "principale", c'est blanc translucide + teinte, jamais un aplat de couleur directement sur du verre. + +## Segmented Control, Toggle, Text Field, List Row — recettes exactes + +- **Segmented Control** : piste en fond `fills/tertiary` (le même token que le bouton Bordered), radius pilule complet, segment sélectionné = pastille blanche avec `drop-shadow(0 2px 10px rgba(0,0,0,0.06))` — texte noir dans les deux états, seul le poids change (600 sélectionné vs 510 non-sélectionné). Confirme exactement la forme adoptée en A4. +- **Toggle** : ON = vert accent `#34C759`, OFF = `labels/tertiary` (noir 30%, pas un gris séparé), knob blanc 24px sur piste 64×28 pleinement arrondie, désactivé = opacité 50% globale. +- **Text Field** : séparateur fin en bas (`separators/vibrant #E6E6E6`), placeholder en `labels/tertiary`, valeur saisie en noir plein, curseur = couleur accent, largeur 2px, hauteur de ligne 52px avec padding 16px. +- **List Row** : hauteur 52px (regular) ou 68px (tall avec image/avatar), séparateur hairline en haut, titre 17pt noir, sous-titre 15pt en `labels/secondary`, accessoires trailing (chevron en tertiary, checkmark/info en noir ou accent), bouton d'édition = cercle bleu 22px avec coche blanche. + +## Pages consultées (structure/taxonomie, hex à extraire pour les autres) + +| Page | node-id | Statut extraction | Contenu | +|---|---|---|---| +| Materials | `215:105157` | **Complet** (get_design_context) | Recette réelle du "Liquid Glass" : blur 46-50px, blend modes (color-dodge, luminosity, plus-lighter), pas de bordure visible, hex des vibrancy fills/labels (light) | +| Colors | `0:1746` | **Complet** | 20 couleurs, hex exacts light + dark — voir tableau en haut du document | +| Text Styles and Dynamic Type | `0:2194` | **Complet** (dimensions réelles) | Échelle complète xSmall→xxxLarge + accessibilité AX1-AX5, tous les styles (Large Title, Title 1/2/3, Headline, Body, Callout, Subheadline, Footnote, Caption 1/2) × 4 niveaux de label (Primary/Secondary/Tertiary/Quaternary) | +| Safe Areas and Margins | `12892:60611` | Structure seulement | Marges, safe area insets, iPhone/iPad/iPhone Duo — peu utile hors natif | +| Product Bezels | `507:24672` | Structure seulement | Gabarits d'appareils (iPhone 17/18, iPad Pro, iPhone Air) — **pas utile pour notre design system** (marketing/mockup device) | +| System | `507:24688` | Structure seulement | Home Screen, Lock Screen, Control Center, Dock, wallpapers — **pas utile**, spécifique OS natif | +| Action Sheets | `507:24669` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus | +| Activity Views | `507:24670` | **Action complète** (badge circulaire) — reste en taxonomie | Voir section "verre de contrôle / verre de panneau" ci-dessus | +| Alerts | `507:24668` | **Complet** (boutons) — text field partagé avec la page dédiée | Voir section "Alerts, Action Sheets..." ci-dessus | +| App Icons | `507:24671` | Structure seulement | Grille d'icônes système (référence de gabarit, pas les glyphes eux-mêmes à copier) | +| Buttons | `507:24673` | **Complet** (Bordered, Bordered-Prominent, Glass, Glass Prominent) — Borderless reste en taxonomie | Voir section "Boutons — recette exacte" ci-dessus | +| Color Pickers | `507:26010` | Structure seulement | Color picker iPhone/iPad, toolbar, boutons | +| Keyboards | `507:24674` | Structure seulement | Claviers iPhone/iPad/iPhone Duo, touches, accessory bars — **peu pertinent** (web, pas de clavier natif à concevoir) | +| Lists | `507:24675` | **Row complet** (regular/tall) — swipe actions/section headers en taxonomie | Voir section "Segmented Control, Toggle..." ci-dessus | +| Menus | `507:24676` | **Complet** (item states) | Voir section "Menus, Sidebars, Toolbars" ci-dessus | +| Notifications | `507:24678` | **Complet** (collapsed) — expanded en taxonomie | Voir section "Alerts, Action Sheets..." ci-dessus | +| Page Controls | `507:24679` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus | +| Popovers | `507:24681` | **Complet** | 3e nuance de "verre de contrôle" (blur 65px), voir section fills/matériaux | +| Pop-up Buttons | `507:26009` | **Complet** | Voir section "Alerts, Action Sheets..." ci-dessus | +| Progress Indicators | `507:24682` | **Complet** (barre + spinner) | Voir section "Alerts, Action Sheets..." ci-dessus | +| Segmented Controls | `507:24683` | **Complet** | Voir section "Segmented Control, Toggle..." ci-dessus | +| Sheets | `507:24684` | **Complet** (Detent Medium, grabber) — Large/Large stacked en taxonomie | Confirme le "verre de panneau", rayons asymétriques 38px haut / 58px bas | +| Sidebars | `507:26013` | **Complet** (Sidebar Row, 12 états) — search field en taxonomie | Voir section "Menus, Sidebars, Toolbars" ci-dessus | +| Sliders | `507:24685` | **Complet** (idle) — pressed/disabled en taxonomie | Voir section "Slider, Stepper, Empty States" ci-dessus | +| Status Bars and Menu Bars | `507:24686` | Structure seulement | Status bar iPhone, menu bar macOS-style — **peu pertinent** (web) | +| Steppers | `507:24687` | **Complet** (default) — pressed/disabled en taxonomie | Voir section "Slider, Stepper, Empty States" ci-dessus | +| Toggles | `507:24690` | **Complet** (idle) — pressed (effet verre étiré) en taxonomie | Voir section "Segmented Control, Toggle..." ci-dessus | +| Windows | `5413:10149` | Structure seulement | Fenêtre desktop, sidebar, contrôles de fenêtre — **peu pertinent** (chrome OS natif) | +| Date and Time Pickers | `507:24680` | Structure seulement | Picker inline/compact, jours, semaine | +| Text Fields | `553:22762` | **Complet** (4 états) | Voir section "Segmented Control, Toggle..." ci-dessus | +| Toolbars | `507:25993` | **Complet** (boutons 44pt) — search/titres en taxonomie | Voir section "Menus, Sidebars, Toolbars" ci-dessus | +| Widgets | `507:26511` | Non pertinent | Widgets home screen / lock screen — spécifique OS natif | +| _Kit Helpers | `507:29124` | Non pertinent | Éléments internes au kit (labels de mode) | +| Contextual Menus | `507:25994` | **Complet** | Confirme le "verre de panneau" + Control Group (actions rapides en icônes, radius 20px) | +| Empty States | `5518:18111` | **Complet** (3 layouts) | Voir section "Slider, Stepper, Empty States" ci-dessus | +| Face ID | `507:26011` | Non pertinent | Animation d'authentification biométrique native | + +**36/36 pages identifiées, 20 avec des valeurs exactes extraites.** Le reste est soit en structure/taxonomie, soit hors périmètre. + +## Priorités pour la suite (get_design_context) + +**Valeurs exactes obtenues pour** : Materials, Text Styles/Dynamic Type, Colors (20), Buttons (4/5 styles), Segmented Controls, Toggles (idle), Text Fields, Lists (Row), Sliders (idle), Steppers (default), Empty States (3 layouts), Menus (item states), Sidebars (Row), Toolbars (boutons 44pt), Alerts (boutons), Action Sheets, Progress Indicators (barre + spinner), Page Controls, Notifications (collapsed), Pop-up Buttons, Sheets (grabber). + +**Popovers** (positionnement + une 3e nuance de "verre de contrôle", blur 65px) et **Sheets** (confirmé sur le "verre de panneau", rayons asymétriques 38px haut / 58px bas) sont maintenant extraits aussi. **Search Field** (Sidebars/Toolbars) partiellement — révèle la nuance dark mode ci-dessus. + +**Compte felixbrossard79@gmail.com épuisé le 2026-09-16** après environ 50 appels `get_design_context` cumulés dans la journée (largement au-delà du rythme des comptes "View", cohérent avec le plafond journalier de 200 d'un siège Full — probablement une limite par minute ou un cumul plus bas que documenté en pratique). + +Ce qui reste, si l'extraction doit continuer avec un nouveau compte — très faible valeur ajoutée attendue : +1. **Color Pickers** — repose sur des assets image (roue de couleur), peu de valeur à extraire en CSS +2. **Toolbar — Top iPad** (node `5720:33170`) et **Alert — Text Field** (node `63:57121`) — non tentés, probablement déjà couverts par les tokens déjà extraits +3. **Sheets — detents Large/Large stacked**, **Date and Time Pickers** — layout uniquement + +Non pertinent / hors périmètre nApps (web) : Product Bezels, System, App Icons, Safe Areas and Margins, Keyboards, Status Bars and Menu Bars, Windows, Widgets, Face ID, _Kit Helpers. + +**Note sur le blocage d'accès rencontré en cours de route** : à un moment, le compte connecté a basculé vers contact@studio-n.fr (siège View, sans accès au fichier), causant des erreurs "pas d'accès en édition" distinctes du rate limit. Une fois l'accès partagé côté Figma, ça a fonctionné après un nouvel essai. Si ça se reproduit : vérifier `whoami` en premier pour voir quel compte est réellement connecté avant de chercher une explication côté quota. + +## Historique des comptes et quotas + +Quatre comptes Figma testés le 2026-09-16, tous plan Starter : +- felix.brossard@studio-n.fr (siège View) → bloqué après ~11 pages (get_metadata) +- achat@studio-n.fr (siège View) → bloqué après ~19 appels (get_metadata) +- felixbrossard79@gmail.com (siège Full) → **le plus productif** : a permis de finir l'identification des 36 pages ET d'extraire ~17 appels `get_design_context` réussis (Colors, Buttons ×4, Segmented Control, Toggle, Text Field, List Row, Slider, Stepper, Empty States) avant d'être bloqué à son tour. + +Le plan Starter a un quota d'appels API bas, qui semble se reconstituer progressivement plutôt que se réinitialiser d'un coup — mais aucun des quatre comptes n'a tenu au-delà d'une trentaine d'appels cumulés dans la même journée. Un compte avec siège "Full" a tenu nettement plus longtemps qu'un siège "View" — à privilégier si un nouveau compte est créé. + +## Pour la prochaine session + +1. Si le compte felixbrossard79@gmail.com est encore bloqué, utiliser un nouveau compte Figma. +2. Reprendre les priorités ci-dessus avec `get_design_context` pour extraire les hex/dimensions exactes des composants "utiles" restants. +3. Mettre à jour ce fichier au fur et à mesure. +4. Le canvas de référence est publié ici : **https://claude.ai/artifact/2C6M2DwK8TuaNzHUmrbw7D** — le relire avec l'outil Artifact (`action: "read"`) avant de le modifier, ne jamais republier sans l'avoir relu d'abord. Les fichiers sources (`.dc.html`, `canvas.json`) sont dans `kit-audit/` à la racine de ce dépôt de design — les éditer puis reseeder avec `seed-canvas.mjs` plutôt que d'éditer le fichier publié directement. +5. Note : ce canvas est privé par défaut, rattaché au compte claude.ai de cette session (achat@studio-n.fr). Une autre session Claude Code doit tourner sous le même compte claude.ai pour pouvoir le lire/modifier — un compte Figma différent (pour contourner le rate limit) est indépendant de ça. diff --git a/kit-audit/Buttons.dc.html b/kit-audit/Buttons.dc.html new file mode 100644 index 0000000..8faa44c --- /dev/null +++ b/kit-audit/Buttons.dc.html @@ -0,0 +1,79 @@ + + + + + + + + + + + + +
+ +
+
Taxonomie — Buttons
+

5 styles × 3 tailles × 3 labels × 2 états

+

Dimensions réelles extraites, chaque style existe aussi en variante destructive. Bordered et Bordered-Prominent ont une recette de couleur exacte extraite (ci-dessous) ; Glass et Borderless restent en taxonomie (dimensions connues, couleurs à extraire).

+
+ +
+
+
Style
Small
Medium
Large
+
+ +
+
Borderless
+
28×28 (icône) · 49×28 (titre)
+
34×34 · 57×34
+
50×50 · 73×50
+
+
+
Bordered
+
28×28 · 49×28
+
34×34 · 57×34
+
50×50 · 73×50
+
+
+
Bordered — Prominent
+
28×28 · 49×28
+
34×34 · 57×34
+
50×50 · 73×50
+
+
+
Glass
+
60×28
+
69×34
+
85×50 · 50×50 (icône)
+
+
+
Glass — Prominent
+
60×28
+
69×34
+
85×50 · 50×50 (icône)
+
+
+ +
+
Recette exacte extraite (Large, Title only)
+
+
+ +
Bordered-Prominent — fond accent plein, texte blanc, radius 1000px, padding 20px 14px
+
+
+ +
Bordered — fond gris translucide rgba(118,118,128,0.12), texte accent, même radius. Pas un contour !
+
+
+
Typo confirmée : Body 17pt, line-height 22px, letter-spacing -0.43px — exactement notre échelle A4 (page Typography). Nouveau pour nous : le style Bordered n'est pas un contour, c'est un fond gris translucide — à ajouter à notre bibliothèque de composants comme bouton secondaire discret.
+
+ +
+
+ + diff --git a/kit-audit/Colors.dc.html b/kit-audit/Colors.dc.html new file mode 100644 index 0000000..020fdd6 --- /dev/null +++ b/kit-audit/Colors.dc.html @@ -0,0 +1,119 @@ + + + + + + + + + + + + +
+ +
+
Extraction réelle — Colors
+

Les 20 couleurs système, en hex exact

+

Valeurs extraites directement du fichier (pas une estimation). Référence de calibration — l'accent nApps reste distinct (cobalt #0B6CFF en A2/A4, ambre en A3), pas une copie de ces teintes.

+
+ +
+
Gris (8)
+
+
+
+
Black
#000000
+
+
+
+
Gray
#8E8E93 (idem dark)
+
+
+
+
Gray 2
#AEAEB2 · dark #636366
+
+
+
+
Gray 3
#C7C7CC · dark #48484A
+
+
+
+
Gray 4
#D1D1D6 · dark #3A3A3C
+
+
+
+
Gray 5
#E5E5EA · dark #2C2C2E
+
+
+
+
Gray 6
#F2F2F7 · dark #1C1C1E
+
+
+
+
White
#FFFFFF
+
+
+
+ +
+
Accents (12) — light / dark
+
+
+
+
Red
#FF383C / #FF4245
+
+
+
+
Orange
#FF8D28 / #FF9230
+
+
+
+
Yellow
#FFCC00 / #FFD600
+
+
+
+
Green
#34C759 / #30D158
+
+
+
+
Mint
#00C8B3 / #00DAC3
+
+
+
+
Teal
#00C3D0 / #00D2E0
+
+
+
+
Cyan
#00C0E8 / #3CD3FE
+
+
+
+
Blue (accent)
#0088FF / #0091FF
+
+
+
+
Indigo
#6155F5 / #6D7CFF
+
+
+
+
Purple
#CB30E0 / #DB34F2
+
+
+
+
Pink
#FF2D55 / #FF375F
+
+
+
+
Brown
#AC7F5E / #B78A66
+
+
+
+ +
+
+ + diff --git a/kit-audit/Components.dc.html b/kit-audit/Components.dc.html new file mode 100644 index 0000000..c11c27f --- /dev/null +++ b/kit-audit/Components.dc.html @@ -0,0 +1,146 @@ + + + + + + + + + + + + +
+ +
+
Extraction réelle — Tokens sémantiques & composants
+

La hiérarchie se fait par opacité, pas par des gris

+

Découverte confirmée sur 6 composants distincts : Apple encode Primary/Secondary/Tertiary en opacité de noir, pas en teintes de gris séparées. Un token qui s'adapte à n'importe quel fond au lieu d'une variante par contexte.

+
+ +
+
+
+
labels/primary
+
noir 100%
+
+
+
+
labels/secondary
+
noir 60%
+
+
+
+
labels/tertiary
+
noir 30%
+
+
+
+
fills/tertiary
+
gris 12%
+
+
+ +
Composants extraits avec valeurs exactes
+ +
+ +
+
+
Un
+
Deux
+
Trois
+
+
Segmented Control
+
+ +
+
+
+
+
Toggle — ON
+
+ +
+
+
−
+
+
+
+
+
Stepper
+
+ +
+
+
+
+
+
+
Slider
+
+ +
+ +
+ +
+
+
Titre de la ligne
+
Sous-titre en secondary
+
+
List Row (tall)
+
+ +
+
+
Placeholder
+
+
Text Field — vide
+
+ +
+
+
★
+
Aucun résultat
+
Essayez une autre recherche
+
+
Empty State — badge accent à 15%
+
+ +
+ +
+
Pattern systématique — le "Prominent" en 3 contextes
+

Bouton, barre d'outils, CTA d'empty state : toujours la même recette pour une action principale sur du verre — jamais un aplat de couleur direct.

+
+
+ +
Bordered-Prominent
+
+
+
+
+
Toolbar — Symbol Prominent
+
+
+ +
Empty State — CTA
+
+
+
+ +
+
Sidebar — sélection en pilule, pas en bande pleine largeur
+
+
Accueil
+
Projets
+
Réglages
+
+
+ +
+
+ + diff --git a/kit-audit/Main.dc.html b/kit-audit/Main.dc.html new file mode 100644 index 0000000..ba3ac1d --- /dev/null +++ b/kit-audit/Main.dc.html @@ -0,0 +1,125 @@ + + + + + + + + + + + + +
+ +
+
Inventaire — kit Figma "iOS and iPadOS 27 (Community)"
+

Ce qu'on a extrait, pas ce qu'on suppose.

+

Fichier zGlk9zfprLJgnlwWWq35wr. 36/36 pages identifiées, ~26 avec des valeurs exactes extraites, sur quatre comptes Figma Starter successifs jusqu'à épuisement du dernier. Détail complet composant par composant dans figma-kit-audit.md.

+
+ +
+
+
Page
Statut
Contenu
+
+ +
+
Materials
+
Complet
+
Recette réelle du Liquid Glass — blur 46-50px, blend modes, hex vibrancy
+
+
+
Text Styles / Dynamic Type
+
Complet
+
Échelle xSmall→xxxLarge + AX1-AX5, tous les styles de texte
+
+
+
Buttons
+
Partiel
+
Bordered / Bordered-Prominent exacts — Glass/Borderless en taxonomie
+
+
+
Colors
+
Complet
+
20 couleurs système, hex exacts light + dark
+
+
+
Alerts
+
Structure
+
Layouts side-by-side / stacked, rôles de bouton, champ texte
+
+
+
Action Sheets
+
Structure
+
Composant unique repéré
+
+
+
Activity Views
+
Structure
+
Vue de partage iPhone/iPad, boutons d'action
+
+
+
Color Pickers
+
Structure
+
Sélecteur de couleur, toolbar, boutons de sélection
+
+
+
Lists
+
Structure
+
Rows, swipe actions, images, trailing accessories (toggle/stepper/picker) — priorité haute
+
+
+
Menus
+
Structure
+
Menu contextuel sur Liquid Glass — confirme la matière en usage réel
+
+
+
Segmented Controls
+
Structure
+
2-6 segments, confirme la forme pilule déjà adoptée en A4
+
+
+
Toggles · Sliders · Steppers
+
Structure
+
Contrôles de formulaire — states idle/pressed/disabled
+
+
+
Sidebars
+
Structure
+
Nav leading/trailing, rows indentées — utile pour la nav desktop web
+
+
+
Sheets · Popovers · Notifications · Page Controls · Pop-up Buttons · Progress Indicators
+
Structure
+
Composants secondaires, utiles ponctuellement
+
+
+
Text Fields · Toolbars · Empty States · Contextual Menus · Date/Time Pickers
+
Structure
+
Dernières pages identifiées — utiles, hex à extraire
+
+
+
Safe Areas / Margins
+
Non pertinent
+
Spécifique aux apps natives iOS/iPadOS
+
+
+
Product Bezels · System · App Icons · Keyboards · Status/Menu Bars · Windows · Widgets · Face ID
+
Non pertinent
+
Gabarits d'appareils, OS natif, chrome desktop — hors périmètre nApps (web)
+
+
+ +
+
+
Extraction poussée jusqu'à épuisement du 4e compte Figma. Découverte structurante : le kit n'a que deux familles de "verre" — un verre de contrôle (boutons, barres d'outils) et un verre de panneau, plus opaque (Action Sheet, Context Menu, Sheet) — et une échelle complète de fills en trois paliers d'opacité. Détail complet dans figma-kit-audit.md à la racine du dépôt de design.
+
+ +
+
+ + diff --git a/kit-audit/Typography.dc.html b/kit-audit/Typography.dc.html new file mode 100644 index 0000000..38a60fe --- /dev/null +++ b/kit-audit/Typography.dc.html @@ -0,0 +1,78 @@ + + + + + + + + + + + + +
+ +
+
Extraction réelle — Text Styles / Dynamic Type
+

L'échelle typographique complète, taille "Large" (défaut)

+

Dimensions mesurées directement dans le fichier (pas une estimation) — 11 styles, du Large Title au Caption 2. Le kit gère aussi 6 autres crans (xSmall→xxxLarge) et 5 niveaux d'accessibilité (AX1-AX5) pour le Dynamic Type, non détaillés ici.

+
+ +
+
+
Large Title
+
34pt · line-height ~41
+
+
+
Title 1
+
28pt · line-height ~34
+
+
+
Title 2
+
22pt · line-height ~28
+
+
+
Title 3
+
20pt · line-height ~25
+
+
+
Headline
+
17pt · bold · line-height ~22
+
+
+
Body — même taille que Headline, poids différent
+
17pt · regular · line-height ~22
+
+
+
Callout
+
16pt · line-height ~21
+
+
+
Subhead(line)
+
15pt · line-height ~20
+
+
+
Footnote
+
13pt · line-height ~18
+
+
+
Caption 1
+
12pt · line-height ~16
+
+
+
Caption 2
+
11pt · line-height ~13
+
+
+ +
+ Le kit décline aussi chaque style en 4 niveaux de couleur de label (Primary / Secondary / Tertiary / Quaternary) — cohérent avec la hiérarchie par opacité déjà vue sur les vibrancy labels de la page Materials. Cette échelle est celle qu'on a déjà appliquée en A4 (34/22/17/13pt) — confirmée exacte par cette extraction. +
+ +
+
+ + diff --git a/kit-audit/canvas.json b/kit-audit/canvas.json new file mode 100644 index 0000000..d8ccecf --- /dev/null +++ b/kit-audit/canvas.json @@ -0,0 +1,17 @@ +{ + "artboards": [ + { "file": "Main.dc.html", "x": 0, "y": 0, "w": 1100, "h": 1750 }, + { "file": "Colors.dc.html", "x": 1200, "y": 0, "w": 1100, "h": 780 }, + { "file": "Typography.dc.html", "x": 2400, "y": 0, "w": 1100, "h": 900 }, + { "file": "Buttons.dc.html", "x": 3600, "y": 0, "w": 1100, "h": 900 }, + { "file": "Components.dc.html", "x": 4800, "y": 0, "w": 1100, "h": 1350 } + ], + "annotations": [ + { "id": "note-status", "x": 0, "y": -100, "w": 1100, "text": "Vue d'ensemble — 36/36 pages identifiées" }, + { "id": "note-colors", "x": 1200, "y": -100, "w": 1100, "text": "Extraction complète — 20 couleurs, hex exacts" }, + { "id": "note-typo", "x": 2400, "y": -100, "w": 1100, "text": "Extraction complète et fiable" }, + { "id": "note-buttons", "x": 3600, "y": -100, "w": 1100, "text": "4 styles de bouton exacts sur 5" }, + { "id": "note-components", "x": 4800, "y": -100, "w": 1100, "text": "Tokens sémantiques + 6 composants extraits" } + ], + "launch": { "view": "canvas" } +} diff --git a/kit-audit/kit-ios27-inventaire.html b/kit-audit/kit-ios27-inventaire.html new file mode 100644 index 0000000..b389387 --- /dev/null +++ b/kit-audit/kit-ios27-inventaire.html @@ -0,0 +1,11009 @@ + + + + +Kit iOS 27 — Inventaire + + + + + + + +
+ + + + diff --git a/napps-directions.html b/napps-directions.html new file mode 100644 index 0000000..9601ce3 --- /dev/null +++ b/napps-directions.html @@ -0,0 +1,11009 @@ + + + + +nApps — Directions visuelles + + + + + + + +
+ + + + diff --git a/packages/design-system/package-lock.json b/packages/design-system/package-lock.json new file mode 100644 index 0000000..4456d45 --- /dev/null +++ b/packages/design-system/package-lock.json @@ -0,0 +1,1590 @@ +{ + "name": "@napps/design-system", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@napps/design-system", + "version": "0.1.0", + "devDependencies": { + "@types/react": "^18.3.0", + "@types/react-dom": "^18.3.0", + "react": "^18.3.0", + "react-dom": "^18.3.0", + "tsup": "^8.0.0", + "typescript": "^5.5.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", + "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz", + "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", + "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz", + "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", + "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", + "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", + "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", + "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", + "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", + "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", + "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", + "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", + "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", + "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", + "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", + "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", + "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", + "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", + "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", + "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", + "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", + "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", + "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", + "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", + "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", + "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/lzma-linux-x64-gnu": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz", + "integrity": "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^22.20 || ^24.12 || >=25" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.63.3.tgz", + "integrity": "sha512-w3Jnvi1ocaVm/c7yVPpfB98XeSRBMyzp6njL5MVVbGyXjpmUkN+s6Hp4t0PqhGCCaI1ZHMKXt/w0lA1RCaLVcw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.63.3.tgz", + "integrity": "sha512-uI/ESiaIbbRYAEhzy8PCUWDp1hB0bjAqM06mW9flOoNO4Q8DQpeoREhBR5Hegfl+wpXiguyJv6XSPzEN7OxyHQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.63.3.tgz", + "integrity": "sha512-oxhrd1jmXLwWZ83eQYDXxuqRdkqkzrjR3JobKeuUyfdNZo11FuQIvqEOZhyIT7OBHxXoGslDDjN0cQcM6T0TqQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.63.3.tgz", + "integrity": "sha512-7/YiIMghVE8DrxKvNdorAaJVdriOFgOIpdStnPx8ppx5zfTwC3jBCSEAIzB7JD5404m65THl6H93UTTVUvypmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.63.3.tgz", + "integrity": "sha512-GXFZRRoMAytaI5z6N3Zhfw0WL18Q0M8r95D5hlC4GqE/lGk8pbSJNUBoOWDfbm6dTciqHj2nU87tI5f6XhQiOg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.63.3.tgz", + "integrity": "sha512-77W+8X3ddYgPxUpB8nZFQs2Mq+wc4HVlcSRtApXLjYBcnPMkttrSnU8VwKQjeWYhMsITHFs5cWBQ8vz1Q+5RHQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.63.3.tgz", + "integrity": "sha512-FVkwK+iUC+mq+GipVK46rRVticfAPtvPUNlqlGXUDxdVk/UGjQiiiUVPUrEXdSpU2ufU0XxLGyTqDtBidDOVmg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.63.3.tgz", + "integrity": "sha512-+aGU1t3398yQOVj1Bz8o3e+KtswxAPvO+mtxtNdfXYMkXIHu7XhhkCD7/DEH9q8tF8uhDnMWvfpUKI8y1sZJsg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.63.3.tgz", + "integrity": "sha512-cR0kjpRXR2KJ2oQK8E2KTPtphs+b9hZ8IhTZubNryt/RsqgdOZBQ2Zq0q5UedtiIi0rs3jVhJh55RE1ZHUVGUA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.63.3.tgz", + "integrity": "sha512-y1RYi4Q3/9ByVWSSt9kX2ustE0B7kFYbJ6zZdVZVyqopZs3yhCTwRfrjIX4vezUJInma/Gs6BOFDJg7yZmJ0IQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.63.3.tgz", + "integrity": "sha512-DNhEA5viIj3Z5bZLE4z4oV8N5ozWqDwyt7T6KG7VdLDJ0nW+rNOYlphBl4/3HQkK75qipPLsVOfStHHOwN9WSg==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.63.3.tgz", + "integrity": "sha512-17gQCqrIpXBX2Cmi9/TygnVOqGbzsba/iaqcYSL8FY7lNugg+7AiYNs5c5nKWD+NRQha36Sa0CqkJqH4XVHwnQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.63.3.tgz", + "integrity": "sha512-6LwVnZRIyINpdku/yOcI8Tm9YqLmhHK5emmlOOnW9tO0SYEm1FmKPcsSAGp0NBlqR2P04xaND4jvN6sTHqhq8A==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.63.3.tgz", + "integrity": "sha512-xMUqkTXlEUtI/p5AAukMwBRr1enU3efsTeF+bskeFfk8t1C9rcC8sLREcZXmTfAXEbvRdJVSonVJez3TMlbR3w==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.63.3.tgz", + "integrity": "sha512-S3E94co9F9WRRqEaUoQZ38K1gCz6KiM+nL7/3ijq7fDGF3OznjS5TasgYITlvl27GQKtu4lOAOsr5MFwkijvOA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.63.3.tgz", + "integrity": "sha512-1QtRDwG42x5BJI3s9mxu5rEjDnfbSnk20HQ9/ylTAYnSwYwxMVb+Vgu34wzzTQ7ogqBybebgQNUDAvZVQ38DbA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.63.3.tgz", + "integrity": "sha512-BQhejF6ZXOpxbngiNTP12GCGQeaDVL2QXGeBVViKIYzFHM5RKxTxwUMB1fr1BeNFphFMpnRqC5QSXFSa4z6UQw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.63.3.tgz", + "integrity": "sha512-SXagRwnI2Wlwlitllu59UK/nGVbD1CKPcNqDplHwIC4BqJcpXFjD32d1R/RbuISa95HdQrZM3/7v4bKiowFaLA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.63.3.tgz", + "integrity": "sha512-2IPozoEALRCziGqE8O9KMK60PMu5TS1huv4fwoeCexj+WjmcwFtX9CTOVbfXCUqcELAubEwRFPYlzb/WvwY2HQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.63.3.tgz", + "integrity": "sha512-AoxqosUHT9IX54hFn2TiN6A7d6ZKTtE6pd2bqWtqkkNJ6HJGaU6FRouGX8L1O7R/ZwsnCnpQrHzb4pDEx+UHRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.63.3.tgz", + "integrity": "sha512-d+CaftKgmkFBzCwezMqqy1d0QNNYugqLCMcYVQWBy5SS2YfeMP8Q8ripkgx9O8IyBXXLHrJ+aaCV4U96usv6Yg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.63.3.tgz", + "integrity": "sha512-xXlDF6nR1eOuXbdDy5Hl5fmtY7teUDevF/k0O7IPoZe4Tpmdv+lgdE5JRsnhQtt37ql9P0VF2kAN9a0OCZdo+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.63.3.tgz", + "integrity": "sha512-YtXAgLN+JP7Ay6qG3eWhc7IHMQPzLc8r3uvhAvlJIoCz/4Q32+Bl9Fmnywidh8v1GOIMmymjovfqY9ETAtysvA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.63.3.tgz", + "integrity": "sha512-WuWtSJRNo549vzcfZyEgfqb6zeSgn1F+UE5kQ+BCjzz0W4MGCjntUHkZVc1VRuAM7+ULaSyhiPxD1spyewFvkQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.63.3.tgz", + "integrity": "sha512-+lIKX7O0+IGe7WuhATaAMMeT7B76vfhXH/l9wLQL+nvyhbw2ohYCKIdWL56JfDu75CWt5oKRP4QFH/jkMtBquA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/prop-types": { + "version": "15.7.15", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", + "integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "18.3.31", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.31.tgz", + "integrity": "sha512-vfEqpXTvwT91yhmwdfouStN2hSKwTvyRs8qpLfADyrq/kxDw0hZM7Wk9Ug1FELj8hIby+S/+kQCSRFF32nv2Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "18.3.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz", + "integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^18.0.0" + } + }, + "node_modules/acorn": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/any-promise": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", + "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", + "dev": true, + "license": "MIT" + }, + "node_modules/bundle-require": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz", + "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "load-tsconfig": "^0.2.3" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "peerDependencies": { + "esbuild": ">=0.18" + } + }, + "node_modules/cac": { + "version": "6.7.14", + "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", + "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/chokidar": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/commander": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", + "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/confbox": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/consola": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.10.0" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/esbuild": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz", + "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.27.7", + "@esbuild/android-arm": "0.27.7", + "@esbuild/android-arm64": "0.27.7", + "@esbuild/android-x64": "0.27.7", + "@esbuild/darwin-arm64": "0.27.7", + "@esbuild/darwin-x64": "0.27.7", + "@esbuild/freebsd-arm64": "0.27.7", + "@esbuild/freebsd-x64": "0.27.7", + "@esbuild/linux-arm": "0.27.7", + "@esbuild/linux-arm64": "0.27.7", + "@esbuild/linux-ia32": "0.27.7", + "@esbuild/linux-loong64": "0.27.7", + "@esbuild/linux-mips64el": "0.27.7", + "@esbuild/linux-ppc64": "0.27.7", + "@esbuild/linux-riscv64": "0.27.7", + "@esbuild/linux-s390x": "0.27.7", + "@esbuild/linux-x64": "0.27.7", + "@esbuild/netbsd-arm64": "0.27.7", + "@esbuild/netbsd-x64": "0.27.7", + "@esbuild/openbsd-arm64": "0.27.7", + "@esbuild/openbsd-x64": "0.27.7", + "@esbuild/openharmony-arm64": "0.27.7", + "@esbuild/sunos-x64": "0.27.7", + "@esbuild/win32-arm64": "0.27.7", + "@esbuild/win32-ia32": "0.27.7", + "@esbuild/win32-x64": "0.27.7" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/fix-dts-default-cjs-exports": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz", + "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "rollup": "^4.34.8" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/joycon": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz", + "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lilconfig": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/load-tsconfig": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz", + "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, + "node_modules/mlly": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz", + "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.16.0", + "pathe": "^2.0.3", + "pkg-types": "^1.3.1", + "ufo": "^1.6.3" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/mz": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", + "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0", + "object-assign": "^4.0.1", + "thenify-all": "^1.0.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-types": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", + "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "confbox": "^0.1.8", + "mlly": "^1.7.4", + "pathe": "^2.0.1" + } + }, + "node_modules/postcss-load-config": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", + "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "lilconfig": "^3.1.1" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "jiti": ">=1.21.0", + "postcss": ">=8.0.9", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + }, + "postcss": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + }, + "peerDependencies": { + "react": "^18.3.1" + } + }, + "node_modules/readdirp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/rollup": { + "version": "4.63.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.63.3.tgz", + "integrity": "sha512-1i2XreiAoMMXuPGD6Msj2xWrMMkHojNRKivInxGQcg7/1KuPuYlfUutLyh4drnOxUTHX9cHI4wFoat8D/NKaBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.9" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@napi-rs/lzma-linux-x64-gnu": "1.5.1", + "@rollup/rollup-android-arm-eabi": "4.63.3", + "@rollup/rollup-android-arm64": "4.63.3", + "@rollup/rollup-darwin-arm64": "4.63.3", + "@rollup/rollup-darwin-x64": "4.63.3", + "@rollup/rollup-freebsd-arm64": "4.63.3", + "@rollup/rollup-freebsd-x64": "4.63.3", + "@rollup/rollup-linux-arm-gnueabihf": "4.63.3", + "@rollup/rollup-linux-arm-musleabihf": "4.63.3", + "@rollup/rollup-linux-arm64-gnu": "4.63.3", + "@rollup/rollup-linux-arm64-musl": "4.63.3", + "@rollup/rollup-linux-loong64-gnu": "4.63.3", + "@rollup/rollup-linux-loong64-musl": "4.63.3", + "@rollup/rollup-linux-ppc64-gnu": "4.63.3", + "@rollup/rollup-linux-ppc64-musl": "4.63.3", + "@rollup/rollup-linux-riscv64-gnu": "4.63.3", + "@rollup/rollup-linux-riscv64-musl": "4.63.3", + "@rollup/rollup-linux-s390x-gnu": "4.63.3", + "@rollup/rollup-linux-x64-gnu": "4.63.3", + "@rollup/rollup-linux-x64-musl": "4.63.3", + "@rollup/rollup-openbsd-x64": "4.63.3", + "@rollup/rollup-openharmony-arm64": "4.63.3", + "@rollup/rollup-win32-arm64-msvc": "4.63.3", + "@rollup/rollup-win32-ia32-msvc": "4.63.3", + "@rollup/rollup-win32-x64-gnu": "4.63.3", + "@rollup/rollup-win32-x64-msvc": "4.63.3", + "fsevents": "~2.3.2" + } + }, + "node_modules/scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.1.0" + } + }, + "node_modules/source-map": { + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">= 12" + } + }, + "node_modules/sucrase": { + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", + "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.2", + "commander": "^4.0.0", + "lines-and-columns": "^1.1.6", + "mz": "^2.7.0", + "pirates": "^4.0.1", + "tinyglobby": "^0.2.11", + "ts-interface-checker": "^0.1.9" + }, + "bin": { + "sucrase": "bin/sucrase", + "sucrase-node": "bin/sucrase-node" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/thenify": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "any-promise": "^1.0.0" + } + }, + "node_modules/thenify-all": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", + "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "thenify": ">= 3.1.0 < 4" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tinyexec": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tree-kill": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", + "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", + "dev": true, + "license": "MIT", + "bin": { + "tree-kill": "cli.js" + } + }, + "node_modules/ts-interface-checker": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", + "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/tsup": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz", + "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-require": "^5.1.0", + "cac": "^6.7.14", + "chokidar": "^4.0.3", + "consola": "^3.4.0", + "debug": "^4.4.0", + "esbuild": "^0.27.0", + "fix-dts-default-cjs-exports": "^1.0.0", + "joycon": "^3.1.1", + "picocolors": "^1.1.1", + "postcss-load-config": "^6.0.1", + "resolve-from": "^5.0.0", + "rollup": "^4.34.8", + "source-map": "^0.7.6", + "sucrase": "^3.35.0", + "tinyexec": "^0.3.2", + "tinyglobby": "^0.2.11", + "tree-kill": "^1.2.2" + }, + "bin": { + "tsup": "dist/cli-default.js", + "tsup-node": "dist/cli-node.js" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@microsoft/api-extractor": "^7.36.0", + "@swc/core": "^1", + "postcss": "^8.4.12", + "typescript": ">=4.5.0" + }, + "peerDependenciesMeta": { + "@microsoft/api-extractor": { + "optional": true + }, + "@swc/core": { + "optional": true + }, + "postcss": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/ufo": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz", + "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==", + "dev": true, + "license": "MIT" + } + } +} diff --git a/packages/design-system/package.json b/packages/design-system/package.json new file mode 100644 index 0000000..3352092 --- /dev/null +++ b/packages/design-system/package.json @@ -0,0 +1,42 @@ +{ + "name": "@napps/design-system", + "version": "0.1.0", + "private": false, + "description": "Identité visuelle et bibliothèque de composants nApps — direction A4 (Précision / Vibrance)", + "type": "module", + "main": "./dist/index.cjs", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", + "style": "./dist/index.css", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.cjs" + }, + "./tokens.css": "./dist/index.css" + }, + "files": [ + "dist" + ], + "sideEffects": [ + "**/*.css" + ], + "scripts": { + "build": "tsup", + "dev": "tsup --watch", + "typecheck": "tsc --noEmit" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + }, + "devDependencies": { + "@types/react": "^18.3.0", + "@types/react-dom": "^18.3.0", + "react": "^18.3.0", + "react-dom": "^18.3.0", + "tsup": "^8.0.0", + "typescript": "^5.5.0" + } +} diff --git a/packages/design-system/src/components/Button.tsx b/packages/design-system/src/components/Button.tsx new file mode 100644 index 0000000..d91de11 --- /dev/null +++ b/packages/design-system/src/components/Button.tsx @@ -0,0 +1,22 @@ +import { ButtonHTMLAttributes, forwardRef } from 'react'; + +export type ButtonVariant = 'primary' | 'secondary'; + +export interface ButtonProps extends ButtonHTMLAttributes { + variant?: ButtonVariant; +} + +export const Button = forwardRef( + ({ variant = 'primary', className, ...props }, ref) => { + const variantClass = variant === 'primary' ? 'btn-primary' : 'btn-secondary'; + return ( + + ); +} diff --git a/packages/design-system/src/index.ts b/packages/design-system/src/index.ts new file mode 100644 index 0000000..a5d7e99 --- /dev/null +++ b/packages/design-system/src/index.ts @@ -0,0 +1,25 @@ +import './tokens.css'; + +export { Button } from './components/Button'; +export type { ButtonProps, ButtonVariant } from './components/Button'; + +export { SegmentedControl } from './components/SegmentedControl'; +export type { SegmentedControlProps, SegmentedControlOption } from './components/SegmentedControl'; + +export { Toggle } from './components/Toggle'; +export type { ToggleProps } from './components/Toggle'; + +export { TextField } from './components/TextField'; +export type { TextFieldProps } from './components/TextField'; + +export { ListRow } from './components/ListRow'; +export type { ListRowProps } from './components/ListRow'; + +export { IconBadge } from './components/IconBadge'; +export type { IconBadgeProps } from './components/IconBadge'; + +export { Text } from './components/Text'; +export type { TextProps, TextVariant, TextColor } from './components/Text'; + +export { Surface } from './components/Surface'; +export type { SurfaceProps, SurfaceLevel, MaterialVariant } from './components/Surface'; diff --git a/packages/design-system/src/tokens.css b/packages/design-system/src/tokens.css new file mode 100644 index 0000000..a0ad38a --- /dev/null +++ b/packages/design-system/src/tokens.css @@ -0,0 +1,261 @@ +/* + nApps — Design Tokens (v1) + Direction retenue : A4 — Précision / Vibrance + Source : audit du kit Figma "iOS and iPadOS 27 (Community)" — voir figma-kit-audit.md + Principe : les MÉCANIQUES (hiérarchie par opacité, échelle de fills, deux familles de + matière) sont reprises du vrai système Apple. Les VALEURS de marque (accent, typographie, + rayons) restent propres à nApps — jamais de copie de SF Pro / SF Symbols / bleu système. +*/ + +:root { + /* ===== Accent — propre à nApps, jamais le bleu système Apple (#0088FF) ===== */ + --napps-accent: #0B6CFF; + --napps-success: #1FA968; + --napps-warning: #D68C1B; + --napps-error: #E6483D; + + /* ===== Labels — hiérarchie par OPACITÉ du noir, pas par des gris séparés ===== + Découverte de l'audit : Apple encode primary/secondary/tertiary en assombrissant + un seul noir, jamais avec une palette de gris. Un token qui s'adapte à n'importe + quel fond au lieu d'une variante par contexte. */ + --label-primary: rgba(0, 0, 0, 1); + --label-secondary: rgba(0, 0, 0, 0.6); + --label-tertiary: rgba(0, 0, 0, 0.3); + --label-quaternary: rgba(0, 0, 0, 0.18); + + /* ===== Fills — fonds de contrôle translucides, 3 paliers d'opacité ===== + primary > secondary > tertiary : plus une surface est "au premier plan" + (un bouton qu'on presse), plus l'opacité est haute. */ + --fill-primary: rgba(0, 0, 0, 0.2); + --fill-secondary: rgba(0, 0, 0, 0.16); + --fill-tertiary: rgba(0, 0, 0, 0.12); + + --separator: rgba(0, 0, 0, 0.1); + + /* ===== Surfaces — hiérarchie de fond par couleur, PAS par ombre ===== + page → groupée → imbriquée. Jamais d'ombre pour distinguer les niveaux. */ + --bg-page: #F5F6F9; + --bg-grouped: #FFFFFF; + --bg-nested: #EDEFF3; + + /* ===== Rayons ===== */ + --radius-pill: 999px; + --radius-card: 16px; + --radius-card-lg: 20px; + --radius-sheet-top: 24px; + --radius-sheet-bottom: 32px; + + /* ===== Cible tactile minimale ===== */ + --tap-target-min: 44px; + + /* ===== Typographie — échelle réelle (points Apple), police nApps (Manrope) ===== + Taille/graisse/interligne/tracking vérifiés sur le kit — la hiérarchie se fait + autant par le POIDS que par la taille (Headline et Body partagent 17pt). */ + --font-family: 'Manrope', sans-serif; + + --text-large-title-size: 34px; --text-large-title-line: 41px; --text-large-title-weight: 800; --text-large-title-tracking: -0.02em; + --text-title1-size: 28px; --text-title1-line: 34px; --text-title1-weight: 700; + --text-title2-size: 22px; --text-title2-line: 28px; --text-title2-weight: 700; + --text-title3-size: 20px; --text-title3-line: 25px; --text-title3-weight: 600; + --text-headline-size: 17px; --text-headline-line: 22px; --text-headline-weight: 700; --text-headline-tracking: -0.43px; + --text-body-size: 17px; --text-body-line: 22px; --text-body-weight: 400; --text-body-tracking: -0.43px; + --text-callout-size: 16px; --text-callout-line: 21px; --text-callout-weight: 400; + --text-subheadline-size: 15px; --text-subheadline-line: 20px; --text-subheadline-weight: 400; + --text-footnote-size: 13px; --text-footnote-line: 18px; --text-footnote-weight: 400; + --text-caption1-size: 12px; --text-caption1-line: 16px; --text-caption1-weight: 400; + --text-caption2-size: 11px; --text-caption2-line: 13px; --text-caption2-weight: 400; +} + +/* ============================================================ + DARK MODE — les tokens ne sont jamais une simple inversion. + Découverte de l'audit : fills/secondary passe de 16% à 32% en + dark (pas juste "même valeur sur fond sombre") ; les surfaces + s'ÉCLAIRCISSENT en montant (page < groupée < imbriquée), à + l'inverse du light. Chaque token dark est vérifié, pas déduit. + ============================================================ */ +:root[data-theme="dark"] { + --napps-accent: #4C93FF; + --napps-success: #43C283; + --napps-warning: #E8AC52; + --napps-error: #F17B70; + + --label-primary: rgba(255, 255, 255, 1); + --label-secondary: rgba(255, 255, 255, 0.6); + --label-tertiary: rgba(255, 255, 255, 0.3); + --label-quaternary: rgba(255, 255, 255, 0.18); + + --fill-primary: rgba(255, 255, 255, 0.24); + --fill-secondary: rgba(255, 255, 255, 0.32); + --fill-tertiary: rgba(255, 255, 255, 0.16); + + --separator: rgba(255, 255, 255, 0.12); + + --bg-page: #15171C; + --bg-grouped: #1D1F26; + --bg-nested: #262930; +} + +/* ============================================================ + MATÉRIAUX — DEUX familles seulement (pas une par composant) : + 1. "control" — bouton flottant, barre d'outils, capsule isolée + 2. "panel" — grande surface de dialogue (feuille, menu contextuel) + ============================================================ */ +.material-control { + background: rgba(255, 255, 255, 0.55); + backdrop-filter: blur(46px) saturate(1.6); + -webkit-backdrop-filter: blur(46px) saturate(1.6); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.6), + inset 0 -1px 0 rgba(0, 0, 0, 0.04), + 0 8px 15px rgba(0, 0, 0, 0.02); +} +:root[data-theme="dark"] .material-control { + background: rgba(38, 41, 48, 0.5); + backdrop-filter: blur(46px) saturate(1.4); + -webkit-backdrop-filter: blur(46px) saturate(1.4); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.06), + inset 0 -1px 0 rgba(0, 0, 0, 0.3), + 0 8px 15px rgba(0, 0, 0, 0.35); +} + +.material-panel { + background: rgba(255, 255, 255, 0.85); + backdrop-filter: blur(30px); + -webkit-backdrop-filter: blur(30px); + box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25); +} +:root[data-theme="dark"] .material-panel { + background: rgba(20, 20, 20, 0.85); + backdrop-filter: blur(30px); + -webkit-backdrop-filter: blur(30px); + box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5); +} + +/* ============================================================ + COMPOSANTS de référence — construits uniquement à partir des + tokens ci-dessus. Aucune valeur ad hoc. + ============================================================ */ + +/* Bouton primaire (= Bordered-Prominent d'Apple) */ +.btn-primary { + background: var(--napps-accent); + color: #FFFFFF; + border: none; + border-radius: var(--radius-pill); + min-height: var(--tap-target-min); + padding: 0 22px; + font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); + letter-spacing: var(--text-body-tracking); +} + +/* Bouton secondaire discret (= Bordered d'Apple — PAS un contour) */ +.btn-secondary { + background: var(--fill-tertiary); + color: var(--napps-accent); + border: none; + border-radius: var(--radius-pill); + min-height: var(--tap-target-min); + padding: 0 22px; + font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); + letter-spacing: var(--text-body-tracking); +} + +/* Segmented control */ +.segmented-control { + display: inline-flex; + background: var(--fill-tertiary); + border-radius: var(--radius-pill); + padding: 2px; + gap: 2px; +} +.segmented-control__item { + padding: 3px 12px; + border-radius: var(--radius-pill); + font-size: 13.3px; + font-weight: 510; + color: var(--label-primary); + min-height: 28px; + display: flex; + align-items: center; +} +.segmented-control__item--selected { + background: var(--bg-grouped); + font-weight: 600; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); +} + +/* Toggle */ +.toggle { + width: 64px; + height: 28px; + border-radius: var(--radius-pill); + background: var(--label-tertiary); + position: relative; +} +.toggle--on { background: var(--napps-success); } +.toggle__knob { + width: 24px; height: 24px; + border-radius: var(--radius-pill); + background: #FFFFFF; + position: absolute; top: 2px; left: 2px; +} +.toggle--on .toggle__knob { left: auto; right: 2px; } + +/* List row */ +.list-row { + border-top: 1px solid var(--separator); + padding: 0 16px; + min-height: 52px; + display: flex; align-items: center; +} +.list-row__title { font-size: var(--text-body-size); color: var(--label-primary); } +.list-row__subtitle { font-size: var(--text-subheadline-size); color: var(--label-secondary); } + +/* Text field */ +.text-field { + border-top: 1px solid var(--separator); + padding: 16px; + min-height: 52px; +} +.text-field--placeholder { color: var(--label-tertiary); } +.text-field__cursor { width: 2px; height: 22px; border-radius: 10px; background: var(--napps-accent); } + +/* Empty state — badge circulaire réutilisable (Activity View + Empty State du kit) */ +.icon-badge { + width: 50px; height: 50px; + border-radius: var(--radius-pill); + display: flex; align-items: center; justify-content: center; +} +.icon-badge--neutral { background: var(--fill-tertiary); color: var(--label-primary); } +.icon-badge--accent { background: color-mix(in srgb, var(--napps-accent) 15%, transparent); color: var(--napps-accent); } + +/* ============================================================ + SURFACES — hiérarchie de fond, jamais d'ombre pour distinguer + les niveaux (voir "Couches de couleur" dans les planches A4). + ============================================================ */ +.surface-page { background: var(--bg-page); } +.surface-grouped { background: var(--bg-grouped); border-radius: var(--radius-card); } +.surface-nested { background: var(--bg-nested); border-radius: calc(var(--radius-card) - 4px); } + +/* ============================================================ + TYPOGRAPHIE — une classe par échelon. La hiérarchie se lit + dans le POIDS autant que dans la taille (headline == body en + taille, 17px, seul le poids change). + ============================================================ */ +.text-large-title { font: var(--text-large-title-weight) var(--text-large-title-size)/var(--text-large-title-line) var(--font-family); letter-spacing: var(--text-large-title-tracking); margin: 0; } +.text-title1 { font: var(--text-title1-weight) var(--text-title1-size)/var(--text-title1-line) var(--font-family); margin: 0; } +.text-title2 { font: var(--text-title2-weight) var(--text-title2-size)/var(--text-title2-line) var(--font-family); margin: 0; } +.text-title3 { font: var(--text-title3-weight) var(--text-title3-size)/var(--text-title3-line) var(--font-family); margin: 0; } +.text-headline { font: var(--text-headline-weight) var(--text-headline-size)/var(--text-headline-line) var(--font-family); letter-spacing: var(--text-headline-tracking); margin: 0; } +.text-body { font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); letter-spacing: var(--text-body-tracking); margin: 0; } +.text-callout { font: var(--text-callout-weight) var(--text-callout-size)/var(--text-callout-line) var(--font-family); margin: 0; } +.text-subheadline { font: var(--text-subheadline-weight) var(--text-subheadline-size)/var(--text-subheadline-line) var(--font-family); margin: 0; } +.text-footnote { font: var(--text-footnote-weight) var(--text-footnote-size)/var(--text-footnote-line) var(--font-family); margin: 0; } +.text-caption1 { font: var(--text-caption1-weight) var(--text-caption1-size)/var(--text-caption1-line) var(--font-family); margin: 0; } +.text-caption2 { font: var(--text-caption2-weight) var(--text-caption2-size)/var(--text-caption2-line) var(--font-family); margin: 0; } + +.text-primary { color: var(--label-primary); } +.text-secondary { color: var(--label-secondary); } +.text-tertiary { color: var(--label-tertiary); } +.text-quaternary { color: var(--label-quaternary); } diff --git a/packages/design-system/tsconfig.json b/packages/design-system/tsconfig.json new file mode 100644 index 0000000..ff1d2b0 --- /dev/null +++ b/packages/design-system/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["ES2020", "DOM"], + "jsx": "react-jsx", + "module": "ESNext", + "moduleResolution": "Bundler", + "declaration": true, + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "outDir": "dist" + }, + "include": ["src"] +} diff --git a/packages/design-system/tsup.config.ts b/packages/design-system/tsup.config.ts new file mode 100644 index 0000000..d5494dd --- /dev/null +++ b/packages/design-system/tsup.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from 'tsup'; + +export default defineConfig({ + entry: ['src/index.ts'], + format: ['esm', 'cjs'], + dts: true, + splitting: false, + sourcemap: true, + clean: true, + external: ['react', 'react-dom'], + injectStyle: false, +}); diff --git a/tokens.css b/tokens.css new file mode 100644 index 0000000..a0ad38a --- /dev/null +++ b/tokens.css @@ -0,0 +1,261 @@ +/* + nApps — Design Tokens (v1) + Direction retenue : A4 — Précision / Vibrance + Source : audit du kit Figma "iOS and iPadOS 27 (Community)" — voir figma-kit-audit.md + Principe : les MÉCANIQUES (hiérarchie par opacité, échelle de fills, deux familles de + matière) sont reprises du vrai système Apple. Les VALEURS de marque (accent, typographie, + rayons) restent propres à nApps — jamais de copie de SF Pro / SF Symbols / bleu système. +*/ + +:root { + /* ===== Accent — propre à nApps, jamais le bleu système Apple (#0088FF) ===== */ + --napps-accent: #0B6CFF; + --napps-success: #1FA968; + --napps-warning: #D68C1B; + --napps-error: #E6483D; + + /* ===== Labels — hiérarchie par OPACITÉ du noir, pas par des gris séparés ===== + Découverte de l'audit : Apple encode primary/secondary/tertiary en assombrissant + un seul noir, jamais avec une palette de gris. Un token qui s'adapte à n'importe + quel fond au lieu d'une variante par contexte. */ + --label-primary: rgba(0, 0, 0, 1); + --label-secondary: rgba(0, 0, 0, 0.6); + --label-tertiary: rgba(0, 0, 0, 0.3); + --label-quaternary: rgba(0, 0, 0, 0.18); + + /* ===== Fills — fonds de contrôle translucides, 3 paliers d'opacité ===== + primary > secondary > tertiary : plus une surface est "au premier plan" + (un bouton qu'on presse), plus l'opacité est haute. */ + --fill-primary: rgba(0, 0, 0, 0.2); + --fill-secondary: rgba(0, 0, 0, 0.16); + --fill-tertiary: rgba(0, 0, 0, 0.12); + + --separator: rgba(0, 0, 0, 0.1); + + /* ===== Surfaces — hiérarchie de fond par couleur, PAS par ombre ===== + page → groupée → imbriquée. Jamais d'ombre pour distinguer les niveaux. */ + --bg-page: #F5F6F9; + --bg-grouped: #FFFFFF; + --bg-nested: #EDEFF3; + + /* ===== Rayons ===== */ + --radius-pill: 999px; + --radius-card: 16px; + --radius-card-lg: 20px; + --radius-sheet-top: 24px; + --radius-sheet-bottom: 32px; + + /* ===== Cible tactile minimale ===== */ + --tap-target-min: 44px; + + /* ===== Typographie — échelle réelle (points Apple), police nApps (Manrope) ===== + Taille/graisse/interligne/tracking vérifiés sur le kit — la hiérarchie se fait + autant par le POIDS que par la taille (Headline et Body partagent 17pt). */ + --font-family: 'Manrope', sans-serif; + + --text-large-title-size: 34px; --text-large-title-line: 41px; --text-large-title-weight: 800; --text-large-title-tracking: -0.02em; + --text-title1-size: 28px; --text-title1-line: 34px; --text-title1-weight: 700; + --text-title2-size: 22px; --text-title2-line: 28px; --text-title2-weight: 700; + --text-title3-size: 20px; --text-title3-line: 25px; --text-title3-weight: 600; + --text-headline-size: 17px; --text-headline-line: 22px; --text-headline-weight: 700; --text-headline-tracking: -0.43px; + --text-body-size: 17px; --text-body-line: 22px; --text-body-weight: 400; --text-body-tracking: -0.43px; + --text-callout-size: 16px; --text-callout-line: 21px; --text-callout-weight: 400; + --text-subheadline-size: 15px; --text-subheadline-line: 20px; --text-subheadline-weight: 400; + --text-footnote-size: 13px; --text-footnote-line: 18px; --text-footnote-weight: 400; + --text-caption1-size: 12px; --text-caption1-line: 16px; --text-caption1-weight: 400; + --text-caption2-size: 11px; --text-caption2-line: 13px; --text-caption2-weight: 400; +} + +/* ============================================================ + DARK MODE — les tokens ne sont jamais une simple inversion. + Découverte de l'audit : fills/secondary passe de 16% à 32% en + dark (pas juste "même valeur sur fond sombre") ; les surfaces + s'ÉCLAIRCISSENT en montant (page < groupée < imbriquée), à + l'inverse du light. Chaque token dark est vérifié, pas déduit. + ============================================================ */ +:root[data-theme="dark"] { + --napps-accent: #4C93FF; + --napps-success: #43C283; + --napps-warning: #E8AC52; + --napps-error: #F17B70; + + --label-primary: rgba(255, 255, 255, 1); + --label-secondary: rgba(255, 255, 255, 0.6); + --label-tertiary: rgba(255, 255, 255, 0.3); + --label-quaternary: rgba(255, 255, 255, 0.18); + + --fill-primary: rgba(255, 255, 255, 0.24); + --fill-secondary: rgba(255, 255, 255, 0.32); + --fill-tertiary: rgba(255, 255, 255, 0.16); + + --separator: rgba(255, 255, 255, 0.12); + + --bg-page: #15171C; + --bg-grouped: #1D1F26; + --bg-nested: #262930; +} + +/* ============================================================ + MATÉRIAUX — DEUX familles seulement (pas une par composant) : + 1. "control" — bouton flottant, barre d'outils, capsule isolée + 2. "panel" — grande surface de dialogue (feuille, menu contextuel) + ============================================================ */ +.material-control { + background: rgba(255, 255, 255, 0.55); + backdrop-filter: blur(46px) saturate(1.6); + -webkit-backdrop-filter: blur(46px) saturate(1.6); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.6), + inset 0 -1px 0 rgba(0, 0, 0, 0.04), + 0 8px 15px rgba(0, 0, 0, 0.02); +} +:root[data-theme="dark"] .material-control { + background: rgba(38, 41, 48, 0.5); + backdrop-filter: blur(46px) saturate(1.4); + -webkit-backdrop-filter: blur(46px) saturate(1.4); + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.06), + inset 0 -1px 0 rgba(0, 0, 0, 0.3), + 0 8px 15px rgba(0, 0, 0, 0.35); +} + +.material-panel { + background: rgba(255, 255, 255, 0.85); + backdrop-filter: blur(30px); + -webkit-backdrop-filter: blur(30px); + box-shadow: 0 8px 48px rgba(0, 0, 0, 0.25); +} +:root[data-theme="dark"] .material-panel { + background: rgba(20, 20, 20, 0.85); + backdrop-filter: blur(30px); + -webkit-backdrop-filter: blur(30px); + box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5); +} + +/* ============================================================ + COMPOSANTS de référence — construits uniquement à partir des + tokens ci-dessus. Aucune valeur ad hoc. + ============================================================ */ + +/* Bouton primaire (= Bordered-Prominent d'Apple) */ +.btn-primary { + background: var(--napps-accent); + color: #FFFFFF; + border: none; + border-radius: var(--radius-pill); + min-height: var(--tap-target-min); + padding: 0 22px; + font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); + letter-spacing: var(--text-body-tracking); +} + +/* Bouton secondaire discret (= Bordered d'Apple — PAS un contour) */ +.btn-secondary { + background: var(--fill-tertiary); + color: var(--napps-accent); + border: none; + border-radius: var(--radius-pill); + min-height: var(--tap-target-min); + padding: 0 22px; + font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); + letter-spacing: var(--text-body-tracking); +} + +/* Segmented control */ +.segmented-control { + display: inline-flex; + background: var(--fill-tertiary); + border-radius: var(--radius-pill); + padding: 2px; + gap: 2px; +} +.segmented-control__item { + padding: 3px 12px; + border-radius: var(--radius-pill); + font-size: 13.3px; + font-weight: 510; + color: var(--label-primary); + min-height: 28px; + display: flex; + align-items: center; +} +.segmented-control__item--selected { + background: var(--bg-grouped); + font-weight: 600; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); +} + +/* Toggle */ +.toggle { + width: 64px; + height: 28px; + border-radius: var(--radius-pill); + background: var(--label-tertiary); + position: relative; +} +.toggle--on { background: var(--napps-success); } +.toggle__knob { + width: 24px; height: 24px; + border-radius: var(--radius-pill); + background: #FFFFFF; + position: absolute; top: 2px; left: 2px; +} +.toggle--on .toggle__knob { left: auto; right: 2px; } + +/* List row */ +.list-row { + border-top: 1px solid var(--separator); + padding: 0 16px; + min-height: 52px; + display: flex; align-items: center; +} +.list-row__title { font-size: var(--text-body-size); color: var(--label-primary); } +.list-row__subtitle { font-size: var(--text-subheadline-size); color: var(--label-secondary); } + +/* Text field */ +.text-field { + border-top: 1px solid var(--separator); + padding: 16px; + min-height: 52px; +} +.text-field--placeholder { color: var(--label-tertiary); } +.text-field__cursor { width: 2px; height: 22px; border-radius: 10px; background: var(--napps-accent); } + +/* Empty state — badge circulaire réutilisable (Activity View + Empty State du kit) */ +.icon-badge { + width: 50px; height: 50px; + border-radius: var(--radius-pill); + display: flex; align-items: center; justify-content: center; +} +.icon-badge--neutral { background: var(--fill-tertiary); color: var(--label-primary); } +.icon-badge--accent { background: color-mix(in srgb, var(--napps-accent) 15%, transparent); color: var(--napps-accent); } + +/* ============================================================ + SURFACES — hiérarchie de fond, jamais d'ombre pour distinguer + les niveaux (voir "Couches de couleur" dans les planches A4). + ============================================================ */ +.surface-page { background: var(--bg-page); } +.surface-grouped { background: var(--bg-grouped); border-radius: var(--radius-card); } +.surface-nested { background: var(--bg-nested); border-radius: calc(var(--radius-card) - 4px); } + +/* ============================================================ + TYPOGRAPHIE — une classe par échelon. La hiérarchie se lit + dans le POIDS autant que dans la taille (headline == body en + taille, 17px, seul le poids change). + ============================================================ */ +.text-large-title { font: var(--text-large-title-weight) var(--text-large-title-size)/var(--text-large-title-line) var(--font-family); letter-spacing: var(--text-large-title-tracking); margin: 0; } +.text-title1 { font: var(--text-title1-weight) var(--text-title1-size)/var(--text-title1-line) var(--font-family); margin: 0; } +.text-title2 { font: var(--text-title2-weight) var(--text-title2-size)/var(--text-title2-line) var(--font-family); margin: 0; } +.text-title3 { font: var(--text-title3-weight) var(--text-title3-size)/var(--text-title3-line) var(--font-family); margin: 0; } +.text-headline { font: var(--text-headline-weight) var(--text-headline-size)/var(--text-headline-line) var(--font-family); letter-spacing: var(--text-headline-tracking); margin: 0; } +.text-body { font: var(--text-body-weight) var(--text-body-size)/var(--text-body-line) var(--font-family); letter-spacing: var(--text-body-tracking); margin: 0; } +.text-callout { font: var(--text-callout-weight) var(--text-callout-size)/var(--text-callout-line) var(--font-family); margin: 0; } +.text-subheadline { font: var(--text-subheadline-weight) var(--text-subheadline-size)/var(--text-subheadline-line) var(--font-family); margin: 0; } +.text-footnote { font: var(--text-footnote-weight) var(--text-footnote-size)/var(--text-footnote-line) var(--font-family); margin: 0; } +.text-caption1 { font: var(--text-caption1-weight) var(--text-caption1-size)/var(--text-caption1-line) var(--font-family); margin: 0; } +.text-caption2 { font: var(--text-caption2-weight) var(--text-caption2-size)/var(--text-caption2-line) var(--font-family); margin: 0; } + +.text-primary { color: var(--label-primary); } +.text-secondary { color: var(--label-secondary); } +.text-tertiary { color: var(--label-tertiary); } +.text-quaternary { color: var(--label-quaternary); }