pdap-design-system 3.2.4-beta.1 → 3.3.0-beta.1
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/dist/components/Footer/PdapFooter.vue.d.ts +25 -1
- package/dist/components/Footer/types.d.ts +6 -0
- package/dist/index.cjs +7 -7
- package/dist/index.css +1 -1
- package/dist/index.js +3142 -3065
- package/package.json +3 -3
|
@@ -1,7 +1,31 @@
|
|
|
1
|
+
import { PdapFooterProps } from './types';
|
|
1
2
|
/**
|
|
2
3
|
* # `Footer`
|
|
3
4
|
*
|
|
4
5
|
*
|
|
5
6
|
*/
|
|
6
|
-
declare const _default: import("vue").DefineComponent<
|
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapFooterProps>, {
|
|
8
|
+
collapseOnFirstRender: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PdapFooterProps>, {
|
|
10
|
+
collapseOnFirstRender: boolean;
|
|
11
|
+
}>>>, {
|
|
12
|
+
collapseOnFirstRender: boolean;
|
|
13
|
+
}, {}>;
|
|
7
14
|
export default _default;
|
|
15
|
+
type __VLS_WithDefaults<P, D> = {
|
|
16
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
17
|
+
default: D[K];
|
|
18
|
+
}> : P[K];
|
|
19
|
+
};
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_PrettifyLocal<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -5,4 +5,10 @@ export interface PdapFooterSocialLinks {
|
|
|
5
5
|
text: string;
|
|
6
6
|
icon?: FooterIconName;
|
|
7
7
|
}
|
|
8
|
+
export interface PdapFooterProps {
|
|
9
|
+
/**
|
|
10
|
+
* Collapses the footer on first render when `true` and viewport is sticky
|
|
11
|
+
*/
|
|
12
|
+
collapseOnFirstRender?: boolean;
|
|
13
|
+
}
|
|
8
14
|
export type FooterIconName = (typeof FOOTER_LINK_ICONS)[keyof typeof FOOTER_LINK_ICONS];
|