tekivex-ui 3.18.1 → 3.19.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 +8 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +354 -327
- package/dist/src/components/TkxDataGrid.d.ts +6 -1
- package/dist/src/components/TkxMessageThread.d.ts +60 -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 | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
@@ -571,6 +571,7 @@ import { TkxDataGrid } from 'tekivex-ui';
|
|
|
571
571
|
| Column filtering | ✅ | 💰 Pro | ✅ |
|
|
572
572
|
| Column pinning (left/right) | ✅ | 💰 Pro | ✅ |
|
|
573
573
|
| Row grouping + aggregations | ✅ | 💰 Pro | 💰 Enterprise |
|
|
574
|
+
| Tree data / hierarchical rows | ✅ | 💰 Pro | 💰 Enterprise |
|
|
574
575
|
| Pagination | ✅ | ✅ | ✅ |
|
|
575
576
|
| Row selection | ✅ | ✅ | ✅ |
|
|
576
577
|
| CSV export | ✅ | 💰 Pro | 💰 Enterprise |
|
|
@@ -604,7 +605,7 @@ npm install
|
|
|
604
605
|
# Build the library
|
|
605
606
|
npm run build
|
|
606
607
|
|
|
607
|
-
# Run all
|
|
608
|
+
# Run all 1798 tests
|
|
608
609
|
npm test
|
|
609
610
|
|
|
610
611
|
# Run tests with coverage report
|
|
@@ -634,11 +635,11 @@ npm run security:audit
|
|
|
634
635
|
## Testing
|
|
635
636
|
|
|
636
637
|
```
|
|
637
|
-
90 dedicated component test files ·
|
|
638
|
+
90 dedicated component test files · 1798 tests · 0 failures · 1 todo
|
|
638
639
|
Coverage: 64.84% lines · 51.10% functions · 56.77% branches · 61.41% statements (ratchet enforced in CI)
|
|
639
640
|
```
|
|
640
641
|
|
|
641
|
-
Coverage includes dedicated unit tests for 88 of
|
|
642
|
+
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
643
|
|
|
643
644
|
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
645
|
|