@porsche-design-system/components-vue 3.2.0-rc.0 → 3.3.0-rc.0

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 (60) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/PorscheDesignSystemProvider.vue.d.ts +11 -26
  3. package/lib/components/AccordionWrapper.vue.d.ts +47 -54
  4. package/lib/components/BannerWrapper.vue.d.ts +66 -69
  5. package/lib/components/ButtonGroupWrapper.vue.d.ts +16 -33
  6. package/lib/components/ButtonPureWrapper.vue.d.ts +104 -98
  7. package/lib/components/ButtonTileWrapper.vue.d.ts +112 -99
  8. package/lib/components/ButtonWrapper.vue.d.ts +72 -73
  9. package/lib/components/CarouselWrapper.vue.d.ts +97 -91
  10. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +52 -59
  11. package/lib/components/ContentWrapperWrapper.vue.d.ts +27 -43
  12. package/lib/components/CrestWrapper.vue.d.ts +24 -37
  13. package/lib/components/DisplayWrapper.vue.d.ts +50 -57
  14. package/lib/components/DividerWrapper.vue.d.ts +34 -45
  15. package/lib/components/FieldsetWrapper.vue.d.ts +51 -59
  16. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +51 -59
  17. package/lib/components/FlexItemWrapper.vue.d.ts +52 -59
  18. package/lib/components/FlexWrapper.vue.d.ts +52 -59
  19. package/lib/components/FlyoutWrapper.vue.d.ts +37 -46
  20. package/lib/components/GridItemWrapper.vue.d.ts +20 -35
  21. package/lib/components/GridWrapper.vue.d.ts +34 -48
  22. package/lib/components/HeadingWrapper.vue.d.ts +50 -57
  23. package/lib/components/HeadlineWrapper.vue.d.ts +50 -57
  24. package/lib/components/IconWrapper.vue.d.ts +54 -60
  25. package/lib/components/InlineNotificationWrapper.vue.d.ts +72 -74
  26. package/lib/components/LinkPureWrapper.vue.d.ts +114 -104
  27. package/lib/components/LinkSocialWrapper.vue.d.ts +52 -57
  28. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +62 -65
  29. package/lib/components/LinkTileWrapper.vue.d.ts +102 -89
  30. package/lib/components/LinkWrapper.vue.d.ts +74 -73
  31. package/lib/components/MarqueWrapper.vue.d.ts +48 -55
  32. package/lib/components/ModalWrapper.vue.d.ts +57 -60
  33. package/lib/components/ModelSignatureWrapper.vue.d.ts +35 -47
  34. package/lib/components/PaginationWrapper.vue.d.ts +101 -94
  35. package/lib/components/PopoverWrapper.vue.d.ts +32 -43
  36. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +44 -53
  37. package/lib/components/ScrollerWrapper.vue.d.ts +60 -63
  38. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +37 -45
  39. package/lib/components/SegmentedControlWrapper.vue.d.ts +25 -38
  40. package/lib/components/SelectWrapperWrapper.vue.d.ts +76 -77
  41. package/lib/components/SpinnerWrapper.vue.d.ts +26 -39
  42. package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +17 -33
  43. package/lib/components/StepperHorizontalWrapper.vue.d.ts +21 -33
  44. package/lib/components/SwitchWrapper.vue.d.ts +61 -66
  45. package/lib/components/TableCellWrapper.vue.d.ts +11 -28
  46. package/lib/components/TableHeadCellWrapper.vue.d.ts +25 -38
  47. package/lib/components/TableWrapper.vue.d.ts +18 -34
  48. package/lib/components/TabsBarWrapper.vue.d.ts +49 -56
  49. package/lib/components/TabsItemWrapper.vue.d.ts +11 -16
  50. package/lib/components/TabsWrapper.vue.d.ts +51 -58
  51. package/lib/components/TagDismissibleWrapper.vue.d.ts +32 -43
  52. package/lib/components/TagWrapper.vue.d.ts +31 -43
  53. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +105 -98
  54. package/lib/components/TextListWrapper.vue.d.ts +31 -43
  55. package/lib/components/TextWrapper.vue.d.ts +60 -65
  56. package/lib/components/TextareaWrapperWrapper.vue.d.ts +66 -69
  57. package/lib/components/ToastWrapper.vue.d.ts +11 -29
  58. package/lib/components/WordmarkWrapper.vue.d.ts +40 -49
  59. package/lib/types.d.ts +27 -2
  60. package/package.json +2 -2
