@tempoxyz/ds 1.0.20261123065117 → 1.1.20261123233001

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 (69) hide show
  1. package/dist/docs/AGENTS.md +1 -1
  2. package/dist/docs/marketing.md +182 -11
  3. package/dist/docs/product/components/blockchain.md +5 -1
  4. package/dist/docs/product/components/forms-and-inputs.md +10 -9
  5. package/dist/document/templates/brief.html +3 -3
  6. package/dist/document/templates/essay.html +3 -3
  7. package/dist/document/templates/post.html +3 -3
  8. package/dist/marketing/components/ArticleBody.js.zyzz.json +1 -1
  9. package/dist/marketing/components/ArticleHero.js.zyzz.json +1 -1
  10. package/dist/marketing/components/ArticleIndex.js.zyzz.json +1 -1
  11. package/dist/marketing/components/ArticleRail.js.zyzz.json +1 -1
  12. package/dist/marketing/components/AsideLayout.js.zyzz.json +1 -1
  13. package/dist/marketing/components/Breadcrumbs.js.zyzz.json +1 -1
  14. package/dist/marketing/components/Button.js.zyzz.json +1 -1
  15. package/dist/marketing/components/Card.js.zyzz.json +1 -1
  16. package/dist/marketing/components/Contact.js.zyzz.json +1 -1
  17. package/dist/marketing/components/Cta.js.zyzz.json +1 -1
  18. package/dist/marketing/components/CustomerStoryFeature.js.zyzz.json +1 -1
  19. package/dist/marketing/components/Faq.js.zyzz.json +1 -1
  20. package/dist/marketing/components/FeatureAccordion.js.zyzz.json +1 -1
  21. package/dist/marketing/components/Field.css +1 -1
  22. package/dist/marketing/components/Field.d.ts +1 -1
  23. package/dist/marketing/components/Field.d.ts.map +1 -1
  24. package/dist/marketing/components/Field.js +6 -6
  25. package/dist/marketing/components/Field.js.map +1 -1
  26. package/dist/marketing/components/Field.js.zyzz.json +1 -1
  27. package/dist/marketing/components/Footer.js.zyzz.json +1 -1
  28. package/dist/marketing/components/Hero.js.zyzz.json +1 -1
  29. package/dist/marketing/components/LeadCapture.js.zyzz.json +1 -1
  30. package/dist/marketing/components/Link.js.zyzz.json +1 -1
  31. package/dist/marketing/components/Logo.js.zyzz.json +1 -1
  32. package/dist/marketing/components/LogoWall.js.zyzz.json +1 -1
  33. package/dist/marketing/components/Mark.js.zyzz.json +1 -1
  34. package/dist/marketing/components/Media.js.zyzz.json +1 -1
  35. package/dist/marketing/components/Nav.js.zyzz.json +1 -1
  36. package/dist/marketing/components/PartnersIndex.js.zyzz.json +1 -1
  37. package/dist/marketing/components/QuoteBand.css +1 -1
  38. package/dist/marketing/components/QuoteBand.d.ts.map +1 -1
  39. package/dist/marketing/components/QuoteBand.js +8 -9
  40. package/dist/marketing/components/QuoteBand.js.map +1 -1
  41. package/dist/marketing/components/QuoteBand.js.zyzz.json +1 -1
  42. package/dist/marketing/components/Section.js.zyzz.json +1 -1
  43. package/dist/marketing/components/SectionHeading.js.zyzz.json +1 -1
  44. package/dist/marketing/components/Showcase.js.zyzz.json +1 -1
  45. package/dist/marketing/components/Stats.js.zyzz.json +1 -1
  46. package/dist/marketing/components/Steps.js.zyzz.json +1 -1
  47. package/dist/marketing/components/SymbolTile.js.zyzz.json +1 -1
  48. package/dist/marketing/components/Tab.js.zyzz.json +1 -1
  49. package/dist/marketing/components/Table.js.zyzz.json +1 -1
  50. package/dist/marketing/components/Tag.js.zyzz.json +1 -1
  51. package/dist/marketing/index.js.zyzz.json +1 -1
  52. package/dist/marketing/styles.js.zyzz.json +1 -1
  53. package/dist/marketing/zyzz.config.js +2 -13
  54. package/dist/marketing/zyzz.config.js.map +1 -1
  55. package/dist/marketing/zyzz.config.js.zyzz.json +1 -1
  56. package/dist/web/components/NetworkLogo.d.ts +4 -0
  57. package/dist/web/components/NetworkLogo.d.ts.map +1 -1
  58. package/dist/web/components/NetworkLogo.js +7 -1
  59. package/dist/web/components/NetworkLogo.js.map +1 -1
  60. package/package.json +2 -2
  61. package/src/marketing/components/Field.tsx +23 -2
  62. package/src/marketing/components/QuoteBand.tsx +4 -7
  63. package/src/marketing/zyzz.config.ts +2 -81
  64. package/src/web/components/NetworkLogo.tsx +110 -1
  65. package/src/web/logos/Abstract.svg +5 -0
  66. package/src/web/logos/Arbitrum.svg +16 -0
  67. package/src/web/logos/Optimism.svg +4 -0
  68. package/src/web/logos/README.md +15 -2
  69. package/src/web/logos/Unichain.svg +10 -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) (251 KB): The Marketing system.
