@porsche-design-system/components-vue 3.0.0-rc.1 → 3.0.0-rc.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 (66) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/PorscheDesignSystemProvider.vue.d.ts +11 -3
  3. package/lib/components/AccordionWrapper.vue.d.ts +24 -41
  4. package/lib/components/BannerWrapper.vue.d.ts +25 -50
  5. package/lib/components/ButtonGroupWrapper.vue.d.ts +17 -13
  6. package/lib/components/ButtonPureWrapper.vue.d.ts +35 -80
  7. package/lib/components/ButtonTileWrapper.vue.d.ts +34 -82
  8. package/lib/components/ButtonWrapper.vue.d.ts +29 -57
  9. package/lib/components/CarouselWrapper.vue.d.ts +32 -74
  10. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +23 -39
  11. package/lib/components/ContentWrapperWrapper.vue.d.ts +22 -28
  12. package/lib/components/CrestWrapper.vue.d.ts +15 -23
  13. package/lib/components/DisplayWrapper.vue.d.ts +26 -42
  14. package/lib/components/DividerWrapper.vue.d.ts +18 -30
  15. package/lib/components/FieldsetWrapper.vue.d.ts +24 -40
  16. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +25 -41
  17. package/lib/components/FlexItemWrapper.vue.d.ts +28 -44
  18. package/lib/components/FlexWrapper.vue.d.ts +28 -44
  19. package/lib/components/GridItemWrapper.vue.d.ts +20 -20
  20. package/lib/components/GridWrapper.vue.d.ts +22 -27
  21. package/lib/components/HeadingWrapper.vue.d.ts +26 -42
  22. package/lib/components/HeadlineWrapper.vue.d.ts +26 -42
  23. package/lib/components/IconWrapper.vue.d.ts +22 -50
  24. package/lib/components/IconWrapper.vue.js +8 -8
  25. package/lib/components/InlineNotificationWrapper.vue.d.ts +27 -56
  26. package/lib/components/LinkPureWrapper.vue.d.ts +37 -90
  27. package/lib/components/LinkSocialWrapper.vue.d.ts +25 -45
  28. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +26 -46
  29. package/lib/components/LinkTileWrapper.vue.d.ts +31 -75
  30. package/lib/components/LinkWrapper.vue.d.ts +30 -62
  31. package/lib/components/MarqueWrapper.vue.d.ts +19 -35
  32. package/lib/components/ModalWrapper.vue.d.ts +22 -43
  33. package/lib/components/ModelSignatureWrapper.vue.d.ts +18 -30
  34. package/lib/components/PaginationWrapper.vue.d.ts +22 -59
  35. package/lib/components/PopoverWrapper.vue.d.ts +22 -30
  36. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +22 -34
  37. package/lib/components/ScrollerWrapper.vue.d.ts +33 -49
  38. package/lib/components/ScrollerWrapper.vue.js +4 -3
  39. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +20 -31
  40. package/lib/components/SegmentedControlWrapper.vue.d.ts +20 -25
  41. package/lib/components/SelectWrapperWrapper.vue.d.ts +27 -55
  42. package/lib/components/SpinnerWrapper.vue.d.ts +16 -24
  43. package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +18 -17
  44. package/lib/components/StepperHorizontalWrapper.vue.d.ts +19 -17
  45. package/lib/components/SwitchWrapper.vue.d.ts +24 -45
  46. package/lib/components/TableBodyWrapper.vue.d.ts +6 -1
  47. package/lib/components/TableCellWrapper.vue.d.ts +16 -12
  48. package/lib/components/TableHeadCellWrapper.vue.d.ts +18 -22
  49. package/lib/components/TableHeadRowWrapper.vue.d.ts +6 -1
  50. package/lib/components/TableHeadWrapper.vue.d.ts +6 -1
  51. package/lib/components/TableRowWrapper.vue.d.ts +6 -1
  52. package/lib/components/TableWrapper.vue.d.ts +18 -19
  53. package/lib/components/TabsBarWrapper.vue.d.ts +25 -42
  54. package/lib/components/TabsItemWrapper.vue.d.ts +9 -8
  55. package/lib/components/TabsWrapper.vue.d.ts +26 -43
  56. package/lib/components/TagDismissibleWrapper.vue.d.ts +22 -30
  57. package/lib/components/TagWrapper.vue.d.ts +22 -30
  58. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +31 -71
  59. package/lib/components/TextListItemWrapper.vue.d.ts +6 -1
  60. package/lib/components/TextListWrapper.vue.d.ts +22 -30
  61. package/lib/components/TextWrapper.vue.d.ts +28 -48
  62. package/lib/components/TextareaWrapperWrapper.vue.d.ts +25 -49
  63. package/lib/components/ToastWrapper.vue.d.ts +12 -12
  64. package/lib/components/WordmarkWrapper.vue.d.ts +19 -35
  65. package/lib/types.d.ts +210 -191
  66. package/package.json +2 -2
