@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.
Files changed (106) hide show
  1. package/dist/docs/AGENTS.md +1 -1
  2. package/dist/docs/marketing.md +39 -47
  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/components/AnswerLabel.js.zyzz.json +1 -1
  7. package/dist/marketing/components/ArticleBody.js.zyzz.json +1 -1
  8. package/dist/marketing/components/ArticleHero.css +1 -1
  9. package/dist/marketing/components/ArticleHero.d.ts +1 -1
  10. package/dist/marketing/components/ArticleHero.js.map +1 -1
  11. package/dist/marketing/components/ArticleHero.js.zyzz.json +1 -1
  12. package/dist/marketing/components/ArticleIndex.css +1 -1
  13. package/dist/marketing/components/ArticleIndex.js.zyzz.json +1 -1
  14. package/dist/marketing/components/ArticleRail.js.zyzz.json +1 -1
  15. package/dist/marketing/components/AsideLayout.js.zyzz.json +1 -1
  16. package/dist/marketing/components/BlockFrame.js.zyzz.json +1 -1
  17. package/dist/marketing/components/Breadcrumbs.js.zyzz.json +1 -1
  18. package/dist/marketing/components/Button.js.zyzz.json +1 -1
  19. package/dist/marketing/components/Card.js.zyzz.json +1 -1
  20. package/dist/marketing/components/Cta.css +1 -1
  21. package/dist/marketing/components/Cta.d.ts +1 -1
  22. package/dist/marketing/components/Cta.d.ts.map +1 -1
  23. package/dist/marketing/components/Cta.js +4 -4
  24. package/dist/marketing/components/Cta.js.map +1 -1
  25. package/dist/marketing/components/Cta.js.zyzz.json +1 -1
  26. package/dist/marketing/components/Faq.css +1 -1
  27. package/dist/marketing/components/Faq.d.ts +1 -1
  28. package/dist/marketing/components/Faq.js.map +1 -1
  29. package/dist/marketing/components/Faq.js.zyzz.json +1 -1
  30. package/dist/marketing/components/FeatureAccordion.css +1 -1
  31. package/dist/marketing/components/FeatureAccordion.js.zyzz.json +1 -1
  32. package/dist/marketing/components/Field.js.zyzz.json +1 -1
  33. package/dist/marketing/components/Filter.js.zyzz.json +1 -1
  34. package/dist/marketing/components/Footer.js.zyzz.json +1 -1
  35. package/dist/marketing/components/Hero.css +1 -1
  36. package/dist/marketing/components/Hero.d.ts +4 -12
  37. package/dist/marketing/components/Hero.d.ts.map +1 -1
  38. package/dist/marketing/components/Hero.js +6 -7
  39. package/dist/marketing/components/Hero.js.map +1 -1
  40. package/dist/marketing/components/Hero.js.zyzz.json +1 -1
  41. package/dist/marketing/components/LeadCapture.css +1 -1
  42. package/dist/marketing/components/LeadCapture.d.ts +1 -1
  43. package/dist/marketing/components/LeadCapture.d.ts.map +1 -1
  44. package/dist/marketing/components/LeadCapture.js +1 -1
  45. package/dist/marketing/components/LeadCapture.js.map +1 -1
  46. package/dist/marketing/components/LeadCapture.js.zyzz.json +1 -1
  47. package/dist/marketing/components/Link.js.zyzz.json +1 -1
  48. package/dist/marketing/components/Logo.js.zyzz.json +1 -1
  49. package/dist/marketing/components/LogoWall.js.zyzz.json +1 -1
  50. package/dist/marketing/components/Media.js.zyzz.json +1 -1
  51. package/dist/marketing/components/Nav.js.zyzz.json +1 -1
  52. package/dist/marketing/components/PartnersIndex.js.zyzz.json +1 -1
  53. package/dist/marketing/components/Section.css +1 -1
  54. package/dist/marketing/components/Section.d.ts +4 -4
  55. package/dist/marketing/components/Section.js.map +1 -1
  56. package/dist/marketing/components/Section.js.zyzz.json +1 -1
  57. package/dist/marketing/components/SectionHeading.css +1 -1
  58. package/dist/marketing/components/SectionHeading.d.ts +3 -3
  59. package/dist/marketing/components/SectionHeading.js.map +1 -1
  60. package/dist/marketing/components/SectionHeading.js.zyzz.json +1 -1
  61. package/dist/marketing/components/Showcase.css +1 -1
  62. package/dist/marketing/components/Showcase.js.zyzz.json +1 -1
  63. package/dist/marketing/components/Sources.js.zyzz.json +1 -1
  64. package/dist/marketing/components/Stats.js.zyzz.json +1 -1
  65. package/dist/marketing/components/Steps.js.zyzz.json +1 -1
  66. package/dist/marketing/components/Story.css +1 -1
  67. package/dist/marketing/components/Story.js.zyzz.json +1 -1
  68. package/dist/marketing/components/SymbolTile.js.zyzz.json +1 -1
  69. package/dist/marketing/components/Table.css +1 -1
  70. package/dist/marketing/components/Table.d.ts +0 -1
  71. package/dist/marketing/components/Table.d.ts.map +1 -1
  72. package/dist/marketing/components/Table.js +7 -8
  73. package/dist/marketing/components/Table.js.map +1 -1
  74. package/dist/marketing/components/Table.js.zyzz.json +1 -1
  75. package/dist/marketing/components/Tag.js.zyzz.json +1 -1
  76. package/dist/marketing/components/internal/Hint.js.zyzz.json +1 -1
  77. package/dist/marketing/index.js.zyzz.json +1 -1
  78. package/dist/marketing/outline/Outline.js.zyzz.json +1 -1
  79. package/dist/marketing/outline/Presets.js.zyzz.json +1 -1
  80. package/dist/marketing/outline/Sections.js.zyzz.json +1 -1
  81. package/dist/marketing/styles.js.zyzz.json +1 -1
  82. package/dist/marketing/vars.d.ts +0 -15
  83. package/dist/marketing/vars.d.ts.map +1 -1
  84. package/dist/marketing/vars.js.map +1 -1
  85. package/dist/marketing/vars.js.zyzz.json +1 -1
  86. package/dist/marketing/zyzz.config.d.ts +0 -75
  87. package/dist/marketing/zyzz.config.d.ts.map +1 -1
  88. package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
  89. package/dist/oxlint/internal/Tokens.d.ts.map +1 -1
  90. package/dist/oxlint/internal/Tokens.js +0 -3
  91. package/dist/oxlint/internal/Tokens.js.map +1 -1
  92. package/package.json +2 -2
  93. package/src/marketing/components/ArticleHero.tsx +1 -1
  94. package/src/marketing/components/ArticleIndex.tsx +1 -1
  95. package/src/marketing/components/Cta.tsx +3 -3
  96. package/src/marketing/components/Faq.tsx +2 -2
  97. package/src/marketing/components/FeatureAccordion.tsx +1 -1
  98. package/src/marketing/components/Hero.tsx +12 -16
  99. package/src/marketing/components/LeadCapture.tsx +3 -2
  100. package/src/marketing/components/Section.tsx +4 -4
  101. package/src/marketing/components/SectionHeading.tsx +3 -3
  102. package/src/marketing/components/Showcase.tsx +2 -2
  103. package/src/marketing/components/Story.tsx +1 -1
  104. package/src/marketing/components/Table.tsx +1 -3
  105. package/src/marketing/vars.ts +3 -8
  106. package/src/oxlint/internal/Tokens.ts +0 -3
