@porsche-design-system/components-vue 3.0.0-alpha.2 → 3.0.0-alpha.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +385 -0
  2. package/lib/components/AccordionWrapper.vue.d.ts +3 -0
  3. package/lib/components/AccordionWrapper.vue.js +13 -13
  4. package/lib/components/BannerWrapper.vue.d.ts +32 -2
  5. package/lib/components/BannerWrapper.vue.js +11 -9
  6. package/lib/components/ButtonPureWrapper.vue.d.ts +11 -11
  7. package/lib/components/ButtonTileWrapper.vue.d.ts +171 -0
  8. package/lib/components/ButtonTileWrapper.vue.js +40 -0
  9. package/lib/components/ButtonTileWrapper.vue2.js +4 -0
  10. package/lib/components/ButtonWrapper.vue.d.ts +5 -5
  11. package/lib/components/CarouselWrapper.vue.d.ts +32 -13
  12. package/lib/components/CarouselWrapper.vue.js +17 -15
  13. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -2
  14. package/lib/components/DisplayWrapper.vue.d.ts +4 -4
  15. package/lib/components/DividerWrapper.vue.d.ts +14 -6
  16. package/lib/components/DividerWrapper.vue.js +11 -10
  17. package/lib/components/FieldsetWrapper.vue.d.ts +95 -0
  18. package/lib/components/FieldsetWrapper.vue.js +32 -0
  19. package/lib/components/FieldsetWrapper.vue2.js +4 -0
  20. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +4 -3
  21. package/lib/components/GridItemWrapper.vue.d.ts +4 -4
  22. package/lib/components/HeadingWrapper.vue.d.ts +4 -4
  23. package/lib/components/HeadlineWrapper.vue.d.ts +3 -3
  24. package/lib/components/IconWrapper.vue.d.ts +4 -4
  25. package/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
  26. package/lib/components/LinkPureWrapper.vue.d.ts +10 -10
  27. package/lib/components/LinkSocialWrapper.vue.d.ts +5 -5
  28. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +106 -0
  29. package/lib/components/LinkTileModelSignatureWrapper.vue.js +33 -0
  30. package/lib/components/LinkTileModelSignatureWrapper.vue2.js +4 -0
  31. package/lib/components/LinkTileWrapper.vue.d.ts +6 -6
  32. package/lib/components/LinkTileWrapper.vue.js +1 -1
  33. package/lib/components/LinkWrapper.vue.d.ts +4 -4
  34. package/lib/components/MarqueWrapper.vue.d.ts +2 -2
  35. package/lib/components/ModalWrapper.vue.d.ts +16 -5
  36. package/lib/components/ModalWrapper.vue.js +13 -12
  37. package/lib/components/ModelSignatureWrapper.vue.d.ts +4 -4
  38. package/lib/components/PaginationWrapper.vue.d.ts +36 -24
  39. package/lib/components/PaginationWrapper.vue.js +17 -16
  40. package/lib/components/PopoverWrapper.vue.d.ts +2 -2
  41. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +2 -2
  42. package/lib/components/ScrollerWrapper.vue.d.ts +38 -11
  43. package/lib/components/ScrollerWrapper.vue.js +16 -13
  44. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -2
  45. package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -2
  46. package/lib/components/SegmentedControlWrapper.vue.js +12 -12
  47. package/lib/components/SelectWrapperWrapper.vue.d.ts +4 -4
  48. package/lib/components/StepperHorizontalWrapper.vue.d.ts +6 -3
  49. package/lib/components/StepperHorizontalWrapper.vue.js +13 -13
  50. package/lib/components/SwitchWrapper.vue.d.ts +6 -3
  51. package/lib/components/SwitchWrapper.vue.js +13 -13
  52. package/lib/components/TableWrapper.vue.d.ts +26 -3
  53. package/lib/components/TableWrapper.vue.js +14 -13
  54. package/lib/components/TabsBarWrapper.vue.d.ts +21 -10
  55. package/lib/components/TabsBarWrapper.vue.js +15 -14
  56. package/lib/components/TabsWrapper.vue.d.ts +21 -10
  57. package/lib/components/TabsWrapper.vue.js +15 -14
  58. package/lib/components/TagDismissibleWrapper.vue.d.ts +2 -2
  59. package/lib/components/TagWrapper.vue.d.ts +2 -2
  60. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +16 -8
  61. package/lib/components/TextFieldWrapperWrapper.vue.js +7 -6
  62. package/lib/components/TextListWrapper.vue.d.ts +16 -11
  63. package/lib/components/TextListWrapper.vue.js +11 -10
  64. package/lib/components/TextWrapper.vue.d.ts +4 -4
  65. package/lib/components/TextareaWrapperWrapper.vue.d.ts +16 -8
  66. package/lib/components/TextareaWrapperWrapper.vue.js +12 -11
  67. package/lib/components/index.d.ts +3 -0
  68. package/lib/types.d.ts +164 -68
  69. package/package.json +2 -2
  70. package/public-api.js +117 -111
  71. package/styles/_index.scss +1 -0
  72. package/styles/scss.scss +0 -1