@@ -1,21 +1,18 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ type PTableCellProps = {
2
3
  /**
3
4
  * Displays slotted text multiline or forced into a single line.
4
5
  */
5
- multiline?: boolean | undefined;
6
- }>, {
6
+ multiline?: boolean;
7
+ };
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTableCellProps>, {
7
9
  multiline: boolean;
8
- }>, {}, 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<{
9
- /**
10
- * Displays slotted text multiline or forced into a single line.
11
- */
12
- multiline?: boolean | undefined;
13
- }>, {
10
+ }>, {}, 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<PTableCellProps>, {
14
11
  multiline: boolean;
15
12
  }>>>, {
16
13
  multiline: boolean;
17
14
  }>, {
18
- default: (_: {}) => any;
15
+ default?(_: {}): any;
19
16
  }>;
20
17
  export default _default;
21
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -28,12 +25,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
28
25
  };
29
26
  };
30
27
  type __VLS_WithDefaults<P, D> = {
31
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
28
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
29
  default: D[K];
33
- } : P[K];
30
+ }> : P[K];
34
31
  };
35
32
  type __VLS_WithTemplateSlots<T, S> = T & {
36
33
  new (): {
37
34
  $slots: S;
35
+ $props: __VLS_PropsChildren<S>;
38
36
  };
39
37
  };
38
+ type __VLS_PropsChildren<S> = {
39
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
40
+ };
41
+ type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
@@ -1,41 +1,30 @@
1
+ /** __vue_virtual_code_placeholder */
1
2
  import type { TableHeadCellSort } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ type PTableHeadCellProps = {
3
4
  /**
4
5
  * Hides the label but stays accessible for screen readers. This property only takes effect when sort property is not defined.
5
6
  */
6
- hideLabel?: boolean | undefined;
7
+ hideLabel?: boolean;
7
8
  /**
8
9
  * Displays slotted text multiline or forced into a single line.
9
10
  */
10
- multiline?: boolean | undefined;
11
+ multiline?: boolean;
11
12
  /**
12
13
  * Defines sortability properties.
13
14
  */
14
- sort?: TableHeadCellSort | undefined;
15
- }>, {
15
+ sort?: TableHeadCellSort;
16
+ };
17
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTableHeadCellProps>, {
16
18
  hideLabel: boolean;
17
19
  multiline: boolean;
18
- }>, {}, 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<{
19
- /**
20
- * Hides the label but stays accessible for screen readers. This property only takes effect when sort property is not defined.
21
- */
22
- hideLabel?: boolean | undefined;
23
- /**
24
- * Displays slotted text multiline or forced into a single line.
25
- */
26
- multiline?: boolean | undefined;
27
- /**
28
- * Defines sortability properties.
29
- */
30
- sort?: TableHeadCellSort | undefined;
31
- }>, {
20
+ }>, {}, 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<PTableHeadCellProps>, {
32
21
  hideLabel: boolean;
33
22
  multiline: boolean;
34
23
  }>>>, {
35
24
  hideLabel: boolean;
36
25
  multiline: boolean;
37
26
  }>, {
38
- default: (_: {}) => any;
27
+ default?(_: {}): any;
39
28
  }>;
