@porsche-design-system/components-vue 3.12.0 → 3.13.0-rc.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 +47 -6
- package/LICENSE.md +1 -1
- package/OSS_NOTICE +98 -98
- package/README.md +1 -1
- package/cjs/lib/components/LinkTileProductWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SelectOptionWrapper.vue.cjs +1 -0
- package/cjs/lib/components/SelectOptionWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/SelectWrapper.vue.cjs +1 -0
- package/cjs/lib/components/SelectWrapper.vue2.cjs +1 -0
- package/cjs/public-api.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +1 -1
- package/esm/lib/components/AccordionWrapper.vue.d.ts +1 -1
- package/esm/lib/components/BannerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ButtonWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CarouselWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DisplayWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DividerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlexWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlyoutNavigationItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlyoutNavigationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +1 -1
- package/esm/lib/components/GridItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/GridWrapper.vue.d.ts +1 -1
- package/esm/lib/components/HeadingWrapper.vue.d.ts +1 -1
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +1 -1
- package/esm/lib/components/IconWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +1 -1
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +1 -1
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +1 -1
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +8 -4
- package/esm/lib/components/LinkTileProductWrapper.vue.mjs +5 -4
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +1 -1
- package/esm/lib/components/LinkWrapper.vue.d.ts +1 -1
- package/esm/lib/components/MarqueWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ModalWrapper.vue.d.ts +9 -2
- package/esm/lib/components/ModalWrapper.vue.mjs +8 -7
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +1 -1
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +1 -1
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PopoverWrapper.vue.d.ts +1 -1
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +42 -0
- package/esm/lib/components/SelectOptionWrapper.vue.mjs +24 -0
- package/esm/lib/components/SelectOptionWrapper.vue2.mjs +4 -0
- package/esm/lib/components/SelectWrapper.vue.d.ts +104 -0
- package/esm/lib/components/SelectWrapper.vue.mjs +38 -0
- package/esm/lib/components/SelectWrapper.vue2.mjs +4 -0
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SwitchWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableCellWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableRowWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TabsWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TagWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextListWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ToastWrapper.vue.d.ts +1 -1
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +1 -1
- package/esm/lib/components/index.d.ts +2 -0
- package/esm/lib/types.d.ts +15 -3
- package/esm/public-api.mjs +61 -57
- package/package.json +2 -2
package/esm/lib/types.d.ts
CHANGED
|
@@ -209,7 +209,7 @@ export type AriaAttributes = {
|
|
|
209
209
|
"aria-valuenow"?: number | undefined;
|
|
210
210
|
/** Defines the human readable text alternative of aria-valuenow for a range widget. */
|
|
211
211
|
"aria-valuetext"?: string | undefined;
|
|
212
|
-
/** All the WAI-ARIA 1.1 role attribute values from https://
|
|
212
|
+
/** All the WAI-ARIA 1.1 role attribute values from https://w3.org/TR/wai-aria-1.1/#role_definitions */
|
|
213
213
|
role?: AriaRole;
|
|
214
214
|
};
|
|
215
215
|
export type AriaRole = "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem";
|
|
@@ -517,7 +517,7 @@ declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
|
517
517
|
"up",
|
|
518
518
|
"auto"
|
|
519
519
|
];
|
|
520
|
-
export type
|
|
520
|
+
export type SelectComponentsDropdownDirection = (typeof SELECT_DROPDOWN_DIRECTIONS)[number];
|
|
521
521
|
declare const HEADING_SIZES: readonly [
|
|
522
522
|
"small",
|
|
523
523
|
"medium",
|
|
@@ -1046,10 +1046,16 @@ declare const MARQUE_SIZES: readonly [
|
|
|
1046
1046
|
"medium"
|
|
1047
1047
|
];
|
|
1048
1048
|
export type MarqueSize = typeof MARQUE_SIZES[number];
|
|
1049
|
+
declare const BACKDROPS: readonly [
|
|
1050
|
+
"blur",
|
|
1051
|
+
"shading"
|
|
1052
|
+
];
|
|
1053
|
+
export type Backdrop = (typeof BACKDROPS)[number];
|
|
1049
1054
|
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
1050
1055
|
"aria-label"
|
|
1051
1056
|
];
|
|
1052
1057
|
export type ModalAriaAttribute = (typeof MODAL_ARIA_ATTRIBUTES)[number];
|
|
1058
|
+
export type ModalBackdrop = Backdrop;
|
|
1053
1059
|
declare const MODEL_SIGNATURE_SIZES: readonly [
|
|
1054
1060
|
"small",
|
|
1055
1061
|
"inherit"
|
|
@@ -1065,7 +1071,7 @@ declare const MODEL_SIGNATURE_COLORS: readonly [
|
|
|
1065
1071
|
];
|
|
1066
1072
|
export type ModelSignatureColor = (typeof MODEL_SIGNATURE_COLORS)[number];
|
|
1067
1073
|
export type MultiSelectState = FormState;
|
|
1068
|
-
export type MultiSelectDropdownDirection =
|
|
1074
|
+
export type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
1069
1075
|
/** @deprecated */
|
|
1070
1076
|
export type MultiSelectUpdateEvent = {
|
|
1071
1077
|
name: string;
|
|
@@ -1131,6 +1137,12 @@ export type SegmentedControlUpdateEventDetail = SegmentedControlUpdateEvent;
|
|
|
1131
1137
|
declare const SEGMENTED_CONTROL_COLUMNS: (string | number)[];
|
|
1132
1138
|
export type SegmentedControlColumns = (typeof SEGMENTED_CONTROL_COLUMNS)[number];
|
|
1133
1139
|
export type SegmentedControlItemIcon = LinkButtonIconName;
|
|
1140
|
+
export type SelectState = FormState;
|
|
1141
|
+
export type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
1142
|
+
export type SelectUpdateEventDetail = {
|
|
1143
|
+
name: string;
|
|
1144
|
+
value: string;
|
|
1145
|
+
};
|
|
1134
1146
|
declare const DROPDOWN_DIRECTIONS: readonly [
|
|
1135
1147
|
"down",
|
|
1136
1148
|
"up",
|
package/esm/public-api.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import { default as h } from "./lib/components/FlexWrapper.vue.mjs";
|
|
|
17
17
|
import { default as R } from "./lib/components/FlexItemWrapper.vue.mjs";
|
|
18
18
|
import { default as G } from "./lib/components/FlyoutWrapper.vue.mjs";
|
|
19
19
|
import { default as z } from "./lib/components/FlyoutNavigationWrapper.vue.mjs";
|
|
20
|
-
import { default as
|
|
20
|
+
import { default as q } from "./lib/components/FlyoutNavigationItemWrapper.vue.mjs";
|
|
21
21
|
import { default as j } from "./lib/components/GridWrapper.vue.mjs";
|
|
22
22
|
import { default as J } from "./lib/components/GridItemWrapper.vue.mjs";
|
|
23
23
|
import { default as Q } from "./lib/components/HeadingWrapper.vue.mjs";
|
|
@@ -42,33 +42,35 @@ import { default as We } from "./lib/components/RadioButtonWrapperWrapper.vue.mj
|
|
|
42
42
|
import { default as Me } from "./lib/components/ScrollerWrapper.vue.mjs";
|
|
43
43
|
import { default as he } from "./lib/components/SegmentedControlWrapper.vue.mjs";
|
|
44
44
|
import { default as Re } from "./lib/components/SegmentedControlItemWrapper.vue.mjs";
|
|
45
|
-
import { default as Ge } from "./lib/components/
|
|
46
|
-
import { default as ze } from "./lib/components/
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as je } from "./lib/components/
|
|
49
|
-
import { default as Je } from "./lib/components/
|
|
50
|
-
import { default as Qe } from "./lib/components/
|
|
51
|
-
import { default as Ve } from "./lib/components/
|
|
52
|
-
import { default as Ye } from "./lib/components/
|
|
53
|
-
import { default as _e } from "./lib/components/
|
|
54
|
-
import { default as et } from "./lib/components/
|
|
55
|
-
import { default as ot } from "./lib/components/
|
|
56
|
-
import { default as at } from "./lib/components/
|
|
57
|
-
import { default as lt } from "./lib/components/
|
|
58
|
-
import { default as st } from "./lib/components/
|
|
59
|
-
import { default as ut } from "./lib/components/
|
|
60
|
-
import { default as xt } from "./lib/components/
|
|
61
|
-
import { default as it } from "./lib/components/
|
|
62
|
-
import { default as Tt } from "./lib/components/
|
|
63
|
-
import { default as St } from "./lib/components/
|
|
64
|
-
import { default as bt } from "./lib/components/
|
|
65
|
-
import { default as Ct } from "./lib/components/
|
|
66
|
-
import { default as kt } from "./lib/components/
|
|
67
|
-
import { default as Ft } from "./lib/components/
|
|
68
|
-
import { default as Wt } from "./lib/components/
|
|
69
|
-
import {
|
|
70
|
-
import { default as ht } from "./
|
|
71
|
-
import {
|
|
45
|
+
import { default as Ge } from "./lib/components/SelectWrapper.vue.mjs";
|
|
46
|
+
import { default as ze } from "./lib/components/SelectOptionWrapper.vue.mjs";
|
|
47
|
+
import { default as qe } from "./lib/components/SelectWrapperWrapper.vue.mjs";
|
|
48
|
+
import { default as je } from "./lib/components/SpinnerWrapper.vue.mjs";
|
|
49
|
+
import { default as Je } from "./lib/components/StepperHorizontalWrapper.vue.mjs";
|
|
50
|
+
import { default as Qe } from "./lib/components/StepperHorizontalItemWrapper.vue.mjs";
|
|
51
|
+
import { default as Ve } from "./lib/components/SwitchWrapper.vue.mjs";
|
|
52
|
+
import { default as Ye } from "./lib/components/TableWrapper.vue.mjs";
|
|
53
|
+
import { default as _e } from "./lib/components/TableBodyWrapper.vue.mjs";
|
|
54
|
+
import { default as et } from "./lib/components/TableCellWrapper.vue.mjs";
|
|
55
|
+
import { default as ot } from "./lib/components/TableHeadWrapper.vue.mjs";
|
|
56
|
+
import { default as at } from "./lib/components/TableHeadCellWrapper.vue.mjs";
|
|
57
|
+
import { default as lt } from "./lib/components/TableHeadRowWrapper.vue.mjs";
|
|
58
|
+
import { default as st } from "./lib/components/TableRowWrapper.vue.mjs";
|
|
59
|
+
import { default as ut } from "./lib/components/TabsWrapper.vue.mjs";
|
|
60
|
+
import { default as xt } from "./lib/components/TabsBarWrapper.vue.mjs";
|
|
61
|
+
import { default as it } from "./lib/components/TabsItemWrapper.vue.mjs";
|
|
62
|
+
import { default as Tt } from "./lib/components/TagWrapper.vue.mjs";
|
|
63
|
+
import { default as St } from "./lib/components/TagDismissibleWrapper.vue.mjs";
|
|
64
|
+
import { default as bt } from "./lib/components/TextWrapper.vue.mjs";
|
|
65
|
+
import { default as Ct } from "./lib/components/TextFieldWrapperWrapper.vue.mjs";
|
|
66
|
+
import { default as kt } from "./lib/components/TextListWrapper.vue.mjs";
|
|
67
|
+
import { default as Ft } from "./lib/components/TextListItemWrapper.vue.mjs";
|
|
68
|
+
import { default as Wt } from "./lib/components/TextareaWrapperWrapper.vue.mjs";
|
|
69
|
+
import { default as Mt } from "./lib/components/ToastWrapper.vue.mjs";
|
|
70
|
+
import { default as ht } from "./lib/components/WordmarkWrapper.vue.mjs";
|
|
71
|
+
import { useToastManager as Rt } from "./utils.mjs";
|
|
72
|
+
import { default as Gt } from "./PorscheDesignSystemProvider.vue.mjs";
|
|
73
|
+
import { createPorscheDesignSystem as zt, usePorscheDesignSystemPlugin as Ot } from "./plugin.mjs";
|
|
72
74
|
export {
|
|
73
75
|
a as PAccordion,
|
|
74
76
|
l as PBanner,
|
|
@@ -88,7 +90,7 @@ export {
|
|
|
88
90
|
R as PFlexItem,
|
|
89
91
|
G as PFlyout,
|
|
90
92
|
z as PFlyoutNavigation,
|
|
91
|
-
|
|
93
|
+
q as PFlyoutNavigationItem,
|
|
92
94
|
j as PGrid,
|
|
93
95
|
J as PGridItem,
|
|
94
96
|
Q as PHeading,
|
|
@@ -113,33 +115,35 @@ export {
|
|
|
113
115
|
Me as PScroller,
|
|
114
116
|
he as PSegmentedControl,
|
|
115
117
|
Re as PSegmentedControlItem,
|
|
116
|
-
Ge as
|
|
117
|
-
ze as
|
|
118
|
-
|
|
119
|
-
je as
|
|
120
|
-
Je as
|
|
121
|
-
Qe as
|
|
122
|
-
Ve as
|
|
123
|
-
Ye as
|
|
124
|
-
_e as
|
|
125
|
-
et as
|
|
126
|
-
ot as
|
|
127
|
-
at as
|
|
128
|
-
lt as
|
|
129
|
-
st as
|
|
130
|
-
ut as
|
|
131
|
-
xt as
|
|
132
|
-
it as
|
|
133
|
-
Tt as
|
|
134
|
-
St as
|
|
135
|
-
bt as
|
|
136
|
-
Ct as
|
|
137
|
-
kt as
|
|
138
|
-
Ft as
|
|
139
|
-
Wt as
|
|
140
|
-
|
|
118
|
+
Ge as PSelect,
|
|
119
|
+
ze as PSelectOption,
|
|
120
|
+
qe as PSelectWrapper,
|
|
121
|
+
je as PSpinner,
|
|
122
|
+
Je as PStepperHorizontal,
|
|
123
|
+
Qe as PStepperHorizontalItem,
|
|
124
|
+
Ve as PSwitch,
|
|
125
|
+
Ye as PTable,
|
|
126
|
+
_e as PTableBody,
|
|
127
|
+
et as PTableCell,
|
|
128
|
+
ot as PTableHead,
|
|
129
|
+
at as PTableHeadCell,
|
|
130
|
+
lt as PTableHeadRow,
|
|
131
|
+
st as PTableRow,
|
|
132
|
+
ut as PTabs,
|
|
133
|
+
xt as PTabsBar,
|
|
134
|
+
it as PTabsItem,
|
|
135
|
+
Tt as PTag,
|
|
136
|
+
St as PTagDismissible,
|
|
137
|
+
bt as PText,
|
|
138
|
+
Ct as PTextFieldWrapper,
|
|
139
|
+
kt as PTextList,
|
|
140
|
+
Ft as PTextListItem,
|
|
141
|
+
Wt as PTextareaWrapper,
|
|
142
|
+
Mt as PToast,
|
|
143
|
+
ht as PWordmark,
|
|
144
|
+
Gt as PorscheDesignSystemProvider,
|
|
141
145
|
o as componentsReady,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
146
|
+
zt as createPorscheDesignSystem,
|
|
147
|
+
Ot as usePorscheDesignSystemPlugin,
|
|
148
|
+
Rt as useToastManager
|
|
145
149
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.13.0-rc.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.
|
|
20
|
+
"@porsche-design-system/components-js": "3.13.0-rc.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|