@tempoxyz/ds 4.3.20261201061326 → 4.3.20261201063729
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/dist/docs/AGENTS.md
CHANGED
|
@@ -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) (
|
|
39
|
+
- [marketing.md](marketing.md) (340 KB): The Marketing system.
|
|
40
40
|
- [arsenal.md](arsenal.md) (252 KB): The Arsenal brand system.
|
|
41
41
|
|
|
42
42
|
## Rules
|
package/dist/docs/marketing.md
CHANGED
|
@@ -4211,15 +4211,13 @@ Sets the text of every blog post, Learn guide and customer story.
|
|
|
4211
4211
|
|
|
4212
4212
|
### Overview
|
|
4213
4213
|
|
|
4214
|
-
An article's text
|
|
4215
|
-
|
|
4216
|
-
Its parts draw the blocks Markdown cannot express: the summary callout, term rows, credited quotes, tables, figures, and next steps. From 1024px the body sits on the reading column, or at the start of its box with `place="start"`.
|
|
4214
|
+
An article's text from its Markdown. The body styles the Markdown's own elements, and its parts draw the blocks Markdown can't: the summary callout, term rows, credited quotes, tables, figures, labels and next steps. Every block takes one spacing rule. From 1024px the text sits on the reading column, or at the start of its box with `place="start"`.
|
|
4217
4215
|
|
|
4218
4216
|
### Examples
|
|
4219
4217
|
|
|
4220
4218
|
#### Default
|
|
4221
4219
|
|
|
4222
|
-
Each kind of block: an `ArticleBody.Callout`, a heading, an `ArticleBody.Table`, a numbered list, and an `ArticleBody.Quote`.
|
|
4220
|
+
Each kind of block: an `ArticleBody.Callout`, a heading, an `ArticleBody.Table`, a numbered list, and an `ArticleBody.Quote`.
|
|
4223
4221
|
|
|
4224
4222
|
```tsx
|
|
4225
4223
|
/** Demonstrates an article's text: a summary callout, headings, a table, a numbered list and a credited quote. @module */
|
|
@@ -4276,9 +4274,51 @@ export function Demo() {
|
|
|
4276
4274
|
|
|
4277
4275
|
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleBody/Default.tsx)
|
|
4278
4276
|
|
|
4279
|
-
####
|
|
4277
|
+
#### Rows & Next Steps
|
|
4278
|
+
|
|
4279
|
+
Set terms as `ArticleBody.Row` items in `ArticleBody.Rows`, and close on `ArticleBody.NextSteps`, each step with its button.
|
|
4280
|
+
|
|
4281
|
+
```tsx
|
|
4282
|
+
/** Demonstrates term rows and next steps in an article's text. @module */
|
|
4283
|
+
import { ArticleBody } from '@tempoxyz/ds/marketing'
|
|
4284
|
+
|
|
4285
|
+
export const fill = true
|
|
4286
|
+
|
|
4287
|
+
export function Demo() {
|
|
4288
|
+
return (
|
|
4289
|
+
<ArticleBody place="start">
|
|
4290
|
+
<ArticleBody.Rows>
|
|
4291
|
+
<ArticleBody.Row term="Stablecoin">Represents the value being transferred.</ArticleBody.Row>
|
|
4292
|
+
<ArticleBody.Row term="Network">
|
|
4293
|
+
Authorizes, records and settles the transfer.
|
|
4294
|
+
</ArticleBody.Row>
|
|
4295
|
+
</ArticleBody.Rows>
|
|
4296
|
+
<h2>Next steps</h2>
|
|
4297
|
+
<ArticleBody.NextSteps
|
|
4298
|
+
items={[
|
|
4299
|
+
{
|
|
4300
|
+
description: 'Send a first payment on testnet.',
|
|
4301
|
+
heading: 'Build on Tempo',
|
|
4302
|
+
href: '#docs',
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
action: 'Contact sales',
|
|
4306
|
+
description: 'Plan a launch with the team.',
|
|
4307
|
+
heading: 'Talk to us',
|
|
4308
|
+
href: '#contact',
|
|
4309
|
+
},
|
|
4310
|
+
]}
|
|
4311
|
+
/>
|
|
4312
|
+
</ArticleBody>
|
|
4313
|
+
)
|
|
4314
|
+
}
|
|
4315
|
+
```
|
|
4316
|
+
|
|
4317
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleBody/Rows.tsx)
|
|
4318
|
+
|
|
4319
|
+
#### Quotation Marks
|
|
4280
4320
|
|
|
4281
|
-
Set
|
|
4321
|
+
Set `marks` for words written without quotation marks, and the quote draws them.
|
|
4282
4322
|
|
|
4283
4323
|
```tsx
|
|
4284
4324
|
/** Demonstrates a credited quote in a story's text, drawn with its quotation marks. @module */
|
|
@@ -4343,13 +4383,13 @@ import { ArticleBody } from '@tempoxyz/ds/marketing'
|
|
|
4343
4383
|
<ArticleBody>
|
|
4344
4384
|
<ArticleBody.Callout />
|
|
4345
4385
|
<ArticleBody.Rows>
|
|
4346
|
-
<ArticleBody.Row />
|
|
4386
|
+
<ArticleBody.Row term="…" />
|
|
4347
4387
|
</ArticleBody.Rows>
|
|
4348
|
-
<ArticleBody.Quote />
|
|
4388
|
+
<ArticleBody.Quote author="…" />
|
|
4349
4389
|
<ArticleBody.Table />
|
|
4350
4390
|
<ArticleBody.Figure />
|
|
4351
4391
|
<ArticleBody.Label />
|
|
4352
|
-
<ArticleBody.NextSteps />
|
|
4392
|
+
<ArticleBody.NextSteps items={[{ heading: '…', href: '…' }]} />
|
|
4353
4393
|
</ArticleBody>
|
|
4354
4394
|
```
|
|
4355
4395
|
|
|
@@ -4363,7 +4403,7 @@ import { ArticleBody } from '@tempoxyz/ds/marketing'
|
|
|
4363
4403
|
|
|
4364
4404
|
#### When Not to Use
|
|
4365
4405
|
|
|
4366
|
-
* Use [Section
|
|
4406
|
+
* Use [Section](/marketing/sections/section) for a section's heading outside an article.
|
|
4367
4407
|
* Use [FAQ](/marketing/sections/faq) for a section of questions on its own.
|
|
4368
4408
|
|
|
4369
4409
|
#### Set No Margin Between Blocks
|
|
@@ -4374,19 +4414,47 @@ Neighboring blocks share the larger of their spaces, so the body spaces them. Ne
|
|
|
4374
4414
|
|
|
4375
4415
|
The text starts its headings at `h2`, under the hero's `h1`, so the outline holds and [Article Rail](/marketing/sections/article-rail) lists them as contents.
|
|
4376
4416
|
|
|
4417
|
+
**Do:** Start the text's headings at H2.
|
|
4418
|
+
|
|
4419
|
+
```tsx
|
|
4420
|
+
<ArticleBodySketch kind="outline" />
|
|
4421
|
+
```
|
|
4422
|
+
|
|
4423
|
+
**Don't:** Set a second H1 in the text.
|
|
4424
|
+
|
|
4425
|
+
```tsx
|
|
4426
|
+
<ArticleBodySketch kind="nestedTitle" />
|
|
4427
|
+
```
|
|
4428
|
+
|
|
4429
|
+
#### Set Code People Copy as a Code Block
|
|
4430
|
+
|
|
4431
|
+
Inline code reads as the sentence's own text, unlike DS Web's [Code](product/components/data-display.md#code), so a name in backticks keeps the article's voice. Set a command or code people copy as a fenced code block, which draws mono in a grey box.
|
|
4432
|
+
|
|
4377
4433
|
### Content
|
|
4378
4434
|
|
|
4379
4435
|
#### Open With the Summary Callout
|
|
4380
4436
|
|
|
4381
4437
|
Open every article with an `ArticleBody.Callout` that sums it up in one or two sentences.
|
|
4382
4438
|
|
|
4439
|
+
**Do:** Sum the article up in a sentence.
|
|
4440
|
+
|
|
4441
|
+
```tsx
|
|
4442
|
+
<ArticleBodySketch kind="callout" />
|
|
4443
|
+
```
|
|
4444
|
+
|
|
4445
|
+
**Don't:** Run the callout to a paragraph.
|
|
4446
|
+
|
|
4447
|
+
```tsx
|
|
4448
|
+
<ArticleBodySketch kind="longCallout" />
|
|
4449
|
+
```
|
|
4450
|
+
|
|
4383
4451
|
#### Write Terms as Rows & Comparisons as Tables
|
|
4384
4452
|
|
|
4385
4453
|
Set two or more terms as `ArticleBody.Row` items in `ArticleBody.Rows`, each with its `term`, and set a comparison as an `ArticleBody.Table`.
|
|
4386
4454
|
|
|
4387
4455
|
#### Credit Every Quote
|
|
4388
4456
|
|
|
4389
|
-
Set a quote as an `ArticleBody.Quote
|
|
4457
|
+
Set a quote as an `ArticleBody.Quote`, not a bare Markdown blockquote, so its credit draws under the words.
|
|
4390
4458
|
|
|
4391
4459
|
#### Write Links Plainly
|
|
4392
4460
|
|
|
@@ -4398,6 +4466,7 @@ A link in a sentence is plain and underlined. A link on its own line ends in a [
|
|
|
4398
4466
|
* **Credited Quote (figure):** The words are a `<blockquote>` and the credit its `<figcaption>`. Drawn marks stay hidden.
|
|
4399
4467
|
* **Wide Tables (ArrowRight):** Each table scrolls inside a focusable group named Scrollable table, moved by the arrows.
|
|
4400
4468
|
* **Long Words (overflow-wrap):** Long words and addresses break to fit the column.
|
|
4469
|
+
* **Reduced Motion (prefers-reduced-motion):** A question's answer in `<details>` fades without sliding, and its row and glyph change at once.
|
|
4401
4470
|
|
|
4402
4471
|
#### Your Responsibilities
|
|
4403
4472
|
|
|
@@ -4413,9 +4482,9 @@ Use for the title above the text.
|
|
|
4413
4482
|
|
|
4414
4483
|
Use for the contents read from the text's headings.
|
|
4415
4484
|
|
|
4416
|
-
[
|
|
4485
|
+
[FAQ](/marketing/sections/faq)
|
|
4417
4486
|
|
|
4418
|
-
|
|
4487
|
+
Use for a section of questions on its own.
|
|
4419
4488
|
|
|
4420
4489
|
## Article Hero
|
|
4421
4490
|
|
|
@@ -4423,16 +4492,16 @@ Opens a blog post, Learn guide or customer story with its title.
|
|
|
4423
4492
|
|
|
4424
4493
|
### Overview
|
|
4425
4494
|
|
|
4426
|
-
An article's opening, in a `<header>`: an optional eyebrow, the title, an optional line under it, and
|
|
4495
|
+
An article's opening, in a `<header>`: an optional eyebrow, the title, an optional line under it, and `ArticleHero.Meta`'s date and read time. It's centered by default. Its top space clears the fixed navigation, so add none above it.
|
|
4427
4496
|
|
|
4428
4497
|
### Examples
|
|
4429
4498
|
|
|
4430
|
-
####
|
|
4499
|
+
#### Default
|
|
4431
4500
|
|
|
4432
|
-
|
|
4501
|
+
The title, its `description` and an `ArticleHero.Meta`, centered.
|
|
4433
4502
|
|
|
4434
4503
|
```tsx
|
|
4435
|
-
/** Demonstrates
|
|
4504
|
+
/** Demonstrates an article's centered opening: its title, a line under it, and the date and read time. @module */
|
|
4436
4505
|
import { ArticleHero } from '@tempoxyz/ds/marketing'
|
|
4437
4506
|
|
|
4438
4507
|
export const fill = true
|
|
@@ -4450,21 +4519,31 @@ export function Demo() {
|
|
|
4450
4519
|
}
|
|
4451
4520
|
```
|
|
4452
4521
|
|
|
4453
|
-
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleHero/
|
|
4522
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleHero/Default.tsx)
|
|
4454
4523
|
|
|
4455
4524
|
#### At the Start
|
|
4456
4525
|
|
|
4457
|
-
Set `align="start"` to set the
|
|
4526
|
+
Set `align="start"` to set the lines on the reading column from 1024px. A customer story names its company in `eyebrow`, and its `media` sits beside the lines at a 7:5 split.
|
|
4458
4527
|
|
|
4459
4528
|
```tsx
|
|
4460
|
-
/** Demonstrates an article hero
|
|
4461
|
-
import { ArticleHero } from '@tempoxyz/ds/marketing'
|
|
4529
|
+
/** Demonstrates an article hero at the start: the company as the eyebrow, the lines, and a photo beside them from 1024px. @module */
|
|
4530
|
+
import { ArticleHero, Media } from '@tempoxyz/ds/marketing'
|
|
4531
|
+
import photo from '../../../../content/docs/arsenal/crafts/images/image-generation/image-generation-people-do.jpg'
|
|
4462
4532
|
|
|
4463
4533
|
export const fill = true
|
|
4464
4534
|
|
|
4535
|
+
export const width = 'desktop'
|
|
4536
|
+
|
|
4465
4537
|
export function Demo() {
|
|
4466
4538
|
return (
|
|
4467
|
-
<ArticleHero
|
|
4539
|
+
<ArticleHero
|
|
4540
|
+
align="start"
|
|
4541
|
+
description="A sample payments team brings its cross-border settlement into one place."
|
|
4542
|
+
eyebrow="Northwind"
|
|
4543
|
+
heading="h2"
|
|
4544
|
+
media={<Media alt="Teal and amber light, blurred by motion" src={photo} />}
|
|
4545
|
+
title="A clearer path from payment to reconciliation"
|
|
4546
|
+
>
|
|
4468
4547
|
<ArticleHero.Meta date={{ dateTime: '2026-03-18', label: 'Mar 18, 2026' }} minutes={5} />
|
|
4469
4548
|
</ArticleHero>
|
|
4470
4549
|
)
|
|
@@ -4499,8 +4578,8 @@ export function Demo() {
|
|
|
4499
4578
|
```tsx
|
|
4500
4579
|
import { ArticleHero } from '@tempoxyz/ds/marketing'
|
|
4501
4580
|
|
|
4502
|
-
<ArticleHero>
|
|
4503
|
-
<ArticleHero.Meta />
|
|
4581
|
+
<ArticleHero title="…">
|
|
4582
|
+
<ArticleHero.Meta date={{ dateTime: '…', label: '…' }} minutes={…} />
|
|
4504
4583
|
</ArticleHero>
|
|
4505
4584
|
```
|
|
4506
4585
|
|
|
@@ -4514,12 +4593,23 @@ import { ArticleHero } from '@tempoxyz/ds/marketing'
|
|
|
4514
4593
|
#### When Not to Use
|
|
4515
4594
|
|
|
4516
4595
|
* Use [Hero](/marketing/sections/hero) for a marketing or index page's opening.
|
|
4517
|
-
* Leave an article index's rows to [Article Index](/marketing/sections/article-index), which draws its own line.
|
|
4518
4596
|
|
|
4519
4597
|
#### Set Only What Its Kind Takes
|
|
4520
4598
|
|
|
4521
4599
|
Set `description` on a Learn guide or a customer story, and `eyebrow` only on a customer story, to name its company.
|
|
4522
4600
|
|
|
4601
|
+
**Do:** Name a customer story's company in the eyebrow.
|
|
4602
|
+
|
|
4603
|
+
```tsx
|
|
4604
|
+
<ArticleHeroSketch kind="story" />
|
|
4605
|
+
```
|
|
4606
|
+
|
|
4607
|
+
**Don't:** Set a category over a blog post.
|
|
4608
|
+
|
|
4609
|
+
```tsx
|
|
4610
|
+
<ArticleHeroSketch kind="category" />
|
|
4611
|
+
```
|
|
4612
|
+
|
|
4523
4613
|
#### Show the Date & the Read Time
|
|
4524
4614
|
|
|
4525
4615
|
Pass both `date` and `minutes` to `ArticleHero.Meta` whenever the article has them.
|
|
@@ -4530,9 +4620,21 @@ Pass both `date` and `minutes` to `ArticleHero.Meta` whenever the article has th
|
|
|
4530
4620
|
|
|
4531
4621
|
Write the title in sentence case with no closing period, and `description` in one or two sentences.
|
|
4532
4622
|
|
|
4533
|
-
|
|
4623
|
+
**Do:** Write Tempo Mainnet is live.
|
|
4534
4624
|
|
|
4535
|
-
|
|
4625
|
+
```tsx
|
|
4626
|
+
<ArticleHeroSketch kind="sentence" />
|
|
4627
|
+
```
|
|
4628
|
+
|
|
4629
|
+
**Don't:** Write Tempo Mainnet Is Live.
|
|
4630
|
+
|
|
4631
|
+
```tsx
|
|
4632
|
+
<ArticleHeroSketch kind="titleCase" />
|
|
4633
|
+
```
|
|
4634
|
+
|
|
4635
|
+
#### Write the Date as Month, Day & Year
|
|
4636
|
+
|
|
4637
|
+
Write `label` as month, day and year, such as Aug 19, 2026, and `dateTime` as the ISO date, 2026-08-19.
|
|
4536
4638
|
|
|
4537
4639
|
### Accessibility
|
|
4538
4640
|
|
|
@@ -4553,11 +4655,11 @@ Use for a marketing or index page's opening.
|
|
|
4553
4655
|
|
|
4554
4656
|
[Article Body](/marketing/sections/article-body)
|
|
4555
4657
|
|
|
4556
|
-
|
|
4658
|
+
Use for the text under it.
|
|
4557
4659
|
|
|
4558
|
-
[Article](/marketing/
|
|
4660
|
+
[Article Rail](/marketing/sections/article-rail)
|
|
4559
4661
|
|
|
4560
|
-
|
|
4662
|
+
Use for the share links and contents beside the text.
|
|
4561
4663
|
|
|
4562
4664
|
## Article Index
|
|
4563
4665
|
|
|
@@ -4701,22 +4803,22 @@ Sets share links, then the contents, beside a blog post or a Learn guide.
|
|
|
4701
4803
|
|
|
4702
4804
|
### Overview
|
|
4703
4805
|
|
|
4704
|
-
The column beside a blog post or Learn guide, in an `<aside>`:
|
|
4705
|
-
|
|
4706
|
-
From 1024px the rail sticks below the navigation. Below 1024px only the share links show, in a row above the text.
|
|
4806
|
+
The column beside a blog post or Learn guide, in an `<aside>`: a [Share](/marketing/components/share) row, then the contents, then an optional panel. From 1024px it sticks below the navigation, and the contents mark the section being read. Below 1024px only the Share row shows, above the text.
|
|
4707
4807
|
|
|
4708
4808
|
### Examples
|
|
4709
4809
|
|
|
4710
4810
|
#### Default
|
|
4711
4811
|
|
|
4712
|
-
A blog post's rail, from its `url`, `title
|
|
4812
|
+
A blog post's rail, from its `url`, `title` and `headings`.
|
|
4713
4813
|
|
|
4714
4814
|
```tsx
|
|
4715
4815
|
/** Demonstrates an article rail: share links, then the contents of a blog post's headings. @module */
|
|
4716
|
-
import { ArticleRail } from '@tempoxyz/ds/marketing'
|
|
4816
|
+
import { ArticleRail, style } from '@tempoxyz/ds/marketing'
|
|
4717
4817
|
|
|
4718
4818
|
export const fill = true
|
|
4719
4819
|
|
|
4820
|
+
export const width = 'desktop'
|
|
4821
|
+
|
|
4720
4822
|
const headings = [
|
|
4721
4823
|
{ id: 'the-rise-of-agentic-payments', text: 'The rise of agentic payments' },
|
|
4722
4824
|
{
|
|
@@ -4729,13 +4831,21 @@ const headings = [
|
|
|
4729
4831
|
|
|
4730
4832
|
export function Demo() {
|
|
4731
4833
|
return (
|
|
4732
|
-
<
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4834
|
+
<div {...styles.page()}>
|
|
4835
|
+
<ArticleRail
|
|
4836
|
+
headings={headings}
|
|
4837
|
+
title="Tempo Mainnet is live"
|
|
4838
|
+
url="https://tempo.xyz/blog/mainnet/"
|
|
4839
|
+
/>
|
|
4840
|
+
</div>
|
|
4737
4841
|
)
|
|
4738
4842
|
}
|
|
4843
|
+
|
|
4844
|
+
namespace styles {
|
|
4845
|
+
// A page's height. From 1024px the rail stops short of the viewport's height, and the frame
|
|
4846
|
+
// takes its height from the demo, so without one the contents would have no room.
|
|
4847
|
+
export const page = style({ minBlockSize: '480px !custom' })
|
|
4848
|
+
}
|
|
4739
4849
|
```
|
|
4740
4850
|
|
|
4741
4851
|
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/ArticleRail/Default.tsx)
|
|
@@ -4745,7 +4855,7 @@ export function Demo() {
|
|
|
4745
4855
|
```tsx
|
|
4746
4856
|
import { ArticleRail } from '@tempoxyz/ds/marketing'
|
|
4747
4857
|
|
|
4748
|
-
<ArticleRail />
|
|
4858
|
+
<ArticleRail headings={[{ id: '…', text: '…' }]} title="…" url="…" />
|
|
4749
4859
|
```
|
|
4750
4860
|
|
|
4751
4861
|
### Guidelines
|
|
@@ -4771,31 +4881,41 @@ Pass the article's absolute `url` and its `title`, which the share links carry.
|
|
|
4771
4881
|
|
|
4772
4882
|
Pass one short panel as `children`, such as a call to action, so the contents keep their room.
|
|
4773
4883
|
|
|
4884
|
+
**Do:** Set one short panel after the contents.
|
|
4885
|
+
|
|
4886
|
+
```tsx
|
|
4887
|
+
<ArticleRailSketch kind="panel" />
|
|
4888
|
+
```
|
|
4889
|
+
|
|
4890
|
+
**Don't:** Let a tall panel push the contents off.
|
|
4891
|
+
|
|
4892
|
+
```tsx
|
|
4893
|
+
<ArticleRailSketch kind="tallPanel" />
|
|
4894
|
+
```
|
|
4895
|
+
|
|
4774
4896
|
### Accessibility
|
|
4775
4897
|
|
|
4776
4898
|
* **Aside (aside):** Holds a group named Share article and a `<nav>` named Table of contents.
|
|
4777
4899
|
* **Share Links (link):** Each share link is named by what it does, such as Share on LinkedIn.
|
|
4778
4900
|
* **Copy Link (aria-live):** The copy button announces Link copied through a polite live region.
|
|
4779
4901
|
* **Contents (ol):** The contents' links sit in an ordered list, in the order of the text.
|
|
4902
|
+
* **Current Section (aria-current):** The link to the section being read takes `aria-current="location"`, and its tick turns black.
|
|
4903
|
+
* **Reduced Motion (prefers-reduced-motion):** Only colors fade, the ticks and the links on hover. Nothing moves, so reduced motion changes nothing.
|
|
4780
4904
|
|
|
4781
4905
|
#### Your Responsibilities
|
|
4782
4906
|
|
|
4783
|
-
* **Clear the Navigation:** Give each heading a scroll margin, so a jump from the contents clears the fixed navigation.
|
|
4907
|
+
* **Clear the Navigation (scroll-margin):** Give each heading a scroll margin, so a jump from the contents clears the fixed navigation.
|
|
4784
4908
|
* **Translate the Labels (messages):** Pass `messages` on a page in another language, for every label the rail reads.
|
|
4785
4909
|
|
|
4786
4910
|
### Related
|
|
4787
4911
|
|
|
4788
4912
|
[Article Body](/marketing/sections/article-body)
|
|
4789
4913
|
|
|
4790
|
-
|
|
4914
|
+
Use for the text whose headings the contents list.
|
|
4791
4915
|
|
|
4792
|
-
[Article](/marketing/
|
|
4793
|
-
|
|
4794
|
-
Covers the grid that sets the rail beside the text.
|
|
4795
|
-
|
|
4796
|
-
[Button](/marketing/components/button)
|
|
4916
|
+
[Article Hero](/marketing/sections/article-hero)
|
|
4797
4917
|
|
|
4798
|
-
|
|
4918
|
+
Use for the title above the text.
|
|
4799
4919
|
|
|
4800
4920
|
[Share](/marketing/components/share)
|
|
4801
4921
|
|
|
@@ -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@4.3.
|
|
5
|
+
npx -p @tempoxyz/ds@4.3.20261201063729 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@4.3.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/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@4.3.
|
|
5
|
+
npx -p @tempoxyz/ds@4.3.20261201063729 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@4.3.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/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@4.3.
|
|
5
|
+
npx -p @tempoxyz/ds@4.3.20261201063729 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@4.3.
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@4.3.20261201063729/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tempoxyz/ds",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.20261201063729",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
7
7
|
"DESIGN.md",
|
|
@@ -1534,5 +1534,5 @@
|
|
|
1534
1534
|
"main": "./dist/web/index.js",
|
|
1535
1535
|
"module": "./dist/web/index.js",
|
|
1536
1536
|
"types": "./dist/web/index.d.ts",
|
|
1537
|
-
"gitHead": "
|
|
1537
|
+
"gitHead": "79be7897a30c3be38f24bf5a9faf05a0dab8da4f"
|
|
1538
1538
|
}
|