40
29
  export default _default;
41
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -48,12 +37,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
48
37
  };
49
38
  };
50
39
  type __VLS_WithDefaults<P, D> = {
51
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
40
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
41
  default: D[K];
53
- } : P[K];
42
+ }> : P[K];
54
43
  };
55
44
  type __VLS_WithTemplateSlots<T, S> = T & {
56
45
  new (): {
57
46
  $slots: S;
47
+ $props: __VLS_PropsChildren<S>;
58
48
  };
59
49
  };
50
+ type __VLS_PropsChildren<S> = {
51
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
52
+ };
53
+ type __VLS_Prettify<T> = {
54
+ [K in keyof T]: T[K];
55
+ } & {};
@@ -1,9 +1,14 @@
1
+ /** __vue_virtual_code_placeholder */
1
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
2
- default: (_: {}) => any;
3
+ default?(_: {}): any;
3
4
  }>;
4
5
  export default _default;
5
6
  type __VLS_WithTemplateSlots<T, S> = T & {
6
7
  new (): {
7
8
  $slots: S;
9
+ $props: __VLS_PropsChildren<S>;
8
10
  };
9
11
  };
12
+ type __VLS_PropsChildren<S> = {
13
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
14
+ };
@@ -1,9 +1,14 @@
1
+ /** __vue_virtual_code_placeholder */
1
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
2
- default: (_: {}) => any;
3
+ default?(_: {}): any;
3
4
  }>;
4
5
  export default _default;
5
6
  type __VLS_WithTemplateSlots<T, S> = T & {
6
7
  new (): {
7
8
  $slots: S;
9
+ $props: __VLS_PropsChildren<S>;
8
10
  };
9
11
  };
12
+ type __VLS_PropsChildren<S> = {
13
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
14
+ };
@@ -1,9 +1,14 @@
1
+ /** __vue_virtual_code_placeholder */
1
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
2
- default: (_: {}) => any;
3
+ default?(_: {}): any;
3
4
  }>;
4
5
  export default _default;
5
6
  type __VLS_WithTemplateSlots<T, S> = T & {
6
7
  new (): {
7
8
  $slots: S;
9
+ $props: __VLS_PropsChildren<S>;
8
10
  };
9
11
  };
12
+ type __VLS_PropsChildren<S> = {
13
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
14
+ };
@@ -1,37 +1,29 @@
1
+ /** __vue_virtual_code_placeholder */
1
2
  import type { Theme } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ type PTableProps = {
3
4
  /**
4
5
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
5
6
  */
6
- caption?: string | undefined;
7
+ caption?: string;
7
8
  /**
8
9
  * Adapts the color when used on dark background.
9
10
  */
10
- theme?: "light" | "dark" | undefined;
11
- }>, {
11
+ theme?: Theme;
12
+ };
13
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTableProps>, {
12
14
  theme: string;
13
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
16
  sortingChange: (value: import("../types").TableHeadCellSort) => void;
15
- } & {
16
17
  update: (value: import("../types").TableHeadCellSort) => void;
17
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
- /**
19
- * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
20
- */
21
- caption?: string | undefined;
22
- /**
23
- * Adapts the color when used on dark background.
24
- */
25
- theme?: "light" | "dark" | undefined;
26
- }>, {
18
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTableProps>, {
27
19
  theme: string;
28
20
  }>>> & {
29
21
  onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
30
22
  onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
31
23
  }, {
32
- theme: Theme;
24
+ theme: "light" | "dark";
33
25
  }>, {
34
- default: (_: {}) => any;
26
+ default?(_: {}): any;
35
27
  }>;
36
28
  export default _default;
37
29
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -44,12 +36,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
44
36
  };
45
37
  };
46
38
  type __VLS_WithDefaults<P, D> = {
47
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
48
40
  default: D[K];
49
- } : P[K];
41
+ }> : P[K];
50
42
  };
