@atelic-action/ui 8.0.0 → 8.1.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 (56) hide show
  1. package/README.md +135 -14
  2. package/bin/atelic-check-sentry.ts +5 -0
  3. package/dist/gate/middleware.js +15 -1
  4. package/dist/monitoring/server.d.ts +72 -0
  5. package/dist/monitoring/server.js +201 -0
  6. package/dist/vite/index.d.ts +1 -1
  7. package/dist/vite/index.js +1 -1
  8. package/dist/vite/marketing-config.d.ts +28 -1
  9. package/dist/vite/marketing-config.js +62 -0
  10. package/package.json +10 -2
  11. package/src/app/layout/DesktopRail.tsx +6 -4
  12. package/src/app/layout/MobileMenu.tsx +10 -5
  13. package/src/app/layout/MobileTabBar.tsx +3 -2
  14. package/src/app/layout/PageError.tsx +2 -2
  15. package/src/app/layout/SectionCards.tsx +7 -2
  16. package/src/app/layout/UserMenu.tsx +1 -1
  17. package/src/app/ui/alert.tsx +1 -1
  18. package/src/app/ui/form.tsx +2 -2
  19. package/src/artifact/AppErrorBoundary.tsx +12 -7
  20. package/src/chrome/BrandLockup.tsx +35 -5
  21. package/src/chrome/ContactDock.tsx +45 -13
  22. package/src/chrome/Footer.tsx +97 -25
  23. package/src/chrome/NavMegaPanel.tsx +17 -6
  24. package/src/chrome/SiteHeader.tsx +35 -7
  25. package/src/chrome/SiteMenu.tsx +6 -3
  26. package/src/chrome/SiteShell.tsx +22 -2
  27. package/src/chrome/StickyCTABar.tsx +12 -8
  28. package/src/components/NotFound.tsx +3 -2
  29. package/src/gate/middleware.ts +15 -1
  30. package/src/lib/emailText.tsx +26 -0
  31. package/src/lib/phoneText.tsx +40 -0
  32. package/src/monitoring/ErrorCatcherScript.tsx +15 -0
  33. package/src/monitoring/catcher.ts +118 -0
  34. package/src/monitoring/index.ts +25 -0
  35. package/src/monitoring/sdk.ts +112 -0
  36. package/src/monitoring/server.ts +244 -0
  37. package/src/monitoring/start.ts +118 -0
  38. package/src/primitives/Button.tsx +3 -1
  39. package/src/primitives/Eyebrow.tsx +6 -2
  40. package/src/routing/index.ts +1 -0
  41. package/src/routing/miss.ts +32 -0
  42. package/src/scripts/check-sentry.ts +77 -0
  43. package/src/sections/FullBleedVideo.tsx +13 -4
  44. package/src/sections/Hero.tsx +8 -1
  45. package/src/sections/LinkColumns.tsx +30 -14
  46. package/src/sections/Locations.tsx +1 -1
  47. package/src/sections/siteConfig.ts +35 -5
  48. package/src/styles/app.css +9 -0
  49. package/src/styles/base.css +26 -0
  50. package/src/styles/chrome.css +218 -28
  51. package/src/styles/defaults.css +5 -2
  52. package/src/styles/primitives.css +11 -4
  53. package/src/styles/sections.css +26 -3
  54. package/src/types.ts +8 -1
  55. package/src/vite/index.ts +4 -0
  56. package/src/vite/marketing-config.ts +81 -1
@@ -97,11 +97,13 @@
97
97
  box-shadow 0.3s ease,
98
98
  backdrop-filter 0.3s ease;
99
99
  }
100
+ /* The bar and its panels run as wide as the page's wrap unless a design
101
+ sets --header-max and --header-gutter to run them wider. */
100
102
  .atelic-ui .nav-inner {
101
103
  width: 100%;
102
- max-width: var(--max-width);
104
+ max-width: var(--header-max, var(--max-width));
103
105
  margin-inline: auto;
104
- padding-inline: var(--gutter);
106
+ padding-inline: var(--header-gutter, var(--gutter));
105
107
  display: flex;
106
108
  align-items: center;
107
109
  justify-content: space-between;
@@ -115,6 +117,9 @@
115
117
  font-weight: var(--weight-heavy);
116
118
  letter-spacing: -0.02em;
117
119
  font-size: 1.02rem;
120
+ /* The lockup never shrinks: a crowded bar (five groups, a number, a
121
+ call to action) once squeezed a wide mark below its height. */
122
+ flex: none;
118
123
  /* The brand's name never breaks inside a word: the root's anywhere
119
124
  (defaults.css, Long words) would let a crowded bar squeeze the wordmark
120
125
  letter by letter. It still wraps at its spaces. */
@@ -126,6 +131,7 @@
126
131
  display: block;
127
132
  height: var(--brand-mark-height);
128
133
  width: auto;
134
+ max-width: none;
129
135
  flex: none;
130
136
  }
