@porsche-design-system/components-vue 3.29.0-rc.3 → 3.29.0-rc.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 (52) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/cjs/lib/components/FieldsetWrapper.vue.cjs +1 -1
  3. package/cjs/lib/components/FlagWrapper.vue.cjs +1 -0
  4. package/cjs/lib/components/FlagWrapper.vue2.cjs +1 -0
  5. package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -0
  6. package/cjs/lib/components/InputDateWrapper.vue2.cjs +1 -0
  7. package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -0
  8. package/cjs/lib/components/InputTelWrapper.vue2.cjs +1 -0
  9. package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -0
  10. package/cjs/lib/components/InputTimeWrapper.vue2.cjs +1 -0
  11. package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -0
  12. package/cjs/lib/components/InputUrlWrapper.vue2.cjs +1 -0
  13. package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
  14. package/cjs/lib/components/ScrollerWrapper.vue.cjs +1 -1
  15. package/cjs/lib/components/TabsBarWrapper.vue.cjs +1 -1
  16. package/cjs/lib/components/TabsWrapper.vue.cjs +1 -1
  17. package/cjs/public-api.cjs +1 -1
  18. package/esm/lib/components/FieldsetWrapper.vue.d.ts +5 -1
  19. package/esm/lib/components/FieldsetWrapper.vue.mjs +5 -4
  20. package/esm/lib/components/FlagWrapper.vue.d.ts +20 -0
  21. package/esm/lib/components/FlagWrapper.vue.mjs +20 -0
  22. package/esm/lib/components/FlagWrapper.vue2.mjs +4 -0
  23. package/esm/lib/components/InputDateWrapper.vue.d.ts +108 -0
  24. package/esm/lib/components/InputDateWrapper.vue.mjs +45 -0
  25. package/esm/lib/components/InputDateWrapper.vue2.mjs +4 -0
  26. package/esm/lib/components/InputEmailWrapper.vue.d.ts +2 -2
  27. package/esm/lib/components/InputNumberWrapper.vue.d.ts +2 -2
  28. package/esm/lib/components/InputPasswordWrapper.vue.d.ts +2 -2
  29. package/esm/lib/components/InputSearchWrapper.vue.d.ts +1 -1
  30. package/esm/lib/components/InputTelWrapper.vue.d.ts +117 -0
  31. package/esm/lib/components/InputTelWrapper.vue.mjs +47 -0
  32. package/esm/lib/components/InputTelWrapper.vue2.mjs +4 -0
  33. package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -1
  34. package/esm/lib/components/InputTimeWrapper.vue.d.ts +108 -0
  35. package/esm/lib/components/InputTimeWrapper.vue.mjs +45 -0
  36. package/esm/lib/components/InputTimeWrapper.vue2.mjs +4 -0
  37. package/esm/lib/components/InputUrlWrapper.vue.d.ts +117 -0
  38. package/esm/lib/components/InputUrlWrapper.vue.mjs +47 -0
  39. package/esm/lib/components/InputUrlWrapper.vue2.mjs +4 -0
  40. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +5 -0
  41. package/esm/lib/components/MultiSelectWrapper.vue.mjs +7 -6
  42. package/esm/lib/components/ScrollerWrapper.vue.d.ts +2 -3
  43. package/esm/lib/components/ScrollerWrapper.vue.mjs +10 -10
  44. package/esm/lib/components/TabsBarWrapper.vue.d.ts +2 -3
  45. package/esm/lib/components/TabsBarWrapper.vue.mjs +10 -10
  46. package/esm/lib/components/TabsWrapper.vue.d.ts +1 -2
  47. package/esm/lib/components/TabsWrapper.vue.mjs +7 -7
  48. package/esm/lib/components/TextareaWrapper.vue.d.ts +1 -1
  49. package/esm/lib/components/index.d.ts +5 -0
  50. package/esm/lib/types.d.ts +149 -14
  51. package/esm/public-api.mjs +150 -140
  52. package/package.json +2 -2
