@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,4 +1,4 @@
1
- import type { BreakpointCustomizable, AlignLabel, SwitchChangeEvent, Theme } from '../types';
1
+ import type { BreakpointCustomizable, SwitchAlignLabel, SwitchChangeEvent, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Aligns the label.
@@ -37,6 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  stretch: boolean;
38
38
  theme: string;
39
39
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ change: (value: SwitchChangeEvent) => void;
41
+ } & {
40
42
  switchChange: (value: SwitchChangeEvent) => void;
41
43
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
42
44
  /**
@@ -76,12 +78,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
76
78
  stretch: boolean;
77
79
  theme: string;
78
80
  }>>> & {
81
+ onChange?: ((value: SwitchChangeEvent) => any) | undefined;
79
82
  onSwitchChange?: ((value: SwitchChangeEvent) => any) | undefined;
80
83
  }, {
81
84
  stretch: BreakpointCustomizable<boolean>;
82
- disabled: boolean;
83
85
  theme: Theme;
84
- alignLabel: BreakpointCustomizable<AlignLabel>;
86
+ alignLabel: BreakpointCustomizable<SwitchAlignLabel>;
87
+ disabled: boolean;
85
88
  hideLabel: BreakpointCustomizable<boolean>;
86
89
  loading: boolean;
87
90
  checked: boolean;
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, ref as r, onMounted as d, onUpdated as p, openBlock as i, createBlock as c, resolveDynamicComponent as u, unref as m, withCtx as h, renderSlot as g } from "vue";
2
- import { getPrefixedTagName as C, syncProperties as a, addEventListenerToElementRef as _ } from "../../utils.js";
3
- const B = /* @__PURE__ */ f({
1
+ import { defineComponent as r, ref as d, onMounted as p, onUpdated as c, openBlock as i, createBlock as u, resolveDynamicComponent as h, unref as m, withCtx as g, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
+ const B = /* @__PURE__ */ r({
4
4
  __name: "SwitchWrapper",
5
5
  props: {
6
6
  alignLabel: { default: "right" },
@@ -11,19 +11,19 @@ const B = /* @__PURE__ */ f({
11
11
  stretch: { default: !1 },
12
12
  theme: { default: "light" }
13
13
  },
14
- emits: ["switchChange"],
15
- setup(o, { emit: n }) {
16
- const t = o, l = C("p-switch"), e = r();
17
- return d(() => {
18
- a(e.value, t), _(e.value, "switchChange", n);
19
- }), p(() => {
20
- a(e.value, t);
21
- }), (s, w) => (i(), c(u(m(l)), {
14
+ emits: ["change", "switchChange"],
15
+ setup(l, { emit: t }) {
16
+ const a = l, s = _("p-switch"), e = d();
17
+ return p(() => {
18
+ n(e.value, a), o(e.value, "change", t), o(e.value, "switchChange", t);
19
+ }), c(() => {
20
+ n(e.value, a);
21
+ }), (f, v) => (i(), u(h(m(s)), {
22
22
  ref_key: "pdsComponentRef",
23
23
  ref: e
24
24
  }, {
25
- default: h(() => [
26
- g(s.$slots, "default")
25
+ default: g(() => [
26
+ C(f.$slots, "default")
27
27
  ]),
28
28
  _: 3
29
29
  }, 512));
@@ -1,18 +1,36 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import type { Theme } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  /**
3
4
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
4
5
  */
5
6
  caption?: string | undefined;
7
+ /**
8
+ * Adapts the color when used on dark background.
9
+ */
10
+ theme?: "light" | "dark" | undefined;
11
+ }>, {
12
+ theme: string;
6
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ change: (value: import("../types").TableHeadCellSort) => void;
15
+ } & {
7
16
  sortingChange: (value: import("../types").TableHeadCellSort) => void;
8
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
17
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
18
  /**
10
19
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
11
20
  */
12
21
  caption?: string | undefined;
22
+ /**
23
+ * Adapts the color when used on dark background.
24
+ */
25
+ theme?: "light" | "dark" | undefined;
26
+ }>, {
27
+ theme: string;
13
28
  }>>> & {
29
+ onChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
14
30
  onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
15
- }, {}>, {
31
+ }, {
32
+ theme: Theme;
33
+ }>, {
16
34
  default: (_: {}) => any;
17
35
  }>;
18
36
  export default _default;
@@ -25,6 +43,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
25
43
  required: true;
26
44
  };
27
45
  };
46
+ type __VLS_WithDefaults<P, D> = {
47
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
48
+ default: D[K];
49
+ } : P[K];
50
+ };
28
51
  type __VLS_WithTemplateSlots<T, S> = T & {
29
52
  new (): {
30
53
  $slots: S;
@@ -1,23 +1,24 @@
1
- import { defineComponent as s, ref as l, onMounted as f, onUpdated as m, openBlock as c, createBlock as d, resolveDynamicComponent as i, unref as u, withCtx as C, renderSlot as g } from "vue";
2
- import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as v } from "../../utils.js";
3
- const k = /* @__PURE__ */ s({
1
+ import { defineComponent as l, ref as f, onMounted as c, onUpdated as m, openBlock as d, createBlock as u, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
3
+ const k = /* @__PURE__ */ l({
4
4
  __name: "TableWrapper",
5
5
  props: {
6
- caption: null
6
+ caption: null,
7
+ theme: { default: "light" }
7
8
  },
8
- emits: ["sortingChange"],
9
- setup(t, { emit: r }) {
10
- const n = t, a = _("p-table"), e = l();
11
- return f(() => {
12
- o(e.value, n), v(e.value, "sortingChange", r);
9
+ emits: ["change", "sortingChange"],
10
+ setup(r, { emit: n }) {
11
+ const t = r, p = _("p-table"), e = f();
12
+ return c(() => {
13
+ o(e.value, t), a(e.value, "change", n), a(e.value, "sortingChange", n);
13
14
  }), m(() => {
14
- o(e.value, n);
15
- }), (p, h) => (c(), d(i(u(a)), {
15
+ o(e.value, t);
16
+ }), (s, v) => (d(), u(i(g(p)), {
16
17
  ref_key: "pdsComponentRef",
17
18
  ref: e
18
19
  }, {
19
- default: C(() => [
20
- g(p.$slots, "default")
20
+ default: h(() => [
21
+ C(s.$slots, "default")
21
22
  ]),
22
23
  _: 3
23
24
  }, 512));
@@ -1,4 +1,4 @@
1
- import type { TabGradientColorTheme, TabChangeEvent, BreakpointCustomizable, TabSize, Theme, TabWeight } from '../types';
1
+ import type { TabsBarGradientColor, TabsBarChangeEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
@@ -7,6 +7,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  /**
8
8
  * Adapts the background gradient color of prev and next button.
9
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
+ */
10
14
  gradientColorScheme?: "default" | "surface" | undefined;
11
15
  /**
12
16
  * The text size.
@@ -19,14 +23,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
23
  /**
20
24
  * The text weight.
21
25
  */
22
- weight?: "regular" | "semibold" | undefined;
26
+ weight?: "regular" | "semi-bold" | "semibold" | undefined;
23
27
  }>, {
24
- gradientColorScheme: string;
28
+ gradientColor: string;
25
29
  size: string;
26
30
  theme: string;
27
31
  weight: string;
28
32
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
- tabChange: (value: TabChangeEvent) => void;
33
+ change: (value: TabsBarChangeEvent) => void;
34
+ } & {
35
+ tabChange: (value: TabsBarChangeEvent) => void;
30
36
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
37
  /**
32
38
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
@@ -35,6 +41,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
41
  /**
36
42
  * Adapts the background gradient color of prev and next button.
37
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
+ */
38
48
  gradientColorScheme?: "default" | "surface" | undefined;
39
49
  /**
40
50
  * The text size.
@@ -47,19 +57,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
47
57
  /**
48
58
  * The text weight.
49
59
  */
50
- weight?: "regular" | "semibold" | undefined;
60
+ weight?: "regular" | "semi-bold" | "semibold" | undefined;
51
61
  }>, {
52
- gradientColorScheme: string;
62
+ gradientColor: string;
53
63
  size: string;
54
64
  theme: string;
55
65
  weight: string;
56
66
  }>>> & {
57
- onTabChange?: ((value: TabChangeEvent) => any) | undefined;
67
+ onChange?: ((value: TabsBarChangeEvent) => any) | undefined;
68
+ onTabChange?: ((value: TabsBarChangeEvent) => any) | undefined;
58
69
  }, {
59
- weight: TabWeight;
60
- size: BreakpointCustomizable<TabSize>;
70
+ weight: TabsBarWeight;
71
+ size: BreakpointCustomizable<TabsBarSize>;
61
72
  theme: Theme;
62
- gradientColorScheme: TabGradientColorTheme;
73
+ gradientColor: TabsBarGradientColor;
63
74
  }>, {
64
75
  default: (_: {}) => any;
65
76
  }>;
@@ -1,32 +1,33 @@
1
- import { defineComponent as s, ref as p, onMounted as d, onUpdated as f, openBlock as m, createBlock as u, resolveDynamicComponent as i, unref as c, withCtx as g, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as h, syncProperties as a, addEventListenerToElementRef as b } from "../../utils.js";
3
- const x = /* @__PURE__ */ s({
1
+ import { defineComponent as d, ref as p, onMounted as u, onUpdated as f, openBlock as c, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as b, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
+ const k = /* @__PURE__ */ d({
4
4
  __name: "TabsBarWrapper",
5
5
  props: {
6
6
  activeTabIndex: null,
7
- gradientColorScheme: { default: "default" },
7
+ gradientColor: { default: "background-base" },
8
+ gradientColorScheme: null,
8
9
  size: { default: "small" },
9
10
  theme: { default: "light" },
10
11
  weight: { default: "regular" }
11
12
  },
12
- emits: ["tabChange"],
13
- setup(n, { emit: o }) {
14
- const t = n, r = h("p-tabs-bar"), e = p();
15
- return d(() => {
16
- a(e.value, t), b(e.value, "tabChange", o);
13
+ emits: ["change", "tabChange"],
14
+ setup(r, { emit: t }) {
15
+ const a = r, l = b("p-tabs-bar"), e = p();
16
+ return u(() => {
17
+ n(e.value, a), o(e.value, "change", t), o(e.value, "tabChange", t);
17
18
  }), f(() => {
18
- a(e.value, t);
19
- }), (l, _) => (m(), u(i(c(r)), {
19
+ n(e.value, a);
20
+ }), (s, v) => (c(), m(i(g(l)), {
20
21
  ref_key: "pdsComponentRef",
21
22
  ref: e
22
23
  }, {
23
- default: g(() => [
24
- C(l.$slots, "default")
24
+ default: h(() => [
25
+ C(s.$slots, "default")
25
26
  ]),
26
27
  _: 3
27
28
  }, 512));
28
29
  }
29
30
  });
30
31
  export {
31
- x as default
32
+ k as default
32
33
  };
@@ -1,4 +1,4 @@
1
- import type { TabGradientColorTheme, TabChangeEvent, BreakpointCustomizable, TabSize, Theme, TabWeight } from '../types';
1
+ import type { TabsGradientColor, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines which tab to be visualized as selected (zero-based numbering).
@@ -7,6 +7,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  /**
8
8
  * Adapts the background gradient color of prev and next button.
9
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
+ */
10
14
  gradientColorScheme?: "default" | "surface" | undefined;
11
15
  /**
12
16
  * The text size.
@@ -19,15 +23,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
23
  /**
20
24
  * The text weight.
21
25
  */
22
- weight?: "regular" | "semibold" | undefined;
26
+ weight?: "regular" | "semi-bold" | "semibold" | undefined;
23
27
  }>, {
24
28
  activeTabIndex: number;
25
- gradientColorScheme: string;
29
+ gradientColor: string;
26
30
  size: string;
27
31
  theme: string;
28
32
  weight: string;
29
33
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
- tabChange: (value: TabChangeEvent) => void;
34
+ change: (value: import("../types").TabsBarChangeEvent) => void;
35
+ } & {
36
+ tabChange: (value: import("../types").TabsBarChangeEvent) => void;
31
37
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
32
38
  /**
33
39
  * Defines which tab to be visualized as selected (zero-based numbering).
@@ -36,6 +42,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
42
  /**
37
43
  * Adapts the background gradient color of prev and next button.
38
44
  */
45
+ gradientColor?: "background-base" | "background-surface" | undefined;
46
+ /**
47
+ * @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.
48
+ */
39
49
  gradientColorScheme?: "default" | "surface" | undefined;
40
50
  /**
41
51
  * The text size.
@@ -48,20 +58,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
58
  /**
49
59
  * The text weight.
50
60
  */
51
- weight?: "regular" | "semibold" | undefined;
61
+ weight?: "regular" | "semi-bold" | "semibold" | undefined;
52
62
  }>, {
53
63
  activeTabIndex: number;
54
- gradientColorScheme: string;
64
+ gradientColor: string;
55
65
  size: string;
56
66
  theme: string;
57
67
  weight: string;
58
68
  }>>> & {
59
- onTabChange?: ((value: TabChangeEvent) => any) | undefined;
69
+ onChange?: ((value: import("../types").TabsBarChangeEvent) => any) | undefined;
70
+ onTabChange?: ((value: import("../types").TabsBarChangeEvent) => any) | undefined;
60
71
  }, {
61
- weight: TabWeight;
62
- size: BreakpointCustomizable<TabSize>;
72
+ weight: TabsWeight;
73
+ size: BreakpointCustomizable<TabsSize>;
63
74
  theme: Theme;
64
- gradientColorScheme: TabGradientColorTheme;
75
+ gradientColor: TabsGradientColor;
65
76
  activeTabIndex: number;
66
77
  }>, {
67
78
  default: (_: {}) => any;
@@ -1,32 +1,33 @@
1
- import { defineComponent as s, ref as d, onMounted as f, onUpdated as p, openBlock as m, createBlock as u, resolveDynamicComponent as i, unref as c, withCtx as g, renderSlot as C } from "vue";
2
- import { getPrefixedTagName as h, syncProperties as a, addEventListenerToElementRef as _ } from "../../utils.js";
3
- const x = /* @__PURE__ */ s({
1
+ import { defineComponent as d, ref as p, onMounted as f, onUpdated as u, openBlock as c, createBlock as m, resolveDynamicComponent as i, unref as g, withCtx as h, renderSlot as C } from "vue";
2
+ import { getPrefixedTagName as b, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.js";
3
+ const k = /* @__PURE__ */ d({
4
4
  __name: "TabsWrapper",
5
5
  props: {
6
6
  activeTabIndex: { default: 0 },
7
- gradientColorScheme: { default: "default" },
7
+ gradientColor: { default: "background-base" },
8
+ gradientColorScheme: null,
8
9
  size: { default: "small" },
9
10
  theme: { default: "light" },
10
11
  weight: { default: "regular" }
11
12
  },
12
- emits: ["tabChange"],
13
- setup(n, { emit: o }) {
14
- const t = n, r = h("p-tabs"), e = d();
13
+ emits: ["change", "tabChange"],
14
+ setup(r, { emit: t }) {
15
+ const a = r, l = b("p-tabs"), e = p();
15
16
  return f(() => {
16
- a(e.value, t), _(e.value, "tabChange", o);
17
- }), p(() => {
18
- a(e.value, t);
19
- }), (l, b) => (m(), u(i(c(r)), {
17
+ n(e.value, a), o(e.value, "change", t), o(e.value, "tabChange", t);
18
+ }), u(() => {
19
+ n(e.value, a);
20
+ }), (s, v) => (c(), m(i(g(l)), {
20
21
  ref_key: "pdsComponentRef",
21
22
  ref: e
22
23
  }, {
23
- default: g(() => [
24
- C(l.$slots, "default")
24
+ default: h(() => [
25
+ C(s.$slots, "default")
25
26
  ]),
26
27
  _: 3
27
28
  }, 512));
28
29
  }
29
30
  });
30
31
  export {
31
- x as default
32
+ k as default
32
33
  };
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  /**
8
8
  * Background color variations
9
9
  */
10
- color?: "background-surface" | "background-default" | "background-base" | undefined;
10
+ color?: "background-base" | "background-surface" | "background-default" | undefined;
11
11
  /**
12
12
  * The label text.
13
13
  */
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  /**
28
28
  * Background color variations
29
29
  */
30
- color?: "background-surface" | "background-default" | "background-base" | undefined;
30
+ color?: "background-base" | "background-surface" | "background-default" | undefined;
31
31
  /**
32
32
  * The label text.
33
33
  */
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
3
3
  /**
4
4
  * Background color variations depending on theme property.
5
5
  */
6
- color?: "primary" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "neutral-contrast-high" | "notification-neutral" | "background-surface" | "background-default" | "background-base" | undefined;
6
+ color?: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft" | undefined;
7
7
  /**
8
8
  * The icon shown.
9
9
  */
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  /**
24
24
  * Background color variations depending on theme property.
25
25
  */
26
- color?: "primary" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "neutral-contrast-high" | "notification-neutral" | "background-surface" | "background-default" | "background-base" | undefined;
26
+ color?: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft" | undefined;
27
27
  /**
28
28
  * The icon shown.
29
29
  */
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, FormState, Theme, TextFieldWrapperUnitPosition } from '../types';
1
+ import type { BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
@@ -25,9 +25,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  */
26
26
  message?: string | undefined;
27
27
  /**
28
- * Show or hide max character count.
28
+ * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
29
29
  */
30
30
  showCharacterCount?: boolean | undefined;
31
+ /**
32
+ * Show or hide max character count.
33
+ */
34
+ showCounter?: boolean | undefined;
31
35
  /**
32
36
  * The validation state.
33
37
  */
@@ -50,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
54
  hideLabel: boolean;
51
55
  label: string;
52
56
  message: string;
53
- showCharacterCount: boolean;
57
+ showCounter: boolean;
54
58
  state: string;
55
59
  theme: string;
56
60
  unit: string;
@@ -83,9 +87,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
83
87
  */
84
88
  message?: string | undefined;
85
89
  /**
86
- * Show or hide max character count.
90
+ * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
87
91
  */
88
92
  showCharacterCount?: boolean | undefined;
93
+ /**
94
+ * Show or hide max character count.
95
+ */
96
+ showCounter?: boolean | undefined;
89
97
  /**
90
98
  * The validation state.
91
99
  */
@@ -108,7 +116,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
108
116
  hideLabel: boolean;
109
117
  label: string;
110
118
  message: string;
111
- showCharacterCount: boolean;
119
+ showCounter: boolean;
112
120
  state: string;
113
121
  theme: string;
114
122
  unit: string;
@@ -118,12 +126,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
118
126
  }, {
119
127
  label: string;
120
128
  theme: Theme;
121
- state: FormState;
122
- hideLabel: BreakpointCustomizable<boolean>;
123
129
  description: string;
130
+ state: TextFieldWrapperState;
131
+ hideLabel: BreakpointCustomizable<boolean>;
124
132
  message: string;
125
133
  actionLoading: boolean;
126
- showCharacterCount: boolean;
134
+ showCounter: boolean;
127
135
  unit: string;
128
136
  unitPosition: TextFieldWrapperUnitPosition;
129
137
  }>, {
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, ref as p, onMounted as d, onUpdated as i, openBlock as s, createBlock as u, resolveDynamicComponent as c, unref as m, withCtx as C, renderSlot as h } from "vue";
1
+ import { defineComponent as p, ref as f, onMounted as d, onUpdated as s, openBlock as u, createBlock as i, resolveDynamicComponent as c, unref as m, withCtx as C, renderSlot as h } from "vue";
2
2
  import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as g } from "../../utils.js";
3
- const w = /* @__PURE__ */ f({
3
+ const w = /* @__PURE__ */ p({
4
4
  __name: "TextFieldWrapperWrapper",
5
5
  props: {
6
6
  actionIcon: null,
@@ -9,7 +9,8 @@ const w = /* @__PURE__ */ f({
9
9
  hideLabel: { default: !1 },
10
10
  label: { default: "" },
11
11
  message: { default: "" },
12
- showCharacterCount: { type: Boolean, default: !0 },
12
+ showCharacterCount: { type: Boolean },
13
+ showCounter: { type: Boolean, default: !0 },
13
14
  state: { default: "none" },
14
15
  theme: { default: "light" },
15
16
  unit: { default: "" },
@@ -17,12 +18,12 @@ const w = /* @__PURE__ */ f({
17
18
  },
18
19
  emits: ["action"],
19
20
  setup(n, { emit: a }) {
20
- const t = n, l = _("p-text-field-wrapper"), e = p();
21
+ const t = n, l = _("p-text-field-wrapper"), e = f();
21
22
  return d(() => {
22
23
  o(e.value, t), g(e.value, "action", a);
23
- }), i(() => {
24
+ }), s(() => {
24
25
  o(e.value, t);
25
- }), (r, x) => (s(), u(c(m(l)), {
26
+ }), (r, x) => (u(), i(c(m(l)), {
26
27
  ref_key: "pdsComponentRef",
27
28
  ref: e
28
29
  }, {
@@ -1,42 +1,47 @@
1
- import type { ListType, OrderType, Theme } from '../types';
1
+ import type { Theme, TextListType } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
- * The type of the list.
4
+ * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
5
5
  */
6
6
  listType?: "unordered" | "ordered" | undefined;
7
7
  /**
8
- * The list style type of ordered list. Only has effect when list type is set to 'ordered'.
8
+ * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
9
9
  */
10
10
  orderType?: "numbered" | "alphabetically" | undefined;
11
11
  /**
12
12
  * Adapts the text color depending on the theme.
13
13
  */
14
14
  theme?: "light" | "dark" | undefined;
15
+ /**
16
+ * The list style type.
17
+ */
18
+ type?: "unordered" | "numbered" | "alphabetically" | undefined;
15
19
  }>, {
16
- listType: string;
17
- orderType: string;
18
20
  theme: string;
21
+ type: string;
19
22
  }>, {}, 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<{
20
23
  /**
21
- * The type of the list.
24
+ * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
22
25
  */
23
26
  listType?: "unordered" | "ordered" | undefined;
24
27
  /**
25
- * The list style type of ordered list. Only has effect when list type is set to 'ordered'.
28
+ * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
26
29
  */
27
30
  orderType?: "numbered" | "alphabetically" | undefined;
28
31
  /**
29
32
  * Adapts the text color depending on the theme.
30
33
  */
31
34
  theme?: "light" | "dark" | undefined;
35
+ /**
36
+ * The list style type.
37
+ */
38
+ type?: "unordered" | "numbered" | "alphabetically" | undefined;
32
39
  }>, {
33
- listType: string;
34
- orderType: string;
35
40
  theme: string;
41
+ type: string;
36
42
  }>>>, {
37
43
  theme: Theme;
38
- listType: ListType;
39
- orderType: OrderType;
44
+ type: TextListType;
40
45
  }>, {
41
46
  default: (_: {}) => any;
42
47
  }>;
@@ -1,19 +1,20 @@
1
- import { defineComponent as a, ref as s, onMounted as d, onUpdated as f, openBlock as l, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as i, renderSlot as _ } from "vue";
2
- import { getPrefixedTagName as C, syncProperties as o } from "../../utils.js";
3
- const g = /* @__PURE__ */ a({
1
+ import { defineComponent as l, ref as s, onMounted as a, onUpdated as d, openBlock as f, createBlock as u, resolveDynamicComponent as m, unref as c, withCtx as i, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as y, syncProperties as o } from "../../utils.js";
3
+ const g = /* @__PURE__ */ l({
4
4
  __name: "TextListWrapper",
5
5
  props: {
6
- listType: { default: "unordered" },
7
- orderType: { default: "numbered" },
8
- theme: { default: "light" }
6
+ listType: null,
7
+ orderType: null,
8
+ theme: { default: "light" },
9
+ type: { default: "unordered" }
9
10
  },
10
11
  setup(n) {
11
- const t = n, r = C("p-text-list"), e = s();
12
- return d(() => {
12
+ const t = n, r = y("p-text-list"), e = s();
13
+ return a(() => {
13
14
  o(e.value, t);
14
- }), f(() => {
15
+ }), d(() => {
15
16
  o(e.value, t);
16
- }), (p, x) => (l(), m(u(c(r)), {
17
+ }), (p, C) => (f(), u(m(c(r)), {
17
18
  ref_key: "pdsComponentRef",
18
19
  ref: e
19
20
  }, {