131
137
  /* A mark cut per surface: the light bar shows the one for a light ground,
@@ -175,23 +181,41 @@
175
181
  color 0.15s;
176
182
  }
177
183
  .atelic-ui .nav-links > a:hover,
178
- .atelic-ui .nav-links .nav-group-btn:hover,
179
- .atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
184
+ .atelic-ui .nav-links .nav-group-btn:hover {
180
185
  background: var(--hover-tint);
181
186
  }
187
+ /* The open group's pill: the hover tint and the bar's own words unless a
188
+ theme sets --nav-open-bg and --nav-open-ink. */
189
+ .atelic-ui .nav-links .nav-group-btn[aria-expanded="true"] {
190
+ background: var(--nav-open-bg, var(--hover-tint));
191
+ color: var(--nav-open-ink, inherit);
192
+ }
182
193
  /* The entry for where the reader is: a page's scroll spied stop, the
183
194
  page being read, or the group holding it. Words on the bar's surface,
184
- so they read --primary-ink; over a hero the transparent bar keeps the
185
- plain primary, since no surface sits behind it. */
195
+ so they read --primary-ink. */
186
196
  .atelic-ui .nav-links > a.active,
187
197
  .atelic-ui .nav-links > a[aria-current="page"],
188
198
  .atelic-ui .nav-links .nav-group-btn.is-current {
189
199
  color: var(--primary-ink, var(--primary));
190
- }
200
+ /* Marked by more than its hue: a deep primary can sit within 2 to 1 of
201
+ the bar's other words, so the entry carries the underline the
202
+ transparent bar gives it too. */
203
+ text-decoration-line: underline;
204
+ text-decoration-thickness: 2px;
205
+ text-underline-offset: 6px;
206
+ }
207
+ /* Over a hero no surface sits behind the transparent bar, and a primary
208
+ cut for light grounds can read under 2 to 1 on a dark photograph, so
209
+ the entry keeps its siblings' --on-dark and is marked by an underline
210
+ instead of a hue. An underline, not a weight: the entries are already
211
+ semibold, and a heavier one would shift the bar as the reader moves. */
191
212
  .atelic-ui .nav.is-transparent .nav-links > a.active,
192
213
  .atelic-ui .nav.is-transparent .nav-links > a[aria-current="page"],
193
214
  .atelic-ui .nav.is-transparent .nav-links .nav-group-btn.is-current {
194
- color: var(--primary);
215
+ color: var(--on-dark);
216
+ text-decoration-line: underline;
217
+ text-decoration-thickness: 2px;
218
+ text-underline-offset: 6px;
195
219
  }
