@progressiveui/styles 11.2.0 → 11.3.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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [11.3.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.2.0...@progressiveui/styles@11.3.0) (2026-01-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **styles:** updated modal and design vars ([72b7b7e](https://github.com/Polyxo/pui/commit/72b7b7e50e6547b81bd18cca3386034d3107720e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [11.2.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.1.0...@progressiveui/styles@11.2.0) (2026-01-18)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progressiveui/styles",
|
|
3
3
|
"description": "Styles for the Progressive UI Design System",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.3.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Robert Gühne <polyxo.de>",
|
|
7
7
|
"homepage": "https://www.polyxo.de",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@carbon/feature-flags": "^0.6.0",
|
|
28
28
|
"@carbon/grid": "^10.39.0",
|
|
29
29
|
"@carbon/motion": "^10.22.0",
|
|
30
|
-
"@progressiveui/themes-core": "^0.
|
|
30
|
+
"@progressiveui/themes-core": "^0.5.1",
|
|
31
31
|
"@un/layout": "^10.26.15",
|
|
32
32
|
"@un/themes": "^10.40.14"
|
|
33
33
|
},
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"@carbon/test-utils": "^10.3.0",
|
|
36
36
|
"css": "^3.0.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "b662910f37603a3687908e5030f94459b6342e23"
|
|
39
39
|
}
|
|
@@ -42,7 +42,9 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
42
42
|
color: $action-default-link-default;
|
|
43
43
|
background: $background-main;
|
|
44
44
|
height: $main-navigation-height;
|
|
45
|
-
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
|
|
45
|
+
// box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
|
|
46
|
+
color: $text-inverse-default;
|
|
47
|
+
background: $brand-main;
|
|
46
48
|
@include reset;
|
|
47
49
|
@media print {
|
|
48
50
|
display: none;
|
|
@@ -73,7 +75,7 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
73
75
|
// justify-content: center; // TODO: Check if needed
|
|
74
76
|
|
|
75
77
|
> a {
|
|
76
|
-
color: $
|
|
78
|
+
color: $text-inverse-default; // TODO change to $link_on_color token
|
|
77
79
|
@include type-style("body-short-02");
|
|
78
80
|
text-decoration: none;
|
|
79
81
|
&.active {
|
|
@@ -82,11 +84,11 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
82
84
|
&:hover,
|
|
83
85
|
&:visited,
|
|
84
86
|
&:active {
|
|
85
|
-
color: $
|
|
87
|
+
color: $text-inverse-default;
|
|
86
88
|
text-decoration: underline;
|
|
87
89
|
}
|
|
88
90
|
&:focus {
|
|
89
|
-
color: $
|
|
91
|
+
color: $text-inverse-default;
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
}
|
|
@@ -129,17 +131,17 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
129
131
|
|
|
130
132
|
.#{$prefix}--main-navigation__logo {
|
|
131
133
|
a {
|
|
132
|
-
color: $
|
|
134
|
+
color: $text-inverse-default;
|
|
133
135
|
text-decoration: none;
|
|
134
136
|
text-transform: uppercase;
|
|
135
137
|
&:hover,
|
|
136
138
|
&:visited,
|
|
137
139
|
&:active {
|
|
138
|
-
color: $
|
|
140
|
+
color: $text-inverse-default;
|
|
139
141
|
text-decoration: underline;
|
|
140
142
|
}
|
|
141
143
|
&:focus {
|
|
142
|
-
color: $text-
|
|
144
|
+
color: $text-inverse-default;
|
|
143
145
|
}
|
|
144
146
|
}
|
|
145
147
|
}
|
|
@@ -287,7 +289,8 @@ $main-navigation-menu-width: calcRem(300px);
|
|
|
287
289
|
TODO - convert raw color hex into color token in figma
|
|
288
290
|
rgba(desaturate(#0b77c2, 40%), 0.15) 0 32px 78px; */
|
|
289
291
|
.#{$prefix}--theme-dark & {
|
|
290
|
-
box-shadow:
|
|
292
|
+
box-shadow:
|
|
293
|
+
var(--modal-background-01) 0 3px 12px,
|
|
291
294
|
//TODO - create token for this color
|
|
292
295
|
var(--modal-background-01) 0 32px 78px;
|
|
293
296
|
}
|
|
@@ -94,7 +94,7 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
94
94
|
background: $action-default-fill-primary-default;
|
|
95
95
|
} */
|
|
96
96
|
//border-top: $modal-border-top;
|
|
97
|
-
|
|
97
|
+
border-radius: $modal-border-radius;
|
|
98
98
|
min-width: 100%;
|
|
99
99
|
//max-height: 100%;
|
|
100
100
|
height: 100%;
|
|
@@ -225,7 +225,7 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
225
225
|
|
|
226
226
|
.#{$prefix}--modal-close {
|
|
227
227
|
position: absolute;
|
|
228
|
-
top: calcRem(
|
|
228
|
+
top: calcRem(6px);
|
|
229
229
|
right: calcRem(6px);
|
|
230
230
|
padding: 0;
|
|
231
231
|
overflow: hidden;
|
|
@@ -306,35 +306,34 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
306
306
|
.#{$prefix}--modal--mobile-fullscreen {
|
|
307
307
|
@include breakpoint-down("md") {
|
|
308
308
|
.#{$prefix}--modal-header {
|
|
309
|
-
padding-top: calc(var(--safe-area-inset-top) + $spacing-05);
|
|
309
|
+
padding-top: calc(var(--safe-area-inset-top, 0px) + $spacing-05);
|
|
310
310
|
}
|
|
311
311
|
.#{$prefix}--modal-close {
|
|
312
|
-
top: calc(var(--safe-area-inset-top) + calcRem(
|
|
312
|
+
top: calc(var(--safe-area-inset-top, 0px) + calcRem(6px));
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.#{$prefix}--modal-inner {
|
|
316
316
|
align-self: center;
|
|
317
317
|
width: 100%;
|
|
318
318
|
height: 100%;
|
|
319
|
-
border-radius: 0;
|
|
320
319
|
}
|
|
321
320
|
.#{$prefix}--modal-container {
|
|
322
321
|
width: 100%;
|
|
323
322
|
height: 100%;
|
|
324
323
|
border-radius: 0;
|
|
325
324
|
max-width: 100%;
|
|
326
|
-
|
|
325
|
+
border-radius: 0;
|
|
327
326
|
width: 100%;
|
|
328
327
|
height: 100%;
|
|
329
328
|
}
|
|
330
329
|
.#{$prefix}--modal-footer {
|
|
331
|
-
padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
|
|
330
|
+
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + $spacing-05);
|
|
332
331
|
}
|
|
333
332
|
}
|
|
334
333
|
&.#{$prefix}--modal-passive {
|
|
335
334
|
.#{$prefix}--modal-content {
|
|
336
335
|
@include breakpoint-down("md") {
|
|
337
|
-
padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
|
|
336
|
+
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + $spacing-05);
|
|
338
337
|
}
|
|
339
338
|
}
|
|
340
339
|
}
|
|
@@ -352,13 +351,13 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
352
351
|
border-radius: $modal-border-radius $modal-border-radius 0 0;
|
|
353
352
|
}
|
|
354
353
|
.#{$prefix}--modal-footer {
|
|
355
|
-
padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
|
|
354
|
+
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + $spacing-05);
|
|
356
355
|
}
|
|
357
356
|
}
|
|
358
357
|
&.#{$prefix}--modal-passive {
|
|
359
358
|
.#{$prefix}--modal-content {
|
|
360
359
|
@include breakpoint-down("md") {
|
|
361
|
-
padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
|
|
360
|
+
padding-bottom: calc(var(--safe-area-inset-bottom, 0px) + $spacing-05);
|
|
362
361
|
}
|
|
363
362
|
}
|
|
364
363
|
}
|
|
@@ -370,16 +369,16 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
370
369
|
.wfp--modal--tall {
|
|
371
370
|
// padding-top: 0 !important;
|
|
372
371
|
.wfp--modal-header {
|
|
373
|
-
padding-top: calc(env(safe-area-inset-bottom) + 2rem) !important;
|
|
372
|
+
padding-top: calc(env(safe-area-inset-bottom, 0px) + 2rem) !important;
|
|
374
373
|
}
|
|
375
374
|
|
|
376
375
|
.wfp--modal-close {
|
|
377
|
-
top: calc(env(safe-area-inset-bottom) + 2rem) !important;
|
|
376
|
+
top: calc(env(safe-area-inset-bottom, 0px) + 2rem) !important;
|
|
378
377
|
}
|
|
379
378
|
}
|
|
380
379
|
|
|
381
380
|
.wfp--modal-footer {
|
|
382
|
-
padding-bottom: calc(env(safe-area-inset-bottom) + 1rem);
|
|
381
|
+
padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem);
|
|
383
382
|
}
|
|
384
383
|
}
|
|
385
384
|
*/
|