@@ -1,43 +1,53 @@
1
- import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag, Theme } from '../types';
2
- type PHeadingProps = {
3
- /**
4
- * Text alignment of the component.
5
- */
6
- align?: HeadingAlign;
7
- /**
8
- * Basic text color variations depending on theme property.
9
- */
10
- color?: HeadingColor;
11
- /**
12
- * Adds an ellipsis to a single line of text if it overflows.
13
- */
14
- ellipsis?: boolean;
15
- /**
16
- * Size of the component. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
17
- */
18
- size?: BreakpointCustomizable<HeadingSize>;
19
- /**
20
- * Sets a custom HTML tag depending on the usage of the heading component.
21
- */
22
- tag?: HeadingTag;
23
- /**
24
- * Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
25
- */
26
- theme?: Theme;
27
- };
28
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PHeadingProps>, {
29
- align: string;
30
- color: string;
31
- ellipsis: boolean;
32
- size: string;
33
- theme: string;
34
- }>, {}, 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<PHeadingProps>, {
35
- align: string;
36
- color: string;
37
- ellipsis: boolean;
38
- size: string;
39
- theme: string;
40
- }>>>, {
1
+ import type { BreakpointCustomizable } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ size: {
4
+ type: import("vue").PropType<BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large">>;
5
+ default: string;
6
+ };
7
+ tag: {
8
+ type: import("vue").PropType<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
9
+ };
10
+ theme: {
11
+ type: import("vue").PropType<"light" | "dark">;
12
+ default: string;
13
+ };
14
+ align: {
15
+ type: import("vue").PropType<"center" | "left" | "right">;
16
+ default: string;
17
+ };
18
+ color: {
19
+ type: import("vue").PropType<"inherit" | "primary">;
20
+ default: string;
21
+ };
22
+ ellipsis: {
23
+ type: import("vue").PropType<boolean>;
24
+ default: boolean;
25
+ };
26
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
+ size: {
28
+ type: import("vue").PropType<BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large">>;
29
+ default: string;
30
+ };
31
+ tag: {
32
+ type: import("vue").PropType<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
33
+ };
34
+ theme: {
35
+ type: import("vue").PropType<"light" | "dark">;
36
+ default: string;
37
+ };
38
+ align: {
39
+ type: import("vue").PropType<"center" | "left" | "right">;
40
+ default: string;
41
+ };
42
+ color: {
43
+ type: import("vue").PropType<"inherit" | "primary">;
44
+ default: string;
45
+ };
46
+ ellipsis: {
47
+ type: import("vue").PropType<boolean>;
48
+ default: boolean;
49
+ };
50
+ }>>, {
41
51
  size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large">;
42
52
  theme: "light" | "dark";
43
53
  align: "center" | "left" | "right";
@@ -47,25 +57,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
47
57
  default?(_: {}): any;
48
58
  }>;
49
59
  export default _default;
50
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
- type __VLS_TypePropsToRuntimeProps<T> = {
52
- [K in keyof T]-?: {} extends Pick<T, K> ? {
53
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
- } : {
55
- type: import('vue').PropType<T[K]>;
56
- required: true;
57
- };
58
- };
59
- type __VLS_WithDefaults<P, D> = {
60
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
61
- default: D[K];
62
- }> : P[K];
63
- };
64
60
  type __VLS_WithTemplateSlots<T, S> = T & {
65
61
  new (): {
66
62
  $slots: S;
67
63
  };
68
64
  };