196
220
  /* Desktop only, and hidden until the bar is solid: on small screens the
197
221
  sticky CTA bar and the menu carry the action, and the wordmark needs the
@@ -217,6 +241,30 @@
217
241
  transform 0.25s,
218
242
  opacity 0.2s;
219
243
  }
244
+ /* The burger with its words beside it (menuLabel): the words, then the
245
+ three lines in their own column, which close to an X as before. */
246
+ .atelic-ui .nav-burger.has-label {
247
+ flex-direction: row;
248
+ align-items: center;
249
+ gap: 10px;
250
+ }
251
+ .atelic-ui .nav-burger.has-label > .nav-burger-label {
252
+ width: auto;
253
+ height: auto;
254
+ background: none;
255
+ border-radius: 0;
256
+ font-weight: var(--weight-semibold);
257
+ font-size: 0.95rem;
258
+ line-height: 1;
259
+ }
260
+ .atelic-ui .nav-burger.has-label > .nav-burger-lines {
261
+ display: flex;
262
+ flex-direction: column;
263
+ gap: 5px;
264
+ width: 24px;
265
+ height: auto;
266
+ background: none;
267
+ }
220
268
  /* A mark drawn on a surface it was not cut for is flattened to that
221
269
  surface's silhouette (resolveMark): to ink on the light bar (a single
222
270
  light mark, logo.src, as before, or a dark only cut), and to white on a
@@ -319,7 +367,7 @@
319
367
  left: 0;
320
368
  right: 0;
321
369
  top: 100%;
322
- padding: 10px var(--gutter) 0;
370
+ padding: 10px var(--header-gutter, var(--gutter)) 0;
323
371
  color: var(--ink);
324
372
  max-height: calc(100vh - var(--nav-height));
325
373
  overflow-y: auto;
@@ -330,7 +378,7 @@
330
378
  .atelic-ui .nav-mega-card {
331
379
  box-sizing: border-box;
332
380
  width: 100%;
333
- max-width: calc(var(--max-width) - 2 * var(--gutter));
381
+ max-width: calc(var(--header-max, var(--max-width)) - 2 * var(--header-gutter, var(--gutter)));
334
382
  margin-inline: auto;
335
383
  display: flex;
336
384
  align-items: stretch;
@@ -364,9 +412,12 @@
364
412
  along the bar never makes the panel jump. */
365
413
  /* The sections share the row, and wrap to a second one when their least
366
414
  widths outrun it (a picture, icon rows, and cards beside a feature card
367
- at a narrow desktop), so none is squeezed past reading or pushed out of
368
- the card. A section's least width matters only once the row is full, so
369
- a wide panel lays out exactly as before. */
415
+ at a narrow desktop, or two link columns, icon rows, and cards on a
416
+ wide wrap), so none is squeezed past reading or pushed out of the card.
417
+ A section's least width is the larger of a readable floor (set on its
418
+ list) and its longest word, so a crowded row wraps a section before any
419
+ label breaks inside a word. It matters only once the row is full, so a
420
+ roomy panel lays out exactly as before. */
370
421
  .atelic-ui .nav-mega-sections {
371
422
  flex: 1;
372
423
  display: flex;
@@ -375,18 +426,28 @@
375
426
  align-items: stretch;
376
427
  min-height: 440px;
377
428
  }
429
+ /* Words in a panel break only as a last resort, never to make a section
430
+ narrower: the root's anywhere (defaults.css, Long words) would let a
431
+ section's least width fall to a single letter. */
432
+ .atelic-ui .nav-mega-card {
433
+ overflow-wrap: break-word;
434
+ }
378
435
  .atelic-ui .nav-mega-sec {
379
436
  min-width: 0;
380
437
  display: flex;
381
438
  flex-direction: column;
382
439
  }
440
+ .atelic-ui .nav-mega-sec:is(.is-links, .is-rows, .is-cards) {
441
+ min-width: auto;
442
+ }
383
443
  .atelic-ui .nav-mega-sec.is-links {
384
444
  flex: 1 1 0;
385
- min-width: 120px;
445
+ }
446
+ .atelic-ui .nav-mega-sec.is-links > ul {
447
+ min-width: min(120px, 100%);
386
448
  }
387
449
  .atelic-ui .nav-mega-sec.is-rows {
388
450
  flex: 2.4 1 0;
389
- min-width: min(320px, 100%);
390
451
  }
391
452
  .atelic-ui .nav-mega-head {
392
453
  display: block;
@@ -421,6 +482,16 @@
421
482
  line-height: 1.35;
422
483
  color: var(--ink-soft);
423
484
  }
485
+ /* A quiet link (a long list, such as the towns under a region): the
486
+ softer words and the regular weight, a little closer together. */
487
+ .atelic-ui .nav-mega-link.is-quiet {
488
+ color: var(--ink-soft);
489
+ padding: 5px 0;
490
+ }
491
+ .atelic-ui .nav-mega-link.is-quiet .nav-mega-label {
492
+ font-weight: var(--weight-regular);
493
+ font-size: 1rem;
494
+ }
424
495
  .atelic-ui .nav-mega-link:hover .nav-mega-label,
425
496
  .atelic-ui .nav-mega-link[aria-current="page"] .nav-mega-label,
426
497
  .atelic-ui a.nav-mega-head[aria-current="page"],
