@swisspost/design-system-styles-primeng 9.0.2 → 9.1.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": "@swisspost/design-system-styles-primeng",
3
- "version": "9.0.2",
3
+ "version": "9.1.0",
4
4
  "description": "Swiss Post styles for PrimeNG datatable.",
5
5
  "author": "Swiss Post <oss@post.ch>",
6
6
  "license": "Apache-2.0",
@@ -18,12 +18,12 @@
18
18
  "linkDirectory": true
19
19
  },
20
20
  "peerDependencies": {
21
- "@angular/common": "^19.0.0",
22
- "@angular/core": "^19.0.0",
21
+ "@angular/common": "^19.0.0 || ^20.0.0",
22
+ "@angular/core": "^19.0.0 || ^20.0.0",
23
23
  "primeng": "^19.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@swisspost/design-system-styles": "9.0.2",
26
+ "@swisspost/design-system-styles": "9.1.0",
27
27
  "tslib": "2.6.3"
28
28
  },
29
29
  "sideEffects": false,
@@ -0,0 +1,24 @@
1
+ p-table,
2
+ .p-datepicker-panel {
3
+ --p-datepicker-title-font-weight: 700;
4
+ --p-datepicker-date-color: #333;
5
+ --p-datepicker-week-day-font-weight: 400;
6
+ --p-datepicker-week-day-color: #949494;
7
+ --p-datepicker-header-background: #f4f3f1;
8
+ --p-datepicker-panel-background: #fff;
9
+ --p-datepicker-panel-shadow: 0.25px 1.5px 2px 0 rgba(0, 0, 0, 0.1),
10
+ 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
11
+ --p-datepicker-week-day-padding: 2px;
12
+ --p-datepicker-header-padding: 16px 8px;
13
+ --p-datepicker-date-height: 34px;
14
+ --p-datepicker-date-width: 34px;
15
+ --p-datepicker-date-hover-background: #f4f3f1;
16
+ --p-datepicker-date-selected-background: #fc0;
17
+ --p-datepicker-date-border-radius: 4px;
18
+ --p-disabled-opacity: 53%;
19
+ --p-datepicker-date-focus-ring-shadow: 0.25px 1.5px 2px 0 rgba(0, 0, 0, 0.1),
20
+ 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
21
+ --p-datepicker-date-focus-ring-width: 2px;
22
+ --p-datepicker-date-focus-ring-style: solid;
23
+ --p-datepicker-date-focus-ring-color: #1976c8;
24
+ }
@@ -10,6 +10,7 @@
10
10
  @forward './components/paginator';
11
11
  @forward './components/radiobutton';
12
12
  @forward './components/select';
13
+ @forward './components/datepicker';
13
14
 
14
15
  .p-button,
15
16
  .p-inputtext,
@@ -18,3 +19,12 @@
18
19
  .p-radiobutton-box {
19
20
  border-width: 2px !important;
20
21
  }
22
+
23
+ .p-datepicker-month-view span.p-datepicker-month,
24
+ .p-datepicker-year-view span.p-datepicker-year {
25
+ height: 34px;
26
+ }
27
+
28
+ .p-datepicker-today > .p-datepicker-day {
29
+ border: 1px solid #949494;
30
+ }