@@ -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) (310 KB): The Marketing system.
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
@@ -966,7 +966,7 @@ export function Demo() {
966
966
  }
967
967
 
968
968
  namespace styles {
969
- export const field = style({ maxWidth: '400', width: 'full' })
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: '400', width: 'full' })
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: '400',
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 applies top padding, insets its content by the page margin, and lays it out on a grid of 4, 6, or 12 columns. Layout gaps separate its heading, blocks, and elements.
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
- Marketing pages have four responsive modes. Mobile is the default, and each wider mode starts at its breakpoint.
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
- Style a responsive value with the `@media >=768`, `@media >=1024`, and `@media >=1512` conditions.
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 768px, and 12 from 1024px, with `layout.columns` holding the count.
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.gap`.
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.xs` | 24px | 24px | 32px | 32px | A compact band, such as a banner. |
3270
- | `section.sm` | 40px | 40px | 64px | 64px | A small section, such as a call to action. |
3271
- | `section.md` | 80px | 80px | 100px | 100px | A medium section, such as a feature row. |
3272
- | `section.lg` | 120px | 120px | 160px | 160px | Large section padding. |
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, in a hero, a section heading, a call to action or a card, keeps the same three: eyebrow to title, title to text, and text to actions.
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
- Containers cap the width of a content column, and the page container centers sections past 2560px.
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.280` | 280px | A narrow card or form column. |
3326
- | `container.320` | 320px | A small card. |
3327
- | `container.360` | 360px | A card or a short caption. |
3328
- | `container.400` | 400px | A paragraph beside media. |
3329
- | `container.480` | 480px | A form or a centered paragraph. |
3330
- | `container.600` | 600px | A centered section intro or a subhead. |
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
- Text holds to a narrower measure inside the grid, so a page can run wide while its lines stay short.
3338
-
3339
- * **Card Copy (container.280–400):** The text of a card, and a hero's subtitle on a phone at 360.
3340
- * **Lead Beside a Rail (container.360):** A lead set beside an article's rail.
3341
- * **Subtitles (container.480):** A section's subtitle, and a hero's subtitle from 768px.
3342
- * **Headings and Prose (container.600):** Headings, prose, and a section's text.
3343
- * **Page Titles (container.720):** A page title from 1512px.
3344
- * **Widest Text (container.1000):** The widest text on a page, such as a pull quote.
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 1024px.
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 a paragraph at `container.600` or narrower, or at `container.720` on a legal page, so lines stay readable on a wide screen.
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 at 768px, 1024px, and 1512px unless a component documents its own, such as Nav at 1080px and Logo Wall at 600px. Every page fits its width from 390px to 2560px.
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 360px, beside a sidebar or a rail.
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.hero',
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@3.8.20261201045338 tempo-document lint brief.html
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@3.8.20261201045338/dist/document/document.css"
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@3.8.20261201045338/dist/document/script.js"
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@3.8.20261201045338 tempo-document lint essay.html
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@3.8.20261201045338/dist/document/document.css"
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@3.8.20261201045338/dist/document/script.js"
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@3.8.20261201045338 tempo-document lint post.html
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@3.8.20261201045338/dist/document/document.css"
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@3.8.20261201045338/dist/document/script.js"
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>