@atomic-ui/blocks 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -15
- package/custom-elements.json +2978 -9654
- package/dist/chunk-GQ2I44OU.js +226 -0
- package/dist/chunk-GQ2I44OU.js.map +1 -0
- package/dist/chunk-HISF6RYK.js +199 -0
- package/dist/chunk-HISF6RYK.js.map +1 -0
- package/dist/{chunk-Q366ZM2X.js → chunk-LJGOTYDJ.js} +17 -41
- package/dist/chunk-LJGOTYDJ.js.map +1 -0
- package/dist/{chunk-BW5ZMKES.js → chunk-OBBPBN4S.js} +17 -144
- package/dist/chunk-OBBPBN4S.js.map +1 -0
- package/dist/chunk-OHXEZPBB.js +109 -0
- package/dist/chunk-OHXEZPBB.js.map +1 -0
- package/dist/{chunk-NZQZRBKV.js → chunk-VOONXP5H.js} +15 -57
- package/dist/chunk-VOONXP5H.js.map +1 -0
- package/dist/chunk-XSKGWT2D.js +84 -0
- package/dist/chunk-XSKGWT2D.js.map +1 -0
- package/dist/components/changelog.d.ts +0 -288
- package/dist/components/changelog.js +3 -12
- package/dist/components/g2-site.d.ts +27 -40
- package/dist/components/g2-site.js +1 -3
- package/dist/components/marketing.d.ts +0 -283
- package/dist/components/marketing.js +3 -13
- package/dist/components/organisms.d.ts +0 -489
- package/dist/components/organisms.js +3 -19
- package/dist/components/selling.d.ts +0 -255
- package/dist/components/selling.js +3 -15
- package/dist/components/site.d.ts +6 -52
- package/dist/components/site.js +3 -5
- package/dist/components/studio.d.ts +10 -95
- package/dist/components/studio.js +1 -3
- package/dist/index.d.ts +9 -13
- package/dist/index.js +23 -101
- package/dist/index.js.map +1 -1
- package/dist/standalone/atomic-ui-blocks.js +751 -1642
- package/dist/standalone/atomic-ui-blocks.js.map +4 -4
- package/dist/standalone/index.html +18 -26
- package/package.json +3 -3
- package/specimen/index.html +18 -26
- package/dist/chunk-BW5ZMKES.js.map +0 -1
- package/dist/chunk-GZTBAT6P.js +0 -574
- package/dist/chunk-GZTBAT6P.js.map +0 -1
- package/dist/chunk-NHWD2LUR.js +0 -255
- package/dist/chunk-NHWD2LUR.js.map +0 -1
- package/dist/chunk-NZQZRBKV.js.map +0 -1
- package/dist/chunk-Q366ZM2X.js.map +0 -1
- package/dist/chunk-R7SSIE2E.js +0 -362
- package/dist/chunk-R7SSIE2E.js.map +0 -1
- package/dist/chunk-XB6FD4SF.js +0 -438
- package/dist/chunk-XB6FD4SF.js.map +0 -1
- package/dist/chunk-YXMXLVK7.js +0 -230
- package/dist/chunk-YXMXLVK7.js.map +0 -1
- package/dist/chunk-ZD75GU6J.js +0 -75
- package/dist/chunk-ZD75GU6J.js.map +0 -1
- package/dist/chunk-ZM2HLQOG.js +0 -783
- package/dist/chunk-ZM2HLQOG.js.map +0 -1
- package/dist/chunk-ZODL5HD4.js +0 -535
- package/dist/chunk-ZODL5HD4.js.map +0 -1
- package/dist/components/card-grid.d.ts +0 -72
- package/dist/components/card-grid.js +0 -7
- package/dist/components/card-grid.js.map +0 -1
- package/dist/components/property.d.ts +0 -389
- package/dist/components/property.js +0 -17
- package/dist/components/property.js.map +0 -1
- package/dist/components/scene.d.ts +0 -138
- package/dist/components/scene.js +0 -7
- package/dist/components/scene.js.map +0 -1
- package/dist/components/scrubber.d.ts +0 -86
- package/dist/components/scrubber.js +0 -7
- package/dist/components/scrubber.js.map +0 -1
|
@@ -1,98 +1,5 @@
|
|
|
1
1
|
import { type TemplateResult } from 'lit';
|
|
2
2
|
import { ImpaktElement } from '@atomic-ui/ui';
|
|
3
|
-
/**
|
|
4
|
-
* The opening of a page: a short label, a big heading, a line of text, the
|
|
5
|
-
* page's main actions and, beside them, a picture.
|
|
6
|
-
*
|
|
7
|
-
* Put the buttons in the `actions` slot. The picture goes beside the words on
|
|
8
|
-
* a wide screen and below them on a phone, so the heading is always the first
|
|
9
|
-
* thing read.
|
|
10
|
-
*
|
|
11
|
-
* @category layout
|
|
12
|
-
* @icon hero
|
|
13
|
-
* @role heading
|
|
14
|
-
* A heading with more than words in it, such as a word picked out with
|
|
15
|
-
* `impakt-highlight`, is slotted as `heading`; it stays the hero's heading at
|
|
16
|
-
* its `level`, and `heading` is then only the fallback.
|
|
17
|
-
*
|
|
18
|
-
* @slot heading - The heading's words, when they hold more than text, such as an `impakt-highlight`.
|
|
19
|
-
* @slot actions - The page's main buttons and links.
|
|
20
|
-
* @slot search - A search bar across the bottom of a full-picture hero.
|
|
21
|
-
*/
|
|
22
|
-
export declare class ImpaktHero extends ImpaktElement {
|
|
23
|
-
static properties: {
|
|
24
|
-
eyebrow: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
};
|
|
27
|
-
heading: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
};
|
|
30
|
-
lead: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
};
|
|
33
|
-
level: {
|
|
34
|
-
type: NumberConstructor;
|
|
35
|
-
reflect: boolean;
|
|
36
|
-
};
|
|
37
|
-
imageSrc: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
attribute: string;
|
|
40
|
-
};
|
|
41
|
-
imageAlt: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
attribute: string;
|
|
44
|
-
};
|
|
45
|
-
treatment: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
reflect: boolean;
|
|
48
|
-
};
|
|
49
|
-
ratingText: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
attribute: string;
|
|
52
|
-
};
|
|
53
|
-
eyebrowIcon: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
attribute: string;
|
|
56
|
-
};
|
|
57
|
-
align: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
reflect: boolean;
|
|
60
|
-
};
|
|
61
|
-
spaceAbove: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
reflect: boolean;
|
|
64
|
-
attribute: string;
|
|
65
|
-
};
|
|
66
|
-
spaceBelow: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
reflect: boolean;
|
|
69
|
-
attribute: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
/** A short label above the heading, such as the name of the development. */
|
|
73
|
-
eyebrow: string;
|
|
74
|
-
heading: string;
|
|
75
|
-
/** A sentence or two under the heading. */
|
|
76
|
-
lead: string;
|
|
77
|
-
/** The heading's level in the page. A page's hero is usually its only level 1. */
|
|
78
|
-
level: 1 | 2;
|
|
79
|
-
imageSrc: string;
|
|
80
|
-
/** What the picture shows. Leave empty only when it is decoration. */
|
|
81
|
-
imageAlt: string;
|
|
82
|
-
/** The picture beside the words, or filling the whole block with the words over it. */
|
|
83
|
-
treatment: 'split' | 'cover';
|
|
84
|
-
/** A short line of proof on the picture, such as "4.8 from 312 buyers". */
|
|
85
|
-
ratingText: string;
|
|
86
|
-
/** A small picture before the eyebrow on a full-picture hero. */
|
|
87
|
-
eyebrowIcon: 'none' | 'arrow-right' | 'arrow-left' | 'chevron-right' | 'chevron-down' | 'check' | 'close' | 'menu' | 'plus' | 'minus' | 'search' | 'external' | 'download' | 'home' | 'phone' | 'mail' | 'map-pin' | 'calendar' | 'clock' | 'user' | 'star' | 'heart' | 'shield' | 'leaf' | 'sun' | 'bolt' | 'key' | 'info' | 'warning' | 'document' | 'pound' | 'chat';
|
|
88
|
-
/** Where the words sit. Centred heroes have no picture beside them. */
|
|
89
|
-
align: 'start' | 'center';
|
|
90
|
-
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
91
|
-
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
92
|
-
constructor();
|
|
93
|
-
static styles: import("lit").CSSResult[];
|
|
94
|
-
render(): TemplateResult;
|
|
95
|
-
}
|
|
96
3
|
/** One benefit or feature in a list of them. */
|
|
97
4
|
export interface FeatureItem {
|
|
98
5
|
id?: string;
|
|
@@ -168,198 +75,8 @@ export declare class ImpaktFeatureList extends ImpaktElement {
|
|
|
168
75
|
static styles: import("lit").CSSResult[];
|
|
169
76
|
render(): TemplateResult;
|
|
170
77
|
}
|
|
171
|
-
/**
|
|
172
|
-
* Something a customer said, and who said it.
|
|
173
|
-
*
|
|
174
|
-
* It is a `blockquote` with a `figcaption`, so the words and the person are
|
|
175
|
-
* tied together for a screen reader as well as on the screen.
|
|
176
|
-
*
|
|
177
|
-
* @category content
|
|
178
|
-
* @icon quote
|
|
179
|
-
*/
|
|
180
|
-
export declare class ImpaktQuote extends ImpaktElement {
|
|
181
|
-
static properties: {
|
|
182
|
-
quote: {
|
|
183
|
-
type: StringConstructor;
|
|
184
|
-
};
|
|
185
|
-
person: {
|
|
186
|
-
type: StringConstructor;
|
|
187
|
-
};
|
|
188
|
-
about: {
|
|
189
|
-
type: StringConstructor;
|
|
190
|
-
};
|
|
191
|
-
imageSrc: {
|
|
192
|
-
type: StringConstructor;
|
|
193
|
-
attribute: string;
|
|
194
|
-
};
|
|
195
|
-
size: {
|
|
196
|
-
type: StringConstructor;
|
|
197
|
-
reflect: boolean;
|
|
198
|
-
};
|
|
199
|
-
align: {
|
|
200
|
-
type: StringConstructor;
|
|
201
|
-
reflect: boolean;
|
|
202
|
-
};
|
|
203
|
-
spaceAbove: {
|
|
204
|
-
type: StringConstructor;
|
|
205
|
-
reflect: boolean;
|
|
206
|
-
attribute: string;
|
|
207
|
-
};
|
|
208
|
-
spaceBelow: {
|
|
209
|
-
type: StringConstructor;
|
|
210
|
-
reflect: boolean;
|
|
211
|
-
attribute: string;
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
/** The words they said, without quotation marks. */
|
|
215
|
-
quote: string;
|
|
216
|
-
/** Who said it. */
|
|
217
|
-
person: string;
|
|
218
|
-
/** Who they are, such as "Bought at Larkfield Meadows, 2025". */
|
|
219
|
-
about: string;
|
|
220
|
-
/** A photo of them. It is decoration, because their name is beside it. */
|
|
221
|
-
imageSrc: string;
|
|
222
|
-
size: 'md' | 'lg';
|
|
223
|
-
align: 'start' | 'center';
|
|
224
|
-
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
225
|
-
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
226
|
-
constructor();
|
|
227
|
-
static styles: import("lit").CSSResult[];
|
|
228
|
-
render(): TemplateResult;
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* A number that makes a point, with what it counts beneath it: "36 years",
|
|
232
|
-
* "Building in Kent since 1987".
|
|
233
|
-
*
|
|
234
|
-
* @category content
|
|
235
|
-
* @icon stat
|
|
236
|
-
*/
|
|
237
|
-
export declare class ImpaktStat extends ImpaktElement {
|
|
238
|
-
static properties: {
|
|
239
|
-
figure: {
|
|
240
|
-
type: StringConstructor;
|
|
241
|
-
};
|
|
242
|
-
label: {
|
|
243
|
-
type: StringConstructor;
|
|
244
|
-
};
|
|
245
|
-
note: {
|
|
246
|
-
type: StringConstructor;
|
|
247
|
-
};
|
|
248
|
-
size: {
|
|
249
|
-
type: StringConstructor;
|
|
250
|
-
reflect: boolean;
|
|
251
|
-
};
|
|
252
|
-
align: {
|
|
253
|
-
type: StringConstructor;
|
|
254
|
-
reflect: boolean;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
/** How large the number is drawn. */
|
|
258
|
-
size: 'md' | 'lg' | 'xl';
|
|
259
|
-
/** The number, written as it should appear, such as "36" or "£280k". */
|
|
260
|
-
figure: string;
|
|
261
|
-
/** What the number counts. */
|
|
262
|
-
label: string;
|
|
263
|
-
/** A line more, if the label needs it. */
|
|
264
|
-
note: string;
|
|
265
|
-
align: 'start' | 'center';
|
|
266
|
-
constructor();
|
|
267
|
-
static styles: import("lit").CSSResult[];
|
|
268
|
-
render(): TemplateResult;
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* A thin line of news across the top of a page: a launch, a change to opening
|
|
272
|
-
* hours. Keep it to one short sentence.
|
|
273
|
-
*
|
|
274
|
-
* @category feedback
|
|
275
|
-
* @icon alert
|
|
276
|
-
*/
|
|
277
|
-
export declare class ImpaktAnnouncement extends ImpaktElement {
|
|
278
|
-
static properties: {
|
|
279
|
-
message: {
|
|
280
|
-
type: StringConstructor;
|
|
281
|
-
};
|
|
282
|
-
linkText: {
|
|
283
|
-
type: StringConstructor;
|
|
284
|
-
attribute: string;
|
|
285
|
-
};
|
|
286
|
-
href: {
|
|
287
|
-
type: StringConstructor;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
message: string;
|
|
291
|
-
linkText: string;
|
|
292
|
-
href: string;
|
|
293
|
-
constructor();
|
|
294
|
-
static styles: import("lit").CSSResult[];
|
|
295
|
-
render(): TemplateResult;
|
|
296
|
-
}
|
|
297
|
-
/** One choice in a search bar. */
|
|
298
|
-
export interface SearchField {
|
|
299
|
-
id?: string;
|
|
300
|
-
/** The name it sends, such as "bedrooms". */
|
|
301
|
-
name?: string;
|
|
302
|
-
label: string;
|
|
303
|
-
/** What it shows before anything is chosen. */
|
|
304
|
-
placeholder?: string;
|
|
305
|
-
/** The other choices, separated by commas. */
|
|
306
|
-
options?: string;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* A row of choices and one button that finds what fits: where, how many
|
|
310
|
-
* bedrooms, up to what budget.
|
|
311
|
-
*
|
|
312
|
-
* Each choice is a native select with a real label. It sends the visitor to
|
|
313
|
-
* `action` with their choices in the address, so it works as a plain link can.
|
|
314
|
-
*
|
|
315
|
-
* @category form
|
|
316
|
-
* @icon search
|
|
317
|
-
* @fires {CustomEvent<{ values: Record<string, string> }>} impakt-submit - When the search is run. The choices are in detail.values.
|
|
318
|
-
*/
|
|
319
|
-
export declare class ImpaktSearchBar extends ImpaktElement {
|
|
320
|
-
static properties: {
|
|
321
|
-
items: {
|
|
322
|
-
type: ArrayConstructor;
|
|
323
|
-
};
|
|
324
|
-
buttonText: {
|
|
325
|
-
type: StringConstructor;
|
|
326
|
-
attribute: string;
|
|
327
|
-
};
|
|
328
|
-
action: {
|
|
329
|
-
type: StringConstructor;
|
|
330
|
-
};
|
|
331
|
-
label: {
|
|
332
|
-
type: StringConstructor;
|
|
333
|
-
};
|
|
334
|
-
spaceAbove: {
|
|
335
|
-
type: StringConstructor;
|
|
336
|
-
reflect: boolean;
|
|
337
|
-
attribute: string;
|
|
338
|
-
};
|
|
339
|
-
spaceBelow: {
|
|
340
|
-
type: StringConstructor;
|
|
341
|
-
reflect: boolean;
|
|
342
|
-
attribute: string;
|
|
343
|
-
};
|
|
344
|
-
};
|
|
345
|
-
items: SearchField[];
|
|
346
|
-
buttonText: string;
|
|
347
|
-
/** Where the search goes. Leave empty to handle it in the app. */
|
|
348
|
-
action: string;
|
|
349
|
-
/** What the search is called for a screen reader. */
|
|
350
|
-
label: string;
|
|
351
|
-
spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
352
|
-
spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
353
|
-
constructor();
|
|
354
|
-
static styles: import("lit").CSSResult[];
|
|
355
|
-
private submit;
|
|
356
|
-
render(): TemplateResult;
|
|
357
|
-
}
|
|
358
78
|
declare global {
|
|
359
79
|
interface HTMLElementTagNameMap {
|
|
360
|
-
'impakt-hero': ImpaktHero;
|
|
361
80
|
'impakt-feature-list': ImpaktFeatureList;
|
|
362
|
-
'impakt-quote': ImpaktQuote;
|
|
363
|
-
'impakt-stat': ImpaktStat;
|
|
364
81
|
}
|
|
365
82
|
}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
ImpaktHero,
|
|
5
|
-
ImpaktQuote,
|
|
6
|
-
ImpaktSearchBar,
|
|
7
|
-
ImpaktStat
|
|
8
|
-
} from "../chunk-R7SSIE2E.js";
|
|
2
|
+
ImpaktFeatureList
|
|
3
|
+
} from "../chunk-XSKGWT2D.js";
|
|
9
4
|
export {
|
|
10
|
-
|
|
11
|
-
ImpaktFeatureList,
|
|
12
|
-
ImpaktHero,
|
|
13
|
-
ImpaktQuote,
|
|
14
|
-
ImpaktSearchBar,
|
|
15
|
-
ImpaktStat
|
|
5
|
+
ImpaktFeatureList
|
|
16
6
|
};
|
|
17
7
|
//# sourceMappingURL=marketing.js.map
|