@tristan2828/ui-foundation 3.16.0 → 3.16.1

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.
@@ -104,7 +104,11 @@ is a filled-in example while the Widgets demo is still here).
104
104
  its "List" column, toolbar filters from its "Filter" column, form fields
105
105
  and labels from its field table, and field types by pattern (a
106
106
  `reference` field copies Category's searchable combobox, a
107
- `single choice` copies Status's select, a `date-time` copies
107
+ `single choice` copies Status's select — each option shows its label,
108
+ never its wire value, from one `Record<value, label>`
109
+ (`WIDGET_STATUS_LABELS`) read by the options, the trigger (through
110
+ `<SelectValue>`'s children, which otherwise shows the raw value), the
111
+ toolbar filter and every badge — a `date-time` copies
108
112
  Available From's date picker, a `yes/no` copies In Stock — a `Switch`
109
113
  (`@tristan2828/ui-foundation/ui/switch`) in a horizontal `Field` with
110
114
  its label beside it on the form, cell pattern 12 (the word Yes/No) in
@@ -30,7 +30,8 @@ One or two sentences: what one record is, and who uses the screens.
30
30
  `date-time`, `email`, `yes/no` (a boolean that is always yes or no:
31
31
  say its default and the filter's three labels, e.g. Any stock /
32
32
  In stock / Out of stock), `single choice` (list the options, in display
33
- order; see the note below if it is *optional*), `multi choice` (list
33
+ order, with a label for any whose wire value isn't fit to show, as for
34
+ a multi choice; see the note below if it is *optional*), `multi choice` (list
34
35
  the options, with a label for any whose wire value isn't fit to show,
35
36
  e.g. `quick_win` (Quick win); any number can be picked —
36
37
  chips on the form, badges in the table, an any-of filter), `reference`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tristan2828/ui-foundation",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "Shared UI foundation for contract-first, database-backed React apps: shadcn primitives, DataTable/EntityForm composites, auth, the gateway error seam, design tokens, lint rules and the AI playbook.",
5
5
  "license": "MIT",
6
6
  "repository": {