Repository navigation
Releases: OpenNSW/ui-packages
Releases · OpenNSW/ui-packages
Release list
jsonforms-renderers-v0.17.0
What's Changed
Breaking Changes
- fix(jsonforms-renderers)!: open a saved file only when the server says it may open inline by @sthanikan2000 in #140
- What to change: return the
dispositionyour backend reports ('inline'or'attachment') fromgetDownloadUrl. Without it, View downloads every saved file instead of opening it in a tab. - The tab View opens no longer keeps a reference to the page that opened it. A file you have just uploaded is previewed only if it is an image the browser can show, a PDF or plain text.
- What to change: return the
New Features
- feat(jsonforms-renderers): a lock on read-only fields in an editable form by @lokewate in #141
- Read-only text, number, date and search-select fields in an otherwise editable form now end with a lock icon, so they can't be mistaken for fields to type in. Read-only forms and a stepper's review step show no lock. Where values read as answers, an empty field now says "Not provided" (
form.notProvided) and is markeddata-empty-answer.
- Read-only text, number, date and search-select fields in an otherwise editable form now end with a lock icon, so they can't be mistaken for fields to type in. Read-only forms and a stepper's review step show no lock. Where values read as answers, an empty field now says "Not provided" (
- feat(jsonforms-renderers): a contents list for read-only stepper forms by @lokewate in #142
- A read-only stepper form now lists its sections at its side (a "Jump to section" menu on narrow screens). Choosing one scrolls to it, and the section being read is marked. Hosts can add their own entries with
FormStepsProvider's newcontentsLinks.
- A read-only stepper form now lists its sections at its side (a "Jump to section" menu on narrow screens). Choosing one scrolls to it, and the section being read is marked. Hosts can add their own entries with
Bug Fixes
- fix(jsonforms-renderers): spell array row numbers and custom labels by @ginaxu1 in #137
- An array control can label its rows "Attachment One", set its own add button and empty state, and rename or hide its heading with the control label.
- fix(jsonforms-renderers): flag a step whose required group is not started yet by @lokewate in #138
- The stepper now stops the trader on any step with a required field in a group they haven't started yet. Before, the trader only found out at submit.
Full Changelog: jsonforms-renderers-v0.16.0...jsonforms-renderers-v0.17.0
jsonforms-renderers-v0.16.0
What's Changed
New Features
- feat(jsonforms-renderers): show list items as cards, with running totals (#131) by @lokewate in #135
- A list with
options.display: "cards"shows each item as a one-line card, built fromoptions.summary(andsummaryDetail), that opens in a dialog to view or edit. Add Item opens the same dialog, and Cancel discards the new item.options.totalsadds running totals above any list.
- A list with
Full Changelog: jsonforms-renderers-v0.15.0...jsonforms-renderers-v0.16.0
jsonforms-renderers-v0.15.0
What's Changed
Bug Fixes
- fix(jsonforms-renderers): ask before removing a list item or an uploaded file by @lokewate in #130
- fix(jsonforms-renderers): name and View a saved file from what getDownloadUrl reports by @lokewate in #132
- fix(jsonforms-renderers): ask about a saved file only when it is clicked, and keep its name safe by @lokewate in #133
Full Changelog: jsonforms-renderers-v0.14.0...jsonforms-renderers-v0.15.0
jsonforms-renderers-v0.14.0
What's Changed
New Features
- feat(jsonforms-renderers): multi-select SearchSelect for array x-search fields by @ginaxu1 in #111
- feat(jsonforms-renderers): show a Categorization as steps with options.variant "stepper" by @lokewate in #125
Bug Fixes
Full Changelog: jsonforms-renderers-v0.13.0...jsonforms-renderers-v0.14.0
jsonforms-renderers-v0.13.0
What's Changed
New Features
- feat(jsonforms-renderers): SelectControl stores { value, label } for object-typed fields by @chathura-de-silva in #114
Bug Fixes
- fix(jsonforms-renderers): show required asterisk for conditionally required fields by @ginaxu1 in #112
- fix(jsonforms-renderers): show required asterisk and errors on ArrayControl by @ginaxu1 in #118
- fix(jsonforms-renderers): NumberControl honours minimum, exclusiveMinimum and multipleOf by @ginaxu1 in #119
New Contributors
- @chathura-de-silva made their first contribution in #114
Full Changelog: jsonforms-renderers-v0.12.0...jsonforms-renderers-v0.13.0
jsonforms-renderers-v0.12.0
What's Changed
Breaking Changes
- feat(xml-export)!: XML declaration and attributes by @sthanikan2000 in #86
- What to change:
- A path can no longer be written both as a value and as the parent of other values: this now throws instead of silently dropping one of them. It also applies to the importer's nested
writeTo, so fix any config that relied on it. - An empty
tois now rejected. On import it used to replace the whole form. - On export,
@_keys in rows passed through unchanged are now written as XML attributes.
- A path can no longer be written both as a value and as the parent of other values: this now throws instead of silently dropping one of them. It also applies to the importer's nested
- What to change:
- feat(xml-export)!: output date format and decimals on export by @sthanikan2000 in #87
- What to change:
- On export,
formatis now the date format written to the XML, not only a parse format for the form's value. Check that each exported date field'sformatis the output format you want. formatwithoutas: "date"is now an error in both directions, and so isdecimalson import. Addas: "date"or removeformat, and removedecimalsfrom import configs.
- On export,
- What to change:
New Features
- feat(jsonforms-renderers): template and sanitize export file names by @sthanikan2000 in #88
- feat(jsonforms-renderers): View for browser-viewable files, Download named by x-file.fileName by @ginaxu1 in #95
Bug Fixes
- fix(jsonforms-renderers): show search labels after a cancelled resolve by @WebCooper in #96
- fix(jsonforms-renderers): apply rules on layouts by @sthanikan2000 in #98
- jsonforms-renderers: DateControl time picker stores HH:MM:SS by @WebCooper in #101
Full Changelog: jsonforms-renderers-v0.11.0...jsonforms-renderers-v0.12.0
auth-v0.1.1
What's Changed
Other Changes
- docs: shorten npm READMEs and ship LICENSE with each package by @sthanikan2000 in #103
- For
@opennsw/auth: the package now includes itsLICENSE(Apache-2.0), and the README on npm is shorter, with the detailed guide moved to the usage guide in the repository. No API or behaviour change.
- For
Full Changelog: auth-v0.1.0...auth-v0.1.1
jsonforms-renderers-v0.11.0
What's Changed
Breaking Changes
- feat(jsonforms-renderers)!: let x-search.displayTemplate disambiguate duplicate option titles by @WebCooper in #75
New Features
- jsonforms-renderers: add x-search.dependsOn for sibling-filtered lists by @ginaxu1 in #59
- feat(spreadsheet-export): add spreadsheet export button by @sthanikan2000 in #68
- feat(jsonforms-renderers): support itemLabel option on ArrayControl by @WebCooper in #69
- feat(xml-export): add XML export button (writeTo/writeBase) by @sthanikan2000 in #67
- feat(jsonforms-renderers): add a shared template util by @sthanikan2000 in #81
- feat(jsonforms-renderers): number array rows as they are added by @Aravinda-HWK in #73
Improvements
- jsonforms-renderers: let x-search.dependsOn map several siblings by @ginaxu1 in #72
- x-xml: support nested writeTo for repeating elements by @sthanikan2000 in #77
- x-xml-export: document and test nested writeTo for array reshape by @sthanikan2000 in #79
New Contributors
- @ginaxu1 made their first contribution in #59
- @WebCooper made their first contribution in #69
- @Aravinda-HWK made their first contribution in #73
Full Changelog: jsonforms-renderers-v0.10.0...jsonforms-renderers-v0.11.0
jsonforms-renderers-v0.10.0
What's Changed
Breaking Changes
- feat(spreadsheet)!: pin record keys to declared columns/rows, positionally by @sthanikan2000 in #63
New Features
- jsonforms-renderers(select): add options.autocomplete for a type-to-filter combobox by @mushrafmim in #62
Improvements
- perf(spreadsheet): load @e965/xlsx on demand instead of at import time by @sthanikan2000 in #47
- fix(renderers): stop naming the same file format two or three times by @sthanikan2000 in #53
Bug Fixes
- fix(renderers): clear a field by removing it, not by writing null by @sthanikan2000 in #43
Full Changelog: jsonforms-renderers-v0.9.0...jsonforms-renderers-v0.10.0
jsonforms-renderers-v0.9.0
What's Changed
- jsonforms-renderers(xml): add XmlControl for uploading and parsing XML documents by @sthanikan2000 in #46
- jsonforms-renderers(spreadsheet): evaluate whatever sheet is in the field, however it got there by @sthanikan2000 in #54
- jsonforms-renderers(xml): fill a form from one upload with x-xml.writeTo by @sthanikan2000 in #55
Full Changelog: jsonforms-renderers-v0.8.0...jsonforms-renderers-v0.9.0