@tempoxyz/ds 0.3.2 → 0.3.4

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 (100) hide show
  1. package/README.md +7 -0
  2. package/dist/web/components/Accordion.js.zyzz.json +1 -1
  3. package/dist/web/components/AddressCard.js.zyzz.json +1 -1
  4. package/dist/web/components/AgentLogo.js.zyzz.json +1 -1
  5. package/dist/web/components/Alert.js.zyzz.json +1 -1
  6. package/dist/web/components/AlertDialog.js.zyzz.json +1 -1
  7. package/dist/web/components/Amount.css +1 -1
  8. package/dist/web/components/Amount.js.zyzz.json +1 -1
  9. package/dist/web/components/AmountInput.js.zyzz.json +1 -1
  10. package/dist/web/components/AppShell.js.zyzz.json +1 -1
  11. package/dist/web/components/AssetChip.js.zyzz.json +1 -1
  12. package/dist/web/components/Autocomplete.js.zyzz.json +1 -1
  13. package/dist/web/components/Avatar.js.zyzz.json +1 -1
  14. package/dist/web/components/Badge.js.zyzz.json +1 -1
  15. package/dist/web/components/Banner.js.zyzz.json +1 -1
  16. package/dist/web/components/BarChart.js.zyzz.json +1 -1
  17. package/dist/web/components/Breadcrumbs.js.zyzz.json +1 -1
  18. package/dist/web/components/Button.js.zyzz.json +1 -1
  19. package/dist/web/components/ButtonGroup.js.zyzz.json +1 -1
  20. package/dist/web/components/Calendar.js.zyzz.json +1 -1
  21. package/dist/web/components/Callout.js.zyzz.json +1 -1
  22. package/dist/web/components/Checkbox.js.zyzz.json +1 -1
  23. package/dist/web/components/CheckboxGroup.js.zyzz.json +1 -1
  24. package/dist/web/components/ChoiceGroup.js.zyzz.json +1 -1
  25. package/dist/web/components/Choicebox.js.zyzz.json +1 -1
  26. package/dist/web/components/Code.js.zyzz.json +1 -1
  27. package/dist/web/components/Combobox.js.zyzz.json +1 -1
  28. package/dist/web/components/Container.js.zyzz.json +1 -1
  29. package/dist/web/components/CopyButton.js.zyzz.json +1 -1
  30. package/dist/web/components/DatePicker.js.zyzz.json +1 -1
  31. package/dist/web/components/Dialog.js.zyzz.json +1 -1
  32. package/dist/web/components/Drawer.js.zyzz.json +1 -1
  33. package/dist/web/components/Empty.js.zyzz.json +1 -1
  34. package/dist/web/components/Field.js.zyzz.json +1 -1
  35. package/dist/web/components/Fieldset.js.zyzz.json +1 -1
  36. package/dist/web/components/Frame.js.zyzz.json +1 -1
  37. package/dist/web/components/Gauge.js.zyzz.json +1 -1
  38. package/dist/web/components/GetStartedVisual.js.zyzz.json +1 -1
  39. package/dist/web/components/Grid.js.zyzz.json +1 -1
  40. package/dist/web/components/HeroVisual.js.zyzz.json +1 -1
  41. package/dist/web/components/Hex.js.zyzz.json +1 -1
  42. package/dist/web/components/IconTile.js.zyzz.json +1 -1
  43. package/dist/web/components/Identicon.js.zyzz.json +1 -1
  44. package/dist/web/components/Inline.js.zyzz.json +1 -1
  45. package/dist/web/components/Inset.js.zyzz.json +1 -1
  46. package/dist/web/components/Kbd.js.zyzz.json +1 -1
  47. package/dist/web/components/ListGroup.js.zyzz.json +1 -1
  48. package/dist/web/components/LoadingDots.js.zyzz.json +1 -1
  49. package/dist/web/components/Menu.js.zyzz.json +1 -1
  50. package/dist/web/components/NativeSelect.js.zyzz.json +1 -1
  51. package/dist/web/components/NetworkLogo.js.zyzz.json +1 -1
  52. package/dist/web/components/NumberField.js.zyzz.json +1 -1
  53. package/dist/web/components/OtpField.js.zyzz.json +1 -1
  54. package/dist/web/components/Pagination.js.zyzz.json +1 -1
  55. package/dist/web/components/Popover.js.zyzz.json +1 -1
  56. package/dist/web/components/Progress.js.zyzz.json +1 -1
  57. package/dist/web/components/Qr.js.zyzz.json +1 -1
  58. package/dist/web/components/RadioGroup.js.zyzz.json +1 -1
  59. package/dist/web/components/SecretValue.js.zyzz.json +1 -1
  60. package/dist/web/components/Select.js.zyzz.json +1 -1
  61. package/dist/web/components/Separator.js.zyzz.json +1 -1
  62. package/dist/web/components/SidebarMenu.js.zyzz.json +1 -1
  63. package/dist/web/components/Skeleton.js.zyzz.json +1 -1
  64. package/dist/web/components/Slider.js.zyzz.json +1 -1
  65. package/dist/web/components/Snippet.js.zyzz.json +1 -1
  66. package/dist/web/components/Spinner.js.zyzz.json +1 -1
  67. package/dist/web/components/SplitBar.js.zyzz.json +1 -1
  68. package/dist/web/components/SplitButton.js.zyzz.json +1 -1
  69. package/dist/web/components/Stack.js.zyzz.json +1 -1
  70. package/dist/web/components/StatusChip.js.zyzz.json +1 -1
  71. package/dist/web/components/StatusIndicator.js.zyzz.json +1 -1
  72. package/dist/web/components/StatusRow.js.zyzz.json +1 -1
  73. package/dist/web/components/Stepper.js.zyzz.json +1 -1
  74. package/dist/web/components/SuccessHero.js.zyzz.json +1 -1
  75. package/dist/web/components/Surface.js.zyzz.json +1 -1
  76. package/dist/web/components/Switch.js.zyzz.json +1 -1
  77. package/dist/web/components/Table.js.zyzz.json +1 -1
  78. package/dist/web/components/Tabs.js.zyzz.json +1 -1
  79. package/dist/web/components/TempoLogo.js.zyzz.json +1 -1
  80. package/dist/web/components/TextInput.js.zyzz.json +1 -1
  81. package/dist/web/components/Textarea.js.zyzz.json +1 -1
  82. package/dist/web/components/Toast.js.zyzz.json +1 -1
  83. package/dist/web/components/Token.js.zyzz.json +1 -1
  84. package/dist/web/components/TokenLogo.js.zyzz.json +1 -1
  85. package/dist/web/components/Tooltip.js.zyzz.json +1 -1
  86. package/dist/web/components/VerificationCode.js.zyzz.json +1 -1
  87. package/dist/web/components/Visual.js.zyzz.json +1 -1
  88. package/dist/web/components/internal/Field.js.zyzz.json +1 -1
  89. package/dist/web/components/internal/InputGroup.js.zyzz.json +1 -1
  90. package/dist/web/components/internal/Listbox.js.zyzz.json +1 -1
  91. package/dist/web/components/internal/Streaks.js.zyzz.json +1 -1
  92. package/dist/web/index.js.zyzz.json +1 -1
  93. package/dist/web/vars.d.ts +2 -2
  94. package/dist/web/vars.js.map +1 -1
  95. package/dist/web/vars.js.zyzz.json +1 -1
  96. package/dist/web/zyzz.config.d.ts +10 -10
  97. package/dist/web/zyzz.config.js.zyzz.json +1 -1
  98. package/package.json +1 -1
  99. package/src/web/README.md +1 -1
  100. package/src/web/vars.ts +6 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tempoxyz/ds",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.4",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "DESIGN.md",
