@brandlab-digital/site-next 3.19.1 → 4.0.0
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.d.ts +18 -2
- package/dist/blog.d.ts.map +1 -1
- package/dist/blog.js +14 -2
- package/dist/blog.js.map +1 -1
- package/dist/instrumentation-client.d.ts +1 -1
- package/dist/instrumentation-client.js +1 -1
- package/dist/instrumentation-client.js.map +1 -1
- package/dist/navigation/index.d.ts +2 -3
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +2 -3
- package/dist/navigation/index.js.map +1 -1
- package/dist/next-config.d.ts +1 -17
- package/dist/next-config.d.ts.map +1 -1
- package/dist/next-config.js +2 -33
- package/dist/next-config.js.map +1 -1
- package/package.json +4 -33
- package/dist/ui-kit/brandlab-skin.d.ts +0 -112
- package/dist/ui-kit/brandlab-skin.d.ts.map +0 -1
- package/dist/ui-kit/brandlab-skin.js +0 -2
- package/dist/ui-kit/brandlab-skin.js.map +0 -1
- package/dist/ui-kit/form/copy.d.ts +0 -3
- package/dist/ui-kit/form/copy.d.ts.map +0 -1
- package/dist/ui-kit/form/copy.js +0 -5
- package/dist/ui-kit/form/copy.js.map +0 -1
- package/dist/ui-kit/form/dialog.d.ts +0 -24
- package/dist/ui-kit/form/dialog.d.ts.map +0 -1
- package/dist/ui-kit/form/dialog.js +0 -17
- package/dist/ui-kit/form/dialog.js.map +0 -1
- package/dist/ui-kit/form/field.d.ts +0 -30
- package/dist/ui-kit/form/field.d.ts.map +0 -1
- package/dist/ui-kit/form/field.js +0 -11
- package/dist/ui-kit/form/field.js.map +0 -1
- package/dist/ui-kit/form/index.d.ts +0 -7
- package/dist/ui-kit/form/index.d.ts.map +0 -1
- package/dist/ui-kit/form/index.js +0 -7
- package/dist/ui-kit/form/index.js.map +0 -1
- package/dist/ui-kit/form/photo-upload.d.ts +0 -40
- package/dist/ui-kit/form/photo-upload.d.ts.map +0 -1
- package/dist/ui-kit/form/photo-upload.js +0 -19
- package/dist/ui-kit/form/photo-upload.js.map +0 -1
- package/dist/ui-kit/form/quote-dialog.d.ts +0 -15
- package/dist/ui-kit/form/quote-dialog.d.ts.map +0 -1
- package/dist/ui-kit/form/quote-dialog.js +0 -68
- package/dist/ui-kit/form/quote-dialog.js.map +0 -1
- package/dist/ui-kit/form/quote-form.d.ts +0 -172
- package/dist/ui-kit/form/quote-form.d.ts.map +0 -1
- package/dist/ui-kit/form/quote-form.js +0 -238
- package/dist/ui-kit/form/quote-form.js.map +0 -1
- package/dist/ui-kit/form/thank-you.d.ts +0 -40
- package/dist/ui-kit/form/thank-you.d.ts.map +0 -1
- package/dist/ui-kit/form/thank-you.js +0 -36
- package/dist/ui-kit/form/thank-you.js.map +0 -1
- package/dist/ui-kit/icon-glyphs.d.ts +0 -41
- package/dist/ui-kit/icon-glyphs.d.ts.map +0 -1
- package/dist/ui-kit/icon-glyphs.js +0 -138
- package/dist/ui-kit/icon-glyphs.js.map +0 -1
- package/dist/ui-kit/icon-sprite.d.ts +0 -19
- package/dist/ui-kit/icon-sprite.d.ts.map +0 -1
- package/dist/ui-kit/icon-sprite.js +0 -44
- package/dist/ui-kit/icon-sprite.js.map +0 -1
- package/dist/ui-kit/icons.d.ts +0 -50
- package/dist/ui-kit/icons.d.ts.map +0 -1
- package/dist/ui-kit/icons.js +0 -55
- package/dist/ui-kit/icons.js.map +0 -1
- package/dist/ui-kit/prefetch.d.ts +0 -59
- package/dist/ui-kit/prefetch.d.ts.map +0 -1
- package/dist/ui-kit/prefetch.js +0 -63
- package/dist/ui-kit/prefetch.js.map +0 -1
- package/dist/ui-kit/primitives/badge.d.ts +0 -25
- package/dist/ui-kit/primitives/badge.d.ts.map +0 -1
- package/dist/ui-kit/primitives/badge.js +0 -21
- package/dist/ui-kit/primitives/badge.js.map +0 -1
- package/dist/ui-kit/primitives/breadcrumbs.d.ts +0 -27
- package/dist/ui-kit/primitives/breadcrumbs.d.ts.map +0 -1
- package/dist/ui-kit/primitives/breadcrumbs.js +0 -40
- package/dist/ui-kit/primitives/breadcrumbs.js.map +0 -1
- package/dist/ui-kit/primitives/button.d.ts +0 -32
- package/dist/ui-kit/primitives/button.d.ts.map +0 -1
- package/dist/ui-kit/primitives/button.js +0 -8
- package/dist/ui-kit/primitives/button.js.map +0 -1
- package/dist/ui-kit/primitives/card.d.ts +0 -40
- package/dist/ui-kit/primitives/card.d.ts.map +0 -1
- package/dist/ui-kit/primitives/card.js +0 -8
- package/dist/ui-kit/primitives/card.js.map +0 -1
- package/dist/ui-kit/primitives/index.d.ts +0 -16
- package/dist/ui-kit/primitives/index.d.ts.map +0 -1
- package/dist/ui-kit/primitives/index.js +0 -16
- package/dist/ui-kit/primitives/index.js.map +0 -1
- package/dist/ui-kit/primitives/layout.d.ts +0 -85
- package/dist/ui-kit/primitives/layout.d.ts.map +0 -1
- package/dist/ui-kit/primitives/layout.js +0 -52
- package/dist/ui-kit/primitives/layout.js.map +0 -1
- package/dist/ui-kit/primitives/links.d.ts +0 -74
- package/dist/ui-kit/primitives/links.d.ts.map +0 -1
- package/dist/ui-kit/primitives/links.js +0 -41
- package/dist/ui-kit/primitives/links.js.map +0 -1
- package/dist/ui-kit/primitives/lists.d.ts +0 -51
- package/dist/ui-kit/primitives/lists.d.ts.map +0 -1
- package/dist/ui-kit/primitives/lists.js +0 -34
- package/dist/ui-kit/primitives/lists.js.map +0 -1
- package/dist/ui-kit/primitives/media-frame.d.ts +0 -33
- package/dist/ui-kit/primitives/media-frame.d.ts.map +0 -1
- package/dist/ui-kit/primitives/media-frame.js +0 -61
- package/dist/ui-kit/primitives/media-frame.js.map +0 -1
- package/dist/ui-kit/primitives/media.d.ts +0 -40
- package/dist/ui-kit/primitives/media.d.ts.map +0 -1
- package/dist/ui-kit/primitives/media.js +0 -9
- package/dist/ui-kit/primitives/media.js.map +0 -1
- package/dist/ui-kit/primitives/quote-button.d.ts +0 -46
- package/dist/ui-kit/primitives/quote-button.d.ts.map +0 -1
- package/dist/ui-kit/primitives/quote-button.js +0 -38
- package/dist/ui-kit/primitives/quote-button.js.map +0 -1
- package/dist/ui-kit/primitives/stat.d.ts +0 -25
- package/dist/ui-kit/primitives/stat.d.ts.map +0 -1
- package/dist/ui-kit/primitives/stat.js +0 -7
- package/dist/ui-kit/primitives/stat.js.map +0 -1
- package/dist/ui-kit/repeated-slots.d.ts +0 -153
- package/dist/ui-kit/repeated-slots.d.ts.map +0 -1
- package/dist/ui-kit/repeated-slots.js +0 -100
- package/dist/ui-kit/repeated-slots.js.map +0 -1
- package/dist/ui-kit/sections/accordion.d.ts +0 -28
- package/dist/ui-kit/sections/accordion.d.ts.map +0 -1
- package/dist/ui-kit/sections/accordion.js +0 -14
- package/dist/ui-kit/sections/accordion.js.map +0 -1
- package/dist/ui-kit/sections/area-map.d.ts +0 -64
- package/dist/ui-kit/sections/area-map.d.ts.map +0 -1
- package/dist/ui-kit/sections/area-map.js +0 -146
- package/dist/ui-kit/sections/area-map.js.map +0 -1
- package/dist/ui-kit/sections/before-after.d.ts +0 -59
- package/dist/ui-kit/sections/before-after.d.ts.map +0 -1
- package/dist/ui-kit/sections/before-after.js +0 -42
- package/dist/ui-kit/sections/before-after.js.map +0 -1
- package/dist/ui-kit/sections/contact-block.d.ts +0 -77
- package/dist/ui-kit/sections/contact-block.d.ts.map +0 -1
- package/dist/ui-kit/sections/contact-block.js +0 -23
- package/dist/ui-kit/sections/contact-block.js.map +0 -1
- package/dist/ui-kit/sections/council-rules.d.ts +0 -64
- package/dist/ui-kit/sections/council-rules.d.ts.map +0 -1
- package/dist/ui-kit/sections/council-rules.js +0 -46
- package/dist/ui-kit/sections/council-rules.js.map +0 -1
- package/dist/ui-kit/sections/coverage.d.ts +0 -53
- package/dist/ui-kit/sections/coverage.d.ts.map +0 -1
- package/dist/ui-kit/sections/coverage.js +0 -57
- package/dist/ui-kit/sections/coverage.js.map +0 -1
- package/dist/ui-kit/sections/cta-band.d.ts +0 -67
- package/dist/ui-kit/sections/cta-band.d.ts.map +0 -1
- package/dist/ui-kit/sections/cta-band.js +0 -11
- package/dist/ui-kit/sections/cta-band.js.map +0 -1
- package/dist/ui-kit/sections/emergency-band.d.ts +0 -60
- package/dist/ui-kit/sections/emergency-band.d.ts.map +0 -1
- package/dist/ui-kit/sections/emergency-band.js +0 -43
- package/dist/ui-kit/sections/emergency-band.js.map +0 -1
- package/dist/ui-kit/sections/faqs.d.ts +0 -46
- package/dist/ui-kit/sections/faqs.d.ts.map +0 -1
- package/dist/ui-kit/sections/faqs.js +0 -39
- package/dist/ui-kit/sections/faqs.js.map +0 -1
- package/dist/ui-kit/sections/gallery.d.ts +0 -60
- package/dist/ui-kit/sections/gallery.d.ts.map +0 -1
- package/dist/ui-kit/sections/gallery.js +0 -39
- package/dist/ui-kit/sections/gallery.js.map +0 -1
- package/dist/ui-kit/sections/hero.d.ts +0 -168
- package/dist/ui-kit/sections/hero.d.ts.map +0 -1
- package/dist/ui-kit/sections/hero.js +0 -147
- package/dist/ui-kit/sections/hero.js.map +0 -1
- package/dist/ui-kit/sections/index.d.ts +0 -29
- package/dist/ui-kit/sections/index.d.ts.map +0 -1
- package/dist/ui-kit/sections/index.js +0 -29
- package/dist/ui-kit/sections/index.js.map +0 -1
- package/dist/ui-kit/sections/licences.d.ts +0 -95
- package/dist/ui-kit/sections/licences.d.ts.map +0 -1
- package/dist/ui-kit/sections/licences.js +0 -72
- package/dist/ui-kit/sections/licences.js.map +0 -1
- package/dist/ui-kit/sections/local-facts.d.ts +0 -107
- package/dist/ui-kit/sections/local-facts.d.ts.map +0 -1
- package/dist/ui-kit/sections/local-facts.js +0 -44
- package/dist/ui-kit/sections/local-facts.js.map +0 -1
- package/dist/ui-kit/sections/nearby-areas.d.ts +0 -50
- package/dist/ui-kit/sections/nearby-areas.d.ts.map +0 -1
- package/dist/ui-kit/sections/nearby-areas.js +0 -49
- package/dist/ui-kit/sections/nearby-areas.js.map +0 -1
- package/dist/ui-kit/sections/nearby-jobs.d.ts +0 -84
- package/dist/ui-kit/sections/nearby-jobs.d.ts.map +0 -1
- package/dist/ui-kit/sections/nearby-jobs.js +0 -69
- package/dist/ui-kit/sections/nearby-jobs.js.map +0 -1
- package/dist/ui-kit/sections/page-header.d.ts +0 -29
- package/dist/ui-kit/sections/page-header.d.ts.map +0 -1
- package/dist/ui-kit/sections/page-header.js +0 -9
- package/dist/ui-kit/sections/page-header.js.map +0 -1
- package/dist/ui-kit/sections/price-guide.d.ts +0 -59
- package/dist/ui-kit/sections/price-guide.d.ts.map +0 -1
- package/dist/ui-kit/sections/price-guide.js +0 -28
- package/dist/ui-kit/sections/price-guide.js.map +0 -1
- package/dist/ui-kit/sections/price-table.d.ts +0 -42
- package/dist/ui-kit/sections/price-table.d.ts.map +0 -1
- package/dist/ui-kit/sections/price-table.js +0 -29
- package/dist/ui-kit/sections/price-table.js.map +0 -1
- package/dist/ui-kit/sections/projects.d.ts +0 -79
- package/dist/ui-kit/sections/projects.d.ts.map +0 -1
- package/dist/ui-kit/sections/projects.js +0 -69
- package/dist/ui-kit/sections/projects.js.map +0 -1
- package/dist/ui-kit/sections/proof-strip.d.ts +0 -68
- package/dist/ui-kit/sections/proof-strip.d.ts.map +0 -1
- package/dist/ui-kit/sections/proof-strip.js +0 -27
- package/dist/ui-kit/sections/proof-strip.js.map +0 -1
- package/dist/ui-kit/sections/quote-checklist.d.ts +0 -43
- package/dist/ui-kit/sections/quote-checklist.d.ts.map +0 -1
- package/dist/ui-kit/sections/quote-checklist.js +0 -19
- package/dist/ui-kit/sections/quote-checklist.js.map +0 -1
- package/dist/ui-kit/sections/rating-chip.d.ts +0 -35
- package/dist/ui-kit/sections/rating-chip.d.ts.map +0 -1
- package/dist/ui-kit/sections/rating-chip.js +0 -21
- package/dist/ui-kit/sections/rating-chip.js.map +0 -1
- package/dist/ui-kit/sections/related-services.d.ts +0 -41
- package/dist/ui-kit/sections/related-services.d.ts.map +0 -1
- package/dist/ui-kit/sections/related-services.js +0 -52
- package/dist/ui-kit/sections/related-services.js.map +0 -1
- package/dist/ui-kit/sections/reviews-band.d.ts +0 -124
- package/dist/ui-kit/sections/reviews-band.d.ts.map +0 -1
- package/dist/ui-kit/sections/reviews-band.js +0 -115
- package/dist/ui-kit/sections/reviews-band.js.map +0 -1
- package/dist/ui-kit/sections/section-sequence.d.ts +0 -41
- package/dist/ui-kit/sections/section-sequence.d.ts.map +0 -1
- package/dist/ui-kit/sections/section-sequence.js +0 -36
- package/dist/ui-kit/sections/section-sequence.js.map +0 -1
- package/dist/ui-kit/sections/services-grid.d.ts +0 -82
- package/dist/ui-kit/sections/services-grid.d.ts.map +0 -1
- package/dist/ui-kit/sections/services-grid.js +0 -90
- package/dist/ui-kit/sections/services-grid.js.map +0 -1
- package/dist/ui-kit/sections/signature-section.d.ts +0 -42
- package/dist/ui-kit/sections/signature-section.d.ts.map +0 -1
- package/dist/ui-kit/sections/signature-section.js +0 -14
- package/dist/ui-kit/sections/signature-section.js.map +0 -1
- package/dist/ui-kit/sections/site-footer-columns.d.ts +0 -12
- package/dist/ui-kit/sections/site-footer-columns.d.ts.map +0 -1
- package/dist/ui-kit/sections/site-footer-columns.js +0 -63
- package/dist/ui-kit/sections/site-footer-columns.js.map +0 -1
- package/dist/ui-kit/sections/site-footer.d.ts +0 -66
- package/dist/ui-kit/sections/site-footer.d.ts.map +0 -1
- package/dist/ui-kit/sections/site-footer.js +0 -49
- package/dist/ui-kit/sections/site-footer.js.map +0 -1
- package/dist/ui-kit/sections/work-photos.d.ts +0 -15
- package/dist/ui-kit/sections/work-photos.d.ts.map +0 -1
- package/dist/ui-kit/sections/work-photos.js +0 -24
- package/dist/ui-kit/sections/work-photos.js.map +0 -1
- package/dist/ui-kit/shell/back-to-top-client.d.ts +0 -9
- package/dist/ui-kit/shell/back-to-top-client.d.ts.map +0 -1
- package/dist/ui-kit/shell/back-to-top-client.js +0 -8
- package/dist/ui-kit/shell/back-to-top-client.js.map +0 -1
- package/dist/ui-kit/shell/back-to-top.d.ts +0 -13
- package/dist/ui-kit/shell/back-to-top.d.ts.map +0 -1
- package/dist/ui-kit/shell/back-to-top.js +0 -14
- package/dist/ui-kit/shell/back-to-top.js.map +0 -1
- package/dist/ui-kit/shell/call-bar-client.d.ts +0 -8
- package/dist/ui-kit/shell/call-bar-client.d.ts.map +0 -1
- package/dist/ui-kit/shell/call-bar-client.js +0 -13
- package/dist/ui-kit/shell/call-bar-client.js.map +0 -1
- package/dist/ui-kit/shell/current-link.d.ts +0 -45
- package/dist/ui-kit/shell/current-link.d.ts.map +0 -1
- package/dist/ui-kit/shell/current-link.js +0 -54
- package/dist/ui-kit/shell/current-link.js.map +0 -1
- package/dist/ui-kit/shell/drawer-client.d.ts +0 -22
- package/dist/ui-kit/shell/drawer-client.d.ts.map +0 -1
- package/dist/ui-kit/shell/drawer-client.js +0 -70
- package/dist/ui-kit/shell/drawer-client.js.map +0 -1
- package/dist/ui-kit/shell/header-client.d.ts +0 -44
- package/dist/ui-kit/shell/header-client.d.ts.map +0 -1
- package/dist/ui-kit/shell/header-client.js +0 -59
- package/dist/ui-kit/shell/header-client.js.map +0 -1
- package/dist/ui-kit/shell/index.d.ts +0 -7
- package/dist/ui-kit/shell/index.d.ts.map +0 -1
- package/dist/ui-kit/shell/index.js +0 -7
- package/dist/ui-kit/shell/index.js.map +0 -1
- package/dist/ui-kit/shell/intent-prefetch.d.ts +0 -4
- package/dist/ui-kit/shell/intent-prefetch.d.ts.map +0 -1
- package/dist/ui-kit/shell/intent-prefetch.js +0 -62
- package/dist/ui-kit/shell/intent-prefetch.js.map +0 -1
- package/dist/ui-kit/shell/mobile-call-bar.d.ts +0 -25
- package/dist/ui-kit/shell/mobile-call-bar.d.ts.map +0 -1
- package/dist/ui-kit/shell/mobile-call-bar.js +0 -21
- package/dist/ui-kit/shell/mobile-call-bar.js.map +0 -1
- package/dist/ui-kit/shell/mobile-drawer.d.ts +0 -41
- package/dist/ui-kit/shell/mobile-drawer.d.ts.map +0 -1
- package/dist/ui-kit/shell/mobile-drawer.js +0 -41
- package/dist/ui-kit/shell/mobile-drawer.js.map +0 -1
- package/dist/ui-kit/shell/shell-context.d.ts +0 -3
- package/dist/ui-kit/shell/shell-context.d.ts.map +0 -1
- package/dist/ui-kit/shell/shell-context.js +0 -5
- package/dist/ui-kit/shell/shell-context.js.map +0 -1
- package/dist/ui-kit/shell/shell-quote.d.ts +0 -10
- package/dist/ui-kit/shell/shell-quote.d.ts.map +0 -1
- package/dist/ui-kit/shell/shell-quote.js +0 -13
- package/dist/ui-kit/shell/shell-quote.js.map +0 -1
- package/dist/ui-kit/shell/site-header.d.ts +0 -55
- package/dist/ui-kit/shell/site-header.d.ts.map +0 -1
- package/dist/ui-kit/shell/site-header.js +0 -35
- package/dist/ui-kit/shell/site-header.js.map +0 -1
- package/dist/ui-kit/shell/social-links.d.ts +0 -7
- package/dist/ui-kit/shell/social-links.d.ts.map +0 -1
- package/dist/ui-kit/shell/social-links.js +0 -12
- package/dist/ui-kit/shell/social-links.js.map +0 -1
- package/dist/ui-kit/shell/utility-bar.d.ts +0 -33
- package/dist/ui-kit/shell/utility-bar.d.ts.map +0 -1
- package/dist/ui-kit/shell/utility-bar.js +0 -15
- package/dist/ui-kit/shell/utility-bar.js.map +0 -1
- package/dist/ui-kit/skin-index.d.ts +0 -4
- package/dist/ui-kit/skin-index.d.ts.map +0 -1
- package/dist/ui-kit/skin-index.js +0 -3
- package/dist/ui-kit/skin-index.js.map +0 -1
- package/dist/ui-kit/skin.d.ts +0 -65
- package/dist/ui-kit/skin.d.ts.map +0 -1
- package/dist/ui-kit/skin.js +0 -60
- package/dist/ui-kit/skin.js.map +0 -1
- package/dist/ui-kit/structure.css +0 -2546
- package/dist/ui-kit/types.d.ts +0 -27
- package/dist/ui-kit/types.d.ts.map +0 -1
- package/dist/ui-kit/types.js +0 -6
- package/dist/ui-kit/types.js.map +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
/**
|
|
3
|
-
* `QuoteButton`: the quote action. A server-rendered link to the page's quote form (for example `/contact#quote`), so
|
|
4
|
-
* it works before scripts run. When a `QuoteDialog` is on the page (3.10.0) it opens the dialog instead; on the
|
|
5
|
-
* contact page the link scrolls to the form. It carries the `data-bl-cta` hooks only: from 3.9.0 the shared
|
|
6
|
-
* instrumentation reads them and sends `lead_cta_click` when lead diagnostics are on. Nothing is sent in 3.8.0, and
|
|
7
|
-
* nothing here emits events itself.
|
|
8
|
-
*/
|
|
9
|
-
import Link from 'next/link';
|
|
10
|
-
import { Icon } from '../icons.js';
|
|
11
|
-
import { linkPrefetchProps } from '../prefetch.js';
|
|
12
|
-
import { slot } from '../skin.js';
|
|
13
|
-
/**
|
|
14
|
-
* The quote button's anchor props and content (internal; not exported from the subpath). `QuoteButton` renders them
|
|
15
|
-
* through `next/link`; the shell's header, drawer and call bar render them through a link that also turns prefetch
|
|
16
|
-
* off on the quote page itself.
|
|
17
|
-
*/
|
|
18
|
-
export function quoteButtonParts({ label, href, placement, ctaId, variant = 'primary', layout, classes }, options = {}) {
|
|
19
|
-
const compact = options.compactLabel?.trim();
|
|
20
|
-
if (compact !== undefined && (compact === '' || !label.toLowerCase().includes(compact.toLowerCase()))) {
|
|
21
|
-
throw new Error(`The compact quote label "${options.compactLabel}" must be part of the quote label "${label}" (WCAG 2.5.3: the visible label is in the name).`);
|
|
22
|
-
}
|
|
23
|
-
const hooks = {
|
|
24
|
-
'data-bl': 'quote-button',
|
|
25
|
-
'data-variant': variant,
|
|
26
|
-
'data-size': layout?.size ?? 'regular',
|
|
27
|
-
'data-bl-cta': ctaId,
|
|
28
|
-
'data-bl-cta-placement': placement,
|
|
29
|
-
className: classes?.root,
|
|
30
|
-
};
|
|
31
|
-
const children = (_jsxs(_Fragment, { children: [compact ? (_jsx("span", { ...slot(classes, 'label'), "data-compact-label": compact, children: _jsx("span", { "data-bl-full-label": "", children: label }) })) : (_jsx("span", { ...slot(classes, 'label'), children: label })), layout?.icon === false ? null : (_jsx("span", { ...slot(classes, 'icon'), children: _jsx(Icon, { name: "arrow" }) }))] }));
|
|
32
|
-
return { href, hooks, children };
|
|
33
|
-
}
|
|
34
|
-
export function QuoteButton(props) {
|
|
35
|
-
const { href, hooks, children } = quoteButtonParts(props);
|
|
36
|
-
return (_jsx(Link, { href: href, ...linkPrefetchProps(props.prefetch, href), ...hooks, children: children }));
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=quote-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quote-button.js","sourceRoot":"","sources":["../../../src/ui-kit/primitives/quote-button.tsx"],"names":[],"mappings":";AAAA;;;;;;GAMG;AACH,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,iBAAiB,EAAqB,MAAM,gBAAgB,CAAA;AACrE,OAAO,EAAE,IAAI,EAAkB,MAAM,YAAY,CAAA;AAuBjD;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAC9B,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,EAAE,MAAM,EAAE,OAAO,EAAoB,EACzF,UAA0D,EAAE;IAE5D,MAAM,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,CAAA;IAC5C,IAAI,OAAO,KAAK,SAAS,IAAI,CAAC,OAAO,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;QACtG,MAAM,IAAI,KAAK,CAAC,4BAA4B,OAAO,CAAC,YAAY,sCAAsC,KAAK,mDAAmD,CAAC,CAAA;IACjK,CAAC;IACD,MAAM,KAAK,GAAG;QACZ,SAAS,EAAE,cAAc;QACzB,cAAc,EAAE,OAAO;QACvB,WAAW,EAAE,MAAM,EAAE,IAAI,IAAI,SAAS;QACtC,aAAa,EAAE,KAAK;QACpB,uBAAuB,EAAE,SAAS;QAClC,SAAS,EAAE,OAAO,EAAE,IAAI;KACzB,CAAA;IACD,MAAM,QAAQ,GAAG,CACf,8BACG,OAAO,CAAC,CAAC,CAAC,CAGT,kBAAU,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,wBAAsB,OAAO,YAC3D,qCAAyB,EAAE,YAAE,KAAK,GAAQ,GACrC,CACR,CAAC,CAAC,CAAC,CACF,kBAAU,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,YAAG,KAAK,GAAQ,CACjD,EACA,MAAM,EAAE,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC/B,kBAAU,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,YAC7B,KAAC,IAAI,IAAC,IAAI,EAAC,OAAO,GAAG,GAChB,CACR,IACA,CACJ,CAAA;IACD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAA;AAClC,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,KAAuB;IACjD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAA;IACzD,OAAO,CACL,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,KAAM,iBAAiB,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAM,KAAK,YACrE,QAAQ,GACJ,CACR,CAAA;AACH,CAAC","sourcesContent":["/**\n * `QuoteButton`: the quote action. A server-rendered link to the page's quote form (for example `/contact#quote`), so\n * it works before scripts run. When a `QuoteDialog` is on the page (3.10.0) it opens the dialog instead; on the\n * contact page the link scrolls to the form. It carries the `data-bl-cta` hooks only: from 3.9.0 the shared\n * instrumentation reads them and sends `lead_cta_click` when lead diagnostics are on. Nothing is sent in 3.8.0, and\n * nothing here emits events itself.\n */\nimport Link from 'next/link'\nimport type { LeadCtaPlacement } from '../../analytics.js'\nimport { Icon } from '../icons.js'\nimport { linkPrefetchProps, type LinkPrefetch } from '../prefetch.js'\nimport { slot, type SkinEntry } from '../skin.js'\nimport type { ButtonVariant } from './links.js'\n\nexport type QuoteButtonSlot = 'root' | 'label' | 'icon'\nexport type QuoteButtonSkin = SkinEntry<QuoteButtonSlot, ButtonVariant, { size?: 'regular' | 'large'; icon?: boolean }>\n\nexport interface QuoteButtonProps extends QuoteButtonSkin {\n /** The site's recorded quote label, or one from the closed list (C5), for example \"Get a free quote\". */\n readonly label: string\n /** The quote form this falls back to without scripts, for example `/contact#quote`. */\n readonly href: string\n /** Where the button sits, for `lead_cta_click`. */\n readonly placement: LeadCtaPlacement\n /** A stable id for `lead_cta_click`, for example `quote-header` or `quote-cta`. */\n readonly ctaId: string\n /**\n * `auto` by default: the main quote action keeps Next's prefetch (`LINK_PREFETCH_POLICY.primaryAction`). A link to a\n * place on the same page (`#quote-hero`) never prefetches, and in the header, drawer and call bar the button never\n * prefetches its own page (on `/contact`, `/contact#quote`).\n */\n readonly prefetch?: LinkPrefetch\n}\n\n/**\n * The quote button's anchor props and content (internal; not exported from the subpath). `QuoteButton` renders them\n * through `next/link`; the shell's header, drawer and call bar render them through a link that also turns prefetch\n * off on the quote page itself.\n */\nexport function quoteButtonParts(\n { label, href, placement, ctaId, variant = 'primary', layout, classes }: QuoteButtonProps,\n options: { readonly compactLabel?: string | undefined } = {},\n) {\n const compact = options.compactLabel?.trim()\n if (compact !== undefined && (compact === '' || !label.toLowerCase().includes(compact.toLowerCase()))) {\n throw new Error(`The compact quote label \"${options.compactLabel}\" must be part of the quote label \"${label}\" (WCAG 2.5.3: the visible label is in the name).`)\n }\n const hooks = {\n 'data-bl': 'quote-button',\n 'data-variant': variant,\n 'data-size': layout?.size ?? 'regular',\n 'data-bl-cta': ctaId,\n 'data-bl-cta-placement': placement,\n className: classes?.root,\n }\n const children = (\n <>\n {compact ? (\n // The compact label is drawn from the attribute by the structure CSS on narrow phones (with empty alternative\n // text), so the text, the accessible name and C5 still read the full label.\n <span {...slot(classes, 'label')} data-compact-label={compact}>\n <span data-bl-full-label=\"\">{label}</span>\n </span>\n ) : (\n <span {...slot(classes, 'label')}>{label}</span>\n )}\n {layout?.icon === false ? null : (\n <span {...slot(classes, 'icon')}>\n <Icon name=\"arrow\" />\n </span>\n )}\n </>\n )\n return { href, hooks, children }\n}\n\nexport function QuoteButton(props: QuoteButtonProps) {\n const { href, hooks, children } = quoteButtonParts(props)\n return (\n <Link href={href} {...linkPrefetchProps(props.prefetch, href)} {...hooks}>\n {children}\n </Link>\n )\n}\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `Stat` (3.14.0): one proof figure, set large with its label (AA's proof strip, Astute's work numbers). Server
|
|
3
|
-
* component. The value comes from a verified fact and is the final text in the server HTML: no count-up and nothing
|
|
4
|
-
* hidden before scripts run. An optional link says where the figure can be checked (the reviews, the licence register).
|
|
5
|
-
*
|
|
6
|
-
* Stats are rendered once per entry of a strip, so their parts take no class (3.14.0 repeated slots): the site styles
|
|
7
|
-
* `[data-bl="stat"]` once in `src/site/skin.css`.
|
|
8
|
-
*/
|
|
9
|
-
import type { RepeatedSlotOf } from '../repeated-slots.js';
|
|
10
|
-
import { type SkinEntry } from '../skin.js';
|
|
11
|
-
import type { UiLink } from '../types.js';
|
|
12
|
-
export type StatSlot = RepeatedSlotOf<'stat'>;
|
|
13
|
-
export type StatSkin = SkinEntry<StatSlot, never, Record<never, never>, StatSlot>;
|
|
14
|
-
export interface StatProps extends StatSkin {
|
|
15
|
-
/** The figure itself, for example "1,200+" or "4.9". From a verified fact, never typed for effect. */
|
|
16
|
-
readonly value: string;
|
|
17
|
-
/** What it counts, for example "trees removed safely since 2009". */
|
|
18
|
-
readonly label: string;
|
|
19
|
-
/** Where to check it, for example `{ label: 'Read the reviews', href: '/reviews' }`. Never prefetched. */
|
|
20
|
-
readonly link?: UiLink;
|
|
21
|
-
/** `li` inside a list the caller renders, or `div` (the default). */
|
|
22
|
-
readonly as?: 'div' | 'li';
|
|
23
|
-
}
|
|
24
|
-
export declare function Stat({ value, label, link, as: Root }: StatProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
//# sourceMappingURL=stat.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stat.d.ts","sourceRoot":"","sources":["../../../src/ui-kit/primitives/stat.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAgB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAA;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAGzC,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;AAC7C,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,QAAQ,CAAC,CAAA;AAEjF,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,sGAAsG;IACtG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,qEAAqE;IACrE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,0GAA0G;IAC1G,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,qEAAqE;IACrE,QAAQ,CAAC,EAAE,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;CAC3B;AAED,wBAAgB,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,IAAY,EAAE,EAAE,SAAS,2CAWvE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { repeatedSlot } from '../skin.js';
|
|
3
|
-
import { Anchor } from './links.js';
|
|
4
|
-
export function Stat({ value, label, link, as: Root = 'div' }) {
|
|
5
|
-
return (_jsxs(Root, { "data-bl": "stat", children: [_jsx("span", { ...repeatedSlot('value'), children: value }), " ", _jsx("span", { ...repeatedSlot('label'), children: label }), link ? (_jsx(Anchor, { href: link.href, prefetch: false, hooks: { 'data-slot': 'link' }, children: link.label })) : null] }));
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=stat.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stat.js","sourceRoot":"","sources":["../../../src/ui-kit/primitives/stat.tsx"],"names":[],"mappings":";AASA,OAAO,EAAE,YAAY,EAAkB,MAAM,YAAY,CAAA;AAEzD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAgBnC,MAAM,UAAU,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,GAAG,KAAK,EAAa;IACtE,OAAO,CACL,MAAC,IAAI,eAAS,MAAM,aAClB,kBAAU,YAAY,CAAC,OAAO,CAAC,YAAG,KAAK,GAAQ,OAAC,kBAAU,YAAY,CAAC,OAAO,CAAC,YAAG,KAAK,GAAQ,EAC9F,IAAI,CAAC,CAAC,CAAC,CACN,KAAC,MAAM,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,YACrE,IAAI,CAAC,KAAK,GACJ,CACV,CAAC,CAAC,CAAC,IAAI,IACH,CACR,CAAA;AACH,CAAC","sourcesContent":["/**\n * `Stat` (3.14.0): one proof figure, set large with its label (AA's proof strip, Astute's work numbers). Server\n * component. The value comes from a verified fact and is the final text in the server HTML: no count-up and nothing\n * hidden before scripts run. An optional link says where the figure can be checked (the reviews, the licence register).\n *\n * Stats are rendered once per entry of a strip, so their parts take no class (3.14.0 repeated slots): the site styles\n * `[data-bl=\"stat\"]` once in `src/site/skin.css`.\n */\nimport type { RepeatedSlotOf } from '../repeated-slots.js'\nimport { repeatedSlot, type SkinEntry } from '../skin.js'\nimport type { UiLink } from '../types.js'\nimport { Anchor } from './links.js'\n\nexport type StatSlot = RepeatedSlotOf<'stat'>\nexport type StatSkin = SkinEntry<StatSlot, never, Record<never, never>, StatSlot>\n\nexport interface StatProps extends StatSkin {\n /** The figure itself, for example \"1,200+\" or \"4.9\". From a verified fact, never typed for effect. */\n readonly value: string\n /** What it counts, for example \"trees removed safely since 2009\". */\n readonly label: string\n /** Where to check it, for example `{ label: 'Read the reviews', href: '/reviews' }`. Never prefetched. */\n readonly link?: UiLink\n /** `li` inside a list the caller renders, or `div` (the default). */\n readonly as?: 'div' | 'li'\n}\n\nexport function Stat({ value, label, link, as: Root = 'div' }: StatProps) {\n return (\n <Root data-bl=\"stat\">\n <span {...repeatedSlot('value')}>{value}</span> <span {...repeatedSlot('label')}>{label}</span>\n {link ? (\n <Anchor href={link.href} prefetch={false} hooks={{ 'data-slot': 'link' }}>\n {link.label}\n </Anchor>\n ) : null}\n </Root>\n )\n}\n"]}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The repeated slots of every shared component (3.14.0): the parts a component renders once per entry of a list in
|
|
3
|
-
* its data. They carry their `data-slot` hook and never a class, so a long class string is not repeated in the HTML and
|
|
4
|
-
* the RSC payload for every link, review, star, card or chip. A site styles them once in `src/site/skin.css`:
|
|
5
|
-
*
|
|
6
|
-
* ```css
|
|
7
|
-
* @layer components {
|
|
8
|
-
* [data-bl="footer"] [data-slot="link"] { @apply text-sm text-white/80 hover:text-white; }
|
|
9
|
-
* [data-bl="header"] [data-slot="list"] [data-slot="panelLink"] { padding: 0.5rem 0.75rem; }
|
|
10
|
-
* }
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* `scope` is the selector that holds the repeated slots without reaching a nested component that reuses a slot name
|
|
14
|
-
* (the drawer sits inside the header; the rating chip inside the reviews band uses `stars` too).
|
|
15
|
-
* `repeatedSlotSelector()` joins the two. Pure data: safe to import anywhere.
|
|
16
|
-
*/
|
|
17
|
-
export declare const REPEATED_SLOTS: {
|
|
18
|
-
readonly siteHeader: {
|
|
19
|
-
readonly scope: "[data-bl=\"header\"] [data-slot=\"list\"]";
|
|
20
|
-
readonly slots: readonly ["item", "itemRow", "link", "trigger", "panel", "panelBody", "panelList", "panelGroup", "panelHeading", "panelLink", "panelLabel", "panelText", "featured", "featuredMedia", "featuredLabel", "featuredText"];
|
|
21
|
-
};
|
|
22
|
-
readonly mobileDrawer: {
|
|
23
|
-
readonly scope: "[data-bl=\"drawer\"]";
|
|
24
|
-
readonly slots: readonly ["group", "groupTrigger", "groupLinks", "groupLink", "link", "socialLink"];
|
|
25
|
-
};
|
|
26
|
-
readonly utilityBar: {
|
|
27
|
-
readonly scope: "[data-bl=\"utility\"]";
|
|
28
|
-
readonly slots: readonly ["item", "licence", "socialLink"];
|
|
29
|
-
};
|
|
30
|
-
readonly siteFooter: {
|
|
31
|
-
readonly scope: "[data-bl=\"footer\"]";
|
|
32
|
-
readonly slots: readonly ["licenceLink", "socialLink", "column", "heading", "toggle", "list", "link", "policyLink"];
|
|
33
|
-
};
|
|
34
|
-
readonly accordion: {
|
|
35
|
-
readonly scope: "[data-bl=\"accordion\"]";
|
|
36
|
-
readonly slots: readonly ["item", "summary", "label", "marker", "content"];
|
|
37
|
-
};
|
|
38
|
-
readonly faqs: {
|
|
39
|
-
readonly scope: "[data-bl-section=\"faqs\"] [data-slot=\"columns\"]";
|
|
40
|
-
readonly slots: readonly ["column", "group", "subheading", "accordion", "item", "summary", "label", "marker", "content"];
|
|
41
|
-
/** The nested accordion's root is its own component: `data-bl="accordion"`, not a `data-slot`. */
|
|
42
|
-
readonly hooks: {
|
|
43
|
-
readonly accordion: "[data-bl=\"accordion\"]";
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
readonly priceTable: {
|
|
47
|
-
readonly scope: "[data-bl=\"price-table\"]";
|
|
48
|
-
readonly slots: readonly ["row", "job", "cell", "label", "range", "unit", "gst", "parts", "part", "includes", "excludes"];
|
|
49
|
-
};
|
|
50
|
-
readonly priceGuide: {
|
|
51
|
-
readonly scope: "[data-bl-section=\"price-guide\"]";
|
|
52
|
-
readonly slots: readonly ["row", "job", "cell", "label", "range", "unit", "gst", "parts", "part", "includes", "excludes", "card", "title", "figures", "band", "factor", "name", "effect", "detail"];
|
|
53
|
-
};
|
|
54
|
-
readonly proofStrip: {
|
|
55
|
-
readonly scope: "[data-bl-section=\"proof-strip\"] [data-slot=\"list\"]";
|
|
56
|
-
readonly slots: readonly ["item", "link", "icon", "stars", "value", "label", "linkLabel"];
|
|
57
|
-
};
|
|
58
|
-
readonly reviewsBand: {
|
|
59
|
-
readonly scope: "[data-bl-section=\"reviews\"] [data-slot=\"list\"]";
|
|
60
|
-
readonly slots: readonly ["item", "stars", "quote", "more", "author", "avatar", "name", "date"];
|
|
61
|
-
};
|
|
62
|
-
readonly contactBlock: {
|
|
63
|
-
readonly scope: "[data-bl-section=\"contact\"] [data-slot=\"details\"]";
|
|
64
|
-
readonly slots: readonly ["line", "note"];
|
|
65
|
-
};
|
|
66
|
-
readonly servicesGrid: {
|
|
67
|
-
readonly scope: "[data-bl-section=\"services\"] [data-slot=\"list\"]";
|
|
68
|
-
readonly slots: readonly ["item", "body", "media", "title", "summary", "points", "point", "action", "link"];
|
|
69
|
-
};
|
|
70
|
-
readonly breadcrumbs: {
|
|
71
|
-
readonly scope: "[data-bl=\"breadcrumbs\"]";
|
|
72
|
-
readonly slots: readonly ["item", "link", "current"];
|
|
73
|
-
};
|
|
74
|
-
readonly localFacts: {
|
|
75
|
-
readonly scope: "[data-bl-section=\"local-facts\"]";
|
|
76
|
-
readonly slots: readonly ["fact", "factSource", "fee"];
|
|
77
|
-
};
|
|
78
|
-
readonly councilRules: {
|
|
79
|
-
readonly scope: "[data-bl-section=\"council-rules\"]";
|
|
80
|
-
readonly slots: readonly ["fee"];
|
|
81
|
-
};
|
|
82
|
-
readonly nearbyJobs: {
|
|
83
|
-
readonly scope: "[data-bl-section=\"nearby-jobs\"] [data-slot=\"list\"]";
|
|
84
|
-
readonly slots: readonly ["item", "body", "media", "title", "link", "outcome", "cue"];
|
|
85
|
-
};
|
|
86
|
-
readonly coverage: {
|
|
87
|
-
readonly scope: "[data-bl-section=\"coverage\"] [data-slot=\"groups\"]";
|
|
88
|
-
readonly slots: readonly ["group", "groupHeading"];
|
|
89
|
-
};
|
|
90
|
-
readonly relatedServices: {
|
|
91
|
-
readonly scope: "[data-bl-section=\"related-services\"] [data-slot=\"list\"]";
|
|
92
|
-
readonly slots: readonly ["item", "body", "media", "title", "summary", "link"];
|
|
93
|
-
};
|
|
94
|
-
readonly gallery: {
|
|
95
|
-
readonly scope: "[data-bl-section=\"gallery\"] [data-slot=\"list\"]";
|
|
96
|
-
readonly slots: readonly ["item", "link"];
|
|
97
|
-
};
|
|
98
|
-
readonly beforeAfter: {
|
|
99
|
-
readonly scope: "[data-bl-section=\"before-after\"] [data-slot=\"list\"]";
|
|
100
|
-
readonly slots: readonly ["pair", "frames", "frame", "note"];
|
|
101
|
-
};
|
|
102
|
-
readonly licences: {
|
|
103
|
-
readonly scope: "[data-bl-section=\"licences\"] [data-slot=\"list\"]";
|
|
104
|
-
readonly slots: readonly ["row", "label", "value", "number", "holder", "classes", "class", "register", "cover", "amount", "date", "abn", "lookup"];
|
|
105
|
-
};
|
|
106
|
-
readonly thankYou: {
|
|
107
|
-
readonly scope: "[data-bl=\"thank-you\"]";
|
|
108
|
-
readonly slots: readonly ["step"];
|
|
109
|
-
};
|
|
110
|
-
readonly photoUpload: {
|
|
111
|
-
readonly scope: "[data-bl=\"photo-upload\"]";
|
|
112
|
-
readonly slots: readonly ["photo", "thumb", "remove"];
|
|
113
|
-
};
|
|
114
|
-
readonly quoteForm: {
|
|
115
|
-
readonly scope: "[data-bl=\"quote-form\"] [data-bl=\"photo-upload\"]";
|
|
116
|
-
readonly slots: readonly ["photo", "thumb", "remove"];
|
|
117
|
-
};
|
|
118
|
-
readonly card: {
|
|
119
|
-
readonly scope: "[data-bl=\"card\"]";
|
|
120
|
-
readonly slots: readonly ["media", "body", "title", "link", "text", "meta"];
|
|
121
|
-
};
|
|
122
|
-
readonly badge: {
|
|
123
|
-
readonly scope: "[data-bl=\"badge\"]";
|
|
124
|
-
readonly slots: readonly ["icon", "label"];
|
|
125
|
-
};
|
|
126
|
-
readonly chip: {
|
|
127
|
-
readonly scope: "[data-bl=\"chip\"]";
|
|
128
|
-
readonly slots: readonly ["icon", "label"];
|
|
129
|
-
};
|
|
130
|
-
readonly stat: {
|
|
131
|
-
readonly scope: "[data-bl=\"stat\"]";
|
|
132
|
-
readonly slots: readonly ["value", "label", "link"];
|
|
133
|
-
};
|
|
134
|
-
readonly tickList: {
|
|
135
|
-
readonly scope: "[data-bl=\"tick-list\"]";
|
|
136
|
-
readonly slots: readonly ["item", "tick", "text", "link"];
|
|
137
|
-
};
|
|
138
|
-
/** A lean list (cost item 1f): plain `<li><a>` entries with no `data-slot`, reached by element. */
|
|
139
|
-
readonly linkList: {
|
|
140
|
-
readonly scope: "[data-bl=\"link-list\"]";
|
|
141
|
-
readonly slots: readonly ["item", "link"];
|
|
142
|
-
readonly hooks: {
|
|
143
|
-
readonly item: "> li";
|
|
144
|
-
readonly link: "> li > a";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
export type RepeatedSlotComponent = keyof typeof REPEATED_SLOTS;
|
|
149
|
-
/** The repeated slots of one component, for example `RepeatedSlotOf<'siteFooter'>` is `'licenceLink' | … | 'policyLink'`. */
|
|
150
|
-
export type RepeatedSlotOf<Component extends RepeatedSlotComponent> = (typeof REPEATED_SLOTS)[Component]['slots'][number];
|
|
151
|
-
/** The selector a skin stylesheet uses for one repeated slot, for example `[data-bl="footer"] [data-slot="link"]`. */
|
|
152
|
-
export declare function repeatedSlotSelector<Component extends RepeatedSlotComponent>(component: Component, slot: RepeatedSlotOf<Component>): string;
|
|
153
|
-
//# sourceMappingURL=repeated-slots.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repeated-slots.d.ts","sourceRoot":"","sources":["../../src/ui-kit/repeated-slots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;QAqBvB,kGAAkG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsDpG,mGAAmG;;;;;;;;;CAE3F,CAAA;AAEV,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,cAAc,CAAA;AAC/D,6HAA6H;AAC7H,MAAM,MAAM,cAAc,CAAC,SAAS,SAAS,qBAAqB,IAAI,CAAC,OAAO,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAA;AAEzH,sHAAsH;AACtH,wBAAgB,oBAAoB,CAAC,SAAS,SAAS,qBAAqB,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,GAAG,MAAM,CAG3I"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The repeated slots of every shared component (3.14.0): the parts a component renders once per entry of a list in
|
|
3
|
-
* its data. They carry their `data-slot` hook and never a class, so a long class string is not repeated in the HTML and
|
|
4
|
-
* the RSC payload for every link, review, star, card or chip. A site styles them once in `src/site/skin.css`:
|
|
5
|
-
*
|
|
6
|
-
* ```css
|
|
7
|
-
* @layer components {
|
|
8
|
-
* [data-bl="footer"] [data-slot="link"] { @apply text-sm text-white/80 hover:text-white; }
|
|
9
|
-
* [data-bl="header"] [data-slot="list"] [data-slot="panelLink"] { padding: 0.5rem 0.75rem; }
|
|
10
|
-
* }
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* `scope` is the selector that holds the repeated slots without reaching a nested component that reuses a slot name
|
|
14
|
-
* (the drawer sits inside the header; the rating chip inside the reviews band uses `stars` too).
|
|
15
|
-
* `repeatedSlotSelector()` joins the two. Pure data: safe to import anywhere.
|
|
16
|
-
*/
|
|
17
|
-
export const REPEATED_SLOTS = {
|
|
18
|
-
siteHeader: {
|
|
19
|
-
scope: '[data-bl="header"] [data-slot="list"]',
|
|
20
|
-
slots: [
|
|
21
|
-
'item', 'itemRow', 'link', 'trigger', 'panel', 'panelBody', 'panelList', 'panelGroup', 'panelHeading', 'panelLink',
|
|
22
|
-
'panelLabel', 'panelText', 'featured', 'featuredMedia', 'featuredLabel', 'featuredText',
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
mobileDrawer: {
|
|
26
|
-
scope: '[data-bl="drawer"]',
|
|
27
|
-
slots: ['group', 'groupTrigger', 'groupLinks', 'groupLink', 'link', 'socialLink'],
|
|
28
|
-
},
|
|
29
|
-
utilityBar: { scope: '[data-bl="utility"]', slots: ['item', 'licence', 'socialLink'] },
|
|
30
|
-
siteFooter: {
|
|
31
|
-
scope: '[data-bl="footer"]',
|
|
32
|
-
slots: ['licenceLink', 'socialLink', 'column', 'heading', 'toggle', 'list', 'link', 'policyLink'],
|
|
33
|
-
},
|
|
34
|
-
accordion: { scope: '[data-bl="accordion"]', slots: ['item', 'summary', 'label', 'marker', 'content'] },
|
|
35
|
-
faqs: {
|
|
36
|
-
scope: '[data-bl-section="faqs"] [data-slot="columns"]',
|
|
37
|
-
slots: ['column', 'group', 'subheading', 'accordion', 'item', 'summary', 'label', 'marker', 'content'],
|
|
38
|
-
/** The nested accordion's root is its own component: `data-bl="accordion"`, not a `data-slot`. */
|
|
39
|
-
hooks: { accordion: '[data-bl="accordion"]' },
|
|
40
|
-
},
|
|
41
|
-
priceTable: {
|
|
42
|
-
scope: '[data-bl="price-table"]',
|
|
43
|
-
slots: ['row', 'job', 'cell', 'label', 'range', 'unit', 'gst', 'parts', 'part', 'includes', 'excludes'],
|
|
44
|
-
},
|
|
45
|
-
priceGuide: {
|
|
46
|
-
scope: '[data-bl-section="price-guide"]',
|
|
47
|
-
slots: [
|
|
48
|
-
'row', 'job', 'cell', 'label', 'range', 'unit', 'gst', 'parts', 'part', 'includes', 'excludes', 'card', 'title',
|
|
49
|
-
'figures', 'band', 'factor', 'name', 'effect', 'detail',
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
proofStrip: {
|
|
53
|
-
scope: '[data-bl-section="proof-strip"] [data-slot="list"]',
|
|
54
|
-
slots: ['item', 'link', 'icon', 'stars', 'value', 'label', 'linkLabel'],
|
|
55
|
-
},
|
|
56
|
-
reviewsBand: {
|
|
57
|
-
scope: '[data-bl-section="reviews"] [data-slot="list"]',
|
|
58
|
-
slots: ['item', 'stars', 'quote', 'more', 'author', 'avatar', 'name', 'date'],
|
|
59
|
-
},
|
|
60
|
-
contactBlock: { scope: '[data-bl-section="contact"] [data-slot="details"]', slots: ['line', 'note'] },
|
|
61
|
-
servicesGrid: {
|
|
62
|
-
scope: '[data-bl-section="services"] [data-slot="list"]',
|
|
63
|
-
slots: ['item', 'body', 'media', 'title', 'summary', 'points', 'point', 'action', 'link'],
|
|
64
|
-
},
|
|
65
|
-
breadcrumbs: { scope: '[data-bl="breadcrumbs"]', slots: ['item', 'link', 'current'] },
|
|
66
|
-
// Location sections (3.15.0). Their link lists are `LinkList`s, reached through `linkList` (`[data-bl="link-list"]`).
|
|
67
|
-
localFacts: { scope: '[data-bl-section="local-facts"]', slots: ['fact', 'factSource', 'fee'] },
|
|
68
|
-
councilRules: { scope: '[data-bl-section="council-rules"]', slots: ['fee'] },
|
|
69
|
-
nearbyJobs: { scope: '[data-bl-section="nearby-jobs"] [data-slot="list"]', slots: ['item', 'body', 'media', 'title', 'link', 'outcome', 'cue'] },
|
|
70
|
-
coverage: { scope: '[data-bl-section="coverage"] [data-slot="groups"]', slots: ['group', 'groupHeading'] },
|
|
71
|
-
relatedServices: {
|
|
72
|
-
scope: '[data-bl-section="related-services"] [data-slot="list"]',
|
|
73
|
-
slots: ['item', 'body', 'media', 'title', 'summary', 'link'],
|
|
74
|
-
},
|
|
75
|
-
// Proof sections (3.15.0). Their photos are nested `[data-bl="media"]` frames; project cards are `[data-bl="card"]`.
|
|
76
|
-
gallery: { scope: '[data-bl-section="gallery"] [data-slot="list"]', slots: ['item', 'link'] },
|
|
77
|
-
beforeAfter: { scope: '[data-bl-section="before-after"] [data-slot="list"]', slots: ['pair', 'frames', 'frame', 'note'] },
|
|
78
|
-
licences: {
|
|
79
|
-
scope: '[data-bl-section="licences"] [data-slot="list"]',
|
|
80
|
-
slots: ['row', 'label', 'value', 'number', 'holder', 'classes', 'class', 'register', 'cover', 'amount', 'date', 'abn', 'lookup'],
|
|
81
|
-
},
|
|
82
|
-
thankYou: { scope: '[data-bl="thank-you"]', slots: ['step'] },
|
|
83
|
-
photoUpload: { scope: '[data-bl="photo-upload"]', slots: ['photo', 'thumb', 'remove'] },
|
|
84
|
-
quoteForm: { scope: '[data-bl="quote-form"] [data-bl="photo-upload"]', slots: ['photo', 'thumb', 'remove'] },
|
|
85
|
-
// Primitives rendered once per list entry (3.14.0): every part is repeated, the root included (style the root
|
|
86
|
-
// through its own hook, `[data-bl="card"]`).
|
|
87
|
-
card: { scope: '[data-bl="card"]', slots: ['media', 'body', 'title', 'link', 'text', 'meta'] },
|
|
88
|
-
badge: { scope: '[data-bl="badge"]', slots: ['icon', 'label'] },
|
|
89
|
-
chip: { scope: '[data-bl="chip"]', slots: ['icon', 'label'] },
|
|
90
|
-
stat: { scope: '[data-bl="stat"]', slots: ['value', 'label', 'link'] },
|
|
91
|
-
tickList: { scope: '[data-bl="tick-list"]', slots: ['item', 'tick', 'text', 'link'] },
|
|
92
|
-
/** A lean list (cost item 1f): plain `<li><a>` entries with no `data-slot`, reached by element. */
|
|
93
|
-
linkList: { scope: '[data-bl="link-list"]', slots: ['item', 'link'], hooks: { item: '> li', link: '> li > a' } },
|
|
94
|
-
};
|
|
95
|
-
/** The selector a skin stylesheet uses for one repeated slot, for example `[data-bl="footer"] [data-slot="link"]`. */
|
|
96
|
-
export function repeatedSlotSelector(component, slot) {
|
|
97
|
-
const entry = REPEATED_SLOTS[component];
|
|
98
|
-
return `${entry.scope} ${entry.hooks?.[slot] ?? `[data-slot="${slot}"]`}`;
|
|
99
|
-
}
|
|
100
|
-
//# sourceMappingURL=repeated-slots.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"repeated-slots.js","sourceRoot":"","sources":["../../src/ui-kit/repeated-slots.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE;QACV,KAAK,EAAE,uCAAuC;QAC9C,KAAK,EAAE;YACL,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW;YAClH,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc;SACxF;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,oBAAoB;QAC3B,KAAK,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC;KAClF;IACD,UAAU,EAAE,EAAE,KAAK,EAAE,qBAAqB,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,YAAY,CAAC,EAAE;IACtF,UAAU,EAAE;QACV,KAAK,EAAE,oBAAoB;QAC3B,KAAK,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC;KAClG;IACD,SAAS,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,CAAC,MAAM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E,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE;CACxG,CAAA;AAMV,sHAAsH;AACtH,MAAM,UAAU,oBAAoB,CAA0C,SAAoB,EAAE,IAA+B;IACjI,MAAM,KAAK,GAAkF,cAAc,CAAC,SAAS,CAAC,CAAA;IACtH,OAAO,GAAG,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,IAAI,eAAe,IAAI,IAAI,EAAE,CAAA;AAC3E,CAAC","sourcesContent":["/**\n * The repeated slots of every shared component (3.14.0): the parts a component renders once per entry of a list in\n * its data. They carry their `data-slot` hook and never a class, so a long class string is not repeated in the HTML and\n * the RSC payload for every link, review, star, card or chip. A site styles them once in `src/site/skin.css`:\n *\n * ```css\n * @layer components {\n * [data-bl=\"footer\"] [data-slot=\"link\"] { @apply text-sm text-white/80 hover:text-white; }\n * [data-bl=\"header\"] [data-slot=\"list\"] [data-slot=\"panelLink\"] { padding: 0.5rem 0.75rem; }\n * }\n * ```\n *\n * `scope` is the selector that holds the repeated slots without reaching a nested component that reuses a slot name\n * (the drawer sits inside the header; the rating chip inside the reviews band uses `stars` too).\n * `repeatedSlotSelector()` joins the two. Pure data: safe to import anywhere.\n */\nexport const REPEATED_SLOTS = {\n siteHeader: {\n scope: '[data-bl=\"header\"] [data-slot=\"list\"]',\n slots: [\n 'item', 'itemRow', 'link', 'trigger', 'panel', 'panelBody', 'panelList', 'panelGroup', 'panelHeading', 'panelLink',\n 'panelLabel', 'panelText', 'featured', 'featuredMedia', 'featuredLabel', 'featuredText',\n ],\n },\n mobileDrawer: {\n scope: '[data-bl=\"drawer\"]',\n slots: ['group', 'groupTrigger', 'groupLinks', 'groupLink', 'link', 'socialLink'],\n },\n utilityBar: { scope: '[data-bl=\"utility\"]', slots: ['item', 'licence', 'socialLink'] },\n siteFooter: {\n scope: '[data-bl=\"footer\"]',\n slots: ['licenceLink', 'socialLink', 'column', 'heading', 'toggle', 'list', 'link', 'policyLink'],\n },\n accordion: { scope: '[data-bl=\"accordion\"]', slots: ['item', 'summary', 'label', 'marker', 'content'] },\n faqs: {\n scope: '[data-bl-section=\"faqs\"] [data-slot=\"columns\"]',\n slots: ['column', 'group', 'subheading', 'accordion', 'item', 'summary', 'label', 'marker', 'content'],\n /** The nested accordion's root is its own component: `data-bl=\"accordion\"`, not a `data-slot`. */\n hooks: { accordion: '[data-bl=\"accordion\"]' },\n },\n priceTable: {\n scope: '[data-bl=\"price-table\"]',\n slots: ['row', 'job', 'cell', 'label', 'range', 'unit', 'gst', 'parts', 'part', 'includes', 'excludes'],\n },\n priceGuide: {\n scope: '[data-bl-section=\"price-guide\"]',\n slots: [\n 'row', 'job', 'cell', 'label', 'range', 'unit', 'gst', 'parts', 'part', 'includes', 'excludes', 'card', 'title',\n 'figures', 'band', 'factor', 'name', 'effect', 'detail',\n ],\n },\n proofStrip: {\n scope: '[data-bl-section=\"proof-strip\"] [data-slot=\"list\"]',\n slots: ['item', 'link', 'icon', 'stars', 'value', 'label', 'linkLabel'],\n },\n reviewsBand: {\n scope: '[data-bl-section=\"reviews\"] [data-slot=\"list\"]',\n slots: ['item', 'stars', 'quote', 'more', 'author', 'avatar', 'name', 'date'],\n },\n contactBlock: { scope: '[data-bl-section=\"contact\"] [data-slot=\"details\"]', slots: ['line', 'note'] },\n servicesGrid: {\n scope: '[data-bl-section=\"services\"] [data-slot=\"list\"]',\n slots: ['item', 'body', 'media', 'title', 'summary', 'points', 'point', 'action', 'link'],\n },\n breadcrumbs: { scope: '[data-bl=\"breadcrumbs\"]', slots: ['item', 'link', 'current'] },\n // Location sections (3.15.0). Their link lists are `LinkList`s, reached through `linkList` (`[data-bl=\"link-list\"]`).\n localFacts: { scope: '[data-bl-section=\"local-facts\"]', slots: ['fact', 'factSource', 'fee'] },\n councilRules: { scope: '[data-bl-section=\"council-rules\"]', slots: ['fee'] },\n nearbyJobs: { scope: '[data-bl-section=\"nearby-jobs\"] [data-slot=\"list\"]', slots: ['item', 'body', 'media', 'title', 'link', 'outcome', 'cue'] },\n coverage: { scope: '[data-bl-section=\"coverage\"] [data-slot=\"groups\"]', slots: ['group', 'groupHeading'] },\n relatedServices: {\n scope: '[data-bl-section=\"related-services\"] [data-slot=\"list\"]',\n slots: ['item', 'body', 'media', 'title', 'summary', 'link'],\n },\n // Proof sections (3.15.0). Their photos are nested `[data-bl=\"media\"]` frames; project cards are `[data-bl=\"card\"]`.\n gallery: { scope: '[data-bl-section=\"gallery\"] [data-slot=\"list\"]', slots: ['item', 'link'] },\n beforeAfter: { scope: '[data-bl-section=\"before-after\"] [data-slot=\"list\"]', slots: ['pair', 'frames', 'frame', 'note'] },\n licences: {\n scope: '[data-bl-section=\"licences\"] [data-slot=\"list\"]',\n slots: ['row', 'label', 'value', 'number', 'holder', 'classes', 'class', 'register', 'cover', 'amount', 'date', 'abn', 'lookup'],\n },\n thankYou: { scope: '[data-bl=\"thank-you\"]', slots: ['step'] },\n photoUpload: { scope: '[data-bl=\"photo-upload\"]', slots: ['photo', 'thumb', 'remove'] },\n quoteForm: { scope: '[data-bl=\"quote-form\"] [data-bl=\"photo-upload\"]', slots: ['photo', 'thumb', 'remove'] },\n // Primitives rendered once per list entry (3.14.0): every part is repeated, the root included (style the root\n // through its own hook, `[data-bl=\"card\"]`).\n card: { scope: '[data-bl=\"card\"]', slots: ['media', 'body', 'title', 'link', 'text', 'meta'] },\n badge: { scope: '[data-bl=\"badge\"]', slots: ['icon', 'label'] },\n chip: { scope: '[data-bl=\"chip\"]', slots: ['icon', 'label'] },\n stat: { scope: '[data-bl=\"stat\"]', slots: ['value', 'label', 'link'] },\n tickList: { scope: '[data-bl=\"tick-list\"]', slots: ['item', 'tick', 'text', 'link'] },\n /** A lean list (cost item 1f): plain `<li><a>` entries with no `data-slot`, reached by element. */\n linkList: { scope: '[data-bl=\"link-list\"]', slots: ['item', 'link'], hooks: { item: '> li', link: '> li > a' } },\n} as const\n\nexport type RepeatedSlotComponent = keyof typeof REPEATED_SLOTS\n/** The repeated slots of one component, for example `RepeatedSlotOf<'siteFooter'>` is `'licenceLink' | … | 'policyLink'`. */\nexport type RepeatedSlotOf<Component extends RepeatedSlotComponent> = (typeof REPEATED_SLOTS)[Component]['slots'][number]\n\n/** The selector a skin stylesheet uses for one repeated slot, for example `[data-bl=\"footer\"] [data-slot=\"link\"]`. */\nexport function repeatedSlotSelector<Component extends RepeatedSlotComponent>(component: Component, slot: RepeatedSlotOf<Component>): string {\n const entry: { readonly scope: string; readonly hooks?: Readonly<Record<string, string>> } = REPEATED_SLOTS[component]\n return `${entry.scope} ${entry.hooks?.[slot] ?? `[data-slot=\"${slot}\"]`}`\n}\n"]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `Accordion`: a list of disclosures on `<details name>`. Server component: items sharing a `name` open one at a time
|
|
3
|
-
* natively (no script), and every item's content is in the server HTML whether open or closed (K7). Items are closed
|
|
4
|
-
* by default; `defaultOpen` opens one only where a site recorded it (Gabrael: Eastern Suburbs open). The open state is
|
|
5
|
-
* the native `open` attribute, so skins style `[open]`.
|
|
6
|
-
*/
|
|
7
|
-
import type { ReactNode } from 'react';
|
|
8
|
-
import type { RepeatedSlotOf } from '../repeated-slots.js';
|
|
9
|
-
import { type SkinEntry } from '../skin.js';
|
|
10
|
-
export type AccordionSlot = 'root' | 'item' | 'summary' | 'label' | 'marker' | 'content';
|
|
11
|
-
/** Rendered once per item: styled from the skin stylesheet, never by class (3.14.0). */
|
|
12
|
-
export type AccordionRepeatedSlot = RepeatedSlotOf<'accordion'>;
|
|
13
|
-
export type AccordionSkin = SkinEntry<AccordionSlot, never, Record<never, never>, AccordionRepeatedSlot>;
|
|
14
|
-
export interface AccordionItem {
|
|
15
|
-
/** A stable slug, unique in the group. The item's element id is `{name}-{id}`, so it can be linked to. */
|
|
16
|
-
readonly id: string;
|
|
17
|
-
readonly summary: ReactNode;
|
|
18
|
-
readonly content: ReactNode;
|
|
19
|
-
}
|
|
20
|
-
export interface AccordionProps extends AccordionSkin {
|
|
21
|
-
readonly items: readonly AccordionItem[];
|
|
22
|
-
/** The group: items sharing a name open one at a time. Unique on the page. */
|
|
23
|
-
readonly name: string;
|
|
24
|
-
/** The id of the item open on load, only when the site recorded one. */
|
|
25
|
-
readonly defaultOpen?: string | undefined;
|
|
26
|
-
}
|
|
27
|
-
export declare function Accordion({ items, name, defaultOpen, classes }: AccordionProps): import("react/jsx-runtime").JSX.Element | null;
|
|
28
|
-
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/ui-kit/sections/accordion.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,YAAY,CAAA;AAE/D,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;AACxF,wFAAwF;AACxF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA;AAC/D,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC,aAAa,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,qBAAqB,CAAC,CAAA;AAExG,MAAM,WAAW,aAAa;IAC5B,0GAA0G;IAC1G,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;IAC3B,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAA;CAC5B;AAED,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,QAAQ,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IACxC,8EAA8E;IAC9E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,wEAAwE;IACxE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC1C;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,EAAE,cAAc,kDAoB9E"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from '../icons.js';
|
|
3
|
-
import { repeatedSlot, slot } from '../skin.js';
|
|
4
|
-
export function Accordion({ items, name, defaultOpen, classes }) {
|
|
5
|
-
if (items.length === 0)
|
|
6
|
-
return null;
|
|
7
|
-
const ids = new Set(items.map((item) => item.id));
|
|
8
|
-
if (ids.size !== items.length)
|
|
9
|
-
throw new Error(`Accordion "${name}": item ids must be unique.`);
|
|
10
|
-
if (defaultOpen !== undefined && !ids.has(defaultOpen))
|
|
11
|
-
throw new Error(`Accordion "${name}": defaultOpen "${defaultOpen}" is not an item.`);
|
|
12
|
-
return (_jsx("div", { "data-bl": "accordion", className: classes?.root, children: items.map((item) => (_jsxs("details", { id: `${name}-${item.id}`, name: name, open: item.id === defaultOpen, ...repeatedSlot('item'), children: [_jsxs("summary", { ...repeatedSlot('summary'), children: [_jsx("span", { ...repeatedSlot('label'), children: item.summary }), _jsx("span", { ...repeatedSlot('marker'), "aria-hidden": "true", children: _jsx(Icon, { name: "chevron" }) })] }), _jsx("div", { ...repeatedSlot('content'), children: item.content })] }, item.id))) }));
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=accordion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.js","sourceRoot":"","sources":["../../../src/ui-kit/sections/accordion.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAkB,MA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Content":["/**\n * `Accordion`: a list of disclosures on `<details name>`. Server component: items sharing a `name` open one at a time\n * natively (no script), and every item's content is in the server HTML whether open or closed (K7). Items are closed\n * by default; `defaultOpen` opens one only where a site recorded it (Gabrael: Eastern Suburbs open). The open state is\n * the native `open` attribute, so skins style `[open]`.\n */\nimport type { ReactNode } from 'react'\nimport { Icon } from '../icons.js'\nimport type { RepeatedSlotOf } from '../repeated-slots.js'\nimport { repeatedSlot, slot, type SkinEntry } from '../skin.js'\n\nexport type AccordionSlot = 'root' | 'item' | 'summary' | 'label' | 'marker' | 'content'\n/** Rendered once per item: styled from the skin stylesheet, never by class (3.14.0). */\nexport type AccordionRepeatedSlot = RepeatedSlotOf<'accordion'>\nexport type AccordionSkin = SkinEntry<AccordionSlot, never, Record<never, never>, AccordionRepeatedSlot>\n\nexport interface AccordionItem {\n /** A stable slug, unique in the group. The item's element id is `{name}-{id}`, so it can be linked to. */\n readonly id: string\n readonly summary: ReactNode\n readonly content: ReactNode\n}\n\nexport interface AccordionProps extends AccordionSkin {\n readonly items: readonly AccordionItem[]\n /** The group: items sharing a name open one at a time. Unique on the page. */\n readonly name: string\n /** The id of the item open on load, only when the site recorded one. */\n readonly defaultOpen?: string | undefined\n}\n\nexport function Accordion({ items, name, defaultOpen, classes }: AccordionProps) {\n if (items.length === 0) return null\n const ids = new Set(items.map((item) => item.id))\n if (ids.size !== items.length) throw new Error(`Accordion \"${name}\": item ids must be unique.`)\n if (defaultOpen !== undefined && !ids.has(defaultOpen)) throw new Error(`Accordion \"${name}\": defaultOpen \"${defaultOpen}\" is not an item.`)\n return (\n <div data-bl=\"accordion\" className={classes?.root}>\n {items.map((item) => (\n <details key={item.id} id={`${name}-${item.id}`} name={name} open={item.id === defaultOpen} {...repeatedSlot('item')}>\n <summary {...repeatedSlot('summary')}>\n <span {...repeatedSlot('label')}>{item.summary}</span>\n <span {...repeatedSlot('marker')} aria-hidden=\"true\">\n <Icon name=\"chevron\" />\n </span>\n </summary>\n <div {...repeatedSlot('content')}>{item.content}</div>\n </details>\n ))}\n </div>\n )\n}\n"]}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { AreaMapModel } from '@brandlab-digital/site-core/area-map';
|
|
3
|
-
import { type BrandlabSectionReadiness } from '@brandlab-digital/site-core/section-order';
|
|
4
|
-
import { type LinkListEntry, type LinkListLayout } from '../primitives/lists.js';
|
|
5
|
-
import { type SectionHeadingSlot, type SectionSlot, type SectionTone } from '../primitives/layout.js';
|
|
6
|
-
import { type SkinEntry } from '../skin.js';
|
|
7
|
-
import type { UiLink } from '../types.js';
|
|
8
|
-
/** The map a page shows, from its model's kind: `locator` (suburb or town), `region` or `overview`. */
|
|
9
|
-
export declare const AREA_MAP_VARIANTS: readonly ["locator", "region", "overview"];
|
|
10
|
-
export type AreaMapVariant = (typeof AREA_MAP_VARIANTS)[number];
|
|
11
|
-
export type AreaMapSlot = SectionSlot | SectionHeadingSlot | 'body' | 'figure' | 'frame' | 'map' | 'caption' | 'legend' | 'legendBase' | 'legendJobs' | 'credit' | 'places' | 'placesTitle' | 'list' | 'region' | 'more';
|
|
12
|
-
export interface AreaMapLayout extends LinkListLayout {
|
|
13
|
-
/** The place list beside the map on wide screens (default) or below it. */
|
|
14
|
-
readonly list?: 'beside' | 'below';
|
|
15
|
-
/** Draw place names inside their shapes where they fit (default true). */
|
|
16
|
-
readonly names?: boolean;
|
|
17
|
-
}
|
|
18
|
-
/** The variant follows the model, so a skin sets the look (layout and classes) only. */
|
|
19
|
-
export type AreaMapSkin = SkinEntry<AreaMapSlot, never, AreaMapLayout>;
|
|
20
|
-
/** A model from site-core's map engine and the URL of its base layer file (written with `linked: true`). */
|
|
21
|
-
export interface AreaMapData {
|
|
22
|
-
readonly model: AreaMapModel;
|
|
23
|
-
/** For example `/area-maps/suburb-castle-hill.svg`. */
|
|
24
|
-
readonly baseHref: string;
|
|
25
|
-
}
|
|
26
|
-
export interface AreaMapProps extends AreaMapSkin {
|
|
27
|
-
/** The H2, for example "Where we work around Castle Hill". */
|
|
28
|
-
readonly title: ReactNode;
|
|
29
|
-
readonly eyebrow?: ReactNode;
|
|
30
|
-
readonly lead?: ReactNode;
|
|
31
|
-
/** The model and its base file; `undefined` (a locator with no neighbours or jobs) renders nothing. */
|
|
32
|
-
readonly map: AreaMapData | undefined;
|
|
33
|
-
/** What the map shows, in the site's words (the figure's caption, before the boundary credit). */
|
|
34
|
-
readonly caption: ReactNode;
|
|
35
|
-
/** A heading over the place list (an H3), for example "Suburbs we serve near Castle Hill". */
|
|
36
|
-
readonly placesTitle?: ReactNode;
|
|
37
|
-
/** The text alternative. Defaults to `areaMapPlaces(map.model)`. */
|
|
38
|
-
readonly places?: readonly LinkListEntry[];
|
|
39
|
-
/** Legend lines in the site's words, shown only when the map has that marker. */
|
|
40
|
-
readonly legend?: {
|
|
41
|
-
readonly base?: ReactNode;
|
|
42
|
-
readonly jobs?: ReactNode;
|
|
43
|
-
};
|
|
44
|
-
/** The region's page on a locator, for example `{ label: 'All of the Hills District', href }`. Never prefetched. */
|
|
45
|
-
readonly regionLink?: UiLink;
|
|
46
|
-
/** A link after the list, for example the areas hub. Never prefetched. */
|
|
47
|
-
readonly more?: UiLink;
|
|
48
|
-
/** Defaults to `area-map-heading`. */
|
|
49
|
-
readonly headingId?: string;
|
|
50
|
-
/** Set by `SectionSequence`. */
|
|
51
|
-
readonly tone?: SectionTone;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* The map's text alternative: its linked places as links and its served places without an indexable page as plain
|
|
55
|
-
* names, in the model's order (a locator's nearest first, a region's by name). The page's own place is left out.
|
|
56
|
-
* `links: false` lists every name as plain text, for a page whose `NearbyAreas` or `Coverage` links them already.
|
|
57
|
-
*/
|
|
58
|
-
export declare function areaMapPlaces(model: AreaMapModel, { links }?: {
|
|
59
|
-
readonly links?: boolean;
|
|
60
|
-
}): LinkListEntry[];
|
|
61
|
-
/** The guard for `SectionSequence`: a locator with no neighbours and no jobs has no map. */
|
|
62
|
-
export declare function areaMapReady({ map }: Pick<AreaMapProps, 'map'>): BrandlabSectionReadiness;
|
|
63
|
-
export declare function AreaMap({ title, eyebrow, lead, map, caption, placesTitle, places, legend, regionLink, more, headingId, tone, layout, classes, }: AreaMapProps): import("react/jsx-runtime").JSX.Element | null;
|
|
64
|
-
//# sourceMappingURL=area-map.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"area-map.d.ts","sourceRoot":"","sources":["../../../src/ui-kit/sections/area-map.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAA;AACrD,OAAO,KAAK,EAAgB,YAAY,EAAE,MAAM,sCAAsC,CAAA;AACtF,OAAO,EAAiB,KAAK,wBAAwB,EAAE,MAAM,2CAA2C,CAAA;AACxG,OAAO,EAAY,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAC1F,OAAO,EAA2B,KAAK,kBAAkB,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC9H,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEzC,uGAAuG;AACvG,eAAO,MAAM,iBAAiB,4CAA6C,CAAA;AAC3E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AAE/D,MAAM,MAAM,WAAW,GACnB,WAAW,GACX,kBAAkB,GAClB,MAAM,GACN,QAAQ,GACR,OAAO,GACP,KAAK,GACL,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,YAAY,GACZ,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,MAAM,GACN,QAAQ,GACR,MAAM,CAAA;AAEV,MAAM,WAAW,aAAc,SAAQ,cAAc;IACnD,2EAA2E;IAC3E,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