@atomic-ui/blocks 0.10.1 → 0.12.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 (84) hide show
  1. package/custom-elements.json +3157 -97
  2. package/dist/chunk-2URXTXNQ.js +296 -0
  3. package/dist/chunk-2URXTXNQ.js.map +1 -0
  4. package/dist/chunk-7X4WGV6K.js +97 -0
  5. package/dist/chunk-7X4WGV6K.js.map +1 -0
  6. package/dist/{chunk-QGVIJNTD.js → chunk-CCFBROX3.js} +127 -41
  7. package/dist/chunk-CCFBROX3.js.map +1 -0
  8. package/dist/{chunk-NLHFBIGQ.js → chunk-EYP5LWUR.js} +28 -10
  9. package/dist/chunk-EYP5LWUR.js.map +1 -0
  10. package/dist/chunk-GRKPKJZH.js +275 -0
  11. package/dist/chunk-GRKPKJZH.js.map +1 -0
  12. package/dist/{chunk-OR4U4UJQ.js → chunk-MX7FU5JE.js} +69 -1
  13. package/dist/chunk-MX7FU5JE.js.map +1 -0
  14. package/dist/{chunk-UVHQY3QJ.js → chunk-NHWD2LUR.js} +2 -2
  15. package/dist/chunk-NHWD2LUR.js.map +1 -0
  16. package/dist/{chunk-FLOKZ7O3.js → chunk-PIUPEB4I.js} +44 -11
  17. package/dist/chunk-PIUPEB4I.js.map +1 -0
  18. package/dist/{chunk-HNCJLMQB.js → chunk-R7SSIE2E.js} +26 -8
  19. package/dist/chunk-R7SSIE2E.js.map +1 -0
  20. package/dist/{chunk-LJ6AQO26.js → chunk-SYTQIQT2.js} +73 -18
  21. package/dist/chunk-SYTQIQT2.js.map +1 -0
  22. package/dist/chunk-WGDMORWT.js +48 -0
  23. package/dist/chunk-WGDMORWT.js.map +1 -0
  24. package/dist/{chunk-PALYJCLC.js → chunk-XB6FD4SF.js} +3 -3
  25. package/dist/chunk-XB6FD4SF.js.map +1 -0
  26. package/dist/chunk-XNRFZCNB.js +499 -0
  27. package/dist/chunk-XNRFZCNB.js.map +1 -0
  28. package/dist/{chunk-CC2U2L2H.js → chunk-YXMXLVK7.js} +3 -3
  29. package/dist/chunk-YXMXLVK7.js.map +1 -0
  30. package/dist/{chunk-YC6KXE6O.js → chunk-ZD75GU6J.js} +7 -4
  31. package/dist/chunk-ZD75GU6J.js.map +1 -0
  32. package/dist/{chunk-TT2PTEQO.js → chunk-ZODL5HD4.js} +64 -17
  33. package/dist/chunk-ZODL5HD4.js.map +1 -0
  34. package/dist/components/card-grid.js +1 -1
  35. package/dist/components/changelog.d.ts +24 -0
  36. package/dist/components/changelog.js +2 -2
  37. package/dist/components/estimator.d.ts +25 -0
  38. package/dist/components/estimator.js +1 -1
  39. package/dist/components/g2-case.d.ts +225 -0
  40. package/dist/components/g2-case.js +16 -0
  41. package/dist/components/g2-case.js.map +1 -0
  42. package/dist/components/g2-shared.d.ts +28 -0
  43. package/dist/components/g2-shared.js +35 -0
  44. package/dist/components/g2-shared.js.map +1 -0
  45. package/dist/components/g2-site.d.ts +493 -0
  46. package/dist/components/g2-site.js +26 -0
  47. package/dist/components/g2-site.js.map +1 -0
  48. package/dist/components/g2-tools.d.ts +77 -0
  49. package/dist/components/g2-tools.js +8 -0
  50. package/dist/components/g2-tools.js.map +1 -0
  51. package/dist/components/journey.d.ts +79 -9
  52. package/dist/components/journey.js +1 -1
  53. package/dist/components/marketing.d.ts +23 -0
  54. package/dist/components/marketing.js +1 -1
  55. package/dist/components/organisms.d.ts +23 -2
  56. package/dist/components/organisms.js +1 -1
  57. package/dist/components/property.js +1 -1
  58. package/dist/components/scene.js +1 -1
  59. package/dist/components/scrubber.js +1 -1
  60. package/dist/components/selling.d.ts +42 -1
  61. package/dist/components/selling.js +1 -1
  62. package/dist/components/site.d.ts +78 -0
  63. package/dist/components/site.js +1 -1
  64. package/dist/components/studio.d.ts +87 -6
  65. package/dist/components/studio.js +1 -1
  66. package/dist/index.d.ts +3 -0
  67. package/dist/index.js +81 -42
  68. package/dist/index.js.map +1 -1
  69. package/dist/standalone/atomic-ui-blocks.js +1373 -787
  70. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  71. package/package.json +3 -3
  72. package/dist/chunk-CC2U2L2H.js.map +0 -1
  73. package/dist/chunk-FLOKZ7O3.js.map +0 -1
  74. package/dist/chunk-HNCJLMQB.js.map +0 -1
  75. package/dist/chunk-LJ6AQO26.js.map +0 -1
  76. package/dist/chunk-NLHFBIGQ.js.map +0 -1
  77. package/dist/chunk-OR4U4UJQ.js.map +0 -1
  78. package/dist/chunk-PALYJCLC.js.map +0 -1
  79. package/dist/chunk-QGVIJNTD.js.map +0 -1
  80. package/dist/chunk-SOFMXF32.js +0 -142
  81. package/dist/chunk-SOFMXF32.js.map +0 -1
  82. package/dist/chunk-TT2PTEQO.js.map +0 -1
  83. package/dist/chunk-UVHQY3QJ.js.map +0 -1
  84. package/dist/chunk-YC6KXE6O.js.map +0 -1