@@ -498,7 +569,8 @@
498
569
  /* Icon rows, two across, one of them set on the primary when it leads. */
499
570
  .atelic-ui .nav-mega-rows {
500
571
  display: grid;
501
- grid-template-columns: repeat(2, minmax(0, 1fr));
572
+ grid-template-columns: repeat(2, minmax(min-content, 1fr));
573
+ min-width: min(320px, 100%);
502
574
  gap: 4px 16px;
503
575
  align-content: start;
504
576
  }
@@ -567,7 +639,6 @@
567
639
  /* Small cards, set off from the sections before them by a rule. */
568
640
  .atelic-ui .nav-mega-sec.is-cards {
569
641
  flex: 1 1 0;
570
- min-width: min(240px, 100%);
571
642
  padding-left: 32px;
572
643
  border-left: 1px solid var(--neutral-100);
573
644
  }
@@ -575,6 +646,8 @@
575
646
  display: flex;
576
647
  flex-direction: column;
577
648
  gap: 12px;
649
+ /* The section's 240px floor, less its rule's padding. */
650
+ min-width: min(208px, 100%);
578
651
  }
579
652
  .atelic-ui .nav-mega-card-link {
580
653
  display: flex;
@@ -712,7 +785,7 @@
712
785
  display: inline-flex;
713
786
  align-items: center;
714
787
  gap: 8px;
715
- padding: 6px 16px 6px 12px;
788
+ padding: var(--nav-phone-pad, 6px 16px 6px 12px);
716
789
  border-radius: var(--radius-pill);
717
790
  box-shadow: inset 0 0 0 1.5px var(--neutral-300);
718
791
  white-space: nowrap;
@@ -738,7 +811,7 @@
738
811
  }
739
812
  .atelic-ui .nav-phone-number {
740
813
  font-weight: var(--weight-bold);
741
- font-size: 0.95rem;
814
+ font-size: var(--nav-phone-size, 0.95rem);
742
815
  }
