@porsche-design-system/components-vue 3.0.0-rc.0 → 3.0.0-rc.2

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 (67) hide show
  1. package/CHANGELOG.md +87 -25
  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 +29 -34
  11. package/lib/components/CheckboxWrapperWrapper.vue.js +6 -5
  12. package/lib/components/ContentWrapperWrapper.vue.d.ts +22 -28
  13. package/lib/components/CrestWrapper.vue.d.ts +15 -23
  14. package/lib/components/DisplayWrapper.vue.d.ts +26 -42
  15. package/lib/components/DividerWrapper.vue.d.ts +18 -30
  16. package/lib/components/FieldsetWrapper.vue.d.ts +24 -40
  17. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +25 -41
  18. package/lib/components/FlexItemWrapper.vue.d.ts +28 -44
  19. package/lib/components/FlexWrapper.vue.d.ts +28 -44
  20. package/lib/components/GridItemWrapper.vue.d.ts +20 -20
  21. package/lib/components/GridWrapper.vue.d.ts +22 -27
  22. package/lib/components/HeadingWrapper.vue.d.ts +26 -42
  23. package/lib/components/HeadlineWrapper.vue.d.ts +26 -42
  24. package/lib/components/IconWrapper.vue.d.ts +22 -50
  25. package/lib/components/IconWrapper.vue.js +8 -8
  26. package/lib/components/InlineNotificationWrapper.vue.d.ts +27 -56
  27. package/lib/components/LinkPureWrapper.vue.d.ts +37 -90
  28. package/lib/components/LinkSocialWrapper.vue.d.ts +25 -45
  29. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +26 -46
  30. package/lib/components/LinkTileWrapper.vue.d.ts +31 -75
  31. package/lib/components/LinkWrapper.vue.d.ts +30 -62
  32. package/lib/components/MarqueWrapper.vue.d.ts +19 -35
  33. package/lib/components/ModalWrapper.vue.d.ts +22 -43
  34. package/lib/components/ModelSignatureWrapper.vue.d.ts +18 -30
  35. package/lib/components/PaginationWrapper.vue.d.ts +22 -59
  36. package/lib/components/PopoverWrapper.vue.d.ts +22 -30
  37. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +22 -34
  38. package/lib/components/ScrollerWrapper.vue.d.ts +33 -49
  39. package/lib/components/ScrollerWrapper.vue.js +4 -3
  40. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +20 -31
  41. package/lib/components/SegmentedControlWrapper.vue.d.ts +20 -25
  42. package/lib/components/SelectWrapperWrapper.vue.d.ts +27 -55
  43. package/lib/components/SpinnerWrapper.vue.d.ts +16 -24
  44. package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +18 -17
  45. package/lib/components/StepperHorizontalWrapper.vue.d.ts +19 -17
  46. package/lib/components/SwitchWrapper.vue.d.ts +24 -45
  47. package/lib/components/TableBodyWrapper.vue.d.ts +6 -1
  48. package/lib/components/TableCellWrapper.vue.d.ts +16 -12
  49. package/lib/components/TableHeadCellWrapper.vue.d.ts +18 -22
  50. package/lib/components/TableHeadRowWrapper.vue.d.ts +6 -1
  51. package/lib/components/TableHeadWrapper.vue.d.ts +6 -1
  52. package/lib/components/TableRowWrapper.vue.d.ts +6 -1
  53. package/lib/components/TableWrapper.vue.d.ts +18 -19
  54. package/lib/components/TabsBarWrapper.vue.d.ts +25 -42
  55. package/lib/components/TabsItemWrapper.vue.d.ts +9 -8
  56. package/lib/components/TabsWrapper.vue.d.ts +26 -43
  57. package/lib/components/TagDismissibleWrapper.vue.d.ts +22 -30
  58. package/lib/components/TagWrapper.vue.d.ts +22 -30
  59. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +31 -71
  60. package/lib/components/TextListItemWrapper.vue.d.ts +6 -1
  61. package/lib/components/TextListWrapper.vue.d.ts +22 -30
  62. package/lib/components/TextWrapper.vue.d.ts +28 -48
  63. package/lib/components/TextareaWrapperWrapper.vue.d.ts +25 -49
  64. package/lib/components/ToastWrapper.vue.d.ts +12 -12
  65. package/lib/components/WordmarkWrapper.vue.d.ts +19 -35
  66. package/lib/types.d.ts +219 -191
  67. package/package.json +2 -2
