@zambon-dev/ui 1.6.1 → 1.7.0

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.
package/CHANGELOG.md CHANGED
@@ -27,6 +27,15 @@ packages are listed under [Package history](#package-history) at the end.
27
27
 
28
28
  ### ⚠ Breaking Changes / Migration
29
29
 
30
+ ## [1.7.0] - 2026-12-05
31
+
32
+ ### Added
33
+
34
+ - `lib-data-grid` columns can name a `type`: `text`, `number`, `currency`, `percent`, `date`, `datetime`, `boolean`, `enum` or `badge`. The grid then formats the value in the application's language, and again when the language changes. Columns without a type show the value as before, and a column's `template` still wins.
35
+ - New column props for the types: `decimals`, `minDecimals`, `currency`, `utc` (a UTC value without a zone marker, shown in the user's time zone; a date with no time is kept on its day), `enumValues`, `badgeIntents`, and `trueText`/`falseText` (text for screen readers in a boolean cell). Boolean cells without their own texts use the new grid settings `booleanTrueText`/`booleanFalseText` ("Yes"/"No", or the framework keys `Grid-Yes`/`Grid-No`). A total of 1 uses `totalRowText` (`Grid-TotalRow`).
36
+ - Grid columns take an `align` prop: `start`, `center` or `end`. Number, currency and percent columns default to `end` and use tabular figures; boolean columns default to `center`. The header follows the cells.
37
+ - The `showTotalRows` grid setting shows the total number of records under the rows when `getData` returns `{ items, totalRows }`. `totalRowsText` sets the text, with a `{{ count }}` placeholder. The framework's grid settings use the new `Grid-TotalRows` key, in English and Portuguese.
38
+
30
39
  ## [1.6.1] - 2026-12-05
31
40
 
32
41
  ### Fixed
@@ -2768,7 +2777,8 @@ URL) in `AppConfig`, and implement a hub that pushes the notification list to cl
2768
2777
  available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
2769
2778
  `shared-v*` tags.
2770
2779
 
2771
- [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.6.1...HEAD
2780
+ [Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.7.0...HEAD
2781
+ [1.7.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.7.0
2772
2782
  [1.6.1]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.6.1
2773
2783
  [1.6.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.6.0
2774
2784
  [1.5.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.5.0
@@ -5638,7 +5638,11 @@ var FrameworkGridConfigsProvider = class FrameworkGridConfigsProvider extends Da
5638
5638
  loadingDisplayText: "Grid-Loading",
5639
5639
  messageOnEmpty: "Grid-Message-Empty",
5640
5640
  messageOnFailed: "Grid-Message-Failed",
5641
- messageOnLazyLoad: "Grid-Message-LazyLoad"
5641
+ messageOnLazyLoad: "Grid-Message-LazyLoad",
5642
+ totalRowsText: "Grid-TotalRows",
5643
+ totalRowText: "Grid-TotalRow",
5644
+ booleanTrueText: "Grid-Yes",
5645
+ booleanFalseText: "Grid-No"
5642
5646
  });
5643
5647
  }
5644
5648
  static ɵfac = i0.ɵɵngDeclareFactory({