@tempoxyz/ds 3.8.20261201045338 → 4.0.20261201051559
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 +39 -47
- 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/AnswerLabel.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleBody.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleHero.css +1 -1
- package/dist/marketing/components/ArticleHero.d.ts +1 -1
- package/dist/marketing/components/ArticleHero.js.map +1 -1
- package/dist/marketing/components/ArticleHero.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleIndex.css +1 -1
- package/dist/marketing/components/ArticleIndex.js.zyzz.json +1 -1
- package/dist/marketing/components/ArticleRail.js.zyzz.json +1 -1
- package/dist/marketing/components/AsideLayout.js.zyzz.json +1 -1
- package/dist/marketing/components/BlockFrame.js.zyzz.json +1 -1
- package/dist/marketing/components/Breadcrumbs.js.zyzz.json +1 -1
- package/dist/marketing/components/Button.js.zyzz.json +1 -1
- package/dist/marketing/components/Card.js.zyzz.json +1 -1
- package/dist/marketing/components/Cta.css +1 -1
- package/dist/marketing/components/Cta.d.ts +1 -1
- package/dist/marketing/components/Cta.d.ts.map +1 -1
- package/dist/marketing/components/Cta.js +4 -4
- package/dist/marketing/components/Cta.js.map +1 -1
- package/dist/marketing/components/Cta.js.zyzz.json +1 -1
- package/dist/marketing/components/Faq.css +1 -1
- package/dist/marketing/components/Faq.d.ts +1 -1
- package/dist/marketing/components/Faq.js.map +1 -1
- package/dist/marketing/components/Faq.js.zyzz.json +1 -1
- package/dist/marketing/components/FeatureAccordion.css +1 -1
- package/dist/marketing/components/FeatureAccordion.js.zyzz.json +1 -1
- package/dist/marketing/components/Field.js.zyzz.json +1 -1
- package/dist/marketing/components/Filter.js.zyzz.json +1 -1
- package/dist/marketing/components/Footer.js.zyzz.json +1 -1
- package/dist/marketing/components/Hero.css +1 -1
- package/dist/marketing/components/Hero.d.ts +4 -12
- package/dist/marketing/components/Hero.d.ts.map +1 -1
- package/dist/marketing/components/Hero.js +6 -7
- package/dist/marketing/components/Hero.js.map +1 -1
- package/dist/marketing/components/Hero.js.zyzz.json +1 -1
- package/dist/marketing/components/LeadCapture.css +1 -1
- package/dist/marketing/components/LeadCapture.d.ts +1 -1
- package/dist/marketing/components/LeadCapture.d.ts.map +1 -1
- package/dist/marketing/components/LeadCapture.js +1 -1
- package/dist/marketing/components/LeadCapture.js.map +1 -1
- package/dist/marketing/components/LeadCapture.js.zyzz.json +1 -1
- package/dist/marketing/components/Link.js.zyzz.json +1 -1
- package/dist/marketing/components/Logo.js.zyzz.json +1 -1
- package/dist/marketing/components/LogoWall.js.zyzz.json +1 -1
- package/dist/marketing/components/Media.js.zyzz.json +1 -1
- package/dist/marketing/components/Nav.js.zyzz.json +1 -1
- package/dist/marketing/components/PartnersIndex.js.zyzz.json +1 -1
- package/dist/marketing/components/Section.css +1 -1
- package/dist/marketing/components/Section.d.ts +4 -4
- package/dist/marketing/components/Section.js.map +1 -1
- package/dist/marketing/components/Section.js.zyzz.json +1 -1
- package/dist/marketing/components/SectionHeading.css +1 -1
- package/dist/marketing/components/SectionHeading.d.ts +3 -3
- package/dist/marketing/components/SectionHeading.js.map +1 -1
- package/dist/marketing/components/SectionHeading.js.zyzz.json +1 -1
- package/dist/marketing/components/Showcase.css +1 -1
- package/dist/marketing/components/Showcase.js.zyzz.json +1 -1
- package/dist/marketing/components/Sources.js.zyzz.json +1 -1
- package/dist/marketing/components/Stats.js.zyzz.json +1 -1
- package/dist/marketing/components/Steps.js.zyzz.json +1 -1
- package/dist/marketing/components/Story.css +1 -1
- package/dist/marketing/components/Story.js.zyzz.json +1 -1
- package/dist/marketing/components/SymbolTile.js.zyzz.json +1 -1
- package/dist/marketing/components/Table.css +1 -1
- package/dist/marketing/components/Table.d.ts +0 -1
- package/dist/marketing/components/Table.d.ts.map +1 -1
- package/dist/marketing/components/Table.js +7 -8
- package/dist/marketing/components/Table.js.map +1 -1
- package/dist/marketing/components/Table.js.zyzz.json +1 -1
- package/dist/marketing/components/Tag.js.zyzz.json +1 -1
- package/dist/marketing/components/internal/Hint.js.zyzz.json +1 -1
- package/dist/marketing/index.js.zyzz.json +1 -1
- package/dist/marketing/outline/Outline.js.zyzz.json +1 -1
- package/dist/marketing/outline/Presets.js.zyzz.json +1 -1
- package/dist/marketing/outline/Sections.js.zyzz.json +1 -1
- package/dist/marketing/styles.js.zyzz.json +1 -1
- package/dist/marketing/vars.d.ts +0 -15
- package/dist/marketing/vars.d.ts.map +1 -1
- package/dist/marketing/vars.js.map +1 -1
- package/dist/marketing/vars.js.zyzz.json +1 -1
- package/dist/marketing/zyzz.config.d.ts +0 -75
- package/dist/marketing/zyzz.config.d.ts.map +1 -1
- package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
- package/dist/oxlint/internal/Tokens.d.ts.map +1 -1
- package/dist/oxlint/internal/Tokens.js +0 -3
- package/dist/oxlint/internal/Tokens.js.map +1 -1
- package/package.json +2 -2
- package/src/marketing/components/ArticleHero.tsx +1 -1
- package/src/marketing/components/ArticleIndex.tsx +1 -1
- package/src/marketing/components/Cta.tsx +3 -3
- package/src/marketing/components/Faq.tsx +2 -2
- package/src/marketing/components/FeatureAccordion.tsx +1 -1
- package/src/marketing/components/Hero.tsx +12 -16
- package/src/marketing/components/LeadCapture.tsx +3 -2
- package/src/marketing/components/Section.tsx +4 -4
- package/src/marketing/components/SectionHeading.tsx +3 -3
- package/src/marketing/components/Showcase.tsx +2 -2
- package/src/marketing/components/Story.tsx +1 -1
- package/src/marketing/components/Table.tsx +1 -3
- package/src/marketing/vars.ts +3 -8
- package/src/oxlint/internal/Tokens.ts +0 -3
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) (309 KB): The Marketing system.
|
|
40
40
|
- [arsenal.md](arsenal.md) (262 KB): The Arsenal brand system.
|
|
41
41
|
|
|
42
42
|
## Rules
|
package/dist/docs/marketing.md
CHANGED
|
@@ -966,7 +966,7 @@ export function Demo() {
|
|
|
966
966
|
}
|
|
967
967
|
|
|
968
968
|
namespace styles {
|
|
969
|
-
export const field = style({ maxWidth: '
|
|
969
|
+
export const field = style({ maxWidth: '480', width: 'full' })
|
|
970
970
|
}
|
|
971
971
|
```
|
|
972
972
|
|
|
@@ -1414,7 +1414,7 @@ namespace styles {
|
|
|
1414
1414
|
typography: 'body.b2',
|
|
1415
1415
|
})
|
|
1416
1416
|
|
|
1417
|
-
export const field = style({ maxWidth: '
|
|
1417
|
+
export const field = style({ maxWidth: '480', width: 'full' })
|
|
1418
1418
|
}
|
|
1419
1419
|
```
|
|
1420
1420
|
|
|
@@ -1449,7 +1449,7 @@ namespace styles {
|
|
|
1449
1449
|
display: 'flex',
|
|
1450
1450
|
flexDirection: 'column',
|
|
1451
1451
|
gap: '24',
|
|
1452
|
-
maxWidth: '
|
|
1452
|
+
maxWidth: '480',
|
|
1453
1453
|
width: 'full',
|
|
1454
1454
|
})
|
|
1455
1455
|
}
|
|
@@ -3233,27 +3233,24 @@ The page grid, section spacing, gaps, and widths of marketing pages.
|
|
|
3233
3233
|
|
|
3234
3234
|
### Overview
|
|
3235
3235
|
|
|
3236
|
-
A marketing page stacks full-width sections. Each section
|
|
3237
|
-
|
|
3238
|
-
Most layout tokens step up at 1024px, so a page breathes more on a desktop than on a phone without new rules.
|
|
3236
|
+
A marketing page stacks full-width sections. Each section pads its top, pads its bottom when it is painted or closes the page, and insets its content by the page margin. Layout gaps separate its heading, blocks, and elements.
|
|
3239
3237
|
|
|
3240
3238
|
### Breakpoints
|
|
3241
3239
|
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
| Condition | Width | Starts |
|
|
3245
|
-
| --- | --- | --- |
|
|
3246
|
-
| `@media >=768` | 768px | Tablet: sizes, page margins, and the grid step up. |
|
|
3247
|
-
| `@media >=1024` | 1024px | Desktop: sections, layout gaps, and prose step up, and the grid reaches 12 columns. |
|
|
3248
|
-
| `@media >=1512` | 1512px | Display: the largest display and heading sizes. |
|
|
3240
|
+
A page starts in Mobile. It switches to each wider mode once the window is at least that wide.
|
|
3249
3241
|
|
|
3250
|
-
|
|
3242
|
+
| Mode | From | Condition |
|
|
3243
|
+
| ------- | ------ | --------------- |
|
|
3244
|
+
| Mobile | 0px | None, the base |
|
|
3245
|
+
| Tablet | 768px | `@media >=768` |
|
|
3246
|
+
| Desktop | 1024px | `@media >=1024` |
|
|
3247
|
+
| Display | 1512px | `@media >=1512` |
|
|
3251
3248
|
|
|
3252
3249
|
### Grid
|
|
3253
3250
|
|
|
3254
3251
|
|
|
3255
3252
|
|
|
3256
|
-
The grid has 4 columns on Mobile, 6 from
|
|
3253
|
+
The grid has 4 columns on Mobile, 6 from Tablet, and 12 from Desktop, with `layout.columns` holding the count.
|
|
3257
3254
|
|
|
3258
3255
|
| Token | Mobile | Tablet | Desktop | Display | Use |
|
|
3259
3256
|
| --- | --- | --- | --- | --- | --- |
|
|
@@ -3262,17 +3259,14 @@ The grid has 4 columns on Mobile, 6 from 768px, and 12 from 1024px, with `layout
|
|
|
3262
3259
|
|
|
3263
3260
|
### Sections
|
|
3264
3261
|
|
|
3265
|
-
Use [Section](/marketing/sections/section) to manage section rhythm. Its default space is `section.
|
|
3262
|
+
Use [Section](/marketing/sections/section) to manage section rhythm. Its default space is `section.lg`, and a hero takes the same space above its title.
|
|
3266
3263
|
|
|
3267
3264
|
| Token | Mobile | Tablet | Desktop | Display | Use |
|
|
3268
3265
|
| --- | --- | --- | --- | --- | --- |
|
|
3269
|
-
| `section.
|
|
3270
|
-
| `section.
|
|
3271
|
-
| `section.md` | 80px | 80px | 100px | 100px |
|
|
3272
|
-
| `section.
|
|
3273
|
-
| `section.xl` | 180px | 180px | 240px | 240px | A section that opens a page or a chapter. |
|
|
3274
|
-
| `section.hero` | 135px | 135px | 180px | 180px | The top inset of a hero: XL times 0.75. |
|
|
3275
|
-
| `section.gap` | 144px | 144px | 192px | 192px | Between two sections, held by the lower one: LG plus XS. |
|
|
3266
|
+
| `section.lg` | 120px | 120px | 160px | 160px | Above every section and hero. The default. |
|
|
3267
|
+
| `section.xl` | 180px | 180px | 240px | 240px | Where the register turns, and above the footer. |
|
|
3268
|
+
| `section.md` | 80px | 80px | 100px | 100px | Below a hero. |
|
|
3269
|
+
| `section.sm` | 40px | 40px | 64px | 64px | Between the blocks of an article. |
|
|
3276
3270
|
|
|
3277
3271
|
#### Section Rhythm
|
|
3278
3272
|
|
|
@@ -3287,7 +3281,7 @@ The lower [Section](/marketing/sections/section#turn-where-the-register-changes)
|
|
|
3287
3281
|
|
|
3288
3282
|
### Text Pairs
|
|
3289
3283
|
|
|
3290
|
-
Text pair gaps space two stacked text styles. Every heading block
|
|
3284
|
+
Text pair gaps space two stacked text styles. Every heading block uses the same three: eyebrow to title, title to text, and text to actions.
|
|
3291
3285
|
|
|
3292
3286
|
| Token | Mobile | Tablet | Desktop | Display | Use |
|
|
3293
3287
|
| --- | --- | --- | --- | --- | --- |
|
|
@@ -3318,36 +3312,34 @@ The scale spaces everything else, such as the padding of a card or the gap of a
|
|
|
3318
3312
|
|
|
3319
3313
|
### Widths
|
|
3320
3314
|
|
|
3321
|
-
|
|
3315
|
+
Each width caps one kind of text, set by its type style and length. The page container centers sections past 2560px.
|
|
3322
3316
|
|
|
3323
3317
|
| Token | Max Width | Use |
|
|
3324
3318
|
| --- | --- | --- |
|
|
3325
|
-
| `container.
|
|
3326
|
-
| `container.
|
|
3327
|
-
| `container.
|
|
3328
|
-
| `container.
|
|
3329
|
-
| `container.
|
|
3330
|
-
| `container.
|
|
3331
|
-
| `container.720` | 720px | An article column. |
|
|
3332
|
-
| `container.1000` | 1000px | A wide feature, such as a centered table. |
|
|
3333
|
-
| `container.2560` | 2560px | The page container: sections stop at 2560px and center. |
|
|
3319
|
+
| `container.320` | 320px | Short text. |
|
|
3320
|
+
| `container.480` | 480px | Paragraphs, the lede, and forms. |
|
|
3321
|
+
| `container.600` | 600px | Titles, headings, and prose. |
|
|
3322
|
+
| `container.720` | 720px | Legal text, and a page title from Display. |
|
|
3323
|
+
| `container.1000` | 1000px | Statements, and a hero title from Desktop. |
|
|
3324
|
+
| `container.2560` | 2560px | The page container. Sections stop and center. |
|
|
3334
3325
|
|
|
3335
3326
|
#### Measure
|
|
3336
3327
|
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
* **
|
|
3340
|
-
* **
|
|
3341
|
-
* **
|
|
3342
|
-
* **
|
|
3343
|
-
* **
|
|
3344
|
-
* **
|
|
3328
|
+
* **Hero Title (container.600):** Display Hero, and 1000 from Desktop.
|
|
3329
|
+
* **Page Title (container.600):** Heading H1, and 720 from Display.
|
|
3330
|
+
* **Headings (container.600):** Heading H2 to H4.
|
|
3331
|
+
* **Statement (container.1000):** A pull quote or a ghost section heading.
|
|
3332
|
+
* **Lede (container.480):** Body Lede, and 600 from Desktop.
|
|
3333
|
+
* **Paragraph (container.480):** Body B1 or B2 past 90 characters.
|
|
3334
|
+
* **Short Text (container.320):** Body B1 or B2 up to 90 characters.
|
|
3335
|
+
* **Prose (container.600):** Body Prose in an article.
|
|
3336
|
+
* **Legal (container.720):** A legal page and its fine print.
|
|
3345
3337
|
|
|
3346
3338
|
### Guidelines
|
|
3347
3339
|
|
|
3348
3340
|
#### Space Sections With Section Tokens
|
|
3349
3341
|
|
|
3350
|
-
Pad sections with the section tokens, not the spacing scale, so the rhythm steps at
|
|
3342
|
+
Pad sections with the section tokens, not the spacing scale, so the rhythm steps at Desktop.
|
|
3351
3343
|
|
|
3352
3344
|
#### Separate Content With Layout Gaps
|
|
3353
3345
|
|
|
@@ -3367,11 +3359,11 @@ Space closer what belongs together: inside a part on the spacing scale, between
|
|
|
3367
3359
|
|
|
3368
3360
|
#### Cap Text Columns
|
|
3369
3361
|
|
|
3370
|
-
Cap
|
|
3362
|
+
Cap every block of text at its Measure width, so lines stay readable on a wide screen.
|
|
3371
3363
|
|
|
3372
3364
|
#### Fit Every Width Without Scrolling Sideways
|
|
3373
3365
|
|
|
3374
|
-
Use the shared breakpoints
|
|
3366
|
+
Use the shared breakpoints unless a component documents its own, such as [Nav](/marketing/sections/nav) at 1080px and [Logo Wall](/marketing/sections/logo-wall) at 600px. Every page fits its width from 390px to 2560px.
|
|
3375
3367
|
|
|
3376
3368
|
#### Write Logical Properties
|
|
3377
3369
|
|
|
@@ -6924,7 +6916,7 @@ import { SectionHeading } from '@tempoxyz/ds/marketing'
|
|
|
6924
6916
|
|
|
6925
6917
|
* **Continued Title (heading):** The default: the subtitle continues the title in its type.
|
|
6926
6918
|
* **Running Text (body):** Body B1 up to 480px, 24px below the title.
|
|
6927
|
-
* **Lead Beside a Rail (aside):** Body B1 up to
|
|
6919
|
+
* **Lead Beside a Rail (aside):** Body B1 up to 480px, beside a sidebar or a rail.
|
|
6928
6920
|
|
|
6929
6921
|
#### Add One Action at Most
|
|
6930
6922
|
|
|
@@ -8116,7 +8108,7 @@ namespace styles {
|
|
|
8116
8108
|
marginInline: 'auto',
|
|
8117
8109
|
maxInlineSize: '2560',
|
|
8118
8110
|
paddingBlockEnd: 'section.lg',
|
|
8119
|
-
paddingBlockStart: 'section.
|
|
8111
|
+
paddingBlockStart: 'section.lg',
|
|
8120
8112
|
paddingInline: 'page.margin',
|
|
8121
8113
|
})
|
|
8122
8114
|
|
|
@@ -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@4.0.20261201051559 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@4.0.20261201051559/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@4.0.20261201051559/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@4.0.20261201051559 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@4.0.20261201051559/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@4.0.20261201051559/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@4.0.20261201051559 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@4.0.20261201051559/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@4.0.20261201051559/dist/document/script.js"
|
|
20
20
|
></script>
|
|
21
21
|
</head>
|
|
22
22
|
<body>
|