@swisspost/design-system-styles-primeng 9.0.0-next.1 → 9.0.0-next.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/esm2022/lib/styles-primeng.module.mjs +5 -5
- package/fesm2022/swisspost-design-system-styles-primeng.mjs +4 -4
- package/fesm2022/swisspost-design-system-styles-primeng.mjs.map +1 -1
- package/package.json +2 -2
- package/primeng-theme/_extensions.scss +8 -4
- package/primeng-theme/_variables.scss +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class StylesPrimengModule {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
6
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule }); }
|
|
6
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule }); }
|
|
7
7
|
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule, decorators: [{
|
|
9
9
|
type: NgModule,
|
|
10
10
|
args: [{
|
|
11
11
|
declarations: [],
|
|
@@ -13,4 +13,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.3", ngImpor
|
|
|
13
13
|
exports: [],
|
|
14
14
|
}]
|
|
15
15
|
}] });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLXByaW1lbmcubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvc3R5bGVzLXByaW1lbmcvc3JjL2xpYi9zdHlsZXMtcHJpbWVuZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFPekMsTUFBTSxPQUFPLG1CQUFtQjsrR0FBbkIsbUJBQW1CO2dIQUFuQixtQkFBbUI7Z0hBQW5CLG1CQUFtQjs7NEZBQW5CLG1CQUFtQjtrQkFML0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsRUFBRTtvQkFDaEIsT0FBTyxFQUFFLEVBQUU7b0JBQ1gsT0FBTyxFQUFFLEVBQUU7aUJBQ1oiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtdLFxuICBpbXBvcnRzOiBbXSxcbiAgZXhwb3J0czogW10sXG59KVxuZXhwb3J0IGNsYXNzIFN0eWxlc1ByaW1lbmdNb2R1bGUge31cbiJdfQ==
|
|
@@ -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: "18.
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: StylesPrimengModule }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", 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
|
|
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,EAAA;gHAAnB,mBAAmB,EAAA,CAAA,CAAA,EAAA;gHAAnB,mBAAmB,EAAA,CAAA,CAAA,EAAA;;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,CAAA;;;ACND;;AAEG;;ACFH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-styles-primeng",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.10",
|
|
4
4
|
"description": "Swiss Post styles for PrimeNg datatable.",
|
|
5
5
|
"author": "Swiss Post <oss@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"primeng": "^17.18.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@swisspost/design-system-styles": "9.0.0-next.
|
|
26
|
+
"@swisspost/design-system-styles": "9.0.0-next.10",
|
|
27
27
|
"tslib": "2.6.3"
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
@use '@swisspost/design-system-styles/core' as post;
|
|
2
2
|
@use './variables' as variables;
|
|
3
|
+
@use '@swisspost/design-system-styles/tokens/utilities';
|
|
4
|
+
@use '@swisspost/design-system-styles/functions/tokens';
|
|
5
|
+
|
|
6
|
+
tokens.$default-map: utilities.$post-spacing;
|
|
3
7
|
|
|
4
8
|
.p-datatable-wrapper {
|
|
5
9
|
overflow: initial;
|
|
@@ -7,7 +11,7 @@
|
|
|
7
11
|
|
|
8
12
|
.p-datatable {
|
|
9
13
|
.p-datatable-thead > tr > th {
|
|
10
|
-
gap:
|
|
14
|
+
gap: tokens.get('utility-gap-8');
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
.p-sortable-column {
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
p-columnfilter {
|
|
34
|
-
margin-inline:
|
|
38
|
+
margin-inline: tokens.get('utility-gap-8');
|
|
35
39
|
height: 1.5rem;
|
|
36
40
|
|
|
37
41
|
filtericon {
|
|
@@ -123,7 +127,7 @@
|
|
|
123
127
|
}
|
|
124
128
|
|
|
125
129
|
.p-button {
|
|
126
|
-
gap:
|
|
130
|
+
gap: tokens.get('utility-gap-8');
|
|
127
131
|
|
|
128
132
|
&.p-button-text {
|
|
129
133
|
color: post.$dark;
|
|
@@ -154,7 +158,7 @@
|
|
|
154
158
|
.p-inputtext:not(.p-inputwrapper > .p-inputtext),
|
|
155
159
|
.p-checkbox,
|
|
156
160
|
.p-radiobutton {
|
|
157
|
-
@include post.focus-style
|
|
161
|
+
@include post.focus-style {
|
|
158
162
|
box-shadow: none;
|
|
159
163
|
border-radius: post.$border-radius;
|
|
160
164
|
}
|
|
@@ -22,7 +22,7 @@ $shade300: post.$gray-10 !default; //border, divider
|
|
|
22
22
|
$shade400: post.$input-border-color !default; //input border
|
|
23
23
|
$shade500: post.$error !default; //unused
|
|
24
24
|
$shade600: post.$text-muted !default; //text secondary color
|
|
25
|
-
$shade700: post.$
|
|
25
|
+
$shade700: post.$black !default; //input text color
|
|
26
26
|
$shade800: post.$error !default; //unused
|
|
27
27
|
$shade900: var(--post-contrast-color) !default; //text color
|
|
28
28
|
|