@libs-ui/components-badge 0.2.357-8 → 0.2.357-9
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/README.md +1 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -185,7 +185,7 @@ export class NotificationExampleComponent {
|
|
|
185
185
|
|
|
186
186
|
| Mode | count = 0 | count = 5 | count = 9 | count = 15 | count = 100 | count > maxCount |
|
|
187
187
|
|---|---|---|---|---|---|---|
|
|
188
|
-
| `undefined` (default) |
|
|
188
|
+
| `undefined` (default) | 0 | 5 | 9 | 15 | 100 | — |
|
|
189
189
|
| `'x'` | 0 | 5 | 9 | 15 | 100 | — |
|
|
190
190
|
| `'0x'` | 00 | 05 | 09 | 15 | 100 | — |
|
|
191
191
|
| `'x+'` | 00 | 05 | 09 | 15 | 100 | `99+` |
|
|
@@ -296,11 +296,3 @@ Override màu qua CSS variables:
|
|
|
296
296
|
⚠️ **maxCount chỉ có tác dụng với mode `x+`**: Truyền `[maxCount]` mà không đặt `mode="x+"` sẽ không có hiệu lực.
|
|
297
297
|
|
|
298
298
|
⚠️ **Selector dùng dấu gạch dưới**: Selector của component là `libs_ui-components-badge` (có `_` giữa `libs_ui`). Đây là quy chuẩn của dự án — không dùng `libs-ui-components-badge` sẽ không render được.
|
|
299
|
-
|
|
300
|
-
## Demo
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
npx nx serve core-ui
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
Truy cập: http://localhost:4500/components/badge
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-badge",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=18.0.0",
|
|
6
|
-
"@libs-ui/components-popover": "0.2.357-
|
|
7
|
-
"@libs-ui/utils": "0.2.357-
|
|
6
|
+
"@libs-ui/components-popover": "0.2.357-9",
|
|
7
|
+
"@libs-ui/utils": "0.2.357-9"
|
|
8
8
|
},
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"module": "fesm2022/libs-ui-components-badge.mjs",
|