motion-ui-skill 2.1.0 → 2.2.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 +449 -219
- package/SKILL.md +268 -22
- package/bin/index.mjs +4 -3
- package/bin/installer.mjs +11 -1
- package/catalog.json +5989 -239
- package/components/agents/ai-agent-activity.tsx +443 -0
- package/components/agents/ai-response.tsx +829 -0
- package/components/agents/ai-status.tsx +373 -0
- package/components/agents/chat-thread.module.css +242 -0
- package/components/agents/chat-thread.tsx +700 -0
- package/components/agents/citations.tsx +1 -1
- package/components/agents/comment-thread.module.css +195 -0
- package/components/agents/comment-thread.tsx +593 -0
- package/components/agents/json-viewer.module.css +92 -0
- package/components/agents/json-viewer.tsx +530 -0
- package/components/agents/matrix-orb.tsx +252 -0
- package/components/agents/text-stream.css +17 -0
- package/components/agents/text-stream.tsx +169 -0
- package/components/agents/thinking-orb.tsx +653 -0
- package/components/agents/web-search.tsx +932 -0
- package/components/analytics-dashboard/context.ts +47 -0
- package/components/analytics-dashboard/data.ts +351 -0
- package/components/analytics-dashboard/details.tsx +282 -0
- package/components/analytics-dashboard/icons.tsx +219 -0
- package/components/analytics-dashboard/number-animation.module.css +19 -0
- package/components/analytics-dashboard/number-animation.tsx +183 -0
- package/components/analytics-dashboard/pages.tsx +673 -0
- package/components/analytics-dashboard/ui.tsx +238 -0
- package/components/blocks/active-sessions.css +52 -0
- package/components/blocks/active-sessions.tsx +679 -0
- package/components/blocks/activity-feed.tsx +432 -0
- package/components/blocks/activity-heatmap.module.css +83 -0
- package/components/blocks/activity-heatmap.tsx +416 -0
- package/components/blocks/advanced-data-table.tsx +1078 -0
- package/components/blocks/analytics-dashboard.css +2822 -0
- package/components/blocks/analytics-dashboard.tsx +394 -0
- package/components/blocks/art-gallery.tsx +508 -0
- package/components/blocks/bar-chart.module.css +49 -0
- package/components/blocks/bar-chart.tsx +394 -0
- package/components/blocks/blog-grid-data.ts +127 -0
- package/components/blocks/blog-grid.module.css +93 -0
- package/components/blocks/blog-grid.tsx +263 -0
- package/components/blocks/brush-chart.module.css +69 -0
- package/components/blocks/brush-chart.tsx +459 -0
- package/components/blocks/changelog-feed.module.css +138 -0
- package/components/blocks/changelog-feed.tsx +401 -0
- package/components/blocks/chat.tsx +785 -0
- package/components/blocks/comparison-table-data.ts +63 -0
- package/components/blocks/comparison-table.module.css +92 -0
- package/components/blocks/comparison-table.tsx +209 -0
- package/components/blocks/cta-section-data.ts +42 -0
- package/components/blocks/cta-section.module.css +95 -0
- package/components/blocks/cta-section.tsx +261 -0
- package/components/blocks/dashboard-shell.css +110 -0
- package/components/blocks/dashboard-shell.tsx +1067 -0
- package/components/blocks/empty-states-art.ts +331 -0
- package/components/blocks/empty-states.module.css +52 -0
- package/components/blocks/empty-states.tsx +326 -0
- package/components/blocks/family-drawer.tsx +695 -0
- package/components/blocks/faq.tsx +214 -0
- package/components/blocks/footer.tsx +117 -0
- package/components/blocks/form.tsx +594 -0
- package/components/blocks/hero-cadence.module.css +46 -0
- package/components/blocks/hero-cadence.tsx +68 -0
- package/components/blocks/hero-content.module.css +49 -0
- package/components/blocks/hero-content.tsx +93 -0
- package/components/blocks/hero-lumen-data.ts +97 -0
- package/components/blocks/hero-lumen.module.css +127 -0
- package/components/blocks/hero-lumen.tsx +204 -0
- package/components/blocks/hero-mesh.module.css +5 -0
- package/components/blocks/hero-mesh.tsx +200 -0
- package/components/blocks/hero-motion.ts +31 -0
- package/components/blocks/hero-relay.module.css +102 -0
- package/components/blocks/hero-relay.tsx +252 -0
- package/components/blocks/hero-section.module.css +31 -0
- package/components/blocks/hero-section.tsx +83 -0
- package/components/blocks/hook-sidebar.tsx +233 -0
- package/components/blocks/line-chart.module.css +60 -0
- package/components/blocks/line-chart.tsx +434 -0
- package/components/blocks/login-centered.module.css +94 -0
- package/components/blocks/login-centered.tsx +444 -0
- package/components/blocks/logo-marquee.module.css +162 -0
- package/components/blocks/logo-marquee.tsx +106 -0
- package/components/blocks/newsletter-signup-data.ts +95 -0
- package/components/blocks/newsletter-signup.module.css +175 -0
- package/components/blocks/newsletter-signup.tsx +369 -0
- package/components/blocks/notification-center.module.css +79 -0
- package/components/blocks/notification-center.tsx +244 -0
- package/components/blocks/page-header.module.css +161 -0
- package/components/blocks/page-header.tsx +495 -0
- package/components/blocks/plan-comparison.module.css +87 -0
- package/components/blocks/plan-comparison.tsx +120 -0
- package/components/blocks/pricing.tsx +421 -0
- package/components/blocks/product-tour.tsx +621 -0
- package/components/blocks/proximity-sidebar.tsx +397 -0
- package/components/blocks/rail-toc.tsx +468 -0
- package/components/blocks/scroll-progress.tsx +375 -0
- package/components/blocks/sidebar-stackbits.tsx +362 -0
- package/components/blocks/sign-in.module.css +73 -0
- package/components/blocks/sign-in.tsx +337 -0
- package/components/blocks/site-header.module.css +115 -0
- package/components/blocks/site-header.tsx +548 -0
- package/components/blocks/slope-chart.module.css +51 -0
- package/components/blocks/slope-chart.tsx +256 -0
- package/components/blocks/sortable-data-table.module.css +118 -0
- package/components/blocks/sortable-data-table.tsx +312 -0
- package/components/blocks/stats-band-data.ts +67 -0
- package/components/blocks/stats-band-world.ts +20 -0
- package/components/blocks/stats-band.module.css +150 -0
- package/components/blocks/stats-band.tsx +236 -0
- package/components/blocks/status-bars.css +52 -0
- package/components/blocks/status-bars.tsx +406 -0
- package/components/blocks/step-player.tsx +344 -0
- package/components/blocks/task-list.tsx +374 -0
- package/components/blocks/waffle-chart.module.css +52 -0
- package/components/blocks/waffle-chart.tsx +303 -0
- package/components/buttons/ash-burst-button.tsx +1 -1
- package/components/buttons/minecraft-button.tsx +1 -1
- package/components/craft/Button.tsx +137 -0
- package/components/craft/Form.tsx +594 -0
- package/components/craft/airport-matrix-clock.tsx +389 -0
- package/components/craft/animated-counter.tsx +384 -0
- package/components/craft/batch-gesture-tray.tsx +273 -0
- package/components/craft/car-smoke-page-transition.tsx +1147 -0
- package/components/craft/circular-orbit.tsx +270 -0
- package/components/craft/click-spark.tsx +205 -0
- package/components/craft/code-snippet-deck.tsx +275 -0
- package/components/craft/command.tsx +186 -0
- package/components/craft/cursor-follower.tsx +156 -0
- package/components/craft/delete-button.tsx +285 -0
- package/components/craft/density-lens.tsx +115 -0
- package/components/craft/dependency-trace.tsx +219 -0
- package/components/craft/depth-corridor.tsx +179 -0
- package/components/craft/discover-button.css +83 -0
- package/components/craft/discover-button.tsx +46 -0
- package/components/craft/drag-to-confirm.tsx +387 -0
- package/components/craft/draggable-marquee.css +5 -0
- package/components/craft/draggable-marquee.tsx +352 -0
- package/components/craft/duration-picker.tsx +291 -0
- package/components/craft/emoji-reaction.tsx +610 -0
- package/components/craft/empty.tsx +108 -0
- package/components/craft/evil-eye.tsx +350 -0
- package/components/craft/expandable-data-row.tsx +419 -0
- package/components/craft/field.tsx +250 -0
- package/components/craft/file-input.tsx +553 -0
- package/components/craft/flip-text.tsx +128 -0
- package/components/craft/fluid-orb.tsx +199 -0
- package/components/craft/focus-mode.tsx +262 -0
- package/components/craft/folder-component.tsx +474 -0
- package/components/craft/framing.ts +53 -0
- package/components/craft/github-activity.tsx +682 -0
- package/components/craft/glitch-text.tsx +414 -0
- package/components/craft/glyph-matrix.tsx +411 -0
- package/components/craft/golden-gate-404/framing.ts +53 -0
- package/components/craft/golden-gate-404/golden-gate-404.css +271 -0
- package/components/craft/golden-gate-404/golden-gate-404.mdx +55 -0
- package/components/craft/golden-gate-404/golden-gate-scene.tsx +73 -0
- package/components/craft/golden-gate-404/golden-gate.css +157 -0
- package/components/craft/golden-gate-404/live.ts +592 -0
- package/components/craft/golden-gate-404/model.json +176 -0
- package/components/craft/golden-gate-404/projection.ts +41 -0
- package/components/craft/golden-gate-404.css +271 -0
- package/components/craft/golden-gate-404.tsx +67 -0
- package/components/craft/golden-gate-scene.tsx +73 -0
- package/components/craft/golden-gate.css +157 -0
- package/components/craft/gooey-nav.tsx +286 -0
- package/components/craft/gravity-letters.tsx +687 -0
- package/components/craft/gravity-particle-burst.tsx +150 -0
- package/components/craft/grid-reveal.tsx +683 -0
- package/components/craft/hover-img.css +156 -0
- package/components/craft/hover-img.tsx +160 -0
- package/components/craft/input-otp.tsx +79 -0
- package/components/craft/interactive-area-chart.tsx +482 -0
- package/components/craft/interactive-timeline.tsx +315 -0
- package/components/craft/intro-loader.tsx +250 -0
- package/components/craft/ios-search-bar.tsx +130 -0
- package/components/craft/liquid-metal.tsx +212 -0
- package/components/craft/liquid-toggle.tsx +308 -0
- package/components/craft/live.ts +592 -0
- package/components/craft/loaders-gooey-blobs.tsx +61 -0
- package/components/craft/lock-input.tsx +169 -0
- package/components/craft/login.tsx +276 -0
- package/components/craft/meteors.tsx +139 -0
- package/components/craft/metric-hud.tsx +371 -0
- package/components/craft/model.json +176 -0
- package/components/craft/morphing-blob.tsx +289 -0
- package/components/craft/morphing-dialog.tsx +118 -0
- package/components/craft/morphing-icon.tsx +74 -0
- package/components/craft/morphing-shape-loader.tsx +241 -0
- package/components/craft/nimbu-mirchi.tsx +360 -0
- package/components/craft/notification-bell.tsx +357 -0
- package/components/craft/orbital-loading-ring.tsx +104 -0
- package/components/craft/origin-dropdown.tsx +196 -0
- package/components/craft/particle-delete.tsx +266 -0
- package/components/craft/payment-receipt-printer.tsx +600 -0
- package/components/craft/payment-status.tsx +359 -0
- package/components/craft/projection.ts +41 -0
- package/components/craft/recovery-ledger.tsx +215 -0
- package/components/craft/rocket-party-popper.tsx +308 -0
- package/components/craft/scroll-progress-nav.tsx +256 -0
- package/components/craft/scrollvelocitytext.tsx +285 -0
- package/components/craft/selection-basket.tsx +147 -0
- package/components/craft/sheet.tsx +324 -0
- package/components/craft/shooting-stars.tsx +710 -0
- package/components/craft/sidebar.tsx +448 -0
- package/components/craft/sign-up.tsx +396 -0
- package/components/craft/skeumorphic-music-card.tsx +177 -0
- package/components/craft/slide-pagination.tsx +170 -0
- package/components/craft/slot-text.module.css +19 -0
- package/components/craft/slot-text.tsx +183 -0
- package/components/craft/smart-comparison.tsx +375 -0
- package/components/craft/smooth-scroll.tsx +63 -0
- package/components/craft/speed-warp.tsx +179 -0
- package/components/craft/split-showcase.tsx +268 -0
- package/components/craft/spotlight-search.tsx +337 -0
- package/components/craft/stack-unfold-panel.tsx +137 -0
- package/components/craft/sticky-pages.tsx +210 -0
- package/components/craft/text-scramble-decoder.tsx +139 -0
- package/components/craft/toggle.tsx +49 -0
- package/components/craft/torque-dial.tsx +293 -0
- package/components/craft/v-prism-settings.ts +31 -0
- package/components/craft/v-prism.tsx +797 -0
- package/components/craft/voice-note.tsx +730 -0
- package/components/docks/mac-dock.tsx +1 -1
- package/components/motion/accordion.module.css +15 -0
- package/components/motion/accordion.tsx +59 -0
- package/components/motion/action-button.module.css +20 -0
- package/components/motion/action-button.tsx +120 -0
- package/components/motion/action-sheet.tsx +1 -1
- package/components/motion/alert.module.css +15 -0
- package/components/motion/alert.tsx +109 -0
- package/components/motion/animated-counter.tsx +2 -0
- package/components/motion/animated-sidebar.tsx +1 -1
- package/components/motion/animated-toast-stack.tsx +1 -1
- package/components/motion/attachment-upload.tsx +1 -1
- package/components/motion/avatar.module.css +60 -0
- package/components/motion/avatar.tsx +21 -0
- package/components/motion/badge.module.css +52 -0
- package/components/motion/badge.tsx +82 -0
- package/components/motion/banner-stacking.tsx +3 -3
- package/components/motion/billing-toggle.module.css +139 -0
- package/components/motion/billing-toggle.tsx +205 -0
- package/components/motion/book-call-button.tsx +332 -0
- package/components/motion/bottom-sheet.tsx +1 -1
- package/components/motion/branching-submenu.tsx +223 -0
- package/components/motion/button/index.tsx +1 -0
- package/components/motion/button-group.module.css +87 -0
- package/components/motion/button-group.tsx +346 -0
- package/components/motion/calendar.module.css +51 -0
- package/components/motion/calendar.tsx +313 -0
- package/components/motion/card-stack.module.css +63 -0
- package/components/motion/card-stack.tsx +372 -0
- package/components/motion/card.module.css +51 -0
- package/components/motion/card.tsx +201 -0
- package/components/motion/carousel.module.css +42 -0
- package/components/motion/carousel.tsx +347 -0
- package/components/motion/center-morph-modal.tsx +1 -1
- package/components/motion/chart.tsx +359 -0
- package/components/motion/chip-group.module.css +38 -0
- package/components/motion/chip-group.tsx +256 -0
- package/components/motion/combobox/content.tsx +1 -1
- package/components/motion/command-menu.tsx +295 -0
- package/components/motion/command-palette.tsx +1 -1
- package/components/motion/confirm-morph.module.css +146 -0
- package/components/motion/confirm-morph.tsx +445 -0
- package/components/motion/context-menu.tsx +1 -1
- package/components/motion/cookie-consent.module.css +68 -0
- package/components/motion/cookie-consent.tsx +364 -0
- package/components/motion/countdown.module.css +49 -0
- package/components/motion/countdown.tsx +218 -0
- package/components/motion/date-picker.module.css +34 -0
- package/components/motion/date-picker.tsx +131 -0
- package/components/motion/dialog.module.css +36 -0
- package/components/motion/dialog.tsx +75 -0
- package/components/motion/dock.tsx +1 -1
- package/components/motion/dropdown-menu-morph.tsx +4 -4
- package/components/motion/dropdown-menu.module.css +38 -0
- package/components/motion/dropdown-menu.tsx +76 -0
- package/components/motion/elastic-slider.module.css +40 -0
- package/components/motion/elastic-slider.tsx +296 -0
- package/components/motion/empty-state.module.css +13 -0
- package/components/motion/empty-state.tsx +88 -0
- package/components/motion/expandable-card.module.css +22 -0
- package/components/motion/expandable-card.tsx +129 -0
- package/components/motion/expandable-text.module.css +19 -0
- package/components/motion/expandable-text.tsx +168 -0
- package/components/motion/expanding-button-group.module.css +44 -0
- package/components/motion/expanding-button-group.tsx +367 -0
- package/components/motion/expanding-search.module.css +51 -0
- package/components/motion/expanding-search.tsx +336 -0
- package/components/motion/file-dropzone.module.css +115 -0
- package/components/motion/file-dropzone.tsx +442 -0
- package/components/motion/filter-toolbar.module.css +70 -0
- package/components/motion/filter-toolbar.tsx +461 -0
- package/components/motion/floating-button-group.module.css +74 -0
- package/components/motion/floating-button-group.tsx +307 -0
- package/components/motion/gauge.module.css +22 -0
- package/components/motion/gauge.tsx +106 -0
- package/components/motion/hamburger-menu.tsx +103 -0
- package/components/motion/hold-to-confirm.module.css +20 -0
- package/components/motion/hold-to-confirm.tsx +209 -0
- package/components/motion/icon-morph.module.css +5 -0
- package/components/motion/icon-morph.tsx +239 -0
- package/components/motion/image-compare.module.css +25 -0
- package/components/motion/image-compare.tsx +278 -0
- package/components/motion/in-view-title.module.css +13 -0
- package/components/motion/in-view-title.tsx +74 -0
- package/components/motion/inline-edit.module.css +73 -0
- package/components/motion/inline-edit.tsx +360 -0
- package/components/motion/input-group.tsx +172 -0
- package/components/motion/item.tsx +197 -0
- package/components/motion/label.tsx +26 -0
- package/components/motion/liquid-ripple-button.tsx +193 -0
- package/components/motion/mac-os-folder-cards.tsx +268 -0
- package/components/motion/magnetic-button.tsx +96 -0
- package/components/motion/mention-input.module.css +134 -0
- package/components/motion/mention-input.tsx +522 -0
- package/components/motion/menubar.tsx +282 -0
- package/components/motion/money-card.tsx +1134 -0
- package/components/motion/money-input.module.css +77 -0
- package/components/motion/money-input.tsx +563 -0
- package/components/motion/morph-select.module.css +86 -0
- package/components/motion/morph-select.tsx +463 -0
- package/components/motion/morphing-button.tsx +141 -0
- package/components/motion/morphing-mega-menu.tsx +452 -0
- package/components/motion/morphing-search.tsx +1 -1
- package/components/motion/morphing-tabs.tsx +1 -1
- package/components/motion/multi-select/content.tsx +1 -1
- package/components/motion/navigation-menu.tsx +172 -0
- package/components/motion/neon-edge-button.tsx +64 -0
- package/components/motion/onboarding-checklist.module.css +71 -0
- package/components/motion/onboarding-checklist.tsx +349 -0
- package/components/motion/organic-shimmer.tsx +6 -6
- package/components/motion/otp-input.tsx +7 -4
- package/components/motion/password-field.module.css +27 -0
- package/components/motion/password-field.tsx +65 -0
- package/components/motion/password-strength.module.css +57 -0
- package/components/motion/password-strength.tsx +327 -0
- package/components/motion/peek-card.tsx +239 -0
- package/components/motion/popover-morph.tsx +1 -1
- package/components/motion/popover.tsx +1 -1
- package/components/motion/preview-rail.tsx +1 -1
- package/components/motion/profile-card.tsx +326 -0
- package/components/motion/progress.module.css +1 -0
- package/components/motion/progress.tsx +60 -0
- package/components/motion/project-folder.tsx +1 -1
- package/components/motion/radio-cards.module.css +84 -0
- package/components/motion/radio-cards.tsx +153 -0
- package/components/motion/radio-group.module.css +30 -0
- package/components/motion/radio-group.tsx +52 -0
- package/components/motion/rainbow-button.tsx +186 -0
- package/components/motion/raised-button.tsx +108 -0
- package/components/motion/range-histogram-slider.module.css +27 -0
- package/components/motion/range-histogram-slider.tsx +284 -0
- package/components/motion/reactions.module.css +49 -0
- package/components/motion/reactions.tsx +288 -0
- package/components/motion/resizable-panels.module.css +40 -0
- package/components/motion/resizable-panels.tsx +376 -0
- package/components/motion/resizable.tsx +58 -0
- package/components/motion/rich-text-editor.module.css +201 -0
- package/components/motion/rich-text-editor.tsx +1566 -0
- package/components/motion/ridgeline.module.css +58 -0
- package/components/motion/ridgeline.tsx +355 -0
- package/components/motion/scroll-area.module.css +79 -0
- package/components/motion/scroll-area.tsx +197 -0
- package/components/motion/scrub-input.module.css +135 -0
- package/components/motion/scrub-input.tsx +468 -0
- package/components/motion/search-field.module.css +17 -0
- package/components/motion/search-field.tsx +19 -0
- package/components/motion/segmented-control.tsx +2 -0
- package/components/motion/separator.tsx +30 -0
- package/components/motion/shortcut-recorder.module.css +85 -0
- package/components/motion/shortcut-recorder.tsx +513 -0
- package/components/motion/signature-pad.module.css +84 -0
- package/components/motion/signature-pad.tsx +546 -0
- package/components/motion/skeleton.module.css +11 -0
- package/components/motion/skeleton.tsx +70 -0
- package/components/motion/slider.module.css +45 -0
- package/components/motion/slider.tsx +405 -0
- package/components/motion/sonner.tsx +42 -0
- package/components/motion/sparkline.module.css +26 -0
- package/components/motion/sparkline.tsx +260 -0
- package/components/motion/spinner.tsx +20 -0
- package/components/motion/split-button.module.css +54 -0
- package/components/motion/split-button.tsx +114 -0
- package/components/motion/story-card.tsx +632 -0
- package/components/motion/streamgraph.module.css +55 -0
- package/components/motion/streamgraph.tsx +398 -0
- package/components/motion/swipe-actions.module.css +64 -0
- package/components/motion/swipe-actions.tsx +360 -0
- package/components/motion/table/row-handle.tsx +1 -1
- package/components/motion/table/table-header.tsx +1 -1
- package/components/motion/table/table-menu.tsx +1 -1
- package/components/motion/tag-input.module.css +34 -0
- package/components/motion/tag-input.tsx +150 -0
- package/components/motion/textarea.module.css +22 -0
- package/components/motion/textarea.tsx +64 -0
- package/components/motion/theme-switch-eclipse.tsx +82 -0
- package/components/motion/theme-switch-rise.tsx +82 -0
- package/components/motion/theme-switch-split.tsx +82 -0
- package/components/motion/theme-switch.module.css +31 -0
- package/components/motion/theme-switch.tsx +82 -0
- package/components/motion/time-picker.module.css +23 -0
- package/components/motion/time-picker.tsx +106 -0
- package/components/motion/toast.module.css +100 -0
- package/components/motion/toast.tsx +155 -0
- package/components/motion/tooltip.tsx +1 -1
- package/components/motion/treemap.module.css +59 -0
- package/components/motion/treemap.tsx +333 -0
- package/components/motion/undo-toast.tsx +252 -0
- package/components/motion/usage-meter.module.css +61 -0
- package/components/motion/usage-meter.tsx +340 -0
- package/components/otp/otp-boxed-input.tsx +18 -18
- package/components/previews/agents/ai-agent-activity.preview.tsx +14 -0
- package/components/previews/agents/ai-response.preview.tsx +14 -0
- package/components/previews/agents/ai-status.preview.tsx +14 -0
- package/components/previews/agents/chat-thread.preview.tsx +18 -0
- package/components/previews/agents/comment-thread.preview.tsx +17 -0
- package/components/previews/agents/json-viewer.preview.tsx +14 -0
- package/components/previews/agents/matrix-orb.preview.tsx +14 -0
- package/components/previews/agents/text-stream.preview.tsx +19 -0
- package/components/previews/agents/thinking-orb.preview.tsx +14 -0
- package/components/previews/agents/web-search.preview.tsx +17 -0
- package/components/previews/blocks/active-sessions.preview.tsx +14 -0
- package/components/previews/blocks/activity-feed.preview.tsx +14 -0
- package/components/previews/blocks/activity-heatmap.preview.tsx +18 -0
- package/components/previews/blocks/advanced-data-table.preview.tsx +17 -0
- package/components/previews/blocks/analytics-dashboard.preview.tsx +14 -0
- package/components/previews/blocks/art-gallery.preview.tsx +14 -0
- package/components/previews/blocks/bar-chart.preview.tsx +18 -0
- package/components/previews/blocks/blog-grid.preview.tsx +14 -0
- package/components/previews/blocks/brush-chart.preview.tsx +17 -0
- package/components/previews/blocks/changelog-feed.preview.tsx +14 -0
- package/components/previews/blocks/chat.preview.tsx +18 -0
- package/components/previews/blocks/comparison-table.preview.tsx +14 -0
- package/components/previews/blocks/cta-section.preview.tsx +14 -0
- package/components/previews/blocks/dashboard-shell.preview.tsx +18 -0
- package/components/previews/blocks/empty-states.preview.tsx +14 -0
- package/components/previews/blocks/expandable-tabs.preview.tsx +1 -1
- package/components/previews/blocks/family-drawer.preview.tsx +14 -0
- package/components/previews/blocks/faq.preview.tsx +14 -0
- package/components/previews/blocks/footer.preview.tsx +14 -0
- package/components/previews/blocks/form.preview.tsx +14 -0
- package/components/previews/blocks/frame.preview.tsx +18 -0
- package/components/previews/blocks/gantt.preview.tsx +18 -0
- package/components/previews/blocks/hero-section.preview.tsx +14 -0
- package/components/previews/blocks/hook-sidebar.preview.tsx +14 -0
- package/components/previews/blocks/kanban.preview.tsx +68 -0
- package/components/previews/blocks/line-chart.preview.tsx +18 -0
- package/components/previews/blocks/login-centered.preview.tsx +14 -0
- package/components/previews/blocks/logo-marquee.preview.tsx +14 -0
- package/components/previews/blocks/newsletter-signup.preview.tsx +14 -0
- package/components/previews/blocks/notification-center.preview.tsx +14 -0
- package/components/previews/blocks/otp-input.preview.tsx +2 -2
- package/components/previews/blocks/page-header.preview.tsx +14 -0
- package/components/previews/blocks/plan-comparison.preview.tsx +14 -0
- package/components/previews/blocks/pricing.preview.tsx +14 -0
- package/components/previews/blocks/product-tour.preview.tsx +14 -0
- package/components/previews/blocks/proximity-sidebar.preview.tsx +14 -0
- package/components/previews/blocks/rail-toc.preview.tsx +14 -0
- package/components/previews/blocks/scroll-progress.preview.tsx +14 -0
- package/components/previews/blocks/sidebar-stackbits.preview.tsx +14 -0
- package/components/previews/blocks/sign-in.preview.tsx +14 -0
- package/components/previews/blocks/site-header.preview.tsx +14 -0
- package/components/previews/blocks/slope-chart.preview.tsx +19 -0
- package/components/previews/blocks/sortable-data-table.preview.tsx +18 -0
- package/components/previews/blocks/stats-band.preview.tsx +14 -0
- package/components/previews/blocks/status-bars.preview.tsx +17 -0
- package/components/previews/blocks/step-player.preview.tsx +14 -0
- package/components/previews/blocks/task-list.preview.tsx +14 -0
- package/components/previews/blocks/waffle-chart.preview.tsx +17 -0
- package/components/previews/craft/airport-matrix-clock.preview.tsx +14 -0
- package/components/previews/craft/animated-counter.preview.tsx +14 -0
- package/components/previews/craft/apple-notification.preview.tsx +11 -0
- package/components/previews/craft/batch-gesture-tray.preview.tsx +19 -0
- package/components/previews/craft/booking-slot-calendar.preview.tsx +11 -0
- package/components/previews/craft/cafe-menu-board.preview.tsx +11 -0
- package/components/previews/craft/calendar-reminder-notification.preview.tsx +11 -0
- package/components/previews/craft/car-smoke-page-transition.preview.tsx +14 -0
- package/components/previews/craft/chat-bubble-notification.preview.tsx +11 -0
- package/components/previews/craft/cinema-ticket.preview.tsx +11 -0
- package/components/previews/craft/circle-cut-frame.preview.tsx +11 -0
- package/components/previews/craft/circular-orbit.preview.tsx +14 -0
- package/components/previews/craft/click-spark.preview.tsx +14 -0
- package/components/previews/craft/code-snippet-deck.preview.tsx +14 -0
- package/components/previews/craft/command.preview.tsx +14 -0
- package/components/previews/craft/contact-profile.preview.tsx +11 -0
- package/components/previews/craft/credit-card-glass.preview.tsx +11 -0
- package/components/previews/craft/cursor-follower.preview.tsx +14 -0
- package/components/previews/craft/customers-table.preview.tsx +11 -0
- package/components/previews/craft/daily-motivation.preview.tsx +11 -0
- package/components/previews/craft/date-range-picker-card.preview.tsx +11 -0
- package/components/previews/craft/delete-button.preview.tsx +14 -0
- package/components/previews/craft/delivery-notification.preview.tsx +11 -0
- package/components/previews/craft/denim-product-editorial.preview.tsx +11 -0
- package/components/previews/craft/density-lens.preview.tsx +14 -0
- package/components/previews/craft/dependency-trace.preview.tsx +17 -0
- package/components/previews/craft/deploy-notification.preview.tsx +11 -0
- package/components/previews/craft/depth-corridor.preview.tsx +14 -0
- package/components/previews/craft/discord-chat.preview.tsx +11 -0
- package/components/previews/craft/discover-button.preview.tsx +14 -0
- package/components/previews/craft/doubt-button.preview.tsx +11 -0
- package/components/previews/craft/drag-to-confirm.preview.tsx +14 -0
- package/components/previews/craft/draggable-marquee.preview.tsx +17 -0
- package/components/previews/craft/drop-cap-editorial.preview.tsx +11 -0
- package/components/previews/craft/duration-picker.preview.tsx +14 -0
- package/components/previews/craft/editorial-staff-profile.preview.tsx +11 -0
- package/components/previews/craft/electric-scooter.preview.tsx +11 -0
- package/components/previews/craft/email-notification.preview.tsx +11 -0
- package/components/previews/craft/emoji-reaction.preview.tsx +14 -0
- package/components/previews/craft/empty.preview.tsx +14 -0
- package/components/previews/craft/event-ticket.preview.tsx +11 -0
- package/components/previews/craft/evil-eye.preview.tsx +14 -0
- package/components/previews/craft/expandable-data-row.preview.tsx +14 -0
- package/components/previews/craft/field.preview.tsx +14 -0
- package/components/previews/craft/file-input.preview.tsx +14 -0
- package/components/previews/craft/film-strip.preview.tsx +11 -0
- package/components/previews/craft/flight-boarding.preview.tsx +11 -0
- package/components/previews/craft/flip-text.preview.tsx +14 -0
- package/components/previews/craft/fluid-orb.preview.tsx +14 -0
- package/components/previews/craft/focus-mode.preview.tsx +14 -0
- package/components/previews/craft/folder-component.preview.tsx +14 -0
- package/components/previews/craft/folder-tab-card.preview.tsx +11 -0
- package/components/previews/craft/gallery-grid.preview.tsx +11 -0
- package/components/previews/craft/gallery-wall.preview.tsx +11 -0
- package/components/previews/craft/github-activity.preview.tsx +14 -0
- package/components/previews/craft/github-contribution.preview.tsx +11 -0
- package/components/previews/craft/github-repo.preview.tsx +11 -0
- package/components/previews/craft/glass-overlay-image.preview.tsx +11 -0
- package/components/previews/craft/glitch-text.preview.tsx +14 -0
- package/components/previews/craft/glyph-matrix.preview.tsx +14 -0
- package/components/previews/craft/golden-gate-404.preview.tsx +14 -0
- package/components/previews/craft/gooey-nav.preview.tsx +14 -0
- package/components/previews/craft/gravity-letters.preview.tsx +14 -0
- package/components/previews/craft/gravity-particle-burst.preview.tsx +14 -0
- package/components/previews/craft/grid-reveal.preview.tsx +14 -0
- package/components/previews/craft/hard-shadow-polaroid-frame.preview.tsx +11 -0
- package/components/previews/craft/hover-img.preview.tsx +14 -0
- package/components/previews/craft/incoming-call-notification.preview.tsx +11 -0
- package/components/previews/craft/ink-stamp-document.preview.tsx +11 -0
- package/components/previews/craft/input-group-field.preview.tsx +11 -0
- package/components/previews/craft/input-otp.preview.tsx +19 -0
- package/components/previews/craft/interactive-area-chart.preview.tsx +14 -0
- package/components/previews/craft/interactive-timeline.preview.tsx +14 -0
- package/components/previews/craft/intro-loader.preview.tsx +14 -0
- package/components/previews/craft/ios-search-bar.preview.tsx +15 -0
- package/components/previews/craft/ipad.preview.tsx +11 -0
- package/components/previews/craft/journal-writing.preview.tsx +11 -0
- package/components/previews/craft/keyboard-shortcuts.preview.tsx +11 -0
- package/components/previews/craft/linked-in-profile.preview.tsx +11 -0
- package/components/previews/craft/liquid-metal.preview.tsx +14 -0
- package/components/previews/craft/liquid-toggle.preview.tsx +14 -0
- package/components/previews/craft/loaders-gooey-blobs.preview.tsx +14 -0
- package/components/previews/craft/lock-input.preview.tsx +14 -0
- package/components/previews/craft/login.preview.tsx +14 -0
- package/components/previews/craft/mac-dock.preview.tsx +11 -0
- package/components/previews/craft/magazine-cover.preview.tsx +11 -0
- package/components/previews/craft/meteors.preview.tsx +14 -0
- package/components/previews/craft/metric-hud.preview.tsx +14 -0
- package/components/previews/craft/minimal-agenda.preview.tsx +11 -0
- package/components/previews/craft/month-picker-calendar.preview.tsx +11 -0
- package/components/previews/craft/morphing-blob.preview.tsx +14 -0
- package/components/previews/craft/morphing-dialog.preview.tsx +18 -0
- package/components/previews/craft/morphing-icon.preview.tsx +15 -0
- package/components/previews/craft/morphing-shape-loader.preview.tsx +14 -0
- package/components/previews/craft/museum-placard.preview.tsx +11 -0
- package/components/previews/craft/music-player.preview.tsx +11 -0
- package/components/previews/craft/music-playlist.preview.tsx +11 -0
- package/components/previews/craft/nimbu-mirchi.preview.tsx +14 -0
- package/components/previews/craft/notification-bell.preview.tsx +14 -0
- package/components/previews/craft/now-playing-bar.preview.tsx +11 -0
- package/components/previews/craft/orbital-loading-ring.preview.tsx +14 -0
- package/components/previews/craft/orders-table.preview.tsx +11 -0
- package/components/previews/craft/origin-dropdown.preview.tsx +14 -0
- package/components/previews/craft/otp-boxed-input.preview.tsx +11 -0
- package/components/previews/craft/otp-underline-input.preview.tsx +11 -0
- package/components/previews/craft/particle-delete.preview.tsx +14 -0
- package/components/previews/craft/payment-notification.preview.tsx +11 -0
- package/components/previews/craft/payment-receipt-printer.preview.tsx +14 -0
- package/components/previews/craft/payment-status.preview.tsx +14 -0
- package/components/previews/craft/phone.preview.tsx +11 -0
- package/components/previews/craft/photo-album.preview.tsx +11 -0
- package/components/previews/craft/progress-ring-card.preview.tsx +11 -0
- package/components/previews/craft/recent-transactions-table.preview.tsx +11 -0
- package/components/previews/craft/recovery-ledger.preview.tsx +14 -0
- package/components/previews/craft/resource-links-panel.preview.tsx +11 -0
- package/components/previews/craft/rocket-party-popper.preview.tsx +14 -0
- package/components/previews/craft/scroll-progress-nav.preview.tsx +14 -0
- package/components/previews/craft/scrollvelocitytext.preview.tsx +14 -0
- package/components/previews/craft/selection-basket.preview.tsx +14 -0
- package/components/previews/craft/sheet.preview.tsx +15 -0
- package/components/previews/craft/shooting-stars.preview.tsx +14 -0
- package/components/previews/craft/sidebar.preview.tsx +19 -0
- package/components/previews/craft/sign-up.preview.tsx +14 -0
- package/components/previews/craft/skeumorphic-music-card.preview.tsx +18 -0
- package/components/previews/craft/slide-pagination.preview.tsx +14 -0
- package/components/previews/craft/slide-to-confirm-button.preview.tsx +11 -0
- package/components/previews/craft/slide-to-detonate.preview.tsx +11 -0
- package/components/previews/craft/slot-text.preview.tsx +14 -0
- package/components/previews/craft/slow-living-polaroid.preview.tsx +11 -0
- package/components/previews/craft/smart-comparison.preview.tsx +17 -0
- package/components/previews/craft/smooth-scroll.preview.tsx +14 -0
- package/components/previews/craft/speed-warp.preview.tsx +14 -0
- package/components/previews/craft/split-showcase.preview.tsx +14 -0
- package/components/previews/craft/spotlight-search.preview.tsx +14 -0
- package/components/previews/craft/stack-unfold-panel.preview.tsx +14 -0
- package/components/previews/craft/stacked-folder-card.preview.tsx +11 -0
- package/components/previews/craft/step-count.preview.tsx +11 -0
- package/components/previews/craft/sticky-pages.preview.tsx +14 -0
- package/components/previews/craft/system-alert.preview.tsx +11 -0
- package/components/previews/craft/team-members-table.preview.tsx +11 -0
- package/components/previews/craft/testimonial.preview.tsx +11 -0
- package/components/previews/craft/text-scramble-decoder.preview.tsx +14 -0
- package/components/previews/craft/threads-post.preview.tsx +11 -0
- package/components/previews/craft/toggle-pricing-cards.preview.tsx +11 -0
- package/components/previews/craft/toggle.preview.tsx +14 -0
- package/components/previews/craft/torque-dial.preview.tsx +15 -0
- package/components/previews/craft/travel-postcard.preview.tsx +11 -0
- package/components/previews/craft/twitter-profile.preview.tsx +11 -0
- package/components/previews/craft/user-profile.preview.tsx +11 -0
- package/components/previews/craft/users-select-table.preview.tsx +11 -0
- package/components/previews/craft/v-prism.preview.tsx +14 -0
- package/components/previews/craft/voice-note.preview.tsx +14 -0
- package/components/previews/craft/wallet-pass.preview.tsx +11 -0
- package/components/previews/craft/weather-snapshot.preview.tsx +11 -0
- package/components/previews/craft/week-strip-calendar.preview.tsx +11 -0
- package/components/previews/motion/accordion.preview.tsx +14 -0
- package/components/previews/motion/action-button.preview.tsx +14 -0
- package/components/previews/motion/alert.preview.tsx +14 -0
- package/components/previews/motion/avatar.preview.tsx +14 -0
- package/components/previews/motion/badge.preview.tsx +14 -0
- package/components/previews/motion/banner-stacking.preview.tsx +21 -0
- package/components/previews/motion/billing-toggle.preview.tsx +15 -0
- package/components/previews/motion/book-call-button.preview.tsx +14 -0
- package/components/previews/motion/branching-submenu.preview.tsx +14 -0
- package/components/previews/motion/button-group.preview.tsx +19 -0
- package/components/previews/motion/calendar.preview.tsx +14 -0
- package/components/previews/motion/card-stack.preview.tsx +19 -0
- package/components/previews/motion/card.preview.tsx +14 -0
- package/components/previews/motion/carousel.preview.tsx +17 -0
- package/components/previews/motion/cascader.preview.tsx +54 -0
- package/components/previews/motion/chart.preview.tsx +20 -0
- package/components/previews/motion/chip-group.preview.tsx +20 -0
- package/components/previews/motion/combobox.preview.tsx +1 -1
- package/components/previews/motion/command-menu.preview.tsx +16 -0
- package/components/previews/motion/confirm-morph.preview.tsx +14 -0
- package/components/previews/motion/cookie-consent.preview.tsx +14 -0
- package/components/previews/motion/countdown.preview.tsx +15 -0
- package/components/previews/motion/date-picker.preview.tsx +14 -0
- package/components/previews/motion/delete-with-smoky-dissolve.preview.tsx +14 -0
- package/components/previews/motion/dialog.preview.tsx +24 -0
- package/components/previews/motion/drag-drop-with-physics.preview.tsx +15 -0
- package/components/previews/motion/dropdown-menu-morph.preview.tsx +11 -0
- package/components/previews/motion/dropdown-menu.preview.tsx +19 -0
- package/components/previews/motion/elastic-slider.preview.tsx +14 -0
- package/components/previews/motion/empty-state.preview.tsx +14 -0
- package/components/previews/motion/expandable-card.preview.tsx +14 -0
- package/components/previews/motion/expandable-text.preview.tsx +14 -0
- package/components/previews/motion/expanding-button-group.preview.tsx +18 -0
- package/components/previews/motion/expanding-search.preview.tsx +17 -0
- package/components/previews/motion/file-dropzone.preview.tsx +14 -0
- package/components/previews/motion/filter-toolbar.preview.tsx +15 -0
- package/components/previews/motion/floating-button-group.preview.tsx +14 -0
- package/components/previews/motion/gauge.preview.tsx +14 -0
- package/components/previews/motion/hamburger-menu.preview.tsx +15 -0
- package/components/previews/motion/hold-to-confirm.preview.tsx +16 -0
- package/components/previews/motion/icon-morph.preview.tsx +14 -0
- package/components/previews/motion/image-compare.preview.tsx +17 -0
- package/components/previews/motion/in-view-title.preview.tsx +14 -0
- package/components/previews/motion/inline-edit.preview.tsx +15 -0
- package/components/previews/motion/input-group.preview.tsx +14 -0
- package/components/previews/motion/item.preview.tsx +14 -0
- package/components/previews/motion/label.preview.tsx +14 -0
- package/components/previews/motion/liquid-ripple-button.preview.tsx +14 -0
- package/components/previews/motion/mac-os-folder-cards.preview.tsx +14 -0
- package/components/previews/motion/magnetic-button.preview.tsx +14 -0
- package/components/previews/motion/mention-input.preview.tsx +14 -0
- package/components/previews/motion/menubar.preview.tsx +14 -0
- package/components/previews/motion/money-card.preview.tsx +14 -0
- package/components/previews/motion/money-input.preview.tsx +14 -0
- package/components/previews/motion/morph-select.preview.tsx +14 -0
- package/components/previews/motion/morphing-button.preview.tsx +14 -0
- package/components/previews/motion/morphing-mega-menu.preview.tsx +14 -0
- package/components/previews/motion/navigation-menu.preview.tsx +14 -0
- package/components/previews/motion/neon-edge-button.preview.tsx +14 -0
- package/components/previews/motion/onboarding-checklist.preview.tsx +17 -0
- package/components/previews/motion/organic-shimmer.preview.tsx +18 -0
- package/components/previews/motion/page-transition.preview.tsx +35 -0
- package/components/previews/motion/pagination.preview.tsx +20 -0
- package/components/previews/motion/password-field.preview.tsx +14 -0
- package/components/previews/motion/password-strength.preview.tsx +14 -0
- package/components/previews/motion/peek-card.preview.tsx +14 -0
- package/components/previews/motion/popover.preview.tsx +1 -1
- package/components/previews/motion/profile-card.preview.tsx +14 -0
- package/components/previews/motion/progress.preview.tsx +14 -0
- package/components/previews/motion/radio-cards.preview.tsx +14 -0
- package/components/previews/motion/radio-group.preview.tsx +20 -0
- package/components/previews/motion/rainbow-button.preview.tsx +14 -0
- package/components/previews/motion/raised-button.preview.tsx +14 -0
- package/components/previews/motion/range-histogram-slider.preview.tsx +14 -0
- package/components/previews/motion/reactions.preview.tsx +15 -0
- package/components/previews/motion/resizable-panels.preview.tsx +15 -0
- package/components/previews/motion/resizable.preview.tsx +19 -0
- package/components/previews/motion/rich-text-editor.preview.tsx +14 -0
- package/components/previews/motion/ridgeline.preview.tsx +17 -0
- package/components/previews/motion/scroll-area.preview.tsx +14 -0
- package/components/previews/motion/scrub-input.preview.tsx +14 -0
- package/components/previews/motion/search-field.preview.tsx +15 -0
- package/components/previews/motion/segmented-control.preview.tsx +23 -0
- package/components/previews/motion/select.preview.tsx +1 -1
- package/components/previews/motion/separator.preview.tsx +14 -0
- package/components/previews/motion/shortcut-recorder.preview.tsx +14 -0
- package/components/previews/motion/signature-pad.preview.tsx +14 -0
- package/components/previews/motion/skeleton.preview.tsx +14 -0
- package/components/previews/motion/slider.preview.tsx +14 -0
- package/components/previews/motion/sonner.preview.tsx +14 -0
- package/components/previews/motion/sparkline.preview.tsx +14 -0
- package/components/previews/motion/spinner.preview.tsx +14 -0
- package/components/previews/motion/split-button.preview.tsx +14 -0
- package/components/previews/motion/stepper.preview.tsx +39 -0
- package/components/previews/motion/story-card.preview.tsx +14 -0
- package/components/previews/motion/streamgraph.preview.tsx +18 -0
- package/components/previews/motion/swipe-actions.preview.tsx +18 -0
- package/components/previews/motion/tag-input.preview.tsx +14 -0
- package/components/previews/motion/text-animation.preview.tsx +2 -2
- package/components/previews/motion/text-reveal.preview.tsx +14 -0
- package/components/previews/motion/text-shimmer.preview.tsx +14 -0
- package/components/previews/motion/textarea.preview.tsx +14 -0
- package/components/previews/motion/theme-switch-eclipse.preview.tsx +15 -0
- package/components/previews/motion/theme-switch-rise.preview.tsx +15 -0
- package/components/previews/motion/theme-switch-split.preview.tsx +15 -0
- package/components/previews/motion/theme-switch.preview.tsx +15 -0
- package/components/previews/motion/tilt-card.preview.tsx +2 -2
- package/components/previews/motion/time-picker.preview.tsx +14 -0
- package/components/previews/motion/toast.preview.tsx +14 -0
- package/components/previews/motion/treemap.preview.tsx +17 -0
- package/components/previews/motion/undo-toast.preview.tsx +14 -0
- package/components/previews/motion/usage-meter.preview.tsx +19 -0
- package/components/profile/contact-profile-card.tsx +8 -8
- package/components/ui/button.tsx +59 -0
- package/components/ui/dialog.tsx +149 -0
- package/components/ui/input.tsx +20 -0
- package/components/ui/label.tsx +1 -0
- package/components/ui/loaders-gooey-blobs.tsx +2 -0
- package/components/ui/raised-button.tsx +2 -0
- package/components/ui/separator.tsx +1 -0
- package/components/ui/textarea.tsx +17 -0
- package/lib/arc-provider.tsx +101 -0
- package/lib/colorUtils.ts +34 -0
- package/lib/effects/shared/webgl-surface.jsx +47 -0
- package/lib/foundation.css +192 -0
- package/lib/media.ts +90 -0
- package/lib/motion-tokens.ts +5 -0
- package/lib/particle-delete.ts +500 -0
- package/lib/portal.tsx +23 -0
- package/lib/spring-tokens.ts +25 -0
- package/lib/theme/useTheme.tsx +157 -0
- package/lib/transition-tokens.ts +75 -0
- package/lib/use-copy-feedback.ts +40 -0
- package/lib/use-today.ts +8 -0
- package/lib/utils.ts +10 -0
- package/package.json +32 -4
- package/references/agents/ai-agent-activity.md +45 -0
- package/references/agents/ai-response.md +45 -0
- package/references/agents/ai-status.md +45 -0
- package/references/agents/chat-thread.md +45 -0
- package/references/agents/comment-thread.md +45 -0
- package/references/agents/json-viewer.md +45 -0
- package/references/agents/matrix-orb.md +43 -0
- package/references/agents/text-stream.md +44 -0
- package/references/agents/thinking-orb.md +43 -0
- package/references/agents/web-search.md +44 -0
- package/references/blocks/active-sessions.md +45 -0
- package/references/blocks/activity-feed.md +45 -0
- package/references/blocks/activity-heatmap.md +44 -0
- package/references/blocks/advanced-data-table.md +45 -0
- package/references/blocks/analytics-dashboard.md +43 -0
- package/references/blocks/art-gallery.md +44 -0
- package/references/blocks/bar-chart.md +44 -0
- package/references/blocks/blog-grid.md +45 -0
- package/references/blocks/brush-chart.md +44 -0
- package/references/blocks/changelog-feed.md +47 -0
- package/references/blocks/chat.md +45 -0
- package/references/blocks/comparison-table.md +45 -0
- package/references/blocks/cta-section.md +45 -0
- package/references/blocks/dashboard-shell.md +50 -0
- package/references/blocks/empty-states.md +44 -0
- package/references/blocks/family-drawer.md +46 -0
- package/references/blocks/faq.md +44 -0
- package/references/blocks/footer.md +43 -0
- package/references/blocks/form.md +45 -0
- package/references/blocks/hero-section.md +43 -0
- package/references/blocks/hook-sidebar.md +45 -0
- package/references/blocks/line-chart.md +44 -0
- package/references/blocks/login-centered.md +45 -0
- package/references/blocks/logo-marquee.md +44 -0
- package/references/blocks/newsletter-signup.md +46 -0
- package/references/blocks/notification-center.md +46 -0
- package/references/blocks/page-header.md +47 -0
- package/references/blocks/plan-comparison.md +45 -0
- package/references/blocks/pricing.md +45 -0
- package/references/blocks/product-tour.md +46 -0
- package/references/blocks/proximity-sidebar.md +44 -0
- package/references/blocks/rail-toc.md +44 -0
- package/references/blocks/scroll-progress.md +44 -0
- package/references/blocks/sidebar-stackbits.md +45 -0
- package/references/blocks/sign-in.md +45 -0
- package/references/blocks/site-header.md +46 -0
- package/references/blocks/slope-chart.md +44 -0
- package/references/blocks/sortable-data-table.md +45 -0
- package/references/blocks/stats-band.md +44 -0
- package/references/blocks/status-bars.md +45 -0
- package/references/blocks/step-player.md +45 -0
- package/references/blocks/task-list.md +44 -0
- package/references/blocks/waffle-chart.md +44 -0
- package/references/component-preview-contract.md +42 -0
- package/references/craft/airport-matrix-clock.md +44 -0
- package/references/craft/animated-counter.md +44 -0
- package/references/craft/batch-gesture-tray.md +45 -0
- package/references/craft/car-smoke-page-transition.md +44 -0
- package/references/craft/circular-orbit.md +44 -0
- package/references/craft/click-spark.md +45 -0
- package/references/craft/code-snippet-deck.md +45 -0
- package/references/craft/command.md +45 -0
- package/references/craft/cursor-follower.md +44 -0
- package/references/craft/delete-button.md +44 -0
- package/references/craft/density-lens.md +44 -0
- package/references/craft/dependency-trace.md +44 -0
- package/references/craft/depth-corridor.md +45 -0
- package/references/craft/discover-button.md +44 -0
- package/references/craft/drag-to-confirm.md +45 -0
- package/references/craft/draggable-marquee.md +45 -0
- package/references/craft/duration-picker.md +48 -0
- package/references/craft/emoji-reaction.md +47 -0
- package/references/craft/empty.md +44 -0
- package/references/craft/evil-eye.md +44 -0
- package/references/craft/expandable-data-row.md +45 -0
- package/references/craft/field.md +44 -0
- package/references/craft/file-input.md +46 -0
- package/references/craft/flip-text.md +43 -0
- package/references/craft/fluid-orb.md +43 -0
- package/references/craft/focus-mode.md +45 -0
- package/references/craft/folder-component.md +44 -0
- package/references/craft/github-activity.md +45 -0
- package/references/craft/glitch-text.md +44 -0
- package/references/craft/glyph-matrix.md +43 -0
- package/references/craft/golden-gate-404.md +45 -0
- package/references/craft/gooey-nav.md +45 -0
- package/references/craft/gravity-letters.md +43 -0
- package/references/craft/gravity-particle-burst.md +44 -0
- package/references/craft/grid-reveal.md +44 -0
- package/references/craft/hover-img.md +44 -0
- package/references/craft/input-otp.md +45 -0
- package/references/craft/interactive-area-chart.md +44 -0
- package/references/craft/interactive-timeline.md +45 -0
- package/references/craft/intro-loader.md +45 -0
- package/references/craft/ios-search-bar.md +45 -0
- package/references/craft/liquid-metal.md +45 -0
- package/references/craft/liquid-toggle.md +44 -0
- package/references/craft/loaders-gooey-blobs.md +44 -0
- package/references/craft/lock-input.md +44 -0
- package/references/craft/login.md +45 -0
- package/references/craft/meteors.md +43 -0
- package/references/craft/metric-hud.md +45 -0
- package/references/craft/morphing-blob.md +44 -0
- package/references/craft/morphing-dialog.md +45 -0
- package/references/craft/morphing-icon.md +44 -0
- package/references/craft/morphing-shape-loader.md +44 -0
- package/references/craft/nimbu-mirchi.md +44 -0
- package/references/craft/notification-bell.md +45 -0
- package/references/craft/orbital-loading-ring.md +43 -0
- package/references/craft/origin-dropdown.md +45 -0
- package/references/craft/particle-delete.md +44 -0
- package/references/craft/payment-receipt-printer.md +45 -0
- package/references/craft/payment-status.md +45 -0
- package/references/craft/recovery-ledger.md +45 -0
- package/references/craft/rocket-party-popper.md +45 -0
- package/references/craft/scroll-progress-nav.md +45 -0
- package/references/craft/scrollvelocitytext.md +43 -0
- package/references/craft/selection-basket.md +45 -0
- package/references/craft/sheet.md +46 -0
- package/references/craft/shooting-stars.md +44 -0
- package/references/craft/sidebar.md +45 -0
- package/references/craft/sign-up.md +45 -0
- package/references/craft/skeumorphic-music-card.md +45 -0
- package/references/craft/slide-pagination.md +45 -0
- package/references/craft/slot-text.md +44 -0
- package/references/craft/smart-comparison.md +45 -0
- package/references/craft/smooth-scroll.md +44 -0
- package/references/craft/speed-warp.md +43 -0
- package/references/craft/split-showcase.md +44 -0
- package/references/craft/spotlight-search.md +45 -0
- package/references/craft/stack-unfold-panel.md +45 -0
- package/references/craft/sticky-pages.md +43 -0
- package/references/craft/text-scramble-decoder.md +44 -0
- package/references/craft/toggle.md +45 -0
- package/references/craft/torque-dial.md +44 -0
- package/references/craft/v-prism.md +46 -0
- package/references/craft/voice-note.md +44 -0
- package/references/guides/better-accessibility.md +104 -0
- package/references/guides/better-colors.md +88 -0
- package/references/guides/better-interface.md +187 -0
- package/references/guides/better-layout.md +79 -0
- package/references/guides/better-typography.md +136 -0
- package/references/guides/better-ui.md +113 -0
- package/references/guides/better-writing.md +115 -0
- package/references/guides/dark-neutral-design-system.md +776 -0
- package/references/guides/fluid-interaction-conventions.md +30 -0
- package/references/guides/interface-review.md +142 -0
- package/references/guides/spring-motion-system.md +232 -0
- package/references/motion/accordion.md +46 -0
- package/references/motion/action-button.md +45 -0
- package/references/motion/alert.md +45 -0
- package/references/motion/avatar.md +44 -0
- package/references/motion/badge.md +44 -0
- package/references/motion/billing-toggle.md +44 -0
- package/references/motion/book-call-button.md +44 -0
- package/references/motion/branching-submenu.md +45 -0
- package/references/motion/button-group.md +46 -0
- package/references/motion/calendar.md +45 -0
- package/references/motion/card-stack.md +45 -0
- package/references/motion/card.md +46 -0
- package/references/motion/carousel.md +45 -0
- package/references/motion/chart.md +52 -0
- package/references/motion/chip-group.md +44 -0
- package/references/motion/command-menu.md +45 -0
- package/references/motion/confirm-morph.md +45 -0
- package/references/motion/cookie-consent.md +45 -0
- package/references/motion/countdown.md +44 -0
- package/references/motion/date-picker.md +45 -0
- package/references/motion/dialog.md +46 -0
- package/references/motion/dropdown-menu.md +46 -0
- package/references/motion/elastic-slider.md +44 -0
- package/references/motion/empty-state.md +45 -0
- package/references/motion/expandable-card.md +45 -0
- package/references/motion/expandable-text.md +45 -0
- package/references/motion/expanding-button-group.md +44 -0
- package/references/motion/expanding-search.md +46 -0
- package/references/motion/file-dropzone.md +45 -0
- package/references/motion/filter-toolbar.md +45 -0
- package/references/motion/floating-button-group.md +45 -0
- package/references/motion/gauge.md +44 -0
- package/references/motion/hamburger-menu.md +44 -0
- package/references/motion/hold-to-confirm.md +45 -0
- package/references/motion/icon-morph.md +44 -0
- package/references/motion/image-compare.md +45 -0
- package/references/motion/in-view-title.md +44 -0
- package/references/motion/inline-edit.md +45 -0
- package/references/motion/input-group.md +44 -0
- package/references/motion/item.md +45 -0
- package/references/motion/label.md +44 -0
- package/references/motion/liquid-ripple-button.md +45 -0
- package/references/motion/mac-os-folder-cards.md +45 -0
- package/references/motion/magnetic-button.md +44 -0
- package/references/motion/mention-input.md +45 -0
- package/references/motion/menubar.md +45 -0
- package/references/motion/money-card.md +46 -0
- package/references/motion/money-input.md +45 -0
- package/references/motion/morph-select.md +45 -0
- package/references/motion/morphing-button.md +45 -0
- package/references/motion/morphing-mega-menu.md +44 -0
- package/references/motion/navigation-menu.md +46 -0
- package/references/motion/neon-edge-button.md +44 -0
- package/references/motion/onboarding-checklist.md +45 -0
- package/references/motion/password-field.md +44 -0
- package/references/motion/password-strength.md +44 -0
- package/references/motion/peek-card.md +45 -0
- package/references/motion/profile-card.md +44 -0
- package/references/motion/progress.md +45 -0
- package/references/motion/radio-cards.md +44 -0
- package/references/motion/radio-group.md +44 -0
- package/references/motion/rainbow-button.md +43 -0
- package/references/motion/raised-button.md +45 -0
- package/references/motion/range-histogram-slider.md +44 -0
- package/references/motion/reactions.md +46 -0
- package/references/motion/resizable-panels.md +45 -0
- package/references/motion/resizable.md +45 -0
- package/references/motion/rich-text-editor.md +45 -0
- package/references/motion/ridgeline.md +44 -0
- package/references/motion/scroll-area.md +43 -0
- package/references/motion/scrub-input.md +45 -0
- package/references/motion/search-field.md +45 -0
- package/references/motion/separator.md +44 -0
- package/references/motion/shortcut-recorder.md +45 -0
- package/references/motion/signature-pad.md +45 -0
- package/references/motion/skeleton.md +44 -0
- package/references/motion/slider.md +44 -0
- package/references/motion/sonner.md +46 -0
- package/references/motion/sparkline.md +44 -0
- package/references/motion/spinner.md +44 -0
- package/references/motion/split-button.md +46 -0
- package/references/motion/story-card.md +44 -0
- package/references/motion/streamgraph.md +44 -0
- package/references/motion/swipe-actions.md +46 -0
- package/references/motion/tag-input.md +45 -0
- package/references/motion/text-reveal.md +43 -0
- package/references/motion/text-shimmer.md +44 -0
- package/references/motion/textarea.md +44 -0
- package/references/motion/theme-switch-eclipse.md +45 -0
- package/references/motion/theme-switch-rise.md +45 -0
- package/references/motion/theme-switch-split.md +45 -0
- package/references/motion/theme-switch.md +45 -0
- package/references/motion/time-picker.md +45 -0
- package/references/motion/toast.md +45 -0
- package/references/motion/treemap.md +44 -0
- package/references/motion/undo-toast.md +45 -0
- package/references/motion/usage-meter.md +45 -0
- package/scripts/build_docs.py +209 -205
- package/scripts/verify_skill.py +4 -4
- package/test/test_installer.mjs +31 -1
- package/test/test_preview_contracts.mjs +124 -0
|
@@ -0,0 +1,695 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { usePortalTheme } from "@/lib/portal";
|
|
4
|
+
|
|
5
|
+
import { useMemo, useRef, useState, type ReactNode } from "react";
|
|
6
|
+
|
|
7
|
+
type SetView = (view: string) => void;
|
|
8
|
+
import { Drawer } from "vaul";
|
|
9
|
+
import useMeasure from "react-use-measure";
|
|
10
|
+
import { motion, AnimatePresence } from "motion/react";
|
|
11
|
+
import clsx from "clsx";
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
export default function FamilyDrawer() {
|
|
15
|
+
const portalTheme = usePortalTheme();
|
|
16
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
17
|
+
const [view, setView] = useState("default");
|
|
18
|
+
const [elementRef, bounds] = useMeasure();
|
|
19
|
+
const previousHeightRef = useRef<number | null>(null);
|
|
20
|
+
|
|
21
|
+
const content = useMemo(() => {
|
|
22
|
+
switch (view) {
|
|
23
|
+
case "default":
|
|
24
|
+
return <DefaultView setView={setView} />;
|
|
25
|
+
case "remove":
|
|
26
|
+
return <RemoveWallet setView={setView} />;
|
|
27
|
+
case "phrase":
|
|
28
|
+
return <Phrase setView={setView} />;
|
|
29
|
+
case "key":
|
|
30
|
+
return <Key setView={setView} />;
|
|
31
|
+
}
|
|
32
|
+
}, [view]);
|
|
33
|
+
|
|
34
|
+
const opacityDuration = useMemo(() => {
|
|
35
|
+
const MIN_DURATION = 0.15;
|
|
36
|
+
const MAX_DURATION = 0.27;
|
|
37
|
+
|
|
38
|
+
if (!previousHeightRef.current) {
|
|
39
|
+
previousHeightRef.current = bounds.height;
|
|
40
|
+
return MIN_DURATION;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const heightDifference = Math.abs(
|
|
44
|
+
bounds.height - previousHeightRef.current,
|
|
45
|
+
);
|
|
46
|
+
previousHeightRef.current = bounds.height;
|
|
47
|
+
|
|
48
|
+
const duration = Math.min(
|
|
49
|
+
Math.max(heightDifference / 500, MIN_DURATION),
|
|
50
|
+
MAX_DURATION,
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
return duration;
|
|
54
|
+
}, [bounds.height]);
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<>
|
|
58
|
+
<button
|
|
59
|
+
className="focus-visible:shadow-focus-ring-button absolute top-1/2 left-1/2 h-[44px] -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white px-4 py-2 font-medium text-black transition-colors hover:bg-[#F9F9F8] md:font-medium dark:border-none dark:bg-muted dark:shadow-sm dark:text-foreground dark:hover:bg-muted"
|
|
60
|
+
onClick={() => setIsOpen(true)}
|
|
61
|
+
style={{ fontFamily: "var(--font-open-runde)" }}
|
|
62
|
+
>
|
|
63
|
+
Try it out
|
|
64
|
+
</button>
|
|
65
|
+
<Drawer.Root open={isOpen} onOpenChange={setIsOpen}>
|
|
66
|
+
<Drawer.Portal>
|
|
67
|
+
<Drawer.Overlay
|
|
68
|
+
className={["fixed inset-0 z-[60] bg-black/30 backdrop-blur-xs", portalTheme].filter(Boolean).join(" ")}
|
|
69
|
+
onClick={() => setIsOpen(false)}
|
|
70
|
+
/>
|
|
71
|
+
<Drawer.Content
|
|
72
|
+
asChild
|
|
73
|
+
className={["fixed inset-x-4 bottom-4 z-[60] mx-auto max-w-[361px] overflow-hidden rounded-[36px] bg-popover outline-hidden md:mx-auto md:w-full", portalTheme].filter(Boolean).join(" ")}
|
|
74
|
+
>
|
|
75
|
+
<motion.div animate={{ height: bounds.height }}>
|
|
76
|
+
<Drawer.Close asChild>
|
|
77
|
+
<button
|
|
78
|
+
data-vaul-no-drag=""
|
|
79
|
+
className="focus-visible:shadow-focus-ring-button absolute top-7 right-8 z-10 flex h-8 w-8 items-center justify-center rounded-full bg-[#F7F8F9] text-[#949595] transition-transform focus:scale-95 active:scale-75 dark:bg-secondary dark:text-muted-foreground"
|
|
80
|
+
>
|
|
81
|
+
<CloseIcon />
|
|
82
|
+
</button>
|
|
83
|
+
</Drawer.Close>
|
|
84
|
+
<AnimatePresence mode="popLayout">
|
|
85
|
+
<motion.div
|
|
86
|
+
key={view}
|
|
87
|
+
transition={{
|
|
88
|
+
duration: opacityDuration,
|
|
89
|
+
ease: [0.26, 0.08, 0.25, 1],
|
|
90
|
+
}}
|
|
91
|
+
initial={{ opacity: 0, scale: 0.96 }}
|
|
92
|
+
exit={{ opacity: 0, scale: 0.96 }}
|
|
93
|
+
animate={{ opacity: 1, scale: 1 }}
|
|
94
|
+
ref={elementRef}
|
|
95
|
+
className="px-6 pt-2.5 pb-12 antialiased"
|
|
96
|
+
style={{ fontFamily: "var(--font-open-runde)" }}
|
|
97
|
+
>
|
|
98
|
+
{content}
|
|
99
|
+
</motion.div>
|
|
100
|
+
</AnimatePresence>
|
|
101
|
+
</motion.div>
|
|
102
|
+
</Drawer.Content>
|
|
103
|
+
</Drawer.Portal>
|
|
104
|
+
</Drawer.Root>
|
|
105
|
+
</>
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
export function Button({
|
|
111
|
+
children,
|
|
112
|
+
onClick,
|
|
113
|
+
}: {
|
|
114
|
+
children: ReactNode;
|
|
115
|
+
onClick?: () => void;
|
|
116
|
+
}) {
|
|
117
|
+
return (
|
|
118
|
+
<button
|
|
119
|
+
data-vaul-no-drag=""
|
|
120
|
+
className="focus-visible:shadow-focus-ring-button flex h-12 w-full items-center gap-[15px] rounded-[16px] bg-[#F7F8F9] px-4 text-[17px] font-semibold text-[#222222] transition-transform focus:scale-95 active:scale-95 md:font-medium dark:bg-secondary dark:text-foreground"
|
|
121
|
+
onClick={onClick}
|
|
122
|
+
>
|
|
123
|
+
{children}
|
|
124
|
+
</button>
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function SecondaryButton({
|
|
129
|
+
children,
|
|
130
|
+
onClick,
|
|
131
|
+
className,
|
|
132
|
+
}: {
|
|
133
|
+
children: ReactNode;
|
|
134
|
+
onClick?: () => void;
|
|
135
|
+
className?: string;
|
|
136
|
+
}) {
|
|
137
|
+
return (
|
|
138
|
+
<button
|
|
139
|
+
data-vaul-no-drag=""
|
|
140
|
+
className={clsx(
|
|
141
|
+
"focus-visible:shadow-focus-ring-button flex h-12 w-full items-center justify-center gap-[15px] rounded-full text-center text-[19px] font-semibold transition-transform focus:scale-95 active:scale-95 md:font-medium",
|
|
142
|
+
className,
|
|
143
|
+
)}
|
|
144
|
+
onClick={onClick}
|
|
145
|
+
>
|
|
146
|
+
{children}
|
|
147
|
+
</button>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export function Header({
|
|
152
|
+
icon,
|
|
153
|
+
title,
|
|
154
|
+
description,
|
|
155
|
+
}: {
|
|
156
|
+
icon: ReactNode;
|
|
157
|
+
title: ReactNode;
|
|
158
|
+
description: ReactNode;
|
|
159
|
+
}) {
|
|
160
|
+
return (
|
|
161
|
+
<header className="mt-[21px]">
|
|
162
|
+
{icon}
|
|
163
|
+
<h2 className="mt-2.5 text-[22px] font-semibold text-[#222222] md:font-medium dark:text-foreground">
|
|
164
|
+
{title}
|
|
165
|
+
</h2>
|
|
166
|
+
|
|
167
|
+
<p className="mt-3 text-[17px] leading-[24px] font-medium text-[#999999] md:font-normal">
|
|
168
|
+
{description}
|
|
169
|
+
</p>
|
|
170
|
+
</header>
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function Phrase({ setView }: { setView: SetView }) {
|
|
175
|
+
return (
|
|
176
|
+
<div>
|
|
177
|
+
<div className="px-2">
|
|
178
|
+
<Header
|
|
179
|
+
icon={<RecoveryPhraseIcon />}
|
|
180
|
+
title="Secret Recovery Phrase"
|
|
181
|
+
description="Your Secret Recovery Phrase is the key used to back up your wallet. Keep it secret at all times."
|
|
182
|
+
/>
|
|
183
|
+
<ul className="mt-6 space-y-4 border-t border-[#F5F5F5] pt-6 dark:border-border">
|
|
184
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
185
|
+
<ShieldIcon />
|
|
186
|
+
Keep your Secret Phrase safe
|
|
187
|
+
</li>
|
|
188
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
189
|
+
<PassIcon />
|
|
190
|
+
Don’t share it with anyone else
|
|
191
|
+
</li>
|
|
192
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
193
|
+
<BannedIcon />
|
|
194
|
+
If you lose it, we can’t recover it
|
|
195
|
+
</li>
|
|
196
|
+
</ul>
|
|
197
|
+
</div>
|
|
198
|
+
<div className="mt-7 flex gap-4">
|
|
199
|
+
<SecondaryButton
|
|
200
|
+
onClick={() => setView("default")}
|
|
201
|
+
className="bg-[#F0F2F4] text-[#222222] dark:bg-secondary dark:text-foreground"
|
|
202
|
+
>
|
|
203
|
+
Cancel
|
|
204
|
+
</SecondaryButton>
|
|
205
|
+
<SecondaryButton
|
|
206
|
+
onClick={() => setView("default")}
|
|
207
|
+
className="bg-[#4DAFFF] text-[#FFFFFF]"
|
|
208
|
+
>
|
|
209
|
+
<FaceIDIcon />
|
|
210
|
+
Reveal
|
|
211
|
+
</SecondaryButton>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export function Key({ setView }: { setView: SetView }) {
|
|
218
|
+
return (
|
|
219
|
+
<div>
|
|
220
|
+
<div className="px-2">
|
|
221
|
+
<Header
|
|
222
|
+
icon={<RecoveryPhraseIcon />}
|
|
223
|
+
title="Private Key"
|
|
224
|
+
description="Your Private Key is the key used to back up your wallet. Keep it
|
|
225
|
+
secret and secure at all times."
|
|
226
|
+
/>
|
|
227
|
+
<ul className="mt-6 space-y-4 border-t border-[#F5F5F5] pt-6 dark:border-border">
|
|
228
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
229
|
+
<ShieldIcon />
|
|
230
|
+
Keep your private key safe
|
|
231
|
+
</li>
|
|
232
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
233
|
+
<PassIcon />
|
|
234
|
+
Don’t share it with anyone else
|
|
235
|
+
</li>
|
|
236
|
+
<li className="flex items-center gap-3 text-[15px] font-semibold text-[#999999] md:font-medium">
|
|
237
|
+
<BannedIcon />
|
|
238
|
+
If you lose it, we can’t recover it
|
|
239
|
+
</li>
|
|
240
|
+
</ul>
|
|
241
|
+
</div>
|
|
242
|
+
<div className="mt-7 flex gap-4">
|
|
243
|
+
<SecondaryButton
|
|
244
|
+
onClick={() => setView("default")}
|
|
245
|
+
className="bg-[#F0F2F4] text-[#222222] dark:bg-secondary dark:text-foreground"
|
|
246
|
+
>
|
|
247
|
+
Cancel
|
|
248
|
+
</SecondaryButton>
|
|
249
|
+
<SecondaryButton
|
|
250
|
+
onClick={() => setView("default")}
|
|
251
|
+
className="bg-[#4DAFFF] text-[#FFFFFF]"
|
|
252
|
+
>
|
|
253
|
+
<FaceIDIcon />
|
|
254
|
+
Reveal
|
|
255
|
+
</SecondaryButton>
|
|
256
|
+
</div>
|
|
257
|
+
</div>
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export function RemoveWallet({ setView }: { setView: SetView }) {
|
|
262
|
+
return (
|
|
263
|
+
<div>
|
|
264
|
+
<div className="px-2">
|
|
265
|
+
<Header
|
|
266
|
+
icon={<DangerIcon />}
|
|
267
|
+
title="Are you sure?"
|
|
268
|
+
description="You haven’t backed up your wallet yet. If you remove it, you could lose access forever. We suggest tapping and backing up your wallet first with a valid recovery method."
|
|
269
|
+
/>
|
|
270
|
+
<div className="mt-7 flex gap-4">
|
|
271
|
+
<SecondaryButton
|
|
272
|
+
onClick={() => setView("default")}
|
|
273
|
+
className="bg-[#F0F2F4] text-[#222222] dark:bg-secondary dark:text-foreground"
|
|
274
|
+
>
|
|
275
|
+
Cancel
|
|
276
|
+
</SecondaryButton>
|
|
277
|
+
<SecondaryButton
|
|
278
|
+
onClick={() => setView("default")}
|
|
279
|
+
className="bg-[#FF3F40] text-[#FFFFFF]"
|
|
280
|
+
>
|
|
281
|
+
Continue
|
|
282
|
+
</SecondaryButton>
|
|
283
|
+
</div>
|
|
284
|
+
</div>
|
|
285
|
+
</div>
|
|
286
|
+
);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export function DefaultView({ setView }: { setView: SetView }) {
|
|
290
|
+
return (
|
|
291
|
+
<>
|
|
292
|
+
<header className="mb-4 flex h-[72px] items-center border-b border-[#F7F7F7] pl-2 dark:border-border">
|
|
293
|
+
<h2 className="text-[19px] font-semibold text-[#222222] md:font-medium dark:text-foreground">
|
|
294
|
+
Options
|
|
295
|
+
</h2>
|
|
296
|
+
</header>
|
|
297
|
+
<div className="space-y-3">
|
|
298
|
+
<Button
|
|
299
|
+
onClick={() => {
|
|
300
|
+
setView("key");
|
|
301
|
+
}}
|
|
302
|
+
>
|
|
303
|
+
<LockIcon />
|
|
304
|
+
View Private Key
|
|
305
|
+
</Button>
|
|
306
|
+
<Button
|
|
307
|
+
onClick={() => {
|
|
308
|
+
setView("phrase");
|
|
309
|
+
}}
|
|
310
|
+
>
|
|
311
|
+
<PhraseIcon />
|
|
312
|
+
View Recovery Phase
|
|
313
|
+
</Button>
|
|
314
|
+
<button
|
|
315
|
+
className="focus-visible:shadow-focus-ring-button flex h-12 w-full items-center gap-[15px] rounded-[16px] bg-[#FFF0F0] px-4 text-[17px] font-semibold text-[#FF3F40] transition-transform focus:scale-95 active:scale-95 md:font-medium dark:bg-destructive/15"
|
|
316
|
+
onClick={() => {
|
|
317
|
+
setView("remove");
|
|
318
|
+
}}
|
|
319
|
+
>
|
|
320
|
+
<WarningIcon />
|
|
321
|
+
Remove Wallet
|
|
322
|
+
</button>
|
|
323
|
+
</div>
|
|
324
|
+
</>
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export function RecoveryPhraseIcon() {
|
|
329
|
+
return (
|
|
330
|
+
<svg
|
|
331
|
+
width="48"
|
|
332
|
+
height="48"
|
|
333
|
+
viewBox="0 0 48 48"
|
|
334
|
+
fill="none"
|
|
335
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
336
|
+
>
|
|
337
|
+
<path
|
|
338
|
+
d="M16.4517 37C15.0283 36.9773 13.5916 36.9488 12.2178 36.9183C9.16956 36.8506 7.64544 36.8167 6.41564 36.1889C5.31269 35.6258 4.35358 34.6681 3.78881 33.566C3.15908 32.3372 3.12349 30.8373 3.0523 27.8376C3.02068 26.5048 3 25.1888 3 24.0259C3 22.8629 3.02068 21.5469 3.0523 20.2142C3.12349 17.2144 3.15908 15.7145 3.78881 14.4857C4.35358 13.3836 5.31269 12.4259 6.41564 11.8628C7.64544 11.235 9.16959 11.2011 12.2179 11.1334C15.4835 11.0609 19.1045 11 22.0566 11C25.6932 11 30.345 11.0924 34.0971 11.1852C35.0534 11.2088 35.5316 11.2206 35.9699 11.2967C38.4232 11.7225 40.436 13.7225 40.8775 16.173C40.9564 16.6107 40.9709 17.078 41 18.0126V18.0126V18.5916"
|
|
339
|
+
stroke="#999999"
|
|
340
|
+
strokeWidth="2.75"
|
|
341
|
+
strokeLinecap="round"
|
|
342
|
+
/>
|
|
343
|
+
<path
|
|
344
|
+
d="M10 24.0001H19"
|
|
345
|
+
stroke="#999999"
|
|
346
|
+
strokeWidth="2.75"
|
|
347
|
+
strokeLinecap="round"
|
|
348
|
+
/>
|
|
349
|
+
<path
|
|
350
|
+
d="M10 30H16"
|
|
351
|
+
stroke="#999999"
|
|
352
|
+
strokeWidth="2.75"
|
|
353
|
+
strokeLinecap="round"
|
|
354
|
+
/>
|
|
355
|
+
<path
|
|
356
|
+
d="M36.8607 32.1238C36.8607 34.2665 35.1086 36.0036 32.9472 36.0036C30.7859 36.0036 29.0337 34.2665 29.0337 32.1238C29.0337 29.981 30.7859 28.2439 32.9472 28.2439C35.1086 28.2439 36.8607 29.981 36.8607 32.1238Z"
|
|
357
|
+
stroke="#999999"
|
|
358
|
+
strokeWidth="2.75"
|
|
359
|
+
strokeLinecap="round"
|
|
360
|
+
strokeLinejoin="round"
|
|
361
|
+
/>
|
|
362
|
+
<path
|
|
363
|
+
d="M21.009 33.4638C20.6293 32.6114 20.6293 31.636 21.009 30.7836C23.0327 26.241 27.6168 23.0708 32.9478 23.0708C38.2788 23.0708 42.8629 26.2411 44.8866 30.7837C45.2664 31.6361 45.2664 32.6115 44.8866 33.4639C42.8629 38.0065 38.2788 41.1767 32.9478 41.1767C27.6168 41.1767 23.0327 38.0064 21.009 33.4638Z"
|
|
364
|
+
stroke="#999999"
|
|
365
|
+
strokeWidth="2.75"
|
|
366
|
+
strokeLinecap="round"
|
|
367
|
+
strokeLinejoin="round"
|
|
368
|
+
/>
|
|
369
|
+
</svg>
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export function ShieldIcon() {
|
|
374
|
+
return (
|
|
375
|
+
<svg
|
|
376
|
+
width="24"
|
|
377
|
+
height="24"
|
|
378
|
+
viewBox="0 0 24 24"
|
|
379
|
+
fill="none"
|
|
380
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
381
|
+
>
|
|
382
|
+
<path
|
|
383
|
+
fillRule="evenodd"
|
|
384
|
+
clipRule="evenodd"
|
|
385
|
+
d="M3.08654 6.41197C3.13639 5.95634 3.5287 5.62685 3.98583 5.59345C6.79146 5.38847 9.00727 4.30249 11.0607 2.59943C11.4593 2.26879 12.0405 2.26879 12.4391 2.59944C14.4925 4.30249 16.7083 5.38846 19.5139 5.59345C19.9711 5.62685 20.3634 5.95638 20.4132 6.41203C20.4704 6.93468 20.4998 7.46586 20.4998 8.00402C20.4998 13.9495 17.4683 19.0446 12.4223 21.1815C11.9928 21.3634 11.507 21.3634 11.0775 21.1815C6.03148 19.0446 3 13.9495 3 8.00402C3 7.46584 3.02936 6.93464 3.08654 6.41197Z"
|
|
386
|
+
stroke="#A5A5A5"
|
|
387
|
+
strokeWidth="2"
|
|
388
|
+
/>
|
|
389
|
+
<path
|
|
390
|
+
d="M8.49097 11.7295L10.8281 14.0359L15.5023 9.4232"
|
|
391
|
+
stroke="#A5A5A5"
|
|
392
|
+
strokeWidth="2"
|
|
393
|
+
strokeLinecap="round"
|
|
394
|
+
strokeLinejoin="round"
|
|
395
|
+
/>
|
|
396
|
+
</svg>
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export function PassIcon() {
|
|
401
|
+
return (
|
|
402
|
+
<svg
|
|
403
|
+
width="24"
|
|
404
|
+
height="24"
|
|
405
|
+
viewBox="0 0 24 24"
|
|
406
|
+
fill="none"
|
|
407
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
408
|
+
>
|
|
409
|
+
<path
|
|
410
|
+
d="M1.75 12L2.75 12L1.75 12ZM12 20.25L12 21.25L12 20.25ZM5.15863 20.1131L5.19061 19.1136L5.15863 20.1131ZM22.1376 7.15748L23.1369 7.11999L22.1376 7.15748ZM2.86171 16.805C2.80378 15.2613 2.75 13.4384 2.75 12L0.75 12C0.75 13.4772 0.804975 15.3306 0.863116 16.88L2.86171 16.805ZM2.75 12C2.75 10.5616 2.80378 8.73874 2.86171 7.19498L0.863117 7.11999C0.804975 8.66944 0.75 10.5228 0.75 12L2.75 12ZM5.19061 4.88636C7.25799 4.82021 9.93991 4.75 12 4.75L12 2.75C9.90598 2.75 7.1972 2.82114 5.12666 2.88738L5.19061 4.88636ZM12 4.75C14.0601 4.75 16.742 4.82021 18.8094 4.88636L18.8733 2.88738C16.8028 2.82114 14.094 2.75 12 2.75L12 4.75ZM21.1383 7.19498C21.1962 8.73874 21.25 10.5616 21.25 12L23.25 12C23.25 10.5228 23.195 8.66944 23.1369 7.11999L21.1383 7.19498ZM21.25 12C21.25 13.4384 21.1962 15.2613 21.1383 16.805L23.1369 16.88C23.195 15.3306 23.25 13.4772 23.25 12L21.25 12ZM18.8094 19.1136C16.742 19.1798 14.0601 19.25 12 19.25L12 21.25C14.094 21.25 16.8028 21.1789 18.8733 21.1126L18.8094 19.1136ZM12 19.25C9.93991 19.25 7.25799 19.1798 5.19061 19.1136L5.12666 21.1126C7.1972 21.1789 9.90598 21.25 12 21.25L12 19.25ZM2.86171 7.19498C2.90906 5.93324 3.92285 4.92692 5.19061 4.88636L5.12666 2.88738C2.81454 2.96136 0.950076 4.80253 0.863117 7.11999L2.86171 7.19498ZM0.863116 16.88C0.950076 19.1975 2.81454 21.0386 5.12666 21.1126L5.19061 19.1136C3.92285 19.0731 2.90906 18.0668 2.86171 16.805L0.863116 16.88ZM21.1383 16.805C21.0909 18.0668 20.0772 19.0731 18.8094 19.1136L18.8733 21.1126C21.1855 21.0386 23.0499 19.1975 23.1369 16.88L21.1383 16.805ZM18.8094 4.88636C20.0772 4.92692 21.0909 5.93324 21.1383 7.19498L23.1369 7.11999C23.0499 4.80253 21.1855 2.96136 18.8733 2.88738L18.8094 4.88636Z"
|
|
411
|
+
fill="#A5A5A5"
|
|
412
|
+
/>
|
|
413
|
+
<rect
|
|
414
|
+
x="5.49951"
|
|
415
|
+
y="7.12207"
|
|
416
|
+
width="5.85"
|
|
417
|
+
height="1.95"
|
|
418
|
+
rx="0.975"
|
|
419
|
+
fill="#A5A5A5"
|
|
420
|
+
/>
|
|
421
|
+
<rect
|
|
422
|
+
x="5.49951"
|
|
423
|
+
y="11.0234"
|
|
424
|
+
width="5.85"
|
|
425
|
+
height="1.95"
|
|
426
|
+
rx="0.975"
|
|
427
|
+
fill="#A5A5A5"
|
|
428
|
+
/>
|
|
429
|
+
<rect
|
|
430
|
+
x="5.49951"
|
|
431
|
+
y="14.9248"
|
|
432
|
+
width="5.85"
|
|
433
|
+
height="1.95"
|
|
434
|
+
rx="0.975"
|
|
435
|
+
fill="#A5A5A5"
|
|
436
|
+
/>
|
|
437
|
+
<rect
|
|
438
|
+
x="12.6504"
|
|
439
|
+
y="7.12207"
|
|
440
|
+
width="5.85"
|
|
441
|
+
height="1.95"
|
|
442
|
+
rx="0.975"
|
|
443
|
+
fill="#A5A5A5"
|
|
444
|
+
/>
|
|
445
|
+
<rect
|
|
446
|
+
x="12.6504"
|
|
447
|
+
y="11.0234"
|
|
448
|
+
width="5.85"
|
|
449
|
+
height="1.95"
|
|
450
|
+
rx="0.975"
|
|
451
|
+
fill="#A5A5A5"
|
|
452
|
+
/>
|
|
453
|
+
<rect
|
|
454
|
+
x="12.6504"
|
|
455
|
+
y="14.9248"
|
|
456
|
+
width="5.85"
|
|
457
|
+
height="1.95"
|
|
458
|
+
rx="0.975"
|
|
459
|
+
fill="#A5A5A5"
|
|
460
|
+
/>
|
|
461
|
+
</svg>
|
|
462
|
+
);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export function BannedIcon() {
|
|
466
|
+
return (
|
|
467
|
+
<svg
|
|
468
|
+
width="24"
|
|
469
|
+
height="24"
|
|
470
|
+
viewBox="0 0 24 24"
|
|
471
|
+
fill="none"
|
|
472
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
473
|
+
>
|
|
474
|
+
<path
|
|
475
|
+
d="M12 2.99976C7.02944 2.99976 3 7.02919 3 11.9998C3 16.9703 7.02944 20.9998 12 20.9998C16.9706 20.9998 21 16.9703 21 11.9998C21 7.02919 16.9706 2.99976 12 2.99976Z"
|
|
476
|
+
stroke="#A5A5A5"
|
|
477
|
+
strokeWidth="2.2"
|
|
478
|
+
/>
|
|
479
|
+
<path
|
|
480
|
+
d="M5.63599 5.63602L18.3639 18.3639"
|
|
481
|
+
stroke="#A5A5A5"
|
|
482
|
+
strokeWidth="2.2"
|
|
483
|
+
/>
|
|
484
|
+
</svg>
|
|
485
|
+
);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export function FaceIDIcon() {
|
|
489
|
+
return (
|
|
490
|
+
<svg
|
|
491
|
+
width="20"
|
|
492
|
+
height="19"
|
|
493
|
+
viewBox="0 0 20 19"
|
|
494
|
+
fill="none"
|
|
495
|
+
className="mr-[-4px]"
|
|
496
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
497
|
+
>
|
|
498
|
+
<path
|
|
499
|
+
d="M1.66382 6.44434C1.00513 6.44434 0.634033 6.07324 0.634033 5.396V3.16016C0.634033 1.11914 1.72876 0.0429688 3.77905 0.0429688H6.01489C6.69214 0.0429688 7.06323 0.404785 7.06323 1.07275C7.06323 1.74072 6.69214 2.11182 6.01489 2.11182H3.95532C3.13892 2.11182 2.70288 2.52002 2.70288 3.37354V5.396C2.70288 6.07324 2.34106 6.44434 1.66382 6.44434ZM18.1497 6.44434C17.4817 6.44434 17.1106 6.07324 17.1106 5.396V3.37354C17.1106 2.52002 16.6653 2.11182 15.8582 2.11182H13.7986C13.1213 2.11182 12.7502 1.74072 12.7502 1.07275C12.7502 0.404785 13.1213 0.0429688 13.7986 0.0429688H16.0344C18.094 0.0429688 19.1794 1.12842 19.1794 3.16016V5.396C19.1794 6.07324 18.8176 6.44434 18.1497 6.44434ZM9.16919 10.8696C8.67749 10.8696 8.37134 10.6099 8.37134 10.1738C8.37134 9.80273 8.65894 9.52441 9.03931 9.52441H9.29907C9.37329 9.52441 9.41968 9.47803 9.41968 9.39453V6.47217C9.41968 6.07324 9.68872 5.8042 10.0969 5.8042C10.4958 5.8042 10.7556 6.07324 10.7556 6.47217V9.3667C10.7556 10.3315 10.2268 10.8696 9.25269 10.8696H9.16919ZM6.46021 8.69873C5.99634 8.69873 5.65308 8.36475 5.65308 7.8916V6.62988C5.65308 6.15674 5.99634 5.81348 6.46021 5.81348C6.93335 5.81348 7.26733 6.15674 7.26733 6.62988V7.8916C7.26733 8.36475 6.93335 8.69873 6.46021 8.69873ZM13.3347 8.69873C12.8616 8.69873 12.5183 8.36475 12.5183 7.8916V6.62988C12.5183 6.15674 12.8616 5.81348 13.3347 5.81348C13.7986 5.81348 14.1326 6.15674 14.1326 6.62988V7.8916C14.1326 8.36475 13.7986 8.69873 13.3347 8.69873ZM9.86499 13.8848C8.68677 13.8848 7.50854 13.4209 6.77563 12.5767C6.64575 12.4189 6.59009 12.2705 6.59009 12.0942C6.59009 11.7139 6.87769 11.4263 7.25806 11.4263C7.48999 11.4263 7.62915 11.5376 7.79614 11.6953C8.31567 12.2241 9.10425 12.5581 9.86499 12.5581C10.6536 12.5581 11.4421 12.2056 11.9338 11.7046C12.1194 11.5005 12.2585 11.4263 12.4534 11.4263C12.8337 11.4263 13.1306 11.7139 13.1306 12.0942C13.1306 12.2983 13.0657 12.4653 12.9451 12.5859C12.1287 13.4023 10.9875 13.8848 9.86499 13.8848ZM3.77905 18.5884C1.72876 18.5884 0.634033 17.5029 0.634033 15.4712V13.2261C0.634033 12.5581 0.99585 12.187 1.66382 12.187C2.33179 12.187 2.70288 12.5581 2.70288 13.2261V15.2578C2.70288 16.1113 3.13892 16.5195 3.95532 16.5195H6.01489C6.69214 16.5195 7.06323 16.8906 7.06323 17.5493C7.06323 18.2173 6.69214 18.5884 6.01489 18.5884H3.77905ZM13.7986 18.5884C13.1213 18.5884 12.7502 18.2173 12.7502 17.5493C12.7502 16.8906 13.1213 16.5195 13.7986 16.5195H15.8582C16.6653 16.5195 17.1106 16.1113 17.1106 15.2578V13.2261C17.1106 12.5581 17.4724 12.187 18.1497 12.187C18.8083 12.187 19.1794 12.5581 19.1794 13.2261V15.4712C19.1794 17.5029 18.094 18.5884 16.0344 18.5884H13.7986Z"
|
|
500
|
+
fill="white"
|
|
501
|
+
/>
|
|
502
|
+
</svg>
|
|
503
|
+
);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export function DangerIcon() {
|
|
507
|
+
return (
|
|
508
|
+
<svg
|
|
509
|
+
width="48"
|
|
510
|
+
height="48"
|
|
511
|
+
viewBox="0 0 48 48"
|
|
512
|
+
fill="none"
|
|
513
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
514
|
+
>
|
|
515
|
+
<path
|
|
516
|
+
d="M22 43C32.4934 43 41 34.4934 41 24C41 13.5066 32.4934 5 22 5C11.5066 5 3 13.5066 3 24C3 34.4934 11.5066 43 22 43Z"
|
|
517
|
+
stroke="#FF3F3F"
|
|
518
|
+
strokeWidth="2.75"
|
|
519
|
+
strokeLinecap="round"
|
|
520
|
+
strokeLinejoin="round"
|
|
521
|
+
/>
|
|
522
|
+
<path
|
|
523
|
+
d="M23.55 26.5008L23.9334 14.9989C23.9698 13.9059 23.0936 13 22 13C20.9064 13 20.0302 13.9059 20.0666 14.9989L20.45 26.5008C20.4779 27.3367 21.1636 28 22 28C22.8364 28 23.5221 27.3367 23.55 26.5008Z"
|
|
524
|
+
fill="#FF3F3F"
|
|
525
|
+
/>
|
|
526
|
+
<circle cx="21.9866" cy="33.2991" r="1.9866" fill="#FF3F3F" />
|
|
527
|
+
</svg>
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
export function CloseIcon() {
|
|
532
|
+
return (
|
|
533
|
+
<svg
|
|
534
|
+
width="12"
|
|
535
|
+
height="12"
|
|
536
|
+
viewBox="0 0 12 12"
|
|
537
|
+
fill="none"
|
|
538
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
539
|
+
>
|
|
540
|
+
<path
|
|
541
|
+
d="M10.4854 1.99998L2.00007 10.4853"
|
|
542
|
+
stroke="#999999"
|
|
543
|
+
strokeWidth="3"
|
|
544
|
+
strokeLinecap="round"
|
|
545
|
+
strokeLinejoin="round"
|
|
546
|
+
/>
|
|
547
|
+
<path
|
|
548
|
+
d="M10.4854 10.4844L2.00007 1.99908"
|
|
549
|
+
stroke="#999999"
|
|
550
|
+
strokeWidth="3"
|
|
551
|
+
strokeLinecap="round"
|
|
552
|
+
strokeLinejoin="round"
|
|
553
|
+
/>
|
|
554
|
+
</svg>
|
|
555
|
+
);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export function LockIcon() {
|
|
559
|
+
return (
|
|
560
|
+
<svg
|
|
561
|
+
// Optical alignment
|
|
562
|
+
style={{ transform: "translateY(-1px)" }}
|
|
563
|
+
width="20"
|
|
564
|
+
height="21"
|
|
565
|
+
viewBox="0 0 20 21"
|
|
566
|
+
fill="none"
|
|
567
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
568
|
+
>
|
|
569
|
+
<path
|
|
570
|
+
d="M6.00024 9V6C6.00024 3.79086 7.79111 2 10.0002 2V2C12.2094 2 14.0002 3.79086 14.0002 6V9"
|
|
571
|
+
stroke="#8F8F8F"
|
|
572
|
+
strokeWidth="2.33319"
|
|
573
|
+
/>
|
|
574
|
+
<path
|
|
575
|
+
d="M6.68423 9H13.3163V7H6.68423V9ZM16.0002 11.684V16.316H18.0002V11.684H16.0002ZM13.3163 19H6.68423V21H13.3163V19ZM4.00024 16.316V11.684H2.00024V16.316H4.00024ZM6.68423 19C5.20191 19 4.00024 17.7983 4.00024 16.316H2.00024C2.00024 18.9029 4.09734 21 6.68423 21V19ZM16.0002 16.316C16.0002 17.7983 14.7986 19 13.3163 19V21C15.9032 21 18.0002 18.9029 18.0002 16.316H16.0002ZM13.3163 9C14.7986 9 16.0002 10.2017 16.0002 11.684H18.0002C18.0002 9.09709 15.9032 7 13.3163 7V9ZM6.68423 7C4.09734 7 2.00024 9.09709 2.00024 11.684H4.00024C4.00024 10.2017 5.20191 9 6.68423 9V7Z"
|
|
576
|
+
fill="#8F8F8F"
|
|
577
|
+
/>
|
|
578
|
+
</svg>
|
|
579
|
+
);
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export function WarningIcon() {
|
|
583
|
+
return (
|
|
584
|
+
<svg
|
|
585
|
+
width="21"
|
|
586
|
+
height="20"
|
|
587
|
+
viewBox="0 0 21 20"
|
|
588
|
+
fill="none"
|
|
589
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
590
|
+
>
|
|
591
|
+
<path
|
|
592
|
+
d="M11.6324 11.2514L11.8827 7.49726C11.9232 6.88978 11.4414 6.37476 10.8325 6.37476C10.2237 6.37476 9.74185 6.88978 9.78235 7.49726L10.0326 11.2514C10.0607 11.6725 10.4105 11.9998 10.8325 11.9998C11.2546 11.9998 11.6043 11.6725 11.6324 11.2514Z"
|
|
593
|
+
fill="#FF3F3F"
|
|
594
|
+
/>
|
|
595
|
+
<circle cx="10.8328" cy="14.0623" r="0.9375" fill="#FF3F3F" />
|
|
596
|
+
<path
|
|
597
|
+
d="M8.71062 3.09582C9.7307 1.5843 11.9348 1.5843 12.9549 3.09582C14.1585 4.87924 15.6235 7.09937 16.6453 8.81189C17.6058 10.4217 18.6773 12.4256 19.5531 14.1178C20.416 15.7849 19.2611 17.7558 17.3855 17.8327C15.3163 17.9175 12.8085 17.9994 10.8328 17.9994C8.85699 17.9994 6.34926 17.9175 4.28004 17.8327C2.40438 17.7558 1.24949 15.7849 2.11241 14.1178C2.98825 12.4256 4.05975 10.4217 5.02026 8.81189C6.04203 7.09937 7.50705 4.87924 8.71062 3.09582Z"
|
|
598
|
+
stroke="#FF3F3F"
|
|
599
|
+
strokeWidth="2"
|
|
600
|
+
/>
|
|
601
|
+
</svg>
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export function PhraseIcon() {
|
|
606
|
+
return (
|
|
607
|
+
<svg
|
|
608
|
+
width="24"
|
|
609
|
+
height="20"
|
|
610
|
+
viewBox="0 0 24 20"
|
|
611
|
+
fill="none"
|
|
612
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
613
|
+
>
|
|
614
|
+
<path
|
|
615
|
+
d="M1.75049 10L2.75049 10L1.75049 10ZM12.0005 18.25L12.0005 19.25L12.0005 18.25ZM5.15912 18.1131L5.1911 17.1136L5.15912 18.1131ZM22.1381 5.15748L23.1374 5.11999L22.1381 5.15748ZM2.8622 14.805C2.80427 13.2613 2.75049 11.4384 2.75049 10L0.750488 10C0.750488 11.4772 0.805463 13.3306 0.863604 14.88L2.8622 14.805ZM2.75049 10C2.75049 8.56162 2.80427 6.73874 2.8622 5.19498L0.863605 5.11999C0.805463 6.66944 0.750488 8.5228 0.750488 10L2.75049 10ZM5.1911 2.88636C7.25848 2.82021 9.9404 2.75 12.0005 2.75L12.0005 0.75C9.90647 0.75 7.19769 0.821136 5.12715 0.887381L5.1911 2.88636ZM12.0005 2.75C14.0606 2.75 16.7425 2.82021 18.8099 2.88636L18.8738 0.887382C16.8033 0.821136 14.0945 0.75 12.0005 0.75L12.0005 2.75ZM21.1388 5.19498C21.1967 6.73874 21.2505 8.56162 21.2505 10L23.2505 10C23.2505 8.5228 23.1955 6.66944 23.1374 5.11999L21.1388 5.19498ZM21.2505 10C21.2505 11.4384 21.1967 13.2613 21.1388 14.805L23.1374 14.88C23.1955 13.3306 23.2505 11.4772 23.2505 10L21.2505 10ZM18.8099 17.1136C16.7425 17.1798 14.0606 17.25 12.0005 17.25L12.0005 19.25C14.0945 19.25 16.8033 19.1789 18.8738 19.1126L18.8099 17.1136ZM12.0005 17.25C9.9404 17.25 7.25848 17.1798 5.1911 17.1136L5.12715 19.1126C7.19769 19.1789 9.90647 19.25 12.0005 19.25L12.0005 17.25ZM2.8622 5.19498C2.90954 3.93324 3.92334 2.92692 5.1911 2.88636L5.12715 0.887381C2.81502 0.961356 0.950565 2.80253 0.863605 5.11999L2.8622 5.19498ZM0.863604 14.88C0.950564 17.1975 2.81502 19.0386 5.12715 19.1126L5.1911 17.1136C3.92334 17.0731 2.90954 16.0668 2.8622 14.805L0.863604 14.88ZM21.1388 14.805C21.0914 16.0668 20.0776 17.0731 18.8099 17.1136L18.8738 19.1126C21.186 19.0386 23.0504 17.1975 23.1374 14.88L21.1388 14.805ZM18.8099 2.88636C20.0776 2.92692 21.0914 3.93324 21.1388 5.19498L23.1374 5.11999C23.0504 2.80253 21.186 0.961356 18.8738 0.887382L18.8099 2.88636Z"
|
|
616
|
+
fill="#8F8F8F"
|
|
617
|
+
></path>
|
|
618
|
+
<rect
|
|
619
|
+
x="5.5"
|
|
620
|
+
y="5.12207"
|
|
621
|
+
width="5.85"
|
|
622
|
+
height="1.95"
|
|
623
|
+
rx="0.975"
|
|
624
|
+
fill="#8F8F8F"
|
|
625
|
+
></rect>
|
|
626
|
+
<rect
|
|
627
|
+
x="5.5"
|
|
628
|
+
y="9.02344"
|
|
629
|
+
width="5.85"
|
|
630
|
+
height="1.95"
|
|
631
|
+
rx="0.975"
|
|
632
|
+
fill="#8F8F8F"
|
|
633
|
+
></rect>
|
|
634
|
+
<rect
|
|
635
|
+
x="5.5"
|
|
636
|
+
y="12.9248"
|
|
637
|
+
width="5.85"
|
|
638
|
+
height="1.95"
|
|
639
|
+
rx="0.975"
|
|
640
|
+
fill="#8F8F8F"
|
|
641
|
+
></rect>
|
|
642
|
+
<rect
|
|
643
|
+
x="12.6509"
|
|
644
|
+
y="5.12207"
|
|
645
|
+
width="5.85"
|
|
646
|
+
height="1.95"
|
|
647
|
+
rx="0.975"
|
|
648
|
+
fill="#8F8F8F"
|
|
649
|
+
></rect>
|
|
650
|
+
<rect
|
|
651
|
+
x="12.6509"
|
|
652
|
+
y="9.02344"
|
|
653
|
+
width="5.85"
|
|
654
|
+
height="1.95"
|
|
655
|
+
rx="0.975"
|
|
656
|
+
fill="#8F8F8F"
|
|
657
|
+
></rect>
|
|
658
|
+
<rect
|
|
659
|
+
x="12.6509"
|
|
660
|
+
y="12.9248"
|
|
661
|
+
width="5.85"
|
|
662
|
+
height="1.95"
|
|
663
|
+
rx="0.975"
|
|
664
|
+
fill="#8F8F8F"
|
|
665
|
+
></rect>
|
|
666
|
+
</svg>
|
|
667
|
+
);
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export function CrossIcon() {
|
|
671
|
+
return (
|
|
672
|
+
<svg
|
|
673
|
+
width="12"
|
|
674
|
+
height="12"
|
|
675
|
+
viewBox="0 0 12 12"
|
|
676
|
+
fill="none"
|
|
677
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
678
|
+
>
|
|
679
|
+
<path
|
|
680
|
+
d="M10.4854 1.99998L2.00007 10.4853"
|
|
681
|
+
stroke="#999999"
|
|
682
|
+
stroke-width="3"
|
|
683
|
+
stroke-linecap="round"
|
|
684
|
+
stroke-linejoin="round"
|
|
685
|
+
></path>
|
|
686
|
+
<path
|
|
687
|
+
d="M10.4854 10.4844L2.00007 1.99908"
|
|
688
|
+
stroke="#999999"
|
|
689
|
+
stroke-width="3"
|
|
690
|
+
stroke-linecap="round"
|
|
691
|
+
stroke-linejoin="round"
|
|
692
|
+
></path>
|
|
693
|
+
</svg>
|
|
694
|
+
);
|
|
695
|
+
}
|