@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
@@ -1,28 +1,29 @@
1
- import { defineComponent as s, ref as p, onMounted as f, onUpdated as d, openBlock as u, createBlock as c, resolveDynamicComponent as m, unref as i, withCtx as C, renderSlot as B } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as t, addEventListenerToElementRef as y } from "../../utils.js";
3
- const b = /* @__PURE__ */ s({
1
+ import { defineComponent as p, ref as d, onMounted as f, onUpdated as u, openBlock as i, createBlock as m, resolveDynamicComponent as c, unref as B, withCtx as C, renderSlot as y } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as a } from "../../utils.js";
3
+ const b = /* @__PURE__ */ p({
4
4
  __name: "ModalWrapper",
5
5
  props: {
6
6
  aria: null,
7
7
  disableBackdropClick: { type: Boolean, default: !1 },
8
- disableCloseButton: { type: Boolean, default: !1 },
8
+ disableCloseButton: { type: Boolean },
9
+ dismissButton: { type: Boolean, default: !0 },
9
10
  fullscreen: { default: !1 },
10
11
  heading: null,
11
12
  open: { type: Boolean, default: !1 }
12
13
  },
13
- emits: ["close"],
14
- setup(n, { emit: a }) {
15
- const o = n, l = _("p-modal"), e = p();
14
+ emits: ["close", "dismiss"],
15
+ setup(l, { emit: o }) {
16
+ const t = l, s = _("p-modal"), e = d();
16
17
  return f(() => {
17
- t(e.value, o), y(e.value, "close", a);
18
- }), d(() => {
19
- t(e.value, o);
20
- }), (r, k) => (u(), c(m(i(l)), {
18
+ n(e.value, t), a(e.value, "close", o), a(e.value, "dismiss", o);
19
+ }), u(() => {
20
+ n(e.value, t);
21
+ }), (r, v) => (i(), m(c(B(s)), {
21
22
  ref_key: "pdsComponentRef",
22
23
  ref: e
23
24
  }, {
24
25
  default: C(() => [
25
- B(r.$slots, "default")
26
+ y(r.$slots, "default")
26
27
  ]),
27
28
  _: 3
28
29
  }, 512));
@@ -3,11 +3,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
3
3
  /**
4
4
  * Adapts the color of the component.
5
5
  */
6
- color?: "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "inherit" | undefined;
6
+ color?: "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | undefined;
7
7
  /**
8
8
  * Adapts the model of the component.
9
9
  */
10
- model?: "911" | "718" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
10
+ model?: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
11
11
  /**
12
12
  * Adapts the size of the component.
13
13
  */
@@ -25,11 +25,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  /**
26
26
  * Adapts the color of the component.
27
27
  */
28
- color?: "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "inherit" | undefined;
28
+ color?: "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | undefined;
29
29
  /**
30
30
  * Adapts the model of the component.
31
31
  */
32
- model?: "911" | "718" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
32
+ model?: "718" | "911" | "boxster" | "cayenne" | "cayman" | "macan" | "panamera" | "taycan" | "turbo-s" | "turbo" | undefined;
33
33
  /**
34
34
  * Adapts the size of the component.
35
35
  */
@@ -1,25 +1,29 @@
1
- import type { BreakpointCustomizable, NumberOfPageLinks, PageChangeEvent, Theme } from '../types';
1
+ import type { BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationChangeEvent, Theme } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Index of the currently active page.
5
5
  */
6
6
  activePage: number;
7
7
  /**
8
- * Aria label what the pagination is used for.
8
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.root` instead. Aria label what the pagination is used for.
9
9
  */
10
10
  allyLabel?: string | undefined;
11
11
  /**
12
- * Aria label for next page icon.
12
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.next` instead. Aria label for next page icon.
13
13
  */
14
14
  allyLabelNext?: string | undefined;
15
15
  /**
16
- * Aria label for page navigation.
16
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.page` instead. Aria label for page navigation.
17
17
  */
18
18
  allyLabelPage?: string | undefined;
19
19
  /**
20
- * Aria label for previous page icon.
20
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.prev` instead. Aria label for previous page icon.
21
21
  */
22
22
  allyLabelPrev?: string | undefined;
23
+ /**
24
+ * Override the default wordings that are used for aria-labels on the next/prev and page buttons.
25
+ */
26
+ intl?: Partial<Record<"page" | "prev" | "next" | "root", string>> | undefined;
23
27
  /**
24
28
  * The total count of items which should be shown per page.
25
29
  */
@@ -38,10 +42,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
42
  totalItemsCount: number;
39
43
  }>, {
40
44
  activePage: number;
41
- allyLabel: string;
42
- allyLabelNext: string;
43
- allyLabelPage: string;
44
- allyLabelPrev: string;
45
+ intl: () => {
46
+ root: string;
47
+ prev: string;
48
+ next: string;
49
+ page: string;
50
+ };
45
51
  itemsPerPage: number;
46
52
  maxNumberOfPageLinks: () => {
47
53
  base: number;
@@ -50,28 +56,34 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
50
56
  theme: string;
51
57
  totalItemsCount: number;
52
58
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
- pageChange: (value: PageChangeEvent) => void;
59
+ change: (value: PaginationChangeEvent) => void;
60
+ } & {
61
+ pageChange: (value: PaginationChangeEvent) => void;
54
62
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
55
63
  /**
56
64
  * Index of the currently active page.
57
65
  */
58
66
  activePage: number;
59
67
  /**
60
- * Aria label what the pagination is used for.
68
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.root` instead. Aria label what the pagination is used for.
61
69
  */
62
70
  allyLabel?: string | undefined;
63
71
  /**
64
- * Aria label for next page icon.
72
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.next` instead. Aria label for next page icon.
65
73
  */
66
74
  allyLabelNext?: string | undefined;
67
75
  /**
68
- * Aria label for page navigation.
76
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.page` instead. Aria label for page navigation.
69
77
  */
70
78
  allyLabelPage?: string | undefined;
71
79
  /**
72
- * Aria label for previous page icon.
80
+ * @deprecated since v3.0.0, will be removed with next major release, use `intl.prev` instead. Aria label for previous page icon.
73
81
  */
74
82
  allyLabelPrev?: string | undefined;
83
+ /**
84
+ * Override the default wordings that are used for aria-labels on the next/prev and page buttons.
85
+ */
86
+ intl?: Partial<Record<"page" | "prev" | "next" | "root", string>> | undefined;
75
87
  /**
76
88
  * The total count of items which should be shown per page.
77
89
  */
@@ -90,10 +102,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
90
102
  totalItemsCount: number;
91
103
  }>, {
92
104
  activePage: number;
93
- allyLabel: string;
94
- allyLabelNext: string;
95
- allyLabelPage: string;
96
- allyLabelPrev: string;
105
+ intl: () => {
106
+ root: string;
107
+ prev: string;
108
+ next: string;
109
+ page: string;
110
+ };
97
111
  itemsPerPage: number;
98
112
  maxNumberOfPageLinks: () => {
99
113
  base: number;
@@ -102,16 +116,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
102
116
  theme: string;
103
117
  totalItemsCount: number;
104
118
  }>>> & {
105
- onPageChange?: ((value: PageChangeEvent) => any) | undefined;
119
+ onChange?: ((value: PaginationChangeEvent) => any) | undefined;
120
+ onPageChange?: ((value: PaginationChangeEvent) => any) | undefined;
106
121
  }, {
107
122
  theme: Theme;
123
+ intl: Partial<Record<"page" | "prev" | "next" | "root", string>>;
108
124
  activePage: number;
109
- allyLabel: string;
110
- allyLabelNext: string;
111
- allyLabelPage: string;
112
- allyLabelPrev: string;
113
125
  itemsPerPage: number;
114
- maxNumberOfPageLinks: BreakpointCustomizable<NumberOfPageLinks>;
126
+ maxNumberOfPageLinks: BreakpointCustomizable<PaginationMaxNumberOfPageLinks>;
115
127
  totalItemsCount: number;
116
128
  }>;
117
129
  export default _default;
@@ -1,31 +1,32 @@
1
- import { defineComponent as r, ref as p, onMounted as f, onUpdated as s, openBlock as u, createBlock as i, resolveDynamicComponent as m, unref as d } from "vue";
2
- import { getPrefixedTagName as g, syncProperties as t, addEventListenerToElementRef as c } from "../../utils.js";
3
- const x = /* @__PURE__ */ r({
1
+ import { defineComponent as p, ref as u, onMounted as s, onUpdated as g, openBlock as f, createBlock as i, resolveDynamicComponent as m, unref as c } from "vue";
2
+ import { getPrefixedTagName as d, syncProperties as t, addEventListenerToElementRef as l } from "../../utils.js";
3
+ const b = /* @__PURE__ */ p({
4
4
  __name: "PaginationWrapper",
5
5
  props: {
6
6
  activePage: { default: 1 },
7
- allyLabel: { default: "Pagination" },
8
- allyLabelNext: { default: "Next page" },
9
- allyLabelPage: { default: "Page" },
10
- allyLabelPrev: { default: "Previous page" },
7
+ allyLabel: null,
8
+ allyLabelNext: null,
9
+ allyLabelPage: null,
10
+ allyLabelPrev: null,
11
+ intl: { default: () => ({ root: "Pagination", prev: "Previous page", next: "Next page", page: "Page" }) },
11
12
  itemsPerPage: { default: 1 },
12
13
  maxNumberOfPageLinks: { default: () => ({ base: 5, xs: 7 }) },
13
14
  theme: { default: "light" },
14
15
  totalItemsCount: { default: 1 }
15
16
  },
16
- emits: ["pageChange"],
17
- setup(n, { emit: o }) {
18
- const a = n, l = g("p-pagination"), e = p();
19
- return f(() => {
20
- t(e.value, a), c(e.value, "pageChange", o);
21
- }), s(() => {
22
- t(e.value, a);
23
- }), (P, v) => (u(), i(m(d(l)), {
17
+ emits: ["change", "pageChange"],
18
+ setup(o, { emit: a }) {
19
+ const n = o, r = d("p-pagination"), e = u();
20
+ return s(() => {
21
+ t(e.value, n), l(e.value, "change", a), l(e.value, "pageChange", a);
22
+ }), g(() => {
23
+ t(e.value, n);
24
+ }), (P, v) => (f(), i(m(c(r)), {
24
25
  ref_key: "pdsComponentRef",
25
26
  ref: e
26
27
  }, null, 512));
27
28
  }
28
29
  });
29
30
  export {
30
- x as default
31
+ b as default
31
32
  };
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  /**
12
12
  * Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
13
13
  */
14
- direction?: "top" | "left" | "right" | "bottom" | undefined;
14
+ direction?: "top" | "bottom" | "left" | "right" | undefined;
15
15
  /**
16
16
  * Adapts the popover color depending on the theme.
17
17
  */
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
31
  /**
32
32
  * Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
33
33
  */
34
- direction?: "top" | "left" | "right" | "bottom" | undefined;
34
+ direction?: "top" | "bottom" | "left" | "right" | undefined;
35
35
  /**
36
36
  * Adapts the popover color depending on the theme.
37
37
  */
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, FormState, Theme } from '../types';
1
+ import type { BreakpointCustomizable, RadioButtonWrapperState, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Show or hide label. For better accessibility it's recommended to show the label.
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
56
56
  }>>>, {
57
57
  label: string;
58
58
  theme: Theme;
59
- state: FormState;
59
+ state: RadioButtonWrapperState;
60
60
  hideLabel: BreakpointCustomizable<boolean>;
61
61
  message: string;
62
62
  }>, {
@@ -1,50 +1,77 @@
1
- import type { GradientColorTheme, ScrollIndicatorPosition, ScrollToPosition, Theme } from '../types';
1
+ import type { ScrollerAlignScrollIndicator, ScrollerGradientColor, ScrollerScrollToPosition, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /**
4
+ * Sets the vertical position of scroll indicator
5
+ */
6
+ alignScrollIndicator?: "top" | "center" | undefined;
3
7
  /**
4
8
  * Adapts the background gradient color of prev and next button.
5
9
  */
10
+ gradientColor?: "background-base" | "background-surface" | undefined;
11
+ /**
12
+ * @deprecated since v3.0.0, will be removed with next major release, use `gradientColor` instead. Adapts the background gradient color of prev and next button.
13
+ */
6
14
  gradientColorScheme?: "default" | "surface" | undefined;
7
15
  /**
8
- * Sets the vertical position of scroll indicator icon
16
+ * @deprecated since v3.0.0, will be removed with next major release, use `alignScrollIndicator` instead. Sets the vertical position of scroll indicator
9
17
  */
10
18
  scrollIndicatorPosition?: "top" | "center" | undefined;
11
19
  /**
12
20
  * Scrolls the scroll area to the left either smooth or immediately
13
21
  */
14
- scrollToPosition?: ScrollToPosition | undefined;
22
+ scrollToPosition?: ScrollerScrollToPosition | undefined;
23
+ /**
24
+ * Specifies if scrollbar should be shown
25
+ */
26
+ scrollbar?: boolean | undefined;
15
27
  /**
16
28
  * Adapts the color when used on dark background.
17
29
  */
18
30
  theme?: "light" | "dark" | undefined;
19
31
  }>, {
20
- gradientColorScheme: string;
21
- scrollIndicatorPosition: string;
32
+ alignScrollIndicator: string;
33
+ gradientColor: string;
34
+ scrollbar: boolean;
22
35
  theme: string;
23
36
  }>, {}, 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<{
37
+ /**
38
+ * Sets the vertical position of scroll indicator
39
+ */
40
+ alignScrollIndicator?: "top" | "center" | undefined;
24
41
  /**
25
42
  * Adapts the background gradient color of prev and next button.
26
43
  */
44
+ gradientColor?: "background-base" | "background-surface" | undefined;
45
+ /**
46
+ * @deprecated since v3.0.0, will be removed with next major release, use `gradientColor` instead. Adapts the background gradient color of prev and next button.
47
+ */
27
48
  gradientColorScheme?: "default" | "surface" | undefined;
28
49
  /**
29
- * Sets the vertical position of scroll indicator icon
50
+ * @deprecated since v3.0.0, will be removed with next major release, use `alignScrollIndicator` instead. Sets the vertical position of scroll indicator
30
51
  */
31
52
  scrollIndicatorPosition?: "top" | "center" | undefined;
32
53
  /**
33
54
  * Scrolls the scroll area to the left either smooth or immediately
34
55
  */
35
- scrollToPosition?: ScrollToPosition | undefined;
56
+ scrollToPosition?: ScrollerScrollToPosition | undefined;
57
+ /**
58
+ * Specifies if scrollbar should be shown
59
+ */
60
+ scrollbar?: boolean | undefined;
36
61
  /**
37
62
  * Adapts the color when used on dark background.
38
63
  */
39
64
  theme?: "light" | "dark" | undefined;
40
65
  }>, {
41
- gradientColorScheme: string;
42
- scrollIndicatorPosition: string;
66
+ alignScrollIndicator: string;
67
+ gradientColor: string;
68
+ scrollbar: boolean;
43
69
  theme: string;
44
70
  }>>>, {
45
71
  theme: Theme;
46
- gradientColorScheme: GradientColorTheme;
47
- scrollIndicatorPosition: ScrollIndicatorPosition;
72
+ alignScrollIndicator: ScrollerAlignScrollIndicator;
73
+ gradientColor: ScrollerGradientColor;
74
+ scrollbar: boolean;
48
75
  }>, {
49
76
  default: (_: {}) => any;
50
77
  }>;
@@ -1,25 +1,28 @@
1
- import { defineComponent as a, ref as p, onMounted as s, onUpdated as c, openBlock as f, createBlock as d, resolveDynamicComponent as i, unref as m, withCtx as u, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as t } from "../../utils.js";
1
+ import { defineComponent as a, ref as s, onMounted as c, onUpdated as p, openBlock as d, createBlock as f, resolveDynamicComponent as i, unref as u, withCtx as m, renderSlot as g } from "vue";
2
+ import { getPrefixedTagName as C, syncProperties as r } from "../../utils.js";
3
3
  const k = /* @__PURE__ */ a({
4
4
  __name: "ScrollerWrapper",
5
5
  props: {
6
- gradientColorScheme: { default: "default" },
7
- scrollIndicatorPosition: { default: "center" },
6
+ alignScrollIndicator: { default: "center" },
7
+ gradientColor: { default: "background-base" },
8
+ gradientColorScheme: null,
9
+ scrollIndicatorPosition: null,
8
10
  scrollToPosition: null,
11
+ scrollbar: { type: Boolean, default: !1 },
9
12
  theme: { default: "light" }
10
13
  },
11
- setup(r) {
12
- const o = r, n = _("p-scroller"), e = p();
13
- return s(() => {
14
- t(e.value, o);
15
- }), c(() => {
16
- t(e.value, o);
17
- }), (l, g) => (f(), d(i(m(n)), {
14
+ setup(t) {
15
+ const o = t, n = C("p-scroller"), e = s();
16
+ return c(() => {
17
+ r(e.value, o);
18
+ }), p(() => {
19
+ r(e.value, o);
20
+ }), (l, _) => (d(), f(i(u(n)), {
18
21
  ref_key: "pdsComponentRef",
19
22
  ref: e
20
23
  }, {
21
- default: u(() => [
22
- C(l.$slots, "default")
24
+ default: m(() => [
25
+ g(l.$slots, "default")
23
26
  ]),
24
27
  _: 3
25
28
  }, 512));
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  /**
7
7
  * The icon shown.
8
8
  */
9
- icon?: "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out" | undefined;
9
+ icon?: import("../types").LinkButtonIconName | undefined;
10
10
  /**
11
11
  * A URL path to a custom icon.
12
12
  */
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
29
29
  /**
30
30
  * The icon shown.
31
31
  */
32
- icon?: "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out" | undefined;
32
+ icon?: import("../types").LinkButtonIconName | undefined;
33
33
  /**
34
34
  * A URL path to a custom icon.
35
35
  */
@@ -1,7 +1,7 @@
1
1
  import type { SegmentedControlChangeEvent, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
- * @deprecated Background color variations
4
+ * @deprecated since v3.0.0, will be removed with next major release. Background color variations
5
5
  */
6
6
  backgroundColor?: "background-surface" | "background-default" | undefined;
7
7
  /**
@@ -15,10 +15,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  }>, {
16
16
  theme: string;
17
17
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ change: (value: SegmentedControlChangeEvent) => void;
19
+ } & {
18
20
  segmentedControlChange: (value: SegmentedControlChangeEvent) => void;
19
21
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
22
  /**
21
- * @deprecated Background color variations
23
+ * @deprecated since v3.0.0, will be removed with next major release. Background color variations
22
24
  */
23
25
  backgroundColor?: "background-surface" | "background-default" | undefined;
24
26
  /**
@@ -32,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
34
  }>, {
33
35
  theme: string;
34
36
  }>>> & {
37
+ onChange?: ((value: SegmentedControlChangeEvent) => any) | undefined;
35
38
  onSegmentedControlChange?: ((value: SegmentedControlChangeEvent) => any) | undefined;
36
39
  }, {
37
40
  theme: Theme;
@@ -1,25 +1,25 @@
1
- import { defineComponent as p, ref as s, onMounted as m, onUpdated as d, openBlock as f, createBlock as u, resolveDynamicComponent as c, unref as C, withCtx as g, renderSlot as i } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as h } from "../../utils.js";
3
- const y = /* @__PURE__ */ p({
1
+ import { defineComponent as s, ref as d, onMounted as m, onUpdated as u, openBlock as c, createBlock as f, resolveDynamicComponent as g, unref as C, withCtx as i, renderSlot as h } from "vue";
2
+ import { getPrefixedTagName as v, syncProperties as t, addEventListenerToElementRef as r } from "../../utils.js";
3
+ const y = /* @__PURE__ */ s({
4
4
  __name: "SegmentedControlWrapper",
5
5
  props: {
6
6
  backgroundColor: null,
7
7
  theme: { default: "light" },
8
8
  value: null
9
9
  },
10
- emits: ["segmentedControlChange"],
11
- setup(t, { emit: r }) {
12
- const n = t, l = _("p-segmented-control"), e = s();
10
+ emits: ["change", "segmentedControlChange"],
11
+ setup(a, { emit: n }) {
12
+ const o = a, l = v("p-segmented-control"), e = d();
13
13
  return m(() => {
14
- o(e.value, n), h(e.value, "segmentedControlChange", r);
15
- }), d(() => {
16
- o(e.value, n);
17
- }), (a, v) => (f(), u(c(C(l)), {
14
+ t(e.value, o), r(e.value, "change", n), r(e.value, "segmentedControlChange", n);
15
+ }), u(() => {
16
+ t(e.value, o);
17
+ }), (p, _) => (c(), f(g(C(l)), {
18
18
  ref_key: "pdsComponentRef",
19
19
  ref: e
20
20
  }, {
21
- default: g(() => [
22
- i(a.$slots, "default")
21
+ default: i(() => [
22
+ h(p.$slots, "default")
23
23
  ]),
24
24
  _: 3
25
25
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { DropdownDirection, BreakpointCustomizable, FormState, Theme } from '../types';
1
+ import type { SelectWrapperDropdownDirection, BreakpointCustomizable, SelectWrapperState, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * The description text.
@@ -97,11 +97,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
97
97
  filter: boolean;
98
98
  label: string;
99
99
  theme: Theme;
100
- state: FormState;
101
- hideLabel: BreakpointCustomizable<boolean>;
102
100
  description: string;
101
+ state: SelectWrapperState;
102
+ hideLabel: BreakpointCustomizable<boolean>;
103
103
  message: string;
104
- dropdownDirection: DropdownDirection;
104
+ dropdownDirection: SelectWrapperDropdownDirection;
105
105
  native: boolean;
106
106
  }>, {
107
107
  default: (_: {}) => any;
@@ -1,4 +1,4 @@
1
- import type { StepChangeEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
1
+ import type { StepperHorizontalChangeEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  size?: BreakpointCustomizable<"small" | "medium"> | undefined;
4
4
  /**
@@ -9,7 +9,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
9
9
  size: string;
10
10
  theme: string;
11
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- stepChange: (value: StepChangeEvent) => void;
12
+ change: (value: StepperHorizontalChangeEvent) => void;
13
+ } & {
14
+ stepChange: (value: StepperHorizontalChangeEvent) => void;
13
15
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
16
  size?: BreakpointCustomizable<"small" | "medium"> | undefined;
15
17
  /**
@@ -20,7 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
20
22
  size: string;
21
23
  theme: string;
22
24
  }>>> & {
23
- onStepChange?: ((value: StepChangeEvent) => any) | undefined;
25
+ onChange?: ((value: StepperHorizontalChangeEvent) => any) | undefined;
26
+ onStepChange?: ((value: StepperHorizontalChangeEvent) => any) | undefined;
24
27
  }, {
25
28
  size: BreakpointCustomizable<StepperHorizontalSize>;
26
29
  theme: Theme;
@@ -1,24 +1,24 @@
1
- import { defineComponent as s, ref as l, onMounted as f, onUpdated as m, openBlock as d, createBlock as i, resolveDynamicComponent as u, unref as c, withCtx as C, renderSlot as h } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as g } from "../../utils.js";
3
- const y = /* @__PURE__ */ s({
1
+ import { defineComponent as l, ref as f, onMounted as m, onUpdated as d, openBlock as c, createBlock as u, resolveDynamicComponent as i, unref as h, withCtx as g, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as r } from "../../utils.js";
3
+ const y = /* @__PURE__ */ l({
4
4
  __name: "StepperHorizontalWrapper",
5
5
  props: {
6
6
  size: { default: "small" },
7
7
  theme: { default: "light" }
8
8
  },
9
- emits: ["stepChange"],
10
- setup(n, { emit: r }) {
11
- const t = n, p = _("p-stepper-horizontal"), e = l();
12
- return f(() => {
13
- o(e.value, t), g(e.value, "stepChange", r);
14
- }), m(() => {
15
- o(e.value, t);
16
- }), (a, v) => (d(), i(u(c(p)), {
9
+ emits: ["change", "stepChange"],
10
+ setup(a, { emit: t }) {
11
+ const n = a, p = _("p-stepper-horizontal"), e = f();
12
+ return m(() => {
13
+ o(e.value, n), r(e.value, "change", t), r(e.value, "stepChange", t);
14
+ }), d(() => {
15
+ o(e.value, n);
16
+ }), (s, v) => (c(), u(i(h(p)), {
17
17
  ref_key: "pdsComponentRef",
18
18
  ref: e
19
19
  }, {
20
- default: C(() => [
21
- h(a.$slots, "default")
20
+ default: g(() => [
21
+ C(s.$slots, "default")
22
22
  ]),
23
23
  _: 3
24
24
  }, 512));