@@ -0,0 +1,493 @@
1
+ /**
2
+ * The G2 Noire site blocks: the stage tag and section head every section starts
3
+ * with, the service card, the cursors and hand notes on the hero, the facts,
4
+ * numbered and column lists, and the office card.
5
+ */
6
+ import { type TemplateResult } from 'lit';
7
+ import { ImpaktElement } from '@atomic-ui/ui';
8
+ /** The five stages of a project, as the stage tags name them. */
9
+ export type StageName = 'note' | 'wireframe' | 'component' | 'code' | 'live';
10
+ /** Each stage's number, phase and name, in English; `say` puts them in the page's language. */
11
+ export declare const STAGE_WORDS: Record<StageName, readonly [string, string, string]>;
12
+ /**
13
+ * A small square mono tag that says which stage of a project a section shows,
14
+ * such as "01 Discover Note": the number in the accent, the phase in paper and
15
+ * the stage's name quieter, on ink.
16
+ *
17
+ * Set `stage` for one of the five stages, or `index`, `phase` and `label` for
18
+ * your own words; each one set wins over the stage's. On an ink band, set
19
+ * `on-ink`: the tag is raised off the band with a line round it.
20
+ *
21
+ * **It is decoration.** The section's heading says what the section is, so the
22
+ * tag is hidden from a screen reader unless `announce` is set (1.3.1). The tag
23
+ * stays ink in both themes, so the yellow on it stays readable (1.4.3).
24
+ *
25
+ * @category content
26
+ * @icon tag
27
+ */
28
+ export declare class ImpaktStageTag extends ImpaktElement {
29
+ static properties: {
30
+ stage: {
31
+ type: StringConstructor;
32
+ reflect: boolean;
33
+ };
34
+ index: {
35
+ type: StringConstructor;
36
+ };
37
+ phase: {
38
+ type: StringConstructor;
39
+ };
40
+ label: {
41
+ type: StringConstructor;
42
+ };
43
+ onInk: {
44
+ type: BooleanConstructor;
45
+ reflect: boolean;
46
+ attribute: string;
47
+ };
48
+ announce: {
49
+ type: BooleanConstructor;
50
+ };
51
+ };
52
+ /** One of the five stages, which fills in the words. Leave empty to give them yourself. */
53
+ stage: StageName | '';
54
+ /** The number, such as "01". */
55
+ index: string;
56
+ /** The phase, such as "Discover". */
57
+ phase: string;
58
+ /** The stage's name, such as "Note". */
59
+ label: string;
60
+ /** Raise the tag off an ink band, with a line round it. */
61
+ onInk: boolean;
62
+ /** Let a screen reader read the tag. Leave off when the heading beside it says the same. */
63
+ announce: boolean;
64
+ constructor();
65
+ static styles: import("lit").CSSResult[];
66
+ render(): TemplateResult;
67
+ }
68
+ /**
69
+ * The head of a section: a mono label such as "# Services" with an optional
70
+ * stage tag on the right, then a display heading and a lead.
71
+ *
72
+ * `size` sets the heading: `xl` (120px) for a page's hero, `l` (64px), and `m`
73
+ * (52px) for a section. Give the heading as `heading`, or in the `heading` slot
74
+ * when part of it is picked out with `impakt-highlight` or an accent word. The
75
+ * lead goes under the heading, or with `lead-position="side"` at the foot of a
76
+ * 340px column on the right. The `aside` slot holds a picture on the right,
77
+ * such as a journey object at 448 by 288.
78
+ *
79
+ * **One heading, at the level the page needs.** `level` is 1 for a page's hero
80
+ * and 2 for a section (1.3.1, 2.4.6). The "#" before the label is decoration.
81
+ *
82
+ * **It stacks in a narrow column**, measured against its own width: the label
83
+ * row, the heading, the lead and the aside, in reading order (1.4.10). It takes
84
+ * its colours from the band it is on, so it reads on paper, ink and accent.
85
+ *
86
+ * @category layout
87
+ * @icon heading
88
+ * @role heading
89
+ * @slot heading - The heading, when it holds more than words, such as an `impakt-highlight`. Replaces `heading`.
90
+ * @slot lead - The lead, when it holds more than words. Replaces `lead`.
91
+ * @slot tag - Something on the right of the label row, in place of the stage tag.
92
+ * @slot aside - A picture on the right of the heading, such as a journey object.
93
+ */
94
+ export declare class ImpaktSectionHead extends ImpaktElement {
95
+ static properties: {
96
+ label: {
97
+ type: StringConstructor;
98
+ };
99
+ heading: {
100
+ type: StringConstructor;
101
+ };
102
+ lead: {
103
+ type: StringConstructor;
104
+ };
105
+ size: {
106
+ type: StringConstructor;
107
+ reflect: boolean;
108
+ };
109
+ level: {
110
+ type: NumberConstructor;
111
+ reflect: boolean;
112
+ };
113
+ leadPosition: {
114
+ type: StringConstructor;
115
+ reflect: boolean;
116
+ attribute: string;
117
+ };
118
+ stage: {
119
+ type: StringConstructor;
120
+ };
121
+ stageOnInk: {
122
+ type: BooleanConstructor;
123
+ attribute: string;
124
+ };
125
+ spaceAbove: {
126
+ type: StringConstructor;
127
+ reflect: boolean;
128
+ attribute: string;
129
+ };
130
+ spaceBelow: {
131
+ type: StringConstructor;
132
+ reflect: boolean;
133
+ attribute: string;
134
+ };
135
+ };
136
+ /** The mono label above the heading, such as "Services". A "#" is drawn before it. */
137
+ label: string;
138
+ heading: string;
139
+ /** A sentence or two about the section. */
140
+ lead: string;
141
+ /** How large the heading is: `xl` 120px, `l` 64px, `m` 52px. */
142
+ size: 'xl' | 'l' | 'm';
143
+ /** The heading's level: 1 for a page's hero, 2 for a section. */
144
+ level: 1 | 2;
145
+ /** Where the lead goes: under the heading, or at the foot of a column on the right. */
146
+ leadPosition: 'below' | 'side';
147
+ /** A stage tag on the right of the label row. Leave empty for none. */
148
+ stage: StageName | '';
149
+ /** Draw the stage tag for an ink band. */
150
+ stageOnInk: boolean;
151
+ spaceAbove: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
152
+ spaceBelow: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
153
+ constructor();
154
+ static styles: import("lit").CSSResult[];
155
+ render(): TemplateResult;
156
+ /** Whether a child is in the named slot. On a server, where there are no children, only the attribute counts. */
157
+ private hasSlot;
158
+ }
159
+ /**
160
+ * A service on the services grid: a number and a dot at the top, then at the
161
+ * foot its name, a line about it, mono tags such as "React Native · Expo" and
162
+ * "Learn more".
163
+ *
164
+ * **The card is one link.** The link is on the service's name, a heading, and
165
+ * stretched over the card (2.4.4, 2.5.8). The number, dot and "Learn more"
166
+ * line are decoration. Pointing at the card and focusing it look the same: it
167
+ * turns to ink with paper words and the dot and "Learn more" in the accent,
168
+ * which holds 4.5:1 on ink, and the focus ring is drawn round it (2.4.7).
169
+ *
170
+ * `featured` draws a card inked all the time, as it is when pointed at, for
171
+ * the one service a page picks out or a sheet that shows the state.
172
+ *
173
+ * Put cards in a four-column grid with a 10px gap. On a phone the words sit at
174
+ * the top and the card is as tall as they are.
175
+ *
176
+ * @category content
177
+ * @icon card
178
+ */
179
+ export declare class ImpaktServiceCard extends ImpaktElement {
180
+ static properties: {
181
+ number: {
182
+ type: StringConstructor;
183
+ };
184
+ heading: {
185
+ type: StringConstructor;
186
+ };
187
+ text: {
188
+ type: StringConstructor;
189
+ };
190
+ tags: {
191
+ type: StringConstructor;
192
+ };
193
+ href: {
194
+ type: StringConstructor;
195
+ };
196
+ linkText: {
197
+ type: StringConstructor;
198
+ attribute: string;
199
+ };
200
+ headingLevel: {
201
+ type: NumberConstructor;
202
+ attribute: string;
203
+ };
204
+ featured: {
205
+ type: BooleanConstructor;
206
+ reflect: boolean;
207
+ };
208
+ };
209
+ /** The number at the top, such as "01". */
210
+ number: string;
211
+ /** The service's name. */
212
+ heading: string;
213
+ /** A line about it. */
214
+ text: string;
215
+ /** What it uses or includes, such as "React Native · Expo · Store launch". Set in mono capitals. */
216
+ tags: string;
217
+ /** Where the card goes. Leave empty for a card that goes nowhere. */
218
+ href: string;
219
+ /** The line at the foot of a card that goes somewhere. */
220
+ linkText: string;
221
+ headingLevel: number;
222
+ /** Draw the card inked, as when it is pointed at. */
223
+ featured: boolean;
224
+ constructor();
225
+ static styles: import("lit").CSSResult[];
226
+ render(): TemplateResult;
227
+ }
228
+ /**
229
+ * A pointer with a name beside it, as if someone were working on the page with
230
+ * you: the cursors round a hero's heading.
231
+ *
232
+ * The name is on ink, outlined, or on the accent. With `drift` it moves a few
233
+ * pixels to and fro, slowly; it stays still for anyone who asks for less
234
+ * motion (2.3.3), and it never moves more than 5 seconds without a way to stop
235
+ * it mattering, because it carries nothing (2.2.2).
236
+ *
237
+ * **It is decoration**, hidden from a screen reader (1.3.1).
238
+ *
239
+ * @category media
240
+ * @icon pointer
241
+ */
242
+ export declare class ImpaktCursor extends ImpaktElement {
243
+ static properties: {
244
+ name: {
245
+ type: StringConstructor;
246
+ };
247
+ variant: {
248
+ type: StringConstructor;
249
+ reflect: boolean;
250
+ };
251
+ drift: {
252
+ type: BooleanConstructor;
253
+ reflect: boolean;
254
+ };
255
+ };
256
+ /** The name beside the pointer, such as "Client". */
257
+ name: string;
258
+ /** How the name is drawn: on ink, outlined, or on the accent. */
259
+ variant: 'ink' | 'outline' | 'accent';
260
+ /** Move slowly to and fro. Still for anyone who asks for less motion. */
261
+ drift: boolean;
262
+ constructor();
263
+ static styles: import("lit").CSSResult[];
264
+ render(): TemplateResult;
265
+ }
266
+ /**
267
+ * A short note in handwriting, with an arrow if it points at something, such
268
+ * as "keep scrolling, this note becomes the real button."
269
+ *
270
+ * The face is `--impakt-font-family-hand` (Kalam in the G2 designs), and the
271
+ * body face until a brand sets it. The note is real text and is read, unless
272
+ * `decorative` is set because it repeats something said elsewhere (1.3.1).
273
+ * The arrow is always decoration.
274
+ *
275
+ * @category content
276
+ * @icon pen
277
+ * @slot - The note, when it holds more than words. Replaces `text`.
278
+ */
279
+ export declare class ImpaktHandNote extends ImpaktElement {
280
+ static properties: {
281
+ text: {
282
+ type: StringConstructor;
283
+ };
284
+ arrow: {
285
+ type: StringConstructor;
286
+ reflect: boolean;
287
+ };
288
+ decorative: {
289
+ type: BooleanConstructor;
290
+ reflect: boolean;
291
+ };
292
+ };
293
+ /** The note. */
294
+ text: string;
295
+ /** Where an arrow points from the note. */
296
+ arrow: 'none' | 'left' | 'right' | 'down' | 'up';
297
+ /** Hide the note from a screen reader, when it repeats something said elsewhere. */
298
+ decorative: boolean;
299
+ constructor();
300
+ static styles: import("lit").CSSResult[];
301
+ render(): TemplateResult;
302
+ }
303
+ /** One fact: a label and its value. */
304
+ export interface FactItem {
305
+ /** What it is, such as "Client". Set in mono capitals. */
306
+ label: string;
307
+ /** The fact, such as "Vehicle importer · UK → Cyprus". */
308
+ value: string;
309
+ /** Make the value a link, such as `mailto:` for an email address. */
310
+ href?: string;
311
+ /** This value's size, in place of the block's. */
312
+ size?: 'sm' | 'md' | 'lg' | 'xl';
313
+ }
314
+ /**
315
+ * A few facts, each a mono label over its value: a case study's client, role,
316
+ * platform and stack in four columns under an ink rule, or contact details
317
+ * stacked with the email set large.
318
+ *
319
+ * A description list, so each value is read with its label (1.3.1). Columns
320
+ * wrap to fit their width, so they stack on a phone (1.4.10).
321
+ *
322
+ * @category content
323
+ * @icon list
324
+ */
325
+ export declare class ImpaktFacts extends ImpaktElement {
326
+ static properties: {
327
+ items: {
328
+ type: ArrayConstructor;
329
+ };
330
+ layout: {
331
+ type: StringConstructor;
332
+ reflect: boolean;
333
+ };
334
+ size: {
335
+ type: StringConstructor;
336
+ reflect: boolean;
337
+ };
338
+ label: {
339
+ type: StringConstructor;
340
+ };
341
+ };
342
+ /** The facts, in order. */
343
+ items: FactItem[];
344
+ /** Side by side under a rule each, or stacked. */
345
+ layout: 'columns' | 'stacked';
346
+ /** The values' size: `sm` 16px, `md` 18px, `lg` 24px, `xl` 32px. An item can set its own. */
347
+ size: 'sm' | 'md' | 'lg' | 'xl';
348
+ /** A name for the list, for a screen reader. Leave empty for none. */
349
+ label: string;
350
+ constructor();
351
+ static styles: import("lit").CSSResult[];
352
+ render(): TemplateResult;
353
+ }
354
+ /** One row of a numbered list. */
355
+ export interface NumberedItem {
356
+ heading: string;
357
+ text?: string;
358
+ }
359
+ /**
360
+ * A numbered list under an ink rule, each row split by a hairline: the number,
361
+ * a heading and a line of quieter text in three columns. "Three rules we don't
362
+ * break", the steps of a project, a tool's features.
363
+ *
364
+ * An ordered list, so a screen reader says how many rows there are and which
365
+ * one this is, and the drawn numbers are hidden from it (1.3.1). Each heading
366
+ * is at the level the page asks for. It stacks in a narrow column, measured
367
+ * against its own width (1.4.10), and takes its colours from its band.
368
+ *
369
+ * @category content
370
+ * @icon list-ordered
371
+ */
372
+ export declare class ImpaktNumberedList extends ImpaktElement {
373
+ static properties: {
374
+ items: {
375
+ type: ArrayConstructor;
376
+ };
377
+ start: {
378
+ type: NumberConstructor;
379
+ };
380
+ headingLevel: {
381
+ type: NumberConstructor;
382
+ attribute: string;
383
+ };
384
+ label: {
385
+ type: StringConstructor;
386
+ };
387
+ };
388
+ items: NumberedItem[];
389
+ /** The number the first row is given. */
390
+ start: number;
391
+ headingLevel: number;
392
+ /** A name for the list, for a screen reader. Leave empty for none. */
393
+ label: string;
394
+ constructor();
395
+ static styles: import("lit").CSSResult[];
396
+ render(): TemplateResult;
397
+ }
398
+ /** One column of a column list. */
399
+ export interface ColumnListColumn {
400
+ /** The column's heading, such as "Design". Set in mono capitals. */
401
+ heading: string;
402
+ /** What is in it, each a line set large. */
403
+ items: string[];
404
+ }
405
+ /**
406
+ * What a studio does, in four columns: each under an ink rule, with a mono
407
+ * heading such as "Engineering" and a stack of what it covers set large. The
408
+ * items are words, not links.
409
+ *
410
+ * Each column's heading is a heading at the level the page asks for, and its
411
+ * items a list (1.3.1). The columns wrap to fit their width (1.4.10).
412
+ *
413
+ * @category content
414
+ * @icon columns
415
+ */
416
+ export declare class ImpaktColumnList extends ImpaktElement {
417
+ static properties: {
418
+ columns: {
419
+ type: ArrayConstructor;
420
+ };
421
+ headingLevel: {
422
+ type: NumberConstructor;
423
+ attribute: string;
424
+ };
425
+ };
426
+ columns: ColumnListColumn[];
427
+ headingLevel: number;
428
+ constructor();
429
+ static styles: import("lit").CSSResult[];
430
+ render(): TemplateResult;
431
+ }
432
+ /**
433
+ * An office: a mono line with its time zone and hours, its name set large, the
434
+ * region under it and a line about it, on a white card with an ink border. An
435
+ * accent tag at the top right can say how its hours meet another office's,
436
+ * such as "+2h · same working day".
437
+ *
438
+ * The name is a heading at the level the page asks for (1.3.1). The tag is
439
+ * text and is read; on a narrow card it moves above the name (1.4.10).
440
+ *
441
+ * @category content
442
+ * @icon map-pin
443
+ */
444
+ export declare class ImpaktOfficeCard extends ImpaktElement {
445
+ static properties: {
446
+ hours: {
447
+ type: StringConstructor;
448
+ };
449
+ name: {
450
+ type: StringConstructor;
451
+ };
452
+ region: {
453
+ type: StringConstructor;
454
+ };
455
+ text: {
456
+ type: StringConstructor;
457
+ };
458
+ tag: {
459
+ type: StringConstructor;
460
+ };
461
+ headingLevel: {
462
+ type: NumberConstructor;
463
+ attribute: string;
464
+ };
465
+ };
466
+ /** The time zone and hours, such as "GMT · Mon–Fri 9–18". */
467
+ hours: string;
468
+ /** The office, such as "UK". */
469
+ name: string;
470
+ /** Where it is, such as "United Kingdom". */
471
+ region: string;
472
+ /** A line about it. */
473
+ text: string;
474
+ /** An accent tag at the top right, such as "+2h · same working day". Leave empty for none. */
475
+ tag: string;
476
+ headingLevel: number;
477
+ constructor();
478
+ static styles: import("lit").CSSResult[];
479
+ render(): TemplateResult;
480
+ }
481
+ declare global {
482
+ interface HTMLElementTagNameMap {
483
+ 'impakt-stage-tag': ImpaktStageTag;
484
+ 'impakt-section-head': ImpaktSectionHead;
485
+ 'impakt-service-card': ImpaktServiceCard;
486
+ 'impakt-cursor': ImpaktCursor;
487
+ 'impakt-hand-note': ImpaktHandNote;
488
+ 'impakt-facts': ImpaktFacts;
489
+ 'impakt-numbered-list': ImpaktNumberedList;
490
+ 'impakt-column-list': ImpaktColumnList;
491
+ 'impakt-office-card': ImpaktOfficeCard;
492
+ }
493
+ }
@@ -0,0 +1,26 @@
1
+ import {
2
+ ImpaktColumnList,
3
+ ImpaktCursor,
4
+ ImpaktFacts,
5
+ ImpaktHandNote,
6
+ ImpaktNumberedList,
7
+ ImpaktOfficeCard,
8
+ ImpaktSectionHead,
9
+ ImpaktServiceCard,
10
+ ImpaktStageTag,
11
+ STAGE_WORDS
12
+ } from "../chunk-XNRFZCNB.js";
13
+ import "../chunk-WGDMORWT.js";
14
+ export {
15
+ ImpaktColumnList,
16
+ ImpaktCursor,
17
+ ImpaktFacts,
18
+ ImpaktHandNote,
19
+ ImpaktNumberedList,
20
+ ImpaktOfficeCard,
21
+ ImpaktSectionHead,
22
+ ImpaktServiceCard,
23
+ ImpaktStageTag,
24
+ STAGE_WORDS
25
+ };
26
+ //# sourceMappingURL=g2-site.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,77 @@
1
+ /**
2
+ * The G2 Noire blocks for the AI tools pages: the flow that shows how a tool
3
+ * works, or how a visitor gets from one page to the next.
4
+ */
5
+ import { type TemplateResult } from 'lit';
6
+ import { ImpaktElement } from '@atomic-ui/ui';
7
+ /** One step of a flow. */
8
+ export interface FlowStep {
9
+ /** A mono label, such as "01 · Model". */
10
+ label?: string;
11
+ /** What happens, such as "Reads and drafts". */
12
+ heading: string;
13
+ /** A line about it. */
14
+ text?: string;
15
+ /** The box: white with an ink border, soft, ink, or the accent. */
16
+ tone?: 'card' | 'soft' | 'ink' | 'accent';
17
+ /** Words on the arrow that leads to this step, such as "back". */
18
+ connector?: string;
19
+ }
20
+ /**
21
+ * Steps in a row joined by arrows: how a tool works ("Reads and drafts",
22
+ * "Checks every answer", "Makes the call"), or the pages a visitor passes
23
+ * through. Each box has a tone, a mono label, a heading and a line; an arrow
24
+ * can carry words such as "back".
25
+ *
26
+ * **An ordered list.** A screen reader meets the steps in order, each heading
27
+ * at the level the page asks for; the arrows are decoration, and words on an
28
+ * arrow are read before the step they lead to (1.3.1). In a narrow column,
29
+ * measured against its own width, the steps stack and the arrows point down
30
+ * (1.4.10).
31
+ *
32
+ * On an ink band, set `on-ink`: white boxes become tiles raised off the band.
33
+ * The ink and accent boxes keep their colours in both themes, so their words
34
+ * keep their contrast (1.4.3).
35
+ *
36
+ * @category content
37
+ * @icon flow
38
+ */
39
+ export declare class ImpaktFlow extends ImpaktElement {
40
+ static properties: {
41
+ steps: {
42
+ type: ArrayConstructor;
43
+ };
44
+ size: {
45
+ type: StringConstructor;
46
+ reflect: boolean;
47
+ };
48
+ onInk: {
49
+ type: BooleanConstructor;
50
+ reflect: boolean;
51
+ attribute: string;
52
+ };
53
+ headingLevel: {
54
+ type: NumberConstructor;
55
+ attribute: string;
56
+ };
57
+ label: {
58
+ type: StringConstructor;
59
+ };
60
+ };
61
+ steps: FlowStep[];
62
+ /** The headings' size: `md` 18px for a flow of pages, `lg` 32px for how a tool works. */
63
+ size: 'md' | 'lg';
64
+ /** Draw white boxes as tiles raised off an ink band. */
65
+ onInk: boolean;
66
+ headingLevel: number;
67
+ /** A name for the list, for a screen reader. Leave empty for none. */
68
+ label: string;
69
+ constructor();
70
+ static styles: import("lit").CSSResult[];
71
+ render(): TemplateResult;
72
+ }
73
+ declare global {
74
+ interface HTMLElementTagNameMap {
75
+ 'impakt-flow': ImpaktFlow;
76
+ }
77
+ }
@@ -0,0 +1,8 @@
1
+ import {
2
+ ImpaktFlow
3
+ } from "../chunk-7X4WGV6K.js";
4
+ import "../chunk-WGDMORWT.js";
5
+ export {
6
+ ImpaktFlow
7
+ };
8
+ //# sourceMappingURL=g2-tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}