@atomic-ui/blocks 0.13.2 → 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.
Files changed (83) hide show
  1. package/README.md +15 -15
  2. package/custom-elements.json +2961 -9573
  3. package/dist/{chunk-B6I3GVJ5.js → chunk-3G3NP4UC.js} +9 -4
  4. package/dist/chunk-3G3NP4UC.js.map +1 -0
  5. package/dist/{chunk-H262HKSL.js → chunk-7OFH762N.js} +53 -23
  6. package/dist/chunk-7OFH762N.js.map +1 -0
  7. package/dist/{chunk-WTVF3JRL.js → chunk-GDATDR2Q.js} +24 -7
  8. package/dist/chunk-GDATDR2Q.js.map +1 -0
  9. package/dist/chunk-GQ2I44OU.js +226 -0
  10. package/dist/chunk-GQ2I44OU.js.map +1 -0
  11. package/dist/chunk-HISF6RYK.js +199 -0
  12. package/dist/chunk-HISF6RYK.js.map +1 -0
  13. package/dist/{chunk-53V2GY6L.js → chunk-LJGOTYDJ.js} +76 -69
  14. package/dist/chunk-LJGOTYDJ.js.map +1 -0
  15. package/dist/{chunk-WIVKJL64.js → chunk-OBBPBN4S.js} +73 -164
  16. package/dist/chunk-OBBPBN4S.js.map +1 -0
  17. package/dist/chunk-OHXEZPBB.js +109 -0
  18. package/dist/chunk-OHXEZPBB.js.map +1 -0
  19. package/dist/{chunk-FNGN2F6Y.js → chunk-VOONXP5H.js} +30 -59
  20. package/dist/chunk-VOONXP5H.js.map +1 -0
  21. package/dist/chunk-XSKGWT2D.js +84 -0
  22. package/dist/chunk-XSKGWT2D.js.map +1 -0
  23. package/dist/components/changelog.d.ts +0 -288
  24. package/dist/components/changelog.js +3 -12
  25. package/dist/components/estimator.js +1 -1
  26. package/dist/components/g2-case.d.ts +8 -1
  27. package/dist/components/g2-case.js +1 -1
  28. package/dist/components/g2-site.d.ts +49 -41
  29. package/dist/components/g2-site.js +1 -3
  30. package/dist/components/journey.d.ts +13 -2
  31. package/dist/components/journey.js +1 -1
  32. package/dist/components/marketing.d.ts +0 -283
  33. package/dist/components/marketing.js +3 -13
  34. package/dist/components/organisms.d.ts +0 -489
  35. package/dist/components/organisms.js +3 -19
  36. package/dist/components/selling.d.ts +0 -255
  37. package/dist/components/selling.js +3 -15
  38. package/dist/components/site.d.ts +8 -53
  39. package/dist/components/site.js +3 -5
  40. package/dist/components/studio.d.ts +42 -98
  41. package/dist/components/studio.js +1 -3
  42. package/dist/index.d.ts +9 -13
  43. package/dist/index.js +25 -103
  44. package/dist/index.js.map +1 -1
  45. package/dist/standalone/atomic-ui-blocks.js +832 -1622
  46. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  47. package/dist/standalone/index.html +18 -26
  48. package/package.json +3 -3
  49. package/specimen/index.html +18 -26
  50. package/dist/chunk-53V2GY6L.js.map +0 -1
  51. package/dist/chunk-B6I3GVJ5.js.map +0 -1
  52. package/dist/chunk-FNGN2F6Y.js.map +0 -1
  53. package/dist/chunk-H262HKSL.js.map +0 -1
  54. package/dist/chunk-IT2NA25D.js +0 -571
  55. package/dist/chunk-IT2NA25D.js.map +0 -1
  56. package/dist/chunk-MMADM6OW.js +0 -782
  57. package/dist/chunk-MMADM6OW.js.map +0 -1
  58. package/dist/chunk-NHWD2LUR.js +0 -255
  59. package/dist/chunk-NHWD2LUR.js.map +0 -1
  60. package/dist/chunk-R7SSIE2E.js +0 -362
  61. package/dist/chunk-R7SSIE2E.js.map +0 -1
  62. package/dist/chunk-WIVKJL64.js.map +0 -1
  63. package/dist/chunk-WTVF3JRL.js.map +0 -1
  64. package/dist/chunk-XB6FD4SF.js +0 -438
  65. package/dist/chunk-XB6FD4SF.js.map +0 -1
  66. package/dist/chunk-YXMXLVK7.js +0 -230
  67. package/dist/chunk-YXMXLVK7.js.map +0 -1
  68. package/dist/chunk-ZD75GU6J.js +0 -75
  69. package/dist/chunk-ZD75GU6J.js.map +0 -1
  70. package/dist/chunk-ZODL5HD4.js +0 -535
  71. package/dist/chunk-ZODL5HD4.js.map +0 -1
  72. package/dist/components/card-grid.d.ts +0 -72
  73. package/dist/components/card-grid.js +0 -7
  74. package/dist/components/card-grid.js.map +0 -1
  75. package/dist/components/property.d.ts +0 -389
  76. package/dist/components/property.js +0 -17
  77. package/dist/components/property.js.map +0 -1
  78. package/dist/components/scene.d.ts +0 -138
  79. package/dist/components/scene.js +0 -7
  80. package/dist/components/scene.js.map +0 -1
  81. package/dist/components/scrubber.d.ts +0 -86
  82. package/dist/components/scrubber.js +0 -7
  83. package/dist/components/scrubber.js.map +0 -1
