@porsche-design-system/components-vue 3.0.0-alpha.1 → 3.0.0-alpha.3

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 (68) hide show
  1. package/CHANGELOG.md +351 -3
  2. package/OSS_NOTICE +65234 -2280
  3. package/README.md +25 -2
  4. package/lib/components/AccordionWrapper.vue.d.ts +3 -0
  5. package/lib/components/AccordionWrapper.vue.js +13 -13
  6. package/lib/components/BannerWrapper.vue.d.ts +30 -2
  7. package/lib/components/BannerWrapper.vue.js +11 -9
  8. package/lib/components/ButtonPureWrapper.vue.d.ts +13 -13
  9. package/lib/components/ButtonWrapper.vue.d.ts +5 -5
  10. package/lib/components/CarouselWrapper.vue.d.ts +43 -8
  11. package/lib/components/CarouselWrapper.vue.js +18 -15
  12. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -2
  13. package/lib/components/ContentWrapperWrapper.vue.d.ts +2 -2
  14. package/lib/components/ContentWrapperWrapper.vue.js +5 -5
  15. package/lib/components/DisplayWrapper.vue.d.ts +2 -2
  16. package/lib/components/DividerWrapper.vue.d.ts +16 -8
  17. package/lib/components/DividerWrapper.vue.js +13 -12
  18. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +2 -2
  19. package/lib/components/GridItemWrapper.vue.d.ts +4 -4
  20. package/lib/components/HeadingWrapper.vue.d.ts +2 -2
  21. package/lib/components/IconWrapper.vue.d.ts +4 -4
  22. package/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
  23. package/lib/components/LinkPureWrapper.vue.d.ts +12 -12
  24. package/lib/components/LinkSocialWrapper.vue.d.ts +5 -5
  25. package/lib/components/LinkTileWrapper.vue.d.ts +4 -4
  26. package/lib/components/LinkTileWrapper.vue.js +1 -1
  27. package/lib/components/LinkWrapper.vue.d.ts +4 -4
  28. package/lib/components/MarqueWrapper.vue.d.ts +2 -2
  29. package/lib/components/ModalWrapper.vue.d.ts +16 -5
  30. package/lib/components/ModalWrapper.vue.js +13 -12
  31. package/lib/components/ModelSignatureWrapper.vue.d.ts +66 -0
  32. package/lib/components/ModelSignatureWrapper.vue.js +25 -0
  33. package/lib/components/ModelSignatureWrapper.vue2.js +4 -0
  34. package/lib/components/PaginationWrapper.vue.d.ts +38 -26
  35. package/lib/components/PaginationWrapper.vue.js +17 -16
  36. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +2 -2
  37. package/lib/components/ScrollerWrapper.vue.d.ts +27 -11
  38. package/lib/components/ScrollerWrapper.vue.js +15 -13
  39. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -2
  40. package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -2
  41. package/lib/components/SegmentedControlWrapper.vue.js +12 -12
  42. package/lib/components/SelectWrapperWrapper.vue.d.ts +4 -4
  43. package/lib/components/StepperHorizontalWrapper.vue.d.ts +6 -3
  44. package/lib/components/StepperHorizontalWrapper.vue.js +13 -13
  45. package/lib/components/SwitchWrapper.vue.d.ts +6 -3
  46. package/lib/components/SwitchWrapper.vue.js +13 -13
  47. package/lib/components/TableWrapper.vue.d.ts +3 -0
  48. package/lib/components/TableWrapper.vue.js +10 -10
  49. package/lib/components/TabsBarWrapper.vue.d.ts +21 -10
  50. package/lib/components/TabsBarWrapper.vue.js +15 -14
  51. package/lib/components/TabsWrapper.vue.d.ts +21 -10
  52. package/lib/components/TabsWrapper.vue.js +15 -14
  53. package/lib/components/TagDismissibleWrapper.vue.d.ts +2 -2
  54. package/lib/components/TagWrapper.vue.d.ts +2 -2
  55. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +16 -8
  56. package/lib/components/TextFieldWrapperWrapper.vue.js +7 -6
  57. package/lib/components/TextListWrapper.vue.d.ts +18 -13
  58. package/lib/components/TextListWrapper.vue.js +11 -10
  59. package/lib/components/TextWrapper.vue.d.ts +6 -6
  60. package/lib/components/TextareaWrapperWrapper.vue.d.ts +16 -8
  61. package/lib/components/TextareaWrapperWrapper.vue.js +12 -11
  62. package/lib/components/index.d.ts +1 -0
  63. package/lib/types.d.ts +164 -60
  64. package/package.json +2 -2
  65. package/plugin.d.ts +14 -0
  66. package/plugin.js +28 -0
  67. package/public-api.d.ts +1 -0
  68. package/public-api.js +83 -78