743
816
  .atelic-ui .nav-call {
744
817
  display: inline-flex;
@@ -890,6 +963,28 @@
890
963
  .atelic-ui .mobile-menu .mm-cta {
891
964
  margin-top: 28px;
892
965
  }
966
+ /* The menu's call to action reads --menu-cta-bg and --menu-cta-ink,
967
+ defaulting to the primary button it always was. A theme whose sheet's
968
+ ground is its primary sets them to --on-primary and --primary-ink, or
969
+ the button vanishes into the sheet. */
970
+ .atelic-ui .mobile-menu .mm-cta.btn-primary {
971
+ background: var(--menu-cta-bg, var(--primary-fill, var(--primary)));
972
+ color: var(--menu-cta-ink, var(--on-primary));
973
+ }
974
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:hover {
975
+ background: color-mix(
976
+ in srgb,
977
+ var(--menu-cta-bg, var(--primary-fill, var(--primary))) 84%,
978
+ var(--shade)
979
+ );
980
+ }
981
+ .atelic-ui .mobile-menu .mm-cta.btn-primary:active {
982
+ background: color-mix(
983
+ in srgb,
984
+ var(--menu-cta-bg, var(--primary-fill, var(--primary))) 74%,
985
+ var(--shade)
986
+ );
987
+ }
893
988
  .atelic-ui .mobile-menu .mm-contact {
894
989
  margin-top: auto;
895
990
  font-family: var(--font-mono);
@@ -988,12 +1083,16 @@
988
1083
  border-bottom: 1.5px solid color-mix(in srgb, var(--surface) 28%, transparent);
989
1084
  border-bottom-left-radius: 6px;
990
1085
  }
1086
+ /* The phone menu's badge reads --menu-badge-bg and --menu-badge-ink,
1087
+ defaulting to the primary pill it always was. A theme whose sheet's
1088
+ ground is its primary sets them to --on-primary and --primary-ink, or
1089
+ the pill vanishes into the sheet. */
991
1090
  .atelic-ui .mobile-menu .mm-badge {
992
1091
  flex: none;
993
1092
  padding: 3px 9px;
994
1093
  border-radius: var(--radius-pill);
995
- background: var(--primary-fill, var(--primary));
996
- color: var(--on-primary);
1094
+ background: var(--menu-badge-bg, var(--primary-fill, var(--primary)));
1095
+ color: var(--menu-badge-ink, var(--on-primary));
997
1096
  font-family: var(--font-mono);
998
1097
  font-size: 0.66rem;
999
1098
  font-weight: var(--weight-semibold);
@@ -1122,12 +1221,16 @@
1122
1221
  outline: 2px solid var(--on-primary);
1123
1222
  outline-offset: -2px;
1124
1223
  }
1224
+ /* A heading by role (ContactDock.tsx says why), so it carries the whole
1225
+ of its look, the balance and the margin an h2 took included. */
1125
1226
  .atelic-ui .cd-panel .cd-title {
1227
+ margin: 0;
1126
1228
  font-family: var(--font-sans);
1127
1229
  font-size: 1.15rem;
1128
1230
  font-weight: var(--weight-bold);
1129
1231
  letter-spacing: 0;
1130
1232
  line-height: 1.2;
1233
+ text-wrap: balance;
1131
1234
  color: var(--on-primary);
1132
1235
  }
1133
1236
  .atelic-ui .cd-sub {
@@ -1272,7 +1375,7 @@
1272
1375
  margin: 0 0 14px;
1273
1376
  }
1274
1377
  .atelic-ui .footer-brand img {
1275
- height: 38px;
1378
+ height: var(--footer-mark-height, 38px);
1276
1379
  margin-bottom: 18px;
1277
1380
  }
1278
1381
  .atelic-ui .footer-rating {
@@ -1290,6 +1393,43 @@
1290
1393
  gap: 2px;
1291
1394
  color: var(--star-fill, var(--review-gold));
1292
1395
  }
1396
+ /* A rating linked to the Google profile: the stars and the words one
1397
+ link, laid out as the plain line is. */
1398
+ .atelic-ui .footer .footer-rating-link {
1399
+ display: inline-flex;
1400
+ align-items: center;
1401
+ gap: 10px;
1402
+ color: var(--on-dark);
1403
+ text-decoration-line: underline;
1404
+ text-decoration-color: color-mix(in srgb, var(--on-dark) 40%, transparent);
1405
+ text-underline-offset: 4px;
1406
+ }
1407
+ .atelic-ui .footer .footer-rating-link:hover {
1408
+ text-decoration-color: currentColor;
1409
+ }
1410
+ /* The hours, a column of their own beside the links: each row's days over
1411
+ or beside its range, whichever the column's width allows. */
1412
+ .atelic-ui .footer-hours dl {
1413
+ display: flex;
1414
+ flex-direction: column;
1415
+ gap: 8px;
1416
+ margin: 0;
1417
+ font-size: 0.9rem;
1418
+ line-height: 1.4;
1419
+ }
1420
+ .atelic-ui .footer-hours dl > div {
1421
+ display: flex;
1422
+ flex-wrap: wrap;
1423
+ column-gap: 8px;
1424
+ }
1425
+ .atelic-ui .footer-hours dt {
1426
+ color: var(--on-dark);
1427
+ font-weight: var(--weight-medium);
1428
+ }
1429
+ .atelic-ui .footer-hours dd {
1430
+ margin: 0;
1431
+ color: var(--neutral-200);
1432
+ }
1293
1433
  .atelic-ui .footer nav a {
1294
1434
  display: flex;
1295
1435
  align-items: center;
@@ -1311,22 +1451,52 @@
1311
1451
  }
1312
1452
  .atelic-ui .footer .nap a {
1313
1453
  color: var(--on-dark);
1314
- font-weight: var(--weight-semibold);
1315
- }
1454
+ font-weight: var(--footer-nap-weight, var(--weight-semibold));
1455
+ }
1456
+ /* An address with no profile to link takes the token too, and otherwise
1457
+ the column's own weight, as it always has. */
1458
+ .atelic-ui .footer .nap span.nap-address {
1459
+ font-weight: var(--footer-nap-weight, inherit);
1460
+ }
1461
+ /* A word in a column breaks only as a last resort, never to make the
1462
+ column narrower: each column's least width is its longest word (an
1463
+ icon and a one word label together), so a crowded row wraps a column
1464
+ to the next row before a label breaks inside a word. An email address
1465
+ offers its own breaks, after the @ and before each dot (Footer.tsx). */
1316
1466
  .atelic-ui .footer-grid > * {
1317
- overflow-wrap: anywhere;
1467
+ overflow-wrap: break-word;
1318
1468
  }
