@aseansc/ui 4.0.1 → 4.1.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 +19 -0
- package/fesm2022/aseansc-ui.mjs +75 -20
- package/fesm2022/aseansc-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/layout/_menu.scss +1 -0
- package/tokens/preset.css +1 -0
- package/types/aseansc-ui.d.ts +16 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,25 @@ All notable changes to `@aseansc/ui` (trước đây `@asc/ui`) are documented h
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [4.1.0] — 2026-09-23
|
|
8
|
+
|
|
9
|
+
Port các thay đổi từ `@aseansc-admin/ui` 2.11.1 → 2.12.0.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **`AscMenuItem` — `iconSize` / `iconWidth` / `iconHeight`**: cấu hình kích thước icon của menu item trong `AscLayout`. `iconSize` áp cho cả width lẫn height (icon SVG) hoặc `font-size` (icon PrimeIcons); `iconWidth` / `iconHeight` ghi đè riêng từng chiều, dùng cho icon không vuông. `AscMenuItem.items` giờ được type là `AscMenuItem[]`.
|
|
14
|
+
- **`AscIconComponent` — input `width` / `height`**: ghi đè riêng chiều rộng/cao, ưu tiên hơn `size`.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `AscTableComponent`: `showFirstLastIcon` (nút về trang đầu/cuối trên paginator) đổi default từ `false` sang `true` — trước đây phải opt-in từng bảng dù đa số muốn có sẵn.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **`AscTableComponent`**: bỏ `overflow: hidden` ở `.asc-table-wrapper` và bỏ `margin-left` của nút prev trong pagination.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
7
26
|
## [4.0.1] — 2026-09-10
|
|
8
27
|
|
|
9
28
|
### Fixed
|