@porsche-design-system/components-vue 4.0.0-beta.0 → 4.0.0-beta.1

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 (41) hide show
  1. package/CHANGELOG.md +158 -1
  2. package/cjs/lib/components/AccordionWrapper.vue.cjs +1 -1
  3. package/cjs/utils.cjs +1 -1
  4. package/esm/lib/components/AccordionWrapper.vue.d.ts +19 -9
  5. package/esm/lib/components/AccordionWrapper.vue.mjs +11 -9
  6. package/esm/lib/components/BannerWrapper.vue.d.ts +2 -2
  7. package/esm/lib/components/CanvasWrapper.vue.d.ts +5 -3
  8. package/esm/lib/components/CarouselWrapper.vue.d.ts +2 -2
  9. package/esm/lib/components/CheckboxWrapper.vue.d.ts +4 -4
  10. package/esm/lib/components/DrilldownWrapper.vue.d.ts +5 -3
  11. package/esm/lib/components/FlyoutWrapper.vue.d.ts +7 -3
  12. package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +4 -2
  13. package/esm/lib/components/InputDateWrapper.vue.d.ts +6 -6
  14. package/esm/lib/components/InputEmailWrapper.vue.d.ts +6 -6
  15. package/esm/lib/components/InputMonthWrapper.vue.d.ts +6 -6
  16. package/esm/lib/components/InputNumberWrapper.vue.d.ts +6 -6
  17. package/esm/lib/components/InputPasswordWrapper.vue.d.ts +6 -6
  18. package/esm/lib/components/InputSearchWrapper.vue.d.ts +6 -6
  19. package/esm/lib/components/InputTelWrapper.vue.d.ts +6 -6
  20. package/esm/lib/components/InputTextWrapper.vue.d.ts +6 -6
  21. package/esm/lib/components/InputTimeWrapper.vue.d.ts +6 -6
  22. package/esm/lib/components/InputUrlWrapper.vue.d.ts +6 -6
  23. package/esm/lib/components/InputWeekWrapper.vue.d.ts +6 -6
  24. package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +2 -2
  25. package/esm/lib/components/ModalWrapper.vue.d.ts +7 -3
  26. package/esm/lib/components/MultiSelectWrapper.vue.d.ts +9 -3
  27. package/esm/lib/components/PaginationWrapper.vue.d.ts +2 -2
  28. package/esm/lib/components/PinCodeWrapper.vue.d.ts +7 -3
  29. package/esm/lib/components/RadioGroupWrapper.vue.d.ts +6 -2
  30. package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +7 -3
  31. package/esm/lib/components/SelectWrapper.vue.d.ts +9 -3
  32. package/esm/lib/components/SheetWrapper.vue.d.ts +7 -3
  33. package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +2 -2
  34. package/esm/lib/components/SwitchWrapper.vue.d.ts +2 -2
  35. package/esm/lib/components/TableWrapper.vue.d.ts +2 -2
  36. package/esm/lib/components/TabsBarWrapper.vue.d.ts +2 -2
  37. package/esm/lib/components/TabsWrapper.vue.d.ts +2 -2
  38. package/esm/lib/components/TextareaWrapper.vue.d.ts +6 -6
  39. package/esm/lib/types.d.ts +116 -102
  40. package/esm/utils.mjs +4 -4
  41. package/package.json +13 -2