1319
1469
  .atelic-ui .footer .nap-address {
1320
1470
  display: flex;
1321
1471
  flex-direction: column;
1322
1472
  }
1473
+ /* From 760px one row that wraps: the brand column at 1.4 shares, each
1474
+ other column at one, as the grid laid them out, but a column never
1475
+ narrows past its longest word; when the row cannot hold every column
1476
+ at that, the last wraps to a second row rather than squeeze. */
1323
1477
  @media (min-width: 760px) {
1324
1478
  .atelic-ui .footer-grid {
1325
- grid-template-columns: minmax(0, 1.4fr) repeat(var(--footer-columns, 4), minmax(0, 1fr));
1479
+ display: flex;
1480
+ flex-wrap: wrap;
1326
1481
  gap: 48px 32px;
1327
1482
  }
1328
- .atelic-ui .footer-brand {
1329
- grid-column: auto;
1483
+ .atelic-ui .footer-grid > * {
1484
+ flex: 1 1 0;
1485
+ }
1486
+ .atelic-ui .footer-grid > .footer-brand {
1487
+ flex-grow: 1.4;
1488
+ }
1489
+ /* With the hours beside the four link columns a tablet has no room for
1490
+ the brand column too, so it keeps the row above them until 1100px. */
1491
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1492
+ flex-basis: 100%;
1493
+ }
1494
+ }
1495
+ /* One row from 1100px, the brand column a little wider than without the
1496
+ hours, so the lockup and the rating keep a line each. */
1497
+ @media (min-width: 1100px) {
1498
+ .atelic-ui .footer-grid.has-hours > .footer-brand {
1499
+ flex: 2 1 0;
1330
1500
  }
1331
1501
  }
1332
1502
  /* Text wordmark for a site with no mark image. */
@@ -1337,6 +1507,20 @@
1337
1507
  letter-spacing: -0.045em;
1338
1508
  margin-bottom: 18px;
1339
1509
  }
1510
+ /* The header's lockup on the band: the mark at the footer's mark height,
1511
+ the wordmark beside it, and the brand's name never broken in a word. */
1512
+ .atelic-ui .footer-lockup {
1513
+ display: flex;
1514
+ align-items: center;
1515
+ gap: 12px;
1516
+ overflow-wrap: normal;
1517
+ }
1518
+ .atelic-ui .footer-brand .footer-lockup .mark {
1519
+ display: block;
1520
+ flex: none;
1521
+ width: auto;
1522
+ margin-bottom: 0;
1523
+ }
1340
1524
 
1341
1525
  /* ---- Closing bar ---- */
1342
1526
  /* The line that closes every page, below the footer or after a document's
@@ -1378,6 +1562,12 @@
1378
1562
  color: var(--neutral-300);
1379
1563
  font-weight: var(--weight-medium);
1380
1564
  }
1565
+ /* The credit's link sits inside a sentence, so it is underlined, never
1566
+ marked by its color alone. */
1567
+ .atelic-ui .closing-bar .credit a {
1568
+ text-decoration-line: underline;
1569
+ text-underline-offset: 3px;
1570
+ }
1381
1571
  /* biome-ignore lint/style/noDescendingSpecificity: scoped to .closing-bar, so it never meets the header's link rules */
1382
1572
  .atelic-ui .closing-bar a:hover {
1383
1573
  color: color-mix(in srgb, var(--surface) 96%, var(--on-dark));
@@ -122,8 +122,11 @@
122
122
  overflow-wrap: break-word;
123
123
  }
124
124
  /* A phone number is one thing to read and dial, so it never breaks, at
125
- its spaces or its hyphen, wherever it is set (Component Rules 17). */
126
- :where(.atelic-ui a[href^="tel:"]) {
125
+ its spaces or its hyphen, wherever it is set (Component Rules 17). The
126
+ rule holds the number, never a whole row that links to a call: a tel
127
+ link of words alone is the number, and a tel link with more in it (a
128
+ dock row, an icon beside the number) marks the number .tel-number. */
129
+ :where(.atelic-ui a[href^="tel:"]:not(:has(*)), .atelic-ui .tel-number) {
127
130
  white-space: nowrap;
128
131
  }
129
132
 
@@ -235,15 +235,16 @@
235
235
  letter-spacing: 0.18em;
236
236
  text-transform: uppercase;
237
237
  color: var(--primary-ink, var(--primary));
238
- display: inline-flex;
239
- align-items: center;
240
- gap: 0.6em;
238
+ /* Inline, so the rule follows the last line of a kicker that wraps
239
+ (a phone's narrow hero) rather than standing apart beside the whole
240
+ block, as a flex row set it. */
241
+ display: inline-block;
241
242
  }
