@lilydesignsystem/react-headless-identifiers 0.0.0-stage → 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Changelog — @lilydesignsystem/react-headless-identifiers
2
+
3
+ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/)
4
+ and the package follows [Semantic Versioning](https://semver.org/).
5
+
6
+ ## 0.1.0 — 2026-11-18
7
+
8
+ - First release: the 164 national personal identifier components of the Lily Design System catalog for React 19, an
9
+ `-input` and a `-view` for each of 82 identifier types across more than 50 countries, moved here unchanged from
10
+ `@lilydesignsystem/react-headless` 0.10.0 (spec/headless-identifiers). No dependency on `@lilydesignsystem/react-headless`.
package/LICENSE.md ADDED
@@ -0,0 +1,64 @@
1
+ <!-- Synced from the canonical repository by bin/sync-special-files.
2
+ Do not edit here; edit the root copy and re-run the script.
3
+ Canonical: https://github.com/LilyDesignSystem/lily-design-system/blob/main/LICENSE.md -->
4
+
5
+ # License
6
+
7
+ Lily Design System™ is free open source software.
8
+
9
+ License is any of these, at your option, or contact us for custom license options.
10
+
11
+ - [MIT](https://opensource.org/license/mit) ([SPDX: MIT](https://spdx.org/licenses/MIT.html))
12
+
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
+
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
+
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
+
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
+
21
+ ## SPDX
22
+
23
+ The machine-readable expression for the choice above is:
24
+
25
+ ```
26
+ SPDX-License-Identifier: MIT OR Apache-2.0 OR GPL-2.0-only OR GPL-3.0-only OR BSD-3-Clause
27
+ ```
28
+
29
+ Every package manifest in this repository should carry that expression, or a
30
+ single identifier from the list where the packaging format does not accept a
31
+ disjunction. You do not need permission to pick one: choose whichever member of
32
+ the list suits your project and comply with that one.
33
+
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
+
38
+ ## Scope note
39
+
40
+ This file supersedes an earlier `CC BY-NC-SA` notice. That notice was a content
41
+ license with a non-commercial clause, it was not an open-source license, and it
42
+ contradicted both the specification and the published packages. It should not be
43
+ relied on. If you obtained Lily under it and that raises a question for you,
44
+ contact <joel@joelparkerhenderson.com>.
45
+
46
+ ## Trademarks
47
+
48
+ Lily™ and Lily Design System™ are trademarks. The trademarks are distinct from
49
+ the software license: a trademark claim (™) asserts use of the marks and is
50
+ independent of the licenses above. A license to the software is not a license to
51
+ the marks.
52
+
53
+ You may say your project uses Lily, is built with Lily, or is compatible with
54
+ Lily. Please do not use the marks as the name of your fork or product, or in a
55
+ way that suggests affiliation or endorsement. For any use beyond that, contact
56
+ <joel@joelparkerhenderson.com>.
57
+
58
+ ## Third-party references
59
+
60
+ Lily's example applications and `themes/` stylesheets take visual reference from
61
+ public-sector design systems including NHS UK, GOV.UK, and USWDS. Lily is not
62
+ affiliated with, endorsed by, or connected to any of those organisations. Their
63
+ names and marks belong to them, and this license grants nothing in respect of
64
+ them.
package/README.md CHANGED
@@ -1,3 +1,31 @@
1
- # Temporary Holding Version
1
+ # Lily Design System™ React 19 headless identifiers
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ `@lilydesignsystem/react-headless-identifiers`: the 164 national personal identifier components of the Lily Design System catalog for React 19, an `-input` and
4
+ a `-view` for each of 82 identifier types across more than 50 countries (health numbers, national identity numbers, tax
5
+ numbers, passports). It is the add-on to [`@lilydesignsystem/react-headless`](../lily-design-system-react-headless/), which
6
+ has the other 473 components.
7
+
8
+ ```sh
9
+ pnpm add @lilydesignsystem/react-headless-identifiers
10
+ ```
11
+
12
+ ```tsx
13
+ import { UnitedKingdomNationalHealthServiceNumberInput } from "@lilydesignsystem/react-headless-identifiers";
14
+
15
+ <UnitedKingdomNationalHealthServiceNumberInput
16
+ label="NHS number"
17
+ value={nhs}
18
+ onChange={setNhs}
19
+ />;
20
+ ```
21
+
22
+ Like the headless library it is unstyled: semantic HTML, ARIA and behaviour only. Each input renders
23
+ `autocomplete="off"` and `spellcheck="false"`, so the browser neither saves the value nor sends it to a spellchecker.
24
+ The formats, normalisation and validation rules are in [spec/national-identifiers](../spec/national-identifiers/index.md).
25
+
26
+ Why a separate package: [spec/headless-identifiers](../spec/headless-identifiers/index.md). Spec:
27
+ [spec/index.md](spec/index.md). Agents: [AGENTS.md](AGENTS.md).
28
+
29
+ ---
30
+
31
+ Lily™ and Lily Design System™ are trademarks.