Skip to content

Latest commit

 

History

History
103 lines (56 loc) · 4.84 KB

File metadata and controls

103 lines (56 loc) · 4.84 KB

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

  • Upgrade @promaster-sdk/property package to 6.0.0.

Changed

  • Remove readonly and optional arrays of property names and instead include boolean properties on the PropertyInfo object for isReadonly and isOptional, see PR #41.
  • Change the API of the properties-selector so that instead of sending a dictionary of property formats, you send in a callback that will provide the format for a property, see PR #40.
  • Removed fieldName prop, see PR #39.
  • Reworked amount selector, see PR #42.

Added

  • React as peer dependency.

Changed

  • Moved all legacy component based selectors to the @promaster-sdk/react-properties-selector package. Legacy applications must now reference those selectors from that package instead.

Added

  • useAmountFormatSelector() better compability with in material-ui by not relying on select.selectedIndex. v8.0.0 Changed Added generic DiscretePropertySelector hooks and removed specific hooks for Checkbox, Combobox, ImageCombo, RadioGroup. All discrete selectors now share a single hook. Move hook for usePropertiesSelector from package react-properties-selector to package react-property-selectores. Now all hooks are in the same package and the react-properties-selector package is deprecated. You can pass any items to the hooks. It now uses callbacks to extract data from your items. This means you can use any extra data you want in the items and use that during rendering. v7.0.0 - 2020-10-15 Added Added hooks-based property-selectors. See PR #23. The component based property-selectors and properties-selector are deprecated and will be removed in a future major release. v6.0.0 - 2020-10-10 Changed Upgrade uom packcage. Using unitlookup function instead of unit map. v5.0.0 - 2020-01-09 Changed Upgrade uom package to 4.0.0. v4.0.3 - 2019-11-28 Fixed Include src/ folder in npm package so source maps work correctly in for example webpack. v4.0.2 - 2019-11-07 Fixed Add missing parameter for UnitMap. v4.0.0 - 2019-11-05 Changed Upgrade uom package to 3.0.0. Passing explicit UnitMap and UnitFormatMap is now required. Added Added custom units prop to AmountFormatSelector and AmountPropertySelector. v3.5.0 - 2019-10-18 License changed to MIT. v3.4.1 - 2019-03-08 Added More tests v3.3.1 - 2018-05-08 Initial release.