39
+ - [marketing.md](marketing.md) (257 KB): The Marketing system.
40
40
  - [arsenal.md](arsenal.md) (180 KB): The Arsenal brand system.
41
41
 
42
42
  ## Rules
@@ -108,7 +108,7 @@ export default defineConfig({
108
108
  })
109
109
  ```
110
110
 
111
- Run the existing dev or build command. The plugin emits the Marketing variables, the Inter, Pilat, and JetBrains Mono fonts, and keyframes once, and each module emits its own rules. You import no stylesheet.
111
+ Run the existing dev or build command. The plugin emits the Marketing variables, the Pilat and JetBrains Mono fonts, and keyframes once, and each module emits its own rules. You import no stylesheet.
112
112
 
113
113
  With `ssr.noExternal`, the plugin reads the library's contracts in a server build.
114
114
 
@@ -7082,8 +7082,61 @@ An Article is a blog post or a Learn guide: news, launches, and research on the
7082
7082
 
7083
7083
  ### Examples
7084
7084
 
7085
- > [!NOTE]
7086
- > A live example of this template is in progress.
7085
+ A blog post, built from the section examples.
7086
+
7087
+ ```tsx
7088
+ /** Demonstrates a blog post: the article hero, the text beside its rail, a newsletter sign-up and related articles. @module */
7089
+ import { ArticleBody, ArticleRail, AsideLayout } from '@tempoxyz/ds/marketing'
7090
+ import { Demo as ArticleHero } from '../ArticleHero/AtTheStart.js'
7091
+ import { Demo as CtaNewsletter } from '../Cta/Newsletter.js'
7092
+ import { Demo as TableArticles } from '../Table/Articles.js'
7093
+
7094
+ export const fill = true
7095
+
7096
+ const headings = [
7097
+ { id: 'three-layers', text: 'The three layers of stablecoin payment infrastructure' },
7098
+ { id: 'how-it-works', text: 'How stablecoin payments work' },
7099
+ ]
7100
+
7101
+ export function Demo() {
7102
+ return (
7103
+ <>
7104
+ <ArticleHero />
7105
+ <AsideLayout
7106
+ aside={
7107
+ <ArticleRail
7108
+ headings={headings}
7109
+ title="Tempo Mainnet is live"
7110
+ url="https://tempo.xyz/blog/mainnet/"
7111
+ />
7112
+ }
7113
+ >
7114
+ <ArticleBody>
7115
+ <ArticleBody.Callout>
7116
+ Stablecoin payments move fiat-referenced digital assets over blockchain networks.
7117
+ </ArticleBody.Callout>
7118
+ <h2 id="three-layers">The three layers of stablecoin payment infrastructure</h2>
7119
+ <p>
7120
+ Every production stablecoin payment depends on three layers. Businesses need to evaluate
7121
+ all three because a fast blockchain cannot compensate for weak liquidity, poor custody,
7122
+ or an unreliable bank payout.
7123
+ </p>
7124
+ <h2 id="how-it-works">How stablecoin payments work</h2>
7125
+ <ol>
7126
+ <li>The sender specifies the amount, recipient and stablecoin.</li>
7127
+ <li>The business completes the required approvals and checks.</li>
7128
+ <li>The network confirms the transfer.</li>
7129
+ </ol>
7130
+ </ArticleBody>
7131
+ </AsideLayout>
7132
+ <CtaNewsletter />
7133
+ <TableArticles />
7134
+ </>
7135
+ )
7136
+ }
7137
+ ```
7138
+
7139
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Templates/Article.tsx)
7087
7140
 
7088
7141
  ### Sections
7089
7142
 
@@ -7391,8 +7444,36 @@ A Product page sells one Tempo product to the business that buys it. Every page
7391
7444
 
7392
7445
  ### Examples
7393
7446
 
7394
- > [!NOTE]
7395
- > A live example of this template is in progress.
7447
+ Built from the section examples, in the template's order.
7448
+
7449
+ ```tsx
7450
+ /** Demonstrates a Product page: the hero, three benefits, how it works, capabilities, a customer story, questions and the contact form, composed from the section demos. @module */
7451
+ import { Demo as CardFeatureSet } from '../Card/FeatureSet.js'
7452
+ import { Demo as Contact } from '../Contact/Default.js'
7453
+ import { Demo as CustomerStoryFeature } from '../CustomerStoryFeature/Default.js'
7454
+ import { Demo as Faq } from '../Faq/Default.js'
7455
+ import { Demo as FeatureAccordion } from '../FeatureAccordion/Default.js'
7456
+ import { Demo as Hero } from '../Hero/Statement.js'
7457
+ import { Demo as Showcase } from '../Showcase/Default.js'
7458
+
7459
+ export const fill = true
7460
+
7461
+ export function Demo() {
7462
+ return (
7463
+ <>
7464
+ <Hero />
7465
+ <CardFeatureSet />
7466
+ <Showcase />
7467
+ <FeatureAccordion />
7468
+ <CustomerStoryFeature />
7469
+ <Faq />
7470
+ <Contact />
7471
+ </>
7472
+ )
7473
+ }
7474
+ ```
7475
+
7476
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Templates/Product.tsx)
7396
7477
 
7397
7478
  ### Sections
7398
7479
 
@@ -7470,8 +7551,28 @@ The Provider template draws the partners directory: the companies and assets liv
7470
7551
 
7471
7552
  ### Examples
7472
7553
 
7473
- > [!NOTE]
7474
- > A live example of this template is in progress.
7554
+ A category page, built from the section examples.
7555
+
7556
+ ```tsx
7557
+ /** Demonstrates a Provider category page: the heading over its filters, the category's partners and a call to action, composed from the section demos. @module */
7558
+ import { Demo as Cta } from '../Cta/Default.js'
7559
+ import { Demo as PartnersIndex } from '../PartnersIndex/Default.js'
7560
+ import { Demo as SectionHeadingPageHeader } from '../SectionHeading/PageHeader.js'
7561
+
7562
+ export const fill = true
7563
+
7564
+ export function Demo() {
7565
+ return (
7566
+ <>
7567
+ <SectionHeadingPageHeader />
7568
+ <PartnersIndex />
7569
+ <Cta />
7570
+ </>
7571
+ )
7572
+ }
7573
+ ```
7574
+
7575
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Templates/Provider.tsx)
7475
7576
 
7476
7577
  ### Sections
7477
7578
 
@@ -7578,8 +7679,26 @@ A Report page introduces one piece of research and hands over its PDF through a
7578
7679
 
7579
7680
  ### Examples
7580
7681
 
7581
- > [!NOTE]
7582
- > A live example of this template is in progress.
7682
+ Built from the section examples, in the template's order.
7683
+
7684
+ ```tsx
7685
+ /** Demonstrates a Report page: the download form over the report's key figures, composed from the section demos. @module */
7686
+ import { Demo as LeadCapture } from '../LeadCapture/Default.js'
7687
+ import { Demo as Stats } from '../Stats/Default.js'
7688
+
7689
+ export const fill = true
7690
+
7691
+ export function Demo() {
7692
+ return (
7693
+ <>
7694
+ <LeadCapture />
7695
+ <Stats />
7696
+ </>
7697
+ )
7698
+ }
7699
+ ```
7700
+
7701
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Templates/Report.tsx)
7583
7702
 
7584
7703
  ### Sections
7585
7704
 
@@ -7649,8 +7768,60 @@ A Solution page shows one kind of business what it can build with stablecoins on
7649
7768
 
7650
7769
  ### Examples
7651
7770
 
7652
- > [!NOTE]
7653
- > A live example of this template is in progress.
7771
+ Built from the section examples, in the template's order.
7772
+
7773
+ ```tsx
7774
+ /** Demonstrates a Solution page: the hero, three benefits, how it works, its steps, three cards, a customer story, questions and the contact form, composed from the section demos. @module */
7775
+ import { Card } from '@tempoxyz/ds/marketing'
7776
+ import { Demo as CardFeatureSet } from '../Card/FeatureSet.js'
7777
+ import { Demo as Contact } from '../Contact/Default.js'
7778
+ import { Demo as CustomerStoryFeature } from '../CustomerStoryFeature/Default.js'
7779
+ import { Demo as Faq } from '../Faq/Default.js'
7780
+ import { Demo as Hero } from '../Hero/Statement.js'
7781
+ import { Demo as Showcase } from '../Showcase/Default.js'
7782
+ import { Demo as Steps } from '../Steps/Default.js'
7783
+
7784
+ export const fill = true
7785
+
7786
+ export function Demo() {
7787
+ return (
7788
+ <>
7789
+ <Hero />
7790
+ <CardFeatureSet />
7791
+ <Showcase />
7792
+ <Steps />
7793
+ <Card.Grid columns="3">
7794
+ <Card
7795
+ cue="Learn more"
7796
+ description="Move money between stablecoins, networks and bank accounts through one API."
7797
+ eyebrow="Product"
7798
+ href="/routes/"
7799
+ title="Routes"
7800
+ />
7801
+ <Card
7802
+ cue="Learn more"
7803
+ description="Hold and settle balances in dedicated zones for each market you serve."
7804
+ eyebrow="Product"
7805
+ href="/zones/"
7806
+ title="Zones"
7807
+ />
7808
+ <Card
7809
+ cue="Learn more"
7810
+ description="Earn yield on idle stablecoin balances without leaving Tempo."
7811
+ eyebrow="Product"
7812
+ href="/earn/"
7813
+ title="Earn"
7814
+ />
7815
+ </Card.Grid>
7816
+ <CustomerStoryFeature />
7817
+ <Faq />
7818
+ <Contact />
7819
+ </>
7820
+ )
7821
+ }
7822
+ ```
7823
+
7824
+ [View example source](https://github.com/tempoxyz/ds/blob/main/docs/src/examples/demos/Marketing/Templates/Solution.tsx)
7654
7825
 
7655
7826
  ### Sections
7656
7827
 
@@ -2567,18 +2567,22 @@ namespace styles {
2567
2567
 
2568
2568
  #### Network
2569
2569
 
2570
- Set `network` to `base`, `ethereum`, `hyperevm`, `polygon`, `solana`, or `tempo`.
2570
+ Set `network` to `abstract`, `arbitrum`, `base`, `ethereum`, `hyperevm`, `optimism`, `polygon`, `solana`, `tempo`, or `unichain`.
2571
2571
 
2572
2572
  ```tsx
