@tempoxyz/ds 8.2.20261203023032 → 8.3.20261203043828

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 (34) hide show
  1. package/dist/docs/AGENTS.md +1 -1
  2. package/dist/docs/marketing.md +433 -2
  3. package/dist/document/templates/brief.html +3 -3
  4. package/dist/document/templates/essay.html +3 -3
  5. package/dist/document/templates/post.html +3 -3
  6. package/dist/marketing/Fonts.d.ts +67 -0
  7. package/dist/marketing/Fonts.d.ts.map +1 -0
  8. package/dist/marketing/Fonts.js +67 -0
  9. package/dist/marketing/Fonts.js.map +1 -0
  10. package/dist/marketing/components/Card.css +1 -1
  11. package/dist/marketing/components/Card.d.ts +52 -10
  12. package/dist/marketing/components/Card.d.ts.map +1 -1
  13. package/dist/marketing/components/Card.js +23 -14
  14. package/dist/marketing/components/Card.js.map +1 -1
  15. package/dist/marketing/components/Card.js.zyzz.json +1 -1
  16. package/dist/marketing/components/Definitions.css +1 -0
  17. package/dist/marketing/components/Definitions.d.ts +285 -0
  18. package/dist/marketing/components/Definitions.d.ts.map +1 -0
  19. package/dist/marketing/components/Definitions.js +45 -0
  20. package/dist/marketing/components/Definitions.js.map +1 -0
  21. package/dist/marketing/components/Definitions.js.zyzz.json +1 -0
  22. package/dist/marketing/components/Index.js.zyzz.json +1 -1
  23. package/dist/marketing/components/Sources.js.zyzz.json +1 -1
  24. package/dist/marketing/index.d.ts +2 -0
  25. package/dist/marketing/index.d.ts.map +1 -1
  26. package/dist/marketing/index.js +2 -0
  27. package/dist/marketing/index.js.map +1 -1
  28. package/dist/marketing/index.js.zyzz.json +1 -1
  29. package/package.json +2 -2
  30. package/src/marketing/Fonts.ts +106 -0
  31. package/src/marketing/README.md +11 -1
  32. package/src/marketing/components/Card.tsx +86 -16
  33. package/src/marketing/components/Definitions.tsx +224 -0
  34. package/src/marketing/index.ts +2 -0
@@ -36,7 +36,7 @@ Each file opens with its contents. Find a section with `rg -n '^## ' <file>`, an
36
36
  - [product/components/layout.md](product/components/layout.md) (91 KB): AppShell, Container, Frame, Grid, Inline, Inset, Separator, Stack, Surface.
37
37
  - [product/components/data-display.md](product/components/data-display.md) (164 KB): Accordion, AgentLogo, Avatar, Badge, BarChart, Code, GetStartedVisual, HeroVisual, IconTile, Kbd, ListGroup, Snippet, SplitBar, SuccessHero, Table, TempoLogo, VerificationCode, Visual.
38
38
  - [product/components/blockchain.md](product/components/blockchain.md) (107 KB): AddressCard, Amount, AssetChip, BadgedLogo, Hex, Identicon, NetworkLogo, Qr, SecretValue, Token, TokenLogo.
39
- - [marketing.md](marketing.md) (407 KB): The Marketing system.
39
+ - [marketing.md](marketing.md) (422 KB): The Marketing system.
40
40
  - [arsenal.md](arsenal.md) (304 KB): The Arsenal brand system.
41
41
 
42
42
  ## Rules
