@libs-ui/components-buttons-dropdown 0.2.357-0 → 0.2.357-1
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 +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -180,9 +180,9 @@ import { LibsUiComponentsButtonsDropdownComponent } from '@libs-ui/components-bu
|
|
|
180
180
|
})
|
|
181
181
|
export class ActionMenuComponent {
|
|
182
182
|
readonly actionItems = [
|
|
183
|
-
{ key: 'edit', label: 'Chỉnh sửa', classIconLeft: 'libs-ui-icon-edit' },
|
|
183
|
+
{ key: 'edit', label: 'Chỉnh sửa', classIconLeft: 'libs-ui-icon-edit-line' },
|
|
184
184
|
{ key: 'duplicate', label: 'Nhân bản', classIconLeft: 'libs-ui-icon-copy' },
|
|
185
|
-
{ key: 'delete', label: 'Xóa', classIconLeft: 'libs-ui-icon-
|
|
185
|
+
{ key: 'delete', label: 'Xóa', classIconLeft: 'libs-ui-icon-remove' },
|
|
186
186
|
];
|
|
187
187
|
|
|
188
188
|
handlerSelectAction(event: Event, action: { key: string; label: string }): void {
|
|
@@ -318,7 +318,7 @@ export class ParentComponent {
|
|
|
318
318
|
|---|---|---|---|---|
|
|
319
319
|
| `[applyNow]` | `boolean` | `false` | `true`: emit ngay khi chọn item; `false`: tách nút mở menu và nút Apply | `[applyNow]="true"` |
|
|
320
320
|
| `[classIconLeft]` | `string` | `''` | Class icon hiển thị bên trái label trên button chính | `classIconLeft="libs-ui-icon-filter"` |
|
|
321
|
-
| `[classIconRight]` | `string` | `'libs-ui-icon-move-right rotate-[90deg]'` | Class icon mũi tên bên phải trên nút toggle menu (chế độ `applyNow=false`) | `classIconRight="libs-ui-icon-chevron-
|
|
321
|
+
| `[classIconRight]` | `string` | `'libs-ui-icon-move-right rotate-[90deg]'` | Class icon mũi tên bên phải trên nút toggle menu (chế độ `applyNow=false`) | `classIconRight="libs-ui-icon-chevron-right"` |
|
|
322
322
|
| `[classInclude]` | `string` | `''` | Class CSS bổ sung cho button | `classInclude="w-full"` |
|
|
323
323
|
| `[classIncludeContainer]` | `string` | `undefined` | Class CSS bổ sung cho div container bọc ngoài | `classIncludeContainer="flex-1"` |
|
|
324
324
|
| `[classLabel]` | `string` | `''` | Class CSS cho label text trên button | `classLabel="libs-ui-font-h5m"` |
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-buttons-dropdown",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
|
-
"@libs-ui/components-buttons-button": "0.2.357-
|
|
8
|
-
"@libs-ui/components-popover": "0.2.357-
|
|
9
|
-
"@libs-ui/utils": "0.2.357-
|
|
7
|
+
"@libs-ui/components-buttons-button": "0.2.357-1",
|
|
8
|
+
"@libs-ui/components-popover": "0.2.357-1",
|
|
9
|
+
"@libs-ui/utils": "0.2.357-1",
|
|
10
10
|
"@ngx-translate/core": "^15.0.0"
|
|
11
11
|
},
|
|
12
12
|
"sideEffects": false,
|