@hanzo/ui 8.27.9 → 8.27.11
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/backends/gui/3d-card.cjs +100 -0
- package/dist/backends/gui/3d-card.d.ts +59 -0
- package/dist/backends/gui/3d-card.d.ts.map +1 -0
- package/dist/backends/gui/3d-card.js +92 -0
- package/dist/backends/gui/3d-card.js.map +1 -0
- package/dist/backends/gui/3d-marquee.cjs +225 -0
- package/dist/backends/gui/3d-marquee.d.ts +114 -0
- package/dist/backends/gui/3d-marquee.d.ts.map +1 -0
- package/dist/backends/gui/3d-marquee.js +190 -0
- package/dist/backends/gui/3d-marquee.js.map +1 -0
- package/dist/backends/gui/3d-pin.cjs +51 -0
- package/dist/backends/gui/3d-pin.d.ts +14 -0
- package/dist/backends/gui/3d-pin.d.ts.map +1 -0
- package/dist/backends/gui/3d-pin.js +49 -0
- package/dist/backends/gui/3d-pin.js.map +1 -0
- package/dist/backends/gui/advanced-chart.cjs +61 -0
- package/dist/backends/gui/advanced-chart.d.ts +38 -0
- package/dist/backends/gui/advanced-chart.d.ts.map +1 -0
- package/dist/backends/gui/advanced-chart.js +59 -0
- package/dist/backends/gui/advanced-chart.js.map +1 -0
- package/dist/backends/gui/alert.cjs +106 -0
- package/dist/backends/gui/alert.d.ts +39 -0
- package/dist/backends/gui/alert.d.ts.map +1 -0
- package/dist/backends/gui/alert.js +102 -0
- package/dist/backends/gui/alert.js.map +1 -0
- package/dist/backends/gui/android.cjs +52 -0
- package/dist/backends/gui/android.d.ts +16 -0
- package/dist/backends/gui/android.d.ts.map +1 -0
- package/dist/backends/gui/android.js +50 -0
- package/dist/backends/gui/android.js.map +1 -0
- package/dist/backends/gui/animated-beam.cjs +97 -0
- package/dist/backends/gui/animated-beam.d.ts +57 -0
- package/dist/backends/gui/animated-beam.d.ts.map +1 -0
- package/dist/backends/gui/animated-beam.js +62 -0
- package/dist/backends/gui/animated-beam.js.map +1 -0
- package/dist/backends/gui/animated-cursor.cjs +183 -0
- package/dist/backends/gui/animated-cursor.d.ts +42 -0
- package/dist/backends/gui/animated-cursor.d.ts.map +1 -0
- package/dist/backends/gui/animated-cursor.js +181 -0
- package/dist/backends/gui/animated-cursor.js.map +1 -0
- package/dist/backends/gui/animated-testimonials.cjs +109 -0
- package/dist/backends/gui/animated-testimonials.d.ts +23 -0
- package/dist/backends/gui/animated-testimonials.d.ts.map +1 -0
- package/dist/backends/gui/animated-testimonials.js +74 -0
- package/dist/backends/gui/animated-testimonials.js.map +1 -0
- package/dist/backends/gui/animated-tooltip.cjs +100 -0
- package/dist/backends/gui/animated-tooltip.d.ts +15 -0
- package/dist/backends/gui/animated-tooltip.d.ts.map +1 -0
- package/dist/backends/gui/animated-tooltip.js +65 -0
- package/dist/backends/gui/animated-tooltip.js.map +1 -0
- package/dist/backends/gui/announcement.cjs +54 -0
- package/dist/backends/gui/announcement.d.ts +26 -0
- package/dist/backends/gui/announcement.d.ts.map +1 -0
- package/dist/backends/gui/announcement.js +52 -0
- package/dist/backends/gui/announcement.js.map +1 -0
- package/dist/backends/gui/apple-cards-carousel.cjs +198 -0
- package/dist/backends/gui/apple-cards-carousel.d.ts +45 -0
- package/dist/backends/gui/apple-cards-carousel.d.ts.map +1 -0
- package/dist/backends/gui/apple-cards-carousel.js +162 -0
- package/dist/backends/gui/apple-cards-carousel.js.map +1 -0
- package/dist/backends/gui/apple-hello-effect.cjs +38 -0
- package/dist/backends/gui/apple-hello-effect.d.ts +9 -0
- package/dist/backends/gui/apple-hello-effect.d.ts.map +1 -0
- package/dist/backends/gui/apple-hello-effect.js +36 -0
- package/dist/backends/gui/apple-hello-effect.js.map +1 -0
- package/dist/backends/gui/banner.cjs +108 -0
- package/dist/backends/gui/banner.d.ts +33 -0
- package/dist/backends/gui/banner.d.ts.map +1 -0
- package/dist/backends/gui/banner.js +106 -0
- package/dist/backends/gui/banner.js.map +1 -0
- package/dist/backends/gui/calendar.cjs +152 -0
- package/dist/backends/gui/calendar.d.ts +41 -0
- package/dist/backends/gui/calendar.d.ts.map +1 -0
- package/dist/backends/gui/calendar.js +151 -0
- package/dist/backends/gui/calendar.js.map +1 -0
- package/dist/backends/gui/choicebox.cjs +50 -0
- package/dist/backends/gui/choicebox.d.ts +33 -0
- package/dist/backends/gui/choicebox.d.ts.map +1 -0
- package/dist/backends/gui/choicebox.js +49 -0
- package/dist/backends/gui/choicebox.js.map +1 -0
- package/dist/backends/gui/code-block.cjs +120 -0
- package/dist/backends/gui/code-block.d.ts +22 -0
- package/dist/backends/gui/code-block.d.ts.map +1 -0
- package/dist/backends/gui/code-block.js +118 -0
- package/dist/backends/gui/code-block.js.map +1 -0
- package/dist/backends/gui/code-editor.cjs +195 -0
- package/dist/backends/gui/code-editor.d.ts +43 -0
- package/dist/backends/gui/code-editor.d.ts.map +1 -0
- package/dist/backends/gui/code-editor.js +160 -0
- package/dist/backends/gui/code-editor.js.map +1 -0
- package/dist/backends/gui/code-tabs.cjs +21 -0
- package/dist/backends/gui/code-tabs.d.ts +22 -0
- package/dist/backends/gui/code-tabs.d.ts.map +1 -0
- package/dist/backends/gui/code-tabs.js +19 -0
- package/dist/backends/gui/code-tabs.js.map +1 -0
- package/dist/backends/gui/color-picker.cjs +141 -0
- package/dist/backends/gui/color-picker.d.ts +25 -0
- package/dist/backends/gui/color-picker.d.ts.map +1 -0
- package/dist/backends/gui/color-picker.js +139 -0
- package/dist/backends/gui/color-picker.js.map +1 -0
- package/dist/backends/gui/combobox.cjs +42 -0
- package/dist/backends/gui/combobox.d.ts +39 -0
- package/dist/backends/gui/combobox.d.ts.map +1 -0
- package/dist/backends/gui/combobox.js +40 -0
- package/dist/backends/gui/combobox.js.map +1 -0
- package/dist/backends/gui/company-profile.cjs +43 -0
- package/dist/backends/gui/company-profile.d.ts +33 -0
- package/dist/backends/gui/company-profile.d.ts.map +1 -0
- package/dist/backends/gui/company-profile.js +41 -0
- package/dist/backends/gui/company-profile.js.map +1 -0
- package/dist/backends/gui/comparison.cjs +39 -0
- package/dist/backends/gui/comparison.d.ts +15 -0
- package/dist/backends/gui/comparison.d.ts.map +1 -0
- package/dist/backends/gui/comparison.js +37 -0
- package/dist/backends/gui/comparison.js.map +1 -0
- package/dist/backends/gui/credit-card.cjs +80 -0
- package/dist/backends/gui/credit-card.d.ts +21 -0
- package/dist/backends/gui/credit-card.d.ts.map +1 -0
- package/dist/backends/gui/credit-card.js +78 -0
- package/dist/backends/gui/credit-card.js.map +1 -0
- package/dist/backends/gui/crypto-market.cjs +128 -0
- package/dist/backends/gui/crypto-market.d.ts +52 -0
- package/dist/backends/gui/crypto-market.d.ts.map +1 -0
- package/dist/backends/gui/crypto-market.js +126 -0
- package/dist/backends/gui/crypto-market.js.map +1 -0
- package/dist/backends/gui/crypto-screener.cjs +45 -0
- package/dist/backends/gui/crypto-screener.d.ts +38 -0
- package/dist/backends/gui/crypto-screener.d.ts.map +1 -0
- package/dist/backends/gui/crypto-screener.js +43 -0
- package/dist/backends/gui/crypto-screener.js.map +1 -0
- package/dist/backends/gui/cursor.cjs +37 -0
- package/dist/backends/gui/cursor.d.ts +17 -0
- package/dist/backends/gui/cursor.d.ts.map +1 -0
- package/dist/backends/gui/cursor.js +35 -0
- package/dist/backends/gui/cursor.js.map +1 -0
- package/dist/backends/gui/data-table.cjs +171 -0
- package/dist/backends/gui/data-table.d.ts +91 -0
- package/dist/backends/gui/data-table.d.ts.map +1 -0
- package/dist/backends/gui/data-table.js +169 -0
- package/dist/backends/gui/data-table.js.map +1 -0
- package/dist/backends/gui/date-picker.cjs +66 -0
- package/dist/backends/gui/date-picker.d.ts +29 -0
- package/dist/backends/gui/date-picker.d.ts.map +1 -0
- package/dist/backends/gui/date-picker.js +64 -0
- package/dist/backends/gui/date-picker.js.map +1 -0
- package/dist/backends/gui/desktop-spotlight.cjs +46 -0
- package/dist/backends/gui/desktop-spotlight.d.ts +34 -0
- package/dist/backends/gui/desktop-spotlight.d.ts.map +1 -0
- package/dist/backends/gui/desktop-spotlight.js +44 -0
- package/dist/backends/gui/desktop-spotlight.js.map +1 -0
- package/dist/backends/gui/desktop-window.cjs +180 -0
- package/dist/backends/gui/desktop-window.d.ts +51 -0
- package/dist/backends/gui/desktop-window.d.ts.map +1 -0
- package/dist/backends/gui/desktop-window.js +177 -0
- package/dist/backends/gui/desktop-window.js.map +1 -0
- package/dist/backends/gui/desktop.cjs +238 -0
- package/dist/backends/gui/desktop.d.ts +109 -0
- package/dist/backends/gui/desktop.d.ts.map +1 -0
- package/dist/backends/gui/desktop.js +199 -0
- package/dist/backends/gui/desktop.js.map +1 -0
- package/dist/backends/gui/dialog-stack.cjs +26 -0
- package/dist/backends/gui/dialog-stack.d.ts +23 -0
- package/dist/backends/gui/dialog-stack.d.ts.map +1 -0
- package/dist/backends/gui/dialog-stack.js +24 -0
- package/dist/backends/gui/dialog-stack.js.map +1 -0
- package/dist/backends/gui/dock.cjs +99 -0
- package/dist/backends/gui/dock.d.ts +41 -0
- package/dist/backends/gui/dock.d.ts.map +1 -0
- package/dist/backends/gui/dock.js +96 -0
- package/dist/backends/gui/dock.js.map +1 -0
- package/dist/backends/gui/dropzone.cjs +142 -0
- package/dist/backends/gui/dropzone.d.ts +12 -0
- package/dist/backends/gui/dropzone.d.ts.map +1 -0
- package/dist/backends/gui/dropzone.js +140 -0
- package/dist/backends/gui/dropzone.js.map +1 -0
- package/dist/backends/gui/editor.cjs +84 -0
- package/dist/backends/gui/editor.d.ts +23 -0
- package/dist/backends/gui/editor.d.ts.map +1 -0
- package/dist/backends/gui/editor.js +49 -0
- package/dist/backends/gui/editor.js.map +1 -0
- package/dist/backends/gui/empty.cjs +71 -0
- package/dist/backends/gui/empty.d.ts +43 -0
- package/dist/backends/gui/empty.d.ts.map +1 -0
- package/dist/backends/gui/empty.js +63 -0
- package/dist/backends/gui/empty.js.map +1 -0
- package/dist/backends/gui/field.cjs +132 -0
- package/dist/backends/gui/field.d.ts +74 -0
- package/dist/backends/gui/field.d.ts.map +1 -0
- package/dist/backends/gui/field.js +121 -0
- package/dist/backends/gui/field.js.map +1 -0
- package/dist/backends/gui/financials.cjs +45 -0
- package/dist/backends/gui/financials.d.ts +36 -0
- package/dist/backends/gui/financials.d.ts.map +1 -0
- package/dist/backends/gui/financials.js +43 -0
- package/dist/backends/gui/financials.js.map +1 -0
- package/dist/backends/gui/forex-market.cjs +21 -0
- package/dist/backends/gui/forex-market.d.ts +17 -0
- package/dist/backends/gui/forex-market.d.ts.map +1 -0
- package/dist/backends/gui/forex-market.js +19 -0
- package/dist/backends/gui/forex-market.js.map +1 -0
- package/dist/backends/gui/forex-screener.cjs +57 -0
- package/dist/backends/gui/forex-screener.d.ts +45 -0
- package/dist/backends/gui/forex-screener.d.ts.map +1 -0
- package/dist/backends/gui/forex-screener.js +55 -0
- package/dist/backends/gui/forex-screener.js.map +1 -0
- package/dist/backends/gui/gantt.cjs +48 -0
- package/dist/backends/gui/gantt.d.ts +18 -0
- package/dist/backends/gui/gantt.d.ts.map +1 -0
- package/dist/backends/gui/gantt.js +46 -0
- package/dist/backends/gui/gantt.js.map +1 -0
- package/dist/backends/gui/glimpse.cjs +88 -0
- package/dist/backends/gui/glimpse.d.ts +57 -0
- package/dist/backends/gui/glimpse.d.ts.map +1 -0
- package/dist/backends/gui/glimpse.js +81 -0
- package/dist/backends/gui/glimpse.js.map +1 -0
- package/dist/backends/gui/grid-pattern.cjs +119 -0
- package/dist/backends/gui/grid-pattern.d.ts +96 -0
- package/dist/backends/gui/grid-pattern.d.ts.map +1 -0
- package/dist/backends/gui/grid-pattern.js +84 -0
- package/dist/backends/gui/grid-pattern.js.map +1 -0
- package/dist/backends/gui/image-crop.cjs +35 -0
- package/dist/backends/gui/image-crop.d.ts +20 -0
- package/dist/backends/gui/image-crop.d.ts.map +1 -0
- package/dist/backends/gui/image-crop.js +33 -0
- package/dist/backends/gui/image-crop.js.map +1 -0
- package/dist/backends/gui/image-zoom.cjs +58 -0
- package/dist/backends/gui/image-zoom.d.ts +16 -0
- package/dist/backends/gui/image-zoom.d.ts.map +1 -0
- package/dist/backends/gui/image-zoom.js +56 -0
- package/dist/backends/gui/image-zoom.js.map +1 -0
- package/dist/backends/gui/index.cjs +266 -1
- package/dist/backends/gui/index.d.ts +90 -0
- package/dist/backends/gui/index.d.ts.map +1 -1
- package/dist/backends/gui/index.js +90 -0
- package/dist/backends/gui/index.js.map +1 -1
- package/dist/backends/gui/interactive-grid-pattern.cjs +61 -0
- package/dist/backends/gui/interactive-grid-pattern.d.ts +28 -0
- package/dist/backends/gui/interactive-grid-pattern.d.ts.map +1 -0
- package/dist/backends/gui/interactive-grid-pattern.js +26 -0
- package/dist/backends/gui/interactive-grid-pattern.js.map +1 -0
- package/dist/backends/gui/iphone-15-pro.cjs +83 -0
- package/dist/backends/gui/iphone-15-pro.d.ts +16 -0
- package/dist/backends/gui/iphone-15-pro.d.ts.map +1 -0
- package/dist/backends/gui/iphone-15-pro.js +81 -0
- package/dist/backends/gui/iphone-15-pro.js.map +1 -0
- package/dist/backends/gui/item.cjs +154 -0
- package/dist/backends/gui/item.d.ts +72 -0
- package/dist/backends/gui/item.d.ts.map +1 -0
- package/dist/backends/gui/item.js +143 -0
- package/dist/backends/gui/item.js.map +1 -0
- package/dist/backends/gui/kanban.cjs +247 -0
- package/dist/backends/gui/kanban.d.ts +37 -0
- package/dist/backends/gui/kanban.d.ts.map +1 -0
- package/dist/backends/gui/kanban.js +212 -0
- package/dist/backends/gui/kanban.js.map +1 -0
- package/dist/backends/gui/kbd.cjs +45 -0
- package/dist/backends/gui/kbd.d.ts +8 -0
- package/dist/backends/gui/kbd.d.ts.map +1 -0
- package/dist/backends/gui/kbd.js +42 -0
- package/dist/backends/gui/kbd.js.map +1 -0
- package/dist/backends/gui/limelight-nav.cjs +201 -0
- package/dist/backends/gui/limelight-nav.d.ts +20 -0
- package/dist/backends/gui/limelight-nav.d.ts.map +1 -0
- package/dist/backends/gui/limelight-nav.js +166 -0
- package/dist/backends/gui/limelight-nav.js.map +1 -0
- package/dist/backends/gui/list.cjs +26 -0
- package/dist/backends/gui/list.d.ts +15 -0
- package/dist/backends/gui/list.d.ts.map +1 -0
- package/dist/backends/gui/list.js +23 -0
- package/dist/backends/gui/list.js.map +1 -0
- package/dist/backends/gui/macos-dock.cjs +84 -0
- package/dist/backends/gui/macos-dock.d.ts +30 -0
- package/dist/backends/gui/macos-dock.d.ts.map +1 -0
- package/dist/backends/gui/macos-dock.js +82 -0
- package/dist/backends/gui/macos-dock.js.map +1 -0
- package/dist/backends/gui/magnetic.cjs +40 -0
- package/dist/backends/gui/magnetic.d.ts +12 -0
- package/dist/backends/gui/magnetic.d.ts.map +1 -0
- package/dist/backends/gui/magnetic.js +38 -0
- package/dist/backends/gui/magnetic.js.map +1 -0
- package/dist/backends/gui/marquee.cjs +110 -0
- package/dist/backends/gui/marquee.d.ts +44 -0
- package/dist/backends/gui/marquee.d.ts.map +1 -0
- package/dist/backends/gui/marquee.js +75 -0
- package/dist/backends/gui/marquee.js.map +1 -0
- package/dist/backends/gui/menu-dock.cjs +64 -0
- package/dist/backends/gui/menu-dock.d.ts +21 -0
- package/dist/backends/gui/menu-dock.d.ts.map +1 -0
- package/dist/backends/gui/menu-dock.js +62 -0
- package/dist/backends/gui/menu-dock.js.map +1 -0
- package/dist/backends/gui/menubar.cjs +227 -0
- package/dist/backends/gui/menubar.d.ts +106 -0
- package/dist/backends/gui/menubar.d.ts.map +1 -0
- package/dist/backends/gui/menubar.js +177 -0
- package/dist/backends/gui/menubar.js.map +1 -0
- package/dist/backends/gui/message-dock.cjs +111 -0
- package/dist/backends/gui/message-dock.d.ts +22 -0
- package/dist/backends/gui/message-dock.d.ts.map +1 -0
- package/dist/backends/gui/message-dock.js +110 -0
- package/dist/backends/gui/message-dock.js.map +1 -0
- package/dist/backends/gui/mini-calendar.cjs +25 -0
- package/dist/backends/gui/mini-calendar.d.ts +22 -0
- package/dist/backends/gui/mini-calendar.d.ts.map +1 -0
- package/dist/backends/gui/mini-calendar.js +24 -0
- package/dist/backends/gui/mini-calendar.js.map +1 -0
- package/dist/backends/gui/minimal-tiptap.cjs +56 -0
- package/dist/backends/gui/minimal-tiptap.d.ts +20 -0
- package/dist/backends/gui/minimal-tiptap.d.ts.map +1 -0
- package/dist/backends/gui/minimal-tiptap.js +21 -0
- package/dist/backends/gui/minimal-tiptap.js.map +1 -0
- package/dist/backends/gui/motion-highlight.cjs +83 -0
- package/dist/backends/gui/motion-highlight.d.ts +27 -0
- package/dist/backends/gui/motion-highlight.d.ts.map +1 -0
- package/dist/backends/gui/motion-highlight.js +48 -0
- package/dist/backends/gui/motion-highlight.js.map +1 -0
- package/dist/backends/gui/navigation-bar.cjs +47 -0
- package/dist/backends/gui/navigation-bar.d.ts +48 -0
- package/dist/backends/gui/navigation-bar.d.ts.map +1 -0
- package/dist/backends/gui/navigation-bar.js +45 -0
- package/dist/backends/gui/navigation-bar.js.map +1 -0
- package/dist/backends/gui/news-timeline.cjs +47 -0
- package/dist/backends/gui/news-timeline.d.ts +39 -0
- package/dist/backends/gui/news-timeline.d.ts.map +1 -0
- package/dist/backends/gui/news-timeline.js +45 -0
- package/dist/backends/gui/news-timeline.js.map +1 -0
- package/dist/backends/gui/order-entry.cjs +53 -0
- package/dist/backends/gui/order-entry.d.ts +21 -0
- package/dist/backends/gui/order-entry.d.ts.map +1 -0
- package/dist/backends/gui/order-entry.js +52 -0
- package/dist/backends/gui/order-entry.js.map +1 -0
- package/dist/backends/gui/orders-history.cjs +102 -0
- package/dist/backends/gui/orders-history.d.ts +24 -0
- package/dist/backends/gui/orders-history.d.ts.map +1 -0
- package/dist/backends/gui/orders-history.js +67 -0
- package/dist/backends/gui/orders-history.js.map +1 -0
- package/dist/backends/gui/pagination.cjs +51 -0
- package/dist/backends/gui/pagination.d.ts +52 -0
- package/dist/backends/gui/pagination.d.ts.map +1 -0
- package/dist/backends/gui/pagination.js +42 -0
- package/dist/backends/gui/pagination.js.map +1 -0
- package/dist/backends/gui/particles-background.cjs +135 -0
- package/dist/backends/gui/particles-background.d.ts +24 -0
- package/dist/backends/gui/particles-background.d.ts.map +1 -0
- package/dist/backends/gui/particles-background.js +133 -0
- package/dist/backends/gui/particles-background.js.map +1 -0
- package/dist/backends/gui/particles.cjs +145 -0
- package/dist/backends/gui/particles.d.ts +25 -0
- package/dist/backends/gui/particles.d.ts.map +1 -0
- package/dist/backends/gui/particles.js +143 -0
- package/dist/backends/gui/particles.js.map +1 -0
- package/dist/backends/gui/pill.cjs +82 -0
- package/dist/backends/gui/pill.d.ts +12 -0
- package/dist/backends/gui/pill.d.ts.map +1 -0
- package/dist/backends/gui/pill.js +78 -0
- package/dist/backends/gui/pill.js.map +1 -0
- package/dist/backends/gui/pin-list.cjs +82 -0
- package/dist/backends/gui/pin-list.d.ts +42 -0
- package/dist/backends/gui/pin-list.d.ts.map +1 -0
- package/dist/backends/gui/pin-list.js +80 -0
- package/dist/backends/gui/pin-list.js.map +1 -0
- package/dist/backends/gui/pixel-image.cjs +63 -0
- package/dist/backends/gui/pixel-image.d.ts +21 -0
- package/dist/backends/gui/pixel-image.d.ts.map +1 -0
- package/dist/backends/gui/pixel-image.js +61 -0
- package/dist/backends/gui/pixel-image.js.map +1 -0
- package/dist/backends/gui/positions-list.cjs +60 -0
- package/dist/backends/gui/positions-list.d.ts +14 -0
- package/dist/backends/gui/positions-list.d.ts.map +1 -0
- package/dist/backends/gui/positions-list.js +58 -0
- package/dist/backends/gui/positions-list.js.map +1 -0
- package/dist/backends/gui/qr-code.cjs +438 -0
- package/dist/backends/gui/qr-code.d.ts +42 -0
- package/dist/backends/gui/qr-code.d.ts.map +1 -0
- package/dist/backends/gui/qr-code.js +402 -0
- package/dist/backends/gui/qr-code.js.map +1 -0
- package/dist/backends/gui/relative-time.cjs +167 -0
- package/dist/backends/gui/relative-time.d.ts +10 -0
- package/dist/backends/gui/relative-time.d.ts.map +1 -0
- package/dist/backends/gui/relative-time.js +132 -0
- package/dist/backends/gui/relative-time.js.map +1 -0
- package/dist/backends/gui/safari.cjs +65 -0
- package/dist/backends/gui/safari.d.ts +23 -0
- package/dist/backends/gui/safari.d.ts.map +1 -0
- package/dist/backends/gui/safari.js +63 -0
- package/dist/backends/gui/safari.js.map +1 -0
- package/dist/backends/gui/snippet.cjs +144 -0
- package/dist/backends/gui/snippet.d.ts +38 -0
- package/dist/backends/gui/snippet.d.ts.map +1 -0
- package/dist/backends/gui/snippet.js +141 -0
- package/dist/backends/gui/snippet.js.map +1 -0
- package/dist/backends/gui/stars-scrolling-wheel.cjs +106 -0
- package/dist/backends/gui/stars-scrolling-wheel.d.ts +24 -0
- package/dist/backends/gui/stars-scrolling-wheel.d.ts.map +1 -0
- package/dist/backends/gui/stars-scrolling-wheel.js +104 -0
- package/dist/backends/gui/stars-scrolling-wheel.js.map +1 -0
- package/dist/backends/gui/status.cjs +79 -0
- package/dist/backends/gui/status.d.ts +15 -0
- package/dist/backends/gui/status.d.ts.map +1 -0
- package/dist/backends/gui/status.js +77 -0
- package/dist/backends/gui/status.js.map +1 -0
- package/dist/backends/gui/stock-market.cjs +21 -0
- package/dist/backends/gui/stock-market.d.ts +17 -0
- package/dist/backends/gui/stock-market.d.ts.map +1 -0
- package/dist/backends/gui/stock-market.js +19 -0
- package/dist/backends/gui/stock-market.js.map +1 -0
- package/dist/backends/gui/stock-screener.cjs +55 -0
- package/dist/backends/gui/stock-screener.d.ts +41 -0
- package/dist/backends/gui/stock-screener.d.ts.map +1 -0
- package/dist/backends/gui/stock-screener.js +53 -0
- package/dist/backends/gui/stock-screener.js.map +1 -0
- package/dist/backends/gui/symbol-info.cjs +46 -0
- package/dist/backends/gui/symbol-info.d.ts +36 -0
- package/dist/backends/gui/symbol-info.d.ts.map +1 -0
- package/dist/backends/gui/symbol-info.js +44 -0
- package/dist/backends/gui/symbol-info.js.map +1 -0
- package/dist/backends/gui/table.cjs +104 -0
- package/dist/backends/gui/table.d.ts +57 -0
- package/dist/backends/gui/table.d.ts.map +1 -0
- package/dist/backends/gui/table.js +95 -0
- package/dist/backends/gui/table.js.map +1 -0
- package/dist/backends/gui/tags.cjs +22 -0
- package/dist/backends/gui/tags.d.ts +22 -0
- package/dist/backends/gui/tags.d.ts.map +1 -0
- package/dist/backends/gui/tags.js +20 -0
- package/dist/backends/gui/tags.js.map +1 -0
- package/dist/backends/gui/technical-analysis.cjs +58 -0
- package/dist/backends/gui/technical-analysis.d.ts +41 -0
- package/dist/backends/gui/technical-analysis.d.ts.map +1 -0
- package/dist/backends/gui/technical-analysis.js +56 -0
- package/dist/backends/gui/technical-analysis.js.map +1 -0
- package/dist/backends/gui/terminal.cjs +266 -0
- package/dist/backends/gui/terminal.d.ts +38 -0
- package/dist/backends/gui/terminal.d.ts.map +1 -0
- package/dist/backends/gui/terminal.js +231 -0
- package/dist/backends/gui/terminal.js.map +1 -0
- package/dist/backends/gui/ticker.cjs +79 -0
- package/dist/backends/gui/ticker.d.ts +19 -0
- package/dist/backends/gui/ticker.d.ts.map +1 -0
- package/dist/backends/gui/ticker.js +44 -0
- package/dist/backends/gui/ticker.js.map +1 -0
- package/dist/backends/gui/timeline.cjs +154 -0
- package/dist/backends/gui/timeline.d.ts +42 -0
- package/dist/backends/gui/timeline.d.ts.map +1 -0
- package/dist/backends/gui/timeline.js +118 -0
- package/dist/backends/gui/timeline.js.map +1 -0
- package/dist/backends/gui/toggle.cjs +96 -0
- package/dist/backends/gui/toggle.d.ts +29 -0
- package/dist/backends/gui/toggle.d.ts.map +1 -0
- package/dist/backends/gui/toggle.js +95 -0
- package/dist/backends/gui/toggle.js.map +1 -0
- package/dist/backends/gui/video-player.cjs +383 -0
- package/dist/backends/gui/video-player.d.ts +54 -0
- package/dist/backends/gui/video-player.d.ts.map +1 -0
- package/dist/backends/gui/video-player.js +348 -0
- package/dist/backends/gui/video-player.js.map +1 -0
- package/dist/chat/Composer.cjs +10 -10
- package/dist/chat/Composer.d.ts +16 -17
- package/dist/chat/Composer.d.ts.map +1 -1
- package/dist/chat/Composer.js +11 -11
- package/dist/chat/Composer.js.map +1 -1
- package/dist/gallery.cjs +180 -1
- package/dist/gallery.d.ts.map +1 -1
- package/dist/gallery.html +391 -3
- package/dist/gallery.js +181 -2
- package/dist/gallery.js.map +1 -1
- package/dist/index.cjs +179 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.node.cjs +179 -1
- package/dist/index.node.js +3 -0
- package/dist/styles.css +356 -0
- package/package.json +1 -1
package/dist/gallery.cjs
CHANGED
|
@@ -16,6 +16,14 @@ const chat_1 = require("./chat/index.cjs");
|
|
|
16
16
|
const gui_2 = require("./backends/gui/index.cjs");
|
|
17
17
|
// Off the barrel — web-only, so it is imported the way a consumer imports it.
|
|
18
18
|
const grid_1 = require("./grid.cjs");
|
|
19
|
+
// The gui-backed surface ported onto @hanzo/ui, in the barrel's order. Every
|
|
20
|
+
// export from here down in `./backends/gui/index.ts` needs a render below —
|
|
21
|
+
// see the docblock above.
|
|
22
|
+
const gui_3 = require("./backends/gui/index.cjs");
|
|
23
|
+
const gui_4 = require("./backends/gui/index.cjs");
|
|
24
|
+
const gui_5 = require("./backends/gui/index.cjs");
|
|
25
|
+
const gui_6 = require("./backends/gui/index.cjs");
|
|
26
|
+
const gui_7 = require("./backends/gui/index.cjs");
|
|
19
27
|
/** A real <img> with real intrinsic pixels, inline so nothing hits the network.
|
|
20
28
|
* 120x40 on purpose: the wrong ratio for every box it goes in, so a frame that
|
|
21
29
|
* fails to cover-fit its child is visible rather than merely untested. */
|
|
@@ -30,6 +38,170 @@ const BUTTON_VARIANTS = [
|
|
|
30
38
|
];
|
|
31
39
|
const BUTTON_SIZES = ['default', 'sm', 'lg', 'icon', 'icon-sm', 'icon-lg'];
|
|
32
40
|
const BADGE_VARIANTS = ['default', 'secondary', 'destructive', 'outline'];
|
|
41
|
+
const ANDROID_SIZES = ['sm', 'default', 'lg', 'xl'];
|
|
42
|
+
const ALERT_VARIANTS = ['default', 'destructive'];
|
|
43
|
+
const BANNER_VARIANTS = ['default', 'info', 'success', 'warning', 'error'];
|
|
44
|
+
const MARQUEE_VARIANTS = ['default', 'neon', 'rainbow', 'metallic', 'fire', 'glass'];
|
|
45
|
+
const MARQUEE_SIZES = ['sm', 'default', 'lg', 'xl', '2xl', '3xl'];
|
|
46
|
+
const MARQUEE_DIRECTIONS = ['left', 'right', 'up', 'down'];
|
|
47
|
+
const TESTIMONIALS = [
|
|
48
|
+
{ id: 't1', content: 'This shipped our redesign in a week.', author: 'A. Ryder', role: 'Design lead', company: 'Acme', avatar: SWATCH },
|
|
49
|
+
{ id: 't2', content: 'No surprises in production.', author: 'J. Okafor' },
|
|
50
|
+
];
|
|
51
|
+
const CAROUSEL_CARDS = [
|
|
52
|
+
{ id: 'c1', title: 'Ship faster', subtitle: 'One stack', image: SWATCH },
|
|
53
|
+
{ id: 'c2', title: 'Stay consistent', gradient: gui_3.gradientPresets.ocean },
|
|
54
|
+
{ id: 'c3', title: 'Scale calmly', gradient: gui_3.gradientPresets.forest },
|
|
55
|
+
];
|
|
56
|
+
const CHOICEBOX_OPTIONS = [
|
|
57
|
+
{ value: 'a', label: 'Starter', description: 'For a single project' },
|
|
58
|
+
{ value: 'b', label: 'Team', description: 'For a growing team' },
|
|
59
|
+
{ value: 'c', label: 'Enterprise' },
|
|
60
|
+
];
|
|
61
|
+
const ORDERS = [
|
|
62
|
+
{ id: 'o1', symbol: 'NASDAQ:AAPL', type: 'buy', shares: 100, price: 175.5, status: 'open', timestamp: Date.parse('2024-06-03T14:22:00Z'), orderType: 'limit' },
|
|
63
|
+
{ id: 'o2', symbol: 'NASDAQ:MSFT', type: 'sell', shares: 25, price: 415.2, status: 'filled', timestamp: Date.parse('2024-06-03T13:05:00Z') },
|
|
64
|
+
{ id: 'o3', symbol: 'NASDAQ:TSLA', type: 'buy', shares: 10, price: 0, status: 'pending', timestamp: Date.parse('2024-06-03T12:40:00Z'), orderType: 'market' },
|
|
65
|
+
{ id: 'o4', symbol: 'NASDAQ:GOOG', type: 'sell', shares: 5, price: 140.1, status: 'cancelled', timestamp: Date.parse('2024-06-02T09:15:00Z') },
|
|
66
|
+
];
|
|
67
|
+
const POSITIONS = [
|
|
68
|
+
{ symbol: 'NASDAQ:AAPL', shares: 100, avgPrice: 150.0, currentPrice: 175.5 },
|
|
69
|
+
{ symbol: 'NASDAQ:MSFT', shares: 25, avgPrice: 420.0, currentPrice: 415.2 },
|
|
70
|
+
];
|
|
71
|
+
const PILL_VARIANTS = ['default', 'secondary', 'outline', 'success', 'warning', 'error'];
|
|
72
|
+
const PIN_ITEMS = [
|
|
73
|
+
{ id: 'quasar', label: 'Quasar', description: 'Consensus engine' },
|
|
74
|
+
{ id: 'pulsar', label: 'Pulsar', description: 'Threshold signatures' },
|
|
75
|
+
{ id: 'prism', label: 'Prism', description: 'State sync' },
|
|
76
|
+
];
|
|
77
|
+
const WHEEL_SIZES = ['sm', 'default', 'lg'];
|
|
78
|
+
const CODE_BLOCK_THEMES = [
|
|
79
|
+
'dark', 'light', 'github', 'github-dark', 'vs-dark', 'monokai', 'dracula', 'nord',
|
|
80
|
+
];
|
|
81
|
+
const CODE_BLOCK_SIZES = ['sm', 'default', 'lg'];
|
|
82
|
+
const CODE = 'function add(a, b) {\n return a + b\n}\n';
|
|
83
|
+
const COMPARISON_COLUMNS = [
|
|
84
|
+
{ title: 'Starter', items: [{ label: 'Seats', value: '5' }, { label: 'SSO', value: false }, { label: 'Support', value: true }] },
|
|
85
|
+
{ title: 'Team', highlighted: true, items: [{ label: 'Seats', value: '50' }, { label: 'SSO', value: true }, { label: 'Support', value: true }] },
|
|
86
|
+
];
|
|
87
|
+
const CODE_TABS = [
|
|
88
|
+
{ label: 'JavaScript', code: 'console.log(1)', language: 'javascript' },
|
|
89
|
+
{ label: 'Python', code: 'print(1)', language: 'python' },
|
|
90
|
+
];
|
|
91
|
+
const COMBOBOX_OPTIONS = [
|
|
92
|
+
{ value: 'next', label: 'Next.js' },
|
|
93
|
+
{ value: 'remix', label: 'Remix' },
|
|
94
|
+
];
|
|
95
|
+
/** A minimal icon component, just to exercise `ComboboxIconOption`'s shape. */
|
|
96
|
+
const DotIcon = ({ size = 16 }) => ((0, jsx_runtime_1.jsx)("span", { style: { display: 'inline-block', width: size / 2, height: size / 2, borderRadius: '50%', background: 'currentColor' } }));
|
|
97
|
+
const COMBOBOX_ICON_OPTIONS = [
|
|
98
|
+
{ value: 'todo', label: 'Todo', icon: DotIcon },
|
|
99
|
+
{ value: 'done', label: 'Done', icon: DotIcon },
|
|
100
|
+
];
|
|
101
|
+
const PEOPLE = [
|
|
102
|
+
{ id: '1', name: 'Ada', role: 'Engineer' },
|
|
103
|
+
{ id: '2', name: 'Grace', role: 'Admin' },
|
|
104
|
+
];
|
|
105
|
+
const PEOPLE_COLUMNS = [
|
|
106
|
+
{ id: 'select' },
|
|
107
|
+
{ id: 'name', accessorKey: 'name', header: 'Name' },
|
|
108
|
+
{ id: 'role', accessorKey: 'role', header: 'Role', enableSorting: false },
|
|
109
|
+
];
|
|
110
|
+
const DIALOG_STACK_ITEMS = [
|
|
111
|
+
{ id: 'a', title: 'Back', content: 'First panel' },
|
|
112
|
+
{ id: 'b', title: 'Front', content: 'Second panel' },
|
|
113
|
+
];
|
|
114
|
+
const WINDOW_TYPES = ['default', 'dark', 'light', 'transparent'];
|
|
115
|
+
const DOCK_POSITIONS = ['bottom', 'left', 'right'];
|
|
116
|
+
const SPOTLIGHT_ITEMS = [
|
|
117
|
+
{ id: 's1', title: 'New chat', category: 'Actions' },
|
|
118
|
+
{ id: 's2', title: 'Settings', category: 'Actions' },
|
|
119
|
+
{ id: 's3', title: 'Docs', category: 'Navigate' },
|
|
120
|
+
];
|
|
121
|
+
const GANTT_TASKS = [
|
|
122
|
+
{ id: 'g1', name: 'Design', start: new Date(2026, 0, 1), end: new Date(2026, 0, 10), progress: 100 },
|
|
123
|
+
{ id: 'g2', name: 'Build', start: new Date(2026, 0, 8), end: new Date(2026, 0, 20), progress: 40 },
|
|
124
|
+
];
|
|
125
|
+
const GRID_PATTERN_VARIANTS = ['dots', 'lines', 'crosses', 'plus', 'squares'];
|
|
126
|
+
const IPHONE_VARIANTS = ['mini', 'default', 'pro-max'];
|
|
127
|
+
const IPHONE_COLORS = ['black', 'white', 'blue', 'natural'];
|
|
128
|
+
const ITEM_VARIANTS = ['default', 'outline', 'muted'];
|
|
129
|
+
const ITEM_SIZES = ['default', 'sm'];
|
|
130
|
+
const NAV_ITEMS = [
|
|
131
|
+
{ id: 'overview', label: 'Overview' },
|
|
132
|
+
{ id: 'docs', label: 'Docs' },
|
|
133
|
+
{ id: 'changelog', label: 'Changelog' },
|
|
134
|
+
];
|
|
135
|
+
const KANBAN_BOARD = {
|
|
136
|
+
id: 'board-1',
|
|
137
|
+
title: 'Project board',
|
|
138
|
+
labels: [{ id: 'bug', name: 'Bug', color: '#ef4444' }],
|
|
139
|
+
columns: [
|
|
140
|
+
{
|
|
141
|
+
id: 'todo',
|
|
142
|
+
title: 'To do',
|
|
143
|
+
limit: 5,
|
|
144
|
+
cards: [
|
|
145
|
+
{
|
|
146
|
+
id: 'card-1',
|
|
147
|
+
title: 'Setup project',
|
|
148
|
+
priority: 'high',
|
|
149
|
+
assignee: 'Alex',
|
|
150
|
+
labels: [{ id: 'bug', name: 'Bug', color: '#ef4444' }],
|
|
151
|
+
createdAt: '2026-01-01T00:00:00.000Z',
|
|
152
|
+
updatedAt: '2026-01-01T00:00:00.000Z',
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
{ id: 'doing', title: 'In progress', cards: [] },
|
|
157
|
+
{ id: 'done', title: 'Done', cards: [] },
|
|
158
|
+
],
|
|
159
|
+
};
|
|
160
|
+
const MESSAGE_DOCK_MESSAGES = [
|
|
161
|
+
{ id: 'm1', type: 'success', title: 'Saved', description: 'Your changes were saved.' },
|
|
162
|
+
{ id: 'm2', type: 'info', title: 'Update available' },
|
|
163
|
+
{ id: 'm3', type: 'warning', title: 'Check your settings' },
|
|
164
|
+
{ id: 'm4', type: 'error', title: 'Upload failed' },
|
|
165
|
+
];
|
|
166
|
+
const MESSAGE_DOCK_POSITIONS = ['top', 'bottom', 'top-right', 'bottom-right'];
|
|
167
|
+
const SNIPPET_VARIANTS = ['default', 'inline', 'minimal'];
|
|
168
|
+
const SNIPPET_THEMES = ['dark', 'light', 'github', 'github-dark', 'terminal', 'retro'];
|
|
169
|
+
const SNIPPET_SIZES = ['xs', 'sm', 'default', 'lg'];
|
|
170
|
+
const SNIPPET_CODE = 'const sum = (a, b) => a + b';
|
|
171
|
+
const STATUS_VARIANTS = ['default', 'success', 'warning', 'error', 'info', 'gray'];
|
|
172
|
+
const TAGS = [
|
|
173
|
+
{ id: 't1', label: 'design' },
|
|
174
|
+
{ id: 't2', label: 'engineering' },
|
|
175
|
+
];
|
|
176
|
+
const TOGGLE_VARIANTS = ['default', 'outline'];
|
|
177
|
+
const TOGGLE_SIZES = ['default', 'sm', 'lg'];
|
|
178
|
+
const TERMINAL_THEMES = ['dark', 'light', 'matrix', 'dracula'];
|
|
179
|
+
const TERMINAL_COMMANDS = [
|
|
180
|
+
{ id: 'c1', input: 'help', output: 'Available commands: clear, help, date, echo', timestamp: new Date(0), type: 'info' },
|
|
181
|
+
];
|
|
182
|
+
const TIMELINE_ITEMS = [
|
|
183
|
+
{ id: 'e1', title: 'Kickoff', description: 'Project started', date: 'Jan 1', status: 'completed' },
|
|
184
|
+
{ id: 'e2', title: 'Build', description: 'In progress', date: 'Jan 8', status: 'active' },
|
|
185
|
+
{ id: 'e3', title: 'Ship', date: 'Jan 20', status: 'pending' },
|
|
186
|
+
];
|
|
187
|
+
const TIMELINE_VARIANTS = ['default', 'alternate', 'compact', 'simple'];
|
|
188
|
+
const MEDIA_SOURCES = [{ src: 'https://example.com/video.mp4', type: 'video/mp4' }];
|
|
189
|
+
const MEDIA_SIZES = ['sm', 'md', 'lg', 'full'];
|
|
190
|
+
const NAV_LINKS = [
|
|
191
|
+
{ label: 'Product', href: '#' },
|
|
192
|
+
{ label: 'Docs', href: '#' },
|
|
193
|
+
{ label: 'Pricing', href: '#' },
|
|
194
|
+
];
|
|
195
|
+
const NAV_OPTIONS = [
|
|
196
|
+
{ id: 'a', label: 'Acme Inc' },
|
|
197
|
+
{ id: 'b', label: 'Beta Co' },
|
|
198
|
+
];
|
|
199
|
+
const NAV_PEOPLE = [
|
|
200
|
+
{ name: 'Ada' },
|
|
201
|
+
{ name: 'Grace' },
|
|
202
|
+
{ name: 'Linus' },
|
|
203
|
+
{ name: 'Margaret' },
|
|
204
|
+
];
|
|
33
205
|
/** A thread for `Chat`, which takes the turns as data rather than as children. */
|
|
34
206
|
const TURNS = [
|
|
35
207
|
{ id: 't1', role: 'user', content: 'ask' },
|
|
@@ -88,6 +260,13 @@ const Gallery = () => ((0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex'
|
|
|
88
260
|
tabs: [
|
|
89
261
|
{ id: 'console', title: 'Console', closable: false, content: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "console" }) },
|
|
90
262
|
],
|
|
91
|
-
}, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "center" }) }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "product-arrangements", children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: '100%', maxWidth: 320 }, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: 120 }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: "100%", height: 72, rounded: "$4" }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton.Text, { lines: 3 })] }), (0, jsx_runtime_1.jsx)(TooltipAnchor_1.TooltipAnchor, { description: "Delete this agent", children: (0, jsx_runtime_1.jsx)(gui_2.Button, { children: "hinted" }) }), (0, jsx_runtime_1.jsx)(gui_2.Dialog, { open: true, children: (0, jsx_runtime_1.jsx)(DialogTemplate_1.DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "body" }) }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "chat", children: [(0, jsx_runtime_1.jsxs)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: [(0, jsx_runtime_1.jsxs)(chat_1.Header, { title: "A conversation with a long enough name to clamp", leading: (0, jsx_runtime_1.jsx)(chat_1.AsideToggle, {}), onOpenMenu: NOOP, children: [(0, jsx_runtime_1.jsx)(chat_1.ShareButton, {}), (0, jsx_runtime_1.jsx)(chat_1.AsideToggle, {})] }), (0, jsx_runtime_1.jsx)(gui_2.Fill, { children: (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", children: "plain Fill \u2014 the middle, without a Thread" }) }), (0, jsx_runtime_1.jsxs)(chat_1.Thread, { children: [(0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", children: "ask" }), (0, jsx_runtime_1.jsxs)(chat_1.Message, { role: "assistant", icon: (0, jsx_runtime_1.jsx)(gui_2.Spinner, {}), actions: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "copy" }), children: [(0, jsx_runtime_1.jsx)(chat_1.Step, { name: "shell", status: "running", detail: "git status --porcelain" }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "write", status: "done", detail: "src/index.ts", defaultOpen: true, children: (0, jsx_runtime_1.jsx)(chat_1.Code, { language: "json", value: "{}", children: '{}' }) }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "fetch", status: "error", detail: "timed out", children: "plain body" }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "plan", status: "cancelled" }), (0, jsx_runtime_1.jsx)(chat_1.Code, { language: "typescript", value: "const x = 1", children: "const x = 1" }), (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES })] }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", busy: true, children: "answering" }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", children: (0, jsx_runtime_1.jsx)(chat_1.Failure, { onRetry: NOOP, children: "The model stopped before finishing." }) }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", children: (0, jsx_runtime_1.jsx)(chat_1.Failure, { children: "Rate limited." }) }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", body: { bg: '$color5', rounded: '$3' }, children: "restyled bubble" }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "system", children: "note" })] }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "a draft", onChange: NOOP, onSend: NOOP, hint: "Enter to send", children: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "tool" }) }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "", onChange: NOOP, onSend: NOOP, onStop: NOOP, busy: true })] }), (0, jsx_runtime_1.jsx)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: (0, jsx_runtime_1.jsx)(chat_1.Chat, { messages: TURNS, streaming: true, send: NOOP, stop: NOOP, composer: { placeholder: 'Ask anything' } }) }), (0, jsx_runtime_1.jsx)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: (0, jsx_runtime_1.jsx)(chat_1.Chat, { messages: [], send: NOOP, empty: (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "system", children: "nothing yet" }) }) }), (0, jsx_runtime_1.jsx)(chat_1.Aside, { children: (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', width: '100%', maxWidth: 260, height: 320 }, children: (0, jsx_runtime_1.jsxs)(chat_1.Sidebar, { children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarHeader, { title: "Hanzo", onOpenSwitcher: NOOP, onSearch: NOOP, onCollapse: NOOP }), (0, jsx_runtime_1.jsx)(chat_1.SidebarNewChat, { onPress: NOOP }), (0, jsx_runtime_1.jsxs)(chat_1.SidebarScroll, { children: [(0, jsx_runtime_1.jsxs)(chat_1.SidebarSection, { label: "Today", children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { active: true, onPress: NOOP, children: "Selected thread" }), (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Another thread" })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarFolder, { name: "Archive", defaultOpen: true, children: (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Nested thread" }) })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarUser, { name: "z", secondary: "z@hanzo.ai", onPress: NOOP, onHelp: NOOP })] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "box", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { items: "center", gap: 16, px: 24, py: 12, rounded: "var(--radius-lg, 0.75rem)", borderWidth: 1, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "utility classes" }) }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { gap: 8, maxW: 768, ml: "auto", mr: "auto", overflow: "hidden", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "column" }) })] })] }));
|
|
263
|
+
}, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "center" }) }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "product-arrangements", children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: '100%', maxWidth: 320 }, children: [(0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: 120 }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { width: "100%", height: 72, rounded: "$4" }), (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton.Text, { lines: 3 })] }), (0, jsx_runtime_1.jsx)(TooltipAnchor_1.TooltipAnchor, { description: "Delete this agent", children: (0, jsx_runtime_1.jsx)(gui_2.Button, { children: "hinted" }) }), (0, jsx_runtime_1.jsx)(gui_2.Dialog, { open: true, children: (0, jsx_runtime_1.jsx)(DialogTemplate_1.DialogTemplate, { title: "Delete agent", description: "This removes every run recorded against it.", confirm: { label: 'Delete', tone: 'danger' }, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "body" }) }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "chat", children: [(0, jsx_runtime_1.jsxs)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: [(0, jsx_runtime_1.jsxs)(chat_1.Header, { title: "A conversation with a long enough name to clamp", leading: (0, jsx_runtime_1.jsx)(chat_1.AsideToggle, {}), onOpenMenu: NOOP, children: [(0, jsx_runtime_1.jsx)(chat_1.ShareButton, {}), (0, jsx_runtime_1.jsx)(chat_1.AsideToggle, {})] }), (0, jsx_runtime_1.jsx)(gui_2.Fill, { children: (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", children: "plain Fill \u2014 the middle, without a Thread" }) }), (0, jsx_runtime_1.jsxs)(chat_1.Thread, { children: [(0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", children: "ask" }), (0, jsx_runtime_1.jsxs)(chat_1.Message, { role: "assistant", icon: (0, jsx_runtime_1.jsx)(gui_2.Spinner, {}), actions: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "copy" }), children: [(0, jsx_runtime_1.jsx)(chat_1.Step, { name: "shell", status: "running", detail: "git status --porcelain" }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "write", status: "done", detail: "src/index.ts", defaultOpen: true, children: (0, jsx_runtime_1.jsx)(chat_1.Code, { language: "json", value: "{}", children: '{}' }) }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "fetch", status: "error", detail: "timed out", children: "plain body" }), (0, jsx_runtime_1.jsx)(chat_1.Step, { name: "plan", status: "cancelled" }), (0, jsx_runtime_1.jsx)(chat_1.Code, { language: "typescript", value: "const x = 1", children: "const x = 1" }), (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES })] }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", busy: true, children: "answering" }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", children: (0, jsx_runtime_1.jsx)(chat_1.Failure, { onRetry: NOOP, children: "The model stopped before finishing." }) }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "assistant", children: (0, jsx_runtime_1.jsx)(chat_1.Failure, { children: "Rate limited." }) }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "user", body: { bg: '$color5', rounded: '$3' }, children: "restyled bubble" }), (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "system", children: "note" })] }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "a draft", onChange: NOOP, onSend: NOOP, add: (0, jsx_runtime_1.jsx)(gui_2.Badge, { children: "tool" }) }), (0, jsx_runtime_1.jsx)(chat_1.Composer, { value: "", onChange: NOOP, onSend: NOOP, onStop: NOOP, busy: true })] }), (0, jsx_runtime_1.jsx)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: (0, jsx_runtime_1.jsx)(chat_1.Chat, { messages: TURNS, streaming: true, send: NOOP, stop: NOOP, composer: { placeholder: 'Ask anything' } }) }), (0, jsx_runtime_1.jsx)(gui_2.Screen, { height: "min(72vh, 620px)", minH: 420, maxW: 720, gap: "$3", children: (0, jsx_runtime_1.jsx)(chat_1.Chat, { messages: [], send: NOOP, empty: (0, jsx_runtime_1.jsx)(chat_1.Message, { role: "system", children: "nothing yet" }) }) }), (0, jsx_runtime_1.jsx)(chat_1.Aside, { children: (0, jsx_runtime_1.jsx)(chat_1.Sources, { sources: SOURCES }) }), (0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', width: '100%', maxWidth: 260, height: 320 }, children: (0, jsx_runtime_1.jsxs)(chat_1.Sidebar, { children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarHeader, { title: "Hanzo", onOpenSwitcher: NOOP, onSearch: NOOP, onCollapse: NOOP }), (0, jsx_runtime_1.jsx)(chat_1.SidebarNewChat, { onPress: NOOP }), (0, jsx_runtime_1.jsxs)(chat_1.SidebarScroll, { children: [(0, jsx_runtime_1.jsxs)(chat_1.SidebarSection, { label: "Today", children: [(0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { active: true, onPress: NOOP, children: "Selected thread" }), (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Another thread" })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarFolder, { name: "Archive", defaultOpen: true, children: (0, jsx_runtime_1.jsx)(chat_1.SidebarItem, { onPress: NOOP, children: "Nested thread" }) })] }), (0, jsx_runtime_1.jsx)(chat_1.SidebarUser, { name: "z", secondary: "z@hanzo.ai", onPress: NOOP, onHelp: NOOP })] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "box", children: [(0, jsx_runtime_1.jsx)(gui_1.XStack, { items: "center", gap: 16, px: 24, py: 12, rounded: "var(--radius-lg, 0.75rem)", borderWidth: 1, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "utility classes" }) }), (0, jsx_runtime_1.jsx)(gui_1.YStack, { gap: 8, maxW: 768, ml: "auto", mr: "auto", overflow: "hidden", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "column" }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "3d-card", children: (0, jsx_runtime_1.jsxs)(gui_3.Card3D, { style: { width: 260 }, children: [(0, jsx_runtime_1.jsxs)(gui_3.Card3DHeader, { children: [(0, jsx_runtime_1.jsx)(gui_3.Card3DTitle, { children: "Tilt card" }), (0, jsx_runtime_1.jsx)(gui_3.Card3DDescription, { children: "Turns toward the pointer" })] }), (0, jsx_runtime_1.jsx)(gui_3.Card3DContent, { children: (0, jsx_runtime_1.jsx)("img", { src: SWATCH, alt: "" }) }), (0, jsx_runtime_1.jsx)(gui_3.Card3DFooter, { children: (0, jsx_runtime_1.jsx)(gui_2.Button, { size: "sm", children: "Open" }) })] }) }), (0, jsx_runtime_1.jsx)(Section, { name: "advanced-chart", children: (0, jsx_runtime_1.jsx)(gui_3.AdvancedChart, { height: 240 }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "android", children: [ANDROID_SIZES.map((size) => ((0, jsx_runtime_1.jsx)(gui_3.Android, { size: size }, size))), (0, jsx_runtime_1.jsx)(gui_3.Android, { color: "#3DDC84" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "3d-pin", children: [(0, jsx_runtime_1.jsx)(gui_3.Pin3D, { style: { width: 160, height: 100 }, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "plain" }) }), (0, jsx_runtime_1.jsx)(gui_3.Pin3D, { href: "/docs", title: "3D pin", style: { width: 160, height: 100 }, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "linked" }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "alert", children: ALERT_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsxs)(gui_3.Alert, { variant: variant, style: { width: 320 }, children: [(0, jsx_runtime_1.jsx)("svg", { width: 16, height: 16, "aria-hidden": true }), (0, jsx_runtime_1.jsx)(gui_3.AlertTitle, { children: "Heads up" }), (0, jsx_runtime_1.jsx)(gui_3.AlertDescription, { children: "Check the deploy before merging." })] }, variant))) }), (0, jsx_runtime_1.jsx)(Section, { name: "3d-marquee", children: (0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', flexDirection: 'column', gap: 8, width: '100%' }, children: [MARQUEE_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)(gui_3.Marquee3D, { variant: variant, children: "Hanzo" }, variant))), MARQUEE_SIZES.filter((s) => s !== 'default').map((size) => ((0, jsx_runtime_1.jsx)(gui_3.Marquee3D, { size: size, children: "Hanzo" }, size))), MARQUEE_DIRECTIONS.filter((d) => d !== 'left').map((direction) => ((0, jsx_runtime_1.jsx)(gui_3.Marquee3D, { direction: direction, children: "Hanzo" }, direction))), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DFloating, { children: "Float" }), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DPreset.Hero, { children: "Hero" }), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DPreset.Neon, { children: "Neon" }), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DPreset.Metallic, { children: "Metallic" }), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DPreset.Fire, { children: "Fire" }), (0, jsx_runtime_1.jsx)(gui_3.Marquee3DPreset.Glass, { children: "Glass" })] }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "announcement", children: [(0, jsx_runtime_1.jsx)(gui_3.Announcement, { onDismiss: NOOP, children: "New: usage-based billing is live." }), (0, jsx_runtime_1.jsx)(gui_3.Announcement, { dismissible: false, children: "Pinned notice, no dismiss." })] }), (0, jsx_runtime_1.jsx)(Section, { name: "animated-tooltip", children: (0, jsx_runtime_1.jsx)(gui_3.AnimatedTooltip, { content: "Delete this file", children: (0, jsx_runtime_1.jsx)(gui_2.Button, { children: "hover me" }) }) }), (0, jsx_runtime_1.jsx)(Section, { name: "animated-beam", children: (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 240, height: 80 }, children: (0, jsx_runtime_1.jsx)(gui_3.AnimatedBeam, {}) }) }), (0, jsx_runtime_1.jsx)(Section, { name: "animated-testimonials", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 480 }, children: (0, jsx_runtime_1.jsx)(gui_3.AnimatedTestimonials, { testimonials: TESTIMONIALS, autoPlay: false }) }) }), (0, jsx_runtime_1.jsx)(Section, { name: "animated-cursor", children: (0, jsx_runtime_1.jsx)(gui_3.AnimatedCursor, {}) }), (0, jsx_runtime_1.jsx)(Section, { name: "apple-cards-carousel", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_3.AppleCardsCarousel, { cards: CAROUSEL_CARDS }) }) }), (0, jsx_runtime_1.jsx)(Section, { name: "apple-hello-effect", children: (0, jsx_runtime_1.jsx)(gui_3.AppleHelloEffect, { text: "Hello" }) }), (0, jsx_runtime_1.jsx)(Section, { name: "banner", children: (0, jsx_runtime_1.jsx)("div", { style: { display: 'flex', flexDirection: 'column', gap: 12, width: '100%' }, children: BANNER_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsxs)(gui_3.Banner, { variant: variant, onClose: NOOP, children: [(0, jsx_runtime_1.jsx)("svg", { width: 16, height: 16, "aria-hidden": true }), "Deployment ", variant, " \u2014 three services affected."] }, variant))) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "choicebox", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 320 }, children: (0, jsx_runtime_1.jsx)(gui_3.Choicebox, { options: CHOICEBOX_OPTIONS, defaultValue: "b" }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 320 }, children: (0, jsx_runtime_1.jsx)(gui_3.Choicebox, { options: CHOICEBOX_OPTIONS, defaultValue: "a,c", multiple: true }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "news-timeline", children: [(0, jsx_runtime_1.jsx)(gui_2.NewsTimeline, { width: 320, height: 200 }), (0, jsx_runtime_1.jsx)(gui_2.NewsTimeline, { width: 320, height: 200, feedMode: "market", market: "crypto", colorTheme: "light" }), (0, jsx_runtime_1.jsx)(gui_2.NewsTimeline, { width: 320, height: 200, feedMode: "symbol", symbol: "NASDAQ:AAPL", isTransparent: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "minimal-tiptap", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_2.MinimalTiptap, { placeholder: "Write the release notes\u2026" }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_2.MinimalTiptap, { minH: 80, placeholder: "One-line summary" }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_2.MinimalTiptap, { disabled: true, defaultValue: "Locked after the release shipped." }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "motion-highlight", children: (0, jsx_runtime_1.jsx)(gui_2.MotionHighlight, { children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "hover glow" }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "orders-history", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsx)(gui_2.OrdersHistory, { orders: ORDERS, onCancelOrder: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsx)(gui_2.OrdersHistory, { orders: [], showFilters: false }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "pagination", children: (0, jsx_runtime_1.jsx)(gui_2.Pagination, { children: (0, jsx_runtime_1.jsxs)(gui_2.PaginationContent, { children: [(0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationPrevious, { href: "#" }) }), (0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationLink, { href: "#", children: "1" }) }), (0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationLink, { href: "#", isActive: true, children: "2" }) }), (0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationEllipsis, {}) }), (0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationLink, { href: "#", children: "9" }) }), (0, jsx_runtime_1.jsx)(gui_2.PaginationItem, { children: (0, jsx_runtime_1.jsx)(gui_2.PaginationNext, { href: "#" }) })] }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "order-entry", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_2.OrderEntry, { symbol: "NASDAQ:AAPL", accountBalance: 10000, onPlaceOrder: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_2.OrderEntry, { symbol: "NASDAQ:MSFT", accountBalance: 5000, disabled: true }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "positions-list", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 320 }, children: (0, jsx_runtime_1.jsx)(gui_2.PositionsList, { positions: POSITIONS, onPositionClick: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 320 }, children: (0, jsx_runtime_1.jsx)(gui_2.PositionsList, { positions: [] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "pixel-image", children: [(0, jsx_runtime_1.jsx)(gui_2.PixelImage, { src: SWATCH, pixelSize: 8, alt: "swatch" }), (0, jsx_runtime_1.jsx)(gui_2.PixelImage, { src: SWATCH, pixelSize: 10, width: 160, rounded: "$4", overflow: "hidden", borderWidth: 1, borderColor: "$borderColor" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "particles", children: (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 240, height: 160, overflow: 'hidden', background: '#000' }, children: (0, jsx_runtime_1.jsx)(gui_2.Particles, { particleCount: 20 }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "pill", children: [PILL_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)(gui_2.Pill, { variant: variant, children: variant }, variant))), (0, jsx_runtime_1.jsx)(gui_2.Pill, { variant: "secondary", onRemove: NOOP, children: "removable" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "particles-background", children: (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: '100%', maxWidth: 320, height: 120, overflow: 'hidden', background: '#000' }, children: (0, jsx_runtime_1.jsx)(gui_2.ParticlesBackground, { particleCount: 20 }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "pin-list", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_2.PinList, { items: PIN_ITEMS, defaultValue: ['pulsar'] }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_2.PinList, { items: PIN_ITEMS, defaultValue: ['quasar', 'pulsar'], max: 2 }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "relative-time", children: [(0, jsx_runtime_1.jsx)(gui_2.RelativeTime, { date: new Date(Date.now() - 60 * 60 * 1000) }), (0, jsx_runtime_1.jsx)(gui_2.RelativeTime, { date: new Date(Date.now() - 3 * 60 * 60 * 1000), format: "short" }), (0, jsx_runtime_1.jsx)(gui_2.RelativeTime, { date: new Date(Date.now() - 24 * 60 * 60 * 1000), format: "long" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "safari", children: [(0, jsx_runtime_1.jsx)(gui_2.Safari, { url: "https://ui.hanzo.ai", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "preview" }) }), (0, jsx_runtime_1.jsx)(gui_2.Safari, { url: "https://ui.hanzo.ai/docs", showToolbar: false, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "no toolbar" }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "stars-scrolling-wheel", children: [WHEEL_SIZES.map((size) => ((0, jsx_runtime_1.jsx)(gui_2.StarsScrollingWheel, { size: size, defaultValue: 3, max: 5 }, size))), WHEEL_SIZES.map((size) => ((0, jsx_runtime_1.jsx)(gui_2.StarsScrollingWheel, { size: size, orientation: "horizontal", defaultValue: 3, max: 5 }, `h-${size}`))), (0, jsx_runtime_1.jsx)(gui_2.StarsScrollingWheel, { defaultValue: 2.5, max: 5, step: 0.5 }), (0, jsx_runtime_1.jsx)(gui_2.StarsScrollingWheel, { defaultValue: 3, max: 5, disabled: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "calendar", children: [(0, jsx_runtime_1.jsx)(gui_4.Calendar, { mode: "single", month: new Date(2026, 0, 1), selected: new Date(2026, 0, 15) }), (0, jsx_runtime_1.jsx)(gui_4.Calendar, { mode: "multiple", month: new Date(2026, 0, 1), selected: [new Date(2026, 0, 3), new Date(2026, 0, 10)] }), (0, jsx_runtime_1.jsx)(gui_4.Calendar, { mode: "range", month: new Date(2026, 0, 1), selected: { from: new Date(2026, 0, 5), to: new Date(2026, 0, 12) } }), (0, jsx_runtime_1.jsx)(gui_4.Calendar, { month: new Date(2026, 0, 1), numberOfMonths: 2, disabled: (d) => d.getDay() === 0 })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "code-editor", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { language: "typescript", defaultValue: "const x = 1", height: 160 }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { theme: "light", defaultValue: "a", height: 120 }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { theme: "dark", defaultValue: "a", height: 120 }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { wordWrap: "off", defaultValue: "a long line that does not wrap", height: 120 }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { readOnly: true, defaultValue: "locked", height: 120, showLanguageSelector: false }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeEditor, { showLanguageSelector: false, showCopyButton: false, defaultValue: "no toolbar", height: 120 }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "code-block", children: [CODE_BLOCK_THEMES.map((theme) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeBlock, { code: CODE, language: "javascript", filename: "add.js", theme: theme }) }, theme))), CODE_BLOCK_SIZES.filter((s) => s !== 'default').map((size) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeBlock, { code: CODE, language: "javascript", size: size }) }, size))), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeBlock, { code: CODE, highlightLines: [2] }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeBlock, { code: CODE, diff: { added: [2], removed: [1] } }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeBlock, { code: CODE, showLineNumbers: false, showCopyButton: false }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "company-profile", children: [(0, jsx_runtime_1.jsx)(gui_4.CompanyProfile, { symbol: "NASDAQ:AAPL", height: 200 }), (0, jsx_runtime_1.jsx)(gui_4.CompanyProfile, { symbol: "NASDAQ:MSFT", height: 200, colorTheme: "light", isTransparent: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "credit-card", children: [(0, jsx_runtime_1.jsx)(gui_4.CreditCard, { number: "4242 4242 4242 4242", name: "A. Ryder", expiry: "09/28", cvv: "123" }), (0, jsx_runtime_1.jsx)(gui_4.CreditCard, { variant: "minimal", number: "4242 4242 4242 4242", name: "A. Ryder", expiry: "09/28" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "comparison", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_4.Comparison, { columns: COMPARISON_COLUMNS }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "code-tabs", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeTabs, { tabs: CODE_TABS }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_4.CodeTabs, { tabs: [] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "combobox", children: [(0, jsx_runtime_1.jsx)(gui_4.Combobox, { options: COMBOBOX_OPTIONS }), (0, jsx_runtime_1.jsx)(gui_4.Combobox, { options: COMBOBOX_OPTIONS, value: "next" }), (0, jsx_runtime_1.jsx)(gui_4.ComboboxWithIcons, { options: COMBOBOX_ICON_OPTIONS, value: "done" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "color-picker", children: [(0, jsx_runtime_1.jsx)(gui_4.ColorPicker, {}), (0, jsx_runtime_1.jsx)(gui_4.ColorPicker, { value: "#22c55e", presets: ['#ef4444', '#22c55e', '#3b82f6'] }), (0, jsx_runtime_1.jsx)(gui_4.ColorPicker, { disabled: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "crypto-screener", children: [(0, jsx_runtime_1.jsx)(gui_4.CryptoScreener, { height: 200 }), (0, jsx_runtime_1.jsx)(gui_4.CryptoScreener, { height: 200, colorTheme: "light", defaultColumn: "performance", isTransparent: true })] }), (0, jsx_runtime_1.jsx)(Section, { name: "cursor", children: (0, jsx_runtime_1.jsx)(gui_4.Cursor, { cursorText: "view", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "hover area" }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "crypto-market", children: [(0, jsx_runtime_1.jsx)(gui_4.MarketOverview, { height: 220 }), (0, jsx_runtime_1.jsx)(gui_4.MarketOverview, { height: 220, tabs: ['indices', 'forex'], colorTheme: "light" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "desktop", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', height: 160 }, children: (0, jsx_runtime_1.jsx)(gui_4.Desktop, { background: "linear-gradient(135deg, #1e293b, #0f172a)", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "desktop surface" }) }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "data-table", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_4.DataTable, { columns: PEOPLE_COLUMNS, data: PEOPLE, filterColumnId: "name", pageSize: 1 }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_4.DataTable, { columns: PEOPLE_COLUMNS, data: [] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "date-picker", children: [(0, jsx_runtime_1.jsx)(gui_4.DatePicker, {}), (0, jsx_runtime_1.jsx)(gui_4.DatePicker, { selected: new Date(2026, 0, 15), presets: [{ label: 'Today', days: 0 }, { label: 'In a week', days: 7 }] }), (0, jsx_runtime_1.jsx)(gui_4.DatePicker, { mode: "range", selected: { from: new Date(2026, 0, 5), to: new Date(2026, 0, 12) } })] }), (0, jsx_runtime_1.jsx)(Section, { name: "dialog-stack", children: (0, jsx_runtime_1.jsx)("div", { style: { width: 280, height: 160 }, children: (0, jsx_runtime_1.jsx)(gui_5.DialogStack, { dialogs: DIALOG_STACK_ITEMS, onClose: NOOP }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "desktop-window", children: [WINDOW_TYPES.map((windowType) => ((0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 220, height: 140, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.DesktopWindow, { title: windowType, windowType: windowType, initialPosition: { x: 0, y: 0 }, initialSize: { width: 220, height: 140 }, draggable: false, resizable: false, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "window body" }) }) }, windowType))), (0, jsx_runtime_1.jsx)(gui_5.DesktopWindowControls, { onClose: NOOP, onMinimize: NOOP, onMaximize: NOOP }), (0, jsx_runtime_1.jsx)(gui_5.DesktopWindowControls, { onClose: NOOP, onMinimize: NOOP, onMaximize: NOOP, isMaximized: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "dropzone", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_5.Dropzone, { onFilesAccepted: NOOP, onFilesRejected: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_5.Dropzone, { disabled: true }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "editor", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_5.Editor, { placeholder: "Start typing\u2026" }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 320 }, children: (0, jsx_runtime_1.jsx)(gui_5.Editor, { value: "<p>Existing <strong>content</strong></p>", onChange: NOOP }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "dock", children: DOCK_POSITIONS.map((position) => ((0, jsx_runtime_1.jsxs)(gui_5.Dock, { position: position, children: [(0, jsx_runtime_1.jsx)(gui_5.DockItem, { tooltip: "Files", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "F" }) }), (0, jsx_runtime_1.jsx)(gui_5.DockItem, { tooltip: "Mail", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "M" }) }), (0, jsx_runtime_1.jsx)(gui_5.DockSeparator, {}), (0, jsx_runtime_1.jsx)(gui_5.DockItem, { tooltip: "Settings", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "S" }) })] }, position))) }), (0, jsx_runtime_1.jsx)(Section, { name: "desktop-spotlight", children: (0, jsx_runtime_1.jsx)(gui_5.Spotlight, { isOpen: true, onClose: NOOP, items: SPOTLIGHT_ITEMS, onSelect: NOOP }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "empty", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsxs)(gui_5.Empty, { children: [(0, jsx_runtime_1.jsxs)(gui_5.EmptyHeader, { children: [(0, jsx_runtime_1.jsx)(gui_5.EmptyMedia, { variant: "icon", children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "+" }) }), (0, jsx_runtime_1.jsx)(gui_5.EmptyTitle, { children: "No projects yet" }), (0, jsx_runtime_1.jsx)(gui_5.EmptyDescription, { children: "Create one to get started." })] }), (0, jsx_runtime_1.jsx)(gui_5.EmptyContent, { children: (0, jsx_runtime_1.jsx)(gui_2.Button, { size: "sm", children: "New project" }) })] }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 280 }, children: (0, jsx_runtime_1.jsx)(gui_5.Empty, { children: (0, jsx_runtime_1.jsxs)(gui_5.EmptyHeader, { children: [(0, jsx_runtime_1.jsx)(gui_5.EmptyMedia, { children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "\u2205" }) }), (0, jsx_runtime_1.jsx)(gui_5.EmptyTitle, { children: "Nothing found" })] }) }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "forex-screener", children: [(0, jsx_runtime_1.jsx)(gui_5.ForexScreener, { height: 220 }), (0, jsx_runtime_1.jsx)(gui_5.ForexScreener, { height: 220, colorTheme: "light", showToolbar: false })] }), (0, jsx_runtime_1.jsx)(Section, { name: "forex-market", children: (0, jsx_runtime_1.jsx)(gui_5.ForexMarket, { height: 220 }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "gantt", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsx)(gui_5.Gantt, { tasks: GANTT_TASKS }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsx)(gui_5.Gantt, { tasks: [] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "financials", children: [(0, jsx_runtime_1.jsx)(gui_5.Financials, { symbol: "NASDAQ:AAPL", height: 260 }), (0, jsx_runtime_1.jsx)(gui_5.Financials, { symbol: "NASDAQ:MSFT", height: 260, colorTheme: "light", displayMode: "compact" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "field", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsxs)(gui_5.FieldSet, { children: [(0, jsx_runtime_1.jsx)(gui_5.FieldLegend, { children: "Account" }), (0, jsx_runtime_1.jsx)(gui_5.FieldLegend, { variant: "label", children: "Label-styled legend" }), (0, jsx_runtime_1.jsxs)(gui_5.FieldGroup, { children: [(0, jsx_runtime_1.jsxs)(gui_5.Field, { children: [(0, jsx_runtime_1.jsx)(gui_5.FieldLabel, { children: "Name" }), (0, jsx_runtime_1.jsx)(gui_2.Input, { placeholder: "Ada Lovelace" }), (0, jsx_runtime_1.jsx)(gui_5.FieldDescription, { children: "Shown on your profile." })] }), (0, jsx_runtime_1.jsxs)(gui_5.Field, { orientation: "horizontal", children: [(0, jsx_runtime_1.jsx)(gui_5.FieldLabel, { children: "Email" }), (0, jsx_runtime_1.jsx)(gui_2.Input, { placeholder: "ada@hanzo.ai" })] }), (0, jsx_runtime_1.jsxs)(gui_5.Field, { orientation: "responsive", "data-invalid": true, children: [(0, jsx_runtime_1.jsx)(gui_5.FieldLabel, { children: "Password" }), (0, jsx_runtime_1.jsx)(gui_2.Input, { type: "password" }), (0, jsx_runtime_1.jsx)(gui_5.FieldError, { children: "Must be at least 8 characters." })] }), (0, jsx_runtime_1.jsx)(gui_5.FieldSeparator, { children: "or" }), (0, jsx_runtime_1.jsx)(gui_5.FieldLabel, { children: (0, jsx_runtime_1.jsxs)(gui_5.Field, { children: [(0, jsx_runtime_1.jsx)(gui_5.FieldTitle, { children: "Two-factor auth" }), (0, jsx_runtime_1.jsx)(gui_5.FieldDescription, { children: "Require a code at sign-in." })] }) })] })] }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "image-crop", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: 240 }, children: (0, jsx_runtime_1.jsx)(gui_5.ImageCrop, { src: SWATCH, onCrop: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 240 }, children: (0, jsx_runtime_1.jsx)(gui_5.ImageCrop, { src: SWATCH, aspect: 16 / 9 }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "interactive-grid-pattern", children: (0, jsx_runtime_1.jsx)("div", { style: { width: 200, height: 120, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.InteractiveGridPattern, { width: 20, height: 20, squares: [10, 6] }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "grid-pattern", children: [GRID_PATTERN_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 120, height: 80, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.GridPattern, { variant: variant }) }, variant))), (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 120, height: 80, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.GridPattern, { fade: "center" }) }), (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 120, height: 80, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.GridPattern, { fade: "radial" }) }), (0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', width: 120, height: 80, overflow: 'hidden' }, children: (0, jsx_runtime_1.jsx)(gui_5.GridPattern, { gradient: { from: '#3b82f6', to: '#22c55e' }, animation: {} }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "iphone-15-pro", children: [IPHONE_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)(gui_6.IPhone15Pro, { variant: variant }, variant))), IPHONE_COLORS.map((color) => ((0, jsx_runtime_1.jsx)(gui_6.IPhone15Pro, { color: color, variant: "mini" }, color)))] }), (0, jsx_runtime_1.jsxs)(Section, { name: "image-zoom", children: [(0, jsx_runtime_1.jsx)(gui_6.ImageZoom, { src: SWATCH, alt: "Swatch", width: 160, height: 120 }), (0, jsx_runtime_1.jsx)(gui_6.ImageZoom, { src: SWATCH, alt: "Swatch", width: 120, height: 120, zoomScale: 3 })] }), (0, jsx_runtime_1.jsx)(Section, { name: "glimpse", children: (0, jsx_runtime_1.jsxs)(gui_6.Glimpse, { children: [(0, jsx_runtime_1.jsx)(gui_6.GlimpseTrigger, { asChild: true, children: (0, jsx_runtime_1.jsx)("a", { href: "https://ui.hanzo.ai", children: "ui.hanzo.ai" }) }), (0, jsx_runtime_1.jsxs)(gui_6.GlimpseContent, { children: [(0, jsx_runtime_1.jsx)(gui_6.GlimpseImage, { src: SWATCH, alt: "" }), (0, jsx_runtime_1.jsx)(gui_6.GlimpseTitle, { children: "Hanzo UI" }), (0, jsx_runtime_1.jsx)(gui_6.GlimpseDescription, { children: "A design system for the whole estate." })] })] }) }), (0, jsx_runtime_1.jsx)(Section, { name: "list", children: (0, jsx_runtime_1.jsxs)(gui_6.List, { children: [(0, jsx_runtime_1.jsx)(gui_6.ListItem, { children: "First item" }), (0, jsx_runtime_1.jsx)(gui_6.ListItem, { children: "Second item" }), (0, jsx_runtime_1.jsx)(gui_6.ListItem, { children: "Third item" })] }) }), (0, jsx_runtime_1.jsx)(Section, { name: "macos-dock", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', height: 140, display: 'flex', alignItems: 'center', justifyContent: 'flex-end' }, children: (0, jsx_runtime_1.jsxs)(gui_6.MacosDock, { children: [(0, jsx_runtime_1.jsx)(gui_6.MacosDockItem, { tooltip: "Finder", children: "\uD83C\uDFE0" }), (0, jsx_runtime_1.jsx)(gui_6.MacosDockItem, { tooltip: "Search", children: "\uD83D\uDD0D" }), (0, jsx_runtime_1.jsx)(gui_6.MacosDockItem, { tooltip: "Mail", children: "\u2709\uFE0F" })] }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "kbd", children: [(0, jsx_runtime_1.jsx)(gui_6.Kbd, { children: "Esc" }), (0, jsx_runtime_1.jsxs)(gui_6.KbdGroup, { children: [(0, jsx_runtime_1.jsx)(gui_6.Kbd, { children: "Ctrl" }), (0, jsx_runtime_1.jsx)(gui_6.Kbd, { children: "B" })] })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "item", children: [ITEM_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)(gui_6.Item, { variant: variant, children: (0, jsx_runtime_1.jsxs)(gui_6.ItemContent, { children: [(0, jsx_runtime_1.jsx)(gui_6.ItemTitle, { children: variant }), (0, jsx_runtime_1.jsx)(gui_6.ItemDescription, { children: "A short description line." })] }) }, variant))), ITEM_SIZES.map((size) => ((0, jsx_runtime_1.jsxs)(gui_6.Item, { size: size, variant: "outline", children: [(0, jsx_runtime_1.jsx)(gui_6.ItemMedia, { variant: "icon", children: (0, jsx_runtime_1.jsx)(gui_2.Badge, { variant: "secondary", children: "i" }) }), (0, jsx_runtime_1.jsx)(gui_6.ItemContent, { children: (0, jsx_runtime_1.jsxs)(gui_6.ItemTitle, { children: ["size ", size] }) }), (0, jsx_runtime_1.jsx)(gui_6.ItemActions, { children: (0, jsx_runtime_1.jsx)(gui_2.Button, { size: "sm", variant: "outline", children: "Reply" }) })] }, size))), (0, jsx_runtime_1.jsxs)(gui_6.ItemGroup, { children: [(0, jsx_runtime_1.jsx)(gui_6.Item, { size: "sm", variant: "outline", children: (0, jsx_runtime_1.jsx)(gui_6.ItemContent, { children: (0, jsx_runtime_1.jsx)(gui_6.ItemTitle, { children: "Invoice #1024" }) }) }), (0, jsx_runtime_1.jsx)(gui_6.ItemSeparator, {}), (0, jsx_runtime_1.jsx)(gui_6.Item, { size: "sm", variant: "outline", children: (0, jsx_runtime_1.jsx)(gui_6.ItemContent, { children: (0, jsx_runtime_1.jsx)(gui_6.ItemTitle, { children: "Invoice #1025" }) }) })] }), (0, jsx_runtime_1.jsxs)(gui_6.Item, { variant: "outline", children: [(0, jsx_runtime_1.jsx)(gui_6.ItemMedia, { variant: "image", children: (0, jsx_runtime_1.jsx)("img", { src: SWATCH, alt: "" }) }), (0, jsx_runtime_1.jsx)(gui_6.ItemContent, { children: (0, jsx_runtime_1.jsx)(gui_6.ItemTitle, { children: "Image media" }) })] })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "limelight-nav", children: [(0, jsx_runtime_1.jsx)(gui_6.LimelightNav, { items: NAV_ITEMS, defaultValue: "docs" }), (0, jsx_runtime_1.jsx)(gui_6.LimelightNav, { items: NAV_ITEMS, defaultValue: "overview", variant: "bar" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "kanban", children: (0, jsx_runtime_1.jsx)("div", { style: { width: '100%', height: 420 }, children: (0, jsx_runtime_1.jsx)(gui_6.KanbanBoard, { board: KANBAN_BOARD, onUpdateBoard: NOOP }) }) }), (0, jsx_runtime_1.jsx)(Section, { name: "magnetic", children: (0, jsx_runtime_1.jsx)(gui_6.Magnetic, { strength: 0.3, children: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "Hover me" }) }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "menu-dock", children: [(0, jsx_runtime_1.jsx)("div", { style: { minHeight: 160, display: 'flex', alignItems: 'center', justifyContent: 'center', width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_6.MenuDock, { items: [
|
|
264
|
+
{ icon: '🏠', label: 'Home', active: true },
|
|
265
|
+
{ icon: '🔍', label: 'Search' },
|
|
266
|
+
{ icon: '🔔', label: 'Alerts' },
|
|
267
|
+
] }) }), (0, jsx_runtime_1.jsx)("div", { style: { minHeight: 200, display: 'flex', alignItems: 'center', justifyContent: 'center', width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_6.MenuDock, { orientation: "vertical", items: [
|
|
268
|
+
{ icon: '🏠', label: 'Home' },
|
|
269
|
+
{ icon: '🔍', label: 'Search', active: true },
|
|
270
|
+
] }) })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "marquee", children: [(0, jsx_runtime_1.jsxs)(gui_6.Marquee, { children: [(0, jsx_runtime_1.jsx)("span", { children: "Fast" }), (0, jsx_runtime_1.jsx)("span", { children: "Accessible" }), (0, jsx_runtime_1.jsx)("span", { children: "Themeable" })] }), (0, jsx_runtime_1.jsx)("div", { style: { height: 160 }, children: (0, jsx_runtime_1.jsxs)(gui_6.Marquee, { vertical: true, gap: 12, children: [(0, jsx_runtime_1.jsx)("span", { children: "One" }), (0, jsx_runtime_1.jsx)("span", { children: "Two" }), (0, jsx_runtime_1.jsx)("span", { children: "Three" })] }) }), (0, jsx_runtime_1.jsx)(gui_6.Marquee, { reverse: true, pauseOnHover: true, repeat: 4, children: (0, jsx_runtime_1.jsx)("span", { children: "Hover to pause" }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "mini-calendar", children: (0, jsx_runtime_1.jsx)(gui_6.MiniCalendar, { month: new Date(2026, 0, 1), selected: new Date(2026, 0, 15), onSelect: NOOP }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "message-dock", children: [(0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', minHeight: 220, width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_6.MessageDock, { messages: MESSAGE_DOCK_MESSAGES }) }), MESSAGE_DOCK_POSITIONS.map((position) => ((0, jsx_runtime_1.jsx)("div", { style: { position: 'relative', minHeight: 100, width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_6.MessageDock, { messages: [{ id: position, type: 'info', title: `Docked ${position}` }], position: position }) }, position)))] }), (0, jsx_runtime_1.jsx)(Section, { name: "menubar", children: (0, jsx_runtime_1.jsxs)(gui_6.Menubar, { defaultValue: "edit", children: [(0, jsx_runtime_1.jsxs)(gui_6.MenubarMenu, { value: "file", children: [(0, jsx_runtime_1.jsx)(gui_6.MenubarTrigger, { children: "File" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarContent, { children: (0, jsx_runtime_1.jsx)(gui_6.MenubarItem, { children: "New Tab" }) })] }), (0, jsx_runtime_1.jsxs)(gui_6.MenubarMenu, { value: "edit", children: [(0, jsx_runtime_1.jsx)(gui_6.MenubarTrigger, { children: "Edit" }), (0, jsx_runtime_1.jsxs)(gui_6.MenubarContent, { children: [(0, jsx_runtime_1.jsxs)(gui_6.MenubarItem, { children: ["Undo", (0, jsx_runtime_1.jsx)(gui_6.MenubarShortcut, { children: "\u2318Z" })] }), (0, jsx_runtime_1.jsx)(gui_6.MenubarItem, { disabled: true, children: "Redo" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarSeparator, {}), (0, jsx_runtime_1.jsx)(gui_6.MenubarCheckboxItem, { checked: true, children: "Full URLs" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarCheckboxItem, { children: "Bookmarks bar" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarSeparator, {}), (0, jsx_runtime_1.jsxs)(gui_6.MenubarRadioGroup, { value: "b", children: [(0, jsx_runtime_1.jsx)(gui_6.MenubarRadioItem, { value: "a", children: "Andy" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarRadioItem, { value: "b", children: "Benoit" })] }), (0, jsx_runtime_1.jsx)(gui_6.MenubarSeparator, {}), (0, jsx_runtime_1.jsxs)(gui_6.MenubarSub, { children: [(0, jsx_runtime_1.jsx)(gui_6.MenubarSubTrigger, { children: "Share" }), (0, jsx_runtime_1.jsx)(gui_6.MenubarSubContent, { children: (0, jsx_runtime_1.jsx)(gui_6.MenubarItem, { children: "Email link" }) })] }), (0, jsx_runtime_1.jsxs)(gui_6.MenubarItem, { inset: true, children: ["Reload", (0, jsx_runtime_1.jsx)(gui_6.MenubarShortcut, { children: "\u2318R" })] })] })] })] }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "qr-code", children: [(0, jsx_runtime_1.jsx)(gui_7.QRCode, { value: "https://hanzo.ai", size: 120 }), (0, jsx_runtime_1.jsx)(gui_7.QRCode, { value: "https://hanzo.ai", size: 120, includeMargin: true, level: "H" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "snippet", children: [SNIPPET_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 260 }, children: (0, jsx_runtime_1.jsx)(gui_7.Snippet, { code: SNIPPET_CODE, language: "javascript", filename: "sum.js", variant: variant }) }, variant))), SNIPPET_THEMES.filter((t) => t !== 'dark').map((theme) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 260 }, children: (0, jsx_runtime_1.jsx)(gui_7.Snippet, { code: SNIPPET_CODE, theme: theme }) }, theme))), SNIPPET_SIZES.filter((s) => s !== 'default').map((size) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 260 }, children: (0, jsx_runtime_1.jsx)(gui_7.Snippet, { code: SNIPPET_CODE, size: size }) }, size))), (0, jsx_runtime_1.jsx)("div", { style: { width: 260 }, children: (0, jsx_runtime_1.jsx)(gui_7.Snippet, { code: SNIPPET_CODE, showLineNumbers: true, highlightLines: [1] }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: 260 }, children: (0, jsx_runtime_1.jsx)(gui_7.Snippet, { code: SNIPPET_CODE, expandable: true, collapsedHeight: 40 }) }), (0, jsx_runtime_1.jsx)(gui_7.InlineCode, { children: "npm install" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "stock-screener", children: [(0, jsx_runtime_1.jsx)(gui_7.StockScreener, { height: 220 }), (0, jsx_runtime_1.jsx)(gui_7.StockScreener, { height: 220, colorTheme: "light", showToolbar: false, market: "germany" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "symbol-info", children: [(0, jsx_runtime_1.jsx)(gui_7.SymbolInfo, { symbol: "NASDAQ:AAPL" }), (0, jsx_runtime_1.jsx)(gui_7.SymbolInfo, { symbol: "NASDAQ:MSFT", colorTheme: "light", isTransparent: true })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "status", children: [STATUS_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)(gui_7.Status, { variant: variant, children: variant }, variant))), (0, jsx_runtime_1.jsx)(gui_7.Status, { dot: false, children: "no dot" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "stock-market", children: (0, jsx_runtime_1.jsx)(gui_7.StockMarket, { height: 220 }) }), (0, jsx_runtime_1.jsx)(Section, { name: "table", children: (0, jsx_runtime_1.jsxs)(gui_7.Table, { children: [(0, jsx_runtime_1.jsx)(gui_7.TableCaption, { children: "A list of recent invoices." }), (0, jsx_runtime_1.jsx)(gui_7.TableHeader, { children: (0, jsx_runtime_1.jsxs)(gui_7.TableRow, { children: [(0, jsx_runtime_1.jsx)(gui_7.TableHead, { children: "Invoice" }), (0, jsx_runtime_1.jsx)(gui_7.TableHead, { children: "Status" }), (0, jsx_runtime_1.jsx)(gui_7.TableHead, { children: "Amount" })] }) }), (0, jsx_runtime_1.jsxs)(gui_7.TableBody, { children: [(0, jsx_runtime_1.jsxs)(gui_7.TableRow, { children: [(0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "INV001" }), (0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "Paid" }), (0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "$250.00" })] }), (0, jsx_runtime_1.jsxs)(gui_7.TableRow, { selected: true, children: [(0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "INV002" }), (0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "Pending" }), (0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "$150.00" })] })] }), (0, jsx_runtime_1.jsx)(gui_7.TableFooter, { children: (0, jsx_runtime_1.jsxs)(gui_7.TableRow, { children: [(0, jsx_runtime_1.jsx)(gui_7.TableCell, { colSpan: 2, children: "Total" }), (0, jsx_runtime_1.jsx)(gui_7.TableCell, { children: "$400.00" })] }) })] }) }), (0, jsx_runtime_1.jsxs)(Section, { name: "tags", children: [(0, jsx_runtime_1.jsx)(gui_7.Tags, { tags: TAGS, onRemove: NOOP }), (0, jsx_runtime_1.jsx)(gui_7.Tags, { tags: TAGS, variant: "secondary" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "technical-analysis", children: [(0, jsx_runtime_1.jsx)(gui_7.TechnicalAnalysis, { height: 260 }), (0, jsx_runtime_1.jsx)(gui_7.TechnicalAnalysis, { height: 260, colorTheme: "light", displayMode: "multiple", showIntervalTabs: false })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "ticker", children: [(0, jsx_runtime_1.jsx)(gui_7.Ticker, { children: "Hanzo" }), (0, jsx_runtime_1.jsx)(gui_7.Ticker, { direction: "right", pauseOnHover: false, children: "Hanzo" })] }), (0, jsx_runtime_1.jsxs)(Section, { name: "toggle", children: [TOGGLE_VARIANTS.map((variant) => TOGGLE_SIZES.map((size) => ((0, jsx_runtime_1.jsx)(gui_7.Toggle, { variant: variant, size: size, children: size }, `${variant}-${size}`)))), (0, jsx_runtime_1.jsx)(gui_7.Toggle, { defaultPressed: true, children: "pressed" }), (0, jsx_runtime_1.jsx)(gui_7.Toggle, { disabled: true, children: "disabled" })] }), (0, jsx_runtime_1.jsx)(Section, { name: "terminal", children: TERMINAL_THEMES.map((theme) => ((0, jsx_runtime_1.jsx)("div", { style: { width: 280, height: 160 }, children: (0, jsx_runtime_1.jsx)(gui_7.Terminal, { theme: theme, initialCommands: TERMINAL_COMMANDS }) }, theme))) }), (0, jsx_runtime_1.jsxs)(Section, { name: "timeline", children: [TIMELINE_VARIANTS.map((variant) => ((0, jsx_runtime_1.jsx)("div", { style: { width: '100%', maxWidth: 360 }, children: (0, jsx_runtime_1.jsx)(gui_7.Timeline, { items: TIMELINE_ITEMS, variant: variant, animated: false }) }, variant))), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.Timeline, { items: TIMELINE_ITEMS, orientation: "horizontal", animated: false }) })] }), (0, jsx_runtime_1.jsx)(Section, { name: "video-player", children: MEDIA_SIZES.map((size) => ((0, jsx_runtime_1.jsx)("div", { style: { width: size === 'full' ? '100%' : undefined }, children: (0, jsx_runtime_1.jsx)(gui_7.MediaPlayer, { sources: MEDIA_SOURCES, size: size }) }, size))) }), (0, jsx_runtime_1.jsxs)(Section, { name: "navigation-bar", children: [(0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "simple", logo: "Hanzo", items: NAV_LINKS }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "centered", logo: "Hanzo", leftItems: NAV_LINKS.slice(0, 1), rightItems: NAV_LINKS.slice(1) }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "breadcrumb", items: NAV_LINKS }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "icon", items: [{ label: 'Home', href: '#', icon: (0, jsx_runtime_1.jsx)(gui_2.CardTitle, { children: "H" }) }] }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "dashboard", title: "Overview", user: { name: 'Ada' }, onSearch: NOOP, onNotifications: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "ecommerce", logo: "Shop", items: NAV_LINKS, cartCount: 3, onSearch: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "collaboration", title: "Untitled doc", collaborators: NAV_PEOPLE }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "communication", contactName: "Support", onCall: NOOP, onVideo: NOOP, onMessage: NOOP }) }), (0, jsx_runtime_1.jsx)("div", { style: { width: '100%' }, children: (0, jsx_runtime_1.jsx)(gui_7.NavigationBar, { variant: "switcher", options: NAV_OPTIONS, value: "a", onValueChange: NOOP }) })] })] }));
|
|
92
271
|
exports.Gallery = Gallery;
|
|
93
272
|
exports.default = exports.Gallery;
|
package/dist/gallery.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../src/gallery.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"gallery.d.ts","sourceRoot":"","sources":["../src/gallery.tsx"],"names":[],"mappings":"AAwZA;;;GAGG;AACH,eAAO,MAAM,OAAO,mCA8kDnB,CAAA;eAEc,OAAO"}
|