@ngrr/ds 0.1.12 → 0.1.15

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.
package/AGENTS.md CHANGED
@@ -1,7 +1,10 @@
1
- # DS-Nagarro Component Library — Agent Briefing
1
+ # DS-Nagarro Component Library — Building Guide
2
2
 
3
- > **READ THIS FIRST.** This file is the entry point for every coding session.
3
+ > **READ THIS FIRST.** This file is the entry point for every coding session on the component library.
4
4
  > Do not write any code until you have read and understood this document.
5
+ >
6
+ > **This file is for building components.** For component usage specs, layout rules, and
7
+ > navigation patterns when building apps *with* `@ngrr/ds`, read `AI.md` instead.
5
8
 
6
9
  ---
7
10
 
@@ -28,7 +31,9 @@ This is the React component library for **DS-Nagarro**, an enterprise design sys
28
31
 
29
32
  ```
30
33
  ds-nagarro/
31
- ├── AGENTS.md ← You are here
34
+ ├── AGENTS.md ← You are here (building guide)
35
+ ├── AI.md ← Usage guide (for consuming the package)
36
+ ├── CLAUDE.md ← Claude Code pointer (redirects here)
32
37
  ├── tokens.css ← All design tokens as CSS custom properties
33
38
  ├── src/
34
39
  │ ├── index.ts ← Public API — export all components
@@ -50,7 +55,7 @@ ds-nagarro/
50
55
  │ ├── main.ts
51
56
  │ └── preview.ts ← Imports tokens.css globally
52
57
  └── docs/ ← Design system documentation (read-only)
53
- └── [copied from /mnt/project/ — see Documentation section]
58
+ └── [component spec files — see table below]
54
59
  ```
55
60
 
56
61
  ---
@@ -59,7 +64,7 @@ ds-nagarro/
59
64
 
60
65
  All component specs live in the `docs/` directory. Each file is authoritative for its component(s). Read the relevant doc **before** generating any component.
61
66
 
62
- | File | Components Covered |
67
+ | File | Components covered |
63
68
  |---|---|
64
69
  | `button.md` | Button (Main, Destructive, Toggle, Vertical) |
65
70
  | `avatar.md` | Avatar, AvatarGroup |
@@ -448,4 +453,8 @@ Either populate with real, meaningful content or hide the slot entirely.
448
453
  2. Identify all Figma variants → TypeScript props
449
454
  3. Identify all tokens needed (colour, typography, spacing, sizing)
450
455
  4. Implement component → stories → tests in that order
451
- 5. Export from component `index.ts` and from `src/index.ts`
456
+ 5. Export from component `index.ts` and from `src/index.ts`
457
+
458
+ ---
459
+
460
+ *Source of truth for building DS-Nagarro components. Last updated: 2026-03-16.*