@@ -9,6 +9,7 @@ Each section below is one page of the documentation at ds.tehq.dev.
9
9
  - [Breadcrumbs](#breadcrumbs): Links each level above a page.
10
10
  - [Button](#button): Starts an action or opens a page.
11
11
  - [Composer](#composer): Takes a question or a search that grows to four lines, over a list of results.
12
+ - [Definitions](#definitions): Sets a record's labels beside or over their values, one row each.
12
13
  - [Field](#field): Labels a text control, sets its submit action, and shows its messages.
13
14
  - [Filter](#filter): Toggles a choice that changes what a page shows, such as a category.
14
15
  - [Link](#link): Links quietly to another page, ending in an icon.
@@ -19,7 +20,7 @@ Each section below is one page of the documentation at ds.tehq.dev.
19
20
  - [Snippet](#snippet): Shows a command or value with a button that copies it.
20
21
  - [Symbol Tile](#symbol-tile): Sets a glyph, icon, or mark on a square tile beside its label.
21
22
  - [Tag](#tag): Labels one fixed fact, or links to its topic.
22
- - [Accessibility](#accessibility-14): Focus rings, hit areas, contrast, and reduced motion on marketing pages.
23
+ - [Accessibility](#accessibility-15): Focus rings, hit areas, contrast, and reduced motion on marketing pages.
23
24
  - [Color](#color-1): Roles for each background, container, text, and line, with a few accents.
24
25
  - [Iconography](#iconography): Tempo's icon family, drawn on one grid in the color of its text.
25
26
  - [Layout](#layout-1): The page grid, section spacing, gaps, and widths of marketing pages.
@@ -116,7 +117,31 @@ Run the existing dev or build command. The plugin emits the Marketing variables,
116
117
 
117
118
  #### Register Pilat and HB Set
118
119
 
119
- Their licenses cover Tempo's own sites only, so the package ships neither. A Tempo site declares their `@font-face` rules from the licensed files, which the design team supplies. Until then, `fontFamily.sans` falls back to Arial and `fontFamily.serif` to Georgia.
120
+ Their licenses cover Tempo's own sites only, so the package ships neither. A Tempo site serves the licensed files, which the design team supplies, and `Fonts.css` returns their `@font-face` rules. Until a site registers them, `fontFamily.sans` falls back to Arial and `fontFamily.serif` to Georgia.
121
+
122
+ Pass the URL of each file. Pilat takes a `latin` and an `other` subset per weight. Marketing sets Pilat in `light`, `regular`, and `book`, and HB Set in `light`.
123
+
124
+ ```ts title="Fonts.ts"
125
+ import { Fonts } from '@tempoxyz/ds/marketing'
126
+ import hbSetLight from './fonts/hb-set-light.woff2'
127
+ import bookLatin from './fonts/pilat-book-latin.woff2'
128
+ import bookOther from './fonts/pilat-book-other.woff2'
129
+ import lightLatin from './fonts/pilat-light-latin.woff2'
130
+ import lightOther from './fonts/pilat-light-other.woff2'
131
+ import regularLatin from './fonts/pilat-regular-latin.woff2'
132
+ import regularOther from './fonts/pilat-regular-other.woff2'
133
+
134
+ export const css = Fonts.css({
135
+ hbSet: { light: hbSetLight },
136
+ pilat: {
137
+ book: { latin: bookLatin, other: bookOther },
138
+ light: { latin: lightLatin, other: lightOther },
139
+ regular: { latin: regularLatin, other: regularOther },
140
+ },
141
+ })
142
+ ```
143
+
144
+ Place the rules in a `<style>` element in the document head, such as `<style>{css}</style>` in the root layout. The rules swap each face in once it loads, and each Pilat weight loads its `other` subset only for text outside Latin.
120
145
 
121
146
  With `ssr.noExternal`, the plugin reads the library's contracts in a server build.
122
147
 
@@ -1259,6 +1284,279 @@ Use for the actions under a generated answer.
1259
1284
 
1260
1285
  Use for the label of a generated answer.
1261
1286
 
1287
+ ## Definitions
1288
+
1289
+ Sets a record's labels beside or over their values, one row each.
1290
+
1291
+ ### Overview
1292
+
1293
+ A `<dl>` of short labels and their values, such as a company's facts or an asset's details. Each row pairs one label with one value, and the rows read as one record. It has no states and takes no focus.
1294
+
1295
+ * **Slots (items):** Required: each row's `label` and `value`. A value can be text, a link or a row of tags. The page's heading or `aria-label` names the list.
1296
+
1297
+ ### Examples
1298
+
1299
+ #### Default
1300
+
1301
+ The `split` layout sets each label at the start and its value at the end of one line, for a short record in a sidebar.
1302
+
1303
+ ```tsx
1304
+ /** Demonstrates split Marketing definitions: a sample asset's details, each label at the start and its value at the end of one line. @module */
1305
+ import { Definitions, style } from '@tempoxyz/ds/marketing'
1306
+
1307
+ export const fill = true
1308
+
1309
+ export function Demo() {
1310
+ return (
1311
+ <div {...styles.column()}>
1312
+ <Definitions
1313
+ aria-label="Asset details"
1314
+ items={[
1315
+ { label: 'Issuer', value: 'Sample Trust' },
1316
+ { label: 'Standard', value: 'TIP-20' },
1317
+ { label: 'Decimals', value: '6' },
1318
+ { label: 'Launched', value: 'March 2026' },
1319
+ ]}
1320
+ />
1321
+ </div>
1322
+ )
1323
+ }
1324
+
1325
+ namespace styles {
1326
+ // A sidebar's width, as an asset page sets its details.
1327
+ export const column = style({ maxWidth: '480' })
1328
+ }
1329
+ ```
1330
+
1331
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Definitions/Default.tsx)
1332
+
1333
+ #### Stacked
1334
+
1335
+ Set `layout="stacked"` for an eyebrow label over its value, and `variant="panel"` to set the rows on a grey panel.
1336
+
1337
+ ```tsx
1338
+ /** Demonstrates stacked Marketing definitions on a panel: a sample company's facts, each eyebrow label over its value, with a row of tags. @module */
1339
+ import { Definitions, style, Tag } from '@tempoxyz/ds/marketing'
1340
+
1341
+ export const fill = true
1342
+
1343
+ export function Demo() {
1344
+ return (
1345
+ <div {...styles.column()}>
1346
+ <Definitions
1347
+ aria-label="Company facts"
1348
+ items={[
1349
+ { label: 'Founded', value: '2019' },
1350
+ { label: 'Headquarters', value: 'San Francisco, California' },
1351
+ { label: 'Industry', value: 'Payroll and contractor payments' },
1352
+ {
1353
+ label: 'Products used',
1354
+ value: (
1355
+ <span {...styles.tags()}>
1356
+ <Tag>Payouts</Tag>
1357
+ <Tag>Wallets</Tag>
1358
+ </span>
1359
+ ),
1360
+ },
1361
+ ]}
1362
+ layout="stacked"
1363
+ variant="panel"
1364
+ />
1365
+ </div>
1366
+ )
1367
+ }
1368
+
1369
+ namespace styles {
1370
+ // A story sidebar's width.
1371
+ export const column = style({ maxWidth: '320' })
1372
+
1373
+ // The tags wrap 8px apart, 8px under their label.
1374
+ export const tags = style({
1375
+ display: 'flex',
1376
+ flexWrap: 'wrap',
1377
+ gap: '8',
1378
+ paddingBlockStart: '4',
1379
+ })
1380
+ }
1381
+ ```
1382
+
1383
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Definitions/Stacked.tsx)
1384
+
1385
+ #### Columns
1386
+
1387
+ Set `layout="columns"` for facts that read as copy, and `variant="ruled"` to set a hairline over each row. From 768px each label sits in the first third, beside its value.
1388
+
1389
+ ```tsx
1390
+ /** Demonstrates ruled columns Marketing definitions: sample company facts as copy, each label beside its value from 768px. @module */
1391
+ import { Definitions, style } from '@tempoxyz/ds/marketing'
1392
+
1393
+ export const fill = true
1394
+
1395
+ export const width = 'tablet'
1396
+
1397
+ export function Demo() {
1398
+ return (
1399
+ <div {...styles.column()}>
1400
+ <Definitions
1401
+ aria-label="About the sample network"
1402
+ items={[
1403
+ { label: 'Network', value: 'A sample blockchain for stablecoin payments' },
1404
+ {
1405
+ label: 'Focus',
1406
+ value: 'Cross-border transfers, global payouts and embedded finance',
1407
+ },
1408
+ { label: 'Settlement', value: 'Sample settlement in under a second' },
1409
+ { label: 'Fees', value: 'Paid in sample stablecoins, with no gas token' },
1410
+ ]}
1411
+ layout="columns"
1412
+ variant="ruled"
1413
+ />
1414
+ </div>
1415
+ )
1416
+ }
1417
+
1418
+ namespace styles {
1419
+ // The reading width of an About page's copy.
1420
+ export const column = style({ maxWidth: '720' })
1421
+ }
1422
+ ```
1423
+
1424
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Definitions/Columns.tsx)
1425
+
1426
+ #### Inverse
1427
+
1428
+ Set `tone="inverse"` in an inverse [Section](/marketing/sections/section). The labels, values, rules and panel take the inverse roles.
1429
+
1430
+ ```tsx
1431
+ /** Demonstrates Marketing definitions in the inverse tone on a dark section: split details and ruled columns. @module */
1432
+ import { Definitions, style } from '@tempoxyz/ds/marketing'
1433
+
1434
+ export const fill = true
1435
+
1436
+ export const surface = 'inverse'
1437
+
1438
+ export const width = 'tablet'
1439
+
1440
+ export function Demo() {
1441
+ return (
1442
+ <div {...styles.section()}>
1443
+ <div {...styles.details()}>
1444
+ <Definitions
1445
+ aria-label="Asset details"
1446
+ items={[
1447
+ { label: 'Issuer', value: 'Sample Trust' },
1448
+ { label: 'Standard', value: 'TIP-20' },
1449
+ { label: 'Decimals', value: '6' },
1450
+ ]}
1451
+ tone="inverse"
1452
+ />
1453
+ </div>
1454
+ <div {...styles.facts()}>
1455
+ <Definitions
1456
+ aria-label="About the sample network"
1457
+ items={[
1458
+ { label: 'Network', value: 'A sample blockchain for stablecoin payments' },
1459
+ { label: 'Settlement', value: 'Sample settlement in under a second' },
1460
+ ]}
1461
+ layout="columns"
1462
+ tone="inverse"
1463
+ variant="ruled"
1464
+ />
1465
+ </div>
1466
+ </div>
1467
+ )
1468
+ }
1469
+
1470
+ namespace styles {
1471
+ export const details = style({ maxWidth: '480' })
1472
+
1473
+ export const facts = style({ maxWidth: '720' })
1474
+
1475
+ // The frame paints the inverse ground to every edge, so the section only insets the rows.
1476
+ export const section = style({
1477
+ display: 'flex',
1478
+ flexDirection: 'column',
1479
+ gap: '48',
1480
+ padding: '32',
1481
+ })
1482
+ }
1483
+ ```
1484
+
1485
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Definitions/Inverse.tsx)
1486
+
1487
+ ### Anatomy
1488
+
1489
+ ```tsx
1490
+ import { Definitions } from '@tempoxyz/ds/marketing'
1491
+
1492
+ <Definitions items={[{ label: '…', value: '…' }]} />
1493
+ ```
1494
+
1495
+ ### Guidelines
1496
+
1497
+ #### When to Use
1498
+
1499
+ * Set out one record's facts, such as a company's founding year and headquarters.
1500
+ * List an asset's or a partner's details in a sidebar, each with one value.
1501
+
1502
+ #### When Not to Use
1503
+
1504
+ * Use [Stats](/marketing/sections/stats) when each value is a figure that makes the point on its own.
1505
+ * Use [Table](/marketing/sections/table) when several items share the same labels and a reader compares them.
1506
+ * Use [Steps](/marketing/sections/steps) when the rows run in order, one after another.
1507
+
1508
+ #### Choose the Layout by the Values
1509
+
1510
+ * **Split (split):** Short values in a sidebar, read across one line each.
1511
+ * **Stacked (stacked):** Long values in a narrow panel, each under its label.
1512
+ * **Columns (columns):** Values that read as copy, beside labels from 768px.
1513
+
1514
+ #### Frame the Rows by Their Place
1515
+
1516
+ Leave a list `plain` when the sidebar or the section already frames it. Rule the rows when they read as part of the page's copy, and set them on a `panel` beside another panel.
1517
+
1518
+ #### Leave Out an Empty Row
1519
+
1520
+ When a record has no value for a label, leave the row out. Never draw a dash or an empty value.
1521
+
1522
+ #### Link a Value, Never a Label
1523
+
1524
+ A value that has its own page, such as an issuer or a contract, can link to it. The label stays text.
1525
+
1526
+ ### Content
1527
+
1528
+ #### Write Labels as Nouns
1529
+
1530
+ Keep each label to one to three words in sentence case, such as Founded or Use case, with no colon.
1531
+
1532
+ #### Keep Values Short
1533
+
1534
+ Write a value as a phrase, not a sentence, with no closing period. Move a value that needs a paragraph into the page's copy.
1535
+
1536
+ ### Accessibility
1537
+
1538
+ * **Description List (dl):** Renders a `<dl>`, each label a `<dt>` and its value the `<dd>` after it.
1539
+ * **No Focus or States:** Takes no focus itself. Links in its values take focus in order.
1540
+
1541
+ #### Your Responsibilities
1542
+
1543
+ * **Name the List (aria-label):** Name the list with a heading or `aria-label`, such as Company facts.
1544
+ * **Name Each Link:** Give a shortened value, such as an address, a link name in full.
1545
+
1546
+ ### Related
1547
+
1548
+ [Stats](/marketing/sections/stats)
1549
+
1550
+ Use for a few figures, each over its label.
1551
+
1552
+ [Table](/marketing/sections/table)
1553
+
1554
+ Use for values compared across several items.
1555
+
1556
+ [Tag](/marketing/components/tag)
1557
+
1558
+ Use for the short labels a value can list.
1559
+
1262
1560
  ## Field
1263
1561
 
1264
1562
  Labels a text control, sets its submit action, and shows its messages.
@@ -6497,6 +6795,138 @@ export function Demo() {
6497
6795
 
6498
6796
  [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Card/Cover.tsx)
6499
6797
 
6798
+ #### Cover With a Shade
6799
+
6800
+ Set `shade` to lay a shade that rises from the bottom in place of the scrim, for copy at the bottom of a light photo.
6801
+
6802
+ ```tsx
6803
+ /** Demonstrates Marketing cover cards with the shade in place of the scrim: three roles on their photos, each with an icon badge. @module */
6804
+ import { CodeIcon, CompassIcon, LayersIcon } from '@tempoxyz/ds/arsenal/icons'
6805
+ import { Card } from '@tempoxyz/ds/marketing'
6806
+ import aurora from '../../../../content/docs/arsenal/crafts/images/depth-gradients/depth-gradients-aurora.jpg'
6807
+ import people from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-people-do.jpg'
6808
+ import refs from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-refs-do.jpg'
6809
+
6810
+ export const fill = true
6811
+
6812
+ // The cards go three across from 1024px, so the example opens at Desktop.
6813
+ export const width = 'desktop'
6814
+
6815
+ export function Demo() {
6816
+ return (
6817
+ <Card.Grid columns="3">
6818
+ <Card
6819
+ description="Shape strategy across payments, capital markets, treasury, liquidity, and regulatory compliance."
6820
+ icon={<CompassIcon size={16} />}
6821
+ media={<img alt="" src={people} />}
6822
+ title="Payment strategists"
6823
+ shade
6824
+ variant="cover"
6825
+ />
6826
+ <Card
6827
+ description="Define product roadmaps, design for adoption, and build platform, ecosystem, and enterprise products."
6828
+ icon={<LayersIcon size={16} />}
6829
+ media={<img alt="" src={refs} />}
6830
+ title="Product managers"
6831
+ shade
6832
+ variant="cover"
6833
+ />
6834
+ <Card
6835
+ description="Develop protocols, secure smart contracts, and equip developers with tools and SDKs."
6836
+ icon={<CodeIcon size={16} />}
6837
+ media={<img alt="" src={aurora} />}
6838
+ title="Forward-deployed engineers"
6839
+ shade
6840
+ variant="cover"
6841
+ />
6842
+ </Card.Grid>
6843
+ )
6844
+ }
6845
+ ```
6846
+
6847
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Card/CoverShade.tsx)
6848
+
6849
+ #### Cover With a Logo
6850
+
6851
+ Put an organization's logo in `logo` to lead the card with it, at the badge's place. Here each card crops to a square with `ratio="1:1"`.
6852
+
6853
+ ```tsx
6854
+ /** Demonstrates Marketing cover cards that each lead with a logo: three linked customer lines on square photos. @module */
6855
+ import { Card } from '@tempoxyz/ds/marketing'
6856
+ import aurora from '../../../../content/docs/arsenal/crafts/images/depth-gradients/depth-gradients-aurora.jpg'
6857
+ import people from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-people-do.jpg'
6858
+ import refs from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-refs-do.jpg'
6859
+
6860
+ export const fill = true
6861
+
6862
+ // The cards go three across from 1024px, so the example opens at Desktop.
6863
+ export const width = 'desktop'
6864
+
6865
+ // Sample customers with made-up names, each with its own still and a simple mark.
6866
+ const customers = [
6867
+ { name: 'Northwind', still: people, title: 'Northwind pays contractors in 40 countries' },
6868
+ { name: 'Lumen', still: refs, title: 'Lumen settles remittances in seconds' },
6869
+ { name: 'Harbor', still: aurora, title: 'Harbor moves its treasury onto stablecoins' },
6870
+ ]
6871
+
6872
+ export function Demo() {
6873
+ return (
6874
+ <Card.Grid columns="3">
6875
+ {customers.map((customer) => (
6876
+ <Card
6877
+ href="#cover-logo"
6878
+ key={customer.name}
6879
+ logo={
6880
+ <svg aria-label={customer.name} height="24" role="img" viewBox="0 0 58 24">
6881
+ <circle cx="12" cy="12" r="10" />
6882
+ <rect height="10" rx="3" width="30" x="28" y="7" />
6883
+ </svg>
6884
+ }
6885
+ media={<img alt="" src={customer.still} />}
6886
+ ratio="1:1"
6887
+ title={customer.title}
6888
+ variant="cover"
6889
+ />
6890
+ ))}
6891
+ </Card.Grid>
6892
+ )
6893
+ }
6894
+ ```
6895
+
6896
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Card/CoverLogo.tsx)
6897
+
6898
+ #### Cover With an Action
6899
+
6900
+ Leave out `href` and pass one `action`, such as a [Button](/marketing/components/button) with `tone="overlay"`. With `ratio="auto"`, the copy sets the height, or a container such as a carousel slide does.
6901
+
6902
+ ```tsx
6903
+ /** Demonstrates a Marketing cover card that holds an action: a still offer on its photo, sized by its copy. @module */
6904
+ import { Button, Card } from '@tempoxyz/ds/marketing'
6905
+ import refs from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-refs-do.jpg'
6906
+
6907
+ export const fill = true
6908
+
6909
+ export function Demo() {
6910
+ return (
6911
+ <Card
6912
+ action={
6913
+ <Button.Link href="#cover-action" layout="card" tone="overlay">
6914
+ Explore Tempo Earn
6915
+ </Button.Link>
6916
+ }
6917
+ as="h2"
6918
+ description="Offer customers a return on their balances through vaults built on tokenized assets."
6919
+ media={<img alt="" src={refs} />}
6920
+ ratio="auto"
6921
+ title="Access tokenized assets with Tempo Earn"
6922
+ variant="cover"
6923
+ />
6924
+ )
6925
+ }
6926
+ ```
6927
+
6928
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Card/CoverAction.tsx)
6929
+
6500
6930
  #### Inline
6501
6931
 
6502
6932
  Set `variant="inline"` for items named by a mark, led by a [Symbol Tile](/marketing/components/symbol-tile) in `media`.
@@ -6759,6 +7189,7 @@ Every card in a grid has a picture, or none does. The pictures are one kind and
6759
7189
  #### Your Responsibilities
6760
7190
 
6761
7191
  * **Name the Grid (aria-label):** Name a `Card.Grid` with `aria-label` where no heading names it, such as Related guides.
7192
+ * **Name the Logo (alt):** Name a cover card's `logo` by its organization, with `alt` or `aria-label`, such as Northwind.
6762
7193
 
6763
7194
  ### Related
6764
7195
 
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
  Brief template for Tempo document mode. Replace every placeholder that a comment marks,
4
4
  keep the structure, and run the lint before you publish:
5
- npx -p @tempoxyz/ds@8.2.20261203023032 tempo-document lint brief.html
5
+ npx -p @tempoxyz/ds@8.3.20261203043828 tempo-document lint brief.html
6
6
  -->
7
7
  <html lang="en">
8
8
  <head>
@@ -12,11 +12,11 @@
12
12
  <title>Title of the brief</title>
13
13
  <link
14
14
  rel="stylesheet"
15
- href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/script.js"
20
20
  ></script>
21
21
  </head>
22
22
  <body>
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
  Essay template for Tempo document mode. Replace every placeholder that a comment marks,
4
4
  keep the structure, and run the lint before you publish:
5
- npx -p @tempoxyz/ds@8.2.20261203023032 tempo-document lint essay.html
5
+ npx -p @tempoxyz/ds@8.3.20261203043828 tempo-document lint essay.html
6
6
  -->
7
7
  <html lang="en">
8
8
  <head>
@@ -12,11 +12,11 @@
12
12
  <title>Title of the essay</title>
13
13
  <link
14
14
  rel="stylesheet"
15
- href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/script.js"
20
20
  ></script>
21
21
  </head>
22
22
  <body>
@@ -2,7 +2,7 @@
2
2
  <!--
3
3
  Post template for Tempo document mode. Replace every placeholder that a comment marks,
4
4
  keep the structure, and run the lint before you publish:
5
- npx -p @tempoxyz/ds@8.2.20261203023032 tempo-document lint post.html
5
+ npx -p @tempoxyz/ds@8.3.20261203043828 tempo-document lint post.html
6
6
  -->
7
7
  <html lang="en">
8
8
  <head>
@@ -12,11 +12,11 @@
12
12
  <title>Title of the post</title>
13
13
  <link
14
14
  rel="stylesheet"
15
- href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.2.20261203023032/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@8.3.20261203043828/dist/document/script.js"
20
20
  ></script>
21
21
  </head>
22
22
  <body>
@@ -0,0 +1,67 @@
1
+ /**
2
+ * The `@font-face` rules of Pilat and HB Set, which the Marketing font stacks name first and the
3
+ * package does not ship. A site passes the URLs of its own licensed files and serves the rules this
4
+ * module returns, so every site declares the same faces, weights, and subsets.
5
+ * @module
6
+ */
7
+ /**
8
+ * The `unicode-range` of Pilat's two subsets. `latin` holds Inter's Latin range, and `other` holds
9
+ * every other character that Pilat draws. `scripts/subset-fonts.ts` cuts the files on these ranges.
10
+ */
11
+ export declare const ranges: {
12
+ readonly latin: 'U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD';
13
+ readonly other: 'U+0100-0192,U+01FA-0237,U+02C7-0328,U+03A9-03C0,U+1E80-1E85,U+1EF2-1EF3,U+2070-208E,U+2113-212E,U+2190-2199,U+2202-2265,U+25CA-25CC,U+FB00';
14
+ };
15
+ /**
16
+ * The CSS `font-weight` of each Pilat weight, from Thin to Black. Marketing sets Light, Regular,
17
+ * and Book. The heavier weights serve sites that also render DS Web.
18
+ */
19
+ export declare const pilat: {
20
+ readonly black: 900;
21
+ readonly bold: 700;
22
+ readonly book: 500;
23
+ readonly demi: 600;
24
+ readonly heavy: 800;
25
+ readonly light: 300;
26
+ readonly regular: 400;
27
+ readonly thin: 100;
28
+ };
29
+ /** The CSS `font-weight` of each HB Set weight. Marketing sets statements in Light. */
30
+ export declare const hbSet: {
31
+ readonly light: 300;
32
+ readonly regular: 400;
33
+ };
34
+ /**
35
+ * Returns the `@font-face` rules for the Pilat and HB Set files a site passes, as one minified
36
+ * string to place in a `<style>` element of the document head. It declares Pilat weights from
37
+ * Thin to Black, each `other` subset before its `latin` subset, so `latin` wins where the ranges
38
+ * overlap, then HB Set. Every face swaps in once loaded. A weight the site leaves out has no rule.
39
+ *
40
+ * @example
41
+ * import bookLatin from './fonts/pilat-book-latin.woff2'
42
+ * import bookOther from './fonts/pilat-book-other.woff2'
43
+ *
44
+ * const fonts = Fonts.css({ pilat: { book: { latin: bookLatin, other: bookOther } } })
45
+ */
46
+ export declare function css(options: css.Options): css.ReturnType;
47
+ export declare namespace css {
48
+ type Options = {
49
+ /** The URL of each HB Set weight the site serves, such as `light`. */
50
+ hbSet?: {
51
+ [weight in keyof typeof hbSet]?: string | undefined;
52
+ } | undefined;
53
+ /** The URLs of the `latin` and `other` subsets of each Pilat weight the site serves. */
54
+ pilat?: {
55
+ [weight in keyof typeof pilat]?: Subsets | undefined;
56
+ } | undefined;
57
+ };
58
+ /** The URLs of one Pilat weight's two subset files. */
59
+ type Subsets = {
60
+ /** The subset cut on `ranges.latin`. */
61
+ latin: string;
62
+ /** The subset cut on `ranges.other`. */
63
+ other: string;
64
+ };
65
+ type ReturnType = string;
66
+ }
67
+ //# sourceMappingURL=Fonts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fonts.d.ts","sourceRoot":"","sources":["../../src/marketing/Fonts.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;GAGG;AACH,eAAO,MAAM,MAAM;aACjB,KAAK,EACH,0JAA0J;aAC5J,KAAK,EACH,4IAA4I;CACtI,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,KAAK;aAChB,KAAK,EAAE,GAAG;aACV,IAAI,EAAE,GAAG;aACT,IAAI,EAAE,GAAG;aACT,IAAI,EAAE,GAAG;aACT,KAAK,EAAE,GAAG;aACV,KAAK,EAAE,GAAG;aACV,OAAO,EAAE,GAAG;aACZ,IAAI,EAAE,GAAG;CACD,CAAA;AAEV,uFAAuF;AACvF,eAAO,MAAM,KAAK;aAChB,KAAK,EAAE,GAAG;aACV,OAAO,EAAE,GAAG;CACJ,CAAA;AAEV;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,UAAU,CAoBxD;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,KAAK,OAAO,GAAG;QACb,sEAAsE;QACtE,KAAK,CAAC,EAAE;aAAG,MAAM,IAAI,MAAM,OAAO,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS;SAAE,GAAG,SAAS,CAAA;QAC3E,wFAAwF;QACxF,KAAK,CAAC,EAAE;aAAG,MAAM,IAAI,MAAM,OAAO,KAAK,CAAC,CAAC,EAAE,OAAO,GAAG,SAAS;SAAE,GAAG,SAAS,CAAA;KAC7E,CAAA;IAED,uDAAuD;IACvD,KAAK,OAAO,GAAG;QACb,wCAAwC;QACxC,KAAK,EAAE,MAAM,CAAA;QACb,wCAAwC;QACxC,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IAED,KAAK,UAAU,GAAG,MAAM,CAAA;CACzB"}