@atomic-ui/blocks 0.7.1 → 0.8.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 (60) hide show
  1. package/README.md +7 -7
  2. package/custom-elements.json +1375 -3
  3. package/dist/{chunk-XHFUTZGU.js → chunk-CC2U2L2H.js} +5 -3
  4. package/dist/{chunk-XHFUTZGU.js.map → chunk-CC2U2L2H.js.map} +1 -1
  5. package/dist/{chunk-MYTYMOH6.js → chunk-CPOCQURG.js} +26 -7
  6. package/dist/chunk-CPOCQURG.js.map +1 -0
  7. package/dist/{chunk-OTOFULMT.js → chunk-FLOKZ7O3.js} +72 -22
  8. package/dist/chunk-FLOKZ7O3.js.map +1 -0
  9. package/dist/{chunk-WHENVU5E.js → chunk-HNCJLMQB.js} +41 -15
  10. package/dist/chunk-HNCJLMQB.js.map +1 -0
  11. package/dist/{chunk-4JW2CHWS.js → chunk-NLHFBIGQ.js} +67 -21
  12. package/dist/chunk-NLHFBIGQ.js.map +1 -0
  13. package/dist/{chunk-AFN7IAG2.js → chunk-OR4U4UJQ.js} +70 -24
  14. package/dist/chunk-OR4U4UJQ.js.map +1 -0
  15. package/dist/{chunk-T7U4OPTW.js → chunk-PALYJCLC.js} +37 -12
  16. package/dist/chunk-PALYJCLC.js.map +1 -0
  17. package/dist/chunk-PTQDYIC5.js +447 -0
  18. package/dist/chunk-PTQDYIC5.js.map +1 -0
  19. package/dist/{chunk-XJMKAK2I.js → chunk-TT2PTEQO.js} +72 -26
  20. package/dist/chunk-TT2PTEQO.js.map +1 -0
  21. package/dist/{chunk-PORKVHAX.js → chunk-UVHQY3QJ.js} +1 -1
  22. package/dist/{chunk-PORKVHAX.js.map → chunk-UVHQY3QJ.js.map} +1 -1
  23. package/dist/{chunk-F4BTXUYP.js → chunk-YC6KXE6O.js} +12 -5
  24. package/dist/chunk-YC6KXE6O.js.map +1 -0
  25. package/dist/chunk-YMSFOS3H.js +142 -0
  26. package/dist/chunk-YMSFOS3H.js.map +1 -0
  27. package/dist/components/card-grid.js +1 -1
  28. package/dist/components/changelog.js +2 -2
  29. package/dist/components/estimator.js +1 -1
  30. package/dist/components/journey.d.ts +106 -0
  31. package/dist/components/journey.js +9 -0
  32. package/dist/components/journey.js.map +1 -0
  33. package/dist/components/marketing.js +1 -1
  34. package/dist/components/organisms.js +1 -1
  35. package/dist/components/property.js +1 -1
  36. package/dist/components/scene.js +1 -1
  37. package/dist/components/scrubber.js +1 -1
  38. package/dist/components/selling.js +1 -1
  39. package/dist/components/site.d.ts +11 -0
  40. package/dist/components/site.js +1 -1
  41. package/dist/components/studio.d.ts +430 -0
  42. package/dist/components/studio.js +19 -0
  43. package/dist/components/studio.js.map +1 -0
  44. package/dist/index.d.ts +8 -6
  45. package/dist/index.js +34 -12
  46. package/dist/index.js.map +1 -1
  47. package/dist/standalone/atomic-ui-blocks.js +893 -677
  48. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  49. package/dist/standalone/index.html +85 -63
  50. package/package.json +3 -3
  51. package/scripts/copy-to-product.mjs +8 -7
  52. package/specimen/index.html +85 -63
  53. package/dist/chunk-4JW2CHWS.js.map +0 -1
  54. package/dist/chunk-AFN7IAG2.js.map +0 -1
  55. package/dist/chunk-F4BTXUYP.js.map +0 -1
  56. package/dist/chunk-MYTYMOH6.js.map +0 -1
  57. package/dist/chunk-OTOFULMT.js.map +0 -1
  58. package/dist/chunk-T7U4OPTW.js.map +0 -1
  59. package/dist/chunk-WHENVU5E.js.map +0 -1
  60. package/dist/chunk-XJMKAK2I.js.map +0 -1
