@zendir/ui 0.5.0 → 0.6.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/CHANGELOG.md +419 -386
- package/README.md +640 -631
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/index.js +17 -221
- package/dist/react/3d/CesiumCaptureSource.d.ts +0 -1
- package/dist/react/3d/CesiumCaptureSource.js +364 -283
- package/dist/react/3d/CesiumCaptureSource.js.map +1 -1
- package/dist/react/3d/ZenSpace3D.d.ts +2 -3
- package/dist/react/3d/ZenSpace3D.js +1681 -1237
- package/dist/react/3d/ZenSpace3D.js.map +1 -1
- package/dist/react/3d/ZenSpace3DCesium.d.ts +0 -1
- package/dist/react/3d/ZenSpace3DCesium.js +513 -560
- package/dist/react/3d/ZenSpace3DCesium.js.map +1 -1
- package/dist/react/3d/ZenSpace3DShaders.js +61 -66
- package/dist/react/3d/ZenSpace3DShaders.js.map +1 -1
- package/dist/react/3d/ZenSpace3DTypes.d.ts +19 -20
- package/dist/react/3d/ZenSpace3DUtils.d.ts +0 -1
- package/dist/react/3d/ZenSpace3DUtils.js +37 -24
- package/dist/react/3d/ZenSpace3DUtils.js.map +1 -1
- package/dist/react/3d/capturePngAnalysis.js +42 -36
- package/dist/react/3d/capturePngAnalysis.js.map +1 -1
- package/dist/react/3d/index.d.ts +3 -3
- package/dist/react/3d/index.js +5 -53
- package/dist/react/3d/threeLoader.d.ts +1 -1
- package/dist/react/3d/threeLoader.js +23 -18
- package/dist/react/3d/threeLoader.js.map +1 -1
- package/dist/react/astro/ClassificationBanner.d.ts +2 -3
- package/dist/react/astro/ClassificationBanner.js +95 -79
- package/dist/react/astro/ClassificationBanner.js.map +1 -1
- package/dist/react/astro/GlobalStatusBar.d.ts +0 -1
- package/dist/react/astro/GlobalStatusBar.js +157 -163
- package/dist/react/astro/GlobalStatusBar.js.map +1 -1
- package/dist/react/astro/MissionClock.d.ts +7 -8
- package/dist/react/astro/MissionClock.js +377 -400
- package/dist/react/astro/MissionClock.js.map +1 -1
- package/dist/react/astro/MonitoringIcon.d.ts +1 -2
- package/dist/react/astro/MonitoringIcon.js +422 -358
- package/dist/react/astro/MonitoringIcon.js.map +1 -1
- package/dist/react/astro/Notification.d.ts +1 -2
- package/dist/react/astro/Notification.js +229 -126
- package/dist/react/astro/Notification.js.map +1 -1
- package/dist/react/astro/Progress.d.ts +0 -1
- package/dist/react/astro/Progress.js +199 -141
- package/dist/react/astro/Progress.js.map +1 -1
- package/dist/react/astro/SimulationControls.d.ts +3 -4
- package/dist/react/astro/SimulationControls.js +596 -650
- package/dist/react/astro/SimulationControls.js.map +1 -1
- package/dist/react/astro/StatusIndicator.d.ts +0 -1
- package/dist/react/astro/StatusIndicator.js +236 -170
- package/dist/react/astro/StatusIndicator.js.map +1 -1
- package/dist/react/astro/UnifiedTimeline.d.ts +9 -10
- package/dist/react/astro/UnifiedTimeline.js +2345 -2392
- package/dist/react/astro/UnifiedTimeline.js.map +1 -1
- package/dist/react/astro/index.d.ts +5 -5
- package/dist/react/astro/index.js +1 -25
- package/dist/react/cards/AccessCard.d.ts +0 -1
- package/dist/react/cards/AccessCard.js +471 -405
- package/dist/react/cards/AccessCard.js.map +1 -1
- package/dist/react/cards/OrbitCard.d.ts +0 -1
- package/dist/react/cards/OrbitCard.js +487 -364
- package/dist/react/cards/OrbitCard.js.map +1 -1
- package/dist/react/cards/SpacecraftCard.d.ts +0 -1
- package/dist/react/cards/SpacecraftCard.js +813 -925
- package/dist/react/cards/SpacecraftCard.js.map +1 -1
- package/dist/react/cards/TelemetryCard.d.ts +0 -1
- package/dist/react/cards/TelemetryCard.js +1055 -732
- package/dist/react/cards/TelemetryCard.js.map +1 -1
- package/dist/react/cards/TelemetryStreamCard.d.ts +0 -1
- package/dist/react/cards/TelemetryStreamCard.js +323 -297
- package/dist/react/cards/TelemetryStreamCard.js.map +1 -1
- package/dist/react/cards/index.d.ts +1 -1
- package/dist/react/cards/index.js +1 -8
- package/dist/react/charts/GroundTrackMap.d.ts +6 -7
- package/dist/react/charts/GroundTrackMap.js +1377 -1256
- package/dist/react/charts/GroundTrackMap.js.map +1 -1
- package/dist/react/charts/GroundTrackMapLeaflet.d.ts +1 -2
- package/dist/react/charts/GroundTrackMapLeaflet.js +1065 -987
- package/dist/react/charts/GroundTrackMapLeaflet.js.map +1 -1
- package/dist/react/charts/groundTrackMapLeafletTiles.js +34 -25
- package/dist/react/charts/groundTrackMapLeafletTiles.js.map +1 -1
- package/dist/react/charts/groundTrackMapLeafletUtils.js +70 -61
- package/dist/react/charts/groundTrackMapLeafletUtils.js.map +1 -1
- package/dist/react/charts/index.d.ts +1 -1
- package/dist/react/charts/index.js +7 -100
- package/dist/react/charts/unified/AstroChart.d.ts +1 -2
- package/dist/react/charts/unified/AstroChart.js +1331 -1411
- package/dist/react/charts/unified/AstroChart.js.map +1 -1
- package/dist/react/charts/unified/PowerOverviewChart.d.ts +3 -3
- package/dist/react/charts/unified/PowerOverviewChart.js +495 -478
- package/dist/react/charts/unified/PowerOverviewChart.js.map +1 -1
- package/dist/react/charts/unified/domain.d.ts +12 -13
- package/dist/react/charts/unified/domain.js +3999 -3145
- package/dist/react/charts/unified/domain.js.map +1 -1
- package/dist/react/charts/unified/generators.d.ts +3 -4
- package/dist/react/charts/unified/generators.js +561 -498
- package/dist/react/charts/unified/generators.js.map +1 -1
- package/dist/react/charts/unified/index.d.ts +1 -1
- package/dist/react/charts/unified/presets.d.ts +14 -15
- package/dist/react/charts/unified/presets.js +857 -994
- package/dist/react/charts/unified/presets.js.map +1 -1
- package/dist/react/charts/unified/sync.d.ts +2 -3
- package/dist/react/charts/unified/sync.js +229 -195
- package/dist/react/charts/unified/sync.js.map +1 -1
- package/dist/react/charts/unified/theme.d.ts +11 -12
- package/dist/react/charts/unified/theme.js +606 -642
- package/dist/react/charts/unified/theme.js.map +1 -1
- package/dist/react/charts/unified/types.d.ts +32 -33
- package/dist/react/charts/unified/useChartStream.d.ts +1 -2
- package/dist/react/charts/unified/useChartStream.js +203 -216
- package/dist/react/charts/unified/useChartStream.js.map +1 -1
- package/dist/react/chatgpt/AppCard.d.ts +1 -2
- package/dist/react/chatgpt/index.d.ts +7 -7
- package/dist/react/chatgpt/index.js +160 -139
- package/dist/react/chatgpt/index.js.map +1 -1
- package/dist/react/context/CategoryContext.d.ts +0 -1
- package/dist/react/context/CategoryContext.js +78 -29
- package/dist/react/context/CategoryContext.js.map +1 -1
- package/dist/react/context/DisplaySettingsContext.d.ts +1 -2
- package/dist/react/context/DisplaySettingsContext.js +205 -156
- package/dist/react/context/DisplaySettingsContext.js.map +1 -1
- package/dist/react/context/SpatialSelectionContext.d.ts +0 -1
- package/dist/react/context/SpatialSelectionContext.js +36 -7
- package/dist/react/context/SpatialSelectionContext.js.map +1 -1
- package/dist/react/core/data/DataTable.d.ts +3 -4
- package/dist/react/core/data/DataTable.js +473 -440
- package/dist/react/core/data/DataTable.js.map +1 -1
- package/dist/react/core/data/DataValue.d.ts +4 -5
- package/dist/react/core/data/DataValue.js +605 -571
- package/dist/react/core/data/DataValue.js.map +1 -1
- package/dist/react/core/data/propertyConfig.d.ts +1 -2
- package/dist/react/core/data/propertyConfig.js +446 -382
- package/dist/react/core/data/propertyConfig.js.map +1 -1
- package/dist/react/core/display/AstroIcon.d.ts +4 -5
- package/dist/react/core/display/AstroIcon.js +339 -429
- package/dist/react/core/display/AstroIcon.js.map +1 -1
- package/dist/react/core/display/Badge.d.ts +2 -3
- package/dist/react/core/display/Badge.js +131 -131
- package/dist/react/core/display/Badge.js.map +1 -1
- package/dist/react/core/display/CardHeader.d.ts +0 -1
- package/dist/react/core/display/CardHeader.js +398 -311
- package/dist/react/core/display/CardHeader.js.map +1 -1
- package/dist/react/core/display/Container.d.ts +2 -3
- package/dist/react/core/display/Container.js +640 -668
- package/dist/react/core/display/Container.js.map +1 -1
- package/dist/react/core/display/CopyButton.d.ts +1 -2
- package/dist/react/core/display/CopyButton.js +158 -101
- package/dist/react/core/display/CopyButton.js.map +1 -1
- package/dist/react/core/display/GlassCard.d.ts +3 -4
- package/dist/react/core/display/GlassCard.js +416 -369
- package/dist/react/core/display/GlassCard.js.map +1 -1
- package/dist/react/core/display/HeaderIconWithStatus.d.ts +0 -1
- package/dist/react/core/display/HeaderIconWithStatus.js +152 -152
- package/dist/react/core/display/HeaderIconWithStatus.js.map +1 -1
- package/dist/react/core/display/Icon.d.ts +2 -3
- package/dist/react/core/display/Icon.js +172 -143
- package/dist/react/core/display/Icon.js.map +1 -1
- package/dist/react/core/display/Typography.d.ts +24 -25
- package/dist/react/core/display/Typography.js +360 -178
- package/dist/react/core/display/Typography.js.map +1 -1
- package/dist/react/core/feedback/ConfirmDialog.d.ts +1 -2
- package/dist/react/core/feedback/ConfirmDialog.js +343 -304
- package/dist/react/core/feedback/ConfirmDialog.js.map +1 -1
- package/dist/react/core/feedback/Dialog.d.ts +2 -3
- package/dist/react/core/feedback/Dialog.js +189 -197
- package/dist/react/core/feedback/Dialog.js.map +1 -1
- package/dist/react/core/feedback/Toast.d.ts +2 -3
- package/dist/react/core/feedback/Toast.js +346 -207
- package/dist/react/core/feedback/Toast.js.map +1 -1
- package/dist/react/core/index.d.ts +26 -26
- package/dist/react/core/index.js +7 -119
- package/dist/react/core/inputs/Button.d.ts +2 -3
- package/dist/react/core/inputs/Button.js +281 -304
- package/dist/react/core/inputs/Button.js.map +1 -1
- package/dist/react/core/inputs/Checkbox.d.ts +2 -3
- package/dist/react/core/inputs/Checkbox.js +139 -127
- package/dist/react/core/inputs/Checkbox.js.map +1 -1
- package/dist/react/core/inputs/Input.d.ts +3 -4
- package/dist/react/core/inputs/Input.js +277 -285
- package/dist/react/core/inputs/Input.js.map +1 -1
- package/dist/react/core/inputs/LimitsBar.d.ts +1 -2
- package/dist/react/core/inputs/LimitsBar.js +271 -196
- package/dist/react/core/inputs/LimitsBar.js.map +1 -1
- package/dist/react/core/inputs/NumberInput.d.ts +2 -3
- package/dist/react/core/inputs/NumberInput.js +531 -503
- package/dist/react/core/inputs/NumberInput.js.map +1 -1
- package/dist/react/core/inputs/PinInput.d.ts +2 -3
- package/dist/react/core/inputs/PinInput.js +224 -207
- package/dist/react/core/inputs/PinInput.js.map +1 -1
- package/dist/react/core/inputs/Select.d.ts +1 -2
- package/dist/react/core/inputs/Select.js +298 -299
- package/dist/react/core/inputs/Select.js.map +1 -1
- package/dist/react/core/inputs/Toggle.d.ts +2 -3
- package/dist/react/core/inputs/Toggle.js +142 -148
- package/dist/react/core/inputs/Toggle.js.map +1 -1
- package/dist/react/core/layout/Box.d.ts +3 -4
- package/dist/react/core/layout/Box.js +118 -122
- package/dist/react/core/layout/Box.js.map +1 -1
- package/dist/react/core/layout/Center.d.ts +0 -1
- package/dist/react/core/layout/Center.js +45 -32
- package/dist/react/core/layout/Center.js.map +1 -1
- package/dist/react/core/layout/Divider.d.ts +1 -2
- package/dist/react/core/layout/Divider.js +112 -106
- package/dist/react/core/layout/Divider.js.map +1 -1
- package/dist/react/core/layout/Flex.d.ts +4 -5
- package/dist/react/core/layout/Flex.js +120 -124
- package/dist/react/core/layout/Flex.js.map +1 -1
- package/dist/react/core/layout/Grid.d.ts +5 -6
- package/dist/react/core/layout/Grid.js +131 -138
- package/dist/react/core/layout/Grid.js.map +1 -1
- package/dist/react/core/layout/Spacer.d.ts +0 -1
- package/dist/react/core/layout/Spacer.js +36 -29
- package/dist/react/core/layout/Spacer.js.map +1 -1
- package/dist/react/core/layout/Stack.d.ts +4 -5
- package/dist/react/core/layout/Stack.js +127 -70
- package/dist/react/core/layout/Stack.js.map +1 -1
- package/dist/react/core/layout/responsive.d.ts +1 -2
- package/dist/react/core/layout/responsive.js +25 -19
- package/dist/react/core/layout/responsive.js.map +1 -1
- package/dist/react/core/layout/useBreakpoint.d.ts +1 -1
- package/dist/react/core/layout/useBreakpoint.js +119 -66
- package/dist/react/core/layout/useBreakpoint.js.map +1 -1
- package/dist/react/core/navigation/AppBar.d.ts +1 -2
- package/dist/react/core/navigation/AppBar.js +827 -805
- package/dist/react/core/navigation/AppBar.js.map +1 -1
- package/dist/react/core/navigation/Pagination.d.ts +2 -3
- package/dist/react/core/navigation/Pagination.js +207 -187
- package/dist/react/core/navigation/Pagination.js.map +1 -1
- package/dist/react/core/navigation/SideNav.d.ts +5 -6
- package/dist/react/core/navigation/SideNav.js +855 -629
- package/dist/react/core/navigation/SideNav.js.map +1 -1
- package/dist/react/core/navigation/Tabs.d.ts +0 -1
- package/dist/react/core/navigation/Tabs.js +113 -119
- package/dist/react/core/navigation/Tabs.js.map +1 -1
- package/dist/react/core/overlays/Popover.d.ts +2 -3
- package/dist/react/core/overlays/Popover.js +303 -282
- package/dist/react/core/overlays/Popover.js.map +1 -1
- package/dist/react/core/overlays/SidePanel.d.ts +1 -2
- package/dist/react/core/overlays/SidePanel.js +217 -212
- package/dist/react/core/overlays/SidePanel.js.map +1 -1
- package/dist/react/core/overlays/Tooltip.d.ts +1 -2
- package/dist/react/core/overlays/Tooltip.js +170 -176
- package/dist/react/core/overlays/Tooltip.js.map +1 -1
- package/dist/react/core/widgets/ActivityPlanner.d.ts +0 -1
- package/dist/react/core/widgets/ActivityPlanner.js +855 -517
- package/dist/react/core/widgets/ActivityPlanner.js.map +1 -1
- package/dist/react/core/widgets/Capture.d.ts +2 -3
- package/dist/react/core/widgets/Capture.js +965 -779
- package/dist/react/core/widgets/Capture.js.map +1 -1
- package/dist/react/core/widgets/ChatPanel.d.ts +16 -17
- package/dist/react/core/widgets/ChatPanel.js +1734 -1034
- package/dist/react/core/widgets/ChatPanel.js.map +1 -1
- package/dist/react/core/widgets/ColorPickerPanel.d.ts +0 -1
- package/dist/react/core/widgets/ColorPickerPanel.js +298 -287
- package/dist/react/core/widgets/ColorPickerPanel.js.map +1 -1
- package/dist/react/core/widgets/CommandBuilder.d.ts +2 -3
- package/dist/react/core/widgets/CommandBuilder.js +624 -516
- package/dist/react/core/widgets/CommandBuilder.js.map +1 -1
- package/dist/react/core/widgets/ConnectionForm.d.ts +2 -3
- package/dist/react/core/widgets/ConnectionForm.js +528 -492
- package/dist/react/core/widgets/ConnectionForm.js.map +1 -1
- package/dist/react/core/widgets/FileExplorer.d.ts +3 -4
- package/dist/react/core/widgets/FileExplorer.js +617 -505
- package/dist/react/core/widgets/FileExplorer.js.map +1 -1
- package/dist/react/core/widgets/HexViewer.d.ts +2 -3
- package/dist/react/core/widgets/HexViewer.js +1353 -1091
- package/dist/react/core/widgets/HexViewer.js.map +1 -1
- package/dist/react/core/widgets/ImageFrame.d.ts +1 -2
- package/dist/react/core/widgets/ImageFrame.js +230 -193
- package/dist/react/core/widgets/ImageFrame.js.map +1 -1
- package/dist/react/core/widgets/ImageGallery.d.ts +2 -1
- package/dist/react/core/widgets/ImageGallery.js +380 -314
- package/dist/react/core/widgets/ImageGallery.js.map +1 -1
- package/dist/react/core/widgets/ImagePanel.d.ts +0 -1
- package/dist/react/core/widgets/ImagePanel.js +110 -101
- package/dist/react/core/widgets/ImagePanel.js.map +1 -1
- package/dist/react/core/widgets/LogViewer.d.ts +2 -3
- package/dist/react/core/widgets/LogViewer.js +711 -607
- package/dist/react/core/widgets/LogViewer.js.map +1 -1
- package/dist/react/core/widgets/MessageStream.d.ts +3 -4
- package/dist/react/core/widgets/MessageStream.js +514 -444
- package/dist/react/core/widgets/MessageStream.js.map +1 -1
- package/dist/react/core/widgets/MissionCalendar.d.ts +3 -4
- package/dist/react/core/widgets/MissionCalendar.js +1488 -1020
- package/dist/react/core/widgets/MissionCalendar.js.map +1 -1
- package/dist/react/core/widgets/PacketViewer.d.ts +2 -3
- package/dist/react/core/widgets/PacketViewer.js +550 -421
- package/dist/react/core/widgets/PacketViewer.js.map +1 -1
- package/dist/react/core/widgets/capture-placeholder.png.js +6 -5
- package/dist/react/core/widgets/capture-placeholder.png.js.map +1 -1
- package/dist/react/hooks/index.d.ts +5 -5
- package/dist/react/hooks/useAccessWindows.d.ts +0 -1
- package/dist/react/hooks/useCompactMode.d.ts +1 -1
- package/dist/react/hooks/useCompactMode.js +104 -58
- package/dist/react/hooks/useCompactMode.js.map +1 -1
- package/dist/react/hooks/useGroundTrackHistory.d.ts +0 -1
- package/dist/react/hooks/useSimulationScene.d.ts +1 -2
- package/dist/react/hooks/useSimulationScene.js +481 -374
- package/dist/react/hooks/useSimulationScene.js.map +1 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/panels/LayerControlPanel.d.ts +1 -2
- package/dist/react/panels/LayerControlPanel.js +223 -180
- package/dist/react/panels/LayerControlPanel.js.map +1 -1
- package/dist/react/panels/ObjectInventoryPanel.d.ts +2 -3
- package/dist/react/panels/ObjectInventoryPanel.js +315 -250
- package/dist/react/panels/ObjectInventoryPanel.js.map +1 -1
- package/dist/react/panels/index.d.ts +1 -1
- package/dist/react/panels/index.js +1 -6
- package/dist/react/shared/ErrorBoundary.d.ts +1 -2
- package/dist/react/shared/ErrorBoundary.js +170 -139
- package/dist/react/shared/ErrorBoundary.js.map +1 -1
- package/dist/react/shared/Skeleton.d.ts +1 -2
- package/dist/react/shared/Skeleton.js +300 -301
- package/dist/react/shared/Skeleton.js.map +1 -1
- package/dist/react/theme/ThemeProvider.d.ts +2 -321
- package/dist/react/theme/ThemeProvider.js +313 -939
- package/dist/react/theme/ThemeProvider.js.map +1 -1
- package/dist/react/theme/cardAccent.d.ts +1 -2
- package/dist/react/theme/cardAccent.js +196 -126
- package/dist/react/theme/cardAccent.js.map +1 -1
- package/dist/react/theme/config.d.ts +0 -1
- package/dist/react/theme/config.js +47 -25
- package/dist/react/theme/config.js.map +1 -1
- package/dist/react/theme/index.d.ts +2 -2
- package/dist/react/theme/index.js +1 -16
- package/dist/react/theme/types.d.ts +332 -0
- package/dist/react/theme/types.js +39 -0
- package/dist/react/theme/types.js.map +1 -0
- package/dist/react/types.d.ts +8 -8
- package/dist/react/types.js +147 -47
- package/dist/react/types.js.map +1 -1
- package/dist/react/utils/categoryPalette.d.ts +0 -1
- package/dist/react/utils/categoryPalette.js +91 -102
- package/dist/react/utils/categoryPalette.js.map +1 -1
- package/dist/react/utils/index.d.ts +5 -5
- package/dist/react/utils/index.js +457 -371
- package/dist/react/utils/index.js.map +1 -1
- package/dist/react/visualizations/EclipseTimerCard.d.ts +0 -1
- package/dist/react/visualizations/LinkBudgetCard.d.ts +0 -1
- package/dist/react/visualizations/NavBallCard.d.ts +0 -1
- package/dist/react/visualizations/PropulsionCard.d.ts +1 -2
- package/dist/react/visualizations/SensorFootprintCard.d.ts +1 -2
- package/dist/react/visualizations/ThermalHeatmapCard.d.ts +0 -1
- package/dist/react/visualizations/index.d.ts +3 -3
- package/dist/react.d.ts +2 -1
- package/dist/react.js +17 -221
- package/dist/shaders/atmosphere.frag.js +6 -5
- package/dist/shaders/atmosphere.frag.js.map +1 -1
- package/dist/shaders/atmosphere.vert.js +6 -5
- package/dist/shaders/atmosphere.vert.js.map +1 -1
- package/dist/shaders/stars.frag.js +6 -5
- package/dist/shaders/stars.frag.js.map +1 -1
- package/dist/shaders/stars.vert.js +6 -5
- package/dist/shaders/stars.vert.js.map +1 -1
- package/dist/style.css +26 -3
- package/dist/tokens/core.d.ts +159 -0
- package/dist/tokens/core.js +144 -0
- package/dist/tokens/core.js.map +1 -0
- package/dist/tokens/css-vars.d.ts +213 -2
- package/dist/tokens/css-vars.js +590 -227
- package/dist/tokens/css-vars.js.map +1 -1
- package/dist/tokens/index.d.ts +31 -228
- package/dist/tokens/index.js +281 -366
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/palettes/astro.d.ts +129 -0
- package/dist/tokens/palettes/astro.js +112 -0
- package/dist/tokens/palettes/astro.js.map +1 -0
- package/dist/tokens/palettes/index.d.ts +288 -0
- package/dist/tokens/palettes/index.js +35 -0
- package/dist/tokens/palettes/index.js.map +1 -0
- package/dist/tokens/palettes/tailwind.d.ts +324 -0
- package/dist/tokens/palettes/tailwind.js +201 -0
- package/dist/tokens/palettes/tailwind.js.map +1 -0
- package/dist/tokens/palettes/zendir.d.ts +126 -0
- package/dist/tokens/palettes/zendir.js +92 -0
- package/dist/tokens/palettes/zendir.js.map +1 -0
- package/dist/tokens/themes.d.ts +30 -0
- package/dist/tokens/themes.js +704 -0
- package/dist/tokens/themes.js.map +1 -0
- package/dist/tokens/tokens.css +533 -155
- package/dist/types/index.d.ts +2 -2
- package/package.json +310 -313
- package/dist/index.js.map +0 -1
- package/dist/react/3d/index.js.map +0 -1
- package/dist/react/astro/index.js.map +0 -1
- package/dist/react/cards/index.js.map +0 -1
- package/dist/react/charts/index.js.map +0 -1
- package/dist/react/core/index.js.map +0 -1
- package/dist/react/panels/index.js.map +0 -1
- package/dist/react/theme/astro-tokens.d.ts +0 -153
- package/dist/react/theme/index.js.map +0 -1
- package/dist/react.js.map +0 -1
|
@@ -1,211 +1,351 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useState, useRef, useCallback, useContext, createContext, useEffect } from "react";
|
|
3
1
|
import { useTheme } from "../../theme/ThemeProvider.js";
|
|
4
2
|
import { safeAccentText } from "../../utils/index.js";
|
|
5
3
|
import { useBreakpoint } from "../layout/useBreakpoint.js";
|
|
6
|
-
|
|
4
|
+
import { createContext, memo, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region src/react/core/feedback/Toast.tsx
|
|
7
|
+
/**
|
|
8
|
+
* @zendir/ui - Toast / Notification System
|
|
9
|
+
*
|
|
10
|
+
* Contextual toast notifications with queue management, auto-dismiss,
|
|
11
|
+
* and Astro UX status colors. Essential for operator dashboards surfacing
|
|
12
|
+
* connection events, command results, and system alerts.
|
|
13
|
+
*
|
|
14
|
+
* Astro UX Compliance:
|
|
15
|
+
* - 6-level status colors (off, standby, normal, caution, serious, critical)
|
|
16
|
+
* - Positioned top-right (operator dashboard convention)
|
|
17
|
+
* - Reduced motion support
|
|
18
|
+
* - ARIA live region for screen readers
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```tsx
|
|
22
|
+
* // Wrap app in ToastProvider
|
|
23
|
+
* <ToastProvider>
|
|
24
|
+
* <App />
|
|
25
|
+
* </ToastProvider>
|
|
26
|
+
*
|
|
27
|
+
* // Use in any component
|
|
28
|
+
* const toast = useToast();
|
|
29
|
+
* toast({ status: 'normal', title: 'Connected', message: 'MQTT link established' });
|
|
30
|
+
* toast({ status: 'caution', title: 'SAFE Mode', message: 'Spacecraft entered SAFE mode', duration: 0 });
|
|
31
|
+
* toast({ status: 'critical', title: 'Link Lost', message: 'Downlink signal below threshold' });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
var ToastContext = createContext(null);
|
|
35
|
+
/**
|
|
36
|
+
* Hook to show toast notifications.
|
|
37
|
+
* Must be used within a `<ToastProvider>`.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* ```tsx
|
|
41
|
+
* const toast = useToast();
|
|
42
|
+
* toast({ status: 'normal', title: 'Success', message: 'Command sent' });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
7
45
|
function useToast() {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
46
|
+
const ctx = useContext(ToastContext);
|
|
47
|
+
if (!ctx) throw new Error("useToast must be used within <ToastProvider>");
|
|
48
|
+
return ctx.toast;
|
|
11
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Hook to access full toast API (toast, dismiss, dismissAll).
|
|
52
|
+
*/
|
|
12
53
|
function useToastManager() {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
54
|
+
const ctx = useContext(ToastContext);
|
|
55
|
+
if (!ctx) throw new Error("useToastManager must be used within <ToastProvider>");
|
|
56
|
+
return ctx;
|
|
16
57
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
58
|
+
var ToastItem = memo(function ToastItem({ toast: t, onDismiss }) {
|
|
59
|
+
const { tokens } = useTheme();
|
|
60
|
+
const [exiting, setExiting] = useState(false);
|
|
61
|
+
const dismissTimeoutRef = useRef();
|
|
62
|
+
useEffect(() => {
|
|
63
|
+
return () => {
|
|
64
|
+
clearTimeout(dismissTimeoutRef.current);
|
|
65
|
+
};
|
|
66
|
+
}, []);
|
|
67
|
+
const color = {
|
|
68
|
+
normal: tokens.colors.status.normal,
|
|
69
|
+
standby: tokens.colors.status.standby,
|
|
70
|
+
caution: tokens.colors.status.caution,
|
|
71
|
+
serious: tokens.colors.status.serious,
|
|
72
|
+
critical: tokens.colors.status.critical,
|
|
73
|
+
off: tokens.colors.status.off
|
|
74
|
+
}[t.status || "off"] || tokens.colors.status.off;
|
|
75
|
+
const handleDismiss = useCallback(() => {
|
|
76
|
+
setExiting(true);
|
|
77
|
+
dismissTimeoutRef.current = setTimeout(() => onDismiss(t.id), 200);
|
|
78
|
+
}, [t.id, onDismiss]);
|
|
79
|
+
useEffect(() => {
|
|
80
|
+
const dur = t.duration ?? 5e3;
|
|
81
|
+
if (dur <= 0) return;
|
|
82
|
+
const timer = setTimeout(handleDismiss, dur);
|
|
83
|
+
return () => clearTimeout(timer);
|
|
84
|
+
}, [t.duration, handleDismiss]);
|
|
85
|
+
const statusIcon = (() => {
|
|
86
|
+
const s = 10;
|
|
87
|
+
const h = s / 2;
|
|
88
|
+
const status = t.status || "off";
|
|
89
|
+
const sharedStyle = {
|
|
90
|
+
flexShrink: 0,
|
|
91
|
+
marginTop: "3px"
|
|
92
|
+
};
|
|
93
|
+
switch (status) {
|
|
94
|
+
case "critical": return /* @__PURE__ */ jsx("svg", {
|
|
95
|
+
width: s,
|
|
96
|
+
height: s,
|
|
97
|
+
viewBox: `0 0 ${s} ${s}`,
|
|
98
|
+
style: sharedStyle,
|
|
99
|
+
children: /* @__PURE__ */ jsx("polygon", {
|
|
100
|
+
points: `${h},${s} 0,0 ${s},0`,
|
|
101
|
+
fill: color
|
|
102
|
+
})
|
|
103
|
+
});
|
|
104
|
+
case "serious": return /* @__PURE__ */ jsx("svg", {
|
|
105
|
+
width: s,
|
|
106
|
+
height: s,
|
|
107
|
+
viewBox: `0 0 ${s} ${s}`,
|
|
108
|
+
style: sharedStyle,
|
|
109
|
+
children: /* @__PURE__ */ jsx("polygon", {
|
|
110
|
+
points: `${h},0 ${s},${h} ${h},${s} 0,${h}`,
|
|
111
|
+
fill: color
|
|
112
|
+
})
|
|
113
|
+
});
|
|
114
|
+
case "caution": return /* @__PURE__ */ jsx("svg", {
|
|
115
|
+
width: s,
|
|
116
|
+
height: s,
|
|
117
|
+
viewBox: `0 0 ${s} ${s}`,
|
|
118
|
+
style: sharedStyle,
|
|
119
|
+
children: /* @__PURE__ */ jsx("rect", {
|
|
120
|
+
width: s,
|
|
121
|
+
height: s,
|
|
122
|
+
fill: color
|
|
123
|
+
})
|
|
124
|
+
});
|
|
125
|
+
case "standby": return /* @__PURE__ */ jsx("svg", {
|
|
126
|
+
width: s,
|
|
127
|
+
height: s,
|
|
128
|
+
viewBox: "0 0 12 12",
|
|
129
|
+
style: sharedStyle,
|
|
130
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
131
|
+
cx: "6",
|
|
132
|
+
cy: "6",
|
|
133
|
+
r: "3.5",
|
|
134
|
+
fill: "none",
|
|
135
|
+
stroke: color,
|
|
136
|
+
strokeWidth: "2"
|
|
137
|
+
})
|
|
138
|
+
});
|
|
139
|
+
case "off": return /* @__PURE__ */ jsx("svg", {
|
|
140
|
+
width: s,
|
|
141
|
+
height: s,
|
|
142
|
+
viewBox: "0 0 12 12",
|
|
143
|
+
style: sharedStyle,
|
|
144
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
145
|
+
cx: "6",
|
|
146
|
+
cy: "6",
|
|
147
|
+
r: "3",
|
|
148
|
+
fill: color
|
|
149
|
+
})
|
|
150
|
+
});
|
|
151
|
+
default: return /* @__PURE__ */ jsx("svg", {
|
|
152
|
+
width: s,
|
|
153
|
+
height: s,
|
|
154
|
+
viewBox: `0 0 ${s} ${s}`,
|
|
155
|
+
style: sharedStyle,
|
|
156
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
157
|
+
cx: h,
|
|
158
|
+
cy: h,
|
|
159
|
+
r: h,
|
|
160
|
+
fill: color
|
|
161
|
+
})
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
})();
|
|
165
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
166
|
+
role: "alert",
|
|
167
|
+
style: {
|
|
168
|
+
display: "flex",
|
|
169
|
+
gap: tokens.spacing.sm,
|
|
170
|
+
padding: `${tokens.spacing.sm} ${tokens.spacing.md}`,
|
|
171
|
+
backgroundColor: tokens.colors.background.elevated,
|
|
172
|
+
border: `1px solid ${color}30`,
|
|
173
|
+
borderLeft: `3px solid ${color}`,
|
|
174
|
+
borderRadius: tokens.borderRadius.md,
|
|
175
|
+
boxShadow: `${tokens.shadows.lg}, 0 0 20px ${color}15`,
|
|
176
|
+
maxWidth: "min(400px, calc(100vw - 32px))",
|
|
177
|
+
minWidth: "min(280px, calc(100vw - 32px))",
|
|
178
|
+
fontFamily: tokens.typography.fontFamily.primary,
|
|
179
|
+
animation: exiting ? `zendir-toast-exit 200ms ${tokens.animation.easing.default} forwards` : `zendir-toast-enter 300ms ${tokens.animation.easing.default}`,
|
|
180
|
+
transition: tokens.animation.normal
|
|
181
|
+
},
|
|
182
|
+
children: [
|
|
183
|
+
t.icon || statusIcon,
|
|
184
|
+
/* @__PURE__ */ jsxs("div", {
|
|
185
|
+
style: {
|
|
186
|
+
flex: 1,
|
|
187
|
+
minWidth: 0
|
|
188
|
+
},
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ jsx("div", {
|
|
191
|
+
style: {
|
|
192
|
+
fontSize: tokens.typography.fontSize.sm,
|
|
193
|
+
fontWeight: tokens.typography.fontWeight.semibold,
|
|
194
|
+
color: tokens.colors.text.primary,
|
|
195
|
+
lineHeight: tokens.typography.lineHeight.tight
|
|
196
|
+
},
|
|
197
|
+
children: t.title
|
|
198
|
+
}),
|
|
199
|
+
t.message && /* @__PURE__ */ jsx("div", {
|
|
200
|
+
style: {
|
|
201
|
+
fontSize: tokens.typography.fontSize.xs,
|
|
202
|
+
color: tokens.colors.text.secondary,
|
|
203
|
+
marginTop: "2px",
|
|
204
|
+
lineHeight: tokens.typography.lineHeight.normal
|
|
205
|
+
},
|
|
206
|
+
children: t.message
|
|
207
|
+
}),
|
|
208
|
+
t.action && /* @__PURE__ */ jsx("button", {
|
|
209
|
+
onClick: t.action.onClick,
|
|
210
|
+
style: {
|
|
211
|
+
marginTop: tokens.spacing.xs,
|
|
212
|
+
fontSize: tokens.typography.fontSize.xs,
|
|
213
|
+
fontWeight: tokens.typography.fontWeight.semibold,
|
|
214
|
+
color: safeAccentText(tokens.colors.accent.primary),
|
|
215
|
+
background: "none",
|
|
216
|
+
border: "none",
|
|
217
|
+
padding: 0,
|
|
218
|
+
cursor: "pointer",
|
|
219
|
+
fontFamily: tokens.typography.fontFamily.primary
|
|
220
|
+
},
|
|
221
|
+
children: t.action.label
|
|
222
|
+
})
|
|
223
|
+
]
|
|
224
|
+
}),
|
|
225
|
+
t.dismissible !== false && /* @__PURE__ */ jsx("button", {
|
|
226
|
+
"aria-label": "Dismiss notification",
|
|
227
|
+
onClick: handleDismiss,
|
|
228
|
+
style: {
|
|
229
|
+
display: "flex",
|
|
230
|
+
alignItems: "center",
|
|
231
|
+
justifyContent: "center",
|
|
232
|
+
width: 44,
|
|
233
|
+
height: 44,
|
|
234
|
+
border: "none",
|
|
235
|
+
background: "none",
|
|
236
|
+
color: tokens.colors.text.tertiary,
|
|
237
|
+
cursor: "pointer",
|
|
238
|
+
borderRadius: tokens.borderRadius.sm,
|
|
239
|
+
padding: tokens.spacing.xs,
|
|
240
|
+
flexShrink: 0,
|
|
241
|
+
transition: tokens.animation.fast
|
|
242
|
+
},
|
|
243
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
244
|
+
width: "14",
|
|
245
|
+
height: "14",
|
|
246
|
+
viewBox: "0 0 24 24",
|
|
247
|
+
fill: "none",
|
|
248
|
+
stroke: "currentColor",
|
|
249
|
+
strokeWidth: "2",
|
|
250
|
+
strokeLinecap: "round",
|
|
251
|
+
children: [/* @__PURE__ */ jsx("line", {
|
|
252
|
+
x1: "18",
|
|
253
|
+
y1: "6",
|
|
254
|
+
x2: "6",
|
|
255
|
+
y2: "18"
|
|
256
|
+
}), /* @__PURE__ */ jsx("line", {
|
|
257
|
+
x1: "6",
|
|
258
|
+
y1: "6",
|
|
259
|
+
x2: "18",
|
|
260
|
+
y2: "18"
|
|
261
|
+
})]
|
|
262
|
+
})
|
|
263
|
+
})
|
|
264
|
+
]
|
|
265
|
+
});
|
|
150
266
|
});
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
267
|
+
var ToastProvider = memo(function ToastProvider({ position = "top-right", maxVisible = 5, defaultDuration = 5e3, children }) {
|
|
268
|
+
const { tokens } = useTheme();
|
|
269
|
+
const { isMobile } = useBreakpoint();
|
|
270
|
+
const [toasts, setToasts] = useState([]);
|
|
271
|
+
const idCounter = useRef(0);
|
|
272
|
+
const toast = useCallback((options) => {
|
|
273
|
+
const id = `toast-${++idCounter.current}-${Date.now()}`;
|
|
274
|
+
const instance = {
|
|
275
|
+
...options,
|
|
276
|
+
id,
|
|
277
|
+
createdAt: Date.now(),
|
|
278
|
+
duration: options.duration ?? defaultDuration
|
|
279
|
+
};
|
|
280
|
+
setToasts((prev) => [...prev, instance].slice(-maxVisible * 2));
|
|
281
|
+
return id;
|
|
282
|
+
}, [defaultDuration, maxVisible]);
|
|
283
|
+
const dismiss = useCallback((id) => {
|
|
284
|
+
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
285
|
+
}, []);
|
|
286
|
+
const dismissAll = useCallback(() => {
|
|
287
|
+
setToasts([]);
|
|
288
|
+
}, []);
|
|
289
|
+
const inset = isMobile ? tokens.spacing.sm : tokens.spacing.md;
|
|
290
|
+
const positionStyles = {
|
|
291
|
+
"top-right": {
|
|
292
|
+
top: inset,
|
|
293
|
+
right: inset
|
|
294
|
+
},
|
|
295
|
+
"top-left": {
|
|
296
|
+
top: inset,
|
|
297
|
+
left: inset
|
|
298
|
+
},
|
|
299
|
+
"bottom-right": {
|
|
300
|
+
bottom: inset,
|
|
301
|
+
right: inset
|
|
302
|
+
},
|
|
303
|
+
"bottom-left": {
|
|
304
|
+
bottom: inset,
|
|
305
|
+
left: inset
|
|
306
|
+
},
|
|
307
|
+
"top-center": {
|
|
308
|
+
top: inset,
|
|
309
|
+
left: "50%",
|
|
310
|
+
transform: "translateX(-50%)"
|
|
311
|
+
},
|
|
312
|
+
"bottom-center": {
|
|
313
|
+
bottom: inset,
|
|
314
|
+
left: "50%",
|
|
315
|
+
transform: "translateX(-50%)"
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
const isBottom = position.startsWith("bottom");
|
|
319
|
+
const visibleToasts = toasts.slice(-maxVisible);
|
|
320
|
+
return /* @__PURE__ */ jsxs(ToastContext.Provider, {
|
|
321
|
+
value: {
|
|
322
|
+
toast,
|
|
323
|
+
dismiss,
|
|
324
|
+
dismissAll
|
|
325
|
+
},
|
|
326
|
+
children: [
|
|
327
|
+
children,
|
|
328
|
+
visibleToasts.length > 0 && /* @__PURE__ */ jsx("div", {
|
|
329
|
+
"aria-live": visibleToasts.some((t) => t.status === "critical" || t.status === "serious") ? "assertive" : "polite",
|
|
330
|
+
"aria-atomic": "false",
|
|
331
|
+
style: {
|
|
332
|
+
position: "fixed",
|
|
333
|
+
zIndex: 9999,
|
|
334
|
+
display: "flex",
|
|
335
|
+
flexDirection: isBottom ? "column-reverse" : "column",
|
|
336
|
+
gap: tokens.spacing.sm,
|
|
337
|
+
pointerEvents: "none",
|
|
338
|
+
...positionStyles[position]
|
|
339
|
+
},
|
|
340
|
+
children: visibleToasts.map((t) => /* @__PURE__ */ jsx("div", {
|
|
341
|
+
style: { pointerEvents: "auto" },
|
|
342
|
+
children: /* @__PURE__ */ jsx(ToastItem, {
|
|
343
|
+
toast: t,
|
|
344
|
+
onDismiss: dismiss
|
|
345
|
+
})
|
|
346
|
+
}, t.id))
|
|
347
|
+
}),
|
|
348
|
+
/* @__PURE__ */ jsx("style", { children: `
|
|
209
349
|
@keyframes zendir-toast-enter {
|
|
210
350
|
from { opacity: 0; transform: translateX(20px); }
|
|
211
351
|
to { opacity: 1; transform: translateX(0); }
|
|
@@ -219,11 +359,10 @@ const ToastProvider = memo(function ToastProvider2({
|
|
|
219
359
|
@keyframes zendir-toast-exit { from { opacity: 1; } to { opacity: 0; } }
|
|
220
360
|
}
|
|
221
361
|
` })
|
|
222
|
-
|
|
362
|
+
]
|
|
363
|
+
});
|
|
223
364
|
});
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
};
|
|
229
|
-
//# sourceMappingURL=Toast.js.map
|
|
365
|
+
//#endregion
|
|
366
|
+
export { ToastProvider, ToastProvider as default, useToast, useToastManager };
|
|
367
|
+
|
|
368
|
+
//# sourceMappingURL=Toast.js.map
|