@porsche-design-system/components-angular 4.0.0-beta.3 → 4.0.0-beta.4
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 +41 -0
- package/OSS_NOTICE +1649 -5178
- package/fesm2022/porsche-design-system-components-angular.mjs +6 -4
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/global-styles/cn/index.css +154 -152
- package/global-styles/color-scheme.css +95 -95
- package/global-styles/index.css +154 -152
- package/global-styles/variables.css +59 -57
- package/package.json +2 -2
- package/tailwindcss/index.css +151 -154
- package/types/porsche-design-system-components-angular.d.ts +24 -3
- package/vanilla-extract/cjs/tokens/dist/esm/color/palette.cjs +56 -56
- package/vanilla-extract/cjs/tokens/dist/esm/font/size/typescaleXs.cjs +1 -1
- package/vanilla-extract/cjs/typography/deprecated/text/textLargeStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/deprecated/text/textMediumStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/deprecated/text/textSmallStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/deprecated/text/textXLargeStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/deprecated/text/textXSmallStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/deprecated/text/textXXSmallStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseText2XsStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseTextLgStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseTextMdStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseTextSmStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseTextXlStyle.cjs +0 -2
- package/vanilla-extract/cjs/typography/proseTextXsStyle.cjs +0 -2
- package/vanilla-extract/esm/font/deprecated/fontSizeTextXSmall.d.ts +1 -1
- package/vanilla-extract/esm/font/typescaleXs.d.ts +1 -1
- package/vanilla-extract/esm/tokens/dist/esm/color/palette.mjs +56 -56
- package/vanilla-extract/esm/tokens/dist/esm/font/size/typescaleXs.mjs +1 -1
- package/vanilla-extract/esm/typography/deprecated/text/textLargeStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textLargeStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textMediumStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textMediumStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textSmallStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textSmallStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textXLargeStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textXLargeStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textXSmallStyle.d.ts +1 -3
- package/vanilla-extract/esm/typography/deprecated/text/textXSmallStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textXXSmallStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/deprecated/text/textXXSmallStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseText2XsStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseText2XsStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseTextLgStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseTextLgStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseTextMdStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseTextMdStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseTextSmStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseTextSmStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseTextXlStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseTextXlStyle.mjs +0 -2
- package/vanilla-extract/esm/typography/proseTextXsStyle.d.ts +0 -2
- package/vanilla-extract/esm/typography/proseTextXsStyle.mjs +0 -2
|
@@ -3,73 +3,73 @@
|
|
|
3
3
|
const palette = {
|
|
4
4
|
light: {
|
|
5
5
|
green: {
|
|
6
|
-
'950': 'hsl(115
|
|
7
|
-
'50a': '
|
|
8
|
-
'100a': '
|
|
9
|
-
'600a': '
|
|
6
|
+
'950': 'hsl(115 77.5% 27.8%)',
|
|
7
|
+
'50a': 'hsl(115 77.5% 27.8% / 0.1)',
|
|
8
|
+
'100a': 'hsl(115 77.5% 27.8% / 0.18)',
|
|
9
|
+
'600a': 'hsl(115 77.5% 27.8% / 0.6)'},
|
|
10
10
|
red: {
|
|
11
|
-
'950': 'hsl(357
|
|
12
|
-
'50a': '
|
|
13
|
-
'100a': '
|
|
14
|
-
'600a': '
|
|
11
|
+
'950': 'hsl(357 78% 41%)',
|
|
12
|
+
'50a': 'hsl(357 78% 41% / 0.1)',
|
|
13
|
+
'100a': 'hsl(357 78% 41% / 0.18)',
|
|
14
|
+
'600a': 'hsl(357 78% 41% / 0.6)'},
|
|
15
15
|
yellow: {
|
|
16
|
-
'950': 'hsl(28
|
|
17
|
-
'50a': '
|
|
18
|
-
'100a': '
|
|
19
|
-
'600a': '
|
|
16
|
+
'950': 'hsl(28 97.7% 34.1%)',
|
|
17
|
+
'50a': 'hsl(28 97.7% 34.1% / 0.1)',
|
|
18
|
+
'100a': 'hsl(28 97.7% 34.1% / 0.18)',
|
|
19
|
+
'600a': 'hsl(28 97.7% 34.1% / 0.6)'},
|
|
20
20
|
blue: {
|
|
21
|
-
'950': 'hsl(228
|
|
22
|
-
'50a': '
|
|
23
|
-
'100a': '
|
|
24
|
-
'600a': '
|
|
21
|
+
'950': 'hsl(228 83.2% 51%)',
|
|
22
|
+
'50a': 'hsl(228 83.2% 51% / 0.1)',
|
|
23
|
+
'100a': 'hsl(228 83.2% 51% / 0.18)',
|
|
24
|
+
'600a': 'hsl(228 83.2% 51% / 0.6)'},
|
|
25
25
|
grey: {
|
|
26
|
-
'50': 'hsl(240
|
|
27
|
-
'950': 'hsl(225
|
|
28
|
-
'50a': '
|
|
29
|
-
'100a': '
|
|
30
|
-
'200a': '
|
|
31
|
-
'300a': '
|
|
32
|
-
'500a': '
|
|
33
|
-
'600a': '
|
|
34
|
-
'700a': '
|
|
35
|
-
'800a': '
|
|
26
|
+
'50': 'hsl(240 10% 95%)',
|
|
27
|
+
'950': 'hsl(225 66.7% 1.2%)',
|
|
28
|
+
'50a': 'hsl(234 9.8% 60% / 0.06)',
|
|
29
|
+
'100a': 'hsl(240 5% 70% / 0.148)',
|
|
30
|
+
'200a': 'hsl(236 6.5% 42% / 0.236)',
|
|
31
|
+
'300a': 'hsl(234 6% 32.9% / 0.324)',
|
|
32
|
+
'500a': 'hsl(240 5.3% 14.9% / 0.5)',
|
|
33
|
+
'600a': 'hsl(240 6.1% 7% / 0.6)',
|
|
34
|
+
'700a': 'hsl(240 7.1% 11% / 0.7)',
|
|
35
|
+
'800a': 'hsl(240 8.7% 9% / 0.8)'},
|
|
36
36
|
},
|
|
37
37
|
dark: {
|
|
38
38
|
green: {
|
|
39
|
-
'950': 'hsl(157
|
|
40
|
-
'50a': '
|
|
41
|
-
'100a': '
|
|
42
|
-
'200a': '
|
|
43
|
-
'600a': '
|
|
39
|
+
'950': 'hsl(157 84.9% 41.6%)',
|
|
40
|
+
'50a': 'hsl(157 84.9% 41.6% / 0.1)',
|
|
41
|
+
'100a': 'hsl(157 84.9% 41.6% / 0.18)',
|
|
42
|
+
'200a': 'hsl(157 84.9% 41.6% / 0.26)',
|
|
43
|
+
'600a': 'hsl(157 84.9% 41.6% / 0.6)'},
|
|
44
44
|
red: {
|
|
45
|
-
'950': 'hsl(0
|
|
46
|
-
'50a': '
|
|
47
|
-
'100a': '
|
|
48
|
-
'200a': '
|
|
49
|
-
'600a': '
|
|
45
|
+
'950': 'hsl(0 96.9% 62%)',
|
|
46
|
+
'50a': 'hsl(0 96.9% 62% / 0.1)',
|
|
47
|
+
'100a': 'hsl(0 96.9% 62% / 0.18)',
|
|
48
|
+
'200a': 'hsl(0 96.9% 62% / 0.26)',
|
|
49
|
+
'600a': 'hsl(0 96.9% 62% / 0.6)'},
|
|
50
50
|
yellow: {
|
|
51
|
-
'950': 'hsl(28
|
|
52
|
-
'50a': '
|
|
53
|
-
'100a': '
|
|
54
|
-
'200a': '
|
|
55
|
-
'600a': '
|
|
51
|
+
'950': 'hsl(28 90.2% 56.1%)',
|
|
52
|
+
'50a': 'hsl(28 90.2% 56.1% / 0.1)',
|
|
53
|
+
'100a': 'hsl(28 90.2% 56.1% / 0.18)',
|
|
54
|
+
'200a': 'hsl(28 90.2% 56.1% / 0.26)',
|
|
55
|
+
'600a': 'hsl(28 90.2% 56.1% / 0.6)'},
|
|
56
56
|
blue: {
|
|
57
|
-
'950': 'hsl(210
|
|
58
|
-
'50a': '
|
|
59
|
-
'100a': '
|
|
60
|
-
'200a': '
|
|
61
|
-
'600a': '
|
|
57
|
+
'950': 'hsl(210 100% 54.5%)',
|
|
58
|
+
'50a': 'hsl(210 100% 54.5% / 0.1)',
|
|
59
|
+
'100a': 'hsl(210 100% 54.5% / 0.18)',
|
|
60
|
+
'200a': 'hsl(210 100% 54.5% / 0.26)',
|
|
61
|
+
'600a': 'hsl(210 100% 54.5% / 0.6)'},
|
|
62
62
|
grey: {
|
|
63
|
-
'50': 'hsl(225
|
|
64
|
-
'100': 'hsl(240
|
|
65
|
-
'950': 'hsl(225
|
|
66
|
-
'100a': '
|
|
67
|
-
'200a': '
|
|
68
|
-
'300a': '
|
|
69
|
-
'500a': '
|
|
70
|
-
'600a': '
|
|
71
|
-
'700a': '
|
|
72
|
-
'800a': '
|
|
63
|
+
'50': 'hsl(225 66.7% 1.2%)',
|
|
64
|
+
'100': 'hsl(240 2% 10%)',
|
|
65
|
+
'950': 'hsl(225 100% 99%)',
|
|
66
|
+
'100a': 'hsl(240 3.7% 26.5% / 0.154)',
|
|
67
|
+
'200a': 'hsl(240 2% 43% / 0.228)',
|
|
68
|
+
'300a': 'hsl(240 1.5% 61.8% / 0.302)',
|
|
69
|
+
'500a': 'hsl(240 12.5% 96.9% / 0.45)',
|
|
70
|
+
'600a': 'hsl(240 12.5% 96.9% / 0.56)',
|
|
71
|
+
'700a': 'hsl(240 12.5% 96.9% / 0.67)',
|
|
72
|
+
'800a': 'hsl(240 12.5% 96.9% / 0.78)'},
|
|
73
73
|
},
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextLarge = require('../../../font/deprecated/fontSizeTextLarge.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextLg instead. */
|
|
8
7
|
const textLargeStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextLarge.fontSizeTextLarge}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textLargeStyle = textLargeStyle;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextMedium = require('../../../font/deprecated/fontSizeTextMedium.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextMd instead. */
|
|
8
7
|
const textMediumStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextMedium.fontSizeTextMedium}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textMediumStyle = textMediumStyle;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextSmall = require('../../../font/deprecated/fontSizeTextSmall.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextSm instead. */
|
|
8
7
|
const textSmallStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextSmall.fontSizeTextSmall}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textSmallStyle = textSmallStyle;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextXLarge = require('../../../font/deprecated/fontSizeTextXLarge.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXl instead. */
|
|
8
7
|
const textXLargeStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextXLarge.fontSizeTextXLarge}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textXLargeStyle = textXLargeStyle;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextXSmall = require('../../../font/deprecated/fontSizeTextXSmall.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXs instead. */
|
|
8
7
|
const textXSmallStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextXSmall.fontSizeTextXSmall}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textXSmallStyle = textXSmallStyle;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var fontSizeTextXXSmall = require('../../../font/deprecated/fontSizeTextXXSmall.cjs');
|
|
4
|
-
var fontHyphenationStyle = require('../../../font/fontHyphenationStyle.cjs');
|
|
5
4
|
var textShared = require('./textShared.cjs');
|
|
6
5
|
|
|
7
6
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseText2Xs instead. */
|
|
8
7
|
const textXXSmallStyle = {
|
|
9
8
|
font: `${textShared._textFontPartA}${fontSizeTextXXSmall.fontSizeTextXXSmall}${textShared._textFontPartB}`,
|
|
10
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
11
9
|
};
|
|
12
10
|
|
|
13
11
|
exports.textXXSmallStyle = textXXSmallStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescale2Xs = require('../tokens/dist/esm/font/size/typescale2Xs.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseText2XsStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescale2Xs.typescale2Xs} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseText2XsStyle = proseText2XsStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescaleLg = require('../tokens/dist/esm/font/size/typescaleLg.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseTextLgStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescaleLg.typescaleLg} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseTextLgStyle = proseTextLgStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescaleMd = require('../tokens/dist/esm/font/size/typescaleMd.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseTextMdStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescaleMd.typescaleMd} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseTextMdStyle = proseTextMdStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescaleSm = require('../tokens/dist/esm/font/size/typescaleSm.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseTextSmStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescaleSm.typescaleSm} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseTextSmStyle = proseTextSmStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescaleXl = require('../tokens/dist/esm/font/size/typescaleXl.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseTextXlStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescaleXl.typescaleXl} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseTextXlStyle = proseTextXlStyle;
|
|
@@ -4,11 +4,9 @@ var fontPorscheNext = require('../tokens/dist/esm/font/family/fontPorscheNext.cj
|
|
|
4
4
|
var leadingNormal = require('../tokens/dist/esm/font/lineHeight/leadingNormal.cjs');
|
|
5
5
|
var typescaleXs = require('../tokens/dist/esm/font/size/typescaleXs.cjs');
|
|
6
6
|
var fontWeightNormal = require('../tokens/dist/esm/font/weight/fontWeightNormal.cjs');
|
|
7
|
-
var fontHyphenationStyle = require('../font/fontHyphenationStyle.cjs');
|
|
8
7
|
|
|
9
8
|
const proseTextXsStyle = {
|
|
10
9
|
font: `normal normal ${fontWeightNormal.fontWeightNormal} ${typescaleXs.typescaleXs} / ${leadingNormal.leadingNormal} ${fontPorscheNext.fontPorscheNext}`,
|
|
11
|
-
...fontHyphenationStyle.fontHyphenationStyle,
|
|
12
10
|
};
|
|
13
11
|
|
|
14
12
|
exports.proseTextXsStyle = proseTextXsStyle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use typescaleXs instead. */
|
|
2
|
-
export declare const fontSizeTextXSmall = "
|
|
2
|
+
export declare const fontSizeTextXSmall = ".875rem";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const typescaleXs = "
|
|
1
|
+
export declare const typescaleXs = ".875rem";
|
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
const palette = {
|
|
2
2
|
light: {
|
|
3
3
|
green: {
|
|
4
|
-
'950': 'hsl(115
|
|
5
|
-
'50a': '
|
|
6
|
-
'100a': '
|
|
7
|
-
'600a': '
|
|
4
|
+
'950': 'hsl(115 77.5% 27.8%)',
|
|
5
|
+
'50a': 'hsl(115 77.5% 27.8% / 0.1)',
|
|
6
|
+
'100a': 'hsl(115 77.5% 27.8% / 0.18)',
|
|
7
|
+
'600a': 'hsl(115 77.5% 27.8% / 0.6)'},
|
|
8
8
|
red: {
|
|
9
|
-
'950': 'hsl(357
|
|
10
|
-
'50a': '
|
|
11
|
-
'100a': '
|
|
12
|
-
'600a': '
|
|
9
|
+
'950': 'hsl(357 78% 41%)',
|
|
10
|
+
'50a': 'hsl(357 78% 41% / 0.1)',
|
|
11
|
+
'100a': 'hsl(357 78% 41% / 0.18)',
|
|
12
|
+
'600a': 'hsl(357 78% 41% / 0.6)'},
|
|
13
13
|
yellow: {
|
|
14
|
-
'950': 'hsl(28
|
|
15
|
-
'50a': '
|
|
16
|
-
'100a': '
|
|
17
|
-
'600a': '
|
|
14
|
+
'950': 'hsl(28 97.7% 34.1%)',
|
|
15
|
+
'50a': 'hsl(28 97.7% 34.1% / 0.1)',
|
|
16
|
+
'100a': 'hsl(28 97.7% 34.1% / 0.18)',
|
|
17
|
+
'600a': 'hsl(28 97.7% 34.1% / 0.6)'},
|
|
18
18
|
blue: {
|
|
19
|
-
'950': 'hsl(228
|
|
20
|
-
'50a': '
|
|
21
|
-
'100a': '
|
|
22
|
-
'600a': '
|
|
19
|
+
'950': 'hsl(228 83.2% 51%)',
|
|
20
|
+
'50a': 'hsl(228 83.2% 51% / 0.1)',
|
|
21
|
+
'100a': 'hsl(228 83.2% 51% / 0.18)',
|
|
22
|
+
'600a': 'hsl(228 83.2% 51% / 0.6)'},
|
|
23
23
|
grey: {
|
|
24
|
-
'50': 'hsl(240
|
|
25
|
-
'950': 'hsl(225
|
|
26
|
-
'50a': '
|
|
27
|
-
'100a': '
|
|
28
|
-
'200a': '
|
|
29
|
-
'300a': '
|
|
30
|
-
'500a': '
|
|
31
|
-
'600a': '
|
|
32
|
-
'700a': '
|
|
33
|
-
'800a': '
|
|
24
|
+
'50': 'hsl(240 10% 95%)',
|
|
25
|
+
'950': 'hsl(225 66.7% 1.2%)',
|
|
26
|
+
'50a': 'hsl(234 9.8% 60% / 0.06)',
|
|
27
|
+
'100a': 'hsl(240 5% 70% / 0.148)',
|
|
28
|
+
'200a': 'hsl(236 6.5% 42% / 0.236)',
|
|
29
|
+
'300a': 'hsl(234 6% 32.9% / 0.324)',
|
|
30
|
+
'500a': 'hsl(240 5.3% 14.9% / 0.5)',
|
|
31
|
+
'600a': 'hsl(240 6.1% 7% / 0.6)',
|
|
32
|
+
'700a': 'hsl(240 7.1% 11% / 0.7)',
|
|
33
|
+
'800a': 'hsl(240 8.7% 9% / 0.8)'},
|
|
34
34
|
},
|
|
35
35
|
dark: {
|
|
36
36
|
green: {
|
|
37
|
-
'950': 'hsl(157
|
|
38
|
-
'50a': '
|
|
39
|
-
'100a': '
|
|
40
|
-
'200a': '
|
|
41
|
-
'600a': '
|
|
37
|
+
'950': 'hsl(157 84.9% 41.6%)',
|
|
38
|
+
'50a': 'hsl(157 84.9% 41.6% / 0.1)',
|
|
39
|
+
'100a': 'hsl(157 84.9% 41.6% / 0.18)',
|
|
40
|
+
'200a': 'hsl(157 84.9% 41.6% / 0.26)',
|
|
41
|
+
'600a': 'hsl(157 84.9% 41.6% / 0.6)'},
|
|
42
42
|
red: {
|
|
43
|
-
'950': 'hsl(0
|
|
44
|
-
'50a': '
|
|
45
|
-
'100a': '
|
|
46
|
-
'200a': '
|
|
47
|
-
'600a': '
|
|
43
|
+
'950': 'hsl(0 96.9% 62%)',
|
|
44
|
+
'50a': 'hsl(0 96.9% 62% / 0.1)',
|
|
45
|
+
'100a': 'hsl(0 96.9% 62% / 0.18)',
|
|
46
|
+
'200a': 'hsl(0 96.9% 62% / 0.26)',
|
|
47
|
+
'600a': 'hsl(0 96.9% 62% / 0.6)'},
|
|
48
48
|
yellow: {
|
|
49
|
-
'950': 'hsl(28
|
|
50
|
-
'50a': '
|
|
51
|
-
'100a': '
|
|
52
|
-
'200a': '
|
|
53
|
-
'600a': '
|
|
49
|
+
'950': 'hsl(28 90.2% 56.1%)',
|
|
50
|
+
'50a': 'hsl(28 90.2% 56.1% / 0.1)',
|
|
51
|
+
'100a': 'hsl(28 90.2% 56.1% / 0.18)',
|
|
52
|
+
'200a': 'hsl(28 90.2% 56.1% / 0.26)',
|
|
53
|
+
'600a': 'hsl(28 90.2% 56.1% / 0.6)'},
|
|
54
54
|
blue: {
|
|
55
|
-
'950': 'hsl(210
|
|
56
|
-
'50a': '
|
|
57
|
-
'100a': '
|
|
58
|
-
'200a': '
|
|
59
|
-
'600a': '
|
|
55
|
+
'950': 'hsl(210 100% 54.5%)',
|
|
56
|
+
'50a': 'hsl(210 100% 54.5% / 0.1)',
|
|
57
|
+
'100a': 'hsl(210 100% 54.5% / 0.18)',
|
|
58
|
+
'200a': 'hsl(210 100% 54.5% / 0.26)',
|
|
59
|
+
'600a': 'hsl(210 100% 54.5% / 0.6)'},
|
|
60
60
|
grey: {
|
|
61
|
-
'50': 'hsl(225
|
|
62
|
-
'100': 'hsl(240
|
|
63
|
-
'950': 'hsl(225
|
|
64
|
-
'100a': '
|
|
65
|
-
'200a': '
|
|
66
|
-
'300a': '
|
|
67
|
-
'500a': '
|
|
68
|
-
'600a': '
|
|
69
|
-
'700a': '
|
|
70
|
-
'800a': '
|
|
61
|
+
'50': 'hsl(225 66.7% 1.2%)',
|
|
62
|
+
'100': 'hsl(240 2% 10%)',
|
|
63
|
+
'950': 'hsl(225 100% 99%)',
|
|
64
|
+
'100a': 'hsl(240 3.7% 26.5% / 0.154)',
|
|
65
|
+
'200a': 'hsl(240 2% 43% / 0.228)',
|
|
66
|
+
'300a': 'hsl(240 1.5% 61.8% / 0.302)',
|
|
67
|
+
'500a': 'hsl(240 12.5% 96.9% / 0.45)',
|
|
68
|
+
'600a': 'hsl(240 12.5% 96.9% / 0.56)',
|
|
69
|
+
'700a': 'hsl(240 12.5% 96.9% / 0.67)',
|
|
70
|
+
'800a': 'hsl(240 12.5% 96.9% / 0.78)'},
|
|
71
71
|
},
|
|
72
72
|
};
|
|
73
73
|
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextLg instead. */
|
|
2
2
|
export declare const textLargeStyle: {
|
|
3
|
-
readonly overflowWrap: "break-word";
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
3
|
readonly font: "normal normal 400 clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextLarge } from '../../../font/deprecated/fontSizeTextLarge.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextLg instead. */
|
|
6
5
|
const textLargeStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextLarge}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textLargeStyle };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextMd instead. */
|
|
2
2
|
export declare const textMediumStyle: {
|
|
3
|
-
readonly overflowWrap: "break-word";
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
3
|
readonly font: "normal normal 400 clamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextMedium } from '../../../font/deprecated/fontSizeTextMedium.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextMd instead. */
|
|
6
5
|
const textMediumStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextMedium}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textMediumStyle };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextSm instead. */
|
|
2
2
|
export declare const textSmallStyle: {
|
|
3
|
-
readonly overflowWrap: "break-word";
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
3
|
readonly font: "normal normal 400 1rem/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextSmall } from '../../../font/deprecated/fontSizeTextSmall.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextSm instead. */
|
|
6
5
|
const textSmallStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextSmall}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textSmallStyle };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXl instead. */
|
|
2
2
|
export declare const textXLargeStyle: {
|
|
3
|
-
readonly overflowWrap: "break-word";
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
3
|
readonly font: "normal normal 400 clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextXLarge } from '../../../font/deprecated/fontSizeTextXLarge.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXl instead. */
|
|
6
5
|
const textXLargeStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextXLarge}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textXLargeStyle };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXs instead. */
|
|
2
2
|
export declare const textXSmallStyle: {
|
|
3
|
-
readonly
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
|
-
readonly font: "normal normal 400 clamp(0.81rem, 0.23vw + 0.77rem, 0.88rem)/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
3
|
+
readonly font: "normal normal 400 .875rem/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextXSmall } from '../../../font/deprecated/fontSizeTextXSmall.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseTextXs instead. */
|
|
6
5
|
const textXSmallStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextXSmall}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textXSmallStyle };
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseText2Xs instead. */
|
|
2
2
|
export declare const textXXSmallStyle: {
|
|
3
|
-
readonly overflowWrap: "break-word";
|
|
4
|
-
readonly hyphens: "auto";
|
|
5
3
|
readonly font: "normal normal 400 .75rem/calc(6px + 2.125ex) 'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif";
|
|
6
4
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { fontSizeTextXXSmall } from '../../../font/deprecated/fontSizeTextXXSmall.mjs';
|
|
2
|
-
import { fontHyphenationStyle } from '../../../font/fontHyphenationStyle.mjs';
|
|
3
2
|
import { _textFontPartA, _textFontPartB } from './textShared.mjs';
|
|
4
3
|
|
|
5
4
|
/** @deprecated since v4.0.0, will be removed with next major release. Use proseText2Xs instead. */
|
|
6
5
|
const textXXSmallStyle = {
|
|
7
6
|
font: `${_textFontPartA}${fontSizeTextXXSmall}${_textFontPartB}`,
|
|
8
|
-
...fontHyphenationStyle,
|
|
9
7
|
};
|
|
10
8
|
|
|
11
9
|
export { textXXSmallStyle };
|