@ngx-smz/core 21.4.2 → 21.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngx-smz/core",
3
- "version": "21.4.2",
3
+ "version": "21.5.0",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">=21.0.0",
6
6
  "@angular/common": ">=21.0.0",
@@ -81,43 +81,48 @@
81
81
  // }
82
82
  // }
83
83
 
84
- // .p-datatable.p-datatable-smz-ui-table.p-datatable-sm {
85
- // .p-datatable-header {
86
- // font-size: 1rem;
87
- // padding-left: 0.7rem !important;
88
- // padding-right: 0.7rem !important;
89
- // }
90
- // }
84
+ .p-datatable.p-datatable-smz-ui-table.p-datatable-sm {
85
+ .p-datatable-header {
86
+ font-size: 1rem;
87
+ padding-left: 0.7rem !important;
88
+ padding-right: 0.7rem !important;
89
+ }
90
+ }
91
91
 
92
- // .p-datatable.p-datatable-smz-ui-table.p-datatable-xs {
93
- // .p-datatable-header {
94
- // font-size: 0.8rem;
95
- // padding: 0.625rem 0.625rem !important;
96
- // }
97
- // .p-datatable-thead > tr > th {
98
- // font-size: 0.8rem;
99
- // padding: 0.375rem 0.75rem !important;
100
- // }
101
- // .p-datatable-tbody > tr > td {
102
- // font-size: 0.8rem;
103
- // padding: 0.5rem 0.75rem !important;
104
- // }
105
- // .p-datatable-tfoot > tr > td {
106
- // font-size: 0.8rem;
107
- // padding: 0.375rem 0.75rem !important;
108
- // }
109
- // .p-datatable-footer {
110
- // font-size: 0.8rem;
111
- // padding: 0.375rem 0.75rem !important;
112
- // }
92
+ .p-datatable.p-datatable-smz-ui-table.p-datatable-xs {
93
+ .p-datatable-header {
94
+ font-size: 0.8rem;
95
+ padding: 0.625rem 0.625rem !important;
96
+ }
97
+ .p-datatable-thead > tr > th {
98
+ font-size: 0.8rem;
99
+ padding: 0.375rem 0.75rem !important;
100
+ }
101
+ .p-datatable-tbody > tr > td {
102
+ font-size: 0.8rem;
103
+ padding: 0.5rem 0.75rem !important;
104
+ }
105
+ .p-datatable-tfoot > tr > td {
106
+ font-size: 0.8rem;
107
+ padding: 0.375rem 0.75rem !important;
108
+ }
109
+ .p-datatable-footer {
110
+ font-size: 0.8rem;
111
+ padding: 0.375rem 0.75rem !important;
112
+ }
113
113
 
114
- // .p-button.p-button-icon-only {
115
- // padding-left: 0 !important;
116
- // padding-right: 0 !important;
117
- // }
118
- // }
114
+ .p-button.p-button-icon-only {
115
+ padding-left: 0 !important;
116
+ padding-right: 0 !important;
117
+ }
118
+ }
119
119
 
120
120
  smz-ui-table {
121
+ .smz-table-row-expansion-toggle {
122
+ width: 2rem;
123
+ height: 2rem;
124
+ }
125
+
121
126
  .p-datatable-scrollable-both .p-datatable-thead > tr > th,
122
127
  .p-datatable-scrollable-both .p-datatable-tbody > tr > td,
123
128
  .p-datatable-scrollable-both .p-datatable-tfoot > tr > td,
@@ -5396,6 +5396,7 @@ declare class SmzTableComponent implements OnInit, AfterViewInit, AfterContentIn
5396
5396
  private getExportableData;
5397
5397
  private resolveData;
5398
5398
  onRowSelection(context: SmzTableContext): void;
5399
+ onRowExpansion(context: SmzTableContext): void;
5399
5400
  onPage(event: {
5400
5401
  first: number;
5401
5402
  rows: number;