51
43
  type __VLS_WithTemplateSlots<T, S> = T & {
52
44
  new (): {
53
45
  $slots: S;
46
+ $props: __VLS_PropsChildren<S>;
54
47
  };
55
48
  };
49
+ type __VLS_PropsChildren<S> = {
50
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
51
+ };
52
+ type __VLS_Prettify<T> = {
53
+ [K in keyof T]: T[K];
54
+ } & {};
@@ -1,5 +1,6 @@
1
- import type { TabsBarGradientColor, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { TabsBarGradientColor, TabsBarGradientColorScheme, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
3
+ type PTabsBarProps = {
3
4
  /**
4
5
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
5
6
  */
@@ -7,58 +8,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
8
  /**
8
9
  * Adapts the background gradient color of prev and next button.
9
10
  */
10
- gradientColor?: "background-base" | "background-surface" | undefined;
11
+ gradientColor?: TabsBarGradientColor;
11
12
  /**
12
13
  * @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
14
  */
14
- gradientColorScheme?: "default" | "surface" | undefined;
15
+ gradientColorScheme?: TabsBarGradientColorScheme;
15
16
  /**
16
17
  * The text size.
17
18
  */
18
- size?: BreakpointCustomizable<"small" | "medium"> | undefined;
19
+ size?: BreakpointCustomizable<TabsBarSize>;
19
20
  /**
20
21
  * Adapts the color when used on dark background.
21
22
  */
22
- theme?: "light" | "dark" | undefined;
23
+ theme?: Theme;
23
24
  /**
24
25
  * The text weight.
25
26
  */
26
- weight?: "regular" | "semi-bold" | "semibold" | undefined;
27
- }>, {
27
+ weight?: TabsBarWeight;
28
+ };
29
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTabsBarProps>, {
28
30
  gradientColor: string;
29
31
  size: string;
30
32
  theme: string;
31
33
  weight: string;
32
34
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
35
  tabChange: (value: TabsBarUpdateEvent) => void;
34
- } & {
35
36
  update: (value: TabsBarUpdateEvent) => void;
36
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
37
- /**
38
- * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
39
- */
40
- activeTabIndex?: number | undefined;
41
- /**
42
- * Adapts the background gradient color of prev and next button.
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
- */
48
- gradientColorScheme?: "default" | "surface" | undefined;
49
- /**
50
- * The text size.
51
- */
52
- size?: BreakpointCustomizable<"small" | "medium"> | undefined;
53
- /**
54
- * Adapts the color when used on dark background.
55
- */
56
- theme?: "light" | "dark" | undefined;
57
- /**
58
- * The text weight.
59
- */
60
- weight?: "regular" | "semi-bold" | "semibold" | undefined;
61
- }>, {
37
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTabsBarProps>, {
62
38
  gradientColor: string;
63
39
  size: string;
64
40
  theme: string;
@@ -67,12 +43,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
67
43
  onUpdate?: ((value: TabsBarUpdateEvent) => any) | undefined;
68
44
  onTabChange?: ((value: TabsBarUpdateEvent) => any) | undefined;
69
45
  }, {
70
- weight: TabsBarWeight;
71
- size: BreakpointCustomizable<TabsBarSize>;
72
- theme: Theme;
73
- gradientColor: TabsBarGradientColor;
46
+ weight: "regular" | "semi-bold" | "semibold";
47
+ size: BreakpointCustomizable<"small" | "medium">;
48
+ theme: "light" | "dark";
49
+ gradientColor: "background-base" | "background-surface";
74
50
  }>, {
75
- default: (_: {}) => any;
51
+ default?(_: {}): any;
76
52
  }>;
77
53
  export default _default;
78
54
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -85,12 +61,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
85
61
  };
86
62
  };
87
63
  type __VLS_WithDefaults<P, D> = {
88
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
89
65
  default: D[K];
90
- } : P[K];
66
+ }> : P[K];
91
67
  };
92
68
  type __VLS_WithTemplateSlots<T, S> = T & {
93
69
  new (): {
94
70
  $slots: S;
71
+ $props: __VLS_PropsChildren<S>;
95
72
  };
96
73
  };