@@ -0,0 +1,430 @@
1
+ /**
2
+ * The blocks a studio's own site is built from: the numbered list of work, a
3
+ * row of figures, and the questions at the foot of a page.
4
+ */
5
+ import { type TemplateResult } from 'lit';
6
+ import { ImpaktElement, type NavLink } from '@atomic-ui/ui';
7
+ /** One project in a list of work. */
8
+ export interface WorkItem {
9
+ id?: string;
10
+ /** The project's name, set large. */
11
+ name: string;
12
+ /** What it is and who it is for, such as "Web platform · Automotive". */
13
+ meta?: string;
14
+ /** Where the row goes when it is pressed. Leave empty for a row that goes nowhere. */
15
+ href?: string;
16
+ }
17
+ /**
18
+ * A numbered list of projects, each name set large: the work on a studio's
19
+ * home page, or the index on its work page.
20
+ *
21
+ * **Each row is one link.** The link sits on the project's name, which is a
22
+ * heading, and is stretched over the row, so the whole row can be pressed
23
+ * while a screen reader meets one link with one name (2.4.4, 2.5.8). The
24
+ * number and the arrow are decoration and are hidden from it; the list itself
25
+ * says how many projects there are and which one this is (1.3.1).
26
+ *
27
+ * **Pointing at a row and focusing it look the same.** The row turns to the
28
+ * text colour with the card colour on it, a pair every brand's tokens already
29
+ * hold at 4.5:1, so the state never depends on a colour of its own (1.4.3,
30
+ * 1.4.11). The focus ring is still drawn over it (2.4.7).
31
+ *
32
+ * The names shrink with the block's own width, not the window's, so the list
33
+ * reads the same in a narrow column as on a phone (1.4.10).
34
+ *
35
+ * @category content
36
+ * @icon list
37
+ */
38
+ export declare class ImpaktWorkList extends ImpaktElement {
39
+ static properties: {
40
+ items: {
41
+ type: ArrayConstructor;
42
+ };
43
+ headingLevel: {
44
+ type: NumberConstructor;
45
+ attribute: string;
46
+ };
47
+ start: {
48
+ type: NumberConstructor;
49
+ };
50
+ label: {
51
+ type: StringConstructor;
52
+ };
53
+ spaceAbove: {
54
+ type: StringConstructor;
55
+ reflect: boolean;
56
+ attribute: string;
57
+ };
58
+ spaceBelow: {
59
+ type: StringConstructor;
60
+ reflect: boolean;
61
+ attribute: string;
62
+ };
63
+ };
64
+ /** The projects, in order. */
65
+ items: WorkItem[];
66
+ /** The heading level of each project's name. It depends on what is above the list on the page. */
67
+ headingLevel: number;
68
+ /** The number the first project is given. */
69
+ start: number;
70
+ /** A name for the list, so a screen reader can tell it from other lists on the page. Leave empty for none. */
71
+ label: string;
72
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
73
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
74
+ constructor();
75
+ static styles: import("lit").CSSResult[];
76
+ render(): TemplateResult;
77
+ }
78
+ /** One figure in a row of them. */
79
+ export interface StatRowItem {
80
+ /** The number, written as it should appear, such as "161 ms" or "4". */
81
+ figure: string;
82
+ /** What the number counts. */
83
+ label: string;
84
+ /** A line more, if the label needs it. */
85
+ note?: string;
86
+ }
87
+ /**
88
+ * A row of figures under a rule, each with what it counts: "4 live products",
89
+ * "161 ms response time".
90
+ *
91
+ * The figures are a list, so a screen reader says how many there are, and each
92
+ * is read as one phrase, "161 ms response time", not a bare number followed
93
+ * some way off by its label (1.3.1). The row wraps by its own width: four
94
+ * across, then two, then one, with nothing to scroll sideways at 320px
95
+ * (1.4.10).
96
+ *
97
+ * @category content
98
+ * @icon stat
99
+ */
100
+ export declare class ImpaktStatRow extends ImpaktElement {
101
+ static properties: {
102
+ items: {
103
+ type: ArrayConstructor;
104
+ };
105
+ label: {
106
+ type: StringConstructor;
107
+ };
108
+ spaceAbove: {
109
+ type: StringConstructor;
110
+ reflect: boolean;
111
+ attribute: string;
112
+ };
113
+ spaceBelow: {
114
+ type: StringConstructor;
115
+ reflect: boolean;
116
+ attribute: string;
117
+ };
118
+ };
119
+ /** The figures, in order. Four fit a row on a wide page. */
120
+ items: StatRowItem[];
121
+ /** A name for the row, such as "Live products", read before the figures. Leave empty for none. */
122
+ label: string;
123
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
124
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
125
+ constructor();
126
+ static styles: import("lit").CSSResult[];
127
+ render(): TemplateResult;
128
+ }
129
+ /** One question and its answer. */
130
+ export interface FaqItem {
131
+ id: string;
132
+ /** The question. */
133
+ heading: string;
134
+ /** The answer, as plain text. An answer with links or a list is slotted as `panel-<id>` instead. */
135
+ body: string;
136
+ }
137
+ /**
138
+ * The questions at the foot of a page, under a heading: a title, a line of
139
+ * introduction, and the questions as sections that open.
140
+ *
141
+ * It is `impakt-accordion` with the heading a page always writes above it, so
142
+ * the levels cannot drift: the questions are always one level below the
143
+ * block's own heading (1.3.1). With a heading, the block is a region named by
144
+ * it, so a screen reader can jump straight to the questions (2.4.1).
145
+ *
146
+ * An answer that is more than words is slotted as `panel-<id>`, exactly as
147
+ * on the accordion, and is passed through to it.
148
+ *
149
+ * @category content
150
+ * @icon accordion
151
+ */
152
+ export declare class ImpaktFaq extends ImpaktElement {
153
+ static properties: {
154
+ eyebrow: {
155
+ type: StringConstructor;
156
+ };
157
+ heading: {
158
+ type: StringConstructor;
159
+ };
160
+ lead: {
161
+ type: StringConstructor;
162
+ };
163
+ items: {
164
+ type: ArrayConstructor;
165
+ };
166
+ headingLevel: {
167
+ type: NumberConstructor;
168
+ attribute: string;
169
+ };
170
+ open: {
171
+ type: ArrayConstructor;
172
+ };
173
+ multiple: {
174
+ type: BooleanConstructor;
175
+ };
176
+ spaceAbove: {
177
+ type: StringConstructor;
178
+ reflect: boolean;
179
+ attribute: string;
180
+ };
181
+ spaceBelow: {
182
+ type: StringConstructor;
183
+ reflect: boolean;
184
+ attribute: string;
185
+ };
186
+ };
187
+ /** The small line above the heading, such as "Questions". */
188
+ eyebrow: string;
189
+ /** The block's heading, such as "Questions founders ask us first." */
190
+ heading: string;
191
+ /** A line under the heading. */
192
+ lead: string;
193
+ /** The questions, in order. */
194
+ items: FaqItem[];
195
+ /** The level of the block's heading. The questions are one level below it. */
196
+ headingLevel: number;
197
+ /** The ids of the questions that start open. */
198
+ open: string[];
199
+ /** Let more than one answer be open at once. */
200
+ multiple: boolean;
201
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
202
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
203
+ constructor();
204
+ static styles: import("lit").CSSResult[];
205
+ render(): TemplateResult;
206
+ }
207
+ /**
208
+ * A site's menu as a whole screen: a few large links, for a phone or for a
209
+ * site with only a handful of pages.
210
+ *
211
+ * **It is a native `<dialog>` opened with `showModal()`**, as the drawer is, so
212
+ * the focus trap, Escape, the inert page behind it and the return of focus to
213
+ * the button that opened it all come from the browser (2.1.2, 2.4.3). The page
214
+ * behind does not scroll while it is open. The button that opens it is the
215
+ * page's own; set `open` from it and listen for `impakt-close`.
216
+ *
217
+ * **The links are a navigation landmark with a name**, and the page the reader
218
+ * is on carries `aria-current="page"` and is marked with a square, so the mark
219
+ * does not depend on colour (1.4.1). A brand whose ink is dark may also colour
220
+ * it, by setting `--impakt-site-menu-current`.
221
+ *
222
+ * The menu is drawn in ink: the text colour as the background with the card
223
+ * colour on it, a pair every brand already holds at 4.5:1. A component slotted
224
+ * at its foot takes the same colours through its tokens; a plain link there
225
+ * keeps the page's own link colour, so slot `impakt-link` instead.
226
+ *
227
+ * @category navigation
228
+ * @icon menu
229
+ * @slot footer - Under the links: a call to action, an email address.
230
+ * @fires {CustomEvent<null>} impakt-close - When the menu is closed, by its button, by Escape or by following a link.
231
+ */
232
+ export declare class ImpaktSiteMenu extends ImpaktElement {
233
+ static properties: {
234
+ open: {
235
+ type: BooleanConstructor;
236
+ reflect: boolean;
237
+ };
238
+ links: {
239
+ type: ArrayConstructor;
240
+ };
241
+ current: {
242
+ type: StringConstructor;
243
+ };
244
+ brand: {
245
+ type: StringConstructor;
246
+ };
247
+ home: {
248
+ type: StringConstructor;
249
+ };
250
+ label: {
251
+ type: StringConstructor;
252
+ };
253
+ closeText: {
254
+ type: StringConstructor;
255
+ attribute: string;
256
+ };
257
+ };
258
+ /** Whether the menu is showing. */
259
+ open: boolean;
260
+ /** The pages, in order. */
261
+ links: NavLink[];
262
+ /** The `href` of the page the reader is on, so its link is marked. */
263
+ current: string;
264
+ /** The site's name, at the top. */
265
+ brand: string;
266
+ /** Where the site's name goes. */
267
+ home: string;
268
+ /** The menu's name, read when it opens and as the name of its links. */
269
+ label: string;
270
+ /** The words on the button that closes it. */
271
+ closeText: string;
272
+ constructor();
273
+ static styles: import("lit").CSSResult[];
274
+ private hasFooter;
275
+ private get dialog();
276
+ updated(changed: Map<string, unknown>): void;
277
+ disconnectedCallback(): void;
278
+ private close;
279
+ private footerChanged;
280
+ render(): TemplateResult;
281
+ }
282
+ /**
283
+ * An offer, set out in two halves: what it is, with one action, and a short
284
+ * numbered list of what you get.
285
+ *
286
+ * It draws no background of its own. Put it in `impakt-section` with the
287
+ * `accent` or `ink` tone and it takes that band's colours, so the words on it
288
+ * are always the colour the tokens measured against the band (1.4.3).
289
+ *
290
+ * The points are an ordered list, so a screen reader says how many there are;
291
+ * the numbers drawn beside them are decoration (1.3.1). The halves stack by
292
+ * the block's own width (1.4.10).
293
+ *
294
+ * @category content
295
+ * @icon megaphone
296
+ * @slot actions - The action: one button.
297
+ */
298
+ export declare class ImpaktOffer extends ImpaktElement {
299
+ static properties: {
300
+ eyebrow: {
301
+ type: StringConstructor;
302
+ };
303
+ heading: {
304
+ type: StringConstructor;
305
+ };
306
+ lead: {
307
+ type: StringConstructor;
308
+ };
309
+ points: {
310
+ type: ArrayConstructor;
311
+ };
312
+ headingLevel: {
313
+ type: NumberConstructor;
314
+ attribute: string;
315
+ };
316
+ spaceAbove: {
317
+ type: StringConstructor;
318
+ reflect: boolean;
319
+ attribute: string;
320
+ };
321
+ spaceBelow: {
322
+ type: StringConstructor;
323
+ reflect: boolean;
324
+ attribute: string;
325
+ };
326
+ };
327
+ /** The small line above the heading, such as "Free for founders and product owners". */
328
+ eyebrow: string;
329
+ /** What is offered, such as "Get a 48-hour product teardown." */
330
+ heading: string;
331
+ /** A sentence or two more. */
332
+ lead: string;
333
+ /** What you get, one short line each. */
334
+ points: string[];
335
+ headingLevel: number;
336
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
337
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
338
+ constructor();
339
+ static styles: import("lit").CSSResult[];
340
+ render(): TemplateResult;
341
+ }
342
+ /**
343
+ * A card for one article: what it is filed under, its title and a line about
344
+ * it.
345
+ *
346
+ * **The card is one link.** The link sits on the title, which is a heading,
347
+ * and is stretched over the card, so the whole card can be pressed while a
348
+ * screen reader meets one link named by the title, not a "Read more" that says
349
+ * nothing out of context (2.4.4). `link-text` adds a visible line such as
350
+ * "Read"; it is decoration and is hidden from a screen reader, which already
351
+ * has the title.
352
+ *
353
+ * @category content
354
+ * @icon card
355
+ */
356
+ export declare class ImpaktPostCard extends ImpaktElement {
357
+ static properties: {
358
+ heading: {
359
+ type: StringConstructor;
360
+ };
361
+ text: {
362
+ type: StringConstructor;
363
+ };
364
+ meta: {
365
+ type: StringConstructor;
366
+ };
367
+ href: {
368
+ type: StringConstructor;
369
+ };
370
+ linkText: {
371
+ type: StringConstructor;
372
+ attribute: string;
373
+ };
374
+ headingLevel: {
375
+ type: NumberConstructor;
376
+ attribute: string;
377
+ };
378
+ };
379
+ /** The article's title. */
380
+ heading: string;
381
+ /** A line about it. */
382
+ text: string;
383
+ /** What it is filed under and how long it is, such as "Pricing · 7 min read". */
384
+ meta: string;
385
+ /** Where the card goes. */
386
+ href: string;
387
+ /** A visible line at the foot of the card, such as "Read". Leave empty for none. */
388
+ linkText: string;
389
+ headingLevel: number;
390
+ constructor();
391
+ static styles: import("lit").CSSResult[];
392
+ render(): TemplateResult;
393
+ }
394
+ /**
395
+ * A word or two of a heading picked out as if selected in a design tool: the
396
+ * accent colour behind it, an outline and four handles.
397
+ *
398
+ * It is decoration round real text. The words stay in the heading, in the
399
+ * page, so they are read, found and translated as the rest of it is; the
400
+ * handles and the optional label are hidden from a screen reader (1.3.1).
401
+ * The words on the accent are the colour the tokens measured against it
402
+ * (1.4.3). Nothing moves, so there is nothing to stop for reduced motion.
403
+ *
404
+ * @category content
405
+ * @icon text
406
+ * @slot - The words to pick out.
407
+ */
408
+ export declare class ImpaktHighlight extends ImpaktElement {
409
+ static properties: {
410
+ label: {
411
+ type: StringConstructor;
412
+ };
413
+ };
414
+ /** A small tag under the words, such as "Design · H1 / 120". It is decoration and is not read. */
415
+ label: string;
416
+ constructor();
417
+ static styles: import("lit").CSSResult[];
418
+ render(): TemplateResult;
419
+ }
420
+ declare global {
421
+ interface HTMLElementTagNameMap {
422
+ 'impakt-work-list': ImpaktWorkList;
423
+ 'impakt-stat-row': ImpaktStatRow;
424
+ 'impakt-faq': ImpaktFaq;
425
+ 'impakt-site-menu': ImpaktSiteMenu;
426
+ 'impakt-offer': ImpaktOffer;
427
+ 'impakt-post-card': ImpaktPostCard;
428
+ 'impakt-highlight': ImpaktHighlight;
429
+ }
430
+ }
@@ -0,0 +1,19 @@
1
+ import {
2
+ ImpaktFaq,
3
+ ImpaktHighlight,
4
+ ImpaktOffer,
5
+ ImpaktPostCard,
6
+ ImpaktSiteMenu,
7
+ ImpaktStatRow,
8
+ ImpaktWorkList
9
+ } from "../chunk-PTQDYIC5.js";
10
+ export {
11
+ ImpaktFaq,
12
+ ImpaktHighlight,
13
+ ImpaktOffer,
14
+ ImpaktPostCard,
15
+ ImpaktSiteMenu,
16
+ ImpaktStatRow,
17
+ ImpaktWorkList
18
+ };
19
+ //# sourceMappingURL=studio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/dist/index.d.ts CHANGED
@@ -9,13 +9,15 @@
9
9
  * base class, tokens and style fragments.
