@wildwinter/toolkit 0.2.6 → 0.2.7

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/extensions.md CHANGED
@@ -87,8 +87,8 @@ reads: ["patterstage"],
87
87
  }
88
88
  ```
89
89
 
90
- - `label`, `help`, `valueHelp` (one sentence per enum or flags value or quality stage) and `group` are for the
91
- editor, and never reach a bundle.
90
+ - `label`, `help`, `valueHelp` (one sentence per enum or flags value, quality stage, or a pick's fixed word) and
91
+ `group` are for the editor, and never reach a bundle.
92
92
  - `required`, `min` and `max` (numbers only) are validation.
93
93
  - `editorOnly` is allowed on a target's own fields only, not inside a record.
94
94
 
@@ -152,6 +152,8 @@ A pick is a single choice whose choices come from sources the manifest names, in
152
152
  Empty is automatic: no word for it is stored, and an editor shows it as "auto". A pick isn't an `enum` whose values
153
153
  change: an enum's values are fixed and checked against the manifest, a pick's are the project's.
154
154
 
155
+ `valueHelp` may describe a pick's fixed `words`, never its nodes or lists, which are the project's.
156
+
155
157
  `valueProblems` reports a value no source holds (`not-a-choice`, an error), given the host's nodes (`exists`) and
156
158
  lists (`list`) in its context; a source it can't see is not checked, so a value is reported missing only when every
157
159
  source can say. A value two sources hold is ambiguous (`pick-ambiguous`, a warning), and `pickClashes` reports each
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildwinter/toolkit",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Small shared pieces of the authoring tooling: opaque ids, a stable hash, JSON5 source parsing, find/replace matching, the archive guards, and (in ./extensions) the spec and merge for Patter extensions and Storylet extensions. Nothing here runs in a game.",
5
5
  "type": "module",
6
6
  "license": "MIT",