Skip to content

Releases: OpenNSW/ui-packages

jsonforms-renderers-v0.17.0

Choose a tag to compare

@lokewate lokewate released this 26 Oct 04:50
c2bf7df

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 disposition your backend reports ('inline' or 'attachment') from getDownloadUrl. 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.

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 marked data-empty-answer.
  • 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 new contentsLinks.

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

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 21 Oct 17:48
ae7133f

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 from options.summary (and summaryDetail), that opens in a dialog to view or edit. Add Item opens the same dialog, and Cancel discards the new item. options.totals adds running totals above any list.

Full Changelog: jsonforms-renderers-v0.15.0...jsonforms-renderers-v0.16.0

jsonforms-renderers-v0.15.0

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 21 Oct 16:23
b5507fb

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

Choose a tag to compare

@lokewate lokewate released this 21 Oct 07:05
32ebf27

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

  • fix(jsonforms-renderers): store a cleared text field as no value by @lokewate in #126

Full Changelog: jsonforms-renderers-v0.13.0...jsonforms-renderers-v0.14.0

jsonforms-renderers-v0.13.0

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 16 Oct 09:31
996de34

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

Full Changelog: jsonforms-renderers-v0.12.0...jsonforms-renderers-v0.13.0

jsonforms-renderers-v0.12.0

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 12 Oct 08:00
3d9150b

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 to is 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.
  • feat(xml-export)!: output date format and decimals on export by @sthanikan2000 in #87
    • What to change:
      • On export, format is now the date format written to the XML, not only a parse format for the form's value. Check that each exported date field's format is the output format you want.
      • format without as: "date" is now an error in both directions, and so is decimals on import. Add as: "date" or remove format, and remove decimals from import configs.

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

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 12 Oct 08:47
b0ba03e

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 its LICENSE (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.

Full Changelog: auth-v0.1.0...auth-v0.1.1

jsonforms-renderers-v0.11.0

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 25 Sep 11:23
577131f

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

Full Changelog: jsonforms-renderers-v0.10.0...jsonforms-renderers-v0.11.0

jsonforms-renderers-v0.10.0

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 21 Sep 09:21
509fd3f

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

Choose a tag to compare

@sthanikan2000 sthanikan2000 released this 15 Sep 09:36
938a477

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