@progressiveui/styles 11.0.10 → 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,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.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
+
17
+ ## [11.0.11](https://github.com/Polyxo/pui/compare/@progressiveui/styles@11.0.10...@progressiveui/styles@11.0.11) (2026-01-18)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **Modal:** correct naming ([f7b972b](https://github.com/Polyxo/pui/commit/f7b972b4912bdc5b81a57637ab93edf9f144a07a))
23
+
24
+
25
+
26
+
27
+
6
28
  # 10.30.0 (2024-10-30)
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.10",
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": "240d128ee95e59d457c54348e3a71ec6dc80f398"
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 {
@@ -272,6 +268,14 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
272
268
  }
273
269
  }
274
270
 
271
+ .#{$prefix}--modal--desktop-dialog {
272
+ @include breakpoint-up("md") {
273
+ .#{$prefix}--modal-container {
274
+ max-height: 85vh;
275
+ }
276
+ }
277
+ }
278
+
275
279
  .#{$prefix}--modal--scroll-inside {
276
280
  .#{$prefix}--modal-content {
277
281
  overflow-y: auto;
@@ -288,16 +292,13 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
288
292
  align-self: center;
289
293
  width: 100%;
290
294
  height: 100%;
291
- border-radius: 0;
292
295
  }
293
296
  .#{$prefix}--modal-container {
294
297
  width: 100%;
295
298
  height: 100%;
296
- border-radius: 0;
297
299
  max-width: 100%;
298
300
  width: 100%;
299
301
  height: 100%;
300
- max-height: 85vh;
301
302
  }
302
303
  }
303
304
  }
@@ -305,7 +306,7 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
305
306
  .#{$prefix}--modal--mobile-fullscreen {
306
307
  @include breakpoint-down("md") {
307
308
  .#{$prefix}--modal-header {
308
- padding-bottom: calc(var(--safe-area-inset-top) + $spacing-05);
309
+ padding-top: calc(var(--safe-area-inset-top) + $spacing-05);
309
310
  }
310
311
  .#{$prefix}--modal-close {
311
312
  top: calc(var(--safe-area-inset-top) + calcRem(8px));
@@ -329,8 +330,10 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
329
330
  .#{$prefix}--modal-footer {
330
331
  padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
331
332
  }
332
- &.#{$prefix}--modal-passive {
333
- .#{$prefix}--modal-content {
333
+ }
334
+ &.#{$prefix}--modal-passive {
335
+ .#{$prefix}--modal-content {
336
+ @include breakpoint-down("md") {
334
337
  padding-bottom: calc(var(--safe-area-inset-bottom) + $spacing-05);
335
338
  }
336
339
  }
@@ -339,6 +342,9 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
339
342
 
340
343
  .#{$prefix}--modal--mobile-bottomsheet {
341
344
  @include breakpoint-down("md") {
345
+ .#{$prefix}--modal-container {
346
+ max-height: 90vh;
347
+ }
342
348
  .#{$prefix}--modal-inner {
343
349
  align-self: flex-end;
344
350
  width: 100%;
@@ -351,7 +357,9 @@ $modal-footer-background-color: $layer-primary !default; //TODO use $layer token
351
357
  }
352
358
  &.#{$prefix}--modal-passive {
353
359
  .#{$prefix}--modal-content {
354
- 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
+ }
355
363
  }
356
364
  }
357
365
  }