@atomic-ui/blocks 0.14.0 → 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 (69) hide show
  1. package/README.md +15 -15
  2. package/custom-elements.json +2978 -9654
  3. package/dist/chunk-GQ2I44OU.js +226 -0
  4. package/dist/chunk-GQ2I44OU.js.map +1 -0
  5. package/dist/chunk-HISF6RYK.js +199 -0
  6. package/dist/chunk-HISF6RYK.js.map +1 -0
  7. package/dist/{chunk-Q366ZM2X.js → chunk-LJGOTYDJ.js} +17 -41
  8. package/dist/chunk-LJGOTYDJ.js.map +1 -0
  9. package/dist/{chunk-BW5ZMKES.js → chunk-OBBPBN4S.js} +17 -144
  10. package/dist/chunk-OBBPBN4S.js.map +1 -0
  11. package/dist/chunk-OHXEZPBB.js +109 -0
  12. package/dist/chunk-OHXEZPBB.js.map +1 -0
  13. package/dist/{chunk-NZQZRBKV.js → chunk-VOONXP5H.js} +15 -57
  14. package/dist/chunk-VOONXP5H.js.map +1 -0
  15. package/dist/chunk-XSKGWT2D.js +84 -0
  16. package/dist/chunk-XSKGWT2D.js.map +1 -0
  17. package/dist/components/changelog.d.ts +0 -288
  18. package/dist/components/changelog.js +3 -12
  19. package/dist/components/g2-site.d.ts +27 -40
  20. package/dist/components/g2-site.js +1 -3
  21. package/dist/components/marketing.d.ts +0 -283
  22. package/dist/components/marketing.js +3 -13
  23. package/dist/components/organisms.d.ts +0 -489
  24. package/dist/components/organisms.js +3 -19
  25. package/dist/components/selling.d.ts +0 -255
  26. package/dist/components/selling.js +3 -15
  27. package/dist/components/site.d.ts +6 -52
  28. package/dist/components/site.js +3 -5
  29. package/dist/components/studio.d.ts +10 -95
  30. package/dist/components/studio.js +1 -3
  31. package/dist/index.d.ts +9 -13
  32. package/dist/index.js +23 -101
  33. package/dist/index.js.map +1 -1
  34. package/dist/standalone/atomic-ui-blocks.js +751 -1642
  35. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  36. package/dist/standalone/index.html +18 -26
  37. package/package.json +3 -3
  38. package/specimen/index.html +18 -26
  39. package/dist/chunk-BW5ZMKES.js.map +0 -1
  40. package/dist/chunk-GZTBAT6P.js +0 -574
  41. package/dist/chunk-GZTBAT6P.js.map +0 -1
  42. package/dist/chunk-NHWD2LUR.js +0 -255
  43. package/dist/chunk-NHWD2LUR.js.map +0 -1
  44. package/dist/chunk-NZQZRBKV.js.map +0 -1
  45. package/dist/chunk-Q366ZM2X.js.map +0 -1
  46. package/dist/chunk-R7SSIE2E.js +0 -362
  47. package/dist/chunk-R7SSIE2E.js.map +0 -1
  48. package/dist/chunk-XB6FD4SF.js +0 -438
  49. package/dist/chunk-XB6FD4SF.js.map +0 -1
  50. package/dist/chunk-YXMXLVK7.js +0 -230
  51. package/dist/chunk-YXMXLVK7.js.map +0 -1
  52. package/dist/chunk-ZD75GU6J.js +0 -75
  53. package/dist/chunk-ZD75GU6J.js.map +0 -1
  54. package/dist/chunk-ZM2HLQOG.js +0 -783
  55. package/dist/chunk-ZM2HLQOG.js.map +0 -1
  56. package/dist/chunk-ZODL5HD4.js +0 -535
  57. package/dist/chunk-ZODL5HD4.js.map +0 -1
  58. package/dist/components/card-grid.d.ts +0 -72
  59. package/dist/components/card-grid.js +0 -7
  60. package/dist/components/card-grid.js.map +0 -1
  61. package/dist/components/property.d.ts +0 -389
  62. package/dist/components/property.js +0 -17
  63. package/dist/components/property.js.map +0 -1
  64. package/dist/components/scene.d.ts +0 -138
  65. package/dist/components/scene.js +0 -7
  66. package/dist/components/scene.js.map +0 -1
  67. package/dist/components/scrubber.d.ts +0 -86
  68. package/dist/components/scrubber.js +0 -7
  69. package/dist/components/scrubber.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/g2-site.ts"],"sourcesContent":["/**\n * The G2 Noire site blocks: the stage tag and section head every section starts\n * with, the service card, the cursors and hand notes on the hero, the facts,\n * numbered and column lists, and the office card.\n */\nimport { css, html, nothing, type TemplateResult } from 'lit';\nimport { ImpaktElement, R, focusRing, fontWeight, revealAt, revealStyles, say, space, spaceAround, t, token } from '@atomic-ui/ui';\nimport { accent, accentOn, accentOnInk, ink, inkLine, inkMuted, inkRaised, levelOf, monoLabel, pad, paper } from './g2-shared';\n\n/** The five stages of a project, as the stage tags name them. */\nexport type StageName = 'note' | 'wireframe' | 'component' | 'code' | 'live';\n\n/** Each stage's number, phase and name, in English; `say` puts them in the page's language. */\nexport const STAGE_WORDS: Record<StageName, readonly [string, string, string]> = {\n note: ['01', 'Discover', 'Note'],\n wireframe: ['02', 'Design low-fi', 'Wireframe'],\n component: ['03', 'Design hi-fi', 'Component'],\n code: ['04', 'Build', 'Code'],\n live: ['05', 'Launch', 'Live'],\n};\n\n/**\n * A small square mono tag that says which stage of a project a section shows,\n * such as \"01 Discover Note\": the number in the accent, the phase in paper and\n * the stage's name quieter, on ink.\n *\n * Set `stage` for one of the five stages, or `index`, `phase` and `label` for\n * your own words; each one set wins over the stage's. The tag is drawn on the\n * raised ink with a hairline round it, on paper and on an ink band alike, as\n * the Stage tag component (`8:320`) is; `on-ink` is kept for pages that set it\n * and draws the same tag.\n *\n * **It is decoration.** The section's heading says what the section is, so the\n * tag is hidden from a screen reader unless `announce` is set (1.3.1). The tag\n * stays ink in both themes, so the yellow on it stays readable (1.4.3).\n *\n * For a brand with the reveal set on, it types its words in once as its\n * section arrives (impkt-web#51); with no script and with reduced motion it is\n * simply there.\n *\n * @category content\n * @icon tag\n */\nexport class ImpaktStageTag extends ImpaktElement {\n static properties = {\n stage: { type: String, reflect: true },\n index: { type: String },\n phase: { type: String },\n label: { type: String },\n onInk: { type: Boolean, reflect: true, attribute: 'on-ink' },\n announce: { type: Boolean },\n };\n /** One of the five stages, which fills in the words. Leave empty to give them yourself. */\n declare stage: StageName | '';\n /** The number, such as \"01\". */\n declare index: string;\n /** The phase, such as \"Discover\". */\n declare phase: string;\n /** The stage's name, such as \"Note\". */\n declare label: string;\n /** Kept for pages that set it: the tag is raised off the ink with a line round it on every band. */\n declare onInk: boolean;\n /** Let a screen reader read the tag. Leave off when the heading beside it says the same. */\n declare announce: boolean;\n\n constructor() {\n super();\n this.stage = '';\n this.index = '';\n this.phase = '';\n this.label = '';\n this.onInk = false;\n this.announce = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; vertical-align: middle; }\n /* The Stage tag component (8:320): G2 Mono S, 11px medium capitals at 0.06em, 10px apart, 6 by 10 inside, on the raised ink with a hairline. Its corner is a brand shape, 3px for Impakt. */\n .tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; background: ${inkRaised}; border: 1px solid ${inkLine}; border-radius: ${token('stage-tag.radius', '0px')}; ${monoLabel}; font-weight: ${fontWeight('medium')}; white-space: nowrap; }\n .index { color: ${accentOnInk}; }\n .phase { color: ${paper}; }\n .label { color: ${inkMuted}; }\n @media (forced-colors: active) { .tag { border-color: CanvasText; } .index, .phase, .label { color: CanvasText; } }\n /* Labels type in (impkt-web#51): the tag types its words in from the left in 240ms as its section arrives. All of them are in the page from the start. */\n :host([data-motion]) .tag { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const words = this.stage && this.stage in STAGE_WORDS ? STAGE_WORDS[this.stage] : undefined;\n const index = this.index || words?.[0] || '';\n const phase = this.phase || (words ? say(words[1]) : '');\n const label = this.label || (words ? say(words[2]) : '');\n if (!index && !phase && !label) return html``;\n return html`<span class=\"tag\" part=\"tag\" aria-hidden=${this.announce ? nothing : 'true'}\n >${index ? html`<span class=\"index\" part=\"index\">${index}</span>` : nothing}${phase ? html`<span class=\"phase\" part=\"phase\">${phase}</span>` : nothing}${\n label ? html`<span class=\"label\" part=\"label\">${label}</span>` : nothing\n }</span\n >`;\n }\n}\n\n/**\n * The head of a section: a mono label such as \"# Services\" with an optional\n * stage tag on the right, then a display heading and a lead.\n *\n * `size` sets the heading: `xl` (120px) for a page's hero, `l` (64px), and `m`\n * (52px) for a section. Give the heading as `heading`, or in the `heading` slot\n * when part of it is picked out with `impakt-highlight` or an accent word. The\n * lead goes under the heading, or with `lead-position=\"side\"` at the foot of a\n * 340px column on the right. The `aside` slot holds a picture on the right,\n * such as a journey object at 448 by 288, with the heading and lead level with\n * its middle. A page drawn on the server sets `aside` when it fills the slot,\n * since the head cannot see its children there; in a browser the head sets it\n * itself.\n *\n * **One heading, at the level the page needs.** `level` is 1 for a page's hero\n * and 2 for a section (1.3.1, 2.4.6). The \"#\" before the label is decoration.\n *\n * For a brand with the reveal set on, the label types itself in once as the\n * section arrives, and a stage tag beside it does the same (impkt-web#51); the\n * heading and the lead never move.\n *\n * **It stacks in a narrow column**, measured against its own width: the label\n * row, the heading, the lead and the aside, in reading order (1.4.10). It takes\n * its colours from the band it is on, so it reads on paper, ink and accent.\n *\n * @category layout\n * @icon heading\n * @role heading\n * @slot heading - The heading, when it holds more than words, such as an `impakt-highlight`. Replaces `heading`.\n * @slot lead - The lead, when it holds more than words. Replaces `lead`.\n * @slot tag - Something on the right of the label row, in place of the stage tag.\n * @slot aside - A picture on the right of the heading, such as a journey object.\n */\nexport class ImpaktSectionHead extends ImpaktElement {\n static properties = {\n label: { type: String },\n heading: { type: String },\n lead: { type: String },\n size: { type: String, reflect: true },\n level: { type: Number, reflect: true },\n leadPosition: { type: String, reflect: true, attribute: 'lead-position' },\n stage: { type: String },\n stageOnInk: { type: Boolean, attribute: 'stage-on-ink' },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n aside: { type: Boolean, reflect: true },\n };\n /** The mono label above the heading, such as \"Services\". A \"#\" is drawn before it. */\n declare label: string;\n declare heading: string;\n /** A sentence or two about the section. */\n declare lead: string;\n /** How large the heading is: `xl` 120px, `l` 64px, `m` 52px. */\n declare size: 'xl' | 'l' | 'm';\n /** The heading's level: 1 for a page's hero, 2 for a section. */\n declare level: 1 | 2;\n /** Where the lead goes: under the heading, or at the foot of a column on the right. */\n declare leadPosition: 'below' | 'side';\n /** A stage tag on the right of the label row. Leave empty for none. */\n declare stage: StageName | '';\n /** Draw the stage tag for an ink band. */\n declare stageOnInk: boolean;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n /** The `aside` slot is filled. Set it on a page drawn on the server; in a browser the head sets it when the slot changes. */\n declare aside: boolean;\n\n constructor() {\n super();\n this.aside = false;\n this.label = '';\n this.heading = '';\n this.lead = '';\n this.size = 'm';\n this.level = 2;\n this.leadPosition = 'below';\n this.stage = '';\n this.stageOnInk = false;\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; container-type: inline-size; color: ${t.text}; }\n /* The label row is the label's own 20px (12:712, 10:642), or the stage tag's 29px beside it (9:296). */\n .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: ${space(2)} ${space(4)}; }\n .top.tagged { min-block-size: 29px; }\n /* The label row in G2 Mono M: IBM Plex Mono 13px at 1.5 (14:728). */\n .label { margin: 0; font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }\n .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: ${space(10)}; row-gap: ${space(6)}; align-items: end; margin-block-start: ${space(6)}; }\n .heading { margin: 0; font-family: ${t.fontHeading}; font-weight: ${fontWeight('semibold')}; color: var(--impakt-color-text-heading, ${t.text}); text-wrap: balance; overflow-wrap: anywhere; }\n :host([size='m']) .heading { font-size: clamp(2.25rem, 1.2rem + 4cqi, 3.25rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 11.5em; }\n /* Display L sets a section title 680px wide at 64px, with a side lead or without (21:1080, 20:1160, 34:644). */\n :host([size='l']) .heading { font-size: clamp(2.5rem, 1.2rem + 5cqi, 4rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 10.625em; }\n /* Display XL: 120px on a 1080px column and 52px on a 350px phone column, line height 1 and -5% (9:303, 14:734). */\n :host([size='xl']) .heading { font-size: clamp(3.25rem, 1.2128rem + 9.315cqi, 7.5rem); line-height: var(--impakt-type-display-xl-line-height, 1); letter-spacing: var(--impakt-type-display-xl-tracking, -0.05em); }\n /* The lead in G2 Body M, 16px at 1.45, 24px under the heading and at most 480px wide (9:385). */\n .lead { margin: ${space(6)} 0 0; max-inline-size: 30rem; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n .side { display: grid; gap: ${space(6)}; justify-items: end; }\n /* Beside a picture in the aside, such as the journey button, the heading sits level with the middle of it. */\n :host([aside]) .body, .body.aside { align-items: center; }\n .side .lead { margin: 0; max-inline-size: 340px; inline-size: 340px; }\n .side:not(:has(.lead)) { align-self: center; }\n ::slotted([slot='aside']) { display: block; max-inline-size: 100%; }\n @container (max-width: 47.99rem) {\n /* On a phone the heading is 20px under the label row and the lead 16px under the heading (14:984, 14:804). */\n .body { grid-template-columns: minmax(0, 1fr); row-gap: 0; margin-block-start: ${space(5)}; }\n /* A row with a stage tag in it keeps 24px under it, as the 53px label row of 15:1058 does. */\n .top.tagged + .body { margin-block-start: ${space(6)}; }\n .main .lead { margin-block-start: ${space(4)}; }\n /* The side column takes room only for what it shows: a side lead 16px under the heading (14:986), an aside 24px under what is above it. An empty one, or an aside hidden on a phone, leaves no gap (15:1017, 15:1039, 15:940). */\n .side { justify-items: stretch; gap: 0; }\n .side .lead { inline-size: auto; max-inline-size: none; margin-block-start: ${space(4)}; }\n ::slotted([slot='aside']) { margin-block-start: ${space(6)}; }\n }\n /* Labels type in (impkt-web#51): the mono label types in as the section arrives. The heading and the lead, which are read, never move. */\n :host([data-motion]) .label { animation: ik-reveal-type ${R.type} ${R.arrive} ${revealAt(0)} both; }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const lead = html`<p class=\"lead\" part=\"lead\"><slot name=\"lead\">${this.lead}</slot></p>`;\n const showLead = Boolean(this.lead) || this.hasSlot('lead');\n const inner = html`<slot name=\"heading\">${this.heading}</slot>`;\n const heading = Number(this.level) === 1 ? html`<h1 class=\"heading\" part=\"heading\">${inner}</h1>` : html`<h2 class=\"heading\" part=\"heading\">${inner}</h2>`;\n const side = this.leadPosition === 'side';\n return html`<header part=\"head\">\n <div class=${this.stage || this.hasSlot('tag') ? 'top tagged' : 'top'}>\n ${this.label ? html`<p class=\"label\" part=\"label\"><span aria-hidden=\"true\"># </span>${this.label}</p>` : html`<span></span>`}\n <slot name=\"tag\" @slotchange=${() => this.requestUpdate()}>${this.stage ? html`<impakt-stage-tag stage=${this.stage} ?on-ink=${this.stageOnInk}></impakt-stage-tag>` : nothing}</slot>\n </div>\n <div class=${this.hasSlot('aside') ? 'body aside' : 'body'}>\n <div class=\"main\">${heading}${showLead && !side ? lead : nothing}</div>\n <div class=\"side\">${showLead && side ? lead : nothing}<slot name=\"aside\" @slotchange=${this.asideChanged}></slot></div>\n </div>\n </header>`;\n }\n\n /** The aside slot filled or emptied: keep `aside` in step, so the heading sits level with it. */\n private asideChanged(event: Event): void {\n this.aside = (event.target as HTMLSlotElement).assignedElements().length > 0;\n }\n\n /** Whether a child is in the named slot. On a server, where there are no children, only the attribute counts. */\n private hasSlot(name: string): boolean {\n const children = (this as unknown as { children?: HTMLCollection }).children;\n if (!children) return false;\n return Array.from(children).some((c) => c.getAttribute('slot') === name);\n }\n}\n\n/**\n * A service on the services grid: a number and a dot at the top, then at the\n * foot its name, a line about it, mono tags such as \"React Native · Expo\" and\n * \"Learn more\".\n *\n * **The card is one link.** The link is on the service's name, a heading, and\n * stretched over the card (2.4.4, 2.5.8). The number, dot and \"Learn more\"\n * line are decoration. Pointing at the card and focusing it look the same: it\n * turns to ink with paper words and the dot and \"Learn more\" in the accent,\n * which holds 4.5:1 on ink, and the focus ring is drawn round it (2.4.7).\n * For a brand with the reveal set on (impkt-web#51) the ink wipes in from the\n * left in 180ms and the arrow slides 4px forward, on hover or focus only; the\n * card drops 12px into place, once, as it is reached.\n *\n * `featured` draws a card inked all the time, as it is when pointed at, for\n * the one service a page picks out or a sheet that shows the state.\n *\n * Put cards in a four-column grid with a 10px gap. On a phone the words sit at\n * the top and the card is as tall as they are.\n *\n * @category content\n * @icon card\n */\nexport class ImpaktServiceCard extends ImpaktElement {\n static properties = {\n number: { type: String },\n heading: { type: String },\n text: { type: String },\n tags: { type: String },\n href: { type: String },\n linkText: { type: String, attribute: 'link-text' },\n headingLevel: { type: Number, attribute: 'heading-level' },\n featured: { type: Boolean, reflect: true },\n };\n /** The number at the top, such as \"01\". */\n declare number: string;\n /** The service's name. */\n declare heading: string;\n /** A line about it. */\n declare text: string;\n /** What it uses or includes, such as \"React Native · Expo · Store launch\". Set in mono capitals. */\n declare tags: string;\n /** Where the card goes. Leave empty for a card that goes nowhere. */\n declare href: string;\n /** The line at the foot of a card that goes somewhere. */\n declare linkText: string;\n declare headingLevel: number;\n /** Draw the card inked, as when it is pointed at. */\n declare featured: boolean;\n\n constructor() {\n super();\n this.featured = false;\n this.number = '';\n this.heading = '';\n this.text = '';\n this.tags = '';\n this.href = '';\n this.linkText = 'Learn more';\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; block-size: 100%; }\n article { position: relative; isolation: isolate; box-sizing: border-box; block-size: 100%; min-block-size: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: ${space(6)}; padding: ${space(6)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; transition: color ${R.wipeDuration} ${R.wipeEasing}, border-color ${R.wipeDuration} ${R.wipeEasing}; }\n /* The ink a card turns to, a layer of its own: a brand that derives the reveal set fades it in whole, as before; Impakt wipes it in from the left in 180ms (impkt-web#51). */\n article::before { content: ''; position: absolute; inset: 0; z-index: -1; background: ${ink}; opacity: calc(1 - ${R.wipeFrom}); transform: scaleX(${R.wipeFrom}); transform-origin: left center; transition: transform ${R.wipeDuration} ${R.wipeEasing}, opacity ${R.wipeDuration} ${R.wipeEasing}; pointer-events: none; }\n article:has(a):hover::before, article:focus-within::before { opacity: 1; transform: none; }\n .go { display: inline-block; transition: translate ${R.arrowDuration} ${R.arrowEasing}; }\n article:has(a):hover .go, article:focus-within .go { translate: ${R.arrowDistance} 0; }\n /* Drop (impkt-web#51): the card drops 12px into place as its row is reached, after the one before it, and the line under it settles. */\n :host([data-motion]) article { animation: ik-reveal-drop ${R.drop} ${R.arrive} ${revealAt(0)} both, ik-reveal-settle ${R.drop} ${R.arrive} ${revealAt(0)} both; }\n .top { display: flex; align-items: center; justify-content: space-between; }\n /* The Service card component (8:358): the number in G2 Mono M, 13px with no tracking; the name, line, tags and link 10px apart. */\n .number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0; }\n .dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: currentColor; }\n .foot { display: grid; gap: ${space(2.5)}; }\n /* The frame sets whole-pixel lines (8:344): the name 28px at 24, the line 20px at 14 and the tags 15px at 11. */\n .heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight('semibold')}; line-height: 1.75rem; letter-spacing: -0.025em; }\n .heading a { color: inherit; text-decoration: none; }\n .heading a::after { content: ''; position: absolute; inset: 0; }\n .heading a:focus-visible { outline: none; }\n .heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }\n .text { margin: 0; font-size: 0.875rem; line-height: 1.25rem; color: ${t.textMuted}; }\n .tags { margin: 0; ${monoLabel}; line-height: 0.9375rem; font-weight: ${fontWeight('medium')}; color: ${t.textMuted}; }\n .more { ${monoLabel}; font-weight: ${fontWeight('medium')}; }\n article:has(a):hover, article:focus-within { color: ${paper}; border-color: ${ink}; }\n :host([featured]) article { background: ${ink}; color: ${paper}; border-color: ${ink}; }\n article:has(a):hover :is(.text, .tags), article:focus-within :is(.text, .tags), :host([featured]) :is(.text, .tags) { color: ${inkMuted}; }\n article:has(a):hover :is(.dot, .more), article:focus-within :is(.dot, .more), :host([featured]) :is(.dot, .more) { color: ${accentOnInk}; }\n @media (max-width: 47.99rem) { article { min-block-size: 0; justify-content: flex-start; } }\n @media (prefers-reduced-motion: reduce) { article, article::before, .go { transition: none; } }\n @media (forced-colors: active) { article { border-color: CanvasText; } .dot { background: CanvasText; } article::before { display: none; } }\n `,\n revealStyles,\n ];\n\n render(): TemplateResult {\n const level = levelOf(this.headingLevel);\n return html`<article part=\"card\">\n <div class=\"top\" aria-hidden=\"true\">\n <span class=\"number\" part=\"number\">${this.number}</span>\n <span class=\"dot\" part=\"dot\"></span>\n </div>\n <div class=\"foot\">\n <div class=\"heading\" part=\"heading\" role=\"heading\" aria-level=${level}>\n ${this.href ? html`<a href=${this.href} part=\"link\">${this.heading}</a>` : this.heading}\n </div>\n ${this.text ? html`<p class=\"text\" part=\"text\">${this.text}</p>` : nothing}\n ${this.tags ? html`<p class=\"tags\" part=\"tags\">${this.tags}</p>` : nothing}\n ${this.href && this.linkText ? html`<span class=\"more\" part=\"more\" aria-hidden=\"true\">${this.linkText} <span class=\"go\">→</span></span>` : nothing}\n </div>\n </article>`;\n }\n}\n\n/**\n * A pointer with a name beside it, as if someone were working on the page with\n * you: the cursors round a hero's heading.\n *\n * The name is on ink, outlined, or on the accent. With `drift` it moves a few\n * pixels to and fro, slowly; it stays still for anyone who asks for less\n * motion (2.3.3), and it never moves more than 5 seconds without a way to stop\n * it mattering, because it carries nothing (2.2.2).\n *\n * **It is decoration**, hidden from a screen reader (1.3.1).\n *\n * @category media\n * @icon pointer\n */\nexport class ImpaktCursor extends ImpaktElement {\n static properties = {\n name: { type: String },\n variant: { type: String, reflect: true },\n drift: { type: Boolean, reflect: true },\n };\n /** The name beside the pointer, such as \"Client\". */\n declare name: string;\n /** How the name is drawn: on ink, outlined, or on the accent. */\n declare variant: 'ink' | 'outline' | 'accent';\n /** Move slowly to and fro. Still for anyone who asks for less motion. */\n declare drift: boolean;\n\n constructor() {\n super();\n this.name = '';\n this.variant = 'ink';\n this.drift = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; position: relative; pointer-events: none; }\n .cursor { display: inline-flex; align-items: flex-start; }\n svg { display: block; flex: none; }\n .arrow { fill: ${ink}; stroke: ${paper}; }\n .name { margin: 16px 0 0 -2px; padding: 4px 7px; ${monoLabel}; font-weight: ${fontWeight('medium')}; white-space: nowrap; background: ${ink}; color: ${paper}; border: 1px solid ${ink}; }\n :host([variant='outline']) .name { background: ${t.surfaceCard}; color: ${t.text}; border-color: ${t.text}; }\n :host([variant='accent']) .name { background: ${accent}; color: ${accentOn}; border-color: ${accentOn}; }\n :host([drift]) .cursor { animation: drift 7s ease-in-out infinite alternate; }\n @keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(6px, -3px); } 100% { transform: translate(-3px, 4px); } }\n @media (prefers-reduced-motion: reduce) { :host([drift]) .cursor { animation: none; } }\n @media (forced-colors: active) { .arrow { fill: CanvasText; stroke: Canvas; } .name { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n return html`<span class=\"cursor\" part=\"cursor\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 16 22\" width=\"16\" height=\"22\" focusable=\"false\"><path class=\"arrow\" d=\"M1.5 1.5v16.2l4.3-4.1 3 6.6 2.6-1.2-3-6.5h6z\" stroke-width=\"1.25\" stroke-linejoin=\"round\" /></svg>\n ${this.name ? html`<span class=\"name\" part=\"name\">${this.name}</span>` : nothing}\n </span>`;\n }\n}\n\n/**\n * A short note in handwriting, with an arrow if it points at something, such\n * as \"keep scrolling, this note becomes the real button.\"\n *\n * The face is `--impakt-font-family-hand` (Kalam in the G2 designs), and the\n * body face until a brand sets it. The note is real text and is read, unless\n * `decorative` is set because it repeats something said elsewhere (1.3.1).\n * The arrow is always decoration.\n *\n * @category content\n * @icon pen\n * @slot - The note, when it holds more than words. Replaces `text`.\n */\nexport class ImpaktHandNote extends ImpaktElement {\n static properties = {\n text: { type: String },\n arrow: { type: String, reflect: true },\n decorative: { type: Boolean, reflect: true },\n };\n /** The note. */\n declare text: string;\n /** Where an arrow points from the note. */\n declare arrow: 'none' | 'left' | 'right' | 'down' | 'up';\n /** Hide the note from a screen reader, when it repeats something said elsewhere. */\n declare decorative: boolean;\n\n constructor() {\n super();\n this.text = '';\n this.arrow = 'none';\n this.decorative = false;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: inline-block; max-inline-size: 18rem; }\n .note { display: inline-flex; align-items: center; gap: ${space(2)}; }\n :host(:is([arrow='down'], [arrow='up'])) .note { flex-direction: column; align-items: flex-start; }\n :host(:is([arrow='left'], [arrow='up'])) svg { order: -1; }\n p { margin: 0; font-family: var(--impakt-font-family-hand, ${t.fontBody}); font-size: 1.25rem; line-height: 1.2; color: ${t.textMuted}; }\n svg { flex: none; color: ${t.textMuted}; }\n :host([arrow='left']) svg { transform: scaleX(-1); }\n :host([arrow='down']) svg { transform: rotate(90deg); }\n :host([arrow='up']) svg { transform: rotate(-90deg); }\n @media (forced-colors: active) { p, svg { color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const arrow =\n this.arrow && this.arrow !== 'none'\n ? html`<svg viewBox=\"0 0 40 24\" width=\"40\" height=\"24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M2 16c8-10 20-12 34-6M30 4l6 6-7 4\" /></svg>`\n : nothing;\n return html`<div class=\"note\" part=\"note\" aria-hidden=${this.decorative ? 'true' : nothing}><p part=\"text\"><slot>${this.text}</slot></p>${arrow}</div>`;\n }\n}\n\n/** One fact: a label and its value. */\nexport interface FactItem {\n /** What it is, such as \"Client\". Set in mono capitals. */\n label: string;\n /** The fact, such as \"Vehicle importer · UK → Cyprus\". */\n value: string;\n /** Make the value a link, such as `mailto:` for an email address. */\n href?: string;\n /** This value's size, in place of the block's. */\n size?: 'sm' | 'md' | 'lg' | 'xl';\n}\n\n/**\n * A few facts, each a mono label over its value: a case study's client, role,\n * platform and stack in four columns under an ink rule, or contact details\n * stacked with the email set large.\n *\n * A description list, so each value is read with its label (1.3.1). Columns\n * wrap to fit their width, so they stack on a phone (1.4.10).\n *\n * @category content\n * @icon list\n */\nexport class ImpaktFacts extends ImpaktElement {\n static properties = {\n items: { type: Array },\n layout: { type: String, reflect: true },\n size: { type: String, reflect: true },\n label: { type: String },\n };\n /** The facts, in order. */\n declare items: FactItem[];\n /** Side by side under a rule each, or stacked. */\n declare layout: 'columns' | 'stacked';\n /** The values' size: `sm` 16px on 1.45, the G2 facts' Body M and the default (21:1336, 34:627), `md` 18px, `lg` 24px, `xl` 32px. An item can set its own. */\n declare size: 'sm' | 'md' | 'lg' | 'xl';\n /** A name for the list, for a screen reader. Leave empty for none. */\n declare label: string;\n\n constructor() {\n super();\n this.items = [];\n this.layout = 'columns';\n this.size = 'sm';\n this.label = '';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n focusRing,\n css`\n :host { display: block; color: ${t.text}; }\n /* Stacked, as the contact page's direct line (20:1163): 28px apart, each value 8px under its label. */\n dl { margin: 0; display: grid; gap: 28px; }\n /* In columns (21:1336, 34:627): each under an ink rule, the label 14px under it and the value 8px under the label, so a row of one line is 61px. */\n :host([layout='columns']) dl { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); column-gap: ${space(5)}; row-gap: ${space(6)}; }\n :host([layout='columns']) .fact { border-block-start: 1px solid ${t.text}; padding-block-start: 14px; }\n dt { ${monoLabel}; color: ${t.textMuted}; }\n dd { margin: ${space(2)} 0 0; font-family: ${t.fontBody}; line-height: 1.3; overflow-wrap: anywhere; }\n .sm { font-size: 1rem; line-height: 1.45; }\n .md { font-size: 1.125rem; }\n .lg { font-size: 1.5rem; letter-spacing: -0.01em; }\n .xl { font-size: clamp(1.5rem, 1rem + 2vw, 2rem); letter-spacing: -0.02em; }\n a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }\n a:hover { text-decoration-thickness: 2px; }\n /* Stacked, a value that is a link stands alone, so it is not underlined until it is pointed at or focused (20:1163). */\n :host([layout='stacked']) a { text-decoration: none; }\n :host([layout='stacked']) a:is(:hover, :focus-visible) { text-decoration: underline; text-decoration-thickness: 2px; }\n @media (forced-colors: active) { :host([layout='columns']) .fact { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.items.length) return html``;\n return html`<dl part=\"list\" aria-label=${this.label || nothing}>\n ${this.items.map(\n (item) => html`<div class=\"fact\" part=\"fact\">\n <dt part=\"label\">${item.label}</dt>\n <dd part=\"value\" class=${item.size ?? this.size}>${item.href ? html`<a href=${item.href}>${item.value}</a>` : item.value}</dd>\n </div>`,\n )}\n </dl>`;\n }\n}\n\n/** One row of a numbered list. */\nexport interface NumberedItem {\n heading: string;\n text?: string;\n}\n\n/**\n * A numbered list under an ink rule, each row split by a hairline: the number,\n * a heading and a line of quieter text in three columns. \"Three rules we don't\n * break\", the steps of a project, a tool's features.\n *\n * The columns are 60px, then the heading and the text 40px apart, split 520\n * to 420 as on a case study (`21:1389`). `split=\"text\"` gives the text the\n * wider share, 460 to 480, as the tools pages do (`34:714`).\n *\n * An ordered list, so a screen reader says how many rows there are and which\n * one this is, and the drawn numbers are hidden from it (1.3.1). Each heading\n * is at the level the page asks for. It stacks in a narrow column, measured\n * against its own width (1.4.10), and takes its colours from its band.\n *\n * @category content\n * @icon list-ordered\n */\nexport class ImpaktNumberedList extends ImpaktElement {\n static properties = {\n items: { type: Array },\n start: { type: Number },\n headingLevel: { type: Number, attribute: 'heading-level' },\n label: { type: String },\n split: { type: String, reflect: true },\n };\n declare items: NumberedItem[];\n /** How the heading and the text share the row: `heading` 520 to 420 (`21:1389`), `text` 460 to 480 (`34:714`). */\n declare split: 'heading' | 'text';\n /** The number the first row is given. */\n declare start: number;\n declare headingLevel: number;\n /** A name for the list, for a screen reader. Leave empty for none. */\n declare label: string;\n\n constructor() {\n super();\n this.items = [];\n this.start = 1;\n this.headingLevel = 3;\n this.label = '';\n this.split = 'heading';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; container-type: inline-size; color: ${t.text}; }\n ol { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid ${t.text}; }\n /* The Item of 21:1389 and 34:714: 24px above and below, the number in G2 Mono M, the heading in Display S at 1.1 and the text in Body M, so a row of one line is 84px. */\n li { display: grid; grid-template-columns: 60px minmax(0, 520fr) minmax(0, 420fr); column-gap: ${space(10)}; align-items: center; padding-block: ${space(6)}; border-block-end: 1px solid ${t.rule}; }\n :host([split='text']) li { grid-template-columns: 60px minmax(0, 460fr) minmax(0, 480fr); }\n .n { font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }\n .heading { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(1.5rem, 1rem + 2cqi, 2rem); font-weight: ${fontWeight('semibold')}; line-height: 1.1; letter-spacing: -0.03em; }\n .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n @container (max-width: 47.99rem) {\n li { grid-template-columns: minmax(0, 1fr); row-gap: ${space(2)}; }\n }\n @media (forced-colors: active) { ol { border-color: CanvasText; } li { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.items.length) return html``;\n const level = levelOf(this.headingLevel);\n const start = Number.isFinite(Number(this.start)) ? Number(this.start) : 1;\n return html`<ol part=\"list\" role=\"list\" start=${start} aria-label=${this.label || nothing}>\n ${this.items.map(\n (item, i) => html`<li part=\"item\">\n <span class=\"n\" aria-hidden=\"true\">${pad(start + i)}</span>\n <div class=\"heading\" role=\"heading\" aria-level=${level} part=\"heading\">${item.heading}</div>\n ${item.text ? html`<p class=\"text\" part=\"text\">${item.text}</p>` : html`<span></span>`}\n </li>`,\n )}\n </ol>`;\n }\n}\n\n/** One column of a column list. */\nexport interface ColumnListColumn {\n /** The column's heading, such as \"Design\". Set in mono capitals. */\n heading: string;\n /** What is in it, each a line set large. */\n items: string[];\n}\n\n/**\n * What a studio does, in four columns: each under an ink rule, with a mono\n * heading such as \"Engineering\" and a stack of what it covers set large. The\n * items are words, not links.\n *\n * Each column's heading is a heading at the level the page asks for, and its\n * items a list (1.3.1). The columns wrap to fit their width (1.4.10).\n *\n * @category content\n * @icon columns\n */\nexport class ImpaktColumnList extends ImpaktElement {\n static properties = {\n columns: { type: Array },\n headingLevel: { type: Number, attribute: 'heading-level' },\n };\n declare columns: ColumnListColumn[];\n declare headingLevel: number;\n\n constructor() {\n super();\n this.columns = [];\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; color: ${t.text}; }\n .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: ${space(8)} ${space(5)}; }\n section { border-block-start: 1px solid ${t.text}; padding-block-start: ${space(4)}; }\n .heading { margin: 0; ${monoLabel}; color: ${t.textMuted}; }\n ul { margin: ${space(3)} 0 0; padding: 0; list-style: none; display: grid; gap: ${space(2)}; }\n li { font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight('semibold')}; line-height: 1.2; letter-spacing: -0.02em; }\n @media (forced-colors: active) { section { border-color: CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n if (!this.columns.length) return html``;\n const level = levelOf(this.headingLevel);\n return html`<div class=\"grid\" part=\"grid\">\n ${this.columns.map(\n (col) => html`<section part=\"column\">\n <div class=\"heading\" role=\"heading\" aria-level=${level} part=\"heading\">${col.heading}</div>\n <ul role=\"list\" part=\"list\">${(col.items ?? []).map((item) => html`<li part=\"item\">${item}</li>`)}</ul>\n </section>`,\n )}\n </div>`;\n }\n}\n\n/**\n * An office: a mono line with its time zone and hours, its name set large, the\n * region under it and a line about it, on a white card with an ink border. An\n * accent tag at the top right can say how its hours meet another office's,\n * such as \"+2h · same working day\".\n *\n * The name is a heading at the level the page asks for (1.3.1). The tag is\n * text and is read; on a narrow card it moves above the name (1.4.10).\n *\n * @category content\n * @icon map-pin\n */\nexport class ImpaktOfficeCard extends ImpaktElement {\n static properties = {\n hours: { type: String },\n name: { type: String },\n region: { type: String },\n text: { type: String },\n tag: { type: String },\n headingLevel: { type: Number, attribute: 'heading-level' },\n };\n /** The time zone and hours, such as \"GMT · Mon–Fri 9–18\". */\n declare hours: string;\n /** The office, such as \"UK\". */\n declare name: string;\n /** Where it is, such as \"United Kingdom\". */\n declare region: string;\n /** A line about it. */\n declare text: string;\n /** An accent tag at the top right, such as \"+2h · same working day\". Leave empty for none. */\n declare tag: string;\n declare headingLevel: number;\n\n constructor() {\n super();\n this.hours = '';\n this.name = '';\n this.region = '';\n this.text = '';\n this.tag = '';\n this.headingLevel = 3;\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; block-size: 100%; container-type: inline-size; }\n /* The office of 21:1201: 32px inside and its parts 12px apart, the region in Label L (16px on 1.2) and the line in Body M (16px on 1.45). */\n article { box-sizing: border-box; block-size: 100%; display: grid; align-content: start; gap: 12px; padding: ${space(8)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; }\n .top { display: flex; flex-wrap: wrap-reverse; justify-content: space-between; align-items: center; gap: ${space(2)}; }\n .hours { margin: 0; ${monoLabel}; color: ${t.textMuted}; }\n .tag { margin: 0; padding: 3px 6px; ${monoLabel}; font-weight: ${fontWeight('medium')}; background: ${accent}; color: ${accentOn}; }\n .name { margin: 0; font-family: ${t.fontHeading}; font-size: clamp(2.5rem, 1rem + 10cqi, 4rem); font-weight: ${fontWeight('semibold')}; line-height: 1; letter-spacing: -0.04em; overflow-wrap: anywhere; }\n .region { margin: 0; font-size: 1rem; line-height: 1.2; }\n .text { margin: 0; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }\n @container (max-width: 22rem) { article { padding: ${space(5)}; } }\n @media (forced-colors: active) { article { border-color: CanvasText; } .tag { border: 1px solid CanvasText; } }\n `,\n ];\n\n render(): TemplateResult {\n const level = levelOf(this.headingLevel);\n return html`<article part=\"card\">\n ${\n this.hours || this.tag\n ? html`<div class=\"top\">${this.hours ? html`<p class=\"hours\" part=\"hours\">${this.hours}</p>` : html`<span></span>`}${this.tag ? html`<p class=\"tag\" part=\"tag\">${this.tag}</p>` : nothing}</div>`\n : nothing\n }\n <div class=\"name\" role=\"heading\" aria-level=${level} part=\"name\">${this.name}</div>\n ${this.region ? html`<p class=\"region\" part=\"region\">${this.region}</p>` : nothing}\n ${this.text ? html`<p class=\"text\" part=\"text\">${this.text}</p>` : nothing}\n </article>`;\n }\n}\n\ncustomElements.define('impakt-stage-tag', ImpaktStageTag);\ncustomElements.define('impakt-section-head', ImpaktSectionHead);\ncustomElements.define('impakt-service-card', ImpaktServiceCard);\ncustomElements.define('impakt-cursor', ImpaktCursor);\ncustomElements.define('impakt-hand-note', ImpaktHandNote);\ncustomElements.define('impakt-facts', ImpaktFacts);\ncustomElements.define('impakt-numbered-list', ImpaktNumberedList);\ncustomElements.define('impakt-column-list', ImpaktColumnList);\ncustomElements.define('impakt-office-card', ImpaktOfficeCard);\ndeclare global {\n interface HTMLElementTagNameMap {\n 'impakt-stage-tag': ImpaktStageTag;\n 'impakt-section-head': ImpaktSectionHead;\n 'impakt-service-card': ImpaktServiceCard;\n 'impakt-cursor': ImpaktCursor;\n 'impakt-hand-note': ImpaktHandNote;\n 'impakt-facts': ImpaktFacts;\n 'impakt-numbered-list': ImpaktNumberedList;\n 'impakt-column-list': ImpaktColumnList;\n 'impakt-office-card': ImpaktOfficeCard;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAKA,SAAS,KAAK,MAAM,eAAoC;AACxD,SAAS,eAAe,GAAG,WAAW,YAAY,UAAU,cAAc,KAAK,OAAO,aAAa,GAAG,aAAa;AAO5G,IAAM,cAAoE;AAAA,EAC/E,MAAM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ACf,wBAAwB,KAAK,QAAQ,qCAAqC,KAAK,KAAK,SAAS,mBAAmB,GAAG,KAAK,MAAM,iCAAiC,KAAK,GAAG,SAAS,OAAO,WACvL,OACN;AAAA,oDAC8C,KAAK,gBAAgB,KAAK,IAAI;AAAA,QAC1E,KAAK,SAAS,uCAAuC,KAAK,MAAM,SAAS,OAAO;AAAA,QAChF,KAAK,OAAO,mCAAmC,KAAK,IAAI,SAAS,OAAO;AAAA;AAAA,EAE9E;AACF;AAEA,eAAe,OAAO,oBAAoB,cAAc;AACxD,eAAe,OAAO,uBAAuB,iBAAiB;AAC9D,eAAe,OAAO,uBAAuB,iBAAiB;AAC9D,eAAe,OAAO,iBAAiB,YAAY;AACnD,eAAe,OAAO,oBAAoB,cAAc;AACxD,eAAe,OAAO,gBAAgB,WAAW;AACjD,eAAe,OAAO,wBAAwB,kBAAkB;AAChE,eAAe,OAAO,sBAAsB,gBAAgB;AAC5D,eAAe,OAAO,sBAAsB,gBAAgB;","names":[]}