package/CHANGELOG.md CHANGED
@@ -14,6 +14,127 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [4.0.0-beta.1] - 2026-03-02
18
+
19
+ ### Added
20
+
21
+ - `SCSS`, `Emotion`, `Vanilla Extract`: bring back PDS v3 import paths for better DX and backward compatibility.
22
+ - `Accordion`:
23
+ - Slot `summary` ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
24
+ - Slot `summary-before` ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
25
+ - Slot `summary-after` ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
26
+ - Prop `background` with values `canvas | surface | frosted | none (default)`
27
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
28
+ - Prop `align-marker` with values `start | end (default)`
29
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
30
+ - CSS Variable `--p-accordion-px` to control the horizontal padding
31
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
32
+ - CSS Variable `--p-accordion-py` to control the vertical padding
33
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
34
+ - CSS Variable `--p-accordion-summary-top` to control the optional sticky top position
35
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
36
+
37
+ ### Changed
38
+
39
+ - `Accordion`:
40
+ - Modernize visual appearance ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
41
+ - Use semantic HTML element `<details>` and `<summary>` internally (instead of divs and buttons) for better
42
+ accessibility and native behavior
43
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
44
+ - `Input Date`, `Input Email`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`, `Input Text`,
45
+ `Input Time`, `Input Url`, `Textarea`: `value` sync with the underlying native `<input />` or `<textarea />` element
46
+ - `Checkbox`, `Input-*`, `Multi-Select`, `Pin Code`, `Radio Button Group`, `Segmented-Control`, `Select`, `Textarea`:
47
+ Slot `label-after` is not affected by `disbaled` states anymore
48
+ ([#4181](https://github.com/porsche-design-system/porsche-design-system/pull/4181))
49
+ - **Vue:** All component events now emit the full `CustomEvent` instead of just the event detail. The event detail must
50
+ be accessed via `event.detail`. Props and other component data can be accessed directly via `event.target`.
51
+
52
+ ```diff
53
+ <script setup lang="ts">
54
+ import { type AccordionUpdateEventDetail, PAccordion } from '@porsche-design-system/components-vue';
55
+ import { ref } from 'vue';
56
+
57
+ const isOpen = ref(false);
58
+
59
+ - const onUpdate = (event: AccordionUpdateEventDetail): void => {
60
+ + const onUpdate = (event: CustomEvent<AccordionUpdateEventDetail>): void => {
61
+ - isOpen1.value = event.open;
62
+ + isOpen1.value = event.detail.open; // You can also access the value from the component itself via e.target, e.g. e.target.open
63
+ };
64
+ </script>
65
+
66
+ <template>
67
+ <PAccordion :open="isOpen" @update="onUpdate">
68
+ ...
69
+ </PAccordion>
70
+ </template>
71
+ ```
72
+
73
+ ### Removed
74
+
75
+ - `Accordion`:
76
+ - Prop `tag` use `heading-tag` (deprecated with v4 now) instead or make use of `slot="summary"` for more flexibility
77
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
78
+ ```diff
79
+ - <p-acccordion heading="Some summary" tag="h3">
80
+ <p-text>Some details</p-text>
81
+ </p-accordion>
82
+ + <p-accordion>
83
+ + <p-heading slot="summary" tag="h3" size="small">Some summary</p-heading>
84
+ <p-text>Some details</p-text>
85
+ </p-accordion>
86
+ ```
87
+
88
+ ### Deprecated
89
+
90
+ - `SCSS`: Import path for npm package:
91
+
92
+ ```diff
93
+ - @use '@porsche-design-system/components-{js|angular|react|vue}/styles' as *;
94
+ + @use '@porsche-design-system/components-{js|angular|react|vue}/scss' as *;
95
+ ```
96
+
97
+ - `Emotion`: Import path for npm package:
98
+
99
+ ```diff
100
+ - import { … } from '@porsche-design-system/components-{js|angular|react|vue}/styles';
101
+ + import { … } from '@porsche-design-system/components-{js|angular|react|vue}/emotion';
102
+ ```
103
+
104
+ - `Vanilla Extract`: Import path for npm package:
105
+
106
+ ```diff
107
+ - import { … } from '@porsche-design-system/components-{js|angular|react|vue}/styles/vanilla-extract';
108
+ + import { … } from '@porsche-design-system/components-{js|angular|react|vue}/vanilla-extract';
109
+ ```
110
+
111
+ - `Accordion`:
112
+ - Prop `heading`, `heading-tag` and `size` in favor of `slot="summary"` for more flexibility
113
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
114
+ ```diff
115
+ - <p-acccordion heading="Some summary" heading-tag="h3" size="small">
116
+ <p-text>Some details</p-text>
117
+ </p-accordion>
118
+ + <p-accordion>
119
+ + <p-heading slot="summary" tag="h3" size="small">Some summary</p-heading>
120
+ <p-text>Some details</p-text>
121
+ </p-accordion>
122
+ ```
123
+ - Slot `heading` in favor of `slot="summary"`
124
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
125
+ ```diff
126
+ <p-acccordion>
127
+ - <span slot="heading">Some summary</span>
128
+ <p-text>Some details</p-text>
129
+ </p-accordion>
130
+ <p-accordion>
131
+ + <p-heading slot="summary" tag="h3" size="small">Some summary</p-heading>
132
+ <p-text>Some details</p-text>
133
+ </p-accordion>
134
+ ```
135
+ - CSS Variable `--p-accordion-position-sticky-top`, use `--p-accordion-summary-top` instead
136
+ ([#4201](https://github.com/porsche-design-system/porsche-design-system/pull/4201))
137
+
17
138
  ## [4.0.0-beta.0] - 2026-02-12
18
139
 
19
140
  ### Added
@@ -401,6 +522,17 @@ and migration steps.
401
522
  - `Multi Select`, `Pin Code`, `Radio Group`, `Textarea`: disabled prop is not mutable
402
523
  ([#4118](https://github.com/porsche-design-system/porsche-design-system/pull/4118))
403
524
  ([#4121](https://github.com/porsche-design-system/porsche-design-system/pull/4121))
525
+ - `Multi Select`: trim whitespace of selected options text
526
+ ([#4132](https://github.com/porsche-design-system/porsche-design-system/pull/4132))
527
+
528
+ ## [3.32.1] - 2026-02-24
529
+
530
+ ## [3.32.1-rc.0] - 2026-02-20
531
+
532
+ ### Fixed
533
+
534
+ - `Input Email`, `Input Password`, `Input Tel`, `Pin Code`: optimize input direction and behavior in RTL mode
535
+ ([#4209](https://github.com/porsche-design-system/porsche-design-system/pull/4209))
404
536
 
405
537
  ## [3.32.0] - 2026-02-04
406
538
 
@@ -435,12 +567,37 @@ and migration steps.
435
567
 
436
568
  ### Added
437
569
 
570
+ - `Multi Select, Select`:
571
+ - `selected` slot for custom selection rendering and enabling complex options
572
+ - `options-status` slot for loading, error and no results states when using custom filtering
573
+ ([#4111](https://github.com/porsche-design-system/porsche-design-system/pull/4111))
574
+ - `Multi Select, Select`:
575
+ - `filter` slot to allow custom asynchronous filtering
576
+ - `toggle` event when opening/closing the dropdown
577
+ ([#4089](https://github.com/porsche-design-system/porsche-design-system/pull/4089))
578
+ - `Segmented Control`: add `state` and `message` props to enable visual validation states
579
+ ([#4023](https://github.com/porsche-design-system/porsche-design-system/pull/4023)) `Segmented Control`: add `label`,
580
+ - `Segmented Control`: `label`, `desription`, `hideLabel` and `required` props for better form integration
581
+ ([#4023](https://github.com/porsche-design-system/porsche-design-system/pull/4023))
582
+ - `Textarea`: `compact` prop to enable a smaller, space-saving version for compact layouts
583
+ ([#4102](https://github.com/porsche-design-system/porsche-design-system/pull/4102))
584
+ - `Tag Dismissible`: `compact` prop to enable a smaller, space-saving version for compact layouts
585
+ ([#4114](https://github.com/porsche-design-system/porsche-design-system/pull/4114))
586
+ - Flags: added `AL, BD, RE` flags ([#4128](https://github.com/porsche-design-system/porsche-design-system/pull/4128))
587
+ - `Input Month`, `Input Week`: ([#4126](https://github.com/porsche-design-system/porsche-design-system/pull/4126))
588
+ - `Input Search`: `maxLength` & `minLength` prop to specify the maximum and minimum number of characters the user can
589
+ enter ([#4131](https://github.com/porsche-design-system/porsche-design-system/pull/4131))
438
590
  - `Textarea`: add CSS Variables for `fieldSizing`, `minWidth`, `maxWidth`, `minHeight`, `maxHeight` to control the
439
591
  intrinsic sizing behavior ([#4132](https://github.com/porsche-design-system/porsche-design-system/pull/4132))
440
- - `Canvas`: prop `background` to set the background color to `canvas | surface`
441
592
 
442
593
  ### Fixed
443
594
 
595
+ - `Checkbox`: missing deprecation for `CheckboxUpdateEventDetail` event & disabled prop is not mutable
596
+ - `Input Date`, `Input Email`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`, `Input Text`,
597
+ `Input Time`, `Input Url`, `Textarea`: disabled prop is not mutable & error when disabled and invalid
598
+ - `Multi Select`, `Pin Code`, `Radio Group`, `Textarea`: disabled prop is not mutable
599
+ ([#4118](https://github.com/porsche-design-system/porsche-design-system/pull/4118))
600
+ ([#4121](https://github.com/porsche-design-system/porsche-design-system/pull/4121))
444
601
  - `Multi Select`: trim whitespace of selected options text
445
602
  ([#4132](https://github.com/porsche-design-system/porsche-design-system/pull/4132))
446
603
 
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../../utils.cjs"),d=e.defineComponent({__name:"AccordionWrapper",props:{compact:{type:Boolean},heading:{},headingTag:{default:"h2"},open:{type:Boolean},size:{default:"small"},sticky:{type:Boolean}},emits:["update"],setup(s,{emit:r}){const p=t.usePrefix("p-accordion"),c=s,o=e.ref(),a=r,n=()=>t.syncProperties(o,c);return e.onMounted(()=>{n(),t.addEventListenerToElementRef(o,"update",a)}),e.onUpdated(n),(i,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(p)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},512))}});module.exports=d;
1
+ "use strict";const e=require("vue"),o=require("../../utils.cjs"),i=e.defineComponent({__name:"AccordionWrapper",props:{alignMarker:{default:"end"},background:{default:"none"},compact:{type:Boolean},heading:{},headingTag:{default:"h2"},open:{type:Boolean},size:{default:"small"},sticky:{type:Boolean}},emits:["update"],setup(r,{emit:s}){const a=o.usePrefix("p-accordion"),p=r,n=e.ref(),c=s,t=()=>o.syncProperties(n,p);return e.onMounted(()=>{t(),o.addEventListenerToElementRef(n,"update",c)}),e.onUpdated(t),(d,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:n},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},512))}});module.exports=i;
package/cjs/utils.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),o=Symbol("pdsPrefix"),i=t=>{const e=a.inject(o);if(e===void 0)throw new Error("It appears the <PorscheDesignSystemProvider /> is missing. Make sure to wrap your App in it.");return e?e+"-"+t:t},c=(t,e)=>{const s=t.value;Object.keys(e).forEach(n=>s[n]=e[n])},d=(t,e,s,n)=>{t.value.addEventListener(e,r=>{s(e,r.detail),n?.(r)})},u=()=>{const t=i("p-toast");return{addMessage:e=>{const s=document.body.querySelector(t);customElements.whenDefined(t).then(()=>s.addMessage(e))}}};exports.addEventListenerToElementRef=d;exports.prefixInjectionKey=o;exports.syncProperties=c;exports.usePrefix=i;exports.useToastManager=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),o=Symbol("pdsPrefix"),i=t=>{const e=a.inject(o);if(e===void 0)throw new Error("It appears the <PorscheDesignSystemProvider /> is missing. Make sure to wrap your App in it.");return e?e+"-"+t:t},c=(t,e)=>{const s=t.value;Object.keys(e).forEach(n=>s[n]=e[n])},d=(t,e,s,n)=>{t.value.addEventListener(e,r=>{s(e,r),n?.(r)})},u=()=>{const t=i("p-toast");return{addMessage:e=>{const s=document.body.querySelector(t);customElements.whenDefined(t).then(()=>s.addMessage(e))}}};exports.addEventListenerToElementRef=d;exports.prefixInjectionKey=o;exports.syncProperties=c;exports.usePrefix=i;exports.useToastManager=u;
@@ -1,27 +1,35 @@
1
- import type { AccordionHeadingTag, AccordionUpdateEventDetail, BreakpointCustomizable, AccordionSize } from '../types';
1
+ import type { AccordionAlignMarker, AccordionBackground, AccordionHeadingTag, AccordionUpdateEventDetail, BreakpointCustomizable, AccordionSize } from '../types';
2
2
  type PAccordionProps = {
3
3
  /**
4
- * Displays the Accordion as compact version with thinner border and smaller paddings.
4
+ * Aligns the marker within the summary section.
5
+ */
6
+ alignMarker?: AccordionAlignMarker;
7
+ /**
8
+ * Defines the background color. Use `frosted` only on images, videos or gradients.
9
+ */
10
+ background?: AccordionBackground;
11
+ /**
12
+ * Displays the accordion in compact mode.
5
13
  */
6
14
  compact?: boolean;
7
15
  /**
8
- * Defines the heading used in accordion.
16
+ * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading text within the summary section.
9
17
  */
10
18
  heading?: string;
11
19
  /**
12
- * Sets a heading tag, so it fits correctly within the outline of the page.
20
+ * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading tag for proper semantic structure within the page.
13
21
  */
14
22
  headingTag?: AccordionHeadingTag;
15
23
  /**
16
- * Defines if accordion is open.
24
+ * Controls whether the accordion is open or closed.
17
25
  */
18
26
  open?: boolean;
19
27
  /**
20
- * The text size.
28
+ * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Controls the heading size in the summary section (only applies when using the `heading` prop or `heading` slot).
21
29
  */
22
30
  size?: BreakpointCustomizable<AccordionSize>;
23
31
  /**
24
- * @experimental Sticks the Accordion heading at the top, fixed while scrolling
32
+ * @experimental Makes the summary section sticky at the top while scrolling. Only works with `background="canvas"` or `background="surface"`. Not compatible with `summary-before` or `summary-after` slots.
25
33
  */
26
34
  sticky?: boolean;
27
35
  };
@@ -30,10 +38,12 @@ type __VLS_Slots = {} & {
30
38
  default?: (props: typeof __VLS_8) => any;
31
39
  };
32
40
  declare const __VLS_base: import("vue").DefineComponent<PAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
- update: (value: AccordionUpdateEventDetail) => any;
41
+ update: (value: CustomEvent<AccordionUpdateEventDetail>) => any;
34
42
  }, string, import("vue").PublicProps, Readonly<PAccordionProps> & Readonly<{
35
- onUpdate?: ((value: AccordionUpdateEventDetail) => any) | undefined;
43
+ onUpdate?: ((value: CustomEvent<AccordionUpdateEventDetail>) => any) | undefined;
36
44
  }>, {
45
+ alignMarker: AccordionAlignMarker;
46
+ background: AccordionBackground;
37
47
  headingTag: AccordionHeadingTag;
38
48
  size: BreakpointCustomizable<AccordionSize>;
39
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,8 +1,10 @@
1
- import { defineComponent as c, ref as d, onMounted as i, onUpdated as m, createBlock as f, openBlock as l, resolveDynamicComponent as u, unref as y, withCtx as _, renderSlot as C } from "vue";
2
- import { usePrefix as h, syncProperties as B, addEventListenerToElementRef as g } from "../../utils.mjs";
3
- const R = /* @__PURE__ */ c({
1
+ import { defineComponent as d, ref as c, onMounted as f, onUpdated as i, createBlock as l, openBlock as m, resolveDynamicComponent as u, unref as y, withCtx as _, renderSlot as g } from "vue";
2
+ import { usePrefix as k, syncProperties as C, addEventListenerToElementRef as h } from "../../utils.mjs";
3
+ const R = /* @__PURE__ */ d({
4
4
  __name: "AccordionWrapper",
5
5
  props: {
6
+ alignMarker: { default: "end" },
7
+ background: { default: "none" },
6
8
  compact: { type: Boolean },
7
9
  heading: {},
8
10
  headingTag: { default: "h2" },
@@ -11,16 +13,16 @@ const R = /* @__PURE__ */ c({
11
13
  sticky: { type: Boolean }
12
14
  },
13
15
  emits: ["update"],
14
- setup(t, { emit: n }) {
15
- const p = h("p-accordion"), r = t, e = d(), a = n, o = () => B(e, r);
16
- return i(() => {
17
- o(), g(e, "update", a);
18
- }), m(o), (s, k) => (l(), f(u(y(p)), {
16
+ setup(n, { emit: t }) {
17
+ const a = k("p-accordion"), r = n, e = c(), p = t, o = () => C(e, r);
18
+ return f(() => {
19
+ o(), h(e, "update", p);
20
+ }), i(o), (s, B) => (m(), l(u(y(a)), {
19
21
  ref_key: "pdsComponentRef",
20
22
  ref: e
21
23
  }, {
22
24
  default: _(() => [
23
- C(s.$slots, "default")
25
+ g(s.$slots, "default")
24
26
  ]),
25
27
  _: 3
26
28
  }, 512));
@@ -30,9 +30,9 @@ type __VLS_Slots = {} & {
30
30
  default?: (props: typeof __VLS_8) => any;
31
31
  };
32
32
  declare const __VLS_base: import("vue").DefineComponent<PBannerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
- [x: string]: any;
33
+ dismiss: (value: CustomEvent<void>) => any;
34
34
  }, string, import("vue").PublicProps, Readonly<PBannerProps> & Readonly<{
35
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
35
+ onDismiss?: ((value: CustomEvent<void>) => any) | undefined;
36
36
  }>, {
37
37
  heading: string;
38
38
  headingTag: BannerHeadingTag;
@@ -1,4 +1,4 @@
1
- import type { CanvasBackground } from '../types';
1
+ import type { CanvasBackground, CanvasSidebarStartUpdateEventDetail } from '../types';
2
2
  type PCanvasProps = {
3
3
  /**
4
4
  * Defines the background color of the main section and auto adjust it for the sidebar
@@ -18,9 +18,11 @@ type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_8) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<PCanvasProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
21
- [x: string]: any;
21
+ sidebarEndDismiss: (value: CustomEvent<void>) => any;
22
+ sidebarStartUpdate: (value: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => any;
22
23
  }, string, import("vue").PublicProps, Readonly<PCanvasProps> & Readonly<{
23
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
24
+ onSidebarEndDismiss?: ((value: CustomEvent<void>) => any) | undefined;
25
+ onSidebarStartUpdate?: ((value: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => any) | undefined;
24
26
  }>, {
25
27
  background: CanvasBackground;
26
28
  sidebarEndOpen: boolean;
@@ -70,9 +70,9 @@ type __VLS_Slots = {} & {
70
70
  default?: (props: typeof __VLS_8) => any;
71
71
  };
72
72
  declare const __VLS_base: import("vue").DefineComponent<PCarouselProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
73
- update: (value: CarouselUpdateEventDetail) => any;
73
+ update: (value: CustomEvent<CarouselUpdateEventDetail>) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<PCarouselProps> & Readonly<{
75
- onUpdate?: ((value: CarouselUpdateEventDetail) => any) | undefined;
75
+ onUpdate?: ((value: CustomEvent<CarouselUpdateEventDetail>) => any) | undefined;
76
76
  }>, {
77
77
  gradient: boolean;
78
78
  activeSlideIndex: number;
@@ -58,12 +58,12 @@ type __VLS_Slots = {} & {
58
58
  default?: (props: typeof __VLS_8) => any;
59
59
  };
60
60
  declare const __VLS_base: import("vue").DefineComponent<PCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
61
- blur: (value: Event) => any;
62
- change: (value: Event) => any;
61
+ blur: (value: CustomEvent<Event>) => any;
62
+ change: (value: CustomEvent<Event>) => any;
63
63
  "update:checked": (value: boolean) => any;
64
64
  }, string, import("vue").PublicProps, Readonly<PCheckboxProps> & Readonly<{
65
- onBlur?: ((value: Event) => any) | undefined;
66
- onChange?: ((value: Event) => any) | undefined;
65
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
66
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
67
67
  "onUpdate:checked"?: ((value: boolean) => any) | undefined;
68
68
  }>, {
69
69
  label: string;
@@ -1,4 +1,4 @@
1
- import type { SelectedAriaAttributes, DrilldownAriaAttribute } from '../types';
1
+ import type { SelectedAriaAttributes, DrilldownAriaAttribute, DrilldownUpdateEventDetail } from '../types';
2
2
  type PDrilldownProps = {
3
3
  /**
4
4
  * Defines which drilldown-item to be visualized as opened.
@@ -18,9 +18,11 @@ type __VLS_Slots = {} & {
18
18
  default?: (props: typeof __VLS_8) => any;
19
19
  };
20
20
  declare const __VLS_base: import("vue").DefineComponent<PDrilldownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
21
- [x: string]: any;
21
+ update: (value: CustomEvent<DrilldownUpdateEventDetail>) => any;
22
+ dismiss: (value: CustomEvent<void>) => any;
22
23
  }, string, import("vue").PublicProps, Readonly<PDrilldownProps> & Readonly<{
23
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
24
+ onUpdate?: ((value: CustomEvent<DrilldownUpdateEventDetail>) => any) | undefined;
25
+ onDismiss?: ((value: CustomEvent<void>) => any) | undefined;
24
26
  }>, {
25
27
  open: boolean;
26
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -34,12 +34,16 @@ type __VLS_Slots = {} & {
34
34
  default?: (props: typeof __VLS_8) => any;
35
35
  };
36
36
  declare const __VLS_base: import("vue").DefineComponent<PFlyoutProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
37
- [x: string]: any;
37
+ dismiss: (value: CustomEvent<void>) => any;
38
+ motionHiddenEnd: (value: CustomEvent<TransitionEvent>) => any;
39
+ motionVisibleEnd: (value: CustomEvent<TransitionEvent>) => any;
38
40
  }, string, import("vue").PublicProps, Readonly<PFlyoutProps> & Readonly<{
39
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
41
+ onDismiss?: ((value: CustomEvent<void>) => any) | undefined;
42
+ onMotionHiddenEnd?: ((value: CustomEvent<TransitionEvent>) => any) | undefined;
43
+ onMotionVisibleEnd?: ((value: CustomEvent<TransitionEvent>) => any) | undefined;
40
44
  }>, {
41
- open: boolean;
42
45
  background: FlyoutBackground;
46
+ open: boolean;
43
47
  backdrop: FlyoutBackdrop;
44
48
  disableBackdropClick: boolean;
45
49
  footerBehavior: FlyoutFooterBehavior;
@@ -38,9 +38,11 @@ type __VLS_Slots = {} & {
38
38
  default?: (props: typeof __VLS_8) => any;
39
39
  };
40
40
  declare const __VLS_base: import("vue").DefineComponent<PInlineNotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
- [x: string]: any;
41
+ dismiss: (value: CustomEvent<void>) => any;
42
+ action: (value: CustomEvent<void>) => any;
42
43
  }, string, import("vue").PublicProps, Readonly<PInlineNotificationProps> & Readonly<{
43
- [x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
44
+ onDismiss?: ((value: CustomEvent<void>) => any) | undefined;
45
+ onAction?: ((value: CustomEvent<void>) => any) | undefined;
44
46
  }>, {
45
47
  heading: string;
46
48
  headingTag: InlineNotificationHeadingTag;
@@ -74,14 +74,14 @@ type __VLS_Slots = {} & {
74
74
  default?: (props: typeof __VLS_8) => any;
75
75
  };
76
76
  declare const __VLS_base: import("vue").DefineComponent<PInputDateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
77
- blur: (value: Event) => any;
78
- change: (value: Event) => any;
79
- input: (value: InputEvent) => any;
77
+ blur: (value: CustomEvent<Event>) => any;
78
+ change: (value: CustomEvent<Event>) => any;
79
+ input: (value: CustomEvent<InputEvent>) => any;
80
80
  "update:value": (value: string) => any;
81
81
  }, string, import("vue").PublicProps, Readonly<PInputDateProps> & Readonly<{
82
- onBlur?: ((value: Event) => any) | undefined;
83
- onChange?: ((value: Event) => any) | undefined;
84
- onInput?: ((value: InputEvent) => any) | undefined;
82
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
83
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
84
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
85
85
  "onUpdate:value"?: ((value: string) => any) | undefined;
86
86
  }>, {
87
87
  step: number;
@@ -86,14 +86,14 @@ type __VLS_Slots = {} & {
86
86
  default?: (props: typeof __VLS_8) => any;
87
87
  };
88
88
  declare const __VLS_base: import("vue").DefineComponent<PInputEmailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
89
- blur: (value: Event) => any;
90
- change: (value: Event) => any;
91
- input: (value: InputEvent) => any;
89
+ blur: (value: CustomEvent<Event>) => any;
90
+ change: (value: CustomEvent<Event>) => any;
91
+ input: (value: CustomEvent<InputEvent>) => any;
92
92
  "update:value": (value: string) => any;
93
93
  }, string, import("vue").PublicProps, Readonly<PInputEmailProps> & Readonly<{
94
- onBlur?: ((value: Event) => any) | undefined;
95
- onChange?: ((value: Event) => any) | undefined;
96
- onInput?: ((value: InputEvent) => any) | undefined;
94
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
95
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
96
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
97
97
  "onUpdate:value"?: ((value: string) => any) | undefined;
98
98
  }>, {
99
99
  label: string;
@@ -74,14 +74,14 @@ type __VLS_Slots = {} & {
74
74
  default?: (props: typeof __VLS_8) => any;
75
75
  };
76
76
  declare const __VLS_base: import("vue").DefineComponent<PInputMonthProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
77
- blur: (value: Event) => any;
78
- change: (value: Event) => any;
79
- input: (value: InputEvent) => any;
77
+ blur: (value: CustomEvent<Event>) => any;
78
+ change: (value: CustomEvent<Event>) => any;
79
+ input: (value: CustomEvent<InputEvent>) => any;
80
80
  "update:value": (value: string) => any;
81
81
  }, string, import("vue").PublicProps, Readonly<PInputMonthProps> & Readonly<{
82
- onBlur?: ((value: Event) => any) | undefined;
83
- onChange?: ((value: Event) => any) | undefined;
84
- onInput?: ((value: InputEvent) => any) | undefined;
82
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
83
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
84
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
85
85
  "onUpdate:value"?: ((value: string) => any) | undefined;
86
86
  }>, {
87
87
  step: number;
@@ -82,14 +82,14 @@ type __VLS_Slots = {} & {
82
82
  default?: (props: typeof __VLS_8) => any;
83
83
  };
84
84
  declare const __VLS_base: import("vue").DefineComponent<PInputNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
85
- blur: (value: Event) => any;
86
- change: (value: Event) => any;
87
- input: (value: InputEvent) => any;
85
+ blur: (value: CustomEvent<Event>) => any;
86
+ change: (value: CustomEvent<Event>) => any;
87
+ input: (value: CustomEvent<InputEvent>) => any;
88
88
  "update:value": (value: string) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<PInputNumberProps> & Readonly<{
90
- onBlur?: ((value: Event) => any) | undefined;
91
- onChange?: ((value: Event) => any) | undefined;
92
- onInput?: ((value: InputEvent) => any) | undefined;
90
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
91
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
92
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
93
93
  "onUpdate:value"?: ((value: string) => any) | undefined;
94
94
  }>, {
95
95
  step: number;
@@ -78,14 +78,14 @@ type __VLS_Slots = {} & {
78
78
  default?: (props: typeof __VLS_8) => any;
79
79
  };
80
80
  declare const __VLS_base: import("vue").DefineComponent<PInputPasswordProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
81
- blur: (value: Event) => any;
82
- change: (value: Event) => any;
83
- input: (value: InputEvent) => any;
81
+ blur: (value: CustomEvent<Event>) => any;
82
+ change: (value: CustomEvent<Event>) => any;
83
+ input: (value: CustomEvent<InputEvent>) => any;
84
84
  "update:value": (value: string) => any;
85
85
  }, string, import("vue").PublicProps, Readonly<PInputPasswordProps> & Readonly<{
86
- onBlur?: ((value: Event) => any) | undefined;
87
- onChange?: ((value: Event) => any) | undefined;
88
- onInput?: ((value: InputEvent) => any) | undefined;
86
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
87
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
88
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
89
89
  "onUpdate:value"?: ((value: string) => any) | undefined;
90
90
  }>, {
91
91
  toggle: boolean;
@@ -82,14 +82,14 @@ type __VLS_Slots = {} & {
82
82
  default?: (props: typeof __VLS_8) => any;
83
83
  };
84
84
  declare const __VLS_base: import("vue").DefineComponent<PInputSearchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
85
- blur: (value: Event) => any;
86
- change: (value: Event) => any;
87
- input: (value: InputEvent) => any;
85
+ blur: (value: CustomEvent<Event>) => any;
86
+ change: (value: CustomEvent<Event>) => any;
87
+ input: (value: CustomEvent<InputEvent>) => any;
88
88
  "update:value": (value: string) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<PInputSearchProps> & Readonly<{
90
- onBlur?: ((value: Event) => any) | undefined;
91
- onChange?: ((value: Event) => any) | undefined;
92
- onInput?: ((value: InputEvent) => any) | undefined;
90
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
91
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
92
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
93
93
  "onUpdate:value"?: ((value: string) => any) | undefined;
94
94
  }>, {
95
95
  label: string;
@@ -82,14 +82,14 @@ type __VLS_Slots = {} & {
82
82
  default?: (props: typeof __VLS_8) => any;
83
83
  };
84
84
  declare const __VLS_base: import("vue").DefineComponent<PInputTelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
85
- blur: (value: Event) => any;
86
- change: (value: Event) => any;
87
- input: (value: InputEvent) => any;
85
+ blur: (value: CustomEvent<Event>) => any;
86
+ change: (value: CustomEvent<Event>) => any;
87
+ input: (value: CustomEvent<InputEvent>) => any;
88
88
  "update:value": (value: string) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<PInputTelProps> & Readonly<{
90
- onBlur?: ((value: Event) => any) | undefined;
91
- onChange?: ((value: Event) => any) | undefined;
92
- onInput?: ((value: InputEvent) => any) | undefined;
90
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
91
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
92
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
93
93
  "onUpdate:value"?: ((value: string) => any) | undefined;
94
94
  }>, {
95
95
  label: string;
@@ -82,14 +82,14 @@ type __VLS_Slots = {} & {
82
82
  default?: (props: typeof __VLS_8) => any;
83
83
  };
84
84
  declare const __VLS_base: import("vue").DefineComponent<PInputTextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
85
- blur: (value: Event) => any;
86
- change: (value: Event) => any;
87
- input: (value: InputEvent) => any;
85
+ blur: (value: CustomEvent<Event>) => any;
86
+ change: (value: CustomEvent<Event>) => any;
87
+ input: (value: CustomEvent<InputEvent>) => any;
88
88
  "update:value": (value: string) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<PInputTextProps> & Readonly<{
90
- onBlur?: ((value: Event) => any) | undefined;
91
- onChange?: ((value: Event) => any) | undefined;
92
- onInput?: ((value: InputEvent) => any) | undefined;
90
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
91
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
92
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
93
93
  "onUpdate:value"?: ((value: string) => any) | undefined;
94
94
  }>, {
95
95
  label: string;
@@ -74,14 +74,14 @@ type __VLS_Slots = {} & {
74
74
  default?: (props: typeof __VLS_8) => any;
75
75
  };
76
76
  declare const __VLS_base: import("vue").DefineComponent<PInputTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
77
- blur: (value: Event) => any;
78
- change: (value: Event) => any;
79
- input: (value: InputEvent) => any;
77
+ blur: (value: CustomEvent<Event>) => any;
78
+ change: (value: CustomEvent<Event>) => any;
79
+ input: (value: CustomEvent<InputEvent>) => any;
80
80
  "update:value": (value: string) => any;
81
81
  }, string, import("vue").PublicProps, Readonly<PInputTimeProps> & Readonly<{
82
- onBlur?: ((value: Event) => any) | undefined;
83
- onChange?: ((value: Event) => any) | undefined;
84
- onInput?: ((value: InputEvent) => any) | undefined;
82
+ onBlur?: ((value: CustomEvent<Event>) => any) | undefined;
83
+ onChange?: ((value: CustomEvent<Event>) => any) | undefined;
84
+ onInput?: ((value: CustomEvent<InputEvent>) => any) | undefined;
85
85
  "onUpdate:value"?: ((value: string) => any) | undefined;
86
86
  }>, {
87
87
  step: number;