@tempoxyz/ds 0.2.6 → 0.3.1
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 +161 -0
- package/dist/web/components/Alert.d.ts.map +1 -0
- package/dist/web/components/Alert.js +97 -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 +172 -28
- package/dist/web/components/AppShell.d.ts.map +1 -1
- package/dist/web/components/AppShell.js +89 -29
- 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 +167 -32
- package/dist/web/components/Button.d.ts.map +1 -1
- package/dist/web/components/Button.js +14 -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 +530 -0
- package/dist/web/components/ListGroup.d.ts.map +1 -0
- package/dist/web/components/ListGroup.js +270 -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 +26 -9
- 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 +238 -39
- package/dist/web/components/SidebarMenu.d.ts.map +1 -1
- package/dist/web/components/SidebarMenu.js +123 -20
- 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 +123 -101
- package/dist/web/components/Surface.d.ts.map +1 -1
- package/dist/web/components/Surface.js +20 -10
- 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/components/internal/TabBar.d.ts +33 -0
- package/dist/web/components/internal/TabBar.d.ts.map +1 -0
- package/dist/web/components/internal/TabBar.js +30 -0
- package/dist/web/components/internal/TabBar.js.map +1 -0
- package/dist/web/components/internal/Text.d.ts +9 -0
- package/dist/web/components/internal/Text.d.ts.map +1 -0
- package/dist/web/components/internal/Text.js +35 -0
- package/dist/web/components/internal/Text.js.map +1 -0
- 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 +612 -704
- 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 +3041 -3506
- 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 +321 -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 +367 -43
- 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 +122 -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 +159 -41
- 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 +273 -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 +857 -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 +89 -26
- package/src/web/components/Separator.tsx +95 -7
- package/src/web/components/SidebarMenu.tsx +390 -53
- 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 +172 -93
- 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/internal/TabBar.ts +52 -0
- package/src/web/components/internal/Text.ts +39 -0
- 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 +493 -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
|
@@ -4,7 +4,7 @@ import { variants, vars } from '../../zyzz.config.js'
|
|
|
4
4
|
|
|
5
5
|
export type Value = { control: RefObject<HTMLInputElement | null>; invalid: boolean }
|
|
6
6
|
|
|
7
|
-
/** Shared by
|
|
7
|
+
/** Shared by TextInput parts and AmountInput so Control and Clear reach the same element. */
|
|
8
8
|
export const Context = createContext<Value | undefined>(undefined)
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -66,7 +66,7 @@ const nudge = keyframes(
|
|
|
66
66
|
'60%': { transform: 'translateX(-3px) !custom' },
|
|
67
67
|
'80%': { transform: 'translateX(2px) !custom' },
|
|
68
68
|
},
|
|
69
|
-
{ id: 'tds/web/input/nudge' },
|
|
69
|
+
{ id: 'tds/web/text-input/nudge' },
|
|
70
70
|
)
|
|
71
71
|
|
|
72
72
|
// The OtpField pop shape, scaled down because a full-width field grows far more than a slot.
|
|
@@ -75,40 +75,48 @@ const pop = keyframes(
|
|
|
75
75
|
'0%, 100%': { transform: 'scale(1) !custom' },
|
|
76
76
|
'45%': { transform: 'scale(1.02) !custom' },
|
|
77
77
|
},
|
|
78
|
-
{ id: 'tds/web/input/pop' },
|
|
78
|
+
{ id: 'tds/web/text-input/pop' },
|
|
79
79
|
)
|
|
80
80
|
|
|
81
81
|
export namespace styles {
|
|
82
82
|
/**
|
|
83
|
-
* The text field surface of `
|
|
84
|
-
* `Field.styles.field`
|
|
83
|
+
* The 48px text field surface of `TextInput.Group`, `Select.Trigger` and `AmountInput.Root`. It
|
|
84
|
+
* matches `Field.styles.field`: `default` fills the field and `outlined` draws a 1px line instead.
|
|
85
85
|
*/
|
|
86
86
|
export const group = variants(
|
|
87
87
|
{
|
|
88
88
|
base: {
|
|
89
89
|
alignItems: 'center',
|
|
90
|
-
backgroundColor: '
|
|
90
|
+
backgroundColor: 'container.regular',
|
|
91
|
+
borderRadius: 'xs',
|
|
91
92
|
borderStyle: 'none',
|
|
92
93
|
boxSizing: 'border-box',
|
|
93
|
-
color: '
|
|
94
|
+
color: 'content.primary',
|
|
95
|
+
columnGap: '8',
|
|
94
96
|
display: 'flex',
|
|
97
|
+
height: '48',
|
|
98
|
+
// Forced colors paint transparent outlines, so this outline is the focus ring only there.
|
|
95
99
|
outlineColor: 'transparent !custom',
|
|
96
100
|
outlineOffset: '2',
|
|
97
101
|
outlineStyle: 'solid !custom',
|
|
98
102
|
outlineWidth: '2',
|
|
103
|
+
paddingBlock: '0',
|
|
104
|
+
paddingInline: '16',
|
|
99
105
|
position: 'relative',
|
|
100
106
|
transitionDuration: '160',
|
|
101
107
|
transitionProperty: 'background-color, border-color, opacity, outline-color, scale !custom',
|
|
102
108
|
transitionTimingFunction: 'snappy',
|
|
109
|
+
typography: 'body.b2',
|
|
103
110
|
selectors: {
|
|
104
|
-
// The
|
|
111
|
+
// The focus border is inset, so focus never moves the content.
|
|
105
112
|
'&::before': {
|
|
106
113
|
borderColor: 'transparent !custom',
|
|
107
114
|
borderRadius: 'inherit !custom',
|
|
108
115
|
borderStyle: 'solid !custom',
|
|
109
|
-
borderWidth: '
|
|
116
|
+
borderWidth: 'regular',
|
|
110
117
|
boxSizing: 'border-box',
|
|
111
118
|
content: '"" !custom',
|
|
119
|
+
cornerShape: 'inherit !custom',
|
|
112
120
|
inset: '0',
|
|
113
121
|
pointerEvents: 'none',
|
|
114
122
|
position: 'absolute',
|
|
@@ -116,36 +124,35 @@ export namespace styles {
|
|
|
116
124
|
transitionProperty: 'border-color !custom',
|
|
117
125
|
transitionTimingFunction: 'snappy',
|
|
118
126
|
},
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
127
|
+
// The success state ends the field with a check, drawn from the `CheckCircle` icon.
|
|
128
|
+
'&:is([data-success], [data-success] *)::after': {
|
|
129
|
+
backgroundColor: 'content.primary',
|
|
130
|
+
content: '"" !custom',
|
|
131
|
+
flexShrink: '0 !custom',
|
|
132
|
+
height: '16',
|
|
133
|
+
mask: 'url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3E%3Cpath d=%27M9.61328 6.0166C9.78817 5.80309 10.1037 5.77154 10.3174 5.94629C10.5306 6.12107 10.562 6.43583 10.3877 6.64941L7.3877 10.3164C7.2983 10.4257 7.16637 10.4919 7.02539 10.499C6.8843 10.5061 6.74637 10.4534 6.64648 10.3535L5.31348 9.01953C5.11845 8.82425 5.11829 8.50768 5.31348 8.3125C5.50869 8.11767 5.82534 8.11759 6.02051 8.3125L6.96191 9.25488L9.61328 6.0166Z%27/%3E%3Cpath fill-rule=%27evenodd%27 d=%27M8 1.33301C11.6817 1.33318 14.666 4.31919 14.666 8.00098C14.6656 11.6824 11.6815 14.6668 8 14.667C4.31837 14.667 1.33345 11.6825 1.33301 8.00098C1.33301 4.31908 4.3181 1.33301 8 1.33301ZM8 2.33398C4.87039 2.33398 2.33301 4.87137 2.33301 8.00098C2.33345 11.1302 4.87066 13.667 8 13.667C11.1292 13.6668 13.6656 11.1301 13.666 8.00098C13.666 4.87147 11.1294 2.33416 8 2.33398Z%27/%3E%3C/svg%3E") center / contain no-repeat !custom',
|
|
134
|
+
width: '16',
|
|
124
135
|
},
|
|
136
|
+
'&:is(button)': { cursor: 'pointer', textAlign: 'start', width: '100% !custom' },
|
|
125
137
|
'&:is(button):active:not(:disabled, [data-disabled])': {
|
|
126
138
|
scale: 'press',
|
|
127
139
|
transitionDuration: '100',
|
|
128
140
|
},
|
|
129
|
-
|
|
130
|
-
|
|
141
|
+
// `:where` keeps hover and focus fills below the invalid and disabled fills.
|
|
142
|
+
'&:where(:hover:not(:disabled, [data-disabled], :has(input:disabled)))': {
|
|
143
|
+
backgroundColor: 'container.strong',
|
|
131
144
|
},
|
|
132
|
-
'&:
|
|
133
|
-
|
|
134
|
-
opacity: 'disabled',
|
|
145
|
+
'&:where(:focus-visible, :has(input:focus-visible))': {
|
|
146
|
+
backgroundColor: 'background.elevated',
|
|
135
147
|
},
|
|
136
|
-
'&:focus-visible, &:has(input:focus-visible)': { outlineColor: 'blue.700' },
|
|
137
|
-
// Success and invalid draw one ring: inset at rest, and the outline instead while focused.
|
|
138
|
-
'&[data-success], [data-success] &': { backgroundColor: 'green.200' },
|
|
139
|
-
'&:is([data-success], [data-success] *):hover:not(:disabled, [data-disabled], :has(input:disabled))':
|
|
140
|
-
{ backgroundColor: 'green.300' },
|
|
141
|
-
'&[data-success]::before, [data-success] &::before': { borderColor: 'green.700' },
|
|
142
|
-
'&[data-success]:is(:focus-visible, :has(input:focus-visible)), [data-success] &:is(:focus-visible, :has(input:focus-visible))':
|
|
143
|
-
{ outlineColor: 'green.700' },
|
|
144
|
-
'&[data-invalid]::before, [data-invalid] &::before': { borderColor: 'red.800' },
|
|
145
|
-
'&[data-invalid]:is(:focus-visible, :has(input:focus-visible)), [data-invalid] &:is(:focus-visible, :has(input:focus-visible))':
|
|
146
|
-
{ outlineColor: 'red.800' },
|
|
147
148
|
'&:is(:focus-visible, :has(input:focus-visible))::before': {
|
|
148
|
-
borderColor: '
|
|
149
|
+
borderColor: 'border.focus',
|
|
150
|
+
},
|
|
151
|
+
'&[data-invalid], [data-invalid] &': { backgroundColor: 'container.negative' },
|
|
152
|
+
'&:disabled, &[data-disabled], &:has(input:disabled)': {
|
|
153
|
+
backgroundColor: 'container.subtle',
|
|
154
|
+
color: 'content.subtle',
|
|
155
|
+
cursor: 'default',
|
|
149
156
|
},
|
|
150
157
|
'&[data-entered="invalid"]': {
|
|
151
158
|
animation: `${nudge} 360ms ${vars.ease.snappy} !custom`,
|
|
@@ -153,28 +160,7 @@ export namespace styles {
|
|
|
153
160
|
'&[data-entered="success"]': {
|
|
154
161
|
animation: `${pop} 320ms ${vars.ease.overshoot} !custom`,
|
|
155
162
|
},
|
|
156
|
-
// Card sizes: medium is the default card. Small and large scale the padding and radius.
|
|
157
|
-
'&[data-variant="card"][data-size="small"]': {
|
|
158
|
-
borderRadius: '8',
|
|
159
|
-
paddingBlock: '12',
|
|
160
|
-
paddingInline: '12',
|
|
161
|
-
},
|
|
162
|
-
'&[data-variant="card"][data-size="large"]': {
|
|
163
|
-
borderRadius: '16',
|
|
164
|
-
paddingBlock: '24',
|
|
165
|
-
paddingInline: '24',
|
|
166
|
-
},
|
|
167
|
-
'[data-variant="stacked"] > &': { gridArea: '1 / 1' },
|
|
168
|
-
// A 32px field has no room for the floating label, so a small stacked field takes the medium size.
|
|
169
|
-
'[data-variant="stacked"] > &[data-size="small"]': {
|
|
170
|
-
borderRadius: '12',
|
|
171
|
-
columnGap: '8',
|
|
172
|
-
height: '40',
|
|
173
|
-
paddingInline: '16',
|
|
174
|
-
typography: 'copy.14',
|
|
175
|
-
},
|
|
176
163
|
},
|
|
177
|
-
// Forced colors paint transparent outlines, so the ring exists only while focused there.
|
|
178
164
|
'@media (forced-colors: active)': {
|
|
179
165
|
outlineStyle: 'none !custom',
|
|
180
166
|
selectors: {
|
|
@@ -189,64 +175,21 @@ export namespace styles {
|
|
|
189
175
|
},
|
|
190
176
|
},
|
|
191
177
|
},
|
|
192
|
-
defaultVariants: {
|
|
178
|
+
defaultVariants: { variant: 'default' },
|
|
193
179
|
variants: {
|
|
194
|
-
size: {
|
|
195
|
-
large: {
|
|
196
|
-
borderRadius: '16',
|
|
197
|
-
columnGap: '12',
|
|
198
|
-
height: '56',
|
|
199
|
-
paddingInline: '20',
|
|
200
|
-
typography: 'copy.16',
|
|
201
|
-
},
|
|
202
|
-
medium: {
|
|
203
|
-
borderRadius: '12',
|
|
204
|
-
columnGap: '8',
|
|
205
|
-
height: '40',
|
|
206
|
-
paddingInline: '16',
|
|
207
|
-
typography: 'copy.14',
|
|
208
|
-
},
|
|
209
|
-
small: {
|
|
210
|
-
borderRadius: '8',
|
|
211
|
-
columnGap: '6',
|
|
212
|
-
height: '32',
|
|
213
|
-
paddingInline: '12',
|
|
214
|
-
typography: 'copy.13',
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
// Declared after `size` so card overrides its height, padding and radius.
|
|
218
180
|
variant: {
|
|
219
|
-
card: {
|
|
220
|
-
backgroundColor: 'background.surface',
|
|
221
|
-
borderColor: 'grayAlpha.200',
|
|
222
|
-
borderRadius: '12',
|
|
223
|
-
borderStyle: 'solid',
|
|
224
|
-
borderWidth: '1',
|
|
225
|
-
height: 'auto !custom',
|
|
226
|
-
minHeight: '56',
|
|
227
|
-
paddingBlock: '16',
|
|
228
|
-
paddingInline: '16',
|
|
229
|
-
selectors: {
|
|
230
|
-
'&:hover:not(:disabled, [data-disabled], :has(input:disabled))': {
|
|
231
|
-
backgroundColor: 'background.surface',
|
|
232
|
-
borderColor: 'grayAlpha.400',
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
181
|
default: {},
|
|
237
|
-
//
|
|
238
|
-
|
|
182
|
+
// A 1px line and no fill. Focus darkens the line, and an invalid value fills it red.
|
|
183
|
+
outlined: {
|
|
239
184
|
backgroundColor: 'transparent !custom',
|
|
240
185
|
selectors: {
|
|
241
|
-
'
|
|
242
|
-
'&:
|
|
243
|
-
backgroundColor: 'grayAlpha.100',
|
|
244
|
-
},
|
|
186
|
+
'&::before': { borderColor: 'line.primary' },
|
|
187
|
+
'&:is([data-invalid], [data-invalid] *)::before': { borderColor: 'border.negative' },
|
|
245
188
|
},
|
|
246
189
|
},
|
|
247
190
|
},
|
|
248
191
|
},
|
|
249
192
|
},
|
|
250
|
-
{ id: 'tds/web/input/group' },
|
|
193
|
+
{ id: 'tds/web/text-input/group' },
|
|
251
194
|
)
|
|
252
195
|
}
|
|
@@ -3,10 +3,10 @@ import { style, variants } from '../../zyzz.config.js'
|
|
|
3
3
|
export namespace styles {
|
|
4
4
|
export const empty = style(
|
|
5
5
|
{
|
|
6
|
-
color: '
|
|
6
|
+
color: 'content.secondary',
|
|
7
7
|
paddingBlock: '12',
|
|
8
8
|
paddingInline: '16',
|
|
9
|
-
typography: '
|
|
9
|
+
typography: 'body.b2',
|
|
10
10
|
selectors: { '&:empty': { display: 'none' } },
|
|
11
11
|
},
|
|
12
12
|
{ id: 'tds/web/listbox/empty' },
|
|
@@ -19,10 +19,10 @@ export namespace styles {
|
|
|
19
19
|
|
|
20
20
|
export const groupLabel = style(
|
|
21
21
|
{
|
|
22
|
-
color: '
|
|
22
|
+
color: 'content.secondary',
|
|
23
23
|
paddingBlock: '8',
|
|
24
24
|
paddingInline: '16',
|
|
25
|
-
typography: '
|
|
25
|
+
typography: 'body.b3',
|
|
26
26
|
},
|
|
27
27
|
{ id: 'tds/web/listbox/group-label' },
|
|
28
28
|
)
|
|
@@ -54,10 +54,10 @@ export namespace styles {
|
|
|
54
54
|
export const item = style(
|
|
55
55
|
{
|
|
56
56
|
alignItems: 'center',
|
|
57
|
-
//
|
|
58
|
-
borderRadius: '
|
|
57
|
+
// One radius step below the popup, as the design rounds options: its `sm` less its 4px padding.
|
|
58
|
+
borderRadius: 'xs',
|
|
59
59
|
boxSizing: 'border-box',
|
|
60
|
-
color: '
|
|
60
|
+
color: 'content.primary',
|
|
61
61
|
columnGap: '12',
|
|
62
62
|
cursor: 'pointer',
|
|
63
63
|
display: 'flex',
|
|
@@ -68,11 +68,11 @@ export namespace styles {
|
|
|
68
68
|
transitionDuration: '120',
|
|
69
69
|
transitionProperty: 'background-color, opacity !custom',
|
|
70
70
|
transitionTimingFunction: 'snappy',
|
|
71
|
-
typography: '
|
|
71
|
+
typography: 'body.b2Strong',
|
|
72
72
|
userSelect: 'none',
|
|
73
73
|
selectors: {
|
|
74
74
|
'&[data-disabled]': { cursor: 'default', opacity: 'disabled', pointerEvents: 'none' },
|
|
75
|
-
'&[data-highlighted]': { backgroundColor: '
|
|
75
|
+
'&[data-highlighted]': { backgroundColor: 'container.regular' },
|
|
76
76
|
},
|
|
77
77
|
},
|
|
78
78
|
{ id: 'tds/web/listbox/item' },
|
|
@@ -86,23 +86,23 @@ export namespace styles {
|
|
|
86
86
|
export const popup = variants(
|
|
87
87
|
{
|
|
88
88
|
base: {
|
|
89
|
-
backgroundColor: 'background.
|
|
90
|
-
borderRadius: '
|
|
91
|
-
boxShadow: '
|
|
89
|
+
backgroundColor: 'background.elevated',
|
|
90
|
+
borderRadius: 'sm',
|
|
91
|
+
boxShadow: 'regular',
|
|
92
92
|
boxSizing: 'border-box',
|
|
93
|
-
color: '
|
|
93
|
+
color: 'content.primary',
|
|
94
94
|
maxHeight: 'min(var(--available-height), 20rem) !custom',
|
|
95
95
|
minWidth: 'var(--anchor-width) !custom',
|
|
96
96
|
opacity: '1 !custom',
|
|
97
97
|
outline: 'none !custom',
|
|
98
98
|
overflowY: 'auto',
|
|
99
99
|
overscrollBehavior: 'contain !custom',
|
|
100
|
-
padding: '
|
|
100
|
+
padding: '4',
|
|
101
101
|
transformOrigin: 'var(--transform-origin) !custom',
|
|
102
102
|
transitionDuration: '240',
|
|
103
103
|
transitionProperty: 'opacity, scale !custom',
|
|
104
104
|
transitionTimingFunction: 'spring',
|
|
105
|
-
typography: '
|
|
105
|
+
typography: 'body.b2',
|
|
106
106
|
selectors: {
|
|
107
107
|
'&[data-ending-style]': {
|
|
108
108
|
opacity: '0 !custom',
|
|
@@ -128,7 +128,7 @@ export namespace styles {
|
|
|
128
128
|
// Options follow the shared control scale: 32, 40 and 56px.
|
|
129
129
|
size: {
|
|
130
130
|
large: {
|
|
131
|
-
selectors: { '& [role="option"]': { minHeight: '56', typography: '
|
|
131
|
+
selectors: { '& [role="option"]': { minHeight: '56', typography: 'body.b1Strong' } },
|
|
132
132
|
},
|
|
133
133
|
medium: {},
|
|
134
134
|
small: {
|
|
@@ -136,7 +136,7 @@ export namespace styles {
|
|
|
136
136
|
'& [role="option"]': {
|
|
137
137
|
minHeight: '32',
|
|
138
138
|
paddingBlock: '4',
|
|
139
|
-
typography: '
|
|
139
|
+
typography: 'body.b3Strong',
|
|
140
140
|
},
|
|
141
141
|
},
|
|
142
142
|
},
|
|
@@ -155,7 +155,7 @@ export namespace styles {
|
|
|
155
155
|
|
|
156
156
|
export const separator = style(
|
|
157
157
|
{
|
|
158
|
-
backgroundColor: '
|
|
158
|
+
backgroundColor: 'container.strong',
|
|
159
159
|
height: '1',
|
|
160
160
|
marginBlock: '8',
|
|
161
161
|
marginInline: '16',
|
|
@@ -165,11 +165,11 @@ export namespace styles {
|
|
|
165
165
|
|
|
166
166
|
export const suffix = style(
|
|
167
167
|
{
|
|
168
|
-
color: '
|
|
168
|
+
color: 'content.secondary',
|
|
169
169
|
flexShrink: '0 !custom',
|
|
170
170
|
fontVariantNumeric: 'tabular-nums !custom',
|
|
171
171
|
marginInlineStart: 'auto !custom',
|
|
172
|
-
typography: '
|
|
172
|
+
typography: 'body.b3',
|
|
173
173
|
},
|
|
174
174
|
{ id: 'tds/web/listbox/suffix' },
|
|
175
175
|
)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Marks controls inside a disabled static `ListGroup.Row`, whose `fieldset` disables native controls
|
|
3
|
+
* only, so a `span` control such as `Switch` disables itself.
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { createContext } from 'react'
|
|
7
|
+
|
|
8
|
+
/** Whether the component sits inside a disabled static `ListGroup.Row`. */
|
|
9
|
+
export const Context = createContext(false)
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Marks controls inside a `ListGroup.Root`, whose 36px rows fit a small control.
|
|
3
3
|
* @module
|
|
4
4
|
*/
|
|
5
5
|
import { createContext } from 'react'
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/** Size of the enclosing `Rows.Root`, absent outside one. */
|
|
10
|
-
export const Context = createContext<Size | undefined>(undefined)
|
|
7
|
+
/** Whether the component sits inside a `ListGroup.Root`. */
|
|
8
|
+
export const Context = createContext(false)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Holds the `SidebarMenu.Item` entries that `AppShell` repeats in its bottom bar below 768px. The
|
|
3
|
+
* store lives outside React state, so an item that registers on every render updates the bar
|
|
4
|
+
* without rendering the shell again.
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import type { useRender } from '@base-ui/react/use-render'
|
|
8
|
+
import { createContext, type ReactNode } from 'react'
|
|
9
|
+
|
|
10
|
+
/** The props of a `SidebarMenu.Item` that the bottom bar repeats, without its sidebar styles. */
|
|
11
|
+
export type Entry = {
|
|
12
|
+
active: boolean
|
|
13
|
+
attributes: Readonly<Record<string, unknown>>
|
|
14
|
+
children: ReactNode
|
|
15
|
+
render: useRender.ComponentProps<'a'>['render']
|
|
16
|
+
variant: Variant
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** `tab` renders an icon in the tab bar, and `action` the floating action button beside it. */
|
|
20
|
+
export type Variant = 'action' | 'tab'
|
|
21
|
+
|
|
22
|
+
export type Store = ReturnType<typeof create>
|
|
23
|
+
|
|
24
|
+
export const Context = createContext<Store | undefined>(undefined)
|
|
25
|
+
|
|
26
|
+
/** Creates the store of one `AppShell.Root`. Entries keep the order in which they first register. */
|
|
27
|
+
export function create() {
|
|
28
|
+
const entries = new Map<string, Entry>()
|
|
29
|
+
const listeners = new Set<() => void>()
|
|
30
|
+
let snapshot: readonly (readonly [string, Entry])[] = []
|
|
31
|
+
|
|
32
|
+
const notify = () => {
|
|
33
|
+
snapshot = [...entries]
|
|
34
|
+
for (const listener of listeners) listener()
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return {
|
|
38
|
+
delete(id: string) {
|
|
39
|
+
if (!entries.delete(id)) return
|
|
40
|
+
notify()
|
|
41
|
+
},
|
|
42
|
+
set(id: string, entry: Entry) {
|
|
43
|
+
entries.set(id, entry)
|
|
44
|
+
notify()
|
|
45
|
+
},
|
|
46
|
+
snapshot: () => snapshot,
|
|
47
|
+
subscribe(listener: () => void) {
|
|
48
|
+
listeners.add(listener)
|
|
49
|
+
return () => listeners.delete(listener)
|
|
50
|
+
},
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wraps each run of adjacent string and number children in one span, so a rule can hide a label
|
|
3
|
+
* as an element while the label still reads as one run, such as `Inbox ({count})`.
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
import { Children, createElement, type HTMLAttributes, type ReactNode } from 'react'
|
|
7
|
+
|
|
8
|
+
/** Returns `children` with each run of adjacent text wrapped in a span with `props`. */
|
|
9
|
+
export function wrap(children: ReactNode, props: HTMLAttributes<HTMLSpanElement> = {}) {
|
|
10
|
+
const result: ReactNode[] = []
|
|
11
|
+
let run: (number | string)[] = []
|
|
12
|
+
|
|
13
|
+
// A run of only whitespace, such as the space between two elements on one JSX line, renders no
|
|
14
|
+
// flex item in a flex row, so it passes through unwrapped and adds no gap.
|
|
15
|
+
const flush = () => {
|
|
16
|
+
if (run.length === 0) return
|
|
17
|
+
if (run.every((part) => typeof part === 'string' && part.trim() === '')) {
|
|
18
|
+
result.push(...run)
|
|
19
|
+
run = []
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
result.push(createElement('span', { ...props, key: result.length }, ...run))
|
|
24
|
+
run = []
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
for (const child of Children.toArray(children)) {
|
|
28
|
+
if (typeof child === 'string' || typeof child === 'number') {
|
|
29
|
+
run.push(child)
|
|
30
|
+
continue
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
flush()
|
|
34
|
+
result.push(child)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
flush()
|
|
38
|
+
return result
|
|
39
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="464" height="208" viewBox="0 0 464 208" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g id="Fingerprint rings" clip-path="url(#clip0_0_5)">
|
|
3
|
+
<g id="Group">
|
|
4
|
+
<path id="Vector" d="M171 208V164C171 159.757 172.686 155.687 175.686 152.686C178.687 149.686 182.757 148 187 148C191.243 148 195.313 149.686 198.314 152.686C201.314 155.687 203 159.757 203 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="30 6"/>
|
|
5
|
+
<path id="Vector_2" d="M155 208V164C155 155.513 158.371 147.374 164.373 141.373C170.374 135.371 178.513 132 187 132C195.487 132 203.626 135.371 209.627 141.373C215.629 147.374 219 155.513 219 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="52 8 14 8"/>
|
|
6
|
+
<path id="Vector_3" d="M123 208V164C123 147.026 129.743 130.747 141.745 118.745C153.747 106.743 170.026 100 187 100C203.974 100 220.252 106.743 232.255 118.745C244.257 130.747 251 147.026 251 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="90 10 40 10"/>
|
|
7
|
+
<path id="Vector_4" d="M107 208V164C107 142.783 115.429 122.434 130.431 107.431C145.434 92.4285 165.783 84 187 84C208.217 84 228.566 92.4285 243.569 107.431C258.571 122.434 267 142.783 267 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="60 12 120 8"/>
|
|
8
|
+
<path id="Vector_5" d="M91 208V164C91 138.539 101.114 114.121 119.118 96.1178C137.121 78.1143 161.539 68 187 68C212.461 68 236.879 78.1143 254.882 96.1178C272.886 114.121 283 138.539 283 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="140 10 50 10"/>
|
|
9
|
+
<path id="Vector_6" d="M75 208V164C75 134.296 86.8 105.808 107.804 84.804C128.808 63.8 157.296 52 187 52C216.704 52 245.192 63.8 266.196 84.804C287.2 105.808 299 134.296 299 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="80 14 160 10"/>
|
|
10
|
+
<path id="Vector_7" d="M59 208V164C59 130.052 72.4857 97.495 96.4903 73.4903C120.495 49.4857 153.052 36 187 36C220.948 36 253.505 49.4857 277.51 73.4903C301.514 97.495 315 130.052 315 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="200 12 60 12"/>
|
|
11
|
+
<path id="Vector_8" d="M43 208V164C43 125.809 58.1714 89.1819 85.1766 62.1766C112.182 35.1714 148.809 20 187 20C225.191 20 261.818 35.1714 288.823 62.1766C315.829 89.1819 331 125.809 331 164V208" stroke="black" stroke-opacity="0.14" stroke-width="1.5" stroke-linecap="round" stroke-dasharray="120 16 220 12"/>
|
|
12
|
+
</g>
|
|
13
|
+
<path id="Highlight ring" d="M139 208V164C139 151.27 144.057 139.061 153.059 130.059C162.061 121.057 174.27 116 187 116C199.73 116 211.939 121.057 220.941 130.059C229.943 139.061 235 151.27 235 164V208" stroke="black" stroke-width="2.5" stroke-linecap="round"/>
|
|
14
|
+
<path id="Vector_9" d="M187 169C189.761 169 192 166.761 192 164C192 161.239 189.761 159 187 159C184.239 159 182 161.239 182 164C182 166.761 184.239 169 187 169Z" fill="black"/>
|
|
15
|
+
</g>
|
|
16
|
+
<defs>
|
|
17
|
+
<clipPath id="clip0_0_5">
|
|
18
|
+
<rect width="464" height="208" fill="white"/>
|
|
19
|
+
</clipPath>
|
|
20
|
+
</defs>
|
|
21
|
+
</svg>
|
package/src/web/index.ts
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
export { Accordion } from './components/Accordion.js'
|
|
2
|
+
export { AgentLogo } from './components/AgentLogo.js'
|
|
3
|
+
export { Alert } from './components/Alert.js'
|
|
2
4
|
export { AlertDialog } from './components/AlertDialog.js'
|
|
3
5
|
export { Amount } from './components/Amount.js'
|
|
4
6
|
export { AmountInput } from './components/AmountInput.js'
|
|
5
7
|
export { AppShell } from './components/AppShell.js'
|
|
8
|
+
export { AssetChip } from './components/AssetChip.js'
|
|
6
9
|
export { Autocomplete } from './components/Autocomplete.js'
|
|
7
10
|
export { Avatar } from './components/Avatar.js'
|
|
11
|
+
export { Badge } from './components/Badge.js'
|
|
8
12
|
export { Banner } from './components/Banner.js'
|
|
13
|
+
export { BarChart } from './components/BarChart.js'
|
|
9
14
|
export { Breadcrumbs } from './components/Breadcrumbs.js'
|
|
10
15
|
export { Button } from './components/Button.js'
|
|
16
|
+
export { ButtonGroup } from './components/ButtonGroup.js'
|
|
11
17
|
export { Calendar } from './components/Calendar.js'
|
|
12
|
-
export { Callout } from './components/Callout.js'
|
|
13
18
|
export { Checkbox } from './components/Checkbox.js'
|
|
14
19
|
export { CheckboxGroup } from './components/CheckboxGroup.js'
|
|
15
20
|
export { Choicebox } from './components/Choicebox.js'
|
|
@@ -27,14 +32,15 @@ export { formatHex, Hex } from './components/Hex.js'
|
|
|
27
32
|
export { Frame } from './components/Frame.js'
|
|
28
33
|
export { Gauge } from './components/Gauge.js'
|
|
29
34
|
export { Grid } from './components/Grid.js'
|
|
30
|
-
export {
|
|
35
|
+
export { IconTile } from './components/IconTile.js'
|
|
31
36
|
export { Identicon } from './components/Identicon.js'
|
|
32
37
|
export { Inline } from './components/Inline.js'
|
|
33
|
-
export { Input } from './components/Input.js'
|
|
34
38
|
export { Inset } from './components/Inset.js'
|
|
35
39
|
export { Kbd } from './components/Kbd.js'
|
|
40
|
+
export { ListGroup } from './components/ListGroup.js'
|
|
36
41
|
export { LoadingDots } from './components/LoadingDots.js'
|
|
37
42
|
export { Menu } from './components/Menu.js'
|
|
43
|
+
export { NetworkLogo } from './components/NetworkLogo.js'
|
|
38
44
|
export { NumberField } from './components/NumberField.js'
|
|
39
45
|
export { OtpField } from './components/OtpField.js'
|
|
40
46
|
export { Pagination } from './components/Pagination.js'
|
|
@@ -42,7 +48,6 @@ export { Popover } from './components/Popover.js'
|
|
|
42
48
|
export { Progress } from './components/Progress.js'
|
|
43
49
|
export { Qr } from './components/Qr.js'
|
|
44
50
|
export { RadioGroup } from './components/RadioGroup.js'
|
|
45
|
-
export { Rows } from './components/Rows.js'
|
|
46
51
|
export { SecretValue } from './components/SecretValue.js'
|
|
47
52
|
export { Select } from './components/Select.js'
|
|
48
53
|
export { Separator } from './components/Separator.js'
|
|
@@ -51,17 +56,24 @@ export { Skeleton } from './components/Skeleton.js'
|
|
|
51
56
|
export { Slider } from './components/Slider.js'
|
|
52
57
|
export { Snippet } from './components/Snippet.js'
|
|
53
58
|
export { Spinner } from './components/Spinner.js'
|
|
59
|
+
export { SplitBar } from './components/SplitBar.js'
|
|
54
60
|
export { SplitButton } from './components/SplitButton.js'
|
|
55
61
|
export { Stack } from './components/Stack.js'
|
|
62
|
+
export { StatusChip } from './components/StatusChip.js'
|
|
63
|
+
export { StatusRow } from './components/StatusRow.js'
|
|
56
64
|
export { Stepper } from './components/Stepper.js'
|
|
57
65
|
export { style, variants, vars } from './zyzz.config.js'
|
|
58
|
-
export { variables } from './vars.js'
|
|
59
66
|
export { Surface } from './components/Surface.js'
|
|
60
67
|
export { Switch } from './components/Switch.js'
|
|
61
68
|
export { Table } from './components/Table.js'
|
|
62
69
|
export { Tabs } from './components/Tabs.js'
|
|
63
|
-
export {
|
|
70
|
+
export { TempoLogo } from './components/TempoLogo.js'
|
|
64
71
|
export { Textarea } from './components/Textarea.js'
|
|
72
|
+
export { TextInput } from './components/TextInput.js'
|
|
65
73
|
export { Toast } from './components/Toast.js'
|
|
66
74
|
export { Token } from './components/Token.js'
|
|
75
|
+
export { TokenLogo } from './components/TokenLogo.js'
|
|
67
76
|
export { Tooltip } from './components/Tooltip.js'
|
|
77
|
+
export { variables } from './vars.js'
|
|
78
|
+
export { VerificationCode } from './components/VerificationCode.js'
|
|
79
|
+
export { Visual } from './components/Visual.js'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_201_1280)">
|
|
3
|
+
<path d="M4 6.27467C4 5.49467 4 5.10533 4.14667 4.80667C4.288 4.52 4.52 4.28667 4.808 4.14667C5.10667 4 5.496 4 6.27467 4H25.7253C26.5053 4 26.8933 4 27.1933 4.14667C27.48 4.28667 27.712 4.52 27.852 4.80667C28 5.10667 28 5.496 28 6.27467V25.7253C28 26.5053 28 26.8933 27.8533 27.1933C27.712 27.48 27.48 27.712 27.1933 27.852C26.8933 28 26.504 28 25.7253 28H6.27467C5.49467 28 5.10667 28 4.80667 27.8533C4.51999 27.7125 4.28828 27.4803 4.148 27.1933C4 26.8933 4 26.504 4 25.7253V6.27467Z" fill="#0000FF"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_201_1280">
|
|
7
|
+
<path d="M0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z" fill="white"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_201_1292)">
|
|
3
|
+
<rect width="32" height="32" fill="#627EEA"/>
|
|
4
|
+
<path d="M16.498 4V12.87L23.995 16.22L16.498 4Z" fill="white" fill-opacity="0.602"/>
|
|
5
|
+
<path d="M16.498 4L9 16.22L16.498 12.87V4Z" fill="white"/>
|
|
6
|
+
<path d="M16.498 21.968V27.995L24 17.616L16.498 21.968Z" fill="white" fill-opacity="0.602"/>
|
|
7
|
+
<path d="M16.498 27.995V21.967L9 17.616L16.498 27.995Z" fill="white"/>
|
|
8
|
+
<path d="M16.498 20.5731L23.995 16.2201L16.498 12.8721V20.5731Z" fill="white" fill-opacity="0.2"/>
|
|
9
|
+
<path d="M9 16.2201L16.498 20.5731V12.8721L9 16.2201Z" fill="white" fill-opacity="0.602"/>
|
|
10
|
+
</g>
|
|
11
|
+
<defs>
|
|
12
|
+
<clipPath id="clip0_201_1292">
|
|
13
|
+
<path d="M0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z" fill="white"/>
|
|
14
|
+
</clipPath>
|
|
15
|
+
</defs>
|
|
16
|
+
</svg>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_201_1310)">
|
|
3
|
+
<g clip-path="url(#clip1_201_1310)">
|
|
4
|
+
<rect width="32" height="32" fill="#072723"/>
|
|
5
|
+
<g clip-path="url(#clip2_201_1310)">
|
|
6
|
+
<mask id="mask0_201_1310" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="32" height="32">
|
|
7
|
+
<path d="M0 0H32V32H0V0Z" fill="white"/>
|
|
8
|
+
</mask>
|
|
9
|
+
<g mask="url(#mask0_201_1310)">
|
|
10
|
+
<path d="M32 0H0V32H32V0Z" fill="#072723"/>
|
|
11
|
+
<path d="M26.6667 15.9227C26.6831 17.6668 26.3191 19.3936 25.6 20.9827C24.5707 23.276 22.1067 25.152 19.8547 23.156C18.0187 21.5293 17.6787 18.2253 14.928 17.7427C11.2894 17.2987 11.2014 21.548 8.82404 22.028C6.17471 22.5707 5.29604 18.0813 5.33471 16.044C5.37471 14.0053 5.91204 11.14 8.21471 11.14C10.864 11.14 11.0427 15.1813 14.4067 14.9627C17.7374 14.7333 17.796 10.5293 19.972 8.72934C21.8494 7.17468 24.0587 8.31468 25.164 10.1867C26.1894 11.9173 26.64 13.9493 26.6627 15.9227H26.6667Z" fill="#50D2C1"/>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
<defs>
|
|
17
|
+
<clipPath id="clip0_201_1310">
|
|
18
|
+
<path d="M0 16C0 7.16344 7.16344 0 16 0C24.8366 0 32 7.16344 32 16C32 24.8366 24.8366 32 16 32C7.16344 32 0 24.8366 0 16Z" fill="white"/>
|
|
19
|
+
</clipPath>
|
|
20
|
+
<clipPath id="clip1_201_1310">
|
|
21
|
+
<rect width="32" height="32" fill="white"/>
|
|
22
|
+
</clipPath>
|
|
23
|
+
<clipPath id="clip2_201_1310">
|
|
24
|
+
<rect width="32" height="32" fill="white"/>
|
|
25
|
+
</clipPath>
|
|
26
|
+
</defs>
|
|
27
|
+
</svg>
|