74
+ type __VLS_PropsChildren<S> = {
75
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
76
+ };
77
+ type __VLS_Prettify<T> = {
78
+ [K in keyof T]: T[K];
79
+ } & {};
@@ -1,15 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ type PTabsItemProps = {
2
3
  /**
3
4
  * Defines the label used in tabs.
4
5
  */
5
6
  label: string;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- /**
8
- * Defines the label used in tabs.
9
- */
10
- label: string;
11
- }>>>, {}>, {
12
- default: (_: {}) => any;
7
+ };
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PTabsItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PTabsItemProps>>>, {}>, {
9
+ default?(_: {}): any;
13
10
  }>;
14
11
  export default _default;
15
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -24,5 +21,9 @@ type __VLS_TypePropsToRuntimeProps<T> = {
24
21
  type __VLS_WithTemplateSlots<T, S> = T & {
25
22
  new (): {
26
23
  $slots: S;
24
+ $props: __VLS_PropsChildren<S>;
27
25
  };
28
26
  };
27
+ type __VLS_PropsChildren<S> = {
28
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
29
+ };
@@ -1,30 +1,32 @@
1
- import type { TabsGradientColor, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { TabsGradientColor, TabsGradientColorScheme, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
3
+ type PTabsProps = {
3
4
  /**
4
5
  * Defines which tab to be visualized as selected (zero-based numbering).
5
6
  */
6
- activeTabIndex?: number | undefined;
7
+ activeTabIndex?: number;
7
8
  /**
8
9
  * Adapts the background gradient color of prev and next button.
9
10
  */
10
- gradientColor?: "background-base" | "background-surface" | undefined;
11
+ gradientColor?: TabsGradientColor;
11
12
  /**
12
13
  * @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
14
  */
14
- gradientColorScheme?: "default" | "surface" | undefined;
15
+ gradientColorScheme?: TabsGradientColorScheme;
15
16
  /**
16
17
  * The text size.
17
18
  */
18
- size?: BreakpointCustomizable<"small" | "medium"> | undefined;
19
+ size?: BreakpointCustomizable<TabsSize>;
19
20
  /**
20
21
  * Adapts the color when used on dark background.
21
22
  */
22
- theme?: "light" | "dark" | undefined;
23
+ theme?: Theme;
23
24
  /**
24
25
  * The text weight.
25
26
  */
26
- weight?: "regular" | "semi-bold" | "semibold" | undefined;
27
- }>, {
27
+ weight?: TabsWeight;
28
+ };
29
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTabsProps>, {
28
30
  activeTabIndex: number;
29
31
  gradientColor: string;
30
32
  size: string;
@@ -32,34 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
34
  weight: string;
33
35
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
36
  tabChange: (value: import("../types").TabsBarUpdateEvent) => void;
35
- } & {
36
37
  update: (value: import("../types").TabsBarUpdateEvent) => void;
37
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
- /**
39
- * Defines which tab to be visualized as selected (zero-based numbering).
40
- */
41
- activeTabIndex?: number | undefined;
42
- /**
43
- * Adapts the background gradient color of prev and next button.
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
- */
49
- gradientColorScheme?: "default" | "surface" | undefined;
50
- /**
51
- * The text size.
52
- */
53
- size?: BreakpointCustomizable<"small" | "medium"> | undefined;
54
- /**
55
- * Adapts the color when used on dark background.
56
- */
57
- theme?: "light" | "dark" | undefined;
58
- /**
59
- * The text weight.
60
- */
61
- weight?: "regular" | "semi-bold" | "semibold" | undefined;
62
- }>, {
38
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTabsProps>, {
63
39
  activeTabIndex: number;
64
40
  gradientColor: string;
65
41
  size: string;
@@ -69,13 +45,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
69
45
  onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
70
46
  onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
71
47
  }, {
72
- weight: TabsWeight;
73
- size: BreakpointCustomizable<TabsSize>;
74
- theme: Theme;
75
- gradientColor: TabsGradientColor;
48
+ weight: "regular" | "semi-bold" | "semibold";
49
+ size: BreakpointCustomizable<"small" | "medium">;
50
+ theme: "light" | "dark";
51
+ gradientColor: "background-base" | "background-surface";
76
52
  activeTabIndex: number;
77
53
  }>, {
78
- default: (_: {}) => any;
54
+ default?(_: {}): any;
79
55
  }>;
80
56
  export default _default;
81
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -88,12 +64,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
88
64
  };
89
65
  };
90
66
  type __VLS_WithDefaults<P, D> = {
91
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
67
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
92
68
  default: D[K];
93
- } : P[K];
69
+ }> : P[K];
94
70
  };
