@porsche-design-system/components-vue 3.0.0-rc.1 → 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.
- package/CHANGELOG.md +36 -0
- package/PorscheDesignSystemProvider.vue.d.ts +11 -3
- package/lib/components/AccordionWrapper.vue.d.ts +24 -41
- package/lib/components/BannerWrapper.vue.d.ts +25 -50
- package/lib/components/ButtonGroupWrapper.vue.d.ts +17 -13
- package/lib/components/ButtonPureWrapper.vue.d.ts +35 -80
- package/lib/components/ButtonTileWrapper.vue.d.ts +34 -82
- package/lib/components/ButtonWrapper.vue.d.ts +29 -57
- package/lib/components/CarouselWrapper.vue.d.ts +32 -74
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +23 -39
- package/lib/components/ContentWrapperWrapper.vue.d.ts +22 -28
- package/lib/components/CrestWrapper.vue.d.ts +15 -23
- package/lib/components/DisplayWrapper.vue.d.ts +26 -42
- package/lib/components/DividerWrapper.vue.d.ts +18 -30
- package/lib/components/FieldsetWrapper.vue.d.ts +24 -40
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +25 -41
- package/lib/components/FlexItemWrapper.vue.d.ts +28 -44
- package/lib/components/FlexWrapper.vue.d.ts +28 -44
- package/lib/components/GridItemWrapper.vue.d.ts +20 -20
- package/lib/components/GridWrapper.vue.d.ts +22 -27
- package/lib/components/HeadingWrapper.vue.d.ts +26 -42
- package/lib/components/HeadlineWrapper.vue.d.ts +26 -42
- package/lib/components/IconWrapper.vue.d.ts +22 -50
- package/lib/components/IconWrapper.vue.js +8 -8
- package/lib/components/InlineNotificationWrapper.vue.d.ts +27 -56
- package/lib/components/LinkPureWrapper.vue.d.ts +37 -90
- package/lib/components/LinkSocialWrapper.vue.d.ts +25 -45
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +26 -46
- package/lib/components/LinkTileWrapper.vue.d.ts +31 -75
- package/lib/components/LinkWrapper.vue.d.ts +30 -62
- package/lib/components/MarqueWrapper.vue.d.ts +19 -35
- package/lib/components/ModalWrapper.vue.d.ts +22 -43
- package/lib/components/ModelSignatureWrapper.vue.d.ts +18 -30
- package/lib/components/PaginationWrapper.vue.d.ts +22 -59
- package/lib/components/PopoverWrapper.vue.d.ts +22 -30
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +22 -34
- package/lib/components/ScrollerWrapper.vue.d.ts +33 -49
- package/lib/components/ScrollerWrapper.vue.js +4 -3
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +20 -31
- package/lib/components/SegmentedControlWrapper.vue.d.ts +20 -25
- package/lib/components/SelectWrapperWrapper.vue.d.ts +27 -55
- package/lib/components/SpinnerWrapper.vue.d.ts +16 -24
- package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +18 -17
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +19 -17
- package/lib/components/SwitchWrapper.vue.d.ts +24 -45
- package/lib/components/TableBodyWrapper.vue.d.ts +6 -1
- package/lib/components/TableCellWrapper.vue.d.ts +16 -12
- package/lib/components/TableHeadCellWrapper.vue.d.ts +18 -22
- package/lib/components/TableHeadRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableHeadWrapper.vue.d.ts +6 -1
- package/lib/components/TableRowWrapper.vue.d.ts +6 -1
- package/lib/components/TableWrapper.vue.d.ts +18 -19
- package/lib/components/TabsBarWrapper.vue.d.ts +25 -42
- package/lib/components/TabsItemWrapper.vue.d.ts +9 -8
- package/lib/components/TabsWrapper.vue.d.ts +26 -43
- package/lib/components/TagDismissibleWrapper.vue.d.ts +22 -30
- package/lib/components/TagWrapper.vue.d.ts +22 -30
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +31 -71
- package/lib/components/TextListItemWrapper.vue.d.ts +6 -1
- package/lib/components/TextListWrapper.vue.d.ts +22 -30
- package/lib/components/TextWrapper.vue.d.ts +28 -48
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +25 -49
- package/lib/components/ToastWrapper.vue.d.ts +12 -12
- package/lib/components/WordmarkWrapper.vue.d.ts +19 -35
- package/lib/types.d.ts +210 -191
- package/package.json +2 -2
|
@@ -1,82 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize, Theme } from '../types';
|
|
3
|
+
type PIconProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Add ARIA attributes.
|
|
5
6
|
*/
|
|
6
|
-
aria?: SelectedAriaAttributes<
|
|
7
|
+
aria?: SelectedAriaAttributes<IconAriaAttribute>;
|
|
7
8
|
/**
|
|
8
9
|
* Basic color variations depending on theme property.
|
|
9
10
|
*/
|
|
10
|
-
color?:
|
|
11
|
+
color?: IconColor;
|
|
11
12
|
/**
|
|
12
13
|
* Has no effect anymore
|
|
13
14
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
14
15
|
*/
|
|
15
|
-
lazy?: boolean
|
|
16
|
+
lazy?: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* Specifies which icon to use.
|
|
18
19
|
*/
|
|
19
|
-
name?:
|
|
20
|
+
name?: IconName;
|
|
20
21
|
/**
|
|
21
22
|
* The size of the icon.
|
|
22
23
|
*/
|
|
23
|
-
size?:
|
|
24
|
+
size?: IconSize;
|
|
24
25
|
/**
|
|
25
26
|
* Specifies a whole icon path which can be used for custom icons.
|
|
26
27
|
*/
|
|
27
|
-
source?: string
|
|
28
|
+
source?: string;
|
|
28
29
|
/**
|
|
29
30
|
* Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
30
31
|
*/
|
|
31
|
-
theme?:
|
|
32
|
-
}
|
|
32
|
+
theme?: Theme;
|
|
33
|
+
};
|
|
34
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PIconProps>, {
|
|
33
35
|
color: string;
|
|
34
|
-
lazy: boolean;
|
|
35
36
|
name: string;
|
|
36
37
|
size: string;
|
|
37
38
|
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<{
|
|
39
|
-
/**
|
|
40
|
-
* Add ARIA attributes.
|
|
41
|
-
*/
|
|
42
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
43
|
-
/**
|
|
44
|
-
* Basic color variations depending on theme property.
|
|
45
|
-
*/
|
|
46
|
-
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" | undefined;
|
|
47
|
-
/**
|
|
48
|
-
* Has no effect anymore
|
|
49
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
50
|
-
*/
|
|
51
|
-
lazy?: boolean | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Specifies which icon to use.
|
|
54
|
-
*/
|
|
55
|
-
name?: "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-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" | "route" | "rss" | "save" | "screen" | "search" | "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" | "switch" | "tablet" | "tachometer" | "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" | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* The size of the icon.
|
|
58
|
-
*/
|
|
59
|
-
size?: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* Specifies a whole icon path which can be used for custom icons.
|
|
62
|
-
*/
|
|
63
|
-
source?: string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
66
|
-
*/
|
|
67
|
-
theme?: "light" | "dark" | undefined;
|
|
68
|
-
}>, {
|
|
39
|
+
}>, {}, 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>, {
|
|
69
40
|
color: string;
|
|
70
|
-
lazy: boolean;
|
|
71
41
|
name: string;
|
|
72
42
|
size: string;
|
|
73
43
|
theme: string;
|
|
74
44
|
}>>>, {
|
|
75
|
-
size:
|
|
76
|
-
theme:
|
|
77
|
-
color:
|
|
78
|
-
|
|
79
|
-
name: IconName;
|
|
45
|
+
size: "inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large";
|
|
46
|
+
theme: "light" | "dark";
|
|
47
|
+
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";
|
|
48
|
+
name: "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-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" | "route" | "rss" | "save" | "screen" | "search" | "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" | "switch" | "tablet" | "tachometer" | "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";
|
|
80
49
|
}>;
|
|
81
50
|
export default _default;
|
|
82
51
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -89,7 +58,10 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
89
58
|
};
|
|
90
59
|
};
|
|
91
60
|
type __VLS_WithDefaults<P, D> = {
|
|
92
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
61
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
93
62
|
default: D[K];
|
|
94
|
-
} : P[K];
|
|
63
|
+
}> : P[K];
|
|
95
64
|
};
|
|
65
|
+
type __VLS_Prettify<T> = {
|
|
66
|
+
[K in keyof T]: T[K];
|
|
67
|
+
} & {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as a, ref as
|
|
2
|
-
import { getPrefixedTagName as
|
|
1
|
+
import { defineComponent as a, ref as p, onMounted as l, onUpdated as c, openBlock as m, createBlock as s, resolveDynamicComponent as f, unref as u } from "vue";
|
|
2
|
+
import { getPrefixedTagName as i, syncProperties as n } from "../../utils.js";
|
|
3
3
|
const C = /* @__PURE__ */ a({
|
|
4
4
|
__name: "IconWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: null,
|
|
7
7
|
color: { default: "primary" },
|
|
8
|
-
lazy: { type: Boolean
|
|
8
|
+
lazy: { type: Boolean },
|
|
9
9
|
name: { default: "arrow-right" },
|
|
10
10
|
size: { default: "small" },
|
|
11
11
|
source: null,
|
|
12
12
|
theme: { default: "light" }
|
|
13
13
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const o =
|
|
16
|
-
return
|
|
14
|
+
setup(r) {
|
|
15
|
+
const o = r, t = i("p-icon"), e = p();
|
|
16
|
+
return l(() => {
|
|
17
17
|
n(e.value, o);
|
|
18
|
-
}),
|
|
18
|
+
}), c(() => {
|
|
19
19
|
n(e.value, o);
|
|
20
|
-
}), (
|
|
20
|
+
}), (d, _) => (m(), s(f(u(t)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, null, 512));
|
|
@@ -1,42 +1,44 @@
|
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
1
2
|
import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
|
|
2
|
-
|
|
3
|
+
type PInlineNotificationProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Action icon of the inline-notification.
|
|
5
6
|
*/
|
|
6
|
-
actionIcon?:
|
|
7
|
+
actionIcon?: InlineNotificationActionIcon;
|
|
7
8
|
/**
|
|
8
9
|
* Action label of the inline-notification.
|
|
9
10
|
*/
|
|
10
|
-
actionLabel?: string
|
|
11
|
+
actionLabel?: string;
|
|
11
12
|
/**
|
|
12
13
|
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
13
14
|
*/
|
|
14
|
-
actionLoading?: boolean
|
|
15
|
+
actionLoading?: boolean;
|
|
15
16
|
/**
|
|
16
17
|
* Description of the inline-notification.
|
|
17
18
|
*/
|
|
18
|
-
description?: string
|
|
19
|
+
description?: string;
|
|
19
20
|
/**
|
|
20
21
|
* If false, the inline-notification will not have a dismiss button.
|
|
21
22
|
*/
|
|
22
|
-
dismissButton?: boolean
|
|
23
|
+
dismissButton?: boolean;
|
|
23
24
|
/**
|
|
24
25
|
* Heading of the inline-notification.
|
|
25
26
|
*/
|
|
26
|
-
heading?: string
|
|
27
|
+
heading?: string;
|
|
27
28
|
/**
|
|
28
29
|
* @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
|
*/
|
|
30
|
-
persistent?: boolean
|
|
31
|
+
persistent?: boolean;
|
|
31
32
|
/**
|
|
32
33
|
* State of the inline-notification.
|
|
33
34
|
*/
|
|
34
|
-
state?:
|
|
35
|
+
state?: InlineNotificationState;
|
|
35
36
|
/**
|
|
36
37
|
* Adapts the inline-notification color depending on the theme.
|
|
37
38
|
*/
|
|
38
|
-
theme?:
|
|
39
|
-
}
|
|
39
|
+
theme?: Theme;
|
|
40
|
+
};
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PInlineNotificationProps>, {
|
|
40
42
|
actionIcon: string;
|
|
41
43
|
actionLoading: boolean;
|
|
42
44
|
description: string;
|
|
@@ -46,46 +48,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
48
|
theme: string;
|
|
47
49
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
50
|
action: (value?: void | undefined) => void;
|
|
49
|
-
} & {
|
|
50
51
|
dismiss: (value?: void | undefined) => void;
|
|
51
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
52
|
-
/**
|
|
53
|
-
* Action icon of the inline-notification.
|
|
54
|
-
*/
|
|
55
|
-
actionIcon?: "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-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" | "route" | "rss" | "save" | "screen" | "search" | "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" | "switch" | "tablet" | "tachometer" | "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" | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Action label of the inline-notification.
|
|
58
|
-
*/
|
|
59
|
-
actionLabel?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
62
|
-
*/
|
|
63
|
-
actionLoading?: boolean | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* Description of the inline-notification.
|
|
66
|
-
*/
|
|
67
|
-
description?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* If false, the inline-notification will not have a dismiss button.
|
|
70
|
-
*/
|
|
71
|
-
dismissButton?: boolean | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Heading of the inline-notification.
|
|
74
|
-
*/
|
|
75
|
-
heading?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* @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.
|
|
78
|
-
*/
|
|
79
|
-
persistent?: boolean | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* State of the inline-notification.
|
|
82
|
-
*/
|
|
83
|
-
state?: "success" | "warning" | "error" | "info" | "neutral" | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Adapts the inline-notification color depending on the theme.
|
|
86
|
-
*/
|
|
87
|
-
theme?: "light" | "dark" | undefined;
|
|
88
|
-
}>, {
|
|
52
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PInlineNotificationProps>, {
|
|
89
53
|
actionIcon: string;
|
|
90
54
|
actionLoading: boolean;
|
|
91
55
|
description: string;
|
|
@@ -98,14 +62,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
98
62
|
onAction?: ((value?: void | undefined) => any) | undefined;
|
|
99
63
|
}, {
|
|
100
64
|
heading: string;
|
|
101
|
-
theme:
|
|
65
|
+
theme: "light" | "dark";
|
|
102
66
|
description: string;
|
|
103
67
|
dismissButton: boolean;
|
|
104
|
-
state:
|
|
105
|
-
actionIcon:
|
|
68
|
+
state: "success" | "warning" | "error" | "info" | "neutral";
|
|
69
|
+
actionIcon: "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-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" | "route" | "rss" | "save" | "screen" | "search" | "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" | "switch" | "tablet" | "tachometer" | "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";
|
|
106
70
|
actionLoading: boolean;
|
|
107
71
|
}>, {
|
|
108
|
-
default
|
|
72
|
+
default?(_: {}): any;
|
|
109
73
|
}>;
|
|
110
74
|
export default _default;
|
|
111
75
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -118,12 +82,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
118
82
|
};
|
|
119
83
|
};
|
|
120
84
|
type __VLS_WithDefaults<P, D> = {
|
|
121
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
85
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
122
86
|
default: D[K];
|
|
123
|
-
} : P[K];
|
|
87
|
+
}> : P[K];
|
|
124
88
|
};
|
|
125
89
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
126
90
|
new (): {
|
|
127
91
|
$slots: S;
|
|
92
|
+
$props: __VLS_PropsChildren<S>;
|
|
128
93
|
};
|
|
129
94
|
};
|
|
95
|
+
type __VLS_PropsChildren<S> = {
|
|
96
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
97
|
+
};
|
|
98
|
+
type __VLS_Prettify<T> = {
|
|
99
|
+
[K in keyof T]: T[K];
|
|
100
|
+
} & {};
|
|
@@ -1,67 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/** __vue_virtual_code_placeholder */
|
|
2
|
+
import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes, LinkPureAriaAttribute, LinkPureIcon, LinkPureSize, LinkPureTarget, Theme, LinkPureWeight } from '../types';
|
|
3
|
+
type PLinkPureProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Display link in active state.
|
|
5
6
|
*/
|
|
6
|
-
active?: boolean
|
|
7
|
+
active?: boolean;
|
|
7
8
|
/**
|
|
8
9
|
* Aligns the label.
|
|
9
10
|
*/
|
|
10
|
-
alignLabel?: BreakpointCustomizable<
|
|
11
|
+
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
11
12
|
/**
|
|
12
13
|
* Add ARIA attributes.
|
|
13
14
|
*/
|
|
14
|
-
aria?: SelectedAriaAttributes<
|
|
15
|
+
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
15
16
|
/**
|
|
16
17
|
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
17
18
|
*/
|
|
18
|
-
download?: string
|
|
19
|
+
download?: string;
|
|
19
20
|
/**
|
|
20
21
|
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
21
22
|
*/
|
|
22
|
-
hideLabel?: BreakpointCustomizable<boolean
|
|
23
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
23
24
|
/**
|
|
24
25
|
* When providing an url then the component will be rendered as `<a>`.
|
|
25
26
|
*/
|
|
26
|
-
href?: string
|
|
27
|
+
href?: string;
|
|
27
28
|
/**
|
|
28
29
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
29
30
|
*/
|
|
30
|
-
icon?:
|
|
31
|
+
icon?: LinkPureIcon;
|
|
31
32
|
/**
|
|
32
33
|
* A URL path to a custom icon.
|
|
33
34
|
*/
|
|
34
|
-
iconSource?: string
|
|
35
|
+
iconSource?: string;
|
|
35
36
|
/**
|
|
36
37
|
* Specifies the relationship of the target object to the link object.
|
|
37
38
|
*/
|
|
38
|
-
rel?: string
|
|
39
|
+
rel?: string;
|
|
39
40
|
/**
|
|
40
41
|
* Size of the link.
|
|
41
42
|
*/
|
|
42
|
-
size?: BreakpointCustomizable<
|
|
43
|
+
size?: BreakpointCustomizable<LinkPureSize>;
|
|
43
44
|
/**
|
|
44
45
|
* Stretches the area between icon and label to max available space.
|
|
45
46
|
*/
|
|
46
|
-
stretch?: BreakpointCustomizable<boolean
|
|
47
|
+
stretch?: BreakpointCustomizable<boolean>;
|
|
47
48
|
/**
|
|
48
49
|
* Target attribute where the link should be opened.
|
|
49
50
|
*/
|
|
50
|
-
target?:
|
|
51
|
+
target?: LinkPureTarget;
|
|
51
52
|
/**
|
|
52
53
|
* Adapts the button color depending on the theme.
|
|
53
54
|
*/
|
|
54
|
-
theme?:
|
|
55
|
+
theme?: Theme;
|
|
55
56
|
/**
|
|
56
57
|
* Shows an underline under the label.
|
|
57
58
|
*/
|
|
58
|
-
underline?: boolean
|
|
59
|
+
underline?: boolean;
|
|
59
60
|
/**
|
|
60
61
|
* The weight of the text (only has effect with visible label).
|
|
61
62
|
* @deprecated since v3.0.0, will be removed with next major release
|
|
62
63
|
*/
|
|
63
|
-
weight?:
|
|
64
|
-
}
|
|
64
|
+
weight?: LinkPureWeight;
|
|
65
|
+
};
|
|
66
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PLinkPureProps>, {
|
|
65
67
|
active: boolean;
|
|
66
68
|
alignLabel: string;
|
|
67
69
|
hideLabel: boolean;
|
|
@@ -72,69 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
72
74
|
theme: string;
|
|
73
75
|
underline: boolean;
|
|
74
76
|
weight: string;
|
|
75
|
-
}>, {}, 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<{
|
|
76
|
-
/**
|
|
77
|
-
* Display link in active state.
|
|
78
|
-
*/
|
|
79
|
-
active?: boolean | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Aligns the label.
|
|
82
|
-
*/
|
|
83
|
-
alignLabel?: BreakpointCustomizable<"left" | "right"> | undefined;
|
|
84
|
-
/**
|
|
85
|
-
* Add ARIA attributes.
|
|
86
|
-
*/
|
|
87
|
-
aria?: SelectedAriaAttributes<"aria-label"> | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Special download attribute to open native browser download dialog if target url points to a downloadable file.
|
|
90
|
-
*/
|
|
91
|
-
download?: string | undefined;
|
|
92
|
-
/**
|
|
93
|
-
* Show or hide label. For better accessibility it is recommended to show the label.
|
|
94
|
-
*/
|
|
95
|
-
hideLabel?: BreakpointCustomizable<boolean> | undefined;
|
|
96
|
-
/**
|
|
97
|
-
* When providing an url then the component will be rendered as `<a>`.
|
|
98
|
-
*/
|
|
99
|
-
href?: string | undefined;
|
|
100
|
-
/**
|
|
101
|
-
* The icon shown. By choosing 'none', no icon is displayed
|
|
102
|
-
*/
|
|
103
|
-
icon?: import("../types").LinkButtonIconName | undefined;
|
|
104
|
-
/**
|
|
105
|
-
* A URL path to a custom icon.
|
|
106
|
-
*/
|
|
107
|
-
iconSource?: string | undefined;
|
|
108
|
-
/**
|
|
109
|
-
* Specifies the relationship of the target object to the link object.
|
|
110
|
-
*/
|
|
111
|
-
rel?: string | undefined;
|
|
112
|
-
/**
|
|
113
|
-
* Size of the link.
|
|
114
|
-
*/
|
|
115
|
-
size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
116
|
-
/**
|
|
117
|
-
* Stretches the area between icon and label to max available space.
|
|
118
|
-
*/
|
|
119
|
-
stretch?: BreakpointCustomizable<boolean> | undefined;
|
|
120
|
-
/**
|
|
121
|
-
* Target attribute where the link should be opened.
|
|
122
|
-
*/
|
|
123
|
-
target?: string | undefined;
|
|
124
|
-
/**
|
|
125
|
-
* Adapts the button color depending on the theme.
|
|
126
|
-
*/
|
|
127
|
-
theme?: "light" | "dark" | undefined;
|
|
128
|
-
/**
|
|
129
|
-
* Shows an underline under the label.
|
|
130
|
-
*/
|
|
131
|
-
underline?: boolean | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* The weight of the text (only has effect with visible label).
|
|
134
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
135
|
-
*/
|
|
136
|
-
weight?: "regular" | "semi-bold" | "bold" | "thin" | "semibold" | undefined;
|
|
137
|
-
}>, {
|
|
77
|
+
}>, {}, 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<PLinkPureProps>, {
|
|
138
78
|
active: boolean;
|
|
139
79
|
alignLabel: string;
|
|
140
80
|
hideLabel: boolean;
|
|
@@ -146,18 +86,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
146
86
|
underline: boolean;
|
|
147
87
|
weight: string;
|
|
148
88
|
}>>>, {
|
|
149
|
-
weight:
|
|
89
|
+
weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
|
|
150
90
|
stretch: BreakpointCustomizable<boolean>;
|
|
151
|
-
size: BreakpointCustomizable<
|
|
152
|
-
theme:
|
|
91
|
+
size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
|
|
92
|
+
theme: "light" | "dark";
|
|
153
93
|
active: boolean;
|
|
154
|
-
alignLabel: BreakpointCustomizable<
|
|
94
|
+
alignLabel: BreakpointCustomizable<"left" | "right">;
|
|
155
95
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
156
|
-
icon:
|
|
157
|
-
target:
|
|
96
|
+
icon: import("../types").LinkButtonIconName;
|
|
97
|
+
target: string;
|
|
158
98
|
underline: boolean;
|
|
159
99
|
}>, {
|
|
160
|
-
default
|
|
100
|
+
default?(_: {}): any;
|
|
161
101
|
}>;
|
|
162
102
|
export default _default;
|
|
163
103
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -170,12 +110,19 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
170
110
|
};
|
|
171
111
|
};
|
|
172
112
|
type __VLS_WithDefaults<P, D> = {
|
|
173
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
113
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
174
114
|
default: D[K];
|
|
175
|
-
} : P[K];
|
|
115
|
+
}> : P[K];
|
|
176
116
|
};
|
|
177
117
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
178
118
|
new (): {
|
|
179
119
|
$slots: S;
|
|
120
|
+
$props: __VLS_PropsChildren<S>;
|
|
180
121
|
};
|
|
181
122
|
};
|
|
123
|
+
type __VLS_PropsChildren<S> = {
|
|
124
|
+
[K in keyof (boolean extends (JSX.ElementChildrenAttribute extends never ? true : false) ? never : JSX.ElementChildrenAttribute)]?: S;
|
|
125
|
+
};
|
|
126
|
+
type __VLS_Prettify<T> = {
|
|
127
|
+
[K in keyof T]: T[K];
|
|
128
|
+
} & {};
|