69
- type __VLS_Prettify<T> = {
70
- [K in keyof T]: T[K];
71
- } & {};
@@ -1,44 +1,54 @@
1
- import type { HeadlineAlign, HeadlineColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
2
- type PHeadlineProps = {
3
- /**
4
- * Text alignment of the component.
5
- */
6
- align?: HeadlineAlign;
7
- /**
8
- * Basic text color variations depending on theme property.
9
- */
10
- color?: HeadlineColor;
11
- /**
12
- * Adds an ellipsis to a single line of text if it overflows.
13
- */
14
- ellipsis?: boolean;
15
- /**
16
- * Sets a custom HTML tag depending on the usage of the headline component.
17
- */
18
- tag?: HeadlineTag;
19
- /**
20
- * Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
21
- */
22
- theme?: Theme;
23
- /**
24
- * Predefined style of the headline.
25
- */
26
- variant?: HeadlineVariant;
27
- };
1
+ import type { HeadlineVariant } from '../types';
28
2
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
29
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PHeadlineProps>, {
30
- align: string;
31
- color: string;
32
- ellipsis: boolean;
33
- theme: string;
34
- variant: string;
35
- }>, {}, 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<PHeadlineProps>, {
36
- align: string;
37
- color: string;
38
- ellipsis: boolean;
39
- theme: string;
40
- variant: string;
41
- }>>>, {
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
+ tag: {
5
+ type: import("vue").PropType<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
6
+ };
7
+ theme: {
8
+ type: import("vue").PropType<"light" | "dark">;
9
+ default: string;
10
+ };
11
+ align: {
12
+ type: import("vue").PropType<"center" | "left" | "right">;
13
+ default: string;
14
+ };
15
+ variant: {
16
+ type: import("vue").PropType<HeadlineVariant>;
17
+ default: string;
18
+ };
19
+ color: {
20
+ type: import("vue").PropType<"default" | "inherit" | "primary">;
21
+ default: string;
22
+ };
23
+ ellipsis: {
24
+ type: import("vue").PropType<boolean>;
25
+ default: boolean;
26
+ };
27
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ tag: {
29
+ type: import("vue").PropType<"h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
30
+ };
31
+ theme: {
32
+ type: import("vue").PropType<"light" | "dark">;
33
+ default: string;
34
+ };
35
+ align: {
36
+ type: import("vue").PropType<"center" | "left" | "right">;
37
+ default: string;
38
+ };
39
+ variant: {
40
+ type: import("vue").PropType<HeadlineVariant>;
41
+ default: string;
42
+ };
43
+ color: {
44
+ type: import("vue").PropType<"default" | "inherit" | "primary">;
45
+ default: string;
46
+ };
47
+ ellipsis: {
48
+ type: import("vue").PropType<boolean>;
49
+ default: boolean;
50
+ };
51
+ }>>, {
42
52
  theme: "light" | "dark";
43
53
  align: "center" | "left" | "right";
44
54
  variant: HeadlineVariant;
@@ -48,25 +58,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
58
  default?(_: {}): any;
49
59
  }>;
50
60
  export default _default;
51
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
52
- type __VLS_TypePropsToRuntimeProps<T> = {
53
- [K in keyof T]-?: {} extends Pick<T, K> ? {
54
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
55
- } : {
56
- type: import('vue').PropType<T[K]>;
57
- required: true;
58
- };
59
- };
60
- type __VLS_WithDefaults<P, D> = {
61
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
62
- default: D[K];
63
- }> : P[K];
64
- };
65
61
  type __VLS_WithTemplateSlots<T, S> = T & {
66
62
  new (): {
67
63
  $slots: S;
68
64
  };
69
65
  };
