@aseansc/ui 5.5.0 → 5.5.2
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 +32 -0
- package/fesm2022/aseansc-ui.mjs +1156 -1099
- package/fesm2022/aseansc-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/tokens/_semantic.scss +2 -0
- package/tokens/layout/_main.scss +19 -19
- package/tokens/layout/_menu.scss +171 -171
- package/tokens/preset.css +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,38 @@ All notable changes to `@aseansc/ui` (trước đây `@asc/ui`) are documented h
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [5.5.2] — 2026-10-20
|
|
8
|
+
|
|
9
|
+
Chiều cao select/input, nền layout/table, tag theo Figma.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **`AscSelect`**: có `label` mà không float thì mất chiều cao theo size (rơi về mặc định PrimeNG, ~33–34px) — bỏ điều kiện `--labeled` khỏi rule size. `.p-select-label` hardcode `height: var(--asc-h-*)`.
|
|
14
|
+
- **`AscSelect` / `AscInput`**: chiều cao theo thang `--asc-h-*` (xs 24 / sm 36 / md 40 / lg 48 / xl 56) áp cả khi `floatLabel` (variant `on` / `over`). Variant `in` giữ chiều cao PrimeNG tự tính (label nằm trong control). Host thêm class `asc-select--float-in` / `asc-input--float-in`.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Token mới `--asc-surface-translucent`**: light `rgba(255, 255, 255, 0.95)`, dark `rgba(40, 40, 41, 0.95)`.
|
|
19
|
+
- `.layout-main`, `.layout-sidebar` dùng token này (trước `--asc-surface-base`).
|
|
20
|
+
- `AscTable`: header (`thead th`) dùng token này; body (`--p-datatable-row-background`) và footer nền đặc `--asc-surface-base`.
|
|
21
|
+
- **Tag** (`p-tag` — `AscBadge`, cột badge của `AscTable`):
|
|
22
|
+
- Chung: **12px / 18px / 400**, padding **4px 8px**, radius **8px**.
|
|
23
|
+
- success `#22C55E` / `#F0FDF4`, warn `#EAB308` / `#FEFCE8`, secondary `#5B5B5C` / `#F2F3F5`.
|
|
24
|
+
- Token đặt ở `root` thay vì `extend` (`extend` trước đây không override token Aura nên không có tác dụng).
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## [5.5.1] — 2026-10-16
|
|
29
|
+
|
|
30
|
+
Sửa cảnh báo NG01354 của Angular 22.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- `[ngModel]` nội bộ của các control giờ khai báo `[ngModelOptions]="{ standalone: true }"`, nên không còn cảnh báo **NG01354** (dev mode) khi control nằm trong `[formGroup]` của app. Hành vi không đổi: các `ngModel` này vốn đã không đăng ký vào form cha.
|
|
35
|
+
- Áp dụng cho: `AscInput`, `AscInputMask`, `AscSelect`, `AscDatepicker`, `AscPassword`, `AscInputNumber`, `AscCheckbox`, `AscRadio`, `AscSelectButton`, `AscTextarea`, `AscToggleSwitch`, `AscAutoComplete`, `AscTable` (global filter, chọn cột, checkbox nhóm).
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
7
39
|
## [5.5.0] — 2026-10-13
|
|
8
40
|
|
|
9
41
|
Breadcrumb theo Figma Breadcrumb.
|