@swisspost/design-system-styles-primeng 10.0.0-next.50 → 10.0.0-next.52

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.
@@ -2,11 +2,11 @@ import * as i0 from '@angular/core';
2
2
  import { NgModule } from '@angular/core';
3
3
 
4
4
  class StylesPrimengModule {
5
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StylesPrimengModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.0", ngImport: i0, type: StylesPrimengModule }); }
7
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StylesPrimengModule }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: StylesPrimengModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
6
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: StylesPrimengModule }); }
7
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: StylesPrimengModule }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: StylesPrimengModule, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: StylesPrimengModule, decorators: [{
10
10
  type: NgModule,
11
11
  args: [{
12
12
  declarations: [],
@@ -1 +1 @@
1
- {"version":3,"file":"swisspost-design-system-styles-primeng.mjs","sources":["../../../projects/styles-primeng/src/lib/styles-primeng.module.ts","../../../projects/styles-primeng/src/public-api.ts","../../../projects/styles-primeng/src/swisspost-design-system-styles-primeng.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: [],\n})\nexport class StylesPrimengModule {}\n","/*\n * Public API Surface of styles-primeng\n */\n\nexport * from './lib/styles-primeng.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAnB,mBAAmB,EAAA,CAAA,CAAA;+GAAnB,mBAAmB,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
1
+ {"version":3,"file":"swisspost-design-system-styles-primeng.mjs","sources":["../../../projects/styles-primeng/src/lib/styles-primeng.module.ts","../../../projects/styles-primeng/src/public-api.ts","../../../projects/styles-primeng/src/swisspost-design-system-styles-primeng.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\n@NgModule({\n declarations: [],\n imports: [],\n exports: [],\n})\nexport class StylesPrimengModule {}\n","/*\n * Public API Surface of styles-primeng\n */\n\nexport * from './lib/styles-primeng.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAOa,mBAAmB,CAAA;+GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAnB,mBAAmB,EAAA,CAAA,CAAA;gHAAnB,mBAAmB,EAAA,CAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,OAAO,EAAE,EAAE;AACZ,iBAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swisspost/design-system-styles-primeng",
3
- "version": "10.0.0-next.50",
3
+ "version": "10.0.0-next.52",
4
4
  "description": "Swiss Post styles for PrimeNG datatable.",
5
5
  "author": "Swiss Post <design-system@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -21,7 +21,7 @@
21
21
  "primeng": "^19.0.0"
22
22
  },
23
23
  "dependencies": {
24
- "@swisspost/design-system-styles": "10.0.0-next.50",
24
+ "@swisspost/design-system-styles": "10.0.0-next.52",
25
25
  "tslib": "2.8.1"
26
26
  },
27
27
  "sideEffects": false,
@@ -1,7 +1,23 @@
1
1
  @use '@swisspost/design-system-styles/core' as post;
2
2
 
3
+ // Load all icon CSS files used in this component
4
+ @include post.custom-property(
5
+ (
6
+ 'plus',
7
+ 'trash',
8
+ 'chevrondown',
9
+ 'filter',
10
+ 'updown',
11
+ 'chevronup',
12
+ 'arrowup',
13
+ 'arrowdown',
14
+ 'checkmark',
15
+ 'closex',
16
+ 'burger'
17
+ )
18
+ );
19
+
3
20
  @mixin custom-icon($icon) {
4
- @include post.icon($icon);
5
21
  display: inline-block;
6
22
  height: 1rem;
7
23
  width: 1rem;
@@ -9,52 +25,54 @@
9
25
  > * {
10
26
  display: none;
11
27
  }
28
+
29
+ @include post.mask-image($icon);
12
30
  }
13
31
 
14
32
  plusicon {
15
- @include custom-icon(2040);
33
+ @include custom-icon('plus');
16
34
  }
17
35
 
18
36
  trashicon {
19
- @include custom-icon(2015);
37
+ @include custom-icon('trash');
20
38
  }
21
39
 
22
40
  chevrondownicon {
23
- @include custom-icon(2113);
41
+ @include custom-icon('chevrondown');
24
42
  }
25
43
 
26
44
  filtericon {
27
- @include custom-icon(2060);
45
+ @include custom-icon('filter');
28
46
  }
29
47
 
30
48
  sortalticon {
31
- @include custom-icon(2127);
49
+ @include custom-icon('updown');
32
50
  }
33
51
 
34
52
  sortamountupalticon {
35
- @include custom-icon(2112);
53
+ @include custom-icon('chevronup');
36
54
  }
37
55
 
38
56
  sortamountdownicon {
39
- @include custom-icon(2113);
57
+ @include custom-icon('chevrondown');
40
58
  }
41
59
 
42
60
  arrowupicon {
43
- @include custom-icon(3026);
61
+ @include custom-icon('arrowup');
44
62
  }
45
63
 
46
64
  arrowdownicon {
47
- @include custom-icon(3022);
65
+ @include custom-icon('arrowdown');
48
66
  }
49
67
 
50
68
  checkicon {
51
- @include custom-icon(3035);
69
+ @include custom-icon('checkmark');
52
70
  }
53
71
 
54
72
  timesicon {
55
- @include custom-icon(2043);
73
+ @include custom-icon('closex');
56
74
  }
57
75
 
58
76
  .p-datatable-reorderablerow-handle {
59
- @include custom-icon(2070);
77
+ @include custom-icon('burger');
60
78
  }