70
- type __VLS_Prettify<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
@@ -1,66 +1,60 @@
1
- import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize, Theme } from '../types';
2
- type PIconProps = {
3
- /**
4
- * Add ARIA attributes.
5
- */
6
- aria?: SelectedAriaAttributes<IconAriaAttribute>;
7
- /**
8
- * Basic color variations depending on theme property.
9
- */
10
- color?: IconColor;
11
- /**
12
- * Has no effect anymore
13
- * @deprecated since v3.0.0, will be removed with next major release
14
- */
15
- lazy?: boolean;
16
- /**
17
- * Specifies which icon to use.
18
- */
19
- name?: IconName;
20
- /**
21
- * The size of the icon.
22
- */
23
- size?: IconSize;
24
- /**
25
- * Specifies a whole icon path which can be used for custom icons.
26
- */
27
- source?: string;
28
- /**
29
- * Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
30
- */
31
- theme?: Theme;
32
- };
33
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PIconProps>, {
34
- color: string;
35
- name: string;
36
- size: string;
37
- theme: string;
38
- }>, {}, 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<PIconProps>, {
39
- color: string;
40
- name: string;
41
- size: string;
42
- theme: string;
43
- }>>>, {
1
+ import type { SelectedAriaAttributes } from '../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ source: {
4
+ type: import("vue").PropType<string>;
5
+ };
6
+ size: {
7
+ type: import("vue").PropType<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
8
+ default: string;
9
+ };
10
+ theme: {
11
+ type: import("vue").PropType<"light" | "dark">;
12
+ default: string;
13
+ };
14
+ aria: {
15
+ type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
16
+ };
17
+ color: {
18
+ type: import("vue").PropType<"default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled">;
19
+ default: string;
20
+ };
21
+ lazy: {
22
+ type: import("vue").PropType<boolean>;
23
+ };
24
+ name: {
25
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
26
+ default: string;
27
+ };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ source: {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ size: {
33
+ type: import("vue").PropType<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
34
+ default: string;
35
+ };
36
+ theme: {
37
+ type: import("vue").PropType<"light" | "dark">;
38
+ default: string;
39
+ };
40
+ aria: {
41
+ type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
42
+ };
43
+ color: {
44
+ type: import("vue").PropType<"default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled">;
45
+ default: string;
46
+ };
47
+ lazy: {
48
+ type: import("vue").PropType<boolean>;
49
+ };
50
+ name: {
51
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
52
+ default: string;
53
+ };
54
+ }>>, {
44
55
  size: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large";
45
56
  theme: "light" | "dark";
46
57
  color: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | "state-disabled";
47
58
  name: "list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out";
48
59
  }, {}>;
49
60
  export default _default;