2573
2573
  import { NetworkLogo, style } from '@tempoxyz/ds'
2574
2574
 
2575
2575
  const networks = [
2576
+ ['abstract', 'Abstract'],
2577
+ ['arbitrum', 'Arbitrum'],
2576
2578
  ['base', 'Base'],
2577
2579
  ['ethereum', 'Ethereum'],
2578
2580
  ['hyperevm', 'HyperEVM'],
2581
+ ['optimism', 'Optimism'],
2579
2582
  ['polygon', 'Polygon'],
2580
2583
  ['solana', 'Solana'],
2581
2584
  ['tempo', 'Tempo'],
2585
+ ['unichain', 'Unichain'],
2582
2586
  ] as const
2583
2587
 
2584
2588
  export function Demo() {
@@ -3357,16 +3357,15 @@ namespace styles {
3357
3357
  Set `variant` to `default` or `chips`. `chips` renders a horizontally scrolling row of chips, with an optional `ChoiceGroup.ItemIcon`.
3358
3358
 
3359
3359
  ```tsx
3360
- import { ChoiceGroup, style } from '@tempoxyz/ds'
3361
- import { Coins, Ethereum, Globe } from '@tempoxyz/ds/icons'
3360
+ import { ChoiceGroup, NetworkLogo, style } from '@tempoxyz/ds'
3362
3361
 
3363
3362
  const networks = [
3364
- { icon: <Coins />, label: 'Tempo' },
3365
- { icon: <Ethereum />, label: 'Ethereum' },
3366
- { icon: <Globe />, label: 'Base' },
3367
- { icon: <Globe />, label: 'Arbitrum' },
3368
- { icon: <Globe />, label: 'Optimism' },
3369
- ]
3363
+ { label: 'Tempo', network: 'tempo' },
3364
+ { label: 'Ethereum', network: 'ethereum' },
3365
+ { label: 'Base', network: 'base' },
3366
+ { label: 'Arbitrum', network: 'arbitrum' },
3367
+ { label: 'Optimism', network: 'optimism' },
3368
+ ] as const
3370
3369
 
3371
3370
  export function Demo() {
3372
3371
  return (
@@ -3381,7 +3380,9 @@ export function Demo() {
3381
3380
  >
3382
3381
  {networks.map((network) => (
3383
3382
  <ChoiceGroup.Item key={network.label} value={network.label}>
3384
- <ChoiceGroup.ItemIcon>{network.icon}</ChoiceGroup.ItemIcon>
3383
+ <ChoiceGroup.ItemIcon>
3384
+ <NetworkLogo network={network.network} />
3385
+ </ChoiceGroup.ItemIcon>
3385
3386
  {network.label}
3386
3387
  </ChoiceGroup.Item>
3387
3388
  ))}
@@ -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@1.0.20261123065117 tempo-document lint brief.html
5
+ npx -p @tempoxyz/ds@1.1.20261123233001 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@1.0.20261123065117/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.0.20261123065117/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/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@1.0.20261123065117 tempo-document lint essay.html
5
+ npx -p @tempoxyz/ds@1.1.20261123233001 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@1.0.20261123065117/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.0.20261123065117/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/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@1.0.20261123065117 tempo-document lint post.html
5
+ npx -p @tempoxyz/ds@1.1.20261123233001 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@1.0.20261123065117/dist/document/document.css"
15
+ href="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/dist/document/document.css"
16
16
  />
17
17
  <script
18
18
  defer
19
- src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.0.20261123065117/dist/document/script.js"
19
+ src="https://cdn.jsdelivr.net/npm/@tempoxyz/ds@1.1.20261123233001/dist/document/script.js"
20
20
  ></script>
21
21
  </head>
22
22
  <body>