@atomic-ui/blocks 0.0.0-stage → 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 +77 -2
- package/custom-elements.json +8688 -0
- package/dist/chunk-4JW2CHWS.js +708 -0
- package/dist/chunk-4JW2CHWS.js.map +1 -0
- package/dist/chunk-AFN7IAG2.js +379 -0
- package/dist/chunk-AFN7IAG2.js.map +1 -0
- package/dist/chunk-F4BTXUYP.js +65 -0
- package/dist/chunk-F4BTXUYP.js.map +1 -0
- package/dist/chunk-MYTYMOH6.js +193 -0
- package/dist/chunk-MYTYMOH6.js.map +1 -0
- package/dist/chunk-OTOFULMT.js +465 -0
- package/dist/chunk-OTOFULMT.js.map +1 -0
- package/dist/chunk-PORKVHAX.js +255 -0
- package/dist/chunk-PORKVHAX.js.map +1 -0
- package/dist/chunk-T7U4OPTW.js +413 -0
- package/dist/chunk-T7U4OPTW.js.map +1 -0
- package/dist/chunk-WHENVU5E.js +318 -0
- package/dist/chunk-WHENVU5E.js.map +1 -0
- package/dist/chunk-XHFUTZGU.js +228 -0
- package/dist/chunk-XHFUTZGU.js.map +1 -0
- package/dist/chunk-XJMKAK2I.js +442 -0
- package/dist/chunk-XJMKAK2I.js.map +1 -0
- package/dist/components/card-grid.d.ts +72 -0
- package/dist/components/card-grid.js +7 -0
- package/dist/components/card-grid.js.map +1 -0
- package/dist/components/changelog.d.ts +373 -0
- package/dist/components/changelog.js +16 -0
- package/dist/components/changelog.js.map +1 -0
- package/dist/components/estimator.d.ts +246 -0
- package/dist/components/estimator.js +11 -0
- package/dist/components/estimator.js.map +1 -0
- package/dist/components/marketing.d.ts +342 -0
- package/dist/components/marketing.js +17 -0
- package/dist/components/marketing.js.map +1 -0
- package/dist/components/organisms.d.ts +559 -0
- package/dist/components/organisms.js +23 -0
- package/dist/components/organisms.js.map +1 -0
- package/dist/components/property.d.ts +389 -0
- package/dist/components/property.js +17 -0
- package/dist/components/property.js.map +1 -0
- package/dist/components/scene.d.ts +138 -0
- package/dist/components/scene.js +7 -0
- package/dist/components/scene.js.map +1 -0
- package/dist/components/scrubber.d.ts +86 -0
- package/dist/components/scrubber.js +7 -0
- package/dist/components/scrubber.js.map +1 -0
- package/dist/components/selling.d.ts +409 -0
- package/dist/components/selling.js +23 -0
- package/dist/components/selling.js.map +1 -0
- package/dist/components/site.d.ts +235 -0
- package/dist/components/site.js +11 -0
- package/dist/components/site.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +114 -0
- package/dist/index.js.map +1 -0
- package/dist/standalone/atomic-ui-blocks.js +1229 -0
- package/dist/standalone/atomic-ui-blocks.js.map +7 -0
- package/dist/standalone/index.html +78 -0
- package/package.json +64 -3
- package/scripts/copy-to-product.mjs +59 -0
- package/specimen/index.html +78 -0
|
@@ -0,0 +1,559 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
2
|
+
import { ImpaktElement } from '@atomic-ui/ui';
|
|
3
|
+
/**
|
|
4
|
+
* Slides that move sideways: house types, reviews, the rooms of a show home.
|
|
5
|
+
* Put anything in it, one child to a slide.
|
|
6
|
+
*
|
|
7
|
+
* It follows the ARIA carousel pattern. Each slide is named "2 of 6", a live
|
|
8
|
+
* region says where you are, and it can be moved with the buttons, the dots,
|
|
9
|
+
* the arrow keys, a swipe or a scroll.
|
|
10
|
+
*
|
|
11
|
+
* **It moves only when asked.** Autoplay is off by default. Turned on, it has a
|
|
12
|
+
* Pause button, stops while pointed at or focused, and never runs for someone
|
|
13
|
+
* who has asked for reduced motion (2.2.2).
|
|
14
|
+
*
|
|
15
|
+
* @category content
|
|
16
|
+
* @icon carousel
|
|
17
|
+
* @slot - The slides, one child to each.
|
|
18
|
+
*/
|
|
19
|
+
export declare class ImpaktCarousel extends ImpaktElement {
|
|
20
|
+
static properties: {
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
perView: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
reflect: boolean;
|
|
27
|
+
attribute: string;
|
|
28
|
+
};
|
|
29
|
+
arrows: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
reflect: boolean;
|
|
32
|
+
};
|
|
33
|
+
autoplay: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
reflect: boolean;
|
|
36
|
+
};
|
|
37
|
+
seconds: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
};
|
|
40
|
+
spaceAbove: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
reflect: boolean;
|
|
43
|
+
attribute: string;
|
|
44
|
+
};
|
|
45
|
+
spaceBelow: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
reflect: boolean;
|
|
48
|
+
attribute: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
/** What the slides are, for a screen reader, such as "House types". */
|
|
52
|
+
label: string;
|
|
53
|
+
/** How many slides show at once on a wide screen. A tablet shows at most two, and a phone one. */
|
|
54
|
+
perView: '1' | '2' | '3';
|
|
55
|
+
/** Where the arrows sit: under the slides, or level with the heading above them. */
|
|
56
|
+
arrows: 'below' | 'top';
|
|
57
|
+
/** Move on by itself. People can pause it, and it never runs for those who ask for less motion. */
|
|
58
|
+
autoplay: boolean;
|
|
59
|
+
/** How long each slide stays, when it moves by itself. */
|
|
60
|
+
seconds: number;
|
|
61
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
62
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
63
|
+
private index;
|
|
64
|
+
private count;
|
|
65
|
+
/** How many slides fit right now, which the width decides. */
|
|
66
|
+
private visible;
|
|
67
|
+
/** Where a button or dot is taking the row. Until it arrives, the scroll position is not the truth. */
|
|
68
|
+
private heading;
|
|
69
|
+
private settle;
|
|
70
|
+
private observer;
|
|
71
|
+
private paused;
|
|
72
|
+
private held;
|
|
73
|
+
private timer;
|
|
74
|
+
constructor();
|
|
75
|
+
static styles: import("lit").CSSResult[];
|
|
76
|
+
private get track();
|
|
77
|
+
private get slides();
|
|
78
|
+
/** The last slide that can sit at the start of the row. */
|
|
79
|
+
private get last();
|
|
80
|
+
/** Count what actually fits, and keep the row on a real stop when that changes. */
|
|
81
|
+
private measure;
|
|
82
|
+
private onSlots;
|
|
83
|
+
private go;
|
|
84
|
+
private onScroll;
|
|
85
|
+
private onKey;
|
|
86
|
+
private get canPlay();
|
|
87
|
+
private restart;
|
|
88
|
+
private hold;
|
|
89
|
+
private togglePause;
|
|
90
|
+
protected firstUpdated(): void;
|
|
91
|
+
protected updated(changed: Map<string, unknown>): void;
|
|
92
|
+
connectedCallback(): void;
|
|
93
|
+
disconnectedCallback(): void;
|
|
94
|
+
render(): TemplateResult;
|
|
95
|
+
}
|
|
96
|
+
/** One picture in a gallery. */
|
|
97
|
+
export interface GalleryItem {
|
|
98
|
+
id?: string;
|
|
99
|
+
src: string;
|
|
100
|
+
alt: string;
|
|
101
|
+
caption?: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* How far a gallery picture stretches so that no row ends in a gap, on a wide
|
|
105
|
+
* container and on a narrow one. The large first picture keeps its own size.
|
|
106
|
+
*/
|
|
107
|
+
export declare function gallerySpan(index: number, count: number, layout: 'feature' | 'grid'): {
|
|
108
|
+
wide: number;
|
|
109
|
+
narrow: number;
|
|
110
|
+
rows: number;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* A set of pictures, with the first shown large, that open full screen one at
|
|
114
|
+
* a time: the rooms of a show home, or views of a development.
|
|
115
|
+
*
|
|
116
|
+
* Each picture is a button. The full-screen view is a real modal dialog, so
|
|
117
|
+
* focus stays inside it, Escape closes it and focus returns to the picture that
|
|
118
|
+
* opened it. The arrow keys move between pictures.
|
|
119
|
+
*
|
|
120
|
+
* @category media
|
|
121
|
+
* @icon gallery
|
|
122
|
+
*/
|
|
123
|
+
export declare class ImpaktGallery extends ImpaktElement {
|
|
124
|
+
static properties: {
|
|
125
|
+
items: {
|
|
126
|
+
type: ArrayConstructor;
|
|
127
|
+
};
|
|
128
|
+
layout: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
reflect: boolean;
|
|
131
|
+
};
|
|
132
|
+
label: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
};
|
|
135
|
+
spaceAbove: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
reflect: boolean;
|
|
138
|
+
attribute: string;
|
|
139
|
+
};
|
|
140
|
+
spaceBelow: {
|
|
141
|
+
type: StringConstructor;
|
|
142
|
+
reflect: boolean;
|
|
143
|
+
attribute: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
items: GalleryItem[];
|
|
147
|
+
/** One large picture with smaller ones beside it, or an even grid. */
|
|
148
|
+
layout: 'feature' | 'grid';
|
|
149
|
+
/** What the pictures are of, for a screen reader. */
|
|
150
|
+
label: string;
|
|
151
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
152
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
153
|
+
private shown;
|
|
154
|
+
private opener;
|
|
155
|
+
constructor();
|
|
156
|
+
static styles: import("lit").CSSResult[];
|
|
157
|
+
private get dialog();
|
|
158
|
+
private open;
|
|
159
|
+
private close;
|
|
160
|
+
private onClosed;
|
|
161
|
+
private step;
|
|
162
|
+
private onKey;
|
|
163
|
+
render(): TemplateResult;
|
|
164
|
+
}
|
|
165
|
+
/** One accreditation or partner. */
|
|
166
|
+
export interface LogoItem {
|
|
167
|
+
id?: string;
|
|
168
|
+
src: string;
|
|
169
|
+
alt: string;
|
|
170
|
+
href?: string;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* A row of logos that lends trust: accreditations, awards, lenders, partners.
|
|
174
|
+
*
|
|
175
|
+
* The logos are drawn quietly so they do not fight the page, and come to full
|
|
176
|
+
* colour when pointed at. Each one is named by its alt text.
|
|
177
|
+
*
|
|
178
|
+
* @category content
|
|
179
|
+
* @icon logos
|
|
180
|
+
*/
|
|
181
|
+
export declare class ImpaktLogoCloud extends ImpaktElement {
|
|
182
|
+
static properties: {
|
|
183
|
+
heading: {
|
|
184
|
+
type: StringConstructor;
|
|
185
|
+
};
|
|
186
|
+
items: {
|
|
187
|
+
type: ArrayConstructor;
|
|
188
|
+
};
|
|
189
|
+
spaceAbove: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
reflect: boolean;
|
|
192
|
+
attribute: string;
|
|
193
|
+
};
|
|
194
|
+
spaceBelow: {
|
|
195
|
+
type: StringConstructor;
|
|
196
|
+
reflect: boolean;
|
|
197
|
+
attribute: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
/** A line above the logos, such as "Accredited by". */
|
|
201
|
+
heading: string;
|
|
202
|
+
items: LogoItem[];
|
|
203
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
204
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
205
|
+
constructor();
|
|
206
|
+
static styles: import("lit").CSSResult[];
|
|
207
|
+
render(): TemplateResult;
|
|
208
|
+
}
|
|
209
|
+
/** One step in a process. */
|
|
210
|
+
export interface StepItem {
|
|
211
|
+
id?: string;
|
|
212
|
+
heading: string;
|
|
213
|
+
text?: string;
|
|
214
|
+
/** A short line above the heading, such as how long the step takes. */
|
|
215
|
+
meta?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* A process, in order, joined by a line: how buying a home works, what happens
|
|
219
|
+
* after you apply.
|
|
220
|
+
*
|
|
221
|
+
* It is an ordered list, so a screen reader says the number and how many there
|
|
222
|
+
* are. The numbers are drawn from the list, not typed in.
|
|
223
|
+
*
|
|
224
|
+
* @category content
|
|
225
|
+
* @icon steps
|
|
226
|
+
*/
|
|
227
|
+
export declare class ImpaktSteps extends ImpaktElement {
|
|
228
|
+
static properties: {
|
|
229
|
+
items: {
|
|
230
|
+
type: ArrayConstructor;
|
|
231
|
+
};
|
|
232
|
+
orientation: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
reflect: boolean;
|
|
235
|
+
};
|
|
236
|
+
look: {
|
|
237
|
+
type: StringConstructor;
|
|
238
|
+
reflect: boolean;
|
|
239
|
+
};
|
|
240
|
+
headingLevel: {
|
|
241
|
+
type: NumberConstructor;
|
|
242
|
+
attribute: string;
|
|
243
|
+
};
|
|
244
|
+
spaceAbove: {
|
|
245
|
+
type: StringConstructor;
|
|
246
|
+
reflect: boolean;
|
|
247
|
+
attribute: string;
|
|
248
|
+
};
|
|
249
|
+
spaceBelow: {
|
|
250
|
+
type: StringConstructor;
|
|
251
|
+
reflect: boolean;
|
|
252
|
+
attribute: string;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
items: StepItem[];
|
|
256
|
+
/** Across the page, or down it. Across becomes down on a narrow screen. */
|
|
257
|
+
orientation: 'horizontal' | 'vertical';
|
|
258
|
+
/**
|
|
259
|
+
* `numbered` joins numbered circles with a line. `ruled` gives each step a
|
|
260
|
+
* coloured rule along its top, in the brand's chart colours, as a project
|
|
261
|
+
* plan's phases are drawn. The steps are an ordered list either way.
|
|
262
|
+
*/
|
|
263
|
+
look: 'numbered' | 'ruled';
|
|
264
|
+
/** The level of each step's heading. One below the heading above the steps. */
|
|
265
|
+
headingLevel: 2 | 3 | 4;
|
|
266
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
267
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
268
|
+
constructor();
|
|
269
|
+
static styles: import("lit").CSSResult[];
|
|
270
|
+
render(): TemplateResult;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* A picture beside words, the working section of a marketing page: a heading,
|
|
274
|
+
* a line of text, a short list of points and an action.
|
|
275
|
+
*
|
|
276
|
+
* On a phone the words come first, whichever side the picture is on, so the
|
|
277
|
+
* reading order never depends on the layout.
|
|
278
|
+
*
|
|
279
|
+
* @category layout
|
|
280
|
+
* @icon split
|
|
281
|
+
* @role heading
|
|
282
|
+
* @slot actions - Buttons and links under the words.
|
|
283
|
+
*/
|
|
284
|
+
export declare class ImpaktMediaSplit extends ImpaktElement {
|
|
285
|
+
static properties: {
|
|
286
|
+
eyebrow: {
|
|
287
|
+
type: StringConstructor;
|
|
288
|
+
};
|
|
289
|
+
heading: {
|
|
290
|
+
type: StringConstructor;
|
|
291
|
+
};
|
|
292
|
+
lead: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
};
|
|
295
|
+
points: {
|
|
296
|
+
type: ArrayConstructor;
|
|
297
|
+
};
|
|
298
|
+
level: {
|
|
299
|
+
type: NumberConstructor;
|
|
300
|
+
reflect: boolean;
|
|
301
|
+
};
|
|
302
|
+
imageSrc: {
|
|
303
|
+
type: StringConstructor;
|
|
304
|
+
attribute: string;
|
|
305
|
+
};
|
|
306
|
+
imageAlt: {
|
|
307
|
+
type: StringConstructor;
|
|
308
|
+
attribute: string;
|
|
309
|
+
};
|
|
310
|
+
imageSide: {
|
|
311
|
+
type: StringConstructor;
|
|
312
|
+
reflect: boolean;
|
|
313
|
+
attribute: string;
|
|
314
|
+
};
|
|
315
|
+
insetSrc: {
|
|
316
|
+
type: StringConstructor;
|
|
317
|
+
attribute: string;
|
|
318
|
+
};
|
|
319
|
+
insetAlt: {
|
|
320
|
+
type: StringConstructor;
|
|
321
|
+
attribute: string;
|
|
322
|
+
};
|
|
323
|
+
ratio: {
|
|
324
|
+
type: StringConstructor;
|
|
325
|
+
reflect: boolean;
|
|
326
|
+
};
|
|
327
|
+
spaceAbove: {
|
|
328
|
+
type: StringConstructor;
|
|
329
|
+
reflect: boolean;
|
|
330
|
+
attribute: string;
|
|
331
|
+
};
|
|
332
|
+
spaceBelow: {
|
|
333
|
+
type: StringConstructor;
|
|
334
|
+
reflect: boolean;
|
|
335
|
+
attribute: string;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
eyebrow: string;
|
|
339
|
+
heading: string;
|
|
340
|
+
/** A sentence or two under the heading. */
|
|
341
|
+
lead: string;
|
|
342
|
+
/** Short points, each drawn with a tick. */
|
|
343
|
+
points: string[];
|
|
344
|
+
/** The heading's level in the page. */
|
|
345
|
+
level: 2 | 3;
|
|
346
|
+
imageSrc: string;
|
|
347
|
+
/** What the picture shows. Leave empty only when it is decoration. */
|
|
348
|
+
imageAlt: string;
|
|
349
|
+
/** A smaller picture overlapping the corner of the main one. */
|
|
350
|
+
insetSrc: string;
|
|
351
|
+
insetAlt: string;
|
|
352
|
+
/** Which side the picture sits on, on a wide screen. */
|
|
353
|
+
imageSide: 'start' | 'end';
|
|
354
|
+
/** The picture's shape. */
|
|
355
|
+
ratio: '4:3' | '1:1' | '3:2' | '16:9';
|
|
356
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
357
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
358
|
+
constructor();
|
|
359
|
+
static styles: import("lit").CSSResult[];
|
|
360
|
+
render(): TemplateResult;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* The closing push of a page: a rounded panel with a heading, a line of text
|
|
364
|
+
* and the page's main action, set apart from everything above it.
|
|
365
|
+
*
|
|
366
|
+
* @category layout
|
|
367
|
+
* @icon banner
|
|
368
|
+
* @slot actions - The buttons.
|
|
369
|
+
*/
|
|
370
|
+
export declare class ImpaktCtaBanner extends ImpaktElement {
|
|
371
|
+
static properties: {
|
|
372
|
+
heading: {
|
|
373
|
+
type: StringConstructor;
|
|
374
|
+
};
|
|
375
|
+
lead: {
|
|
376
|
+
type: StringConstructor;
|
|
377
|
+
};
|
|
378
|
+
tone: {
|
|
379
|
+
type: StringConstructor;
|
|
380
|
+
reflect: boolean;
|
|
381
|
+
};
|
|
382
|
+
align: {
|
|
383
|
+
type: StringConstructor;
|
|
384
|
+
reflect: boolean;
|
|
385
|
+
};
|
|
386
|
+
imageSrc: {
|
|
387
|
+
type: StringConstructor;
|
|
388
|
+
attribute: string;
|
|
389
|
+
};
|
|
390
|
+
imageAlt: {
|
|
391
|
+
type: StringConstructor;
|
|
392
|
+
attribute: string;
|
|
393
|
+
};
|
|
394
|
+
headingLevel: {
|
|
395
|
+
type: NumberConstructor;
|
|
396
|
+
attribute: string;
|
|
397
|
+
};
|
|
398
|
+
spaceAbove: {
|
|
399
|
+
type: StringConstructor;
|
|
400
|
+
reflect: boolean;
|
|
401
|
+
attribute: string;
|
|
402
|
+
};
|
|
403
|
+
spaceBelow: {
|
|
404
|
+
type: StringConstructor;
|
|
405
|
+
reflect: boolean;
|
|
406
|
+
attribute: string;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
heading: string;
|
|
410
|
+
lead: string;
|
|
411
|
+
/** The panel's colour. */
|
|
412
|
+
tone: 'brand' | 'subtle' | 'card';
|
|
413
|
+
/** Words beside the action, centred above it, or above it on the left. */
|
|
414
|
+
align: 'split' | 'center' | 'stacked';
|
|
415
|
+
/** A photo behind the words, with a scrim so they stay readable. */
|
|
416
|
+
imageSrc: string;
|
|
417
|
+
imageAlt: string;
|
|
418
|
+
headingLevel: 2 | 3;
|
|
419
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
420
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
421
|
+
constructor();
|
|
422
|
+
static styles: import("lit").CSSResult[];
|
|
423
|
+
render(): TemplateResult;
|
|
424
|
+
}
|
|
425
|
+
/** One review. */
|
|
426
|
+
export interface ReviewItem {
|
|
427
|
+
id?: string;
|
|
428
|
+
quote: string;
|
|
429
|
+
person: string;
|
|
430
|
+
about?: string;
|
|
431
|
+
rating?: number;
|
|
432
|
+
avatarSrc?: string;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* What customers say, in cards, with their rating and a face or their
|
|
436
|
+
* initials, and a summary line above them.
|
|
437
|
+
*
|
|
438
|
+
* A rating is said in words as well as drawn in stars.
|
|
439
|
+
*
|
|
440
|
+
* @category content
|
|
441
|
+
* @icon reviews
|
|
442
|
+
*/
|
|
443
|
+
export declare class ImpaktReviews extends ImpaktElement {
|
|
444
|
+
static properties: {
|
|
445
|
+
summary: {
|
|
446
|
+
type: StringConstructor;
|
|
447
|
+
};
|
|
448
|
+
rating: {
|
|
449
|
+
type: NumberConstructor;
|
|
450
|
+
};
|
|
451
|
+
items: {
|
|
452
|
+
type: ArrayConstructor;
|
|
453
|
+
};
|
|
454
|
+
columns: {
|
|
455
|
+
type: StringConstructor;
|
|
456
|
+
reflect: boolean;
|
|
457
|
+
};
|
|
458
|
+
spaceAbove: {
|
|
459
|
+
type: StringConstructor;
|
|
460
|
+
reflect: boolean;
|
|
461
|
+
attribute: string;
|
|
462
|
+
};
|
|
463
|
+
spaceBelow: {
|
|
464
|
+
type: StringConstructor;
|
|
465
|
+
reflect: boolean;
|
|
466
|
+
attribute: string;
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
/** A line above the reviews, such as "4.8 from 312 buyers". */
|
|
470
|
+
summary: string;
|
|
471
|
+
/** The overall rating out of 5, drawn beside the summary. */
|
|
472
|
+
rating: number | undefined;
|
|
473
|
+
items: ReviewItem[];
|
|
474
|
+
columns: 'two' | 'three';
|
|
475
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
476
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
477
|
+
constructor();
|
|
478
|
+
static styles: import("lit").CSSResult[];
|
|
479
|
+
render(): TemplateResult;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* An email sign-up in one line: release dates, price lists, launch news.
|
|
483
|
+
*
|
|
484
|
+
* The field has a real label, the browser checks the address, and what happens
|
|
485
|
+
* with the address is said beside the button. The app receives the address and
|
|
486
|
+
* says when it is done.
|
|
487
|
+
*
|
|
488
|
+
* @category form
|
|
489
|
+
* @icon mail
|
|
490
|
+
* @fires {CustomEvent<{ email: string }>} impakt-submit - When a valid address is sent. The address is in detail.email.
|
|
491
|
+
*/
|
|
492
|
+
export declare class ImpaktNewsletter extends ImpaktElement {
|
|
493
|
+
static properties: {
|
|
494
|
+
heading: {
|
|
495
|
+
type: StringConstructor;
|
|
496
|
+
};
|
|
497
|
+
lead: {
|
|
498
|
+
type: StringConstructor;
|
|
499
|
+
};
|
|
500
|
+
label: {
|
|
501
|
+
type: StringConstructor;
|
|
502
|
+
};
|
|
503
|
+
buttonText: {
|
|
504
|
+
type: StringConstructor;
|
|
505
|
+
attribute: string;
|
|
506
|
+
};
|
|
507
|
+
smallPrint: {
|
|
508
|
+
type: StringConstructor;
|
|
509
|
+
attribute: string;
|
|
510
|
+
};
|
|
511
|
+
doneText: {
|
|
512
|
+
type: StringConstructor;
|
|
513
|
+
attribute: string;
|
|
514
|
+
};
|
|
515
|
+
headingLevel: {
|
|
516
|
+
type: NumberConstructor;
|
|
517
|
+
attribute: string;
|
|
518
|
+
};
|
|
519
|
+
spaceAbove: {
|
|
520
|
+
type: StringConstructor;
|
|
521
|
+
reflect: boolean;
|
|
522
|
+
attribute: string;
|
|
523
|
+
};
|
|
524
|
+
spaceBelow: {
|
|
525
|
+
type: StringConstructor;
|
|
526
|
+
reflect: boolean;
|
|
527
|
+
attribute: string;
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
heading: string;
|
|
531
|
+
lead: string;
|
|
532
|
+
/** The field's label. */
|
|
533
|
+
label: string;
|
|
534
|
+
buttonText: string;
|
|
535
|
+
/** What happens with the address, such as how to stop the emails. */
|
|
536
|
+
smallPrint: string;
|
|
537
|
+
/** What is said once the address is sent. */
|
|
538
|
+
doneText: string;
|
|
539
|
+
headingLevel: 2 | 3;
|
|
540
|
+
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
541
|
+
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
542
|
+
private done;
|
|
543
|
+
constructor();
|
|
544
|
+
static styles: import("lit").CSSResult[];
|
|
545
|
+
private submit;
|
|
546
|
+
render(): TemplateResult;
|
|
547
|
+
}
|
|
548
|
+
declare global {
|
|
549
|
+
interface HTMLElementTagNameMap {
|
|
550
|
+
'impakt-carousel': ImpaktCarousel;
|
|
551
|
+
'impakt-gallery': ImpaktGallery;
|
|
552
|
+
'impakt-logo-cloud': ImpaktLogoCloud;
|
|
553
|
+
'impakt-steps': ImpaktSteps;
|
|
554
|
+
'impakt-media-split': ImpaktMediaSplit;
|
|
555
|
+
'impakt-cta-banner': ImpaktCtaBanner;
|
|
556
|
+
'impakt-reviews': ImpaktReviews;
|
|
557
|
+
'impakt-newsletter': ImpaktNewsletter;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ImpaktCarousel,
|
|
3
|
+
ImpaktCtaBanner,
|
|
4
|
+
ImpaktGallery,
|
|
5
|
+
ImpaktLogoCloud,
|
|
6
|
+
ImpaktMediaSplit,
|
|
7
|
+
ImpaktNewsletter,
|
|
8
|
+
ImpaktReviews,
|
|
9
|
+
ImpaktSteps,
|
|
10
|
+
gallerySpan
|
|
11
|
+
} from "../chunk-4JW2CHWS.js";
|
|
12
|
+
export {
|
|
13
|
+
ImpaktCarousel,
|
|
14
|
+
ImpaktCtaBanner,
|
|
15
|
+
ImpaktGallery,
|
|
16
|
+
ImpaktLogoCloud,
|
|
17
|
+
ImpaktMediaSplit,
|
|
18
|
+
ImpaktNewsletter,
|
|
19
|
+
ImpaktReviews,
|
|
20
|
+
ImpaktSteps,
|
|
21
|
+
gallerySpan
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=organisms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|