tekivex-ui 3.0.0 → 3.0.2
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 +17 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**The first React UI library with a security kernel built in.**
|
|
6
6
|
|
|
7
|
-
WCAG 2.1 AAA · WAI-ARIA 1.2 · **SecurityCore** (XSS · clickjacking · Trojan Source · CSP · PII · magic-byte MIME) ·
|
|
7
|
+
WCAG 2.1 AAA · WAI-ARIA 1.2 · **SecurityCore** (XSS · clickjacking · Trojan Source · CSP · PII · magic-byte MIME) · 99 Components · Zero Dependencies
|
|
8
8
|
|
|
9
9
|
📄 **[Security Threat Model](./docs/SECURITY-THREAT-MODEL.md)** — the only mainstream React UI library that publishes one.
|
|
10
10
|
|
|
@@ -14,8 +14,8 @@ WCAG 2.1 AAA · WAI-ARIA 1.2 · **SecurityCore** (XSS · clickjacking · Trojan
|
|
|
14
14
|
[](https://www.typescriptlang.org/)
|
|
15
15
|
[](https://react.dev/)
|
|
16
16
|
[](https://www.w3.org/TR/WCAG21/)
|
|
17
|
-
[](#testing)
|
|
18
|
+
[](./docs/SECURITY-THREAT-MODEL.md)
|
|
19
19
|
|
|
20
20
|
<br/>
|
|
21
21
|
|
|
@@ -163,7 +163,7 @@ import { useDisclosure, useFormState, useListSelection } from 'tekivex-ui/headle
|
|
|
163
163
|
| `TkxRichTextDisplay` | Render structured rich-text blocks |
|
|
164
164
|
| `TkxWatermark` | Canvas-based watermark overlay |
|
|
165
165
|
| `TkxEmpty` | Empty state with custom illustration |
|
|
166
|
-
| `TkxOrgChart` | Reingold–Tilford org-chart with pan/zoom, collapsible subtrees, custom renderer
|
|
166
|
+
| `TkxOrgChart` | Reingold–Tilford org-chart with pan/zoom, collapsible subtrees, custom renderer |
|
|
167
167
|
|
|
168
168
|
</details>
|
|
169
169
|
|
|
@@ -502,18 +502,24 @@ npm install
|
|
|
502
502
|
# Build the library
|
|
503
503
|
npm run build
|
|
504
504
|
|
|
505
|
-
# Run all
|
|
505
|
+
# Run all 1034 tests
|
|
506
506
|
npm test
|
|
507
507
|
|
|
508
|
+
# Run tests with coverage report
|
|
509
|
+
npm run test:coverage
|
|
510
|
+
|
|
508
511
|
# Type check
|
|
509
512
|
npm run typecheck
|
|
510
513
|
|
|
511
514
|
# Lint
|
|
512
515
|
npm run lint
|
|
513
516
|
|
|
514
|
-
# Run the
|
|
517
|
+
# Run the library Vite playground (localhost:5173)
|
|
515
518
|
npm run dev
|
|
516
519
|
|
|
520
|
+
# Run the interactive demo (localhost:5174)
|
|
521
|
+
npm run dev:demo
|
|
522
|
+
|
|
517
523
|
# Accessibility audit
|
|
518
524
|
npm run a11y:audit
|
|
519
525
|
|
|
@@ -526,10 +532,13 @@ npm run security:audit
|
|
|
526
532
|
## Testing
|
|
527
533
|
|
|
528
534
|
```
|
|
529
|
-
|
|
535
|
+
82 test files · 1034 tests · 0 failures · 1 todo
|
|
536
|
+
Coverage: 64.84% lines · 51.10% functions · 56.77% branches · 61.41% statements
|
|
530
537
|
```
|
|
531
538
|
|
|
532
|
-
Coverage includes unit tests for all
|
|
539
|
+
Coverage includes unit tests for all 99 components, 7 chart types, headless hooks (incl. useWebSocket / useSSE / useMediaQuery), the TKX CSS engine, the WCAG engine, the security (Shield) engine, the i18n provider, and Indian KYC validators (Aadhaar Verhoeff, PAN, Voter ID, DL).
|
|
540
|
+
|
|
541
|
+
Coverage thresholds are enforced as a CI ratchet in `vitest.config.ts` — the floor never drops between releases. Path to 90/90/85 is documented in [`docs/test-coverage-roadmap.md`](./docs/test-coverage-roadmap.md).
|
|
533
542
|
|
|
534
543
|
---
|
|
535
544
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tekivex-ui",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "Production-grade React component library —
|
|
3
|
+
"version": "3.0.2",
|
|
4
|
+
"description": "Production-grade React component library — 99 components, WCAG 2.1 AAA, WAI-ARIA 1.2, built-in security kernel, built-in charts, headless primitives, zero-runtime CSS engine, 35-locale i18n, Indian KYC pack, TypeScript-first. v3.0.0 ships with 1034 passing tests.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|