@porsche-design-system/components-vue 3.16.0-rc.2 → 3.17.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.
- package/CHANGELOG.md +72 -1
- package/cjs/lib/components/ButtonTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileModelSignatureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkTileWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/OptgroupWrapper.vue.cjs +1 -0
- package/cjs/lib/components/OptgroupWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/TagWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +7 -5
- package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -6
- package/esm/lib/components/BannerWrapper.vue.d.ts +9 -16
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +13 -11
- package/esm/lib/components/ButtonTileWrapper.vue.mjs +4 -4
- package/esm/lib/components/ButtonWrapper.vue.d.ts +9 -7
- package/esm/lib/components/CanvasWrapper.vue.d.ts +9 -14
- package/esm/lib/components/CarouselWrapper.vue.d.ts +9 -7
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +9 -7
- package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DisplayWrapper.vue.d.ts +9 -7
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -2
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +8 -6
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +9 -7
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +13 -11
- package/esm/lib/components/FlexWrapper.vue.d.ts +13 -11
- package/esm/lib/components/FlyoutMultilevelItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/FlyoutMultilevelWrapper.vue.d.ts +7 -9
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +8 -12
- package/esm/lib/components/FlyoutWrapper.vue.mjs +13 -13
- package/esm/lib/components/GridItemWrapper.vue.d.ts +9 -7
- package/esm/lib/components/GridWrapper.vue.d.ts +10 -8
- package/esm/lib/components/HeadingWrapper.vue.d.ts +9 -7
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +9 -7
- package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +10 -18
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +8 -6
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +11 -9
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.mjs +1 -1
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +7 -5
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +12 -10
- package/esm/lib/components/LinkTileWrapper.vue.mjs +4 -4
- package/esm/lib/components/LinkWrapper.vue.d.ts +9 -7
- package/esm/lib/components/MarqueWrapper.vue.d.ts +3 -3
- package/esm/lib/components/ModalWrapper.vue.d.ts +8 -14
- package/esm/lib/components/ModalWrapper.vue.mjs +13 -13
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +10 -8
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -4
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -6
- package/esm/lib/components/OptgroupWrapper.vue.d.ts +44 -0
- package/esm/lib/components/OptgroupWrapper.vue.mjs +24 -0
- package/esm/lib/components/OptgroupWrapper.vue2.mjs +4 -0
- package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +9 -7
- package/esm/lib/components/PopoverWrapper.vue.d.ts +7 -5
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -4
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +7 -5
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -4
- package/esm/lib/components/SelectWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +8 -6
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -4
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +7 -5
- package/esm/lib/components/SwitchWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableRowWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TableWrapper.vue.d.ts +6 -4
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +9 -7
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TabsWrapper.vue.d.ts +9 -7
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TagWrapper.vue.d.ts +14 -5
- package/esm/lib/components/TagWrapper.vue.mjs +8 -7
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +9 -21
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +4 -2
- package/esm/lib/components/TextListWrapper.vue.d.ts +7 -5
- package/esm/lib/components/TextWrapper.vue.d.ts +11 -9
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +7 -5
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -2
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/types.d.ts +14 -2
- package/esm/public-api.mjs +77 -75
- package/esm/utils.d.ts +2 -2
- package/jsdom-polyfill/index.d.ts +0 -1
- package/package.json +2 -2
|
@@ -25,7 +25,10 @@ type PDisplayProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
theme?: Theme;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PDisplayProps>, {
|
|
29
32
|
align: string;
|
|
30
33
|
color: string;
|
|
31
34
|
ellipsis: boolean;
|
|
@@ -36,13 +39,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
39
|
ellipsis: boolean;
|
|
37
40
|
size: string;
|
|
38
41
|
}>>>, {
|
|
39
|
-
size: BreakpointCustomizable<
|
|
40
|
-
align:
|
|
41
|
-
color:
|
|
42
|
+
size: BreakpointCustomizable<DisplaySize>;
|
|
43
|
+
align: DisplayAlign;
|
|
44
|
+
color: DisplayColor;
|
|
42
45
|
ellipsis: boolean;
|
|
43
|
-
}, {}
|
|
44
|
-
|
|
45
|
-
}>;
|
|
46
|
+
}, {}>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
48
|
export default _default;
|
|
47
49
|
type __VLS_WithDefaults<P, D> = {
|
|
48
50
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -24,8 +24,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
24
24
|
color: string;
|
|
25
25
|
direction: string;
|
|
26
26
|
}>>>, {
|
|
27
|
-
direction: BreakpointCustomizable<
|
|
28
|
-
color:
|
|
27
|
+
direction: BreakpointCustomizable<DividerDirection>;
|
|
28
|
+
color: DividerColor;
|
|
29
29
|
}, {}>;
|
|
30
30
|
export default _default;
|
|
31
31
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -25,7 +25,10 @@ type PFieldsetProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
theme?: Theme;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFieldsetProps>, {
|
|
29
32
|
label: string;
|
|
30
33
|
labelSize: string;
|
|
31
34
|
message: string;
|
|
@@ -39,13 +42,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
42
|
state: string;
|
|
40
43
|
}>>>, {
|
|
41
44
|
label: string;
|
|
42
|
-
state:
|
|
45
|
+
state: FieldsetState;
|
|
43
46
|
required: boolean;
|
|
44
47
|
message: string;
|
|
45
|
-
labelSize:
|
|
46
|
-
}, {}
|
|
47
|
-
|
|
48
|
-
}>;
|
|
48
|
+
labelSize: FieldsetLabelSize;
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
49
51
|
export default _default;
|
|
50
52
|
type __VLS_WithDefaults<P, D> = {
|
|
51
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,8 +25,10 @@ type PFieldsetWrapperProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
theme?: Theme;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFieldsetWrapperProps>, {
|
|
30
32
|
label: string;
|
|
31
33
|
labelSize: string;
|
|
32
34
|
message: string;
|
|
@@ -40,13 +42,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
42
|
state: string;
|
|
41
43
|
}>>>, {
|
|
42
44
|
label: string;
|
|
43
|
-
state:
|
|
45
|
+
state: FieldsetWrapperState;
|
|
44
46
|
required: boolean;
|
|
45
47
|
message: string;
|
|
46
|
-
labelSize:
|
|
47
|
-
}, {}
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
labelSize: FieldsetWrapperLabelSize;
|
|
49
|
+
}, {}>;
|
|
50
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
50
52
|
export default _default;
|
|
51
53
|
type __VLS_WithDefaults<P, D> = {
|
|
52
54
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,8 +25,10 @@ type PFlexItemProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
width?: BreakpointCustomizable<FlexItemWidth>;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlexItemProps>, {
|
|
30
32
|
alignSelf: string;
|
|
31
33
|
flex: string;
|
|
32
34
|
grow: number;
|
|
@@ -41,15 +43,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
43
|
shrink: number;
|
|
42
44
|
width: string;
|
|
43
45
|
}>>>, {
|
|
44
|
-
width: BreakpointCustomizable<
|
|
45
|
-
alignSelf: BreakpointCustomizable<
|
|
46
|
-
flex: BreakpointCustomizable<
|
|
47
|
-
grow: BreakpointCustomizable<
|
|
48
|
-
offset: BreakpointCustomizable<
|
|
49
|
-
shrink: BreakpointCustomizable<
|
|
50
|
-
}, {}
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
width: BreakpointCustomizable<FlexItemWidth>;
|
|
47
|
+
alignSelf: BreakpointCustomizable<FlexItemAlignSelf>;
|
|
48
|
+
flex: BreakpointCustomizable<FlexItemFlex>;
|
|
49
|
+
grow: BreakpointCustomizable<FlexItemGrow>;
|
|
50
|
+
offset: BreakpointCustomizable<FlexItemOffset>;
|
|
51
|
+
shrink: BreakpointCustomizable<FlexItemShrink>;
|
|
52
|
+
}, {}>;
|
|
53
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
55
|
export default _default;
|
|
54
56
|
type __VLS_WithDefaults<P, D> = {
|
|
55
57
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,8 +25,10 @@ type PFlexProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
wrap?: BreakpointCustomizable<FlexWrap>;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlexProps>, {
|
|
30
32
|
alignContent: string;
|
|
31
33
|
alignItems: string;
|
|
32
34
|
direction: string;
|
|
@@ -41,15 +43,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
43
|
justifyContent: string;
|
|
42
44
|
wrap: string;
|
|
43
45
|
}>>>, {
|
|
44
|
-
inline: BreakpointCustomizable<
|
|
45
|
-
wrap: BreakpointCustomizable<
|
|
46
|
-
direction: BreakpointCustomizable<
|
|
47
|
-
alignContent: BreakpointCustomizable<
|
|
48
|
-
alignItems: BreakpointCustomizable<
|
|
49
|
-
justifyContent: BreakpointCustomizable<
|
|
50
|
-
}, {}
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
inline: BreakpointCustomizable<FlexInline>;
|
|
47
|
+
wrap: BreakpointCustomizable<FlexWrap>;
|
|
48
|
+
direction: BreakpointCustomizable<FlexDirection>;
|
|
49
|
+
alignContent: BreakpointCustomizable<FlexAlignContent>;
|
|
50
|
+
alignItems: BreakpointCustomizable<FlexAlignItems>;
|
|
51
|
+
justifyContent: BreakpointCustomizable<FlexJustifyContent>;
|
|
52
|
+
}, {}>;
|
|
53
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
55
|
export default _default;
|
|
54
56
|
type __VLS_WithDefaults<P, D> = {
|
|
55
57
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -8,9 +8,11 @@ type PFlyoutMultilevelItemProps = {
|
|
|
8
8
|
*/
|
|
9
9
|
label?: string;
|
|
10
10
|
};
|
|
11
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
12
|
default?(_: {}): any;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<PFlyoutMultilevelItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<PFlyoutMultilevelItemProps>>>, {}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
16
|
export default _default;
|
|
15
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
18
|
new (): {
|
|
@@ -17,17 +17,15 @@ type PFlyoutMultilevelProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: Theme;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlyoutMultilevelProps>, {
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlyoutMultilevelProps>, {
|
|
25
24
|
open: boolean;
|
|
26
|
-
}
|
|
25
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
27
26
|
open: boolean;
|
|
28
|
-
}, {}
|
|
29
|
-
|
|
30
|
-
}>;
|
|
27
|
+
}, {}>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
29
|
export default _default;
|
|
32
30
|
type __VLS_WithDefaults<P, D> = {
|
|
33
31
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -21,23 +21,19 @@ type PFlyoutProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
theme?: Theme;
|
|
23
23
|
};
|
|
24
|
-
declare
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
|
-
[x: string]: (...args: unknown[]) => void;
|
|
30
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlyoutProps>, {
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PFlyoutProps>, {
|
|
31
28
|
disableBackdropClick: boolean;
|
|
32
29
|
open: boolean;
|
|
33
30
|
position: string;
|
|
34
|
-
}
|
|
31
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
35
32
|
open: boolean;
|
|
36
33
|
disableBackdropClick: boolean;
|
|
37
|
-
position:
|
|
38
|
-
}, {}
|
|
39
|
-
|
|
40
|
-
}>;
|
|
34
|
+
position: FlyoutPosition;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
41
37
|
export default _default;
|
|
42
38
|
type __VLS_WithDefaults<P, D> = {
|
|
43
39
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as l, ref as f, inject as c, onMounted as u, onUpdated as h, watch as y, openBlock as C, createBlock as _, resolveDynamicComponent as E, unref as k, withCtx as B, renderSlot as b } from "vue";
|
|
2
|
+
import { usePrefix as R, themeInjectionKey as v, addEventListenerToElementRef as s, syncProperties as d } from "../../utils.mjs";
|
|
3
|
+
const j = /* @__PURE__ */ l({
|
|
4
4
|
__name: "FlyoutWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -9,24 +9,24 @@ const E = /* @__PURE__ */ f({
|
|
|
9
9
|
position: { default: "end" },
|
|
10
10
|
theme: {}
|
|
11
11
|
},
|
|
12
|
-
emits: ["dismiss"],
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
}),
|
|
18
|
-
|
|
19
|
-
}), (
|
|
12
|
+
emits: ["dismiss", "motionHiddenEnd", "motionVisibleEnd"],
|
|
13
|
+
setup(r, { emit: p }) {
|
|
14
|
+
const a = R("p-flyout"), t = r, e = f(), o = p, i = c(v), m = () => d(e, { ...t, theme: t.theme || i.value });
|
|
15
|
+
return u(() => {
|
|
16
|
+
m(), s(e, "dismiss", o), s(e, "motionHiddenEnd", o), s(e, "motionVisibleEnd", o);
|
|
17
|
+
}), h(m), y(i, (n) => {
|
|
18
|
+
d(e, { theme: t.theme || n });
|
|
19
|
+
}), (n, w) => (C(), _(E(k(a)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: e
|
|
22
22
|
}, {
|
|
23
23
|
default: B(() => [
|
|
24
|
-
|
|
24
|
+
b(n.$slots, "default")
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 512));
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
j as default
|
|
32
32
|
};
|
|
@@ -9,19 +9,21 @@ type PGridItemProps = {
|
|
|
9
9
|
*/
|
|
10
10
|
size?: BreakpointCustomizable<GridItemSize>;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PGridItemProps>, {
|
|
14
16
|
offset: number;
|
|
15
17
|
size: number;
|
|
16
18
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PGridItemProps>, {
|
|
17
19
|
offset: number;
|
|
18
20
|
size: number;
|
|
19
21
|
}>>>, {
|
|
20
|
-
size: BreakpointCustomizable<
|
|
21
|
-
offset: BreakpointCustomizable<
|
|
22
|
-
}, {}
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
size: BreakpointCustomizable<GridItemSize>;
|
|
23
|
+
offset: BreakpointCustomizable<GridItemOffset>;
|
|
24
|
+
}, {}>;
|
|
25
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
27
|
export default _default;
|
|
26
28
|
type __VLS_WithDefaults<P, D> = {
|
|
27
29
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -14,8 +14,10 @@ type PGridProps = {
|
|
|
14
14
|
*/
|
|
15
15
|
wrap?: BreakpointCustomizable<GridWrap>;
|
|
16
16
|
};
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PGridProps>, {
|
|
19
21
|
direction: string;
|
|
20
22
|
gutter: () => {
|
|
21
23
|
base: number;
|
|
@@ -32,12 +34,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
34
|
};
|
|
33
35
|
wrap: string;
|
|
34
36
|
}>>>, {
|
|
35
|
-
wrap: BreakpointCustomizable<
|
|
36
|
-
direction: BreakpointCustomizable<
|
|
37
|
-
gutter: BreakpointCustomizable<
|
|
38
|
-
}, {}
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
wrap: BreakpointCustomizable<GridWrap>;
|
|
38
|
+
direction: BreakpointCustomizable<GridDirection>;
|
|
39
|
+
gutter: BreakpointCustomizable<GridGutter>;
|
|
40
|
+
}, {}>;
|
|
41
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
41
43
|
export default _default;
|
|
42
44
|
type __VLS_WithDefaults<P, D> = {
|
|
43
45
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,7 +25,10 @@ type PHeadingProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
theme?: Theme;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PHeadingProps>, {
|
|
29
32
|
align: string;
|
|
30
33
|
color: string;
|
|
31
34
|
ellipsis: boolean;
|
|
@@ -36,13 +39,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
39
|
ellipsis: boolean;
|
|
37
40
|
size: string;
|
|
38
41
|
}>>>, {
|
|
39
|
-
size: BreakpointCustomizable<
|
|
40
|
-
align:
|
|
41
|
-
color:
|
|
42
|
+
size: BreakpointCustomizable<HeadingSize>;
|
|
43
|
+
align: HeadingAlign;
|
|
44
|
+
color: HeadingColor;
|
|
42
45
|
ellipsis: boolean;
|
|
43
|
-
}, {}
|
|
44
|
-
|
|
45
|
-
}>;
|
|
46
|
+
}, {}>;
|
|
47
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
48
|
export default _default;
|
|
47
49
|
type __VLS_WithDefaults<P, D> = {
|
|
48
50
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -25,8 +25,10 @@ type PHeadlineProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
variant?: HeadlineVariant;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
declare function __VLS_template(): {
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PHeadlineProps>, {
|
|
30
32
|
align: string;
|
|
31
33
|
color: string;
|
|
32
34
|
ellipsis: boolean;
|
|
@@ -38,12 +40,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
40
|
variant: string;
|
|
39
41
|
}>>>, {
|
|
40
42
|
variant: HeadlineVariant;
|
|
41
|
-
align:
|
|
42
|
-
color:
|
|
43
|
+
align: HeadlineAlign;
|
|
44
|
+
color: HeadlineColor;
|
|
43
45
|
ellipsis: boolean;
|
|
44
|
-
}, {}
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
}, {}>;
|
|
47
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
|
|
48
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
47
49
|
export default _default;
|
|
48
50
|
type __VLS_WithDefaults<P, D> = {
|
|
49
51
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -39,9 +39,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
39
39
|
name: string;
|
|
40
40
|
size: string;
|
|
41
41
|
}>>>, {
|
|
42
|
-
size:
|
|
43
|
-
name:
|
|
44
|
-
color:
|
|
42
|
+
size: IconSize;
|
|
43
|
+
name: IconName;
|
|
44
|
+
color: IconColor;
|
|
45
45
|
}, {}>;
|
|
46
46
|
export default _default;
|
|
47
47
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -41,17 +41,10 @@ type PInlineNotificationProps = {
|
|
|
41
41
|
*/
|
|
42
42
|
theme?: Theme;
|
|
43
43
|
};
|
|
44
|
-
declare
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
dismissButton: boolean;
|
|
49
|
-
heading: string;
|
|
50
|
-
headingTag: string;
|
|
51
|
-
state: string;
|
|
52
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
|
-
[x: string]: (...args: unknown[]) => void;
|
|
54
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PInlineNotificationProps>, {
|
|
44
|
+
declare function __VLS_template(): {
|
|
45
|
+
default?(_: {}): any;
|
|
46
|
+
};
|
|
47
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PInlineNotificationProps>, {
|
|
55
48
|
actionIcon: string;
|
|
56
49
|
actionLoading: boolean;
|
|
57
50
|
description: string;
|
|
@@ -59,17 +52,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
52
|
heading: string;
|
|
60
53
|
headingTag: string;
|
|
61
54
|
state: string;
|
|
62
|
-
}
|
|
55
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
63
56
|
heading: string;
|
|
64
57
|
description: string;
|
|
65
|
-
headingTag:
|
|
58
|
+
headingTag: InlineNotificationHeadingTag;
|
|
66
59
|
dismissButton: boolean;
|
|
67
|
-
state:
|
|
68
|
-
actionIcon:
|
|
60
|
+
state: InlineNotificationState;
|
|
61
|
+
actionIcon: InlineNotificationActionIcon;
|
|
69
62
|
actionLoading: boolean;
|
|
70
|
-
}, {}
|
|
71
|
-
|
|
72
|
-
}>;
|
|
63
|
+
}, {}>;
|
|
64
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
73
65
|
export default _default;
|
|
74
66
|
type __VLS_WithDefaults<P, D> = {
|
|
75
67
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -62,7 +62,10 @@ type PLinkPureProps = {
|
|
|
62
62
|
*/
|
|
63
63
|
weight?: LinkPureWeight;
|
|
64
64
|
};
|
|
65
|
-
declare
|
|
65
|
+
declare function __VLS_template(): {
|
|
66
|
+
default?(_: {}): any;
|
|
67
|
+
};
|
|
68
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkPureProps>, {
|
|
66
69
|
active: boolean;
|
|
67
70
|
alignLabel: string;
|
|
68
71
|
hideLabel: boolean;
|
|
@@ -83,18 +86,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
86
|
underline: boolean;
|
|
84
87
|
weight: string;
|
|
85
88
|
}>>>, {
|
|
86
|
-
weight:
|
|
89
|
+
weight: LinkPureWeight;
|
|
87
90
|
stretch: BreakpointCustomizable<boolean>;
|
|
88
|
-
size: BreakpointCustomizable<
|
|
91
|
+
size: BreakpointCustomizable<LinkPureSize>;
|
|
89
92
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
90
|
-
icon:
|
|
93
|
+
icon: LinkPureIcon;
|
|
91
94
|
active: boolean;
|
|
92
|
-
alignLabel: BreakpointCustomizable<
|
|
95
|
+
alignLabel: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
93
96
|
underline: boolean;
|
|
94
|
-
target:
|
|
95
|
-
}, {}
|
|
96
|
-
|
|
97
|
-
}>;
|
|
97
|
+
target: LinkPureTarget;
|
|
98
|
+
}, {}>;
|
|
99
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
98
100
|
export default _default;
|
|
99
101
|
type __VLS_WithDefaults<P, D> = {
|
|
100
102
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -29,8 +29,10 @@ type PLinkSocialProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
theme?: Theme;
|
|
31
31
|
};
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
declare function __VLS_template(): {
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
34
36
|
hideLabel: boolean;
|
|
35
37
|
target: string;
|
|
36
38
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkSocialProps>, {
|
|
@@ -38,10 +40,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
38
40
|
target: string;
|
|
39
41
|
}>>>, {
|
|
40
42
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
41
|
-
target:
|
|
42
|
-
}, {}
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
target: LinkSocialTarget;
|
|
44
|
+
}, {}>;
|
|
45
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
46
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
47
|
export default _default;
|
|
46
48
|
type __VLS_WithDefaults<P, D> = {
|
|
47
49
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -29,7 +29,10 @@ type PLinkTileModelSignatureProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
31
31
|
};
|
|
32
|
-
declare
|
|
32
|
+
declare function __VLS_template(): {
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PLinkTileModelSignatureProps>, {
|
|
33
36
|
aspectRatio: string;
|
|
34
37
|
headingTag: string;
|
|
35
38
|
linkDirection: () => {
|
|
@@ -48,14 +51,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
51
|
model: string;
|
|
49
52
|
weight: string;
|
|
50
53
|
}>>>, {
|
|
51
|
-
weight: BreakpointCustomizable<
|
|
52
|
-
headingTag:
|
|
53
|
-
aspectRatio: BreakpointCustomizable<
|
|
54
|
-
linkDirection: BreakpointCustomizable<
|
|
55
|
-
model:
|
|
56
|
-
}, {}
|
|
57
|
-
|
|
58
|
-
}>;
|
|
54
|
+
weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
55
|
+
headingTag: LinkTileModelSignatureHeadingTag;
|
|
56
|
+
aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
57
|
+
linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
58
|
+
model: LinkTileModelSignatureModel;
|
|
59
|
+
}, {}>;
|
|
60
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
59
61
|
export default _default;
|
|
60
62
|
type __VLS_WithDefaults<P, D> = {
|
|
61
63
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -3,7 +3,7 @@ import { usePrefix as _, syncProperties as h } from "../../utils.mjs";
|
|
|
3
3
|
const x = /* @__PURE__ */ a({
|
|
4
4
|
__name: "LinkTileModelSignatureWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
aspectRatio: { default: "3
|
|
6
|
+
aspectRatio: { default: "3/4" },
|
|
7
7
|
description: {},
|
|
8
8
|
heading: {},
|
|
9
9
|
headingTag: { default: "h2" },
|