242
243
  .atelic-ui .eyebrow.on-dark {
243
244
  color: var(--primary-bright);
244
245
  }
245
246
  .atelic-ui .eyebrow.center {
246
- justify-content: center;
247
+ text-align: center;
247
248
  }
248
249
  /* On the primary field the primary colored kicker would vanish, and so
249
250
  would a serif accent in a heading. Words on the fill take --on-primary
@@ -256,11 +257,17 @@
256
257
  .atelic-ui .on-primary em.serif {
257
258
  color: var(--on-primary);
258
259
  }
260
+ /* An eyebrow drawn without its trailing rule (Eyebrow rule={false}). */
261
+ .atelic-ui .eyebrow.no-rule::after {
262
+ display: none;
263
+ }
259
264
  .atelic-ui .eyebrow::after {
260
265
  content: "";
261
266
  width: 40px;
262
267
  height: 2px;
263
268
  display: inline-block;
269
+ vertical-align: middle;
270
+ margin-left: 0.6em;
264
271
  /* Themes with a dedicated ruling accent (a brand color reserved for
265
272
  rules, never text) set --rule-accent; default stays the text color. */
266
273
  background: linear-gradient(90deg, var(--rule-accent, currentColor), transparent);
@@ -44,11 +44,17 @@
44
44
 
45
45
  /* A title fills the line before it wraps, where the base headings balance
46
46
  their lines; pretty still keeps a last word from standing alone. */
47
+ /* A card's title in a list: an h2 for the outline, but never the brand's
48
+ headline style, so it pins the look the heading tokens would set. */
47
49
  .atelic-ui .bi-title {
48
50
  margin: 0 0 10px;
49
51
  font-size: 1.4rem;
50
52
  line-height: 1.25;
51
53
  text-wrap: pretty;
54
+ text-transform: none;
55
+ font-weight: var(--weight-heavy);
56
+ letter-spacing: -0.02em;
57
+ color: inherit;
52
58
  }
53
59
 
54
60
  .atelic-ui .bi-excerpt {
@@ -928,6 +934,7 @@
928
934
  }
929
935
  .atelic-ui .feature-card h3 {
930
936
  margin: 14px 0 10px;
937
+ color: var(--card-title-color, inherit);
931
938
  }
932
939
  .atelic-ui .feature-card p {
933
940
  color: var(--ink-soft);
@@ -1142,6 +1149,14 @@
1142
1149
  display: inline-flex;
1143
1150
  }
1144
1151
  }
1152
+ /* The contact dock holds the screen's bottom right corner, where the cue
1153
+ sits, so on a page that wears the dock the cue moves to the middle of
1154
+ the hero's foot. A page without the dock keeps it at the right. */
1155
+ .atelic-ui:has(.contact-dock) .hero-scroll {
1156
+ right: auto;
1157
+ left: 50%;
1158
+ margin-left: -23px;
1159
+ }
1145
1160
 
1146
1161
  /* The split layout: the copy and its actions on the primary field on one
1147
1162
  side, the photo on the other, at the height the copy needs. The copy
@@ -1166,7 +1181,9 @@
1166
1181
  .atelic-ui .hero-split-inner {
1167
1182
  --hero-split-edge: max(var(--gutter), calc((100cqw - var(--max-width)) / 2 + var(--gutter)));
1168
1183
  width: 100%;
1169
- padding: var(--section-space) var(--hero-split-edge);
1184
+ /* --hero-split-pad sets the copy's sides outright, for a design that
1185
+ wants them tighter than the wrap's edge. */
1186
+ padding: var(--section-space) var(--hero-split-pad, var(--hero-split-edge));
1170
1187
  }