10
10
  */
11
11
  import '@atomic-ui/ui';
12
- export { ImpaktHero, ImpaktFeatureList, ImpaktQuote, ImpaktStat, ImpaktAnnouncement, ImpaktSearchBar, type FeatureItem, type SearchField } from './components/marketing';
12
+ export { ImpaktHero, ImpaktFeatureList, ImpaktQuote, ImpaktStat, ImpaktAnnouncement, ImpaktSearchBar, type FeatureItem, type SearchField, } from './components/marketing';
13
13
  export { ImpaktCardGrid, type CardItem } from './components/card-grid';
14
- export { ImpaktCarousel, ImpaktGallery, ImpaktLogoCloud, ImpaktSteps, ImpaktMediaSplit, ImpaktCtaBanner, ImpaktReviews, ImpaktNewsletter, gallerySpan, type GalleryItem, type LogoItem, type StepItem, type ReviewItem } from './components/organisms';
15
- export { ImpaktSitePlan, ImpaktMortgageCalculator, ImpaktBeforeAfter, ImpaktStickyBar, ImpaktLocationCard, monthlyPayment, type SitePlot, type NearbyItem } from './components/property';
16
- export { ImpaktPlanComparison, ImpaktVideo, ImpaktRegulatoryNotice, ImpaktStampDutyCalculator, ImpaktAffordabilityCalculator, ImpaktContactBlock, stampDuty, embedOf, SDLT, type PlanItem, type PlanRow } from './components/selling';
17
- export { ImpaktEstimator, estimate, phaseWeeks, type EstimatorQuestion, type EstimatorChoice, type EstimatorBand, type EstimatorPhase, type EstimateResult } from './components/estimator';
14
+ export { ImpaktJourneyButton, JOURNEY_STAGES, type JourneyStage } from './components/journey';
15
+ export { ImpaktWorkList, ImpaktStatRow, ImpaktFaq, ImpaktSiteMenu, ImpaktOffer, ImpaktPostCard, ImpaktHighlight, type WorkItem, type StatRowItem, type FaqItem, } from './components/studio';
16
+ export { ImpaktCarousel, ImpaktGallery, ImpaktLogoCloud, ImpaktSteps, ImpaktMediaSplit, ImpaktCtaBanner, ImpaktReviews, ImpaktNewsletter, gallerySpan, type GalleryItem, type LogoItem, type StepItem, type ReviewItem, } from './components/organisms';
17
+ export { ImpaktSitePlan, ImpaktMortgageCalculator, ImpaktBeforeAfter, ImpaktStickyBar, ImpaktLocationCard, monthlyPayment, type SitePlot, type NearbyItem, } from './components/property';
18
+ export { ImpaktPlanComparison, ImpaktVideo, ImpaktRegulatoryNotice, ImpaktStampDutyCalculator, ImpaktAffordabilityCalculator, ImpaktContactBlock, stampDuty, embedOf, SDLT, type PlanItem, type PlanRow, } from './components/selling';
19
+ export { ImpaktEstimator, estimate, phaseWeeks, type EstimatorQuestion, type EstimatorChoice, type EstimatorBand, type EstimatorPhase, type EstimateResult, } from './components/estimator';
18
20
  export { ImpaktSiteHeader, ImpaktSiteFooter, ImpaktWordmark, type FooterLogLine, type FooterColumn } from './components/site';
