@progressiveui/styles 11.1.0 → 11.3.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/CHANGELOG.md +22 -0
- package/package.json +3 -3
- package/scss/components/modal/_modal.scss +16 -17
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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
|
+
|
|
17
|
+
# [11.2.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.1.0...@progressiveui/styles@11.2.0) (2026-01-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **Modal:** alignment updated ([e1d636f](https://github.com/Polyxo/pui/commit/e1d636febb5a506d6a400a72aedb2e5d432c570a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [11.1.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.11...@progressiveui/styles@11.1.0) (2026-01-18)
|
|
7
29
|
|
|
8
30
|
|
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.0",
|
|
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.0",
|
|
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": "3ab25753fce2029fa479576bd68fd37f9b8bd659"
|
|
39
39
|
}
|
|
@@ -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;
|
|
@@ -248,8 +248,8 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
248
248
|
color: $text-body-default;
|
|
249
249
|
transition: 200ms;
|
|
250
250
|
// fill: var(--ui-05); // TODO change $field-border
|
|
251
|
-
width: 1.
|
|
252
|
-
height: 1.
|
|
251
|
+
width: 1.7rem;
|
|
252
|
+
height: 1.7rem;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
.#{$prefix}--modal--background-image {
|
|
@@ -261,8 +261,8 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
|
|
|
261
261
|
.#{$prefix}--modal-container {
|
|
262
262
|
@include breakpoint-down("md") {
|
|
263
263
|
min-width: 50%;
|
|
264
|
-
width:
|
|
265
|
-
max-width:
|
|
264
|
+
width: 95%;
|
|
265
|
+
max-width: 95%;
|
|
266
266
|
height: auto;
|
|
267
267
|
}
|
|
268
268
|
}
|
|
@@ -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
|
*/
|