tekivex-ui 3.18.1 → 3.18.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 +7 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +285 -268
- package/dist/src/components/TkxMessageThread.d.ts +57 -0
- package/dist/src/components/index.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
**The React component library that ships with a threat model.**
|
|
6
6
|
|
|
7
|
-
WCAG 2.1 AAA target (third-party audit on roadmap, not yet completed) · WAI-ARIA 1.2 · **SecurityCore** (XSS · clickjacking · Trojan Source · CSP · PII · magic-byte MIME · Trusted Types) · **
|
|
7
|
+
WCAG 2.1 AAA target (third-party audit on roadmap, not yet completed) · WAI-ARIA 1.2 · **SecurityCore** (XSS · clickjacking · Trojan Source · CSP · PII · magic-byte MIME · Trusted Types) · **116 production components** (+ 4 experimental, opt-in) · Zero runtime dependencies in core
|
|
8
8
|
|
|
9
9
|
📄 **[Security Threat Model](./docs/SECURITY-THREAT-MODEL.md)** — the only mainstream React UI library that publishes one. 15 STRIDE-mapped threats with CWE references.
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ WCAG 2.1 AAA target (third-party audit on roadmap, not yet completed) · WAI-ARI
|
|
|
14
14
|
[](https://www.typescriptlang.org/)
|
|
15
15
|
[](https://react.dev/)
|
|
16
16
|
[](https://www.w3.org/TR/WCAG21/)
|
|
17
|
-
[](#testing)
|
|
18
18
|
[](./docs/SECURITY-THREAT-MODEL.md)
|
|
19
19
|
[](https://socket.dev/npm/package/tekivex-ui)
|
|
20
20
|
[](https://ui.tekivex.com/security/sbom.json)
|
|
@@ -37,7 +37,7 @@ TekiVex UI is **pre-1.0** and currently maintained by a single developer
|
|
|
37
37
|
([007krcs](https://github.com/007krcs)) on `novaai0401@gmail.com`. We
|
|
38
38
|
ship a public [CycloneDX SBOM](https://ui.tekivex.com/security/sbom.json),
|
|
39
39
|
a [security threat model](./docs/SECURITY-THREAT-MODEL.md) (15 STRIDE
|
|
40
|
-
threats with CWE refs), and 1,
|
|
40
|
+
threats with CWE refs), and 1,798 tests at the published version — but
|
|
41
41
|
none of that substitutes for the human-scale risk of any pre-1.0,
|
|
42
42
|
single-maintainer library.
|
|
43
43
|
|
|
@@ -124,7 +124,7 @@ Portal3D, Avatar3D — 14 primitives at source v0.7).
|
|
|
124
124
|
| Tamper-evident SHA-256 hash-chained audit trail | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
125
125
|
| Published threat model | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
126
126
|
| Full-featured DataGrid — **free** | ✅ | 💰 Pro | Partial | Partial | ❌ |
|
|
127
|
-
|
|
|
127
|
+
| 116 production components — **free** | ✅ | ✅ | ✅ | ✅ | 30 |
|
|
128
128
|
| Hooks layer (a11y, theme, i18n) | ✅ | ❌ | ❌ | ✅ | ✅ |
|
|
129
129
|
| i18n — 44 locales incl. RTL | ✅ | ✅ | ✅ | Partial | ❌ |
|
|
130
130
|
| Plugin-extensible CSS engine | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
@@ -604,7 +604,7 @@ npm install
|
|
|
604
604
|
# Build the library
|
|
605
605
|
npm run build
|
|
606
606
|
|
|
607
|
-
# Run all
|
|
607
|
+
# Run all 1798 tests
|
|
608
608
|
npm test
|
|
609
609
|
|
|
610
610
|
# Run tests with coverage report
|
|
@@ -634,11 +634,11 @@ npm run security:audit
|
|
|
634
634
|
## Testing
|
|
635
635
|
|
|
636
636
|
```
|
|
637
|
-
90 dedicated component test files ·
|
|
637
|
+
90 dedicated component test files · 1798 tests · 0 failures · 1 todo
|
|
638
638
|
Coverage: 64.84% lines · 51.10% functions · 56.77% branches · 61.41% statements (ratchet enforced in CI)
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
Coverage includes dedicated unit tests for 88 of
|
|
641
|
+
Coverage includes dedicated unit tests for 88 of 116 production components plus smoke coverage for the rest, 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).
|
|
642
642
|
|
|
643
643
|
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).
|
|
644
644
|
|