@atomic-ui/ui 0.1.5 → 0.1.7

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 (127) hide show
  1. package/README.md +13 -1
  2. package/dist/base/tokens.d.ts +23 -1
  3. package/dist/{chunk-CFGLOYWW.js → chunk-2YQA3VBY.js} +2 -2
  4. package/dist/{chunk-DR3SJ7ZV.js → chunk-4HU4Y23Q.js} +3 -3
  5. package/dist/{chunk-QH46SOPJ.js → chunk-5EA4IDUD.js} +54 -11
  6. package/dist/chunk-5EA4IDUD.js.map +1 -0
  7. package/dist/{chunk-3OSL2HMN.js → chunk-6ICOJPMD.js} +7 -5
  8. package/dist/chunk-6ICOJPMD.js.map +1 -0
  9. package/dist/{chunk-DI2CJ3MZ.js → chunk-7BIQ3K6H.js} +2 -2
  10. package/dist/{chunk-AXQ5YBN2.js → chunk-7Y6UCSUS.js} +135 -10
  11. package/dist/chunk-7Y6UCSUS.js.map +1 -0
  12. package/dist/{chunk-G6UVYMA6.js → chunk-BTGCUONV.js} +2 -2
  13. package/dist/{chunk-4JKUAA6K.js → chunk-C36CZRHK.js} +14 -5
  14. package/dist/chunk-C36CZRHK.js.map +1 -0
  15. package/dist/{chunk-ZDYTNFQI.js → chunk-CMAU4DSB.js} +15 -5
  16. package/dist/chunk-CMAU4DSB.js.map +1 -0
  17. package/dist/{chunk-HWNY6U5F.js → chunk-G6OVKNL7.js} +2 -2
  18. package/dist/{chunk-6UDDZQDK.js → chunk-GO2IBRFP.js} +3 -3
  19. package/dist/chunk-GO2IBRFP.js.map +1 -0
  20. package/dist/{chunk-KWURASAB.js → chunk-GSCVG2ER.js} +3 -3
  21. package/dist/{chunk-IBTOZOGI.js → chunk-HWWA27DN.js} +2 -2
  22. package/dist/{chunk-U2S7OESF.js → chunk-MLVUMCQ2.js} +45 -13
  23. package/dist/chunk-MLVUMCQ2.js.map +1 -0
  24. package/dist/{chunk-4AJPS5AU.js → chunk-MOEMFL4K.js} +15 -5
  25. package/dist/chunk-MOEMFL4K.js.map +1 -0
  26. package/dist/{chunk-5RVMMKMO.js → chunk-NQKYHILD.js} +3 -3
  27. package/dist/{chunk-5NUF7ZQA.js → chunk-NTNXHLTM.js} +24 -3
  28. package/dist/chunk-NTNXHLTM.js.map +1 -0
  29. package/dist/{chunk-OFAVRPRK.js → chunk-OB7LC6NJ.js} +2 -2
  30. package/dist/chunk-OB7LC6NJ.js.map +1 -0
  31. package/dist/chunk-QCNT7D5V.js +549 -0
  32. package/dist/chunk-QCNT7D5V.js.map +1 -0
  33. package/dist/{chunk-H6L3FSQY.js → chunk-QDNI54ON.js} +3 -3
  34. package/dist/{chunk-QELX47AP.js → chunk-T6L3USBZ.js} +31 -20
  35. package/dist/chunk-T6L3USBZ.js.map +1 -0
  36. package/dist/{chunk-TZD7IVVQ.js → chunk-TPF4MOMF.js} +8 -3
  37. package/dist/chunk-TPF4MOMF.js.map +1 -0
  38. package/dist/{chunk-S3EQO33M.js → chunk-VTFCTWSX.js} +6 -4
  39. package/dist/chunk-VTFCTWSX.js.map +1 -0
  40. package/dist/{chunk-2RBYVWZT.js → chunk-VWNBB7FW.js} +5 -3
  41. package/dist/chunk-VWNBB7FW.js.map +1 -0
  42. package/dist/{chunk-6GKI67P7.js → chunk-WECSVHIM.js} +2 -2
  43. package/dist/chunk-X7IPZPTG.js +710 -0
  44. package/dist/chunk-X7IPZPTG.js.map +1 -0
  45. package/dist/{chunk-57P4WO4Y.js → chunk-XJP45LFA.js} +28 -21
  46. package/dist/chunk-XJP45LFA.js.map +1 -0
  47. package/dist/{chunk-6MLXFFH4.js → chunk-XVKEM5JY.js} +3 -3
  48. package/dist/chunk-XVKEM5JY.js.map +1 -0
  49. package/dist/chunk-ZBLTU67D.js +424 -0
  50. package/dist/chunk-ZBLTU67D.js.map +1 -0
  51. package/dist/{chunk-JPEWRJSQ.js → chunk-ZGAOMRYD.js} +3 -3
  52. package/dist/{chunk-LLRJU7XE.js → chunk-ZQJD4YEJ.js} +6 -6
  53. package/dist/chunk-ZQJD4YEJ.js.map +1 -0
  54. package/dist/components/accordion.js +2 -2
  55. package/dist/components/alert.js +2 -2
  56. package/dist/components/app-ui.d.ts +421 -0
  57. package/dist/components/app-ui.js +26 -0
  58. package/dist/components/app-ui.js.map +1 -0
  59. package/dist/components/blocks.d.ts +2 -2
  60. package/dist/components/blocks.js +3 -3
  61. package/dist/components/button.d.ts +7 -0
  62. package/dist/components/button.js +3 -3
  63. package/dist/components/checkbox-group.js +3 -3
  64. package/dist/components/checkbox.js +3 -3
  65. package/dist/components/date-input.js +3 -3
  66. package/dist/components/dialog.js +2 -2
  67. package/dist/components/fieldset.js +2 -2
  68. package/dist/components/grid.d.ts +2 -2
  69. package/dist/components/grid.js +2 -2
  70. package/dist/components/help.js +2 -2
  71. package/dist/components/icon.js +2 -2
  72. package/dist/components/layout.d.ts +10 -5
  73. package/dist/components/layout.js +2 -2
  74. package/dist/components/link.js +3 -3
  75. package/dist/components/marketing.d.ts +119 -6
  76. package/dist/components/marketing.js +7 -3
  77. package/dist/components/media.js +2 -2
  78. package/dist/components/navigation.d.ts +9 -2
  79. package/dist/components/navigation.js +3 -3
  80. package/dist/components/organisms.d.ts +547 -0
  81. package/dist/components/organisms.js +25 -0
  82. package/dist/components/organisms.js.map +1 -0
  83. package/dist/components/page.d.ts +14 -3
  84. package/dist/components/page.js +2 -2
  85. package/dist/components/price.d.ts +5 -0
  86. package/dist/components/price.js +2 -2
  87. package/dist/components/progress.js +2 -2
  88. package/dist/components/property.d.ts +389 -0
  89. package/dist/components/property.js +19 -0
  90. package/dist/components/property.js.map +1 -0
  91. package/dist/components/radio-group.js +3 -3
  92. package/dist/components/select.js +3 -3
  93. package/dist/components/summary-list.js +2 -2
  94. package/dist/components/table.js +2 -2
  95. package/dist/components/text-input.js +3 -3
  96. package/dist/components/textarea.js +3 -3
  97. package/dist/index.d.ts +4 -1
  98. package/dist/index.js +94 -40
  99. package/package.json +2 -2
  100. package/dist/chunk-2RBYVWZT.js.map +0 -1
  101. package/dist/chunk-3OSL2HMN.js.map +0 -1
  102. package/dist/chunk-4AJPS5AU.js.map +0 -1
  103. package/dist/chunk-4JKUAA6K.js.map +0 -1
  104. package/dist/chunk-57P4WO4Y.js.map +0 -1
  105. package/dist/chunk-5NUF7ZQA.js.map +0 -1
  106. package/dist/chunk-6MLXFFH4.js.map +0 -1
  107. package/dist/chunk-6UDDZQDK.js.map +0 -1
  108. package/dist/chunk-AXQ5YBN2.js.map +0 -1
  109. package/dist/chunk-LLRJU7XE.js.map +0 -1
  110. package/dist/chunk-OFAVRPRK.js.map +0 -1
  111. package/dist/chunk-QELX47AP.js.map +0 -1
  112. package/dist/chunk-QH46SOPJ.js.map +0 -1
  113. package/dist/chunk-S3EQO33M.js.map +0 -1
  114. package/dist/chunk-TZD7IVVQ.js.map +0 -1
  115. package/dist/chunk-U2S7OESF.js.map +0 -1
  116. package/dist/chunk-ZDYTNFQI.js.map +0 -1
  117. /package/dist/{chunk-CFGLOYWW.js.map → chunk-2YQA3VBY.js.map} +0 -0
  118. /package/dist/{chunk-DR3SJ7ZV.js.map → chunk-4HU4Y23Q.js.map} +0 -0
  119. /package/dist/{chunk-DI2CJ3MZ.js.map → chunk-7BIQ3K6H.js.map} +0 -0
  120. /package/dist/{chunk-G6UVYMA6.js.map → chunk-BTGCUONV.js.map} +0 -0
  121. /package/dist/{chunk-HWNY6U5F.js.map → chunk-G6OVKNL7.js.map} +0 -0
  122. /package/dist/{chunk-KWURASAB.js.map → chunk-GSCVG2ER.js.map} +0 -0
  123. /package/dist/{chunk-IBTOZOGI.js.map → chunk-HWWA27DN.js.map} +0 -0
  124. /package/dist/{chunk-5RVMMKMO.js.map → chunk-NQKYHILD.js.map} +0 -0
  125. /package/dist/{chunk-H6L3FSQY.js.map → chunk-QDNI54ON.js.map} +0 -0
  126. /package/dist/{chunk-6GKI67P7.js.map → chunk-WECSVHIM.js.map} +0 -0
  127. /package/dist/{chunk-JPEWRJSQ.js.map → chunk-ZGAOMRYD.js.map} +0 -0