@@ -1,23 +1,23 @@
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 c, onMounted as f, onUpdated as m, openBlock as d, createBlock as u, resolveDynamicComponent as i, unref as g, withCtx as C, renderSlot as _ } from "vue";
2
+ import { getPrefixedTagName as h, syncProperties as t, addEventListenerToElementRef as r } from "../../utils.js";
3
+ const k = /* @__PURE__ */ l({
4
4
  __name: "TableWrapper",
5
5
  props: {
6
6
  caption: null
7
7
  },
8
- emits: ["sortingChange"],
9
- setup(t, { emit: r }) {
10
- const n = t, a = _("p-table"), e = l();
8
+ emits: ["change", "sortingChange"],
9
+ setup(a, { emit: n }) {
10
+ const o = a, p = h("p-table"), e = c();
11
11
  return f(() => {
12
- o(e.value, n), v(e.value, "sortingChange", r);
12
+ t(e.value, o), r(e.value, "change", n), r(e.value, "sortingChange", n);
13
13
  }), m(() => {
14
- o(e.value, n);
15
- }), (p, h) => (c(), d(i(u(a)), {
14
+ t(e.value, o);
15
+ }), (s, v) => (d(), u(i(g(p)), {
16
16
  ref_key: "pdsComponentRef",
17
17
  ref: e
18
18
  }, {
19
19
  default: C(() => [
20
- g(p.$slots, "default")
20
+ _(s.$slots, "default")
21
21
  ]),
22
22
  _: 3
23
23
  }, 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" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "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" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "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 text 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 an ordered list.
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
- * Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
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 text 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 an ordered list.
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
- * Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
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
  }, {
@@ -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?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
10
+ color?: "default" | "primary" | "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" | 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 text. 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" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
18
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
19
19
  /**
20
20
  * Sets a custom HTML tag depending on the usage of the text component.
21
21
  */
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  /**
28
28
  * The weight of the text.
29
29
  */
30
- weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
30
+ weight?: "regular" | "semi-bold" | "bold" | "thin" | "semibold" | undefined;
31
31
  }>, {
32
32
  align: string;
33
33
  color: string;
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
44
44
  /**
45
45
  * Basic text color variations depending on theme property.
46
46
  */
47
- color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
47
+ 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" | undefined;
48
48
  /**
49
49
  * Adds an ellipsis to a single line of text if it overflows.
50
50
  */
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
52
52
  /**
53
53
  * Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
54
54
  */
55
- size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
55
+ size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
56
56
  /**
57
57
  * Sets a custom HTML tag depending on the usage of the text component.
58
58
  */
@@ -64,7 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  /**
65
65
  * The weight of the text.
66
66
  */
67
- weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
67
+ weight?: "regular" | "semi-bold" | "bold" | "thin" | "semibold" | undefined;
68
68
  }>, {
69
69
  align: string;
70
70
  color: string;
@@ -1,4 +1,4 @@
1
- import type { BreakpointCustomizable, FormState, Theme } from '../types';
1
+ import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * The description text.
@@ -17,9 +17,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
17
17
  */
18
18
  message?: string | undefined;
19
19
  /**
20
- * Show or hide max character count.
20
+ * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
21
21
  */
22
22
  showCharacterCount?: boolean | undefined;
23
+ /**
24
+ * Show or hide max character count.
25
+ */
26
+ showCounter?: boolean | undefined;
23
27
  /**
24
28
  * The validation state.
25
29
  */
@@ -33,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
37
  hideLabel: boolean;
34
38
  label: string;
35
39
  message: string;
36
- showCharacterCount: boolean;
40
+ showCounter: boolean;
37
41
  state: string;
38
42
  theme: string;
39
43
  }>, {}, 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<{
@@ -54,9 +58,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
54
58
  */
55
59
  message?: string | undefined;
56
60
  /**
57
- * Show or hide max character count.
61
+ * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
58
62
  */
59
63
  showCharacterCount?: boolean | undefined;
64
+ /**
65
+ * Show or hide max character count.
66
+ */
67
+ showCounter?: boolean | undefined;
60
68
  /**
61
69
  * The validation state.
62
70
  */
@@ -70,17 +78,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
70
78
  hideLabel: boolean;
71
79
  label: string;
72
80
  message: string;
73
- showCharacterCount: boolean;
81
+ showCounter: boolean;
74
82
  state: string;
75
83
  theme: string;
76
84
  }>>>, {
77
85
  label: string;
78
86
  theme: Theme;
79
- state: FormState;
80
- hideLabel: BreakpointCustomizable<boolean>;
81
87
  description: string;
88
+ state: TextareaWrapperState;
89
+ hideLabel: BreakpointCustomizable<boolean>;
82
90
  message: string;
83
- showCharacterCount: boolean;
91
+ showCounter: boolean;
84
92
  }>, {
85
93
  default: (_: {}) => any;
86
94
  }>;