@@ -0,0 +1,47 @@
1
+ import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as g, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as v } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as L, addEventListenerToElementRef as o, syncProperties as p } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ u({
4
+ __name: "InputTelWrapper",
5
+ props: {
6
+ autoComplete: {},
7
+ compact: { type: Boolean, default: !1 },
8
+ description: { default: "" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ form: {},
11
+ hideLabel: { default: !1 },
12
+ indicator: { type: Boolean, default: !1 },
13
+ label: { default: "" },
14
+ loading: { type: Boolean, default: !1 },
15
+ maxLength: {},
16
+ message: { default: "" },
17
+ minLength: {},
18
+ name: {},
19
+ pattern: {},
20
+ placeholder: { default: "" },
21
+ readOnly: { type: Boolean, default: !1 },
22
+ required: { type: Boolean, default: !1 },
23
+ state: { default: "none" },
24
+ theme: {},
25
+ value: { default: "" }
26
+ },
27
+ emits: ["blur", "change", "input"],
28
+ setup(r, { emit: s }) {
29
+ const d = x("p-input-tel"), t = r, e = m(), n = s, l = c(L), f = () => p(e, { ...t, theme: t.theme || l.value });
30
+ return i(() => {
31
+ f(), o(e, "blur", n), o(e, "change", n), o(e, "input", n);
32
+ }), h(f), y(l, (a) => {
33
+ p(e, { theme: t.theme || a });
34
+ }), (a, R) => (B(), g(C(_(d)), {
35
+ ref_key: "pdsComponentRef",
36
+ ref: e
37
+ }, {
38
+ default: b(() => [
39
+ v(a.$slots, "default")
40
+ ]),
41
+ _: 3
42
+ }, 512));
43
+ }
44
+ });
45
+ export {
46
+ P as default
47
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./InputTelWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -104,8 +104,8 @@ declare const __VLS_component: import("vue").DefineComponent<PInputTextProps, vo
104
104
  loading: boolean;
105
105
  value: string;
106
106
  message: string;
107
- placeholder: string;
108
107
  readOnly: boolean;
108
+ placeholder: string;
109
109
  counter: boolean;
110
110
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
111
111
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -0,0 +1,108 @@
1
+ import type { BreakpointCustomizable, InputTimeState, Theme } from '../types';
2
+ type PInputTimeProps = {
3
+ /**
4
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='on').
5
+ */
6
+ autoComplete?: string;
7
+ /**
8
+ * A boolean value that, if present, renders the input field as a compact version.
9
+ */
10
+ compact?: boolean;
11
+ /**
12
+ * Supplementary text providing more context or explanation for the input.
13
+ */
14
+ description?: string;
15
+ /**
16
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
21
+ */
22
+ form?: string;
23
+ /**
24
+ * Controls the visibility of the label.
25
+ */
26
+ hideLabel?: BreakpointCustomizable<boolean>;
27
+ /**
28
+ * Text content for a user-facing label.
29
+ */
30
+ label?: string;
31
+ /**
32
+ * @experimental Shows a loading indicator.
33
+ */
34
+ loading?: boolean;
35
+ /**
36
+ * Specifies the latest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., max='17:30').
37
+ */
38
+ max?: string;
39
+ /**
40
+ * Dynamic feedback text for validation or status.
41
+ */
42
+ message?: string;
43
+ /**
44
+ * Specifies the earliest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., min='09:00').
45
+ */
46
+ min?: string;
47
+ /**
48
+ * The name of the input field, used when submitting the form data.
49
+ */
50
+ name: string;
51
+ /**
52
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
53
+ */
54
+ readOnly?: boolean;
55
+ /**
56
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
57
+ */
58
+ required?: boolean;
59
+ /**
60
+ * Indicates the validation or overall status of the input component.
61
+ */
62
+ state?: InputTimeState;
63
+ /**
64
+ * efines the granularity of the time input. The step value is given in seconds. The default is 60 (one minute). You can also specify smaller increments (e.g., step='1' for seconds, step='0.001' for milliseconds).
65
+ */
66
+ step?: number;
67
+ /**
68
+ * Controls the visual appearance of the component.
69
+ */
70
+ theme?: Theme;
71
+ /**
72
+ * The default time value for the input, in hh:mm or hh:mm:ss format (e.g., value='14:00').
73
+ */
74
+ value?: string;
75
+ };
76
+ declare var __VLS_8: {};
77
+ type __VLS_Slots = {} & {
78
+ default?: (props: typeof __VLS_8) => any;
79
+ };
80
+ declare const __VLS_component: import("vue").DefineComponent<PInputTimeProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
81
+ blur: (value: Event) => any;
82
+ change: (value: Event) => any;
83
+ input: (value: InputEvent) => any;
84
+ }, string, import("vue").PublicProps, Readonly<PInputTimeProps> & Readonly<{
85
+ onBlur?: ((value: Event) => any) | undefined;
86
+ onChange?: ((value: Event) => any) | undefined;
87
+ onInput?: ((value: InputEvent) => any) | undefined;
88
+ }>, {
89
+ step: number;
90
+ label: string;
91
+ compact: boolean;
92
+ description: string;
93
+ state: InputTimeState;
94
+ required: boolean;
95
+ disabled: boolean;
96
+ hideLabel: BreakpointCustomizable<boolean>;
97
+ loading: boolean;
98
+ value: string;
99
+ message: string;
100
+ readOnly: boolean;
101
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
102
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
103
+ export default _default;
104
+ type __VLS_WithSlots<T, S> = T & {
105
+ new (): {
106
+ $slots: S;
107
+ };
108
+ };
@@ -0,0 +1,45 @@
1
+ import { defineComponent as d, ref as u, inject as i, onMounted as c, onUpdated as h, watch as y, openBlock as B, createBlock as C, resolveDynamicComponent as _, unref as b, withCtx as g, renderSlot as v } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as a, syncProperties as f } from "../../utils.mjs";
3
+ const T = /* @__PURE__ */ d({
4
+ __name: "InputTimeWrapper",
5
+ props: {
6
+ autoComplete: {},
7
+ compact: { type: Boolean, default: !1 },
8
+ description: { default: "" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ form: {},
11
+ hideLabel: { default: !1 },
12
+ label: { default: "" },
13
+ loading: { type: Boolean, default: !1 },
14
+ max: {},
15
+ message: { default: "" },
16
+ min: {},
17
+ name: {},
18
+ readOnly: { type: Boolean, default: !1 },
19
+ required: { type: Boolean, default: !1 },
20
+ state: { default: "none" },
21
+ step: { default: 60 },
22
+ theme: {},
23
+ value: { default: "" }
24
+ },
25
+ emits: ["blur", "change", "input"],
26
+ setup(p, { emit: r }) {
27
+ const m = x("p-input-time"), t = p, e = u(), n = r, l = i(R), s = () => f(e, { ...t, theme: t.theme || l.value });
28
+ return c(() => {
29
+ s(), a(e, "blur", n), a(e, "change", n), a(e, "input", n);
30
+ }), h(s), y(l, (o) => {
31
+ f(e, { theme: t.theme || o });
32
+ }), (o, k) => (B(), C(_(b(m)), {
33
+ ref_key: "pdsComponentRef",
34
+ ref: e
35
+ }, {
36
+ default: g(() => [
37
+ v(o.$slots, "default")
38
+ ]),
39
+ _: 3
40
+ }, 512));
41
+ }
42
+ });
43
+ export {
44
+ T as default
45
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./InputTimeWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,117 @@
1
+ import type { BreakpointCustomizable, InputUrlState, Theme } from '../types';
2
+ type PInputUrlProps = {
3
+ /**
4
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='url').
5
+ */
6
+ autoComplete?: string;
7
+ /**
8
+ * A boolean value that, if present, renders the input field as a compact version.
9
+ */
10
+ compact?: boolean;
11
+ /**
12
+ * Supplementary text providing more context or explanation for the input.
13
+ */
14
+ description?: string;
15
+ /**
16
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ */
18
+ disabled?: boolean;
19
+ /**
20
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
21
+ */
22
+ form?: string;
23
+ /**
24
+ * Controls the visibility of the label.
25
+ */
26
+ hideLabel?: BreakpointCustomizable<boolean>;
27
+ /**
28
+ * Controls the visibility of the url icon.
29
+ */
30
+ indicator?: boolean;
31
+ /**
32
+ * Text content for a user-facing label.
33
+ */
34
+ label?: string;
35
+ /**
36
+ * @experimental Shows a loading indicator.
37
+ */
38
+ loading?: boolean;
39
+ /**
40
+ * A non-negative integer specifying the maximum number of characters the user can enter into the input.
41
+ */
42
+ maxLength?: number;
43
+ /**
44
+ * Dynamic feedback text for validation or status.
45
+ */
46
+ message?: string;
47
+ /**
48
+ * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
49
+ */
50
+ minLength?: number;
51
+ /**
52
+ * The name of the input field, used when submitting the form data.
53
+ */
54
+ name: string;
55
+ /**
56
+ * Specifies a regular expression that the input's value must match for the value to pass constraint validation. This allows for more specific url validation rules than the browser's default. If provided, it overrides the browser's default tel validation.
57
+ */
58
+ pattern?: string;
59
+ /**
60
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='https://porsche.com/')
61
+ */
62
+ placeholder?: string;
63
+ /**
64
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
65
+ */
66
+ readOnly?: boolean;
67
+ /**
68
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
69
+ */
70
+ required?: boolean;
71
+ /**
72
+ * Indicates the validation or overall status of the input component.
73
+ */
74
+ state?: InputUrlState;
75
+ /**
76
+ * Controls the visual appearance of the component.
77
+ */
78
+ theme?: Theme;
79
+ /**
80
+ * The url input value.
81
+ */
82
+ value?: string;
83
+ };
84
+ declare var __VLS_8: {};
85
+ type __VLS_Slots = {} & {
86
+ default?: (props: typeof __VLS_8) => any;
87
+ };
88
+ declare const __VLS_component: import("vue").DefineComponent<PInputUrlProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
+ blur: (value: Event) => any;
90
+ change: (value: Event) => any;
91
+ input: (value: InputEvent) => any;
92
+ }, string, import("vue").PublicProps, Readonly<PInputUrlProps> & Readonly<{
93
+ onBlur?: ((value: Event) => any) | undefined;
94
+ onChange?: ((value: Event) => any) | undefined;
95
+ onInput?: ((value: InputEvent) => any) | undefined;
96
+ }>, {
97
+ label: string;
98
+ compact: boolean;
99
+ description: string;
100
+ state: InputUrlState;
101
+ required: boolean;
102
+ disabled: boolean;
103
+ hideLabel: BreakpointCustomizable<boolean>;
104
+ loading: boolean;
105
+ value: string;
106
+ message: string;
107
+ readOnly: boolean;
108
+ indicator: boolean;
109
+ placeholder: string;
110
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
111
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
112
+ export default _default;
113
+ type __VLS_WithSlots<T, S> = T & {
114
+ new (): {
115
+ $slots: S;
116
+ };
117
+ };
@@ -0,0 +1,47 @@
1
+ import { defineComponent as u, ref as m, inject as c, onMounted as i, onUpdated as h, watch as y, openBlock as B, createBlock as g, resolveDynamicComponent as C, unref as _, withCtx as b, renderSlot as v } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as L, addEventListenerToElementRef as o, syncProperties as f } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ u({
4
+ __name: "InputUrlWrapper",
5
+ props: {
6
+ autoComplete: {},
7
+ compact: { type: Boolean, default: !1 },
8
+ description: { default: "" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ form: {},
11
+ hideLabel: { default: !1 },
12
+ indicator: { type: Boolean, default: !1 },
13
+ label: { default: "" },
14
+ loading: { type: Boolean, default: !1 },
15
+ maxLength: {},
16
+ message: { default: "" },
17
+ minLength: {},
18
+ name: {},
19
+ pattern: {},
20
+ placeholder: { default: "" },
21
+ readOnly: { type: Boolean, default: !1 },
22
+ required: { type: Boolean, default: !1 },
23
+ state: { default: "none" },
24
+ theme: {},
25
+ value: { default: "" }
26
+ },
27
+ emits: ["blur", "change", "input"],
28
+ setup(p, { emit: s }) {
29
+ const d = x("p-input-url"), t = p, e = m(), n = s, l = c(L), r = () => f(e, { ...t, theme: t.theme || l.value });
30
+ return i(() => {
31
+ r(), o(e, "blur", n), o(e, "change", n), o(e, "input", n);
32
+ }), h(r), y(l, (a) => {
33
+ f(e, { theme: t.theme || a });
34
+ }), (a, R) => (B(), g(C(_(d)), {
35
+ ref_key: "pdsComponentRef",
36
+ ref: e
37
+ }, {
38
+ default: b(() => [
39
+ v(a.$slots, "default")
40
+ ]),
41
+ _: 3
42
+ }, 512));
43
+ }
44
+ });
45
+ export {
46
+ P as default
47
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./InputUrlWrapper.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,9 @@
1
1
  import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectState, Theme } from '../types';
2
2
  type PMultiSelectProps = {
3
+ /**
4
+ * Displays as compact version.
5
+ */
6
+ compact?: boolean;
3
7
  /**
4
8
  * The description text.
5
9
  */
@@ -59,6 +63,7 @@ declare const __VLS_component: import("vue").DefineComponent<PMultiSelectProps,
59
63
  onUpdate?: ((value: import("../types").MultiSelectUpdateEvent) => any) | undefined;
60
64
  }>, {
61
65
  label: string;
66
+ compact: boolean;
62
67
  description: string;
63
68
  state: MultiSelectState;
64
69
  required: boolean;
@@ -1,8 +1,9 @@
1
- import { defineComponent as p, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as C, unref as b, withCtx as v, renderSlot as w } from "vue";
2
- import { usePrefix as B, themeInjectionKey as R, addEventListenerToElementRef as k, syncProperties as l } from "../../utils.mjs";
1
+ import { defineComponent as p, ref as m, inject as u, onMounted as c, onUpdated as i, watch as h, openBlock as y, createBlock as _, resolveDynamicComponent as C, unref as B, withCtx as b, renderSlot as v } from "vue";
2
+ import { usePrefix as w, themeInjectionKey as R, addEventListenerToElementRef as k, syncProperties as l } from "../../utils.mjs";
3
3
  const j = /* @__PURE__ */ p({
4
4
  __name: "MultiSelectWrapper",
5
5
  props: {
6
+ compact: { type: Boolean, default: !1 },
6
7
  description: { default: "" },
7
8
  disabled: { type: Boolean, default: !1 },
8
9
  dropdownDirection: { default: "auto" },
@@ -18,17 +19,17 @@ const j = /* @__PURE__ */ p({
18
19
  },
19
20
  emits: ["update"],
20
21
  setup(s, { emit: r }) {
21
- const d = B("p-multi-select"), t = s, e = m(), f = r, n = u(R), a = () => l(e, { ...t, theme: t.theme || n.value });
22
+ const d = w("p-multi-select"), t = s, e = m(), f = r, n = u(R), a = () => l(e, { ...t, theme: t.theme || n.value });
22
23
  return c(() => {
23
24
  a(), k(e, "update", f);
24
25
  }), i(a), h(n, (o) => {
25
26
  l(e, { theme: t.theme || o });
26
- }), (o, x) => (y(), _(C(b(d)), {
27
+ }), (o, x) => (y(), _(C(B(d)), {
27
28
  ref_key: "pdsComponentRef",
28
29
  ref: e
29
30
  }, {
30
- default: v(() => [
31
- w(o.$slots, "default")
31
+ default: b(() => [
32
+ v(o.$slots, "default")
32
33
  ]),
33
34
  _: 3
34
35
  }, 512));
@@ -9,11 +9,11 @@ type PScrollerProps = {
9
9
  */
10
10
  aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
11
11
  /**
12
- * Adapts the background gradient color of prev and next button.
12
+ * @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
13
13
  */
14
14
  gradientColor?: ScrollerGradientColor;
15
15
  /**
16
- * @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.
16
+ * @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
17
17
  */
18
18
  gradientColorScheme?: ScrollerGradientColorScheme;
19
19
  /**
@@ -39,7 +39,6 @@ type __VLS_Slots = {} & {
39
39
  };
40
40
  declare const __VLS_component: import("vue").DefineComponent<PScrollerProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PScrollerProps> & Readonly<{}>, {
41
41
  scrollbar: boolean;
42
- gradientColor: ScrollerGradientColor;
43
42
  alignScrollIndicator: ScrollerAlignScrollIndicator;
44
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
44
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,32 +1,32 @@
1
- import { defineComponent as s, ref as p, inject as i, onMounted as m, onUpdated as f, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as C, unref as _, withCtx as y, renderSlot as g } from "vue";
2
- import { usePrefix as P, themeInjectionKey as b, syncProperties as a } from "../../utils.mjs";
3
- const x = /* @__PURE__ */ s({
1
+ import { defineComponent as a, ref as p, inject as i, onMounted as m, onUpdated as f, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as C, unref as _, withCtx as y, renderSlot as P } from "vue";
2
+ import { usePrefix as g, themeInjectionKey as S, syncProperties as c } from "../../utils.mjs";
3
+ const B = /* @__PURE__ */ a({
4
4
  __name: "ScrollerWrapper",
5
5
  props: {
6
6
  alignScrollIndicator: { default: "center" },
7
7
  aria: {},
8
- gradientColor: { default: "background-base" },
8
+ gradientColor: {},
9
9
  gradientColorScheme: {},
10
10
  scrollIndicatorPosition: {},
11
11
  scrollToPosition: {},
12
12
  scrollbar: { type: Boolean, default: !1 },
13
13
  theme: {}
14
14
  },
15
- setup(c) {
16
- const l = P("p-scroller"), e = c, o = p(), n = i(b), r = () => a(o, { ...e, theme: e.theme || n.value });
15
+ setup(l) {
16
+ const s = g("p-scroller"), e = l, o = p(), n = i(S), r = () => c(o, { ...e, theme: e.theme || n.value });
17
17
  return m(r), f(r), d(n, (t) => {
18
- a(o, { theme: e.theme || t });
19
- }), (t, k) => (u(), h(C(_(l)), {
18
+ c(o, { theme: e.theme || t });
19
+ }), (t, k) => (u(), h(C(_(s)), {
20
20
  ref_key: "pdsComponentRef",
21
21
  ref: o
22
22
  }, {
23
23
  default: y(() => [
24
- g(t.$slots, "default")
24
+ P(t.$slots, "default")
25
25
  ]),
26
26
  _: 3
27
27
  }, 512));
28
28
  }
29
29
  });
30
30
  export {
31
- x as default
31
+ B as default
32
32
  };
@@ -5,11 +5,11 @@ type PTabsBarProps = {
5
5
  */
6
6
  activeTabIndex?: number | undefined;
7
7
  /**
8
- * Adapts the background gradient color of prev and next button.
8
+ * @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
9
9
  */
10
10
  gradientColor?: TabsBarGradientColor;
11
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.
12
+ * @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
13
13
  */
14
14
  gradientColorScheme?: TabsBarGradientColorScheme;
15
15
  /**
@@ -38,7 +38,6 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsBarProps, void
38
38
  }>, {
39
39
  weight: TabsBarWeight;
40
40
  size: BreakpointCustomizable<TabsBarSize>;
41
- gradientColor: TabsBarGradientColor;
42
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
42
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
44
43
  export default _default;
@@ -1,10 +1,10 @@
1
- import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as b, createBlock as g, resolveDynamicComponent as _, unref as y, withCtx as k, renderSlot as v } from "vue";
2
- import { usePrefix as w, themeInjectionKey as x, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
3
- const P = /* @__PURE__ */ f({
1
+ import { defineComponent as i, ref as f, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as b, createBlock as g, resolveDynamicComponent as _, unref as y, withCtx as v, renderSlot as w } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
3
+ const P = /* @__PURE__ */ i({
4
4
  __name: "TabsBarWrapper",
5
5
  props: {
6
6
  activeTabIndex: {},
7
- gradientColor: { default: "background-base" },
7
+ gradientColor: {},
8
8
  gradientColorScheme: {},
9
9
  size: { default: "small" },
10
10
  theme: {},
@@ -12,17 +12,17 @@ const P = /* @__PURE__ */ f({
12
12
  },
13
13
  emits: ["tabChange", "update"],
14
14
  setup(p, { emit: c }) {
15
- const d = w("p-tabs-bar"), t = p, e = i(), o = c, a = l(x), r = () => m(e, { ...t, theme: t.theme || a.value });
15
+ const d = x("p-tabs-bar"), t = p, e = f(), o = c, r = l(R), a = () => m(e, { ...t, theme: t.theme || r.value });
16
16
  return u(() => {
17
- r(), s(e, "tabChange", o), s(e, "update", o);
18
- }), h(r), C(a, (n) => {
17
+ a(), s(e, "tabChange", o), s(e, "update", o);
18
+ }), h(a), C(r, (n) => {
19
19
  m(e, { theme: t.theme || n });
20
- }), (n, R) => (b(), g(_(y(d)), {
20
+ }), (n, T) => (b(), g(_(y(d)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
- default: k(() => [
25
- v(n.$slots, "default")
24
+ default: v(() => [
25
+ w(n.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
@@ -5,7 +5,7 @@ type PTabsProps = {
5
5
  */
6
6
  activeTabIndex?: number;
7
7
  /**
8
- * Adapts the background gradient color of prev and next button.
8
+ * @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
9
9
  */
10
10
  gradientColor?: TabsGradientColor;
11
11
  /**
@@ -38,7 +38,6 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsProps, void, {
38
38
  }>, {
39
39
  weight: TabsWeight;
40
40
  size: BreakpointCustomizable<TabsSize>;
41
- gradientColor: TabsGradientColor;
42
41
  activeTabIndex: number;
43
42
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
43
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -1,10 +1,10 @@
1
- import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as b, createBlock as g, resolveDynamicComponent as _, unref as y, withCtx as k, renderSlot as v } from "vue";
2
- import { usePrefix as w, themeInjectionKey as x, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
1
+ import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as g, createBlock as _, resolveDynamicComponent as b, unref as y, withCtx as v, renderSlot as w } from "vue";
2
+ import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
3
3
  const j = /* @__PURE__ */ f({
4
4
  __name: "TabsWrapper",
5
5
  props: {
6
6
  activeTabIndex: { default: 0 },
7
- gradientColor: { default: "background-base" },
7
+ gradientColor: {},
8
8
  gradientColorScheme: {},
9
9
  size: { default: "small" },
10
10
  theme: {},
@@ -12,17 +12,17 @@ const j = /* @__PURE__ */ f({
12
12
  },
13
13
  emits: ["tabChange", "update"],
14
14
  setup(p, { emit: c }) {
15
- const d = w("p-tabs"), t = p, e = i(), o = c, a = l(x), r = () => m(e, { ...t, theme: t.theme || a.value });
15
+ const d = x("p-tabs"), t = p, e = i(), o = c, a = l(R), r = () => m(e, { ...t, theme: t.theme || a.value });
16
16
  return u(() => {
17
17
  r(), s(e, "tabChange", o), s(e, "update", o);
18
18
  }), h(r), C(a, (n) => {
19
19
  m(e, { theme: t.theme || n });
20
- }), (n, R) => (b(), g(_(y(d)), {
20
+ }), (n, T) => (g(), _(b(y(d)), {
21
21
  ref_key: "pdsComponentRef",
22
22
  ref: e
23
23
  }, {
24
- default: k(() => [
25
- v(n.$slots, "default")
24
+ default: v(() => [
25
+ w(n.$slots, "default")
26
26
  ]),
27
27
  _: 3
28
28
  }, 512));
@@ -108,8 +108,8 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, voi
108
108
  hideLabel: BreakpointCustomizable<boolean>;
109
109
  value: string;
110
110
  message: string;
111
- placeholder: string;
112
111
  readOnly: boolean;
112
+ placeholder: string;
113
113
  counter: boolean;
114
114
  rows: number;
115
115
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;