@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
|
@@ -1 +1 @@
|
|
|
1
|
-
.z_tds_2f_web-C59jJV0{background-color:var(--z-tds_2f_web-color-
|
|
1
|
+
.z_tds_2f_web-C59jJV0{background-color:var(--z-tds_2f_web-color-neutral-100,#000)}.z_tds_2f_web-C59jJV1{inset:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-C59jJV2{opacity:var(--z-tds_2f_web-opacity-disabled,.4)}.z_tds_2f_web-C59jJV3{position:fixed}.z_tds_2f_web-C59jJV4{transition-duration:var(--z-tds_2f_web-transitionDuration-240,.24s)}.z_tds_2f_web-C59jJV5{transition-property:opacity}.z_tds_2f_web-C59jJV6{transition-timing-function:var(--z-tds_2f_web-ease-snappy,cubic-bezier(.23, 1, .32, 1))}.z_tds_2f_web-C59jJV7{&[data-ending-style]{opacity:0}}.z_tds_2f_web-C59jJV8{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-160,.16s)}}.z_tds_2f_web-C59jJV9{&[data-starting-style]{opacity:0}}.z_tds_2f_web-C59jJVa{display:flex}.z_tds_2f_web-C59jJVb{flex-direction:column}.z_tds_2f_web-C59jJVc{margin-bottom:var(--z-tds_2f_web-spacing-20,1.25rem)}.z_tds_2f_web-C59jJVd{margin-inline:var(--z-tds_2f_web-spacing-_2d_4,-.25rem)}.z_tds_2f_web-C59jJVe{margin-top:var(--z-tds_2f_web-spacing-_2d_4,-.25rem)}.z_tds_2f_web-C59jJVf{max-height:26.25rem}.z_tds_2f_web-C59jJVg{overflow-y:auto}.z_tds_2f_web-C59jJVh{overscroll-behavior:contain}.z_tds_2f_web-C59jJVi{padding:var(--z-tds_2f_web-spacing-4,.25rem)}.z_tds_2f_web-C59jJVj{row-gap:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-C59jJVk{[data-dialog-size=small] &{margin-bottom:var(--z-tds_2f_web-spacing-16,1rem)}}.z_tds_2f_web-C59jJVl{[data-dialog-size] &:last-child,[data-close-button]>&:nth-last-child(2){margin-bottom:var(--z-tds_2f_web-spacing-_2d_4,-.25rem)}}.z_tds_2f_web-C59jJVm{inset-block-start:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-C59jJVn{inset-inline-end:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-C59jJVo{position:absolute}.z_tds_2f_web-C59jJVp{[data-dialog-size=large]>&,[data-dialog-size=medium]>&{inset-block-start:var(--z-tds_2f_web-spacing-32,2rem)}}.z_tds_2f_web-C59jJVq{[data-dialog-size=large]>&,[data-dialog-size=medium]>&{inset-inline-end:var(--z-tds_2f_web-spacing-32,2rem)}}.z_tds_2f_web-C59jJVr{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-C59jJVs{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-C59jJVt{font-family:var(--z-tds_2f_web-typography-body-b2-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-C59jJVu{font-size:var(--z-tds_2f_web-typography-body-b2-fontSize,14px)}.z_tds_2f_web-C59jJVv{font-weight:var(--z-tds_2f_web-typography-body-b2-fontWeight,400)}.z_tds_2f_web-C59jJVw{letter-spacing:var(--z-tds_2f_web-typography-body-b2-letterSpacing,.14px)}.z_tds_2f_web-C59jJVx{line-height:var(--z-tds_2f_web-typography-body-b2-lineHeight,20px)}.z_tds_2f_web-C59jJVy{h2+&{margin-top:var(--z-tds_2f_web-spacing-8,.5rem)}}.z_tds_2f_web-C59jJVz{margin-bottom:var(--z-tds_2f_web-spacing-24,1.5rem)}.z_tds_2f_web-C59jJV10{&>:not(h2,p,[data-dialog-nav]){margin-bottom:var(--z-tds_2f_web-spacing-24,1.5rem)}}.z_tds_2f_web-C59jJV11{[data-dialog-size] &:last-child,[data-close-button]>&:nth-last-child(2){margin-bottom:var(--z-tds_2f_web-spacing-0,0rem)}}.z_tds_2f_web-C59jJV12{[data-dialog-size=small] &{margin-bottom:var(--z-tds_2f_web-spacing-20,1.25rem)}}.z_tds_2f_web-C59jJV13{&:where([data-layout=centered]){align-items:center}}.z_tds_2f_web-C59jJV14{&:where([data-layout=centered]){text-align:center}}.z_tds_2f_web-C59jJV15{&:where([data-layout=centered]){&>:is(div,h2,p){align-self:stretch}}}.z_tds_2f_web-C59jJV16{&:where([data-layout=inline]){[data-close-button] &{padding-inline-end:var(--z-tds_2f_web-spacing-56,3.5rem)}}}.z_tds_2f_web-C59jJV17{&:where([data-layout=inline]){[data-close-button] &{padding-top:var(--z-tds_2f_web-spacing-8,.5rem)}}}.z_tds_2f_web-C59jJV18{align-items:center}.z_tds_2f_web-C59jJV19{column-gap:var(--z-tds_2f_web-spacing-12,.75rem)}.z_tds_2f_web-C59jJV1a{display:grid}.z_tds_2f_web-C59jJV1b{grid-template-columns:2.5rem 1fr 2.5rem}.z_tds_2f_web-C59jJV1c{height:var(--z-tds_2f_web-spacing-40,2.5rem)}.z_tds_2f_web-C59jJV1d{margin-bottom:var(--z-tds_2f_web-spacing-16,1rem)}.z_tds_2f_web-C59jJV1e{&>*{grid-column:2}}.z_tds_2f_web-C59jJV1f{&>*{justify-self:center}}.z_tds_2f_web-C59jJV1g{&>[data-dialog-back]{grid-column:1}}.z_tds_2f_web-C59jJV1h{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-C59jJV1i{box-shadow:0 1px 2px #0000000a,0 16px 48px -12px #00000024}.z_tds_2f_web-C59jJV1j{box-sizing:border-box}.z_tds_2f_web-C59jJV1k{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-C59jJV1l{outline:none}.z_tds_2f_web-C59jJV1m{position:relative}.z_tds_2f_web-C59jJV1n{transition-duration:var(--z-tds_2f_web-transitionDuration-280,.28s)}.z_tds_2f_web-C59jJV1o{transition-property:opacity,scale,transform}.z_tds_2f_web-C59jJV1p{transition-timing-function:var(--z-tds_2f_web-ease-spring,cubic-bezier(.32, .72, 0, 1))}.z_tds_2f_web-C59jJV1q{width:100%}.z_tds_2f_web-C59jJV1r{&[data-ending-style]{opacity:0}}.z_tds_2f_web-C59jJV1s{&[data-ending-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}.z_tds_2f_web-C59jJV1t{&[data-ending-style]{transition-duration:var(--z-tds_2f_web-transitionDuration-180,.18s)}}.z_tds_2f_web-C59jJV1u{&[data-starting-style]{opacity:0}}.z_tds_2f_web-C59jJV1v{&[data-starting-style]{scale:var(--z-tds_2f_web-scale-enter,.96)}}@media (width<=37.5rem){.z_tds_2f_web-C59jJV1w{&[data-dialog-size]{max-width:none}}.z_tds_2f_web-C59jJV1x{&[data-ending-style]{scale:none}}.z_tds_2f_web-C59jJV1y{&[data-ending-style]{transform:translateY(calc(100% + 1rem))}}.z_tds_2f_web-C59jJV1z{&[data-starting-style]{scale:none}}.z_tds_2f_web-C59jJV20{&[data-starting-style]{transform:translateY(calc(100% + 1rem))}}}@media (prefers-reduced-motion:reduce){.z_tds_2f_web-C59jJV21{transition-property:opacity}.z_tds_2f_web-C59jJV22{&[data-ending-style],&[data-starting-style]{scale:none}}.z_tds_2f_web-C59jJV23{&[data-ending-style],&[data-starting-style]{transform:none}}}.z_tds_2f_web-C59jJV24{&:where([data-size=large]){border-radius:var(--z-tds_2f_web-radius-lg,calc(2rem * var(--tds-corner-scale,1)))}}.z_tds_2f_web-C59jJV25{&:where([data-size=large]){max-width:38.75rem}}.z_tds_2f_web-C59jJV26{&:where([data-size=large]){padding:var(--z-tds_2f_web-spacing-32,2rem)}}.z_tds_2f_web-C59jJV27{&:where([data-size=medium]){border-radius:var(--z-tds_2f_web-radius-lg,calc(2rem * var(--tds-corner-scale,1)))}}.z_tds_2f_web-C59jJV28{&:where([data-size=medium]){max-width:28.75rem}}.z_tds_2f_web-C59jJV29{&:where([data-size=medium]){padding:var(--z-tds_2f_web-spacing-32,2rem)}}.z_tds_2f_web-C59jJV2a{&:where([data-size=small]){border-radius:var(--z-tds_2f_web-radius-md,calc(1.5rem * var(--tds-corner-scale,1)))}}.z_tds_2f_web-C59jJV2b{&:where([data-size=small]){max-width:25rem}}.z_tds_2f_web-C59jJV2c{&:where([data-size=small]){padding:var(--z-tds_2f_web-spacing-24,1.5rem)}}.z_tds_2f_web-C59jJV2d{margin:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-C59jJV2e{font-family:var(--z-tds_2f_web-typography-heading-h3-fontFamily,var(--z-tds_2f_web-fontFamily-heading,Pilat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif))}.z_tds_2f_web-C59jJV2f{font-size:var(--z-tds_2f_web-typography-heading-h3-fontSize,20px)}.z_tds_2f_web-C59jJV2g{font-weight:var(--z-tds_2f_web-typography-heading-h3-fontWeight,500)}.z_tds_2f_web-C59jJV2h{letter-spacing:var(--z-tds_2f_web-typography-heading-h3-letterSpacing,-.3px)}.z_tds_2f_web-C59jJV2i{line-height:var(--z-tds_2f_web-typography-heading-h3-lineHeight,23px)}.z_tds_2f_web-C59jJV2j{[data-dialog-size=large] &,[data-dialog-size=medium] &{font-family:var(--z-tds_2f_web-typography-heading-h1-fontFamily,var(--z-tds_2f_web-fontFamily-heading,Pilat, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif))}}.z_tds_2f_web-C59jJV2k{[data-dialog-size=large] &,[data-dialog-size=medium] &{font-size:var(--z-tds_2f_web-typography-heading-h1-fontSize,32px)}}.z_tds_2f_web-C59jJV2l{[data-dialog-size=large] &,[data-dialog-size=medium] &{font-weight:var(--z-tds_2f_web-typography-heading-h1-fontWeight,500)}}.z_tds_2f_web-C59jJV2m{[data-dialog-size=large] &,[data-dialog-size=medium] &{letter-spacing:var(--z-tds_2f_web-typography-heading-h1-letterSpacing,-.48px)}}.z_tds_2f_web-C59jJV2n{[data-dialog-size=large] &,[data-dialog-size=medium] &{line-height:var(--z-tds_2f_web-typography-heading-h1-lineHeight,36.8px)}}.z_tds_2f_web-C59jJV2o{align-items:center}.z_tds_2f_web-C59jJV2p{inset:var(--z-tds_2f_web-spacing-0,0rem)}.z_tds_2f_web-C59jJV2q{justify-items:center}.z_tds_2f_web-C59jJV2r{padding:var(--z-tds_2f_web-spacing-16,1rem)}.z_tds_2f_web-C59jJV2s{position:fixed}@media (width<=37.5rem){.z_tds_2f_web-C59jJV2t{align-items:end}.z_tds_2f_web-C59jJV2u{padding-bottom:calc(1rem + env(safe-area-inset-bottom,0px))}}
|
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
import * as BaseUi from '@base-ui/react/dialog';
|
|
2
2
|
import type { ComponentPropsWithRef } from 'react';
|
|
3
3
|
import type * as zyzz from 'zyzz';
|
|
4
|
+
import { Button } from './Button.js';
|
|
4
5
|
/**
|
|
5
6
|
* A `role="dialog"` popup over a dimmed backdrop. Base UI makes it modal by default: focus is
|
|
6
7
|
* trapped, page scroll is locked, Escape and outside presses close it, and focus returns to the
|
|
7
|
-
* trigger. Viewports up to
|
|
8
|
+
* trigger. Viewports up to 37.5rem wide present it at the bottom, full width with a 16px gutter.
|
|
8
9
|
*
|
|
9
10
|
* - Always render a `Dialog.Title`. Base UI points `aria-labelledby` at it to name the dialog.
|
|
10
|
-
* -
|
|
11
|
+
* - Pick `size` from what the dialog holds, and keep one size for every step of a flow.
|
|
12
|
+
* - Stack `Dialog.Header`, `Dialog.Body` and a `ButtonGroup` of `large` buttons in the popup.
|
|
13
|
+
* - Keep each dialog to one task. Swap its content for the next step instead of opening another.
|
|
11
14
|
* - Include a visible close control, such as `closeButton` or a `Dialog.Close` action.
|
|
12
|
-
* - Use `AlertDialog` for destructive confirmations that need an explicit decision.
|
|
13
15
|
*
|
|
14
16
|
* @example
|
|
15
17
|
* <Dialog.Root>
|
|
16
|
-
* <Dialog.Trigger render={<Button />}>
|
|
17
|
-
* <Dialog.Popup closeButton>
|
|
18
|
-
* <Dialog.
|
|
19
|
-
*
|
|
18
|
+
* <Dialog.Trigger render={<Button />}>Revoke all</Dialog.Trigger>
|
|
19
|
+
* <Dialog.Popup closeButton size="small">
|
|
20
|
+
* <Dialog.Header>
|
|
21
|
+
* <Dialog.Title>Revoke all connections?</Dialog.Title>
|
|
22
|
+
* <Dialog.Description>Apps and agents lose access right away.</Dialog.Description>
|
|
23
|
+
* </Dialog.Header>
|
|
24
|
+
* <ButtonGroup>
|
|
25
|
+
* <Dialog.Close render={<Button size="large" variant="secondary" />}>Cancel</Dialog.Close>
|
|
26
|
+
* <Button size="large">Revoke all</Button>
|
|
27
|
+
* </ButtonGroup>
|
|
20
28
|
* </Dialog.Popup>
|
|
21
29
|
* </Dialog.Root>
|
|
22
30
|
*
|
|
@@ -29,16 +37,23 @@ import type * as zyzz from 'zyzz';
|
|
|
29
37
|
export declare namespace Dialog {
|
|
30
38
|
/** Closes the dialog when pressed. Renders a `<button>` unless `render` supplies another. */
|
|
31
39
|
const Close: import("react").ForwardRefExoticComponent<Omit<BaseUi.DialogCloseProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
32
|
-
/**
|
|
33
|
-
* Owns the open state and renders no element. Pass `open` and `onOpenChange` to control it.
|
|
34
|
-
* Set `modal` to `false` to keep the page interactive, or to `'trap-focus'` to trap focus
|
|
35
|
-
* without locking scroll.
|
|
36
|
-
*/
|
|
37
|
-
const Root: <Payload>(props: BaseUi.Dialog.Root.Props<Payload>) => import("react").JSX.Element;
|
|
38
40
|
/** Opens the dialog when pressed. Renders a `<button>` unless `render` supplies another. */
|
|
39
41
|
const Trigger: BaseUi.DialogTrigger;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Renders a 40px circular `Button` labelled "Back" with a left arrow, for step 2 onward of a
|
|
44
|
+
* flow. Place it first in a `Dialog.Nav`, and handle `onClick` to show the previous step.
|
|
45
|
+
*/
|
|
46
|
+
function Back(props: Back.Props): import("react").JSX.Element;
|
|
47
|
+
namespace Back {
|
|
48
|
+
type Props = Omit<Button.Props, 'children' | 'shape' | 'size' | 'variant'>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Renders the content `<div>` between the header and the footer, with sections 24px apart. Past
|
|
52
|
+
* 420px it scrolls, while the header and the footer stay in place.
|
|
53
|
+
*/
|
|
54
|
+
function Body(props: Body.Props): import("react").JSX.Element;
|
|
55
|
+
namespace Body {
|
|
56
|
+
type Props = ComponentPropsWithRef<'div'> & zyzz.Props.Variants<typeof styles.body>;
|
|
42
57
|
}
|
|
43
58
|
/** Renders a `<p>` that Base UI references from the popup's `aria-describedby`. */
|
|
44
59
|
function Description(props: Description.Props): import("react").JSX.Element;
|
|
@@ -46,9 +61,36 @@ export declare namespace Dialog {
|
|
|
46
61
|
type Props = ComponentPropsWithRef<'p'> & zyzz.Props.Variants<typeof styles.description>;
|
|
47
62
|
}
|
|
48
63
|
/**
|
|
49
|
-
* Renders the
|
|
50
|
-
*
|
|
51
|
-
*
|
|
64
|
+
* Renders the `<div>` that holds a `Dialog.Title`, an optional `Dialog.Description`, and above
|
|
65
|
+
* them an optional `Dialog.Nav` and one hero, such as an `IconTile` or a `Visual`. The title
|
|
66
|
+
* renders at 20px in a `small` popup and 32px otherwise.
|
|
67
|
+
*
|
|
68
|
+
* `layout` places the parts:
|
|
69
|
+
* - `inline` (default): keeps the text clear of `closeButton`, for single-step dialogs.
|
|
70
|
+
* - `stacked`: puts a `Dialog.Nav` above left-aligned text, for step 2 onward of a flow.
|
|
71
|
+
* - `centered`: centers the hero and the text below a `Dialog.Nav`, for acknowledgments,
|
|
72
|
+
* onboarding, progress and success.
|
|
73
|
+
*/
|
|
74
|
+
function Header(props: Header.Props): import("react").JSX.Element;
|
|
75
|
+
namespace Header {
|
|
76
|
+
type Props = ComponentPropsWithRef<'div'> & zyzz.Props.Variants<typeof styles.header>;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Renders the 40px `<div>` row at the top of a `stacked` or `centered` header. A `Dialog.Back`
|
|
80
|
+
* takes the first cell, any other child, such as a `Stepper`, centers in the middle, and the last
|
|
81
|
+
* cell stays clear for `closeButton`.
|
|
82
|
+
*/
|
|
83
|
+
function Nav(props: Nav.Props): import("react").JSX.Element;
|
|
84
|
+
namespace Nav {
|
|
85
|
+
type Props = ComponentPropsWithRef<'div'> & zyzz.Props.Variants<typeof styles.nav>;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Renders the portal, scrim, viewport and popup. `size` sets the width with the radius and
|
|
89
|
+
* padding: `small` is 400px with radius `md` and 24px padding, for one decision or outcome.
|
|
90
|
+
* `medium` (default) is 460px and `large` is 620px, both with radius `lg` and 32px padding. Viewports up to 37.5rem
|
|
91
|
+
* wide present every size at the bottom, full width with a 16px gutter. `ref`, `className` and
|
|
92
|
+
* `style` reach the popup. `initialFocus` and `finalFocus` override where focus moves on open and
|
|
93
|
+
* on close.
|
|
52
94
|
*/
|
|
53
95
|
function Popup(props: Popup.Props): import("react").JSX.Element;
|
|
54
96
|
namespace Popup {
|
|
@@ -61,7 +103,18 @@ export declare namespace Dialog {
|
|
|
61
103
|
closeButton?: boolean | undefined;
|
|
62
104
|
};
|
|
63
105
|
}
|
|
64
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Owns the open state and renders no element. Pass `open` and `onOpenChange` to control it. The
|
|
108
|
+
* dialog is always modal: it traps focus, locks page scroll and makes the page behind inert.
|
|
109
|
+
*/
|
|
110
|
+
function Root(props: Root.Props): import("react").JSX.Element;
|
|
111
|
+
namespace Root {
|
|
112
|
+
type Props = Omit<BaseUi.Dialog.Root.Props, 'modal'>;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Renders an `<h2>` that Base UI references from the popup's `aria-labelledby`, at 20px in a
|
|
116
|
+
* `small` popup and 32px otherwise.
|
|
117
|
+
*/
|
|
65
118
|
function Title(props: Title.Props): import("react").JSX.Element;
|
|
66
119
|
namespace Title {
|
|
67
120
|
type Props = ComponentPropsWithRef<'h2'> & zyzz.Props.Variants<typeof styles.title>;
|
|
@@ -69,9 +122,125 @@ export declare namespace Dialog {
|
|
|
69
122
|
}
|
|
70
123
|
export declare namespace styles {
|
|
71
124
|
const backdrop: zyzz.style.ReturnType<"react">;
|
|
125
|
+
const body: zyzz.style.ReturnType<"react">;
|
|
72
126
|
const close: zyzz.style.ReturnType<"react">;
|
|
73
127
|
const description: zyzz.style.ReturnType<"react">;
|
|
74
|
-
const
|
|
128
|
+
const header: zyzz.variants.ReturnType<{
|
|
129
|
+
readonly base: {
|
|
130
|
+
readonly display: "flex";
|
|
131
|
+
readonly flexDirection: "column";
|
|
132
|
+
readonly marginBottom: "24";
|
|
133
|
+
readonly selectors: {
|
|
134
|
+
readonly '& > :not(h2, p, [data-dialog-nav])': {
|
|
135
|
+
readonly marginBottom: "24";
|
|
136
|
+
};
|
|
137
|
+
readonly '[data-dialog-size] &:last-child, [data-close-button] > &:nth-last-child(2)': {
|
|
138
|
+
readonly marginBottom: "0";
|
|
139
|
+
};
|
|
140
|
+
readonly '[data-dialog-size="small"] &': {
|
|
141
|
+
readonly marginBottom: "20";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
readonly defaultVariants: {
|
|
146
|
+
readonly layout: "inline";
|
|
147
|
+
};
|
|
148
|
+
readonly variants: {
|
|
149
|
+
readonly layout: {
|
|
150
|
+
readonly centered: {
|
|
151
|
+
readonly alignItems: "center";
|
|
152
|
+
readonly textAlign: "center";
|
|
153
|
+
readonly selectors: {
|
|
154
|
+
readonly '& > :is(div, h2, p)': {
|
|
155
|
+
readonly alignSelf: "stretch";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
readonly inline: {
|
|
160
|
+
readonly selectors: {
|
|
161
|
+
readonly '[data-close-button] &': {
|
|
162
|
+
readonly paddingInlineEnd: "56";
|
|
163
|
+
readonly paddingTop: "8";
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly stacked: {};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}, "react">;
|
|
171
|
+
const nav: zyzz.style.ReturnType<"react">;
|
|
172
|
+
const popup: zyzz.variants.ReturnType<{
|
|
173
|
+
readonly base: {
|
|
174
|
+
readonly backgroundColor: "background.elevated";
|
|
175
|
+
readonly boxShadow: "0 1px 2px #0000000a, 0 16px 48px -12px #00000024 !custom";
|
|
176
|
+
readonly boxSizing: "border-box";
|
|
177
|
+
readonly color: "content.primary";
|
|
178
|
+
readonly outline: "none !custom";
|
|
179
|
+
readonly position: "relative";
|
|
180
|
+
readonly transitionDuration: "280";
|
|
181
|
+
readonly transitionProperty: "opacity, scale, transform";
|
|
182
|
+
readonly transitionTimingFunction: "spring";
|
|
183
|
+
readonly typography: "body.b2";
|
|
184
|
+
readonly width: "100% !custom";
|
|
185
|
+
readonly selectors: {
|
|
186
|
+
readonly '&[data-ending-style]': {
|
|
187
|
+
readonly opacity: "0 !custom";
|
|
188
|
+
readonly scale: "enter";
|
|
189
|
+
readonly transitionDuration: "180";
|
|
190
|
+
};
|
|
191
|
+
readonly '&[data-starting-style]': {
|
|
192
|
+
readonly opacity: "0 !custom";
|
|
193
|
+
readonly scale: "enter";
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
readonly '@media (max-width: 37.5rem)': {
|
|
197
|
+
readonly selectors: {
|
|
198
|
+
readonly '&[data-dialog-size]': {
|
|
199
|
+
readonly maxWidth: "none !custom";
|
|
200
|
+
};
|
|
201
|
+
readonly '&[data-ending-style]': {
|
|
202
|
+
readonly scale: "none !custom";
|
|
203
|
+
readonly transform: "translateY(calc(100% + 1rem)) !custom";
|
|
204
|
+
};
|
|
205
|
+
readonly '&[data-starting-style]': {
|
|
206
|
+
readonly scale: "none !custom";
|
|
207
|
+
readonly transform: "translateY(calc(100% + 1rem)) !custom";
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
readonly '@media (prefers-reduced-motion: reduce)': {
|
|
212
|
+
readonly transitionProperty: "opacity";
|
|
213
|
+
readonly selectors: {
|
|
214
|
+
readonly '&[data-ending-style], &[data-starting-style]': {
|
|
215
|
+
readonly scale: "none !custom";
|
|
216
|
+
readonly transform: "none !custom";
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
readonly defaultVariants: {
|
|
222
|
+
readonly size: "medium";
|
|
223
|
+
};
|
|
224
|
+
readonly variants: {
|
|
225
|
+
readonly size: {
|
|
226
|
+
readonly large: {
|
|
227
|
+
readonly borderRadius: "lg";
|
|
228
|
+
readonly maxWidth: "38.75rem !custom";
|
|
229
|
+
readonly padding: "32";
|
|
230
|
+
};
|
|
231
|
+
readonly medium: {
|
|
232
|
+
readonly borderRadius: "lg";
|
|
233
|
+
readonly maxWidth: "28.75rem !custom";
|
|
234
|
+
readonly padding: "32";
|
|
235
|
+
};
|
|
236
|
+
readonly small: {
|
|
237
|
+
readonly borderRadius: "md";
|
|
238
|
+
readonly maxWidth: "25rem !custom";
|
|
239
|
+
readonly padding: "24";
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
}, "react">;
|
|
75
244
|
const title: zyzz.style.ReturnType<"react">;
|
|
76
245
|
const viewport: zyzz.style.ReturnType<"react">;
|
|
77
246
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/web/components/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAA;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/web/components/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAA;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAA;AAIjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,yBAAiB,MAAM,CAAC;IACtB,6FAA6F;IACtF,MAAM,KAAK,oIAAsB,CAAA;IAExC,4FAA4F;IACrF,MAAM,OAAO,sBAAwB,CAAA;IAE5C;;;OAGG;IACH,SAAgB,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,+BAarC;IAED,UAAiB,IAAI,CAAC;QACpB,KA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ime';
|
|
3
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
4
|
import * as BaseUi from '@base-ui/react/dialog';
|
|
5
|
+
import { ArrowLeft } from '../icons/ArrowLeft.js';
|
|
5
6
|
import { Close as CloseIcon } from '../icons/Close.js';
|
|
6
|
-
import { style } from '../zyzz.config.js';
|
|
7
|
+
import { style, variants } from '../zyzz.config.js';
|
|
7
8
|
import { Button } from './Button.js';
|
|
8
9
|
/**
|
|
9
10
|
* A `role="dialog"` popup over a dimmed backdrop. Base UI makes it modal by default: focus is
|
|
10
11
|
* trapped, page scroll is locked, Escape and outside presses close it, and focus returns to the
|
|
11
|
-
* trigger. Viewports up to
|
|
12
|
+
* trigger. Viewports up to 37.5rem wide present it at the bottom, full width with a 16px gutter.
|
|
12
13
|
*
|
|
13
14
|
* - Always render a `Dialog.Title`. Base UI points `aria-labelledby` at it to name the dialog.
|
|
14
|
-
* -
|
|
15
|
+
* - Pick `size` from what the dialog holds, and keep one size for every step of a flow.
|
|
16
|
+
* - Stack `Dialog.Header`, `Dialog.Body` and a `ButtonGroup` of `large` buttons in the popup.
|
|
17
|
+
* - Keep each dialog to one task. Swap its content for the next step instead of opening another.
|
|
15
18
|
* - Include a visible close control, such as `closeButton` or a `Dialog.Close` action.
|
|
16
|
-
* - Use `AlertDialog` for destructive confirmations that need an explicit decision.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* <Dialog.Root>
|
|
20
|
-
* <Dialog.Trigger render={<Button />}>
|
|
21
|
-
* <Dialog.Popup closeButton>
|
|
22
|
-
* <Dialog.
|
|
23
|
-
*
|
|
22
|
+
* <Dialog.Trigger render={<Button />}>Revoke all</Dialog.Trigger>
|
|
23
|
+
* <Dialog.Popup closeButton size="small">
|
|
24
|
+
* <Dialog.Header>
|
|
25
|
+
* <Dialog.Title>Revoke all connections?</Dialog.Title>
|
|
26
|
+
* <Dialog.Description>Apps and agents lose access right away.</Dialog.Description>
|
|
27
|
+
* </Dialog.Header>
|
|
28
|
+
* <ButtonGroup>
|
|
29
|
+
* <Dialog.Close render={<Button size="large" variant="secondary" />}>Cancel</Dialog.Close>
|
|
30
|
+
* <Button size="large">Revoke all</Button>
|
|
31
|
+
* </ButtonGroup>
|
|
24
32
|
* </Dialog.Popup>
|
|
25
33
|
* </Dialog.Root>
|
|
26
34
|
*
|
|
@@ -34,14 +42,25 @@ export var Dialog;
|
|
|
34
42
|
(function (Dialog) {
|
|
35
43
|
/** Closes the dialog when pressed. Renders a `<button>` unless `render` supplies another. */
|
|
36
44
|
Dialog.Close = BaseUi.Dialog.Close;
|
|
37
|
-
/**
|
|
38
|
-
* Owns the open state and renders no element. Pass `open` and `onOpenChange` to control it.
|
|
39
|
-
* Set `modal` to `false` to keep the page interactive, or to `'trap-focus'` to trap focus
|
|
40
|
-
* without locking scroll.
|
|
41
|
-
*/
|
|
42
|
-
Dialog.Root = BaseUi.Dialog.Root;
|
|
43
45
|
/** Opens the dialog when pressed. Renders a `<button>` unless `render` supplies another. */
|
|
44
46
|
Dialog.Trigger = BaseUi.Dialog.Trigger;
|
|
47
|
+
/**
|
|
48
|
+
* Renders a 40px circular `Button` labelled "Back" with a left arrow, for step 2 onward of a
|
|
49
|
+
* flow. Place it first in a `Dialog.Nav`, and handle `onClick` to show the previous step.
|
|
50
|
+
*/
|
|
51
|
+
function Back(props) {
|
|
52
|
+
return (_jsx(Button, { "aria-label": "Back", ...props, "data-dialog-back": "", shape: "icon", size: "medium", variant: "secondary", children: _jsx(ArrowLeft, {}) }));
|
|
53
|
+
}
|
|
54
|
+
Dialog.Back = Back;
|
|
55
|
+
/**
|
|
56
|
+
* Renders the content `<div>` between the header and the footer, with sections 24px apart. Past
|
|
57
|
+
* 420px it scrolls, while the header and the footer stay in place.
|
|
58
|
+
*/
|
|
59
|
+
function Body(props) {
|
|
60
|
+
const { className, vars, ...attributes } = props;
|
|
61
|
+
return _jsx("div", { ...attributes, ...styles.body({ className, style: props.style, vars }) });
|
|
62
|
+
}
|
|
63
|
+
Dialog.Body = Body;
|
|
45
64
|
/** Renders a `<p>` that Base UI references from the popup's `aria-describedby`. */
|
|
46
65
|
function Description(props) {
|
|
47
66
|
const { className, vars, ...attributes } = props;
|
|
@@ -49,31 +68,79 @@ export var Dialog;
|
|
|
49
68
|
}
|
|
50
69
|
Dialog.Description = Description;
|
|
51
70
|
/**
|
|
52
|
-
* Renders the
|
|
53
|
-
*
|
|
54
|
-
*
|
|
71
|
+
* Renders the `<div>` that holds a `Dialog.Title`, an optional `Dialog.Description`, and above
|
|
72
|
+
* them an optional `Dialog.Nav` and one hero, such as an `IconTile` or a `Visual`. The title
|
|
73
|
+
* renders at 20px in a `small` popup and 32px otherwise.
|
|
74
|
+
*
|
|
75
|
+
* `layout` places the parts:
|
|
76
|
+
* - `inline` (default): keeps the text clear of `closeButton`, for single-step dialogs.
|
|
77
|
+
* - `stacked`: puts a `Dialog.Nav` above left-aligned text, for step 2 onward of a flow.
|
|
78
|
+
* - `centered`: centers the hero and the text below a `Dialog.Nav`, for acknowledgments,
|
|
79
|
+
* onboarding, progress and success.
|
|
80
|
+
*/
|
|
81
|
+
function Header(props) {
|
|
82
|
+
const { className, layout, vars, ...attributes } = props;
|
|
83
|
+
return (_jsx("div", { ...attributes, ...styles.header({ className, layout, style: props.style, vars }) }));
|
|
84
|
+
}
|
|
85
|
+
Dialog.Header = Header;
|
|
86
|
+
/**
|
|
87
|
+
* Renders the 40px `<div>` row at the top of a `stacked` or `centered` header. A `Dialog.Back`
|
|
88
|
+
* takes the first cell, any other child, such as a `Stepper`, centers in the middle, and the last
|
|
89
|
+
* cell stays clear for `closeButton`.
|
|
90
|
+
*/
|
|
91
|
+
function Nav(props) {
|
|
92
|
+
const { className, vars, ...attributes } = props;
|
|
93
|
+
return (_jsx("div", { ...attributes, "data-dialog-nav": "", ...styles.nav({ className, style: props.style, vars }) }));
|
|
94
|
+
}
|
|
95
|
+
Dialog.Nav = Nav;
|
|
96
|
+
/**
|
|
97
|
+
* Renders the portal, scrim, viewport and popup. `size` sets the width with the radius and
|
|
98
|
+
* padding: `small` is 400px with radius `md` and 24px padding, for one decision or outcome.
|
|
99
|
+
* `medium` (default) is 460px and `large` is 620px, both with radius `lg` and 32px padding. Viewports up to 37.5rem
|
|
100
|
+
* wide present every size at the bottom, full width with a 16px gutter. `ref`, `className` and
|
|
101
|
+
* `style` reach the popup. `initialFocus` and `finalFocus` override where focus moves on open and
|
|
102
|
+
* on close.
|
|
55
103
|
*/
|
|
56
104
|
function Popup(props) {
|
|
57
|
-
const { children, className, closeButton = false, vars, ...attributes } = props;
|
|
58
|
-
return (_jsxs(BaseUi.Dialog.Portal, { children: [_jsx(BaseUi.Dialog.Backdrop, { ...styles.backdrop() }), _jsx(BaseUi.Dialog.Viewport, { ...styles.viewport(), children: _jsxs(BaseUi.Dialog.Popup, { ...attributes, "data-close-button": closeButton || undefined, ...styles.popup({ className, style: props.style, vars }), children: [children, closeButton && (_jsx(BaseUi.Dialog.Close, { "aria-label": "Close", render: _jsx(Button, { shape: "icon", size: "medium", variant: "secondary", ...styles.close() }), children: _jsx(CloseIcon, {}) }))] }) })] }));
|
|
105
|
+
const { children, className, closeButton = false, size, vars, ...attributes } = props;
|
|
106
|
+
return (_jsxs(BaseUi.Dialog.Portal, { children: [_jsx(BaseUi.Dialog.Backdrop, { ...styles.backdrop() }), _jsx(BaseUi.Dialog.Viewport, { ...styles.viewport(), children: _jsxs(BaseUi.Dialog.Popup, { ...attributes, "data-close-button": closeButton || undefined, "data-dialog-size": size ?? 'medium', ...styles.popup({ className, size, style: props.style, vars }), children: [children, closeButton && (_jsx(BaseUi.Dialog.Close, { "aria-label": "Close", render: _jsx(Button, { shape: "icon", size: "medium", variant: "secondary", ...styles.close() }), children: _jsx(CloseIcon, {}) }))] }) })] }));
|
|
59
107
|
}
|
|
60
108
|
Dialog.Popup = Popup;
|
|
61
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Owns the open state and renders no element. Pass `open` and `onOpenChange` to control it. The
|
|
111
|
+
* dialog is always modal: it traps focus, locks page scroll and makes the page behind inert.
|
|
112
|
+
*/
|
|
113
|
+
function Root(props) {
|
|
114
|
+
return _jsx(BaseUi.Dialog.Root, { ...props });
|
|
115
|
+
}
|
|
116
|
+
Dialog.Root = Root;
|
|
117
|
+
/**
|
|
118
|
+
* Renders an `<h2>` that Base UI references from the popup's `aria-labelledby`, at 20px in a
|
|
119
|
+
* `small` popup and 32px otherwise.
|
|
120
|
+
*/
|
|
62
121
|
function Title(props) {
|
|
63
122
|
const { className, vars, ...attributes } = props;
|
|
64
123
|
return (_jsx(BaseUi.Dialog.Title, { ...attributes, ...styles.title({ className, style: props.style, vars }) }));
|
|
65
124
|
}
|
|
66
125
|
Dialog.Title = Title;
|
|
67
126
|
})(Dialog || (Dialog = {}));
|
|
127
|
+
// Drawer shares `close`, `description` and `title`. Outside a sized popup, they take the values of
|
|
128
|
+
// the `small` size.
|
|
68
129
|
export var styles;
|
|
69
130
|
(function (styles) {
|
|
70
131
|
styles.backdrop = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJV0 z_tds_2f_web-C59jJV1 z_tds_2f_web-C59jJV2 z_tds_2f_web-C59jJV3 z_tds_2f_web-C59jJV4 z_tds_2f_web-C59jJV5 z_tds_2f_web-C59jJV6 z_tds_2f_web-C59jJV7 z_tds_2f_web-C59jJV8 z_tds_2f_web-C59jJV9"});
|
|
71
|
-
//
|
|
72
|
-
|
|
73
|
-
styles.
|
|
74
|
-
|
|
75
|
-
styles.
|
|
76
|
-
styles.
|
|
132
|
+
// Bleeds 4px into the popup padding with matching padding, so the scroll container keeps room
|
|
133
|
+
// for focus rings. The bottom margins are the section gaps less those 4px.
|
|
134
|
+
styles.body = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJVa z_tds_2f_web-C59jJVb z_tds_2f_web-C59jJVc z_tds_2f_web-C59jJVd z_tds_2f_web-C59jJVe z_tds_2f_web-C59jJVf z_tds_2f_web-C59jJVg z_tds_2f_web-C59jJVh z_tds_2f_web-C59jJVi z_tds_2f_web-C59jJVj z_tds_2f_web-C59jJVk z_tds_2f_web-C59jJVl"});
|
|
135
|
+
// The 40px circle sits in the popup's padding corner, which the header keeps clear.
|
|
136
|
+
styles.close = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJVm z_tds_2f_web-C59jJVn z_tds_2f_web-C59jJVo z_tds_2f_web-C59jJVp z_tds_2f_web-C59jJVq"});
|
|
137
|
+
styles.description = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJVr z_tds_2f_web-C59jJVs z_tds_2f_web-C59jJVt z_tds_2f_web-C59jJVu z_tds_2f_web-C59jJVv z_tds_2f_web-C59jJVw z_tds_2f_web-C59jJVx z_tds_2f_web-C59jJVy"});
|
|
138
|
+
styles.header = ((input={})=>{const external=input.className,style=input.style,vars=input.vars,inline=vars?{...vars,...style}:style,className=external?"z_tds_2f_web-C59jJVa z_tds_2f_web-C59jJVb z_tds_2f_web-C59jJVz z_tds_2f_web-C59jJV10 z_tds_2f_web-C59jJV11 z_tds_2f_web-C59jJV12 z_tds_2f_web-C59jJV13 z_tds_2f_web-C59jJV14 z_tds_2f_web-C59jJV15 z_tds_2f_web-C59jJV16 z_tds_2f_web-C59jJV17"+" "+external:"z_tds_2f_web-C59jJVa z_tds_2f_web-C59jJVb z_tds_2f_web-C59jJVz z_tds_2f_web-C59jJV10 z_tds_2f_web-C59jJV11 z_tds_2f_web-C59jJV12 z_tds_2f_web-C59jJV13 z_tds_2f_web-C59jJV14 z_tds_2f_web-C59jJV15 z_tds_2f_web-C59jJV16 z_tds_2f_web-C59jJV17",result=inline?{className,style:inline}:{className};let value;value=Object.hasOwn(input,"layout")?input["layout"]:void 0;if(value===void 0)value="inline";if(value!==null&&value!==void 0)result["data-layout"]=String(value);return result});
|
|
139
|
+
styles.nav = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJV18 z_tds_2f_web-C59jJV19 z_tds_2f_web-C59jJV1a z_tds_2f_web-C59jJV1b z_tds_2f_web-C59jJV1c z_tds_2f_web-C59jJV1d z_tds_2f_web-C59jJV1e z_tds_2f_web-C59jJV1f z_tds_2f_web-C59jJV1g"});
|
|
140
|
+
// The Wallet Modal shadow has no Platform equivalent, so it stays a literal.
|
|
141
|
+
styles.popup = ((input={})=>{const external=input.className,style=input.style,vars=input.vars,inline=vars?{...vars,...style}:style,className=external?"z_tds_2f_web-C59jJV1h z_tds_2f_web-C59jJV1i z_tds_2f_web-C59jJV1j z_tds_2f_web-C59jJV1k z_tds_2f_web-C59jJV1l z_tds_2f_web-C59jJV1m z_tds_2f_web-C59jJV1n z_tds_2f_web-C59jJV1o z_tds_2f_web-C59jJV1p z_tds_2f_web-C59jJVt z_tds_2f_web-C59jJVu z_tds_2f_web-C59jJVv z_tds_2f_web-C59jJVw z_tds_2f_web-C59jJVx z_tds_2f_web-C59jJV1q z_tds_2f_web-C59jJV1r z_tds_2f_web-C59jJV1s z_tds_2f_web-C59jJV1t z_tds_2f_web-C59jJV1u z_tds_2f_web-C59jJV1v z_tds_2f_web-C59jJV1w z_tds_2f_web-C59jJV1x z_tds_2f_web-C59jJV1y z_tds_2f_web-C59jJV1z z_tds_2f_web-C59jJV20 z_tds_2f_web-C59jJV21 z_tds_2f_web-C59jJV22 z_tds_2f_web-C59jJV23 z_tds_2f_web-C59jJV24 z_tds_2f_web-C59jJV25 z_tds_2f_web-C59jJV26 z_tds_2f_web-C59jJV27 z_tds_2f_web-C59jJV28 z_tds_2f_web-C59jJV29 z_tds_2f_web-C59jJV2a z_tds_2f_web-C59jJV2b z_tds_2f_web-C59jJV2c"+" "+external:"z_tds_2f_web-C59jJV1h z_tds_2f_web-C59jJV1i z_tds_2f_web-C59jJV1j z_tds_2f_web-C59jJV1k z_tds_2f_web-C59jJV1l z_tds_2f_web-C59jJV1m z_tds_2f_web-C59jJV1n z_tds_2f_web-C59jJV1o z_tds_2f_web-C59jJV1p z_tds_2f_web-C59jJVt z_tds_2f_web-C59jJVu z_tds_2f_web-C59jJVv z_tds_2f_web-C59jJVw z_tds_2f_web-C59jJVx z_tds_2f_web-C59jJV1q z_tds_2f_web-C59jJV1r z_tds_2f_web-C59jJV1s z_tds_2f_web-C59jJV1t z_tds_2f_web-C59jJV1u z_tds_2f_web-C59jJV1v z_tds_2f_web-C59jJV1w z_tds_2f_web-C59jJV1x z_tds_2f_web-C59jJV1y z_tds_2f_web-C59jJV1z z_tds_2f_web-C59jJV20 z_tds_2f_web-C59jJV21 z_tds_2f_web-C59jJV22 z_tds_2f_web-C59jJV23 z_tds_2f_web-C59jJV24 z_tds_2f_web-C59jJV25 z_tds_2f_web-C59jJV26 z_tds_2f_web-C59jJV27 z_tds_2f_web-C59jJV28 z_tds_2f_web-C59jJV29 z_tds_2f_web-C59jJV2a z_tds_2f_web-C59jJV2b z_tds_2f_web-C59jJV2c",result=inline?{className,style:inline}:{className};let value;value=Object.hasOwn(input,"size")?input["size"]:void 0;if(value===void 0)value="medium";if(value!==null&&value!==void 0)result["data-size"]=String(value);return result});
|
|
142
|
+
styles.title = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJV2d z_tds_2f_web-C59jJV2e z_tds_2f_web-C59jJV2f z_tds_2f_web-C59jJV2g z_tds_2f_web-C59jJV2h z_tds_2f_web-C59jJV2i z_tds_2f_web-C59jJV2j z_tds_2f_web-C59jJV2k z_tds_2f_web-C59jJV2l z_tds_2f_web-C59jJV2m z_tds_2f_web-C59jJV2n"});
|
|
143
|
+
styles.viewport = /*#__PURE__*/__zyzzProps.create({className:"z_tds_2f_web-C59jJV2o z_tds_2f_web-C59jJV1j z_tds_2f_web-C59jJV1a z_tds_2f_web-C59jJV2p z_tds_2f_web-C59jJV2q z_tds_2f_web-C59jJVg z_tds_2f_web-C59jJV2r z_tds_2f_web-C59jJV2s z_tds_2f_web-C59jJV2t z_tds_2f_web-C59jJV2u"});
|
|
77
144
|
})(styles || (styles = {}));
|
|
78
145
|
//# sourceMappingURL=Dialog.js.map
|
|
79
146
|
import './Dialog.css';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.js","sourceRoot":"","sources":["../../../src/web/components/Dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAA;AAG/C,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"Dialog.js","sourceRoot":"","sources":["../../../src/web/components/Dialog.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAA;AAG/C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,KAAW,MAAM,CA0LtB;AA1LD,WAAiB,MAAM;IACrB,6FAA6F;IAChF,YAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAA;IAExC,4FAA4F;IAC/E,cAAO,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAA;IAE5C;;;OAGG;IACH,SAAgB,IAAI,CAAC,KAAiB;QACpC,OAAO,CACL,KAAC,MAAM,kBACM,MAAM,KACb,KAAK,sBACQ,EAAE,EACnB,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,QAAQ,EACb,OAAO,EAAC,WAAW,YAEnB,KAAC,SAAS,KAAG,GACN,CACV,CAAA;IACH,CAAC;IAbe,OAAA,IAAI,OAanB,CAAA;IAMD;;;OAGG;IACH,SAAgB,IAAI,CAAC,KAAiB;QACpC,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