@@ -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
+ } & {};
@@ -1,49 +1,34 @@
1
- import type { TagColor, Theme } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { TagColor, TagIcon, Theme } from '../types';
3
+ type PTagProps = {
3
4
  /**
4
5
  * Background color variations depending on theme property.
5
6
  */
6
- color?: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft" | undefined;
7
+ color?: TagColor;
7
8
  /**
8
9
  * The icon shown.
9
10
  */
10
- icon?: "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out" | undefined;
11
+ icon?: TagIcon;
11
12
  /**
12
13
  * A URL path to a custom icon.
13
14
  */
14
- iconSource?: string | undefined;
15
+ iconSource?: string;
15
16
  /**
16
17
  * Adapts the tag color depending on the theme.
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<PTagProps>, {
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
- * Background color variations depending on theme property.
25
- */
26
- color?: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft" | undefined;
27
- /**
28
- * The icon shown.
29
- */
30
- icon?: "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "document" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "grid" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "list" | "locate" | "lock" | "lock-open" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "route" | "rss" | "save" | "screen" | "search" | "send" | "share" | "shopping-bag" | "shopping-cart" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "switch" | "tablet" | "tachometer" | "truck" | "upload" | "user" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out" | undefined;
31
- /**
32
- * A URL path to a custom icon.
33
- */
34
- iconSource?: string | undefined;
35
- /**
36
- * Adapts the tag color depending on the theme.
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<PTagProps>, {
40
25
  color: string;
41
26
  theme: string;
42
27
  }>>>, {
43
- theme: Theme;
44
- color: TagColor;
28
+ theme: "light" | "dark";
29
+ color: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft";
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
+ } & {};
@@ -1,54 +1,56 @@
1
- import type { BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
3
+ type PTextFieldWrapperProps = {
3
4
  /**
4
5
  * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
5
6
  */
6
- actionIcon?: "locate" | undefined;
7
+ actionIcon?: TextFieldWrapperActionIcon;
7
8
  /**
8
9
  * Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
9
10
  */
10
- actionLoading?: boolean | undefined;
11
+ actionLoading?: boolean;
11
12
  /**
12
13
  * The description text.
13
14
  */
14
- description?: string | undefined;
15
+ description?: string;
15
16
  /**
16
17
  * Show or hide label and description text. For better accessibility it is recommended to show the label.
17
18
  */
18
- hideLabel?: BreakpointCustomizable<boolean> | undefined;
19
+ hideLabel?: BreakpointCustomizable<boolean>;
19
20
  /**
20
21
  * The label text.
21
22
  */
22
- label?: string | undefined;
23
+ label?: string;
23
24
  /**
24
25
  * The message styled depending on validation state.
25
26
  */
26
- message?: string | undefined;
27
+ message?: string;
27
28
  /**
28
29
  * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
29
30
  */
30
- showCharacterCount?: boolean | undefined;
31
+ showCharacterCount?: boolean;
31
32
  /**
32
33
  * Show or hide max character count.
33
34
  */
34
- showCounter?: boolean | undefined;
35
+ showCounter?: boolean;
35
36
  /**
36
37
  * The validation state.
37
38
  */
38
- state?: "success" | "none" | "error" | undefined;
39
+ state?: TextFieldWrapperState;
39
40
  /**
40
41
  * Adapts the color depending on the theme.
41
42
  */
42
- theme?: "light" | "dark" | undefined;
43
+ theme?: Theme;
43
44
  /**
44
45
  * The unit text.
45
46
  */
46
- unit?: string | undefined;
47
+ unit?: string;
47
48
  /**
48
49
  * The unit position.
49
50
  */
50
- unitPosition?: "prefix" | "suffix" | undefined;
51
- }>, {
51
+ unitPosition?: TextFieldWrapperUnitPosition;
52
+ };
53
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextFieldWrapperProps>, {
52
54
  actionLoading: boolean;
53
55
  description: string;
54
56
  hideLabel: boolean;
@@ -61,56 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
63
  unitPosition: string;
62
64
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
65
  action: (value?: void | undefined) => void;
64
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
65
- /**
66
- * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
67
- */
68
- actionIcon?: "locate" | undefined;
69
- /**
70
- * Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
71
- */
72
- actionLoading?: boolean | undefined;
73
- /**
74
- * The description text.
75
- */
76
- description?: string | undefined;
77
- /**
78
- * Show or hide label and description text. For better accessibility it is recommended to show the label.
79
- */
80
- hideLabel?: BreakpointCustomizable<boolean> | undefined;
81
- /**
82
- * The label text.
83
- */
84
- label?: string | undefined;
85
- /**
86
- * The message styled depending on validation state.
87
- */
88
- message?: string | undefined;
89
- /**
90
- * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
91
- */
92
- showCharacterCount?: boolean | undefined;
93
- /**
94
- * Show or hide max character count.
95
- */
96
- showCounter?: boolean | undefined;
97
- /**
98
- * The validation state.
99
- */
100
- state?: "success" | "none" | "error" | undefined;
101
- /**
102
- * Adapts the color depending on the theme.
103
- */
104
- theme?: "light" | "dark" | undefined;
105
- /**
106
- * The unit text.
107
- */
108
- unit?: string | undefined;
109
- /**
110
- * The unit position.
111
- */
112
- unitPosition?: "prefix" | "suffix" | undefined;
113
- }>, {
66
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextFieldWrapperProps>, {
114
67
  actionLoading: boolean;
115
68
  description: string;
116
69
  hideLabel: boolean;
@@ -125,17 +78,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
125
78
  onAction?: ((value?: void | undefined) => any) | undefined;
126
79
  }, {
127
80
  label: string;
128
- theme: Theme;
81
+ theme: "light" | "dark";
129
82
  description: string;
130
- state: TextFieldWrapperState;
83
+ state: "success" | "none" | "error";
131
84
  hideLabel: BreakpointCustomizable<boolean>;
132
85
  message: string;
133
86
  actionLoading: boolean;
134
87
  showCounter: boolean;
135
88
  unit: string;
136
- unitPosition: TextFieldWrapperUnitPosition;
89
+ unitPosition: "prefix" | "suffix";
137
90
  }>, {
138
- default: (_: {}) => any;
91
+ default?(_: {}): any;
139
92
  }>;
140
93
  export default _default;
141
94
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -148,12 +101,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
148
101
  };