95
71
  type __VLS_WithTemplateSlots<T, S> = T & {
96
72
  new (): {
97
73
  $slots: S;
74
+ $props: __VLS_PropsChildren<S>;
98
75
  };
99
76
  };
77
+ type __VLS_PropsChildren<S> = {
78
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
79
+ };
80
+ type __VLS_Prettify<T> = {
81
+ [K in keyof T]: T[K];
82
+ } & {};
@@ -1,49 +1,34 @@
1
- import type { SelectedAriaAttributes, TagDismissibleColor, Theme } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { SelectedAriaAttributes, TagDismissibleAriaAttribute, TagDismissibleColor, Theme } from '../types';
3
+ type PTagDismissibleProps = {
3
4
  /**
4
5
  * Add ARIA attributes.
5
6
  */
6
- aria?: SelectedAriaAttributes<"aria-label"> | undefined;
7
+ aria?: SelectedAriaAttributes<TagDismissibleAriaAttribute>;
7
8
  /**
8
9
  * Background color variations
9
10
  */
10
- color?: "background-base" | "background-surface" | "background-default" | undefined;
11
+ color?: TagDismissibleColor;
11
12
  /**
12
13
  * The label text.
13
14
  */
14
- label?: string | undefined;
15
+ label?: string;
15
16
  /**
16
17
  * Adapts the color when used on dark background.
17
18
  */
18
- theme?: "light" | "dark" | undefined;
19
- }>, {
19
+ theme?: Theme;
20
+ };
21
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTagDismissibleProps>, {
20
22
  color: string;
21
23
  theme: string;
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<{
23
- /**
24
- * Add ARIA attributes.
25
- */
26
- aria?: SelectedAriaAttributes<"aria-label"> | undefined;
27
- /**
28
- * Background color variations
29
- */
30
- color?: "background-base" | "background-surface" | "background-default" | undefined;
31
- /**
32
- * The label text.
33
- */
34
- label?: string | undefined;
35
- /**
36
- * Adapts the color when used on dark background.
37
- */
38
- theme?: "light" | "dark" | undefined;
39
- }>, {
24
+ }>, {}, 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<PTagDismissibleProps>, {
40
25
  color: string;
41
26
  theme: string;
42
27
  }>>>, {
43
- theme: Theme;
44
- color: TagDismissibleColor;
28
+ theme: "light" | "dark";
29
+ color: "background-base" | "background-surface" | "background-default";
45
30
  }>, {
46
- default: (_: {}) => any;
31
+ default?(_: {}): any;
47
32
  }>;
48
33
  export default _default;
49
34
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -56,12 +41,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
56
41
  };
57
42
  };
58
43
  type __VLS_WithDefaults<P, D> = {
59
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
44
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
45
  default: D[K];
61
- } : P[K];
46
+ }> : P[K];
62
47
  };
63
48
  type __VLS_WithTemplateSlots<T, S> = T & {
64
49
  new (): {
65
50
  $slots: S;
51
+ $props: __VLS_PropsChildren<S>;
66
52
  };
67
53
  };
54
+ type __VLS_PropsChildren<S> = {
55
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
56
+ };
57
+ type __VLS_Prettify<T> = {
58
+ [K in keyof T]: T[K];
59
+ } & {};