@progressiveui/styles 11.0.11 → 11.2.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 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.2.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.1.0...@progressiveui/styles@11.2.0) (2026-01-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Modal:** alignment updated ([e1d636f](https://github.com/Polyxo/pui/commit/e1d636febb5a506d6a400a72aedb2e5d432c570a))
12
+
13
+
14
+
15
+
16
+
17
+ # [11.1.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.11...@progressiveui/styles@11.1.0) (2026-01-18)
18
+
19
+
20
+ ### Features
21
+
22
+ * **Modal:** updated alignments ([c82980b](https://github.com/Polyxo/pui/commit/c82980bcbe651dc9e1671914afe367ab594b34a6))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [11.0.11](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.10...@progressiveui/styles@11.0.11) (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.0.11",
4
+ "version": "11.2.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Robert Gühne <polyxo.de>",
7
7
  "homepage": "https://www.polyxo.de",
@@ -35,5 +35,5 @@
35
35
  "@carbon/test-utils": "^10.3.0",
36
36
  "css": "^3.0.0"
37
37
  },
38
- "gitHead": "a99c63996bdce5473c35de5a0fdb8bb09f6c6fbc"
38
+ "gitHead": "26175b5523aab4e29d22228345e797f03f73f477"
39
39
  }
@@ -192,14 +192,12 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
192
192
  //overflow-y: auto;
193
193
  padding: $spacing-05;
194
194
  padding-top: $spacing-05;
195
- color: $text-body-default;
195
+ color: $text-body-default;
196
196
  @include breakpoint-up("md") {
197
197
  padding: $spacing-07;
198
198
  padding-top: $spacing-05;
199
199
  }
200
200
 
201
-
202
-
203
201
  > * {
204
202
  @include reset;
205
203
  }
@@ -227,7 +225,7 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
227
225
 
228
226
  .#{$prefix}--modal-close {
229
227
  position: absolute;
230
- top: calcRem(8px);
228
+ top: calcRem(2px);
231
229
  right: calcRem(6px);
232
230
  padding: 0;
233
231
  overflow: hidden;
@@ -241,19 +239,17 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
241
239
  right: calcRem(18px);
242
240
  }
243
241
 
244
-
245
242
  &:focus {
246
243
  @include focus-outline("border");
247
244
  }
248
245
  }
249
246
 
250
247
  .#{$prefix}--modal-close__icon {
251
- color: $text-body-default;
248
+ color: $text-body-default;
252
249
  transition: 200ms;
253
250
  // fill: var(--ui-05); // TODO change $field-border
254
- width: 1.5rem;
255
- height: 1.5rem;
256
-
251
+ width: 1.7rem;
252
+ height: 1.7rem;
257
253
  }
258
254
 
259
255
  .#{$prefix}--modal--background-image {
@@ -265,8 +261,8 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
265
261
  .#{$prefix}--modal-container {
266
262
  @include breakpoint-down("md") {
267
263
  min-width: 50%;
268
- width: 90%;
269
- max-width: 90%;
264
+ width: 95%;
265
+ max-width: 95%;
270
266
  height: auto;
271
267
  }
272
268
  }
@@ -310,10 +306,10 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
310
306
  .#{$prefix}--modal--mobile-fullscreen {
311
307
  @include breakpoint-down("md") {
312
308
  .#{$prefix}--modal-header {
313
- padding-bottom: calc(var(--safe-area-inset-top) + $spacing-05);
309
+ padding-top: calc(var(--safe-area-inset-top) + $spacing-05);
314
310
  }
315
311
  .#{$prefix}--modal-close {
316
- top: calc(var(--safe-area-inset-top) + calcRem(8px));
312
+ top: calc(var(--safe-area-inset-top) + calcRem(2px));
317
313
  }
318
314
 
319
315
  .#{$prefix}--modal-inner {
@@ -334,8 +330,10 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
334
330
  .#{$prefix}--modal-footer {
335
331
  padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
336
332
  }
337
- &.#{$prefix}--modal-passive {
338
- .#{$prefix}--modal-content {
333
+ }
334
+ &.#{$prefix}--modal-passive {
335
+ .#{$prefix}--modal-content {
336
+ @include breakpoint-down("md") {
339
337
  padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
340
338
  }
341
339
  }
@@ -344,6 +342,9 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
344
342
 
345
343
  .#{$prefix}--modal--mobile-bottomsheet {
346
344
  @include breakpoint-down("md") {
345
+ .#{$prefix}--modal-container {
346
+ max-height: 90vh;
347
+ }
347
348
  .#{$prefix}--modal-inner {
348
349
  align-self: flex-end;
349
350
  width: 100%;
@@ -356,7 +357,9 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
356
357
  }
357
358
  &.#{$prefix}--modal-passive {
358
359
  .#{$prefix}--modal-content {
359
- padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
360
+ @include breakpoint-down("md") {
361
+ padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
362
+ }
360
363
  }
361
364
  }
362
365
  }