@burdenoff/website-sdk 0.0.0-dev
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/LICENSE +24 -0
- package/README.md +357 -0
- package/dist/analytics/index.d.mts +27 -0
- package/dist/analytics/index.d.ts +27 -0
- package/dist/analytics/index.js +36 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/index.mjs +34 -0
- package/dist/analytics/index.mjs.map +1 -0
- package/dist/client/index.d.mts +29 -0
- package/dist/client/index.d.ts +29 -0
- package/dist/client/index.js +261 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/index.mjs +255 -0
- package/dist/client/index.mjs.map +1 -0
- package/dist/components/contact.d.mts +144 -0
- package/dist/components/contact.d.ts +144 -0
- package/dist/components/contact.js +806 -0
- package/dist/components/contact.js.map +1 -0
- package/dist/components/contact.mjs +780 -0
- package/dist/components/contact.mjs.map +1 -0
- package/dist/components/electron-download.d.mts +32 -0
- package/dist/components/electron-download.d.ts +32 -0
- package/dist/components/electron-download.js +131 -0
- package/dist/components/electron-download.js.map +1 -0
- package/dist/components/electron-download.mjs +108 -0
- package/dist/components/electron-download.mjs.map +1 -0
- package/dist/components/launch-countdown.d.mts +15 -0
- package/dist/components/launch-countdown.d.ts +15 -0
- package/dist/components/launch-countdown.js +89 -0
- package/dist/components/launch-countdown.js.map +1 -0
- package/dist/components/launch-countdown.mjs +87 -0
- package/dist/components/launch-countdown.mjs.map +1 -0
- package/dist/components/newsletter.d.mts +155 -0
- package/dist/components/newsletter.d.ts +155 -0
- package/dist/components/newsletter.js +880 -0
- package/dist/components/newsletter.js.map +1 -0
- package/dist/components/newsletter.mjs +854 -0
- package/dist/components/newsletter.mjs.map +1 -0
- package/dist/components/partners.d.mts +88 -0
- package/dist/components/partners.d.ts +88 -0
- package/dist/components/partners.js +1169 -0
- package/dist/components/partners.js.map +1 -0
- package/dist/components/partners.mjs +1143 -0
- package/dist/components/partners.mjs.map +1 -0
- package/dist/components/pricing.d.mts +194 -0
- package/dist/components/pricing.d.ts +194 -0
- package/dist/components/pricing.js +813 -0
- package/dist/components/pricing.js.map +1 -0
- package/dist/components/pricing.mjs +791 -0
- package/dist/components/pricing.mjs.map +1 -0
- package/dist/components/problems-solved.d.mts +37 -0
- package/dist/components/problems-solved.d.ts +37 -0
- package/dist/components/problems-solved.js +157 -0
- package/dist/components/problems-solved.js.map +1 -0
- package/dist/components/problems-solved.mjs +135 -0
- package/dist/components/problems-solved.mjs.map +1 -0
- package/dist/components/resource-links.d.mts +28 -0
- package/dist/components/resource-links.d.ts +28 -0
- package/dist/components/resource-links.js +229 -0
- package/dist/components/resource-links.js.map +1 -0
- package/dist/components/resource-links.mjs +227 -0
- package/dist/components/resource-links.mjs.map +1 -0
- package/dist/components/social-links.d.mts +37 -0
- package/dist/components/social-links.d.ts +37 -0
- package/dist/components/social-links.js +268 -0
- package/dist/components/social-links.js.map +1 -0
- package/dist/components/social-links.mjs +266 -0
- package/dist/components/social-links.mjs.map +1 -0
- package/dist/components/unsubscribe.d.mts +14 -0
- package/dist/components/unsubscribe.d.ts +14 -0
- package/dist/components/unsubscribe.js +538 -0
- package/dist/components/unsubscribe.js.map +1 -0
- package/dist/components/unsubscribe.mjs +517 -0
- package/dist/components/unsubscribe.mjs.map +1 -0
- package/dist/components/waitlist.d.mts +70 -0
- package/dist/components/waitlist.d.ts +70 -0
- package/dist/components/waitlist.js +864 -0
- package/dist/components/waitlist.js.map +1 -0
- package/dist/components/waitlist.mjs +841 -0
- package/dist/components/waitlist.mjs.map +1 -0
- package/dist/components/website-switcher.d.mts +27 -0
- package/dist/components/website-switcher.d.ts +27 -0
- package/dist/components/website-switcher.js +168 -0
- package/dist/components/website-switcher.js.map +1 -0
- package/dist/components/website-switcher.mjs +146 -0
- package/dist/components/website-switcher.mjs.map +1 -0
- package/dist/content/index.d.mts +247 -0
- package/dist/content/index.d.ts +247 -0
- package/dist/content/index.js +2458 -0
- package/dist/content/index.js.map +1 -0
- package/dist/content/index.mjs +2428 -0
- package/dist/content/index.mjs.map +1 -0
- package/dist/index.d.mts +72 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +6273 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +6204 -0
- package/dist/index.mjs.map +1 -0
- package/dist/product/index.d.mts +94 -0
- package/dist/product/index.d.ts +94 -0
- package/dist/product/index.js +282 -0
- package/dist/product/index.js.map +1 -0
- package/dist/product/index.mjs +278 -0
- package/dist/product/index.mjs.map +1 -0
- package/dist/provider-D7Rij9UM.d.mts +86 -0
- package/dist/provider-D7Rij9UM.d.ts +86 -0
- package/dist/seo/index.d.mts +64 -0
- package/dist/seo/index.d.ts +64 -0
- package/dist/seo/index.js +61 -0
- package/dist/seo/index.js.map +1 -0
- package/dist/seo/index.mjs +59 -0
- package/dist/seo/index.mjs.map +1 -0
- package/dist/utils/index.d.mts +21 -0
- package/dist/utils/index.d.ts +21 -0
- package/dist/utils/index.js +12 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +10 -0
- package/dist/utils/index.mjs.map +1 -0
- package/package.json +168 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Waitlist Components
|
|
5
|
+
* Full-page and inline waitlist signup forms using GraphQL via WebSDKClient.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* // Full-page waitlist
|
|
10
|
+
* import { WaitlistPage } from '@burdenoff/website-sdk/components/waitlist'
|
|
11
|
+
*
|
|
12
|
+
* <WaitlistPage
|
|
13
|
+
* productName="BigConsole"
|
|
14
|
+
* heroTitle="Join the Waitlist"
|
|
15
|
+
* heroSubtitle="Be among the first to try BigConsole"
|
|
16
|
+
* />
|
|
17
|
+
*
|
|
18
|
+
* // Inline waitlist form (for hero sections / footers)
|
|
19
|
+
* import { WaitlistForm } from '@burdenoff/website-sdk/components/waitlist'
|
|
20
|
+
*
|
|
21
|
+
* <WaitlistForm variant="inline" buttonText="Join Waitlist" />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
interface WaitlistPageProps {
|
|
25
|
+
/** Product name. Falls back to SDK config productId if not provided. */
|
|
26
|
+
productName?: string;
|
|
27
|
+
/** Hero title */
|
|
28
|
+
heroTitle?: string;
|
|
29
|
+
/** Hero subtitle */
|
|
30
|
+
heroSubtitle?: string;
|
|
31
|
+
/** Hero description */
|
|
32
|
+
heroDescription?: string;
|
|
33
|
+
/** Message shown on successful signup */
|
|
34
|
+
successMessage?: string;
|
|
35
|
+
/** Message shown on error */
|
|
36
|
+
errorMessage?: string;
|
|
37
|
+
/** Custom CSS class for container */
|
|
38
|
+
className?: string;
|
|
39
|
+
/** SEO metadata */
|
|
40
|
+
seo?: {
|
|
41
|
+
title?: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
keywords?: string;
|
|
44
|
+
image?: string;
|
|
45
|
+
url?: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
interface WaitlistFormProps {
|
|
49
|
+
/** Layout variant */
|
|
50
|
+
variant?: "inline" | "stacked";
|
|
51
|
+
/** Show email label */
|
|
52
|
+
showLabel?: boolean;
|
|
53
|
+
/** Show description text */
|
|
54
|
+
showDescription?: boolean;
|
|
55
|
+
/** Whether to show the name field */
|
|
56
|
+
showNameField?: boolean;
|
|
57
|
+
/** Description text */
|
|
58
|
+
description?: string;
|
|
59
|
+
/** Button text */
|
|
60
|
+
buttonText?: string;
|
|
61
|
+
/** Custom CSS class */
|
|
62
|
+
className?: string;
|
|
63
|
+
}
|
|
64
|
+
declare function WaitlistPage({ productName, heroTitle, heroSubtitle, heroDescription, successMessage, errorMessage, className, seo, }: WaitlistPageProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Lightweight inline waitlist signup form for hero sections, footers, etc.
|
|
67
|
+
*/
|
|
68
|
+
declare function WaitlistForm({ variant, showLabel, showDescription, showNameField, description, buttonText, className, }: WaitlistFormProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
70
|
+
export { WaitlistForm, type WaitlistFormProps, WaitlistPage, type WaitlistPageProps };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Waitlist Components
|
|
5
|
+
* Full-page and inline waitlist signup forms using GraphQL via WebSDKClient.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* // Full-page waitlist
|
|
10
|
+
* import { WaitlistPage } from '@burdenoff/website-sdk/components/waitlist'
|
|
11
|
+
*
|
|
12
|
+
* <WaitlistPage
|
|
13
|
+
* productName="BigConsole"
|
|
14
|
+
* heroTitle="Join the Waitlist"
|
|
15
|
+
* heroSubtitle="Be among the first to try BigConsole"
|
|
16
|
+
* />
|
|
17
|
+
*
|
|
18
|
+
* // Inline waitlist form (for hero sections / footers)
|
|
19
|
+
* import { WaitlistForm } from '@burdenoff/website-sdk/components/waitlist'
|
|
20
|
+
*
|
|
21
|
+
* <WaitlistForm variant="inline" buttonText="Join Waitlist" />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
interface WaitlistPageProps {
|
|
25
|
+
/** Product name. Falls back to SDK config productId if not provided. */
|
|
26
|
+
productName?: string;
|
|
27
|
+
/** Hero title */
|
|
28
|
+
heroTitle?: string;
|
|
29
|
+
/** Hero subtitle */
|
|
30
|
+
heroSubtitle?: string;
|
|
31
|
+
/** Hero description */
|
|
32
|
+
heroDescription?: string;
|
|
33
|
+
/** Message shown on successful signup */
|
|
34
|
+
successMessage?: string;
|
|
35
|
+
/** Message shown on error */
|
|
36
|
+
errorMessage?: string;
|
|
37
|
+
/** Custom CSS class for container */
|
|
38
|
+
className?: string;
|
|
39
|
+
/** SEO metadata */
|
|
40
|
+
seo?: {
|
|
41
|
+
title?: string;
|
|
42
|
+
description?: string;
|
|
43
|
+
keywords?: string;
|
|
44
|
+
image?: string;
|
|
45
|
+
url?: string;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
interface WaitlistFormProps {
|
|
49
|
+
/** Layout variant */
|
|
50
|
+
variant?: "inline" | "stacked";
|
|
51
|
+
/** Show email label */
|
|
52
|
+
showLabel?: boolean;
|
|
53
|
+
/** Show description text */
|
|
54
|
+
showDescription?: boolean;
|
|
55
|
+
/** Whether to show the name field */
|
|
56
|
+
showNameField?: boolean;
|
|
57
|
+
/** Description text */
|
|
58
|
+
description?: string;
|
|
59
|
+
/** Button text */
|
|
60
|
+
buttonText?: string;
|
|
61
|
+
/** Custom CSS class */
|
|
62
|
+
className?: string;
|
|
63
|
+
}
|
|
64
|
+
declare function WaitlistPage({ productName, heroTitle, heroSubtitle, heroDescription, successMessage, errorMessage, className, seo, }: WaitlistPageProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
/**
|
|
66
|
+
* Lightweight inline waitlist signup form for hero sections, footers, etc.
|
|
67
|
+
*/
|
|
68
|
+
declare function WaitlistForm({ variant, showLabel, showDescription, showNameField, description, buttonText, className, }: WaitlistFormProps): react_jsx_runtime.JSX.Element;
|
|
69
|
+
|
|
70
|
+
export { WaitlistForm, type WaitlistFormProps, WaitlistPage, type WaitlistPageProps };
|