@tempoxyz/ds 5.1.20261201213933 → 6.0.20261201221937
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 +1 -1
- package/dist/docs/marketing.md +386 -48
- package/dist/document/templates/brief.html +3 -3
- package/dist/document/templates/essay.html +3 -3
- package/dist/document/templates/post.html +3 -3
- package/dist/marketing/components/ArticleBody.css +1 -1
- package/dist/marketing/components/ArticleBody.d.ts +4 -71
- package/dist/marketing/components/ArticleBody.d.ts.map +1 -1
- package/dist/marketing/components/ArticleBody.js +11 -11
- package/dist/marketing/components/ArticleBody.js.map +1 -1
- package/dist/marketing/components/ArticleBody.js.zyzz.json +1 -1
- package/dist/marketing/components/Table.css +1 -1
- package/dist/marketing/components/Table.d.ts +104 -138
- package/dist/marketing/components/Table.d.ts.map +1 -1
- package/dist/marketing/components/Table.js +76 -74
- package/dist/marketing/components/Table.js.map +1 -1
- package/dist/marketing/components/Table.js.zyzz.json +1 -1
- package/dist/marketing/components/internal/TableStyle.css +1 -0
- package/dist/marketing/components/internal/TableStyle.d.ts +236 -0
- package/dist/marketing/components/internal/TableStyle.d.ts.map +1 -0
- package/dist/marketing/components/internal/TableStyle.js +24 -0
- package/dist/marketing/components/internal/TableStyle.js.map +1 -0
- package/dist/marketing/components/internal/TableStyle.js.zyzz.json +1 -0
- package/dist/marketing/index.js.zyzz.json +1 -1
- package/package.json +2 -2
- package/src/marketing/components/ArticleBody.tsx +21 -99
- package/src/marketing/components/Table.tsx +225 -238
- package/src/marketing/components/internal/TableStyle.ts +201 -0
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) (386 KB): The Marketing system.
|
|
40
40
|
- [arsenal.md](arsenal.md) (248 KB): The Arsenal brand system.
|
|
41
41
|
|
|
42
42
|
## Rules
|
package/dist/docs/marketing.md
CHANGED
|
@@ -49,6 +49,7 @@ Each section below is one page of the documentation at ds.tehq.dev.
|
|
|
49
49
|
- [Stats](#stats): Sets a few figures side by side, each over its label under a rule.
|
|
50
50
|
- [Steps](#steps): Sets a numbered sequence on one rail.
|
|
51
51
|
- [Story](#story): Tells one customer's story over their photo, as a large quote or a feature.
|
|
52
|
+
- [Table](#table): Sets values to read across a row: items side by side, or one record's facts.
|
|
52
53
|
- [Article](#article): A blog post or a Learn guide, its text beside the rail.
|
|
53
54
|
- [Contact](#contact-1): The contact page: a short pitch beside the form, in every site language.
|
|
54
55
|
- [Customer Story](#customer-story): One customer's story, with its quote, results and the company's facts.
|
|
@@ -10153,6 +10154,360 @@ Covers when a product page draws a story.
|
|
|
10153
10154
|
|
|
10154
10155
|
Covers the page a story links to.
|
|
10155
10156
|
|
|
10157
|
+
## Table
|
|
10158
|
+
|
|
10159
|
+
Sets values to read across a row: items side by side, or one record's facts.
|
|
10160
|
+
|
|
10161
|
+
### Overview
|
|
10162
|
+
|
|
10163
|
+
A native `<table>` placed in a [Section](/marketing/sections/section), which names it. `compare` sets a header row of items over rows of attributes, each row led by its attribute. `facts` sets one record's labels beside their values. Rows sit under hairlines with no vertical rules. While a table overflows, its scroller takes focus and fades its cut-off edge. Nothing else has states or motion.
|
|
10164
|
+
|
|
10165
|
+
[Article Body](/marketing/sections/article-body)'s tables draw from the same styles.
|
|
10166
|
+
|
|
10167
|
+
### Examples
|
|
10168
|
+
|
|
10169
|
+
#### Default
|
|
10170
|
+
|
|
10171
|
+
The `compare` variant: pass the items in `columns` and the attributes in `rows`, one value per item. `caption` sets a source or a note under the table.
|
|
10172
|
+
|
|
10173
|
+
```tsx
|
|
10174
|
+
/** Demonstrates a Marketing compare table: three payment rails over shared attributes, with a caption. @module */
|
|
10175
|
+
import { Section, Table } from '@tempoxyz/ds/marketing'
|
|
10176
|
+
|
|
10177
|
+
export const fill = true
|
|
10178
|
+
|
|
10179
|
+
export const width = 'desktop'
|
|
10180
|
+
|
|
10181
|
+
export function Demo() {
|
|
10182
|
+
return (
|
|
10183
|
+
<Section title="Three ways to move money" titleId="table-rails">
|
|
10184
|
+
<Table
|
|
10185
|
+
aria-labelledby="table-rails"
|
|
10186
|
+
caption="Sample figures for a business payment in the US."
|
|
10187
|
+
columns={[{ label: 'ACH' }, { label: 'Wires' }, { label: 'Stablecoins' }]}
|
|
10188
|
+
rows={[
|
|
10189
|
+
{ label: 'Cost', values: ['$0.20–$1.50', '$15–$50', 'Under $0.01'] },
|
|
10190
|
+
{ label: 'Settles', values: ['1–2 business days', 'Same day', 'Under a second'] },
|
|
10191
|
+
{ label: 'Hours', values: ['Business days', 'Business hours', 'Always on'] },
|
|
10192
|
+
{ label: 'Reversible', values: ['Yes, within 5 days', 'Rarely', 'No'] },
|
|
10193
|
+
]}
|
|
10194
|
+
/>
|
|
10195
|
+
</Section>
|
|
10196
|
+
)
|
|
10197
|
+
}
|
|
10198
|
+
```
|
|
10199
|
+
|
|
10200
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Default.tsx)
|
|
10201
|
+
|
|
10202
|
+
#### Figures
|
|
10203
|
+
|
|
10204
|
+
Set `numeric` on a column whose values are all figures, so they end in tabular numerals.
|
|
10205
|
+
|
|
10206
|
+
```tsx
|
|
10207
|
+
/** Demonstrates a Marketing compare table of figures: sample results in three markets, each column ending its figures. @module */
|
|
10208
|
+
import { Section, Table } from '@tempoxyz/ds/marketing'
|
|
10209
|
+
|
|
10210
|
+
export const fill = true
|
|
10211
|
+
|
|
10212
|
+
export const width = 'desktop'
|
|
10213
|
+
|
|
10214
|
+
export function Demo() {
|
|
10215
|
+
return (
|
|
10216
|
+
<Section title="Pilot results by market" titleId="table-figures">
|
|
10217
|
+
<Table
|
|
10218
|
+
aria-labelledby="table-figures"
|
|
10219
|
+
caption="Sample pilot, January to March 2026."
|
|
10220
|
+
columns={[
|
|
10221
|
+
{ label: 'Mexico', numeric: true },
|
|
10222
|
+
{ label: 'Brazil', numeric: true },
|
|
10223
|
+
{ label: 'Philippines', numeric: true },
|
|
10224
|
+
]}
|
|
10225
|
+
rows={[
|
|
10226
|
+
{ label: 'Transfers', values: ['1,240', '860', '2,015'] },
|
|
10227
|
+
{ label: 'Median settlement, seconds', values: ['0.6', '0.7', '0.6'] },
|
|
10228
|
+
{ label: 'Cost per transfer, USD', values: ['0.004', '0.005', '0.003'] },
|
|
10229
|
+
]}
|
|
10230
|
+
/>
|
|
10231
|
+
</Section>
|
|
10232
|
+
)
|
|
10233
|
+
}
|
|
10234
|
+
```
|
|
10235
|
+
|
|
10236
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Figures.tsx)
|
|
10237
|
+
|
|
10238
|
+
#### On a Phone
|
|
10239
|
+
|
|
10240
|
+
Three or more items keep their columns on a phone. The table scrolls sideways, and the attribute column stays pinned.
|
|
10241
|
+
|
|
10242
|
+
```tsx
|
|
10243
|
+
/** Demonstrates a Marketing compare table at phone width: three event formats that scroll sideways under a pinned attribute column. @module */
|
|
10244
|
+
import { Section, Table } from '@tempoxyz/ds/marketing'
|
|
10245
|
+
|
|
10246
|
+
export const fill = true
|
|
10247
|
+
|
|
10248
|
+
// The table scrolls only where its columns outgrow the screen, so the example opens at Mobile.
|
|
10249
|
+
export const width = 'mobile'
|
|
10250
|
+
|
|
10251
|
+
export function Demo() {
|
|
10252
|
+
return (
|
|
10253
|
+
<Section title="Three ways to meet the team" titleId="table-phone">
|
|
10254
|
+
<Table
|
|
10255
|
+
aria-labelledby="table-phone"
|
|
10256
|
+
columns={[{ label: 'Workshop' }, { label: 'Meetup' }, { label: 'Summit' }]}
|
|
10257
|
+
rows={[
|
|
10258
|
+
{ label: 'Length', values: ['Half a day', 'An evening', 'Two days'] },
|
|
10259
|
+
{ label: 'Seats', values: ['Up to 30', 'Up to 120', 'Up to 1,500'] },
|
|
10260
|
+
{ label: 'Format', values: ['Hands-on build', 'Talks and demos', 'Keynotes and tracks'] },
|
|
10261
|
+
{ label: 'Recorded', values: ['No', 'Talks only', 'Yes'] },
|
|
10262
|
+
]}
|
|
10263
|
+
/>
|
|
10264
|
+
</Section>
|
|
10265
|
+
)
|
|
10266
|
+
}
|
|
10267
|
+
```
|
|
10268
|
+
|
|
10269
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Phone.tsx)
|
|
10270
|
+
|
|
10271
|
+
#### Facts
|
|
10272
|
+
|
|
10273
|
+
Set `variant="facts"` for one record: each row's `label` beside its `value`, in 40% and 60% of the width, up to 600px.
|
|
10274
|
+
|
|
10275
|
+
```tsx
|
|
10276
|
+
/** Demonstrates a Marketing facts table: one company's labels beside their values, with its products as tags. @module */
|
|
10277
|
+
import { Section, style, Table, Tag } from '@tempoxyz/ds/marketing'
|
|
10278
|
+
|
|
10279
|
+
export const fill = true
|
|
10280
|
+
|
|
10281
|
+
export const width = 'desktop'
|
|
10282
|
+
|
|
10283
|
+
export function Demo() {
|
|
10284
|
+
return (
|
|
10285
|
+
<Section {...styles.section()} title="Northwind at a glance" titleId="table-facts">
|
|
10286
|
+
<Table
|
|
10287
|
+
aria-labelledby="table-facts"
|
|
10288
|
+
rows={[
|
|
10289
|
+
{ label: 'Company', value: 'Northwind' },
|
|
10290
|
+
{ label: 'Industry', value: 'Payments' },
|
|
10291
|
+
{ label: 'Company size', value: '51–200 employees' },
|
|
10292
|
+
{ label: 'Use case', value: 'Cross-border settlement' },
|
|
10293
|
+
{
|
|
10294
|
+
label: 'Products used',
|
|
10295
|
+
value: (
|
|
10296
|
+
<span {...styles.tags()}>
|
|
10297
|
+
<Tag>Tempo Routes</Tag>
|
|
10298
|
+
<Tag>Tempo Zones</Tag>
|
|
10299
|
+
</span>
|
|
10300
|
+
),
|
|
10301
|
+
},
|
|
10302
|
+
]}
|
|
10303
|
+
variant="facts"
|
|
10304
|
+
/>
|
|
10305
|
+
</Section>
|
|
10306
|
+
)
|
|
10307
|
+
}
|
|
10308
|
+
|
|
10309
|
+
namespace styles {
|
|
10310
|
+
// The table stops at 600px, so the section keeps the frame's width and its heading the start edge.
|
|
10311
|
+
export const section = style({ inlineSize: 'full' })
|
|
10312
|
+
|
|
10313
|
+
export const tags = style({ display: 'flex', flexWrap: 'wrap', gap: '8' })
|
|
10314
|
+
}
|
|
10315
|
+
```
|
|
10316
|
+
|
|
10317
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Facts.tsx)
|
|
10318
|
+
|
|
10319
|
+
#### Small
|
|
10320
|
+
|
|
10321
|
+
Set `size="small"` for Body B2 in a narrow column, such as a rail beside an article.
|
|
10322
|
+
|
|
10323
|
+
```tsx
|
|
10324
|
+
/** Demonstrates a small Marketing facts table in a narrow column: one asset's labels beside their values, in Body B2. @module */
|
|
10325
|
+
import { style, Table } from '@tempoxyz/ds/marketing'
|
|
10326
|
+
|
|
10327
|
+
export const fill = true
|
|
10328
|
+
|
|
10329
|
+
export function Demo() {
|
|
10330
|
+
return (
|
|
10331
|
+
<div {...styles.rail()}>
|
|
10332
|
+
<Table
|
|
10333
|
+
aria-label="Sample asset details"
|
|
10334
|
+
rows={[
|
|
10335
|
+
{ label: 'Issuer', value: 'Sample Trust Co.' },
|
|
10336
|
+
{ label: 'Network', value: 'Tempo' },
|
|
10337
|
+
{ label: 'Decimals', value: '6' },
|
|
10338
|
+
{ label: 'Redemption', value: 'Same business day' },
|
|
10339
|
+
]}
|
|
10340
|
+
size="small"
|
|
10341
|
+
variant="facts"
|
|
10342
|
+
/>
|
|
10343
|
+
</div>
|
|
10344
|
+
)
|
|
10345
|
+
}
|
|
10346
|
+
|
|
10347
|
+
namespace styles {
|
|
10348
|
+
// About a page rail's width, beside an article.
|
|
10349
|
+
export const rail = style({ maxInlineSize: '320', padding: '32' })
|
|
10350
|
+
}
|
|
10351
|
+
```
|
|
10352
|
+
|
|
10353
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Small.tsx)
|
|
10354
|
+
|
|
10355
|
+
#### Inverse
|
|
10356
|
+
|
|
10357
|
+
Set `tone` to the Section's tone, here `inverse`, so the hairlines and a pinned column match its ground.
|
|
10358
|
+
|
|
10359
|
+
```tsx
|
|
10360
|
+
/** Demonstrates a Marketing compare table in the inverse tone: two ways to integrate, in an inverse section. @module */
|
|
10361
|
+
import { Section, Table } from '@tempoxyz/ds/marketing'
|
|
10362
|
+
|
|
10363
|
+
export const fill = true
|
|
10364
|
+
|
|
10365
|
+
export const surface = 'inverse'
|
|
10366
|
+
|
|
10367
|
+
export const width = 'desktop'
|
|
10368
|
+
|
|
10369
|
+
export function Demo() {
|
|
10370
|
+
return (
|
|
10371
|
+
<Section title="Two ways to take payments" titleId="table-inverse" tone="inverse">
|
|
10372
|
+
<Table
|
|
10373
|
+
aria-labelledby="table-inverse"
|
|
10374
|
+
columns={[{ label: 'Hosted checkout' }, { label: 'API' }]}
|
|
10375
|
+
rows={[
|
|
10376
|
+
{ label: 'Who hosts the page', values: ['The provider', 'You'] },
|
|
10377
|
+
{ label: 'Build time', values: ['An afternoon', 'A sprint'] },
|
|
10378
|
+
{ label: 'Branding', values: ['Logo and colors', 'Your whole page'] },
|
|
10379
|
+
]}
|
|
10380
|
+
tone="inverse"
|
|
10381
|
+
/>
|
|
10382
|
+
</Section>
|
|
10383
|
+
)
|
|
10384
|
+
}
|
|
10385
|
+
```
|
|
10386
|
+
|
|
10387
|
+
[View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Table/Inverse.tsx)
|
|
10388
|
+
|
|
10389
|
+
### Anatomy
|
|
10390
|
+
|
|
10391
|
+
```tsx
|
|
10392
|
+
import { Section, Table } from '@tempoxyz/ds/marketing'
|
|
10393
|
+
|
|
10394
|
+
<Section title="…" titleId="…">
|
|
10395
|
+
<Table aria-labelledby="…" columns={[{ label: '…' }]} rows={[{ label: '…', values: ['…'] }]} />
|
|
10396
|
+
</Section>
|
|
10397
|
+
```
|
|
10398
|
+
|
|
10399
|
+
### Guidelines
|
|
10400
|
+
|
|
10401
|
+
#### When to Use
|
|
10402
|
+
|
|
10403
|
+
* Reading across a row matters: items share the same attributes.
|
|
10404
|
+
* One record's facts read as a label beside a value.
|
|
10405
|
+
|
|
10406
|
+
#### When Not to Use
|
|
10407
|
+
|
|
10408
|
+
* Use [Card](/marketing/sections/card) when each item carries a sentence, a picture or its own link.
|
|
10409
|
+
* Use [Stats](/marketing/sections/stats) for two to four figures that each carry the point alone.
|
|
10410
|
+
* Use an `ArticleBody.Table` in [Article Body](/marketing/sections/article-body) for a comparison inside running text.
|
|
10411
|
+
|
|
10412
|
+
#### Choose the Variant by the Content's Shape
|
|
10413
|
+
|
|
10414
|
+
* **Compare (compare):** The default: items across, attributes down.
|
|
10415
|
+
* **Facts (facts):** One record's 3–8 labels beside their values.
|
|
10416
|
+
|
|
10417
|
+
#### Fill the Slots It Has
|
|
10418
|
+
|
|
10419
|
+
* **Title (required):** The Section's title, which names the table.
|
|
10420
|
+
* **Label (optional):** The Section's eyebrow, a few words over its title.
|
|
10421
|
+
* **Description (optional):** The Section's line under the title.
|
|
10422
|
+
* **Mark (optional):** Up to 24px beside an item's name, on all or none.
|
|
10423
|
+
* **Figure (optional):** In cells. A column of figures sets `numeric`.
|
|
10424
|
+
* **Link (optional):** On an item's name or a row's label, never a cell.
|
|
10425
|
+
* **Caption (optional):** A source or a note, set under the table.
|
|
10426
|
+
* **Action (optional):** The Section's one action. Cells hold no buttons.
|
|
10427
|
+
* **Picture (none):** No photo or art. A row of pictures is Cards.
|
|
10428
|
+
|
|
10429
|
+
#### Compare Two to Four Items
|
|
10430
|
+
|
|
10431
|
+
Set two to four items over three to eight attributes. Past four items, the columns get too narrow to read beside each other, so split them across two tables.
|
|
10432
|
+
|
|
10433
|
+
**Do:** Compare three items.
|
|
10434
|
+
|
|
10435
|
+
```tsx
|
|
10436
|
+
<TableSketch kind="compare" />
|
|
10437
|
+
```
|
|
10438
|
+
|
|
10439
|
+
**Don't:** Squeeze six into one table.
|
|
10440
|
+
|
|
10441
|
+
```tsx
|
|
10442
|
+
<TableSketch kind="crowded" />
|
|
10443
|
+
```
|
|
10444
|
+
|
|
10445
|
+
#### Keep Each Cell to a Value
|
|
10446
|
+
|
|
10447
|
+
A cell holds a word, a phrase or a figure. An item that needs a sentence to explain it belongs in a [Card](/marketing/sections/card).
|
|
10448
|
+
|
|
10449
|
+
**Do:** Set a short value in each cell.
|
|
10450
|
+
|
|
10451
|
+
```tsx
|
|
10452
|
+
<TableSketch kind="short" />
|
|
10453
|
+
```
|
|
10454
|
+
|
|
10455
|
+
**Don't:** Write a paragraph in a cell.
|
|
10456
|
+
|
|
10457
|
+
```tsx
|
|
10458
|
+
<TableSketch kind="prose" />
|
|
10459
|
+
```
|
|
10460
|
+
|
|
10461
|
+
### Content
|
|
10462
|
+
|
|
10463
|
+
#### Write Values as Words
|
|
10464
|
+
|
|
10465
|
+
Write Yes, No or the qualified phrase, such as Rarely. A check or a cross can't say Rarely.
|
|
10466
|
+
|
|
10467
|
+
**Do:** Write Yes, Rarely and No.
|
|
10468
|
+
|
|
10469
|
+
```tsx
|
|
10470
|
+
<TableSketch kind="words" />
|
|
10471
|
+
```
|
|
10472
|
+
|
|
10473
|
+
**Don't:** Set checks and crosses.
|
|
10474
|
+
|
|
10475
|
+
```tsx
|
|
10476
|
+
<TableSketch kind="glyphs" />
|
|
10477
|
+
```
|
|
10478
|
+
|
|
10479
|
+
* **Item:** One to three words, the item's name.
|
|
10480
|
+
* **Attribute:** A few words in sentence case, with its unit where it has one, such as Cost per transfer, USD.
|
|
10481
|
+
* **Caption:** The source and period of the figures, such as Sample pilot, January to March 2026.
|
|
10482
|
+
|
|
10483
|
+
### Accessibility
|
|
10484
|
+
|
|
10485
|
+
* **Header Cells (scope):** Items are column headers and attributes row headers, so a value reads with both.
|
|
10486
|
+
* **Wide Tables (ArrowRight):** While a table overflows, its scroller takes focus, the arrow keys move it, and the first column stays.
|
|
10487
|
+
|
|
10488
|
+
#### Your Responsibilities
|
|
10489
|
+
|
|
10490
|
+
* **Name the Table (aria-labelledby):** Point `aria-labelledby` at the Section's `titleId`, or set `aria-label` with no heading.
|
|
10491
|
+
* **Name the Scroller (label):** Set `label` in the page's language. It defaults to Scrollable table, in English.
|
|
10492
|
+
|
|
10493
|
+
### Related
|
|
10494
|
+
|
|
10495
|
+
[Card](/marketing/sections/card)
|
|
10496
|
+
|
|
10497
|
+
Use for items that each carry a sentence, a picture or a link.
|
|
10498
|
+
|
|
10499
|
+
[Stats](/marketing/sections/stats)
|
|
10500
|
+
|
|
10501
|
+
Use for two to four figures that each carry the point alone.
|
|
10502
|
+
|
|
10503
|
+
[Section](/marketing/sections/section)
|
|
10504
|
+
|
|
10505
|
+
Use for the section and the heading that name a table.
|
|
10506
|
+
|
|
10507
|
+
[Article Body](/marketing/sections/article-body)
|
|
10508
|
+
|
|
10509
|
+
Covers the tables an article's Markdown draws, in the same styles.
|
|
10510
|
+
|
|
10156
10511
|
## Article
|
|
10157
10512
|
|
|
10158
10513
|
A blog post or a Learn guide, its text beside the rail.
|
|
@@ -10562,7 +10917,16 @@ Northwind and its figures are sample data.
|
|
|
10562
10917
|
|
|
10563
10918
|
```tsx
|
|
10564
10919
|
/** Demonstrates a Customer Story page: the company and title, its results, the story beside a call to talk and the company's facts, two more stories and two next steps. @module */
|
|
10565
|
-
import {
|
|
10920
|
+
import {
|
|
10921
|
+
ArticleBody,
|
|
10922
|
+
ArticleHero,
|
|
10923
|
+
Button,
|
|
10924
|
+
Card,
|
|
10925
|
+
Section,
|
|
10926
|
+
style,
|
|
10927
|
+
Table,
|
|
10928
|
+
Tag,
|
|
10929
|
+
} from '@tempoxyz/ds/marketing'
|
|
10566
10930
|
import { Demo as CtaCards } from '../Cta/Cards.js'
|
|
10567
10931
|
import { Demo as Stats } from '../Stats/Default.js'
|
|
10568
10932
|
|
|
@@ -10624,31 +10988,26 @@ export function Demo() {
|
|
|
10624
10988
|
Get in touch
|
|
10625
10989
|
</Button.Link>
|
|
10626
10990
|
</div>
|
|
10627
|
-
<
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
<Tag>Tempo Routes</Tag>
|
|
10648
|
-
<Tag>Tempo Zones</Tag>
|
|
10649
|
-
</dd>
|
|
10650
|
-
</div>
|
|
10651
|
-
</dl>
|
|
10991
|
+
<Table
|
|
10992
|
+
aria-label="Northwind facts"
|
|
10993
|
+
rows={[
|
|
10994
|
+
{ label: 'Company', value: 'Northwind' },
|
|
10995
|
+
{ label: 'Industry', value: 'Payments' },
|
|
10996
|
+
{ label: 'Company size', value: '51–200 employees' },
|
|
10997
|
+
{ label: 'Use case', value: 'Cross-border settlement' },
|
|
10998
|
+
{
|
|
10999
|
+
label: 'Products used',
|
|
11000
|
+
value: (
|
|
11001
|
+
<span {...styles.tags()}>
|
|
11002
|
+
<Tag>Tempo Routes</Tag>
|
|
11003
|
+
<Tag>Tempo Zones</Tag>
|
|
11004
|
+
</span>
|
|
11005
|
+
),
|
|
11006
|
+
},
|
|
11007
|
+
]}
|
|
11008
|
+
size="small"
|
|
11009
|
+
variant="facts"
|
|
11010
|
+
/>
|
|
10652
11011
|
</aside>
|
|
10653
11012
|
</div>
|
|
10654
11013
|
</div>
|
|
@@ -10694,27 +11053,6 @@ namespace styles {
|
|
|
10694
11053
|
paddingInline: 'page.margin',
|
|
10695
11054
|
})
|
|
10696
11055
|
|
|
10697
|
-
export const facts = style({
|
|
10698
|
-
backgroundColor: 'background.secondary',
|
|
10699
|
-
color: 'content.primary',
|
|
10700
|
-
borderRadius: 'lg',
|
|
10701
|
-
display: 'flex',
|
|
10702
|
-
flexDirection: 'column',
|
|
10703
|
-
gap: '24',
|
|
10704
|
-
margin: '0',
|
|
10705
|
-
padding: '32',
|
|
10706
|
-
typography: 'body.b2',
|
|
10707
|
-
selectors: {
|
|
10708
|
-
'& dt': {
|
|
10709
|
-
color: 'content.secondary',
|
|
10710
|
-
marginBlockEnd: '4',
|
|
10711
|
-
textTransform: 'uppercase',
|
|
10712
|
-
typography: 'utility.eyebrow',
|
|
10713
|
-
},
|
|
10714
|
-
'& dd': { margin: '0' },
|
|
10715
|
-
},
|
|
10716
|
-
})
|
|
10717
|
-
|
|
10718
11056
|
export const inverseEyebrow = style({
|
|
10719
11057
|
color: 'inverse.content.secondary',
|
|
10720
11058
|
margin: '0',
|
|
@@ -10765,7 +11103,7 @@ namespace styles {
|
|
|
10765
11103
|
|
|
10766
11104
|
export const results = style({ paddingBlockStart: 'section.md' })
|
|
10767
11105
|
|
|
10768
|
-
export const tags = style({ display: 'flex', flexWrap: 'wrap', gap: '8'
|
|
11106
|
+
export const tags = style({ display: 'flex', flexWrap: 'wrap', gap: '8' })
|
|
10769
11107
|
|
|
10770
11108
|
export const thumbnail = style({
|
|
10771
11109
|
alignItems: 'center',
|
|
@@ -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@
|
|
5
|
+
npx -p @tempoxyz/ds@6.0.20261201221937 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@
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/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@
|
|
5
|
+
npx -p @tempoxyz/ds@6.0.20261201221937 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@
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/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@
|
|
5
|
+
npx -p @tempoxyz/ds@6.0.20261201221937 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@
|
|
15
|
+
href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/dist/document/document.css"
|
|
16
16
|
/>
|
|
17
17
|
<script
|
|
18
18
|
defer
|
|
19
|
-
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@
|
|
19
|
+
src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@6.0.20261201221937/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|