@cityway/basic-ui 1.1.0-beta024 → 1.1.0-beta026

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ Quand l'utilisateur demande de construire/modifier une UI (par prompt **ou** à
20
20
 
21
21
  ## 1. Architecture & dépendances (rappel)
22
22
 
23
- - `@cityway/design-tokens` (SCSS, fondations `--cw-*`) ← `@cityway/basic-ui` (composants transverses) ← `@cityway/bo-ui` (composants Back-Office).
23
+ - `@cityway/design-tokens` (SCSS, fondations `--cw-*`) ← `@cityway/basic-ui` (composants transverses) ← `@cityway/bo-ui` (composants Back-Office) / `@cityway/mobility-ui` (cartographie Leaflet).
24
24
  - Angular **20** (standalone components partout). `@angular/cdk` 20.
25
25
  - Détails build/publish & installation : voir `00-overview.md`.
26
26
 
@@ -32,6 +32,8 @@ Quand l'utilisateur demande de construire/modifier une UI (par prompt **ou** à
32
32
 
33
33
  **bo-ui :** table, pagination, filter-bar, page-header, custom-list, progress-bar, import-wizard, wizard-stepper, drag-n-drop-list, drag-n-drop-nested-list.
34
34
 
35
+ **mobility-ui :** map (`cw-map` et ses pictos), line-badge.
36
+
35
37
  > Fiche détaillée par composant dans `components/`. Tous les composants ci-dessus sont documentés.
36
38
 
37
39
  ---
@@ -41,7 +43,7 @@ Quand l'utilisateur demande de construire/modifier une UI (par prompt **ou** à
41
43
  ### 3.1 Composants standalone
42
44
 
43
45
  - Tous les composants sont **standalone** : les importer dans le tableau `imports` du composant hôte, pas via un NgModule.
44
- - Importer depuis le **point d'entrée public** : `import { ButtonComponent, BoButtonTypeEnum } from '@cityway/basic-ui';` (idem `@cityway/bo-ui`). Ne jamais importer un chemin profond (`@cityway/basic-ui/lib/...`).
46
+ - Importer depuis le **point d'entrée public** : `import { ButtonComponent, BoButtonTypeEnum } from '@cityway/basic-ui';` (idem `@cityway/bo-ui`, `@cityway/mobility-ui`). Ne jamais importer un chemin profond (`@cityway/basic-ui/lib/...`).
45
47
 
46
48
  ### 3.2 Inputs en property binding (jamais en attribut nu)
47
49
 
@@ -144,6 +146,7 @@ Une fois les libs installées, la doc est **embarquée dans chaque package**, au
144
146
  |-----|------------------------------|---------|
145
147
  | basic-ui | `@cityway/basic-ui/docs/` | `00-overview.md`, `for-claude.md` (ce fichier), `components/*.md`, `components/form-field/*.md` |
146
148
  | bo-ui | `@cityway/bo-ui/docs/` | `i18n.md` (bundle de traductions de la lib), `components/*.md` (fiches des composants Back-Office : `table.md`, `pagination.md`…) |
149
+ | mobility-ui | `@cityway/mobility-ui/docs/` | `i18n.md`, `components/*.md` (`map.md`, `line-badge.md`) |
147
150
  | design-tokens | `@cityway/design-tokens/docs/` | `README.md` (fondations, theming) |
148
151
 
149
152
  > ⚠️ L'embarquement dans le `.tgz` n'est effectif qu'à partir d'une **version publiée après** la mise en place de ce dispositif. Si `node_modules/@cityway/<lib>/docs/` n'existe pas encore (version antérieure), récupère les `.md` via la **page hub** (`cityway-ui-docs.html`, boutons *Télécharger*) ou la section *Documentation* de Storybook.
@@ -162,6 +165,7 @@ Crée `.claude/cityway-ui/` à la racine de ton repo et recopie-y les `docs/` de
162
165
  mkdir -p .claude/cityway-ui
163
166
  cp -R node_modules/@cityway/basic-ui/docs .claude/cityway-ui/basic-ui
164
167
  cp -R node_modules/@cityway/bo-ui/docs .claude/cityway-ui/bo-ui
168
+ cp -R node_modules/@cityway/mobility-ui/docs .claude/cityway-ui/mobility-ui # si installee
165
169
  cp -R node_modules/@cityway/design-tokens/docs .claude/cityway-ui/design-tokens
166
170
  ```
167
171
 
@@ -171,6 +175,7 @@ cp -R node_modules/@cityway/design-tokens/docs .claude/cityway-ui/design-token
171
175
  New-Item -ItemType Directory -Force .claude/cityway-ui | Out-Null
172
176
  Copy-Item -Recurse -Force node_modules/@cityway/basic-ui/docs .claude/cityway-ui/basic-ui
173
177
  Copy-Item -Recurse -Force node_modules/@cityway/bo-ui/docs .claude/cityway-ui/bo-ui
178
+ Copy-Item -Recurse -Force node_modules/@cityway/mobility-ui/docs .claude/cityway-ui/mobility-ui # si installee
174
179
  Copy-Item -Recurse -Force node_modules/@cityway/design-tokens/docs .claude/cityway-ui/design-tokens
175
180
  ```
176
181
 
@@ -180,6 +185,7 @@ Tu obtiens :
180
185
  .claude/cityway-ui/
181
186
  ├── basic-ui/ (00-overview.md, for-claude.md, components/…)
182
187
  ├── bo-ui/ (components/…)
188
+ ├── mobility-ui/ (components/…, si installée)
183
189
  └── design-tokens/ (README.md)
184
190
  ```
185
191