@tempoxyz/ds 0.3.2 → 0.3.5
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/README.md +7 -0
- package/dist/web/components/Accordion.css +1 -1
- package/dist/web/components/Accordion.js.zyzz.json +1 -1
- package/dist/web/components/AddressCard.css +1 -1
- package/dist/web/components/AddressCard.js.zyzz.json +1 -1
- package/dist/web/components/AgentLogo.js.zyzz.json +1 -1
- package/dist/web/components/Alert.css +1 -1
- package/dist/web/components/Alert.js.zyzz.json +1 -1
- package/dist/web/components/AlertDialog.js.zyzz.json +1 -1
- package/dist/web/components/Amount.css +1 -1
- package/dist/web/components/Amount.js.zyzz.json +1 -1
- package/dist/web/components/AmountInput.css +1 -1
- package/dist/web/components/AmountInput.js.zyzz.json +1 -1
- package/dist/web/components/AppShell.css +1 -1
- package/dist/web/components/AppShell.d.ts +4 -0
- package/dist/web/components/AppShell.d.ts.map +1 -1
- package/dist/web/components/AppShell.js +20 -20
- package/dist/web/components/AppShell.js.map +1 -1
- package/dist/web/components/AppShell.js.zyzz.json +1 -1
- package/dist/web/components/AssetChip.css +1 -1
- package/dist/web/components/AssetChip.js.zyzz.json +1 -1
- package/dist/web/components/Autocomplete.js.zyzz.json +1 -1
- package/dist/web/components/Avatar.css +1 -1
- package/dist/web/components/Avatar.js.zyzz.json +1 -1
- package/dist/web/components/Badge.css +1 -1
- package/dist/web/components/Badge.js.zyzz.json +1 -1
- package/dist/web/components/Banner.css +1 -1
- package/dist/web/components/Banner.js.zyzz.json +1 -1
- package/dist/web/components/BarChart.css +1 -1
- package/dist/web/components/BarChart.js.zyzz.json +1 -1
- package/dist/web/components/Breadcrumbs.css +1 -1
- package/dist/web/components/Breadcrumbs.js.zyzz.json +1 -1
- package/dist/web/components/Button.css +1 -1
- package/dist/web/components/Button.js.zyzz.json +1 -1
- package/dist/web/components/ButtonGroup.js.zyzz.json +1 -1
- package/dist/web/components/Calendar.css +1 -1
- package/dist/web/components/Calendar.js.zyzz.json +1 -1
- package/dist/web/components/Callout.css +1 -1
- package/dist/web/components/Callout.js.zyzz.json +1 -1
- package/dist/web/components/Checkbox.js.zyzz.json +1 -1
- package/dist/web/components/CheckboxGroup.js.zyzz.json +1 -1
- package/dist/web/components/ChoiceGroup.css +1 -1
- package/dist/web/components/ChoiceGroup.js.zyzz.json +1 -1
- package/dist/web/components/Choicebox.css +1 -1
- package/dist/web/components/Choicebox.js.zyzz.json +1 -1
- package/dist/web/components/Code.js.zyzz.json +1 -1
- package/dist/web/components/Combobox.css +1 -1
- package/dist/web/components/Combobox.js.zyzz.json +1 -1
- package/dist/web/components/Container.js.zyzz.json +1 -1
- package/dist/web/components/CopyButton.js.zyzz.json +1 -1
- package/dist/web/components/DatePicker.css +1 -1
- package/dist/web/components/DatePicker.js.zyzz.json +1 -1
- package/dist/web/components/Dialog.css +1 -1
- package/dist/web/components/Dialog.js.zyzz.json +1 -1
- package/dist/web/components/Drawer.css +1 -1
- package/dist/web/components/Drawer.js.zyzz.json +1 -1
- package/dist/web/components/Empty.css +1 -1
- package/dist/web/components/Empty.js.zyzz.json +1 -1
- package/dist/web/components/Field.css +1 -1
- package/dist/web/components/Field.js.zyzz.json +1 -1
- package/dist/web/components/Fieldset.css +1 -1
- package/dist/web/components/Fieldset.js.zyzz.json +1 -1
- package/dist/web/components/Frame.css +1 -1
- package/dist/web/components/Frame.js.zyzz.json +1 -1
- package/dist/web/components/Gauge.css +1 -1
- package/dist/web/components/Gauge.js.zyzz.json +1 -1
- package/dist/web/components/GetStartedVisual.js.zyzz.json +1 -1
- package/dist/web/components/Grid.js.zyzz.json +1 -1
- package/dist/web/components/HeroVisual.css +1 -1
- package/dist/web/components/HeroVisual.js.zyzz.json +1 -1
- package/dist/web/components/Hex.js.zyzz.json +1 -1
- package/dist/web/components/IconTile.js.zyzz.json +1 -1
- package/dist/web/components/Identicon.js.zyzz.json +1 -1
- package/dist/web/components/Inline.js.zyzz.json +1 -1
- package/dist/web/components/Inset.js.zyzz.json +1 -1
- package/dist/web/components/Kbd.css +1 -1
- package/dist/web/components/Kbd.js.zyzz.json +1 -1
- package/dist/web/components/ListGroup.css +1 -1
- package/dist/web/components/ListGroup.js.zyzz.json +1 -1
- package/dist/web/components/LoadingDots.js.zyzz.json +1 -1
- package/dist/web/components/Menu.css +1 -1
- package/dist/web/components/Menu.js.zyzz.json +1 -1
- package/dist/web/components/NativeSelect.css +1 -1
- package/dist/web/components/NativeSelect.js.zyzz.json +1 -1
- package/dist/web/components/NetworkLogo.js.zyzz.json +1 -1
- package/dist/web/components/NumberField.js.zyzz.json +1 -1
- package/dist/web/components/OtpField.css +1 -1
- package/dist/web/components/OtpField.js.zyzz.json +1 -1
- package/dist/web/components/Pagination.css +1 -1
- package/dist/web/components/Pagination.js.zyzz.json +1 -1
- package/dist/web/components/Popover.css +1 -1
- package/dist/web/components/Popover.js.zyzz.json +1 -1
- package/dist/web/components/Progress.css +1 -1
- package/dist/web/components/Progress.js.zyzz.json +1 -1
- package/dist/web/components/Qr.js.zyzz.json +1 -1
- package/dist/web/components/RadioGroup.js.zyzz.json +1 -1
- package/dist/web/components/SecretValue.js.zyzz.json +1 -1
- package/dist/web/components/Select.js.zyzz.json +1 -1
- package/dist/web/components/Separator.css +1 -1
- package/dist/web/components/Separator.js.zyzz.json +1 -1
- package/dist/web/components/SidebarMenu.css +1 -1
- package/dist/web/components/SidebarMenu.js.zyzz.json +1 -1
- package/dist/web/components/Skeleton.js.zyzz.json +1 -1
- package/dist/web/components/Slider.css +1 -1
- package/dist/web/components/Slider.js.zyzz.json +1 -1
- package/dist/web/components/Snippet.js.zyzz.json +1 -1
- package/dist/web/components/Spinner.js.zyzz.json +1 -1
- package/dist/web/components/SplitBar.css +1 -1
- package/dist/web/components/SplitBar.js.zyzz.json +1 -1
- package/dist/web/components/SplitButton.js.zyzz.json +1 -1
- package/dist/web/components/Stack.js.zyzz.json +1 -1
- package/dist/web/components/StatusChip.css +1 -1
- package/dist/web/components/StatusChip.js.zyzz.json +1 -1
- package/dist/web/components/StatusIndicator.css +1 -1
- package/dist/web/components/StatusIndicator.js.zyzz.json +1 -1
- package/dist/web/components/StatusRow.css +1 -1
- package/dist/web/components/StatusRow.js.zyzz.json +1 -1
- package/dist/web/components/Stepper.js.zyzz.json +1 -1
- package/dist/web/components/SuccessHero.css +1 -1
- package/dist/web/components/SuccessHero.js.zyzz.json +1 -1
- package/dist/web/components/Surface.css +1 -1
- package/dist/web/components/Surface.js.zyzz.json +1 -1
- package/dist/web/components/Switch.js.zyzz.json +1 -1
- package/dist/web/components/Table.css +1 -1
- package/dist/web/components/Table.js.zyzz.json +1 -1
- package/dist/web/components/Tabs.css +1 -1
- package/dist/web/components/Tabs.js.zyzz.json +1 -1
- package/dist/web/components/TempoLogo.js.zyzz.json +1 -1
- package/dist/web/components/TextInput.js.zyzz.json +1 -1
- package/dist/web/components/Textarea.css +1 -1
- package/dist/web/components/Textarea.js.zyzz.json +1 -1
- package/dist/web/components/Toast.css +1 -1
- package/dist/web/components/Toast.js.zyzz.json +1 -1
- package/dist/web/components/Token.css +1 -1
- package/dist/web/components/Token.js.zyzz.json +1 -1
- package/dist/web/components/TokenLogo.js.zyzz.json +1 -1
- package/dist/web/components/Tooltip.css +1 -1
- package/dist/web/components/Tooltip.js.zyzz.json +1 -1
- package/dist/web/components/VerificationCode.css +1 -1
- package/dist/web/components/VerificationCode.js.zyzz.json +1 -1
- package/dist/web/components/Visual.css +1 -1
- package/dist/web/components/Visual.js.zyzz.json +1 -1
- package/dist/web/components/internal/Field.css +1 -1
- package/dist/web/components/internal/Field.js.zyzz.json +1 -1
- package/dist/web/components/internal/InputGroup.css +1 -1
- package/dist/web/components/internal/InputGroup.js.zyzz.json +1 -1
- package/dist/web/components/internal/Listbox.css +1 -1
- package/dist/web/components/internal/Listbox.js.zyzz.json +1 -1
- package/dist/web/components/internal/Streaks.js.zyzz.json +1 -1
- package/dist/web/index.js.zyzz.json +1 -1
- package/dist/web/vars.d.ts +8 -8
- package/dist/web/vars.d.ts.map +1 -1
- package/dist/web/vars.js.map +1 -1
- package/dist/web/vars.js.zyzz.json +1 -1
- package/dist/web/zyzz.config.d.ts +40 -40
- package/dist/web/zyzz.config.js.zyzz.json +1 -1
- package/package.json +1 -1
- package/src/web/README.md +1 -1
- package/src/web/components/AppShell.tsx +5 -0
- package/src/web/vars.ts +15 -14
package/package.json
CHANGED
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,
|
|
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
|
|
|
@@ -460,6 +460,7 @@ namespace styles {
|
|
|
460
460
|
{
|
|
461
461
|
alignItems: 'center',
|
|
462
462
|
backgroundColor: 'inverse.background.secondary',
|
|
463
|
+
border: 'none !custom',
|
|
463
464
|
borderRadius: 'full',
|
|
464
465
|
boxShadow: 'large',
|
|
465
466
|
boxSizing: 'border-box',
|
|
@@ -876,6 +877,9 @@ namespace styles {
|
|
|
876
877
|
{
|
|
877
878
|
base: {
|
|
878
879
|
alignItems: 'center',
|
|
880
|
+
appearance: 'none !custom',
|
|
881
|
+
backgroundColor: 'transparent !custom',
|
|
882
|
+
border: 'none !custom',
|
|
879
883
|
borderRadius: 'full',
|
|
880
884
|
boxSizing: 'border-box',
|
|
881
885
|
color: 'content.secondary',
|
|
@@ -883,6 +887,7 @@ namespace styles {
|
|
|
883
887
|
cursor: 'pointer',
|
|
884
888
|
display: 'flex',
|
|
885
889
|
flex: '1 !custom',
|
|
890
|
+
font: 'inherit !custom',
|
|
886
891
|
height: '100% !custom',
|
|
887
892
|
justifyContent: 'center',
|
|
888
893
|
minWidth: '0',
|
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,
|
|
196
|
-
//
|
|
197
|
-
//
|
|
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:
|
|
@@ -567,54 +567,55 @@ export const variables = Vars.define(
|
|
|
567
567
|
xs: vars.spacing['24'],
|
|
568
568
|
},
|
|
569
569
|
},
|
|
570
|
-
// Figma's percentage tracking is converted to px.
|
|
571
|
-
//
|
|
570
|
+
// Figma's percentage tracking is converted to px. Body tracking instead follows Inter's dynamic
|
|
571
|
+
// metrics, -0.0223 + 0.185 * e^(-0.1745 * size) em, rounded to 0.01px. The `utility` styles are
|
|
572
|
+
// uppercase in Figma, which a component applies with `textTransform`.
|
|
572
573
|
typography: {
|
|
573
574
|
body: {
|
|
574
575
|
b1: {
|
|
575
576
|
fontFamily: vars.fontFamily.body,
|
|
576
577
|
fontSize: '16px',
|
|
577
578
|
fontWeight: 400,
|
|
578
|
-
letterSpacing: '
|
|
579
|
+
letterSpacing: '-.18px',
|
|
579
580
|
lineHeight: '22px',
|
|
580
581
|
},
|
|
581
582
|
b1Strong: {
|
|
582
583
|
fontFamily: vars.fontFamily.body,
|
|
583
584
|
fontSize: '16px',
|
|
584
585
|
fontWeight: 500,
|
|
585
|
-
letterSpacing: '
|
|
586
|
+
letterSpacing: '-.18px',
|
|
586
587
|
lineHeight: '22px',
|
|
587
588
|
},
|
|
588
589
|
b2: {
|
|
589
590
|
fontFamily: vars.fontFamily.body,
|
|
590
591
|
fontSize: '14px',
|
|
591
592
|
fontWeight: 400,
|
|
592
|
-
letterSpacing: '
|
|
593
|
+
letterSpacing: '-.09px',
|
|
593
594
|
lineHeight: '20px',
|
|
594
595
|
},
|
|
595
596
|
b2Strong: {
|
|
596
597
|
fontFamily: vars.fontFamily.body,
|
|
597
598
|
fontSize: '14px',
|
|
598
599
|
fontWeight: 500,
|
|
599
|
-
letterSpacing: '
|
|
600
|
+
letterSpacing: '-.09px',
|
|
600
601
|
lineHeight: '20px',
|
|
601
602
|
},
|
|
602
603
|
b3: {
|
|
603
604
|
fontFamily: vars.fontFamily.body,
|
|
604
605
|
fontSize: '12px',
|
|
605
606
|
fontWeight: 400,
|
|
606
|
-
letterSpacing: '.
|
|
607
|
+
letterSpacing: '.01px',
|
|
607
608
|
lineHeight: '16px',
|
|
608
609
|
},
|
|
609
610
|
b3Strong: {
|
|
610
611
|
fontFamily: vars.fontFamily.body,
|
|
611
612
|
fontSize: '12px',
|
|
612
613
|
fontWeight: 500,
|
|
613
|
-
letterSpacing: '.
|
|
614
|
+
letterSpacing: '.01px',
|
|
614
615
|
lineHeight: '16px',
|
|
615
616
|
},
|
|
616
617
|
},
|
|
617
|
-
// Pilat Light
|
|
618
|
+
// Pilat Light is weight 300, and Pilat Regular is 400.
|
|
618
619
|
display: {
|
|
619
620
|
d1: {
|
|
620
621
|
fontFamily: vars.fontFamily.heading,
|
|
@@ -624,9 +625,9 @@ export const variables = Vars.define(
|
|
|
624
625
|
lineHeight: '41.8px',
|
|
625
626
|
},
|
|
626
627
|
d2: {
|
|
627
|
-
fontFamily: vars.fontFamily.
|
|
628
|
+
fontFamily: vars.fontFamily.heading,
|
|
628
629
|
fontSize: '36px',
|
|
629
|
-
fontWeight:
|
|
630
|
+
fontWeight: 400,
|
|
630
631
|
letterSpacing: '-1.44px',
|
|
631
632
|
lineHeight: '34.2px',
|
|
632
633
|
},
|