@fusion.dev/helix-headless 0.0.9 → 0.0.10
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 +35 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @fusion.dev/helix-headless
|
|
2
|
+
|
|
3
|
+
The headless component tier: structure, accessibility, keyboard behavior, state
|
|
4
|
+
and form participation, with no styling of any kind.
|
|
5
|
+
|
|
6
|
+
```sh
|
|
7
|
+
npm install @fusion.dev/helix-headless
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<script type="module">
|
|
12
|
+
import '@fusion.dev/helix-headless'
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<helix-headless-switch
|
|
16
|
+
hint="We will only mail you about outages"
|
|
17
|
+
label="Notify me"
|
|
18
|
+
name="notify"
|
|
19
|
+
></helix-headless-switch>
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Nothing here paints. Every part is published as a `::part()` so a consumer's own
|
|
23
|
+
stylesheet is the only thing deciding how a component looks, and every family
|
|
24
|
+
carries the ARIA, focus management and form association that are tedious to get
|
|
25
|
+
right and invisible when they are wrong.
|
|
26
|
+
|
|
27
|
+
This is the tier to take if you are building your own design system rather than
|
|
28
|
+
adopting ours. [`@fusion.dev/helix`](https://www.npmjs.com/package/@fusion.dev/helix)
|
|
29
|
+
is this tier with our presentation on top.
|
|
30
|
+
|
|
31
|
+
Framework typings ship alongside: `/jsx`, `/vue` and `/svelte`.
|
|
32
|
+
|
|
33
|
+
[Documentation](https://helix.fusion.dev) · [Building on the headless tier](https://helix.fusion.dev/essentials/building-on-the-headless-tier)
|
|
34
|
+
|
|
35
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-headless",
|
|
3
3
|
"description": "Headless component tier. Structure, accessibility, state, and form participation. No styling.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
},
|
|
48
48
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@fusion.dev/helix-core": "0.0.
|
|
51
|
-
"@fusion.dev/helix-icons": "0.0.
|
|
50
|
+
"@fusion.dev/helix-core": "0.0.10",
|
|
51
|
+
"@fusion.dev/helix-icons": "0.0.10",
|
|
52
52
|
"uqr": "^0.1.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
56
56
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
57
|
-
"@fusion.dev/helix-cem": "0.0.
|
|
58
|
-
"@fusion.dev/helix-testing": "0.0.
|
|
57
|
+
"@fusion.dev/helix-cem": "0.0.10",
|
|
58
|
+
"@fusion.dev/helix-testing": "0.0.10",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|
|
60
60
|
"@types/bun": "^1.3.0",
|
|
61
61
|
"lit": "^3.2.1"
|