@domainkit/react 0.14.0 → 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.
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/dist/index.d.mts CHANGED
@@ -1300,7 +1300,11 @@ type HostEvidence = Readiness$1["host"][number];
1300
1300
  type Requirement = Readiness$1["requirements"][number];
1301
1301
  type Evidence = Requirement["evidence"][number];
1302
1302
  /** Counts across a readiness's requirements, from the core package. Pure, and total over `null`. */
1303
- declare const summary: (readiness: Verify.Summarisable | null) => Verify.Summary;
1303
+ declare const summary: (readiness: {
1304
+ readonly requirements: ReadonlyArray<{
1305
+ readonly status: import("domainkit/Storage").RequirementStatus;
1306
+ }>;
1307
+ } | null) => Verify.Summary;
1304
1308
  type Summary = Verify.Summary;
1305
1309
  /**
1306
1310
  * What the observer read back for the requirement's name, or `null` when it read nothing back at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domainkit/react",
3
- "version": "0.14.0",
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",