@comms-id/abn-react 0.2.0 → 0.2.2
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 +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ The prop getters carry the WAI-ARIA combobox contract: roles, `aria-expanded`, `
|
|
|
48
48
|
|
|
49
49
|
## The component
|
|
50
50
|
|
|
51
|
-
Props: `client` and `label` (required), `onSelect`, `minChars` (3), `debounceMs` (
|
|
51
|
+
Props: `client` and `label` (required), `onSelect`, `minChars` (3), `debounceMs` (400), `limit` (8), `prefer` (`{ state, postcode }`), `idPrefix`, `name`, `placeholder`, `disabled`, `required`, `className`, `listLabel`, `showTiming` (true), `renderOption`.
|
|
52
52
|
|
|
53
53
|
Style it with the custom properties `--comms-id-text`, `--comms-id-surface`, `--comms-id-border`, `--comms-id-active`, `--comms-id-radius` or the `comms-id-abn__*` class names. It needs no stylesheet.
|
|
54
54
|
|
|
@@ -59,4 +59,4 @@ Style it with the custom properties `--comms-id-text`, `--comms-id-surface`, `--
|
|
|
59
59
|
|
|
60
60
|
The component always shows the attribution: the one the reply carried, or the standard text when a reply has none. Do not hide it.
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
`LICENSE` is the consumer client licence.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comms-id/abn-react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "React hook and component for Comms.ID ABN search: a name or an ABN or ACN, accessible, no layout shift, with the data attribution",
|
|
5
5
|
"homepage": "https://comms.id",
|
|
6
6
|
"bugs": {
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
"registry": "https://registry.npmjs.org"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@comms-id/abn": "0.
|
|
36
|
+
"@comms-id/abn": "0.4.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/node": "24.19.
|
|
42
|
+
"@types/node": "24.19.1",
|
|
43
43
|
"@types/react": "19.3.0",
|
|
44
44
|
"@types/react-dom": "19.3.0",
|
|
45
45
|
"happy-dom": "20.14.5",
|
|
46
46
|
"react": "19.3.0",
|
|
47
47
|
"react-dom": "19.3.0",
|
|
48
48
|
"typescript": "7.0.2",
|
|
49
|
-
"vitest": "5.0.
|
|
49
|
+
"vitest": "5.0.3"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsc -p tsconfig.build.json",
|