@atomic-ui/blocks 0.13.1 → 0.13.2
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.
- package/custom-elements.json +261 -18
- package/dist/{chunk-JIITZUGI.js → chunk-53V2GY6L.js} +30 -19
- package/dist/chunk-53V2GY6L.js.map +1 -0
- package/dist/{chunk-MX7FU5JE.js → chunk-B6I3GVJ5.js} +32 -19
- package/dist/chunk-B6I3GVJ5.js.map +1 -0
- package/dist/{chunk-KOYQRJKY.js → chunk-FNGN2F6Y.js} +145 -14
- package/dist/chunk-FNGN2F6Y.js.map +1 -0
- package/dist/{chunk-W3MK3EEO.js → chunk-H262HKSL.js} +37 -19
- package/dist/chunk-H262HKSL.js.map +1 -0
- package/dist/{chunk-VXQS5TAN.js → chunk-IT2NA25D.js} +44 -23
- package/dist/chunk-IT2NA25D.js.map +1 -0
- package/dist/{chunk-EYP5LWUR.js → chunk-MMADM6OW.js} +13 -3
- package/dist/chunk-MMADM6OW.js.map +1 -0
- package/dist/{chunk-CCFBROX3.js → chunk-WIVKJL64.js} +67 -34
- package/dist/chunk-WIVKJL64.js.map +1 -0
- package/dist/{chunk-X3U2SOVV.js → chunk-WTVF3JRL.js} +43 -27
- package/dist/chunk-WTVF3JRL.js.map +1 -0
- package/dist/components/changelog.js +1 -1
- package/dist/components/estimator.js +1 -1
- package/dist/components/g2-case.d.ts +21 -6
- package/dist/components/g2-case.js +1 -1
- package/dist/components/g2-site.d.ts +17 -4
- package/dist/components/g2-site.js +1 -1
- package/dist/components/journey.d.ts +13 -2
- package/dist/components/journey.js +1 -1
- package/dist/components/organisms.js +1 -1
- package/dist/components/site.d.ts +72 -1
- package/dist/components/site.js +2 -1
- package/dist/components/studio.d.ts +4 -0
- package/dist/components/studio.js +1 -1
- package/dist/index.js +8 -8
- package/dist/standalone/atomic-ui-blocks.js +1207 -1046
- package/dist/standalone/atomic-ui-blocks.js.map +4 -4
- package/package.json +3 -3
- package/dist/chunk-CCFBROX3.js.map +0 -1
- package/dist/chunk-EYP5LWUR.js.map +0 -1
- package/dist/chunk-JIITZUGI.js.map +0 -1
- package/dist/chunk-KOYQRJKY.js.map +0 -1
- package/dist/chunk-MX7FU5JE.js.map +0 -1
- package/dist/chunk-VXQS5TAN.js.map +0 -1
- package/dist/chunk-W3MK3EEO.js.map +0 -1
- package/dist/chunk-X3U2SOVV.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -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
|
|
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`).\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).",
|
|
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.
|
|
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).",
|
|
2875
2875
|
"name": "ImpaktStageTag",
|
|
2876
2876
|
"members": [
|
|
2877
2877
|
{
|
|
@@ -2926,7 +2926,7 @@
|
|
|
2926
2926
|
"type": {
|
|
2927
2927
|
"text": "boolean"
|
|
2928
2928
|
},
|
|
2929
|
-
"description": "
|
|
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": "
|
|
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\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": {
|
|
@@ -4319,7 +4359,7 @@
|
|
|
4319
4359
|
},
|
|
4320
4360
|
{
|
|
4321
4361
|
"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`.",
|
|
4362
|
+
"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, 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`.",
|
|
4323
4363
|
"name": "ImpaktJourneyButton",
|
|
4324
4364
|
"cssProperties": [
|
|
4325
4365
|
{
|
|
@@ -4460,8 +4500,8 @@
|
|
|
4460
4500
|
"type": {
|
|
4461
4501
|
"text": "string"
|
|
4462
4502
|
},
|
|
4463
|
-
"description": "With `annotations`: the width written on the width mark,
|
|
4464
|
-
"default": "'
|
|
4503
|
+
"description": "With `annotations`: the width written on the width mark, \"320\" unless set.",
|
|
4504
|
+
"default": "'320'",
|
|
4465
4505
|
"attribute": "mark-width"
|
|
4466
4506
|
},
|
|
4467
4507
|
{
|
|
@@ -4471,10 +4511,20 @@
|
|
|
4471
4511
|
"type": {
|
|
4472
4512
|
"text": "string"
|
|
4473
4513
|
},
|
|
4474
|
-
"description": "With `annotations`: the height written on the height mark,
|
|
4475
|
-
"default": "'
|
|
4514
|
+
"description": "With `annotations`: the height written on the height mark, \"72\" unless set.",
|
|
4515
|
+
"default": "'72'",
|
|
4476
4516
|
"attribute": "mark-height"
|
|
4477
4517
|
},
|
|
4518
|
+
{
|
|
4519
|
+
"kind": "field",
|
|
4520
|
+
"name": "progress",
|
|
4521
|
+
"privacy": "public",
|
|
4522
|
+
"type": {
|
|
4523
|
+
"text": "number | undefined"
|
|
4524
|
+
},
|
|
4525
|
+
"description": "Draw the morph at this point, from 0 (note) to 4 (live), instead of at `stage`. Leave unset to follow `stage` or `track`.",
|
|
4526
|
+
"attribute": "progress"
|
|
4527
|
+
},
|
|
4478
4528
|
{
|
|
4479
4529
|
"kind": "field",
|
|
4480
4530
|
"name": "observer",
|
|
@@ -4847,8 +4897,8 @@
|
|
|
4847
4897
|
"type": {
|
|
4848
4898
|
"text": "string"
|
|
4849
4899
|
},
|
|
4850
|
-
"description": "With `annotations`: the width written on the width mark,
|
|
4851
|
-
"default": "'
|
|
4900
|
+
"description": "With `annotations`: the width written on the width mark, \"320\" unless set.",
|
|
4901
|
+
"default": "'320'",
|
|
4852
4902
|
"fieldName": "markWidth"
|
|
4853
4903
|
},
|
|
4854
4904
|
{
|
|
@@ -4856,9 +4906,17 @@
|
|
|
4856
4906
|
"type": {
|
|
4857
4907
|
"text": "string"
|
|
4858
4908
|
},
|
|
4859
|
-
"description": "With `annotations`: the height written on the height mark,
|
|
4860
|
-
"default": "'
|
|
4909
|
+
"description": "With `annotations`: the height written on the height mark, \"72\" unless set.",
|
|
4910
|
+
"default": "'72'",
|
|
4861
4911
|
"fieldName": "markHeight"
|
|
4912
|
+
},
|
|
4913
|
+
{
|
|
4914
|
+
"name": "progress",
|
|
4915
|
+
"type": {
|
|
4916
|
+
"text": "number | undefined"
|
|
4917
|
+
},
|
|
4918
|
+
"description": "Draw the morph at this point, from 0 (note) to 4 (live), instead of at `stage`. Leave unset to follow `stage` or `track`.",
|
|
4919
|
+
"fieldName": "progress"
|
|
4862
4920
|
}
|
|
4863
4921
|
],
|
|
4864
4922
|
"superclass": {
|
|
@@ -11136,8 +11194,26 @@
|
|
|
11136
11194
|
"declarations": [
|
|
11137
11195
|
{
|
|
11138
11196
|
"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.",
|
|
11197
|
+
"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
11198
|
"name": "ImpaktSiteHeader",
|
|
11199
|
+
"cssParts": [
|
|
11200
|
+
{
|
|
11201
|
+
"description": "With `look=\"canvas\"`: the filled Menu button.",
|
|
11202
|
+
"name": "menu-button"
|
|
11203
|
+
},
|
|
11204
|
+
{
|
|
11205
|
+
"description": "With `look=\"canvas\"`: the whole-screen menu.",
|
|
11206
|
+
"name": "menu"
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
"description": "With `look=\"canvas\"`: a link in the menu.",
|
|
11210
|
+
"name": "menu-link"
|
|
11211
|
+
},
|
|
11212
|
+
{
|
|
11213
|
+
"description": "With `look=\"canvas\"`: the menu's foot.",
|
|
11214
|
+
"name": "menu-foot"
|
|
11215
|
+
}
|
|
11216
|
+
],
|
|
11141
11217
|
"slots": [
|
|
11142
11218
|
{
|
|
11143
11219
|
"description": "The brand: a wordmark or logo, and any chips beside it.",
|
|
@@ -11154,6 +11230,10 @@
|
|
|
11154
11230
|
{
|
|
11155
11231
|
"description": "A status and the call to action.",
|
|
11156
11232
|
"name": "end"
|
|
11233
|
+
},
|
|
11234
|
+
{
|
|
11235
|
+
"description": "With `look=\"canvas\"`: the foot of the phone menu, in place of the call, the note and the email address the props draw.",
|
|
11236
|
+
"name": "menu-foot"
|
|
11157
11237
|
}
|
|
11158
11238
|
],
|
|
11159
11239
|
"members": [
|
|
@@ -11228,7 +11308,7 @@
|
|
|
11228
11308
|
"name": "links",
|
|
11229
11309
|
"privacy": "public",
|
|
11230
11310
|
"type": {
|
|
11231
|
-
"text": "
|
|
11311
|
+
"text": "SiteHeaderLink[]"
|
|
11232
11312
|
},
|
|
11233
11313
|
"default": "[]",
|
|
11234
11314
|
"attribute": "links"
|
|
@@ -11386,6 +11466,84 @@
|
|
|
11386
11466
|
"default": "[]",
|
|
11387
11467
|
"attribute": "presence"
|
|
11388
11468
|
},
|
|
11469
|
+
{
|
|
11470
|
+
"kind": "field",
|
|
11471
|
+
"name": "look",
|
|
11472
|
+
"privacy": "public",
|
|
11473
|
+
"type": {
|
|
11474
|
+
"text": "'default' | 'canvas'"
|
|
11475
|
+
},
|
|
11476
|
+
"description": "`canvas` is the whole G2 canvas header and its phone menu (`9:264`, `14:715`, `21:1688`).",
|
|
11477
|
+
"default": "'default'",
|
|
11478
|
+
"attribute": "look",
|
|
11479
|
+
"reflects": true
|
|
11480
|
+
},
|
|
11481
|
+
{
|
|
11482
|
+
"kind": "field",
|
|
11483
|
+
"name": "menuActionText",
|
|
11484
|
+
"privacy": "public",
|
|
11485
|
+
"type": {
|
|
11486
|
+
"text": "string"
|
|
11487
|
+
},
|
|
11488
|
+
"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.",
|
|
11489
|
+
"default": "''",
|
|
11490
|
+
"attribute": "menu-action-text"
|
|
11491
|
+
},
|
|
11492
|
+
{
|
|
11493
|
+
"kind": "field",
|
|
11494
|
+
"name": "menuActionHref",
|
|
11495
|
+
"privacy": "public",
|
|
11496
|
+
"type": {
|
|
11497
|
+
"text": "string"
|
|
11498
|
+
},
|
|
11499
|
+
"description": "Where that call goes. The action's href when left empty.",
|
|
11500
|
+
"default": "''",
|
|
11501
|
+
"attribute": "menu-action-href"
|
|
11502
|
+
},
|
|
11503
|
+
{
|
|
11504
|
+
"kind": "field",
|
|
11505
|
+
"name": "menuNote",
|
|
11506
|
+
"privacy": "public",
|
|
11507
|
+
"type": {
|
|
11508
|
+
"text": "string"
|
|
11509
|
+
},
|
|
11510
|
+
"description": "With `look=\"canvas\"`: a short line in the menu's foot, such as \"UK · Cyprus\".",
|
|
11511
|
+
"default": "''",
|
|
11512
|
+
"attribute": "menu-note"
|
|
11513
|
+
},
|
|
11514
|
+
{
|
|
11515
|
+
"kind": "field",
|
|
11516
|
+
"name": "menuEmail",
|
|
11517
|
+
"privacy": "public",
|
|
11518
|
+
"type": {
|
|
11519
|
+
"text": "string"
|
|
11520
|
+
},
|
|
11521
|
+
"description": "With `look=\"canvas\"`: an email address in the menu's foot, as a mail link.",
|
|
11522
|
+
"default": "''",
|
|
11523
|
+
"attribute": "menu-email"
|
|
11524
|
+
},
|
|
11525
|
+
{
|
|
11526
|
+
"kind": "field",
|
|
11527
|
+
"name": "currentText",
|
|
11528
|
+
"privacy": "public",
|
|
11529
|
+
"type": {
|
|
11530
|
+
"text": "string"
|
|
11531
|
+
},
|
|
11532
|
+
"description": "With `look=\"canvas\"`: the word before the current page's number in the menu, as in \"Current · 01\".",
|
|
11533
|
+
"default": "'Current'",
|
|
11534
|
+
"attribute": "current-text"
|
|
11535
|
+
},
|
|
11536
|
+
{
|
|
11537
|
+
"kind": "field",
|
|
11538
|
+
"name": "closeText",
|
|
11539
|
+
"privacy": "public",
|
|
11540
|
+
"type": {
|
|
11541
|
+
"text": "string"
|
|
11542
|
+
},
|
|
11543
|
+
"description": "With `look=\"canvas\"`: the words on the button that closes the menu.",
|
|
11544
|
+
"default": "''",
|
|
11545
|
+
"attribute": "close-text"
|
|
11546
|
+
},
|
|
11389
11547
|
{
|
|
11390
11548
|
"kind": "method",
|
|
11391
11549
|
"name": "act",
|
|
@@ -11395,6 +11553,28 @@
|
|
|
11395
11553
|
"text": "void"
|
|
11396
11554
|
}
|
|
11397
11555
|
}
|
|
11556
|
+
},
|
|
11557
|
+
{
|
|
11558
|
+
"kind": "method",
|
|
11559
|
+
"name": "renderBrand",
|
|
11560
|
+
"privacy": "private",
|
|
11561
|
+
"return": {
|
|
11562
|
+
"type": {
|
|
11563
|
+
"text": "TemplateResult | typeof nothing"
|
|
11564
|
+
}
|
|
11565
|
+
},
|
|
11566
|
+
"description": "The brand link: the mark and the name, or the logo."
|
|
11567
|
+
},
|
|
11568
|
+
{
|
|
11569
|
+
"kind": "method",
|
|
11570
|
+
"name": "renderMenu",
|
|
11571
|
+
"privacy": "private",
|
|
11572
|
+
"return": {
|
|
11573
|
+
"type": {
|
|
11574
|
+
"text": "TemplateResult"
|
|
11575
|
+
}
|
|
11576
|
+
},
|
|
11577
|
+
"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
11578
|
}
|
|
11399
11579
|
],
|
|
11400
11580
|
"events": [
|
|
@@ -11464,7 +11644,7 @@
|
|
|
11464
11644
|
{
|
|
11465
11645
|
"name": "links",
|
|
11466
11646
|
"type": {
|
|
11467
|
-
"text": "
|
|
11647
|
+
"text": "SiteHeaderLink[]"
|
|
11468
11648
|
},
|
|
11469
11649
|
"default": "[]",
|
|
11470
11650
|
"fieldName": "links"
|
|
@@ -11591,6 +11771,69 @@
|
|
|
11591
11771
|
"description": "The people in the file, drawn as small overlapping avatars. `accent` fills one in the accent.",
|
|
11592
11772
|
"default": "[]",
|
|
11593
11773
|
"fieldName": "presence"
|
|
11774
|
+
},
|
|
11775
|
+
{
|
|
11776
|
+
"name": "look",
|
|
11777
|
+
"type": {
|
|
11778
|
+
"text": "'default' | 'canvas'"
|
|
11779
|
+
},
|
|
11780
|
+
"description": "`canvas` is the whole G2 canvas header and its phone menu (`9:264`, `14:715`, `21:1688`).",
|
|
11781
|
+
"default": "'default'",
|
|
11782
|
+
"fieldName": "look"
|
|
11783
|
+
},
|
|
11784
|
+
{
|
|
11785
|
+
"name": "menu-action-text",
|
|
11786
|
+
"type": {
|
|
11787
|
+
"text": "string"
|
|
11788
|
+
},
|
|
11789
|
+
"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.",
|
|
11790
|
+
"default": "''",
|
|
11791
|
+
"fieldName": "menuActionText"
|
|
11792
|
+
},
|
|
11793
|
+
{
|
|
11794
|
+
"name": "menu-action-href",
|
|
11795
|
+
"type": {
|
|
11796
|
+
"text": "string"
|
|
11797
|
+
},
|
|
11798
|
+
"description": "Where that call goes. The action's href when left empty.",
|
|
11799
|
+
"default": "''",
|
|
11800
|
+
"fieldName": "menuActionHref"
|
|
11801
|
+
},
|
|
11802
|
+
{
|
|
11803
|
+
"name": "menu-note",
|
|
11804
|
+
"type": {
|
|
11805
|
+
"text": "string"
|
|
11806
|
+
},
|
|
11807
|
+
"description": "With `look=\"canvas\"`: a short line in the menu's foot, such as \"UK · Cyprus\".",
|
|
11808
|
+
"default": "''",
|
|
11809
|
+
"fieldName": "menuNote"
|
|
11810
|
+
},
|
|
11811
|
+
{
|
|
11812
|
+
"name": "menu-email",
|
|
11813
|
+
"type": {
|
|
11814
|
+
"text": "string"
|
|
11815
|
+
},
|
|
11816
|
+
"description": "With `look=\"canvas\"`: an email address in the menu's foot, as a mail link.",
|
|
11817
|
+
"default": "''",
|
|
11818
|
+
"fieldName": "menuEmail"
|
|
11819
|
+
},
|
|
11820
|
+
{
|
|
11821
|
+
"name": "current-text",
|
|
11822
|
+
"type": {
|
|
11823
|
+
"text": "string"
|
|
11824
|
+
},
|
|
11825
|
+
"description": "With `look=\"canvas\"`: the word before the current page's number in the menu, as in \"Current · 01\".",
|
|
11826
|
+
"default": "'Current'",
|
|
11827
|
+
"fieldName": "currentText"
|
|
11828
|
+
},
|
|
11829
|
+
{
|
|
11830
|
+
"name": "close-text",
|
|
11831
|
+
"type": {
|
|
11832
|
+
"text": "string"
|
|
11833
|
+
},
|
|
11834
|
+
"description": "With `look=\"canvas\"`: the words on the button that closes the menu.",
|
|
11835
|
+
"default": "''",
|
|
11836
|
+
"fieldName": "closeText"
|
|
11594
11837
|
}
|
|
11595
11838
|
],
|
|
11596
11839
|
"superclass": {
|
|
@@ -13112,7 +13355,7 @@
|
|
|
13112
13355
|
},
|
|
13113
13356
|
{
|
|
13114
13357
|
"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.",
|
|
13358
|
+
"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.\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.",
|
|
13116
13359
|
"name": "ImpaktHighlight",
|
|
13117
13360
|
"slots": [
|
|
13118
13361
|
{
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
|
|
15
15
|
// packages/blocks/src/components/g2-site.ts
|
|
16
16
|
import { css, html, nothing } from "lit";
|
|
17
|
-
import { ImpaktElement, focusRing, fontWeight, say, space, spaceAround, t } from "@atomic-ui/ui";
|
|
17
|
+
import { ImpaktElement, focusRing, fontWeight, say, space, spaceAround, t, token } from "@atomic-ui/ui";
|
|
18
18
|
var STAGE_WORDS = {
|
|
19
19
|
note: ["01", "Discover", "Note"],
|
|
20
20
|
wireframe: ["02", "Design low-fi", "Wireframe"],
|
|
@@ -47,12 +47,11 @@ var ImpaktStageTag = class extends ImpaktElement {
|
|
|
47
47
|
...ImpaktElement.styles,
|
|
48
48
|
css`
|
|
49
49
|
:host { display: inline-block; vertical-align: middle; }
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
/* The Stage tag component (8:320): G2 Mono S, 11px medium capitals at 0.06em, 10px apart, 6 by 10 inside, on the raised ink with a hairline. Its corner is a brand shape, 3px for Impakt. */
|
|
51
|
+
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 10px; background: ${inkRaised}; border: 1px solid ${inkLine}; border-radius: ${token("stage-tag.radius", "0px")}; ${monoLabel}; font-weight: ${fontWeight("medium")}; white-space: nowrap; }
|
|
52
52
|
.index { color: ${accentOnInk}; }
|
|
53
53
|
.phase { color: ${paper}; }
|
|
54
54
|
.label { color: ${inkMuted}; }
|
|
55
|
-
@media (prefers-color-scheme: dark) { .tag { border-color: ${inkLine}; } }
|
|
56
55
|
@media (forced-colors: active) { .tag { border-color: CanvasText; } .index, .phase, .label { color: CanvasText; } }
|
|
57
56
|
`
|
|
58
57
|
];
|
|
@@ -80,11 +79,13 @@ var ImpaktSectionHead = class extends ImpaktElement {
|
|
|
80
79
|
stage: { type: String },
|
|
81
80
|
stageOnInk: { type: Boolean, attribute: "stage-on-ink" },
|
|
82
81
|
spaceAbove: { type: String, reflect: true, attribute: "space-above" },
|
|
83
|
-
spaceBelow: { type: String, reflect: true, attribute: "space-below" }
|
|
82
|
+
spaceBelow: { type: String, reflect: true, attribute: "space-below" },
|
|
83
|
+
aside: { type: Boolean, reflect: true }
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
constructor() {
|
|
87
87
|
super();
|
|
88
|
+
this.aside = false;
|
|
88
89
|
this.label = "";
|
|
89
90
|
this.heading = "";
|
|
90
91
|
this.lead = "";
|
|
@@ -102,7 +103,9 @@ var ImpaktSectionHead = class extends ImpaktElement {
|
|
|
102
103
|
spaceAround,
|
|
103
104
|
css`
|
|
104
105
|
:host { display: block; container-type: inline-size; color: ${t.text}; }
|
|
105
|
-
|
|
106
|
+
/* The label row is the label's own 20px (12:712, 10:642), or the stage tag's 29px beside it (9:296). */
|
|
107
|
+
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: ${space(2)} ${space(4)}; }
|
|
108
|
+
.top.tagged { min-block-size: 29px; }
|
|
106
109
|
/* The label row in G2 Mono M: IBM Plex Mono 13px at 1.5 (14:728). */
|
|
107
110
|
.label { margin: 0; font-family: ${t.fontMono}; font-size: var(--impakt-type-mono-m-size, 0.8125rem); line-height: var(--impakt-type-mono-m-line-height, 1.5); color: ${t.textMuted}; }
|
|
108
111
|
.body { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: ${space(10)}; row-gap: ${space(6)}; align-items: end; margin-block-start: ${space(6)}; }
|
|
@@ -111,15 +114,18 @@ var ImpaktSectionHead = class extends ImpaktElement {
|
|
|
111
114
|
:host([size='l']) .heading { font-size: clamp(2.5rem, 1.2rem + 5cqi, 4rem); line-height: 1; letter-spacing: -0.04em; max-inline-size: 11.5em; }
|
|
112
115
|
/* Display XL: 120px on a 1080px column and 52px on a 350px phone column, line height 1 and -5% (9:303, 14:734). */
|
|
113
116
|
:host([size='xl']) .heading { font-size: clamp(3.25rem, 1.2128rem + 9.315cqi, 7.5rem); line-height: var(--impakt-type-display-xl-line-height, 1); letter-spacing: var(--impakt-type-display-xl-tracking, -0.05em); }
|
|
114
|
-
|
|
117
|
+
/* The lead in G2 Body M, 16px at 1.45, 24px under the heading and at most 480px wide (9:385). */
|
|
118
|
+
.lead { margin: ${space(6)} 0 0; max-inline-size: 30rem; font-size: 1rem; line-height: 1.45; color: ${t.textMuted}; }
|
|
115
119
|
.side { display: grid; gap: ${space(6)}; justify-items: end; }
|
|
116
120
|
/* Beside a picture in the aside, such as the journey button, the heading sits level with the middle of it. */
|
|
117
|
-
.body.aside { align-items: center; }
|
|
121
|
+
:host([aside]) .body, .body.aside { align-items: center; }
|
|
118
122
|
.side .lead { margin: 0; max-inline-size: 340px; inline-size: 340px; }
|
|
119
123
|
.side:not(:has(.lead)) { align-self: center; }
|
|
120
124
|
::slotted([slot='aside']) { display: block; max-inline-size: 100%; }
|
|
121
125
|
@container (max-width: 47.99rem) {
|
|
122
|
-
|
|
126
|
+
/* On a phone the heading is 20px under the label row and the lead 16px under the heading (14:984, 14:804). */
|
|
127
|
+
.body { grid-template-columns: minmax(0, 1fr); margin-block-start: ${space(5)}; }
|
|
128
|
+
.main .lead { margin-block-start: ${space(4)}; }
|
|
123
129
|
.side { justify-items: stretch; }
|
|
124
130
|
.side .lead { inline-size: auto; }
|
|
125
131
|
}
|
|
@@ -133,16 +139,20 @@ var ImpaktSectionHead = class extends ImpaktElement {
|
|
|
133
139
|
const heading = Number(this.level) === 1 ? html`<h1 class="heading" part="heading">${inner}</h1>` : html`<h2 class="heading" part="heading">${inner}</h2>`;
|
|
134
140
|
const side = this.leadPosition === "side";
|
|
135
141
|
return html`<header part="head">
|
|
136
|
-
<div class
|
|
142
|
+
<div class=${this.stage || this.hasSlot("tag") ? "top tagged" : "top"}>
|
|
137
143
|
${this.label ? html`<p class="label" part="label"><span aria-hidden="true"># </span>${this.label}</p>` : html`<span></span>`}
|
|
138
|
-
<slot name="tag">${this.stage ? html`<impakt-stage-tag stage=${this.stage} ?on-ink=${this.stageOnInk}></impakt-stage-tag>` : nothing}</slot>
|
|
144
|
+
<slot name="tag" @slotchange=${() => this.requestUpdate()}>${this.stage ? html`<impakt-stage-tag stage=${this.stage} ?on-ink=${this.stageOnInk}></impakt-stage-tag>` : nothing}</slot>
|
|
139
145
|
</div>
|
|
140
146
|
<div class=${this.hasSlot("aside") ? "body aside" : "body"}>
|
|
141
147
|
<div class="main">${heading}${showLead && !side ? lead : nothing}</div>
|
|
142
|
-
<div class="side">${showLead && side ? lead : nothing}<slot name="aside"></slot></div>
|
|
148
|
+
<div class="side">${showLead && side ? lead : nothing}<slot name="aside" @slotchange=${this.asideChanged}></slot></div>
|
|
143
149
|
</div>
|
|
144
150
|
</header>`;
|
|
145
151
|
}
|
|
152
|
+
/** The aside slot filled or emptied: keep `aside` in step, so the heading sits level with it. */
|
|
153
|
+
asideChanged(event) {
|
|
154
|
+
this.aside = event.target.assignedElements().length > 0;
|
|
155
|
+
}
|
|
146
156
|
/** Whether a child is in the named slot. On a server, where there are no children, only the attribute counts. */
|
|
147
157
|
hasSlot(name) {
|
|
148
158
|
const children = this.children;
|
|
@@ -181,17 +191,18 @@ var ImpaktServiceCard = class extends ImpaktElement {
|
|
|
181
191
|
:host { display: block; block-size: 100%; }
|
|
182
192
|
article { position: relative; box-sizing: border-box; block-size: 100%; min-block-size: 330px; display: flex; flex-direction: column; justify-content: space-between; gap: ${space(6)}; padding: ${space(6)}; background: ${t.surfaceCard}; color: ${t.text}; border: 1px solid ${t.text}; transition: background-color 140ms ease-out, color 140ms ease-out; }
|
|
183
193
|
.top { display: flex; align-items: center; justify-content: space-between; }
|
|
184
|
-
|
|
194
|
+
/* The Service card component (8:358): the number in G2 Mono M, 13px with no tracking; the name, line, tags and link 10px apart. */
|
|
195
|
+
.number { font-family: ${t.fontMono}; font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0; }
|
|
185
196
|
.dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: currentColor; }
|
|
186
|
-
.foot { display: grid; gap: ${space(
|
|
187
|
-
.heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.
|
|
197
|
+
.foot { display: grid; gap: ${space(2.5)}; }
|
|
198
|
+
.heading { margin: 0; font-family: ${t.fontHeading}; font-size: 1.5rem; font-weight: ${fontWeight("semibold")}; line-height: 1.15; letter-spacing: -0.025em; }
|
|
188
199
|
.heading a { color: inherit; text-decoration: none; }
|
|
189
200
|
.heading a::after { content: ''; position: absolute; inset: 0; }
|
|
190
201
|
.heading a:focus-visible { outline: none; }
|
|
191
202
|
.heading a:focus-visible::after { box-shadow: ${t.focusShadow}; }
|
|
192
|
-
.text { margin: 0; font-size: 0.
|
|
193
|
-
.tags { margin: ${
|
|
194
|
-
.more {
|
|
203
|
+
.text { margin: 0; font-size: 0.875rem; line-height: 1.4; color: ${t.textMuted}; }
|
|
204
|
+
.tags { margin: 0; ${monoLabel}; font-weight: ${fontWeight("medium")}; color: ${t.textMuted}; }
|
|
205
|
+
.more { ${monoLabel}; font-weight: ${fontWeight("medium")}; }
|
|
195
206
|
article:has(a):hover, article:focus-within, :host([featured]) article { background: ${ink}; color: ${paper}; border-color: ${ink}; }
|
|
196
207
|
article:has(a):hover :is(.text, .tags), article:focus-within :is(.text, .tags), :host([featured]) :is(.text, .tags) { color: ${inkMuted}; }
|
|
197
208
|
article:has(a):hover :is(.dot, .more), article:focus-within :is(.dot, .more), :host([featured]) :is(.dot, .more) { color: ${accentOnInk}; }
|
|
@@ -499,4 +510,4 @@ export {
|
|
|
499
510
|
ImpaktColumnList,
|
|
500
511
|
ImpaktOfficeCard
|
|
501
512
|
};
|
|
502
|
-
//# sourceMappingURL=chunk-
|
|
513
|
+
//# sourceMappingURL=chunk-53V2GY6L.js.map
|