pdap-design-system 3.1.0-beta.37 → 3.1.0-beta.38

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.
@@ -16,11 +16,11 @@ import { PdapErrorBoundaryProps, PdapErrorEmitted } from './types';
16
16
  *
17
17
  * <template>
18
18
  * <AuthWrapper>
19
- * <Header :logo-image-src="lockup" />
19
+ * <Header />
20
20
  * <ErrorBoundary component="main">
21
21
  * <router-view />
22
22
  * </ErrorBoundary>
23
- * <Footer :logo-image-src="acronym" />
23
+ * <Footer />
24
24
  * </AuthWrapper>
25
25
  * </template>
26
26
  *
@@ -1,17 +1,7 @@
1
- import { PdapFooterProps } from './types';
2
1
  /**
3
2
  * # `Footer`
4
3
  *
5
4
  *
6
5
  */
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>>>, {}, {}>;
6
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
8
7
  export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
- };
@@ -3,9 +3,9 @@
3
3
  */
4
4
  export declare const FOOTER_LINK_ICONS: {
5
5
  readonly GITHUB: "github";
6
- readonly LINKEDIN: "linkedin";
7
6
  readonly DISCORD: "discord";
8
7
  readonly JOBS: "jobs";
9
8
  readonly NEWSLETTER: "newsletter";
10
9
  readonly DOCS: "docs";
10
+ readonly EMAIL: "email";
11
11
  };
@@ -6,9 +6,3 @@ export interface PdapFooterSocialLinks {
6
6
  icon?: FooterIconName;
7
7
  }
8
8
  export type FooterIconName = (typeof FOOTER_LINK_ICONS)[keyof typeof FOOTER_LINK_ICONS];
9
- export interface PdapFooterProps {
10
- fundraisingData: {
11
- raised: number;
12
- goal: number;
13
- };
14
- }
@@ -4,21 +4,18 @@ import { PdapHeaderProps } from './types';
4
4
  *
5
5
  * ## Props
6
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
7
+ * @prop {string } logoAnchorPath Path for the link that wraps the PDAP logo image
8
8
  *
9
9
  * ## Notes
10
10
  * The `Header` component does not require any props to be passed. But keep in mind that it is responsible for rendering the `Nav` component. Consuming applications will need to `provide` an array of nav links -- **there are no defaults for this**, you must `provide` these links either 1\. in a layout component (see example below), at the route level, or at the app level. This allows for flexibility in which links are rendered on which routes
11
11
  *
12
12
  */
13
13
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PdapHeaderProps>, {
14
- logoImageSrc: string;
15
- logoImageAnchorPath: string;
14
+ logoAnchorPath: string;
16
15
  }>, {}, 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<PdapHeaderProps>, {
17
- logoImageSrc: string;
18
- logoImageAnchorPath: string;
16
+ logoAnchorPath: string;
19
17
  }>>>, {
20
- logoImageSrc: string;
21
- logoImageAnchorPath: string;
18
+ logoAnchorPath: string;
22
19
  }, {}>;
23
20
  export default _default;
24
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,3 @@
1
1
  export interface PdapHeaderProps {
2
- logoImageSrc?: string;
3
- logoImageAnchorPath?: string;
2
+ logoAnchorPath?: string;
4
3
  }