@domainkit/react 0.22.0 → 0.23.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/README.md +2 -1
- package/dist/index.d.mts +138 -939
- package/dist/index.mjs +28 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -145,7 +145,8 @@ another account without naming a domain and lists the ones already connected, ea
|
|
|
145
145
|
`label` the provider gave it (`null` when the provider named none), and `Connect.useDomainField` turns a text input into a
|
|
146
146
|
combobox over those zones: it returns `inputProps`, `listboxProps`, and `optionProps`, moves the
|
|
147
147
|
highlight with the arrow keys, and completes on Tab or Enter while keeping whatever subdomain was
|
|
148
|
-
typed in front of the zone.
|
|
148
|
+
typed in front of the zone. Zones that already hold the typed name are offered on their own, deepest
|
|
149
|
+
first. A finished name that no connected zone holds offers nothing.
|
|
149
150
|
|
|
150
151
|
```tsx
|
|
151
152
|
const { zones } = Connect.useZones();
|