@porsche-design-system/components-vue 2.20.0 → 3.0.0-alpha.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.
- package/CHANGELOG.md +401 -3
- package/lib/components/AccordionWrapper.vue.d.ts +5 -5
- package/lib/components/BannerWrapper.vue.d.ts +2 -2
- package/lib/components/BannerWrapper.vue.js +9 -9
- package/lib/components/ButtonPureWrapper.vue.d.ts +13 -24
- package/lib/components/ButtonPureWrapper.vue.js +7 -8
- package/lib/components/ButtonWrapper.vue.d.ts +9 -22
- package/lib/components/ButtonWrapper.vue.js +12 -13
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +12 -1
- package/lib/components/CheckboxWrapperWrapper.vue.js +13 -12
- package/lib/components/ContentWrapperWrapper.vue.d.ts +11 -6
- package/lib/components/DisplayWrapper.vue.d.ts +92 -0
- package/lib/components/DisplayWrapper.vue.js +32 -0
- package/lib/components/DisplayWrapper.vue2.js +4 -0
- package/lib/components/DividerWrapper.vue.d.ts +2 -2
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +12 -1
- package/lib/components/FieldsetWrapperWrapper.vue.js +11 -10
- package/lib/components/FlexItemWrapper.vue.d.ts +3 -2
- package/lib/components/FlexWrapper.vue.d.ts +1 -0
- package/lib/components/GridItemWrapper.vue.d.ts +5 -4
- package/lib/components/GridWrapper.vue.d.ts +5 -2
- package/lib/components/HeadingWrapper.vue.d.ts +92 -0
- package/lib/components/HeadingWrapper.vue.js +32 -0
- package/lib/components/HeadingWrapper.vue2.js +4 -0
- package/lib/components/HeadlineWrapper.vue.d.ts +8 -7
- package/lib/components/HeadlineWrapper.vue.js +5 -5
- package/lib/components/IconWrapper.vue.d.ts +17 -15
- package/lib/components/IconWrapper.vue.js +7 -7
- package/lib/components/InlineNotificationWrapper.vue.d.ts +4 -4
- package/lib/components/InlineNotificationWrapper.vue.js +7 -7
- package/lib/components/LinkPureWrapper.vue.d.ts +24 -11
- package/lib/components/LinkPureWrapper.vue.js +6 -5
- package/lib/components/LinkSocialWrapper.vue.d.ts +1 -0
- package/lib/components/LinkWrapper.vue.d.ts +9 -9
- package/lib/components/LinkWrapper.vue.js +10 -10
- package/lib/components/PopoverWrapper.vue.d.ts +12 -1
- package/lib/components/PopoverWrapper.vue.js +9 -8
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +12 -1
- package/lib/components/RadioButtonWrapperWrapper.vue.js +7 -6
- package/lib/components/ScrollerWrapper.vue.d.ts +4 -4
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -3
- package/lib/components/SegmentedControlWrapper.vue.d.ts +3 -6
- package/lib/components/SegmentedControlWrapper.vue.js +14 -14
- package/lib/components/SpinnerWrapper.vue.d.ts +6 -6
- package/lib/components/SwitchWrapper.vue.d.ts +4 -17
- package/lib/components/SwitchWrapper.vue.js +7 -8
- package/lib/components/TabsBarWrapper.vue.d.ts +4 -4
- package/lib/components/TabsWrapper.vue.d.ts +4 -4
- package/lib/components/TagDismissibleWrapper.vue.d.ts +14 -3
- package/lib/components/TagDismissibleWrapper.vue.js +13 -12
- package/lib/components/TagWrapper.vue.d.ts +5 -5
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +12 -1
- package/lib/components/TextFieldWrapperWrapper.vue.js +8 -7
- package/lib/components/TextWrapper.vue.d.ts +9 -9
- package/lib/components/TextWrapper.vue.js +7 -7
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +12 -1
- package/lib/components/TextareaWrapperWrapper.vue.js +10 -9
- package/lib/components/index.d.ts +2 -0
- package/lib/types.d.ts +275 -42
- package/package.json +2 -2
- package/partials/esm/{partials.js → index.js} +0 -0
- package/partials/{partials.d.ts → index.d.ts} +0 -0
- package/partials/{partials.js → index.js} +0 -0
- package/partials/package.json +3 -3
- package/public-api.js +94 -90
- package/styles/esm/index.js +1 -0
- package/styles/index.d.ts +1 -0
- package/styles/index.js +12 -0
- package/styles/package.json +6 -0
- package/styles/scss.scss +1 -0
- package/{testing.d.ts → testing/index.d.ts} +0 -0
- package/testing/{testing.js → index.js} +0 -0
- package/jsdom-polyfill.d.ts +0 -1
- package/testing/package.json +0 -5
- package/testing/testing.d.ts +0 -1
- package/utilities/js/esm/js.js +0 -1
- package/utilities/js/js.d.ts +0 -1
- package/utilities/js/js.js +0 -12
- package/utilities/js/package.json +0 -6
- package/utilities/scss.scss +0 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, Theme } from '../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/**
|
|
4
|
+
* Text alignment of the component.
|
|
5
|
+
*/
|
|
6
|
+
align?: "center" | "left" | "right" | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Basic text color variations depending on theme property.
|
|
9
|
+
*/
|
|
10
|
+
color?: "primary" | "inherit" | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Adds an ellipsis to a single line of text if it overflows.
|
|
13
|
+
*/
|
|
14
|
+
ellipsis?: boolean | undefined;
|
|
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<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large"> | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Sets a custom HTML tag depending on the usage of the heading component.
|
|
21
|
+
*/
|
|
22
|
+
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
25
|
+
*/
|
|
26
|
+
theme?: "light" | "dark" | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
align: string;
|
|
29
|
+
color: string;
|
|
30
|
+
ellipsis: boolean;
|
|
31
|
+
size: string;
|
|
32
|
+
theme: string;
|
|
33
|
+
}>, {}, 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<{
|
|
34
|
+
/**
|
|
35
|
+
* Text alignment of the component.
|
|
36
|
+
*/
|
|
37
|
+
align?: "center" | "left" | "right" | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Basic text color variations depending on theme property.
|
|
40
|
+
*/
|
|
41
|
+
color?: "primary" | "inherit" | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Adds an ellipsis to a single line of text if it overflows.
|
|
44
|
+
*/
|
|
45
|
+
ellipsis?: boolean | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* 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.
|
|
48
|
+
*/
|
|
49
|
+
size?: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large" | "xxx-large"> | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Sets a custom HTML tag depending on the usage of the heading component.
|
|
52
|
+
*/
|
|
53
|
+
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
56
|
+
*/
|
|
57
|
+
theme?: "light" | "dark" | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
align: string;
|
|
60
|
+
color: string;
|
|
61
|
+
ellipsis: boolean;
|
|
62
|
+
size: string;
|
|
63
|
+
theme: string;
|
|
64
|
+
}>>>, {
|
|
65
|
+
size: BreakpointCustomizable<HeadingSize>;
|
|
66
|
+
theme: Theme;
|
|
67
|
+
align: HeadingAlign;
|
|
68
|
+
color: HeadingColor;
|
|
69
|
+
ellipsis: boolean;
|
|
70
|
+
}>, {
|
|
71
|
+
default: (_: {}) => any;
|
|
72
|
+
}>;
|
|
73
|
+
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 ? P[K] & {
|
|
85
|
+
default: D[K];
|
|
86
|
+
} : P[K];
|
|
87
|
+
};
|
|
88
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
89
|
+
new (): {
|
|
90
|
+
$slots: S;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as f, onUpdated as s, openBlock as d, createBlock as i, resolveDynamicComponent as u, unref as m, withCtx as c, renderSlot as g } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as o } from "../../utils.js";
|
|
3
|
+
const y = /* @__PURE__ */ l({
|
|
4
|
+
__name: "HeadingWrapper",
|
|
5
|
+
props: {
|
|
6
|
+
align: { default: "left" },
|
|
7
|
+
color: { default: "primary" },
|
|
8
|
+
ellipsis: { type: Boolean, default: !1 },
|
|
9
|
+
size: { default: "xx-large" },
|
|
10
|
+
tag: null,
|
|
11
|
+
theme: { default: "light" }
|
|
12
|
+
},
|
|
13
|
+
setup(n) {
|
|
14
|
+
const t = n, a = _("p-heading"), e = p();
|
|
15
|
+
return f(() => {
|
|
16
|
+
o(e.value, t);
|
|
17
|
+
}), s(() => {
|
|
18
|
+
o(e.value, t);
|
|
19
|
+
}), (r, C) => (d(), i(u(m(a)), {
|
|
20
|
+
ref_key: "pdsComponentRef",
|
|
21
|
+
ref: e
|
|
22
|
+
}, {
|
|
23
|
+
default: c(() => [
|
|
24
|
+
g(r.$slots, "default")
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 512));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
y as default
|
|
32
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { HeadlineAlign, HeadlineColor, Theme, HeadlineVariant } from '../types';
|
|
2
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
/**
|
|
4
5
|
* Text alignment of the component.
|
|
@@ -7,13 +8,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
8
|
/**
|
|
8
9
|
* Basic text color variations depending on theme property.
|
|
9
10
|
*/
|
|
10
|
-
color?: "default" | "inherit" | undefined;
|
|
11
|
+
color?: "default" | "primary" | "inherit" | undefined;
|
|
11
12
|
/**
|
|
12
13
|
* Adds an ellipsis to a single line of text if it overflows.
|
|
13
14
|
*/
|
|
14
15
|
ellipsis?: boolean | undefined;
|
|
15
16
|
/**
|
|
16
|
-
* Sets a custom HTML tag depending
|
|
17
|
+
* Sets a custom HTML tag depending on the usage of the headline component.
|
|
17
18
|
*/
|
|
18
19
|
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
19
20
|
/**
|
|
@@ -38,13 +39,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
39
|
/**
|
|
39
40
|
* Basic text color variations depending on theme property.
|
|
40
41
|
*/
|
|
41
|
-
color?: "default" | "inherit" | undefined;
|
|
42
|
+
color?: "default" | "primary" | "inherit" | undefined;
|
|
42
43
|
/**
|
|
43
44
|
* Adds an ellipsis to a single line of text if it overflows.
|
|
44
45
|
*/
|
|
45
46
|
ellipsis?: boolean | undefined;
|
|
46
47
|
/**
|
|
47
|
-
* Sets a custom HTML tag depending
|
|
48
|
+
* Sets a custom HTML tag depending on the usage of the headline component.
|
|
48
49
|
*/
|
|
49
50
|
tag?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
50
51
|
/**
|
|
@@ -64,8 +65,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
64
65
|
}>>>, {
|
|
65
66
|
theme: Theme;
|
|
66
67
|
variant: HeadlineVariant;
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
align: HeadlineAlign;
|
|
69
|
+
color: HeadlineColor;
|
|
69
70
|
ellipsis: boolean;
|
|
70
71
|
}>, {
|
|
71
72
|
default: (_: {}) => any;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as r, ref as p, onMounted as f, onUpdated as d, openBlock as s, createBlock as
|
|
1
|
+
import { defineComponent as r, ref as p, onMounted as f, onUpdated as d, openBlock as s, createBlock as i, resolveDynamicComponent as u, unref as m, withCtx as c, renderSlot as _ } from "vue";
|
|
2
2
|
import { getPrefixedTagName as g, syncProperties as o } from "../../utils.js";
|
|
3
|
-
const
|
|
3
|
+
const v = /* @__PURE__ */ r({
|
|
4
4
|
__name: "HeadlineWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
align: { default: "left" },
|
|
7
|
-
color: { default: "
|
|
7
|
+
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
tag: null,
|
|
10
10
|
theme: { default: "light" },
|
|
@@ -16,7 +16,7 @@ const y = /* @__PURE__ */ r({
|
|
|
16
16
|
o(e.value, t);
|
|
17
17
|
}), d(() => {
|
|
18
18
|
o(e.value, t);
|
|
19
|
-
}), (l, h) => (s(), u(
|
|
19
|
+
}), (l, h) => (s(), i(u(m(a)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: e
|
|
22
22
|
}, {
|
|
@@ -28,5 +28,5 @@ const y = /* @__PURE__ */ r({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
v as default
|
|
32
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SelectedAriaAttributes,
|
|
1
|
+
import type { SelectedAriaAttributes, IconColor, IconName, IconSize, Theme } from '../types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Add ARIA attributes.
|
|
@@ -7,27 +7,28 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
7
7
|
/**
|
|
8
8
|
* Basic color variations depending on theme property.
|
|
9
9
|
*/
|
|
10
|
-
color?: "default" | "
|
|
10
|
+
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Has no effect anymore
|
|
13
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
13
14
|
*/
|
|
14
15
|
lazy?: boolean | undefined;
|
|
15
16
|
/**
|
|
16
17
|
* Specifies which icon to use.
|
|
17
18
|
*/
|
|
18
|
-
name?:
|
|
19
|
+
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-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;
|
|
19
20
|
/**
|
|
20
21
|
* The size of the icon.
|
|
21
22
|
*/
|
|
22
|
-
size?: "small" | "medium" | "large" | "
|
|
23
|
+
size?: "inherit" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
|
|
23
24
|
/**
|
|
24
25
|
* Specifies a whole icon path which can be used for custom icons.
|
|
25
26
|
*/
|
|
26
27
|
source?: string | undefined;
|
|
27
28
|
/**
|
|
28
|
-
* Adapts the
|
|
29
|
+
* Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
29
30
|
*/
|
|
30
|
-
theme?: "light" | "dark" |
|
|
31
|
+
theme?: "light" | "dark" | undefined;
|
|
31
32
|
}>, {
|
|
32
33
|
color: string;
|
|
33
34
|
lazy: boolean;
|
|
@@ -42,27 +43,28 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
42
43
|
/**
|
|
43
44
|
* Basic color variations depending on theme property.
|
|
44
45
|
*/
|
|
45
|
-
color?: "default" | "
|
|
46
|
+
color?: "default" | "primary" | "brand" | "contrast-low" | "neutral-contrast-low" | "contrast-medium" | "neutral-contrast-medium" | "contrast-high" | "neutral-contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "notification-neutral" | "inherit" | undefined;
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
+
* Has no effect anymore
|
|
49
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
48
50
|
*/
|
|
49
51
|
lazy?: boolean | undefined;
|
|
50
52
|
/**
|
|
51
53
|
* Specifies which icon to use.
|
|
52
54
|
*/
|
|
53
|
-
name?:
|
|
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-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;
|
|
54
56
|
/**
|
|
55
57
|
* The size of the icon.
|
|
56
58
|
*/
|
|
57
|
-
size?: "small" | "medium" | "large" | "
|
|
59
|
+
size?: "inherit" | "x-small" | "small" | "medium" | "large" | "x-large" | undefined;
|
|
58
60
|
/**
|
|
59
61
|
* Specifies a whole icon path which can be used for custom icons.
|
|
60
62
|
*/
|
|
61
63
|
source?: string | undefined;
|
|
62
64
|
/**
|
|
63
|
-
* Adapts the
|
|
65
|
+
* Adapts the color depending on the theme. Has no effect when "inherit" is set as color prop.
|
|
64
66
|
*/
|
|
65
|
-
theme?: "light" | "dark" |
|
|
67
|
+
theme?: "light" | "dark" | undefined;
|
|
66
68
|
}>, {
|
|
67
69
|
color: string;
|
|
68
70
|
lazy: boolean;
|
|
@@ -71,8 +73,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
71
73
|
theme: string;
|
|
72
74
|
}>>>, {
|
|
73
75
|
size: IconSize;
|
|
74
|
-
theme:
|
|
75
|
-
color:
|
|
76
|
+
theme: Theme;
|
|
77
|
+
color: IconColor;
|
|
76
78
|
lazy: boolean;
|
|
77
79
|
name: IconName;
|
|
78
80
|
}>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as a, ref as l, onMounted as p, onUpdated as f, openBlock as s, createBlock as c, resolveDynamicComponent as m, unref as u } from "vue";
|
|
2
2
|
import { getPrefixedTagName as d, syncProperties as n } from "../../utils.js";
|
|
3
|
-
const
|
|
3
|
+
const C = /* @__PURE__ */ a({
|
|
4
4
|
__name: "IconWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: null,
|
|
7
|
-
color: { default: "
|
|
7
|
+
color: { default: "primary" },
|
|
8
8
|
lazy: { type: Boolean, default: !1 },
|
|
9
|
-
name: { default: "arrow-
|
|
9
|
+
name: { default: "arrow-right" },
|
|
10
10
|
size: { default: "small" },
|
|
11
11
|
source: null,
|
|
12
12
|
theme: { default: "light" }
|
|
13
13
|
},
|
|
14
14
|
setup(t) {
|
|
15
|
-
const o = t,
|
|
15
|
+
const o = t, r = d("p-icon"), e = l();
|
|
16
16
|
return p(() => {
|
|
17
17
|
n(e.value, o);
|
|
18
18
|
}), f(() => {
|
|
19
19
|
n(e.value, o);
|
|
20
|
-
}), (i, _) => (s(),
|
|
20
|
+
}), (i, _) => (s(), c(m(u(r)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, null, 512));
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
C as default
|
|
28
28
|
};
|
|
@@ -3,7 +3,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
/**
|
|
4
4
|
* Action icon of the inline-notification.
|
|
5
5
|
*/
|
|
6
|
-
actionIcon?:
|
|
6
|
+
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-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;
|
|
7
7
|
/**
|
|
8
8
|
* Action label of the inline-notification.
|
|
9
9
|
*/
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
/**
|
|
28
28
|
* State of the inline-notification.
|
|
29
29
|
*/
|
|
30
|
-
state?: "success" | "warning" | "error" | "neutral" | undefined;
|
|
30
|
+
state?: "success" | "warning" | "error" | "info" | "neutral" | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* Adapts the inline-notification color depending on the theme.
|
|
33
33
|
*/
|
|
@@ -48,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
/**
|
|
49
49
|
* Action icon of the inline-notification.
|
|
50
50
|
*/
|
|
51
|
-
actionIcon?:
|
|
51
|
+
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-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;
|
|
52
52
|
/**
|
|
53
53
|
* Action label of the inline-notification.
|
|
54
54
|
*/
|
|
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
72
72
|
/**
|
|
73
73
|
* State of the inline-notification.
|
|
74
74
|
*/
|
|
75
|
-
state?: "success" | "warning" | "error" | "neutral" | undefined;
|
|
75
|
+
state?: "success" | "warning" | "error" | "info" | "neutral" | undefined;
|
|
76
76
|
/**
|
|
77
77
|
* Adapts the inline-notification color depending on the theme.
|
|
78
78
|
*/
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as s, ref as
|
|
1
|
+
import { defineComponent as s, ref as f, onMounted as d, onUpdated as p, openBlock as c, createBlock as u, resolveDynamicComponent as m, unref as g, withCtx as _, renderSlot as h } from "vue";
|
|
2
2
|
import { getPrefixedTagName as v, syncProperties as o, addEventListenerToElementRef as a } from "../../utils.js";
|
|
3
3
|
const k = /* @__PURE__ */ s({
|
|
4
4
|
__name: "InlineNotificationWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
actionIcon: { default: "arrow-
|
|
6
|
+
actionIcon: { default: "arrow-right" },
|
|
7
7
|
actionLabel: null,
|
|
8
8
|
actionLoading: { type: Boolean, default: !1 },
|
|
9
9
|
description: { default: "" },
|
|
10
10
|
heading: { default: "" },
|
|
11
11
|
persistent: { type: Boolean, default: !1 },
|
|
12
|
-
state: { default: "
|
|
12
|
+
state: { default: "info" },
|
|
13
13
|
theme: { default: "light" }
|
|
14
14
|
},
|
|
15
15
|
emits: ["action", "dismiss"],
|
|
16
16
|
setup(i, { emit: t }) {
|
|
17
|
-
const n = i, l = v("p-inline-notification"), e =
|
|
18
|
-
return
|
|
17
|
+
const n = i, l = v("p-inline-notification"), e = f();
|
|
18
|
+
return d(() => {
|
|
19
19
|
o(e.value, n), a(e.value, "action", t), a(e.value, "dismiss", t);
|
|
20
20
|
}), p(() => {
|
|
21
21
|
o(e.value, n);
|
|
@@ -23,8 +23,8 @@ const k = /* @__PURE__ */ s({
|
|
|
23
23
|
ref_key: "pdsComponentRef",
|
|
24
24
|
ref: e
|
|
25
25
|
}, {
|
|
26
|
-
default:
|
|
27
|
-
|
|
26
|
+
default: _(() => [
|
|
27
|
+
h(r.$slots, "default")
|
|
28
28
|
]),
|
|
29
29
|
_: 3
|
|
30
30
|
}, 512));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes,
|
|
1
|
+
import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonIconName, TextSize, LinkTarget, Theme, TextWeight } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* Display link in active state.
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
/**
|
|
28
28
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
29
29
|
*/
|
|
30
|
-
icon?:
|
|
30
|
+
icon?: LinkButtonIconName | undefined;
|
|
31
31
|
/**
|
|
32
32
|
* A URL path to a custom icon.
|
|
33
33
|
*/
|
|
@@ -39,7 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
39
|
/**
|
|
40
40
|
* Size of the link.
|
|
41
41
|
*/
|
|
42
|
-
size?: BreakpointCustomizable<"x-small" | "small" | "medium" | "large" | "x-large"
|
|
42
|
+
size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Stretches the area between icon and label to max available space.
|
|
45
45
|
*/
|
|
@@ -51,11 +51,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
51
|
/**
|
|
52
52
|
* Adapts the button color depending on the theme.
|
|
53
53
|
*/
|
|
54
|
-
theme?: "light" | "dark" |
|
|
54
|
+
theme?: "light" | "dark" | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Shows an underline under the label.
|
|
57
|
+
*/
|
|
58
|
+
underline?: boolean | undefined;
|
|
55
59
|
/**
|
|
56
60
|
* The weight of the text (only has effect with visible label).
|
|
61
|
+
* @deprecated since v3.0.0, will be removed with next major release
|
|
57
62
|
*/
|
|
58
|
-
weight?: "thin" | "regular" | "semibold" | "bold" | undefined;
|
|
63
|
+
weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
|
|
59
64
|
}>, {
|
|
60
65
|
active: boolean;
|
|
61
66
|
alignLabel: string;
|
|
@@ -65,6 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
65
70
|
stretch: boolean;
|
|
66
71
|
target: string;
|
|
67
72
|
theme: string;
|
|
73
|
+
underline: boolean;
|
|
68
74
|
weight: string;
|
|
69
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<{
|
|
70
76
|
/**
|
|
@@ -94,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
100
|
/**
|
|
95
101
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
96
102
|
*/
|
|
97
|
-
icon?:
|
|
103
|
+
icon?: LinkButtonIconName | undefined;
|
|
98
104
|
/**
|
|
99
105
|
* A URL path to a custom icon.
|
|
100
106
|
*/
|
|
@@ -106,7 +112,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
112
|
/**
|
|
107
113
|
* Size of the link.
|
|
108
114
|
*/
|
|
109
|
-
size?: BreakpointCustomizable<"x-small" | "small" | "medium" | "large" | "x-large"
|
|
115
|
+
size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
110
116
|
/**
|
|
111
117
|
* Stretches the area between icon and label to max available space.
|
|
112
118
|
*/
|
|
@@ -118,11 +124,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
124
|
/**
|
|
119
125
|
* Adapts the button color depending on the theme.
|
|
120
126
|
*/
|
|
121
|
-
theme?: "light" | "dark" |
|
|
127
|
+
theme?: "light" | "dark" | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Shows an underline under the label.
|
|
130
|
+
*/
|
|
131
|
+
underline?: boolean | undefined;
|
|
122
132
|
/**
|
|
123
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
|
|
124
135
|
*/
|
|
125
|
-
weight?: "thin" | "regular" | "semibold" | "bold" | undefined;
|
|
136
|
+
weight?: "thin" | "regular" | "semibold" | "semi-bold" | "bold" | undefined;
|
|
126
137
|
}>, {
|
|
127
138
|
active: boolean;
|
|
128
139
|
alignLabel: string;
|
|
@@ -132,17 +143,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
132
143
|
stretch: boolean;
|
|
133
144
|
target: string;
|
|
134
145
|
theme: string;
|
|
146
|
+
underline: boolean;
|
|
135
147
|
weight: string;
|
|
136
148
|
}>>>, {
|
|
137
149
|
weight: TextWeight;
|
|
138
150
|
stretch: BreakpointCustomizable<boolean>;
|
|
139
151
|
size: BreakpointCustomizable<TextSize>;
|
|
140
|
-
theme:
|
|
152
|
+
theme: Theme;
|
|
141
153
|
active: boolean;
|
|
142
154
|
alignLabel: BreakpointCustomizable<AlignLabel>;
|
|
143
155
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
144
|
-
icon:
|
|
156
|
+
icon: LinkButtonIconName;
|
|
145
157
|
target: LinkTarget;
|
|
158
|
+
underline: boolean;
|
|
146
159
|
}>, {
|
|
147
160
|
default: (_: {}) => any;
|
|
148
161
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as r, ref as f, onMounted as u, onUpdated as d, openBlock as p, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as
|
|
2
|
-
import { getPrefixedTagName as
|
|
1
|
+
import { defineComponent as r, ref as f, onMounted as u, onUpdated as d, openBlock as p, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as g } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as l } from "../../utils.js";
|
|
3
3
|
const w = /* @__PURE__ */ r({
|
|
4
4
|
__name: "LinkPureWrapper",
|
|
5
5
|
props: {
|
|
@@ -9,17 +9,18 @@ const w = /* @__PURE__ */ r({
|
|
|
9
9
|
download: null,
|
|
10
10
|
hideLabel: { default: !1 },
|
|
11
11
|
href: null,
|
|
12
|
-
icon: { default: "arrow-
|
|
12
|
+
icon: { default: "arrow-right" },
|
|
13
13
|
iconSource: null,
|
|
14
14
|
rel: null,
|
|
15
15
|
size: { default: "small" },
|
|
16
16
|
stretch: { default: !1 },
|
|
17
17
|
target: { default: "_self" },
|
|
18
18
|
theme: { default: "light" },
|
|
19
|
+
underline: { type: Boolean, default: !1 },
|
|
19
20
|
weight: { default: "regular" }
|
|
20
21
|
},
|
|
21
22
|
setup(a) {
|
|
22
|
-
const t = a, n =
|
|
23
|
+
const t = a, n = h("p-link-pure"), e = f();
|
|
23
24
|
return u(() => {
|
|
24
25
|
l(e.value, t);
|
|
25
26
|
}), d(() => {
|
|
@@ -29,7 +30,7 @@ const w = /* @__PURE__ */ r({
|
|
|
29
30
|
ref: e
|
|
30
31
|
}, {
|
|
31
32
|
default: m(() => [
|
|
32
|
-
|
|
33
|
+
g(o.$slots, "default")
|
|
33
34
|
]),
|
|
34
35
|
_: 3
|
|
35
36
|
}, 512));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BreakpointCustomizable, SocialIconName, LinkTarget, Theme } from '../types';
|
|
2
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
4
|
/**
|
|
4
5
|
* Show or hide label.
|