package/src/web/README.md CHANGED
@@ -37,7 +37,7 @@ export default defineConfig({
37
37
 
38
38
  The scales hold the `neutral` and `accent` colors, such as `neutral.shade.040` and `accent.blue.background`, and the `spacing` steps, so spacing `'24'` is `1.5rem`. Tokens named for their role derive from them, such as `content.primary`, `container.regular`, `line.primary`, `radius.xs`, and `borderWidth.thin`. Light and dark values follow the inherited `color-scheme`. [`vars.ts`](./vars.ts) lists every value.
39
39
 
40
- Typography sets bundle a family, size, weight, tracking, and leading, such as `body.b2`, `heading.h1`, and `mono.m1`. The plugin emits the bundled Inter, Pilat, and JetBrains Mono faces, so only the HB Set display face falls back, to Pilat.
40
+ Typography sets bundle a family, size, weight, tracking, and leading, such as `body.b2`, `heading.h1`, and `mono.m1`. The plugin emits the bundled Inter, Pilat, and JetBrains Mono faces, which every set uses.
41
41
 
42
42
  An app that needs tokens of its own extends `variables` in its own Zyzz config, and applies that config's `vars()` class beside the library's.
43
43
 
package/src/web/vars.ts CHANGED
@@ -192,9 +192,9 @@ export const variables = Vars.define(
192
192
  snappy: 'cubic-bezier(0.23, 1, 0.32, 1)',
193
193
  spring: 'cubic-bezier(0.32, 0.72, 0, 1)',
194
194
  },
195
- // The Platform text styles set copy in Inter, titles and values in Pilat, the second display
196
- // size in HB Set, and code in JetBrains Mono. The Web contracts ship Inter, Pilat, and JetBrains
197
- // Mono, so only HB Set falls back, to Pilat.
195
+ // The Platform text styles set copy in Inter, titles, display copy, and values in Pilat, and code
196
+ // in JetBrains Mono. The Web contracts ship all three. The `display` stack keeps HB Set, which
197
+ // falls back to Pilat, for callers that still name it.
198
198
  fontFamily: {
199
199
  body: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',
200
200
  display:
@@ -614,7 +614,7 @@ export const variables = Vars.define(
614
614
  lineHeight: '16px',
615
615
  },
616
616
  },
617
- // Pilat Light and HB Set Light are weight 300.
617
+ // Pilat Light is weight 300, and Pilat Regular is 400.
618
618
  display: {
619
619
  d1: {
620
620
  fontFamily: vars.fontFamily.heading,
@@ -624,9 +624,9 @@ export const variables = Vars.define(
624
624
  lineHeight: '41.8px',
625
625
  },
626
626
  d2: {
627
- fontFamily: vars.fontFamily.display,
627
+ fontFamily: vars.fontFamily.heading,
628
628
  fontSize: '36px',
629
- fontWeight: 300,
629
+ fontWeight: 400,
630
630
  letterSpacing: '-1.44px',
631
631
  lineHeight: '34.2px',
632
632
  },