@domainkit/react 0.14.1 → 0.15.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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -114,7 +114,8 @@ a time. `Connect.rejectedField` names the one field a rejection was about.
114
114
  ## Adding a domain
115
115
 
116
116
  `Connect.useZones` lists every zone the workspace's accounts reach, `Connect.useAccounts` adds
117
- another account without naming a domain, and `Connect.useDomainField` turns a text input into a
117
+ another account without naming a domain and lists the ones already connected, each with the
118
+ `label` the provider gave it (`null` when the provider named none), and `Connect.useDomainField` turns a text input into a
118
119
  combobox over those zones: it returns `inputProps`, `listboxProps`, and `optionProps`, moves the
119
120
  highlight with the arrow keys, and completes on Tab or Enter while keeping whatever subdomain was
120
121
  typed in front of the zone.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domainkit/react",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "Headless React hooks for custom-domain setup",
5
5
  "keywords": [
6
6
  "custom-domains",
@@ -43,7 +43,7 @@
43
43
  "typecheck": "tsc --noEmit"
44
44
  },
45
45
  "dependencies": {
46
- "domainkit": "^0.14.0"
46
+ "domainkit": "^0.15.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@testing-library/react": "16.3.1",