@@ -1,362 +0,0 @@
1
- // packages/blocks/src/components/marketing.ts
2
- import { css, html, nothing } from "lit";
3
- import { ImpaktElement, fontSize, fontWeight, lineHeight, space, spaceAround, t, token, type, iconSvg } from "@atomic-ui/ui";
4
- var heading = (level, text, cls) => html`<div class=${cls} role="heading" aria-level=${level}>${text}</div>`;
5
- var headingStyles = css`
6
- .h { margin: 0; color: ${t.textHeading}; font-family: ${t.fontHeading}; font-weight: ${fontWeight("bold")}; line-height: ${lineHeight("tight")}; }
7
- .eyebrow { margin: 0; color: var(--impakt-eyebrow, var(--impakt-color-text-eyebrow, ${t.brand})); ${type("sm")} font-size: var(--impakt-font-size-eyebrow, var(--impakt-font-size-sm, 0.875rem)); font-family: ${t.fontEyebrow}; font-weight: var(--impakt-font-weight-eyebrow, ${fontWeight("semibold")}); letter-spacing: ${t.trackingWide}; text-transform: uppercase; }
8
- .body { margin: 0; line-height: ${lineHeight("normal")}; max-inline-size: 65ch; }
9
- `;
10
- var ImpaktHero = class extends ImpaktElement {
11
- static {
12
- this.properties = {
13
- eyebrow: { type: String },
14
- heading: { type: String },
15
- lead: { type: String },
16
- level: { type: Number, reflect: true },
17
- imageSrc: { type: String, attribute: "image-src" },
18
- imageAlt: { type: String, attribute: "image-alt" },
19
- treatment: { type: String, reflect: true },
20
- ratingText: { type: String, attribute: "rating-text" },
21
- eyebrowIcon: { type: String, attribute: "eyebrow-icon" },
22
- align: { type: String, reflect: true },
23
- spaceAbove: { type: String, reflect: true, attribute: "space-above" },
24
- spaceBelow: { type: String, reflect: true, attribute: "space-below" }
25
- };
26
- }
27
- constructor() {
28
- super();
29
- this.eyebrow = "";
30
- this.heading = "";
31
- this.lead = "";
32
- this.level = 1;
33
- this.imageSrc = "";
34
- this.imageAlt = "";
35
- this.treatment = "split";
36
- this.ratingText = "";
37
- this.eyebrowIcon = "none";
38
- this.align = "start";
39
- this.spaceAbove = "none";
40
- this.spaceBelow = "none";
41
- }
42
- static {
43
- this.styles = [
44
- ...ImpaktElement.styles,
45
- spaceAround,
46
- headingStyles,
47
- css`
48
- :host { display: block; container-type: inline-size; }
49
- .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: ${space(8)}; align-items: center; }
50
- .hero.pictured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
51
- .words { display: flex; flex-direction: column; gap: ${space(4)}; }
52
- :host([align='center']) .words { align-items: center; text-align: center; margin-inline: auto; max-inline-size: 48rem; }
53
- .h { ${type("5xl")} letter-spacing: ${t.trackingTight}; text-wrap: balance; }
54
- .body { ${type("lg")} color: ${t.textMuted}; text-wrap: pretty; }
55
- @container (max-width: 40rem) { .h { ${type("4xl")} } }
56
- .actions { display: flex; flex-wrap: wrap; gap: ${space(3)} ${space(4)}; align-items: center; margin-block-start: ${space(2)}; }
57
- :host([align='center']) .actions { justify-content: center; }
58
- img { display: block; inline-size: 100%; block-size: auto; border-radius: ${t.radius2xl}; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: ${t.shadowLg}; }
59
- @container (max-width: 48rem) { .hero.pictured { grid-template-columns: minmax(0, 1fr); } }
60
- /* Cover: the picture fills the block edge to edge, a scrim keeps the words readable (1.4.3). */
61
- .cover { position: relative; display: flex; flex-direction: column; justify-content: center; min-block-size: clamp(44rem, 61vw, 55rem); margin-inline: calc(var(--impakt-bleed, 1) * (50% - 50vw)); padding: ${space(32)} max(${space(8)}, calc(var(--impakt-bleed, 1) * (50vw - 50%))) ${space(24)}; overflow: hidden; color: #fff; --impakt-color-text-heading: #fff; }
62
- .cover img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
63
- .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18 31 26 / 0.82) 0%, rgb(18 31 26 / 0.42) 55%, rgb(18 31 26 / 0.05) 100%); }
64
- .cover .words { position: relative; z-index: 1; max-inline-size: 48rem; }
65
- .cover .eyebrow { display: inline-flex; align-items: center; gap: ${space(2)}; align-self: flex-start; padding: ${space(2)} ${space(3.5)}; color: #fff; background: rgb(255 255 255 / 0.16); border-radius: var(--impakt-radius-pill, calc(var(--impakt-radius-md, 0.5rem) * 9999)); text-transform: none; letter-spacing: 0; }
66
- .chip-line { position: relative; z-index: 1; block-size: 0; }
67
- .chip { position: absolute; inset-block-start: ${space(14)}; inset-inline-end: ${space(9)}; display: inline-flex; align-items: center; gap: ${space(2.5)}; padding: ${space(3)} ${space(4.5)}; ${type("sm")} font-weight: ${fontWeight("semibold")}; white-space: nowrap; color: #fff; background: rgb(255 255 255 / 0.16); border-radius: ${t.radiusXl}; }
68
- .finder { position: relative; z-index: 1; margin-block-start: ${space(12)}; }
69
- .cover .h { font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 1; }
70
- .cover .body { color: rgb(255 255 255 / 0.92); max-inline-size: 40rem; }
71
- @container (max-width: 64rem) { .chip { display: none; } }
72
- @container (max-width: 30rem) { .finder { display: none; } }
73
- @container (max-width: 48rem) { .finder { margin-block-start: ${space(6)}; } .cover { justify-content: flex-end; min-block-size: 43.75rem; padding-block: ${space(32)} ${space(10)}; } .cover::after { background: linear-gradient(180deg, rgb(18 31 26 / 0.1) 0%, rgb(18 31 26 / 0.3) 42%, rgb(18 31 26 / 0.86) 100%); } .cover .h { font-size: 3rem; } }
74
- `
75
- ];
76
- }
77
- render() {
78
- if (this.treatment === "cover" && this.imageSrc) {
79
- return html`<div class="cover" part="hero">
80
- ${this.ratingText ? html`<div class="chip-line"><div class="chip">${iconSvg("star", "20px")}${this.ratingText}</div></div>` : nothing}
81
- <img src=${this.imageSrc} alt=${this.imageAlt} part="image" />
82
- <div class="words">
83
- ${this.eyebrow ? html`<p class="eyebrow" part="eyebrow">${this.eyebrowIcon !== "none" ? iconSvg(this.eyebrowIcon, "16px") : nothing}${this.eyebrow}</p>` : nothing}
84
- ${heading(this.level, html`<slot name="heading">${this.heading}</slot>`, "h")}
85
- ${this.lead ? html`<p class="body">${this.lead}</p>` : nothing}
86
- <div class="actions"><slot name="actions"></slot></div>
87
- </div>
88
- <div class="finder"><slot name="search"></slot></div>
89
- </div>`;
90
- }
91
- const pictured = Boolean(this.imageSrc) && this.align !== "center";
92
- return html`<div class="hero ${pictured ? "pictured" : ""}" part="hero">
93
- <div class="words">
94
- ${this.eyebrow ? html`<p class="eyebrow" part="eyebrow">${this.eyebrow}</p>` : nothing}
95
- ${heading(this.level, html`<slot name="heading">${this.heading}</slot>`, "h")}
96
- ${this.lead ? html`<p class="body">${this.lead}</p>` : nothing}
97
- <div class="actions"><slot name="actions"></slot></div>
98
- </div>
99
- ${pictured ? html`<img src=${this.imageSrc} alt=${this.imageAlt} part="image" />` : nothing}
100
- </div>`;
101
- }
102
- };
103
- var ImpaktFeatureList = class extends ImpaktElement {
104
- static {
105
- this.properties = {
106
- items: { type: Array },
107
- columns: { type: String, reflect: true },
108
- headingLevel: { type: Number, attribute: "heading-level" },
109
- layout: { type: String, reflect: true },
110
- look: { type: String, reflect: true },
111
- spaceAbove: { type: String, reflect: true, attribute: "space-above" },
112
- spaceBelow: { type: String, reflect: true, attribute: "space-below" }
113
- };
114
- }
115
- constructor() {
116
- super();
117
- this.items = [];
118
- this.columns = "three";
119
- this.headingLevel = 3;
120
- this.layout = "stacked";
121
- this.look = "icons";
122
- this.spaceAbove = "none";
123
- this.spaceBelow = "none";
124
- }
125
- static {
126
- this.styles = [
127
- ...ImpaktElement.styles,
128
- spaceAround,
129
- headingStyles,
130
- css`
131
- :host { display: block; container-type: inline-size; }
132
- ul { list-style: none; margin: 0; padding: 0; display: grid; gap: ${space(8)} ${space(6)}; grid-template-columns: repeat(3, minmax(0, 1fr)); }
133
- :host([columns='two']) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
134
- :host([columns='four']) ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
135
- li { display: flex; flex-direction: column; gap: ${space(2)}; }
136
- :host([layout='inline']) li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: ${space(4)}; align-items: start; }
137
- :host([layout='inline']) .words { display: flex; flex-direction: column; gap: ${space(1)}; }
138
- .icon { display: inline-flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; border-radius: ${t.radiusLg}; background: ${t.brandSubtle}; color: ${t.brand}; margin-block-end: ${space(2)}; }
139
- :host([layout='inline']) .icon { margin: 0; }
140
- .h { font-size: ${fontSize("lg")}; }
141
- .body { color: ${t.text}; }
142
- /* Ruled: a 1px ink rule above each item, no icon, the heading at 24px and the words muted. */
143
- :host([look='ruled']) li { gap: ${space(3)}; padding-block-start: ${space(5)}; border-block-start: ${t.borderThin} solid ${t.text}; }
144
- :host(:is([look='ruled'], [look='numbered'])) .icon { display: none; }
145
- :host(:is([look='ruled'], [look='numbered'])) .h { font-size: clamp(1.25rem, 3cqi, 1.5rem); font-weight: ${fontWeight("semibold")}; letter-spacing: -0.02em; line-height: 1.2; }
146
- :host(:is([look='ruled'], [look='numbered'])) .body { color: ${t.textMuted}; }
147
- :host(:is([look='ruled'], [look='numbered'])) .words { display: flex; flex-direction: column; gap: ${space(3)}; }
148
- /* Numbered: a card with a 1px ink border, its number at the top left and a status dot at the top right. */
149
- :host([look='numbered']) ul { gap: ${space(3)}; }
150
- :host([look='numbered']) li { gap: ${space(4)}; padding: ${space(6)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radiusSm}; }
151
- .top { display: flex; align-items: center; justify-content: space-between; font-family: ${t.fontMono}; font-size: ${fontSize("sm")}; color: ${t.text}; }
152
- .dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: ${t.text}; }
153
- .dot.attention { background: ${token("color.accent.default", "#ffd43b")}; box-shadow: inset 0 0 0 1px ${t.text}; }
154
- .sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
155
- @media (forced-colors: active) { .dot { background: CanvasText; } .dot.attention { background: Highlight; } :host([look='numbered']) li { border-color: CanvasText; } }
156
- @container (max-width: 48rem) { ul, :host([columns='four']) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
157
- @container (max-width: 32rem) { ul, :host([columns='two']) ul, :host([columns='four']) ul { grid-template-columns: minmax(0, 1fr); } }
158
- `
159
- ];
160
- }
161
- render() {
162
- const numbered = this.look === "numbered";
163
- return html`<ul part="list">${(this.items ?? []).map(
164
- (item, index) => html`<li part="item">
165
- ${numbered ? html`<div class="top" aria-hidden="true"><span>${String(index + 1).padStart(2, "0")}</span><span class=${item.attention ? "dot attention" : "dot"}></span></div>` : nothing}
166
- ${item.icon && this.look !== "ruled" && !numbered ? html`<span class="icon">${iconSvg(item.icon, "24px")}</span>` : nothing}
167
- <div class="words">${heading(this.headingLevel, html`${item.heading}${numbered && item.attention ? html`<span class="sr"> (${item.attention})</span>` : nothing}`, "h")}${item.text ? html`<p class="body">${item.text}</p>` : nothing}</div>
168
- </li>`
169
- )}</ul>`;
170
- }
171
- };
172
- var ImpaktQuote = class extends ImpaktElement {
173
- static {
174
- this.properties = {
175
- quote: { type: String },
176
- person: { type: String },
177
- about: { type: String },
178
- imageSrc: { type: String, attribute: "image-src" },
179
- size: { type: String, reflect: true },
180
- align: { type: String, reflect: true },
181
- spaceAbove: { type: String, reflect: true, attribute: "space-above" },
182
- spaceBelow: { type: String, reflect: true, attribute: "space-below" }
183
- };
184
- }
185
- constructor() {
186
- super();
187
- this.quote = "";
188
- this.person = "";
189
- this.about = "";
190
- this.imageSrc = "";
191
- this.size = "md";
192
- this.align = "start";
193
- this.spaceAbove = "none";
194
- this.spaceBelow = "none";
195
- }
196
- static {
197
- this.styles = [
198
- ...ImpaktElement.styles,
199
- spaceAround,
200
- css`
201
- :host { display: block; }
202
- figure { margin: 0; display: flex; flex-direction: column; gap: ${space(4)}; max-inline-size: 48rem; }
203
- :host([align='center']) figure { margin-inline: auto; align-items: center; text-align: center; }
204
- blockquote { margin: 0; font-family: ${t.fontHeading}; font-size: ${fontSize("lg")}; line-height: ${lineHeight("normal")}; color: inherit; }
205
- :host([size='lg']) blockquote { font-size: ${fontSize("2xl")}; line-height: ${lineHeight("tight")}; }
206
- blockquote::before { content: '\\201C'; } blockquote::after { content: '\\201D'; }
207
- figcaption { display: flex; align-items: center; gap: ${space(3)}; }
208
- img { inline-size: 48px; block-size: 48px; border-radius: 50%; object-fit: cover; }
209
- .name { font-weight: ${fontWeight("semibold")}; }
210
- .detail { color: ${t.textMuted}; font-size: ${fontSize("sm")}; }
211
- `
212
- ];
213
- }
214
- render() {
215
- return html`<figure part="figure">
216
- <blockquote part="quote">${this.quote}</blockquote>
217
- ${this.person ? html`<figcaption>${this.imageSrc ? html`<img src=${this.imageSrc} alt="" />` : nothing}<span><span class="name">${this.person}</span>${this.about ? html`<br /><span class="detail">${this.about}</span>` : nothing}</span></figcaption>` : nothing}
218
- </figure>`;
219
- }
220
- };
221
- var ImpaktStat = class extends ImpaktElement {
222
- static {
223
- this.properties = {
224
- figure: { type: String },
225
- label: { type: String },
226
- note: { type: String },
227
- size: { type: String, reflect: true },
228
- align: { type: String, reflect: true }
229
- };
230
- }
231
- constructor() {
232
- super();
233
- this.figure = "";
234
- this.label = "";
235
- this.note = "";
236
- this.size = "md";
237
- this.align = "start";
238
- }
239
- static {
240
- this.styles = [
241
- ...ImpaktElement.styles,
242
- css`
243
- :host { display: block; }
244
- .stat { display: flex; flex-direction: column; gap: ${space(1)}; }
245
- :host([align='center']) .stat { align-items: center; text-align: center; }
246
- .value { font-family: ${t.fontHeading}; font-size: ${fontSize("3xl")}; font-weight: ${fontWeight("bold")}; line-height: 1; color: ${t.textHeading}; }
247
- :host([size='lg']) .value { font-size: ${fontSize("5xl")}; }
248
- :host([size='xl']) .value { font-size: clamp(2.75rem, 6vw, 4rem); }
249
- .label { font-weight: ${fontWeight("semibold")}; }
250
- .detail { color: ${t.textMuted}; font-size: ${fontSize("sm")}; }
251
- `
252
- ];
253
- }
254
- render() {
255
- return html`<p class="stat" part="stat" style="margin:0"><span class="value">${this.figure}</span> <span class="label">${this.label}</span>${this.note ? html` <span class="detail">${this.note}</span>` : nothing}</p>`;
256
- }
257
- };
258
- var ImpaktAnnouncement = class extends ImpaktElement {
259
- static {
260
- this.properties = {
261
- message: { type: String },
262
- linkText: { type: String, attribute: "link-text" },
263
- href: { type: String }
264
- };
265
- }
266
- constructor() {
267
- super();
268
- this.message = "";
269
- this.linkText = "";
270
- this.href = "";
271
- }
272
- static {
273
- this.styles = [
274
- ...ImpaktElement.styles,
275
- css`
276
- :host { display: block; }
277
- .bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: ${space(2)} ${space(3)}; padding: ${space(2.5)} ${space(5)}; ${type("sm")} text-align: center; color: ${t.onBrand}; background: ${t.brand}; }
278
- :host { margin-inline: calc(var(--impakt-bleed, 1) * (50% - 50vw)); }
279
- a { display: inline-flex; align-items: center; gap: ${space(1)}; min-block-size: ${t.targetMin}; color: inherit; font-weight: ${fontWeight("semibold")}; }
280
- `
281
- ];
282
- }
283
- render() {
284
- return html`<div class="bar" part="bar"><span>${this.message}</span>${this.linkText && this.href ? html`<a href=${this.href}>${this.linkText}${iconSvg("arrow-right", "14px")}</a>` : nothing}</div>`;
285
- }
286
- };
287
- var ImpaktSearchBar = class extends ImpaktElement {
288
- static {
289
- this.properties = {
290
- items: { type: Array },
291
- buttonText: { type: String, attribute: "button-text" },
292
- action: { type: String },
293
- label: { type: String },
294
- spaceAbove: { type: String, reflect: true, attribute: "space-above" },
295
- spaceBelow: { type: String, reflect: true, attribute: "space-below" }
296
- };
297
- }
298
- constructor() {
299
- super();
300
- this.items = [];
301
- this.buttonText = "Search";
302
- this.action = "";
303
- this.label = "Search";
304
- this.spaceAbove = "none";
305
- this.spaceBelow = "none";
306
- }
307
- static {
308
- this.styles = [
309
- ...ImpaktElement.styles,
310
- spaceAround,
311
- css`
312
- :host { display: block; container-type: inline-size; }
313
- form { display: flex; align-items: center; padding: ${space(3)}; background: ${t.surfaceCard}; color: ${t.text}; border-radius: ${t.radius2xl}; box-shadow: ${t.shadowXl}; }
314
- .field { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: ${space(1)}; padding: ${space(1.5)} ${space(5)}; }
315
- label { ${type("sm")} color: ${t.textMuted}; }
316
- select { inline-size: 100%; min-block-size: 28px; padding: 0; font: inherit; ${type("sm")} font-weight: ${fontWeight("semibold")}; color: ${t.text}; background: transparent; border: 0; border-radius: ${t.radiusSm}; cursor: pointer; }
317
- select:focus-visible, button:focus-visible { outline: 2px solid ${t.brand}; outline-offset: 2px; }
318
- button { flex: none; min-block-size: 48px; padding: ${space(3)} ${space(6)}; font: inherit; font-weight: ${fontWeight("semibold")}; color: ${t.onBrand}; background: ${t.brand}; border: 0; border-radius: ${t.radiusLg}; cursor: pointer; }
319
- button:hover { background: ${t.brandHover}; }
320
- @container (max-width: 56rem) { form { flex-wrap: wrap; } .field { flex: 1 1 40%; } button { inline-size: 100%; } }
321
- @container (max-width: 30rem) { form { flex-direction: column; align-items: stretch; gap: ${space(2)}; } .field { flex: none; } }
322
- `
323
- ];
324
- }
325
- submit(event) {
326
- const data = new FormData(event.currentTarget);
327
- const values = {};
328
- data.forEach((value, key) => {
329
- if (value !== "") values[key] = String(value);
330
- });
331
- this.dispatchEvent(new CustomEvent("impakt-submit", { detail: { values }, bubbles: true, composed: true }));
332
- if (!this.action) event.preventDefault();
333
- }
334
- render() {
335
- return html`<form role="search" aria-label=${this.label} method="get" action=${this.action || nothing} @submit=${this.submit} part="form">
336
- ${(this.items ?? []).map((field, i) => {
337
- const id = this.id_(`field-${i}`);
338
- const choices = String(field.options ?? "").split(",").map((o) => o.trim()).filter(Boolean);
339
- return html`<div class="field"><label for=${id}>${field.label}</label><select id=${id} name=${field.name || field.label.toLowerCase().replace(/[^a-z0-9]+/g, "-")}>
340
- <option value="">${field.placeholder || "Any"}</option>${choices.map((c) => html`<option value=${c}>${c}</option>`)}
341
- </select></div>`;
342
- })}
343
- <button type="submit">${this.buttonText}</button>
344
- </form>`;
345
- }
346
- };
347
- customElements.define("impakt-search-bar", ImpaktSearchBar);
348
- customElements.define("impakt-announcement", ImpaktAnnouncement);
349
- customElements.define("impakt-hero", ImpaktHero);
350
- customElements.define("impakt-feature-list", ImpaktFeatureList);
351
- customElements.define("impakt-quote", ImpaktQuote);
352
- customElements.define("impakt-stat", ImpaktStat);
353
-
354
- export {
355
- ImpaktHero,
356
- ImpaktFeatureList,
357
- ImpaktQuote,
358
- ImpaktStat,
359
- ImpaktAnnouncement,
360
- ImpaktSearchBar
361
- };
362
- //# sourceMappingURL=chunk-R7SSIE2E.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/marketing.ts"],"sourcesContent":["import { css, html, nothing, type TemplateResult } from 'lit';\nimport { ImpaktElement, fontSize, fontWeight, lineHeight, space, spaceAround, t, token, type, iconSvg } from '@atomic-ui/ui';\n\n/** A heading at a level the author chose, drawn at a size the component chose. */\nconst heading = (level: number, text: string | TemplateResult, cls: string): TemplateResult =>\n html`<div class=${cls} role=\"heading\" aria-level=${level}>${text}</div>`;\n\nconst headingStyles = css`\n .h { margin: 0; color: ${t.textHeading}; font-family: ${t.fontHeading}; font-weight: ${fontWeight('bold')}; line-height: ${lineHeight('tight')}; }\n .eyebrow { margin: 0; color: var(--impakt-eyebrow, var(--impakt-color-text-eyebrow, ${t.brand})); ${type('sm')} font-size: var(--impakt-font-size-eyebrow, var(--impakt-font-size-sm, 0.875rem)); font-family: ${t.fontEyebrow}; font-weight: var(--impakt-font-weight-eyebrow, ${fontWeight('semibold')}); letter-spacing: ${t.trackingWide}; text-transform: uppercase; }\n .body { margin: 0; line-height: ${lineHeight('normal')}; max-inline-size: 65ch; }\n`;\n\n/**\n * The opening of a page: a short label, a big heading, a line of text, the\n * page's main actions and, beside them, a picture.\n *\n * Put the buttons in the `actions` slot. The picture goes beside the words on\n * a wide screen and below them on a phone, so the heading is always the first\n * thing read.\n *\n * @category layout\n * @icon hero\n * @role heading\n * A heading with more than words in it, such as a word picked out with\n * `impakt-highlight`, is slotted as `heading`; it stays the hero's heading at\n * its `level`, and `heading` is then only the fallback.\n *\n * @slot heading - The heading's words, when they hold more than text, such as an `impakt-highlight`.\n * @slot actions - The page's main buttons and links.\n * @slot search - A search bar across the bottom of a full-picture hero.\n */\nexport class ImpaktHero extends ImpaktElement {\n static properties = {\n eyebrow: { type: String },\n heading: { type: String },\n lead: { type: String },\n level: { type: Number, reflect: true },\n imageSrc: { type: String, attribute: 'image-src' },\n imageAlt: { type: String, attribute: 'image-alt' },\n treatment: { type: String, reflect: true },\n ratingText: { type: String, attribute: 'rating-text' },\n eyebrowIcon: { type: String, attribute: 'eyebrow-icon' },\n align: { type: String, reflect: true },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** A short label above the heading, such as the name of the development. */\n declare eyebrow: string;\n declare heading: string;\n /** A sentence or two under the heading. */\n declare lead: string;\n /** The heading's level in the page. A page's hero is usually its only level 1. */\n declare level: 1 | 2;\n declare imageSrc: string;\n /** What the picture shows. Leave empty only when it is decoration. */\n declare imageAlt: string;\n /** The picture beside the words, or filling the whole block with the words over it. */\n declare treatment: 'split' | 'cover';\n /** A short line of proof on the picture, such as \"4.8 from 312 buyers\". */\n declare ratingText: string;\n /** A small picture before the eyebrow on a full-picture hero. */\n declare eyebrowIcon:\n | 'none'\n | 'arrow-right'\n | 'arrow-left'\n | 'chevron-right'\n | 'chevron-down'\n | 'check'\n | 'close'\n | 'menu'\n | 'plus'\n | 'minus'\n | 'search'\n | 'external'\n | 'download'\n | 'home'\n | 'phone'\n | 'mail'\n | 'map-pin'\n | 'calendar'\n | 'clock'\n | 'user'\n | 'star'\n | 'heart'\n | 'shield'\n | 'leaf'\n | 'sun'\n | 'bolt'\n | 'key'\n | 'info'\n | 'warning'\n | 'document'\n | 'pound'\n | 'chat';\n /** Where the words sit. Centred heroes have no picture beside them. */\n declare align: 'start' | 'center';\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.eyebrow = '';\n this.heading = '';\n this.lead = '';\n this.level = 1;\n this.imageSrc = '';\n this.imageAlt = '';\n this.treatment = 'split';\n this.ratingText = '';\n this.eyebrowIcon = 'none';\n this.align = 'start';\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n headingStyles,\n css`\n :host { display: block; container-type: inline-size; }\n .hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: ${space(8)}; align-items: center; }\n .hero.pictured { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }\n .words { display: flex; flex-direction: column; gap: ${space(4)}; }\n :host([align='center']) .words { align-items: center; text-align: center; margin-inline: auto; max-inline-size: 48rem; }\n .h { ${type('5xl')} letter-spacing: ${t.trackingTight}; text-wrap: balance; }\n .body { ${type('lg')} color: ${t.textMuted}; text-wrap: pretty; }\n @container (max-width: 40rem) { .h { ${type('4xl')} } }\n .actions { display: flex; flex-wrap: wrap; gap: ${space(3)} ${space(4)}; align-items: center; margin-block-start: ${space(2)}; }\n :host([align='center']) .actions { justify-content: center; }\n img { display: block; inline-size: 100%; block-size: auto; border-radius: ${t.radius2xl}; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: ${t.shadowLg}; }\n @container (max-width: 48rem) { .hero.pictured { grid-template-columns: minmax(0, 1fr); } }\n /* Cover: the picture fills the block edge to edge, a scrim keeps the words readable (1.4.3). */\n .cover { position: relative; display: flex; flex-direction: column; justify-content: center; min-block-size: clamp(44rem, 61vw, 55rem); margin-inline: calc(var(--impakt-bleed, 1) * (50% - 50vw)); padding: ${space(32)} max(${space(8)}, calc(var(--impakt-bleed, 1) * (50vw - 50%))) ${space(24)}; overflow: hidden; color: #fff; --impakt-color-text-heading: #fff; }\n .cover img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }\n .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(18 31 26 / 0.82) 0%, rgb(18 31 26 / 0.42) 55%, rgb(18 31 26 / 0.05) 100%); }\n .cover .words { position: relative; z-index: 1; max-inline-size: 48rem; }\n .cover .eyebrow { display: inline-flex; align-items: center; gap: ${space(2)}; align-self: flex-start; padding: ${space(2)} ${space(3.5)}; color: #fff; background: rgb(255 255 255 / 0.16); border-radius: var(--impakt-radius-pill, calc(var(--impakt-radius-md, 0.5rem) * 9999)); text-transform: none; letter-spacing: 0; }\n .chip-line { position: relative; z-index: 1; block-size: 0; }\n .chip { position: absolute; inset-block-start: ${space(14)}; inset-inline-end: ${space(9)}; display: inline-flex; align-items: center; gap: ${space(2.5)}; padding: ${space(3)} ${space(4.5)}; ${type('sm')} font-weight: ${fontWeight('semibold')}; white-space: nowrap; color: #fff; background: rgb(255 255 255 / 0.16); border-radius: ${t.radiusXl}; }\n .finder { position: relative; z-index: 1; margin-block-start: ${space(12)}; }\n .cover .h { font-size: clamp(3rem, 6.4vw, 5.75rem); line-height: 1; }\n .cover .body { color: rgb(255 255 255 / 0.92); max-inline-size: 40rem; }\n @container (max-width: 64rem) { .chip { display: none; } }\n @container (max-width: 30rem) { .finder { display: none; } }\n @container (max-width: 48rem) { .finder { margin-block-start: ${space(6)}; } .cover { justify-content: flex-end; min-block-size: 43.75rem; padding-block: ${space(32)} ${space(10)}; } .cover::after { background: linear-gradient(180deg, rgb(18 31 26 / 0.1) 0%, rgb(18 31 26 / 0.3) 42%, rgb(18 31 26 / 0.86) 100%); } .cover .h { font-size: 3rem; } }\n `,\n ];\n\n render(): TemplateResult {\n if (this.treatment === 'cover' && this.imageSrc) {\n return html`<div class=\"cover\" part=\"hero\">\n ${this.ratingText ? html`<div class=\"chip-line\"><div class=\"chip\">${iconSvg('star', '20px')}${this.ratingText}</div></div>` : nothing}\n <img src=${this.imageSrc} alt=${this.imageAlt} part=\"image\" />\n <div class=\"words\">\n ${this.eyebrow ? html`<p class=\"eyebrow\" part=\"eyebrow\">${this.eyebrowIcon !== 'none' ? iconSvg(this.eyebrowIcon, '16px') : nothing}${this.eyebrow}</p>` : nothing}\n ${heading(this.level, html`<slot name=\"heading\">${this.heading}</slot>`, 'h')}\n ${this.lead ? html`<p class=\"body\">${this.lead}</p>` : nothing}\n <div class=\"actions\"><slot name=\"actions\"></slot></div>\n </div>\n <div class=\"finder\"><slot name=\"search\"></slot></div>\n </div>`;\n }\n const pictured = Boolean(this.imageSrc) && this.align !== 'center';\n return html`<div class=\"hero ${pictured ? 'pictured' : ''}\" part=\"hero\">\n <div class=\"words\">\n ${this.eyebrow ? html`<p class=\"eyebrow\" part=\"eyebrow\">${this.eyebrow}</p>` : nothing}\n ${heading(this.level, html`<slot name=\"heading\">${this.heading}</slot>`, 'h')}\n ${this.lead ? html`<p class=\"body\">${this.lead}</p>` : nothing}\n <div class=\"actions\"><slot name=\"actions\"></slot></div>\n </div>\n ${pictured ? html`<img src=${this.imageSrc} alt=${this.imageAlt} part=\"image\" />` : nothing}\n </div>`;\n }\n}\n\n/** One benefit or feature in a list of them. */\nexport interface FeatureItem {\n id?: string;\n icon?: string;\n heading: string;\n text?: string;\n /**\n * With `look=\"numbered\"`: a word or two read with the item when it is the\n * one that needs attention, such as \"Needs your attention\". Its dot then\n * turns to the accent; the word is what carries it to a screen reader.\n */\n attention?: string;\n}\n\n/**\n * Benefits or features side by side, each with an icon, a short heading and a\n * line of text: \"Ten years of cover\", \"Lower bills from day one\".\n *\n * The icons are decoration, because each heading already says what it is.\n * The items are a list, so a screen reader says how many there are.\n *\n * `look=\"ruled\"` draws each item under a 1px ink rule with no icon, the\n * heading at 24px and the text muted. `look=\"numbered\"` draws each as a card\n * with a 1px ink border, its number in monospace at the top left and a status\n * dot at the top right: ink, or the accent for the one item given\n * `attention`. The numbers and dots are decoration.\n *\n * @category content\n * @icon features\n */\nexport class ImpaktFeatureList extends ImpaktElement {\n static properties = {\n items: { type: Array },\n columns: { type: String, reflect: true },\n headingLevel: { type: Number, attribute: 'heading-level' },\n layout: { type: String, reflect: true },\n look: { type: String, reflect: true },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare items: FeatureItem[];\n declare columns: 'two' | 'three' | 'four';\n /** The level of each item's heading. One below the heading above the list. */\n declare headingLevel: 2 | 3 | 4;\n /** Icons above the words, or beside them. */\n declare layout: 'stacked' | 'inline';\n /** `icons` draws each item's icon. `ruled` sets each under a 1px ink rule. `numbered` sets each in a bordered card with its number and a status dot. */\n declare look: 'icons' | 'ruled' | 'numbered';\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.items = [];\n this.columns = 'three';\n this.headingLevel = 3;\n this.layout = 'stacked';\n this.look = 'icons';\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n headingStyles,\n css`\n :host { display: block; container-type: inline-size; }\n ul { list-style: none; margin: 0; padding: 0; display: grid; gap: ${space(8)} ${space(6)}; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n :host([columns='two']) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n :host([columns='four']) ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }\n li { display: flex; flex-direction: column; gap: ${space(2)}; }\n :host([layout='inline']) li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: ${space(4)}; align-items: start; }\n :host([layout='inline']) .words { display: flex; flex-direction: column; gap: ${space(1)}; }\n .icon { display: inline-flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; border-radius: ${t.radiusLg}; background: ${t.brandSubtle}; color: ${t.brand}; margin-block-end: ${space(2)}; }\n :host([layout='inline']) .icon { margin: 0; }\n .h { font-size: ${fontSize('lg')}; }\n .body { color: ${t.text}; }\n /* Ruled: a 1px ink rule above each item, no icon, the heading at 24px and the words muted. */\n :host([look='ruled']) li { gap: ${space(3)}; padding-block-start: ${space(5)}; border-block-start: ${t.borderThin} solid ${t.text}; }\n :host(:is([look='ruled'], [look='numbered'])) .icon { display: none; }\n :host(:is([look='ruled'], [look='numbered'])) .h { font-size: clamp(1.25rem, 3cqi, 1.5rem); font-weight: ${fontWeight('semibold')}; letter-spacing: -0.02em; line-height: 1.2; }\n :host(:is([look='ruled'], [look='numbered'])) .body { color: ${t.textMuted}; }\n :host(:is([look='ruled'], [look='numbered'])) .words { display: flex; flex-direction: column; gap: ${space(3)}; }\n /* Numbered: a card with a 1px ink border, its number at the top left and a status dot at the top right. */\n :host([look='numbered']) ul { gap: ${space(3)}; }\n :host([look='numbered']) li { gap: ${space(4)}; padding: ${space(6)}; background: ${t.surfaceCard}; border: ${t.borderThin} solid ${t.text}; border-radius: ${t.radiusSm}; }\n .top { display: flex; align-items: center; justify-content: space-between; font-family: ${t.fontMono}; font-size: ${fontSize('sm')}; color: ${t.text}; }\n .dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: ${t.text}; }\n .dot.attention { background: ${token('color.accent.default', '#ffd43b')}; box-shadow: inset 0 0 0 1px ${t.text}; }\n .sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n @media (forced-colors: active) { .dot { background: CanvasText; } .dot.attention { background: Highlight; } :host([look='numbered']) li { border-color: CanvasText; } }\n @container (max-width: 48rem) { ul, :host([columns='four']) ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }\n @container (max-width: 32rem) { ul, :host([columns='two']) ul, :host([columns='four']) ul { grid-template-columns: minmax(0, 1fr); } }\n `,\n ];\n\n render(): TemplateResult {\n const numbered = this.look === 'numbered';\n return html`<ul part=\"list\">${(this.items ?? []).map(\n (item, index) => html`<li part=\"item\">\n ${numbered ? html`<div class=\"top\" aria-hidden=\"true\"><span>${String(index + 1).padStart(2, '0')}</span><span class=${item.attention ? 'dot attention' : 'dot'}></span></div>` : nothing}\n ${item.icon && this.look !== 'ruled' && !numbered ? html`<span class=\"icon\">${iconSvg(item.icon, '24px')}</span>` : nothing}\n <div class=\"words\">${heading(this.headingLevel, html`${item.heading}${numbered && item.attention ? html`<span class=\"sr\"> (${item.attention})</span>` : nothing}`, 'h')}${item.text ? html`<p class=\"body\">${item.text}</p>` : nothing}</div>\n </li>`,\n )}</ul>`;\n }\n}\n\n/**\n * Something a customer said, and who said it.\n *\n * It is a `blockquote` with a `figcaption`, so the words and the person are\n * tied together for a screen reader as well as on the screen.\n *\n * @category content\n * @icon quote\n */\nexport class ImpaktQuote extends ImpaktElement {\n static properties = {\n quote: { type: String },\n person: { type: String },\n about: { type: String },\n imageSrc: { type: String, attribute: 'image-src' },\n size: { type: String, reflect: true },\n align: { type: String, reflect: true },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n /** The words they said, without quotation marks. */\n declare quote: string;\n /** Who said it. */\n declare person: string;\n /** Who they are, such as \"Bought at Larkfield Meadows, 2025\". */\n declare about: string;\n /** A photo of them. It is decoration, because their name is beside it. */\n declare imageSrc: string;\n declare size: 'md' | 'lg';\n declare align: 'start' | 'center';\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.quote = '';\n this.person = '';\n this.about = '';\n this.imageSrc = '';\n this.size = 'md';\n this.align = 'start';\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 figure { margin: 0; display: flex; flex-direction: column; gap: ${space(4)}; max-inline-size: 48rem; }\n :host([align='center']) figure { margin-inline: auto; align-items: center; text-align: center; }\n blockquote { margin: 0; font-family: ${t.fontHeading}; font-size: ${fontSize('lg')}; line-height: ${lineHeight('normal')}; color: inherit; }\n :host([size='lg']) blockquote { font-size: ${fontSize('2xl')}; line-height: ${lineHeight('tight')}; }\n blockquote::before { content: '\\\\201C'; } blockquote::after { content: '\\\\201D'; }\n figcaption { display: flex; align-items: center; gap: ${space(3)}; }\n img { inline-size: 48px; block-size: 48px; border-radius: 50%; object-fit: cover; }\n .name { font-weight: ${fontWeight('semibold')}; }\n .detail { color: ${t.textMuted}; font-size: ${fontSize('sm')}; }\n `,\n ];\n\n render(): TemplateResult {\n return html`<figure part=\"figure\">\n <blockquote part=\"quote\">${this.quote}</blockquote>\n ${this.person ? html`<figcaption>${this.imageSrc ? html`<img src=${this.imageSrc} alt=\"\" />` : nothing}<span><span class=\"name\">${this.person}</span>${this.about ? html`<br /><span class=\"detail\">${this.about}</span>` : nothing}</span></figcaption>` : nothing}\n </figure>`;\n }\n}\n\n/**\n * A number that makes a point, with what it counts beneath it: \"36 years\",\n * \"Building in Kent since 1987\".\n *\n * @category content\n * @icon stat\n */\nexport class ImpaktStat extends ImpaktElement {\n static properties = {\n figure: { type: String },\n label: { type: String },\n note: { type: String },\n size: { type: String, reflect: true },\n align: { type: String, reflect: true },\n };\n /** How large the number is drawn. */\n declare size: 'md' | 'lg' | 'xl';\n /** The number, written as it should appear, such as \"36\" or \"£280k\". */\n declare figure: string;\n /** What the number counts. */\n declare label: string;\n /** A line more, if the label needs it. */\n declare note: string;\n declare align: 'start' | 'center';\n\n constructor() {\n super();\n this.figure = '';\n this.label = '';\n this.note = '';\n this.size = 'md';\n this.align = 'start';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; }\n .stat { display: flex; flex-direction: column; gap: ${space(1)}; }\n :host([align='center']) .stat { align-items: center; text-align: center; }\n .value { font-family: ${t.fontHeading}; font-size: ${fontSize('3xl')}; font-weight: ${fontWeight('bold')}; line-height: 1; color: ${t.textHeading}; }\n :host([size='lg']) .value { font-size: ${fontSize('5xl')}; }\n :host([size='xl']) .value { font-size: clamp(2.75rem, 6vw, 4rem); }\n .label { font-weight: ${fontWeight('semibold')}; }\n .detail { color: ${t.textMuted}; font-size: ${fontSize('sm')}; }\n `,\n ];\n\n render(): TemplateResult {\n // Read as one phrase, \"36 years\", rather than a bare number and then a label.\n return html`<p class=\"stat\" part=\"stat\" style=\"margin:0\"><span class=\"value\">${this.figure}</span> <span class=\"label\">${this.label}</span>${this.note ? html` <span class=\"detail\">${this.note}</span>` : nothing}</p>`;\n }\n}\n\n/**\n * A thin line of news across the top of a page: a launch, a change to opening\n * hours. Keep it to one short sentence.\n *\n * @category feedback\n * @icon alert\n */\nexport class ImpaktAnnouncement extends ImpaktElement {\n static properties = {\n message: { type: String },\n linkText: { type: String, attribute: 'link-text' },\n href: { type: String },\n };\n declare message: string;\n declare linkText: string;\n declare href: string;\n\n constructor() {\n super();\n this.message = '';\n this.linkText = '';\n this.href = '';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n css`\n :host { display: block; }\n .bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: ${space(2)} ${space(3)}; padding: ${space(2.5)} ${space(5)}; ${type('sm')} text-align: center; color: ${t.onBrand}; background: ${t.brand}; }\n :host { margin-inline: calc(var(--impakt-bleed, 1) * (50% - 50vw)); }\n a { display: inline-flex; align-items: center; gap: ${space(1)}; min-block-size: ${t.targetMin}; color: inherit; font-weight: ${fontWeight('semibold')}; }\n `,\n ];\n\n render(): TemplateResult {\n return html`<div class=\"bar\" part=\"bar\"><span>${this.message}</span>${this.linkText && this.href ? html`<a href=${this.href}>${this.linkText}${iconSvg('arrow-right', '14px')}</a>` : nothing}</div>`;\n }\n}\n\n/** One choice in a search bar. */\nexport interface SearchField {\n id?: string;\n /** The name it sends, such as \"bedrooms\". */\n name?: string;\n label: string;\n /** What it shows before anything is chosen. */\n placeholder?: string;\n /** The other choices, separated by commas. */\n options?: string;\n}\n\n/**\n * A row of choices and one button that finds what fits: where, how many\n * bedrooms, up to what budget.\n *\n * Each choice is a native select with a real label. It sends the visitor to\n * `action` with their choices in the address, so it works as a plain link can.\n *\n * @category form\n * @icon search\n * @fires {CustomEvent<{ values: Record<string, string> }>} impakt-submit - When the search is run. The choices are in detail.values.\n */\nexport class ImpaktSearchBar extends ImpaktElement {\n static properties = {\n items: { type: Array },\n buttonText: { type: String, attribute: 'button-text' },\n action: { type: String },\n label: { type: String },\n spaceAbove: { type: String, reflect: true, attribute: 'space-above' },\n spaceBelow: { type: String, reflect: true, attribute: 'space-below' },\n };\n declare items: SearchField[];\n declare buttonText: string;\n /** Where the search goes. Leave empty to handle it in the app. */\n declare action: string;\n /** What the search is called for a screen reader. */\n declare label: string;\n declare spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n declare spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';\n\n constructor() {\n super();\n this.items = [];\n this.buttonText = 'Search';\n this.action = '';\n this.label = 'Search';\n this.spaceAbove = 'none';\n this.spaceBelow = 'none';\n }\n\n static styles = [\n ...ImpaktElement.styles,\n spaceAround,\n css`\n :host { display: block; container-type: inline-size; }\n form { display: flex; align-items: center; padding: ${space(3)}; background: ${t.surfaceCard}; color: ${t.text}; border-radius: ${t.radius2xl}; box-shadow: ${t.shadowXl}; }\n .field { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: ${space(1)}; padding: ${space(1.5)} ${space(5)}; }\n label { ${type('sm')} color: ${t.textMuted}; }\n select { inline-size: 100%; min-block-size: 28px; padding: 0; font: inherit; ${type('sm')} font-weight: ${fontWeight('semibold')}; color: ${t.text}; background: transparent; border: 0; border-radius: ${t.radiusSm}; cursor: pointer; }\n select:focus-visible, button:focus-visible { outline: 2px solid ${t.brand}; outline-offset: 2px; }\n button { flex: none; min-block-size: 48px; padding: ${space(3)} ${space(6)}; font: inherit; font-weight: ${fontWeight('semibold')}; color: ${t.onBrand}; background: ${t.brand}; border: 0; border-radius: ${t.radiusLg}; cursor: pointer; }\n button:hover { background: ${t.brandHover}; }\n @container (max-width: 56rem) { form { flex-wrap: wrap; } .field { flex: 1 1 40%; } button { inline-size: 100%; } }\n @container (max-width: 30rem) { form { flex-direction: column; align-items: stretch; gap: ${space(2)}; } .field { flex: none; } }\n `,\n ];\n\n private submit(event: SubmitEvent): void {\n const data = new FormData(event.currentTarget as HTMLFormElement);\n const values: Record<string, string> = {};\n data.forEach((value, key) => {\n if (value !== '') values[key] = String(value);\n });\n this.dispatchEvent(new CustomEvent('impakt-submit', { detail: { values }, bubbles: true, composed: true }));\n if (!this.action) event.preventDefault();\n }\n\n render(): TemplateResult {\n return html`<form role=\"search\" aria-label=${this.label} method=\"get\" action=${this.action || nothing} @submit=${this.submit} part=\"form\">\n ${(this.items ?? []).map((field, i) => {\n const id = this.id_(`field-${i}`);\n const choices = String(field.options ?? '')\n .split(',')\n .map((o) => o.trim())\n .filter(Boolean);\n return html`<div class=\"field\"><label for=${id}>${field.label}</label><select id=${id} name=${field.name || field.label.toLowerCase().replace(/[^a-z0-9]+/g, '-')}>\n <option value=\"\">${field.placeholder || 'Any'}</option>${choices.map((c) => html`<option value=${c}>${c}</option>`)}\n </select></div>`;\n })}\n <button type=\"submit\">${this.buttonText}</button>\n </form>`;\n }\n}\n\ncustomElements.define('impakt-search-bar', ImpaktSearchBar);\ncustomElements.define('impakt-announcement', ImpaktAnnouncement);\ncustomElements.define('impakt-hero', ImpaktHero);\ncustomElements.define('impakt-feature-list', ImpaktFeatureList);\ncustomElements.define('impakt-quote', ImpaktQuote);\ncustomElements.define('impakt-stat', ImpaktStat);\ndeclare global {\n interface HTMLElementTagNameMap {\n 'impakt-hero': ImpaktHero;\n 'impakt-feature-list': ImpaktFeatureList;\n 'impakt-quote': ImpaktQuote;\n 'impakt-stat': ImpaktStat;\n }\n}\n"],"mappings":";AAAA,SAAS,KAAK,MAAM,eAAoC;AACxD,SAAS,eAAe,UAAU,YAAY,YAAY,OAAO,aAAa,GAAG,OAAO,MAAM,eAAe;AAG7G,IAAM,UAAU,CAAC,OAAe,MAA+B,QAC7D,kBAAkB,GAAG,8BAA8B,KAAK,IAAI,IAAI;AAElE,IAAM,gBAAgB;AAAA,2BACK,EAAE,WAAW,kBAAkB,EAAE,WAAW,kBAAkB,WAAW,MAAM,CAAC,kBAAkB,WAAW,OAAO,CAAC;AAAA,wFACxD,EAAE,KAAK,OAAO,KAAK,IAAI,CAAC,mGAAmG,EAAE,WAAW,oDAAoD,WAAW,UAAU,CAAC,sBAAsB,EAAE,YAAY;AAAA,oCAC1S,WAAW,QAAQ,CAAC;AAAA;AAsBjD,IAAM,aAAN,cAAyB,cAAc;AAAA,EAC5C;AAAA,SAAO,aAAa;AAAA,MAClB,SAAS,EAAE,MAAM,OAAO;AAAA,MACxB,SAAS,EAAE,MAAM,OAAO;AAAA,MACxB,MAAM,EAAE,MAAM,OAAO;AAAA,MACrB,OAAO,EAAE,MAAM,QAAQ,SAAS,KAAK;AAAA,MACrC,UAAU,EAAE,MAAM,QAAQ,WAAW,YAAY;AAAA,MACjD,UAAU,EAAE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