@zambon-dev/ui 1.9.0 → 1.11.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 +31 -1
- package/fesm2022/zambon-dev-ui-framework.mjs +3 -1
- package/fesm2022/zambon-dev-ui-framework.mjs.map +1 -1
- package/fesm2022/zambon-dev-ui-library.mjs +151 -18
- package/fesm2022/zambon-dev-ui-library.mjs.map +1 -1
- package/i18n/framework/en.json +2 -0
- package/i18n/framework/pt.json +2 -0
- package/package.json +11 -5
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/index.js +238 -0
- package/schematics/ng-add/providers.js +41 -0
- package/schematics/ng-add/schema.json +16 -0
- package/schematics/package.json +3 -0
- package/types/zambon-dev-ui-library.d.ts +96 -1
package/CHANGELOG.md
CHANGED
|
@@ -27,6 +27,34 @@ packages are listed under [Package history](#package-history) at the end.
|
|
|
27
27
|
|
|
28
28
|
### ⚠ Breaking Changes / Migration
|
|
29
29
|
|
|
30
|
+
## [1.11.0] - 2026-12-06
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
|
|
34
|
+
- `ng add @zambon-dev/ui` sets the package up in a standalone application. It installs the peer
|
|
35
|
+
dependencies, Tailwind CSS 4 and Font Awesome, and creates `.postcssrc.json`. It adds the global
|
|
36
|
+
stylesheets and the translation assets to `angular.json`, and the dark-theme script to
|
|
37
|
+
`index.html`. It also adds the HTTP client, translations, startup language and grid providers to
|
|
38
|
+
the application config. Running it twice changes nothing. An NgModule application is refused, and
|
|
39
|
+
nothing is changed. The shell providers that need your own values (API URL, JWT options, sidebar
|
|
40
|
+
service, routes) are printed as next steps.
|
|
41
|
+
|
|
42
|
+
## [1.10.0] - 2026-12-05
|
|
43
|
+
|
|
44
|
+
### Added
|
|
45
|
+
|
|
46
|
+
- Ctrl+C, or Cmd+C on a Mac, on a focused `lib-data-grid` row copies rows as tab-separated text, one line per row, ready to paste into a spreadsheet. A multi-select grid with ticked rows copies those; otherwise the focused row. Cells are copied as they show: typed columns formatted, `enum` and `badge` values translated, booleans as their screen-reader text. `actions` and hidden columns are left out. Without the Clipboard API the keys do nothing, and a text selection is left to the browser's own copy. Screen readers hear the new `copiedText` and `copiedRowText` settings ("Copied {{ count }} rows" and "Copied 1 row", or the framework keys `Grid-Copied` and `Grid-CopiedRow`, in English and Portuguese).
|
|
47
|
+
- The new `density` grid setting takes `comfortable` (the default, as before) or `compact`, which uses 32px rows, a slimmer header and tighter cells. A `rowHeight` other than the default 41.6px still wins. `DataGridDataset.effectiveRowHeight` gives the height in use, and `DEFAULT_GRID_ROW_HEIGHT`, `COMPACT_GRID_ROW_HEIGHT` and `DataGridDensity` are exported.
|
|
48
|
+
- The new `pinFirstColumn` grid setting keeps the first visible column, and the selection column of a multi-select grid, in place while the grid scrolls sideways, with a line where the pinned part ends. Default `false`.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- The text in `lib-data-grid` cells can now be selected and copied. The header, the selection checkboxes and the action buttons stay unselectable. A click that ends a text selection no longer selects or focuses the row, and a double click still opens the record without selecting a word.
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
|
|
56
|
+
- When the `lib-data-grid` columns are wider than the grid, the horizontal scrollbar no longer covers half of the last row, and a few rows no longer get a vertical scrollbar. The grid grows by the scrollbar's height.
|
|
57
|
+
|
|
30
58
|
## [1.9.0] - 2026-12-05
|
|
31
59
|
|
|
32
60
|
### Added
|
|
@@ -2818,7 +2846,9 @@ URL) in `AppConfig`, and implement a hub that pushes the notification list to cl
|
|
|
2818
2846
|
available via [GitHub Releases](https://github.com/RicardoZambon/ZLibraries/releases) and the
|
|
2819
2847
|
`shared-v*` tags.
|
|
2820
2848
|
|
|
2821
|
-
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.
|
|
2849
|
+
[Unreleased]: https://github.com/RicardoZambon/ZLibraries/compare/ui-v1.11.0...HEAD
|
|
2850
|
+
[1.11.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.11.0
|
|
2851
|
+
[1.10.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.10.0
|
|
2822
2852
|
[1.9.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.9.0
|
|
2823
2853
|
[1.8.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.8.0
|
|
2824
2854
|
[1.7.0]: https://github.com/RicardoZambon/ZLibraries/releases/tag/ui-v1.7.0
|
|
@@ -5660,7 +5660,9 @@ var FrameworkGridConfigsProvider = class FrameworkGridConfigsProvider extends Da
|
|
|
5660
5660
|
booleanFalseText: "Grid-No",
|
|
5661
5661
|
columnChooserText: "Grid-Columns",
|
|
5662
5662
|
resetColumnsText: "Grid-ResetColumns",
|
|
5663
|
-
resizeColumnText: "Grid-ResizeColumn"
|
|
5663
|
+
resizeColumnText: "Grid-ResizeColumn",
|
|
5664
|
+
copiedText: "Grid-Copied",
|
|
5665
|
+
copiedRowText: "Grid-CopiedRow"
|
|
5664
5666
|
});
|
|
5665
5667
|
}
|
|
5666
5668
|
static ɵfac = i0.ɵɵngDeclareFactory({
|