149
102
  };
150
103
  type __VLS_WithDefaults<P, D> = {
151
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
104
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
152
105
  default: D[K];
153
- } : P[K];
106
+ }> : P[K];
154
107
  };
155
108
  type __VLS_WithTemplateSlots<T, S> = T & {
156
109
  new (): {
157
110
  $slots: S;
111
+ $props: __VLS_PropsChildren<S>;
158
112
  };
159
113
  };
114
+ type __VLS_PropsChildren<S> = {
115
+ [K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
116
+ };
117
+ type __VLS_Prettify<T> = {
118
+ [K in keyof T]: T[K];
119
+ } & {};
@@ -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,49 +1,34 @@
1
- import type { Theme, TextListType } from '../types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ /** __vue_virtual_code_placeholder */
2
+ import type { TextListListType, TextListOrderType, Theme, TextListType } from '../types';
3
+ type PTextListProps = {
3
4
  /**
4
5
  * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
5
6
  */
6
- listType?: "unordered" | "ordered" | undefined;
7
+ listType?: TextListListType;
7
8
  /**
8
9
  * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
9
10
  */
10
- orderType?: "numbered" | "alphabetically" | undefined;
11
+ orderType?: TextListOrderType;
11
12
  /**
12
13
  * Adapts the text color depending on the theme.
13
14
  */
14
- theme?: "light" | "dark" | undefined;
15
+ theme?: Theme;
15
16
  /**
16
17
  * The list style type.
17
18
  */
18
- type?: "unordered" | "numbered" | "alphabetically" | undefined;
19
- }>, {
19
+ type?: TextListType;
20
+ };
21
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextListProps>, {
20
22
  theme: string;
21
23
  type: 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
- * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
25
- */
26
- listType?: "unordered" | "ordered" | undefined;
27
- /**
28
- * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
29
- */
30
- orderType?: "numbered" | "alphabetically" | undefined;
31
- /**
32
- * Adapts the text color depending on the theme.
33
- */
34
- theme?: "light" | "dark" | undefined;
35
- /**
36
- * The list style type.
37
- */
38
- type?: "unordered" | "numbered" | "alphabetically" | 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<PTextListProps>, {
40
25
  theme: string;
41
26
  type: string;
42
27
  }>>>, {
43
- theme: Theme;
44
- type: TextListType;
28
+ type: "unordered" | "numbered" | "alphabetically";
29
+ theme: "light" | "dark";
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
+ } & {};