@tedi-design-system/react 19.0.0-rc.7 → 19.0.0-rc.9
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 +27 -1
- package/bundle-stats.html +1 -1
- package/index.css +1 -1
- package/package.json +5 -3
- package/src/tedi/components/content/calendar/calendar.cjs.js +1 -1
- package/src/tedi/components/content/calendar/calendar.d.ts +12 -0
- package/src/tedi/components/content/calendar/calendar.es.js +39 -35
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.cjs.js +1 -1
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.d.ts +13 -1
- package/src/tedi/components/content/calendar/components/calendar-header/calendar-header.es.js +40 -35
- package/src/tedi/components/form/date-field/date-field.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-field.d.ts +10 -0
- package/src/tedi/components/form/date-field/date-field.es.js +176 -170
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.cjs.js +1 -1
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.d.ts +4 -0
- package/src/tedi/components/form/date-field/date-picker-modal/date-picker-modal.es.js +47 -43
- package/src/tedi/components/form/date-time-field/date-time-field.cjs.js +1 -1
- package/src/tedi/components/form/date-time-field/date-time-field.d.ts +10 -0
- package/src/tedi/components/form/date-time-field/date-time-field.es.js +92 -88
- package/src/tedi/components/form/file-upload/file-upload.cjs.js +1 -1
- package/src/tedi/components/form/file-upload/file-upload.es.js +11 -11
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`@tedi-design-system/react` is a library of React components implementing the TEDI Design System.
|
|
4
4
|
It provides reusable, accessible, and consistent UI components to streamline building React applications.
|
|
5
5
|
|
|
6
|
-
Usage instructions and detailed documentation for using the components in your application are available in [Storybook](https://storybook.tedi.ee/react/
|
|
6
|
+
Usage instructions and detailed documentation for using the components in your application are available in [Storybook](https://storybook.tedi.ee/react/rc/?path=/docs/documentation-get-started--get-started).
|
|
7
7
|
|
|
8
8
|
[](https://codecov.io/gh/TEHIK-EE/tedi-design-system/graph/badge.svg?token=NKNNJSG19D)
|
|
9
9
|
[](https://github.com/semantic-release/semantic-release)
|
|
@@ -55,6 +55,32 @@ Report issues or contribute via [GitHub Issues](https://github.com/TEDI-Design-S
|
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
|
+
## AI Skills
|
|
59
|
+
|
|
60
|
+
This project ships with AI agent skills to help both contributors and consumers work with TEDI components.
|
|
61
|
+
|
|
62
|
+
### For consumers — `tedi-react`
|
|
63
|
+
|
|
64
|
+
Helps you build UIs with `@tedi-design-system/react`: component usage, forms integration, and theming. Lives in [`skills/tedi-react`](./skills/tedi-react).
|
|
65
|
+
|
|
66
|
+
Install it into your agent (Claude Code, Cursor, Codex, and others) with the [`skills`](https://www.skills.sh/tedi-design-system/react/tedi-react) CLI:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npx skills add https://github.com/tedi-design-system/react --skill tedi-react
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### For contributors — `contributing`
|
|
73
|
+
|
|
74
|
+
Guides development inside this repo: creating new components, running tests/lint, WCAG audits, refactoring, and Storybook stories. Available as `/contributing` when working in this repository.
|
|
75
|
+
|
|
76
|
+
### For AI-driven design & UI generation — `DESIGN.md`
|
|
77
|
+
|
|
78
|
+
[`DESIGN.md`](./DESIGN.md) is the machine-readable representation of the design system — semantic tokens plus tedi-ready component rules — that AI agents read to ground generated UI in real TEDI tokens and components. It also covers where to look things up, and how to use TEDI as a design system in [claude.ai/design](https://claude.ai/design) (each organisation runs its own; design-system projects cannot be shared across organisations).
|
|
79
|
+
|
|
80
|
+
Its token table is read straight from `@tedi-design-system/core/tokens.json` (core generates it from Figma and publishes it with the stylesheet it describes) and [`component.manifest.json`](./component.manifest.json) is derived from the `src/tedi` barrel; both are produced by `npm run design:build` (see [`design-docs/`](./design-docs)). The surrounding prose is hand-maintained, with the `update-design-docs` skill keeping it current. [`design-system-spec.json`](./design-system-spec.json) is a descriptor pointing at those files, intended for repository-URL import.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
58
84
|
## Visual Testing
|
|
59
85
|
|
|
60
86
|
<a href="https://www.chromatic.com/"><img src="https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png" width="153" height="30" alt="Chromatic" /></a>
|