@libs-ui/components-buttons-select-color 0.2.357-0 → 0.2.357-10
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 +2 -10
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ export class MyComponent {
|
|
|
128
128
|
```html
|
|
129
129
|
<!-- template.html -->
|
|
130
130
|
<libs_ui-components-buttons-select_color
|
|
131
|
-
[button]="{ label: 'Pick Color', type: 'button-secondary', classIconLeft: 'libs-ui-icon-color-
|
|
131
|
+
[button]="{ label: 'Pick Color', type: 'button-secondary', classIconLeft: 'libs-ui-icon-editor-color-background' }"
|
|
132
132
|
[customOptions]="customOptions"
|
|
133
133
|
[applyNow]="true"
|
|
134
134
|
(outColorChange)="handlerColorChange($event)"
|
|
@@ -203,7 +203,7 @@ export class MyComponent {
|
|
|
203
203
|
```html
|
|
204
204
|
<!-- template.html -->
|
|
205
205
|
<libs_ui-components-buttons-select_color
|
|
206
|
-
[button]="{ classIconLeft: 'libs-ui-icon-color-
|
|
206
|
+
[button]="{ classIconLeft: 'libs-ui-icon-editor-color-background', iconOnlyType: true }"
|
|
207
207
|
[direction]="'top'"
|
|
208
208
|
[applyNow]="true"
|
|
209
209
|
(outColorChange)="handlerColorChange($event)"
|
|
@@ -402,11 +402,3 @@ export interface IButton {
|
|
|
402
402
|
⚠️ **Z-index khi dùng trong modal/dialog**: Default z-index là `1200`. Khi component nằm bên trong modal hoặc dialog có z-index cao hơn, cần tăng `[(zIndex)]` lên tương ứng để popover hiển thị đúng trên cùng.
|
|
403
403
|
|
|
404
404
|
⚠️ **Cleanup tự động**: Component tự gọi `removePopoverOverlay()` trong `ngOnDestroy`. Không cần cleanup thủ công ở component cha.
|
|
405
|
-
|
|
406
|
-
## Demo
|
|
407
|
-
|
|
408
|
-
```bash
|
|
409
|
-
npx nx serve core-ui
|
|
410
|
-
```
|
|
411
|
-
|
|
412
|
-
Truy cập: http://localhost:4500/buttons/select-color
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libs-ui/components-buttons-select-color",
|
|
3
|
-
"version": "0.2.357-
|
|
3
|
+
"version": "0.2.357-10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": ">=18.0.0",
|
|
6
|
-
"@libs-ui/components-buttons-button": "0.2.357-
|
|
7
|
-
"@libs-ui/components-color-picker": "0.2.357-
|
|
8
|
-
"@libs-ui/components-popover": "0.2.357-
|
|
6
|
+
"@libs-ui/components-buttons-button": "0.2.357-10",
|
|
7
|
+
"@libs-ui/components-color-picker": "0.2.357-10",
|
|
8
|
+
"@libs-ui/components-popover": "0.2.357-10",
|
|
9
9
|
"@ngx-translate/core": "^15.0.0"
|
|
10
10
|
},
|
|
11
11
|
"sideEffects": false,
|