@@ -0,0 +1,547 @@
1
+ import { type TemplateResult } from 'lit';
2
+ import { ImpktElement } from '../base/ImpktElement';
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 ImpktCarousel extends ImpktElement {
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 ImpktGallery extends ImpktElement {
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 ImpktLogoCloud extends ImpktElement {
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
+ }
215
+ /**
216
+ * A process, in order, joined by a line: how buying a home works, what happens
217
+ * after you apply.
218
+ *
219
+ * It is an ordered list, so a screen reader says the number and how many there
220
+ * are. The numbers are drawn from the list, not typed in.
221
+ *
222
+ * @category content
223
+ * @icon steps
224
+ */
225
+ export declare class ImpktSteps extends ImpktElement {
226
+ static properties: {
227
+ items: {
228
+ type: ArrayConstructor;
229
+ };
230
+ orientation: {
231
+ type: StringConstructor;
232
+ reflect: boolean;
233
+ };
234
+ headingLevel: {
235
+ type: NumberConstructor;
236
+ attribute: string;
237
+ };
238
+ spaceAbove: {
239
+ type: StringConstructor;
240
+ reflect: boolean;
241
+ attribute: string;
242
+ };
243
+ spaceBelow: {
244
+ type: StringConstructor;
245
+ reflect: boolean;
246
+ attribute: string;
247
+ };
248
+ };
249
+ items: StepItem[];
250
+ /** Across the page, or down it. Across becomes down on a narrow screen. */
251
+ orientation: 'horizontal' | 'vertical';
252
+ /** The level of each step's heading. One below the heading above the steps. */
253
+ headingLevel: 2 | 3 | 4;
254
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
255
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
256
+ constructor();
257
+ static styles: import("lit").CSSResult[];
258
+ render(): TemplateResult;
259
+ }
260
+ /**
261
+ * A picture beside words, the working section of a marketing page: a heading,
262
+ * a line of text, a short list of points and an action.
263
+ *
264
+ * On a phone the words come first, whichever side the picture is on, so the
265
+ * reading order never depends on the layout.
266
+ *
267
+ * @category layout
268
+ * @icon split
269
+ * @role heading
270
+ * @slot actions - Buttons and links under the words.
271
+ */
272
+ export declare class ImpktMediaSplit extends ImpktElement {
273
+ static properties: {
274
+ eyebrow: {
275
+ type: StringConstructor;
276
+ };
277
+ heading: {
278
+ type: StringConstructor;
279
+ };
280
+ lead: {
281
+ type: StringConstructor;
282
+ };
283
+ points: {
284
+ type: ArrayConstructor;
285
+ };
286
+ level: {
287
+ type: NumberConstructor;
288
+ reflect: boolean;
289
+ };
290
+ imageSrc: {
291
+ type: StringConstructor;
292
+ attribute: string;
293
+ };
294
+ imageAlt: {
295
+ type: StringConstructor;
296
+ attribute: string;
297
+ };
298
+ imageSide: {
299
+ type: StringConstructor;
300
+ reflect: boolean;
301
+ attribute: string;
302
+ };
303
+ insetSrc: {
304
+ type: StringConstructor;
305
+ attribute: string;
306
+ };
307
+ insetAlt: {
308
+ type: StringConstructor;
309
+ attribute: string;
310
+ };
311
+ ratio: {
312
+ type: StringConstructor;
313
+ reflect: boolean;
314
+ };
315
+ spaceAbove: {
316
+ type: StringConstructor;
317
+ reflect: boolean;
318
+ attribute: string;
319
+ };
320
+ spaceBelow: {
321
+ type: StringConstructor;
322
+ reflect: boolean;
323
+ attribute: string;
324
+ };
325
+ };
326
+ eyebrow: string;
327
+ heading: string;
328
+ /** A sentence or two under the heading. */
329
+ lead: string;
330
+ /** Short points, each drawn with a tick. */
331
+ points: string[];
332
+ /** The heading's level in the page. */
333
+ level: 2 | 3;
334
+ imageSrc: string;
335
+ /** What the picture shows. Leave empty only when it is decoration. */
336
+ imageAlt: string;
337
+ /** A smaller picture overlapping the corner of the main one. */
338
+ insetSrc: string;
339
+ insetAlt: string;
340
+ /** Which side the picture sits on, on a wide screen. */
341
+ imageSide: 'start' | 'end';
342
+ /** The picture's shape. */
343
+ ratio: '4:3' | '1:1' | '3:2' | '16:9';
344
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
345
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
346
+ constructor();
347
+ static styles: import("lit").CSSResult[];
348
+ render(): TemplateResult;
349
+ }
350
+ /**
351
+ * The closing push of a page: a rounded panel with a heading, a line of text
352
+ * and the page's main action, set apart from everything above it.
353
+ *
354
+ * @category layout
355
+ * @icon banner
356
+ * @slot actions - The buttons.
357
+ */
358
+ export declare class ImpktCtaBanner extends ImpktElement {
359
+ static properties: {
360
+ heading: {
361
+ type: StringConstructor;
362
+ };
363
+ lead: {
364
+ type: StringConstructor;
365
+ };
366
+ tone: {
367
+ type: StringConstructor;
368
+ reflect: boolean;
369
+ };
370
+ align: {
371
+ type: StringConstructor;
372
+ reflect: boolean;
373
+ };
374
+ imageSrc: {
375
+ type: StringConstructor;
376
+ attribute: string;
377
+ };
378
+ imageAlt: {
379
+ type: StringConstructor;
380
+ attribute: string;
381
+ };
382
+ headingLevel: {
383
+ type: NumberConstructor;
384
+ attribute: string;
385
+ };
386
+ spaceAbove: {
387
+ type: StringConstructor;
388
+ reflect: boolean;
389
+ attribute: string;
390
+ };
391
+ spaceBelow: {
392
+ type: StringConstructor;
393
+ reflect: boolean;
394
+ attribute: string;
395
+ };
396
+ };
397
+ heading: string;
398
+ lead: string;
399
+ /** The panel's colour. */
400
+ tone: 'brand' | 'subtle' | 'card';
401
+ /** Words beside the action, centred above it, or above it on the left. */
402
+ align: 'split' | 'center' | 'stacked';
403
+ /** A photo behind the words, with a scrim so they stay readable. */
404
+ imageSrc: string;
405
+ imageAlt: string;
406
+ headingLevel: 2 | 3;
407
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
408
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
409
+ constructor();
410
+ static styles: import("lit").CSSResult[];
411
+ render(): TemplateResult;
412
+ }
413
+ /** One review. */
414
+ export interface ReviewItem {
415
+ id?: string;
416
+ quote: string;
417
+ person: string;
418
+ about?: string;
419
+ rating?: number;
420
+ avatarSrc?: string;
421
+ }
422
+ /**
423
+ * What customers say, in cards, with their rating and a face or their
424
+ * initials, and a summary line above them.
425
+ *
426
+ * A rating is said in words as well as drawn in stars.
427
+ *
428
+ * @category content
429
+ * @icon reviews
430
+ */
431
+ export declare class ImpktReviews extends ImpktElement {
432
+ static properties: {
433
+ summary: {
434
+ type: StringConstructor;
435
+ };
436
+ rating: {
437
+ type: NumberConstructor;
438
+ };
439
+ items: {
440
+ type: ArrayConstructor;
441
+ };
442
+ columns: {
443
+ type: StringConstructor;
444
+ reflect: boolean;
445
+ };
446
+ spaceAbove: {
447
+ type: StringConstructor;
448
+ reflect: boolean;
449
+ attribute: string;
450
+ };
451
+ spaceBelow: {
452
+ type: StringConstructor;
453
+ reflect: boolean;
454
+ attribute: string;
455
+ };
456
+ };
457
+ /** A line above the reviews, such as "4.8 from 312 buyers". */
458
+ summary: string;
459
+ /** The overall rating out of 5, drawn beside the summary. */
460
+ rating: number | undefined;
461
+ items: ReviewItem[];
462
+ columns: 'two' | 'three';
463
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
464
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
465
+ constructor();
466
+ static styles: import("lit").CSSResult[];
467
+ render(): TemplateResult;
468
+ }
469
+ /**
470
+ * An email sign-up in one line: release dates, price lists, launch news.
471
+ *
472
+ * The field has a real label, the browser checks the address, and what happens
473
+ * with the address is said beside the button. The app receives the address and
474
+ * says when it is done.
475
+ *
476
+ * @category form
477
+ * @icon mail
478
+ * @fires impkt-submit - When a valid address is sent. The address is in detail.email.
479
+ */
480
+ export declare class ImpktNewsletter extends ImpktElement {
481
+ static properties: {
482
+ heading: {
483
+ type: StringConstructor;
484
+ };
485
+ lead: {
486
+ type: StringConstructor;
487
+ };
488
+ label: {
489
+ type: StringConstructor;
490
+ };
491
+ buttonText: {
492
+ type: StringConstructor;
493
+ attribute: string;
494
+ };
495
+ smallPrint: {
496
+ type: StringConstructor;
497
+ attribute: string;
498
+ };
499
+ doneText: {
500
+ type: StringConstructor;
501
+ attribute: string;
502
+ };
503
+ headingLevel: {
504
+ type: NumberConstructor;
505
+ attribute: string;
506
+ };
507
+ spaceAbove: {
508
+ type: StringConstructor;
509
+ reflect: boolean;
510
+ attribute: string;
511
+ };
512
+ spaceBelow: {
513
+ type: StringConstructor;
514
+ reflect: boolean;
515
+ attribute: string;
516
+ };
517
+ };
518
+ heading: string;
519
+ lead: string;
520
+ /** The field's label. */
521
+ label: string;
522
+ buttonText: string;
523
+ /** What happens with the address, such as how to stop the emails. */
524
+ smallPrint: string;
525
+ /** What is said once the address is sent. */
526
+ doneText: string;
527
+ headingLevel: 2 | 3;
528
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
529
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
530
+ private done;
531
+ constructor();
532
+ static styles: import("lit").CSSResult[];
533
+ private submit;
534
+ render(): TemplateResult;
535
+ }
536
+ declare global {
537
+ interface HTMLElementTagNameMap {
538
+ 'impkt-carousel': ImpktCarousel;
539
+ 'impkt-gallery': ImpktGallery;
540
+ 'impkt-logo-cloud': ImpktLogoCloud;
541
+ 'impkt-steps': ImpktSteps;
542
+ 'impkt-media-split': ImpktMediaSplit;
543
+ 'impkt-cta-banner': ImpktCtaBanner;
544
+ 'impkt-reviews': ImpktReviews;
545
+ 'impkt-newsletter': ImpktNewsletter;
546
+ }
547
+ }
@@ -0,0 +1,25 @@
1
+ import {
2
+ ImpktCarousel,
3
+ ImpktCtaBanner,
4
+ ImpktGallery,
5
+ ImpktLogoCloud,
6
+ ImpktMediaSplit,
7
+ ImpktNewsletter,
8
+ ImpktReviews,
9
+ ImpktSteps,
10
+ gallerySpan
11
+ } from "../chunk-X7IPZPTG.js";
12
+ import "../chunk-2YQA3VBY.js";
13
+ import "../chunk-NTNXHLTM.js";
14
+ export {
15
+ ImpktCarousel,
16
+ ImpktCtaBanner,
17
+ ImpktGallery,
18
+ ImpktLogoCloud,
19
+ ImpktMediaSplit,
20
+ ImpktNewsletter,
21
+ ImpktReviews,
22
+ ImpktSteps,
23
+ gallerySpan
24
+ };
25
+ //# sourceMappingURL=organisms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -46,9 +46,20 @@ export declare class ImpktPage extends ImpktElement {
46
46
  private hasSlot;
47
47
  private skip;
48
48
  render(): TemplateResult;
49
+ /**
50
+ * The header floats when the page opens on a full-picture hero, sitting on the
51
+ * picture itself, so nothing has to be set for it. It stays an ordinary bar
52
+ * while editing, where the blocks are kept inside the page's box.
53
+ */
54
+ private place;
55
+ /** Whether nothing a reader would notice comes before this block, other than an announcement. */
56
+ private opensOn;
49
57
  connectedCallback(): void;
50
58
  disconnectedCallback(): void;
59
+ protected firstUpdated(): void;
51
60
  private observer?;
61
+ private watcher?;
62
+ private resize?;
52
63
  }
53
64
  /**
54
65
  * A band across the whole width of the page, with its own background, and its
@@ -98,15 +109,15 @@ export declare class ImpktSection extends ImpktElement {
98
109
  /** The band's background. Text on it takes the matching colour, so it stays readable. */
99
110
  tone: 'none' | 'subtle' | 'inset' | 'brand' | 'card';
100
111
  /** Space inside the band, above and below its content. */
101
- padding: 'none' | 'sm' | 'md' | 'lg' | 'xl';
112
+ padding: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
102
113
  /** How wide the content inside runs. */
103
114
  width: 'narrow' | 'standard' | 'wide';
104
115
  /** Run the background to the edges of the screen. */
105
116
  bleed: boolean;
106
117
  /** A name for the section, so a screen reader can find it in the page's regions. Leave empty for none. */
107
118
  label: string;
108
- spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl';
109
- spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl';
119
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
120
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
110
121
  constructor();
111
122
  static styles: import("lit").CSSResult[];
112
123
  render(): TemplateResult;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ImpktPage,
3
3
  ImpktSection
4
- } from "../chunk-QH46SOPJ.js";
5
- import "../chunk-5NUF7ZQA.js";
4
+ } from "../chunk-5EA4IDUD.js";
5
+ import "../chunk-NTNXHLTM.js";
6
6
  export {
7
7
  ImpktPage,
8
8
  ImpktSection
@@ -35,6 +35,9 @@ export declare class ImpktPrice extends ImpktElement {
35
35
  locale: {
36
36
  type: StringConstructor;
37
37
  };
38
+ prefix: {
39
+ type: StringConstructor;
40
+ };
38
41
  period: {
39
42
  type: StringConstructor;
40
43
  };
@@ -50,6 +53,8 @@ export declare class ImpktPrice extends ImpktElement {
50
53
  amount: number | undefined;
51
54
  currency: string;
52
55
  locale: string;
56
+ /** "From", "Guide". Read before the amount. */
57
+ prefix: string;
53
58
  /** "a month", "a year". Read after the amount. */
54
59
  period: string;
55
60
  size: 'md' | 'lg' | 'xl';
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ImpktPrice
3
- } from "../chunk-TZD7IVVQ.js";
4
- import "../chunk-5NUF7ZQA.js";
3
+ } from "../chunk-TPF4MOMF.js";
4
+ import "../chunk-NTNXHLTM.js";
5
5
  export {
6
6
  ImpktPrice
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ImpktProgress
3
- } from "../chunk-HWNY6U5F.js";
4
- import "../chunk-5NUF7ZQA.js";
3
+ } from "../chunk-G6OVKNL7.js";
4
+ import "../chunk-NTNXHLTM.js";
5
5
  export {
6
6
  ImpktProgress
7
7
  };