tekivex-ui 3.0.1 → 3.0.3
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 +13 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tekivex-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
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",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"require": "./dist/index.cjs",
|
|
13
13
|
"types": "./dist/index.d.ts"
|
|
14
14
|
},
|
|
15
|
-
"./styles": "./dist/
|
|
15
|
+
"./styles": "./dist/tekivex-ui.css",
|
|
16
16
|
"./themes": {
|
|
17
17
|
"import": "./dist/themes.js",
|
|
18
18
|
"require": "./dist/themes.cjs",
|