19
21
  export { ImpaktScene, type SceneDrive, type SceneLayout } from './components/scene';
20
22
  export { ImpaktScrubber, type ScrubberStop } from './components/scrubber';
21
- export { ImpaktReleaseCard, ImpaktReleaseList, ImpaktBranchList, ImpaktCheckList, ImpaktBranchTimeline, type DiffLine, type ReleaseItem, type Branch, type CheckItem, type TimelineLane, type TimelineMark } from './components/changelog';
23
+ export { ImpaktReleaseCard, ImpaktReleaseList, ImpaktBranchList, ImpaktCheckList, ImpaktBranchTimeline, type DiffLine, type ReleaseItem, type Branch, type CheckItem, type TimelineLane, type TimelineMark, } from './components/changelog';
package/dist/index.js CHANGED
@@ -1,6 +1,9 @@
1
+ import {
2
+ ImpaktScene
3
+ } from "./chunk-UVHQY3QJ.js";
1
4
  import {
2
5
  ImpaktScrubber
3
- } from "./chunk-XHFUTZGU.js";
6
+ } from "./chunk-CC2U2L2H.js";
4
7
  import {
5
8
  ImpaktAffordabilityCalculator,
6
9
  ImpaktContactBlock,
@@ -11,27 +14,40 @@ import {
11
14
  SDLT,
12
15
  embedOf,
13
16
  stampDuty
14
- } from "./chunk-XJMKAK2I.js";
17
+ } from "./chunk-TT2PTEQO.js";
15
18
  import {
16
19
  ImpaktSiteFooter,
17
20
  ImpaktSiteHeader,
18
21
  ImpaktWordmark
19
- } from "./chunk-MYTYMOH6.js";
22
+ } from "./chunk-CPOCQURG.js";
23
+ import {
24
+ ImpaktFaq,
25
+ ImpaktHighlight,
26
+ ImpaktOffer,
27
+ ImpaktPostCard,
28
+ ImpaktSiteMenu,
29
+ ImpaktStatRow,
30
+ ImpaktWorkList
31
+ } from "./chunk-PTQDYIC5.js";
20
32
  import {
21
33
  ImpaktCardGrid
22
- } from "./chunk-F4BTXUYP.js";
34
+ } from "./chunk-YC6KXE6O.js";
23
35
  import {
24
36
  ImpaktBranchList,
25
37
  ImpaktBranchTimeline,
26
38
  ImpaktCheckList,
27
39
  ImpaktReleaseCard,
28
40
  ImpaktReleaseList
29
- } from "./chunk-OTOFULMT.js";
41
+ } from "./chunk-FLOKZ7O3.js";
30
42
  import {
31
43
  ImpaktEstimator,
32
44
  estimate,
33
45
  phaseWeeks
34
- } from "./chunk-AFN7IAG2.js";
46
+ } from "./chunk-OR4U4UJQ.js";
47
+ import {
48
+ ImpaktJourneyButton,
49
+ JOURNEY_STAGES
50
+ } from "./chunk-YMSFOS3H.js";
35
51
  import {
36
52
  ImpaktAnnouncement,
37
53
  ImpaktFeatureList,
@@ -39,7 +55,7 @@ import {
39
55
  ImpaktQuote,
40
56
  ImpaktSearchBar,
41
57
  ImpaktStat
42
- } from "./chunk-WHENVU5E.js";
58
+ } from "./chunk-HNCJLMQB.js";
43
59
  import {
44
60
  ImpaktCarousel,
45
61
  ImpaktCtaBanner,
@@ -50,7 +66,7 @@ import {
50
66
  ImpaktReviews,
51
67
  ImpaktSteps,
52
68
  gallerySpan
53
- } from "./chunk-4JW2CHWS.js";
69
+ } from "./chunk-NLHFBIGQ.js";
54
70
  import {
55
71
  ImpaktBeforeAfter,
56
72
  ImpaktLocationCard,
@@ -58,10 +74,7 @@ import {
58
74
  ImpaktSitePlan,
59
75
  ImpaktStickyBar,
60
76
  monthlyPayment
61
- } from "./chunk-T7U4OPTW.js";
62
- import {
63
- ImpaktScene
64
- } from "./chunk-PORKVHAX.js";
77
+ } from "./chunk-PALYJCLC.js";
65
78
 
