@porsche-design-system/components-vue 3.0.0-alpha.0 → 3.0.0-alpha.1
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
|
@@ -9,6 +9,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
9
9
|
|
|
10
10
|
### [Unreleased]
|
|
11
11
|
|
|
12
|
+
### [3.0.0-alpha.1] - 2023-02-16
|
|
13
|
+
|
|
14
|
+
#### Added
|
|
15
|
+
|
|
16
|
+
- Porsche Next font supports Vietnamese charset
|
|
17
|
+
- Prop `color` of `Icon` supports `disabled`
|
|
18
|
+
- React: `patchRemixRunProcessBrowserGlobalIdentifier` binary to support SSR components with Remix
|
|
19
|
+
|
|
20
|
+
#### Changed
|
|
21
|
+
|
|
22
|
+
- `Stepper Horizontal` matches new design language.
|
|
23
|
+
- Styles: Optimize design tokens "spacing", "typography" and "theme" provided by styles sub-package
|
|
24
|
+
`@porsche-design-system/components-{js|angular|react|vue}/styles`
|
|
25
|
+
- Styles: Use calc() instead of max() to calculate padding for `gridStyle` (JS) and `pds-grid` (SCSS)
|
|
26
|
+
- Styles: `gridStyle` (JS) and `pds-grid` (SCSS) uses optimized grid gap
|
|
27
|
+
|
|
12
28
|
### [3.0.0-alpha.0] - 2023-02-08
|
|
13
29
|
|
|
14
30
|
#### Note to the new `v3` major release of the Porsche Design System
|
|
@@ -394,7 +410,8 @@ to the new values since those ones will be removed with next major version.
|
|
|
394
410
|
- `Spinner`, `Icon`, `Link Pure`, `Button Pure`, `Link`, `Link Social`, `Button`, `Checkbox Wrapper`,
|
|
395
411
|
`Radio Button Wrapper`, `Popover`, `Modal`, `Select Wrapper`, `Tag`, `Tag Dismissible`, `Textarea Wrapper`,
|
|
396
412
|
`Inline Notification`, `Banner`, `Toast`, `Grid`, `Flex`, `Pagination`, `Scroller`, `Accordion`, `Text`,
|
|
397
|
-
`Text Field Wrapper`, `Content Wrapper`, `Segmented Control`, `Tabs`, `Tabs Bar`, `Headline` and `Fieldset Wrapper`
|
|
413
|
+
`Text Field Wrapper`, `Content Wrapper`, `Segmented Control`, `Tabs`, `Tabs Bar`, `Headline` and `Fieldset Wrapper`
|
|
414
|
+
matches new design language.
|
|
398
415
|
- `Icon` supports
|
|
399
416
|
`primary | contrast-low | contrast-medium | contrast-high | notification-success | notification-warning | notification-error | notification-info | inherit`
|
|
400
417
|
for `color` prop.
|
|
@@ -134,12 +134,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
134
134
|
}>>>, {
|
|
135
135
|
weight: TextWeight;
|
|
136
136
|
stretch: BreakpointCustomizable<boolean>;
|
|
137
|
+
disabled: boolean;
|
|
137
138
|
size: BreakpointCustomizable<TextSize>;
|
|
138
139
|
theme: Theme;
|
|
139
140
|
type: ButtonType;
|
|
140
141
|
active: boolean;
|
|
141
142
|
alignLabel: BreakpointCustomizable<AlignLabel>;
|
|
142
|
-
disabled: boolean;
|
|
143
143
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
144
144
|
icon: LinkButtonIconName;
|
|
145
145
|
loading: boolean;
|
|
@@ -90,9 +90,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
90
90
|
type: string;
|
|
91
91
|
variant: string;
|
|
92
92
|
}>>>, {
|
|
93
|
+
disabled: boolean;
|
|
93
94
|
theme: Theme;
|
|
94
95
|
type: ButtonType;
|
|
95
|
-
disabled: boolean;
|
|
96
96
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
97
97
|
icon: LinkButtonIconName;
|
|
98
98
|
loading: boolean;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
/**
|
|
8
8
|
* Basic color variations depending on theme property.
|
|
9
9
|
*/
|
|
10
|
-
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
|
|
10
|
+
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | "disabled" | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Has no effect anymore
|
|
13
13
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
43
43
|
/**
|
|
44
44
|
* Basic color variations depending on theme property.
|
|
45
45
|
*/
|
|
46
|
-
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
|
|
46
|
+
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | "disabled" | undefined;
|
|
47
47
|
/**
|
|
48
48
|
* Has no effect anymore
|
|
49
49
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
@@ -79,9 +79,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
79
|
onSwitchChange?: ((value: SwitchChangeEvent) => any) | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
stretch: BreakpointCustomizable<boolean>;
|
|
82
|
+
disabled: boolean;
|
|
82
83
|
theme: Theme;
|
|
83
84
|
alignLabel: BreakpointCustomizable<AlignLabel>;
|
|
84
|
-
disabled: boolean;
|
|
85
85
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
86
86
|
loading: boolean;
|
|
87
87
|
checked: boolean;
|
package/lib/types.d.ts
CHANGED
|
@@ -757,7 +757,25 @@ declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
|
757
757
|
];
|
|
758
758
|
export declare type IconAriaAttribute = typeof ICON_ARIA_ATTRIBUTES[number];
|
|
759
759
|
export declare type IconSize = TextSize;
|
|
760
|
-
|
|
760
|
+
declare const ICON_COLORS: readonly [
|
|
761
|
+
"primary",
|
|
762
|
+
"brand",
|
|
763
|
+
"default",
|
|
764
|
+
"contrast-low",
|
|
765
|
+
"neutral-contrast-low",
|
|
766
|
+
"contrast-medium",
|
|
767
|
+
"neutral-contrast-medium",
|
|
768
|
+
"contrast-high",
|
|
769
|
+
"neutral-contrast-high",
|
|
770
|
+
"notification-success",
|
|
771
|
+
"notification-warning",
|
|
772
|
+
"notification-error",
|
|
773
|
+
"notification-info",
|
|
774
|
+
"notification-neutral",
|
|
775
|
+
"inherit",
|
|
776
|
+
"disabled"
|
|
777
|
+
];
|
|
778
|
+
export declare type IconColor = typeof ICON_COLORS[number];
|
|
761
779
|
declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
762
780
|
"error",
|
|
763
781
|
"warning",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.0.0-alpha.
|
|
20
|
+
"@porsche-design-system/components-js": "3.0.0-alpha.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|