@progressiveui/styles 11.0.11 → 11.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/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.1.0](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.11...@progressiveui/styles@11.1.0) (2026-01-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **Modal:** updated alignments ([c82980b](https://github.com/Polyxo/pui/commit/c82980bcbe651dc9e1671914afe367ab594b34a6))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [11.0.11](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.10...@progressiveui/styles@11.0.11) (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.0.11",
4
+ "version": "11.1.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": "c2eeb90a79cd0628ef2780eb3b37202ee8548804"
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
  }
@@ -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
251
  width: 1.5rem;
255
252
  height: 1.5rem;
256
-
257
253
  }
258
254
 
259
255
  .#{$prefix}--modal--background-image {
@@ -310,7 +306,7 @@ $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
312
  top: calc(var(--safe-area-inset-top) + calcRem(8px));
@@ -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
  }