@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
@@ -2099,7 +2099,7 @@
2099
2099
  "declarations": [
2100
2100
  {
2101
2101
  "kind": "class",
2102
- "description": "A project's process drawn as one main line that dips to a different depth\nfor each phase, like a branch in version control: hollow rings for each\npoint, the current one filled in the accent, a mono label by each (above a\npoint on the main line, below one that dips) and accent flags such as\n\"Build merged\" and \"v1.0 launch\". A flag on the main line stands in for\nits point's label there.\n\n**The drawing is decoration; the list is the content.** A screen reader\nmeets an ordered list of the points, in order, with their flags and the\ncurrent one marked as the current step (1.1.1, 1.3.1). On a narrow column,\nmeasured against its own width, the same list is drawn as a vertical rail\nand the drawing is not shown, so nothing is lost at 320px (1.4.10).\n\nIt is drawn for an ink band and takes the band's colours; outside one it\ndraws its own ink panel. The current point keeps a ring in the band's text\ncolour, so it is not told by its colour alone (1.4.1, 1.4.11).",
2102
+ "description": "A project's process drawn as one main line that dips to a different depth\nfor each phase, like a branch in version control: hollow rings for each\npoint, the current one larger and filled in the accent and each flagged one\nfilled in the accent too, a mono label by each (above a\npoint on the main line, below one that dips) and accent flags such as\n\"Build merged\" and \"v1.0 launch\". A flag on the main line stands in for\nits point's label there. Between two points that dip to different depths\nthe line comes back up to the main line, so each phase is its own valley,\nas in the Sprint progress component (`10:483`): each valley has a flat\nfloor, joined to the main line by short, steep bends.\n\n**The drawing is decoration; the list is the content.** A screen reader\nmeets an ordered list of the points, in order, with their flags and the\ncurrent one marked as the current step (1.1.1, 1.3.1). On a narrow column,\nmeasured against its own width, the same list is drawn as a vertical rail\nand the drawing is not shown, so nothing is lost at 320px (1.4.10).\n\nIt is drawn for an ink band and takes the band's colours, and the band's\npattern, such as its column lines, shows through it; outside a band it draws\nits own ink panel. Give a point `at` to place it where its phase falls, and\nleave a point's label empty for one with no words. The current point keeps a ring in the band's text\ncolour, so it is not told by its colour alone (1.4.1, 1.4.11).\n\n**It draws itself once** (impkt-web#51), for a brand with the reveal set on:\nas it reaches the middle of the screen the line strokes on from left to\nright in 640ms, the points and their words appear in order 60ms apart, and\nthe flagged points fill with the accent last. The list a screen reader meets\nnever moves. With no script and with reduced motion it is drawn as it ends.",
2103
2103
  "name": "ImpaktProcessLine",
2104
2104
  "members": [
2105
2105
  {
@@ -2871,7 +2871,7 @@
2871
2871
  },
2872
2872
  {
2873
2873
  "kind": "class",
2874
- "description": "A small square mono tag that says which stage of a project a section shows,\nsuch as \"01 Discover Note\": the number in the accent, the phase in paper and\nthe stage's name quieter, on ink.\n\nSet `stage` for one of the five stages, or `index`, `phase` and `label` for\nyour own words; each one set wins over the stage's. On an ink band, set\n`on-ink`: the tag is raised off the band with a line round it.\n\n**It is decoration.** The section's heading says what the section is, so the\ntag is hidden from a screen reader unless `announce` is set (1.3.1). The tag\nstays ink in both themes, so the yellow on it stays readable (1.4.3).",
2874
+ "description": "A small square mono tag that says which stage of a project a section shows,\nsuch as \"01 Discover Note\": the number in the accent, the phase in paper and\nthe stage's name quieter, on ink.\n\nSet `stage` for one of the five stages, or `index`, `phase` and `label` for\nyour own words; each one set wins over the stage's. The tag is drawn on the\nraised ink with a hairline round it, on paper and on an ink band alike, as\nthe Stage tag component (`8:320`) is; `on-ink` is kept for pages that set it\nand draws the same tag.\n\n**It is decoration.** The section's heading says what the section is, so the\ntag is hidden from a screen reader unless `announce` is set (1.3.1). The tag\nstays ink in both themes, so the yellow on it stays readable (1.4.3).\n\nFor a brand with the reveal set on, it types its words in once as its\nsection arrives (impkt-web#51); with no script and with reduced motion it is\nsimply there.",
2875
2875
  "name": "ImpaktStageTag",
2876
2876
  "members": [
2877
2877
  {
@@ -2926,7 +2926,7 @@
2926
2926
  "type": {
2927
2927
  "text": "boolean"
2928
2928
  },
2929
- "description": "Raise the tag off an ink band, with a line round it.",
2929
+ "description": "Kept for pages that set it: the tag is raised off the ink with a line round it on every band.",
2930
2930
  "default": "false",
2931
2931
  "attribute": "on-ink",
2932
2932
  "reflects": true
@@ -2985,7 +2985,7 @@
2985
2985
  "type": {
2986
2986
  "text": "boolean"
2987
2987
  },
2988
- "description": "Raise the tag off an ink band, with a line round it.",
2988
+ "description": "Kept for pages that set it: the tag is raised off the ink with a line round it on every band.",
2989
2989
  "default": "false",
2990
2990
  "fieldName": "onInk"
2991
2991
  },
@@ -3010,7 +3010,7 @@
3010
3010
  },
3011
3011
  {
3012
3012
  "kind": "class",
3013
- "description": "The head of a section: a mono label such as \"# Services\" with an optional\nstage tag on the right, then a display heading and a lead.\n\n`size` sets the heading: `xl` (120px) for a page's hero, `l` (64px), and `m`\n(52px) for a section. Give the heading as `heading`, or in the `heading` slot\nwhen part of it is picked out with `impakt-highlight` or an accent word. The\nlead goes under the heading, or with `lead-position=\"side\"` at the foot of a\n340px column on the right. The `aside` slot holds a picture on the right,\nsuch as a journey object at 448 by 288.\n\n**One heading, at the level the page needs.** `level` is 1 for a page's hero\nand 2 for a section (1.3.1, 2.4.6). The \"#\" before the label is decoration.\n\n**It stacks in a narrow column**, measured against its own width: the label\nrow, the heading, the lead and the aside, in reading order (1.4.10). It takes\nits colours from the band it is on, so it reads on paper, ink and accent.",
3013
+ "description": "The head of a section: a mono label such as \"# Services\" with an optional\nstage tag on the right, then a display heading and a lead.\n\n`size` sets the heading: `xl` (120px) for a page's hero, `l` (64px), and `m`\n(52px) for a section. Give the heading as `heading`, or in the `heading` slot\nwhen part of it is picked out with `impakt-highlight` or an accent word. The\nlead goes under the heading, or with `lead-position=\"side\"` at the foot of a\n340px column on the right. The `aside` slot holds a picture on the right,\nsuch as a journey object at 448 by 288, with the heading and lead level with\nits middle. A page drawn on the server sets `aside` when it fills the slot,\nsince the head cannot see its children there; in a browser the head sets it\nitself.\n\n**One heading, at the level the page needs.** `level` is 1 for a page's hero\nand 2 for a section (1.3.1, 2.4.6). The \"#\" before the label is decoration.\n\nFor a brand with the reveal set on, the label types itself in once as the\nsection arrives, and a stage tag beside it does the same (impkt-web#51); the\nheading and the lead never move.\n\n**It stacks in a narrow column**, measured against its own width: the label\nrow, the heading, the lead and the aside, in reading order (1.4.10). It takes\nits colours from the band it is on, so it reads on paper, ink and accent.",
3014
3014
  "name": "ImpaktSectionHead",
3015
3015
  "slots": [
3016
3016
  {
@@ -3143,6 +3143,37 @@
3143
3143
  "attribute": "space-below",
3144
3144
  "reflects": true
3145
3145
  },
3146
+ {
3147
+ "kind": "field",
3148
+ "name": "aside",
3149
+ "privacy": "public",
3150
+ "type": {
3151
+ "text": "boolean"
3152
+ },
3153
+ "description": "The `aside` slot is filled. Set it on a page drawn on the server; in a browser the head sets it when the slot changes.",
3154
+ "default": "false",
3155
+ "attribute": "aside",
3156
+ "reflects": true
3157
+ },
3158
+ {
3159
+ "kind": "method",
3160
+ "name": "asideChanged",
3161
+ "privacy": "private",
3162
+ "return": {
3163
+ "type": {
3164
+ "text": "void"
3165
+ }
3166
+ },
3167
+ "parameters": [
3168
+ {
3169
+ "name": "event",
3170
+ "type": {
3171
+ "text": "Event"
3172
+ }
3173
+ }
3174
+ ],
3175
+ "description": "The aside slot filled or emptied: keep `aside` in step, so the heading sits level with it."
3176
+ },
3146
3177
  {
3147
3178
  "kind": "method",
3148
3179
  "name": "hasSlot",
@@ -3250,6 +3281,15 @@
3250
3281
  },
3251
3282
  "default": "'none'",
3252
3283
  "fieldName": "spaceBelow"
3284
+ },
3285
+ {
3286
+ "name": "aside",
3287
+ "type": {
3288
+ "text": "boolean"
3289
+ },
3290
+ "description": "The `aside` slot is filled. Set it on a page drawn on the server; in a browser the head sets it when the slot changes.",
3291
+ "default": "false",
3292
+ "fieldName": "aside"
3253
3293
  }
3254
3294
  ],
3255
3295
  "superclass": {
@@ -3264,7 +3304,7 @@
3264
3304
  },
3265
3305
  {
3266
3306
  "kind": "class",
3267
- "description": "A service on the services grid: a number and a dot at the top, then at the\nfoot its name, a line about it, mono tags such as \"React Native · Expo\" and\n\"Learn more\".\n\n**The card is one link.** The link is on the service's name, a heading, and\nstretched over the card (2.4.4, 2.5.8). The number, dot and \"Learn more\"\nline are decoration. Pointing at the card and focusing it look the same: it\nturns to ink with paper words and the dot and \"Learn more\" in the accent,\nwhich holds 4.5:1 on ink, and the focus ring is drawn round it (2.4.7).\n\n`featured` draws a card inked all the time, as it is when pointed at, for\nthe one service a page picks out or a sheet that shows the state.\n\nPut cards in a four-column grid with a 10px gap. On a phone the words sit at\nthe top and the card is as tall as they are.",
3307
+ "description": "A service on the services grid: a number and a dot at the top, then at the\nfoot its name, a line about it, mono tags such as \"React Native · Expo\" and\n\"Learn more\".\n\n**The card is one link.** The link is on the service's name, a heading, and\nstretched over the card (2.4.4, 2.5.8). The number, dot and \"Learn more\"\nline are decoration. Pointing at the card and focusing it look the same: it\nturns to ink with paper words and the dot and \"Learn more\" in the accent,\nwhich holds 4.5:1 on ink, and the focus ring is drawn round it (2.4.7).\nFor a brand with the reveal set on (impkt-web#51) the ink wipes in from the\nleft in 180ms and the arrow slides 4px forward, on hover or focus only; the\ncard drops 12px into place, once, as it is reached.\n\n`featured` draws a card inked all the time, as it is when pointed at, for\nthe one service a page picks out or a sheet that shows the state.\n\nPut cards in a four-column grid with a 10px gap. On a phone the words sit at\nthe top and the card is as tall as they are.",
3268
3308
  "name": "ImpaktServiceCard",
3269
3309
  "members": [
3270
3310
  {
@@ -3637,8 +3677,8 @@
3637
3677
  "type": {
3638
3678
  "text": "'sm' | 'md' | 'lg' | 'xl'"
3639
3679
  },
3640
- "description": "The values' size: `sm` 16px, `md` 18px, `lg` 24px, `xl` 32px. An item can set its own.",
3641
- "default": "'md'",
3680
+ "description": "The values' size: `sm` 16px on 1.45, the G2 facts' Body M and the default (21:1336, 34:627), `md` 18px, `lg` 24px, `xl` 32px. An item can set its own.",
3681
+ "default": "'sm'",
3642
3682
  "attribute": "size",
3643
3683
  "reflects": true
3644
3684
  },
@@ -3678,8 +3718,8 @@
3678
3718
  "type": {
3679
3719
  "text": "'sm' | 'md' | 'lg' | 'xl'"
3680
3720
  },
3681
- "description": "The values' size: `sm` 16px, `md` 18px, `lg` 24px, `xl` 32px. An item can set its own.",
3682
- "default": "'md'",
3721
+ "description": "The values' size: `sm` 16px on 1.45, the G2 facts' Body M and the default (21:1336, 34:627), `md` 18px, `lg` 24px, `xl` 32px. An item can set its own.",
3722
+ "default": "'sm'",
3683
3723
  "fieldName": "size"
3684
3724
  },
3685
3725
  {
@@ -3703,7 +3743,7 @@
3703
3743
  },
3704
3744
  {
3705
3745
  "kind": "class",
3706
- "description": "A numbered list under an ink rule, each row split by a hairline: the number,\na heading and a line of quieter text in three columns. \"Three rules we don't\nbreak\", the steps of a project, a tool's features.\n\nAn ordered list, so a screen reader says how many rows there are and which\none this is, and the drawn numbers are hidden from it (1.3.1). Each heading\nis at the level the page asks for. It stacks in a narrow column, measured\nagainst its own width (1.4.10), and takes its colours from its band.",
3746
+ "description": "A numbered list under an ink rule, each row split by a hairline: the number,\na heading and a line of quieter text in three columns. \"Three rules we don't\nbreak\", the steps of a project, a tool's features.\n\nThe columns are 60px, then the heading and the text 40px apart, split 520\nto 420 as on a case study (`21:1389`). `split=\"text\"` gives the text the\nwider share, 460 to 480, as the tools pages do (`34:714`).\n\nAn ordered list, so a screen reader says how many rows there are and which\none this is, and the drawn numbers are hidden from it (1.3.1). Each heading\nis at the level the page asks for. It stacks in a narrow column, measured\nagainst its own width (1.4.10), and takes its colours from its band.",
3707
3747
  "name": "ImpaktNumberedList",
3708
3748
  "members": [
3709
3749
  {
@@ -3716,6 +3756,18 @@
3716
3756
  "default": "[]",
3717
3757
  "attribute": "items"
3718
3758
  },
3759
+ {
3760
+ "kind": "field",
3761
+ "name": "split",
3762
+ "privacy": "public",
3763
+ "type": {
3764
+ "text": "'heading' | 'text'"
3765
+ },
3766
+ "description": "How the heading and the text share the row: `heading` 520 to 420 (`21:1389`), `text` 460 to 480 (`34:714`).",
3767
+ "default": "'heading'",
3768
+ "attribute": "split",
3769
+ "reflects": true
3770
+ },
3719
3771
  {
3720
3772
  "kind": "field",
3721
3773
  "name": "start",
@@ -3783,6 +3835,15 @@
3783
3835
  "description": "A name for the list, for a screen reader. Leave empty for none.",
3784
3836
  "default": "''",
3785
3837
  "fieldName": "label"
3838
+ },
3839
+ {
3840
+ "name": "split",
3841
+ "type": {
3842
+ "text": "'heading' | 'text'"
3843
+ },
3844
+ "description": "How the heading and the text share the row: `heading` 520 to 420 (`21:1389`), `text` 460 to 480 (`34:714`).",
3845
+ "default": "'heading'",
3846
+ "fieldName": "split"
3786
3847
  }
3787
3848
  ],
3788
3849
  "superclass": {
@@ -4319,7 +4380,7 @@
4319
4380
  },
4320
4381
  {
4321
4382
  "kind": "class",
4322
- "description": "A call to action drawn as the thing it once was: a sticky note from a\nworkshop, a wireframe box, a designed component, the code that renders it,\nand at last the live button. A page shows it at the stage each section is\nabout, so the same button is seen being made as the page is read.\n\n**It is the same link at every stage.** Whatever it is drawn as, it is one\n`<a>` whose name is its words, so a screen reader and a keyboard meet an\nordinary link; the note, the wireframe cross, the measuring marks and the\nlines of code around it are decoration and are hidden (1.3.1, 4.1.2). Its\ntarget is at least 44px tall at every stage (2.5.8).\n\n**A page that shows it more than once sets `decorative` on the copies.** A\ndecorative one is a picture of the button, not a control: it has no link\nand is hidden from a screen reader, so the page does not hold five links\nthat say the same thing (2.4.4).\n\n**It keeps its shape as it scales.** The drawing is about 14 wide to 9\ntall at any width, 560 by 360 on a wide page and 347 by 223 on a phone, and\neverything in it is sized from its own width.\n\n**One button can follow the page.** Give `track` a selector for the page's\nsections, each carrying `data-journey-stage`, and the button takes the stage\nof whichever section is across the middle of the screen. Between two\nsections the whole morph is scrubbed by the scroll, as the motion spec\n(`11:830`) asks: the shapes, the words and the design notes all follow the\nscroll, and the move is complete as the next section crosses the middle of\nthe screen. Scrolling back halfway leaves it halfway.\n\nWhere the browser has scroll-driven animations, the scroll drives the stage\nitself through a scroll timeline, with no script running as the page moves;\nthe button only measures where the sections are, again when the page is\nresized. Elsewhere a frame loop reads the scroll at most once a frame, and\nonly while the page scrolls. Either way each move between two sections is\nshaped by that move's easing, so ship overshoots near the end of its range.\n\n**One button can travel.** Set `travel` and the button stays in view while\nits sections scroll past, as the spec's one moving object does. It is sticky,\nso put it in a column as tall as the tracked sections, beside them, such as\nthe second column of a grid whose first holds the sections. It sits\n`--impakt-journey-travel-top` from the top of the screen, a fifth of the\nscreen unless the page sets it. On a phone, where the sections stack, leave\n`travel` off and give each section its own decorative copy.\n\n**Each move has its own timing**, from the motion spec: flatten 640ms, ink\nin 560ms, compile 720ms, ship 600ms with an overshoot, lift 180ms on hover\nand press 140ms. Each is read from `--impakt-motion-journey-<move>-duration`\nand `-easing`. When `stage` is set by hand the move runs on that timing.\n**Only transforms, opacity and colour move**, so a change of stage costs no\nlayout.\n\n**With reduced motion asked for** each stage cuts straight to its final\nstate: there is no morph, no scale and no change of position. A tracked\nbutton swaps to a section's stage as soon as the section enters the screen,\nand pointing at the live button changes its colour only (2.3.3).\n\n**`annotations` draws the design notes around it**, as the site's motion\nframes show: the stage's caption above, a handwritten note in the margin at\nthe note stage, the width and height marks at the wireframe and component,\nthe spec tags under the component and a pointer at the live button. They\nare decoration and are hidden from a screen reader. Leave it off when the\nbutton is a plain call to action.\n\nThe words on every fill are a pair the tokens already measured: the accent\nwith its own text colour, and the text colour with the card colour (1.4.3).\nA brand whose ink is dark may colour the words in the code window by\nsetting `--impakt-journey-code-words`.",
4383
+ "description": "A call to action drawn as the thing it once was: a sticky note from a\nworkshop, a wireframe box, a designed component, the code that renders it,\nand at last the live button. A page shows it at the stage each section is\nabout, so the same button is seen being made as the page is read.\n\n**It is the same link at every stage.** Whatever it is drawn as, it is one\n`<a>` whose name is its words, so a screen reader and a keyboard meet an\nordinary link; the note, the wireframe cross, the measuring marks and the\nlines of code around it are decoration and are hidden (1.3.1, 4.1.2). Its\ntarget is at least 44px tall at every stage (2.5.8).\n\n**A page that shows it more than once sets `decorative` on the copies.** A\ndecorative one is a picture of the button, not a control: it has no link\nand is hidden from a screen reader, so the page does not hold five links\nthat say the same thing (2.4.4).\n\n**It keeps its shape as it scales.** The drawing is about 14 wide to 9\ntall at any width, 560 by 360 on a wide page and 347 by 223 on a phone, and\neverything in it is sized from its own width.\n\n**One button can follow the page.** Give `track` a selector for the page's\nsections, each carrying `data-journey-stage`, and the button takes the stage\nof whichever section is across the middle of the screen. Between two\nsections the whole morph is scrubbed by the scroll, as the motion spec\n(`11:830`) asks: the shapes, the words and the design notes all follow the\nscroll, and the move is complete as the next section crosses the middle of\nthe screen. Scrolling back halfway leaves it halfway.\n\nWhere the browser has scroll-driven animations, the scroll drives the stage\nitself through a scroll timeline, with no script running as the page moves;\nthe button only measures where the sections are, again when the page is\nresized. Elsewhere a frame loop reads the scroll at most once a frame, and\nonly while the page scrolls. Either way each move between two sections is\nshaped by that move's easing, so ship overshoots near the end of its range.\n\n**One button can travel.** Set `travel` and the button stays in view while\nits sections scroll past, as the spec's one moving object does. It is sticky,\nso put it in a column as tall as the tracked sections, beside them, such as\nthe second column of a grid whose first holds the sections. It sits\n`--impakt-journey-travel-top` from the top of the screen, a fifth of the\nscreen unless the page sets it. On a phone, where the sections stack, leave\n`travel` off and give each section its own decorative copy.\n\n**A page can drive the morph itself.** Set `progress`, a number from 0 (the\nnote) to 4 (live), and the button draws the morph at that point with no\ntransition, for a page that scrubs it over scroll ranges of its own, such as\none that rests the button in each section's aside in turn. Set `stage` to the\nnearest stage as well, so the link takes that stage's shape.\n\n**Each move has its own timing**, from the motion spec: flatten 640ms, ink\nin 560ms, compile 720ms, ship 600ms with an overshoot, lift 180ms on hover\nand press 140ms. Each is read from `--impakt-motion-journey-<move>-duration`\nand `-easing`. When `stage` is set by hand the move runs on that timing.\n**Only transforms, opacity and colour move**, so a change of stage costs no\nlayout.\n\n**With reduced motion asked for** each stage cuts straight to its final\nstate: there is no morph, no scale and no change of position. A tracked\nbutton swaps to a section's stage as soon as the section enters the screen,\nand pointing at the live button changes its colour only (2.3.3).\n\n**`annotations` draws the design notes around it**, as the site's motion\nframes show: the stage's caption above, a handwritten note in the margin at\nthe note stage (unless the brand or `margin-note-shown` leaves it out), the\nwidth and height marks at the wireframe and component, the spec tags under\nthe component and a pointer at the live button. They\nare decoration and are hidden from a screen reader. Leave it off when the\nbutton is a plain call to action.\n\nThe words on every fill are a pair the tokens already measured: the accent\nwith its own text colour, and the text colour with the card colour (1.4.3).\nA brand whose ink is dark may colour the words in the code window by\nsetting `--impakt-journey-code-words`.",
4323
4384
  "name": "ImpaktJourneyButton",
4324
4385
  "cssProperties": [
4325
4386
  {
@@ -4442,6 +4503,18 @@
4442
4503
  "default": "''",
4443
4504
  "attribute": "margin-note"
4444
4505
  },
4506
+ {
4507
+ "kind": "field",
4508
+ "name": "marginNoteShown",
4509
+ "privacy": "public",
4510
+ "type": {
4511
+ "text": "'' | 'yes' | 'no'"
4512
+ },
4513
+ "description": "With `annotations`: whether the handwritten note is drawn. Left empty, the brand decides through its\n`journey.margin-note` shape, which Impakt sets to `none`; `yes` draws it and `no` leaves it out.",
4514
+ "default": "''",
4515
+ "attribute": "margin-note-shown",
4516
+ "reflects": true
4517
+ },
4445
4518
  {
4446
4519
  "kind": "field",
4447
4520
  "name": "specs",
@@ -4460,8 +4533,8 @@
4460
4533
  "type": {
4461
4534
  "text": "string"
4462
4535
  },
4463
- "description": "With `annotations`: the width written on the width mark, such as \"400\".",
4464
- "default": "'400'",
4536
+ "description": "With `annotations`: the width written on the width mark, \"320\" unless set.",
4537
+ "default": "'320'",
4465
4538
  "attribute": "mark-width"
4466
4539
  },
4467
4540
  {
@@ -4471,10 +4544,20 @@
4471
4544
  "type": {
4472
4545
  "text": "string"
4473
4546
  },
4474
- "description": "With `annotations`: the height written on the height mark, such as \"96\".",
4475
- "default": "'96'",
4547
+ "description": "With `annotations`: the height written on the height mark, \"72\" unless set.",
4548
+ "default": "'72'",
4476
4549
  "attribute": "mark-height"
4477
4550
  },
4551
+ {
4552
+ "kind": "field",
4553
+ "name": "progress",
4554
+ "privacy": "public",
4555
+ "type": {
4556
+ "text": "number | undefined"
4557
+ },
4558
+ "description": "Draw the morph at this point, from 0 (note) to 4 (live), instead of at `stage`. Leave unset to follow `stage` or `track`.",
4559
+ "attribute": "progress"
4560
+ },
4478
4561
  {
4479
4562
  "kind": "field",
4480
4563
  "name": "observer",
@@ -4833,6 +4916,15 @@
4833
4916
  "default": "''",
4834
4917
  "fieldName": "marginNote"
4835
4918
  },
4919
+ {
4920
+ "name": "margin-note-shown",
4921
+ "type": {
4922
+ "text": "'' | 'yes' | 'no'"
4923
+ },
4924
+ "description": "With `annotations`: whether the handwritten note is drawn. Left empty, the brand decides through its\n`journey.margin-note` shape, which Impakt sets to `none`; `yes` draws it and `no` leaves it out.",
4925
+ "default": "''",
4926
+ "fieldName": "marginNoteShown"
4927
+ },
4836
4928
  {
4837
4929
  "name": "specs",
4838
4930
  "type": {
@@ -4847,8 +4939,8 @@
4847
4939
  "type": {
4848
4940
  "text": "string"
4849
4941
  },
4850
- "description": "With `annotations`: the width written on the width mark, such as \"400\".",
4851
- "default": "'400'",
4942
+ "description": "With `annotations`: the width written on the width mark, \"320\" unless set.",
4943
+ "default": "'320'",
4852
4944
  "fieldName": "markWidth"
4853
4945
  },
4854
4946
  {
@@ -4856,9 +4948,17 @@
4856
4948
  "type": {
4857
4949
  "text": "string"
4858
4950
  },
4859
- "description": "With `annotations`: the height written on the height mark, such as \"96\".",
4860
- "default": "'96'",
4951
+ "description": "With `annotations`: the height written on the height mark, \"72\" unless set.",
4952
+ "default": "'72'",
4861
4953
  "fieldName": "markHeight"
4954
+ },
4955
+ {
4956
+ "name": "progress",
4957
+ "type": {
4958
+ "text": "number | undefined"
4959
+ },
4960
+ "description": "Draw the morph at this point, from 0 (note) to 4 (live), instead of at `stage`. Leave unset to follow `stage` or `track`.",
4961
+ "fieldName": "progress"
4862
4962
  }
4863
4963
  ],
4864
4964
  "superclass": {
@@ -11136,8 +11236,26 @@
11136
11236
  "declarations": [
11137
11237
  {
11138
11238
  "kind": "class",
11139
- "description": "The site header: the brand, the main links and one call to action, with an\noptional chip beside the brand and a status before the action.\n\nThe links fold behind a Menu button when they do not fit, as `impakt-nav`\ndoes. The chip and the status are labels, not controls, and they are left\nout on a phone so the brand, the menu and the action keep the row.\n\n**Build your own.** Place components in its three slots, start, middle and\nend, and each slot that holds something replaces what the props draw there:\na wordmark and chips at the start, a nav in the middle, a status and a\nbutton at the end, in any order. Give a component `hideOn: 'phone'` to leave\nit out on a phone, so the phone's header is built from the same pieces.\n\n**A header for a studio's canvas.** `mark` draws a 28px ink square with a\nletter in it before the name, `context` a path after it (\"/ home.canvas\"),\nand `status-at=\"start\"` moves the status chip, a square with a dot and a\nword such as \"Live\", up beside them. `nav-look=\"tabs\"` draws the links as\nfile tabs. `presence` draws a few small overlapping avatars of the people in\nthe file before the action; each is named for a screen reader.",
11239
+ "description": "The site header: the brand, the main links and one call to action, with an\noptional chip beside the brand and a status before the action.\n\nThe links fold behind a Menu button when they do not fit, as `impakt-nav`\ndoes. The chip and the status are labels, not controls, and they are left\nout on a phone so the brand, the menu and the action keep the row.\n\n**Build your own.** Place components in its three slots, start, middle and\nend, and each slot that holds something replaces what the props draw there:\na wordmark and chips at the start, a nav in the middle, a status and a\nbutton at the end, in any order. Give a component `hideOn: 'phone'` to leave\nit out on a phone, so the phone's header is built from the same pieces.\n\n**A header for a studio's canvas.** `mark` draws a 28px ink square with a\nletter in it before the name, `context` a path after it (\"/ home.canvas\"),\nand `status-at=\"start\"` moves the status chip, a square with a dot and a\nword such as \"Live\", up beside them. `nav-look=\"tabs\"` draws the links as\nfile tabs. `presence` draws a few small overlapping avatars of the people in\nthe file before the action; each is named for a screen reader.\n\n**The G2 canvas header, whole.** `look=\"canvas\"` draws the G2 top bar (`9:264`, `14:715`) and its\nphone menu (`21:1688`) from the props alone, so a site needs no markup of its own: the mark and\nthe name in Label S, the \"/\" and the file name, the Live chip with its soft edge and ink dot, the\nlinks as file tabs, who is in the file and the action. The Live chip stays at every width; the\nfile name and the people leave on a narrower screen. When the tabs no longer fit, they and the\naction give their place to a filled \"Menu\" button with a two-line glyph, which opens the\nwhole-screen ink menu as a popover, so the browser opens and closes it with no script: the name\nand a white \"Close\", the links in display type with their numbers and \"Current · 01\" in the\naccent, and a foot with the call in the accent, a short note and an email address\n(`menu-action-text`, `menu-note`, `menu-email`), or whatever is placed in the `menu-foot` slot.\nThe menu stays ink in both themes. A link's `menuLabel` names it in the menu.",
11140
11240
  "name": "ImpaktSiteHeader",
11241
+ "cssParts": [
11242
+ {
11243
+ "description": "With `look=\"canvas\"`: the filled Menu button.",
11244
+ "name": "menu-button"
11245
+ },
11246
+ {
11247
+ "description": "With `look=\"canvas\"`: the whole-screen menu.",
11248
+ "name": "menu"
11249
+ },
11250
+ {
11251
+ "description": "With `look=\"canvas\"`: a link in the menu.",
11252
+ "name": "menu-link"
11253
+ },
11254
+ {
11255
+ "description": "With `look=\"canvas\"`: the menu's foot.",
11256
+ "name": "menu-foot"
11257
+ }
11258
+ ],
11141
11259
  "slots": [
11142
11260
  {
11143
11261
  "description": "The brand: a wordmark or logo, and any chips beside it.",
@@ -11154,6 +11272,10 @@
11154
11272
  {
11155
11273
  "description": "A status and the call to action.",
11156
11274
  "name": "end"
11275
+ },
11276
+ {
11277
+ "description": "With `look=\"canvas\"`: the foot of the phone menu, in place of the call, the note and the email address the props draw.",
11278
+ "name": "menu-foot"
11157
11279
  }
11158
11280
  ],
11159
11281
  "members": [
@@ -11228,7 +11350,7 @@
11228
11350
  "name": "links",
11229
11351
  "privacy": "public",
11230
11352
  "type": {
11231
- "text": "NavLink[]"
11353
+ "text": "SiteHeaderLink[]"
11232
11354
  },
11233
11355
  "default": "[]",
11234
11356
  "attribute": "links"
@@ -11380,12 +11502,90 @@
11380
11502
  "name": "presence",
11381
11503
  "privacy": "public",
11382
11504
  "type": {
11383
- "text": "Array<{ name: string; initials?: string; accent?: boolean }>"
11505
+ "text": "Array<{ name: string; initials?: string; accent?: boolean; ink?: boolean }>"
11384
11506
  },
11385
- "description": "The people in the file, drawn as small overlapping avatars. `accent` fills one in the accent.",
11507
+ "description": "The people in the file, drawn as small overlapping avatars. `ink` fills one in ink, as the first of 9:285, and `accent` in the accent.",
11386
11508
  "default": "[]",
11387
11509
  "attribute": "presence"
11388
11510
  },
11511
+ {
11512
+ "kind": "field",
11513
+ "name": "look",
11514
+ "privacy": "public",
11515
+ "type": {
11516
+ "text": "'default' | 'canvas'"
11517
+ },
11518
+ "description": "`canvas` is the whole G2 canvas header and its phone menu (`9:264`, `14:715`, `21:1688`).",
11519
+ "default": "'default'",
11520
+ "attribute": "look",
11521
+ "reflects": true
11522
+ },
11523
+ {
11524
+ "kind": "field",
11525
+ "name": "menuActionText",
11526
+ "privacy": "public",
11527
+ "type": {
11528
+ "text": "string"
11529
+ },
11530
+ "description": "With `look=\"canvas\"`: the call at the foot of the phone menu, such as \"Book a 30-minute call\". The action's words when left empty.",
11531
+ "default": "''",
11532
+ "attribute": "menu-action-text"
11533
+ },
11534
+ {
11535
+ "kind": "field",
11536
+ "name": "menuActionHref",
11537
+ "privacy": "public",
11538
+ "type": {
11539
+ "text": "string"
11540
+ },
11541
+ "description": "Where that call goes. The action's href when left empty.",
11542
+ "default": "''",
11543
+ "attribute": "menu-action-href"
11544
+ },
11545
+ {
11546
+ "kind": "field",
11547
+ "name": "menuNote",
11548
+ "privacy": "public",
11549
+ "type": {
11550
+ "text": "string"
11551
+ },
11552
+ "description": "With `look=\"canvas\"`: a short line in the menu's foot, such as \"UK · Cyprus\".",
11553
+ "default": "''",
11554
+ "attribute": "menu-note"
11555
+ },
11556
+ {
11557
+ "kind": "field",
11558
+ "name": "menuEmail",
11559
+ "privacy": "public",
11560
+ "type": {
11561
+ "text": "string"
11562
+ },
11563
+ "description": "With `look=\"canvas\"`: an email address in the menu's foot, as a mail link.",
11564
+ "default": "''",
11565
+ "attribute": "menu-email"
11566
+ },
11567
+ {
11568
+ "kind": "field",
11569
+ "name": "currentText",
11570
+ "privacy": "public",
11571
+ "type": {
11572
+ "text": "string"
11573
+ },
11574
+ "description": "With `look=\"canvas\"`: the word before the current page's number in the menu, as in \"Current · 01\".",
11575
+ "default": "'Current'",
11576
+ "attribute": "current-text"
11577
+ },
11578
+ {
11579
+ "kind": "field",
11580
+ "name": "closeText",
11581
+ "privacy": "public",
11582
+ "type": {
11583
+ "text": "string"
11584
+ },
11585
+ "description": "With `look=\"canvas\"`: the words on the button that closes the menu.",
11586
+ "default": "''",
11587
+ "attribute": "close-text"
11588
+ },
11389
11589
  {
11390
11590
  "kind": "method",
11391
11591
  "name": "act",
@@ -11395,6 +11595,28 @@
11395
11595
  "text": "void"
11396
11596
  }
11397
11597
  }
11598
+ },
11599
+ {
11600
+ "kind": "method",
11601
+ "name": "renderBrand",
11602
+ "privacy": "private",
11603
+ "return": {
11604
+ "type": {
11605
+ "text": "TemplateResult | typeof nothing"
11606
+ }
11607
+ },
11608
+ "description": "The brand link: the mark and the name, or the logo."
11609
+ },
11610
+ {
11611
+ "kind": "method",
11612
+ "name": "renderMenu",
11613
+ "privacy": "private",
11614
+ "return": {
11615
+ "type": {
11616
+ "text": "TemplateResult"
11617
+ }
11618
+ },
11619
+ "description": "look=\"canvas\": the filled Menu button and the whole-screen menu (14:715, 21:1688). They are tied by\n`popovertarget`, so the browser opens and closes the menu, moves on to it with Tab, closes it on Escape and\ntells a screen reader whether it is open, with no script."
11398
11620
  }
11399
11621
  ],
11400
11622
  "events": [
@@ -11464,7 +11686,7 @@
11464
11686
  {
11465
11687
  "name": "links",
11466
11688
  "type": {
11467
- "text": "NavLink[]"
11689
+ "text": "SiteHeaderLink[]"
11468
11690
  },
11469
11691
  "default": "[]",
11470
11692
  "fieldName": "links"
@@ -11586,11 +11808,74 @@
11586
11808
  {
11587
11809
  "name": "presence",
11588
11810
  "type": {
11589
- "text": "Array<{ name: string; initials?: string; accent?: boolean }>"
11811
+ "text": "Array<{ name: string; initials?: string; accent?: boolean; ink?: boolean }>"
11590
11812
  },
11591
- "description": "The people in the file, drawn as small overlapping avatars. `accent` fills one in the accent.",
11813
+ "description": "The people in the file, drawn as small overlapping avatars. `ink` fills one in ink, as the first of 9:285, and `accent` in the accent.",
11592
11814
  "default": "[]",
11593
11815
  "fieldName": "presence"
11816
+ },
11817
+ {
11818
+ "name": "look",
11819
+ "type": {
11820
+ "text": "'default' | 'canvas'"
11821
+ },
11822
+ "description": "`canvas` is the whole G2 canvas header and its phone menu (`9:264`, `14:715`, `21:1688`).",
11823
+ "default": "'default'",
11824
+ "fieldName": "look"
11825
+ },
11826
+ {
11827
+ "name": "menu-action-text",
11828
+ "type": {
11829
+ "text": "string"
11830
+ },
11831
+ "description": "With `look=\"canvas\"`: the call at the foot of the phone menu, such as \"Book a 30-minute call\". The action's words when left empty.",
11832
+ "default": "''",
11833
+ "fieldName": "menuActionText"
11834
+ },
11835
+ {
11836
+ "name": "menu-action-href",
11837
+ "type": {
11838
+ "text": "string"
11839
+ },
11840
+ "description": "Where that call goes. The action's href when left empty.",
11841
+ "default": "''",
11842
+ "fieldName": "menuActionHref"
11843
+ },
11844
+ {
11845
+ "name": "menu-note",
11846
+ "type": {
11847
+ "text": "string"
11848
+ },
11849
+ "description": "With `look=\"canvas\"`: a short line in the menu's foot, such as \"UK · Cyprus\".",
11850
+ "default": "''",
11851
+ "fieldName": "menuNote"
11852
+ },
11853
+ {
11854
+ "name": "menu-email",
11855
+ "type": {
11856
+ "text": "string"
11857
+ },
11858
+ "description": "With `look=\"canvas\"`: an email address in the menu's foot, as a mail link.",
11859
+ "default": "''",
11860
+ "fieldName": "menuEmail"
11861
+ },
11862
+ {
11863
+ "name": "current-text",
11864
+ "type": {
11865
+ "text": "string"
11866
+ },
11867
+ "description": "With `look=\"canvas\"`: the word before the current page's number in the menu, as in \"Current · 01\".",
11868
+ "default": "'Current'",
11869
+ "fieldName": "currentText"
11870
+ },
11871
+ {
11872
+ "name": "close-text",
11873
+ "type": {
11874
+ "text": "string"
11875
+ },
11876
+ "description": "With `look=\"canvas\"`: the words on the button that closes the menu.",
11877
+ "default": "''",
11878
+ "fieldName": "closeText"
11594
11879
  }
11595
11880
  ],
11596
11881
  "superclass": {
@@ -12051,7 +12336,7 @@
12051
12336
  "declarations": [
12052
12337
  {
12053
12338
  "kind": "class",
12054
- "description": "A numbered list of projects, each name set large: the work on a studio's\nhome page, or the index on its work page.\n\n**Each row is one link.** The link sits on the project's name, which is a\nheading, and is stretched over the row, so the whole row can be pressed\nwhile a screen reader meets one link with one name (2.4.4, 2.5.8). The\nnumber and the arrow are decoration and are hidden from it; the list itself\nsays how many projects there are and which one this is (1.3.1).\n\n**Pointing at a row and focusing it look the same.** The row turns to the\ntext colour with the card colour on it, a pair every brand's tokens already\nhold at 4.5:1, so the state never depends on a colour of its own (1.4.3,\n1.4.11). The focus ring is still drawn over it (2.4.7).\n\nThe names shrink with the block's own width, not the window's, so the list\nreads the same in a narrow column as on a phone (1.4.10).\n\n**A row can say more.** `text` adds a description column, `badge` a status\nword in capitals and `price` a line under it, so the same list sets out a\nstudio's work or a shop of tools. A `featured` row stays in ink with its\nbadge and arrow in the accent. `columns` draws a line of column names above\nthe rows, such as \"No.\", \"Project\" and \"Type · Sector\"; it is decoration,\nsince each row's own words already say what they are.\n\n**A row can show a picture as it is pointed at.** Give it `preview` and a\ncard with the picture follows the pointer, tilted. It is shown only to a\nmouse, never on touch or with reduced motion asked for, and it is hidden\nfrom a screen reader: the row's name already says what it is.",
12339
+ "description": "A numbered list of projects, each name set large: the work on a studio's\nhome page, or the index on its work page.\n\n**Each row is one link.** The link sits on the project's name, which is a\nheading, and is stretched over the row, so the whole row can be pressed\nwhile a screen reader meets one link with one name (2.4.4, 2.5.8). The\nnumber and the arrow are decoration and are hidden from it; the list itself\nsays how many projects there are and which one this is (1.3.1).\n\n**Pointing at a row and focusing it look the same.** The row turns to the\ntext colour with the card colour on it, a pair every brand's tokens already\nhold at 4.5:1, so the state never depends on a colour of its own (1.4.3,\n1.4.11). The focus ring is still drawn over it (2.4.7).\n\nFor a brand with the reveal set on (impkt-web#51) the ink wipes in from the\nleft in 180ms and the arrow slides 4px on, on hover or focus only, and the\nrows drop into place one after another, once, as the list is reached. No row\nis inked until it is pointed at or focused, unless it is `featured`.\n\nThe names shrink with the block's own width, not the window's, so the list\nreads the same in a narrow column as on a phone (1.4.10).\n\n**A row can say more.** `text` adds a description column, `badge` a status\nword in capitals and `price` a line under it, so the same list sets out a\nstudio's work or a shop of tools. A `featured` row stays in ink with its\nbadge and arrow in the accent. `columns` draws a line of column names above\nthe rows, such as \"No.\", \"Project\" and \"Type · Sector\"; it is decoration,\nsince each row's own words already say what they are.\n\n**A row can show a picture as it is pointed at.** Give it `preview` and a\ncard with the picture follows the pointer, tilted. It is shown only to a\nmouse, never on touch or with reduced motion asked for, and it is hidden\nfrom a screen reader: the row's name already says what it is.",
12055
12340
  "name": "ImpaktWorkList",
12056
12341
  "members": [
12057
12342
  {
@@ -12269,7 +12554,7 @@
12269
12554
  },
12270
12555
  {
12271
12556
  "kind": "class",
12272
- "description": "A row of figures under a rule, each with what it counts: \"4 live products\",\n\"161 ms response time\".\n\nThe figures are a list, so a screen reader says how many there are, and each\nis read as one phrase, \"161 ms response time\", not a bare number followed\nsome way off by its label (1.3.1). The row wraps by its own width: four\nacross, then two (a phone 350px wide shows two by two), then one, with\nnothing to scroll sideways at 320px (1.4.10).",
12557
+ "description": "A row of figures under a rule, each with what it counts: \"4 live products\",\n\"161 ms response time\".\n\nFor a brand with the reveal set on (impkt-web#51) each figure counts up\nonce, over 900ms, as the row is reached. The count is drawn over the figure,\nso the real figure is the text a screen reader reads throughout; with no\nscript and with reduced motion the figure is simply there.\n\nThe figures are a list, so a screen reader says how many there are, and each\nis read as one phrase, \"161 ms response time\", not a bare number followed\nsome way off by its label (1.3.1). The row wraps by its own width: four\nacross, then two (a phone 350px wide shows two by two), then one, with\nnothing to scroll sideways at 320px (1.4.10).",
12273
12558
  "name": "ImpaktStatRow",
12274
12559
  "members": [
12275
12560
  {
@@ -12364,8 +12649,30 @@
12364
12649
  },
12365
12650
  {
12366
12651
  "kind": "class",
12367
- "description": "The questions at the foot of a page, under a heading: a title, a line of\nintroduction, and the questions as sections that open.\n\nIt is `impakt-accordion` with the heading a page always writes above it, so\nthe levels cannot drift: the questions are always one level below the\nblock's own heading (1.3.1). With a heading, the block is a region named by\nit, so a screen reader can jump straight to the questions (2.4.1).\n\nAn answer that is more than words is slotted as `panel-<id>`, exactly as\non the accordion, and is passed through to it.",
12652
+ "description": "The questions at the foot of a page, under a heading: a title, a line of\nintroduction, and the questions as sections that open.\n\nIt is `impakt-accordion` with the heading a page always writes above it, so\nthe levels cannot drift: the questions are always one level below the\nblock's own heading (1.3.1). With a heading, the block is a region named by\nit, so a screen reader can jump straight to the questions (2.4.1).\n\nAn answer that is more than words is slotted as `panel-<id>`, exactly as\non the accordion, and is passed through to it. The accordion's parts are\npassed out too, as `item`, `head`, `header` and `panel`, so a page can style\na row as it would on the accordion itself.\n\nEach row is 92px with its rule, the question centred beside its \"+\", as\nthe FAQ item of `10:670` and `21:1220` is.",
12368
12653
  "name": "ImpaktFaq",
12654
+ "cssParts": [
12655
+ {
12656
+ "description": "The accordion that holds the questions.",
12657
+ "name": "questions"
12658
+ },
12659
+ {
12660
+ "description": "A question and its answer, passed out from the accordion.",
12661
+ "name": "item"
12662
+ },
12663
+ {
12664
+ "description": "A question's row.",
12665
+ "name": "head"
12666
+ },
12667
+ {
12668
+ "description": "The button that opens a question.",
12669
+ "name": "header"
12670
+ },
12671
+ {
12672
+ "description": "An answer.",
12673
+ "name": "panel"
12674
+ }
12675
+ ],
12369
12676
  "members": [
12370
12677
  {
12371
12678
  "kind": "field",
@@ -13112,7 +13419,7 @@
13112
13419
  },
13113
13420
  {
13114
13421
  "kind": "class",
13115
- "description": "A word or two of a heading picked out as if selected in a design tool: the\naccent colour behind it, an outline and four handles.\n\nIt is decoration round real text. The words stay in the heading, in the\npage, so they are read, found and translated as the rest of it is; the\nhandles and the optional label are hidden from a screen reader (1.3.1).\nThe words on the accent are the colour the tokens measured against it\n(1.4.3). Nothing moves, so there is nothing to stop for reduced motion.\n\n`cursor` draws a pointer at the bottom-right handle, as if someone in the\nfile had just picked the words; its value, if any, is the name tag beside\nit. `hide-label-on=\"phone\"` leaves the label out on a phone, where it would\ncrowd the line below.",
13422
+ "description": "A word or two of a heading picked out as if selected in a design tool: the\naccent colour behind it, an outline and four handles.\n\nIt is decoration round real text. The words stay in the heading, in the\npage, so they are read, found and translated as the rest of it is; the\nhandles and the optional label are hidden from a screen reader (1.3.1).\nThe words on the accent are the colour the tokens measured against it\n(1.4.3).\n\n**It draws itself once** (impkt-web#51), for a brand with the reveal set on:\nwhen its section reaches the middle of the screen the frame is drawn round\nthe words in 260ms, the 8px handles appear at its corners and the size in\nthe label counts up to the real size. The words never move. With no script\nand with reduced motion it is drawn as it ends.\n\n`cursor` draws a pointer at the bottom-right handle, as if someone in the\nfile had just picked the words; its value, if any, is the name tag beside\nit. `hide-label-on=\"phone\"` leaves the label out on a phone, where it would\ncrowd the line below.\n\nThe box is drawn 0.1em outside the words at each side, as the Selection in\nthe home frame is (`9:306`), so the words keep their place in the heading\nand the box hangs into the space round them. At its end it also gives back\nthe display type's -0.05em tracking after the last letter\n(`--impakt-highlight-trail`), and the word after it is pushed along by the\noverhang, so a space still follows the box (`9:302`, `21:1322`).",
13116
13423
  "name": "ImpaktHighlight",
13117
13424
  "slots": [
13118
13425
  {