@holmdigital/components 1.2.0 → 1.2.1
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 +15 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
# @holmdigital/components
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@holmdigital/components)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+

|
|
6
|
+
[](https://www.npmjs.com/package/@holmdigital/components)
|
|
7
|
+
|
|
3
8
|
> Prescriptive, accessible React components for regulatory compliance.
|
|
4
9
|
|
|
5
|
-
|
|
10
|
+
## Why this package?
|
|
11
|
+
|
|
12
|
+
Building accessible components from scratch is hard. Ensuring they comply with **EN 301 549** and national laws is even harder.
|
|
13
|
+
|
|
14
|
+
These components are **Compliant by Default**. They automatically handle:
|
|
15
|
+
- **ARIA attributes**: No need to manually manage `aria-expanded`, `aria-controls`, etc.
|
|
16
|
+
- **Focus Management**: Built-in keyboard navigation for modal traps, dropdowns, and menus.
|
|
17
|
+
- **Contrast**: Default styles are tested against WCAG AA/AAA requirements.
|
|
18
|
+
|
|
19
|
+
Using these components significantly reduces the risk of regulatory violations in your UI.
|
|
6
20
|
|
|
7
21
|
## Installation
|
|
8
22
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holmdigital/components",
|
|
3
3
|
"author": "Holm Digital AB",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -92,7 +92,10 @@
|
|
|
92
92
|
"accessibility",
|
|
93
93
|
"a11y",
|
|
94
94
|
"wcag",
|
|
95
|
-
"design-system"
|
|
95
|
+
"design-system",
|
|
96
|
+
"ui-kit",
|
|
97
|
+
"accessible-components",
|
|
98
|
+
"wcag-compliant"
|
|
96
99
|
],
|
|
97
100
|
"peerDependencies": {
|
|
98
101
|
"react": ">=18.0.0",
|