@porsche-design-system/components-angular 4.0.0-beta.2 → 4.0.0-beta.3
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 +293 -1
- package/fesm2022/porsche-design-system-components-angular.mjs +13 -8
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/global-styles/cn/index.css +3 -7
- package/global-styles/index.css +3 -7
- package/global-styles/variables.css +3 -7
- package/package.json +6 -2
- package/tailwindcss/index.css +19 -4
- package/types/porsche-design-system-components-angular.d.ts +334 -148
- package/vanilla-extract/cjs/font/deprecated/fontSizeDisplay.cjs +6 -6
- package/vanilla-extract/cjs/font/typescale3Xl.cjs +7 -0
- package/vanilla-extract/cjs/font/typescale4Xl.cjs +7 -0
- package/vanilla-extract/cjs/font/typescale5Xl.cjs +7 -0
- package/vanilla-extract/cjs/index.cjs +12 -12
- package/vanilla-extract/cjs/tokens/dist/esm/font/size/typescale3Xl.cjs +5 -0
- package/vanilla-extract/cjs/tokens/dist/esm/font/size/typescale4Xl.cjs +5 -0
- package/vanilla-extract/cjs/tokens/dist/esm/font/size/typescale5Xl.cjs +5 -0
- package/vanilla-extract/cjs/typography/deprecated/display/displayLargeStyle.cjs +3 -3
- package/vanilla-extract/cjs/typography/deprecated/display/displayMediumStyle.cjs +3 -3
- package/vanilla-extract/cjs/typography/deprecated/display/displaySmallStyle.cjs +3 -3
- package/vanilla-extract/cjs/typography/proseHeading3XlStyle.cjs +12 -0
- package/vanilla-extract/cjs/typography/proseHeading4XlStyle.cjs +12 -0
- package/vanilla-extract/cjs/typography/proseHeading5XlStyle.cjs +12 -0
- package/vanilla-extract/cjs/typography/proseHeadingSmStyle.cjs +2 -2
- package/vanilla-extract/esm/font/deprecated/fontSizeDisplay.mjs +6 -6
- package/vanilla-extract/esm/font/index.d.ts +3 -3
- package/vanilla-extract/esm/font/typescale3Xl.d.ts +1 -0
- package/vanilla-extract/esm/font/typescale3Xl.mjs +5 -0
- package/vanilla-extract/esm/font/typescale4Xl.d.ts +1 -0
- package/vanilla-extract/esm/font/typescale4Xl.mjs +5 -0
- package/vanilla-extract/esm/font/typescale5Xl.d.ts +1 -0
- package/vanilla-extract/esm/font/typescale5Xl.mjs +5 -0
- package/vanilla-extract/esm/index.mjs +6 -6
- package/vanilla-extract/esm/tokens/dist/esm/font/size/typescale3Xl.mjs +3 -0
- package/vanilla-extract/esm/tokens/dist/esm/font/size/typescale4Xl.mjs +3 -0
- package/vanilla-extract/esm/tokens/dist/esm/font/size/typescale5Xl.mjs +3 -0
- package/vanilla-extract/esm/typography/deprecated/display/displayLargeStyle.d.ts +1 -1
- package/vanilla-extract/esm/typography/deprecated/display/displayLargeStyle.mjs +3 -3
- package/vanilla-extract/esm/typography/deprecated/display/displayMediumStyle.d.ts +1 -1
- package/vanilla-extract/esm/typography/deprecated/display/displayMediumStyle.mjs +3 -3
- package/vanilla-extract/esm/typography/deprecated/display/displaySmallStyle.d.ts +1 -1
- package/vanilla-extract/esm/typography/deprecated/display/displaySmallStyle.mjs +3 -3
- package/vanilla-extract/esm/typography/index.d.ts +3 -3
- package/vanilla-extract/esm/typography/proseHeading3XlStyle.d.ts +3 -0
- package/vanilla-extract/esm/typography/{proseDisplayMdStyle.mjs → proseHeading3XlStyle.mjs} +4 -3
- package/vanilla-extract/esm/typography/proseHeading4XlStyle.d.ts +3 -0
- package/vanilla-extract/esm/typography/{proseDisplaySmStyle.mjs → proseHeading4XlStyle.mjs} +4 -3
- package/vanilla-extract/esm/typography/proseHeading5XlStyle.d.ts +3 -0
- package/vanilla-extract/esm/typography/{proseDisplayLgStyle.mjs → proseHeading5XlStyle.mjs} +4 -3
- package/vanilla-extract/esm/typography/proseHeadingSmStyle.mjs +2 -2
- package/vanilla-extract/cjs/font/fontSizeDisplayLarge.cjs +0 -5
- package/vanilla-extract/cjs/font/fontSizeDisplayMedium.cjs +0 -5
- package/vanilla-extract/cjs/font/fontSizeDisplaySmall.cjs +0 -5
- package/vanilla-extract/cjs/typography/proseDisplayLgStyle.cjs +0 -11
- package/vanilla-extract/cjs/typography/proseDisplayMdStyle.cjs +0 -11
- package/vanilla-extract/cjs/typography/proseDisplaySmStyle.cjs +0 -11
- package/vanilla-extract/esm/font/fontSizeDisplayLarge.d.ts +0 -1
- package/vanilla-extract/esm/font/fontSizeDisplayLarge.mjs +0 -3
- package/vanilla-extract/esm/font/fontSizeDisplayMedium.d.ts +0 -1
- package/vanilla-extract/esm/font/fontSizeDisplayMedium.mjs +0 -3
- package/vanilla-extract/esm/font/fontSizeDisplaySmall.d.ts +0 -1
- package/vanilla-extract/esm/font/fontSizeDisplaySmall.mjs +0 -3
- package/vanilla-extract/esm/typography/proseDisplayLgStyle.d.ts +0 -3
- package/vanilla-extract/esm/typography/proseDisplayMdStyle.d.ts +0 -3
- package/vanilla-extract/esm/typography/proseDisplaySmStyle.d.ts +0 -3
|
@@ -132,13 +132,9 @@ body {
|
|
|
132
132
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
133
133
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
134
134
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
135
|
-
|
|
136
|
-
--p-
|
|
137
|
-
--p-
|
|
138
|
-
--p-breakpoint-md: 1000px;
|
|
139
|
-
--p-breakpoint-lg: 1300px;
|
|
140
|
-
--p-breakpoint-xl: 1760px;
|
|
141
|
-
--p-breakpoint-2xl: 1920px;
|
|
135
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
136
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
137
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
142
138
|
|
|
143
139
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
144
140
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
package/global-styles/index.css
CHANGED
|
@@ -132,13 +132,9 @@ body {
|
|
|
132
132
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
133
133
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
134
134
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
135
|
-
|
|
136
|
-
--p-
|
|
137
|
-
--p-
|
|
138
|
-
--p-breakpoint-md: 1000px;
|
|
139
|
-
--p-breakpoint-lg: 1300px;
|
|
140
|
-
--p-breakpoint-xl: 1760px;
|
|
141
|
-
--p-breakpoint-2xl: 1920px;
|
|
135
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
136
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
137
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
142
138
|
|
|
143
139
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
144
140
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
|
@@ -121,13 +121,9 @@
|
|
|
121
121
|
--p-typescale-lg: clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem);
|
|
122
122
|
--p-typescale-xl: clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem);
|
|
123
123
|
--p-typescale-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
124
|
-
|
|
125
|
-
--p-
|
|
126
|
-
--p-
|
|
127
|
-
--p-breakpoint-md: 1000px;
|
|
128
|
-
--p-breakpoint-lg: 1300px;
|
|
129
|
-
--p-breakpoint-xl: 1760px;
|
|
130
|
-
--p-breakpoint-2xl: 1920px;
|
|
124
|
+
--p-typescale-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
125
|
+
--p-typescale-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
126
|
+
--p-typescale-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
131
127
|
|
|
132
128
|
--p-spacing-fluid-xs: clamp(4px, 0.25vw + 3px, 8px);
|
|
133
129
|
--p-spacing-fluid-sm: clamp(8px, 0.5vw + 6px, 16px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-angular",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.3",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -16,8 +16,12 @@
|
|
|
16
16
|
"author": "Dr. Ing. h.c. F. Porsche AG",
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/porsche-design-system/porsche-design-system"
|
|
22
|
+
},
|
|
19
23
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "4.0.0-beta.
|
|
24
|
+
"@porsche-design-system/components-js": "4.0.0-beta.3",
|
|
21
25
|
"tslib": "^2.8.1"
|
|
22
26
|
},
|
|
23
27
|
"peerDependencies": {
|
package/tailwindcss/index.css
CHANGED
|
@@ -143,6 +143,12 @@
|
|
|
143
143
|
--text-xl--line-height: calc(6px + 2.125ex);
|
|
144
144
|
--text-2xl: clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem);
|
|
145
145
|
--text-2xl--line-height: calc(6px + 2.125ex);
|
|
146
|
+
--text-3xl: clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem);
|
|
147
|
+
--text-3xl--line-height: calc(6px + 2.125ex);
|
|
148
|
+
--text-4xl: clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem);
|
|
149
|
+
--text-4xl--line-height: calc(6px + 2.125ex);
|
|
150
|
+
--text-5xl: clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem);
|
|
151
|
+
--text-5xl--line-height: calc(6px + 2.125ex);
|
|
146
152
|
|
|
147
153
|
/* Breakpoint */
|
|
148
154
|
--breakpoint-xs: 480px;
|
|
@@ -492,7 +498,7 @@
|
|
|
492
498
|
|
|
493
499
|
/* Typography: Heading */
|
|
494
500
|
@utility prose-heading-sm {
|
|
495
|
-
@apply font-porsche-next not-italic font-
|
|
501
|
+
@apply font-porsche-next not-italic font-semibold text-sm text-primary;
|
|
496
502
|
}
|
|
497
503
|
@utility prose-heading-md {
|
|
498
504
|
@apply font-porsche-next not-italic font-normal text-md text-primary;
|
|
@@ -506,14 +512,23 @@
|
|
|
506
512
|
@utility prose-heading-2xl {
|
|
507
513
|
@apply font-porsche-next not-italic font-normal text-2xl text-primary;
|
|
508
514
|
}
|
|
515
|
+
@utility prose-heading-3xl {
|
|
516
|
+
@apply font-porsche-next not-italic font-normal text-3xl text-primary;
|
|
517
|
+
}
|
|
518
|
+
@utility prose-heading-4xl {
|
|
519
|
+
@apply font-porsche-next not-italic font-normal text-4xl text-primary;
|
|
520
|
+
}
|
|
521
|
+
@utility prose-heading-5xl {
|
|
522
|
+
@apply font-porsche-next not-italic font-normal text-5xl text-primary;
|
|
523
|
+
}
|
|
509
524
|
|
|
510
525
|
/* Typography: Display */
|
|
511
526
|
@utility prose-display-sm {
|
|
512
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
527
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-3xl;
|
|
513
528
|
}
|
|
514
529
|
@utility prose-display-md {
|
|
515
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
530
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-4xl;
|
|
516
531
|
}
|
|
517
532
|
@utility prose-display-lg {
|
|
518
|
-
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-
|
|
533
|
+
@apply font-porsche-next not-italic font-normal leading-normal text-primary text-5xl;
|
|
519
534
|
}
|