@tempoxyz/ds 0.2.6 → 0.3.0
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 +2 -0
- package/dist/fonts/JetBrainsMono-Bold-latin.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Bold-other.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Bold.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Medium-latin.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Medium-other.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Medium.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Regular-latin.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Regular-other.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-Regular.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-SemiBold-latin.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-SemiBold-other.woff2 +0 -0
- package/dist/fonts/JetBrainsMono-SemiBold.woff2 +0 -0
- package/dist/fonts/Pilat-Black-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Black-other.woff2 +0 -0
- package/dist/fonts/Pilat-Black.woff2 +0 -0
- package/dist/fonts/Pilat-Bold-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Bold-other.woff2 +0 -0
- package/dist/fonts/Pilat-Bold.woff2 +0 -0
- package/dist/fonts/Pilat-Book-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Book-other.woff2 +0 -0
- package/dist/fonts/Pilat-Book.woff2 +0 -0
- package/dist/fonts/Pilat-Demi-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Demi-other.woff2 +0 -0
- package/dist/fonts/Pilat-Demi.woff2 +0 -0
- package/dist/fonts/Pilat-Heavy-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Heavy-other.woff2 +0 -0
- package/dist/fonts/Pilat-Heavy.woff2 +0 -0
- package/dist/fonts/Pilat-Light-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Light-other.woff2 +0 -0
- package/dist/fonts/Pilat-Light.woff2 +0 -0
- package/dist/fonts/Pilat-Regular-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Regular-other.woff2 +0 -0
- package/dist/fonts/Pilat-Regular.woff2 +0 -0
- package/dist/fonts/Pilat-Thin-latin.woff2 +0 -0
- package/dist/fonts/Pilat-Thin-other.woff2 +0 -0
- package/dist/fonts/Pilat-Thin.woff2 +0 -0
- package/dist/oxlint/rules/PreferComponent.js +6 -6
- package/dist/oxlint/rules/PreferComponent.js.map +1 -1
- package/dist/web/components/Accordion.css +1 -1
- package/dist/web/components/Accordion.d.ts +7 -7
- package/dist/web/components/Accordion.js.map +1 -1
- package/dist/web/components/Accordion.js.zyzz.json +1 -1
- package/dist/web/components/AgentLogo.css +1 -0
- package/dist/web/components/AgentLogo.d.ts +206 -0
- package/dist/web/components/AgentLogo.d.ts.map +1 -0
- package/dist/web/components/AgentLogo.js +86 -0
- package/dist/web/components/AgentLogo.js.map +1 -0
- package/dist/web/components/AgentLogo.js.zyzz.json +1 -0
- package/dist/web/components/Alert.css +1 -0
- package/dist/web/components/Alert.d.ts +156 -0
- package/dist/web/components/Alert.d.ts.map +1 -0
- package/dist/web/components/Alert.js +92 -0
- package/dist/web/components/Alert.js.map +1 -0
- package/dist/web/components/Alert.js.zyzz.json +1 -0
- package/dist/web/components/AlertDialog.d.ts +40 -28
- package/dist/web/components/AlertDialog.d.ts.map +1 -1
- package/dist/web/components/AlertDialog.js +31 -36
- package/dist/web/components/AlertDialog.js.map +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.d.ts +5 -5
- package/dist/web/components/Amount.d.ts.map +1 -1
- package/dist/web/components/Amount.js.map +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.d.ts +20 -39
- package/dist/web/components/AmountInput.d.ts.map +1 -1
- package/dist/web/components/AmountInput.js +31 -37
- package/dist/web/components/AmountInput.js.map +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 +65 -29
- package/dist/web/components/AppShell.d.ts.map +1 -1
- package/dist/web/components/AppShell.js +31 -19
- 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 -0
- package/dist/web/components/AssetChip.d.ts +38 -0
- package/dist/web/components/AssetChip.d.ts.map +1 -0
- package/dist/web/components/AssetChip.js +47 -0
- package/dist/web/components/AssetChip.js.map +1 -0
- package/dist/web/components/AssetChip.js.zyzz.json +1 -0
- package/dist/web/components/Autocomplete.d.ts +2 -2
- package/dist/web/components/Autocomplete.js +4 -4
- package/dist/web/components/Autocomplete.js.map +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.d.ts +40 -115
- package/dist/web/components/Avatar.d.ts.map +1 -1
- package/dist/web/components/Avatar.js +19 -32
- package/dist/web/components/Avatar.js.map +1 -1
- package/dist/web/components/Avatar.js.zyzz.json +1 -1
- package/dist/web/components/Badge.css +1 -0
- package/dist/web/components/Badge.d.ts +134 -0
- package/dist/web/components/Badge.d.ts.map +1 -0
- package/dist/web/components/Badge.js +38 -0
- package/dist/web/components/Badge.js.map +1 -0
- package/dist/web/components/Badge.js.zyzz.json +1 -0
- package/dist/web/components/Banner.css +1 -1
- package/dist/web/components/Banner.d.ts +12 -12
- package/dist/web/components/Banner.d.ts.map +1 -1
- package/dist/web/components/Banner.js +5 -5
- package/dist/web/components/Banner.js.map +1 -1
- package/dist/web/components/Banner.js.zyzz.json +1 -1
- package/dist/web/components/BarChart.css +1 -0
- package/dist/web/components/BarChart.d.ts +155 -0
- package/dist/web/components/BarChart.d.ts.map +1 -0
- package/dist/web/components/BarChart.js +119 -0
- package/dist/web/components/BarChart.js.map +1 -0
- package/dist/web/components/BarChart.js.zyzz.json +1 -0
- package/dist/web/components/Breadcrumbs.css +1 -1
- package/dist/web/components/Breadcrumbs.d.ts +6 -6
- package/dist/web/components/Breadcrumbs.js.map +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.d.ts +166 -35
- package/dist/web/components/Button.d.ts.map +1 -1
- package/dist/web/components/Button.js +13 -9
- package/dist/web/components/Button.js.map +1 -1
- package/dist/web/components/Button.js.zyzz.json +1 -1
- package/dist/web/components/ButtonGroup.css +1 -0
- package/dist/web/components/ButtonGroup.d.ts +56 -0
- package/dist/web/components/ButtonGroup.d.ts.map +1 -0
- package/dist/web/components/ButtonGroup.js +33 -0
- package/dist/web/components/ButtonGroup.js.map +1 -0
- package/dist/web/components/ButtonGroup.js.zyzz.json +1 -0
- package/dist/web/components/Calendar.css +1 -1
- package/dist/web/components/Calendar.d.ts.map +1 -1
- package/dist/web/components/Calendar.js +7 -7
- package/dist/web/components/Calendar.js.map +1 -1
- package/dist/web/components/Calendar.js.zyzz.json +1 -1
- package/dist/web/components/Checkbox.css +1 -1
- package/dist/web/components/Checkbox.d.ts +11 -11
- package/dist/web/components/Checkbox.d.ts.map +1 -1
- package/dist/web/components/Checkbox.js +4 -1
- package/dist/web/components/Checkbox.js.map +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.d.ts +44 -16
- package/dist/web/components/ChoiceGroup.d.ts.map +1 -1
- package/dist/web/components/ChoiceGroup.js +32 -8
- package/dist/web/components/ChoiceGroup.js.map +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.d.ts +9 -9
- package/dist/web/components/Choicebox.d.ts.map +1 -1
- package/dist/web/components/Choicebox.js +6 -6
- package/dist/web/components/Choicebox.js.map +1 -1
- package/dist/web/components/Choicebox.js.zyzz.json +1 -1
- package/dist/web/components/Combobox.css +1 -1
- package/dist/web/components/Combobox.d.ts +2 -2
- package/dist/web/components/Combobox.d.ts.map +1 -1
- package/dist/web/components/Combobox.js +8 -8
- package/dist/web/components/Combobox.js.map +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 +1 -1
- package/dist/web/components/CopyButton.js.map +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.d.ts +37 -56
- package/dist/web/components/DatePicker.d.ts.map +1 -1
- package/dist/web/components/DatePicker.js +7 -7
- package/dist/web/components/DatePicker.js.map +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.d.ts +189 -20
- package/dist/web/components/Dialog.d.ts.map +1 -1
- package/dist/web/components/Dialog.js +93 -26
- package/dist/web/components/Dialog.js.map +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.d.ts +7 -2
- package/dist/web/components/Drawer.d.ts.map +1 -1
- package/dist/web/components/Drawer.js +12 -6
- package/dist/web/components/Drawer.js.map +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.d.ts +2 -0
- package/dist/web/components/Empty.d.ts.map +1 -1
- package/dist/web/components/Empty.js +5 -3
- package/dist/web/components/Empty.js.map +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.d.ts +16 -21
- package/dist/web/components/Field.d.ts.map +1 -1
- package/dist/web/components/Field.js +38 -36
- package/dist/web/components/Field.js.map +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.d.ts +9 -18
- package/dist/web/components/Fieldset.d.ts.map +1 -1
- package/dist/web/components/Fieldset.js +11 -14
- package/dist/web/components/Fieldset.js.map +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.d.ts +13 -19
- package/dist/web/components/Frame.d.ts.map +1 -1
- package/dist/web/components/Frame.js +8 -8
- package/dist/web/components/Frame.js.map +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.d.ts +2 -2
- package/dist/web/components/Gauge.d.ts.map +1 -1
- package/dist/web/components/Gauge.js.map +1 -1
- package/dist/web/components/Gauge.js.zyzz.json +1 -1
- package/dist/web/components/Grid.js.zyzz.json +1 -1
- package/dist/web/components/Hex.css +1 -1
- package/dist/web/components/Hex.d.ts +11 -53
- package/dist/web/components/Hex.d.ts.map +1 -1
- package/dist/web/components/Hex.js +5 -7
- package/dist/web/components/Hex.js.map +1 -1
- package/dist/web/components/Hex.js.zyzz.json +1 -1
- package/dist/web/components/IconTile.css +1 -0
- package/dist/web/components/IconTile.d.ts +62 -0
- package/dist/web/components/IconTile.d.ts.map +1 -0
- package/dist/web/components/IconTile.js +28 -0
- package/dist/web/components/IconTile.js.map +1 -0
- package/dist/web/components/IconTile.js.zyzz.json +1 -0
- package/dist/web/components/Identicon.css +1 -1
- package/dist/web/components/Identicon.d.ts +1 -8
- package/dist/web/components/Identicon.d.ts.map +1 -1
- package/dist/web/components/Identicon.js +1 -4
- package/dist/web/components/Identicon.js.map +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.d.ts +7 -7
- package/dist/web/components/Kbd.js.map +1 -1
- package/dist/web/components/Kbd.js.zyzz.json +1 -1
- package/dist/web/components/ListGroup.css +1 -0
- package/dist/web/components/ListGroup.d.ts +483 -0
- package/dist/web/components/ListGroup.d.ts.map +1 -0
- package/dist/web/components/ListGroup.js +266 -0
- package/dist/web/components/ListGroup.js.map +1 -0
- package/dist/web/components/ListGroup.js.zyzz.json +1 -0
- package/dist/web/components/LoadingDots.css +1 -1
- package/dist/web/components/LoadingDots.d.ts.map +1 -1
- package/dist/web/components/LoadingDots.js +2 -2
- package/dist/web/components/LoadingDots.js.map +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.d.ts +39 -20
- package/dist/web/components/Menu.d.ts.map +1 -1
- package/dist/web/components/Menu.js +12 -7
- package/dist/web/components/Menu.js.map +1 -1
- package/dist/web/components/Menu.js.zyzz.json +1 -1
- package/dist/web/components/NetworkLogo.css +1 -0
- package/dist/web/components/NetworkLogo.d.ts +58 -0
- package/dist/web/components/NetworkLogo.d.ts.map +1 -0
- package/dist/web/components/NetworkLogo.js +40 -0
- package/dist/web/components/NetworkLogo.js.map +1 -0
- package/dist/web/components/NetworkLogo.js.zyzz.json +1 -0
- package/dist/web/components/NumberField.css +1 -1
- package/dist/web/components/NumberField.d.ts +3 -3
- package/dist/web/components/NumberField.d.ts.map +1 -1
- package/dist/web/components/NumberField.js +5 -5
- package/dist/web/components/NumberField.js.map +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.d.ts +8 -68
- package/dist/web/components/OtpField.d.ts.map +1 -1
- package/dist/web/components/OtpField.js +12 -9
- package/dist/web/components/OtpField.js.map +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.d.ts +16 -14
- package/dist/web/components/Pagination.d.ts.map +1 -1
- package/dist/web/components/Pagination.js +3 -3
- package/dist/web/components/Pagination.js.map +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.map +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.d.ts +2 -2
- package/dist/web/components/Progress.d.ts.map +1 -1
- package/dist/web/components/Progress.js +5 -5
- package/dist/web/components/Progress.js.map +1 -1
- package/dist/web/components/Progress.js.zyzz.json +1 -1
- package/dist/web/components/Qr.css +1 -1
- package/dist/web/components/Qr.d.ts +1 -1
- package/dist/web/components/Qr.js.map +1 -1
- package/dist/web/components/Qr.js.zyzz.json +1 -1
- package/dist/web/components/RadioGroup.css +1 -1
- package/dist/web/components/RadioGroup.d.ts.map +1 -1
- package/dist/web/components/RadioGroup.js +2 -2
- package/dist/web/components/RadioGroup.js.map +1 -1
- package/dist/web/components/RadioGroup.js.zyzz.json +1 -1
- package/dist/web/components/SecretValue.css +1 -1
- package/dist/web/components/SecretValue.d.ts +7 -7
- package/dist/web/components/SecretValue.js +1 -1
- package/dist/web/components/SecretValue.js.map +1 -1
- package/dist/web/components/SecretValue.js.zyzz.json +1 -1
- package/dist/web/components/Select.css +1 -1
- package/dist/web/components/Select.d.ts +64 -2
- package/dist/web/components/Select.d.ts.map +1 -1
- package/dist/web/components/Select.js +24 -7
- package/dist/web/components/Select.js.map +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.d.ts +17 -3
- package/dist/web/components/Separator.d.ts.map +1 -1
- package/dist/web/components/Separator.js +40 -5
- package/dist/web/components/Separator.js.map +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.d.ts +186 -39
- package/dist/web/components/SidebarMenu.d.ts.map +1 -1
- package/dist/web/components/SidebarMenu.js +90 -18
- package/dist/web/components/SidebarMenu.js.map +1 -1
- package/dist/web/components/SidebarMenu.js.zyzz.json +1 -1
- package/dist/web/components/Skeleton.css +1 -1
- package/dist/web/components/Skeleton.d.ts +5 -3
- package/dist/web/components/Skeleton.d.ts.map +1 -1
- package/dist/web/components/Skeleton.js +1 -1
- package/dist/web/components/Skeleton.js.map +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.d.ts.map +1 -1
- package/dist/web/components/Slider.js +5 -5
- package/dist/web/components/Slider.js.map +1 -1
- package/dist/web/components/Slider.js.zyzz.json +1 -1
- package/dist/web/components/Snippet.css +1 -1
- package/dist/web/components/Snippet.d.ts +27 -65
- package/dist/web/components/Snippet.d.ts.map +1 -1
- package/dist/web/components/Snippet.js +47 -10
- package/dist/web/components/Snippet.js.map +1 -1
- package/dist/web/components/Snippet.js.zyzz.json +1 -1
- package/dist/web/components/Spinner.css +1 -1
- package/dist/web/components/Spinner.d.ts +25 -16
- package/dist/web/components/Spinner.d.ts.map +1 -1
- package/dist/web/components/Spinner.js +11 -6
- package/dist/web/components/Spinner.js.map +1 -1
- package/dist/web/components/Spinner.js.zyzz.json +1 -1
- package/dist/web/components/SplitBar.css +1 -0
- package/dist/web/components/SplitBar.d.ts +99 -0
- package/dist/web/components/SplitBar.d.ts.map +1 -0
- package/dist/web/components/SplitBar.js +49 -0
- package/dist/web/components/SplitBar.js.map +1 -0
- package/dist/web/components/SplitBar.js.zyzz.json +1 -0
- package/dist/web/components/SplitButton.css +1 -1
- package/dist/web/components/SplitButton.d.ts +4 -1
- package/dist/web/components/SplitButton.d.ts.map +1 -1
- package/dist/web/components/SplitButton.js +2 -2
- package/dist/web/components/SplitButton.js.map +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 -0
- package/dist/web/components/StatusChip.d.ts +162 -0
- package/dist/web/components/StatusChip.d.ts.map +1 -0
- package/dist/web/components/StatusChip.js +37 -0
- package/dist/web/components/StatusChip.js.map +1 -0
- package/dist/web/components/StatusChip.js.zyzz.json +1 -0
- package/dist/web/components/StatusRow.css +1 -0
- package/dist/web/components/StatusRow.d.ts +121 -0
- package/dist/web/components/StatusRow.d.ts.map +1 -0
- package/dist/web/components/StatusRow.js +75 -0
- package/dist/web/components/StatusRow.js.map +1 -0
- package/dist/web/components/StatusRow.js.zyzz.json +1 -0
- package/dist/web/components/Stepper.css +1 -1
- package/dist/web/components/Stepper.d.ts +10 -7
- package/dist/web/components/Stepper.d.ts.map +1 -1
- package/dist/web/components/Stepper.js +5 -4
- package/dist/web/components/Stepper.js.map +1 -1
- package/dist/web/components/Stepper.js.zyzz.json +1 -1
- package/dist/web/components/Surface.css +1 -1
- package/dist/web/components/Surface.d.ts +56 -119
- package/dist/web/components/Surface.d.ts.map +1 -1
- package/dist/web/components/Surface.js +16 -9
- package/dist/web/components/Surface.js.map +1 -1
- package/dist/web/components/Surface.js.zyzz.json +1 -1
- package/dist/web/components/Switch.css +1 -1
- package/dist/web/components/Switch.d.ts +14 -18
- package/dist/web/components/Switch.d.ts.map +1 -1
- package/dist/web/components/Switch.js +13 -15
- package/dist/web/components/Switch.js.map +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.d.ts +152 -67
- package/dist/web/components/Table.d.ts.map +1 -1
- package/dist/web/components/Table.js +92 -24
- package/dist/web/components/Table.js.map +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.d.ts +49 -42
- package/dist/web/components/Tabs.d.ts.map +1 -1
- package/dist/web/components/Tabs.js +45 -14
- package/dist/web/components/Tabs.js.map +1 -1
- package/dist/web/components/Tabs.js.zyzz.json +1 -1
- package/dist/web/components/TempoLogo.css +1 -0
- package/dist/web/components/TempoLogo.d.ts +47 -0
- package/dist/web/components/TempoLogo.d.ts.map +1 -0
- package/dist/web/components/TempoLogo.js +48 -0
- package/dist/web/components/TempoLogo.js.map +1 -0
- package/dist/web/components/TempoLogo.js.zyzz.json +1 -0
- package/dist/web/components/TextInput.css +1 -0
- package/dist/web/components/{Input.d.ts → TextInput.d.ts} +27 -18
- package/dist/web/components/TextInput.d.ts.map +1 -0
- package/dist/web/components/TextInput.js +138 -0
- package/dist/web/components/TextInput.js.map +1 -0
- package/dist/web/components/TextInput.js.zyzz.json +1 -0
- package/dist/web/components/Textarea.css +1 -1
- package/dist/web/components/Textarea.d.ts +29 -74
- package/dist/web/components/Textarea.d.ts.map +1 -1
- package/dist/web/components/Textarea.js +5 -12
- package/dist/web/components/Textarea.js.map +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.d.ts +4 -4
- package/dist/web/components/Toast.d.ts.map +1 -1
- package/dist/web/components/Toast.js +9 -9
- package/dist/web/components/Toast.js.map +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.d.ts +32 -90
- package/dist/web/components/Token.d.ts.map +1 -1
- package/dist/web/components/Token.js +27 -89
- package/dist/web/components/Token.js.map +1 -1
- package/dist/web/components/Token.js.zyzz.json +1 -1
- package/dist/web/components/TokenLogo.css +1 -0
- package/dist/web/components/TokenLogo.d.ts +117 -0
- package/dist/web/components/TokenLogo.d.ts.map +1 -0
- package/dist/web/components/TokenLogo.js +112 -0
- package/dist/web/components/TokenLogo.js.map +1 -0
- package/dist/web/components/TokenLogo.js.zyzz.json +1 -0
- package/dist/web/components/Tooltip.css +1 -1
- package/dist/web/components/Tooltip.js.map +1 -1
- package/dist/web/components/Tooltip.js.zyzz.json +1 -1
- package/dist/web/components/VerificationCode.css +1 -0
- package/dist/web/components/VerificationCode.d.ts +47 -0
- package/dist/web/components/VerificationCode.d.ts.map +1 -0
- package/dist/web/components/VerificationCode.js +55 -0
- package/dist/web/components/VerificationCode.js.map +1 -0
- package/dist/web/components/VerificationCode.js.zyzz.json +1 -0
- package/dist/web/components/Visual.css +1 -0
- package/dist/web/components/Visual.d.ts +65 -0
- package/dist/web/components/Visual.d.ts.map +1 -0
- package/dist/web/components/Visual.js +51 -0
- package/dist/web/components/Visual.js.map +1 -0
- package/dist/web/components/Visual.js.zyzz.json +1 -0
- package/dist/web/components/internal/Field.css +1 -1
- package/dist/web/components/internal/Field.d.ts +41 -87
- package/dist/web/components/internal/Field.d.ts.map +1 -1
- package/dist/web/components/internal/Field.js +8 -7
- package/dist/web/components/internal/Field.js.map +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.d.ts +38 -99
- package/dist/web/components/internal/InputGroup.d.ts.map +1 -1
- package/dist/web/components/internal/InputGroup.js +6 -6
- package/dist/web/components/internal/InputGroup.js.map +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.d.ts +8 -8
- package/dist/web/components/internal/Listbox.js.map +1 -1
- package/dist/web/components/internal/Listbox.js.zyzz.json +1 -1
- package/dist/web/components/internal/RowDisabled.d.ts +3 -0
- package/dist/web/components/internal/RowDisabled.d.ts.map +1 -0
- package/dist/web/components/internal/RowDisabled.js +9 -0
- package/dist/web/components/internal/RowDisabled.js.map +1 -0
- package/dist/web/components/internal/RowsSize.d.ts +2 -3
- package/dist/web/components/internal/RowsSize.d.ts.map +1 -1
- package/dist/web/components/internal/RowsSize.js +3 -3
- package/dist/web/components/internal/RowsSize.js.map +1 -1
- package/dist/web/index.d.ts +18 -6
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +18 -6
- package/dist/web/index.js.map +1 -1
- package/dist/web/index.js.zyzz.json +1 -1
- package/dist/web/vars.d.ts +591 -706
- package/dist/web/vars.d.ts.map +1 -1
- package/dist/web/vars.js +7 -6
- package/dist/web/vars.js.map +1 -1
- package/dist/web/vars.js.zyzz.json +1 -1
- package/dist/web/zyzz.config.d.ts +2933 -3513
- package/dist/web/zyzz.config.d.ts.map +1 -1
- package/dist/web/zyzz.config.js +29 -3
- package/dist/web/zyzz.config.js.map +1 -1
- package/dist/web/zyzz.config.js.zyzz.json +1 -1
- package/package.json +149 -5
- package/src/fonts/JetBrainsMono-Bold-latin.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Bold-other.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Bold.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Medium-latin.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Medium-other.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Medium.woff2 +0 -0
- package/src/fonts/{Geist-OFL.txt → JetBrainsMono-OFL.txt} +4 -3
- package/src/fonts/JetBrainsMono-Regular-latin.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Regular-other.woff2 +0 -0
- package/src/fonts/JetBrainsMono-Regular.woff2 +0 -0
- package/src/fonts/JetBrainsMono-SemiBold-latin.woff2 +0 -0
- package/src/fonts/JetBrainsMono-SemiBold-other.woff2 +0 -0
- package/src/fonts/JetBrainsMono-SemiBold.woff2 +0 -0
- package/src/fonts/Pilat-Black-latin.woff2 +0 -0
- package/src/fonts/Pilat-Black-other.woff2 +0 -0
- package/src/fonts/Pilat-Black.woff2 +0 -0
- package/src/fonts/Pilat-Bold-latin.woff2 +0 -0
- package/src/fonts/Pilat-Bold-other.woff2 +0 -0
- package/src/fonts/Pilat-Bold.woff2 +0 -0
- package/src/fonts/Pilat-Book-latin.woff2 +0 -0
- package/src/fonts/Pilat-Book-other.woff2 +0 -0
- package/src/fonts/Pilat-Book.woff2 +0 -0
- package/src/fonts/Pilat-Demi-latin.woff2 +0 -0
- package/src/fonts/Pilat-Demi-other.woff2 +0 -0
- package/src/fonts/Pilat-Demi.woff2 +0 -0
- package/src/fonts/Pilat-Heavy-latin.woff2 +0 -0
- package/src/fonts/Pilat-Heavy-other.woff2 +0 -0
- package/src/fonts/Pilat-Heavy.woff2 +0 -0
- package/src/fonts/Pilat-Light-latin.woff2 +0 -0
- package/src/fonts/Pilat-Light-other.woff2 +0 -0
- package/src/fonts/Pilat-Light.woff2 +0 -0
- package/src/fonts/Pilat-Regular-latin.woff2 +0 -0
- package/src/fonts/Pilat-Regular-other.woff2 +0 -0
- package/src/fonts/Pilat-Regular.woff2 +0 -0
- package/src/fonts/Pilat-Thin-latin.woff2 +0 -0
- package/src/fonts/Pilat-Thin-other.woff2 +0 -0
- package/src/fonts/Pilat-Thin.woff2 +0 -0
- package/src/fonts/README.md +15 -2
- package/src/oxlint/rules/PreferComponent.ts +6 -6
- package/src/web/README.md +7 -7
- package/src/web/components/Accordion.tsx +8 -8
- package/src/web/components/AgentLogo.tsx +330 -0
- package/src/web/components/Alert.tsx +301 -0
- package/src/web/components/AlertDialog.tsx +47 -111
- package/src/web/components/Amount.tsx +6 -6
- package/src/web/components/AmountInput.tsx +59 -134
- package/src/web/components/AppShell.tsx +95 -36
- package/src/web/components/AssetChip.tsx +110 -0
- package/src/web/components/Autocomplete.tsx +4 -4
- package/src/web/components/Avatar.tsx +42 -119
- package/src/web/components/Badge.tsx +120 -0
- package/src/web/components/Banner.tsx +13 -11
- package/src/web/components/BarChart.tsx +427 -0
- package/src/web/components/Breadcrumbs.tsx +7 -7
- package/src/web/components/Button.tsx +156 -42
- package/src/web/components/ButtonGroup.tsx +59 -0
- package/src/web/components/Calendar.tsx +15 -13
- package/src/web/components/Checkbox.tsx +14 -11
- package/src/web/components/ChoiceGroup.tsx +107 -26
- package/src/web/components/Choicebox.tsx +30 -28
- package/src/web/components/Combobox.tsx +10 -8
- package/src/web/components/CopyButton.tsx +1 -1
- package/src/web/components/DatePicker.tsx +42 -61
- package/src/web/components/Dialog.tsx +267 -71
- package/src/web/components/Drawer.tsx +45 -18
- package/src/web/components/Empty.tsx +13 -8
- package/src/web/components/Field.tsx +78 -132
- package/src/web/components/Fieldset.tsx +16 -37
- package/src/web/components/Frame.tsx +13 -20
- package/src/web/components/Gauge.tsx +4 -4
- package/src/web/components/Hex.tsx +13 -56
- package/src/web/components/IconTile.tsx +57 -0
- package/src/web/components/Identicon.tsx +1 -10
- package/src/web/components/Kbd.tsx +8 -8
- package/src/web/components/ListGroup.tsx +776 -0
- package/src/web/components/LoadingDots.tsx +1 -0
- package/src/web/components/Menu.tsx +50 -35
- package/src/web/components/NetworkLogo.tsx +208 -0
- package/src/web/components/NumberField.tsx +18 -33
- package/src/web/components/OtpField.tsx +51 -102
- package/src/web/components/Pagination.tsx +16 -14
- package/src/web/components/Popover.tsx +8 -8
- package/src/web/components/Progress.tsx +7 -5
- package/src/web/components/Qr.tsx +1 -1
- package/src/web/components/RadioGroup.tsx +9 -7
- package/src/web/components/SecretValue.tsx +11 -11
- package/src/web/components/Select.tsx +87 -26
- package/src/web/components/Separator.tsx +95 -7
- package/src/web/components/SidebarMenu.tsx +294 -51
- package/src/web/components/Skeleton.tsx +5 -5
- package/src/web/components/Slider.tsx +12 -6
- package/src/web/components/Snippet.tsx +134 -75
- package/src/web/components/Spinner.tsx +38 -12
- package/src/web/components/SplitBar.tsx +158 -0
- package/src/web/components/SplitButton.tsx +26 -17
- package/src/web/components/StatusChip.tsx +138 -0
- package/src/web/components/StatusRow.tsx +162 -0
- package/src/web/components/Stepper.tsx +11 -8
- package/src/web/components/Surface.tsx +70 -95
- package/src/web/components/Switch.tsx +25 -29
- package/src/web/components/Table.tsx +281 -70
- package/src/web/components/Tabs.tsx +93 -50
- package/src/web/components/TempoLogo.tsx +89 -0
- package/src/web/components/{Input.tsx → TextInput.tsx} +87 -118
- package/src/web/components/Textarea.tsx +33 -78
- package/src/web/components/Toast.tsx +24 -22
- package/src/web/components/Token.tsx +106 -172
- package/src/web/components/TokenLogo.tsx +217 -0
- package/src/web/components/Tooltip.tsx +3 -3
- package/src/web/components/VerificationCode.tsx +97 -0
- package/src/web/components/Visual.tsx +166 -0
- package/src/web/components/internal/Field.ts +63 -72
- package/src/web/components/internal/InputGroup.ts +44 -101
- package/src/web/components/internal/Listbox.ts +20 -20
- package/src/web/components/internal/RowDisabled.ts +9 -0
- package/src/web/components/internal/RowsSize.ts +3 -5
- package/src/web/components/visuals/Passkey.svg +21 -0
- package/src/web/index.ts +18 -6
- package/src/web/logos/Base.svg +10 -0
- package/src/web/logos/Ethereum.svg +16 -0
- package/src/web/logos/HyperEVM.svg +27 -0
- package/src/web/logos/Polygon.svg +15 -0
- package/src/web/logos/README.md +14 -0
- package/src/web/logos/Solana.svg +11 -0
- package/src/web/logos/Tempo.svg +11 -0
- package/src/web/vars.ts +480 -534
- package/src/web/zyzz.config.ts +255 -12
- package/dist/fonts/GeistMono-Variable.woff2 +0 -0
- package/dist/web/components/AlertDialog.css +0 -1
- package/dist/web/components/Callout.css +0 -1
- package/dist/web/components/Callout.d.ts +0 -161
- package/dist/web/components/Callout.d.ts.map +0 -1
- package/dist/web/components/Callout.js +0 -83
- package/dist/web/components/Callout.js.map +0 -1
- package/dist/web/components/Callout.js.zyzz.json +0 -1
- package/dist/web/components/IconChip.css +0 -1
- package/dist/web/components/IconChip.d.ts +0 -53
- package/dist/web/components/IconChip.d.ts.map +0 -1
- package/dist/web/components/IconChip.js +0 -27
- package/dist/web/components/IconChip.js.map +0 -1
- package/dist/web/components/IconChip.js.zyzz.json +0 -1
- package/dist/web/components/Input.css +0 -1
- package/dist/web/components/Input.d.ts.map +0 -1
- package/dist/web/components/Input.js +0 -118
- package/dist/web/components/Input.js.map +0 -1
- package/dist/web/components/Input.js.zyzz.json +0 -1
- package/dist/web/components/Rows.css +0 -1
- package/dist/web/components/Rows.d.ts +0 -484
- package/dist/web/components/Rows.d.ts.map +0 -1
- package/dist/web/components/Rows.js +0 -171
- package/dist/web/components/Rows.js.map +0 -1
- package/dist/web/components/Rows.js.zyzz.json +0 -1
- package/dist/web/components/Tag.css +0 -1
- package/dist/web/components/Tag.d.ts +0 -171
- package/dist/web/components/Tag.d.ts.map +0 -1
- package/dist/web/components/Tag.js +0 -52
- package/dist/web/components/Tag.js.map +0 -1
- package/dist/web/components/Tag.js.zyzz.json +0 -1
- package/dist/web/components/internal/FieldVariant.d.ts +0 -4
- package/dist/web/components/internal/FieldVariant.d.ts.map +0 -1
- package/dist/web/components/internal/FieldVariant.js +0 -4
- package/dist/web/components/internal/FieldVariant.js.map +0 -1
- package/src/fonts/GeistMono-Variable.woff2 +0 -0
- package/src/web/components/Callout.tsx +0 -241
- package/src/web/components/IconChip.tsx +0 -54
- package/src/web/components/Rows.tsx +0 -588
- package/src/web/components/Tag.tsx +0 -149
- package/src/web/components/internal/FieldVariant.ts +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.z_tds_2f_web-iTkEmI0{fill:var(--z-tds_2f_web-color-container-regular,light-dark(var(--z-tds_2f_web-color-neutral-shade-004,#0000000a),var(--z-tds_2f_web-color-neutral-tint-012,#ffffff1f)))}.z_tds_2f_web-iTkEmI1{align-items:center}.z_tds_2f_web-iTkEmI2{column-gap:var(--z-tds_2f_web-spacing-6,.375rem)}.z_tds_2f_web-iTkEmI3{display:inline-flex}.z_tds_2f_web-iTkEmI4{white-space:nowrap}.z_tds_2f_web-iTkEmI5{color:var(--z-tds_2f_web-color-content-primary,light-dark(var(--z-tds_2f_web-color-neutral-100,#000),var(--z-tds_2f_web-color-neutral-000,#fff)))}.z_tds_2f_web-iTkEmI6{column-gap:var(--z-tds_2f_web-spacing-12,.75rem)}.z_tds_2f_web-iTkEmI7{display:flex}.z_tds_2f_web-iTkEmI8{justify-content:space-between}.z_tds_2f_web-iTkEmI9{font-family:var(--z-tds_2f_web-typography-body-b3Strong-fontFamily,var(--z-tds_2f_web-fontFamily-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"))}.z_tds_2f_web-iTkEmIa{font-size:var(--z-tds_2f_web-typography-body-b3Strong-fontSize,12px)}.z_tds_2f_web-iTkEmIb{font-weight:var(--z-tds_2f_web-typography-body-b3Strong-fontWeight,500)}.z_tds_2f_web-iTkEmIc{letter-spacing:var(--z-tds_2f_web-typography-body-b3Strong-letterSpacing,.15px)}.z_tds_2f_web-iTkEmId{line-height:var(--z-tds_2f_web-typography-body-b3Strong-lineHeight,16px)}.z_tds_2f_web-iTkEmIe{color:var(--z-tds_2f_web-color-content-secondary,light-dark(var(--z-tds_2f_web-color-neutral-shade-056,#0000008f),var(--z-tds_2f_web-color-neutral-tint-056,#ffffff8f)))}.z_tds_2f_web-iTkEmIf{column-gap:var(--z-tds_2f_web-spacing-16,1rem)}.z_tds_2f_web-iTkEmIg{flex-wrap:wrap}.z_tds_2f_web-iTkEmIh{margin-block-start:var(--z-tds_2f_web-spacing-12,.75rem)}.z_tds_2f_web-iTkEmIi{row-gap:var(--z-tds_2f_web-spacing-4,.25rem)}.z_tds_2f_web-iTkEmIj{font-family:var(--z-tds_2f_web-typography-body-b3-fontFamily,var(--z-tds_2f_web-fontFamily-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"))}.z_tds_2f_web-iTkEmIk{font-size:var(--z-tds_2f_web-typography-body-b3-fontSize,12px)}.z_tds_2f_web-iTkEmIl{font-weight:var(--z-tds_2f_web-typography-body-b3-fontWeight,400)}.z_tds_2f_web-iTkEmIm{letter-spacing:var(--z-tds_2f_web-typography-body-b3-letterSpacing,.15px)}.z_tds_2f_web-iTkEmIn{line-height:var(--z-tds_2f_web-typography-body-b3-lineHeight,16px)}.z_tds_2f_web-iTkEmIo{flex-direction:column}.z_tds_2f_web-iTkEmIp{min-width:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-iTkEmIq{& .recharts-cartesian-axis-tick-value{color:var(--z-tds_2f_web-color-content-tertiary,light-dark(var(--z-tds_2f_web-color-neutral-shade-040,#0006),var(--z-tds_2f_web-color-neutral-tint-040,#fff6)))}}.z_tds_2f_web-iTkEmIr{& .recharts-cartesian-axis-tick-value{fill:currentColor}}.z_tds_2f_web-iTkEmIs{& .recharts-cartesian-axis-tick-value{font-family:var(--z-tds_2f_web-typography-body-b3-fontFamily,var(--z-tds_2f_web-fontFamily-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"))}}.z_tds_2f_web-iTkEmIt{& .recharts-cartesian-axis-tick-value{font-size:var(--z-tds_2f_web-typography-body-b3-fontSize,12px)}}.z_tds_2f_web-iTkEmIu{& .recharts-cartesian-axis-tick-value{font-weight:var(--z-tds_2f_web-typography-body-b3-fontWeight,400)}}.z_tds_2f_web-iTkEmIv{& .recharts-cartesian-axis-tick-value{letter-spacing:var(--z-tds_2f_web-typography-body-b3-letterSpacing,.15px)}}.z_tds_2f_web-iTkEmIw{& .recharts-cartesian-axis-tick-value{line-height:var(--z-tds_2f_web-typography-body-b3-lineHeight,16px)}}.z_tds_2f_web-iTkEmIx{& .recharts-cartesian-grid-horizontal line{stroke:var(--z-tds_2f_web-color-line-secondary,light-dark(var(--z-tds_2f_web-color-neutral-shade-008,#00000014),var(--z-tds_2f_web-color-neutral-tint-008,#ffffff14)))}}.z_tds_2f_web-iTkEmIy{& .recharts-surface{outline:none}}.z_tds_2f_web-iTkEmIz{& .recharts-surface{overflow:visible}}.z_tds_2f_web-iTkEmI10{& .recharts-wrapper:focus-visible{border-radius:var(--z-tds_2f_web-radius-3xs,calc(.25rem * var(--tds-corner-scale,1)))}}.z_tds_2f_web-iTkEmI11{& .recharts-wrapper:focus-visible{outline-color:var(--z-tds_2f_web-color-border-focus,light-dark(var(--z-tds_2f_web-color-neutral-shade-040,#0006),var(--z-tds_2f_web-color-neutral-tint-052,#ffffff85)))}}.z_tds_2f_web-iTkEmI12{& .recharts-wrapper:focus-visible{outline-offset:var(--z-tds_2f_web-outlineOffset-2,2px)}}.z_tds_2f_web-iTkEmI13{& .recharts-wrapper:focus-visible{outline-style:solid}}.z_tds_2f_web-iTkEmI14{& .recharts-wrapper:focus-visible{outline-width:var(--z-tds_2f_web-outlineWidth-2,2px)}}.z_tds_2f_web-iTkEmI15{column-gap:var(--z-tds_2f_web-spacing-8,.5rem)}.z_tds_2f_web-iTkEmI16{list-style:none}.z_tds_2f_web-iTkEmI17{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-iTkEmI18{margin-block-start:var(--z-tds_2f_web-spacing-8,.5rem)}.z_tds_2f_web-iTkEmI19{padding:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-iTkEmI1a{row-gap:var(--z-tds_2f_web-spacing-4,.25rem)}.z_tds_2f_web-iTkEmI1b{color:var(--z-tds_2f_web-color-content-secondary,light-dark(var(--z-tds_2f_web-color-neutral-shade-056,#0000008f),var(--z-tds_2f_web-color-neutral-tint-056,#ffffff8f)))}.z_tds_2f_web-iTkEmI1c{flex-grow:1}.z_tds_2f_web-iTkEmI1d{overflow:hidden}.z_tds_2f_web-iTkEmI1e{text-overflow:ellipsis}.z_tds_2f_web-iTkEmI1f{fill:var(--z-tds_2f_web-color-container-strong,light-dark(var(--z-tds_2f_web-color-neutral-shade-008,#00000014),var(--z-tds_2f_web-color-neutral-tint-016,#ffffff29)))}.z_tds_2f_web-iTkEmI1g{border-radius:calc(.125rem * var(--tds-corner-scale,1))}.z_tds_2f_web-iTkEmI1h{flex-shrink:0}.z_tds_2f_web-iTkEmI1i{height:var(--z-tds_2f_web-spacing-8,.5rem)}.z_tds_2f_web-iTkEmI1j{width:var(--z-tds_2f_web-spacing-8,.5rem)}.z_tds_2f_web-iTkEmI1k{background-color:var(--z-tds_2f_web-color-background-elevated,light-dark(var(--z-tds_2f_web-color-neutral-000,#fff),var(--z-tds_2f_web-color-neutral-092,#141414)))}.z_tds_2f_web-iTkEmI1l{border-radius:var(--z-tds_2f_web-radius-sm,calc(1rem * var(--tds-corner-scale,1)))}.z_tds_2f_web-iTkEmI1m{box-shadow:var(--z-tds_2f_web-shadow-regular,0 8px 48px #0000000a, 0 4px 16px #0000000a, 0 2px 8px #0000000a)}.z_tds_2f_web-iTkEmI1n{box-sizing:border-box}.z_tds_2f_web-iTkEmI1o{color:var(--z-tds_2f_web-color-content-primary,light-dark(var(--z-tds_2f_web-color-neutral-100,#000),var(--z-tds_2f_web-color-neutral-000,#fff)))}.z_tds_2f_web-iTkEmI1p{padding:var(--z-tds_2f_web-spacing-12,.75rem)}.z_tds_2f_web-iTkEmI1q{pointer-events:none}.z_tds_2f_web-iTkEmI1r{font-family:var(--z-tds_2f_web-typography-body-b3-fontFamily,var(--z-tds_2f_web-fontFamily-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"))}.z_tds_2f_web-iTkEmI1s{font-size:var(--z-tds_2f_web-typography-body-b3-fontSize,12px)}.z_tds_2f_web-iTkEmI1t{font-weight:var(--z-tds_2f_web-typography-body-b3-fontWeight,400)}.z_tds_2f_web-iTkEmI1u{letter-spacing:var(--z-tds_2f_web-typography-body-b3-letterSpacing,.15px)}.z_tds_2f_web-iTkEmI1v{line-height:var(--z-tds_2f_web-typography-body-b3-lineHeight,16px)}.z_tds_2f_web-iTkEmI1w{width:var(--z-tds_2f_web-spacing-200,12.5rem)}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
import type * as zyzz from 'zyzz';
|
|
3
|
+
/**
|
|
4
|
+
* A stacked bar chart of values over time, such as the spend of each agent per day, built on
|
|
5
|
+
* Recharts. Each `series` stacks in its own color, in order from the baseline. A value axis with
|
|
6
|
+
* three ticks leads the plot, the `index` labels the bars below it, and a legend names each series
|
|
7
|
+
* under the chart. Hovering a bar, or moving to it with the arrow keys, shows a `BarChart.Tooltip`
|
|
8
|
+
* with the value of each series.
|
|
9
|
+
*
|
|
10
|
+
* - Name the chart with `aria-label`, or with `aria-labelledby` pointing at its heading.
|
|
11
|
+
* - Give each series a color that stays the same wherever it appears, such as an agent's brand color.
|
|
12
|
+
* - Format values with `format`, which the axis, the tooltip, and the total share.
|
|
13
|
+
* - Offer the same values as a `Table` when people need to read each one.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <BarChart
|
|
17
|
+
* aria-label="Spend by agent"
|
|
18
|
+
* data={[{ claude: 1.2, codex: 0.4, day: 'Oct 1' }]}
|
|
19
|
+
* format={(value) => `$${value}`}
|
|
20
|
+
* index="day"
|
|
21
|
+
* series={[
|
|
22
|
+
* { color: '#d97757', key: 'claude', label: 'Claude' },
|
|
23
|
+
* { color: '#10a37f', key: 'codex', label: 'Codex' },
|
|
24
|
+
* ]}
|
|
25
|
+
* />
|
|
26
|
+
*
|
|
27
|
+
* @see {@link https://recharts.github.io/en-US/api/BarChart/ | Recharts BarChart}
|
|
28
|
+
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html | WCAG 2.2 Non-text Content}
|
|
29
|
+
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html | WCAG 2.2 Use of Color}
|
|
30
|
+
*/
|
|
31
|
+
export declare function BarChart<const datum extends BarChart.Datum>(props: BarChart.Props<datum>): import("react").JSX.Element;
|
|
32
|
+
export declare namespace BarChart {
|
|
33
|
+
/** One bar: the value of each series, and the label of the bar under `index`. */
|
|
34
|
+
type Datum = Record<string, number | string>;
|
|
35
|
+
type Props<datum extends Datum = Datum> = Omit<ComponentPropsWithRef<'div'>, 'children'> & zyzz.Props.Variants<typeof styles.root> & {
|
|
36
|
+
/**
|
|
37
|
+
* One entry per bar, in order along the axis. Each series value is zero or more, since the
|
|
38
|
+
* series stack up from a zero baseline and the value axis starts at zero.
|
|
39
|
+
*/
|
|
40
|
+
data: readonly datum[];
|
|
41
|
+
/**
|
|
42
|
+
* Formats a value for the axis, the tooltip, and the total, such as `(value) => `$${value}``.
|
|
43
|
+
*
|
|
44
|
+
* @default String
|
|
45
|
+
*/
|
|
46
|
+
format?: ((value: number) => string) | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Height in px of the plot and the axis under it. The legend adds 28px.
|
|
49
|
+
*
|
|
50
|
+
* @default 198
|
|
51
|
+
*/
|
|
52
|
+
height?: number | undefined;
|
|
53
|
+
/** Key of the label of each bar, such as `day`. */
|
|
54
|
+
index: keyof datum & string;
|
|
55
|
+
/**
|
|
56
|
+
* The stacked series, from the baseline up, which the legend lists in the same order. Each
|
|
57
|
+
* key names a field with a number in every datum.
|
|
58
|
+
*/
|
|
59
|
+
series: readonly Series<NumericKey<datum>>[];
|
|
60
|
+
/** Labels under the axis, such as every seventh day. Recharts picks them when absent. */
|
|
61
|
+
ticks?: readonly string[] | undefined;
|
|
62
|
+
};
|
|
63
|
+
/** The keys of a datum whose values are numbers, or every key of a datum typed by `Datum`. */
|
|
64
|
+
type NumericKey<datum extends Datum> = string extends keyof datum ? string : {
|
|
65
|
+
[key in keyof datum]: datum[key] extends number ? key : never;
|
|
66
|
+
}[keyof datum] & string;
|
|
67
|
+
/** One stacked series. */
|
|
68
|
+
type Series<key extends string = string> = {
|
|
69
|
+
/** Fill of the series, such as the brand color of an agent. */
|
|
70
|
+
color: string;
|
|
71
|
+
/** Key of the series' value in each datum. */
|
|
72
|
+
key: key;
|
|
73
|
+
/** Name of the series in the legend and the tooltip. */
|
|
74
|
+
label: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The card that names a bar and lists the value of each series in it, which the chart shows on
|
|
78
|
+
* hover. Render it alone to show the values of a bar elsewhere.
|
|
79
|
+
*/
|
|
80
|
+
function Tooltip(props: Tooltip.Props): import("react").JSX.Element;
|
|
81
|
+
namespace Tooltip {
|
|
82
|
+
/** One series in the tooltip. */
|
|
83
|
+
type Item = {
|
|
84
|
+
/** Color of the series, as its bars fill. */
|
|
85
|
+
color: string;
|
|
86
|
+
/** Name of the series. */
|
|
87
|
+
label: ReactNode;
|
|
88
|
+
/** Formatted value of the series in the bar. */
|
|
89
|
+
value: ReactNode;
|
|
90
|
+
};
|
|
91
|
+
type Props = Omit<ComponentPropsWithRef<'div'>, 'children'> & zyzz.Props.Variants<typeof styles.tooltip> & {
|
|
92
|
+
/** The series in the bar, from the baseline up. */
|
|
93
|
+
items: readonly Item[];
|
|
94
|
+
/** Label of the bar, such as its day. */
|
|
95
|
+
label: ReactNode;
|
|
96
|
+
/** Formatted total of the bar, at the end of the header. Absent, the header shows the label alone. */
|
|
97
|
+
total?: ReactNode | undefined;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
declare namespace styles {
|
|
102
|
+
const cursor: zyzz.style.ReturnType<"react">;
|
|
103
|
+
const entry: zyzz.style.ReturnType<"react">;
|
|
104
|
+
const header: zyzz.style.ReturnType<"react">;
|
|
105
|
+
const legend: zyzz.style.ReturnType<"react">;
|
|
106
|
+
const root: zyzz.variants.ReturnType<{
|
|
107
|
+
readonly base: {
|
|
108
|
+
readonly display: "flex";
|
|
109
|
+
readonly flexDirection: "column";
|
|
110
|
+
readonly minWidth: "0";
|
|
111
|
+
readonly selectors: {
|
|
112
|
+
readonly '& .recharts-cartesian-axis-tick-value': {
|
|
113
|
+
readonly color: "content.tertiary";
|
|
114
|
+
readonly fill: "currentColor !custom";
|
|
115
|
+
readonly typography: "body.b3";
|
|
116
|
+
};
|
|
117
|
+
readonly '& .recharts-cartesian-grid-horizontal line': {
|
|
118
|
+
readonly stroke: "line.secondary";
|
|
119
|
+
};
|
|
120
|
+
readonly '& .recharts-surface': {
|
|
121
|
+
readonly outline: "none !custom";
|
|
122
|
+
readonly overflow: "visible";
|
|
123
|
+
};
|
|
124
|
+
readonly '& .recharts-wrapper:focus-visible': {
|
|
125
|
+
readonly borderRadius: "3xs";
|
|
126
|
+
readonly outlineColor: "border.focus";
|
|
127
|
+
readonly outlineOffset: "2";
|
|
128
|
+
readonly outlineStyle: "solid !custom";
|
|
129
|
+
readonly outlineWidth: "2";
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}, "react">;
|
|
134
|
+
const row: zyzz.style.ReturnType<"react">;
|
|
135
|
+
const rows: zyzz.style.ReturnType<"react">;
|
|
136
|
+
const series: zyzz.style.ReturnType<"react">;
|
|
137
|
+
const stub: zyzz.style.ReturnType<"react">;
|
|
138
|
+
const swatch: zyzz.style.ReturnType<"react">;
|
|
139
|
+
const tooltip: zyzz.variants.ReturnType<{
|
|
140
|
+
readonly base: {
|
|
141
|
+
readonly backgroundColor: "background.elevated";
|
|
142
|
+
readonly borderRadius: "sm";
|
|
143
|
+
readonly boxShadow: "regular";
|
|
144
|
+
readonly boxSizing: "border-box";
|
|
145
|
+
readonly color: "content.primary";
|
|
146
|
+
readonly padding: "12";
|
|
147
|
+
readonly pointerEvents: "none";
|
|
148
|
+
readonly typography: "body.b3";
|
|
149
|
+
readonly width: "200";
|
|
150
|
+
};
|
|
151
|
+
}, "react">;
|
|
152
|
+
const value: zyzz.style.ReturnType<"react">;
|
|
153
|
+
}
|
|
154
|
+
export {};
|
|
155
|
+
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../src/web/components/BarChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7D,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAKjC;;;;;;;;;;;;;;;;;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AA;IAEM,MAAM,KAAK,gCAGjB,CAAA;CACF"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
|
|
2
|
+
import { Props as __zyzzProps } from 'zyzz/runtime';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { useSyncExternalStore } from 'react';
|
|
5
|
+
import * as Recharts from 'recharts';
|
|
6
|
+
import { style, variants } from '../zyzz.config.js';
|
|
7
|
+
const reducedMotion = '(prefers-reduced-motion: reduce)';
|
|
8
|
+
/**
|
|
9
|
+
* A stacked bar chart of values over time, such as the spend of each agent per day, built on
|
|
10
|
+
* Recharts. Each `series` stacks in its own color, in order from the baseline. A value axis with
|
|
11
|
+
* three ticks leads the plot, the `index` labels the bars below it, and a legend names each series
|
|
12
|
+
* under the chart. Hovering a bar, or moving to it with the arrow keys, shows a `BarChart.Tooltip`
|
|
13
|
+
* with the value of each series.
|
|
14
|
+
*
|
|
15
|
+
* - Name the chart with `aria-label`, or with `aria-labelledby` pointing at its heading.
|
|
16
|
+
* - Give each series a color that stays the same wherever it appears, such as an agent's brand color.
|
|
17
|
+
* - Format values with `format`, which the axis, the tooltip, and the total share.
|
|
18
|
+
* - Offer the same values as a `Table` when people need to read each one.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* <BarChart
|
|
22
|
+
* aria-label="Spend by agent"
|
|
23
|
+
* data={[{ claude: 1.2, codex: 0.4, day: 'Oct 1' }]}
|
|
24
|
+
* format={(value) => `$${value}`}
|
|
25
|
+
* index="day"
|
|
26
|
+
* series={[
|
|
27
|
+
* { color: '#d97757', key: 'claude', label: 'Claude' },
|
|
28
|
+
* { color: '#10a37f', key: 'codex', label: 'Codex' },
|
|
29
|
+
* ]}
|
|
30
|
+
* />
|
|
31
|
+
*
|
|
32
|
+
* @see {@link https://recharts.github.io/en-US/api/BarChart/ | Recharts BarChart}
|
|
33
|
+
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/non-text-content.html | WCAG 2.2 Non-text Content}
|
|
34
|
+
* @see {@link https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html | WCAG 2.2 Use of Color}
|
|
35
|
+
*/
|
|
36
|
+
export function BarChart(props) {
|
|
37
|
+
const { className, data, format = String, height = 198, index, series, ticks, vars, ...attributes } = props;
|
|
38
|
+
const reduced = useReducedMotion();
|
|
39
|
+
const value = (entry, key) => Number(entry[key] ?? 0);
|
|
40
|
+
// Recharts infers its data type from a key of the generic datum and cannot resolve it, so the
|
|
41
|
+
// axis and the bars read their keys as strings.
|
|
42
|
+
const category = index;
|
|
43
|
+
const peak = Math.max(0, ...data.map((entry) => series.reduce((sum, item) => sum + value(entry, item.key), 0)));
|
|
44
|
+
const step = niceStep(peak / 2);
|
|
45
|
+
return (_jsxs("div", { role: "figure", ...attributes, ...styles.root({ className, style: props.style, vars }), children: [_jsxs(Recharts.BarChart, { accessibilityLayer: true, barCategoryGap: 3, data: [...data], height: height, margin: { bottom: 0, left: 0, right: 0, top: 0 }, responsive: true, width: "100%", children: [_jsx(Recharts.CartesianGrid, { strokeDasharray: "2 4", vertical: false }), _jsx(Recharts.YAxis, { axisLine: false,
|
|
46
|
+
// Three even ticks round the scale up from the tallest bar.
|
|
47
|
+
domain: [0, step * 2], tickFormatter: (tick) => format(tick), tickLine: false, tickMargin: 10, tickSize: 0, ticks: [0, step, Number((step * 2).toPrecision(12))], width: 54 }), _jsx(Recharts.XAxis, { axisLine: false, dataKey: category, height: 28, tickLine: false, tickMargin: 12, tickSize: 0, ...(ticks ? { interval: 0, ticks: [...ticks] } : { interval: 'preserveStartEnd' }) }), _jsx(Recharts.Tooltip, { content: (content) => {
|
|
48
|
+
// Each payload entry carries the datum of the hovered bar, which two bars can share
|
|
49
|
+
// a label with.
|
|
50
|
+
const entry = content.payload?.[0]?.payload;
|
|
51
|
+
if (!content.active || !entry)
|
|
52
|
+
return null;
|
|
53
|
+
const items = series.map((item) => ({
|
|
54
|
+
color: item.color,
|
|
55
|
+
label: item.label,
|
|
56
|
+
value: format(value(entry, item.key)),
|
|
57
|
+
}));
|
|
58
|
+
const total = series.reduce((sum, item) => sum + value(entry, item.key), 0);
|
|
59
|
+
return _jsx(Tooltip, { items: items, label: String(content.label), total: format(total) });
|
|
60
|
+
}, cursor: styles.cursor(), isAnimationActive: false }), _jsx(Recharts.Bar, { dataKey: () => 0, isAnimationActive: false, legendType: "none", minPointSize: 2, shape: (shape) => (_jsx("rect", { ...styles.stub(), height: 2, width: shape.width, x: shape.x, y: (shape.y ?? 0) + (shape.height ?? 0) - 2 })), stackId: "total", tooltipType: "none" }), series.map((item) => (_jsx(Recharts.Bar, { animationDuration: 300, animationEasing: "ease-out", dataKey: item.key, fill: item.color, isAnimationActive: !reduced, name: item.label, shape: segment, stackId: "total" }, item.key)))] }), _jsx("div", { ...styles.legend(), children: series.map((item) => (_jsxs("span", { ...styles.entry(), children: [_jsx("span", { "aria-hidden": "true", ...styles.swatch({ style: { backgroundColor: item.color } }) }), item.label] }, item.key))) })] }));
|
|
61
|
+
}
|
|
62
|
+
(function (BarChart) {
|
|
63
|
+
/**
|
|
64
|
+
* The card that names a bar and lists the value of each series in it, which the chart shows on
|
|
65
|
+
* hover. Render it alone to show the values of a bar elsewhere.
|
|
66
|
+
*/
|
|
67
|
+
function Tooltip(props) {
|
|
68
|
+
const { className, items, label, total, vars, ...attributes } = props;
|
|
69
|
+
return (_jsxs("div", { ...attributes, ...styles.tooltip({ className, style: props.style, vars }), children: [_jsxs("div", { ...styles.header(), children: [_jsx("span", { children: label }), total !== undefined && _jsx("span", { children: total })] }), _jsx("ul", { ...styles.rows(), children: items.map((item, position) => (_jsxs("li", { ...styles.row(), children: [_jsx("span", { "aria-hidden": "true", ...styles.swatch({ style: { backgroundColor: item.color } }) }), _jsx("span", { ...styles.series(), children: item.label }), _jsx("span", { ...styles.value(), children: item.value })] }, position))) })] }));
|
|
70
|
+
}
|
|
71
|
+
BarChart.Tooltip = Tooltip;
|
|
72
|
+
})(BarChart || (BarChart = {}));
|
|
73
|
+
/**
|
|
74
|
+
* Returns the smallest step of 1, 2, 2.5, or 5 times a power of ten that is at least `target`. An
|
|
75
|
+
* empty chart steps by 0.5, so its scale reaches 1.
|
|
76
|
+
*/
|
|
77
|
+
function niceStep(target) {
|
|
78
|
+
if (!(target > 0))
|
|
79
|
+
return 0.5;
|
|
80
|
+
const power = 10 ** Math.floor(Math.log10(target));
|
|
81
|
+
const factor = [1, 2, 2.5, 5, 10].find((entry) => entry * power >= target) ?? 10;
|
|
82
|
+
return Number((factor * power).toPrecision(12));
|
|
83
|
+
}
|
|
84
|
+
/** The bar of a tooltip-less series stacks 1px below the one above it, so segments stay apart. */
|
|
85
|
+
function segment(shape) {
|
|
86
|
+
const height = Math.max((shape.height ?? 0) - 1, 0);
|
|
87
|
+
return (_jsx("rect", { fill: shape.fill, height: height, width: shape.width, x: shape.x, y: (shape.y ?? 0) + (shape.height ?? 0) - height }));
|
|
88
|
+
}
|
|
89
|
+
/** Whether the reader asks for reduced motion, which skips the bars' growth on load. */
|
|
90
|
+
function useReducedMotion() {
|
|
91
|
+
return useSyncExternalStore((notify) => {
|
|
92
|
+
const query = window.matchMedia(reducedMotion);
|
|
93
|
+
query.addEventListener('change', notify);
|
|
94
|
+
return () => query.removeEventListener('change', notify);
|
|
95
|
+
}, () => window.matchMedia(reducedMotion).matches, () => true);
|
|
96
|
+
}
|
|
97
|
+
const Tooltip = BarChart.Tooltip;
|
|
98
|
+
var styles;
|
|
99
|
+
(function (styles) {
|
|
100
|
+
styles.cursor = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI0"});
|
|
101
|
+
styles.entry = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1 z_tds_2f_web-iTkEmI2 z_tds_2f_web-iTkEmI3 z_tds_2f_web-iTkEmI4"});
|
|
102
|
+
styles.header = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI5 z_tds_2f_web-iTkEmI6 z_tds_2f_web-iTkEmI7 z_tds_2f_web-iTkEmI8 z_tds_2f_web-iTkEmI9 z_tds_2f_web-iTkEmIa z_tds_2f_web-iTkEmIb z_tds_2f_web-iTkEmIc z_tds_2f_web-iTkEmId"});
|
|
103
|
+
// The legend sits 12px under the axis labels, 16px between its entries.
|
|
104
|
+
styles.legend = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmIe z_tds_2f_web-iTkEmIf z_tds_2f_web-iTkEmI7 z_tds_2f_web-iTkEmIg z_tds_2f_web-iTkEmIh z_tds_2f_web-iTkEmIi z_tds_2f_web-iTkEmIj z_tds_2f_web-iTkEmIk z_tds_2f_web-iTkEmIl z_tds_2f_web-iTkEmIm z_tds_2f_web-iTkEmIn"});
|
|
105
|
+
// Recharts draws the grid and the axis labels in SVG, so their paint comes from these selectors.
|
|
106
|
+
// An SVG text paints with `fill`, and takes `color` too so that `currentColor` matches it.
|
|
107
|
+
styles.root = ((input={})=>{const external=input.className,style=input.style,vars=input.vars,inline=vars?{...vars,...style}:style,className=external?"z_tds_2f_web-iTkEmI7 z_tds_2f_web-iTkEmIo z_tds_2f_web-iTkEmIp z_tds_2f_web-iTkEmIq z_tds_2f_web-iTkEmIr z_tds_2f_web-iTkEmIs z_tds_2f_web-iTkEmIt z_tds_2f_web-iTkEmIu z_tds_2f_web-iTkEmIv z_tds_2f_web-iTkEmIw z_tds_2f_web-iTkEmIx z_tds_2f_web-iTkEmIy z_tds_2f_web-iTkEmIz z_tds_2f_web-iTkEmI10 z_tds_2f_web-iTkEmI11 z_tds_2f_web-iTkEmI12 z_tds_2f_web-iTkEmI13 z_tds_2f_web-iTkEmI14"+" "+external:"z_tds_2f_web-iTkEmI7 z_tds_2f_web-iTkEmIo z_tds_2f_web-iTkEmIp z_tds_2f_web-iTkEmIq z_tds_2f_web-iTkEmIr z_tds_2f_web-iTkEmIs z_tds_2f_web-iTkEmIt z_tds_2f_web-iTkEmIu z_tds_2f_web-iTkEmIv z_tds_2f_web-iTkEmIw z_tds_2f_web-iTkEmIx z_tds_2f_web-iTkEmIy z_tds_2f_web-iTkEmIz z_tds_2f_web-iTkEmI10 z_tds_2f_web-iTkEmI11 z_tds_2f_web-iTkEmI12 z_tds_2f_web-iTkEmI13 z_tds_2f_web-iTkEmI14",result=inline?{className,style:inline}:{className};let value;return result});
|
|
108
|
+
styles.row = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1 z_tds_2f_web-iTkEmI15 z_tds_2f_web-iTkEmI7"});
|
|
109
|
+
styles.rows = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI7 z_tds_2f_web-iTkEmIo z_tds_2f_web-iTkEmI16 z_tds_2f_web-iTkEmI17 z_tds_2f_web-iTkEmI18 z_tds_2f_web-iTkEmI19 z_tds_2f_web-iTkEmI1a"});
|
|
110
|
+
styles.series = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1b z_tds_2f_web-iTkEmI1c z_tds_2f_web-iTkEmIp z_tds_2f_web-iTkEmI1d z_tds_2f_web-iTkEmI1e z_tds_2f_web-iTkEmI4"});
|
|
111
|
+
styles.stub = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1f"});
|
|
112
|
+
// A swatch keeps a 2px corner, which no radius token sets.
|
|
113
|
+
styles.swatch = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1g z_tds_2f_web-iTkEmI1h z_tds_2f_web-iTkEmI1i z_tds_2f_web-iTkEmI1j"});
|
|
114
|
+
// Figma pads the 16px corner of the tooltip by 12px, below the radius, which keeps its rows dense.
|
|
115
|
+
styles.tooltip = ((input={})=>{const external=input.className,style=input.style,vars=input.vars,inline=vars?{...vars,...style}:style,className=external?"z_tds_2f_web-iTkEmI1k z_tds_2f_web-iTkEmI1l z_tds_2f_web-iTkEmI1m z_tds_2f_web-iTkEmI1n z_tds_2f_web-iTkEmI1o z_tds_2f_web-iTkEmI1p z_tds_2f_web-iTkEmI1q z_tds_2f_web-iTkEmI1r z_tds_2f_web-iTkEmI1s z_tds_2f_web-iTkEmI1t z_tds_2f_web-iTkEmI1u z_tds_2f_web-iTkEmI1v z_tds_2f_web-iTkEmI1w"+" "+external:"z_tds_2f_web-iTkEmI1k z_tds_2f_web-iTkEmI1l z_tds_2f_web-iTkEmI1m z_tds_2f_web-iTkEmI1n z_tds_2f_web-iTkEmI1o z_tds_2f_web-iTkEmI1p z_tds_2f_web-iTkEmI1q z_tds_2f_web-iTkEmI1r z_tds_2f_web-iTkEmI1s z_tds_2f_web-iTkEmI1t z_tds_2f_web-iTkEmI1u z_tds_2f_web-iTkEmI1v z_tds_2f_web-iTkEmI1w",result=inline?{className,style:inline}:{className};let value;return result});
|
|
116
|
+
styles.value = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-iTkEmI1o z_tds_2f_web-iTkEmI1h"});
|
|
117
|
+
})(styles || (styles = {}));
|
|
118
|
+
//# sourceMappingURL=BarChart.js.map
|
|
119
|
+
import './BarChart.css';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.js","sourceRoot":"","sources":["../../../src/web/components/BarChart.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAA;AAEpC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,aAAa,GAAG,kCAAkC,CAAA;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,UAAU,QAAQ,CAAqC,KAA4B;IACvF,MAAM,EACJ,SAAS,EACT,IAAI,EACJ,MAAM,GAAG,MAAM,EACf,MAAM,GAAG,GAAG,EACZ,KAAK,EACL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,GAAG,UAAU,EACd,GAAG,KAAK,CAAA;IACT,MAAM,OAAO,GAAG,gBAAgB,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