@@ -2,20 +2,18 @@ import {
2
2
  ImpaktColumnList,
3
3
  ImpaktCursor,
4
4
  ImpaktFacts,
5
- ImpaktHandNote,
6
5
  ImpaktNumberedList,
7
6
  ImpaktOfficeCard,
8
7
  ImpaktSectionHead,
9
8
  ImpaktServiceCard,
10
9
  ImpaktStageTag,
11
10
  STAGE_WORDS
12
- } from "../chunk-53V2GY6L.js";
11
+ } from "../chunk-LJGOTYDJ.js";
13
12
  import "../chunk-EGNQHWY6.js";
14
13
  export {
15
14
  ImpaktColumnList,
16
15
  ImpaktCursor,
17
16
  ImpaktFacts,
18
- ImpaktHandNote,
19
17
  ImpaktNumberedList,
20
18
  ImpaktOfficeCard,
21
19
  ImpaktSectionHead,
@@ -91,8 +91,9 @@ export declare function cubicBezier([x1, y1, x2, y2]: readonly number[]): (x: nu
91
91
  *
92
92
  * **`annotations` draws the design notes around it**, as the site's motion
93
93
  * frames show: the stage's caption above, a handwritten note in the margin at
94
- * the note stage, the width and height marks at the wireframe and component,
95
- * the spec tags under the component and a pointer at the live button. They
94
+ * the note stage (unless the brand or `margin-note-shown` leaves it out), the
95
+ * width and height marks at the wireframe and component, the spec tags under
96
+ * the component and a pointer at the live button. They
96
97
  * are decoration and are hidden from a screen reader. Leave it off when the
97
98
  * button is a plain call to action.
98
99
  *
@@ -143,6 +144,11 @@ export declare class ImpaktJourneyButton extends ImpaktElement {
143
144
  type: StringConstructor;
144
145
  attribute: string;
145
146
  };
147
+ marginNoteShown: {
148
+ type: StringConstructor;
149
+ reflect: boolean;
150
+ attribute: string;
151
+ };
146
152
  specs: {
147
153
  type: ArrayConstructor;
148
154
  };
@@ -190,6 +196,11 @@ export declare class ImpaktJourneyButton extends ImpaktElement {
190
196
  captions: string[];
191
197
  /** With `annotations`: the handwritten note beside the sticky note. */
192
198
  marginNote: string;
199
+ /**
200
+ * With `annotations`: whether the handwritten note is drawn. Left empty, the brand decides through its
201
+ * `journey.margin-note` shape, which Impakt sets to `none`; `yes` draws it and `no` leaves it out.
202
+ */
203
+ marginNoteShown: '' | 'yes' | 'no';
193
204
  /** With `annotations`: the tags under the component, such as "Fill · Accent/Signal". */
194
205
  specs: string[];
195
206
  /** With `annotations`: the width written on the width mark, "320" unless set. */
@@ -3,7 +3,7 @@ import {
3
3
  JOURNEY_MOVES,
4
4
  JOURNEY_STAGES,
5
5
  cubicBezier
6
- } from "../chunk-WTVF3JRL.js";
6
+ } from "../chunk-GDATDR2Q.js";
7
7
  export {
8
8
  ImpaktJourneyButton,
9
9
  JOURNEY_MOVES,
@@ -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
- ImpaktAnnouncement,
3
- ImpaktFeatureList,
4
- ImpaktHero,
5
- ImpaktQuote,
6
- ImpaktSearchBar,
7
- ImpaktStat
8
- } from "../chunk-R7SSIE2E.js";
2
+ ImpaktFeatureList
3
+ } from "../chunk-XSKGWT2D.js";
9
4
  export {
10
- ImpaktAnnouncement,
11
- ImpaktFeatureList,
12
- ImpaktHero,
13
- ImpaktQuote,
14
- ImpaktSearchBar,
15
- ImpaktStat
5
+ ImpaktFeatureList
16
6
  };
17
7
  //# sourceMappingURL=marketing.js.map