Changelog - 4.5.0 Betas

4.5.0-beta.6 (02/06/2020)

Features

  • components/datepicker - FRM-1255

    • You can now type in the Datepicker field

      • If value is invalid, the field will be cleared

    • Date selecion overlay is shown only when clicking the icon

      • Selecting a date will close it, but selecting a time won’t

    • Re-added readonly property

  • components/grid - FRM-1238

    • Added filterOptions.useField to column settings

      • Allows you to override which field will be used when filtering the column (not affected by filterFieldFormat)

  • components/dialog - FRM-1261

    • vs-dialog can now be used inside regular Angular Material dialogs

  • components/layout - FRM-1260

    • vs-layout will no longer fill 100% height by default

    • Added fill attribute to make vs-layout fill 100% height

      • Usage: <vs-layout fill> ... </vs-layout>

  • components/form - FRM-1259

    • nested attribute can now be added to nested components to force margin removal when it can’t be done automatically

      • Usage: <vs-form> <form> <element nested></element> </form> </vs-form>

  • other - FRM-1258

    • Angular Material dialogs now have a minimum width

Bug Fixes

  • components/dialog - FRM-1258

    • vs-dialog will now always respect width set in options

4.5.0-beta.5 (01/06/2020)

Breaking Changes

  • components/grid - FRM-1207

    • Removed vs-data-grid, please use vs-grid exclusively from now on

    • Grid import changed from @viasoft/components/grids to @viasoft/components/grid

    • Renamed IVsGridCell to VsGridCell

Features

  • components/grid - FRM-1207

    • Revamped filter UI

      • Added option to customize available and default operators for each column, including custom ones

      • Improved filter accessibility, highlighting columns with applied filters as well as the filter “toggle”

      • Removed the Material Datepicker dependency, meaning you should no longer need to provide a DateAdapter

      • Added “selection” mode

        • Lets you provide the user with a list of options, letting them select one or more items to filter by

      • See filterOptions properties in each column for more info

4.5.0-beta.4 (28/05/2020)

Breaking Changes

  • components/textarea - FRM-1254

    • Removed mask functionality

    • This also fixes a bug where the textarea prevented the user from pressing the UP key

4.5.0-beta.3 (14/05/2020)

Changes

  • components/grid - FRM-1237

    • Changed default tag color in VsGridTagColumn

Bug Fixes

  • common/validators - FRM-1236

    • Fixed CnpjOrCpf validator, allowing empty value


4.5.0-beta.1 (11/05/2020)

Breaking Changes

  • components/layout - FRM-1197

    • Added vs-layout:

      • Read more about it here.

  • components/form - FRM-1197

    • Added vs-form:

      • Dumb component used to provide group-x functionality previously found in vs-form-group;

      • Using a vs-form inside a vs-layout with the solid attribute provides roughly the same functionality as a vs-form-group used to.

  • components/card - FRM-1197

    • Removed VsCardModule and its contents, meaning vs-card, vs-panel, vs-modal, vs-form-group and vs-modal-search no longer exist. Please use vs-layout exclusively from now on.

  • components/data-card - FRM-1197

    • Removed VsDataCardModule and its contents.

  • components/dialog - FRM-1197

    • Refactored dialog to use vs-layout internally, providing much better layout consistency inside dialogs;

    • Removed unused isLoading attribute.

  • components/select-modal-legacy - FRM-1197

    • Refactored modal to use vs-layout internally.

  • components/select-modal - FRM-1197

    • Refactored modal to use vs-layout internally.