1171
1188
  /* From 900px the copy sits beside the photo under the transparent header;
1172
1189
  below it the photo stacks first and takes the header, so the copy needs
@@ -1243,6 +1260,10 @@
1243
1260
  font-size: 1.08rem;
1244
1261
  line-height: 1.25;
1245
1262
  }
1263
+ /* A star row in a proof value takes --proof-star-fill, else the primary it always read. */
1264
+ .atelic-ui .proof-strip-value .star-row {
1265
+ color: var(--proof-star-fill, var(--primary));
1266
+ }
1246
1267
  /* Classed, never a bare span: a value may hold a star row, whose own spans keep their color. */
1247
1268
  .atelic-ui .proof-strip-label {
1248
1269
  font-size: 0.86rem;
@@ -1673,7 +1694,7 @@
1673
1694
  aligned on its line in tabular numerals. */
1674
1695
  .atelic-ui .link-columns {
1675
1696
  display: grid;
1676
- grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
1697
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--link-columns-min, 170px)), 1fr));
1677
1698
  gap: 24px 28px;
1678
1699
  }
1679
1700
  .atelic-ui * + .link-columns {
@@ -1701,7 +1722,7 @@
1701
1722
  padding: 7px 0;
1702
1723
  color: var(--ink-soft);
1703
1724
  }
1704
- .atelic-ui .lc-link:hover {
1725
+ .atelic-ui a.lc-link:hover {
1705
1726
  color: var(--primary-ink, var(--primary));
1706
1727
  }
1707
1728
  .atelic-ui .lc-label {
@@ -1742,6 +1763,7 @@
1742
1763
  min-width: 0;
1743
1764
  }
1744
1765
  .atelic-ui .callout-panel-title {
1766
+ text-transform: var(--callout-transform, none);
1745
1767
  font-family: var(--font-condensed, var(--font-heading, var(--font-sans)));
1746
1768
  font-size: clamp(1.35rem, 2.15vw, 1.9rem);
1747
1769
  font-weight: var(--weight-heavy);
@@ -1750,6 +1772,7 @@
1750
1772
  text-wrap: balance;
1751
1773
  }
1752
1774
  .atelic-ui .callout-panel-sub {
1775
+ font-family: var(--callout-sub-font, inherit);
1753
1776
  font-size: clamp(0.85rem, 1.1vw, 1rem);
1754
1777
  line-height: 1.3;
1755
1778
  color: var(--on-primary);
package/src/types.ts CHANGED
@@ -22,7 +22,7 @@
22
22
  */
23
23
  export interface BrandLogo {
24
24
  src?: string;
25
- /** Alt text where the mark stands alone, as in the footer. */
25
+ /** Alt text where the mark stands alone: the footer's, when `wordmark` is false. */
26
26
  alt?: string;
27
27
  tile?: string;
28
28
  /** The live name beside the mark; `false` leaves it out. Defaults to the brand's name. */
@@ -97,6 +97,11 @@ export interface NavGroupLink extends NavGroupChildLink {
97
97
  description?: string;
98
98
  /** Links drawn indented under this one on a desktop and a phone alike. */
99
99
  children?: NavGroupChildLink[];
100
+ /**
101
+ * Sets the link in the panel's quieter words and regular weight, for a
102
+ * long list such as the towns under a region's heading. Off by default.
103
+ */
104
+ quiet?: boolean;
100
105
  }
101
106
 
102
107
  /**
@@ -210,6 +215,8 @@ export interface CallToAction {
210
215
  href: string;
211
216
  /** Opens in a new tab, except on mailto, tel, and sms links. */
212
217
  external?: boolean;
218
+ /** The header's button carries the arrow a hero's primary button shows. Off by default. */
219
+ arrow?: boolean;
213
220
  }
214
221
 
215
222
  /** A footer or legal link that may open in a new tab. */
package/src/vite/index.ts CHANGED
@@ -10,10 +10,14 @@ export {
10
10
  artifactPages,
11
11
  } from "./artifact-config.js";
12
12
  export {
13
+ buildRelease,
14
+ environmentPlugin,
13
15
  type MarketingConfigOptions,
14
16
  type MarketingPage,
15
17
  marketingBasePath,
16
18
  marketingConfig,
17
19
  NOT_FOUND_PAGE,
20
+ type SentryUpload,
21
+ sentryUpload,
18
22
  } from "./marketing-config.js";
19
23
  export { DOC_DIR, isPrivateContent, privateChunks } from "./private-chunks.js";