ngx-vector-components 6.12.0 → 6.13.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/CHANGELOG.md +13 -0
- package/assets/styles/_primeng-custom-theme.scss +16 -12
- package/fesm2022/ngx-vector-components.mjs +5 -3
- package/fesm2022/ngx-vector-components.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +1 -1
- package/lib/components/fields/data-table/data-table.component.d.ts +2 -2
- package/lib/components/fields/text-field/text-field.component.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.13.1] (11/08/2026)
|
|
4
|
+
|
|
5
|
+
### Fix
|
|
6
|
+
|
|
7
|
+
- Fix `stepper.component` broken layout after PrimeNG 19 update: migrated the `p-steps` custom styles on `_primeng-custom-theme.scss` to the renamed classes (`p-highlight` -> `p-steps-item-active`, `p-menu-item-link` -> `p-steps-item-link`, `p-steps-number` -> `p-steps-item-number`, `p-steps-title` -> `p-steps-item-label`);
|
|
8
|
+
- Fix "checked" icon and disabled step state on `stepper.component`, which queried the removed `p-steps-number` class;
|
|
9
|
+
|
|
10
|
+
## [6.13.0] (10/08/2026)
|
|
11
|
+
|
|
12
|
+
### Feat
|
|
13
|
+
|
|
14
|
+
- Added "notexecuted" color (`badge-notexecuted`) for `Status.NOT_EXECUTEDCOUNT` on `badge.component`;
|
|
15
|
+
|
|
3
16
|
## [6.12.0] (04/08/2026)
|
|
4
17
|
|
|
5
18
|
### Fix
|
|
@@ -774,12 +774,13 @@ p-radiobutton.ng-touched.ng-invalid .p-radiobutton-box {
|
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
776
|
|
|
777
|
-
.p-steps .p-steps-item.p-
|
|
777
|
+
.p-steps .p-steps-item.p-steps-item-active {
|
|
778
778
|
background-color: transparent !important;
|
|
779
779
|
|
|
780
|
-
.p-
|
|
780
|
+
.p-steps-item-link .p-steps-item-number {
|
|
781
781
|
color: #fff !important;
|
|
782
782
|
background-color: var(--theme-medium) !important;
|
|
783
|
+
border-color: var(--theme-medium) !important;
|
|
783
784
|
}
|
|
784
785
|
}
|
|
785
786
|
|
|
@@ -791,17 +792,17 @@ p-radiobutton.ng-touched.ng-invalid .p-radiobutton-box {
|
|
|
791
792
|
padding: 0.75rem 1rem !important;
|
|
792
793
|
}
|
|
793
794
|
|
|
794
|
-
.p-steps .p-steps-item:not(.p-
|
|
795
|
-
.p-steps-
|
|
795
|
+
.p-steps .p-steps-item:not(.p-steps-item-active) {
|
|
796
|
+
.p-steps-item-label {
|
|
796
797
|
opacity: 0.4 !important;
|
|
797
798
|
}
|
|
798
799
|
|
|
799
|
-
.p-
|
|
800
|
+
.p-steps-item-link .p-steps-item-number {
|
|
800
801
|
color: var(--theme-medium) !important;
|
|
801
802
|
}
|
|
802
803
|
}
|
|
803
804
|
|
|
804
|
-
.p-steps .p-steps-item .p-steps-
|
|
805
|
+
.p-steps .p-steps-item .p-steps-item-label {
|
|
805
806
|
color: var(--theme-medium) !important;
|
|
806
807
|
}
|
|
807
808
|
|
|
@@ -809,12 +810,14 @@ p-radiobutton.ng-touched.ng-invalid .p-radiobutton-box {
|
|
|
809
810
|
opacity: 1 !important;
|
|
810
811
|
}
|
|
811
812
|
|
|
812
|
-
.p-steps .p-steps-item .p-
|
|
813
|
+
.p-steps .p-steps-item .p-steps-item-link {
|
|
813
814
|
background: transparent !important;
|
|
815
|
+
padding: 0.75rem 1rem !important;
|
|
814
816
|
|
|
815
|
-
.p-steps-number {
|
|
817
|
+
.p-steps-item-number {
|
|
816
818
|
min-width: 2.6rem !important;
|
|
817
819
|
height: 2.6rem !important;
|
|
820
|
+
line-height: 2.6rem !important;
|
|
818
821
|
font-size: 1rem !important;
|
|
819
822
|
border: 2px solid var(--theme-medium) !important;
|
|
820
823
|
}
|
|
@@ -825,29 +828,30 @@ p-radiobutton.ng-touched.ng-invalid .p-radiobutton-box {
|
|
|
825
828
|
}
|
|
826
829
|
|
|
827
830
|
.p-steps ul > li:not(:only-child)::before {
|
|
828
|
-
border: 1px dashed var(--theme-medium) !important;
|
|
831
|
+
border-top: 1px dashed var(--theme-medium) !important;
|
|
829
832
|
}
|
|
830
833
|
|
|
831
834
|
.p-steps .p-steps-item:first-child:before {
|
|
832
835
|
width: 50% !important;
|
|
833
836
|
left: 50% !important;
|
|
837
|
+
transform: none !important;
|
|
834
838
|
}
|
|
835
839
|
|
|
836
840
|
.p-steps .p-steps-item:last-child:before {
|
|
837
841
|
width: 50% !important;
|
|
838
842
|
}
|
|
839
843
|
|
|
840
|
-
.p-steps .p-steps-item.checked .p-steps-
|
|
844
|
+
.p-steps .p-steps-item.checked .p-steps-item-label {
|
|
841
845
|
color: var(--success-color-dark) !important;
|
|
842
846
|
}
|
|
843
847
|
|
|
844
|
-
.p-steps .p-steps-item.checked .p-
|
|
848
|
+
.p-steps .p-steps-item.checked .p-steps-item-link .p-steps-item-number {
|
|
845
849
|
background-color: var(--success-color-dark) !important;
|
|
846
850
|
color: #fff !important;
|
|
847
851
|
border: 2px solid var(--success-color-dark) !important;
|
|
848
852
|
}
|
|
849
853
|
|
|
850
|
-
.p-steps .p-steps-item .p-
|
|
854
|
+
.p-steps .p-steps-item .p-steps-item-link .p-steps-item-number.disabled {
|
|
851
855
|
color: var(--gray-dark) !important;
|
|
852
856
|
border: 2px solid var(--gray-dark) !important;
|
|
853
857
|
}
|
|
@@ -899,15 +899,17 @@ class BadgeComponent {
|
|
|
899
899
|
return 'badge-error';
|
|
900
900
|
case Status.INFO:
|
|
901
901
|
return 'badge-info';
|
|
902
|
+
case Status.NOT_EXECUTEDCOUNT:
|
|
903
|
+
return 'badge-notexecuted';
|
|
902
904
|
}
|
|
903
905
|
return '';
|
|
904
906
|
}
|
|
905
907
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
906
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BadgeComponent, isStandalone: false, selector: "vector-badge", inputs: { type: "type", label: "label", customColor: "customColor", customBackgroundColor: "customBackgroundColor", tooltip: "tooltip" }, ngImport: i0, template: "<div\n class=\"badge\"\n [class]=\"getStatusColor()\"\n [ngStyle]=\"{ 'background-color': customBackgroundColor, color: customColor }\"\n [pTooltip]=\"tooltip || ''\"\n tooltipPosition=\"top\"\n>\n {{ label }}\n</div>\n", styles: [".badge{padding:4px 12px;border-radius:8px;color:#fff}.badge-success{background-color:var(--success-color)}.badge-error{background-color:var(--error-color)}.badge-warning{background-color:var(--warning-color)}.badge-info{background-color:var(--theme-light)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
|
|
908
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: BadgeComponent, isStandalone: false, selector: "vector-badge", inputs: { type: "type", label: "label", customColor: "customColor", customBackgroundColor: "customBackgroundColor", tooltip: "tooltip" }, ngImport: i0, template: "<div\n class=\"badge\"\n [class]=\"getStatusColor()\"\n [ngStyle]=\"{ 'background-color': customBackgroundColor, color: customColor }\"\n [pTooltip]=\"tooltip || ''\"\n tooltipPosition=\"top\"\n>\n {{ label }}\n</div>\n", styles: [".badge{padding:4px 12px;border-radius:8px;color:#fff}.badge-success{background-color:var(--success-color)}.badge-error{background-color:var(--error-color)}.badge-warning{background-color:var(--warning-color)}.badge-info{background-color:var(--theme-light)}.badge-notexecuted{background-color:var(--gray-dark)}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
|
|
907
909
|
}
|
|
908
910
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
909
911
|
type: Component,
|
|
910
|
-
args: [{ standalone: false, selector: 'vector-badge', template: "<div\n class=\"badge\"\n [class]=\"getStatusColor()\"\n [ngStyle]=\"{ 'background-color': customBackgroundColor, color: customColor }\"\n [pTooltip]=\"tooltip || ''\"\n tooltipPosition=\"top\"\n>\n {{ label }}\n</div>\n", styles: [".badge{padding:4px 12px;border-radius:8px;color:#fff}.badge-success{background-color:var(--success-color)}.badge-error{background-color:var(--error-color)}.badge-warning{background-color:var(--warning-color)}.badge-info{background-color:var(--theme-light)}\n"] }]
|
|
912
|
+
args: [{ standalone: false, selector: 'vector-badge', template: "<div\n class=\"badge\"\n [class]=\"getStatusColor()\"\n [ngStyle]=\"{ 'background-color': customBackgroundColor, color: customColor }\"\n [pTooltip]=\"tooltip || ''\"\n tooltipPosition=\"top\"\n>\n {{ label }}\n</div>\n", styles: [".badge{padding:4px 12px;border-radius:8px;color:#fff}.badge-success{background-color:var(--success-color)}.badge-error{background-color:var(--error-color)}.badge-warning{background-color:var(--warning-color)}.badge-info{background-color:var(--theme-light)}.badge-notexecuted{background-color:var(--gray-dark)}\n"] }]
|
|
911
913
|
}], ctorParameters: () => [], propDecorators: { type: [{
|
|
912
914
|
type: Input
|
|
913
915
|
}], label: [{
|
|
@@ -6156,7 +6158,7 @@ class StepperComponent {
|
|
|
6156
6158
|
this.activeIndexChange = new EventEmitter();
|
|
6157
6159
|
}
|
|
6158
6160
|
ngAfterViewInit() {
|
|
6159
|
-
const stepsNumbers = this.elementRef.nativeElement.getElementsByClassName('p-steps-number');
|
|
6161
|
+
const stepsNumbers = this.elementRef.nativeElement.getElementsByClassName('p-steps-item-number');
|
|
6160
6162
|
let index = 0;
|
|
6161
6163
|
for (let element of stepsNumbers) {
|
|
6162
6164
|
const step = this.steps[index];
|