@atomic-ui/blocks 0.13.1 → 0.14.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 (42) hide show
  1. package/custom-elements.json +338 -31
  2. package/dist/{chunk-MX7FU5JE.js → chunk-3G3NP4UC.js} +40 -22
  3. package/dist/chunk-3G3NP4UC.js.map +1 -0
  4. package/dist/{chunk-W3MK3EEO.js → chunk-7OFH762N.js} +74 -26
  5. package/dist/chunk-7OFH762N.js.map +1 -0
  6. package/dist/{chunk-CCFBROX3.js → chunk-BW5ZMKES.js} +119 -50
  7. package/dist/chunk-BW5ZMKES.js.map +1 -0
  8. package/dist/{chunk-X3U2SOVV.js → chunk-GDATDR2Q.js} +64 -31
  9. package/dist/chunk-GDATDR2Q.js.map +1 -0
  10. package/dist/{chunk-VXQS5TAN.js → chunk-GZTBAT6P.js} +47 -23
  11. package/dist/chunk-GZTBAT6P.js.map +1 -0
  12. package/dist/{chunk-KOYQRJKY.js → chunk-NZQZRBKV.js} +159 -15
  13. package/dist/chunk-NZQZRBKV.js.map +1 -0
  14. package/dist/{chunk-JIITZUGI.js → chunk-Q366ZM2X.js} +84 -42
  15. package/dist/chunk-Q366ZM2X.js.map +1 -0
  16. package/dist/{chunk-EYP5LWUR.js → chunk-ZM2HLQOG.js} +14 -3
  17. package/dist/chunk-ZM2HLQOG.js.map +1 -0
  18. package/dist/components/changelog.js +1 -1
  19. package/dist/components/estimator.js +1 -1
  20. package/dist/components/g2-case.d.ts +28 -6
  21. package/dist/components/g2-case.js +1 -1
  22. package/dist/components/g2-site.d.ts +39 -5
  23. package/dist/components/g2-site.js +1 -1
  24. package/dist/components/journey.d.ts +26 -4
  25. package/dist/components/journey.js +1 -1
  26. package/dist/components/organisms.js +1 -1
  27. package/dist/components/site.d.ts +74 -2
  28. package/dist/components/site.js +2 -1
  29. package/dist/components/studio.d.ts +35 -2
  30. package/dist/components/studio.js +1 -1
  31. package/dist/index.js +8 -8
  32. package/dist/standalone/atomic-ui-blocks.js +1378 -1116
  33. package/dist/standalone/atomic-ui-blocks.js.map +4 -4
  34. package/package.json +3 -3
  35. package/dist/chunk-CCFBROX3.js.map +0 -1
  36. package/dist/chunk-EYP5LWUR.js.map +0 -1
  37. package/dist/chunk-JIITZUGI.js.map +0 -1
  38. package/dist/chunk-KOYQRJKY.js.map +0 -1
  39. package/dist/chunk-MX7FU5JE.js.map +0 -1
  40. package/dist/chunk-VXQS5TAN.js.map +0 -1
  41. package/dist/chunk-W3MK3EEO.js.map +0 -1
  42. package/dist/chunk-X3U2SOVV.js.map +0 -1
