@eagami/ui 0.10.0 → 0.11.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/README.md +19 -6
- package/fesm2022/eagami-ui.mjs +291 -278
- package/fesm2022/eagami-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eagami-ui.d.ts +10 -8
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<img src="docs/images/eagami-header.png" alt="eagami design system — elegant web design" width="800" />
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
A lightweight, accessible Angular component library built on CSS custom properties. Ready to use out of the box — install, import, and start building.
|
|
5
|
+
A lightweight, accessible Angular component library built on CSS custom properties, with portable design system integration guides for Flutter and React ([see more](#framework-integration)). Ready to use out of the box — install, import, and start building.
|
|
6
6
|
|
|
7
7
|
Every component is standalone, signal-based, and fully themed via design tokens. No wrapping modules, no complex setup, no runtime style conflicts. Designed to be AI-friendly with clear APIs, consistent patterns, and comprehensive documentation that makes it easy for both developers and AI assistants to work with.
|
|
8
8
|
|
|
@@ -370,13 +370,17 @@ Arrow keys, Enter/Space to select, Escape to close. Sizes: `sm` | `md` | `lg`.
|
|
|
370
370
|
<details>
|
|
371
371
|
<summary><strong>Eagami wordmark</strong> — branded logo wordmark linking to eagami.com</summary>
|
|
372
372
|
|
|
373
|
-
|
|
373
|
+
| Variant | Text |
|
|
374
|
+
| --- | --- |
|
|
375
|
+
| `1` | eagami |
|
|
376
|
+
| `2` | handcrafted by eagami |
|
|
377
|
+
| `3` | eagami design system |
|
|
378
|
+
| `4` | eagami design system — elegant web design |
|
|
379
|
+
|
|
380
|
+
Layout: `stacked` (default, multi-line) | `inline` (single line, uniform font size — adds em dash before tagline). Size is a number (pixels) for continuous scaling; the logo, brand text, and secondary text all scale proportionally.
|
|
374
381
|
|
|
375
382
|
```html
|
|
376
|
-
<ea-eagami-wordmark
|
|
377
|
-
variant="brand"
|
|
378
|
-
size="md"
|
|
379
|
-
text="eagami design system" />
|
|
383
|
+
<ea-eagami-wordmark [variant]="4" [size]="96" />
|
|
380
384
|
```
|
|
381
385
|
|
|
382
386
|
<img src="docs/images/eagami-wordmark.png" alt="Eagami wordmark component" width="560" />
|
|
@@ -691,6 +695,15 @@ Component-level overrides are available where useful:
|
|
|
691
695
|
|
|
692
696
|
See [`src/styles/tokens/`](src/styles/tokens/) for the full token reference.
|
|
693
697
|
|
|
698
|
+
## Framework integration
|
|
699
|
+
|
|
700
|
+
@eagami/ui is an Angular library, but its design tokens, rules, and component API conventions are framework-agnostic. For projects that can't consume the Angular package directly yet still want to adhere to the same design system, two self-contained integration guides are provided — each copy-and-paste ready and written to be readable by both human developers and AI coding agents:
|
|
701
|
+
|
|
702
|
+
- **[design-system-flutter.md](design-system-flutter.md)** — Dart `ThemeExtension`, `MaterialApp` wiring, reduced-motion handling, and widget API conventions for Flutter projects
|
|
703
|
+
- **[design-system-react.md](design-system-react.md)** — CSS custom properties, TypeScript constants, and component prop conventions for React projects (plain CSS, CSS Modules, styled-components, emotion, or Tailwind)
|
|
704
|
+
|
|
705
|
+
Both files contain the full token set, mandatory design rules, theme setup, usage patterns, component API conventions, and accessibility requirements. Copy the relevant file into the target project and follow it when building UI.
|
|
706
|
+
|
|
694
707
|
## Peer dependencies
|
|
695
708
|
|
|
696
709
|
| Package | Version |
|