@atomic-ui/ui-vue 0.3.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -10
- package/dist/blocks-components.d.ts +288 -0
- package/dist/blocks.d.ts +20 -0
- package/dist/blocks.js +131 -0
- package/dist/blocks.js.map +1 -0
- package/dist/chunk-WM4MLN2U.js +27 -0
- package/dist/chunk-WM4MLN2U.js.map +1 -0
- package/dist/components.d.ts +287 -562
- package/dist/index.d.ts +11 -8
- package/dist/index.js +160 -290
- package/dist/index.js.map +1 -1
- package/dist/wrap.d.ts +1 -1
- package/package.json +16 -5
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# @atomic-ui/ui-vue
|
|
2
2
|
|
|
3
|
-
Vue components for every `@atomic-ui/ui` custom element. Arrays and objects are bound as DOM properties, props and events are typed, and every component and tag is in Vue's `GlobalComponents`.
|
|
3
|
+
Vue components for every `@atomic-ui/ui` custom element, and for every `@atomic-ui/blocks` block in its `blocks` entry. Arrays and objects are bound as DOM properties, props and events are typed, and every component and tag is in Vue's `GlobalComponents`.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
pnpm add @atomic-ui/ui @atomic-ui/ui-vue
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
Tell Vue's compiler that tags starting with `
|
|
9
|
+
Tell Vue's compiler that tags starting with `impakt-` are custom elements, in `vite.config.ts`:
|
|
10
10
|
|
|
11
11
|
```ts
|
|
12
|
-
vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('
|
|
12
|
+
vue({ template: { compilerOptions: { isCustomElement: (tag) => tag.startsWith('impakt-') } } });
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Then import the components where they are used:
|
|
@@ -17,28 +17,49 @@ Then import the components where they are used:
|
|
|
17
17
|
```vue
|
|
18
18
|
<script setup lang="ts">
|
|
19
19
|
import { ref } from 'vue';
|
|
20
|
-
import {
|
|
20
|
+
import { ImpaktTable, ImpaktPagination, ImpaktTextInput } from '@atomic-ui/ui-vue';
|
|
21
21
|
|
|
22
22
|
const page = ref(1);
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
25
|
<template>
|
|
26
|
-
<
|
|
27
|
-
<
|
|
28
|
-
<
|
|
26
|
+
<ImpaktTextInput label="Search cases" type="search" @change="(e) => (query = e.detail.value)" />
|
|
27
|
+
<ImpaktTable caption="Open cases" :columns="columns" :rows="rows" stack selectable @sort="(e) => sortBy(e.detail)" />
|
|
28
|
+
<ImpaktPagination :page="page" :pages="9" @page="(e) => (page = e.detail.page)" />
|
|
29
29
|
</template>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Or register them all once with `app.use(AtomicUI)`, and write `<
|
|
32
|
+
Or register them all once with `app.use(AtomicUI)`, and write `<ImpaktTable>` anywhere.
|
|
33
33
|
|
|
34
34
|
Importing this package defines the elements, so nothing else needs importing first.
|
|
35
35
|
|
|
36
|
+
## The blocks
|
|
37
|
+
|
|
38
|
+
The section blocks Impakt sites are built from are in `@atomic-ui/blocks`, and their components are in this package's `blocks` entry. An app that uses them installs that package too:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
pnpm add @atomic-ui/ui @atomic-ui/blocks @atomic-ui/ui-vue
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
```vue
|
|
45
|
+
<script setup lang="ts">
|
|
46
|
+
import { ImpaktHero, ImpaktCardGrid } from '@atomic-ui/ui-vue/blocks';
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<template>
|
|
50
|
+
<ImpaktHero heading="Homes made for the way you live" />
|
|
51
|
+
<ImpaktCardGrid :items="developments" columns="three" />
|
|
52
|
+
</template>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
`app.use(AtomicUIBlocks)` registers every block, and every block and its tag is in `GlobalComponents`. They are generated from `@atomic-ui/blocks`'s manifest by the same script and named the same way. The main entry and `AtomicUI` hold the product components only, so an app that uses no blocks never loads them. `@atomic-ui/blocks` is an optional peer dependency.
|
|
56
|
+
|
|
36
57
|
## Names
|
|
37
58
|
|
|
38
|
-
Each component is named after the element's class, so `
|
|
59
|
+
Each component is named after the element's class, so `impakt-table` is `ImpaktTable`. Each `impakt-` event is an emit without the prefix: `impakt-change` is `@change`, `impakt-sort` is `@sort` and `impakt-close` is `@close`, and the handler receives the event with its typed `detail`.
|
|
39
60
|
|
|
40
61
|
The components are generated from the component manifest when the package builds, by `scripts/generate.mjs`, so they always match the elements. The components 0.2.0 had keep their names, property bindings and emits.
|
|
41
62
|
|
|
42
63
|
## Writing the tags
|
|
43
64
|
|
|
44
|
-
A template can also write the tags, such as `<
|
|
65
|
+
A template can also write the tags, such as `<impakt-table :columns="columns" @impakt-sort="sortBy">`. They are typed through `GlobalComponents` as well. Bind arrays and objects with `:` as usual; Vue sets them as properties on a custom element.
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import type { Plugin } from 'vue';
|
|
2
|
+
import type { ImpaktAffordabilityCalculator as ImpaktAffordabilityCalculatorElement, ImpaktAnnouncement as ImpaktAnnouncementElement, ImpaktBeforeAfter as ImpaktBeforeAfterElement, ImpaktBranchList as ImpaktBranchListElement, ImpaktBranchTimeline as ImpaktBranchTimelineElement, ImpaktCardGrid as ImpaktCardGridElement, ImpaktCarousel as ImpaktCarouselElement, ImpaktCheckList as ImpaktCheckListElement, ImpaktContactBlock as ImpaktContactBlockElement, ImpaktCtaBanner as ImpaktCtaBannerElement, ImpaktEstimator as ImpaktEstimatorElement, ImpaktFeatureList as ImpaktFeatureListElement, ImpaktGallery as ImpaktGalleryElement, ImpaktHero as ImpaktHeroElement, ImpaktLocationCard as ImpaktLocationCardElement, ImpaktLogoCloud as ImpaktLogoCloudElement, ImpaktMediaSplit as ImpaktMediaSplitElement, ImpaktMortgageCalculator as ImpaktMortgageCalculatorElement, ImpaktNewsletter as ImpaktNewsletterElement, ImpaktPlanComparison as ImpaktPlanComparisonElement, ImpaktQuote as ImpaktQuoteElement, ImpaktRegulatoryNotice as ImpaktRegulatoryNoticeElement, ImpaktReleaseCard as ImpaktReleaseCardElement, ImpaktReleaseList as ImpaktReleaseListElement, ImpaktReviews as ImpaktReviewsElement, ImpaktScene as ImpaktSceneElement, ImpaktScrubber as ImpaktScrubberElement, ImpaktSearchBar as ImpaktSearchBarElement, ImpaktSiteFooter as ImpaktSiteFooterElement, ImpaktSiteHeader as ImpaktSiteHeaderElement, ImpaktSitePlan as ImpaktSitePlanElement, ImpaktStampDutyCalculator as ImpaktStampDutyCalculatorElement, ImpaktStat as ImpaktStatElement, ImpaktSteps as ImpaktStepsElement, ImpaktStickyBar as ImpaktStickyBarElement, ImpaktVideo as ImpaktVideoElement, ImpaktWordmark as ImpaktWordmarkElement } from '@atomic-ui/blocks';
|
|
3
|
+
import type { EstimateResult, PlanItem, SitePlot } from '@atomic-ui/blocks';
|
|
4
|
+
import { type ImpaktComponent } from './wrap';
|
|
5
|
+
/** `<impakt-affordability-calculator>` */
|
|
6
|
+
export declare const ImpaktAffordabilityCalculator: ImpaktComponent<ImpaktAffordabilityCalculatorElement, "heading" | "income" | "secondIncome" | "deposit" | "timesIncome" | "smallPrint" | "headingLevel" | "spaceAbove" | "spaceBelow", "second-income" | "times-income" | "small-print" | "heading-level" | "space-above" | "space-below", {}>;
|
|
7
|
+
/** `<impakt-announcement>` */
|
|
8
|
+
export declare const ImpaktAnnouncement: ImpaktComponent<ImpaktAnnouncementElement, "message" | "linkText" | "href", "link-text", {}>;
|
|
9
|
+
/** `<impakt-before-after>` */
|
|
10
|
+
export declare const ImpaktBeforeAfter: ImpaktComponent<ImpaktBeforeAfterElement, "beforeSrc" | "beforeAlt" | "afterSrc" | "afterAlt" | "beforeLabel" | "afterLabel" | "label" | "position" | "spaceAbove" | "spaceBelow", "before-src" | "before-alt" | "after-src" | "after-alt" | "before-label" | "after-label" | "space-above" | "space-below", {}>;
|
|
11
|
+
/** `<impakt-branch-list>` */
|
|
12
|
+
export declare const ImpaktBranchList: ImpaktComponent<ImpaktBranchListElement, "items" | "trunk" | "headingLevel" | "spaceAbove" | "spaceBelow", "heading-level" | "space-above" | "space-below", {}>;
|
|
13
|
+
/** `<impakt-branch-timeline>` */
|
|
14
|
+
export declare const ImpaktBranchTimeline: ImpaktComponent<ImpaktBranchTimelineElement, "lanes" | "marks" | "span" | "unit" | "every" | "release" | "releaseAt" | "label" | "spaceAbove" | "spaceBelow", "release-at" | "space-above" | "space-below", {}>;
|
|
15
|
+
/** `<impakt-card-grid>` */
|
|
16
|
+
export declare const ImpaktCardGrid: ImpaktComponent<ImpaktCardGridElement, "items" | "columns" | "headingLevel" | "ratio" | "spaceAbove" | "spaceBelow", "heading-level" | "space-above" | "space-below", {}>;
|
|
17
|
+
/** `<impakt-carousel>` */
|
|
18
|
+
export declare const ImpaktCarousel: ImpaktComponent<ImpaktCarouselElement, "label" | "perView" | "arrows" | "autoplay" | "seconds" | "spaceAbove" | "spaceBelow", "per-view" | "space-above" | "space-below", {}>;
|
|
19
|
+
/** `<impakt-check-list>` */
|
|
20
|
+
export declare const ImpaktCheckList: ImpaktComponent<ImpaktCheckListElement, "items" | "summary" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
21
|
+
/** `<impakt-contact-block>` */
|
|
22
|
+
export declare const ImpaktContactBlock: ImpaktComponent<ImpaktContactBlockElement, "heading" | "phone" | "hours" | "email" | "callbackHeading" | "buttonText" | "doneText" | "headingLevel" | "spaceAbove" | "spaceBelow", "callback-heading" | "button-text" | "done-text" | "heading-level" | "space-above" | "space-below", {
|
|
23
|
+
"submit": CustomEvent<{
|
|
24
|
+
name: string;
|
|
25
|
+
phone: string;
|
|
26
|
+
when: string;
|
|
27
|
+
}>;
|
|
28
|
+
}>;
|
|
29
|
+
/** `<impakt-cta-banner>` */
|
|
30
|
+
export declare const ImpaktCtaBanner: ImpaktComponent<ImpaktCtaBannerElement, "heading" | "lead" | "tone" | "align" | "imageSrc" | "imageAlt" | "headingLevel" | "spaceAbove" | "spaceBelow", "image-src" | "image-alt" | "heading-level" | "space-above" | "space-below", {}>;
|
|
31
|
+
/** `<impakt-estimator>` */
|
|
32
|
+
export declare const ImpaktEstimator: ImpaktComponent<ImpaktEstimatorElement, "questions" | "teams" | "ways" | "phases" | "low" | "high" | "minWeeks" | "currency" | "unit" | "intro" | "budgetLabel" | "resultHeading" | "teamText" | "teamTextOne" | "note" | "contactHref" | "sendLabel" | "headingLevel" | "spaceAbove" | "spaceBelow", "min-weeks" | "budget-label" | "result-heading" | "team-text" | "team-text-one" | "contact-href" | "send-label" | "heading-level" | "space-above" | "space-below", {
|
|
33
|
+
"estimate": CustomEvent<EstimateResult>;
|
|
34
|
+
}>;
|
|
35
|
+
/** `<impakt-feature-list>` */
|
|
36
|
+
export declare const ImpaktFeatureList: ImpaktComponent<ImpaktFeatureListElement, "items" | "columns" | "headingLevel" | "layout" | "spaceAbove" | "spaceBelow", "heading-level" | "space-above" | "space-below", {}>;
|
|
37
|
+
/** `<impakt-gallery>` */
|
|
38
|
+
export declare const ImpaktGallery: ImpaktComponent<ImpaktGalleryElement, "items" | "layout" | "label" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
39
|
+
/** `<impakt-hero>` */
|
|
40
|
+
export declare const ImpaktHero: ImpaktComponent<ImpaktHeroElement, "eyebrow" | "heading" | "lead" | "level" | "imageSrc" | "imageAlt" | "treatment" | "ratingText" | "eyebrowIcon" | "align" | "spaceAbove" | "spaceBelow", "image-src" | "image-alt" | "rating-text" | "eyebrow-icon" | "space-above" | "space-below", {}>;
|
|
41
|
+
/** `<impakt-location-card>` */
|
|
42
|
+
export declare const ImpaktLocationCard: ImpaktComponent<ImpaktLocationCardElement, "heading" | "address" | "hours" | "phone" | "mapSrc" | "mapAlt" | "directionsText" | "directionsHref" | "nearby" | "headingLevel" | "spaceAbove" | "spaceBelow", "map-src" | "map-alt" | "directions-text" | "directions-href" | "heading-level" | "space-above" | "space-below", {}>;
|
|
43
|
+
/** `<impakt-logo-cloud>` */
|
|
44
|
+
export declare const ImpaktLogoCloud: ImpaktComponent<ImpaktLogoCloudElement, "heading" | "items" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
45
|
+
/** `<impakt-media-split>` */
|
|
46
|
+
export declare const ImpaktMediaSplit: ImpaktComponent<ImpaktMediaSplitElement, "eyebrow" | "heading" | "lead" | "points" | "level" | "imageSrc" | "imageAlt" | "insetSrc" | "insetAlt" | "imageSide" | "ratio" | "spaceAbove" | "spaceBelow", "image-src" | "image-alt" | "inset-src" | "inset-alt" | "image-side" | "space-above" | "space-below", {}>;
|
|
47
|
+
/** `<impakt-mortgage-calculator>` */
|
|
48
|
+
export declare const ImpaktMortgageCalculator: ImpaktComponent<ImpaktMortgageCalculatorElement, "heading" | "price" | "depositPercent" | "rate" | "years" | "currency" | "smallPrint" | "headingLevel" | "spaceAbove" | "spaceBelow", "deposit-percent" | "small-print" | "heading-level" | "space-above" | "space-below", {}>;
|
|
49
|
+
/** `<impakt-newsletter>` */
|
|
50
|
+
export declare const ImpaktNewsletter: ImpaktComponent<ImpaktNewsletterElement, "heading" | "lead" | "label" | "buttonText" | "smallPrint" | "doneText" | "headingLevel" | "spaceAbove" | "spaceBelow", "button-text" | "small-print" | "done-text" | "heading-level" | "space-above" | "space-below", {
|
|
51
|
+
"submit": CustomEvent<{
|
|
52
|
+
email: string;
|
|
53
|
+
}>;
|
|
54
|
+
}>;
|
|
55
|
+
/** `<impakt-plan-comparison>` */
|
|
56
|
+
export declare const ImpaktPlanComparison: ImpaktComponent<ImpaktPlanComparisonElement, "heading" | "plans" | "rows" | "buttonText" | "headingLevel" | "spaceAbove" | "spaceBelow", "button-text" | "heading-level" | "space-above" | "space-below", {
|
|
57
|
+
"select": CustomEvent<{
|
|
58
|
+
plan: PlanItem;
|
|
59
|
+
}>;
|
|
60
|
+
}>;
|
|
61
|
+
/** `<impakt-quote>` */
|
|
62
|
+
export declare const ImpaktQuote: ImpaktComponent<ImpaktQuoteElement, "quote" | "person" | "about" | "imageSrc" | "size" | "align" | "spaceAbove" | "spaceBelow", "image-src" | "space-above" | "space-below", {}>;
|
|
63
|
+
/** `<impakt-regulatory-notice>` */
|
|
64
|
+
export declare const ImpaktRegulatoryNotice: ImpaktComponent<ImpaktRegulatoryNoticeElement, "kind" | "heading" | "text" | "firm" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
65
|
+
/** `<impakt-release-card>` */
|
|
66
|
+
export declare const ImpaktReleaseCard: ImpaktComponent<ImpaktReleaseCardElement, "label" | "heading" | "text" | "beforeSrc" | "beforeAlt" | "afterSrc" | "afterAlt" | "items" | "href" | "headingLevel" | "spaceAbove" | "spaceBelow", "before-src" | "before-alt" | "after-src" | "after-alt" | "heading-level" | "space-above" | "space-below", {}>;
|
|
67
|
+
/** `<impakt-release-list>` */
|
|
68
|
+
export declare const ImpaktReleaseList: ImpaktComponent<ImpaktReleaseListElement, "items" | "columns" | "headingLevel" | "spaceAbove" | "spaceBelow", "heading-level" | "space-above" | "space-below", {}>;
|
|
69
|
+
/** `<impakt-reviews>` */
|
|
70
|
+
export declare const ImpaktReviews: ImpaktComponent<ImpaktReviewsElement, "summary" | "rating" | "items" | "columns" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
71
|
+
/** `<impakt-scene>` */
|
|
72
|
+
export declare const ImpaktScene: ImpaktComponent<ImpaktSceneElement, "drive" | "layout" | "length" | "duration" | "label" | "progress" | "controls" | "bleed" | "hideOn", "hide-on", {
|
|
73
|
+
"scene-progress": CustomEvent<{
|
|
74
|
+
progress: number;
|
|
75
|
+
}>;
|
|
76
|
+
}>;
|
|
77
|
+
/** `<impakt-scrubber>` */
|
|
78
|
+
export declare const ImpaktScrubber: ImpaktComponent<ImpaktScrubberElement, "label" | "stops" | "look" | "hint" | "value", never, {}>;
|
|
79
|
+
/** `<impakt-search-bar>` */
|
|
80
|
+
export declare const ImpaktSearchBar: ImpaktComponent<ImpaktSearchBarElement, "items" | "buttonText" | "action" | "label" | "spaceAbove" | "spaceBelow", "button-text" | "space-above" | "space-below", {
|
|
81
|
+
"submit": CustomEvent<{
|
|
82
|
+
values: Record<string, string>;
|
|
83
|
+
}>;
|
|
84
|
+
}>;
|
|
85
|
+
/** `<impakt-site-footer>` */
|
|
86
|
+
export declare const ImpaktSiteFooter: ImpaktComponent<ImpaktSiteFooterElement, "brand" | "log" | "columns" | "columnsOnPhone" | "legal" | "stripe" | "headingLevel", "columns-on-phone" | "heading-level", {}>;
|
|
87
|
+
/** `<impakt-site-header>` */
|
|
88
|
+
export declare const ImpaktSiteHeader: ImpaktComponent<ImpaktSiteHeaderElement, "brand" | "logoSrc" | "logoAlt" | "home" | "badge" | "meta" | "links" | "label" | "menuText" | "status" | "statusMeta" | "statusTone" | "actionText" | "actionHref", "logo-src" | "logo-alt" | "menu-text" | "status-meta" | "status-tone" | "action-text" | "action-href", {
|
|
89
|
+
"action": CustomEvent<null>;
|
|
90
|
+
}>;
|
|
91
|
+
/** `<impakt-site-plan>` */
|
|
92
|
+
export declare const ImpaktSitePlan: ImpaktComponent<ImpaktSitePlanElement, "imageSrc" | "imageAlt" | "plots" | "selectedPlot" | "panel" | "hint" | "plotWord" | "actionText" | "availableText" | "reservedText" | "soldText" | "spaceAbove" | "spaceBelow", "image-src" | "image-alt" | "selected-plot" | "plot-word" | "action-text" | "available-text" | "reserved-text" | "sold-text" | "space-above" | "space-below", {
|
|
93
|
+
"select": CustomEvent<{
|
|
94
|
+
plot: SitePlot;
|
|
95
|
+
}>;
|
|
96
|
+
}>;
|
|
97
|
+
/** `<impakt-stamp-duty-calculator>` */
|
|
98
|
+
export declare const ImpaktStampDutyCalculator: ImpaktComponent<ImpaktStampDutyCalculatorElement, "heading" | "price" | "buyer" | "smallPrint" | "headingLevel" | "spaceAbove" | "spaceBelow", "small-print" | "heading-level" | "space-above" | "space-below", {}>;
|
|
99
|
+
/** `<impakt-stat>` */
|
|
100
|
+
export declare const ImpaktStat: ImpaktComponent<ImpaktStatElement, "size" | "figure" | "label" | "note" | "align", never, {}>;
|
|
101
|
+
/** `<impakt-steps>` */
|
|
102
|
+
export declare const ImpaktSteps: ImpaktComponent<ImpaktStepsElement, "items" | "orientation" | "look" | "headingLevel" | "spaceAbove" | "spaceBelow", "heading-level" | "space-above" | "space-below", {}>;
|
|
103
|
+
/** `<impakt-sticky-bar>` */
|
|
104
|
+
export declare const ImpaktStickyBar: ImpaktComponent<ImpaktStickyBarElement, "label" | "heading" | "lead" | "showOn" | "revealAfter", "show-on" | "reveal-after", {}>;
|
|
105
|
+
/** `<impakt-video>` */
|
|
106
|
+
export declare const ImpaktVideo: ImpaktComponent<ImpaktVideoElement, "videoSrc" | "label" | "posterSrc" | "captionsSrc" | "transcriptHref" | "playText" | "ratio" | "spaceAbove" | "spaceBelow", "video-src" | "poster-src" | "captions-src" | "transcript-href" | "play-text" | "space-above" | "space-below", {}>;
|
|
107
|
+
/** `<impakt-wordmark>` */
|
|
108
|
+
export declare const ImpaktWordmark: ImpaktComponent<ImpaktWordmarkElement, "text" | "src" | "alt" | "href" | "size" | "hideOn", "hide-on", {}>;
|
|
109
|
+
/** Every component, by name, for `app.use(AtomicUIBlocks)`. */
|
|
110
|
+
export declare const BLOCK_COMPONENTS: {
|
|
111
|
+
readonly ImpaktAffordabilityCalculator: ImpaktComponent<ImpaktAffordabilityCalculatorElement, "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "income" | "secondIncome" | "deposit" | "timesIncome" | "smallPrint", "heading-level" | "space-above" | "space-below" | "second-income" | "times-income" | "small-print", {}>;
|
|
112
|
+
readonly ImpaktAnnouncement: ImpaktComponent<ImpaktAnnouncementElement, "href" | "message" | "linkText", "link-text", {}>;
|
|
113
|
+
readonly ImpaktBeforeAfter: ImpaktComponent<ImpaktBeforeAfterElement, "label" | "spaceAbove" | "spaceBelow" | "beforeSrc" | "beforeAlt" | "afterSrc" | "afterAlt" | "beforeLabel" | "afterLabel" | "position", "space-above" | "space-below" | "before-src" | "before-alt" | "after-src" | "after-alt" | "before-label" | "after-label", {}>;
|
|
114
|
+
readonly ImpaktBranchList: ImpaktComponent<ImpaktBranchListElement, "items" | "headingLevel" | "spaceAbove" | "spaceBelow" | "trunk", "heading-level" | "space-above" | "space-below", {}>;
|
|
115
|
+
readonly ImpaktBranchTimeline: ImpaktComponent<ImpaktBranchTimelineElement, "every" | "label" | "span" | "spaceAbove" | "spaceBelow" | "unit" | "lanes" | "marks" | "release" | "releaseAt", "space-above" | "space-below" | "release-at", {}>;
|
|
116
|
+
readonly ImpaktCardGrid: ImpaktComponent<ImpaktCardGridElement, "items" | "headingLevel" | "ratio" | "spaceAbove" | "spaceBelow" | "columns", "heading-level" | "space-above" | "space-below", {}>;
|
|
117
|
+
readonly ImpaktCarousel: ImpaktComponent<ImpaktCarouselElement, "label" | "spaceAbove" | "spaceBelow" | "perView" | "arrows" | "autoplay" | "seconds", "space-above" | "space-below" | "per-view", {}>;
|
|
118
|
+
readonly ImpaktCheckList: ImpaktComponent<ImpaktCheckListElement, "summary" | "items" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
119
|
+
readonly ImpaktContactBlock: ImpaktComponent<ImpaktContactBlockElement, "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "phone" | "email" | "hours" | "callbackHeading" | "buttonText" | "doneText", "heading-level" | "space-above" | "space-below" | "callback-heading" | "button-text" | "done-text", {
|
|
120
|
+
submit: CustomEvent<{
|
|
121
|
+
name: string;
|
|
122
|
+
phone: string;
|
|
123
|
+
when: string;
|
|
124
|
+
}>;
|
|
125
|
+
}>;
|
|
126
|
+
readonly ImpaktCtaBanner: ImpaktComponent<ImpaktCtaBannerElement, "headingLevel" | "tone" | "heading" | "imageSrc" | "imageAlt" | "spaceAbove" | "spaceBelow" | "lead" | "align", "heading-level" | "image-src" | "image-alt" | "space-above" | "space-below", {}>;
|
|
127
|
+
readonly ImpaktEstimator: ImpaktComponent<ImpaktEstimatorElement, "headingLevel" | "spaceAbove" | "spaceBelow" | "currency" | "unit" | "questions" | "teams" | "ways" | "phases" | "low" | "high" | "minWeeks" | "intro" | "budgetLabel" | "resultHeading" | "teamText" | "teamTextOne" | "note" | "contactHref" | "sendLabel", "heading-level" | "space-above" | "space-below" | "min-weeks" | "budget-label" | "result-heading" | "team-text" | "team-text-one" | "contact-href" | "send-label", {
|
|
128
|
+
estimate: CustomEvent<EstimateResult>;
|
|
129
|
+
}>;
|
|
130
|
+
readonly ImpaktFeatureList: ImpaktComponent<ImpaktFeatureListElement, "items" | "headingLevel" | "spaceAbove" | "spaceBelow" | "columns" | "layout", "heading-level" | "space-above" | "space-below", {}>;
|
|
131
|
+
readonly ImpaktGallery: ImpaktComponent<ImpaktGalleryElement, "label" | "items" | "spaceAbove" | "spaceBelow" | "layout", "space-above" | "space-below", {}>;
|
|
132
|
+
readonly ImpaktHero: ImpaktComponent<ImpaktHeroElement, "heading" | "imageSrc" | "imageAlt" | "spaceAbove" | "spaceBelow" | "lead" | "align" | "level" | "eyebrow" | "treatment" | "ratingText" | "eyebrowIcon", "image-src" | "image-alt" | "space-above" | "space-below" | "rating-text" | "eyebrow-icon", {}>;
|
|
133
|
+
readonly ImpaktLocationCard: ImpaktComponent<ImpaktLocationCardElement, "address" | "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "phone" | "hours" | "mapSrc" | "mapAlt" | "directionsText" | "directionsHref" | "nearby", "heading-level" | "space-above" | "space-below" | "map-src" | "map-alt" | "directions-text" | "directions-href", {}>;
|
|
134
|
+
readonly ImpaktLogoCloud: ImpaktComponent<ImpaktLogoCloudElement, "items" | "heading" | "spaceAbove" | "spaceBelow", "space-above" | "space-below", {}>;
|
|
135
|
+
readonly ImpaktMediaSplit: ImpaktComponent<ImpaktMediaSplitElement, "heading" | "imageSrc" | "imageAlt" | "ratio" | "spaceAbove" | "spaceBelow" | "lead" | "level" | "eyebrow" | "points" | "insetSrc" | "insetAlt" | "imageSide", "image-src" | "image-alt" | "space-above" | "space-below" | "inset-src" | "inset-alt" | "image-side", {}>;
|
|
136
|
+
readonly ImpaktMortgageCalculator: ImpaktComponent<ImpaktMortgageCalculatorElement, "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "currency" | "smallPrint" | "price" | "depositPercent" | "rate" | "years", "heading-level" | "space-above" | "space-below" | "small-print" | "deposit-percent", {}>;
|
|
137
|
+
readonly ImpaktNewsletter: ImpaktComponent<ImpaktNewsletterElement, "label" | "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "lead" | "smallPrint" | "buttonText" | "doneText", "heading-level" | "space-above" | "space-below" | "small-print" | "button-text" | "done-text", {
|
|
138
|
+
submit: CustomEvent<{
|
|
139
|
+
email: string;
|
|
140
|
+
}>;
|
|
141
|
+
}>;
|
|
142
|
+
readonly ImpaktPlanComparison: ImpaktComponent<ImpaktPlanComparisonElement, "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "rows" | "buttonText" | "plans", "heading-level" | "space-above" | "space-below" | "button-text", {
|
|
143
|
+
select: CustomEvent<{
|
|
144
|
+
plan: PlanItem;
|
|
145
|
+
}>;
|
|
146
|
+
}>;
|
|
147
|
+
readonly ImpaktQuote: ImpaktComponent<ImpaktQuoteElement, "size" | "imageSrc" | "spaceAbove" | "spaceBelow" | "align" | "quote" | "person" | "about", "image-src" | "space-above" | "space-below", {}>;
|
|
148
|
+
readonly ImpaktRegulatoryNotice: ImpaktComponent<ImpaktRegulatoryNoticeElement, "heading" | "spaceAbove" | "spaceBelow" | "kind" | "text" | "firm", "space-above" | "space-below", {}>;
|
|
149
|
+
readonly ImpaktReleaseCard: ImpaktComponent<ImpaktReleaseCardElement, "label" | "items" | "headingLevel" | "heading" | "href" | "spaceAbove" | "spaceBelow" | "beforeSrc" | "beforeAlt" | "afterSrc" | "afterAlt" | "text", "heading-level" | "space-above" | "space-below" | "before-src" | "before-alt" | "after-src" | "after-alt", {}>;
|
|
150
|
+
readonly ImpaktReleaseList: ImpaktComponent<ImpaktReleaseListElement, "items" | "headingLevel" | "spaceAbove" | "spaceBelow" | "columns", "heading-level" | "space-above" | "space-below", {}>;
|
|
151
|
+
readonly ImpaktReviews: ImpaktComponent<ImpaktReviewsElement, "summary" | "items" | "spaceAbove" | "spaceBelow" | "columns" | "rating", "space-above" | "space-below", {}>;
|
|
152
|
+
readonly ImpaktScene: ImpaktComponent<ImpaktSceneElement, "length" | "progress" | "label" | "hideOn" | "bleed" | "duration" | "layout" | "drive" | "controls", "hide-on", {
|
|
153
|
+
'scene-progress': CustomEvent<{
|
|
154
|
+
progress: number;
|
|
155
|
+
}>;
|
|
156
|
+
}>;
|
|
157
|
+
readonly ImpaktScrubber: ImpaktComponent<ImpaktScrubberElement, "label" | "value" | "look" | "stops" | "hint", never, {}>;
|
|
158
|
+
readonly ImpaktSearchBar: ImpaktComponent<ImpaktSearchBarElement, "label" | "items" | "spaceAbove" | "spaceBelow" | "action" | "buttonText", "space-above" | "space-below" | "button-text", {
|
|
159
|
+
submit: CustomEvent<{
|
|
160
|
+
values: Record<string, string>;
|
|
161
|
+
}>;
|
|
162
|
+
}>;
|
|
163
|
+
readonly ImpaktSiteFooter: ImpaktComponent<ImpaktSiteFooterElement, "headingLevel" | "columns" | "brand" | "log" | "columnsOnPhone" | "legal" | "stripe", "heading-level" | "columns-on-phone", {}>;
|
|
164
|
+
readonly ImpaktSiteHeader: ImpaktComponent<ImpaktSiteHeaderElement, "label" | "meta" | "badge" | "links" | "menuText" | "actionText" | "home" | "brand" | "logoSrc" | "logoAlt" | "status" | "statusMeta" | "statusTone" | "actionHref", "menu-text" | "action-text" | "logo-src" | "logo-alt" | "status-meta" | "status-tone" | "action-href", {
|
|
165
|
+
action: CustomEvent<null>;
|
|
166
|
+
}>;
|
|
167
|
+
readonly ImpaktSitePlan: ImpaktComponent<ImpaktSitePlanElement, "imageSrc" | "imageAlt" | "spaceAbove" | "spaceBelow" | "actionText" | "hint" | "plots" | "selectedPlot" | "panel" | "plotWord" | "availableText" | "reservedText" | "soldText", "image-src" | "image-alt" | "space-above" | "space-below" | "action-text" | "selected-plot" | "plot-word" | "available-text" | "reserved-text" | "sold-text", {
|
|
168
|
+
select: CustomEvent<{
|
|
169
|
+
plot: SitePlot;
|
|
170
|
+
}>;
|
|
171
|
+
}>;
|
|
172
|
+
readonly ImpaktStampDutyCalculator: ImpaktComponent<ImpaktStampDutyCalculatorElement, "headingLevel" | "heading" | "spaceAbove" | "spaceBelow" | "smallPrint" | "price" | "buyer", "heading-level" | "space-above" | "space-below" | "small-print", {}>;
|
|
173
|
+
readonly ImpaktStat: ImpaktComponent<ImpaktStatElement, "figure" | "label" | "size" | "align" | "note", never, {}>;
|
|
174
|
+
readonly ImpaktSteps: ImpaktComponent<ImpaktStepsElement, "items" | "headingLevel" | "spaceAbove" | "spaceBelow" | "look" | "orientation", "heading-level" | "space-above" | "space-below", {}>;
|
|
175
|
+
readonly ImpaktStickyBar: ImpaktComponent<ImpaktStickyBarElement, "label" | "heading" | "lead" | "showOn" | "revealAfter", "show-on" | "reveal-after", {}>;
|
|
176
|
+
readonly ImpaktVideo: ImpaktComponent<ImpaktVideoElement, "label" | "ratio" | "spaceAbove" | "spaceBelow" | "videoSrc" | "posterSrc" | "captionsSrc" | "transcriptHref" | "playText", "space-above" | "space-below" | "video-src" | "poster-src" | "captions-src" | "transcript-href" | "play-text", {}>;
|
|
177
|
+
readonly ImpaktWordmark: ImpaktComponent<ImpaktWordmarkElement, "size" | "src" | "hideOn" | "href" | "alt" | "text", "hide-on", {}>;
|
|
178
|
+
};
|
|
179
|
+
/** Registers every block globally, so a template can write `<ImpaktHero>` or `<impakt-hero>` without importing it. */
|
|
180
|
+
export declare const AtomicUIBlocks: Plugin;
|
|
181
|
+
declare module 'vue' {
|
|
182
|
+
interface GlobalComponents {
|
|
183
|
+
ImpaktAffordabilityCalculator: typeof ImpaktAffordabilityCalculator;
|
|
184
|
+
ImpaktAnnouncement: typeof ImpaktAnnouncement;
|
|
185
|
+
ImpaktBeforeAfter: typeof ImpaktBeforeAfter;
|
|
186
|
+
ImpaktBranchList: typeof ImpaktBranchList;
|
|
187
|
+
ImpaktBranchTimeline: typeof ImpaktBranchTimeline;
|
|
188
|
+
ImpaktCardGrid: typeof ImpaktCardGrid;
|
|
189
|
+
ImpaktCarousel: typeof ImpaktCarousel;
|
|
190
|
+
ImpaktCheckList: typeof ImpaktCheckList;
|
|
191
|
+
ImpaktContactBlock: typeof ImpaktContactBlock;
|
|
192
|
+
ImpaktCtaBanner: typeof ImpaktCtaBanner;
|
|
193
|
+
ImpaktEstimator: typeof ImpaktEstimator;
|
|
194
|
+
ImpaktFeatureList: typeof ImpaktFeatureList;
|
|
195
|
+
ImpaktGallery: typeof ImpaktGallery;
|
|
196
|
+
ImpaktHero: typeof ImpaktHero;
|
|
197
|
+
ImpaktLocationCard: typeof ImpaktLocationCard;
|
|
198
|
+
ImpaktLogoCloud: typeof ImpaktLogoCloud;
|
|
199
|
+
ImpaktMediaSplit: typeof ImpaktMediaSplit;
|
|
200
|
+
ImpaktMortgageCalculator: typeof ImpaktMortgageCalculator;
|
|
201
|
+
ImpaktNewsletter: typeof ImpaktNewsletter;
|
|
202
|
+
ImpaktPlanComparison: typeof ImpaktPlanComparison;
|
|
203
|
+
ImpaktQuote: typeof ImpaktQuote;
|
|
204
|
+
ImpaktRegulatoryNotice: typeof ImpaktRegulatoryNotice;
|
|
205
|
+
ImpaktReleaseCard: typeof ImpaktReleaseCard;
|
|
206
|
+
ImpaktReleaseList: typeof ImpaktReleaseList;
|
|
207
|
+
ImpaktReviews: typeof ImpaktReviews;
|
|
208
|
+
ImpaktScene: typeof ImpaktScene;
|
|
209
|
+
ImpaktScrubber: typeof ImpaktScrubber;
|
|
210
|
+
ImpaktSearchBar: typeof ImpaktSearchBar;
|
|
211
|
+
ImpaktSiteFooter: typeof ImpaktSiteFooter;
|
|
212
|
+
ImpaktSiteHeader: typeof ImpaktSiteHeader;
|
|
213
|
+
ImpaktSitePlan: typeof ImpaktSitePlan;
|
|
214
|
+
ImpaktStampDutyCalculator: typeof ImpaktStampDutyCalculator;
|
|
215
|
+
ImpaktStat: typeof ImpaktStat;
|
|
216
|
+
ImpaktSteps: typeof ImpaktSteps;
|
|
217
|
+
ImpaktStickyBar: typeof ImpaktStickyBar;
|
|
218
|
+
ImpaktVideo: typeof ImpaktVideo;
|
|
219
|
+
ImpaktWordmark: typeof ImpaktWordmark;
|
|
220
|
+
'impakt-affordability-calculator': ImpaktComponent<ImpaktAffordabilityCalculatorElement, 'heading' | 'income' | 'secondIncome' | 'deposit' | 'timesIncome' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'second-income' | 'times-income' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
221
|
+
'impakt-announcement': ImpaktComponent<ImpaktAnnouncementElement, 'message' | 'linkText' | 'href', 'link-text', {}>;
|
|
222
|
+
'impakt-before-after': ImpaktComponent<ImpaktBeforeAfterElement, 'beforeSrc' | 'beforeAlt' | 'afterSrc' | 'afterAlt' | 'beforeLabel' | 'afterLabel' | 'label' | 'position' | 'spaceAbove' | 'spaceBelow', 'before-src' | 'before-alt' | 'after-src' | 'after-alt' | 'before-label' | 'after-label' | 'space-above' | 'space-below', {}>;
|
|
223
|
+
'impakt-branch-list': ImpaktComponent<ImpaktBranchListElement, 'items' | 'trunk' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
224
|
+
'impakt-branch-timeline': ImpaktComponent<ImpaktBranchTimelineElement, 'lanes' | 'marks' | 'span' | 'unit' | 'every' | 'release' | 'releaseAt' | 'label' | 'spaceAbove' | 'spaceBelow', 'release-at' | 'space-above' | 'space-below', {}>;
|
|
225
|
+
'impakt-card-grid': ImpaktComponent<ImpaktCardGridElement, 'items' | 'columns' | 'headingLevel' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
226
|
+
'impakt-carousel': ImpaktComponent<ImpaktCarouselElement, 'label' | 'perView' | 'arrows' | 'autoplay' | 'seconds' | 'spaceAbove' | 'spaceBelow', 'per-view' | 'space-above' | 'space-below', {}>;
|
|
227
|
+
'impakt-check-list': ImpaktComponent<ImpaktCheckListElement, 'items' | 'summary' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
|
|
228
|
+
'impakt-contact-block': ImpaktComponent<ImpaktContactBlockElement, 'heading' | 'phone' | 'hours' | 'email' | 'callbackHeading' | 'buttonText' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'callback-heading' | 'button-text' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
|
|
229
|
+
'impakt-submit': CustomEvent<{
|
|
230
|
+
name: string;
|
|
231
|
+
phone: string;
|
|
232
|
+
when: string;
|
|
233
|
+
}>;
|
|
234
|
+
}>;
|
|
235
|
+
'impakt-cta-banner': ImpaktComponent<ImpaktCtaBannerElement, 'heading' | 'lead' | 'tone' | 'align' | 'imageSrc' | 'imageAlt' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
236
|
+
'impakt-estimator': ImpaktComponent<ImpaktEstimatorElement, 'questions' | 'teams' | 'ways' | 'phases' | 'low' | 'high' | 'minWeeks' | 'currency' | 'unit' | 'intro' | 'budgetLabel' | 'resultHeading' | 'teamText' | 'teamTextOne' | 'note' | 'contactHref' | 'sendLabel' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'min-weeks' | 'budget-label' | 'result-heading' | 'team-text' | 'team-text-one' | 'contact-href' | 'send-label' | 'heading-level' | 'space-above' | 'space-below', {
|
|
237
|
+
'impakt-estimate': CustomEvent<EstimateResult>;
|
|
238
|
+
}>;
|
|
239
|
+
'impakt-feature-list': ImpaktComponent<ImpaktFeatureListElement, 'items' | 'columns' | 'headingLevel' | 'layout' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
240
|
+
'impakt-gallery': ImpaktComponent<ImpaktGalleryElement, 'items' | 'layout' | 'label' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
|
|
241
|
+
'impakt-hero': ImpaktComponent<ImpaktHeroElement, 'eyebrow' | 'heading' | 'lead' | 'level' | 'imageSrc' | 'imageAlt' | 'treatment' | 'ratingText' | 'eyebrowIcon' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'rating-text' | 'eyebrow-icon' | 'space-above' | 'space-below', {}>;
|
|
242
|
+
'impakt-location-card': ImpaktComponent<ImpaktLocationCardElement, 'heading' | 'address' | 'hours' | 'phone' | 'mapSrc' | 'mapAlt' | 'directionsText' | 'directionsHref' | 'nearby' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'map-src' | 'map-alt' | 'directions-text' | 'directions-href' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
243
|
+
'impakt-logo-cloud': ImpaktComponent<ImpaktLogoCloudElement, 'heading' | 'items' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
|
|
244
|
+
'impakt-media-split': ImpaktComponent<ImpaktMediaSplitElement, 'eyebrow' | 'heading' | 'lead' | 'points' | 'level' | 'imageSrc' | 'imageAlt' | 'insetSrc' | 'insetAlt' | 'imageSide' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'inset-src' | 'inset-alt' | 'image-side' | 'space-above' | 'space-below', {}>;
|
|
245
|
+
'impakt-mortgage-calculator': ImpaktComponent<ImpaktMortgageCalculatorElement, 'heading' | 'price' | 'depositPercent' | 'rate' | 'years' | 'currency' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'deposit-percent' | 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
246
|
+
'impakt-newsletter': ImpaktComponent<ImpaktNewsletterElement, 'heading' | 'lead' | 'label' | 'buttonText' | 'smallPrint' | 'doneText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'small-print' | 'done-text' | 'heading-level' | 'space-above' | 'space-below', {
|
|
247
|
+
'impakt-submit': CustomEvent<{
|
|
248
|
+
email: string;
|
|
249
|
+
}>;
|
|
250
|
+
}>;
|
|
251
|
+
'impakt-plan-comparison': ImpaktComponent<ImpaktPlanComparisonElement, 'heading' | 'plans' | 'rows' | 'buttonText' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'heading-level' | 'space-above' | 'space-below', {
|
|
252
|
+
'impakt-select': CustomEvent<{
|
|
253
|
+
plan: PlanItem;
|
|
254
|
+
}>;
|
|
255
|
+
}>;
|
|
256
|
+
'impakt-quote': ImpaktComponent<ImpaktQuoteElement, 'quote' | 'person' | 'about' | 'imageSrc' | 'size' | 'align' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'space-above' | 'space-below', {}>;
|
|
257
|
+
'impakt-regulatory-notice': ImpaktComponent<ImpaktRegulatoryNoticeElement, 'kind' | 'heading' | 'text' | 'firm' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
|
|
258
|
+
'impakt-release-card': ImpaktComponent<ImpaktReleaseCardElement, 'label' | 'heading' | 'text' | 'beforeSrc' | 'beforeAlt' | 'afterSrc' | 'afterAlt' | 'items' | 'href' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'before-src' | 'before-alt' | 'after-src' | 'after-alt' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
259
|
+
'impakt-release-list': ImpaktComponent<ImpaktReleaseListElement, 'items' | 'columns' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
260
|
+
'impakt-reviews': ImpaktComponent<ImpaktReviewsElement, 'summary' | 'rating' | 'items' | 'columns' | 'spaceAbove' | 'spaceBelow', 'space-above' | 'space-below', {}>;
|
|
261
|
+
'impakt-scene': ImpaktComponent<ImpaktSceneElement, 'drive' | 'layout' | 'length' | 'duration' | 'label' | 'progress' | 'controls' | 'bleed' | 'hideOn', 'hide-on', {
|
|
262
|
+
'impakt-scene-progress': CustomEvent<{
|
|
263
|
+
progress: number;
|
|
264
|
+
}>;
|
|
265
|
+
}>;
|
|
266
|
+
'impakt-scrubber': ImpaktComponent<ImpaktScrubberElement, 'label' | 'stops' | 'look' | 'hint' | 'value', never, {}>;
|
|
267
|
+
'impakt-search-bar': ImpaktComponent<ImpaktSearchBarElement, 'items' | 'buttonText' | 'action' | 'label' | 'spaceAbove' | 'spaceBelow', 'button-text' | 'space-above' | 'space-below', {
|
|
268
|
+
'impakt-submit': CustomEvent<{
|
|
269
|
+
values: Record<string, string>;
|
|
270
|
+
}>;
|
|
271
|
+
}>;
|
|
272
|
+
'impakt-site-footer': ImpaktComponent<ImpaktSiteFooterElement, 'brand' | 'log' | 'columns' | 'columnsOnPhone' | 'legal' | 'stripe' | 'headingLevel', 'columns-on-phone' | 'heading-level', {}>;
|
|
273
|
+
'impakt-site-header': ImpaktComponent<ImpaktSiteHeaderElement, 'brand' | 'logoSrc' | 'logoAlt' | 'home' | 'badge' | 'meta' | 'links' | 'label' | 'menuText' | 'status' | 'statusMeta' | 'statusTone' | 'actionText' | 'actionHref', 'logo-src' | 'logo-alt' | 'menu-text' | 'status-meta' | 'status-tone' | 'action-text' | 'action-href', {
|
|
274
|
+
'impakt-action': CustomEvent<null>;
|
|
275
|
+
}>;
|
|
276
|
+
'impakt-site-plan': ImpaktComponent<ImpaktSitePlanElement, 'imageSrc' | 'imageAlt' | 'plots' | 'selectedPlot' | 'panel' | 'hint' | 'plotWord' | 'actionText' | 'availableText' | 'reservedText' | 'soldText' | 'spaceAbove' | 'spaceBelow', 'image-src' | 'image-alt' | 'selected-plot' | 'plot-word' | 'action-text' | 'available-text' | 'reserved-text' | 'sold-text' | 'space-above' | 'space-below', {
|
|
277
|
+
'impakt-select': CustomEvent<{
|
|
278
|
+
plot: SitePlot;
|
|
279
|
+
}>;
|
|
280
|
+
}>;
|
|
281
|
+
'impakt-stamp-duty-calculator': ImpaktComponent<ImpaktStampDutyCalculatorElement, 'heading' | 'price' | 'buyer' | 'smallPrint' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'small-print' | 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
282
|
+
'impakt-stat': ImpaktComponent<ImpaktStatElement, 'size' | 'figure' | 'label' | 'note' | 'align', never, {}>;
|
|
283
|
+
'impakt-steps': ImpaktComponent<ImpaktStepsElement, 'items' | 'orientation' | 'look' | 'headingLevel' | 'spaceAbove' | 'spaceBelow', 'heading-level' | 'space-above' | 'space-below', {}>;
|
|
284
|
+
'impakt-sticky-bar': ImpaktComponent<ImpaktStickyBarElement, 'label' | 'heading' | 'lead' | 'showOn' | 'revealAfter', 'show-on' | 'reveal-after', {}>;
|
|
285
|
+
'impakt-video': ImpaktComponent<ImpaktVideoElement, 'videoSrc' | 'label' | 'posterSrc' | 'captionsSrc' | 'transcriptHref' | 'playText' | 'ratio' | 'spaceAbove' | 'spaceBelow', 'video-src' | 'poster-src' | 'captions-src' | 'transcript-href' | 'play-text' | 'space-above' | 'space-below', {}>;
|
|
286
|
+
'impakt-wordmark': ImpaktComponent<ImpaktWordmarkElement, 'text' | 'src' | 'alt' | 'href' | 'size' | 'hideOn', 'hide-on', {}>;
|
|
287
|
+
}
|
|
288
|
+
}
|
package/dist/blocks.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vue bindings for `@atomic-ui/blocks`, the section blocks Impakt sites are built from.
|
|
3
|
+
*
|
|
4
|
+
* import { ImpaktHero, ImpaktCardGrid } from '@atomic-ui/ui-vue/blocks';
|
|
5
|
+
*
|
|
6
|
+
* They are made exactly as the product components in `@atomic-ui/ui-vue` are,
|
|
7
|
+
* by `scripts/generate.mjs`, from `@atomic-ui/blocks`'s Custom Elements Manifest:
|
|
8
|
+
* each is named after the block's class, binds arrays and objects as DOM
|
|
9
|
+
* properties, and turns each `impakt-` event into an emit without the prefix.
|
|
10
|
+
* Every block and its tag is in `GlobalComponents`, and `AtomicUIBlocks`
|
|
11
|
+
* registers them all with `app.use`.
|
|
12
|
+
*
|
|
13
|
+
* They are a separate entry so an app that uses no blocks never loads them, and
|
|
14
|
+
* never needs `@atomic-ui/blocks` installed. An app that uses them installs it
|
|
15
|
+
* beside `@atomic-ui/ui`. The compiler setting the main entry describes, which
|
|
16
|
+
* treats every `impakt-` tag as a custom element, covers the blocks too.
|
|
17
|
+
*/
|
|
18
|
+
import '@atomic-ui/blocks';
|
|
19
|
+
export * from './blocks-components';
|
|
20
|
+
export type { FeatureItem, SearchField, CardItem, GalleryItem, LogoItem, StepItem, ReviewItem, SitePlot, NearbyItem, PlanItem, PlanRow, EstimatorQuestion, EstimatorChoice, EstimatorBand, EstimatorPhase, EstimateResult, FooterLogLine, FooterColumn, SceneDrive, SceneLayout, ScrubberStop, DiffLine, ReleaseItem, Branch, CheckItem, TimelineLane, TimelineMark, } from '@atomic-ui/blocks';
|
package/dist/blocks.js
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import {
|
|
2
|
+
wrap
|
|
3
|
+
} from "./chunk-WM4MLN2U.js";
|
|
4
|
+
|
|
5
|
+
// packages/ui-vue/src/blocks.ts
|
|
6
|
+
import "@atomic-ui/blocks";
|
|
7
|
+
|
|
8
|
+
// packages/ui-vue/src/blocks-components.ts
|
|
9
|
+
var ImpaktAffordabilityCalculator = wrap("impakt-affordability-calculator", ["headingLevel", "spaceAbove", "spaceBelow"], {});
|
|
10
|
+
var ImpaktAnnouncement = wrap("impakt-announcement", [], {});
|
|
11
|
+
var ImpaktBeforeAfter = wrap("impakt-before-after", [], {});
|
|
12
|
+
var ImpaktBranchList = wrap("impakt-branch-list", ["items", "headingLevel"], {});
|
|
13
|
+
var ImpaktBranchTimeline = wrap("impakt-branch-timeline", ["lanes", "marks"], {});
|
|
14
|
+
var ImpaktCardGrid = wrap("impakt-card-grid", ["items", "headingLevel"], {});
|
|
15
|
+
var ImpaktCarousel = wrap("impakt-carousel", [], {});
|
|
16
|
+
var ImpaktCheckList = wrap("impakt-check-list", ["items"], {});
|
|
17
|
+
var ImpaktContactBlock = wrap("impakt-contact-block", ["headingLevel", "spaceAbove", "spaceBelow"], { "impakt-submit": "submit" });
|
|
18
|
+
var ImpaktCtaBanner = wrap("impakt-cta-banner", ["headingLevel"], {});
|
|
19
|
+
var ImpaktEstimator = wrap("impakt-estimator", ["questions", "teams", "ways", "phases"], { "impakt-estimate": "estimate" });
|
|
20
|
+
var ImpaktFeatureList = wrap("impakt-feature-list", ["items", "headingLevel"], {});
|
|
21
|
+
var ImpaktGallery = wrap("impakt-gallery", ["items"], {});
|
|
22
|
+
var ImpaktHero = wrap("impakt-hero", ["level"], {});
|
|
23
|
+
var ImpaktLocationCard = wrap("impakt-location-card", ["nearby", "headingLevel"], {});
|
|
24
|
+
var ImpaktLogoCloud = wrap("impakt-logo-cloud", ["items"], {});
|
|
25
|
+
var ImpaktMediaSplit = wrap("impakt-media-split", ["points", "level"], {});
|
|
26
|
+
var ImpaktMortgageCalculator = wrap("impakt-mortgage-calculator", ["headingLevel"], {});
|
|
27
|
+
var ImpaktNewsletter = wrap("impakt-newsletter", ["headingLevel"], { "impakt-submit": "submit" });
|
|
28
|
+
var ImpaktPlanComparison = wrap("impakt-plan-comparison", ["plans", "rows", "headingLevel", "spaceAbove", "spaceBelow"], { "impakt-select": "select" });
|
|
29
|
+
var ImpaktQuote = wrap("impakt-quote", [], {});
|
|
30
|
+
var ImpaktRegulatoryNotice = wrap("impakt-regulatory-notice", ["spaceAbove", "spaceBelow"], {});
|
|
31
|
+
var ImpaktReleaseCard = wrap("impakt-release-card", ["items", "headingLevel"], {});
|
|
32
|
+
var ImpaktReleaseList = wrap("impakt-release-list", ["items", "headingLevel"], {});
|
|
33
|
+
var ImpaktReviews = wrap("impakt-reviews", ["items"], {});
|
|
34
|
+
var ImpaktScene = wrap("impakt-scene", [], { "impakt-scene-progress": "scene-progress" });
|
|
35
|
+
var ImpaktScrubber = wrap("impakt-scrubber", ["stops"], {});
|
|
36
|
+
var ImpaktSearchBar = wrap("impakt-search-bar", ["items"], { "impakt-submit": "submit" });
|
|
37
|
+
var ImpaktSiteFooter = wrap("impakt-site-footer", ["log", "columns", "headingLevel"], {});
|
|
38
|
+
var ImpaktSiteHeader = wrap("impakt-site-header", ["links", "statusTone"], { "impakt-action": "action" });
|
|
39
|
+
var ImpaktSitePlan = wrap("impakt-site-plan", ["plots"], { "impakt-select": "select" });
|
|
40
|
+
var ImpaktStampDutyCalculator = wrap("impakt-stamp-duty-calculator", ["headingLevel", "spaceAbove", "spaceBelow"], {});
|
|
41
|
+
var ImpaktStat = wrap("impakt-stat", [], {});
|
|
42
|
+
var ImpaktSteps = wrap("impakt-steps", ["items", "headingLevel"], {});
|
|
43
|
+
var ImpaktStickyBar = wrap("impakt-sticky-bar", [], {});
|
|
44
|
+
var ImpaktVideo = wrap("impakt-video", ["spaceAbove", "spaceBelow"], {});
|
|
45
|
+
var ImpaktWordmark = wrap("impakt-wordmark", [], {});
|
|
46
|
+
var BLOCK_COMPONENTS = {
|
|
47
|
+
ImpaktAffordabilityCalculator,
|
|
48
|
+
ImpaktAnnouncement,
|
|
49
|
+
ImpaktBeforeAfter,
|
|
50
|
+
ImpaktBranchList,
|
|
51
|
+
ImpaktBranchTimeline,
|
|
52
|
+
ImpaktCardGrid,
|
|
53
|
+
ImpaktCarousel,
|
|
54
|
+
ImpaktCheckList,
|
|
55
|
+
ImpaktContactBlock,
|
|
56
|
+
ImpaktCtaBanner,
|
|
57
|
+
ImpaktEstimator,
|
|
58
|
+
ImpaktFeatureList,
|
|
59
|
+
ImpaktGallery,
|
|
60
|
+
ImpaktHero,
|
|
61
|
+
ImpaktLocationCard,
|
|
62
|
+
ImpaktLogoCloud,
|
|
63
|
+
ImpaktMediaSplit,
|
|
64
|
+
ImpaktMortgageCalculator,
|
|
65
|
+
ImpaktNewsletter,
|
|
66
|
+
ImpaktPlanComparison,
|
|
67
|
+
ImpaktQuote,
|
|
68
|
+
ImpaktRegulatoryNotice,
|
|
69
|
+
ImpaktReleaseCard,
|
|
70
|
+
ImpaktReleaseList,
|
|
71
|
+
ImpaktReviews,
|
|
72
|
+
ImpaktScene,
|
|
73
|
+
ImpaktScrubber,
|
|
74
|
+
ImpaktSearchBar,
|
|
75
|
+
ImpaktSiteFooter,
|
|
76
|
+
ImpaktSiteHeader,
|
|
77
|
+
ImpaktSitePlan,
|
|
78
|
+
ImpaktStampDutyCalculator,
|
|
79
|
+
ImpaktStat,
|
|
80
|
+
ImpaktSteps,
|
|
81
|
+
ImpaktStickyBar,
|
|
82
|
+
ImpaktVideo,
|
|
83
|
+
ImpaktWordmark
|
|
84
|
+
};
|
|
85
|
+
var AtomicUIBlocks = {
|
|
86
|
+
install(app) {
|
|
87
|
+
for (const [name, component] of Object.entries(BLOCK_COMPONENTS)) app.component(name, component);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
export {
|
|
91
|
+
AtomicUIBlocks,
|
|
92
|
+
BLOCK_COMPONENTS,
|
|
93
|
+
ImpaktAffordabilityCalculator,
|
|
94
|
+
ImpaktAnnouncement,
|
|
95
|
+
ImpaktBeforeAfter,
|
|
96
|
+
ImpaktBranchList,
|
|
97
|
+
ImpaktBranchTimeline,
|
|
98
|
+
ImpaktCardGrid,
|
|
99
|
+
ImpaktCarousel,
|
|
100
|
+
ImpaktCheckList,
|
|
101
|
+
ImpaktContactBlock,
|
|
102
|
+
ImpaktCtaBanner,
|
|
103
|
+
ImpaktEstimator,
|
|
104
|
+
ImpaktFeatureList,
|
|
105
|
+
ImpaktGallery,
|
|
106
|
+
ImpaktHero,
|
|
107
|
+
ImpaktLocationCard,
|
|
108
|
+
ImpaktLogoCloud,
|
|
109
|
+
ImpaktMediaSplit,
|
|
110
|
+
ImpaktMortgageCalculator,
|
|
111
|
+
ImpaktNewsletter,
|
|
112
|
+
ImpaktPlanComparison,
|
|
113
|
+
ImpaktQuote,
|
|
114
|
+
ImpaktRegulatoryNotice,
|
|
115
|
+
ImpaktReleaseCard,
|
|
116
|
+
ImpaktReleaseList,
|
|
117
|
+
ImpaktReviews,
|
|
118
|
+
ImpaktScene,
|
|
119
|
+
ImpaktScrubber,
|
|
120
|
+
ImpaktSearchBar,
|
|
121
|
+
ImpaktSiteFooter,
|
|
122
|
+
ImpaktSiteHeader,
|
|
123
|
+
ImpaktSitePlan,
|
|
124
|
+
ImpaktStampDutyCalculator,
|
|
125
|
+
ImpaktStat,
|
|
126
|
+
ImpaktSteps,
|
|
127
|
+
ImpaktStickyBar,
|
|
128
|
+
ImpaktVideo,
|
|
129
|
+
ImpaktWordmark
|
|
130
|
+
};
|
|
131
|
+
//# sourceMappingURL=blocks.js.map
|