@@ -41,6 +41,11 @@ export interface WorkItem {
41
41
  * hold at 4.5:1, so the state never depends on a colour of its own (1.4.3,
42
42
  * 1.4.11). The focus ring is still drawn over it (2.4.7).
43
43
  *
44
+ * For a brand with the reveal set on (impkt-web#51) the ink wipes in from the
45
+ * left in 180ms and the arrow slides 4px on, on hover or focus only, and the
46
+ * rows drop into place one after another, once, as the list is reached. No row
47
+ * is inked until it is pointed at or focused, unless it is `featured`.
48
+ *
44
49
  * The names shrink with the block's own width, not the window's, so the list
45
50
  * reads the same in a narrow column as on a phone (1.4.10).
46
51
  *
@@ -130,6 +135,11 @@ export interface StatRowItem {
130
135
  * A row of figures under a rule, each with what it counts: "4 live products",
131
136
  * "161 ms response time".
132
137
  *
138
+ * For a brand with the reveal set on (impkt-web#51) each figure counts up
139
+ * once, over 900ms, as the row is reached. The count is drawn over the figure,
140
+ * so the real figure is the text a screen reader reads throughout; with no
141
+ * script and with reduced motion the figure is simply there.
142
+ *
133
143
  * The figures are a list, so a screen reader says how many there are, and each
134
144
  * is read as one phrase, "161 ms response time", not a bare number followed
135
145
  * some way off by its label (1.3.1). The row wraps by its own width: four
@@ -186,10 +196,20 @@ export interface FaqItem {
186
196
  * it, so a screen reader can jump straight to the questions (2.4.1).
187
197
  *
188
198
  * An answer that is more than words is slotted as `panel-<id>`, exactly as
189
- * on the accordion, and is passed through to it.
199
+ * on the accordion, and is passed through to it. The accordion's parts are
200
+ * passed out too, as `item`, `head`, `header` and `panel`, so a page can style
201
+ * a row as it would on the accordion itself.
202
+ *
203
+ * Each row is 92px with its rule, the question centred beside its "+", as
204
+ * the FAQ item of `10:670` and `21:1220` is.
190
205
  *
191
206
  * @category content
192
207
  * @icon accordion
208
+ * @csspart questions - The accordion that holds the questions.
209
+ * @csspart item - A question and its answer, passed out from the accordion.
210
+ * @csspart head - A question's row.
211
+ * @csspart header - The button that opens a question.
212
+ * @csspart panel - An answer.
193
213
  */
194
214
  export declare class ImpaktFaq extends ImpaktElement {
195
215
  static properties: {
@@ -459,13 +479,26 @@ export declare class ImpaktPostCard extends ImpaktElement {
459
479
  * page, so they are read, found and translated as the rest of it is; the
460
480
  * handles and the optional label are hidden from a screen reader (1.3.1).
461
481
  * The words on the accent are the colour the tokens measured against it
462
- * (1.4.3). Nothing moves, so there is nothing to stop for reduced motion.
482
+ * (1.4.3).
483
+ *
484
+ * **It draws itself once** (impkt-web#51), for a brand with the reveal set on:
485
+ * when its section reaches the middle of the screen the frame is drawn round
486
+ * the words in 260ms, the 8px handles appear at its corners and the size in
487
+ * the label counts up to the real size. The words never move. With no script
488
+ * and with reduced motion it is drawn as it ends.
463
489
  *
464
490
  * `cursor` draws a pointer at the bottom-right handle, as if someone in the
465
491
  * file had just picked the words; its value, if any, is the name tag beside
466
492
  * it. `hide-label-on="phone"` leaves the label out on a phone, where it would
467
493
  * crowd the line below.
468
494
  *
495
+ * The box is drawn 0.1em outside the words at each side, as the Selection in
496
+ * the home frame is (`9:306`), so the words keep their place in the heading
497
+ * and the box hangs into the space round them. At its end it also gives back
498
+ * the display type's -0.05em tracking after the last letter
499
+ * (`--impakt-highlight-trail`), and the word after it is pushed along by the
500
+ * overhang, so a space still follows the box (`9:302`, `21:1322`).
501
+ *
469
502
  * @category content
470
503
  * @icon text
471
504
  * @slot - The words to pick out.
@@ -6,7 +6,7 @@ import {
6
6
  ImpaktSiteMenu,
7
7
  ImpaktStatRow,
8
8
  ImpaktWorkList
9
- } from "../chunk-CCFBROX3.js";
9
+ } from "../chunk-BW5ZMKES.js";
10
10
  export {
11
11
  ImpaktFaq,
12
12
  ImpaktHighlight,
package/dist/index.js CHANGED
@@ -6,11 +6,11 @@ import {
6
6
  ImpaktSiteMenu,
7
7
  ImpaktStatRow,
8
8
  ImpaktWorkList
9
- } from "./chunk-CCFBROX3.js";
9
+ } from "./chunk-BW5ZMKES.js";
10
10
  import {
11
11
  ImpaktJourneyButton,
12
12
  JOURNEY_STAGES
13
- } from "./chunk-X3U2SOVV.js";
13
+ } from "./chunk-GDATDR2Q.js";
14
14
  import {
15
15
  ImpaktAnnouncement,
16
16
  ImpaktFeatureList,
@@ -29,7 +29,7 @@ import {
29
29
  ImpaktReviews,
30
30
  ImpaktSteps,
31
31
  gallerySpan
32
- } from "./chunk-EYP5LWUR.js";
32
+ } from "./chunk-ZM2HLQOG.js";
33
33
  import {
34
34
  ImpaktScene
35
35
  } from "./chunk-NHWD2LUR.js";
@@ -51,7 +51,7 @@ import {
51
51
  ImpaktSiteFooter,
52
52
  ImpaktSiteHeader,
53
53
  ImpaktWordmark
54
- } from "./chunk-KOYQRJKY.js";
54
+ } from "./chunk-NZQZRBKV.js";
55
55
  import {
56
56
  ImpaktCardGrid
57
57
  } from "./chunk-ZD75GU6J.js";
@@ -61,7 +61,7 @@ import {
61
61
  ImpaktCheckList,
62
62
  ImpaktReleaseCard,
63
63
  ImpaktReleaseList
64
- } from "./chunk-VXQS5TAN.js";
64
+ } from "./chunk-GZTBAT6P.js";
65
65
  import {
66
66
  ImpaktBeforeAfter,
67
67
  ImpaktLocationCard,
@@ -74,14 +74,14 @@ import {
74
74
  ImpaktEstimator,
75
75
  estimate,
76
76
  phaseWeeks
77
- } from "./chunk-MX7FU5JE.js";
77
+ } from "./chunk-3G3NP4UC.js";
78
78
  import {
79
79
  ImpaktBrowserFrame,
80
80
  ImpaktCallout,
81
81
  ImpaktHypothesisCard,
82
82
  ImpaktProcessLine,
83
83
  ImpaktWeekStrip
84
- } from "./chunk-W3MK3EEO.js";
84
+ } from "./chunk-7OFH762N.js";
85
85
  import {
86
86
  ImpaktColumnList,
87
87
  ImpaktCursor,
@@ -93,7 +93,7 @@ import {
93
93
  ImpaktServiceCard,
94
94
  ImpaktStageTag,
95
95
  STAGE_WORDS
96
- } from "./chunk-JIITZUGI.js";
96
+ } from "./chunk-Q366ZM2X.js";
97
97
  import {
98
98
  ImpaktFlow
99
99
  } from "./chunk-KDDXCGEZ.js";