@porsche-design-system/components-angular 4.0.0-rc.1 → 4.0.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 +62 -0
- package/OSS_NOTICE +195 -855
- package/README.md +0 -5
- package/fesm2022/porsche-design-system-components-angular.mjs +231 -230
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/global-styles/cn/index.css +42 -39
- package/global-styles/color-scheme.css +24 -24
- package/global-styles/index.css +42 -39
- package/global-styles/variables.css +18 -15
- package/package.json +7 -6
- package/tailwindcss/index.css +277 -78
- package/types/porsche-design-system-components-angular.d.ts +31 -26
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorErrorFrostedDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorErrorFrostedSoftDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorInfoFrostedDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorInfoFrostedSoftDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorSuccessFrostedDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorSuccessFrostedSoftDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorWarningFrostedDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/dark/semantic/colorWarningFrostedSoftDark.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorErrorFrostedLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorErrorFrostedSoftLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorInfoFrostedLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorInfoFrostedSoftLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorSuccessFrostedLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorSuccessFrostedSoftLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorWarningFrostedLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/light/semantic/colorWarningFrostedSoftLight.cjs +1 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/palette.cjs +184 -10
- package/vanilla-extract/esm/color/deprecated/themeDarkNotificationErrorSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeDarkNotificationInfoSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeDarkNotificationSuccessSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeDarkNotificationWarningSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeLightNotificationErrorSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeLightNotificationInfoSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeLightNotificationSuccessSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/deprecated/themeLightNotificationWarningSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorErrorFrosted.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorErrorFrostedSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorInfoFrosted.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorInfoFrostedSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorSuccessFrosted.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorSuccessFrostedSoft.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorWarningFrosted.d.ts +1 -1
- package/vanilla-extract/esm/color/light-dark/colorWarningFrostedSoft.d.ts +1 -1
- package/vanilla-extract/esm/grid/gridSharedOffset.mjs +1 -1
- package/vanilla-extract/esm/grid/gridStyle.mjs +1 -1
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorErrorFrostedDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorErrorFrostedSoftDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorInfoFrostedDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorInfoFrostedSoftDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorSuccessFrostedDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorSuccessFrostedSoftDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorWarningFrostedDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/dark/semantic/colorWarningFrostedSoftDark.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorErrorFrostedLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorErrorFrostedSoftLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorInfoFrostedLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorInfoFrostedSoftLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorSuccessFrostedLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorSuccessFrostedSoftLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorWarningFrostedLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/light/semantic/colorWarningFrostedSoftLight.mjs +1 -3
- package/vanilla-extract/esm/tokens/dist/esm/color/palette.mjs +184 -10
package/tailwindcss/index.css
CHANGED
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
hsl(157 84.9% 41.6% / 0.6)
|
|
58
58
|
);
|
|
59
59
|
--color-success-frosted: light-dark(
|
|
60
|
-
hsl(
|
|
61
|
-
hsl(157
|
|
60
|
+
hsl(109 100% 90% / 0.55),
|
|
61
|
+
hsl(157 79% 20% / 0.66)
|
|
62
62
|
);
|
|
63
63
|
--color-success-frosted-soft: light-dark(
|
|
64
|
-
hsl(
|
|
65
|
-
hsl(157
|
|
64
|
+
hsl(109 80% 95% / 0.55),
|
|
65
|
+
hsl(157 59% 15% / 0.66)
|
|
66
66
|
);
|
|
67
67
|
--color-warning: light-dark(hsl(28 97.7% 34.1%), hsl(28 90.2% 56.1%));
|
|
68
68
|
--color-warning-low: light-dark(
|
|
@@ -74,10 +74,13 @@
|
|
|
74
74
|
hsl(28 90.2% 56.1% / 0.6)
|
|
75
75
|
);
|
|
76
76
|
--color-warning-frosted: light-dark(
|
|
77
|
-
hsl(
|
|
78
|
-
hsl(
|
|
77
|
+
hsl(40 100% 90% / 0.55),
|
|
78
|
+
hsl(52 79% 20% / 0.66)
|
|
79
|
+
);
|
|
80
|
+
--color-warning-frosted-soft: light-dark(
|
|
81
|
+
hsl(40 80% 95% / 0.55),
|
|
82
|
+
hsl(52 59% 15% / 0.66)
|
|
79
83
|
);
|
|
80
|
-
--color-warning-frosted-soft: hsl(28 90.2% 56.1% / 0.1);
|
|
81
84
|
--color-error: light-dark(hsl(357 78% 41%), hsl(0 96.9% 62%));
|
|
82
85
|
--color-error-low: light-dark(
|
|
83
86
|
hsl(357 78% 41% / 0.18),
|
|
@@ -88,12 +91,12 @@
|
|
|
88
91
|
hsl(0 96.9% 62% / 0.6)
|
|
89
92
|
);
|
|
90
93
|
--color-error-frosted: light-dark(
|
|
91
|
-
hsl(
|
|
92
|
-
hsl(0
|
|
94
|
+
hsl(0 100% 90% / 0.55),
|
|
95
|
+
hsl(0 79% 20% / 0.66)
|
|
93
96
|
);
|
|
94
97
|
--color-error-frosted-soft: light-dark(
|
|
95
|
-
hsl(
|
|
96
|
-
hsl(0
|
|
98
|
+
hsl(0 80% 95% / 0.55),
|
|
99
|
+
hsl(0 59% 15% / 0.66)
|
|
97
100
|
);
|
|
98
101
|
--color-info: light-dark(hsl(228 83.2% 51%), hsl(210 100% 54.5%));
|
|
99
102
|
--color-info-low: light-dark(
|
|
@@ -105,12 +108,12 @@
|
|
|
105
108
|
hsl(210 100% 54.5% / 0.6)
|
|
106
109
|
);
|
|
107
110
|
--color-info-frosted: light-dark(
|
|
108
|
-
hsl(
|
|
109
|
-
hsl(210
|
|
111
|
+
hsl(211 100% 90% / 0.55),
|
|
112
|
+
hsl(210 79% 20% / 0.66)
|
|
110
113
|
);
|
|
111
114
|
--color-info-frosted-soft: light-dark(
|
|
112
|
-
hsl(
|
|
113
|
-
hsl(210
|
|
115
|
+
hsl(211 80% 95% / 0.55),
|
|
116
|
+
hsl(210 59% 15% / 0.66)
|
|
114
117
|
);
|
|
115
118
|
|
|
116
119
|
/* Typography */
|
|
@@ -261,23 +264,23 @@
|
|
|
261
264
|
--color-success: hsl(115 77.5% 27.8%);
|
|
262
265
|
--color-success-low: hsl(115 77.5% 27.8% / 0.18);
|
|
263
266
|
--color-success-medium: hsl(115 77.5% 27.8% / 0.6);
|
|
264
|
-
--color-success-frosted: hsl(
|
|
265
|
-
--color-success-frosted-soft: hsl(
|
|
267
|
+
--color-success-frosted: hsl(109 100% 90% / 0.55);
|
|
268
|
+
--color-success-frosted-soft: hsl(109 80% 95% / 0.55);
|
|
266
269
|
--color-warning: hsl(28 97.7% 34.1%);
|
|
267
270
|
--color-warning-low: hsl(28 97.7% 34.1% / 0.18);
|
|
268
271
|
--color-warning-medium: hsl(28 97.7% 34.1% / 0.6);
|
|
269
|
-
--color-warning-frosted: hsl(
|
|
270
|
-
--color-warning-frosted-soft: hsl(
|
|
272
|
+
--color-warning-frosted: hsl(40 100% 90% / 0.55);
|
|
273
|
+
--color-warning-frosted-soft: hsl(40 80% 95% / 0.55);
|
|
271
274
|
--color-error: hsl(357 78% 41%);
|
|
272
275
|
--color-error-low: hsl(357 78% 41% / 0.18);
|
|
273
276
|
--color-error-medium: hsl(357 78% 41% / 0.6);
|
|
274
|
-
--color-error-frosted: hsl(
|
|
275
|
-
--color-error-frosted-soft: hsl(
|
|
277
|
+
--color-error-frosted: hsl(0 100% 90% / 0.55);
|
|
278
|
+
--color-error-frosted-soft: hsl(0 80% 95% / 0.55);
|
|
276
279
|
--color-info: hsl(228 83.2% 51%);
|
|
277
280
|
--color-info-low: hsl(228 83.2% 51% / 0.18);
|
|
278
281
|
--color-info-medium: hsl(228 83.2% 51% / 0.6);
|
|
279
|
-
--color-info-frosted: hsl(
|
|
280
|
-
--color-info-frosted-soft: hsl(
|
|
282
|
+
--color-info-frosted: hsl(211 100% 90% / 0.55);
|
|
283
|
+
--color-info-frosted-soft: hsl(211 80% 95% / 0.55);
|
|
281
284
|
}
|
|
282
285
|
|
|
283
286
|
.scheme-dark,
|
|
@@ -298,23 +301,23 @@
|
|
|
298
301
|
--color-success: hsl(157 84.9% 41.6%);
|
|
299
302
|
--color-success-low: hsl(157 84.9% 41.6% / 0.18);
|
|
300
303
|
--color-success-medium: hsl(157 84.9% 41.6% / 0.6);
|
|
301
|
-
--color-success-frosted: hsl(157
|
|
302
|
-
--color-success-frosted-soft: hsl(157
|
|
304
|
+
--color-success-frosted: hsl(157 79% 20% / 0.66);
|
|
305
|
+
--color-success-frosted-soft: hsl(157 59% 15% / 0.66);
|
|
303
306
|
--color-warning: hsl(28 90.2% 56.1%);
|
|
304
307
|
--color-warning-low: hsl(28 90.2% 56.1% / 0.18);
|
|
305
308
|
--color-warning-medium: hsl(28 90.2% 56.1% / 0.6);
|
|
306
|
-
--color-warning-frosted: hsl(
|
|
307
|
-
--color-warning-frosted-soft: hsl(
|
|
309
|
+
--color-warning-frosted: hsl(52 79% 20% / 0.66);
|
|
310
|
+
--color-warning-frosted-soft: hsl(52 59% 15% / 0.66);
|
|
308
311
|
--color-error: hsl(0 96.9% 62%);
|
|
309
312
|
--color-error-low: hsl(0 96.9% 62% / 0.18);
|
|
310
313
|
--color-error-medium: hsl(0 96.9% 62% / 0.6);
|
|
311
|
-
--color-error-frosted: hsl(0
|
|
312
|
-
--color-error-frosted-soft: hsl(0
|
|
314
|
+
--color-error-frosted: hsl(0 79% 20% / 0.66);
|
|
315
|
+
--color-error-frosted-soft: hsl(0 59% 15% / 0.66);
|
|
313
316
|
--color-info: hsl(210 100% 54.5%);
|
|
314
317
|
--color-info-low: hsl(210 100% 54.5% / 0.18);
|
|
315
318
|
--color-info-medium: hsl(210 100% 54.5% / 0.6);
|
|
316
|
-
--color-info-frosted: hsl(210
|
|
317
|
-
--color-info-frosted-soft: hsl(210
|
|
319
|
+
--color-info-frosted: hsl(210 79% 20% / 0.66);
|
|
320
|
+
--color-info-frosted-soft: hsl(210 59% 15% / 0.66);
|
|
318
321
|
}
|
|
319
322
|
|
|
320
323
|
@media (prefers-color-scheme: dark) {
|
|
@@ -335,23 +338,23 @@
|
|
|
335
338
|
--color-success: hsl(157 84.9% 41.6%);
|
|
336
339
|
--color-success-low: hsl(157 84.9% 41.6% / 0.18);
|
|
337
340
|
--color-success-medium: hsl(157 84.9% 41.6% / 0.6);
|
|
338
|
-
--color-success-frosted: hsl(157
|
|
339
|
-
--color-success-frosted-soft: hsl(157
|
|
341
|
+
--color-success-frosted: hsl(157 79% 20% / 0.66);
|
|
342
|
+
--color-success-frosted-soft: hsl(157 59% 15% / 0.66);
|
|
340
343
|
--color-warning: hsl(28 90.2% 56.1%);
|
|
341
344
|
--color-warning-low: hsl(28 90.2% 56.1% / 0.18);
|
|
342
345
|
--color-warning-medium: hsl(28 90.2% 56.1% / 0.6);
|
|
343
|
-
--color-warning-frosted: hsl(
|
|
344
|
-
--color-warning-frosted-soft: hsl(
|
|
346
|
+
--color-warning-frosted: hsl(52 79% 20% / 0.66);
|
|
347
|
+
--color-warning-frosted-soft: hsl(52 59% 15% / 0.66);
|
|
345
348
|
--color-error: hsl(0 96.9% 62%);
|
|
346
349
|
--color-error-low: hsl(0 96.9% 62% / 0.18);
|
|
347
350
|
--color-error-medium: hsl(0 96.9% 62% / 0.6);
|
|
348
|
-
--color-error-frosted: hsl(0
|
|
349
|
-
--color-error-frosted-soft: hsl(0
|
|
351
|
+
--color-error-frosted: hsl(0 79% 20% / 0.66);
|
|
352
|
+
--color-error-frosted-soft: hsl(0 59% 15% / 0.66);
|
|
350
353
|
--color-info: hsl(210 100% 54.5%);
|
|
351
354
|
--color-info-low: hsl(210 100% 54.5% / 0.18);
|
|
352
355
|
--color-info-medium: hsl(210 100% 54.5% / 0.6);
|
|
353
|
-
--color-info-frosted: hsl(210
|
|
354
|
-
--color-info-frosted-soft: hsl(210
|
|
356
|
+
--color-info-frosted: hsl(210 79% 20% / 0.66);
|
|
357
|
+
--color-info-frosted-soft: hsl(210 59% 15% / 0.66);
|
|
355
358
|
}
|
|
356
359
|
}
|
|
357
360
|
}
|
|
@@ -359,119 +362,309 @@
|
|
|
359
362
|
|
|
360
363
|
/* Gradient */
|
|
361
364
|
@utility bg-fade-to-t {
|
|
362
|
-
|
|
365
|
+
background-image: linear-gradient(
|
|
366
|
+
to top,
|
|
367
|
+
hsla(0, 0%, 0%, 0.8) 0%,
|
|
368
|
+
hsla(0, 0%, 0%, 0.8) 8.1%,
|
|
369
|
+
hsla(0, 0%, 0%, 0.8) 15.5%,
|
|
370
|
+
hsla(0, 0%, 0%, 0.8) 22.5%,
|
|
371
|
+
hsla(0, 0%, 0%, 0.78) 29%,
|
|
372
|
+
hsla(0, 0%, 0%, 0.73) 35.3%,
|
|
373
|
+
hsla(0, 0%, 0%, 0.67) 41.2%,
|
|
374
|
+
hsla(0, 0%, 0%, 0.6) 47.1%,
|
|
375
|
+
hsla(0, 0%, 0%, 0.52) 52.9%,
|
|
376
|
+
hsla(0, 0%, 0%, 0.44) 58.8%,
|
|
377
|
+
hsla(0, 0%, 0%, 0.33) 64.7%,
|
|
378
|
+
hsla(0, 0%, 0%, 0.22) 71%,
|
|
379
|
+
hsla(0, 0%, 0%, 0.12) 77.5%,
|
|
380
|
+
hsla(0, 0%, 0%, 0.05) 84.5%,
|
|
381
|
+
hsla(0, 0%, 0%, 0.011) 91.9%,
|
|
382
|
+
hsla(0, 0%, 0%, 0) 100%
|
|
383
|
+
);
|
|
363
384
|
}
|
|
364
385
|
|
|
365
386
|
@utility bg-fade-to-r {
|
|
366
|
-
|
|
387
|
+
background-image: linear-gradient(
|
|
388
|
+
to right,
|
|
389
|
+
hsla(0, 0%, 0%, 0.8) 0%,
|
|
390
|
+
hsla(0, 0%, 0%, 0.8) 8.1%,
|
|
391
|
+
hsla(0, 0%, 0%, 0.8) 15.5%,
|
|
392
|
+
hsla(0, 0%, 0%, 0.8) 22.5%,
|
|
393
|
+
hsla(0, 0%, 0%, 0.78) 29%,
|
|
394
|
+
hsla(0, 0%, 0%, 0.73) 35.3%,
|
|
395
|
+
hsla(0, 0%, 0%, 0.67) 41.2%,
|
|
396
|
+
hsla(0, 0%, 0%, 0.6) 47.1%,
|
|
397
|
+
hsla(0, 0%, 0%, 0.52) 52.9%,
|
|
398
|
+
hsla(0, 0%, 0%, 0.44) 58.8%,
|
|
399
|
+
hsla(0, 0%, 0%, 0.33) 64.7%,
|
|
400
|
+
hsla(0, 0%, 0%, 0.22) 71%,
|
|
401
|
+
hsla(0, 0%, 0%, 0.12) 77.5%,
|
|
402
|
+
hsla(0, 0%, 0%, 0.05) 84.5%,
|
|
403
|
+
hsla(0, 0%, 0%, 0.011) 91.9%,
|
|
404
|
+
hsla(0, 0%, 0%, 0) 100%
|
|
405
|
+
);
|
|
367
406
|
}
|
|
368
407
|
|
|
369
408
|
@utility bg-fade-to-b {
|
|
370
|
-
|
|
409
|
+
background-image: linear-gradient(
|
|
410
|
+
to bottom,
|
|
411
|
+
hsla(0, 0%, 0%, 0.8) 0%,
|
|
412
|
+
hsla(0, 0%, 0%, 0.8) 8.1%,
|
|
413
|
+
hsla(0, 0%, 0%, 0.8) 15.5%,
|
|
414
|
+
hsla(0, 0%, 0%, 0.8) 22.5%,
|
|
415
|
+
hsla(0, 0%, 0%, 0.78) 29%,
|
|
416
|
+
hsla(0, 0%, 0%, 0.73) 35.3%,
|
|
417
|
+
hsla(0, 0%, 0%, 0.67) 41.2%,
|
|
418
|
+
hsla(0, 0%, 0%, 0.6) 47.1%,
|
|
419
|
+
hsla(0, 0%, 0%, 0.52) 52.9%,
|
|
420
|
+
hsla(0, 0%, 0%, 0.44) 58.8%,
|
|
421
|
+
hsla(0, 0%, 0%, 0.33) 64.7%,
|
|
422
|
+
hsla(0, 0%, 0%, 0.22) 71%,
|
|
423
|
+
hsla(0, 0%, 0%, 0.12) 77.5%,
|
|
424
|
+
hsla(0, 0%, 0%, 0.05) 84.5%,
|
|
425
|
+
hsla(0, 0%, 0%, 0.011) 91.9%,
|
|
426
|
+
hsla(0, 0%, 0%, 0) 100%
|
|
427
|
+
);
|
|
371
428
|
}
|
|
372
429
|
|
|
373
430
|
@utility bg-fade-to-l {
|
|
374
|
-
|
|
431
|
+
background-image: linear-gradient(
|
|
432
|
+
to left,
|
|
433
|
+
hsla(0, 0%, 0%, 0.8) 0%,
|
|
434
|
+
hsla(0, 0%, 0%, 0.8) 8.1%,
|
|
435
|
+
hsla(0, 0%, 0%, 0.8) 15.5%,
|
|
436
|
+
hsla(0, 0%, 0%, 0.8) 22.5%,
|
|
437
|
+
hsla(0, 0%, 0%, 0.78) 29%,
|
|
438
|
+
hsla(0, 0%, 0%, 0.73) 35.3%,
|
|
439
|
+
hsla(0, 0%, 0%, 0.67) 41.2%,
|
|
440
|
+
hsla(0, 0%, 0%, 0.6) 47.1%,
|
|
441
|
+
hsla(0, 0%, 0%, 0.52) 52.9%,
|
|
442
|
+
hsla(0, 0%, 0%, 0.44) 58.8%,
|
|
443
|
+
hsla(0, 0%, 0%, 0.33) 64.7%,
|
|
444
|
+
hsla(0, 0%, 0%, 0.22) 71%,
|
|
445
|
+
hsla(0, 0%, 0%, 0.12) 77.5%,
|
|
446
|
+
hsla(0, 0%, 0%, 0.05) 84.5%,
|
|
447
|
+
hsla(0, 0%, 0%, 0.011) 91.9%,
|
|
448
|
+
hsla(0, 0%, 0%, 0) 100%
|
|
449
|
+
);
|
|
375
450
|
}
|
|
376
451
|
|
|
377
452
|
/* Grid */
|
|
378
453
|
@utility grid-template {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
454
|
+
--pds-internal-grid-safe-zone: max(22px, 10.625vw - 12px);
|
|
455
|
+
--_pds-grid-col: minmax(
|
|
456
|
+
0,
|
|
457
|
+
var(
|
|
458
|
+
--pds-internal-grid-outer-column,
|
|
459
|
+
calc(var(--pds-internal-grid-safe-zone) - var(--spacing-fluid-md))
|
|
460
|
+
)
|
|
461
|
+
);
|
|
462
|
+
display: grid;
|
|
463
|
+
grid-template-columns: [full-start] var(
|
|
464
|
+
--_pds-grid-col
|
|
465
|
+
) [wide-start extended-start basic-start narrow-start] repeat(
|
|
466
|
+
6,
|
|
467
|
+
minmax(0, 1fr)
|
|
468
|
+
) [narrow-end basic-end extended-end wide-end] var(
|
|
469
|
+
--_pds-grid-col
|
|
470
|
+
) [full-end];
|
|
471
|
+
gap: var(--spacing-fluid-md);
|
|
472
|
+
min-width: var(--pds-internal-grid-width-min, 320px);
|
|
473
|
+
max-width: var(--pds-internal-grid-width-max, 2560px);
|
|
474
|
+
box-sizing: content-box;
|
|
475
|
+
margin-inline: var(--pds-internal-grid-margin, 0);
|
|
476
|
+
padding-inline: calc(50% - var(--pds-internal-grid-margin, 0px) - 2560px / 2);
|
|
477
|
+
|
|
478
|
+
@media (width >= 760px) {
|
|
479
|
+
--pds-internal-grid-safe-zone: calc(5vw - 16px);
|
|
480
|
+
grid-template-columns: [full-start] var(
|
|
481
|
+
--_pds-grid-col
|
|
482
|
+
) [wide-start] minmax(0, 1fr) [extended-start] minmax(
|
|
483
|
+
0,
|
|
484
|
+
1fr
|
|
485
|
+
) [basic-start] repeat(2, minmax(0, 1fr)) [narrow-start] repeat(
|
|
486
|
+
8,
|
|
487
|
+
minmax(0, 1fr)
|
|
488
|
+
) [narrow-end] repeat(2, minmax(0, 1fr)) [basic-end] minmax(
|
|
489
|
+
0,
|
|
490
|
+
1fr
|
|
491
|
+
) [extended-end] minmax(0, 1fr) [wide-end] var(
|
|
492
|
+
--_pds-grid-col
|
|
493
|
+
) [full-end];
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
@media (width >= 1920px) {
|
|
497
|
+
--pds-internal-grid-safe-zone: min(50vw - 880px, 400px);
|
|
498
|
+
}
|
|
392
499
|
}
|
|
393
500
|
|
|
394
501
|
/* Grid: Area Narrow */
|
|
395
502
|
@utility col-narrow {
|
|
396
|
-
|
|
503
|
+
--_pds-grid-one-half: 3;
|
|
504
|
+
grid-column: narrow;
|
|
505
|
+
|
|
506
|
+
@media (width >= 760px) {
|
|
507
|
+
--_pds-grid-one-half: 4;
|
|
508
|
+
}
|
|
397
509
|
}
|
|
398
510
|
|
|
399
511
|
@utility col-start-narrow {
|
|
400
|
-
|
|
512
|
+
--_pds-grid-one-half: 3;
|
|
513
|
+
grid-column-start: narrow-start;
|
|
514
|
+
|
|
515
|
+
@media (width >= 760px) {
|
|
516
|
+
--_pds-grid-one-half: 4;
|
|
517
|
+
}
|
|
401
518
|
}
|
|
402
519
|
|
|
403
520
|
@utility col-end-narrow {
|
|
404
|
-
|
|
521
|
+
--_pds-grid-one-half: 3;
|
|
522
|
+
grid-column-end: narrow-end;
|
|
523
|
+
|
|
524
|
+
@media (width >= 760px) {
|
|
525
|
+
--_pds-grid-one-half: 4;
|
|
526
|
+
}
|
|
405
527
|
}
|
|
406
528
|
|
|
407
529
|
/* Grid: Area Basic */
|
|
408
530
|
@utility col-basic {
|
|
409
|
-
|
|
531
|
+
--_pds-grid-one-half: 3;
|
|
532
|
+
--_pds-grid-one-third: 2;
|
|
533
|
+
--_pds-grid-two-thirds: 4;
|
|
534
|
+
grid-column: basic;
|
|
535
|
+
|
|
536
|
+
@media (width >= 760px) {
|
|
537
|
+
--_pds-grid-one-half: 6;
|
|
538
|
+
--_pds-grid-one-third: 4;
|
|
539
|
+
--_pds-grid-two-thirds: 8;
|
|
540
|
+
}
|
|
410
541
|
}
|
|
411
542
|
|
|
412
543
|
@utility col-start-basic {
|
|
413
|
-
|
|
544
|
+
--_pds-grid-one-half: 3;
|
|
545
|
+
--_pds-grid-one-third: 2;
|
|
546
|
+
--_pds-grid-two-thirds: 4;
|
|
547
|
+
grid-column-start: basic-start;
|
|
548
|
+
|
|
549
|
+
@media (width >= 760px) {
|
|
550
|
+
--_pds-grid-one-half: 6;
|
|
551
|
+
--_pds-grid-one-third: 4;
|
|
552
|
+
--_pds-grid-two-thirds: 8;
|
|
553
|
+
}
|
|
414
554
|
}
|
|
415
555
|
|
|
416
556
|
@utility col-end-basic {
|
|
417
|
-
|
|
557
|
+
--_pds-grid-one-half: 3;
|
|
558
|
+
--_pds-grid-one-third: 2;
|
|
559
|
+
--_pds-grid-two-thirds: 4;
|
|
560
|
+
grid-column-end: basic-end;
|
|
561
|
+
|
|
562
|
+
@media (width >= 760px) {
|
|
563
|
+
--_pds-grid-one-half: 6;
|
|
564
|
+
--_pds-grid-one-third: 4;
|
|
565
|
+
--_pds-grid-two-thirds: 8;
|
|
566
|
+
}
|
|
418
567
|
}
|
|
419
568
|
|
|
420
569
|
/* Grid: Area Extended */
|
|
421
570
|
@utility col-extended {
|
|
422
|
-
|
|
571
|
+
--_pds-grid-one-half: 3;
|
|
572
|
+
grid-column: extended;
|
|
573
|
+
|
|
574
|
+
@media (width >= 760px) {
|
|
575
|
+
--_pds-grid-one-half: 7;
|
|
576
|
+
}
|
|
423
577
|
}
|
|
424
578
|
|
|
425
579
|
@utility col-start-extended {
|
|
426
|
-
|
|
580
|
+
--_pds-grid-one-half: 3;
|
|
581
|
+
grid-column-start: extended-start;
|
|
582
|
+
|
|
583
|
+
@media (width >= 760px) {
|
|
584
|
+
--_pds-grid-one-half: 7;
|
|
585
|
+
}
|
|
427
586
|
}
|
|
428
587
|
|
|
429
588
|
@utility col-end-extended {
|
|
430
|
-
|
|
589
|
+
--_pds-grid-one-half: 3;
|
|
590
|
+
grid-column-end: extended-end;
|
|
591
|
+
|
|
592
|
+
@media (width >= 760px) {
|
|
593
|
+
--_pds-grid-one-half: 7;
|
|
594
|
+
}
|
|
431
595
|
}
|
|
432
596
|
|
|
433
597
|
/* Grid: Area Wide */
|
|
434
598
|
@utility col-wide {
|
|
435
|
-
|
|
599
|
+
--_pds-grid-one-half: 3;
|
|
600
|
+
grid-column: wide;
|
|
601
|
+
|
|
602
|
+
@media (width >= 760px) {
|
|
603
|
+
--_pds-grid-one-half: 8;
|
|
604
|
+
}
|
|
436
605
|
}
|
|
437
606
|
|
|
438
607
|
@utility col-start-wide {
|
|
439
|
-
|
|
608
|
+
--_pds-grid-one-half: 3;
|
|
609
|
+
grid-column-start: wide-start;
|
|
610
|
+
|
|
611
|
+
@media (width >= 760px) {
|
|
612
|
+
--_pds-grid-one-half: 8;
|
|
613
|
+
}
|
|
440
614
|
}
|
|
441
615
|
|
|
442
616
|
@utility col-end-wide {
|
|
443
|
-
|
|
617
|
+
--_pds-grid-one-half: 3;
|
|
618
|
+
grid-column-end: wide-end;
|
|
619
|
+
|
|
620
|
+
@media (width >= 760px) {
|
|
621
|
+
--_pds-grid-one-half: 8;
|
|
622
|
+
}
|
|
444
623
|
}
|
|
445
624
|
|
|
446
625
|
/* Grid: Area Full */
|
|
447
626
|
@utility col-full {
|
|
448
|
-
|
|
627
|
+
grid-column: full;
|
|
449
628
|
}
|
|
450
629
|
|
|
451
630
|
@utility col-start-full {
|
|
452
|
-
|
|
631
|
+
grid-column-start: full-start;
|
|
453
632
|
}
|
|
454
633
|
|
|
455
634
|
@utility col-end-full {
|
|
456
|
-
|
|
635
|
+
grid-column-end: full-end;
|
|
457
636
|
}
|
|
458
637
|
|
|
459
638
|
/* Grid: Division */
|
|
460
639
|
@utility col-span-one-half {
|
|
461
|
-
|
|
640
|
+
grid-column: span var(--_pds-grid-one-half, 1) / span
|
|
641
|
+
var(--_pds-grid-one-half, 1);
|
|
462
642
|
}
|
|
463
643
|
|
|
464
644
|
@utility col-span-one-third {
|
|
465
|
-
|
|
645
|
+
grid-column: span var(--_pds-grid-one-third, 1) / span
|
|
646
|
+
var(--_pds-grid-one-third, 1);
|
|
466
647
|
}
|
|
467
648
|
|
|
468
649
|
@utility col-span-two-thirds {
|
|
469
|
-
|
|
650
|
+
grid-column: span var(--_pds-grid-two-thirds, 1) / span
|
|
651
|
+
var(--_pds-grid-two-thirds, 1);
|
|
470
652
|
}
|
|
471
653
|
|
|
472
654
|
/* Skeleton */
|
|
473
655
|
@utility skeleton {
|
|
474
|
-
|
|
656
|
+
animation: var(--animate-skeleton);
|
|
657
|
+
display: block;
|
|
658
|
+
border-radius: var(--radius-sm);
|
|
659
|
+
background-color: transparent;
|
|
660
|
+
background-image: linear-gradient(
|
|
661
|
+
to right,
|
|
662
|
+
var(--color-frosted) 0%,
|
|
663
|
+
var(--color-frosted-strong) 50%,
|
|
664
|
+
var(--color-frosted) 100%
|
|
665
|
+
);
|
|
666
|
+
background-position: 0 0;
|
|
667
|
+
background-size: 200% 100%;
|
|
475
668
|
}
|
|
476
669
|
|
|
477
670
|
/* Typography: Text */
|
|
@@ -580,11 +773,17 @@
|
|
|
580
773
|
|
|
581
774
|
/* Typography: Display */
|
|
582
775
|
@utility prose-display-sm {
|
|
583
|
-
|
|
776
|
+
font: var(--font-weight-normal) var(--text-3xl) / var(--leading-normal)
|
|
777
|
+
var(--font-porsche-next);
|
|
778
|
+
color: var(--color-primary);
|
|
584
779
|
}
|
|
585
780
|
@utility prose-display-md {
|
|
586
|
-
|
|
781
|
+
font: var(--font-weight-normal) var(--text-4xl) / var(--leading-normal)
|
|
782
|
+
var(--font-porsche-next);
|
|
783
|
+
color: var(--color-primary);
|
|
587
784
|
}
|
|
588
785
|
@utility prose-display-lg {
|
|
589
|
-
|
|
786
|
+
font: var(--font-weight-normal) var(--text-5xl) / var(--leading-normal)
|
|
787
|
+
var(--font-porsche-next);
|
|
788
|
+
color: var(--color-primary);
|
|
590
789
|
}
|
|
@@ -719,30 +719,6 @@ declare const LINK_TARGETS: readonly [
|
|
|
719
719
|
"_top"
|
|
720
720
|
];
|
|
721
721
|
type LinkTarget = (typeof LINK_TARGETS)[number] | string;
|
|
722
|
-
type MultiSelectState = FormState;
|
|
723
|
-
type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
724
|
-
type MultiSelectChangeEventDetail = {
|
|
725
|
-
name: string;
|
|
726
|
-
value: string[];
|
|
727
|
-
};
|
|
728
|
-
type MultiSelectToggleEventDetail = {
|
|
729
|
-
open: boolean;
|
|
730
|
-
};
|
|
731
|
-
type SelectState = FormState;
|
|
732
|
-
type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
733
|
-
type SelectChangeEventDetail = {
|
|
734
|
-
name: string;
|
|
735
|
-
value: string;
|
|
736
|
-
};
|
|
737
|
-
type SelectToggleEventDetail = {
|
|
738
|
-
open: boolean;
|
|
739
|
-
};
|
|
740
|
-
declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
741
|
-
"down",
|
|
742
|
-
"up",
|
|
743
|
-
"auto"
|
|
744
|
-
];
|
|
745
|
-
type SelectComponentsDropdownDirection = (typeof SELECT_DROPDOWN_DIRECTIONS)[number];
|
|
746
722
|
declare const TILE_ASPECT_RATIOS: readonly [
|
|
747
723
|
"1/1",
|
|
748
724
|
"4/3",
|
|
@@ -768,6 +744,30 @@ declare const TILE_ALIGNS: readonly [
|
|
|
768
744
|
"bottom"
|
|
769
745
|
];
|
|
770
746
|
type TileAlign = (typeof TILE_ALIGNS)[number];
|
|
747
|
+
type MultiSelectState = FormState;
|
|
748
|
+
type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
749
|
+
type MultiSelectChangeEventDetail = {
|
|
750
|
+
name: string;
|
|
751
|
+
value: string[];
|
|
752
|
+
};
|
|
753
|
+
type MultiSelectToggleEventDetail = {
|
|
754
|
+
open: boolean;
|
|
755
|
+
};
|
|
756
|
+
type SelectState = FormState;
|
|
757
|
+
type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
758
|
+
type SelectChangeEventDetail = {
|
|
759
|
+
name: string;
|
|
760
|
+
value: string;
|
|
761
|
+
};
|
|
762
|
+
type SelectToggleEventDetail = {
|
|
763
|
+
open: boolean;
|
|
764
|
+
};
|
|
765
|
+
declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
766
|
+
"down",
|
|
767
|
+
"up",
|
|
768
|
+
"auto"
|
|
769
|
+
];
|
|
770
|
+
type SelectComponentsDropdownDirection = (typeof SELECT_DROPDOWN_DIRECTIONS)[number];
|
|
771
771
|
declare const ALIGN_LABELS: readonly [
|
|
772
772
|
"start",
|
|
773
773
|
"end"
|
|
@@ -1507,9 +1507,13 @@ declare const TAG_VARIANTS: readonly [
|
|
|
1507
1507
|
"primary",
|
|
1508
1508
|
"secondary",
|
|
1509
1509
|
"info",
|
|
1510
|
+
"info-frosted",
|
|
1510
1511
|
"warning",
|
|
1512
|
+
"warning-frosted",
|
|
1511
1513
|
"success",
|
|
1512
|
-
"
|
|
1514
|
+
"success-frosted",
|
|
1515
|
+
"error",
|
|
1516
|
+
"error-frosted"
|
|
1513
1517
|
];
|
|
1514
1518
|
type TagVariant = (typeof TAG_VARIANTS)[number];
|
|
1515
1519
|
declare const TAG_DISMISSIBLE_ARIA_ATTRIBUTES: readonly [
|
|
@@ -2159,6 +2163,7 @@ declare class PSegmentedControl extends BaseComponent implements ControlValueAcc
|
|
|
2159
2163
|
label?: string;
|
|
2160
2164
|
message?: string;
|
|
2161
2165
|
name?: string;
|
|
2166
|
+
noWrap?: boolean;
|
|
2162
2167
|
required?: boolean;
|
|
2163
2168
|
state?: SegmentedControlState;
|
|
2164
2169
|
value?: string | number;
|
|
@@ -2172,7 +2177,7 @@ declare class PSegmentedControl extends BaseComponent implements ControlValueAcc
|
|
|
2172
2177
|
registerOnTouched(fn: any): void;
|
|
2173
2178
|
setDisabledState(isDisabled: boolean): void;
|
|
2174
2179
|
static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentedControl, never>;
|
|
2175
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentedControl, "p-segmented-control,[p-segmented-control]", never, { "columns": { "alias": "columns"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "form": { "alias": "form"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "state": { "alias": "state"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "blur": "blur"; "change": "change"; }, never, ["*"], false, never>;
|
|
2180
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentedControl, "p-segmented-control,[p-segmented-control]", never, { "columns": { "alias": "columns"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "description": { "alias": "description"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "form": { "alias": "form"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "noWrap": { "alias": "noWrap"; "required": false; }; "required": { "alias": "required"; "required": false; }; "state": { "alias": "state"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "blur": "blur"; "change": "change"; }, never, ["*"], false, never>;
|
|
2176
2181
|
}
|
|
2177
2182
|
|
|
2178
2183
|
declare class PSelect extends BaseComponent implements ControlValueAccessor {
|