keystone-design-bootstrap 1.0.87 → 1.0.88
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/design_system/sections/index.d.ts +1 -2
- package/dist/index.d.ts +24 -5
- package/dist/lib/server-api.d.ts +1 -2
- package/dist/lib/server-api.js +1 -1
- package/dist/lib/server-api.js.map +1 -1
- package/dist/package-DeHKpQp7.d.ts +121 -0
- package/dist/types/index.d.ts +68 -6
- package/package.json +28 -28
- package/src/design_system/portal/PortalPage.tsx +2 -3
- package/src/lib/server-api.ts +1 -2
- package/dist/company-information-C1pP-SvU.d.ts +0 -50
- package/dist/config-C_XBZixg.d.ts +0 -21
- package/dist/consumer-BWjQawiO.d.ts +0 -48
- package/dist/design_system/portal/index.d.ts +0 -52
- package/dist/design_system/portal/index.js +0 -3113
- package/dist/design_system/portal/index.js.map +0 -1
- package/dist/lib/consumer-session.d.ts +0 -16
- package/dist/lib/consumer-session.js +0 -85
- package/dist/lib/consumer-session.js.map +0 -1
- package/dist/lib/cta-urls.d.ts +0 -34
- package/dist/lib/cta-urls.js +0 -33
- package/dist/lib/cta-urls.js.map +0 -1
- package/dist/next/contexts/form-definitions.d.ts +0 -17
- package/dist/next/contexts/form-definitions.js +0 -21
- package/dist/next/contexts/form-definitions.js.map +0 -1
- package/dist/next/gallery/design-gallery.d.ts +0 -103
- package/dist/next/gallery/design-gallery.js +0 -19301
- package/dist/next/gallery/design-gallery.js.map +0 -1
- package/dist/next/layouts/root-layout.d.ts +0 -55
- package/dist/next/layouts/root-layout.js +0 -19713
- package/dist/next/layouts/root-layout.js.map +0 -1
- package/dist/next/legal/privacy-policy.d.ts +0 -7
- package/dist/next/legal/privacy-policy.js +0 -18949
- package/dist/next/legal/privacy-policy.js.map +0 -1
- package/dist/next/legal/terms-of-service.d.ts +0 -7
- package/dist/next/legal/terms-of-service.js +0 -18949
- package/dist/next/legal/terms-of-service.js.map +0 -1
- package/dist/next/providers/ssr-provider.d.ts +0 -12
- package/dist/next/providers/ssr-provider.js +0 -12
- package/dist/next/providers/ssr-provider.js.map +0 -1
- package/dist/next/routes/chat.d.ts +0 -26
- package/dist/next/routes/chat.js +0 -160
- package/dist/next/routes/chat.js.map +0 -1
- package/dist/next/routes/consumer-auth.d.ts +0 -33
- package/dist/next/routes/consumer-auth.js +0 -254
- package/dist/next/routes/consumer-auth.js.map +0 -1
- package/dist/next/routes/form.d.ts +0 -37
- package/dist/next/routes/form.js +0 -97
- package/dist/next/routes/form.js.map +0 -1
- package/dist/package-IU_GpDA0.d.ts +0 -74
- package/src/types/rails-actioncable.d.ts +0 -16
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
export { Metadata } from 'next';
|
|
3
|
-
import { S as SiteConfig } from '../../config-C_XBZixg.js';
|
|
4
|
-
import '../../themes/index.js';
|
|
5
|
-
|
|
6
|
-
type KeystoneRootLayoutHeaderOverrides = {
|
|
7
|
-
logoHref?: string;
|
|
8
|
-
/** Overrides the title/company name shown in the center of the nav bar (otherwise from business_info) */
|
|
9
|
-
logoText?: string;
|
|
10
|
-
/** Overrides the primary CTA button label (default: "Contact Us") */
|
|
11
|
-
ctaLabel?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Overrides the href for the left ("Contact Us") header button.
|
|
14
|
-
* Defaults to `/contact`. Only relevant when two CTA buttons are shown.
|
|
15
|
-
*/
|
|
16
|
-
ctaHref?: string;
|
|
17
|
-
/** Overrides the secondary CTA button label (default: "Book Now" when a booking/portal URL is configured) */
|
|
18
|
-
secondaryLabel?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Overrides the href for the right ("Book Now") header button.
|
|
21
|
-
* When set, forces both CTA buttons to appear even if no external booking/portal URL is configured.
|
|
22
|
-
*/
|
|
23
|
-
secondaryHref?: string;
|
|
24
|
-
};
|
|
25
|
-
type KeystoneRootLayoutOptions = {
|
|
26
|
-
/** If provided, overrides header CTA defaults */
|
|
27
|
-
headerOverrides?: KeystoneRootLayoutHeaderOverrides;
|
|
28
|
-
/** Chat widget position */
|
|
29
|
-
chatPosition?: 'bottom-right' | 'bottom-left';
|
|
30
|
-
/**
|
|
31
|
-
* PostHog ingest host. Defaults to `https://us.i.posthog.com`.
|
|
32
|
-
* Override when self-hosting or using the EU cloud (`https://eu.i.posthog.com`).
|
|
33
|
-
* The API key is fetched automatically from the Rails analytics_config endpoint
|
|
34
|
-
* (set POSTHOG_API_KEY on the Rails server — no client-side env var needed).
|
|
35
|
-
*/
|
|
36
|
-
posthogHost?: string;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Shared app shell for customer sites.
|
|
40
|
-
*
|
|
41
|
-
* Note: Next's `export const metadata` must remain in the site/app.
|
|
42
|
-
* This component focuses on:
|
|
43
|
-
* - fetching shared data
|
|
44
|
-
* - injecting Meta Pixel (from ads_config), GTM, and PostHog (from analytics_config)
|
|
45
|
-
* - applying theme
|
|
46
|
-
* - rendering Header + Footer
|
|
47
|
-
* - rendering ChatWidget gated by `companyInformation.chat_enabled`
|
|
48
|
-
*/
|
|
49
|
-
declare function KeystoneRootLayout(props: {
|
|
50
|
-
children: React__default.ReactNode;
|
|
51
|
-
config: SiteConfig;
|
|
52
|
-
options?: KeystoneRootLayoutOptions;
|
|
53
|
-
}): Promise<React__default.JSX.Element>;
|
|
54
|
-
|
|
55
|
-
export { KeystoneRootLayout, type KeystoneRootLayoutHeaderOverrides, type KeystoneRootLayoutOptions };
|