@@ -0,0 +1,32 @@
1
+ import { defineComponent as l, ref as f, onMounted as p, onUpdated as s, openBlock as d, createBlock as u, resolveDynamicComponent as m, unref as i, withCtx as c, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as C, syncProperties as o } from "../../utils.js";
3
+ const b = /* @__PURE__ */ l({
4
+ __name: "FieldsetWrapper",
5
+ props: {
6
+ label: { default: "" },
7
+ labelSize: { default: "medium" },
8
+ message: { default: "" },
9
+ required: { type: Boolean, default: !1 },
10
+ state: { default: "none" },
11
+ theme: { default: "light" }
12
+ },
13
+ setup(n) {
14
+ const t = n, a = C("p-fieldset"), e = f();
15
+ return p(() => {
16
+ o(e.value, t);
17
+ }), s(() => {
18
+ o(e.value, t);
19
+ }), (r, g) => (d(), u(m(i(a)), {
20
+ ref_key: "pdsComponentRef",
21
+ ref: e
22
+ }, {
23
+ default: c(() => [
24
+ _(r.$slots, "default")
25
+ ]),
26
+ _: 3
27
+ }, 512));
28
+ }
29
+ });
30
+ export {
31
+ b as default
32
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./FieldsetWrapper.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,5 @@
1
- import type { FieldsetWrapperLabelSize, FormState, Theme } from '../types';
1
+ import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types';
2
+ /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */
2
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
4
  /**
4
5
  * The label text.
@@ -66,10 +67,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
67
  }>>>, {
67
68
  label: string;
68
69
  theme: Theme;
69
- state: FormState;
70
+ state: FieldsetWrapperState;
71
+ required: boolean;
70
72
  message: string;
71
73
  labelSize: FieldsetWrapperLabelSize;
72
- required: boolean;
73
74
  }>, {
74
75
  default: (_: {}) => any;
75
76
  }>;
@@ -4,11 +4,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  /**
5
5
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
6
6
  */
7
- offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 2 | 5 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
7
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 5 | 2 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
8
8
  /**
9
9
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
10
10
  */
11
- size?: BreakpointCustomizable<3 | 4 | 6 | 2 | 5 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
11
+ size?: BreakpointCustomizable<3 | 4 | 6 | 5 | 2 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
12
12
  }>, {
13
13
  offset: number;
14
14
  size: number;
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  /**
17
17
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
18
18
  */
19
- offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 2 | 5 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
19
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 5 | 2 | 7 | 1 | 8 | 9 | 10 | 11> | undefined;
20
20
  /**
21
21
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
22
22
  */
23
- size?: BreakpointCustomizable<3 | 4 | 6 | 2 | 5 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
23
+ size?: BreakpointCustomizable<3 | 4 | 6 | 5 | 2 | 7 | 1 | 12 | 8 | 9 | 10 | 11> | undefined;
24
24
  }>, {
25
25
  offset: number;
26
26
  size: number;
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  /**
8
8
  * Basic text color variations depending on theme property.
9
9
  */
10
- color?: "primary" | "inherit" | undefined;
10
+ color?: "inherit" | "primary" | undefined;
11
11
  /**
12
12
  * Adds an ellipsis to a single line of text if it overflows.
13
13
  */
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  /**
16
16
  * Size of the component. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
17
17
  */
18
- size?: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large"> | undefined;
18
+ size?: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large"> | undefined;
19
19
  /**
20
20
  * Sets a custom HTML tag depending on the usage of the heading component.
21
21
  */
@@ -38,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
38
38
  /**
39
39
  * Basic text color variations depending on theme property.
40
40
  */
41
- color?: "primary" | "inherit" | undefined;
41
+ color?: "inherit" | "primary" | undefined;
42
42
  /**
43
43
  * Adds an ellipsis to a single line of text if it overflows.
44
44
  */
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
46
46
  /**
47
47
  * Size of the component. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
48
48
  */
49
- size?: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large"> | undefined;
49
+ size?: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large"> | undefined;
50
50
  /**
51
51
  * Sets a custom HTML tag depending on the usage of the heading component.
52
52
  */
@@ -8,7 +8,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
8
8
  /**
9
9
  * Basic text color variations depending on theme property.
10
10
  */
11
- color?: "default" | "primary" | "inherit" | undefined;
11
+ color?: "default" | "inherit" | "primary" | undefined;
12
12
  /**
13
13
  * Adds an ellipsis to a single line of text if it overflows.
14
14
  */
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
39
  /**
40
40
  * Basic text color variations depending on theme property.
41
41
  */
42
- color?: "default" | "primary" | "inherit" | undefined;
42
+ color?: "default" | "inherit" | "primary" | undefined;
43
43
  /**
44
44
  * Adds an ellipsis to a single line of text if it overflows.
45
45
  */
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  variant: string;
65
65
  }>>>, {
66
66
  theme: Theme;
67
- variant: HeadlineVariant;
68
67
  align: HeadlineAlign;
68
+ variant: HeadlineVariant;
69
69
  color: HeadlineColor;
70
70
  ellipsis: boolean;
71
71
  }>, {
@@ -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" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "inherit" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "disabled" | undefined;
10
+ color?: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled" | undefined;
11
11
  /**
12
12
  * Has no effect anymore
13
13
  * @deprecated since v3.0.0, will be removed with next major release
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
20
  /**
21
21
  * The size of the icon.
22
22
  */
23
- size?: "inherit" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
23
+ size?: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
24
24
  /**
25
25
  * Specifies a whole icon path which can be used for custom icons.
26
26
  */
@@ -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" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "inherit" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "disabled" | undefined;
46
+ color?: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled" | undefined;
47
47
  /**
48
48
  * Has no effect anymore
49
49
  * @deprecated since v3.0.0, will be removed with next major release
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
56
56
  /**
57
57
  * The size of the icon.
58
58
  */
59
- size?: "inherit" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
59
+ size?: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
60
60
  /**
61
61
  * Specifies a whole icon path which can be used for custom icons.
62
62
  */
@@ -1,4 +1,4 @@
1
- import type { IconName, InlineNotificationState, Theme } from '../types';
1
+ import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Action icon of the inline-notification.
@@ -91,10 +91,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
91
91
  }, {
92
92
  heading: string;
93
93
  theme: Theme;
94
+ description: string;
94
95
  persistent: boolean;
95
96
  state: InlineNotificationState;
96
- description: string;
97
- actionIcon: IconName;
97
+ actionIcon: InlineNotificationActionIcon;
98
98
  actionLoading: boolean;
99
99
  }>, {
100
100
  default: (_: {}) => any;
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonIconName, TextSize, LinkTarget, Theme, TextWeight } from '../types';
1
+ import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes, LinkPureIcon, LinkPureSize, LinkPureTarget, Theme, LinkPureWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Display link in active state.
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  /**
28
28
  * The icon shown. By choosing 'none', no icon is displayed
29
29
  */
