@aseansc/ui 5.6.0 → 5.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 +18 -0
- package/fesm2022/aseansc-ui.mjs +173 -25
- package/fesm2022/aseansc-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/layout/_main.scss +19 -19
- package/types/aseansc-ui.d.ts +42 -10
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ All notable changes to `@aseansc/ui` (trước đây `@asc/ui`) are documented h
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [5.7.0] — 2026-10-30
|
|
8
|
+
|
|
9
|
+
Bộ icon thao tác dựng sẵn theo thiết kế (duyệt, xem, sửa, xóa, tìm kiếm).
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- **`AscSvgIconComponent`** (`<asc-svg-icon name="approve | view | edit | delete | search" />`): SVG inline (không fetch HTTP), `fill="currentColor"`, mặc định 20px.
|
|
14
|
+
- **`resolveAscBuiltinIcon()`**, **`ASC_BUILTIN_ICONS`**, type **`AscBuiltinIconName`**.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **`AscTable`**: action `icon` nhận tên icon dựng sẵn (`'approve' | 'view' | 'edit' | 'delete'`); class PrimeIcons cũ (`pi-check`, `pi-eye`, `pi-pencil`, `pi-trash`) tự đổi sang icon mới. Áp cho nút inline và menu dropdown. Màu: Icon/primary, xóa Icon/error, disabled Icon/disabled.
|
|
19
|
+
- **`AscTable`**: ô search toolbar dùng icon search mới (Icon/secondary).
|
|
20
|
+
- **`AscSelect`**: ô lọc trong panel (single + multi) dùng icon search mới.
|
|
21
|
+
- **`AscInput`**: `icon="search"` hoặc `icon="pi pi-search"` dùng icon search mới (Icon/secondary).
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
7
25
|
## [5.6.0] — 2026-10-29
|
|
8
26
|
|
|
9
27
|
Đồng bộ màu và giao diện component theo Figma "Thư viện Hệ thống nội bộ" (export Alias light/dark).
|