@lilydesignsystem/react-headless 0.5.1 → 0.6.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/CHANGELOG.md +16 -2
- package/LICENSE.md +8 -8
- package/README.md +1197 -0
- package/dist/index.d.ts +560 -35
- package/dist/index.js +4173 -2145
- package/index.md +73 -37
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
The format is loosely based on [Keep a Changelog](https://keepachangelog.com/)
|
|
4
4
|
and the package follows [Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
|
|
7
|
+
## 0.6.1 — 2026-11-03
|
|
8
|
+
|
|
9
|
+
- Fixed: the published barrel now exports every component in the catalog (recent components were missing). Dependencies updated within range.
|
|
10
|
+
|
|
11
|
+
## 0.6.0 — 2026-10-23 (three components)
|
|
12
|
+
|
|
13
|
+
- New: `HeatmapChartWithYearOfDays`, `MiddleTruncation`, `WheelPicker`.
|
|
14
|
+
- `HeatmapChartWithYearOfDays`: a `HeatmapChart` for one year of days (required `year` and `weekStart`, reflected as `data-year` and `data-week-start`; a week-column by weekday-row layout contract).
|
|
15
|
+
- `MiddleTruncation`: a string shortened in the middle to fit its width, keeping the start and the end; the shortened text is `aria-hidden` and the full text stays in the accessibility tree; `ellipsis` is required and has no default.
|
|
16
|
+
- `WheelPicker`: a vertical single-select listbox where the selection follows the cursor (arrows, Home/End, Page keys, type-ahead, optional loop).
|
|
17
|
+
- Contract fix: `Slider`'s documented root is `<input type="range">` (the docs said `<div>`); `aria-valuetext` documented. `Button` documents the pending-action pattern (`aria-busy`, `aria-disabled`, never `disabled`).
|
|
18
|
+
- The 57 reference themes style the new components. See the repository CHANGELOG (2026-10-23).
|
|
19
|
+
|
|
6
20
|
## 0.5.1 — 2026-10-18 (Editable accessible name)
|
|
7
21
|
|
|
8
22
|
- `Editable`: the display-mode button is named "value, label" (the label alone when the value is empty) so its visible text is part of its accessible name (WCAG 2.5.3).
|
|
@@ -65,7 +79,7 @@ them instead of hand-rolling equivalent markup/keyboard logic** —
|
|
|
65
79
|
porting the same change already made to `@lilydesignsystem/svelte-headless`.
|
|
66
80
|
Both components had zero real consumers elsewhere in this
|
|
67
81
|
491-component catalog (confirmed by search before changing either;
|
|
68
|
-
`Listbox` had two doc-comment
|
|
82
|
+
`Listbox` had two doc-comment _mentions_ as an example, no actual
|
|
69
83
|
imports) — full suite (2679 tests) still green.
|
|
70
84
|
|
|
71
85
|
- `IconButton` gains `baseClass` (default `"icon-button"`, unchanged)
|
|
@@ -108,7 +122,7 @@ Metadata-only patch; no code change. Ships the corrected package
|
|
|
108
122
|
metadata to the registry:
|
|
109
123
|
|
|
110
124
|
- `license` is the project SPDX menu (`MIT OR Apache-2.0 OR
|
|
111
|
-
|
|
125
|
+
GPL-2.0-only OR GPL-3.0-only OR BSD-3-Clause`), replacing the
|
|
112
126
|
single-license field that contradicted the repository's LICENSE.md.
|
|
113
127
|
- `repository`, `homepage`, and `bugs` point at the LilyDesignSystem
|
|
114
128
|
organisation and the documentation site.
|
package/LICENSE.md
CHANGED
|
@@ -8,15 +8,15 @@ Lily Design System™ is free open source software.
|
|
|
8
8
|
|
|
9
9
|
License is any of these, at your option, or contact us for custom license options.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- [MIT](https://opensource.org/license/mit) ([SPDX: MIT](https://spdx.org/licenses/MIT.html))
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
- [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) ([SPDX: Apache-2.0](https://spdx.org/licenses/Apache-2.0.html))
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- [GNU General Public License v2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html) ([SPDX: GPL-2.0-only](https://spdx.org/licenses/GPL-2.0-only.html))
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
- [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0-standalone.html) ([SPDX: GPL-3.0-only](https://spdx.org/licenses/GPL-3.0-only.html))
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
- [BSD 3-Clause License](https://opensource.org/license/bsd-3-clause) ([SPDX: BSD-3-Clause](https://spdx.org/licenses/BSD-3-Clause.html))
|
|
20
20
|
|
|
21
21
|
## SPDX
|
|
22
22
|
|
|
@@ -31,9 +31,9 @@ single identifier from the list where the packaging format does not accept a
|
|
|
31
31
|
disjunction. You do not need permission to pick one: choose whichever member of
|
|
32
32
|
the list suits your project and comply with that one.
|
|
33
33
|
|
|
34
|
-
This applies to the whole repository — the component catalog, the
|
|
35
|
-
libraries, the
|
|
36
|
-
|
|
34
|
+
This applies to the whole repository — the component catalog, the headless
|
|
35
|
+
libraries, the example applications, the helper packages, the `themes/`
|
|
36
|
+
stylesheets, the `bin/` tooling, and the documentation.
|
|
37
37
|
|
|
38
38
|
## Scope note
|
|
39
39
|
|