30
- icon?: LinkButtonIconName | undefined;
30
+ icon?: import("../types").LinkButtonIconName | undefined;
31
31
  /**
32
32
  * A URL path to a custom icon.
33
33
  */
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
39
  /**
40
40
  * Size of the link.
41
41
  */
42
- size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
42
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
43
43
  /**
44
44
  * Stretches the area between icon and label to max available space.
45
45
  */
@@ -100,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
100
100
  /**
101
101
  * The icon shown. By choosing 'none', no icon is displayed
102
102
  */
103
- icon?: LinkButtonIconName | undefined;
103
+ icon?: import("../types").LinkButtonIconName | undefined;
104
104
  /**
105
105
  * A URL path to a custom icon.
106
106
  */
@@ -112,7 +112,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
112
112
  /**
113
113
  * Size of the link.
114
114
  */
115
- size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
115
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
116
116
  /**
117
117
  * Stretches the area between icon and label to max available space.
118
118
  */
@@ -146,15 +146,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
146
146
  underline: boolean;
147
147
  weight: string;
148
148
  }>>>, {
149
- weight: TextWeight;
149
+ weight: LinkPureWeight;
150
150
  stretch: BreakpointCustomizable<boolean>;
151
- size: BreakpointCustomizable<TextSize>;
151
+ size: BreakpointCustomizable<LinkPureSize>;
152
152
  theme: Theme;
153
153
  active: boolean;
154
- alignLabel: BreakpointCustomizable<AlignLabel>;
154
+ alignLabel: BreakpointCustomizable<LinkPureAlignLabel>;
155
155
  hideLabel: BreakpointCustomizable<boolean>;
156
- icon: LinkButtonIconName;
157
- target: LinkTarget;
156
+ icon: LinkPureIcon;
157
+ target: LinkPureTarget;
158
158
  underline: boolean;
159
159
  }>, {
160
160
  default: (_: {}) => any;
@@ -1,5 +1,5 @@
1
- import type { BreakpointCustomizable, SocialIconName, LinkTarget, Theme } from '../types';
2
- /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
1
+ import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
2
+ /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
4
  /**
5
5
  * Show or hide label.
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  /**
13
13
  * The icon shown.
14
14
  */
15
- icon?: SocialIconName | undefined;
15
+ icon?: LinkSocialIcon | undefined;
16
16
  /**
17
17
  * A URL path to a custom icon.
18
18
  */
@@ -45,7 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
45
45
  /**
46
46
  * The icon shown.
47
47
  */
48
- icon?: SocialIconName | undefined;
48
+ icon?: LinkSocialIcon | undefined;
49
49
  /**
50
50
  * A URL path to a custom icon.
51
51
  */
@@ -69,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
69
  }>>>, {
70
70
  theme: Theme;
71
71
  hideLabel: BreakpointCustomizable<boolean>;
72
- target: LinkTarget;
72
+ target: LinkSocialTarget;
73
73
  }>, {
74
74
  default: (_: {}) => any;
75
75
  }>;
