@atomic-ui/blocks 0.13.2 → 0.15.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.
Files changed (83) hide show
  1. package/README.md +15 -15
  2. package/custom-elements.json +2961 -9573
  3. package/dist/{chunk-B6I3GVJ5.js → chunk-3G3NP4UC.js} +9 -4
  4. package/dist/chunk-3G3NP4UC.js.map +1 -0
  5. package/dist/{chunk-H262HKSL.js → chunk-7OFH762N.js} +53 -23
  6. package/dist/chunk-7OFH762N.js.map +1 -0
  7. package/dist/{chunk-WTVF3JRL.js → chunk-GDATDR2Q.js} +24 -7
  8. package/dist/chunk-GDATDR2Q.js.map +1 -0
  9. package/dist/chunk-GQ2I44OU.js +226 -0
  10. package/dist/chunk-GQ2I44OU.js.map +1 -0
  11. package/dist/chunk-HISF6RYK.js +199 -0
  12. package/dist/chunk-HISF6RYK.js.map +1 -0
  13. package/dist/{chunk-53V2GY6L.js → chunk-LJGOTYDJ.js} +76 -69
  14. package/dist/chunk-LJGOTYDJ.js.map +1 -0
  15. package/dist/{chunk-WIVKJL64.js → chunk-OBBPBN4S.js} +73 -164
  16. package/dist/chunk-OBBPBN4S.js.map +1 -0
  17. package/dist/chunk-OHXEZPBB.js +109 -0
  18. package/dist/chunk-OHXEZPBB.js.map +1 -0
  19. package/dist/{chunk-FNGN2F6Y.js → chunk-VOONXP5H.js} +30 -59
  20. package/dist/chunk-VOONXP5H.js.map +1 -0
  21. package/dist/chunk-XSKGWT2D.js +84 -0
  22. package/dist/chunk-XSKGWT2D.js.map +1 -0
  23. package/dist/components/changelog.d.ts +0 -288
  24. package/dist/components/changelog.js +3 -12
  25. package/dist/components/estimator.js +1 -1
  26. package/dist/components/g2-case.d.ts +8 -1
  27. package/dist/components/g2-case.js +1 -1
  28. package/dist/components/g2-site.d.ts +49 -41
  29. package/dist/components/g2-site.js +1 -3
  30. package/dist/components/journey.d.ts +13 -2
  31. package/dist/components/journey.js +1 -1
  32. package/dist/components/marketing.d.ts +0 -283
  33. package/dist/components/marketing.js +3 -13
  34. package/dist/components/organisms.d.ts +0 -489
  35. package/dist/components/organisms.js +3 -19
  36. package/dist/components/selling.d.ts +0 -255
  37. package/dist/components/selling.js +3 -15
  38. package/dist/components/site.d.ts +8 -53
  39. package/dist/components/site.js +3 -5
  40. package/dist/components/studio.d.ts +42 -98
  41. package/dist/components/studio.js +1 -3
  42. package/dist/index.d.ts +9 -13
  43. package/dist/index.js +25 -103
  44. package/dist/index.js.map +1 -1
  45. package/dist/standalone/atomic-ui-blocks.js +832 -1622
  46. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  47. package/dist/standalone/index.html +18 -26
  48. package/package.json +3 -3
  49. package/specimen/index.html +18 -26
  50. package/dist/chunk-53V2GY6L.js.map +0 -1
  51. package/dist/chunk-B6I3GVJ5.js.map +0 -1
  52. package/dist/chunk-FNGN2F6Y.js.map +0 -1
  53. package/dist/chunk-H262HKSL.js.map +0 -1
  54. package/dist/chunk-IT2NA25D.js +0 -571
  55. package/dist/chunk-IT2NA25D.js.map +0 -1
  56. package/dist/chunk-MMADM6OW.js +0 -782
  57. package/dist/chunk-MMADM6OW.js.map +0 -1
  58. package/dist/chunk-NHWD2LUR.js +0 -255
  59. package/dist/chunk-NHWD2LUR.js.map +0 -1
  60. package/dist/chunk-R7SSIE2E.js +0 -362
  61. package/dist/chunk-R7SSIE2E.js.map +0 -1
  62. package/dist/chunk-WIVKJL64.js.map +0 -1
  63. package/dist/chunk-WTVF3JRL.js.map +0 -1
  64. package/dist/chunk-XB6FD4SF.js +0 -438
  65. package/dist/chunk-XB6FD4SF.js.map +0 -1
  66. package/dist/chunk-YXMXLVK7.js +0 -230
  67. package/dist/chunk-YXMXLVK7.js.map +0 -1
  68. package/dist/chunk-ZD75GU6J.js +0 -75
  69. package/dist/chunk-ZD75GU6J.js.map +0 -1
  70. package/dist/chunk-ZODL5HD4.js +0 -535
  71. package/dist/chunk-ZODL5HD4.js.map +0 -1
  72. package/dist/components/card-grid.d.ts +0 -72
  73. package/dist/components/card-grid.js +0 -7
  74. package/dist/components/card-grid.js.map +0 -1
  75. package/dist/components/property.d.ts +0 -389
  76. package/dist/components/property.js +0 -17
  77. package/dist/components/property.js.map +0 -1
  78. package/dist/components/scene.d.ts +0 -138
  79. package/dist/components/scene.js +0 -7
  80. package/dist/components/scene.js.map +0 -1
  81. package/dist/components/scrubber.d.ts +0 -86
  82. package/dist/components/scrubber.js +0 -7
  83. package/dist/components/scrubber.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/selling.ts"],"sourcesContent":["import { css, html, nothing, type TemplateResult } from 'lit';\nimport { say, pageLocale, ImpaktElement, focusRing, targetSize, visuallyHidden, fontWeight, space, spaceAround, t, token, type } from '@atomic-ui/ui';\n\ntype Space = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\nconst card = css`\n .card { background: ${t.surfaceCard}; border-radius: ${t.radiusXl}; box-shadow: ${t.shadowSm}, 0 0 0 1px ${t.hairline}; }\n .h { margin: 0; font-family: ${t.fontHeading}; ${type('2xl')} font-weight: ${fontWeight('bold')}; color: ${t.textHeading}; }\n .btn { display: inline-flex; justify-content: center; align-items: center; min-block-size: 44px; padding: ${space(2.5)} ${space(5)}; font: inherit; font-weight: ${fontWeight('semibold')}; color: ${t.onBrand}; text-decoration: none; background: ${t.brand}; border: 0; border-radius: ${t.radiusLg}; cursor: pointer; }\n .btn:hover { background: ${t.brandHover}; }\n .btn.quiet { color: ${t.link}; background: transparent; box-shadow: inset 0 0 0 ${t.borderThin} ${t.border}; }\n .small { margin: 0; ${type('xs')} color: ${t.textMuted}; }\n .visually-hidden { ${visuallyHidden} }\n`;\n\nconst money = (amount: number, currency = 'GBP', digits = 0) => {\n try {\n return new Intl.NumberFormat(pageLocale(), { style: 'currency', currency, maximumFractionDigits: digits, minimumFractionDigits: digits }).format(amount);\n } catch {\n return String(Math.round(amount));\n }\n};\n\n/** The arrow after a button's words. Drawn, so no font has to hold the glyph. */\nconst arrow = html`<svg viewBox=\"0 0 20 12\" width=\"20\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M0 6h18M13 1l5 5-5 5\" /></svg>`;\n\n/** One plan in a comparison. */\nexport interface PlanItem {\n id: string;\n name: string;\n /** The price as shown, such as £12. */\n price: string;\n /** What the price is for, such as `a month`. */\n period?: string;\n note?: string;\n /** The rows this plan has, by their words, separated by commas. */\n includes: string;\n href?: string;\n /** A label such as `Most popular`, which also makes the plan stand out. */\n badge?: string;\n}\n\n/** One line a comparison checks every plan against. */\nexport interface PlanRow {\n id: string;\n label: string;\n}\n\n/**\n * Cover levels side by side, with a tick or a cross for each thing they\n * include and a button under each.\n *\n * A tick is never colour alone: each one says \"Included\" or \"Not included\" to\n * a screen reader, and a line a plan does not have also says \"· not included\"\n * in muted words on the screen. On a narrow screen the plans stack, each with\n * its own list.\n *\n * Each plan is a card with a 1px border in the text colour and no shadow. The\n * plan with a `badge` is filled with the text colour, its badge in monospace\n * capitals and its price, ticks and button in the accent, a pair the tokens\n * already hold at 4.5:1 on ink (1.4.3).\n *\n * @fires {CustomEvent<{ plan: PlanItem }>} impakt-select - When a plan is chosen. Cancel it to stay on the page.\n * @category content\n * @icon table\n */\nexport class ImpaktPlanComparison extends ImpaktElement {\n static properties = {\n heading: { type: String },\n plans: { type: Array },\n rows: { type: Array },\n buttonText: { type: String, attribute: 'button-text' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare heading: string;\n declare plans: PlanItem[];\n declare rows: PlanRow[];\n declare buttonText: string;\n declare headingLevel: 2 | 3;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.heading = 'Compare cover';\n this.plans = [];\n this.rows = [];\n this.buttonText = 'Choose';\n this.headingLevel = 2;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n targetSize,\n spaceAround,\n card,\n css`\n :host { display: block; container-type: inline-size; }\n .h { margin-block-end: ${space(5)}; }\n .grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: ${space(4)}; }\n .plan { --plan-accent: ${token('color.accent.default', '#ffd43b')}; --plan-on-accent: ${token('color.accent.on', '#111111')}; position: relative; display: flex; flex-direction: column; gap: ${space(3)}; padding: ${space(6)}; color: ${t.text}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radiusSm}; box-shadow: none; }\n /* The featured plan is filled with ink: the card colour on it, and the accent for its badge, price, ticks and button. */\n .plan.top { background: ${t.text}; color: ${t.surfaceCard}; --plan-muted: color-mix(in srgb, ${t.surfaceCard} 72%, ${t.text}); }\n .badge { align-self: flex-start; padding: 2px ${space(2)}; font-family: ${t.fontMono}; font-size: 0.6875rem; font-weight: ${fontWeight('medium')}; line-height: 1.4; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: var(--plan-on-accent); background: var(--plan-accent); white-space: nowrap; }\n .name { margin: 0; ${type('lg')} font-weight: ${fontWeight('medium')}; color: inherit; }\n .price { margin: 0; font-family: ${t.fontHeading}; ${type('4xl')} font-weight: ${fontWeight('bold')}; letter-spacing: -0.03em; color: inherit; }\n /* Accent words on ink only where the theme says the pair reads: in light. In dark the ink turns to paper and the price keeps the card's words. */\n .top .price { color: var(--impakt-color-accent-on-ink, var(--impakt-site-menu-current, currentColor)); }\n .period { margin-inline-start: ${space(1)}; font-family: ${t.fontMono}; font-size: 0.8125rem; font-weight: ${fontWeight('regular')}; letter-spacing: 0; color: var(--plan-muted, ${t.textMuted}); }\n .note { margin: 0; ${type('sm')} color: var(--plan-muted, ${t.textMuted}); }\n ul { flex: 1; margin: 0; padding: ${space(3)} 0 0; list-style: none; display: grid; gap: ${space(2)}; align-content: start; }\n li { display: flex; gap: ${space(2)}; ${type('sm')} }\n li[data-has='false'] { color: var(--plan-muted, ${t.textMuted}); }\n .mark { flex-shrink: 0; inline-size: 1em; text-align: start; }\n .top li[data-has='true'] .mark { color: var(--plan-accent); }\n .plan .btn { justify-content: space-between; gap: ${space(4)}; color: ${t.surfaceCard}; background: ${t.text}; border-radius: ${t.radiusSm}; box-shadow: none; }\n .plan .btn:hover { background: ${t.brandHover}; }\n .plan.top .btn { color: var(--plan-on-accent); background: var(--plan-accent); }\n .plan.top .btn:hover { background: color-mix(in srgb, var(--plan-accent) 88%, ${t.surfaceCard}); }\n @media (forced-colors: active) { .plan { border-color: CanvasText; } .badge { border: 1px solid CanvasText; } }\n @container (max-width: 40rem) { .grid { grid-template-columns: minmax(0, 1fr); gap: ${space(6)}; } }\n `,\n ];\n\n private has(plan: PlanItem, row: PlanRow): boolean {\n return plan.includes\n .split(',')\n .map((s) => s.trim().toLowerCase())\n .includes(row.label.trim().toLowerCase());\n }\n\n private choose(plan: PlanItem, event: Event): void {\n const go = this.dispatchEvent(new CustomEvent('impakt-select', { detail: { plan }, bubbles: true, composed: true, cancelable: true }));\n if (!go) event.preventDefault();\n }\n\n render(): TemplateResult {\n return html`\n ${this.heading ? html`<div class=\"h\" role=\"heading\" aria-level=${this.headingLevel}>${this.heading}</div>` : nothing}\n <div class=\"grid\" style=${`--cols: ${Math.max(1, this.plans.length)}`}>\n ${this.plans.map(\n (p) => html`<section class=\"card plan ${p.badge ? 'top' : ''}\" aria-labelledby=${this.id_(`n-${p.id}`)}>\n ${p.badge ? html`<span class=\"badge\">${p.badge}</span>` : nothing}\n <h3 class=\"name\" id=${this.id_(`n-${p.id}`)}>${p.name}</h3>\n <p class=\"price\">${p.price}${p.period ? html` <span class=\"period\">${p.period}</span>` : nothing}</p>\n ${p.note ? html`<p class=\"note\">${p.note}</p>` : nothing}\n <ul>${this.rows.map((r) => {\n const has = this.has(p, r);\n // A line the plan has is ticked and says so to a screen reader; one it lacks says \"not included\" on the screen too.\n return html`<li data-has=${String(has)}><span class=\"mark\" aria-hidden=\"true\">${has ? '√' : '–'}</span><span>${r.label}${\n has ? html`<span class=\"visually-hidden\">: ${say('included')}</span>` : html`<span class=\"not\"> · ${say('not included')}</span>`\n }</span></li>`;\n })}</ul>\n ${\n p.href\n ? html`<a class=\"btn\" href=${p.href} @click=${(e: Event) => this.choose(p, e)}><span>${this.buttonText}<span class=\"visually-hidden\"> ${p.name}</span></span>${arrow}</a>`\n : html`<button class=\"btn\" type=\"button\" @click=${(e: Event) => this.choose(p, e)}><span>${this.buttonText}<span class=\"visually-hidden\"> ${p.name}</span></span>${arrow}</button>`\n }\n </section>`,\n )}\n </div>`;\n }\n}\n\n/** A YouTube or Vimeo address as its privacy-friendly embed, or null for a plain video file. */\nexport function embedOf(src: string, locale?: string): string | null {\n const yt = /(?:youtube\\.com\\/(?:watch\\?v=|embed\\/|shorts\\/)|youtu\\.be\\/)([\\w-]{6,})/.exec(src);\n // The player's own controls and captions in the page's language (ADR 0026).\n const hl =\n locale && !/^en\\b/i.test(locale) ? `&hl=${encodeURIComponent(locale.split('-')[0]!)}&cc_lang_pref=${encodeURIComponent(locale.split('-')[0]!)}` : '';\n if (yt) return `https://www.youtube-nocookie.com/embed/${yt[1]}?autoplay=1&rel=0${hl}`;\n const vimeo = /vimeo\\.com\\/(?:video\\/)?(\\d+)/.exec(src);\n if (vimeo) return `https://player.vimeo.com/video/${vimeo[1]}?autoplay=1&dnt=1`;\n return null;\n}\n\n/**\n * A video, with its title, captions and a transcript link.\n *\n * A YouTube or Vimeo video shows its poster and a Play button first, and only\n * loads the player when pressed, so the page stays fast and nothing is sent to\n * the video site until someone chooses to watch. A video file plays in the\n * browser's own player, with captions from `captions-src`.\n *\n * `look=\"window\"` draws it in a window on an ink stage, as a product\n * walkthrough is shown: a bar with three dots and a caption in monospace\n * capitals, and an accent Play button with the video's length beside its\n * words. The stage stays ink in both themes. `transcript` puts what the video\n * shows on the page itself, in a section that opens under it, as an\n * alternative to a link to it (1.2.1, 1.2.3).\n *\n * @category media\n * @icon play\n */\nexport class ImpaktVideo extends ImpaktElement {\n static properties = {\n videoSrc: { type: String, attribute: 'video-src' },\n label: { type: String },\n posterSrc: { type: String, attribute: 'poster-src' },\n captionsSrc: { type: String, attribute: 'captions-src' },\n transcriptHref: { type: String, attribute: 'transcript-href' },\n playText: { type: String, attribute: 'play-text' },\n ratio: { type: String, reflect: true },\n look: { type: String, reflect: true },\n caption: { type: String },\n duration: { type: String },\n transcript: { type: String },\n transcriptText: { type: String, attribute: 'transcript-text' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** A YouTube or Vimeo address, or a video file such as an .mp4. */\n declare videoSrc: string;\n /** What the video is, read out before it plays. */\n declare label: string;\n declare posterSrc: string;\n /** A captions file in WebVTT, for a video file. */\n declare captionsSrc: string;\n declare transcriptHref: string;\n declare playText: string;\n declare ratio: '16:9' | '4:3' | '1:1' | '9:16';\n /** `plain` is the video alone. `window` draws it in a window with a bar and a caption, on an ink stage. */\n declare look: 'plain' | 'window';\n /** With `window`: the words in the window's bar, such as \"Walkthrough video\". Decoration: `label` is what is read. */\n declare caption: string;\n /** How long the video is, such as \"2 min\", shown beside the Play button's words and read with them. */\n declare duration: string;\n /** What the video shows, as words, shown in a section that opens under it. Blank lines start a new paragraph. */\n declare transcript: string;\n /** The words on the line that opens the transcript, such as \"Read what the video shows\". */\n declare transcriptText: string;\n declare playing: boolean;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.videoSrc = '';\n this.label = 'Video';\n this.posterSrc = '';\n this.captionsSrc = '';\n this.transcriptHref = '';\n this.playText = 'Play video';\n this.ratio = '16:9';\n this.look = 'plain';\n this.caption = '';\n this.duration = '';\n this.transcript = '';\n this.transcriptText = '';\n this.playing = false;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n spaceAround,\n card,\n css`\n :host { display: block; }\n .frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: ${t.radiusXl}; background: #111; }\n :host([ratio='4:3']) .frame { aspect-ratio: 4 / 3; }\n :host([ratio='1:1']) .frame { aspect-ratio: 1; }\n :host([ratio='9:16']) .frame { aspect-ratio: 9 / 16; max-inline-size: 420px; }\n iframe, video, img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; border: 0; object-fit: cover; }\n .play { position: absolute; inset: 0; display: grid; place-items: center; inline-size: 100%; padding: 0; color: #fff; background: linear-gradient(transparent 40%, rgb(0 0 0 / 0.55)); border: 0; cursor: pointer; }\n .disc { display: grid; place-items: center; inline-size: 72px; block-size: 72px; border-radius: 50%; background: ${t.brand}; box-shadow: ${t.shadowLg}; }\n /* Held inside the frame at both edges, so loosened or long words wrap rather than run out of it (1.4.12). */\n .label { position: absolute; inset-inline: ${space(5)}; inset-block-end: ${space(4)}; ${type('lg')} font-weight: ${fontWeight('semibold')}; text-align: start; }\n .foot { margin: ${space(2)} 0 0; ${type('sm')} }\n .foot a { color: ${t.link}; }\n .empty { display: grid; place-items: center; block-size: 100%; color: #ccc; }\n /* The window: a bar with three dots and a caption over an ink stage. It stays ink in both themes. */\n .window { --stage: var(--impakt-video-stage, #111111); --stage-on: var(--impakt-video-stage-on, #efefed); --stage-rule: color-mix(in srgb, var(--stage-on) 14%, var(--stage)); background: var(--stage); color: var(--stage-on); border: ${t.borderThin} solid var(--stage-rule); }\n .bar { display: flex; align-items: center; gap: ${space(1.5)}; padding: ${space(3)} ${space(4)}; border-block-end: ${t.borderThin} solid var(--stage-rule); background: color-mix(in srgb, var(--stage-on) 6%, var(--stage)); }\n .bar .dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--stage-rule); }\n .bar .dot:first-child { background: ${token('color.accent.default', '#ffd43b')}; }\n .bar .caption { margin-inline-start: ${space(1.5)}; font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; color: color-mix(in srgb, var(--stage-on) 78%, var(--stage)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n :host([look='window']) .frame { border-radius: 0; background: var(--stage); }\n :host([look='window']) .play { background: none; color: inherit; }\n :host([look='window']) .disc { display: none; }\n :host([look='window']) .label { position: static; display: inline-flex; align-items: baseline; gap: ${space(3)}; max-inline-size: calc(100% - 2 * ${space(5)}); box-sizing: border-box; padding: ${space(3)} ${space(5)}; ${type('md')} font-weight: ${fontWeight('medium')}; color: ${token('color.accent.on', '#111111')}; background: ${token('color.accent.default', '#ffd43b')}; }\n :host([look='window']) .play:hover .label { background: color-mix(in srgb, ${token('color.accent.default', '#ffd43b')} 88%, #ffffff); }\n :host([look='window']) .play:focus-visible { outline: none; }\n :host([look='window']) .play:focus-visible .label { box-shadow: ${t.focusShadow}; }\n .length { font-family: ${t.fontMono}; font-size: 0.6875rem; letter-spacing: ${t.trackingWide}; text-transform: uppercase; }\n .transcript { margin-block-start: ${space(3)}; border-block: ${t.borderThin} solid ${t.text}; }\n .transcript summary { ${targetSize} display: flex; align-items: center; gap: ${space(2)}; padding-block: ${space(3)}; cursor: pointer; font-weight: ${fontWeight('medium')}; list-style: none; }\n .transcript summary::-webkit-details-marker { display: none; }\n .transcript summary::before { content: '+'; inline-size: 1ch; font-family: ${t.fontMono}; }\n .transcript[open] summary::before { content: '−'; }\n .transcript .words { padding-block-end: ${space(4)}; color: ${t.textMuted}; display: grid; gap: ${space(3)}; max-inline-size: 65ch; }\n .transcript p { margin: 0; }\n @media (forced-colors: active) { .window, .bar { border-color: CanvasText; } :host([look='window']) .label { border: 1px solid ButtonText; } }\n `,\n ];\n\n render(): TemplateResult {\n const embed = embedOf(this.videoSrc, pageLocale(this));\n let player: TemplateResult;\n if (!this.videoSrc) player = html`<div class=\"empty\">${say('Add a video address')}</div>`;\n else if (embed && this.playing)\n player = html`<iframe src=${embed} title=${this.label} allow=\"autoplay; encrypted-media; picture-in-picture; fullscreen\" allowfullscreen></iframe>`;\n else if (embed)\n player = html`${this.posterSrc ? html`<img src=${this.posterSrc} alt=\"\" />` : nothing}\n <button class=\"play\" type=\"button\" @click=${() => {\n this.playing = true;\n }}>\n <span class=\"disc\" aria-hidden=\"true\"><svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M8 5v14l11-7z\"/></svg></span>\n <span class=\"label\">${this.playText}${this.duration ? html` <span class=\"length\">${this.duration}</span>` : nothing}<span class=\"visually-hidden\">: ${this.label}</span></span>\n </button>`;\n else\n player = html`<video controls preload=\"metadata\" poster=${this.posterSrc || nothing} aria-label=${this.label}>\n <source src=${this.videoSrc} />\n ${this.captionsSrc ? html`<track kind=\"captions\" src=${this.captionsSrc} srclang=\"en\" label=\"English\" default />` : nothing}\n </video>`;\n const frame = html`<div class=\"frame\" part=\"frame\">${player}</div>`;\n const paragraphs = (this.transcript ?? '')\n .split(/\\n\\s*\\n/)\n .map((p) => p.trim())\n .filter(Boolean);\n return html`${\n this.look === 'window'\n ? html`<div class=\"window\" part=\"window\">\n <div class=\"bar\" aria-hidden=\"true\"><span class=\"dot\"></span><span class=\"dot\"></span><span class=\"dot\"></span>${this.caption ? html`<span class=\"caption\">${this.caption}</span>` : nothing}</div>\n ${frame}\n </div>`\n : frame\n }\n ${\n paragraphs.length\n ? html`<details class=\"transcript\" part=\"transcript\"><summary>${this.transcriptText || say('Read the transcript')}</summary><div class=\"words\">${paragraphs.map((p) => html`<p>${p}</p>`)}</div></details>`\n : nothing\n }\n ${this.transcriptHref ? html`<p class=\"foot\"><a href=${this.transcriptHref}>${say('Read the transcript')}<span class=\"visually-hidden\">${say(' of {video}', { video: this.label })}</span></a></p>` : nothing}`;\n }\n}\n\nconst NOTICE_WORDS: Record<string, { heading: string; text: string }> = {\n mortgage: { heading: 'Your home may be repossessed', text: 'Your home may be repossessed if you do not keep up repayments on your mortgage.' },\n 'secured-loan': {\n heading: 'Think carefully before securing other debts against your home',\n text: 'Your home may be repossessed if you do not keep up repayments on a mortgage or any other debt secured on it.',\n },\n investment: { heading: 'Capital at risk', text: 'The value of investments can go down as well as up, and you may get back less than you put in.' },\n insurance: { heading: 'Important information', text: 'Read the policy documents to check the cover suits your needs. Limits and exclusions apply.' },\n custom: { heading: '', text: '' },\n};\n\n/**\n * The warning and the regulator wording a financial page must carry, as a\n * block of its own so it is never left off.\n *\n * Pick the kind to start from the usual words, or `custom` to write your own.\n * Whatever it says, check it with whoever signs off your financial promotions.\n *\n * @category feedback\n * @icon shield\n */\nexport class ImpaktRegulatoryNotice extends ImpaktElement {\n static properties = {\n kind: { type: String, reflect: true },\n heading: { type: String },\n text: { type: String },\n firm: { type: String },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare kind: 'mortgage' | 'secured-loan' | 'investment' | 'insurance' | 'custom';\n /** Leave empty to use the usual heading for the kind. */\n declare heading: string;\n /** Leave empty to use the usual warning for the kind. */\n declare text: string;\n /** Who you are and who regulates you, such as \"Acme Ltd is authorised and regulated by the Financial Conduct Authority (FRN 123456).\" */\n declare firm: string;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.kind = 'mortgage';\n this.heading = '';\n this.text = '';\n this.firm = '';\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; }\n .box { padding: ${space(5)}; border-inline-start: 6px solid ${t.warning}; border-radius: ${t.radiusLg}; background: ${t.warningSubtle}; }\n :host([kind='insurance']) .box { border-color: ${t.info}; background: ${t.infoSubtle}; }\n strong { display: block; margin-block-end: ${space(1)}; ${type('md')} color: ${t.text}; }\n p { margin: 0; color: ${t.text}; }\n /* Muted text is proved against the card colour, not the notice's, so the firm's line is in the text colour (1.4.3). */\n .firm { margin-block-start: ${space(3)}; ${type('sm')} color: ${t.text}; }\n `,\n ];\n\n render(): TemplateResult {\n const preset = NOTICE_WORDS[this.kind] ?? NOTICE_WORDS.custom!;\n const heading = this.heading || (preset.heading ? say(preset.heading) : '');\n const text = this.text || (preset.text ? say(preset.text) : '');\n return html`<aside class=\"box\" part=\"box\" aria-label=${heading || say('Important information')}>\n ${heading ? html`<strong>${heading}</strong>` : nothing}\n ${text ? html`<p>${text}</p>` : nothing}\n ${this.firm ? html`<p class=\"firm\">${this.firm}</p>` : nothing}\n </aside>`;\n }\n}\n\n/** One band of a tax: everything above `from` and up to the next band's `from` is charged at `rate`. */\ninterface Band {\n from: number;\n rate: number;\n}\n\n/**\n * Stamp Duty Land Tax for England and Northern Ireland, from 1 April 2025.\n * Exported so the numbers can be checked, and changed in one place.\n */\nexport const SDLT = {\n standard: [\n { from: 0, rate: 0 },\n { from: 125000, rate: 2 },\n { from: 250000, rate: 5 },\n { from: 925000, rate: 10 },\n { from: 1500000, rate: 12 },\n ] as Band[],\n firstTime: [\n { from: 0, rate: 0 },\n { from: 300000, rate: 5 },\n ] as Band[],\n firstTimeLimit: 500000,\n additionalSurcharge: 5,\n};\n\nfunction taxOn(price: number, bands: Band[], extra = 0): number {\n let tax = 0;\n bands.forEach((band, i) => {\n const top = bands[i + 1]?.from ?? Infinity;\n if (price > band.from) tax += ((Math.min(price, top) - band.from) * (band.rate + extra)) / 100;\n });\n return Math.round(tax);\n}\n\n/** The stamp duty on a home, for a mover, a first-time buyer or a second home. */\nexport function stampDuty(price: number, buyer: 'mover' | 'first-time' | 'additional'): number {\n if (price <= 0) return 0;\n if (buyer === 'first-time' && price <= SDLT.firstTimeLimit) return taxOn(price, SDLT.firstTime);\n if (buyer === 'additional') return price < 40000 ? 0 : taxOn(price, SDLT.standard, SDLT.additionalSurcharge);\n return taxOn(price, SDLT.standard);\n}\n\nconst calcStyles = css`\n :host { display: block; container-type: inline-size; }\n .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); overflow: hidden; }\n .inputs { display: flex; flex-direction: column; gap: ${space(5)}; padding: ${space(8)}; }\n label, legend { display: block; ${type('sm')} font-weight: ${fontWeight('semibold')}; margin-block-end: ${space(1.5)}; padding: 0; }\n fieldset { margin: 0; padding: 0; border: 0; }\n .choices { display: flex; flex-wrap: wrap; gap: ${space(2)}; }\n .choices label { display: inline-flex; align-items: center; gap: ${space(2)}; margin: 0; padding: ${space(2)} ${space(3)}; font-weight: ${fontWeight('regular')}; border: ${t.borderThin} solid ${t.border}; border-radius: ${t.radiusLg}; cursor: pointer; }\n .choices input { accent-color: ${t.brand}; }\n input[type='number'] { box-sizing: border-box; inline-size: 100%; min-block-size: 44px; padding: ${space(2)} ${space(3)}; font: inherit; color: ${t.text}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.border}; border-radius: ${t.radiusLg}; }\n .result { display: flex; flex-direction: column; justify-content: center; gap: ${space(2)}; padding: ${space(8)}; color: ${t.onBrand}; background: ${t.brand}; }\n .caption { margin: 0; ${type('sm')} opacity: 0.85; }\n output { display: block; font-family: ${t.fontHeading}; ${type('4xl')} font-weight: ${fontWeight('bold')}; }\n .line { margin: 0; ${type('sm')} }\n .foot { grid-column: 1 / -1; padding: ${space(4)} ${space(8)}; background: ${t.surfaceSubtle}; }\n /* Muted text is proved against the card colour, not this band, so the small print here is in the text colour (1.4.3). */\n .foot .small { color: ${t.text}; }\n @container (max-width: 44rem) { .wrap { grid-template-columns: minmax(0, 1fr); } .inputs, .result { padding: ${space(5)}; } .foot { padding: ${space(4)} ${space(5)}; } }\n`;\n\n/**\n * How much stamp duty a home would cost, for a home mover, a first-time buyer\n * or a second home, worked out as the price is typed.\n *\n * The rates are England and Northern Ireland's from 1 April 2025. Scotland and\n * Wales have their own taxes, and rates change, so the small print says which\n * rates these are and points to GOV.UK.\n *\n * @category form\n * @icon pound\n */\nexport class ImpaktStampDutyCalculator extends ImpaktElement {\n static properties = {\n heading: { type: String },\n price: { type: Number },\n buyer: { type: String },\n smallPrint: { type: String, attribute: 'small-print' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare heading: string;\n declare price: number;\n declare buyer: 'mover' | 'first-time' | 'additional';\n declare smallPrint: string;\n declare headingLevel: 2 | 3;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.heading = 'How much stamp duty would you pay?';\n this.price = 385000;\n this.buyer = 'first-time';\n this.smallPrint =\n 'Based on Stamp Duty Land Tax rates in England and Northern Ireland from 1 April 2025. Scotland and Wales have their own taxes. Check what you would pay on GOV.UK.';\n this.headingLevel = 2;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [...ImpaktElement.styles, focusRing, spaceAround, card, calcStyles];\n\n render(): TemplateResult {\n const duty = stampDuty(this.price, this.buyer);\n const rate = this.price > 0 ? (duty / this.price) * 100 : 0;\n const buyers: [typeof this.buyer, string][] = [\n ['first-time', say('First home')],\n ['mover', say('Moving home')],\n ['additional', say('Second home')],\n ];\n return html`<div class=\"card wrap\" part=\"wrap\">\n <div class=\"inputs\">\n ${this.heading ? html`<div class=\"h\" role=\"heading\" aria-level=${this.headingLevel}>${this.heading}</div>` : nothing}\n <div><label for=${this.id_('price')}>${say('Price of the home (£)')}</label>\n <input id=${this.id_('price')} type=\"number\" min=\"0\" step=\"1000\" inputmode=\"numeric\" .value=${String(this.price)} @input=${(e: Event) => {\n this.price = Number((e.target as HTMLInputElement).value) || 0;\n }} /></div>\n <fieldset><legend>${say('Are you buying')}</legend><div class=\"choices\">\n ${buyers.map(\n ([value, label]) =>\n html`<label><input type=\"radio\" name=${this.id_('buyer')} .checked=${this.buyer === value} @change=${() => {\n this.buyer = value;\n }} />${label}</label>`,\n )}\n </div></fieldset>\n </div>\n <div class=\"result\" aria-live=\"polite\">\n <p class=\"caption\">${say('Stamp duty to pay')}</p>\n <output for=${this.id_('price')}>${money(duty)}</output>\n <p class=\"line\">${duty ? say('About {rate}% of the price', { rate: rate.toFixed(1) }) : say('Nothing to pay at this price')}</p>\n ${this.buyer === 'first-time' && this.price > SDLT.firstTimeLimit ? html`<p class=\"line\">${say('First-time buyer relief stops above {limit}, so the usual rates apply.', { limit: money(SDLT.firstTimeLimit) })}</p>` : nothing}\n </div>\n ${this.smallPrint ? html`<div class=\"foot\"><p class=\"small\">${this.smallPrint}</p></div>` : nothing}\n </div>`;\n }\n}\n\n/**\n * Roughly how much someone could borrow, from what they earn, and the price\n * of home that buys with their deposit.\n *\n * Lenders usually lend four to four and a half times income; the multiple is\n * a setting. It is a guide, not an offer, and the small print says so.\n *\n * @category form\n * @icon pound\n */\nexport class ImpaktAffordabilityCalculator extends ImpaktElement {\n static properties = {\n heading: { type: String },\n income: { type: Number },\n secondIncome: { type: Number, attribute: 'second-income' },\n deposit: { type: Number },\n timesIncome: { type: Number, attribute: 'times-income' },\n smallPrint: { type: String, attribute: 'small-print' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare heading: string;\n declare income: number;\n declare secondIncome: number;\n declare deposit: number;\n /** How many times income a lender would lend, such as 4.5. */\n declare timesIncome: number;\n declare smallPrint: string;\n declare headingLevel: 2 | 3;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.heading = 'How much could you borrow?';\n this.income = 45000;\n this.secondIncome = 0;\n this.deposit = 30000;\n this.timesIncome = 4.5;\n this.smallPrint =\n 'This is a guide, not a mortgage offer. What a lender offers depends on your circumstances. Your home may be repossessed if you do not keep up repayments on your mortgage.';\n this.headingLevel = 2;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [...ImpaktElement.styles, focusRing, spaceAround, card, calcStyles];\n\n private field(key: 'income' | 'secondIncome' | 'deposit'): (event: Event) => void {\n return (event) => {\n this[key] = Number((event.target as HTMLInputElement).value) || 0;\n };\n }\n\n render(): TemplateResult {\n const borrow = Math.max(0, (this.income + this.secondIncome) * this.timesIncome);\n const input = (key: 'income' | 'secondIncome' | 'deposit', label: string) => html`<div><label for=${this.id_(key)}>${label}</label>\n <input id=${this.id_(key)} type=\"number\" min=\"0\" step=\"1000\" inputmode=\"numeric\" .value=${String(this[key])} @input=${this.field(key)} /></div>`;\n return html`<div class=\"card wrap\" part=\"wrap\">\n <div class=\"inputs\">\n ${this.heading ? html`<div class=\"h\" role=\"heading\" aria-level=${this.headingLevel}>${this.heading}</div>` : nothing}\n ${input('income', say('Your yearly income before tax (£)'))}\n ${input('secondIncome', say('A second person’s income, if buying together (£)'))}\n ${input('deposit', say('Your deposit (£)'))}\n </div>\n <div class=\"result\" aria-live=\"polite\">\n <p class=\"caption\">${say('You could borrow about')}</p>\n <output>${money(borrow)}</output>\n <p class=\"line\">${say('With your deposit, that’s a home of about {amount}.', { amount: money(borrow + this.deposit) })}</p>\n </div>\n ${this.smallPrint ? html`<div class=\"foot\"><p class=\"small\">${this.smallPrint}</p></div>` : nothing}\n </div>`;\n }\n}\n\n/**\n * How to get in touch: a phone number, opening hours, an email address, and a\n * short form to ask for a call back.\n *\n * The form fires `impakt-submit` with the name, phone number and best time; the\n * app sends it on. Then the block thanks them in place.\n *\n * @fires {CustomEvent<{ name: string; phone: string; when: string }>} impakt-submit - When the form is sent.\n * @category content\n * @icon phone\n */\nexport class ImpaktContactBlock extends ImpaktElement {\n static properties = {\n heading: { type: String },\n phone: { type: String },\n hours: { type: String },\n email: { type: String },\n callbackHeading: { type: String, attribute: 'callback-heading' },\n buttonText: { type: String, attribute: 'button-text' },\n doneText: { type: String, attribute: 'done-text' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare heading: string;\n declare phone: string;\n /** One line a day or range, such as \"Monday to Friday, 9am to 6pm\". */\n declare hours: string;\n declare email: string;\n /** Leave empty to show no call back form. */\n declare callbackHeading: string;\n declare buttonText: string;\n declare doneText: string;\n declare headingLevel: 2 | 3;\n declare sent: boolean;\n declare spaceAbove: Space;\n declare spaceBelow: Space;\n\n constructor() {\n super();\n this.heading = 'Talk to us';\n this.phone = '0800 000 0000';\n this.hours = 'Monday to Friday, 9am to 6pm\\nSaturday, 10am to 2pm';\n this.email = '';\n this.callbackHeading = 'Or we can call you';\n this.buttonText = 'Ask for a call back';\n this.doneText = 'Thanks. We’ll call you at the time you chose.';\n this.headingLevel = 2;\n this.sent = false;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n spaceAround,\n card,\n css`\n :host { display: block; container-type: inline-size; }\n .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: ${space(6)}; padding: ${space(8)}; }\n .phone { display: inline-block; margin: ${space(3)} 0; font-family: ${t.fontHeading}; ${type('3xl')} font-weight: ${fontWeight('bold')}; color: ${t.link}; text-decoration: none; }\n .hours { margin: 0; white-space: pre-line; color: ${t.textMuted}; }\n .email { display: inline-flex; align-items: center; min-block-size: ${t.targetMin}; margin-block-start: ${space(3)}; color: ${t.link}; overflow-wrap: anywhere; }\n form { display: grid; gap: ${space(3)}; padding: ${space(5)}; border-radius: ${t.radiusLg}; background: ${t.surfaceInset}; }\n .sub { margin: 0; ${type('lg')} font-weight: ${fontWeight('bold')}; color: ${t.text}; }\n label { display: block; ${type('sm')} font-weight: ${fontWeight('semibold')}; margin-block-end: ${space(1)}; }\n input, select { box-sizing: border-box; inline-size: 100%; min-block-size: 44px; padding: ${space(2)} ${space(3)}; font: inherit; color: ${t.text}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.border}; border-radius: ${t.radiusLg}; }\n .done { margin: 0; padding: ${space(5)}; border-radius: ${t.radiusLg}; background: ${t.successSubtle}; color: ${t.successText}; font-weight: ${fontWeight('semibold')}; }\n @container (max-width: 40rem) { .wrap { grid-template-columns: minmax(0, 1fr); padding: ${space(5)}; } }\n `,\n ];\n\n private submit(event: SubmitEvent): void {\n event.preventDefault();\n const form = new FormData(event.target as HTMLFormElement);\n const data = { name: String(form.get('name') ?? ''), phone: String(form.get('phone') ?? ''), when: String(form.get('when') ?? '') };\n this.dispatchEvent(new CustomEvent('impakt-submit', { detail: data, bubbles: true, composed: true }));\n this.sent = true;\n }\n\n render(): TemplateResult {\n return html`<div class=\"card wrap\" part=\"wrap\">\n <div>\n ${this.heading ? html`<div class=\"h\" role=\"heading\" aria-level=${this.headingLevel}>${this.heading}</div>` : nothing}\n ${this.phone ? html`<a class=\"phone\" href=${`tel:${this.phone.replace(/[^\\d+]/g, '')}`}>${this.phone}</a>` : nothing}\n ${this.hours ? html`<p class=\"hours\">${this.hours}</p>` : nothing}\n ${this.email ? html`<a class=\"email\" href=${`mailto:${this.email}`}>${this.email}</a>` : nothing}\n </div>\n ${\n !this.callbackHeading\n ? nothing\n : this.sent\n ? html`<p class=\"done\" role=\"status\">${this.doneText}</p>`\n : html`<form @submit=${this.submit} aria-labelledby=${this.id_('cb')}>\n <p class=\"sub\" id=${this.id_('cb')}>${this.callbackHeading}</p>\n <div><label for=${this.id_('name')}>${say('Your name')}</label><input id=${this.id_('name')} name=\"name\" autocomplete=\"name\" required /></div>\n <div><label for=${this.id_('tel')}>${say('Phone number')}</label><input id=${this.id_('tel')} name=\"phone\" type=\"tel\" autocomplete=\"tel\" required /></div>\n <div><label for=${this.id_('when')}>${say('Best time to call')}</label><select id=${this.id_('when')} name=\"when\"><option value=\"Morning\">${say('Morning')}</option><option value=\"Afternoon\">${say('Afternoon')}</option><option value=\"Evening\">${say('Evening')}</option></select></div>\n <button class=\"btn\" type=\"submit\">${this.buttonText}</button>\n </form>`\n }\n </div>`;\n }\n}\n\n// Working values, not settings: kept out of `properties` so the page designer does not offer them.\nImpaktVideo.createProperty('playing', { state: true });\nImpaktContactBlock.createProperty('sent', { state: true });\n\ncustomElements.define('impakt-plan-comparison', ImpaktPlanComparison);\ncustomElements.define('impakt-video', ImpaktVideo);\ncustomElements.define('impakt-regulatory-notice', ImpaktRegulatoryNotice);\ncustomElements.define('impakt-stamp-duty-calculator', ImpaktStampDutyCalculator);\ncustomElements.define('impakt-affordability-calculator', ImpaktAffordabilityCalculator);\ncustomElements.define('impakt-contact-block', ImpaktContactBlock);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'impakt-plan-comparison': ImpaktPlanComparison;\n 'impakt-video': ImpaktVideo;\n 'impakt-regulatory-notice': ImpaktRegulatoryNotice;\n 'impakt-stamp-duty-calculator': ImpaktStampDutyCalculator;\n 'impakt-affordability-calculator': ImpaktAffordabilityCalculator;\n 'impakt-contact-block': ImpaktContactBlock;\n }\n}\n"],"mappings":";AAAA,SAAS,KAAK,MAAM,eAAoC;AACxD,SAAS,KAAK,YAAY,eAAe,WAAW,YAAY,gBAAgB,YAAY,OAAO,aAAa,GAAG,OAAO,YAAY;AAItI,IAAM,OAAO;AAAA,wBACW,EAAE,WAAW,oBAAoB,EAAE,QAAQ,iBAAiB,EAAE,QAAQ,eAAe,EAAE,QAAQ;AAAA,iCACtF,EAAE,WAAW,KAAK,KAAK,KAAK,CAAC,iBAAiB,WAAW,MAAM,CAAC,YAAY,EAAE,WAAW;AAAA,8GACZ,MAAM,GAAG,CAAC,IAAI,MAAM,CAAC,CAAC,iCAAiC,WAAW,UAAU,CAAC,YAAY,EAAE,OAAO,wCAAwC,EAAE,KAAK,+BAA+B,EAAE,QAAQ;AAAA,6BAC3Q,EAAE,UAAU;AAAA,wBACjB,EAAE,IAAI,sDAAsD,EAAE,UAAU,IAAI,EAAE,MAAM;AAAA,wBACpF,KAAK,IAAI,CAAC,WAAW,EAAE,SAAS;AAAA,uBACjC,cAAc;AAAA;AAGrC,IAAM,QAAQ,CAAC,QAAgB,WAAW,OAAO,SAAS,MAAM;AAC9D,MAAI;AACF,WAAO,IAAI,KAAK,aAAa,WAAW,GAAG,EAAE,OAAO,YAAY,UAAU,uBAAuB,QAAQ,uBA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AQ,6BAA6B,UAAU,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,OAAO;AAAA;AAAA,QAGhG,CAAC,KAAK,kBACF,UACA,KAAK,OACH,qCAAqC,KAAK,QAAQ,SAClD,qBAAqB,KAAK,MAAM,oBAAoB,KAAK,IAAI,IAAI,CAAC;AAAA,4BACpD,KAAK,IAAI,IAAI,CAAC,IAAI,KAAK,eAAe;AAAA,0BACxC,KAAK,IAAI,MAAM,CAAC,IAAI,IAAI,WAAW,CAAC,qBAAqB,KAAK,IAAI,MAAM,CAAC;AAAA,0BACzE,KAAK,IAAI,KAAK,CAAC,IAAI,IAAI,cAAc,CAAC,qBAAqB,KAAK,IAAI,KAAK,CAAC;AAAA,0BAC1E,KAAK,IAAI,MAAM,CAAC,IAAI,IAAI,mBAAmB,CAAC,sBAAsB,KAAK,IAAI,MAAM,CAAC,wCAAwC,IAAI,SAAS,CAAC,sCAAsC,IAAI,WAAW,CAAC,oCAAoC,IAAI,SAAS,CAAC;AAAA,4CAC9N,KAAK,UAAU;AAAA,cAErD;AAAA;AAAA,EAEJ;AACF;AAGA,YAAY,eAAe,WAAW,EAAE,OAAO,KAAK,CAAC;AACrD,mBAAmB,eAAe,QAAQ,EAAE,OAAO,KAAK,CAAC;AAEzD,eAAe,OAAO,0BAA0B,oBAAoB;AACpE,eAAe,OAAO,gBAAgB,WAAW;AACjD,eAAe,OAAO,4BAA4B,sBAAsB;AACxE,eAAe,OAAO,gCAAgC,yBAAyB;AAC/E,eAAe,OAAO,mCAAmC,6BAA6B;AACtF,eAAe,OAAO,wBAAwB,kBAAkB;","names":[]}
@@ -1,72 +0,0 @@
1
- /**
2
- * A row of linked cards.
3
- */
4
- import { type TemplateResult } from 'lit';
5
- import { ImpaktElement } from '@atomic-ui/ui';
6
- /** One card in a row of them. */
7
- export interface CardItem {
8
- id?: string;
9
- heading: string;
10
- text?: string;
11
- imageSrc?: string;
12
- imageAlt?: string;
13
- href?: string;
14
- badge?: string;
15
- }
16
- /**
17
- * A row of cards, each a picture, a heading, a line of text and a link: the
18
- * developments on a developments page, or the house types at one of them.
19
- *
20
- * **The whole card is the link's target, and the heading is its name.** The
21
- * link is on the heading, so a screen reader hears "Larkfield Meadows, link"
22
- * once rather than the whole card read out as one long link, and a pointer
23
- * can still press anywhere on the card.
24
- *
25
- * @category content
26
- * @icon cards
27
- */
28
- export declare class ImpaktCardGrid extends ImpaktElement {
29
- static properties: {
30
- items: {
31
- type: ArrayConstructor;
32
- };
33
- columns: {
34
- type: StringConstructor;
35
- reflect: boolean;
36
- };
37
- headingLevel: {
38
- type: NumberConstructor;
39
- attribute: string;
40
- };
41
- ratio: {
42
- type: StringConstructor;
43
- reflect: boolean;
44
- };
45
- spaceAbove: {
46
- type: StringConstructor;
47
- reflect: boolean;
48
- attribute: string;
49
- };
50
- spaceBelow: {
51
- type: StringConstructor;
52
- reflect: boolean;
53
- attribute: string;
54
- };
55
- };
56
- items: CardItem[];
57
- columns: 'two' | 'three' | 'four';
58
- /** The level of each card's heading. One below the heading above the cards. */
59
- headingLevel: 2 | 3 | 4;
60
- /** The shape of each card's picture. */
61
- ratio: '16:9' | '4:3' | '3:2' | '1:1';
62
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
63
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
64
- constructor();
65
- static styles: import("lit").CSSResult[];
66
- render(): TemplateResult;
67
- }
68
- declare global {
69
- interface HTMLElementTagNameMap {
70
- 'impakt-card-grid': ImpaktCardGrid;
71
- }
72
- }
@@ -1,7 +0,0 @@
1
- import {
2
- ImpaktCardGrid
3
- } from "../chunk-ZD75GU6J.js";
4
- export {
5
- ImpaktCardGrid
6
- };
7
- //# sourceMappingURL=card-grid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,389 +0,0 @@
1
- import { type TemplateResult } from 'lit';
2
- import { ImpaktElement } from '@atomic-ui/ui';
3
- export interface SitePlot {
4
- id?: string;
5
- /** What is printed on the pin, such as 14. */
6
- number: string;
7
- /** The house type, such as The Hawthorn. */
8
- name?: string;
9
- status: 'available' | 'reserved' | 'sold';
10
- price?: string;
11
- beds?: string;
12
- /** How far across the plan the pin sits, from 0 to 100. */
13
- x: number | string;
14
- /** How far down the plan the pin sits, from 0 to 100. */
15
- y: number | string;
16
- href?: string;
17
- }
18
- /**
19
- * A drawing of the development with a pin on every plot. Choose a pin to see
20
- * whether it is available, what it costs and where to go next.
21
- *
22
- * Every pin is a button named in full, such as "Plot 14, The Hawthorn,
23
- * Available, £385,000". Status is shown by the pin's shape as well as its
24
- * colour, so it does not rely on colour alone (1.4.1).
25
- *
26
- * @category content
27
- * @icon map
28
- * @fires {CustomEvent<{ plot: SitePlot }>} impakt-select - When a plot is chosen. The plot is in detail.plot.
29
- */
30
- export declare class ImpaktSitePlan extends ImpaktElement {
31
- static properties: {
32
- imageSrc: {
33
- type: StringConstructor;
34
- attribute: string;
35
- };
36
- imageAlt: {
37
- type: StringConstructor;
38
- attribute: string;
39
- };
40
- plots: {
41
- type: ArrayConstructor;
42
- };
43
- hint: {
44
- type: StringConstructor;
45
- };
46
- selectedPlot: {
47
- type: StringConstructor;
48
- attribute: string;
49
- };
50
- panel: {
51
- type: StringConstructor;
52
- reflect: boolean;
53
- };
54
- plotWord: {
55
- type: StringConstructor;
56
- attribute: string;
57
- };
58
- actionText: {
59
- type: StringConstructor;
60
- attribute: string;
61
- };
62
- availableText: {
63
- type: StringConstructor;
64
- attribute: string;
65
- };
66
- reservedText: {
67
- type: StringConstructor;
68
- attribute: string;
69
- };
70
- soldText: {
71
- type: StringConstructor;
72
- attribute: string;
73
- };
74
- spaceAbove: {
75
- type: StringConstructor;
76
- reflect: boolean;
77
- attribute: string;
78
- };
79
- spaceBelow: {
80
- type: StringConstructor;
81
- reflect: boolean;
82
- attribute: string;
83
- };
84
- };
85
- imageSrc: string;
86
- imageAlt: string;
87
- plots: SitePlot[];
88
- /** The number of the plot shown first. */
89
- selectedPlot: string;
90
- /** The details beside the plan, or floating over it. */
91
- panel: 'beside' | 'over';
92
- /** What is said before a plot is chosen. */
93
- hint: string;
94
- plotWord: string;
95
- actionText: string;
96
- availableText: string;
97
- reservedText: string;
98
- soldText: string;
99
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
100
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
101
- private chosen;
102
- constructor();
103
- static styles: import("lit").CSSResult[];
104
- willUpdate(changed: Map<string, unknown>): void;
105
- private word;
106
- private choose;
107
- private renderPanel;
108
- render(): TemplateResult;
109
- }
110
- /** The monthly repayment on a loan. A rate of nothing is the loan split evenly. */
111
- export declare function monthlyPayment(loan: number, annualRate: number, years: number): number;
112
- /**
113
- * What a home would cost each month, worked out as the sliders move.
114
- *
115
- * The result is an estimate and the warning under it is on by default, because
116
- * UK rules expect it wherever repayments are shown. Change the words for other
117
- * markets, but check with whoever signs off your financial promotions first.
118
- *
119
- * @category form
120
- * @icon pound
121
- */
122
- export declare class ImpaktMortgageCalculator extends ImpaktElement {
123
- static properties: {
124
- heading: {
125
- type: StringConstructor;
126
- };
127
- price: {
128
- type: NumberConstructor;
129
- };
130
- depositPercent: {
131
- type: NumberConstructor;
132
- attribute: string;
133
- };
134
- rate: {
135
- type: NumberConstructor;
136
- };
137
- years: {
138
- type: NumberConstructor;
139
- };
140
- currency: {
141
- type: StringConstructor;
142
- };
143
- smallPrint: {
144
- type: StringConstructor;
145
- attribute: string;
146
- };
147
- headingLevel: {
148
- type: NumberConstructor;
149
- attribute: string;
150
- };
151
- spaceAbove: {
152
- type: StringConstructor;
153
- reflect: boolean;
154
- attribute: string;
155
- };
156
- spaceBelow: {
157
- type: StringConstructor;
158
- reflect: boolean;
159
- attribute: string;
160
- };
161
- };
162
- heading: string;
163
- price: number;
164
- depositPercent: number;
165
- rate: number;
166
- years: number;
167
- /** The three-letter currency code, such as GBP. */
168
- currency: string;
169
- smallPrint: string;
170
- headingLevel: 2 | 3;
171
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
172
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
173
- constructor();
174
- static styles: import("lit").CSSResult[];
175
- private money;
176
- private field;
177
- render(): TemplateResult;
178
- }
179
- /**
180
- * Two pictures of one place with a handle to drag between them: a bare plot
181
- * and the finished street, a shell and the fitted kitchen.
182
- *
183
- * The handle is a native range control, so it works with a finger, a mouse and
184
- * the arrow keys, and a screen reader hears how far across it is. Both pictures
185
- * need descriptions, because they are the content.
186
- *
187
- * @category content
188
- * @icon image
189
- */
190
- export declare class ImpaktBeforeAfter extends ImpaktElement {
191
- static properties: {
192
- beforeSrc: {
193
- type: StringConstructor;
194
- attribute: string;
195
- };
196
- beforeAlt: {
197
- type: StringConstructor;
198
- attribute: string;
199
- };
200
- afterSrc: {
201
- type: StringConstructor;
202
- attribute: string;
203
- };
204
- afterAlt: {
205
- type: StringConstructor;
206
- attribute: string;
207
- };
208
- beforeLabel: {
209
- type: StringConstructor;
210
- attribute: string;
211
- };
212
- afterLabel: {
213
- type: StringConstructor;
214
- attribute: string;
215
- };
216
- label: {
217
- type: StringConstructor;
218
- };
219
- position: {
220
- type: NumberConstructor;
221
- };
222
- spaceAbove: {
223
- type: StringConstructor;
224
- reflect: boolean;
225
- attribute: string;
226
- };
227
- spaceBelow: {
228
- type: StringConstructor;
229
- reflect: boolean;
230
- attribute: string;
231
- };
232
- };
233
- beforeSrc: string;
234
- beforeAlt: string;
235
- afterSrc: string;
236
- afterAlt: string;
237
- beforeLabel: string;
238
- afterLabel: string;
239
- /** The name of the handle for a screen reader. */
240
- label: string;
241
- /** How far across the handle starts, from 0 to 100. */
242
- position: number;
243
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
244
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
245
- constructor();
246
- static styles: import("lit").CSSResult[];
247
- render(): TemplateResult;
248
- }
249
- /**
250
- * A bar fixed to the bottom of the screen that keeps the one thing to do in
251
- * reach, such as booking a viewing.
252
- *
253
- * It appears once the visitor has scrolled, keeps a space for itself at the end
254
- * of the page, and tells the browser to scroll focused controls clear of it so
255
- * it never covers what the keyboard is on (2.4.11).
256
- *
257
- * @category navigation
258
- * @icon bar
259
- * @slot actions - The button or link to keep in reach.
260
- */
261
- export declare class ImpaktStickyBar extends ImpaktElement {
262
- static properties: {
263
- label: {
264
- type: StringConstructor;
265
- };
266
- heading: {
267
- type: StringConstructor;
268
- };
269
- lead: {
270
- type: StringConstructor;
271
- };
272
- showOn: {
273
- type: StringConstructor;
274
- reflect: boolean;
275
- attribute: string;
276
- };
277
- revealAfter: {
278
- type: NumberConstructor;
279
- attribute: string;
280
- };
281
- };
282
- /** The name of this region for a screen reader. */
283
- label: string;
284
- heading: string;
285
- lead: string;
286
- showOn: 'phones' | 'all';
287
- /** How many pixels the visitor scrolls before it appears. */
288
- revealAfter: number;
289
- private shown;
290
- constructor();
291
- static styles: import("lit").CSSResult[];
292
- private check;
293
- /** Leaves room for the bar when the browser scrolls something into view. */
294
- private clearance;
295
- connectedCallback(): void;
296
- disconnectedCallback(): void;
297
- render(): TemplateResult;
298
- }
299
- export interface NearbyItem {
300
- id?: string;
301
- place: string;
302
- /** How far, in words: 8 minutes by train. */
303
- distance: string;
304
- }
305
- /**
306
- * Where a place is and how to get there: a map picture, the address, opening
307
- * hours, travel times and a link for directions.
308
- *
309
- * The map is a picture you supply, not an embedded map. An embed loads a third
310
- * party's cookies before the visitor has agreed to anything.
311
- *
312
- * @category content
313
- * @icon map-pin
314
- * @role heading
315
- */
316
- export declare class ImpaktLocationCard extends ImpaktElement {
317
- static properties: {
318
- heading: {
319
- type: StringConstructor;
320
- };
321
- address: {
322
- type: StringConstructor;
323
- };
324
- hours: {
325
- type: StringConstructor;
326
- };
327
- phone: {
328
- type: StringConstructor;
329
- };
330
- mapSrc: {
331
- type: StringConstructor;
332
- attribute: string;
333
- };
334
- mapAlt: {
335
- type: StringConstructor;
336
- attribute: string;
337
- };
338
- directionsText: {
339
- type: StringConstructor;
340
- attribute: string;
341
- };
342
- directionsHref: {
343
- type: StringConstructor;
344
- attribute: string;
345
- };
346
- nearby: {
347
- type: ArrayConstructor;
348
- };
349
- headingLevel: {
350
- type: NumberConstructor;
351
- attribute: string;
352
- };
353
- spaceAbove: {
354
- type: StringConstructor;
355
- reflect: boolean;
356
- attribute: string;
357
- };
358
- spaceBelow: {
359
- type: StringConstructor;
360
- reflect: boolean;
361
- attribute: string;
362
- };
363
- };
364
- heading: string;
365
- address: string;
366
- hours: string;
367
- phone: string;
368
- mapSrc: string;
369
- mapAlt: string;
370
- directionsText: string;
371
- /** Leave empty and the link searches a map for the address. */
372
- directionsHref: string;
373
- nearby: NearbyItem[];
374
- headingLevel: 2 | 3;
375
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
376
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
377
- constructor();
378
- static styles: import("lit").CSSResult[];
379
- render(): TemplateResult;
380
- }
381
- declare global {
382
- interface HTMLElementTagNameMap {
383
- 'impakt-site-plan': ImpaktSitePlan;
384
- 'impakt-mortgage-calculator': ImpaktMortgageCalculator;
385
- 'impakt-before-after': ImpaktBeforeAfter;
386
- 'impakt-sticky-bar': ImpaktStickyBar;
387
- 'impakt-location-card': ImpaktLocationCard;
388
- }
389
- }
@@ -1,17 +0,0 @@
1
- import {
2
- ImpaktBeforeAfter,
3
- ImpaktLocationCard,
4
- ImpaktMortgageCalculator,
5
- ImpaktSitePlan,
6
- ImpaktStickyBar,
7
- monthlyPayment
8
- } from "../chunk-XB6FD4SF.js";
9
- export {
10
- ImpaktBeforeAfter,
11
- ImpaktLocationCard,
12
- ImpaktMortgageCalculator,
13
- ImpaktSitePlan,
14
- ImpaktStickyBar,
15
- monthlyPayment
16
- };
17
- //# sourceMappingURL=property.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}