@luxfi/ui 7.4.15 → 8.1.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/LICENSE.md +21 -0
- 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 +10 -12
- package/dist/accordion.d.ts.map +1 -0
- 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 +66 -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 +72 -0
- package/dist/ai-voice.d.ts.map +1 -0
- package/dist/ai-voice.js +1501 -0
- package/dist/alert.cjs +14 -147
- package/dist/alert.d.ts +4 -5
- package/dist/alert.d.ts.map +1 -0
- package/dist/alert.js +14 -147
- 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 +70 -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 +11 -13
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +6 -5
- package/dist/avatar.d.ts +5 -6
- package/dist/avatar.d.ts.map +1 -0
- package/dist/badge.cjs +29 -169
- package/dist/badge.d.ts +9 -13
- package/dist/badge.d.ts.map +1 -0
- package/dist/badge.js +29 -169
- package/dist/bank.d.ts +42 -47
- package/dist/bank.d.ts.map +1 -0
- 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 -154
- package/dist/button.d.ts +9 -10
- package/dist/button.d.ts.map +1 -0
- package/dist/button.js +21 -154
- 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/checkbox.d.ts +6 -7
- package/dist/checkbox.d.ts.map +1 -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 +39 -37
- package/dist/chrome.d.ts +15 -19
- package/dist/chrome.d.ts.map +1 -0
- package/dist/chrome.js +37 -35
- package/dist/close-button.d.ts +3 -5
- package/dist/close-button.d.ts.map +1 -0
- 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 +45 -170
- package/dist/collapsible.d.ts +11 -13
- package/dist/collapsible.d.ts.map +1 -0
- package/dist/collapsible.js +34 -159
- package/dist/color-mode.d.ts +7 -9
- package/dist/color-mode.d.ts.map +1 -0
- 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 +13 -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 +16 -19
- package/dist/dialog.d.ts +49 -53
- package/dist/dialog.d.ts.map +1 -0
- package/dist/dialog.js +12 -15
- 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 +33 -38
- package/dist/drawer.d.ts.map +1 -0
- 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-state.d.ts +4 -6
- package/dist/empty-state.d.ts.map +1 -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.d.ts +35 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +86 -0
- package/dist/expiration-selector.d.ts +4 -6
- package/dist/expiration-selector.d.ts.map +1 -0
- package/dist/field.cjs +2 -1
- package/dist/field.d.ts +5 -7
- package/dist/field.d.ts.map +1 -0
- 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/greeks-display.d.ts +3 -5
- package/dist/greeks-display.d.ts.map +1 -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/gui.d.ts +1 -1
- package/dist/gui.d.ts.map +1 -0
- package/dist/heading.d.ts +4 -6
- package/dist/heading.d.ts.map +1 -0
- package/dist/hooks/use-mobile.d.ts +3 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/iam.d.ts +10 -12
- package/dist/iam.d.ts.map +1 -0
- package/dist/icon-button.cjs +14 -147
- package/dist/icon-button.d.ts +4 -5
- package/dist/icon-button.d.ts.map +1 -0
- package/dist/icon-button.js +14 -147
- 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/icons.d.ts +1 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/identity.d.ts +9 -11
- package/dist/identity.d.ts.map +1 -0
- 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 +17 -149
- package/dist/image.d.ts +10 -11
- package/dist/image.d.ts.map +1 -0
- package/dist/image.js +16 -148
- package/dist/index.cjs +30299 -1227
- package/dist/index.d.ts +207 -60
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +30009 -1226
- package/dist/ink.cjs +17 -0
- package/dist/ink.d.ts +14 -0
- package/dist/ink.d.ts.map +1 -0
- package/dist/ink.js +15 -0
- package/dist/input-group.d.ts +4 -6
- package/dist/input-group.d.ts.map +1 -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 +8 -9
- package/dist/input.d.ts.map +1 -0
- 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 +36 -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 +41 -168
- package/dist/link.d.ts +9 -11
- package/dist/link.d.ts.map +1 -0
- package/dist/link.js +30 -157
- 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 +521 -524
- package/dist/lux.config.d.ts.map +1 -0
- 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 +30 -31
- package/dist/menu.d.ts.map +1 -0
- 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 +18 -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/next.d.ts +5 -7
- package/dist/next.d.ts.map +1 -0
- package/dist/option-chain.d.ts +6 -8
- package/dist/option-chain.d.ts.map +1 -0
- package/dist/option-position.d.ts +4 -6
- package/dist/option-position.d.ts.map +1 -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 +18 -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/pin-input.cjs +1 -1
- package/dist/pin-input.d.ts +3 -5
- package/dist/pin-input.d.ts.map +1 -0
- package/dist/pin-input.js +1 -1
- 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/pnl-diagram.d.ts +5 -6
- package/dist/pnl-diagram.d.ts.map +1 -0
- package/dist/popover.cjs +16 -18
- package/dist/popover.d.ts +24 -25
- package/dist/popover.d.ts.map +1 -0
- package/dist/popover.js +11 -13
- 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 +3 -6
- package/dist/progress-circle.d.ts +8 -9
- package/dist/progress-circle.d.ts.map +1 -0
- package/dist/progress-circle.js +2 -5
- package/dist/progress.d.ts +3 -4
- package/dist/progress.d.ts.map +1 -0
- package/dist/provider.d.ts +8 -10
- package/dist/provider.d.ts.map +1 -0
- 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 +6 -7
- package/dist/radio.d.ts.map +1 -0
- package/dist/rating.d.ts +3 -5
- package/dist/rating.d.ts.map +1 -0
- 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 +38 -168
- package/dist/select.d.ts +38 -41
- package/dist/select.d.ts.map +1 -0
- package/dist/select.js +34 -164
- package/dist/separator.d.ts +5 -6
- package/dist/separator.d.ts.map +1 -0
- 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/skeleton.cjs +15 -148
- package/dist/skeleton.d.ts +11 -53
- package/dist/skeleton.d.ts.map +1 -0
- package/dist/skeleton.js +15 -148
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +4 -5
- package/dist/slider.d.ts.map +1 -0
- package/dist/slider.js +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/strategy-builder.d.ts +6 -8
- package/dist/strategy-builder.d.ts.map +1 -0
- package/dist/switch.cjs +2 -2
- package/dist/switch.d.ts +4 -8
- package/dist/switch.d.ts.map +1 -0
- package/dist/switch.js +2 -2
- 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 +74 -192
- package/dist/table.d.ts +23 -25
- package/dist/table.d.ts.map +1 -0
- package/dist/table.js +53 -171
- package/dist/tabs.d.ts +12 -13
- package/dist/tabs.d.ts.map +1 -0
- package/dist/tag.cjs +14 -147
- package/dist/tag.d.ts +4 -5
- package/dist/tag.d.ts.map +1 -0
- package/dist/tag.js +14 -147
- 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/textarea.d.ts +5 -6
- package/dist/textarea.d.ts.map +1 -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 +4 -5
- package/dist/toaster.d.ts.map +1 -0
- 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/tooltip.d.ts +3 -5
- package/dist/tooltip.d.ts.map +1 -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/use-narrow.d.ts +6 -7
- package/dist/use-narrow.d.ts.map +1 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils.cjs +6 -7
- package/dist/utils.d.ts +13 -5
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +1 -9
- package/dist/vite.d.ts +3 -3
- package/dist/vite.d.ts.map +1 -0
- package/dist/white-label.d.ts +12 -12
- package/dist/white-label.d.ts.map +1 -0
- 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 +769 -66
- 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 +735 -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/pin-input.tsx +1 -1
- 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/skeleton.tsx +20 -168
- package/src/slider.tsx +2 -1
- 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 +3 -3
- 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/utils/cn.ts +3 -7
- package/src/utils.ts +12 -6
- package/src/youtube-pip-player.tsx +606 -0
- package/tokens.css +22 -0
- package/dist/accordion.d.cts +0 -41
- package/dist/alert.d.cts +0 -30
- package/dist/auth.d.cts +0 -80
- package/dist/avatar.d.cts +0 -25
- package/dist/badge.d.cts +0 -19
- package/dist/bank.d.cts +0 -83
- package/dist/button.d.cts +0 -51
- package/dist/checkbox.d.cts +0 -32
- package/dist/chrome.d.cts +0 -93
- package/dist/close-button.d.cts +0 -9
- package/dist/collapsible.d.cts +0 -24
- package/dist/color-mode.d.cts +0 -25
- package/dist/dialog.d.cts +0 -118
- package/dist/drawer.d.cts +0 -69
- package/dist/empty-state.d.cts +0 -13
- package/dist/expiration-selector.d.cts +0 -16
- package/dist/field.d.cts +0 -23
- package/dist/greeks-display.d.cts +0 -14
- package/dist/gui.d.cts +0 -2
- package/dist/heading.d.cts +0 -8
- package/dist/iam.d.cts +0 -65
- package/dist/icon-button.d.cts +0 -37
- package/dist/icons.d.cts +0 -1
- package/dist/identity.d.cts +0 -64
- package/dist/image.d.cts +0 -57
- package/dist/index.d.cts +0 -60
- package/dist/input-group.d.cts +0 -17
- package/dist/input.d.cts +0 -37
- package/dist/link.d.cts +0 -37
- package/dist/lux.config.d.cts +0 -981
- package/dist/menu.d.cts +0 -68
- package/dist/next.d.cts +0 -32
- package/dist/option-chain.d.cts +0 -37
- package/dist/option-position.d.cts +0 -29
- package/dist/pin-input.d.cts +0 -25
- package/dist/pnl-diagram.d.cts +0 -11
- package/dist/popover.d.cts +0 -73
- package/dist/progress-circle.d.cts +0 -47
- package/dist/progress.d.cts +0 -28
- package/dist/provider.d.cts +0 -25
- package/dist/radio.d.cts +0 -53
- package/dist/rating.d.cts +0 -14
- package/dist/select.d.cts +0 -161
- package/dist/separator.d.cts +0 -13
- package/dist/skeleton.d.cts +0 -76
- package/dist/slider.d.cts +0 -24
- package/dist/strategy-builder.d.cts +0 -26
- package/dist/switch.d.cts +0 -27
- package/dist/table.d.cts +0 -107
- package/dist/tabs.d.cts +0 -34
- package/dist/tag.d.cts +0 -21
- package/dist/textarea.d.cts +0 -13
- package/dist/toaster.d.cts +0 -28
- package/dist/tooltip.d.cts +0 -38
- package/dist/use-narrow.d.cts +0 -12
- package/dist/utils.d.cts +0 -5
- package/dist/vite.d.cts +0 -29
- package/dist/white-label.d.cts +0 -59
package/dist/menu.d.cts
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { Menu, Text, View } from '@hanzo/gui';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
interface Positioning {
|
|
5
|
-
readonly placement?: string;
|
|
6
|
-
readonly offset?: {
|
|
7
|
-
readonly mainAxis?: number;
|
|
8
|
-
readonly crossAxis?: number;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
interface MenuRootProps {
|
|
12
|
-
readonly children?: React.ReactNode;
|
|
13
|
-
readonly open?: boolean;
|
|
14
|
-
readonly defaultOpen?: boolean;
|
|
15
|
-
readonly onOpenChange?: (details: {
|
|
16
|
-
open: boolean;
|
|
17
|
-
}) => void;
|
|
18
|
-
readonly positioning?: Positioning;
|
|
19
|
-
readonly modal?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const MenuRoot: ({ children, open, defaultOpen, onOpenChange, positioning, modal, }: MenuRootProps) => React.ReactElement;
|
|
22
|
-
type MenuTriggerProps = React.ComponentProps<typeof Menu.Trigger>;
|
|
23
|
-
declare const MenuTrigger: ({ asChild, ...rest }: MenuTriggerProps) => React.ReactElement;
|
|
24
|
-
type MenuContentProps = React.ComponentProps<typeof Menu.Content> & {
|
|
25
|
-
readonly portalled?: boolean;
|
|
26
|
-
readonly minW?: string | number;
|
|
27
|
-
};
|
|
28
|
-
declare const MenuContent: ({ portalled, minW, children, ...rest }: MenuContentProps) => React.ReactElement;
|
|
29
|
-
type MenuItemProps = React.ComponentProps<typeof Menu.Item> & {
|
|
30
|
-
/** Informational identifier — the row's own name, not read by the engine. */
|
|
31
|
-
readonly value?: string;
|
|
32
|
-
};
|
|
33
|
-
declare const MenuItem: ({ children, value: _value, asChild, ...rest }: MenuItemProps) => React.ReactElement;
|
|
34
|
-
type MenuItemTextProps = React.ComponentProps<typeof Text>;
|
|
35
|
-
declare const MenuItemText: (props: MenuItemTextProps) => React.ReactElement;
|
|
36
|
-
type MenuItemCommandProps = React.ComponentProps<typeof Text>;
|
|
37
|
-
/** The keyboard shortcut on the trailing edge of a row. */
|
|
38
|
-
declare const MenuItemCommand: (props: MenuItemCommandProps) => React.ReactElement;
|
|
39
|
-
type MenuSeparatorProps = React.ComponentProps<typeof Menu.Separator>;
|
|
40
|
-
declare const MenuSeparator: (props: MenuSeparatorProps) => React.ReactElement;
|
|
41
|
-
type MenuItemGroupProps = React.ComponentProps<typeof Menu.Group> & {
|
|
42
|
-
readonly title?: string;
|
|
43
|
-
};
|
|
44
|
-
declare const MenuItemGroup: ({ title, children, ...rest }: MenuItemGroupProps) => React.ReactElement;
|
|
45
|
-
type MenuArrowProps = React.ComponentProps<typeof Menu.Arrow>;
|
|
46
|
-
declare const MenuArrow: (props: MenuArrowProps) => React.ReactElement;
|
|
47
|
-
type MenuCheckboxItemProps = React.ComponentProps<typeof Menu.CheckboxItem>;
|
|
48
|
-
declare const MenuCheckboxItem: ({ children, ...rest }: MenuCheckboxItemProps) => React.ReactElement;
|
|
49
|
-
type MenuRadioItemGroupProps = React.ComponentProps<typeof Menu.RadioGroup>;
|
|
50
|
-
declare const MenuRadioItemGroup: (props: MenuRadioItemGroupProps) => React.ReactElement;
|
|
51
|
-
type MenuRadioItemProps = React.ComponentProps<typeof Menu.RadioItem>;
|
|
52
|
-
declare const MenuRadioItem: ({ children, ...rest }: MenuRadioItemProps) => React.ReactElement;
|
|
53
|
-
type MenuContextTriggerProps = React.ComponentProps<typeof View> & {
|
|
54
|
-
readonly asChild?: boolean;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* A right-click target. This menu is a DROPDOWN — it opens from its trigger, not
|
|
58
|
-
* from a pointer position — so the wrapper passes its children through. gui does
|
|
59
|
-
* ship a real `ContextMenu`; a surface that wants one should reach for that
|
|
60
|
-
* rather than have this quietly behave like it.
|
|
61
|
-
*/
|
|
62
|
-
declare const MenuContextTrigger: ({ asChild: _asChild, ...rest }: MenuContextTriggerProps) => React.ReactElement;
|
|
63
|
-
type MenuTriggerItemProps = React.ComponentProps<typeof Menu.SubTrigger> & {
|
|
64
|
-
readonly startIcon?: React.ReactNode;
|
|
65
|
-
};
|
|
66
|
-
declare const MenuTriggerItem: ({ startIcon, children, ...rest }: MenuTriggerItemProps) => React.ReactElement;
|
|
67
|
-
|
|
68
|
-
export { MenuArrow, type MenuArrowProps, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, type MenuContentProps, MenuContextTrigger, type MenuContextTriggerProps, MenuItem, MenuItemCommand, type MenuItemCommandProps, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, MenuItemText, type MenuItemTextProps, MenuRadioItem, MenuRadioItemGroup, type MenuRadioItemGroupProps, type MenuRadioItemProps, MenuRoot, type MenuRootProps, MenuSeparator, type MenuSeparatorProps, MenuTrigger, MenuTriggerItem, type MenuTriggerItemProps, type MenuTriggerProps };
|
package/dist/next.d.cts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/** Every package `@hanzo/gui` re-exports — the engine, in full. */
|
|
2
|
-
declare const GUI_PACKAGES: ReadonlyArray<string>;
|
|
3
|
-
|
|
4
|
-
interface WebpackConfig {
|
|
5
|
-
resolve?: {
|
|
6
|
-
alias?: Record<string, unknown>;
|
|
7
|
-
};
|
|
8
|
-
plugins?: Array<unknown>;
|
|
9
|
-
[key: string]: unknown;
|
|
10
|
-
}
|
|
11
|
-
/** The structural slice of a Next config this wrapper touches. */
|
|
12
|
-
interface LuxUiNextConfig {
|
|
13
|
-
/** App root, for resolving the engine's single copy. Defaults to `cwd`. */
|
|
14
|
-
dir?: string;
|
|
15
|
-
transpilePackages?: Array<string>;
|
|
16
|
-
turbopack?: {
|
|
17
|
-
resolveAlias?: Record<string, string>;
|
|
18
|
-
[key: string]: unknown;
|
|
19
|
-
};
|
|
20
|
-
env?: Record<string, string>;
|
|
21
|
-
webpack?: (config: WebpackConfig, context: unknown) => WebpackConfig;
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Wrap a Next config so `@luxfi/ui` and the gui engine build.
|
|
26
|
-
*
|
|
27
|
-
* Additive: an existing `transpilePackages`, `turbopack.resolveAlias`,
|
|
28
|
-
* `env` and `webpack()` are all preserved and extended, never replaced.
|
|
29
|
-
*/
|
|
30
|
-
declare function withLuxUi(config?: LuxUiNextConfig): LuxUiNextConfig;
|
|
31
|
-
|
|
32
|
-
export { GUI_PACKAGES, type LuxUiNextConfig, withLuxUi };
|
package/dist/option-chain.d.cts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionQuote {
|
|
4
|
-
symbol: string;
|
|
5
|
-
bid: number;
|
|
6
|
-
ask: number;
|
|
7
|
-
last: number;
|
|
8
|
-
volume: number;
|
|
9
|
-
openInterest: number;
|
|
10
|
-
iv: number;
|
|
11
|
-
delta: number;
|
|
12
|
-
gamma: number;
|
|
13
|
-
theta: number;
|
|
14
|
-
vega: number;
|
|
15
|
-
}
|
|
16
|
-
interface OptionContract {
|
|
17
|
-
symbol: string;
|
|
18
|
-
type: 'call' | 'put';
|
|
19
|
-
strike: number;
|
|
20
|
-
bid: number;
|
|
21
|
-
ask: number;
|
|
22
|
-
}
|
|
23
|
-
interface Strike {
|
|
24
|
-
strike: number;
|
|
25
|
-
call: OptionQuote | null;
|
|
26
|
-
put: OptionQuote | null;
|
|
27
|
-
}
|
|
28
|
-
interface OptionChainProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
29
|
-
readonly symbol: string;
|
|
30
|
-
readonly expiration: string;
|
|
31
|
-
readonly strikes: Strike[];
|
|
32
|
-
readonly spotPrice: number;
|
|
33
|
-
readonly onSelectContract?: (contract: OptionContract) => void;
|
|
34
|
-
}
|
|
35
|
-
declare const OptionChain: React.ForwardRefExoticComponent<OptionChainProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
|
|
37
|
-
export { OptionChain, type OptionChainProps, type OptionContract, type OptionQuote, type Strike };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface OptionPosition {
|
|
4
|
-
symbol: string;
|
|
5
|
-
underlying: string;
|
|
6
|
-
type: 'call' | 'put';
|
|
7
|
-
strike: number;
|
|
8
|
-
expiration: string;
|
|
9
|
-
quantity: number;
|
|
10
|
-
avgCost: number;
|
|
11
|
-
currentValue: number;
|
|
12
|
-
pnl: number;
|
|
13
|
-
pnlPercent: number;
|
|
14
|
-
greeks: {
|
|
15
|
-
delta: number;
|
|
16
|
-
gamma: number;
|
|
17
|
-
theta: number;
|
|
18
|
-
vega: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
interface OptionPositionCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
22
|
-
readonly position: OptionPosition;
|
|
23
|
-
readonly onClose?: (position: OptionPosition) => void;
|
|
24
|
-
readonly onExercise?: (position: OptionPosition) => void;
|
|
25
|
-
readonly onRoll?: (position: OptionPosition) => void;
|
|
26
|
-
}
|
|
27
|
-
declare const OptionPositionCard: React.ForwardRefExoticComponent<OptionPositionCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
|
|
29
|
-
export { type OptionPosition, OptionPositionCard, type OptionPositionCardProps };
|
package/dist/pin-input.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface PinInputProps {
|
|
4
|
-
readonly rootRef?: React.Ref<HTMLDivElement>;
|
|
5
|
-
readonly count?: number;
|
|
6
|
-
readonly inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
7
|
-
readonly attached?: boolean;
|
|
8
|
-
readonly placeholder?: string;
|
|
9
|
-
readonly value?: Array<string>;
|
|
10
|
-
readonly onValueChange?: (details: {
|
|
11
|
-
value: Array<string>;
|
|
12
|
-
}) => void;
|
|
13
|
-
readonly onValueComplete?: (details: {
|
|
14
|
-
value: Array<string>;
|
|
15
|
-
}) => void;
|
|
16
|
-
readonly disabled?: boolean;
|
|
17
|
-
readonly invalid?: boolean;
|
|
18
|
-
readonly otp?: boolean;
|
|
19
|
-
readonly name?: string;
|
|
20
|
-
readonly bgColor?: string;
|
|
21
|
-
readonly className?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
24
|
-
|
|
25
|
-
export { PinInput, type PinInputProps };
|
package/dist/pnl-diagram.d.cts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StrategyLeg } from './strategy-builder.cjs';
|
|
3
|
-
|
|
4
|
-
interface PnlDiagramProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
readonly legs: StrategyLeg[];
|
|
6
|
-
readonly spotPrice: number;
|
|
7
|
-
readonly multiplier?: number;
|
|
8
|
-
}
|
|
9
|
-
declare const PnlDiagram: React.ForwardRefExoticComponent<PnlDiagramProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
|
|
11
|
-
export { PnlDiagram, type PnlDiagramProps, StrategyLeg };
|
package/dist/popover.d.cts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface Positioning {
|
|
4
|
-
readonly placement?: string;
|
|
5
|
-
readonly offset?: {
|
|
6
|
-
readonly mainAxis?: number;
|
|
7
|
-
readonly crossAxis?: number;
|
|
8
|
-
};
|
|
9
|
-
readonly overflowPadding?: number;
|
|
10
|
-
}
|
|
11
|
-
interface PopoverRootProps {
|
|
12
|
-
readonly children?: React.ReactNode;
|
|
13
|
-
readonly open?: boolean;
|
|
14
|
-
readonly defaultOpen?: boolean;
|
|
15
|
-
/** Chakra-style callback: receives `{ open: boolean }` */
|
|
16
|
-
readonly onOpenChange?: (details: {
|
|
17
|
-
open: boolean;
|
|
18
|
-
}) => void;
|
|
19
|
-
readonly positioning?: Positioning;
|
|
20
|
-
readonly lazyMount?: boolean;
|
|
21
|
-
readonly unmountOnExit?: boolean;
|
|
22
|
-
readonly autoFocus?: boolean;
|
|
23
|
-
readonly closeOnInteractOutside?: boolean;
|
|
24
|
-
readonly modal?: boolean;
|
|
25
|
-
}
|
|
26
|
-
declare const PopoverRoot: (props: PopoverRootProps) => React.ReactElement;
|
|
27
|
-
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
28
|
-
readonly asChild?: boolean;
|
|
29
|
-
}
|
|
30
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
31
|
-
interface PopoverContentProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
32
|
-
readonly portalled?: boolean;
|
|
33
|
-
readonly portalRef?: React.RefObject<HTMLElement>;
|
|
34
|
-
readonly w?: string | Record<string, string>;
|
|
35
|
-
readonly minW?: string;
|
|
36
|
-
readonly maxW?: string;
|
|
37
|
-
readonly paddingTop?: number | string;
|
|
38
|
-
}
|
|
39
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
-
interface PopoverArrowProps extends React.ComponentPropsWithoutRef<'svg'> {
|
|
41
|
-
}
|
|
42
|
-
declare const PopoverArrow: React.ForwardRefExoticComponent<PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface PopoverCloseTriggerProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
44
|
-
}
|
|
45
|
-
declare const PopoverCloseTrigger: React.ForwardRefExoticComponent<PopoverCloseTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
|
-
interface PopoverCloseTriggerWrapperProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
47
|
-
readonly disabled?: boolean;
|
|
48
|
-
}
|
|
49
|
-
declare const PopoverCloseTriggerWrapper: React.ForwardRefExoticComponent<PopoverCloseTriggerWrapperProps & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
interface PopoverBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
51
|
-
readonly display?: string;
|
|
52
|
-
readonly flexDir?: string;
|
|
53
|
-
readonly rowGap?: number | string;
|
|
54
|
-
readonly px?: number | string;
|
|
55
|
-
readonly py?: number | string;
|
|
56
|
-
readonly textStyle?: string;
|
|
57
|
-
readonly alignItems?: string;
|
|
58
|
-
}
|
|
59
|
-
declare const PopoverBody: React.ForwardRefExoticComponent<PopoverBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
-
interface PopoverHeaderProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
61
|
-
}
|
|
62
|
-
declare const PopoverHeader: React.ForwardRefExoticComponent<PopoverHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
-
interface PopoverFooterProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
64
|
-
}
|
|
65
|
-
declare const PopoverFooter: React.ForwardRefExoticComponent<PopoverFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
interface PopoverTitleProps extends React.ComponentPropsWithoutRef<'h3'> {
|
|
67
|
-
}
|
|
68
|
-
declare const PopoverTitle: React.ForwardRefExoticComponent<PopoverTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
69
|
-
interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<'p'> {
|
|
70
|
-
}
|
|
71
|
-
declare const PopoverDescription: React.ForwardRefExoticComponent<PopoverDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
72
|
-
|
|
73
|
-
export { PopoverArrow, type PopoverArrowProps, PopoverBody, type PopoverBodyProps, PopoverCloseTrigger, type PopoverCloseTriggerProps, PopoverCloseTriggerWrapper, type PopoverCloseTriggerWrapperProps, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, PopoverFooter, type PopoverFooterProps, PopoverHeader, type PopoverHeaderProps, PopoverRoot, type PopoverRootProps, PopoverTitle, type PopoverTitleProps, PopoverTrigger, type PopoverTriggerProps };
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE_MAP: {
|
|
4
|
-
readonly xs: {
|
|
5
|
-
readonly size: 24;
|
|
6
|
-
readonly thickness: 4;
|
|
7
|
-
readonly fontSize: 10;
|
|
8
|
-
};
|
|
9
|
-
readonly sm: {
|
|
10
|
-
readonly size: 32;
|
|
11
|
-
readonly thickness: 5;
|
|
12
|
-
readonly fontSize: 10;
|
|
13
|
-
};
|
|
14
|
-
readonly md: {
|
|
15
|
-
readonly size: 40;
|
|
16
|
-
readonly thickness: 6;
|
|
17
|
-
readonly fontSize: 12;
|
|
18
|
-
};
|
|
19
|
-
readonly lg: {
|
|
20
|
-
readonly size: 48;
|
|
21
|
-
readonly thickness: 7;
|
|
22
|
-
readonly fontSize: 14;
|
|
23
|
-
};
|
|
24
|
-
readonly xl: {
|
|
25
|
-
readonly size: 64;
|
|
26
|
-
readonly thickness: 8;
|
|
27
|
-
readonly fontSize: 14;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
type Size = keyof typeof SIZE_MAP;
|
|
31
|
-
interface ProgressCircleRootProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
|
|
32
|
-
readonly value?: number | null;
|
|
33
|
-
readonly size?: Size;
|
|
34
|
-
readonly colorPalette?: string;
|
|
35
|
-
}
|
|
36
|
-
declare const ProgressCircleRoot: React.ForwardRefExoticComponent<ProgressCircleRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
interface ProgressCircleRingProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'color'> {
|
|
38
|
-
readonly trackColor?: string;
|
|
39
|
-
readonly cap?: React.SVGAttributes<SVGCircleElement>['strokeLinecap'];
|
|
40
|
-
readonly color?: string;
|
|
41
|
-
}
|
|
42
|
-
declare const ProgressCircleRing: React.ForwardRefExoticComponent<ProgressCircleRingProps & React.RefAttributes<SVGSVGElement>>;
|
|
43
|
-
interface ProgressCircleValueTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
44
|
-
}
|
|
45
|
-
declare const ProgressCircleValueText: React.ForwardRefExoticComponent<ProgressCircleValueTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
|
|
47
|
-
export { ProgressCircleRing, type ProgressCircleRingProps, ProgressCircleRoot, type ProgressCircleRootProps, ProgressCircleValueText, type ProgressCircleValueTextProps };
|
package/dist/progress.d.cts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE: {
|
|
4
|
-
readonly sm: 4;
|
|
5
|
-
readonly md: 8;
|
|
6
|
-
readonly lg: 12;
|
|
7
|
-
readonly xl: 16;
|
|
8
|
-
};
|
|
9
|
-
type Size = keyof typeof SIZE;
|
|
10
|
-
interface TrackProps {
|
|
11
|
-
readonly borderStartRadius?: number | string;
|
|
12
|
-
readonly borderEndRadius?: number | string;
|
|
13
|
-
readonly className?: string;
|
|
14
|
-
readonly style?: React.CSSProperties;
|
|
15
|
-
}
|
|
16
|
-
interface ProgressProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
17
|
-
readonly value?: number | null;
|
|
18
|
-
readonly min?: number;
|
|
19
|
-
readonly max?: number;
|
|
20
|
-
readonly size?: Size;
|
|
21
|
-
readonly color?: string;
|
|
22
|
-
readonly trackProps?: TrackProps;
|
|
23
|
-
readonly w?: string;
|
|
24
|
-
readonly flex?: string | number;
|
|
25
|
-
}
|
|
26
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
|
|
28
|
-
export { Progress };
|
package/dist/provider.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { QueryClient } from '@tanstack/react-query';
|
|
2
|
-
export { QueryClient, useInfiniteQuery, useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { WhiteLabel } from './white-label.cjs';
|
|
5
|
-
|
|
6
|
-
/** The white-label identity for the host this page is being served under. */
|
|
7
|
-
declare const useWhiteLabel: () => WhiteLabel;
|
|
8
|
-
interface AppProviderProps {
|
|
9
|
-
children: React__default.ReactNode;
|
|
10
|
-
queryClient?: QueryClient;
|
|
11
|
-
/**
|
|
12
|
-
* Host header value, for server rendering. Omit in the browser and the host
|
|
13
|
-
* is read from `location`. Never bake a brand into a deployment — pass the
|
|
14
|
-
* request's host and the same image serves every org.
|
|
15
|
-
*/
|
|
16
|
-
host?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Escape hatch: pin the gui child-theme row (`dark_lux` | `dark_zoo` |
|
|
19
|
-
* `dark_hanzo` | `dark_pars`). Leave unset so the theme follows the host.
|
|
20
|
-
*/
|
|
21
|
-
defaultTheme?: string;
|
|
22
|
-
}
|
|
23
|
-
declare const AppProvider: ({ children, queryClient, host, defaultTheme, }: AppProviderProps) => React__default.ReactElement;
|
|
24
|
-
|
|
25
|
-
export { AppProvider, useWhiteLabel };
|
package/dist/radio.d.cts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
declare const SIZE: {
|
|
4
|
-
readonly xs: {
|
|
5
|
-
readonly rootGap: 6;
|
|
6
|
-
readonly control: 12;
|
|
7
|
-
readonly indicator: 6;
|
|
8
|
-
readonly label: 12;
|
|
9
|
-
};
|
|
10
|
-
readonly sm: {
|
|
11
|
-
readonly rootGap: 6;
|
|
12
|
-
readonly control: 14;
|
|
13
|
-
readonly indicator: 6;
|
|
14
|
-
readonly label: 12;
|
|
15
|
-
};
|
|
16
|
-
readonly md: {
|
|
17
|
-
readonly rootGap: 8;
|
|
18
|
-
readonly control: 16;
|
|
19
|
-
readonly indicator: 8;
|
|
20
|
-
readonly label: 14;
|
|
21
|
-
};
|
|
22
|
-
readonly lg: {
|
|
23
|
-
readonly rootGap: 10;
|
|
24
|
-
readonly control: 20;
|
|
25
|
-
readonly indicator: 10;
|
|
26
|
-
readonly label: 16;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type RadioSize = keyof typeof SIZE;
|
|
30
|
-
interface RadioGroupProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'dir'> {
|
|
31
|
-
name?: string;
|
|
32
|
-
required?: boolean;
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
readOnly?: boolean;
|
|
35
|
-
orientation?: 'horizontal' | 'vertical';
|
|
36
|
-
loop?: boolean;
|
|
37
|
-
defaultValue?: string;
|
|
38
|
-
value?: string | null;
|
|
39
|
-
onValueChange?: (details: {
|
|
40
|
-
value: string | null;
|
|
41
|
-
}) => void;
|
|
42
|
-
size?: RadioSize;
|
|
43
|
-
}
|
|
44
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
-
interface RadioProps extends Omit<React.ComponentPropsWithoutRef<'label'>, 'onChange'> {
|
|
46
|
-
rootRef?: React.Ref<HTMLLabelElement>;
|
|
47
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
48
|
-
value: string;
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
}
|
|
51
|
-
declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
|
|
52
|
-
|
|
53
|
-
export { Radio, RadioGroup, type RadioGroupProps, type RadioProps };
|
package/dist/rating.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'> {
|
|
4
|
-
count?: number;
|
|
5
|
-
label?: string | Array<string>;
|
|
6
|
-
defaultValue?: number;
|
|
7
|
-
onValueChange?: ({ value }: {
|
|
8
|
-
value: number;
|
|
9
|
-
}) => void;
|
|
10
|
-
readOnly?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
|
|
14
|
-
export { Rating, type RatingProps };
|
package/dist/select.d.cts
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import * as _hanzo_gui from '@hanzo/gui';
|
|
2
|
-
import { Select as Select$1 } from '@hanzo/gui';
|
|
3
|
-
import * as _hanzogui_web from '@hanzogui/web';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
|
|
6
|
-
interface ListCollection<T> {
|
|
7
|
-
items: Array<T>;
|
|
8
|
-
}
|
|
9
|
-
declare function createListCollection<T>(config: {
|
|
10
|
-
items: Array<T>;
|
|
11
|
-
}): ListCollection<T>;
|
|
12
|
-
type ViewMode = 'default' | 'compact';
|
|
13
|
-
interface SelectOption<Value extends string = string> {
|
|
14
|
-
label: string;
|
|
15
|
-
renderLabel?: (place: 'item' | 'value-text') => React.ReactNode;
|
|
16
|
-
value: Value;
|
|
17
|
-
icon?: React.ReactNode;
|
|
18
|
-
afterElement?: React.ReactNode;
|
|
19
|
-
}
|
|
20
|
-
interface SelectRootProps {
|
|
21
|
-
children?: React.ReactNode;
|
|
22
|
-
collection?: ListCollection<SelectOption>;
|
|
23
|
-
defaultValue?: Array<string>;
|
|
24
|
-
value?: Array<string>;
|
|
25
|
-
onValueChange?: (details: {
|
|
26
|
-
value: Array<string>;
|
|
27
|
-
items: Array<SelectOption>;
|
|
28
|
-
}) => void;
|
|
29
|
-
onInteractOutside?: () => void;
|
|
30
|
-
name?: string;
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
readOnly?: boolean;
|
|
33
|
-
required?: boolean;
|
|
34
|
-
invalid?: boolean;
|
|
35
|
-
size?: 'sm' | 'lg';
|
|
36
|
-
variant?: string;
|
|
37
|
-
open?: boolean;
|
|
38
|
-
defaultOpen?: boolean;
|
|
39
|
-
onOpenChange?: (open: boolean) => void;
|
|
40
|
-
positioning?: {
|
|
41
|
-
sameWidth?: boolean;
|
|
42
|
-
offset?: {
|
|
43
|
-
mainAxis?: number;
|
|
44
|
-
crossAxis?: number;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
lazyMount?: boolean;
|
|
48
|
-
unmountOnExit?: boolean;
|
|
49
|
-
asChild?: boolean;
|
|
50
|
-
className?: string;
|
|
51
|
-
style?: React.CSSProperties;
|
|
52
|
-
w?: string | Record<string, string>;
|
|
53
|
-
maxW?: string | Record<string, string>;
|
|
54
|
-
minW?: string | Record<string, string>;
|
|
55
|
-
hideFrom?: string;
|
|
56
|
-
}
|
|
57
|
-
declare const SelectRoot: React.ForwardRefExoticComponent<SelectRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
58
|
-
interface SelectControlProps {
|
|
59
|
-
children?: React.ReactNode;
|
|
60
|
-
noIndicator?: boolean;
|
|
61
|
-
triggerProps?: React.ComponentProps<typeof Select$1.Trigger> & {
|
|
62
|
-
asChild?: boolean;
|
|
63
|
-
px?: string | number;
|
|
64
|
-
className?: string;
|
|
65
|
-
};
|
|
66
|
-
loading?: boolean;
|
|
67
|
-
defaultValue?: Array<string>;
|
|
68
|
-
className?: string;
|
|
69
|
-
style?: React.CSSProperties;
|
|
70
|
-
}
|
|
71
|
-
declare const SelectControl: React.ForwardRefExoticComponent<SelectControlProps & React.RefAttributes<HTMLButtonElement>>;
|
|
72
|
-
interface SelectClearTriggerProps {
|
|
73
|
-
className?: string;
|
|
74
|
-
}
|
|
75
|
-
declare const SelectClearTrigger: React.ForwardRefExoticComponent<SelectClearTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
76
|
-
interface SelectContentProps {
|
|
77
|
-
children?: React.ReactNode;
|
|
78
|
-
portalled?: boolean;
|
|
79
|
-
portalRef?: React.RefObject<HTMLElement>;
|
|
80
|
-
className?: string;
|
|
81
|
-
style?: React.CSSProperties;
|
|
82
|
-
}
|
|
83
|
-
declare const SelectContent: React.ForwardRefExoticComponent<SelectContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
84
|
-
interface SelectItemProps {
|
|
85
|
-
item: SelectOption;
|
|
86
|
-
children?: React.ReactNode;
|
|
87
|
-
className?: string;
|
|
88
|
-
/**
|
|
89
|
-
* The row's position in the list. gui's Select is positional — it keeps its
|
|
90
|
-
* own map of index to value to drive type-ahead, the active descendant and
|
|
91
|
-
* scrolling, so a row without one is a row the keyboard cannot reach. It is
|
|
92
|
-
* stamped by `SelectContent` rather than asked of the caller, because the
|
|
93
|
-
* caller writing `<SelectItem item={x}/>` has no idea what its own ordinal is
|
|
94
|
-
* and would have to be told twice.
|
|
95
|
-
*/
|
|
96
|
-
index?: number;
|
|
97
|
-
}
|
|
98
|
-
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
99
|
-
interface SelectValueTextProps {
|
|
100
|
-
children?: (items: Array<SelectOption>) => React.ReactNode;
|
|
101
|
-
placeholder?: string;
|
|
102
|
-
size?: SelectRootProps['size'];
|
|
103
|
-
required?: boolean;
|
|
104
|
-
invalid?: boolean;
|
|
105
|
-
errorText?: string;
|
|
106
|
-
mode?: ViewMode;
|
|
107
|
-
className?: string;
|
|
108
|
-
style?: React.CSSProperties;
|
|
109
|
-
}
|
|
110
|
-
declare const SelectValueText: React.ForwardRefExoticComponent<SelectValueTextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
111
|
-
interface SelectItemGroupProps {
|
|
112
|
-
children?: React.ReactNode;
|
|
113
|
-
label: React.ReactNode;
|
|
114
|
-
className?: string;
|
|
115
|
-
}
|
|
116
|
-
declare const SelectItemGroup: React.ForwardRefExoticComponent<SelectItemGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
117
|
-
declare const SelectLabel: _hanzogui_web.GuiComponent<Omit<_hanzogui_web.GetFinalProps<_hanzogui_web.TextNonStyleProps, _hanzogui_web.TextStylePropsBase, {
|
|
118
|
-
size?: _hanzogui_web.SizeTokens | _hanzogui_web.FontSizeTokens | undefined;
|
|
119
|
-
unstyled?: boolean | undefined;
|
|
120
|
-
}>, "scope"> & {
|
|
121
|
-
scope?: any;
|
|
122
|
-
}, _hanzogui_web.GuiTextElement, _hanzogui_web.TextNonStyleProps & {
|
|
123
|
-
scope?: any;
|
|
124
|
-
}, _hanzogui_web.TextStylePropsBase, {
|
|
125
|
-
size?: _hanzogui_web.SizeTokens | _hanzogui_web.FontSizeTokens | undefined;
|
|
126
|
-
unstyled?: boolean | undefined;
|
|
127
|
-
}, _hanzogui_web.StaticConfigPublic>;
|
|
128
|
-
declare const SelectItemText: _hanzogui_web.GuiComponent<Omit<_hanzogui_web.GetFinalProps<_hanzogui_web.TextNonStyleProps, _hanzogui_web.TextStylePropsBase, {
|
|
129
|
-
size?: _hanzogui_web.FontSizeTokens | undefined;
|
|
130
|
-
unstyled?: boolean | undefined;
|
|
131
|
-
}>, "scope"> & {
|
|
132
|
-
scope?: _hanzo_gui.SelectScopes;
|
|
133
|
-
}, _hanzogui_web.GuiTextElement, _hanzogui_web.TextNonStyleProps & {
|
|
134
|
-
scope?: _hanzo_gui.SelectScopes;
|
|
135
|
-
}, _hanzogui_web.TextStylePropsBase, {
|
|
136
|
-
size?: _hanzogui_web.FontSizeTokens | undefined;
|
|
137
|
-
unstyled?: boolean | undefined;
|
|
138
|
-
}, _hanzogui_web.StaticConfigPublic>;
|
|
139
|
-
interface SelectProps extends SelectRootProps {
|
|
140
|
-
collection: ListCollection<SelectOption>;
|
|
141
|
-
placeholder: string;
|
|
142
|
-
portalled?: boolean;
|
|
143
|
-
loading?: boolean;
|
|
144
|
-
errorText?: string;
|
|
145
|
-
contentProps?: SelectContentProps;
|
|
146
|
-
contentHeader?: React.ReactNode;
|
|
147
|
-
itemFilter?: (item: SelectOption) => boolean;
|
|
148
|
-
mode?: ViewMode;
|
|
149
|
-
}
|
|
150
|
-
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
151
|
-
interface SelectAsyncProps extends Omit<SelectProps, 'collection'> {
|
|
152
|
-
placeholder: string;
|
|
153
|
-
portalled?: boolean;
|
|
154
|
-
loading?: boolean;
|
|
155
|
-
loadOptions: (input: string, currentValue: Array<string>) => Promise<ListCollection<SelectOption>>;
|
|
156
|
-
extraControls?: React.ReactNode;
|
|
157
|
-
mode?: ViewMode;
|
|
158
|
-
}
|
|
159
|
-
declare const SelectAsync: React.ForwardRefExoticComponent<SelectAsyncProps & React.RefAttributes<HTMLDivElement>>;
|
|
160
|
-
|
|
161
|
-
export { type ListCollection, Select, SelectAsync, type SelectAsyncProps, SelectClearTrigger, type SelectClearTriggerProps, SelectContent, type SelectContentProps, SelectControl, type SelectControlProps, SelectItem, SelectItemGroup, type SelectItemProps, SelectItemText, SelectLabel, type SelectOption, type SelectProps, SelectRoot, type SelectRootProps, SelectValueText, type ViewMode, createListCollection };
|
package/dist/separator.d.cts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
|
|
3
|
-
type Orientation = 'horizontal' | 'vertical';
|
|
4
|
-
type Variant = 'solid' | 'dashed' | 'dotted';
|
|
5
|
-
type Size = 'xs' | 'sm' | 'md' | 'lg';
|
|
6
|
-
interface SeparatorProps extends React__default.HTMLAttributes<HTMLHRElement> {
|
|
7
|
-
readonly orientation?: Orientation;
|
|
8
|
-
readonly variant?: Variant;
|
|
9
|
-
readonly size?: Size;
|
|
10
|
-
}
|
|
11
|
-
declare const Separator: React__default.ForwardRefExoticComponent<SeparatorProps & React__default.RefAttributes<HTMLHRElement>>;
|
|
12
|
-
|
|
13
|
-
export { Separator, type SeparatorProps };
|