@@ -0,0 +1,106 @@
1
+ import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /**
4
+ * Aspect ratio of the link-tile-model-signature.
5
+ */
6
+ aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
7
+ /**
8
+ * Description text.
9
+ */
10
+ description?: string | undefined;
11
+ /**
12
+ * Heading text.
13
+ */
14
+ heading: string;
15
+ /**
16
+ * Sets a custom headline tag which wraps the heading to enhance semantics.
17
+ */
18
+ headingTag?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
19
+ /**
20
+ * Defines the direction of the main and cross axis of the links. The default is '{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint 'xs'.
21
+ */
22
+ linkDirection?: BreakpointCustomizable<"row" | "column"> | undefined;
23
+ /**
24
+ * Adapts the model of the component.
25
+ */
26
+ model?: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
27
+ /**
28
+ * Adapts the font weight of the heading.
29
+ */
30
+ weight?: BreakpointCustomizable<"regular" | "semi-bold"> | undefined;
31
+ }>, {
32
+ aspectRatio: string;
33
+ headingTag: string;
34
+ linkDirection: () => {
35
+ base: string;
36
+ xs: string;
37
+ };
38
+ model: string;
39
+ weight: string;
40
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
41
+ /**
42
+ * Aspect ratio of the link-tile-model-signature.
43
+ */
44
+ aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
45
+ /**
46
+ * Description text.
47
+ */
48
+ description?: string | undefined;
49
+ /**
50
+ * Heading text.
51
+ */
52
+ heading: string;
53
+ /**
54
+ * Sets a custom headline tag which wraps the heading to enhance semantics.
55
+ */
56
+ headingTag?: "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
57
+ /**
58
+ * Defines the direction of the main and cross axis of the links. The default is '{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint 'xs'.
59
+ */
60
+ linkDirection?: BreakpointCustomizable<"row" | "column"> | undefined;
61
+ /**
62
+ * Adapts the model of the component.
63
+ */
64
+ model?: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
65
+ /**
66
+ * Adapts the font weight of the heading.
67
+ */
68
+ weight?: BreakpointCustomizable<"regular" | "semi-bold"> | undefined;
69
+ }>, {
70
+ aspectRatio: string;
71
+ headingTag: string;
72
+ linkDirection: () => {
73
+ base: string;
74
+ xs: string;
75
+ };
76
+ model: string;
77
+ weight: string;
78
+ }>>>, {
79
+ weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
80
+ aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
81
+ headingTag: LinkTileModelSignatureHeadingTag;
82
+ linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
83
+ model: LinkTileModelSignatureModel;
84
+ }>, {
85
+ default: (_: {}) => any;
86
+ }>;
87
+ export default _default;
88
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
89
+ type __VLS_TypePropsToRuntimeProps<T> = {
90
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
91
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
92
+ } : {
93
+ type: import('vue').PropType<T[K]>;
94
+ required: true;
95
+ };
96
+ };
97
+ type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
99
+ default: D[K];
100
+ } : P[K];
101
+ };
102
+ type __VLS_WithTemplateSlots<T, S> = T & {
103
+ new (): {
104
+ $slots: S;
105
+ };
106
+ };
@@ -0,0 +1,33 @@
1
+ import { defineComponent as l, ref as i, onMounted as d, onUpdated as p, openBlock as s, createBlock as u, resolveDynamicComponent as f, unref as m, withCtx as c, renderSlot as g } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as t } from "../../utils.js";
3
+ const w = /* @__PURE__ */ l({
4
+ __name: "LinkTileModelSignatureWrapper",
5
+ props: {
6
+ aspectRatio: { default: "3:4" },
7
+ description: null,
8
+ heading: null,
9
+ headingTag: { default: "h2" },
10
+ linkDirection: { default: () => ({ base: "column", xs: "row" }) },
11
+ model: { default: "911" },
12
+ weight: { default: "semi-bold" }
13
+ },
14
+ setup(n) {
15
+ const o = n, a = _("p-link-tile-model-signature"), e = i();
16
+ return d(() => {
17
+ t(e.value, o);
18
+ }), p(() => {
19
+ t(e.value, o);
20
+ }), (r, h) => (s(), u(f(m(a)), {
21
+ ref_key: "pdsComponentRef",
22
+ ref: e
23
+ }, {
24
+ default: c(() => [
25
+ g(r.$slots, "default")
26
+ ]),
27
+ _: 3
28
+ }, 512));
29
+ }
30
+ });
31
+ export {
32
+ w as default
33
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./LinkTileModelSignatureWrapper.vue.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import type { LinkTileAlign, SelectedAriaAttributes, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTarget, LinkTileWeight } from '../types';
1
+ import type { LinkTileAlign, SelectedAriaAttributes, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Alignment of link and description.
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  */
14
14
  aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
15
15
  /**
16
- * Displays the tile-link as compact version with description and link icon only.
16
+ * Displays the link-tile as compact version with description and link icon only.
17
17
  */
18
18
  compact?: BreakpointCustomizable<boolean> | undefined;
19
19
  /**
@@ -51,7 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
51
  /**
52
52
  * Font weight of the description.
53
53
  */
54
- weight?: BreakpointCustomizable<"regular" | "semibold"> | undefined;
54
+ weight?: BreakpointCustomizable<"regular" | "semi-bold" | "semibold"> | undefined;
55
55
  }>, {
56
56
  align: string;
57
57
  aspectRatio: string;
@@ -74,7 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
74
74
  */
75
75
  aspectRatio?: BreakpointCustomizable<"1:1" | "4:3" | "3:4" | "16:9" | "9:16"> | undefined;
76
76
  /**
77
- * Displays the tile-link as compact version with description and link icon only.
77
+ * Displays the link-tile as compact version with description and link icon only.
78
78
  */
79
79
  compact?: BreakpointCustomizable<boolean> | undefined;
80
80
  /**
@@ -112,7 +112,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
112
112
  /**
113
113
  * Font weight of the description.
114
114
  */
115
- weight?: BreakpointCustomizable<"regular" | "semibold"> | undefined;
115
+ weight?: BreakpointCustomizable<"regular" | "semi-bold" | "semibold"> | undefined;
116
116
  }>, {
117
117
  align: string;
118
118
  aspectRatio: string;
@@ -126,9 +126,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
126
126
  compact: BreakpointCustomizable<boolean>;
127
127
  size: BreakpointCustomizable<LinkTileSize>;
128
128
  align: LinkTileAlign;
129
- target: LinkTarget;
130
129
  aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
131
130
  gradient: boolean;
131
+ target: LinkTileTarget;
132
132
  }>, {
133
133
  default: (_: {}) => any;
134
134
  }>;
@@ -15,7 +15,7 @@ const h = /* @__PURE__ */ r({
15
15
  rel: null,
16
16
  size: { default: "default" },
17
17
  target: { default: "_self" },
18
- weight: { default: "semibold" }
18
+ weight: { default: "semi-bold" }
19
19
  },
20
20
  setup(o) {
21
21
  const t = o, n = g("p-link-tile"), e = f();
@@ -1,4 +1,4 @@
1
- import type { SelectedAriaAttributes, BreakpointCustomizable, LinkButtonIconName, LinkTarget, Theme, LinkVariant } from '../types';
1
+ import type { SelectedAriaAttributes, BreakpointCustomizable, LinkIcon, LinkTarget, Theme, LinkVariant } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Add ARIA attributes.
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  /**
20
20
  * The icon shown. By choosing 'none', no icon is displayed.
21
21
  */
22
- icon?: LinkButtonIconName | undefined;
22
+ icon?: import("../types").LinkButtonIconName | undefined;
23
23
  /**
24
24
  * A URL path to a custom icon.
25
25
  */
@@ -66,7 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
66
66
  /**
67
67
  * The icon shown. By choosing 'none', no icon is displayed.
68
68
  */
69
- icon?: LinkButtonIconName | undefined;
69
+ icon?: import("../types").LinkButtonIconName | undefined;
70
70
  /**
71
71
  * A URL path to a custom icon.
72
72
  */
@@ -96,7 +96,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
96
96
  }>>>, {
97
97
  theme: Theme;
98
98
  hideLabel: BreakpointCustomizable<boolean>;
99
- icon: LinkButtonIconName;
99
+ icon: LinkIcon;
100
100
  variant: LinkVariant;
101
101
  target: LinkTarget;
102
102
  }>, {
@@ -1,4 +1,4 @@
1
- import type { SelectedAriaAttributes, MarqueSize, LinkTarget } from '../types';
1
+ import type { SelectedAriaAttributes, MarqueSize, MarqueTarget } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Add ARIA attributes.
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
51
51
  trademark: boolean;
52
52
  }>>>, {
53
53
  size: MarqueSize;
54
- target: LinkTarget;
54
+ target: MarqueTarget;
55
55
  trademark: boolean;
56
56
  }>;
57
57
  export default _default;
@@ -9,9 +9,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  */
10
10
  disableBackdropClick?: boolean | undefined;
11
11
  /**
12
- * If true, the modal will not have a close button.
12
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. If true, the modal will not have a dismiss button.
13
13
  */
14
14
  disableCloseButton?: boolean | undefined;
15
+ /**
16
+ * If false, the modal will not have a dismiss button.
17
+ */
18
+ dismissButton?: boolean | undefined;
15
19
  /**
16
20
  * If true the modal uses max viewport height and width. Should only be used for mobile.
17
21
  */
@@ -26,11 +30,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
30
  open: boolean;
27
31
  }>, {
28
32
  disableBackdropClick: boolean;
29
- disableCloseButton: boolean;
33
+ dismissButton: boolean;
30
34
  fullscreen: boolean;
31
35
  open: boolean;
32
36
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
37
  close: (value?: void | undefined) => void;
38
+ } & {
39
+ dismiss: (value?: void | undefined) => void;
34
40
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
41
  /**
36
42
  * Add ARIA attributes.
@@ -41,9 +47,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
41
47
  */
42
48
  disableBackdropClick?: boolean | undefined;
43
49
  /**
44
- * If true, the modal will not have a close button.
50
+ * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. If true, the modal will not have a dismiss button.
45
51
  */
46
52
  disableCloseButton?: boolean | undefined;
53
+ /**
54
+ * If false, the modal will not have a dismiss button.
55
+ */
56
+ dismissButton?: boolean | undefined;
47
57
  /**
48
58
  * If true the modal uses max viewport height and width. Should only be used for mobile.
49
59
  */
@@ -58,15 +68,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
68
  open: boolean;
59
69
  }>, {
60
70
  disableBackdropClick: boolean;
61
- disableCloseButton: boolean;
71
+ dismissButton: boolean;
62
72
  fullscreen: boolean;
63
73
  open: boolean;
64
74
  }>>> & {
75
+ onDismiss?: ((value?: void | undefined) => any) | undefined;
65
76
  onClose?: ((value?: void | undefined) => any) | undefined;
66
77
  }, {
67
78
  open: boolean;
68
79
  disableBackdropClick: boolean;
69
- disableCloseButton: boolean;
80
+ dismissButton: boolean;
70
81
  fullscreen: BreakpointCustomizable<boolean>;
71
82
  }>, {
72
83
  default: (_: {}) => any;