66
79
  // packages/blocks/src/index.ts
67
80
  import "@atomic-ui/ui";
@@ -77,15 +90,20 @@ export {
77
90
  ImpaktContactBlock,
78
91
  ImpaktCtaBanner,
79
92
  ImpaktEstimator,
93
+ ImpaktFaq,
80
94
  ImpaktFeatureList,
81
95
  ImpaktGallery,
82
96
  ImpaktHero,
97
+ ImpaktHighlight,
98
+ ImpaktJourneyButton,
83
99
  ImpaktLocationCard,
84
100
  ImpaktLogoCloud,
85
101
  ImpaktMediaSplit,
86
102
  ImpaktMortgageCalculator,
87
103
  ImpaktNewsletter,
104
+ ImpaktOffer,
88
105
  ImpaktPlanComparison,
106
+ ImpaktPostCard,
89
107
  ImpaktQuote,
90
108
  ImpaktRegulatoryNotice,
91
109
  ImpaktReleaseCard,
@@ -96,13 +114,17 @@ export {
96
114
  ImpaktSearchBar,
97
115
  ImpaktSiteFooter,
98
116
  ImpaktSiteHeader,
117
+ ImpaktSiteMenu,
99
118
  ImpaktSitePlan,
100
119
  ImpaktStampDutyCalculator,
101
120
  ImpaktStat,
121
+ ImpaktStatRow,
102
122
  ImpaktSteps,
103
123
  ImpaktStickyBar,
104
124
  ImpaktVideo,
105
125
  ImpaktWordmark,
126
+ ImpaktWorkList,
127
+ JOURNEY_STAGES,
106
128
  SDLT,
107
129
  embedOf,
108
130
  estimate,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @atomic-ui/blocks — the section blocks Impakt sites are built from: marketing blocks,\n * property and selling tools, the site frame and the changelog blocks. Standard\n * custom elements in Lit, styled only from design tokens, built to WCAG 2.2 AA.\n *\n * Importing this module defines every block. It imports `@atomic-ui/ui` first,\n * which defines the product components the blocks draw inside themselves, such\n * as `impakt-button`, `impakt-nav` and `impakt-select`, and gives them their\n * base class, tokens and style fragments.\n */\nimport '@atomic-ui/ui';\n\nexport { ImpaktHero, ImpaktFeatureList, ImpaktQuote, ImpaktStat, ImpaktAnnouncement, ImpaktSearchBar, type FeatureItem, type SearchField } from './components/marketing';\nexport { ImpaktCardGrid, type CardItem } from './components/card-grid';\nexport { ImpaktCarousel, ImpaktGallery, ImpaktLogoCloud, ImpaktSteps, ImpaktMediaSplit, ImpaktCtaBanner, ImpaktReviews, ImpaktNewsletter, gallerySpan, type GalleryItem, type LogoItem, type StepItem, type ReviewItem } from './components/organisms';\nexport { ImpaktSitePlan, ImpaktMortgageCalculator, ImpaktBeforeAfter, ImpaktStickyBar, ImpaktLocationCard, monthlyPayment, type SitePlot, type NearbyItem } from './components/property';\nexport { ImpaktPlanComparison, ImpaktVideo, ImpaktRegulatoryNotice, ImpaktStampDutyCalculator, ImpaktAffordabilityCalculator, ImpaktContactBlock, stampDuty, embedOf, SDLT, type PlanItem, type PlanRow } from './components/selling';\nexport { ImpaktEstimator, estimate, phaseWeeks, type EstimatorQuestion, type EstimatorChoice, type EstimatorBand, type EstimatorPhase, type EstimateResult } from './components/estimator';\nexport { ImpaktSiteHeader, ImpaktSiteFooter, ImpaktWordmark, type FooterLogLine, type FooterColumn } from './components/site';\nexport { ImpaktScene, type SceneDrive, type SceneLayout } from './components/scene';\nexport { ImpaktScrubber, type ScrubberStop } from './components/scrubber';\nexport { ImpaktReleaseCard, ImpaktReleaseList, ImpaktBranchList, ImpaktCheckList, ImpaktBranchTimeline, type DiffLine, type ReleaseItem, type Branch, type CheckItem, type TimelineLane, type TimelineMark } from './components/changelog';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,OAAO;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @atomic-ui/blocks — the section blocks Impakt sites are built from: marketing blocks,\n * property and selling tools, the site frame and the changelog blocks. Standard\n * custom elements in Lit, styled only from design tokens, built to WCAG 2.2 AA.\n *\n * Importing this module defines every block. It imports `@atomic-ui/ui` first,\n * which defines the product components the blocks draw inside themselves, such\n * as `impakt-button`, `impakt-nav` and `impakt-select`, and gives them their\n * base class, tokens and style fragments.\n */\nimport '@atomic-ui/ui';\n\nexport {\n ImpaktHero,\n ImpaktFeatureList,\n ImpaktQuote,\n ImpaktStat,\n ImpaktAnnouncement,\n ImpaktSearchBar,\n type FeatureItem,\n type SearchField,\n} from './components/marketing';\nexport { ImpaktCardGrid, type CardItem } from './components/card-grid';\nexport { ImpaktJourneyButton, JOURNEY_STAGES, type JourneyStage } from './components/journey';\nexport {\n ImpaktWorkList,\n ImpaktStatRow,\n ImpaktFaq,\n ImpaktSiteMenu,\n ImpaktOffer,\n ImpaktPostCard,\n ImpaktHighlight,\n type WorkItem,\n type StatRowItem,\n type FaqItem,\n} from './components/studio';\nexport {\n ImpaktCarousel,\n ImpaktGallery,\n ImpaktLogoCloud,\n ImpaktSteps,\n ImpaktMediaSplit,\n ImpaktCtaBanner,\n ImpaktReviews,\n ImpaktNewsletter,\n gallerySpan,\n type GalleryItem,\n type LogoItem,\n type StepItem,\n type ReviewItem,\n} from './components/organisms';\nexport {\n ImpaktSitePlan,\n ImpaktMortgageCalculator,\n ImpaktBeforeAfter,\n ImpaktStickyBar,\n ImpaktLocationCard,\n monthlyPayment,\n type SitePlot,\n type NearbyItem,\n} from './components/property';\nexport {\n ImpaktPlanComparison,\n ImpaktVideo,\n ImpaktRegulatoryNotice,\n ImpaktStampDutyCalculator,\n ImpaktAffordabilityCalculator,\n ImpaktContactBlock,\n stampDuty,\n embedOf,\n SDLT,\n type PlanItem,\n type PlanRow,\n} from './components/selling';\nexport {\n ImpaktEstimator,\n estimate,\n phaseWeeks,\n type EstimatorQuestion,\n type EstimatorChoice,\n type EstimatorBand,\n type EstimatorPhase,\n type EstimateResult,\n} from './components/estimator';\nexport { ImpaktSiteHeader, ImpaktSiteFooter, ImpaktWordmark, type FooterLogLine, type FooterColumn } from './components/site';\nexport { ImpaktScene, type SceneDrive, type SceneLayout } from './components/scene';\nexport { ImpaktScrubber, type ScrubberStop } from './components/scrubber';\nexport {\n ImpaktReleaseCard,\n ImpaktReleaseList,\n ImpaktBranchList,\n ImpaktCheckList,\n ImpaktBranchTimeline,\n type DiffLine,\n type ReleaseItem,\n type Branch,\n type CheckItem,\n type TimelineLane,\n type TimelineMark,\n} from './components/changelog';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,OAAO;","names":[]}