50
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
- type __VLS_TypePropsToRuntimeProps<T> = {
52
- [K in keyof T]-?: {} extends Pick<T, K> ? {
53
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
54
- } : {
55
- type: import('vue').PropType<T[K]>;
56
- required: true;
57
- };
58
- };
59
- type __VLS_WithDefaults<P, D> = {
60
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
61
- default: D[K];
62
- }> : P[K];
63
- };
64
- type __VLS_Prettify<T> = {
65
- [K in keyof T]: T[K];
66
- } & {};
@@ -1,62 +1,77 @@
1
- import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
2
- type PInlineNotificationProps = {
3
- /**
4
- * Action icon of the inline-notification.
5
- */
6
- actionIcon?: InlineNotificationActionIcon;
7
- /**
8
- * Action label of the inline-notification.
9
- */
10
- actionLabel?: string;
11
- /**
12
- * Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
13
- */
14
- actionLoading?: boolean;
15
- /**
16
- * Description of the inline-notification.
17
- */
18
- description?: string;
19
- /**
20
- * If false, the inline-notification will not have a dismiss button.
21
- */
22
- dismissButton?: boolean;
23
- /**
24
- * Heading of the inline-notification.
25
- */
26
- heading?: string;
27
- /**
28
- * @deprecated since v3.0.0, will be removed with next major release, use `dismissButton` instead. Defines if the inline-notification can be closed/removed by the user.
29
- */
30
- persistent?: boolean;
31
- /**
32
- * State of the inline-notification.
33
- */
34
- state?: InlineNotificationState;
35
- /**
36
- * Adapts the inline-notification color depending on the theme.
37
- */
38
- theme?: Theme;
39
- };
40
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PInlineNotificationProps>, {
41
- actionIcon: string;
42
- actionLoading: boolean;
43
- description: string;
44
- dismissButton: boolean;
45
- heading: string;
46
- state: string;
47
- theme: string;
48
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ heading: {
3
+ type: import("vue").PropType<string>;
4
+ default: string;
5
+ };
6
+ theme: {
7
+ type: import("vue").PropType<"light" | "dark">;
8
+ default: string;
9
+ };
10
+ description: {
11
+ type: import("vue").PropType<string>;
12
+ default: string;
13
+ };
14
+ dismissButton: {
15
+ type: import("vue").PropType<boolean>;
16
+ default: boolean;
17
+ };
18
+ persistent: {
19
+ type: import("vue").PropType<boolean>;
20
+ };
21
+ state: {
22
+ type: import("vue").PropType<"success" | "warning" | "error" | "info" | "neutral">;
23
+ default: string;
24
+ };
25
+ actionIcon: {
26
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
27
+ default: string;
28
+ };
29
+ actionLabel: {
30
+ type: import("vue").PropType<string>;
31
+ };
32
+ actionLoading: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
37
  action: (value?: void | undefined) => void;
50
38
  dismiss: (value?: void | undefined) => void;
51
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PInlineNotificationProps>, {
52
- actionIcon: string;
53
- actionLoading: boolean;
54
- description: string;
55
- dismissButton: boolean;
56
- heading: string;
57
- state: string;
58
- theme: string;
59
- }>>> & {
39
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
40
+ heading: {
41
+ type: import("vue").PropType<string>;
42
+ default: string;
43
+ };
44
+ theme: {
45
+ type: import("vue").PropType<"light" | "dark">;
46
+ default: string;
47
+ };
48
+ description: {
49
+ type: import("vue").PropType<string>;
50
+ default: string;
51
+ };
52
+ dismissButton: {
53
+ type: import("vue").PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ persistent: {
57
+ type: import("vue").PropType<boolean>;
58
+ };
59
+ state: {
60
+ type: import("vue").PropType<"success" | "warning" | "error" | "info" | "neutral">;
61
+ default: string;
62
+ };
63
+ actionIcon: {
64
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "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" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "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-spotify" | "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" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
65
+ default: string;
66
+ };
67
+ actionLabel: {
68
+ type: import("vue").PropType<string>;
69
+ };
70
+ actionLoading: {
71
+ type: import("vue").PropType<boolean>;
72
+ default: boolean;
73
+ };
74
+ }>> & {
60
75
  onDismiss?: ((value?: void | undefined) => any) | undefined;
61
76
  onAction?: ((value?: void | undefined) => any) | undefined;
62
77
  }, {
@@ -71,25 +86,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
71
86
  default?(_: {}): any;
72
87
  }>;
73
88
  export default _default;
74
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
- type __VLS_TypePropsToRuntimeProps<T> = {
76
- [K in keyof T]-?: {} extends Pick<T, K> ? {
77
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
- } : {
79
- type: import('vue').PropType<T[K]>;
80
- required: true;
81
- };
82
- };
83
- type __VLS_WithDefaults<P, D> = {
84
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
85
- default: D[K];
86
- }> : P[K];
87
- };
88
89
  type __VLS_WithTemplateSlots<T, S> = T & {
89
90
  new (): {
90
91
  $slots: S;
91
92
  };
92
93
  };
93
- type __VLS_Prettify<T> = {
94
- [K in keyof T]: T[K];
95
- } & {};