@luxfi/ui 8.0.0 → 8.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/dist/3d-button.cjs +298 -0
- package/dist/3d-button.d.ts +52 -0
- package/dist/3d-button.d.ts.map +1 -0
- package/dist/3d-button.js +273 -0
- package/dist/3d-card.cjs +236 -0
- package/dist/3d-card.d.ts +29 -0
- package/dist/3d-card.d.ts.map +1 -0
- package/dist/3d-card.js +209 -0
- package/dist/3d-carousel.cjs +375 -0
- package/dist/3d-carousel.d.ts +26 -0
- package/dist/3d-carousel.d.ts.map +1 -0
- package/dist/3d-carousel.js +348 -0
- package/dist/3d-grid.cjs +360 -0
- package/dist/3d-grid.d.ts +49 -0
- package/dist/3d-grid.d.ts.map +1 -0
- package/dist/3d-grid.js +335 -0
- package/dist/3d-marquee.cjs +8669 -0
- package/dist/3d-marquee.d.ts +65 -0
- package/dist/3d-marquee.d.ts.map +1 -0
- package/dist/3d-marquee.js +8645 -0
- package/dist/3d-model-viewer.cjs +909 -0
- package/dist/3d-model-viewer.d.ts +45 -0
- package/dist/3d-model-viewer.d.ts.map +1 -0
- package/dist/3d-model-viewer.js +886 -0
- package/dist/3d-pin.cjs +46 -0
- package/dist/3d-pin.d.ts +8 -0
- package/dist/3d-pin.d.ts.map +1 -0
- package/dist/3d-pin.js +24 -0
- package/dist/3d-scene.cjs +439 -0
- package/dist/3d-scene.d.ts +76 -0
- package/dist/3d-scene.d.ts.map +1 -0
- package/dist/3d-scene.js +407 -0
- package/dist/3d-text.cjs +367 -0
- package/dist/3d-text.d.ts +62 -0
- package/dist/3d-text.d.ts.map +1 -0
- package/dist/3d-text.js +341 -0
- package/dist/accordion.d.ts.map +1 -1
- package/dist/advanced-chart.cjs +53 -0
- package/dist/advanced-chart.d.ts +6 -0
- package/dist/advanced-chart.d.ts.map +1 -0
- package/dist/advanced-chart.js +51 -0
- package/dist/advanced-navigation-bar.cjs +459 -0
- package/dist/advanced-navigation-bar.d.ts +14 -0
- package/dist/advanced-navigation-bar.d.ts.map +1 -0
- package/dist/advanced-navigation-bar.js +437 -0
- package/dist/ai-actions.cjs +57 -0
- package/dist/ai-actions.d.ts +14 -0
- package/dist/ai-actions.d.ts.map +1 -0
- package/dist/ai-actions.js +35 -0
- package/dist/ai-agents.cjs +1764 -0
- package/dist/ai-agents.d.ts +56 -0
- package/dist/ai-agents.d.ts.map +1 -0
- package/dist/ai-agents.js +1740 -0
- package/dist/ai-assistant.cjs +907 -0
- package/dist/ai-assistant.d.ts +28 -0
- package/dist/ai-assistant.d.ts.map +1 -0
- package/dist/ai-assistant.js +886 -0
- package/dist/ai-chat.cjs +1165 -0
- package/dist/ai-chat.d.ts +56 -0
- package/dist/ai-chat.d.ts.map +1 -0
- package/dist/ai-chat.js +1141 -0
- package/dist/ai-code.cjs +1866 -0
- package/dist/ai-code.d.ts +58 -0
- package/dist/ai-code.d.ts.map +1 -0
- package/dist/ai-code.js +1841 -0
- package/dist/ai-model-selector-navigation-bar.cjs +59 -0
- package/dist/ai-model-selector-navigation-bar.d.ts +15 -0
- package/dist/ai-model-selector-navigation-bar.d.ts.map +1 -0
- package/dist/ai-model-selector-navigation-bar.js +37 -0
- package/dist/ai-models.cjs +41 -0
- package/dist/ai-models.d.ts +15 -0
- package/dist/ai-models.d.ts.map +1 -0
- package/dist/ai-models.js +19 -0
- package/dist/ai-playground.cjs +1110 -0
- package/dist/ai-playground.d.ts +67 -0
- package/dist/ai-playground.d.ts.map +1 -0
- package/dist/ai-playground.js +1088 -0
- package/dist/ai-tools.cjs +1043 -0
- package/dist/ai-tools.d.ts +23 -0
- package/dist/ai-tools.d.ts.map +1 -0
- package/dist/ai-tools.js +1022 -0
- package/dist/ai-vision.cjs +1831 -0
- package/dist/ai-vision.d.ts +74 -0
- package/dist/ai-vision.d.ts.map +1 -0
- package/dist/ai-vision.js +1810 -0
- package/dist/ai-voice-settings.cjs +1511 -0
- package/dist/ai-voice-settings.d.ts +100 -0
- package/dist/ai-voice-settings.d.ts.map +1 -0
- package/dist/ai-voice-settings.js +1478 -0
- package/dist/ai-voice.cjs +1522 -0
- package/dist/ai-voice.d.ts +51 -0
- package/dist/ai-voice.d.ts.map +1 -0
- package/dist/ai-voice.js +1501 -0
- package/dist/alert.cjs +13 -142
- package/dist/alert.js +14 -143
- package/dist/android.cjs +127 -0
- package/dist/android.d.ts +19 -0
- package/dist/android.d.ts.map +1 -0
- package/dist/android.js +104 -0
- package/dist/animated-background.cjs +8830 -0
- package/dist/animated-background.d.ts +103 -0
- package/dist/animated-background.d.ts.map +1 -0
- package/dist/animated-background.js +8824 -0
- package/dist/animated-beam.cjs +8438 -0
- package/dist/animated-beam.d.ts +15 -0
- package/dist/animated-beam.d.ts.map +1 -0
- package/dist/animated-beam.js +8417 -0
- package/dist/animated-cursor.cjs +269 -0
- package/dist/animated-cursor.d.ts +71 -0
- package/dist/animated-cursor.d.ts.map +1 -0
- package/dist/animated-cursor.js +264 -0
- package/dist/animated-icon.cjs +8927 -0
- package/dist/animated-icon.d.ts +119 -0
- package/dist/animated-icon.d.ts.map +1 -0
- package/dist/animated-icon.js +8902 -0
- package/dist/animated-list.cjs +9226 -0
- package/dist/animated-list.d.ts +126 -0
- package/dist/animated-list.d.ts.map +1 -0
- package/dist/animated-list.js +9201 -0
- package/dist/animated-number.cjs +8773 -0
- package/dist/animated-number.d.ts +127 -0
- package/dist/animated-number.d.ts.map +1 -0
- package/dist/animated-number.js +8767 -0
- package/dist/animated-testimonials.cjs +8653 -0
- package/dist/animated-testimonials.d.ts +17 -0
- package/dist/animated-testimonials.d.ts.map +1 -0
- package/dist/animated-testimonials.js +8632 -0
- package/dist/animated-text.cjs +8914 -0
- package/dist/animated-text.d.ts +65 -0
- package/dist/animated-text.d.ts.map +1 -0
- package/dist/animated-text.js +8890 -0
- package/dist/animated-tooltip.cjs +8624 -0
- package/dist/animated-tooltip.d.ts +9 -0
- package/dist/animated-tooltip.d.ts.map +1 -0
- package/dist/animated-tooltip.js +8603 -0
- package/dist/announcement.cjs +465 -0
- package/dist/announcement.d.ts +9 -0
- package/dist/announcement.d.ts.map +1 -0
- package/dist/announcement.js +443 -0
- package/dist/app-switcher-navigation-bar.cjs +470 -0
- package/dist/app-switcher-navigation-bar.d.ts +15 -0
- package/dist/app-switcher-navigation-bar.d.ts.map +1 -0
- package/dist/app-switcher-navigation-bar.js +448 -0
- package/dist/apple-cards-carousel.cjs +9356 -0
- package/dist/apple-cards-carousel.d.ts +36 -0
- package/dist/apple-cards-carousel.d.ts.map +1 -0
- package/dist/apple-cards-carousel.js +9334 -0
- package/dist/apple-hello-effect.cjs +8380 -0
- package/dist/apple-hello-effect.d.ts +8 -0
- package/dist/apple-hello-effect.d.ts.map +1 -0
- package/dist/apple-hello-effect.js +8359 -0
- package/dist/auth.cjs +6 -5
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +6 -5
- package/dist/badge.cjs +28 -164
- package/dist/badge.d.ts +2 -5
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.js +29 -165
- package/dist/bank.d.ts +31 -31
- package/dist/bank.d.ts.map +1 -1
- package/dist/banner.cjs +78 -0
- package/dist/banner.d.ts +20 -0
- package/dist/banner.d.ts.map +1 -0
- package/dist/banner.js +55 -0
- package/dist/breadcrumb-and-filters-navigation-bar.cjs +51 -0
- package/dist/breadcrumb-and-filters-navigation-bar.d.ts +10 -0
- package/dist/breadcrumb-and-filters-navigation-bar.d.ts.map +1 -0
- package/dist/breadcrumb-and-filters-navigation-bar.js +29 -0
- package/dist/breadcrumb-navigation-bar.cjs +37 -0
- package/dist/breadcrumb-navigation-bar.d.ts +10 -0
- package/dist/breadcrumb-navigation-bar.d.ts.map +1 -0
- package/dist/breadcrumb-navigation-bar.js +15 -0
- package/dist/button.cjs +21 -150
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.js +21 -150
- package/dist/calendar.cjs +55 -0
- package/dist/calendar.d.ts +9 -0
- package/dist/calendar.d.ts.map +1 -0
- package/dist/calendar.js +53 -0
- package/dist/centered-logo-navigation-bar.cjs +37 -0
- package/dist/centered-logo-navigation-bar.d.ts +15 -0
- package/dist/centered-logo-navigation-bar.d.ts.map +1 -0
- package/dist/centered-logo-navigation-bar.js +15 -0
- package/dist/chart.cjs +266 -0
- package/dist/chart.d.ts +52 -0
- package/dist/chart.d.ts.map +1 -0
- package/dist/chart.js +238 -0
- package/dist/choicebox.cjs +77 -0
- package/dist/choicebox.d.ts +15 -0
- package/dist/choicebox.d.ts.map +1 -0
- package/dist/choicebox.js +55 -0
- package/dist/chrome.cjs +36 -30
- package/dist/chrome.d.ts.map +1 -1
- package/dist/chrome.js +37 -31
- package/dist/code-block.cjs +871 -0
- package/dist/code-block.d.ts +38 -0
- package/dist/code-block.d.ts.map +1 -0
- package/dist/code-block.js +849 -0
- package/dist/code-compare.cjs +1714 -0
- package/dist/code-compare.d.ts +46 -0
- package/dist/code-compare.d.ts.map +1 -0
- package/dist/code-compare.js +1692 -0
- package/dist/code-diff.cjs +1073 -0
- package/dist/code-diff.d.ts +42 -0
- package/dist/code-diff.d.ts.map +1 -0
- package/dist/code-diff.js +1051 -0
- package/dist/code-editor.cjs +641 -0
- package/dist/code-editor.d.ts +23 -0
- package/dist/code-editor.d.ts.map +1 -0
- package/dist/code-editor.js +616 -0
- package/dist/code-explorer.cjs +729 -0
- package/dist/code-explorer.d.ts +41 -0
- package/dist/code-explorer.d.ts.map +1 -0
- package/dist/code-explorer.js +707 -0
- package/dist/code-preview.cjs +1349 -0
- package/dist/code-preview.d.ts +38 -0
- package/dist/code-preview.d.ts.map +1 -0
- package/dist/code-preview.js +1327 -0
- package/dist/code-snippet.cjs +920 -0
- package/dist/code-snippet.d.ts +48 -0
- package/dist/code-snippet.d.ts.map +1 -0
- package/dist/code-snippet.js +897 -0
- package/dist/code-tabs.cjs +76 -0
- package/dist/code-tabs.d.ts +12 -0
- package/dist/code-tabs.d.ts.map +1 -0
- package/dist/code-tabs.js +54 -0
- package/dist/code-terminal.cjs +894 -0
- package/dist/code-terminal.d.ts +48 -0
- package/dist/code-terminal.d.ts.map +1 -0
- package/dist/code-terminal.js +872 -0
- package/dist/collaboration-navigation-bar.cjs +49 -0
- package/dist/collaboration-navigation-bar.d.ts +11 -0
- package/dist/collaboration-navigation-bar.d.ts.map +1 -0
- package/dist/collaboration-navigation-bar.js +27 -0
- package/dist/collapsible.cjs +34 -155
- package/dist/collapsible.d.ts +2 -2
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.js +34 -155
- package/dist/color-mode.d.ts +1 -1
- package/dist/color-mode.d.ts.map +1 -1
- package/dist/color-picker.cjs +516 -0
- package/dist/color-picker.d.ts +10 -0
- package/dist/color-picker.d.ts.map +1 -0
- package/dist/color-picker.js +495 -0
- package/dist/combobox.cjs +488 -0
- package/dist/combobox.d.ts +14 -0
- package/dist/combobox.d.ts.map +1 -0
- package/dist/combobox.js +466 -0
- package/dist/communication-navigation-bar.cjs +438 -0
- package/dist/communication-navigation-bar.d.ts +7 -0
- package/dist/communication-navigation-bar.d.ts.map +1 -0
- package/dist/communication-navigation-bar.js +416 -0
- package/dist/company-profile.cjs +46 -0
- package/dist/company-profile.d.ts +10 -0
- package/dist/company-profile.d.ts.map +1 -0
- package/dist/company-profile.js +44 -0
- package/dist/comparison.cjs +60 -0
- package/dist/comparison.d.ts +16 -0
- package/dist/comparison.d.ts.map +1 -0
- package/dist/comparison.js +38 -0
- package/dist/context-switcher-navigation-bar.cjs +51 -0
- package/dist/context-switcher-navigation-bar.d.ts +10 -0
- package/dist/context-switcher-navigation-bar.d.ts.map +1 -0
- package/dist/context-switcher-navigation-bar.js +29 -0
- package/dist/credit-card.cjs +77 -0
- package/dist/credit-card.d.ts +11 -0
- package/dist/credit-card.d.ts.map +1 -0
- package/dist/credit-card.js +55 -0
- package/dist/crypto-screener.cjs +43 -0
- package/dist/crypto-screener.d.ts +4 -0
- package/dist/crypto-screener.d.ts.map +1 -0
- package/dist/crypto-screener.js +41 -0
- package/dist/cursor.cjs +71 -0
- package/dist/cursor.d.ts +9 -0
- package/dist/cursor.d.ts.map +1 -0
- package/dist/cursor.js +49 -0
- package/dist/dashboard-navigation-bar.cjs +441 -0
- package/dist/dashboard-navigation-bar.d.ts +11 -0
- package/dist/dashboard-navigation-bar.d.ts.map +1 -0
- package/dist/dashboard-navigation-bar.js +419 -0
- package/dist/dialog-stack.cjs +460 -0
- package/dist/dialog-stack.d.ts +13 -0
- package/dist/dialog-stack.d.ts.map +1 -0
- package/dist/dialog-stack.js +438 -0
- package/dist/dialog.cjs +12 -11
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +12 -11
- package/dist/direction.cjs +26 -0
- package/dist/direction.d.ts +20 -0
- package/dist/direction.d.ts.map +1 -0
- package/dist/direction.js +23 -0
- package/dist/dock.cjs +8675 -0
- package/dist/dock.d.ts +20 -0
- package/dist/dock.d.ts.map +1 -0
- package/dist/dock.js +8653 -0
- package/dist/drawer.d.ts +6 -6
- package/dist/drawer.d.ts.map +1 -1
- package/dist/dropzone.cjs +116 -0
- package/dist/dropzone.d.ts +11 -0
- package/dist/dropzone.d.ts.map +1 -0
- package/dist/dropzone.js +94 -0
- package/dist/e-commerce-navigation-bar.cjs +442 -0
- package/dist/e-commerce-navigation-bar.d.ts +12 -0
- package/dist/e-commerce-navigation-bar.d.ts.map +1 -0
- package/dist/e-commerce-navigation-bar.js +420 -0
- package/dist/editor.cjs +497 -0
- package/dist/editor.d.ts +9 -0
- package/dist/editor.d.ts.map +1 -0
- package/dist/editor.js +475 -0
- package/dist/empty.cjs +117 -0
- package/dist/empty.d.ts +18 -0
- package/dist/empty.d.ts.map +1 -0
- package/dist/empty.js +110 -0
- package/dist/engine.cjs +91 -0
- package/dist/engine.js +86 -0
- package/dist/field.cjs +2 -1
- package/dist/field.d.ts.map +1 -1
- package/dist/field.js +3 -2
- package/dist/financials.cjs +66 -0
- package/dist/financials.d.ts +12 -0
- package/dist/financials.d.ts.map +1 -0
- package/dist/financials.js +64 -0
- package/dist/forex-screener.cjs +44 -0
- package/dist/forex-screener.d.ts +4 -0
- package/dist/forex-screener.d.ts.map +1 -0
- package/dist/forex-screener.js +42 -0
- package/dist/gantt.cjs +65 -0
- package/dist/gantt.d.ts +13 -0
- package/dist/gantt.d.ts.map +1 -0
- package/dist/gantt.js +43 -0
- package/dist/grid-pattern.cjs +327 -0
- package/dist/grid-pattern.d.ts +111 -0
- package/dist/grid-pattern.d.ts.map +1 -0
- package/dist/grid-pattern.js +304 -0
- package/dist/hooks/use-mobile.cjs +22 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-mobile.js +17 -0
- package/dist/iam.d.ts.map +1 -1
- package/dist/icon-button.cjs +13 -142
- package/dist/icon-button.js +14 -143
- package/dist/icon-navigation-bar.cjs +48 -0
- package/dist/icon-navigation-bar.d.ts +11 -0
- package/dist/icon-navigation-bar.d.ts.map +1 -0
- package/dist/icon-navigation-bar.js +26 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/image-crop.cjs +482 -0
- package/dist/image-crop.d.ts +9 -0
- package/dist/image-crop.d.ts.map +1 -0
- package/dist/image-crop.js +460 -0
- package/dist/image-zoom.cjs +77 -0
- package/dist/image-zoom.d.ts +7 -0
- package/dist/image-zoom.d.ts.map +1 -0
- package/dist/image-zoom.js +55 -0
- package/dist/image.cjs +15 -143
- package/dist/image.d.ts.map +1 -1
- package/dist/image.js +16 -144
- package/dist/index.cjs +30274 -1201
- package/dist/index.d.ts +121 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +30006 -1220
- package/dist/ink.cjs +17 -0
- package/dist/ink.d.ts.map +1 -1
- package/dist/ink.js +15 -0
- package/dist/input-otp.cjs +72 -0
- package/dist/input-otp.d.ts +35 -0
- package/dist/input-otp.d.ts.map +1 -0
- package/dist/input-otp.js +47 -0
- package/dist/input.d.ts +7 -7
- package/dist/input.d.ts.map +1 -1
- package/dist/iphone-15-pro.cjs +61 -0
- package/dist/iphone-15-pro.d.ts +9 -0
- package/dist/iphone-15-pro.d.ts.map +1 -0
- package/dist/iphone-15-pro.js +39 -0
- package/dist/item.cjs +215 -0
- package/dist/item.d.ts +41 -0
- package/dist/item.d.ts.map +1 -0
- package/dist/item.js +200 -0
- package/dist/kanban.cjs +1354 -0
- package/dist/kanban.d.ts +37 -0
- package/dist/kanban.d.ts.map +1 -0
- package/dist/kanban.js +1330 -0
- package/dist/kbd.cjs +40 -0
- package/dist/kbd.d.ts +4 -0
- package/dist/kbd.d.ts.map +1 -0
- package/dist/kbd.js +37 -0
- package/dist/limelight-nav-navigation-bar.cjs +51 -0
- package/dist/limelight-nav-navigation-bar.d.ts +10 -0
- package/dist/limelight-nav-navigation-bar.d.ts.map +1 -0
- package/dist/limelight-nav-navigation-bar.js +29 -0
- package/dist/limelight-nav.cjs +570 -0
- package/dist/limelight-nav.d.ts +10 -0
- package/dist/limelight-nav.d.ts.map +1 -0
- package/dist/limelight-nav.js +549 -0
- package/dist/link.cjs +29 -152
- package/dist/link.d.ts +1 -1
- package/dist/link.d.ts.map +1 -1
- package/dist/link.js +30 -153
- package/dist/list.cjs +35 -0
- package/dist/list.d.ts +5 -0
- package/dist/list.d.ts.map +1 -0
- package/dist/list.js +12 -0
- package/dist/lux.config.d.ts +88 -88
- package/dist/lux.config.d.ts.map +1 -1
- package/dist/magnetic.cjs +63 -0
- package/dist/magnetic.d.ts +8 -0
- package/dist/magnetic.d.ts.map +1 -0
- package/dist/magnetic.js +41 -0
- package/dist/market-overview.cjs +102 -0
- package/dist/market-overview.d.ts +4 -0
- package/dist/market-overview.d.ts.map +1 -0
- package/dist/market-overview.js +100 -0
- package/dist/marquee.cjs +67 -0
- package/dist/marquee.d.ts +10 -0
- package/dist/marquee.d.ts.map +1 -0
- package/dist/marquee.js +45 -0
- package/dist/menu-dock.cjs +64 -0
- package/dist/menu-dock.d.ts +14 -0
- package/dist/menu-dock.d.ts.map +1 -0
- package/dist/menu-dock.js +42 -0
- package/dist/menu.d.ts.map +1 -1
- package/dist/menubar.cjs +116 -0
- package/dist/menubar.d.ts +30 -0
- package/dist/menubar.d.ts.map +1 -0
- package/dist/menubar.js +61 -0
- package/dist/message-dock.cjs +480 -0
- package/dist/message-dock.d.ts +15 -0
- package/dist/message-dock.d.ts.map +1 -0
- package/dist/message-dock.js +458 -0
- package/dist/mini-calendar.cjs +505 -0
- package/dist/mini-calendar.d.ts +10 -0
- package/dist/mini-calendar.d.ts.map +1 -0
- package/dist/mini-calendar.js +483 -0
- package/dist/minimal-tiptap.cjs +48 -0
- package/dist/minimal-tiptap.d.ts +8 -0
- package/dist/minimal-tiptap.d.ts.map +1 -0
- package/dist/minimal-tiptap.js +26 -0
- package/dist/motion-highlight.cjs +71 -0
- package/dist/motion-highlight.d.ts +7 -0
- package/dist/motion-highlight.d.ts.map +1 -0
- package/dist/motion-highlight.js +49 -0
- package/dist/music-player.cjs +810 -0
- package/dist/music-player.d.ts +19 -0
- package/dist/music-player.d.ts.map +1 -0
- package/dist/music-player.js +788 -0
- package/dist/native-select.cjs +82 -0
- package/dist/native-select.d.ts +9 -0
- package/dist/native-select.d.ts.map +1 -0
- package/dist/native-select.js +58 -0
- package/dist/news-timeline.cjs +42 -0
- package/dist/news-timeline.d.ts +4 -0
- package/dist/news-timeline.d.ts.map +1 -0
- package/dist/news-timeline.js +40 -0
- package/dist/order-entry.cjs +141 -0
- package/dist/order-entry.d.ts +15 -0
- package/dist/order-entry.d.ts.map +1 -0
- package/dist/order-entry.js +136 -0
- package/dist/orders-history.cjs +83 -0
- package/dist/orders-history.d.ts +18 -0
- package/dist/orders-history.d.ts.map +1 -0
- package/dist/orders-history.js +78 -0
- package/dist/pagination.cjs +132 -0
- package/dist/pagination.d.ts +29 -0
- package/dist/pagination.d.ts.map +1 -0
- package/dist/pagination.js +104 -0
- package/dist/particles-background.cjs +159 -0
- package/dist/particles-background.d.ts +19 -0
- package/dist/particles-background.d.ts.map +1 -0
- package/dist/particles-background.js +157 -0
- package/dist/pill.cjs +80 -0
- package/dist/pill.d.ts +21 -0
- package/dist/pill.d.ts.map +1 -0
- package/dist/pill.js +57 -0
- package/dist/pixel-image.cjs +71 -0
- package/dist/pixel-image.d.ts +8 -0
- package/dist/pixel-image.d.ts.map +1 -0
- package/dist/pixel-image.js +49 -0
- package/dist/popover.cjs +11 -9
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.js +11 -9
- package/dist/positions-list.cjs +98 -0
- package/dist/positions-list.d.ts +13 -0
- package/dist/positions-list.d.ts.map +1 -0
- package/dist/positions-list.js +93 -0
- package/dist/progress-circle.cjs +2 -1
- package/dist/progress-circle.d.ts.map +1 -1
- package/dist/progress-circle.js +2 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/provider.d.ts.map +1 -1
- package/dist/pulse-animation.cjs +8741 -0
- package/dist/pulse-animation.d.ts +155 -0
- package/dist/pulse-animation.d.ts.map +1 -0
- package/dist/pulse-animation.js +8732 -0
- package/dist/qr-code.cjs +65 -0
- package/dist/qr-code.d.ts +21 -0
- package/dist/qr-code.d.ts.map +1 -0
- package/dist/qr-code.js +43 -0
- package/dist/radio.d.ts.map +1 -1
- package/dist/relative-time.cjs +88 -0
- package/dist/relative-time.d.ts +9 -0
- package/dist/relative-time.d.ts.map +1 -0
- package/dist/relative-time.js +66 -0
- package/dist/resizable.cjs +61 -0
- package/dist/resizable.d.ts +24 -0
- package/dist/resizable.d.ts.map +1 -0
- package/dist/resizable.js +37 -0
- package/dist/reveal-animation.cjs +8791 -0
- package/dist/reveal-animation.d.ts +134 -0
- package/dist/reveal-animation.d.ts.map +1 -0
- package/dist/reveal-animation.js +8779 -0
- package/dist/safari.cjs +90 -0
- package/dist/safari.d.ts +9 -0
- package/dist/safari.d.ts.map +1 -0
- package/dist/safari.js +68 -0
- package/dist/sandbox.cjs +94 -0
- package/dist/sandbox.d.ts +9 -0
- package/dist/sandbox.d.ts.map +1 -0
- package/dist/sandbox.js +72 -0
- package/dist/search-and-toggle-navigation-bar.cjs +51 -0
- package/dist/search-and-toggle-navigation-bar.d.ts +10 -0
- package/dist/search-and-toggle-navigation-bar.d.ts.map +1 -0
- package/dist/search-and-toggle-navigation-bar.js +29 -0
- package/dist/select.cjs +34 -160
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +34 -160
- package/dist/sidebar.cjs +1134 -0
- package/dist/sidebar.d.ts +80 -0
- package/dist/sidebar.d.ts.map +1 -0
- package/dist/sidebar.js +1090 -0
- package/dist/simple-navigation-bar.cjs +45 -0
- package/dist/simple-navigation-bar.d.ts +11 -0
- package/dist/simple-navigation-bar.d.ts.map +1 -0
- package/dist/simple-navigation-bar.js +23 -0
- package/dist/site/commerce/ui/conf.cjs +15 -0
- package/dist/site/commerce/ui/conf.d.ts +12 -0
- package/dist/site/commerce/ui/conf.d.ts.map +1 -0
- package/dist/site/commerce/ui/conf.js +13 -0
- package/dist/site/commerce/ui/context.cjs +280 -0
- package/dist/site/commerce/ui/context.d.ts +7 -0
- package/dist/site/commerce/ui/context.d.ts.map +1 -0
- package/dist/site/commerce/ui/context.js +276 -0
- package/dist/site/commerce/ui/store.cjs +205 -0
- package/dist/site/commerce/ui/store.d.ts +81 -0
- package/dist/site/commerce/ui/store.d.ts.map +1 -0
- package/dist/site/commerce/ui/store.js +203 -0
- package/dist/site/components/access-code-input.cjs +52 -0
- package/dist/site/components/access-code-input.d.ts +8 -0
- package/dist/site/components/access-code-input.d.ts.map +1 -0
- package/dist/site/components/access-code-input.js +50 -0
- package/dist/site/components/analytics.cjs +52 -0
- package/dist/site/components/analytics.d.ts +3 -0
- package/dist/site/components/analytics.d.ts.map +1 -0
- package/dist/site/components/analytics.js +46 -0
- package/dist/site/components/auth/callback.cjs +31 -0
- package/dist/site/components/auth/callback.d.ts +9 -0
- package/dist/site/components/auth/callback.d.ts.map +1 -0
- package/dist/site/components/auth/callback.js +29 -0
- package/dist/site/components/auth/login-panel.cjs +131 -0
- package/dist/site/components/auth/login-panel.css +4 -0
- package/dist/site/components/auth/login-panel.d.ts +12 -0
- package/dist/site/components/auth/login-panel.d.ts.map +1 -0
- package/dist/site/components/auth/login-panel.js +124 -0
- package/dist/site/components/auth/login.cjs +35 -0
- package/dist/site/components/auth/login.d.ts +13 -0
- package/dist/site/components/auth/login.d.ts.map +1 -0
- package/dist/site/components/auth/login.js +33 -0
- package/dist/site/components/auth/provider.cjs +20 -0
- package/dist/site/components/auth/provider.d.ts +6 -0
- package/dist/site/components/auth/provider.d.ts.map +1 -0
- package/dist/site/components/auth/provider.js +18 -0
- package/dist/site/components/auth/resume.cjs +15 -0
- package/dist/site/components/auth/resume.d.ts +4 -0
- package/dist/site/components/auth/resume.d.ts.map +1 -0
- package/dist/site/components/auth/resume.js +12 -0
- package/dist/site/components/auth/widget.cjs +63 -0
- package/dist/site/components/auth/widget.d.ts +13 -0
- package/dist/site/components/auth/widget.d.ts.map +1 -0
- package/dist/site/components/auth/widget.js +61 -0
- package/dist/site/components/back-button.cjs +36 -0
- package/dist/site/components/back-button.d.ts +17 -0
- package/dist/site/components/back-button.d.ts.map +1 -0
- package/dist/site/components/back-button.js +34 -0
- package/dist/site/components/chat-widget.cjs +67 -0
- package/dist/site/components/chat-widget.d.ts +12 -0
- package/dist/site/components/chat-widget.d.ts.map +1 -0
- package/dist/site/components/chat-widget.js +61 -0
- package/dist/site/components/commerce/bag-button.cjs +79 -0
- package/dist/site/components/commerce/bag-button.css +4 -0
- package/dist/site/components/commerce/bag-button.d.ts +16 -0
- package/dist/site/components/commerce/bag-button.d.ts.map +1 -0
- package/dist/site/components/commerce/bag-button.js +77 -0
- package/dist/site/components/commerce/buy-button.cjs +31 -0
- package/dist/site/components/commerce/buy-button.d.ts +11 -0
- package/dist/site/components/commerce/buy-button.d.ts.map +1 -0
- package/dist/site/components/commerce/buy-button.js +29 -0
- package/dist/site/components/commerce/checkout-button.cjs +116 -0
- package/dist/site/components/commerce/checkout-button.css +4 -0
- package/dist/site/components/commerce/checkout-button.d.ts +13 -0
- package/dist/site/components/commerce/checkout-button.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-button.js +114 -0
- package/dist/site/components/commerce/checkout-panel/cart-accordian.cjs +50 -0
- package/dist/site/components/commerce/checkout-panel/cart-accordian.d.ts +11 -0
- package/dist/site/components/commerce/checkout-panel/cart-accordian.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/cart-accordian.js +48 -0
- package/dist/site/components/commerce/checkout-panel/checkout-panel-props.cjs +2 -0
- package/dist/site/components/commerce/checkout-panel/checkout-panel-props.d.ts +8 -0
- package/dist/site/components/commerce/checkout-panel/checkout-panel-props.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/checkout-panel-props.js +1 -0
- package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.cjs +30 -0
- package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.d.ts +10 -0
- package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/desktop-bag-carousel.js +28 -0
- package/dist/site/components/commerce/checkout-panel/desktop-cp.cjs +235 -0
- package/dist/site/components/commerce/checkout-panel/desktop-cp.css +132 -0
- package/dist/site/components/commerce/checkout-panel/desktop-cp.d.ts +5 -0
- package/dist/site/components/commerce/checkout-panel/desktop-cp.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/desktop-cp.js +229 -0
- package/dist/site/components/commerce/checkout-panel/index.cjs +502 -0
- package/dist/site/components/commerce/checkout-panel/index.css +132 -0
- package/dist/site/components/commerce/checkout-panel/index.d.ts +6 -0
- package/dist/site/components/commerce/checkout-panel/index.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/index.js +496 -0
- package/dist/site/components/commerce/checkout-panel/mobile-cp.cjs +295 -0
- package/dist/site/components/commerce/checkout-panel/mobile-cp.css +132 -0
- package/dist/site/components/commerce/checkout-panel/mobile-cp.d.ts +5 -0
- package/dist/site/components/commerce/checkout-panel/mobile-cp.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/mobile-cp.js +289 -0
- package/dist/site/components/commerce/checkout-panel/policy-links.cjs +25 -0
- package/dist/site/components/commerce/checkout-panel/policy-links.d.ts +6 -0
- package/dist/site/components/commerce/checkout-panel/policy-links.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/policy-links.js +19 -0
- package/dist/site/components/commerce/checkout-panel/steps-indicator.cjs +27 -0
- package/dist/site/components/commerce/checkout-panel/steps-indicator.d.ts +7 -0
- package/dist/site/components/commerce/checkout-panel/steps-indicator.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/steps-indicator.js +25 -0
- package/dist/site/components/commerce/checkout-panel/thank-you.cjs +25 -0
- package/dist/site/components/commerce/checkout-panel/thank-you.d.ts +5 -0
- package/dist/site/components/commerce/checkout-panel/thank-you.d.ts.map +1 -0
- package/dist/site/components/commerce/checkout-panel/thank-you.js +19 -0
- package/dist/site/components/commerce/desktop-bag-popup.cjs +72 -0
- package/dist/site/components/commerce/desktop-bag-popup.css +4 -0
- package/dist/site/components/commerce/desktop-bag-popup.d.ts +8 -0
- package/dist/site/components/commerce/desktop-bag-popup.d.ts.map +1 -0
- package/dist/site/components/commerce/desktop-bag-popup.js +70 -0
- package/dist/site/components/commerce/drawer/index.cjs +361 -0
- package/dist/site/components/commerce/drawer/index.css +132 -0
- package/dist/site/components/commerce/drawer/index.d.ts +4 -0
- package/dist/site/components/commerce/drawer/index.d.ts.map +1 -0
- package/dist/site/components/commerce/drawer/index.js +359 -0
- package/dist/site/components/commerce/drawer/micro.cjs +230 -0
- package/dist/site/components/commerce/drawer/micro.css +4 -0
- package/dist/site/components/commerce/drawer/micro.d.ts +8 -0
- package/dist/site/components/commerce/drawer/micro.d.ts.map +1 -0
- package/dist/site/components/commerce/drawer/micro.js +228 -0
- package/dist/site/components/commerce/drawer/shell.cjs +78 -0
- package/dist/site/components/commerce/drawer/shell.css +127 -0
- package/dist/site/components/commerce/drawer/shell.d.ts +9 -0
- package/dist/site/components/commerce/drawer/shell.d.ts.map +1 -0
- package/dist/site/components/commerce/drawer/shell.js +76 -0
- package/dist/site/components/contact-dialog/contact-form.cjs +70 -0
- package/dist/site/components/contact-dialog/contact-form.d.ts +13 -0
- package/dist/site/components/contact-dialog/contact-form.d.ts.map +1 -0
- package/dist/site/components/contact-dialog/contact-form.js +64 -0
- package/dist/site/components/contact-dialog/disclaimer.cjs +15 -0
- package/dist/site/components/contact-dialog/disclaimer.d.ts +4 -0
- package/dist/site/components/contact-dialog/disclaimer.d.ts.map +1 -0
- package/dist/site/components/contact-dialog/disclaimer.js +13 -0
- package/dist/site/components/contact-dialog/index.cjs +113 -0
- package/dist/site/components/contact-dialog/index.d.ts +5 -0
- package/dist/site/components/contact-dialog/index.d.ts.map +1 -0
- package/dist/site/components/contact-dialog/index.js +107 -0
- package/dist/site/components/copyright.cjs +24 -0
- package/dist/site/components/copyright.d.ts +6 -0
- package/dist/site/components/copyright.d.ts.map +1 -0
- package/dist/site/components/copyright.js +22 -0
- package/dist/site/components/drawer-margin.cjs +35 -0
- package/dist/site/components/drawer-margin.d.ts +6 -0
- package/dist/site/components/drawer-margin.d.ts.map +1 -0
- package/dist/site/components/drawer-margin.js +33 -0
- package/dist/site/components/footer-nav.cjs +22 -0
- package/dist/site/components/footer-nav.d.ts +9 -0
- package/dist/site/components/footer-nav.d.ts.map +1 -0
- package/dist/site/components/footer-nav.js +20 -0
- package/dist/site/components/footer.cjs +132 -0
- package/dist/site/components/footer.d.ts +9 -0
- package/dist/site/components/footer.d.ts.map +1 -0
- package/dist/site/components/footer.js +126 -0
- package/dist/site/components/header/desktop-nav-menu.cjs +170 -0
- package/dist/site/components/header/desktop-nav-menu.d.ts +9 -0
- package/dist/site/components/header/desktop-nav-menu.d.ts.map +1 -0
- package/dist/site/components/header/desktop-nav-menu.js +145 -0
- package/dist/site/components/header/desktop.cjs +405 -0
- package/dist/site/components/header/desktop.css +4 -0
- package/dist/site/components/header/desktop.d.ts +13 -0
- package/dist/site/components/header/desktop.d.ts.map +1 -0
- package/dist/site/components/header/desktop.js +381 -0
- package/dist/site/components/header/index.cjs +717 -0
- package/dist/site/components/header/index.css +132 -0
- package/dist/site/components/header/index.d.ts +11 -0
- package/dist/site/components/header/index.d.ts.map +1 -0
- package/dist/site/components/header/index.js +693 -0
- package/dist/site/components/header/mobile-bag-drawer.cjs +114 -0
- package/dist/site/components/header/mobile-bag-drawer.css +4 -0
- package/dist/site/components/header/mobile-bag-drawer.d.ts +9 -0
- package/dist/site/components/header/mobile-bag-drawer.d.ts.map +1 -0
- package/dist/site/components/header/mobile-bag-drawer.js +112 -0
- package/dist/site/components/header/mobile-menu-toggle-button.cjs +30 -0
- package/dist/site/components/header/mobile-menu-toggle-button.d.ts +8 -0
- package/dist/site/components/header/mobile-menu-toggle-button.d.ts.map +1 -0
- package/dist/site/components/header/mobile-menu-toggle-button.js +28 -0
- package/dist/site/components/header/mobile-nav-menu-ai.cjs +66 -0
- package/dist/site/components/header/mobile-nav-menu-ai.css +132 -0
- package/dist/site/components/header/mobile-nav-menu-ai.d.ts +7 -0
- package/dist/site/components/header/mobile-nav-menu-ai.d.ts.map +1 -0
- package/dist/site/components/header/mobile-nav-menu-ai.js +60 -0
- package/dist/site/components/header/mobile-nav-menu-item.cjs +98 -0
- package/dist/site/components/header/mobile-nav-menu-item.css +132 -0
- package/dist/site/components/header/mobile-nav-menu-item.d.ts +8 -0
- package/dist/site/components/header/mobile-nav-menu-item.d.ts.map +1 -0
- package/dist/site/components/header/mobile-nav-menu-item.js +92 -0
- package/dist/site/components/header/mobile-nav-menu.cjs +175 -0
- package/dist/site/components/header/mobile-nav-menu.css +132 -0
- package/dist/site/components/header/mobile-nav-menu.d.ts +14 -0
- package/dist/site/components/header/mobile-nav-menu.d.ts.map +1 -0
- package/dist/site/components/header/mobile-nav-menu.js +169 -0
- package/dist/site/components/header/mobile.cjs +447 -0
- package/dist/site/components/header/mobile.css +132 -0
- package/dist/site/components/header/mobile.d.ts +12 -0
- package/dist/site/components/header/mobile.d.ts.map +1 -0
- package/dist/site/components/header/mobile.js +441 -0
- package/dist/site/components/header/theme-toggle.cjs +28 -0
- package/dist/site/components/header/theme-toggle.d.ts +4 -0
- package/dist/site/components/header/theme-toggle.d.ts.map +1 -0
- package/dist/site/components/header/theme-toggle.js +26 -0
- package/dist/site/components/icons/avatar.cjs +12 -0
- package/dist/site/components/icons/avatar.d.ts +5 -0
- package/dist/site/components/icons/avatar.d.ts.map +1 -0
- package/dist/site/components/icons/avatar.js +10 -0
- package/dist/site/components/icons/bag-icon.cjs +9 -0
- package/dist/site/components/icons/bag-icon.d.ts +5 -0
- package/dist/site/components/icons/bag-icon.d.ts.map +1 -0
- package/dist/site/components/icons/bag-icon.js +7 -0
- package/dist/site/components/icons/index.cjs +39 -0
- package/dist/site/components/icons/index.css +4 -0
- package/dist/site/components/icons/index.d.ts +6 -0
- package/dist/site/components/icons/index.d.ts.map +1 -0
- package/dist/site/components/icons/index.js +33 -0
- package/dist/site/components/icons/left-arrow.cjs +9 -0
- package/dist/site/components/icons/left-arrow.d.ts +5 -0
- package/dist/site/components/icons/left-arrow.d.ts.map +1 -0
- package/dist/site/components/icons/left-arrow.js +7 -0
- package/dist/site/components/icons/right-arrow.cjs +9 -0
- package/dist/site/components/icons/right-arrow.d.ts +5 -0
- package/dist/site/components/icons/right-arrow.d.ts.map +1 -0
- package/dist/site/components/icons/right-arrow.js +7 -0
- package/dist/site/components/icons/social-icon.cjs +24 -0
- package/dist/site/components/icons/social-icon.css +4 -0
- package/dist/site/components/icons/social-icon.d.ts +10 -0
- package/dist/site/components/icons/social-icon.d.ts.map +1 -0
- package/dist/site/components/icons/social-icon.js +22 -0
- package/dist/site/components/index.cjs +2004 -0
- package/dist/site/components/index.css +132 -0
- package/dist/site/components/index.d.ts +24 -0
- package/dist/site/components/index.d.ts.map +1 -0
- package/dist/site/components/index.js +1952 -0
- package/dist/site/components/logo.cjs +37 -0
- package/dist/site/components/logo.d.ts +23 -0
- package/dist/site/components/logo.d.ts.map +1 -0
- package/dist/site/components/logo.js +31 -0
- package/dist/site/components/main.cjs +22 -0
- package/dist/site/components/main.d.ts +9 -0
- package/dist/site/components/main.d.ts.map +1 -0
- package/dist/site/components/main.js +20 -0
- package/dist/site/components/mini-chart/index.cjs +94 -0
- package/dist/site/components/mini-chart/index.d.ts +3 -0
- package/dist/site/components/mini-chart/index.d.ts.map +1 -0
- package/dist/site/components/mini-chart/index.js +92 -0
- package/dist/site/components/mini-chart/mini-chart-props.cjs +2 -0
- package/dist/site/components/mini-chart/mini-chart-props.d.ts +33 -0
- package/dist/site/components/mini-chart/mini-chart-props.d.ts.map +1 -0
- package/dist/site/components/mini-chart/mini-chart-props.js +1 -0
- package/dist/site/components/mini-chart/mini-chart.cjs +80 -0
- package/dist/site/components/mini-chart/mini-chart.d.ts +5 -0
- package/dist/site/components/mini-chart/mini-chart.d.ts.map +1 -0
- package/dist/site/components/mini-chart/mini-chart.js +78 -0
- package/dist/site/components/mini-chart/wrapper.cjs +94 -0
- package/dist/site/components/mini-chart/wrapper.d.ts +7 -0
- package/dist/site/components/mini-chart/wrapper.d.ts.map +1 -0
- package/dist/site/components/mini-chart/wrapper.js +92 -0
- package/dist/site/components/not-found/index.cjs +844 -0
- package/dist/site/components/not-found/index.css +132 -0
- package/dist/site/components/not-found/index.d.ts +8 -0
- package/dist/site/components/not-found/index.d.ts.map +1 -0
- package/dist/site/components/not-found/index.js +820 -0
- package/dist/site/components/security/index.cjs +857 -0
- package/dist/site/components/security/index.css +132 -0
- package/dist/site/components/security/index.d.ts +9 -0
- package/dist/site/components/security/index.d.ts.map +1 -0
- package/dist/site/components/security/index.js +833 -0
- package/dist/site/components/tooltip.cjs +28 -0
- package/dist/site/components/tooltip.d.ts +11 -0
- package/dist/site/components/tooltip.d.ts.map +1 -0
- package/dist/site/components/tooltip.js +26 -0
- package/dist/site/next/analytics/fpixel.cjs +14 -0
- package/dist/site/next/analytics/fpixel.d.ts +9 -0
- package/dist/site/next/analytics/fpixel.d.ts.map +1 -0
- package/dist/site/next/analytics/fpixel.js +10 -0
- package/dist/site/next/analytics/google-analytics.cjs +8 -0
- package/dist/site/next/analytics/google-analytics.d.ts +8 -0
- package/dist/site/next/analytics/google-analytics.d.ts.map +1 -0
- package/dist/site/next/analytics/google-analytics.js +6 -0
- package/dist/site/next/analytics/index.cjs +57 -0
- package/dist/site/next/analytics/index.d.ts +4 -0
- package/dist/site/next/analytics/index.d.ts.map +1 -0
- package/dist/site/next/analytics/index.js +49 -0
- package/dist/site/next/analytics/pixel-analytics.cjs +59 -0
- package/dist/site/next/analytics/pixel-analytics.d.ts +5 -0
- package/dist/site/next/analytics/pixel-analytics.d.ts.map +1 -0
- package/dist/site/next/analytics/pixel-analytics.js +52 -0
- package/dist/site/next/font/font-desc.cjs +2 -0
- package/dist/site/next/font/font-desc.d.ts +19 -0
- package/dist/site/next/font/font-desc.d.ts.map +1 -0
- package/dist/site/next/font/font-desc.js +1 -0
- package/dist/site/next/font/fonts.cjs +42 -0
- package/dist/site/next/font/fonts.d.ts +4 -0
- package/dist/site/next/font/fonts.d.ts.map +1 -0
- package/dist/site/next/font/fonts.js +40 -0
- package/dist/site/next/font/get-app-router-font-classes.cjs +96 -0
- package/dist/site/next/font/get-app-router-font-classes.d.ts +15 -0
- package/dist/site/next/font/get-app-router-font-classes.d.ts.map +1 -0
- package/dist/site/next/font/get-app-router-font-classes.js +90 -0
- package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.cjs +90 -0
- package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.d.ts +8 -0
- package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.d.ts.map +1 -0
- package/dist/site/next/font/load-and-return-lux-next-fonts-on-import.js +84 -0
- package/dist/site/next/font/next-font-desc.cjs +2 -0
- package/dist/site/next/font/next-font-desc.d.ts +20 -0
- package/dist/site/next/font/next-font-desc.d.ts.map +1 -0
- package/dist/site/next/font/next-font-desc.js +1 -0
- package/dist/site/next/font/pages-router-font-vars.cjs +100 -0
- package/dist/site/next/font/pages-router-font-vars.d.ts +3 -0
- package/dist/site/next/font/pages-router-font-vars.d.ts.map +1 -0
- package/dist/site/next/font/pages-router-font-vars.js +94 -0
- package/dist/site/next/head-metadata/index.cjs +139 -0
- package/dist/site/next/head-metadata/index.d.ts +12 -0
- package/dist/site/next/head-metadata/index.d.ts.map +1 -0
- package/dist/site/next/head-metadata/index.js +129 -0
- package/dist/site/next/head-metadata/next-metadata.cjs +2 -0
- package/dist/site/next/head-metadata/next-metadata.d.ts +48 -0
- package/dist/site/next/head-metadata/next-metadata.d.ts.map +1 -0
- package/dist/site/next/head-metadata/next-metadata.js +1 -0
- package/dist/site/next/index.cjs +147 -0
- package/dist/site/next/index.d.ts +3 -0
- package/dist/site/next/index.d.ts.map +1 -0
- package/dist/site/next/index.js +140 -0
- package/dist/site/next/middleware/determine-device-mw.cjs +17 -0
- package/dist/site/next/middleware/determine-device-mw.d.ts +4 -0
- package/dist/site/next/middleware/determine-device-mw.d.ts.map +1 -0
- package/dist/site/next/middleware/determine-device-mw.js +15 -0
- package/dist/site/root-layout/index.cjs +1574 -0
- package/dist/site/root-layout/index.css +374 -0
- package/dist/site/root-layout/index.d.ts +20 -0
- package/dist/site/root-layout/index.d.ts.map +1 -0
- package/dist/site/root-layout/index.js +1547 -0
- package/dist/site/site-def/footer/community.cjs +77 -0
- package/dist/site/site-def/footer/community.css +4 -0
- package/dist/site/site-def/footer/community.d.ts +13 -0
- package/dist/site/site-def/footer/community.d.ts.map +1 -0
- package/dist/site/site-def/footer/community.js +75 -0
- package/dist/site/site-def/footer/company.cjs +40 -0
- package/dist/site/site-def/footer/company.d.ts +23 -0
- package/dist/site/site-def/footer/company.d.ts.map +1 -0
- package/dist/site/site-def/footer/company.js +38 -0
- package/dist/site/site-def/footer/ecosystem.cjs +40 -0
- package/dist/site/site-def/footer/ecosystem.d.ts +11 -0
- package/dist/site/site-def/footer/ecosystem.d.ts.map +1 -0
- package/dist/site/site-def/footer/ecosystem.js +38 -0
- package/dist/site/site-def/footer/index.cjs +228 -0
- package/dist/site/site-def/footer/index.css +4 -0
- package/dist/site/site-def/footer/index.d.ts +16 -0
- package/dist/site/site-def/footer/index.d.ts.map +1 -0
- package/dist/site/site-def/footer/index.js +220 -0
- package/dist/site/site-def/footer/legal.cjs +24 -0
- package/dist/site/site-def/footer/legal.d.ts +5 -0
- package/dist/site/site-def/footer/legal.d.ts.map +1 -0
- package/dist/site/site-def/footer/legal.js +21 -0
- package/dist/site/site-def/footer/network.cjs +48 -0
- package/dist/site/site-def/footer/network.d.ts +11 -0
- package/dist/site/site-def/footer/network.d.ts.map +1 -0
- package/dist/site/site-def/footer/network.js +46 -0
- package/dist/site/site-def/index.cjs +627 -0
- package/dist/site/site-def/index.css +4 -0
- package/dist/site/site-def/index.d.ts +5 -0
- package/dist/site/site-def/index.d.ts.map +1 -0
- package/dist/site/site-def/index.js +624 -0
- package/dist/site/site-def/main-nav.cjs +393 -0
- package/dist/site/site-def/main-nav.d.ts +46 -0
- package/dist/site/site-def/main-nav.d.ts.map +1 -0
- package/dist/site/site-def/main-nav.js +391 -0
- package/dist/site/types/chatbot-config.cjs +2 -0
- package/dist/site/types/chatbot-config.d.ts +6 -0
- package/dist/site/types/chatbot-config.d.ts.map +1 -0
- package/dist/site/types/chatbot-config.js +1 -0
- package/dist/site/types/chatbot-suggested-question.cjs +2 -0
- package/dist/site/types/chatbot-suggested-question.d.ts +7 -0
- package/dist/site/types/chatbot-suggested-question.d.ts.map +1 -0
- package/dist/site/types/chatbot-suggested-question.js +1 -0
- package/dist/site/types/contact-info.cjs +2 -0
- package/dist/site/types/contact-info.d.ts +7 -0
- package/dist/site/types/contact-info.d.ts.map +1 -0
- package/dist/site/types/contact-info.js +1 -0
- package/dist/site/types/index.cjs +2 -0
- package/dist/site/types/index.d.ts +5 -0
- package/dist/site/types/index.d.ts.map +1 -0
- package/dist/site/types/index.js +1 -0
- package/dist/site/types/site-def.cjs +2 -0
- package/dist/site/types/site-def.d.ts +41 -0
- package/dist/site/types/site-def.d.ts.map +1 -0
- package/dist/site/types/site-def.js +1 -0
- package/dist/site/util/index.cjs +11 -0
- package/dist/site/util/index.d.ts +2 -0
- package/dist/site/util/index.d.ts.map +1 -0
- package/dist/site/util/index.js +9 -0
- package/dist/skeleton.cjs +14 -143
- package/dist/skeleton.d.ts +3 -42
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.js +15 -144
- package/dist/slider.d.ts +1 -0
- package/dist/slider.d.ts.map +1 -1
- package/dist/status-dashboard-navigation-bar.cjs +51 -0
- package/dist/status-dashboard-navigation-bar.d.ts +10 -0
- package/dist/status-dashboard-navigation-bar.d.ts.map +1 -0
- package/dist/status-dashboard-navigation-bar.js +29 -0
- package/dist/status.cjs +85 -0
- package/dist/status.d.ts +23 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +62 -0
- package/dist/stock-screener.cjs +44 -0
- package/dist/stock-screener.d.ts +4 -0
- package/dist/stock-screener.d.ts.map +1 -0
- package/dist/stock-screener.js +42 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -3
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.js +1 -1
- package/dist/symbol-info.cjs +44 -0
- package/dist/symbol-info.d.ts +9 -0
- package/dist/symbol-info.d.ts.map +1 -0
- package/dist/symbol-info.js +42 -0
- package/dist/table.cjs +53 -167
- package/dist/table.d.ts +2 -2
- package/dist/table.d.ts.map +1 -1
- package/dist/table.js +53 -167
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tag.cjs +13 -142
- package/dist/tag.js +14 -143
- package/dist/tags.cjs +385 -0
- package/dist/tags.d.ts +13 -0
- package/dist/tags.d.ts.map +1 -0
- package/dist/tags.js +364 -0
- package/dist/team-switcher-navigation-bar.cjs +51 -0
- package/dist/team-switcher-navigation-bar.d.ts +10 -0
- package/dist/team-switcher-navigation-bar.d.ts.map +1 -0
- package/dist/team-switcher-navigation-bar.js +29 -0
- package/dist/technical-analysis.cjs +69 -0
- package/dist/technical-analysis.d.ts +13 -0
- package/dist/technical-analysis.d.ts.map +1 -0
- package/dist/technical-analysis.js +67 -0
- package/dist/terminal.cjs +372 -0
- package/dist/terminal.d.ts +21 -0
- package/dist/terminal.d.ts.map +1 -0
- package/dist/terminal.js +350 -0
- package/dist/ticker-tape.cjs +54 -0
- package/dist/ticker-tape.d.ts +4 -0
- package/dist/ticker-tape.d.ts.map +1 -0
- package/dist/ticker-tape.js +52 -0
- package/dist/ticker.cjs +66 -0
- package/dist/ticker.d.ts +10 -0
- package/dist/ticker.d.ts.map +1 -0
- package/dist/ticker.js +44 -0
- package/dist/timeline.cjs +317 -0
- package/dist/timeline.d.ts +20 -0
- package/dist/timeline.d.ts.map +1 -0
- package/dist/timeline.js +295 -0
- package/dist/toaster.d.ts +6 -3
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toggle.cjs +62 -0
- package/dist/toggle.d.ts +26 -0
- package/dist/toggle.d.ts.map +1 -0
- package/dist/toggle.js +57 -0
- package/dist/trading-panel.cjs +212 -0
- package/dist/trading-panel.d.ts +7 -0
- package/dist/trading-panel.d.ts.map +1 -0
- package/dist/trading-panel.js +207 -0
- package/dist/two-tier-navigation-bar.cjs +51 -0
- package/dist/two-tier-navigation-bar.d.ts +10 -0
- package/dist/two-tier-navigation-bar.d.ts.map +1 -0
- package/dist/two-tier-navigation-bar.js +29 -0
- package/dist/underline-navigation-bar.cjs +51 -0
- package/dist/underline-navigation-bar.d.ts +10 -0
- package/dist/underline-navigation-bar.d.ts.map +1 -0
- package/dist/underline-navigation-bar.js +29 -0
- package/dist/utils/cn.cjs +10 -0
- package/dist/utils/cn.js +1 -0
- package/dist/white-label.d.ts +5 -5
- package/dist/white-label.d.ts.map +1 -1
- package/dist/youtube-pip-player.cjs +489 -0
- package/dist/youtube-pip-player.d.ts +41 -0
- package/dist/youtube-pip-player.d.ts.map +1 -0
- package/dist/youtube-pip-player.js +466 -0
- package/package.json +826 -72
- package/src/3d-button.tsx +346 -0
- package/src/3d-card.tsx +271 -0
- package/src/3d-carousel.tsx +444 -0
- package/src/3d-grid.tsx +448 -0
- package/src/3d-marquee.tsx +422 -0
- package/src/3d-model-viewer.tsx +659 -0
- package/src/3d-pin.tsx +37 -0
- package/src/3d-scene.tsx +629 -0
- package/src/3d-text.tsx +442 -0
- package/src/advanced-chart.tsx +63 -0
- package/src/advanced-navigation-bar.tsx +83 -0
- package/src/ai-actions.tsx +60 -0
- package/src/ai-agents.tsx +1174 -0
- package/src/ai-assistant.tsx +227 -0
- package/src/ai-chat.tsx +554 -0
- package/src/ai-code.tsx +1331 -0
- package/src/ai-model-selector-navigation-bar.tsx +78 -0
- package/src/ai-models.tsx +58 -0
- package/src/ai-playground.tsx +429 -0
- package/src/ai-tools.tsx +383 -0
- package/src/ai-vision.tsx +1220 -0
- package/src/ai-voice-settings.tsx +726 -0
- package/src/ai-voice.tsx +711 -0
- package/src/android.tsx +92 -0
- package/src/animated-background.tsx +625 -0
- package/src/animated-beam.tsx +110 -0
- package/src/animated-cursor.tsx +406 -0
- package/src/animated-icon.tsx +520 -0
- package/src/animated-list.tsx +508 -0
- package/src/animated-number.tsx +485 -0
- package/src/animated-testimonials.tsx +119 -0
- package/src/animated-text.tsx +481 -0
- package/src/animated-tooltip.tsx +54 -0
- package/src/announcement.tsx +55 -0
- package/src/app-switcher-navigation-bar.tsx +76 -0
- package/src/apple-cards-carousel.tsx +349 -0
- package/src/apple-hello-effect.tsx +50 -0
- package/src/auth.tsx +9 -8
- package/src/avatar.tsx +1 -1
- package/src/badge.tsx +27 -30
- package/src/banner.tsx +62 -0
- package/src/breadcrumb-and-filters-navigation-bar.tsx +40 -0
- package/src/breadcrumb-navigation-bar.tsx +43 -0
- package/src/button.tsx +10 -9
- package/src/calendar.tsx +62 -0
- package/src/centered-logo-navigation-bar.tsx +43 -0
- package/src/chart.tsx +372 -0
- package/src/choicebox.tsx +89 -0
- package/src/chrome.tsx +41 -40
- package/src/code-block.tsx +278 -0
- package/src/code-compare.tsx +551 -0
- package/src/code-diff.tsx +573 -0
- package/src/code-editor.tsx +250 -0
- package/src/code-explorer.tsx +403 -0
- package/src/code-preview.tsx +488 -0
- package/src/code-snippet.tsx +336 -0
- package/src/code-tabs.tsx +78 -0
- package/src/code-terminal.tsx +530 -0
- package/src/collaboration-navigation-bar.tsx +50 -0
- package/src/collapsible.tsx +3 -2
- package/src/color-picker.tsx +68 -0
- package/src/combobox.tsx +87 -0
- package/src/communication-navigation-bar.tsx +42 -0
- package/src/company-profile.tsx +67 -0
- package/src/comparison.tsx +68 -0
- package/src/context-switcher-navigation-bar.tsx +39 -0
- package/src/credit-card.tsx +72 -0
- package/src/crypto-screener.tsx +57 -0
- package/src/cursor.tsx +61 -0
- package/src/dashboard-navigation-bar.tsx +49 -0
- package/src/dialog-stack.tsx +55 -0
- package/src/dialog.tsx +16 -15
- package/src/direction.tsx +40 -0
- package/src/dock.tsx +172 -0
- package/src/dropzone.tsx +106 -0
- package/src/e-commerce-navigation-bar.tsx +54 -0
- package/src/editor.tsx +85 -0
- package/src/empty.tsx +117 -0
- package/src/field.tsx +2 -1
- package/src/financials.tsx +85 -0
- package/src/forex-screener.tsx +58 -0
- package/src/gantt.tsx +68 -0
- package/src/grid-pattern.tsx +353 -0
- package/src/hooks/use-mobile.ts +29 -0
- package/src/icon-navigation-bar.tsx +36 -0
- package/src/image-crop.tsx +67 -0
- package/src/image-zoom.tsx +64 -0
- package/src/image.tsx +2 -1
- package/src/index.ts +123 -0
- package/src/input-otp.tsx +72 -0
- package/src/iphone-15-pro.tsx +69 -0
- package/src/item.tsx +193 -0
- package/src/kanban.tsx +772 -0
- package/src/kbd.tsx +32 -0
- package/src/limelight-nav-navigation-bar.tsx +39 -0
- package/src/limelight-nav.tsx +101 -0
- package/src/link.tsx +18 -18
- package/src/list.tsx +22 -0
- package/src/magnetic.tsx +54 -0
- package/src/market-overview.tsx +116 -0
- package/src/marquee.tsx +62 -0
- package/src/menu-dock.tsx +56 -0
- package/src/menubar.tsx +149 -0
- package/src/message-dock.tsx +89 -0
- package/src/mini-calendar.tsx +121 -0
- package/src/minimal-tiptap.tsx +32 -0
- package/src/motion-highlight.tsx +55 -0
- package/src/music-player.tsx +413 -0
- package/src/native-select.tsx +63 -0
- package/src/news-timeline.tsx +56 -0
- package/src/order-entry.tsx +162 -0
- package/src/orders-history.tsx +115 -0
- package/src/pagination.tsx +118 -0
- package/src/particles-background.tsx +225 -0
- package/src/pill.tsx +61 -0
- package/src/pixel-image.tsx +64 -0
- package/src/popover.tsx +10 -9
- package/src/positions-list.tsx +108 -0
- package/src/progress-circle.tsx +2 -1
- package/src/pulse-animation.tsx +606 -0
- package/src/qr-code.tsx +64 -0
- package/src/relative-time.tsx +84 -0
- package/src/resizable.tsx +46 -0
- package/src/reveal-animation.tsx +532 -0
- package/src/safari.tsx +115 -0
- package/src/sandbox.tsx +83 -0
- package/src/search-and-toggle-navigation-bar.tsx +39 -0
- package/src/select.tsx +31 -30
- package/src/sidebar.tsx +723 -0
- package/src/simple-navigation-bar.tsx +39 -0
- package/src/site/commerce/ui/conf.ts +13 -0
- package/src/site/commerce/ui/context.tsx +120 -0
- package/src/site/commerce/ui/store.ts +295 -0
- package/src/site/components/access-code-input.tsx +70 -0
- package/src/site/components/analytics.tsx +14 -0
- package/src/site/components/auth/callback.tsx +40 -0
- package/src/site/components/auth/login-panel.tsx +83 -0
- package/src/site/components/auth/login.tsx +47 -0
- package/src/site/components/auth/provider.tsx +34 -0
- package/src/site/components/auth/resume.ts +16 -0
- package/src/site/components/auth/widget.tsx +80 -0
- package/src/site/components/back-button.tsx +46 -0
- package/src/site/components/chat-widget.tsx +83 -0
- package/src/site/components/commerce/bag-button.tsx +99 -0
- package/src/site/components/commerce/buy-button.tsx +33 -0
- package/src/site/components/commerce/checkout-button.tsx +131 -0
- package/src/site/components/commerce/checkout-panel/cart-accordian.tsx +65 -0
- package/src/site/components/commerce/checkout-panel/checkout-panel-props.ts +10 -0
- package/src/site/components/commerce/checkout-panel/desktop-bag-carousel.tsx +36 -0
- package/src/site/components/commerce/checkout-panel/desktop-cp.tsx +82 -0
- package/src/site/components/commerce/checkout-panel/index.tsx +126 -0
- package/src/site/components/commerce/checkout-panel/mobile-cp.tsx +67 -0
- package/src/site/components/commerce/checkout-panel/policy-links.tsx +24 -0
- package/src/site/components/commerce/checkout-panel/steps-indicator.tsx +39 -0
- package/src/site/components/commerce/checkout-panel/thank-you.tsx +18 -0
- package/src/site/components/commerce/desktop-bag-popup.tsx +78 -0
- package/src/site/components/commerce/drawer/index.tsx +88 -0
- package/src/site/components/commerce/drawer/micro.tsx +145 -0
- package/src/site/components/commerce/drawer/shell.tsx +83 -0
- package/src/site/components/contact-dialog/contact-form.tsx +109 -0
- package/src/site/components/contact-dialog/disclaimer.tsx +13 -0
- package/src/site/components/contact-dialog/index.tsx +64 -0
- package/src/site/components/copyright.tsx +22 -0
- package/src/site/components/drawer-margin.tsx +28 -0
- package/src/site/components/footer-nav.tsx +31 -0
- package/src/site/components/footer.tsx +72 -0
- package/src/site/components/header/desktop-nav-menu.tsx +202 -0
- package/src/site/components/header/desktop.tsx +65 -0
- package/src/site/components/header/index.tsx +50 -0
- package/src/site/components/header/mobile-bag-drawer.tsx +51 -0
- package/src/site/components/header/mobile-menu-toggle-button.tsx +34 -0
- package/src/site/components/header/mobile-nav-menu-ai.tsx +52 -0
- package/src/site/components/header/mobile-nav-menu-item.tsx +48 -0
- package/src/site/components/header/mobile-nav-menu.tsx +103 -0
- package/src/site/components/header/mobile.tsx +169 -0
- package/src/site/components/header/theme-toggle.tsx +26 -0
- package/src/site/components/icons/avatar.tsx +11 -0
- package/src/site/components/icons/bag-icon.tsx +10 -0
- package/src/site/components/icons/index.ts +5 -0
- package/src/site/components/icons/left-arrow.tsx +11 -0
- package/src/site/components/icons/right-arrow.tsx +10 -0
- package/src/site/components/icons/social-icon.tsx +35 -0
- package/src/site/components/icons/social-svg.css +3 -0
- package/src/site/components/index.ts +26 -0
- package/src/site/components/logo.tsx +65 -0
- package/src/site/components/main.tsx +26 -0
- package/src/site/components/mini-chart/index.tsx +8 -0
- package/src/site/components/mini-chart/mini-chart-props.ts +44 -0
- package/src/site/components/mini-chart/mini-chart.tsx +86 -0
- package/src/site/components/mini-chart/wrapper.tsx +23 -0
- package/src/site/components/not-found/index.tsx +28 -0
- package/src/site/components/security/index.tsx +55 -0
- package/src/site/components/tooltip.tsx +31 -0
- package/src/site/next/analytics/fpixel.ts +16 -0
- package/src/site/next/analytics/google-analytics.ts +14 -0
- package/src/site/next/analytics/index.ts +3 -0
- package/src/site/next/analytics/pixel-analytics.tsx +55 -0
- package/src/site/next/font/font-desc.ts +18 -0
- package/src/site/next/font/fonts.ts +40 -0
- package/src/site/next/font/get-app-router-font-classes.ts +19 -0
- package/src/site/next/font/load-and-return-lux-next-fonts-on-import.ts +60 -0
- package/src/site/next/font/local/InterVariable-Italic.ttf +0 -0
- package/src/site/next/font/local/InterVariable-Italic.woff2 +0 -0
- package/src/site/next/font/local/InterVariable.ttf +0 -0
- package/src/site/next/font/local/InterVariable.woff2 +0 -0
- package/src/site/next/font/local/Zen-Variable.woff2 +0 -0
- package/src/site/next/font/next-font-desc.ts +29 -0
- package/src/site/next/font/pages-router-font-vars.tsx +18 -0
- package/src/site/next/head-metadata/index.tsx +209 -0
- package/src/site/next/head-metadata/next-metadata.ts +49 -0
- package/src/site/next/index.ts +2 -0
- package/src/site/next/middleware/determine-device-mw.ts +16 -0
- package/src/site/root-layout/WHY_THIS_IS_SEPARATE.txt +2 -0
- package/src/site/root-layout/index.tsx +125 -0
- package/src/site/site-def/footer/community.tsx +58 -0
- package/src/site/site-def/footer/company.ts +37 -0
- package/src/site/site-def/footer/ecosystem.ts +37 -0
- package/src/site/site-def/footer/index.tsx +26 -0
- package/src/site/site-def/footer/legal.ts +28 -0
- package/src/site/site-def/footer/network.ts +45 -0
- package/src/site/site-def/footer/svg/warpcast-logo.svg +12 -0
- package/src/site/site-def/index.ts +4 -0
- package/src/site/site-def/main-nav.tsx +460 -0
- package/src/site/style/cart-animation.css +29 -0
- package/src/site/style/checkout-animation.css +23 -0
- package/src/site/style/drawer-handle-overrides.css +160 -0
- package/src/site/style/fonts/COPY_TO_PUBLIC_FOR_NON_NEXT.txt +0 -0
- package/src/site/style/fonts/InterVariable-Italic.ttf +0 -0
- package/src/site/style/fonts/InterVariable-Italic.woff2 +0 -0
- package/src/site/style/fonts/InterVariable.ttf +0 -0
- package/src/site/style/fonts/InterVariable.woff2 +0 -0
- package/src/site/style/fonts/Zen-Variable.woff2 +0 -0
- package/src/site/style/lux-colors.css +84 -0
- package/src/site/style/lux-fonts.css +24 -0
- package/src/site/style/lux-global-non-next.css +52 -0
- package/src/site/style/lux-global.css +135 -0
- package/src/site/types/chatbot-config.ts +7 -0
- package/src/site/types/chatbot-suggested-question.ts +7 -0
- package/src/site/types/contact-info.ts +11 -0
- package/src/site/types/index.ts +4 -0
- package/src/site/types/site-def.ts +53 -0
- package/src/site/util/index.ts +11 -0
- package/src/skeleton.tsx +20 -168
- package/src/slider.tsx +1 -0
- package/src/status-dashboard-navigation-bar.tsx +39 -0
- package/src/status.tsx +63 -0
- package/src/stock-screener.tsx +58 -0
- package/src/switch.tsx +2 -2
- package/src/symbol-info.tsx +64 -0
- package/src/table.tsx +26 -25
- package/src/tags.tsx +62 -0
- package/src/team-switcher-navigation-bar.tsx +39 -0
- package/src/technical-analysis.tsx +99 -0
- package/src/terminal.tsx +399 -0
- package/src/ticker-tape.tsx +68 -0
- package/src/ticker.tsx +52 -0
- package/src/timeline.tsx +412 -0
- package/src/toggle.tsx +84 -0
- package/src/trading-panel.tsx +262 -0
- package/src/two-tier-navigation-bar.tsx +39 -0
- package/src/underline-navigation-bar.tsx +39 -0
- package/src/youtube-pip-player.tsx +606 -0
- package/tokens.css +11 -0
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Box, cn, css } from '@hanzo/ui';
|
|
4
|
+
import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|
5
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var Carousel3D = React.forwardRef(
|
|
8
|
+
({
|
|
9
|
+
items,
|
|
10
|
+
itemWidth = 300,
|
|
11
|
+
itemHeight = 400,
|
|
12
|
+
spacing = 80,
|
|
13
|
+
perspective = 1e3,
|
|
14
|
+
rotateY = 40,
|
|
15
|
+
autoRotate = false,
|
|
16
|
+
autoRotateSpeed = 3e3,
|
|
17
|
+
showControls = true,
|
|
18
|
+
infinite = true,
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}, ref) => {
|
|
22
|
+
const containerRef = React.useRef(null);
|
|
23
|
+
const [currentIndex, setCurrentIndex] = React.useState(0);
|
|
24
|
+
const [isHovered, setIsHovered] = React.useState(false);
|
|
25
|
+
const [isDragging, setIsDragging] = React.useState(false);
|
|
26
|
+
const [dragStart, setDragStart] = React.useState({ x: 0, y: 0 });
|
|
27
|
+
const [dragOffset, setDragOffset] = React.useState(0);
|
|
28
|
+
const autoRotateRef = React.useRef(void 0);
|
|
29
|
+
const totalItems = items.length;
|
|
30
|
+
const radius = (itemWidth + spacing) / 2 / Math.tan(Math.PI / totalItems);
|
|
31
|
+
React.useEffect(() => {
|
|
32
|
+
if (autoRotate && !isHovered && !isDragging) {
|
|
33
|
+
autoRotateRef.current = setInterval(() => {
|
|
34
|
+
setCurrentIndex((prev) => (prev + 1) % totalItems);
|
|
35
|
+
}, autoRotateSpeed);
|
|
36
|
+
} else {
|
|
37
|
+
if (autoRotateRef.current) {
|
|
38
|
+
clearInterval(autoRotateRef.current);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return () => {
|
|
42
|
+
if (autoRotateRef.current) {
|
|
43
|
+
clearInterval(autoRotateRef.current);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}, [autoRotate, isHovered, isDragging, autoRotateSpeed, totalItems]);
|
|
47
|
+
const goToPrevious = React.useCallback(() => {
|
|
48
|
+
setCurrentIndex(
|
|
49
|
+
(prev) => infinite ? (prev - 1 + totalItems) % totalItems : Math.max(0, prev - 1)
|
|
50
|
+
);
|
|
51
|
+
}, [infinite, totalItems]);
|
|
52
|
+
const goToNext = React.useCallback(() => {
|
|
53
|
+
setCurrentIndex(
|
|
54
|
+
(prev) => infinite ? (prev + 1) % totalItems : Math.min(totalItems - 1, prev + 1)
|
|
55
|
+
);
|
|
56
|
+
}, [infinite, totalItems]);
|
|
57
|
+
const goToIndex = React.useCallback(
|
|
58
|
+
(index) => {
|
|
59
|
+
setCurrentIndex(Math.max(0, Math.min(totalItems - 1, index)));
|
|
60
|
+
},
|
|
61
|
+
[totalItems]
|
|
62
|
+
);
|
|
63
|
+
const handleDragStart = React.useCallback(
|
|
64
|
+
(clientX, clientY) => {
|
|
65
|
+
setIsDragging(true);
|
|
66
|
+
setDragStart({ x: clientX, y: clientY });
|
|
67
|
+
setDragOffset(0);
|
|
68
|
+
},
|
|
69
|
+
[]
|
|
70
|
+
);
|
|
71
|
+
const handleDragMove = React.useCallback(
|
|
72
|
+
(clientX, clientY) => {
|
|
73
|
+
if (!isDragging) return;
|
|
74
|
+
const deltaX = clientX - dragStart.x;
|
|
75
|
+
const sensitivity = 0.5;
|
|
76
|
+
const newOffset = deltaX * sensitivity;
|
|
77
|
+
setDragOffset(newOffset);
|
|
78
|
+
},
|
|
79
|
+
[isDragging, dragStart.x]
|
|
80
|
+
);
|
|
81
|
+
const handleDragEnd = React.useCallback(() => {
|
|
82
|
+
if (!isDragging) return;
|
|
83
|
+
const threshold = 50;
|
|
84
|
+
if (Math.abs(dragOffset) > threshold) {
|
|
85
|
+
if (dragOffset > 0) {
|
|
86
|
+
goToPrevious();
|
|
87
|
+
} else {
|
|
88
|
+
goToNext();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
setIsDragging(false);
|
|
92
|
+
setDragOffset(0);
|
|
93
|
+
}, [isDragging, dragOffset, goToPrevious, goToNext]);
|
|
94
|
+
const handleMouseDown = React.useCallback(
|
|
95
|
+
(e) => {
|
|
96
|
+
e.preventDefault();
|
|
97
|
+
handleDragStart(e.clientX, e.clientY);
|
|
98
|
+
},
|
|
99
|
+
[handleDragStart]
|
|
100
|
+
);
|
|
101
|
+
const handleMouseMove = React.useCallback(
|
|
102
|
+
(e) => {
|
|
103
|
+
handleDragMove(e.clientX, e.clientY);
|
|
104
|
+
},
|
|
105
|
+
[handleDragMove]
|
|
106
|
+
);
|
|
107
|
+
const handleMouseUp = React.useCallback(() => {
|
|
108
|
+
handleDragEnd();
|
|
109
|
+
}, [handleDragEnd]);
|
|
110
|
+
const handleTouchStart = React.useCallback(
|
|
111
|
+
(e) => {
|
|
112
|
+
if (e.touches.length === 1) {
|
|
113
|
+
const touch = e.touches[0];
|
|
114
|
+
handleDragStart(touch.clientX, touch.clientY);
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
[handleDragStart]
|
|
118
|
+
);
|
|
119
|
+
const handleTouchMove = React.useCallback(
|
|
120
|
+
(e) => {
|
|
121
|
+
if (e.touches.length === 1) {
|
|
122
|
+
e.preventDefault();
|
|
123
|
+
const touch = e.touches[0];
|
|
124
|
+
handleDragMove(touch.clientX, touch.clientY);
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
[handleDragMove]
|
|
128
|
+
);
|
|
129
|
+
const handleTouchEnd = React.useCallback(() => {
|
|
130
|
+
handleDragEnd();
|
|
131
|
+
}, [handleDragEnd]);
|
|
132
|
+
React.useEffect(() => {
|
|
133
|
+
const handleKeyDown = (e) => {
|
|
134
|
+
if (e.key === "ArrowLeft") {
|
|
135
|
+
e.preventDefault();
|
|
136
|
+
goToPrevious();
|
|
137
|
+
} else if (e.key === "ArrowRight") {
|
|
138
|
+
e.preventDefault();
|
|
139
|
+
goToNext();
|
|
140
|
+
} else if (e.key >= "1" && e.key <= "9") {
|
|
141
|
+
const index = parseInt(e.key) - 1;
|
|
142
|
+
if (index < totalItems) {
|
|
143
|
+
goToIndex(index);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
if (containerRef.current) {
|
|
148
|
+
containerRef.current.addEventListener("keydown", handleKeyDown);
|
|
149
|
+
return () => {
|
|
150
|
+
containerRef.current?.removeEventListener("keydown", handleKeyDown);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
}, [goToPrevious, goToNext, goToIndex, totalItems]);
|
|
154
|
+
React.useImperativeHandle(ref, () => containerRef.current);
|
|
155
|
+
const containerStyle = {
|
|
156
|
+
perspective: `${perspective}px`,
|
|
157
|
+
height: `${itemHeight + 100}px`
|
|
158
|
+
};
|
|
159
|
+
const carouselStyle = {
|
|
160
|
+
transform: `translateZ(-${radius}px) rotateY(${-currentIndex * (360 / totalItems) + dragOffset / 5}deg)`,
|
|
161
|
+
transition: isDragging ? "none" : "transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1)",
|
|
162
|
+
transformStyle: "preserve-3d"
|
|
163
|
+
};
|
|
164
|
+
return /* @__PURE__ */ jsxs(
|
|
165
|
+
Box,
|
|
166
|
+
{
|
|
167
|
+
ref: containerRef,
|
|
168
|
+
className: cn(
|
|
169
|
+
"relative w-full select-none focus:outline-none",
|
|
170
|
+
className
|
|
171
|
+
),
|
|
172
|
+
style: containerStyle,
|
|
173
|
+
onMouseEnter: () => setIsHovered(true),
|
|
174
|
+
onMouseLeave: () => setIsHovered(false),
|
|
175
|
+
onMouseDown: handleMouseDown,
|
|
176
|
+
onMouseMove: handleMouseMove,
|
|
177
|
+
onMouseUp: handleMouseUp,
|
|
178
|
+
onTouchStart: handleTouchStart,
|
|
179
|
+
onTouchMove: handleTouchMove,
|
|
180
|
+
onTouchEnd: handleTouchEnd,
|
|
181
|
+
tabIndex: 0,
|
|
182
|
+
...props,
|
|
183
|
+
children: [
|
|
184
|
+
/* @__PURE__ */ jsx(
|
|
185
|
+
Box,
|
|
186
|
+
{
|
|
187
|
+
className: "relative mx-auto",
|
|
188
|
+
style: {
|
|
189
|
+
width: `${itemWidth}px`,
|
|
190
|
+
height: `${itemHeight}px`,
|
|
191
|
+
transformStyle: "preserve-3d"
|
|
192
|
+
},
|
|
193
|
+
children: /* @__PURE__ */ jsx(Box, { className: "absolute inset-0", style: carouselStyle, children: items.map((item, index) => {
|
|
194
|
+
const angle = index / totalItems * 360;
|
|
195
|
+
const isCurrent = index === currentIndex;
|
|
196
|
+
const itemStyle = {
|
|
197
|
+
transform: `rotateY(${angle}deg) translateZ(${radius}px)`,
|
|
198
|
+
width: `${itemWidth}px`,
|
|
199
|
+
height: `${itemHeight}px`,
|
|
200
|
+
position: "absolute",
|
|
201
|
+
backfaceVisibility: "hidden",
|
|
202
|
+
transformStyle: "preserve-3d"
|
|
203
|
+
};
|
|
204
|
+
return /* @__PURE__ */ jsx(
|
|
205
|
+
Box,
|
|
206
|
+
{
|
|
207
|
+
className: cn(
|
|
208
|
+
"rounded-lg border bg-card text-card-foreground shadow-lg cursor-pointer",
|
|
209
|
+
"transition-all duration-300 transform-gpu will-change-transform",
|
|
210
|
+
isCurrent && "ring-2 ring-primary ring-offset-2"
|
|
211
|
+
),
|
|
212
|
+
style: itemStyle,
|
|
213
|
+
onClick: () => goToIndex(index),
|
|
214
|
+
children: /* @__PURE__ */ jsx(Box, { className: "w-full h-full overflow-hidden rounded-lg", children: item.content })
|
|
215
|
+
},
|
|
216
|
+
item.id
|
|
217
|
+
);
|
|
218
|
+
}) })
|
|
219
|
+
}
|
|
220
|
+
),
|
|
221
|
+
showControls && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
222
|
+
/* @__PURE__ */ jsx(
|
|
223
|
+
Box,
|
|
224
|
+
{
|
|
225
|
+
tag: "button",
|
|
226
|
+
className: cn(
|
|
227
|
+
"absolute left-4 top-1/2 -translate-y-1/2 z-10",
|
|
228
|
+
"p-2 rounded-full bg-background/80 backdrop-blur-sm",
|
|
229
|
+
"border shadow-lg hover:bg-background transition-all",
|
|
230
|
+
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
231
|
+
),
|
|
232
|
+
onClick: goToPrevious,
|
|
233
|
+
disabled: !infinite && currentIndex === 0,
|
|
234
|
+
"aria-label": "Previous item",
|
|
235
|
+
children: /* @__PURE__ */ jsx(ChevronLeft, { style: css("w-5 h-5") })
|
|
236
|
+
}
|
|
237
|
+
),
|
|
238
|
+
/* @__PURE__ */ jsx(
|
|
239
|
+
Box,
|
|
240
|
+
{
|
|
241
|
+
tag: "button",
|
|
242
|
+
className: cn(
|
|
243
|
+
"absolute right-4 top-1/2 -translate-y-1/2 z-10",
|
|
244
|
+
"p-2 rounded-full bg-background/80 backdrop-blur-sm",
|
|
245
|
+
"border shadow-lg hover:bg-background transition-all",
|
|
246
|
+
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
247
|
+
),
|
|
248
|
+
onClick: goToNext,
|
|
249
|
+
disabled: !infinite && currentIndex === totalItems - 1,
|
|
250
|
+
"aria-label": "Next item",
|
|
251
|
+
children: /* @__PURE__ */ jsx(ChevronRight, { style: css("w-5 h-5") })
|
|
252
|
+
}
|
|
253
|
+
)
|
|
254
|
+
] }),
|
|
255
|
+
/* @__PURE__ */ jsx(Box, { className: "absolute bottom-4 left-1/2 -translate-x-1/2 z-10", children: /* @__PURE__ */ jsx(Box, { className: "flex space-x-2 p-2 rounded-full bg-background/80 backdrop-blur-sm border shadow-lg", children: items.map((_, index) => /* @__PURE__ */ jsx(
|
|
256
|
+
Box,
|
|
257
|
+
{
|
|
258
|
+
tag: "button",
|
|
259
|
+
className: cn(
|
|
260
|
+
"w-2 h-2 rounded-full transition-all",
|
|
261
|
+
index === currentIndex ? "bg-primary scale-125" : "bg-muted-foreground/50 hover:bg-muted-foreground/75"
|
|
262
|
+
),
|
|
263
|
+
onClick: () => goToIndex(index),
|
|
264
|
+
"aria-label": `Go to item ${index + 1}`
|
|
265
|
+
},
|
|
266
|
+
index
|
|
267
|
+
)) }) }),
|
|
268
|
+
autoRotate && /* @__PURE__ */ jsx(Box, { className: "absolute top-4 right-4 z-10", children: /* @__PURE__ */ jsxs(Box, { className: "flex items-center space-x-2 p-2 rounded-full bg-background/80 backdrop-blur-sm border shadow-sm", children: [
|
|
269
|
+
/* @__PURE__ */ jsx(
|
|
270
|
+
Box,
|
|
271
|
+
{
|
|
272
|
+
className: cn(
|
|
273
|
+
"w-2 h-2 rounded-full transition-all",
|
|
274
|
+
isHovered || isDragging ? "bg-[var(--lux-state-notice)]" : "bg-[var(--lux-state-success)] animate-pulse"
|
|
275
|
+
)
|
|
276
|
+
}
|
|
277
|
+
),
|
|
278
|
+
/* @__PURE__ */ jsx(Box, { tag: "span", className: "text-xs text-muted-foreground", children: isHovered || isDragging ? "Paused" : "Auto" })
|
|
279
|
+
] }) })
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
);
|
|
285
|
+
Carousel3D.displayName = "Carousel3D";
|
|
286
|
+
var Carousel3DCard = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
287
|
+
Box,
|
|
288
|
+
{
|
|
289
|
+
ref,
|
|
290
|
+
className: cn(
|
|
291
|
+
"w-full h-full flex flex-col bg-gradient-to-br from-background to-muted/20",
|
|
292
|
+
"border rounded-lg overflow-hidden group",
|
|
293
|
+
className
|
|
294
|
+
),
|
|
295
|
+
...props,
|
|
296
|
+
children
|
|
297
|
+
}
|
|
298
|
+
));
|
|
299
|
+
Carousel3DCard.displayName = "Carousel3DCard";
|
|
300
|
+
var Carousel3DCardImage = React.forwardRef(({ className, alt, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
301
|
+
Box,
|
|
302
|
+
{
|
|
303
|
+
tag: "img",
|
|
304
|
+
ref,
|
|
305
|
+
className: cn(
|
|
306
|
+
"w-full h-48 object-cover transition-transform duration-300",
|
|
307
|
+
"group-hover:scale-105",
|
|
308
|
+
className
|
|
309
|
+
),
|
|
310
|
+
alt,
|
|
311
|
+
...props
|
|
312
|
+
}
|
|
313
|
+
));
|
|
314
|
+
Carousel3DCardImage.displayName = "Carousel3DCardImage";
|
|
315
|
+
var Carousel3DCardContent = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
316
|
+
Box,
|
|
317
|
+
{
|
|
318
|
+
ref,
|
|
319
|
+
className: cn("flex-1 p-4 flex flex-col justify-between", className),
|
|
320
|
+
...props,
|
|
321
|
+
children
|
|
322
|
+
}
|
|
323
|
+
));
|
|
324
|
+
Carousel3DCardContent.displayName = "Carousel3DCardContent";
|
|
325
|
+
var Carousel3DCardTitle = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
326
|
+
Box,
|
|
327
|
+
{
|
|
328
|
+
tag: "h3",
|
|
329
|
+
ref,
|
|
330
|
+
className: cn("font-semibold text-lg mb-2 line-clamp-2", className),
|
|
331
|
+
...props,
|
|
332
|
+
children
|
|
333
|
+
}
|
|
334
|
+
));
|
|
335
|
+
Carousel3DCardTitle.displayName = "Carousel3DCardTitle";
|
|
336
|
+
var Carousel3DCardDescription = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
337
|
+
Box,
|
|
338
|
+
{
|
|
339
|
+
tag: "p",
|
|
340
|
+
ref,
|
|
341
|
+
className: cn("text-sm text-muted-foreground line-clamp-3 mb-4", className),
|
|
342
|
+
...props,
|
|
343
|
+
children
|
|
344
|
+
}
|
|
345
|
+
));
|
|
346
|
+
Carousel3DCardDescription.displayName = "Carousel3DCardDescription";
|
|
347
|
+
|
|
348
|
+
export { Carousel3D, Carousel3DCard, Carousel3DCardContent, Carousel3DCardDescription, Carousel3DCardImage, Carousel3DCardTitle };
|
package/dist/3d-grid.cjs
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var ui = require('@hanzo/ui');
|
|
6
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var Grid3D = React__namespace.forwardRef(
|
|
29
|
+
({
|
|
30
|
+
items,
|
|
31
|
+
columns = 4,
|
|
32
|
+
rows = 3,
|
|
33
|
+
gap = 16,
|
|
34
|
+
perspective = 1e3,
|
|
35
|
+
rotateX = 25,
|
|
36
|
+
rotateY = 15,
|
|
37
|
+
cellHeight = 200,
|
|
38
|
+
cellWidth = 200,
|
|
39
|
+
isometric = false,
|
|
40
|
+
tiltOnHover = true,
|
|
41
|
+
staggerAnimation = true,
|
|
42
|
+
animationDelay = 100,
|
|
43
|
+
elevationOnHover = true,
|
|
44
|
+
maxElevation = 50,
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}, ref) => {
|
|
48
|
+
const gridRef = React__namespace.useRef(null);
|
|
49
|
+
const [hoveredIndex, setHoveredIndex] = React__namespace.useState(null);
|
|
50
|
+
const [mousePosition, setMousePosition] = React__namespace.useState({ x: 0, y: 0 });
|
|
51
|
+
const [isGridHovered, setIsGridHovered] = React__namespace.useState(false);
|
|
52
|
+
const gridTransform = React__namespace.useMemo(() => {
|
|
53
|
+
if (isometric) {
|
|
54
|
+
return `perspective(${perspective}px) rotateX(45deg) rotateY(45deg)`;
|
|
55
|
+
}
|
|
56
|
+
return `perspective(${perspective}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg)`;
|
|
57
|
+
}, [isometric, perspective, rotateX, rotateY]);
|
|
58
|
+
const handleMouseMove = React__namespace.useCallback(
|
|
59
|
+
(e) => {
|
|
60
|
+
if (!tiltOnHover || !gridRef.current) return;
|
|
61
|
+
const rect = gridRef.current.getBoundingClientRect();
|
|
62
|
+
const centerX = rect.left + rect.width / 2;
|
|
63
|
+
const centerY = rect.top + rect.height / 2;
|
|
64
|
+
const mouseX = (e.clientX - centerX) / (rect.width / 2);
|
|
65
|
+
const mouseY = (e.clientY - centerY) / (rect.height / 2);
|
|
66
|
+
setMousePosition({ x: mouseX * 10, y: mouseY * 10 });
|
|
67
|
+
},
|
|
68
|
+
[tiltOnHover]
|
|
69
|
+
);
|
|
70
|
+
const handleMouseEnter = React__namespace.useCallback(() => {
|
|
71
|
+
setIsGridHovered(true);
|
|
72
|
+
}, []);
|
|
73
|
+
const handleMouseLeave = React__namespace.useCallback(() => {
|
|
74
|
+
setIsGridHovered(false);
|
|
75
|
+
setMousePosition({ x: 0, y: 0 });
|
|
76
|
+
setHoveredIndex(null);
|
|
77
|
+
}, []);
|
|
78
|
+
React__namespace.useImperativeHandle(ref, () => gridRef.current);
|
|
79
|
+
const containerStyle = {
|
|
80
|
+
perspective: `${perspective}px`,
|
|
81
|
+
transformStyle: "preserve-3d"
|
|
82
|
+
};
|
|
83
|
+
const gridStyle = {
|
|
84
|
+
display: "grid",
|
|
85
|
+
gridTemplateColumns: `repeat(${columns}, ${cellWidth}px)`,
|
|
86
|
+
gridTemplateRows: `repeat(${rows}, ${cellHeight}px)`,
|
|
87
|
+
gap: `${gap}px`,
|
|
88
|
+
transform: tiltOnHover && isGridHovered ? `${gridTransform} rotateX(${-mousePosition.y}deg) rotateY(${mousePosition.x}deg)` : gridTransform,
|
|
89
|
+
transition: "transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
90
|
+
transformStyle: "preserve-3d"
|
|
91
|
+
};
|
|
92
|
+
const getGridPosition = (index) => {
|
|
93
|
+
const x = index % columns;
|
|
94
|
+
const y = Math.floor(index / columns);
|
|
95
|
+
return { x, y };
|
|
96
|
+
};
|
|
97
|
+
const getStaggerDelay = (index) => {
|
|
98
|
+
if (!staggerAnimation) return 0;
|
|
99
|
+
const { x, y } = getGridPosition(index);
|
|
100
|
+
return (x + y) * animationDelay;
|
|
101
|
+
};
|
|
102
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
103
|
+
ui.Box,
|
|
104
|
+
{
|
|
105
|
+
ref: gridRef,
|
|
106
|
+
className: ui.cn("w-fit mx-auto", className),
|
|
107
|
+
style: containerStyle,
|
|
108
|
+
onMouseMove: handleMouseMove,
|
|
109
|
+
onMouseEnter: handleMouseEnter,
|
|
110
|
+
onMouseLeave: handleMouseLeave,
|
|
111
|
+
...props,
|
|
112
|
+
children: [
|
|
113
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: gridStyle, children: items.map((item, index) => {
|
|
114
|
+
const isHovered = hoveredIndex === index;
|
|
115
|
+
const staggerDelay = getStaggerDelay(index);
|
|
116
|
+
const itemStyle = {
|
|
117
|
+
gridColumn: item.span ? `span ${item.span.x}` : void 0,
|
|
118
|
+
gridRow: item.span ? `span ${item.span.y}` : void 0,
|
|
119
|
+
transform: `translateZ(${(item.elevation || 0) + (isHovered && elevationOnHover ? maxElevation : 0)}px)`,
|
|
120
|
+
transition: "all 0.3s cubic-bezier(0.4, 0, 0.2, 1)",
|
|
121
|
+
transformStyle: "preserve-3d",
|
|
122
|
+
animationDelay: `${staggerDelay}ms`
|
|
123
|
+
};
|
|
124
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
125
|
+
ui.Box,
|
|
126
|
+
{
|
|
127
|
+
className: ui.cn(
|
|
128
|
+
"relative rounded-lg border bg-card text-card-foreground shadow-lg",
|
|
129
|
+
"transform-gpu will-change-transform cursor-pointer",
|
|
130
|
+
"transition-all duration-300 hover:shadow-xl",
|
|
131
|
+
staggerAnimation && "animate-in fade-in slide-in-from-bottom-4",
|
|
132
|
+
isHovered && "ring-2 ring-primary ring-offset-2"
|
|
133
|
+
),
|
|
134
|
+
style: itemStyle,
|
|
135
|
+
onMouseEnter: () => setHoveredIndex(index),
|
|
136
|
+
onMouseLeave: () => setHoveredIndex(null),
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "w-full h-full overflow-hidden rounded-lg", children: item.content }),
|
|
139
|
+
(item.elevation || 0) > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
140
|
+
ui.Box,
|
|
141
|
+
{
|
|
142
|
+
className: "absolute inset-0 -z-10 rounded-lg bg-black/20 blur-sm",
|
|
143
|
+
style: {
|
|
144
|
+
transform: `translateY(${(item.elevation || 0) / 2}px) scale(0.95)`
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
)
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
item.id
|
|
151
|
+
);
|
|
152
|
+
}) }),
|
|
153
|
+
isometric && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "absolute inset-0 pointer-events-none opacity-20", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
154
|
+
ui.Box,
|
|
155
|
+
{
|
|
156
|
+
className: "grid border-dashed border-muted-foreground/30",
|
|
157
|
+
style: {
|
|
158
|
+
gridTemplateColumns: `repeat(${columns}, ${cellWidth}px)`,
|
|
159
|
+
gridTemplateRows: `repeat(${rows}, ${cellHeight}px)`,
|
|
160
|
+
gap: `${gap}px`,
|
|
161
|
+
transform: gridTransform,
|
|
162
|
+
transformStyle: "preserve-3d"
|
|
163
|
+
},
|
|
164
|
+
children: Array.from({ length: columns * rows }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
165
|
+
ui.Box,
|
|
166
|
+
{
|
|
167
|
+
className: "border border-dashed border-muted-foreground/20 rounded-lg"
|
|
168
|
+
},
|
|
169
|
+
index
|
|
170
|
+
))
|
|
171
|
+
}
|
|
172
|
+
) })
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
);
|
|
178
|
+
Grid3D.displayName = "Grid3D";
|
|
179
|
+
var Grid3DCard = React__namespace.forwardRef(
|
|
180
|
+
({
|
|
181
|
+
className,
|
|
182
|
+
title,
|
|
183
|
+
description,
|
|
184
|
+
image,
|
|
185
|
+
badge,
|
|
186
|
+
elevation = 0,
|
|
187
|
+
children,
|
|
188
|
+
...props
|
|
189
|
+
}, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
190
|
+
ui.Box,
|
|
191
|
+
{
|
|
192
|
+
ref,
|
|
193
|
+
className: ui.cn(
|
|
194
|
+
"group relative w-full h-full flex flex-col bg-gradient-to-br from-background to-muted/20",
|
|
195
|
+
"border rounded-lg overflow-hidden",
|
|
196
|
+
className
|
|
197
|
+
),
|
|
198
|
+
style: {
|
|
199
|
+
transform: `translateZ(${elevation}px)`,
|
|
200
|
+
transformStyle: "preserve-3d"
|
|
201
|
+
},
|
|
202
|
+
...props,
|
|
203
|
+
children: [
|
|
204
|
+
image && /* @__PURE__ */ jsxRuntime.jsxs(ui.Box, { className: "relative h-32 overflow-hidden", children: [
|
|
205
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
206
|
+
ui.Box,
|
|
207
|
+
{
|
|
208
|
+
tag: "img",
|
|
209
|
+
src: image,
|
|
210
|
+
alt: title || "",
|
|
211
|
+
className: "w-full h-full object-cover transition-transform duration-300 group-hover:scale-110"
|
|
212
|
+
}
|
|
213
|
+
),
|
|
214
|
+
badge && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "absolute top-2 right-2 px-2 py-1 text-xs rounded-full bg-primary text-primary-foreground", children: badge })
|
|
215
|
+
] }),
|
|
216
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Box, { className: "flex-1 p-4 flex flex-col justify-between", children: [
|
|
217
|
+
title && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "h3", className: "font-semibold text-lg mb-2 line-clamp-2 group-hover:text-primary transition-colors", children: title }),
|
|
218
|
+
description && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "p", className: "text-sm text-muted-foreground line-clamp-3 mb-4", children: description }),
|
|
219
|
+
children && /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "mt-auto", children })
|
|
220
|
+
] }),
|
|
221
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
222
|
+
ui.Box,
|
|
223
|
+
{
|
|
224
|
+
className: "absolute inset-0 -z-10 rounded-lg bg-gradient-to-br from-muted/50 to-muted",
|
|
225
|
+
style: {
|
|
226
|
+
transform: "translateZ(-2px) scale(0.98)",
|
|
227
|
+
transformStyle: "preserve-3d"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
)
|
|
234
|
+
);
|
|
235
|
+
Grid3DCard.displayName = "Grid3DCard";
|
|
236
|
+
var Grid3DPreset = {
|
|
237
|
+
Dashboard: React__namespace.forwardRef(
|
|
238
|
+
({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
239
|
+
Grid3D,
|
|
240
|
+
{
|
|
241
|
+
ref,
|
|
242
|
+
columns: 4,
|
|
243
|
+
rows: 3,
|
|
244
|
+
cellWidth: 250,
|
|
245
|
+
cellHeight: 200,
|
|
246
|
+
gap: 20,
|
|
247
|
+
perspective: 1200,
|
|
248
|
+
rotateX: 20,
|
|
249
|
+
rotateY: 10,
|
|
250
|
+
tiltOnHover: true,
|
|
251
|
+
elevationOnHover: true,
|
|
252
|
+
maxElevation: 30,
|
|
253
|
+
items: [],
|
|
254
|
+
...props
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
),
|
|
258
|
+
Isometric: React__namespace.forwardRef(
|
|
259
|
+
({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
260
|
+
Grid3D,
|
|
261
|
+
{
|
|
262
|
+
ref,
|
|
263
|
+
columns: 3,
|
|
264
|
+
rows: 3,
|
|
265
|
+
cellWidth: 180,
|
|
266
|
+
cellHeight: 180,
|
|
267
|
+
gap: 16,
|
|
268
|
+
isometric: true,
|
|
269
|
+
perspective: 1e3,
|
|
270
|
+
staggerAnimation: true,
|
|
271
|
+
animationDelay: 50,
|
|
272
|
+
items: [],
|
|
273
|
+
...props
|
|
274
|
+
}
|
|
275
|
+
)
|
|
276
|
+
),
|
|
277
|
+
Gallery: React__namespace.forwardRef(
|
|
278
|
+
({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
279
|
+
Grid3D,
|
|
280
|
+
{
|
|
281
|
+
ref,
|
|
282
|
+
columns: 5,
|
|
283
|
+
rows: 2,
|
|
284
|
+
cellWidth: 200,
|
|
285
|
+
cellHeight: 280,
|
|
286
|
+
gap: 24,
|
|
287
|
+
perspective: 1500,
|
|
288
|
+
rotateX: 15,
|
|
289
|
+
rotateY: 5,
|
|
290
|
+
tiltOnHover: true,
|
|
291
|
+
elevationOnHover: true,
|
|
292
|
+
maxElevation: 40,
|
|
293
|
+
items: [],
|
|
294
|
+
...props
|
|
295
|
+
}
|
|
296
|
+
)
|
|
297
|
+
),
|
|
298
|
+
Compact: React__namespace.forwardRef(
|
|
299
|
+
({ children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
300
|
+
Grid3D,
|
|
301
|
+
{
|
|
302
|
+
ref,
|
|
303
|
+
columns: 6,
|
|
304
|
+
rows: 4,
|
|
305
|
+
cellWidth: 120,
|
|
306
|
+
cellHeight: 120,
|
|
307
|
+
gap: 8,
|
|
308
|
+
perspective: 800,
|
|
309
|
+
rotateX: 30,
|
|
310
|
+
rotateY: 20,
|
|
311
|
+
tiltOnHover: true,
|
|
312
|
+
staggerAnimation: true,
|
|
313
|
+
animationDelay: 30,
|
|
314
|
+
items: [],
|
|
315
|
+
...props
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
)
|
|
319
|
+
};
|
|
320
|
+
Grid3DPreset.Dashboard.displayName = "Grid3DPreset.Dashboard";
|
|
321
|
+
Grid3DPreset.Isometric.displayName = "Grid3DPreset.Isometric";
|
|
322
|
+
Grid3DPreset.Gallery.displayName = "Grid3DPreset.Gallery";
|
|
323
|
+
Grid3DPreset.Compact.displayName = "Grid3DPreset.Compact";
|
|
324
|
+
var Grid3DAuto = React__namespace.forwardRef(
|
|
325
|
+
({
|
|
326
|
+
items,
|
|
327
|
+
minCellWidth = 200,
|
|
328
|
+
maxCellWidth = 300,
|
|
329
|
+
aspectRatio = 1,
|
|
330
|
+
...props
|
|
331
|
+
}, ref) => {
|
|
332
|
+
const [dimensions, setDimensions] = React__namespace.useState({ columns: 3, rows: 2 });
|
|
333
|
+
React__namespace.useEffect(() => {
|
|
334
|
+
const itemCount = items.length;
|
|
335
|
+
const columns = Math.ceil(Math.sqrt(itemCount));
|
|
336
|
+
const rows = Math.ceil(itemCount / columns);
|
|
337
|
+
setDimensions({ columns, rows });
|
|
338
|
+
}, [items.length]);
|
|
339
|
+
const cellWidth = Math.min(maxCellWidth, Math.max(minCellWidth, 200));
|
|
340
|
+
const cellHeight = cellWidth / aspectRatio;
|
|
341
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
342
|
+
Grid3D,
|
|
343
|
+
{
|
|
344
|
+
ref,
|
|
345
|
+
items,
|
|
346
|
+
columns: dimensions.columns,
|
|
347
|
+
rows: dimensions.rows,
|
|
348
|
+
cellWidth,
|
|
349
|
+
cellHeight,
|
|
350
|
+
...props
|
|
351
|
+
}
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
Grid3DAuto.displayName = "Grid3DAuto";
|
|
356
|
+
|
|
357
|
+
exports.Grid3D = Grid3D;
|
|
358
|
+
exports.Grid3DAuto = Grid3DAuto;
|
|
359
|
+
exports.Grid3DCard = Grid3DCard;
|
|
360
|
+
exports.Grid3DPreset = Grid3DPreset;
|