@deriv-ds/design-intelligence-layer 0.2.0 → 0.4.0
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 +3 -3
- package/README.md +360 -147
- package/dist/index.cjs +4501 -2372
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +435 -152
- package/dist/index.d.ts +435 -152
- package/dist/index.js +5123 -2986
- package/dist/index.js.map +1 -1
- package/guides/brand-voice/deriv-brand-voice.md +250 -0
- package/guides/design-system-guide/{trading-game-ds-guide.md → deriv-design-intelligence-guide.md} +5 -5
- package/guides/design-system-guide/quill-ds-guide.md +817 -0
- package/package.json +7 -2
- package/src/styles.css +965 -29
- package/guides/brand-voice/trading-game-brand-voice.md +0 -325
package/AGENTS.md
CHANGED
|
@@ -25,7 +25,7 @@ node_modules/@deriv-ds/design-intelligence-layer/guides/personas/trading-game-pl
|
|
|
25
25
|
|
|
26
26
|
**Brand voice** — channel-specific voice application, banned phrases, vocabulary reference, and formatting rules for all player-facing copy:
|
|
27
27
|
```
|
|
28
|
-
node_modules/@deriv-ds/design-intelligence-layer/guides/brand-voice/
|
|
28
|
+
node_modules/@deriv-ds/design-intelligence-layer/guides/brand-voice/deriv-brand-voice.md
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
All four files apply to all projects built with this package — landing pages, product screens, and games.
|
|
@@ -57,7 +57,7 @@ cp node_modules/@deriv-ds/design-intelligence-layer/guides/rules/design-system-c
|
|
|
57
57
|
3. **Design principles and accessibility first** — every screen must reflect the 8 design principles and meet the accessibility standards (WCAG 2.1 AA). Run both checklists before shipping.
|
|
58
58
|
4. **No separate installs** — do not install `lucide-react`, `tailwindcss`, or other bundled dependencies separately.
|
|
59
59
|
5. **After a version bump** — re-copy the rules file into `.cursor/rules/`, check for stale local component copies, and align them with the package.
|
|
60
|
-
6. **Blocks are playground-only** — Blocks (e.g. NavBar) appear in the playground's Blocks tab but are **not** exported from the package. Do not try to import them. To build a block pattern in a consuming project, compose it manually using package components and design tokens. See `guides/design-system-guide/
|
|
60
|
+
6. **Blocks are playground-only** — Blocks (e.g. NavBar) appear in the playground's Blocks tab but are **not** exported from the package. Do not try to import them. To build a block pattern in a consuming project, compose it manually using package components and design tokens. See `guides/design-system-guide/deriv-design-intelligence-guide.md` Section 8.5.
|
|
61
61
|
|
|
62
62
|
---
|
|
63
63
|
|
|
@@ -67,5 +67,5 @@ cp node_modules/@deriv-ds/design-intelligence-layer/guides/rules/design-system-c
|
|
|
67
67
|
- Design principles: `node_modules/@deriv-ds/design-intelligence-layer/guides/design-principles/trading-game-design-principles.md`
|
|
68
68
|
- Accessibility standards: `node_modules/@deriv-ds/design-intelligence-layer/guides/accessibility-standards/trading-game-accessibility-standards.md`
|
|
69
69
|
- Personas: `node_modules/@deriv-ds/design-intelligence-layer/guides/personas/trading-game-player-field-guide.md`
|
|
70
|
-
- Brand voice: `node_modules/@deriv-ds/design-intelligence-layer/guides/brand-voice/
|
|
70
|
+
- Brand voice: `node_modules/@deriv-ds/design-intelligence-layer/guides/brand-voice/deriv-brand-voice.md`
|
|
71
71
|
- Full agent rules: `node_modules/@deriv-ds/design-intelligence-layer/guides/rules/design-system-consuming-project.mdc`
|