pdap-design-system 3.1.0-beta.32 → 3.1.0-beta.34
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 +1 -21
- package/dist/components/Footer/constants.d.ts +11 -0
- package/dist/components/Footer/index.d.ts +1 -0
- package/dist/components/Footer/types.d.ts +7 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.js +5273 -5209
- package/dist/styles.css +1 -1
- package/dist/utils/format.d.ts +1 -0
- package/package.json +1 -1
@@ -2,21 +2,9 @@ import { PdapFooterProps } from './types';
|
|
2
2
|
/**
|
3
3
|
* # `Footer`
|
4
4
|
*
|
5
|
-
* ## Props
|
6
|
-
* @prop {string} logoImageSrc Src for the PDAP logo image to be displayed
|
7
|
-
* @prop {string } logoImageAnchorPath Path for the link that wraps the PDAP logo image
|
8
5
|
*
|
9
6
|
*/
|
10
|
-
declare const _default: import("vue").DefineComponent<
|
11
|
-
logoImageSrc: string;
|
12
|
-
logoImageAnchorPath: string;
|
13
|
-
}>, {}, 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<PdapFooterProps>, {
|
14
|
-
logoImageSrc: string;
|
15
|
-
logoImageAnchorPath: string;
|
16
|
-
}>>>, {
|
17
|
-
logoImageSrc: string;
|
18
|
-
logoImageAnchorPath: string;
|
19
|
-
}, {}>;
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapFooterProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapFooterProps>>>, {}, {}>;
|
20
8
|
export default _default;
|
21
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
22
10
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
@@ -27,11 +15,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
15
|
required: true;
|
28
16
|
};
|
29
17
|
};
|
30
|
-
type __VLS_WithDefaults<P, D> = {
|
31
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
32
|
-
default: D[K];
|
33
|
-
}> : P[K];
|
34
|
-
};
|
35
|
-
type __VLS_Prettify<T> = {
|
36
|
-
[K in keyof T]: T[K];
|
37
|
-
} & {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* Icons for particular footer links
|
3
|
+
*/
|
4
|
+
export declare const FOOTER_LINK_ICONS: {
|
5
|
+
readonly GITHUB: "github";
|
6
|
+
readonly LINKEDIN: "linkedin";
|
7
|
+
readonly DISCORD: "discord";
|
8
|
+
readonly JOBS: "jobs";
|
9
|
+
readonly NEWSLETTER: "newsletter";
|
10
|
+
readonly DOCS: "docs";
|
11
|
+
};
|
@@ -1,9 +1,14 @@
|
|
1
|
+
import { FOOTER_LINK_ICONS } from './constants';
|
1
2
|
export interface PdapFooterSocialLinks {
|
2
3
|
href?: string;
|
3
4
|
path?: string;
|
4
5
|
text: string;
|
6
|
+
icon?: FooterIconName;
|
5
7
|
}
|
8
|
+
export type FooterIconName = (typeof FOOTER_LINK_ICONS)[keyof typeof FOOTER_LINK_ICONS];
|
6
9
|
export interface PdapFooterProps {
|
7
|
-
|
8
|
-
|
10
|
+
fundraisingData: {
|
11
|
+
raised: number;
|
12
|
+
goal: number;
|
13
|
+
};
|
9
14
|
}
|