keystone-design-bootstrap 1.0.50 → 1.0.51
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/{blog-post-D7HFCDp1.d.ts → blog-post-DGjaJ3wf.d.ts} +2 -2
- package/dist/design_system/sections/index.d.ts +7 -25
- package/dist/design_system/sections/index.js +257 -405
- package/dist/design_system/sections/index.js.map +1 -1
- package/dist/{form-BLZuTGkr.d.ts → form-CpsCONG5.d.ts} +16 -2
- package/dist/index.d.ts +4 -5
- package/dist/index.js +275 -423
- package/dist/index.js.map +1 -1
- package/dist/lib/server-api.d.ts +3 -46
- package/dist/lib/server-api.js +0 -9
- package/dist/lib/server-api.js.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/photo-helpers.d.ts +1 -1
- package/package.json +1 -1
- package/src/design_system/sections/index.tsx +2 -17
- package/src/design_system/sections/service-menu-section.tsx +58 -146
- package/src/lib/server-api.ts +0 -54
- package/src/types/api/offer.ts +13 -0
- package/src/types/api/service.ts +2 -0
- package/src/types/index.ts +1 -0
- package/src/design_system/sections/offer-detail.tsx +0 -46
- package/src/design_system/sections/offers-gallery.tsx +0 -40
- package/src/design_system/sections/offers-grid.tsx +0 -108
- package/src/design_system/sections/offers-section.tsx +0 -90
- package/dist/{photos-8jMeetqV.d.ts → website-photos-Bm-CBK9g.d.ts} +20 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PhotoAttachment } from './photos-
|
|
1
|
+
import { P as PhotoAttachment } from './website-photos-Bm-CBK9g.js';
|
|
2
2
|
|
|
3
3
|
interface BlogPost {
|
|
4
4
|
id: number;
|
|
@@ -47,4 +47,4 @@ interface BlogPostTag {
|
|
|
47
47
|
updated_at: string;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export type { BlogPost as B,
|
|
50
|
+
export type { BlogPost as B, BlogPostAuthor as a, BlogPostParams as b, BlogPostResponse as c, BlogPostTag as d };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { S as Service, F as FormDefinition, C as CompanyInformation } from '../../form-
|
|
1
|
+
import { S as Service, F as FormDefinition, O as OfferPublic, C as CompanyInformation } from '../../form-CpsCONG5.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { ComponentProps, ReactNode, FC } from 'react';
|
|
4
4
|
export { Theme } from '../../themes/index.js';
|
|
5
|
-
import { B as BlogPost,
|
|
5
|
+
import { B as BlogPost, a as BlogPostAuthor, d as BlogPostTag } from '../../blog-post-DGjaJ3wf.js';
|
|
6
6
|
import { BadgeGroup } from '../elements/index.js';
|
|
7
|
-
import {
|
|
8
|
-
import { W as WebsitePhotos, P as PhotoAttachment } from '../../photos-8jMeetqV.js';
|
|
7
|
+
import { P as PhotoAttachment, W as WebsitePhotos } from '../../website-photos-Bm-CBK9g.js';
|
|
9
8
|
import 'react-aria-components';
|
|
10
9
|
import 'embla-carousel-react';
|
|
11
10
|
|
|
@@ -156,17 +155,6 @@ interface JobApplicationFormProps {
|
|
|
156
155
|
}
|
|
157
156
|
declare const JobApplicationForm: ({ jobSlug, formDefinition, inline }: JobApplicationFormProps) => React__default.JSX.Element | null;
|
|
158
157
|
|
|
159
|
-
interface OffersGridProps {
|
|
160
|
-
offers: OfferPublic[] | null;
|
|
161
|
-
title?: string;
|
|
162
|
-
subtitle?: string;
|
|
163
|
-
websitePhotos?: WebsitePhotos | null;
|
|
164
|
-
companyInformation?: CompanyInformation | null;
|
|
165
|
-
backgroundColor?: string;
|
|
166
|
-
}
|
|
167
|
-
/** Full offers page: grid of cards with photo or gradient fallback (view-only). */
|
|
168
|
-
declare function OffersGrid({ offers, title, subtitle, websitePhotos, companyInformation, backgroundColor, }: OffersGridProps): React__default.JSX.Element;
|
|
169
|
-
|
|
170
158
|
/** Minimal package from public API (id, name, slug, summary, photo_attachments, description_markdown). */
|
|
171
159
|
interface PackagePublic {
|
|
172
160
|
id: number;
|
|
@@ -186,11 +174,11 @@ interface PackagePublic {
|
|
|
186
174
|
summary?: string | null;
|
|
187
175
|
};
|
|
188
176
|
}>;
|
|
177
|
+
offers?: OfferPublic[];
|
|
189
178
|
}
|
|
190
179
|
interface ServiceMenuSectionProps {
|
|
191
180
|
title?: string;
|
|
192
181
|
subtitle?: string;
|
|
193
|
-
offers?: OfferPublic[] | null;
|
|
194
182
|
packages?: PackagePublic[] | null;
|
|
195
183
|
/** Services (used to derive service items for the third row). */
|
|
196
184
|
services?: Service[] | null;
|
|
@@ -205,11 +193,9 @@ interface ServiceMenuSectionProps {
|
|
|
205
193
|
variant?: 'section' | 'page';
|
|
206
194
|
}
|
|
207
195
|
/**
|
|
208
|
-
* Service Menu
|
|
209
|
-
* Service items are derived from services (each service’s service_items with service name).
|
|
210
|
-
* Cards cycle through photos; clicking opens a detail modal.
|
|
196
|
+
* Service Menu: packages and treatments (service items). Specials appear as card badges and in modals.
|
|
211
197
|
*/
|
|
212
|
-
declare function ServiceMenuSection({ title, subtitle,
|
|
198
|
+
declare function ServiceMenuSection({ title, subtitle, packages, services, websitePhotos, companyInformation, viewAllHref, viewAllText, servicesRowTitle, variant, }: ServiceMenuSectionProps): React__default.JSX.Element | null;
|
|
213
199
|
|
|
214
200
|
declare const HeroHome: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
215
201
|
declare const ServicesHome: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
@@ -248,8 +234,4 @@ declare const SocialMediaHero: (props: Record<string, unknown>) => React__defaul
|
|
|
248
234
|
declare const TestimonialsHero: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
249
235
|
declare const HomeHeroComponent: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
250
236
|
|
|
251
|
-
|
|
252
|
-
declare const OffersGallery: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
253
|
-
declare const OfferDetailSection: (props: Record<string, unknown>) => React__default.ReactElement<Record<string, unknown>, string | React__default.JSXElementConstructor<any>>;
|
|
254
|
-
|
|
255
|
-
export { AboutHome, BlogCardFullWidthHorizontal, BlogCardFullWidthHorizontalAlt, BlogCardFullWidthHorizontalCompact, BlogCardFullWidthHorizontalMinimal, BlogCardFullWidthVertical, BlogCardFullWidthVerticalAlt, BlogCardFullWidthVerticalCompact, BlogCardFullWidthVerticalMinimal, BlogCardHorizontal, BlogCardHorizontalBadge, BlogCardHorizontalCompact, BlogCardHorizontalMinimal, BlogCardVertical, BlogCardVerticalBadge, BlogCardVerticalCompact, BlogCardVerticalMinimal, BlogGallery, BlogHome, BlogPostSection, BlogSection, ContactHome, ContactSection, FAQGrid, FAQHero, FAQHome, FeatureTabHorizontal, FeatureTabVertical, FeatureTextCentered, FeatureTextFeaturedIconBox, FeatureTextFeaturedIconCard, FeatureTextFeaturedIconLeft, FeatureTextFeaturedIconTopCentered, FeatureTextFeaturedIconTopCenteredBrand, FeatureTextFeaturedIconTopLeft, FeatureTextFeaturedIconTopLeftBrand, FeatureTextIconCard, FeatureTextIconLeft, FeatureTextIconTopCentered, FeatureTextIconTopLeft, FeatureTextIntegrationIconBox, FeatureTextIntegrationIconLeft, FeatureTextIntegrationIconTopCentered, FeatureTextIntegrationIconTopLeft, FeatureTextLeft, FeatureTextLeftBrand, FooterHome, GenericHeaderComponent, GenericTextHero, HeaderNavigation, HeroHome, HomeHeroComponent, JobApplicationForm, JobDetailHero, JobDetailSection, JobGallery, LocationDetailHero, LocationDetailsSection, LocationGrid, OfferDetailSection, OffersGallery, OffersGrid, OffersSection, type PackagePublic, PolicyDocumentSection, ServiceDetailContent, ServiceDetailHero, ServiceMenuSection, type ServiceMenuSectionProps, ServicesGrid, ServicesHome, SocialMediaGrid, SocialMediaHero, StatisticsSection, TeamGrid, TestimonialsGrid, TestimonialsHero, TestimonialsHome, ValuesSection, getBlogPostData };
|
|
237
|
+
export { AboutHome, BlogCardFullWidthHorizontal, BlogCardFullWidthHorizontalAlt, BlogCardFullWidthHorizontalCompact, BlogCardFullWidthHorizontalMinimal, BlogCardFullWidthVertical, BlogCardFullWidthVerticalAlt, BlogCardFullWidthVerticalCompact, BlogCardFullWidthVerticalMinimal, BlogCardHorizontal, BlogCardHorizontalBadge, BlogCardHorizontalCompact, BlogCardHorizontalMinimal, BlogCardVertical, BlogCardVerticalBadge, BlogCardVerticalCompact, BlogCardVerticalMinimal, BlogGallery, BlogHome, BlogPostSection, BlogSection, ContactHome, ContactSection, FAQGrid, FAQHero, FAQHome, FeatureTabHorizontal, FeatureTabVertical, FeatureTextCentered, FeatureTextFeaturedIconBox, FeatureTextFeaturedIconCard, FeatureTextFeaturedIconLeft, FeatureTextFeaturedIconTopCentered, FeatureTextFeaturedIconTopCenteredBrand, FeatureTextFeaturedIconTopLeft, FeatureTextFeaturedIconTopLeftBrand, FeatureTextIconCard, FeatureTextIconLeft, FeatureTextIconTopCentered, FeatureTextIconTopLeft, FeatureTextIntegrationIconBox, FeatureTextIntegrationIconLeft, FeatureTextIntegrationIconTopCentered, FeatureTextIntegrationIconTopLeft, FeatureTextLeft, FeatureTextLeftBrand, FooterHome, GenericHeaderComponent, GenericTextHero, HeaderNavigation, HeroHome, HomeHeroComponent, JobApplicationForm, JobDetailHero, JobDetailSection, JobGallery, LocationDetailHero, LocationDetailsSection, LocationGrid, type PackagePublic, PolicyDocumentSection, ServiceDetailContent, ServiceDetailHero, ServiceMenuSection, type ServiceMenuSectionProps, ServicesGrid, ServicesHome, SocialMediaGrid, SocialMediaHero, StatisticsSection, TeamGrid, TestimonialsGrid, TestimonialsHero, TestimonialsHome, ValuesSection, getBlogPostData };
|