@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,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Box, cn, css } from '@hanzo/ui';
|
|
4
|
+
import { Check } from 'lucide-react';
|
|
5
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
var Choicebox = React.forwardRef(
|
|
8
|
+
({ className, options, value, onChange, multiple = false, ...props }, ref) => {
|
|
9
|
+
const [selected, setSelected] = React.useState(
|
|
10
|
+
value ? [value] : []
|
|
11
|
+
);
|
|
12
|
+
const handleSelect = (optionValue) => {
|
|
13
|
+
if (multiple) {
|
|
14
|
+
const newSelected = selected.includes(optionValue) ? selected.filter((v) => v !== optionValue) : [...selected, optionValue];
|
|
15
|
+
setSelected(newSelected);
|
|
16
|
+
onChange?.(newSelected.join(","));
|
|
17
|
+
} else {
|
|
18
|
+
setSelected([optionValue]);
|
|
19
|
+
onChange?.(optionValue);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ jsx(Box, { ref, className: cn("space-y-2", className), ...props, children: options.map((option) => /* @__PURE__ */ jsx(
|
|
23
|
+
Box,
|
|
24
|
+
{
|
|
25
|
+
tag: "button",
|
|
26
|
+
type: "button",
|
|
27
|
+
onClick: () => handleSelect(option.value),
|
|
28
|
+
className: cn(
|
|
29
|
+
"relative w-full rounded-lg border-2 p-4 text-left transition-colors hover:bg-accent",
|
|
30
|
+
selected.includes(option.value) ? "border-primary bg-primary/5" : "border-input"
|
|
31
|
+
),
|
|
32
|
+
children: /* @__PURE__ */ jsxs(Box, { className: "flex items-start gap-3", children: [
|
|
33
|
+
/* @__PURE__ */ jsx(
|
|
34
|
+
Box,
|
|
35
|
+
{
|
|
36
|
+
className: cn(
|
|
37
|
+
"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full border-2",
|
|
38
|
+
selected.includes(option.value) ? "border-primary bg-primary" : "border-input"
|
|
39
|
+
),
|
|
40
|
+
children: selected.includes(option.value) && /* @__PURE__ */ jsx(Check, { style: css("h-3 w-3 text-primary-foreground") })
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ jsxs(Box, { className: "flex-1", children: [
|
|
44
|
+
/* @__PURE__ */ jsx(Box, { className: "font-medium", children: option.label }),
|
|
45
|
+
option.description && /* @__PURE__ */ jsx(Box, { className: "text-sm text-muted-foreground", children: option.description })
|
|
46
|
+
] })
|
|
47
|
+
] })
|
|
48
|
+
},
|
|
49
|
+
option.value
|
|
50
|
+
)) });
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
Choicebox.displayName = "Choicebox";
|
|
54
|
+
|
|
55
|
+
export { Choicebox };
|
package/dist/chrome.cjs
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var React3 = require('react');
|
|
5
|
+
var ui = require('@hanzo/ui');
|
|
5
6
|
var lucideReact = require('lucide-react');
|
|
6
7
|
var gui = require('@hanzo/gui');
|
|
7
8
|
var jsxRuntime = require('react/jsx-runtime');
|
|
8
9
|
var reactQuery = require('@tanstack/react-query');
|
|
9
|
-
var ui = require('@hanzo/ui');
|
|
10
10
|
|
|
11
11
|
function _interopNamespace(e) {
|
|
12
12
|
if (e && e.__esModule) return e;
|
|
@@ -497,9 +497,10 @@ var MenuSeparator = (props) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
|
497
497
|
function initials(label) {
|
|
498
498
|
return label.split(/[\s._-]+/).filter(Boolean).map((w) => w[0]).join("").slice(0, 2).toUpperCase();
|
|
499
499
|
}
|
|
500
|
-
var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsxRuntime.jsx("img",
|
|
501
|
-
|
|
500
|
+
var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "img", src: logo, alt: "", className: "h-5 w-5 shrink-0 rounded object-contain" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
501
|
+
ui.Box,
|
|
502
502
|
{
|
|
503
|
+
tag: "span",
|
|
503
504
|
"aria-hidden": "true",
|
|
504
505
|
className: "flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[rgba(127,127,127,0.22)] text-[10px] font-bold",
|
|
505
506
|
children: initials(label)
|
|
@@ -508,9 +509,9 @@ var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsxRuntime.jsx("img",
|
|
|
508
509
|
var Row = ({ item, onDone, menu }) => {
|
|
509
510
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
510
511
|
item.icon,
|
|
511
|
-
/* @__PURE__ */ jsxRuntime.jsx("span",
|
|
512
|
-
item.hint ? /* @__PURE__ */ jsxRuntime.jsx("span",
|
|
513
|
-
item.selected ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { "aria-hidden": "true",
|
|
512
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "span", className: "flex-1 truncate", children: item.label }),
|
|
513
|
+
item.hint ? /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "span", className: "text-xs opacity-60", children: item.hint }) : null,
|
|
514
|
+
item.selected ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { "aria-hidden": "true", style: ui.css("h-4 w-4 shrink-0") }) : null
|
|
514
515
|
] });
|
|
515
516
|
const className = ui.cn(
|
|
516
517
|
"flex w-full cursor-pointer select-none items-center gap-2.5 rounded-md px-2 py-2 text-left text-sm",
|
|
@@ -547,19 +548,20 @@ var Switcher = ({
|
|
|
547
548
|
const narrow = useIsNarrow();
|
|
548
549
|
const close = React3__namespace.useCallback(() => setOpen(false), []);
|
|
549
550
|
const message = status === "loading" ? "Loading\u2026" : status === "error" ? error ?? "Could not reach IAM." : status === "anonymous" ? null : items.length === 0 ? empty : null;
|
|
550
|
-
const rows = status === "anonymous" && onSignIn ? [{ id: "sign-in", label: signInLabel, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true",
|
|
551
|
+
const rows = status === "anonymous" && onSignIn ? [{ id: "sign-in", label: signInLabel, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true", style: ui.css("h-4 w-4") }), onSelect: onSignIn }] : status === "ready" ? items : [];
|
|
551
552
|
const panel = (menu) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
552
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
553
|
-
message ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
553
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "px-2 pb-1 pt-1 text-[11px] font-semibold uppercase tracking-wide opacity-55", children: title }),
|
|
554
|
+
message ? /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { "data-testid": "chrome-message", className: "px-2 py-2 text-sm opacity-70", children: message }) : null,
|
|
554
555
|
rows.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Row, { item, onDone: close, menu }, item.id)),
|
|
555
556
|
footer.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
556
|
-
menu ? /* @__PURE__ */ jsxRuntime.jsx(MenuSeparator, {
|
|
557
|
+
menu ? /* @__PURE__ */ jsxRuntime.jsx(MenuSeparator, { ...ui.sx("my-1 h-px bg-[var(--color-border-divider,rgba(127,127,127,0.25))]") }) : /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { className: "my-1 h-px bg-[var(--color-border-divider,rgba(127,127,127,0.25))]" }),
|
|
557
558
|
footer.map((item) => /* @__PURE__ */ jsxRuntime.jsx(Row, { item, onDone: close, menu }, item.id))
|
|
558
559
|
] }) : null
|
|
559
560
|
] });
|
|
560
561
|
const trigger = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
561
|
-
|
|
562
|
+
ui.Box,
|
|
562
563
|
{
|
|
564
|
+
tag: "button",
|
|
563
565
|
type: "button",
|
|
564
566
|
"data-testid": testId,
|
|
565
567
|
"aria-label": title,
|
|
@@ -571,8 +573,8 @@ var Switcher = ({
|
|
|
571
573
|
),
|
|
572
574
|
children: [
|
|
573
575
|
icon,
|
|
574
|
-
/* @__PURE__ */ jsxRuntime.jsx("span",
|
|
575
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsUpDown, { "aria-hidden": "true",
|
|
576
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "span", className: "truncate", children: label }),
|
|
577
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsUpDown, { "aria-hidden": "true", style: ui.css("h-3.5 w-3.5 shrink-0 opacity-60") })
|
|
576
578
|
]
|
|
577
579
|
}
|
|
578
580
|
);
|
|
@@ -631,7 +633,7 @@ var ProjectSwitcher = () => {
|
|
|
631
633
|
testId: "project-switcher",
|
|
632
634
|
title: "Project",
|
|
633
635
|
label: id.project?.displayName || id.project?.name || "Project",
|
|
634
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Folder, { "aria-hidden": "true",
|
|
636
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Folder, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }),
|
|
635
637
|
status: id.status,
|
|
636
638
|
error: id.error,
|
|
637
639
|
empty: "No projects in this organization.",
|
|
@@ -639,7 +641,7 @@ var ProjectSwitcher = () => {
|
|
|
639
641
|
items: id.projects.map((p) => ({
|
|
640
642
|
id: p.name,
|
|
641
643
|
label: p.displayName || p.name,
|
|
642
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Folder, { "aria-hidden": "true",
|
|
644
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Folder, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }),
|
|
643
645
|
selected: p.name === id.project?.name,
|
|
644
646
|
onSelect: () => id.setProject(p.name)
|
|
645
647
|
}))
|
|
@@ -656,16 +658,16 @@ var UserMenu = ({ items = [] }) => {
|
|
|
656
658
|
align: "end",
|
|
657
659
|
title: id.status === "ready" ? who : "Account",
|
|
658
660
|
label: id.status === "ready" ? who : "Sign in",
|
|
659
|
-
icon: id.status === "ready" ? /* @__PURE__ */ jsxRuntime.jsx(Monogram, { label: who, logo: id.account?.avatar }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true",
|
|
661
|
+
icon: id.status === "ready" ? /* @__PURE__ */ jsxRuntime.jsx(Monogram, { label: who, logo: id.account?.avatar }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }),
|
|
660
662
|
status: id.status,
|
|
661
663
|
error: id.error,
|
|
662
664
|
onSignIn: id.signIn,
|
|
663
665
|
signInLabel: `Sign in with ${id.whiteLabel.iamDomain}`,
|
|
664
666
|
items: [
|
|
665
|
-
{ id: "account", label: id.account?.email || who, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true",
|
|
667
|
+
{ id: "account", label: id.account?.email || who, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }) },
|
|
666
668
|
...items
|
|
667
669
|
],
|
|
668
|
-
footer: id.status === "ready" ? [{ id: "sign-out", label: "Sign out", danger: true, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LogOut, { "aria-hidden": "true",
|
|
670
|
+
footer: id.status === "ready" ? [{ id: "sign-out", label: "Sign out", danger: true, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.LogOut, { "aria-hidden": "true", style: ui.css("h-4 w-4") }), onSelect: id.signOut }] : []
|
|
669
671
|
}
|
|
670
672
|
);
|
|
671
673
|
};
|
|
@@ -676,10 +678,10 @@ var SettingsMenu = ({ items = [], href = "/settings" }) => /* @__PURE__ */ jsxRu
|
|
|
676
678
|
align: "end",
|
|
677
679
|
title: "Settings",
|
|
678
680
|
label: "Settings",
|
|
679
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { "aria-hidden": "true",
|
|
681
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }),
|
|
680
682
|
items,
|
|
681
683
|
empty: "No settings on this surface.",
|
|
682
|
-
footer: [{ id: "all-settings", label: "All settings", href, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { "aria-hidden": "true",
|
|
684
|
+
footer: [{ id: "all-settings", label: "All settings", href, icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Settings, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }) }]
|
|
683
685
|
}
|
|
684
686
|
);
|
|
685
687
|
var AppNav = ({
|
|
@@ -696,28 +698,31 @@ var AppNav = ({
|
|
|
696
698
|
const narrow = useIsNarrow();
|
|
697
699
|
const [menu, setMenu] = React3__namespace.useState(false);
|
|
698
700
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
699
|
-
|
|
701
|
+
ui.Box,
|
|
700
702
|
{
|
|
703
|
+
tag: "header",
|
|
701
704
|
"data-testid": "app-nav",
|
|
702
705
|
className: "sticky top-0 z-50 border-b border-[var(--color-border-divider,rgba(127,127,127,0.25))] bg-[var(--color-bg-body,inherit)]",
|
|
703
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
706
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(ui.Box, { className: "mx-auto flex h-14 max-w-7xl items-center gap-2 px-4", children: [
|
|
704
707
|
narrow && links.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(DrawerRoot, { open: menu, onOpenChange: (d) => setMenu(d.open), placement: "bottom", size: "md", children: [
|
|
705
708
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
706
|
-
|
|
709
|
+
ui.Box,
|
|
707
710
|
{
|
|
711
|
+
tag: "button",
|
|
708
712
|
type: "button",
|
|
709
713
|
"aria-label": "Menu",
|
|
710
714
|
"data-testid": "nav-menu",
|
|
711
715
|
className: "rounded-md p-2 hover:bg-[rgba(127,127,127,0.14)]",
|
|
712
716
|
onClick: () => setMenu(true),
|
|
713
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Menu, { "aria-hidden": "true",
|
|
717
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Menu, { "aria-hidden": "true", style: ui.css("h-5 w-5") })
|
|
714
718
|
}
|
|
715
719
|
),
|
|
716
720
|
/* @__PURE__ */ jsxRuntime.jsxs(DrawerContent, { "data-testid": "nav-menu-panel", children: [
|
|
717
721
|
/* @__PURE__ */ jsxRuntime.jsx(DrawerHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DrawerTitle, { children: "Menu" }) }),
|
|
718
722
|
/* @__PURE__ */ jsxRuntime.jsx(DrawerBody, { children: links.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
719
|
-
|
|
723
|
+
ui.Box,
|
|
720
724
|
{
|
|
725
|
+
tag: "a",
|
|
721
726
|
href: l.href,
|
|
722
727
|
onClick: () => setMenu(false),
|
|
723
728
|
"aria-current": l.active ? "page" : void 0,
|
|
@@ -728,15 +733,16 @@ var AppNav = ({
|
|
|
728
733
|
)) })
|
|
729
734
|
] })
|
|
730
735
|
] }) : null,
|
|
731
|
-
/* @__PURE__ */ jsxRuntime.jsx("a",
|
|
732
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Building2, { "aria-hidden": "true",
|
|
736
|
+
/* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "a", href: home, className: "flex items-center gap-2 font-semibold tracking-tight", children: brand ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
737
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Building2, { "aria-hidden": "true", style: ui.css("h-4 w-4 opacity-70") }),
|
|
733
738
|
id.whiteLabel.name
|
|
734
739
|
] }) }),
|
|
735
740
|
org ? /* @__PURE__ */ jsxRuntime.jsx(OrgSwitcher, {}) : null,
|
|
736
741
|
project ? /* @__PURE__ */ jsxRuntime.jsx(ProjectSwitcher, {}) : null,
|
|
737
|
-
!narrow && links.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("nav",
|
|
738
|
-
|
|
742
|
+
!narrow && links.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(ui.Box, { tag: "nav", className: "flex items-center gap-1", children: links.map((l) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
743
|
+
ui.Box,
|
|
739
744
|
{
|
|
745
|
+
tag: "a",
|
|
740
746
|
href: l.href,
|
|
741
747
|
"aria-current": l.active ? "page" : void 0,
|
|
742
748
|
className: ui.cn(
|
|
@@ -747,7 +753,7 @@ var AppNav = ({
|
|
|
747
753
|
},
|
|
748
754
|
l.href
|
|
749
755
|
)) }) : null,
|
|
750
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsxs(ui.Box, { className: "flex flex-1 items-center justify-end gap-1", children: [
|
|
751
757
|
children,
|
|
752
758
|
settings ? /* @__PURE__ */ jsxRuntime.jsx(SettingsMenu, { items: settings }) : null,
|
|
753
759
|
/* @__PURE__ */ jsxRuntime.jsx(UserMenu, { items: userItems })
|
package/dist/chrome.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chrome.d.ts","sourceRoot":"","sources":["../src/chrome.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"chrome.d.ts","sourceRoot":"","sources":["../src/chrome.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAsB9D,6BAA6B;AAC7B,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,uEAAuE;AACvE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAQ9C;AAaD,MAAM,WAAW,aAAa;IAC5B,qEAAqE;IACrE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,qBAAqB;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,iDAAiD;IACjD,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC1C,2DAA2D;IAC3D,QAAQ,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC5C,2DAA2D;IAC3D,QAAQ,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC;IACjC,yDAAyD;IACzD,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,4DAA4D;IAC5D,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IACjC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAC1B;AAyCD;;;GAGG;AACH,eAAO,MAAM,QAAQ,uGAalB,aAAa,KAAG,KAAK,CAAC,YAiFxB,CAAC;AAMF,oDAAoD;AACpD,eAAO,MAAM,WAAW,QAAO,KAAK,CAAC,YAsBpC,CAAC;AAEF,8CAA8C;AAC9C,eAAO,MAAM,eAAe,QAAO,KAAK,CAAC,YAAY,GAAG,IAuBvD,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,+EAA+E;IAC/E,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;CAC5C;AAED,yDAAyD;AACzD,eAAO,MAAM,QAAQ,cAAoB,aAAa,KAAG,KAAK,CAAC,YAyB9D,CAAC;AAEF,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC3C,iCAAiC;IACjC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,sEAAsE;AACtE,eAAO,MAAM,YAAY,oBAAwC,iBAAiB,KAAG,KAAK,CAAC,YAW1F,CAAC;AAIF,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,WAAW;IAC1B,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,gCAAgC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACxC,2CAA2C;IAC3C,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IACvB,iFAAiF;IACjF,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC9C,mCAAmC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IAC/C,8DAA8D;IAC9D,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,yEAShB,WAAW,KAAG,KAAK,CAAC,YA4EtB,CAAC"}
|
package/dist/chrome.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import * as React3 from 'react';
|
|
3
3
|
import React3__default, { Children, createElement } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { css, Box, cn, sx } from '@hanzo/ui';
|
|
5
|
+
import { User, ChevronsUpDown, Folder, LogOut, Settings, Menu, Building2, Check } from 'lucide-react';
|
|
5
6
|
import { styled, View, Sheet, Dialog, YStack, Text, Menu as Menu$1 } from '@hanzo/gui';
|
|
6
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
8
|
import { QueryClient } from '@tanstack/react-query';
|
|
8
|
-
import { cn } from '@hanzo/ui';
|
|
9
9
|
|
|
10
10
|
var CLOSE_ICON_PATH = "M9.44 8.035a.791.791 0 0 0 1.12 0l3.802-3.803a.791.791 0 0 1 1.119 0l.287.287a.79.79 0 0 1 0 1.119L11.965 9.44a.79.79 0 0 0 0 1.118l3.803 3.803a.791.791 0 0 1 0 1.119l-.287.287a.791.791 0 0 1-1.119 0l-3.803-3.803a.79.79 0 0 0-1.118 0l-3.803 3.803a.79.79 0 0 1-1.119 0l-.287-.287a.791.791 0 0 1 0-1.119l3.803-3.803a.791.791 0 0 0 0-1.118L4.232 5.638a.791.791 0 0 1 0-1.119l.287-.287a.791.791 0 0 1 1.119 0L9.44 8.035Z";
|
|
11
11
|
var CloseButtonFrame = styled(View, {
|
|
@@ -476,9 +476,10 @@ var MenuSeparator = (props) => /* @__PURE__ */ jsx(
|
|
|
476
476
|
function initials(label) {
|
|
477
477
|
return label.split(/[\s._-]+/).filter(Boolean).map((w) => w[0]).join("").slice(0, 2).toUpperCase();
|
|
478
478
|
}
|
|
479
|
-
var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsx("img",
|
|
480
|
-
|
|
479
|
+
var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsx(Box, { tag: "img", src: logo, alt: "", className: "h-5 w-5 shrink-0 rounded object-contain" }) : /* @__PURE__ */ jsx(
|
|
480
|
+
Box,
|
|
481
481
|
{
|
|
482
|
+
tag: "span",
|
|
482
483
|
"aria-hidden": "true",
|
|
483
484
|
className: "flex h-5 w-5 shrink-0 items-center justify-center rounded bg-[rgba(127,127,127,0.22)] text-[10px] font-bold",
|
|
484
485
|
children: initials(label)
|
|
@@ -487,9 +488,9 @@ var Monogram = ({ label, logo }) => logo ? /* @__PURE__ */ jsx("img", { src: log
|
|
|
487
488
|
var Row = ({ item, onDone, menu }) => {
|
|
488
489
|
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
489
490
|
item.icon,
|
|
490
|
-
/* @__PURE__ */ jsx("span",
|
|
491
|
-
item.hint ? /* @__PURE__ */ jsx("span",
|
|
492
|
-
item.selected ? /* @__PURE__ */ jsx(Check, { "aria-hidden": "true",
|
|
491
|
+
/* @__PURE__ */ jsx(Box, { tag: "span", className: "flex-1 truncate", children: item.label }),
|
|
492
|
+
item.hint ? /* @__PURE__ */ jsx(Box, { tag: "span", className: "text-xs opacity-60", children: item.hint }) : null,
|
|
493
|
+
item.selected ? /* @__PURE__ */ jsx(Check, { "aria-hidden": "true", style: css("h-4 w-4 shrink-0") }) : null
|
|
493
494
|
] });
|
|
494
495
|
const className = cn(
|
|
495
496
|
"flex w-full cursor-pointer select-none items-center gap-2.5 rounded-md px-2 py-2 text-left text-sm",
|
|
@@ -526,19 +527,20 @@ var Switcher = ({
|
|
|
526
527
|
const narrow = useIsNarrow();
|
|
527
528
|
const close = React3.useCallback(() => setOpen(false), []);
|
|
528
529
|
const message = status === "loading" ? "Loading\u2026" : status === "error" ? error ?? "Could not reach IAM." : status === "anonymous" ? null : items.length === 0 ? empty : null;
|
|
529
|
-
const rows = status === "anonymous" && onSignIn ? [{ id: "sign-in", label: signInLabel, icon: /* @__PURE__ */ jsx(User, { "aria-hidden": "true",
|
|
530
|
+
const rows = status === "anonymous" && onSignIn ? [{ id: "sign-in", label: signInLabel, icon: /* @__PURE__ */ jsx(User, { "aria-hidden": "true", style: css("h-4 w-4") }), onSelect: onSignIn }] : status === "ready" ? items : [];
|
|
530
531
|
const panel = (menu) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
531
|
-
/* @__PURE__ */ jsx(
|
|
532
|
-
message ? /* @__PURE__ */ jsx(
|
|
532
|
+
/* @__PURE__ */ jsx(Box, { className: "px-2 pb-1 pt-1 text-[11px] font-semibold uppercase tracking-wide opacity-55", children: title }),
|
|
533
|
+
message ? /* @__PURE__ */ jsx(Box, { "data-testid": "chrome-message", className: "px-2 py-2 text-sm opacity-70", children: message }) : null,
|
|
533
534
|
rows.map((item) => /* @__PURE__ */ jsx(Row, { item, onDone: close, menu }, item.id)),
|
|
534
535
|
footer.length > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
535
|
-
menu ? /* @__PURE__ */ jsx(MenuSeparator, {
|
|
536
|
+
menu ? /* @__PURE__ */ jsx(MenuSeparator, { ...sx("my-1 h-px bg-[var(--color-border-divider,rgba(127,127,127,0.25))]") }) : /* @__PURE__ */ jsx(Box, { className: "my-1 h-px bg-[var(--color-border-divider,rgba(127,127,127,0.25))]" }),
|
|
536
537
|
footer.map((item) => /* @__PURE__ */ jsx(Row, { item, onDone: close, menu }, item.id))
|
|
537
538
|
] }) : null
|
|
538
539
|
] });
|
|
539
540
|
const trigger = /* @__PURE__ */ jsxs(
|
|
540
|
-
|
|
541
|
+
Box,
|
|
541
542
|
{
|
|
543
|
+
tag: "button",
|
|
542
544
|
type: "button",
|
|
543
545
|
"data-testid": testId,
|
|
544
546
|
"aria-label": title,
|
|
@@ -550,8 +552,8 @@ var Switcher = ({
|
|
|
550
552
|
),
|
|
551
553
|
children: [
|
|
552
554
|
icon,
|
|
553
|
-
/* @__PURE__ */ jsx("span",
|
|
554
|
-
/* @__PURE__ */ jsx(ChevronsUpDown, { "aria-hidden": "true",
|
|
555
|
+
/* @__PURE__ */ jsx(Box, { tag: "span", className: "truncate", children: label }),
|
|
556
|
+
/* @__PURE__ */ jsx(ChevronsUpDown, { "aria-hidden": "true", style: css("h-3.5 w-3.5 shrink-0 opacity-60") })
|
|
555
557
|
]
|
|
556
558
|
}
|
|
557
559
|
);
|
|
@@ -610,7 +612,7 @@ var ProjectSwitcher = () => {
|
|
|
610
612
|
testId: "project-switcher",
|
|
611
613
|
title: "Project",
|
|
612
614
|
label: id.project?.displayName || id.project?.name || "Project",
|
|
613
|
-
icon: /* @__PURE__ */ jsx(Folder, { "aria-hidden": "true",
|
|
615
|
+
icon: /* @__PURE__ */ jsx(Folder, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }),
|
|
614
616
|
status: id.status,
|
|
615
617
|
error: id.error,
|
|
616
618
|
empty: "No projects in this organization.",
|
|
@@ -618,7 +620,7 @@ var ProjectSwitcher = () => {
|
|
|
618
620
|
items: id.projects.map((p) => ({
|
|
619
621
|
id: p.name,
|
|
620
622
|
label: p.displayName || p.name,
|
|
621
|
-
icon: /* @__PURE__ */ jsx(Folder, { "aria-hidden": "true",
|
|
623
|
+
icon: /* @__PURE__ */ jsx(Folder, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }),
|
|
622
624
|
selected: p.name === id.project?.name,
|
|
623
625
|
onSelect: () => id.setProject(p.name)
|
|
624
626
|
}))
|
|
@@ -635,16 +637,16 @@ var UserMenu = ({ items = [] }) => {
|
|
|
635
637
|
align: "end",
|
|
636
638
|
title: id.status === "ready" ? who : "Account",
|
|
637
639
|
label: id.status === "ready" ? who : "Sign in",
|
|
638
|
-
icon: id.status === "ready" ? /* @__PURE__ */ jsx(Monogram, { label: who, logo: id.account?.avatar }) : /* @__PURE__ */ jsx(User, { "aria-hidden": "true",
|
|
640
|
+
icon: id.status === "ready" ? /* @__PURE__ */ jsx(Monogram, { label: who, logo: id.account?.avatar }) : /* @__PURE__ */ jsx(User, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }),
|
|
639
641
|
status: id.status,
|
|
640
642
|
error: id.error,
|
|
641
643
|
onSignIn: id.signIn,
|
|
642
644
|
signInLabel: `Sign in with ${id.whiteLabel.iamDomain}`,
|
|
643
645
|
items: [
|
|
644
|
-
{ id: "account", label: id.account?.email || who, icon: /* @__PURE__ */ jsx(User, { "aria-hidden": "true",
|
|
646
|
+
{ id: "account", label: id.account?.email || who, icon: /* @__PURE__ */ jsx(User, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }) },
|
|
645
647
|
...items
|
|
646
648
|
],
|
|
647
|
-
footer: id.status === "ready" ? [{ id: "sign-out", label: "Sign out", danger: true, icon: /* @__PURE__ */ jsx(LogOut, { "aria-hidden": "true",
|
|
649
|
+
footer: id.status === "ready" ? [{ id: "sign-out", label: "Sign out", danger: true, icon: /* @__PURE__ */ jsx(LogOut, { "aria-hidden": "true", style: css("h-4 w-4") }), onSelect: id.signOut }] : []
|
|
648
650
|
}
|
|
649
651
|
);
|
|
650
652
|
};
|
|
@@ -655,10 +657,10 @@ var SettingsMenu = ({ items = [], href = "/settings" }) => /* @__PURE__ */ jsx(
|
|
|
655
657
|
align: "end",
|
|
656
658
|
title: "Settings",
|
|
657
659
|
label: "Settings",
|
|
658
|
-
icon: /* @__PURE__ */ jsx(Settings, { "aria-hidden": "true",
|
|
660
|
+
icon: /* @__PURE__ */ jsx(Settings, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }),
|
|
659
661
|
items,
|
|
660
662
|
empty: "No settings on this surface.",
|
|
661
|
-
footer: [{ id: "all-settings", label: "All settings", href, icon: /* @__PURE__ */ jsx(Settings, { "aria-hidden": "true",
|
|
663
|
+
footer: [{ id: "all-settings", label: "All settings", href, icon: /* @__PURE__ */ jsx(Settings, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }) }]
|
|
662
664
|
}
|
|
663
665
|
);
|
|
664
666
|
var AppNav = ({
|
|
@@ -675,28 +677,31 @@ var AppNav = ({
|
|
|
675
677
|
const narrow = useIsNarrow();
|
|
676
678
|
const [menu, setMenu] = React3.useState(false);
|
|
677
679
|
return /* @__PURE__ */ jsx(
|
|
678
|
-
|
|
680
|
+
Box,
|
|
679
681
|
{
|
|
682
|
+
tag: "header",
|
|
680
683
|
"data-testid": "app-nav",
|
|
681
684
|
className: "sticky top-0 z-50 border-b border-[var(--color-border-divider,rgba(127,127,127,0.25))] bg-[var(--color-bg-body,inherit)]",
|
|
682
|
-
children: /* @__PURE__ */ jsxs(
|
|
685
|
+
children: /* @__PURE__ */ jsxs(Box, { className: "mx-auto flex h-14 max-w-7xl items-center gap-2 px-4", children: [
|
|
683
686
|
narrow && links.length > 0 ? /* @__PURE__ */ jsxs(DrawerRoot, { open: menu, onOpenChange: (d) => setMenu(d.open), placement: "bottom", size: "md", children: [
|
|
684
687
|
/* @__PURE__ */ jsx(
|
|
685
|
-
|
|
688
|
+
Box,
|
|
686
689
|
{
|
|
690
|
+
tag: "button",
|
|
687
691
|
type: "button",
|
|
688
692
|
"aria-label": "Menu",
|
|
689
693
|
"data-testid": "nav-menu",
|
|
690
694
|
className: "rounded-md p-2 hover:bg-[rgba(127,127,127,0.14)]",
|
|
691
695
|
onClick: () => setMenu(true),
|
|
692
|
-
children: /* @__PURE__ */ jsx(Menu, { "aria-hidden": "true",
|
|
696
|
+
children: /* @__PURE__ */ jsx(Menu, { "aria-hidden": "true", style: css("h-5 w-5") })
|
|
693
697
|
}
|
|
694
698
|
),
|
|
695
699
|
/* @__PURE__ */ jsxs(DrawerContent, { "data-testid": "nav-menu-panel", children: [
|
|
696
700
|
/* @__PURE__ */ jsx(DrawerHeader, { children: /* @__PURE__ */ jsx(DrawerTitle, { children: "Menu" }) }),
|
|
697
701
|
/* @__PURE__ */ jsx(DrawerBody, { children: links.map((l) => /* @__PURE__ */ jsx(
|
|
698
|
-
|
|
702
|
+
Box,
|
|
699
703
|
{
|
|
704
|
+
tag: "a",
|
|
700
705
|
href: l.href,
|
|
701
706
|
onClick: () => setMenu(false),
|
|
702
707
|
"aria-current": l.active ? "page" : void 0,
|
|
@@ -707,15 +712,16 @@ var AppNav = ({
|
|
|
707
712
|
)) })
|
|
708
713
|
] })
|
|
709
714
|
] }) : null,
|
|
710
|
-
/* @__PURE__ */ jsx("a",
|
|
711
|
-
/* @__PURE__ */ jsx(Building2, { "aria-hidden": "true",
|
|
715
|
+
/* @__PURE__ */ jsx(Box, { tag: "a", href: home, className: "flex items-center gap-2 font-semibold tracking-tight", children: brand ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
716
|
+
/* @__PURE__ */ jsx(Building2, { "aria-hidden": "true", style: css("h-4 w-4 opacity-70") }),
|
|
712
717
|
id.whiteLabel.name
|
|
713
718
|
] }) }),
|
|
714
719
|
org ? /* @__PURE__ */ jsx(OrgSwitcher, {}) : null,
|
|
715
720
|
project ? /* @__PURE__ */ jsx(ProjectSwitcher, {}) : null,
|
|
716
|
-
!narrow && links.length > 0 ? /* @__PURE__ */ jsx("nav",
|
|
717
|
-
|
|
721
|
+
!narrow && links.length > 0 ? /* @__PURE__ */ jsx(Box, { tag: "nav", className: "flex items-center gap-1", children: links.map((l) => /* @__PURE__ */ jsx(
|
|
722
|
+
Box,
|
|
718
723
|
{
|
|
724
|
+
tag: "a",
|
|
719
725
|
href: l.href,
|
|
720
726
|
"aria-current": l.active ? "page" : void 0,
|
|
721
727
|
className: cn(
|
|
@@ -726,7 +732,7 @@ var AppNav = ({
|
|
|
726
732
|
},
|
|
727
733
|
l.href
|
|
728
734
|
)) }) : null,
|
|
729
|
-
/* @__PURE__ */ jsxs(
|
|
735
|
+
/* @__PURE__ */ jsxs(Box, { className: "flex flex-1 items-center justify-end gap-1", children: [
|
|
730
736
|
children,
|
|
731
737
|
settings ? /* @__PURE__ */ jsx(SettingsMenu, { items: settings }) : null,
|
|
732
738
|
/* @__PURE__ */ jsx(UserMenu, { items: userItems })
|