mtxuilib 0.0.409 → 0.0.411
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/package.json +1 -1
- package/dist/esm/registry/blocks.js +0 -1
- package/dist/esm/registry/colors.js +0 -1
- package/dist/esm/registry/default/block/authentication-01.js +0 -1
- package/dist/esm/registry/default/block/authentication-02.js +0 -1
- package/dist/esm/registry/default/block/authentication-03.js +0 -1
- package/dist/esm/registry/default/block/authentication-04.js +0 -1
- package/dist/esm/registry/default/block/dashboard-01.js +0 -1
- package/dist/esm/registry/default/block/dashboard-02.js +0 -1
- package/dist/esm/registry/default/block/dashboard-03.js +0 -1
- package/dist/esm/registry/default/block/dashboard-04.js +0 -1
- package/dist/esm/registry/default/block/dashboard-05.js +0 -1
- package/dist/esm/registry/default/block/dashboard-06.js +0 -1
- package/dist/esm/registry/default/block/dashboard-07.js +0 -1
- package/dist/esm/registry/default/example/accordion-demo.js +0 -1
- package/dist/esm/registry/default/example/alert-demo.js +0 -1
- package/dist/esm/registry/default/example/alert-destructive.js +0 -1
- package/dist/esm/registry/default/example/alert-dialog-demo.js +0 -1
- package/dist/esm/registry/default/example/aspect-ratio-demo.js +0 -1
- package/dist/esm/registry/default/example/avatar-demo.js +0 -1
- package/dist/esm/registry/default/example/badge-demo.js +0 -1
- package/dist/esm/registry/default/example/badge-destructive.js +0 -1
- package/dist/esm/registry/default/example/badge-outline.js +0 -1
- package/dist/esm/registry/default/example/badge-secondary.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-demo.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-dropdown.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-ellipsis.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-link.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-responsive.js +0 -1
- package/dist/esm/registry/default/example/breadcrumb-separator.js +0 -1
- package/dist/esm/registry/default/example/button-as-child.js +0 -1
- package/dist/esm/registry/default/example/button-demo.js +0 -1
- package/dist/esm/registry/default/example/button-destructive.js +0 -1
- package/dist/esm/registry/default/example/button-ghost.js +0 -1
- package/dist/esm/registry/default/example/button-icon.js +0 -1
- package/dist/esm/registry/default/example/button-link.js +0 -1
- package/dist/esm/registry/default/example/button-loading.js +0 -1
- package/dist/esm/registry/default/example/button-outline.js +0 -1
- package/dist/esm/registry/default/example/button-secondary.js +0 -1
- package/dist/esm/registry/default/example/button-with-icon.js +0 -1
- package/dist/esm/registry/default/example/calendar-demo.js +0 -1
- package/dist/esm/registry/default/example/calendar-form.js +0 -1
- package/dist/esm/registry/default/example/calendar-react-hook-form.js +0 -1
- package/dist/esm/registry/default/example/card-demo.js +0 -1
- package/dist/esm/registry/default/example/card-with-form.js +0 -1
- package/dist/esm/registry/default/example/cards/activity-goal.js +0 -1
- package/dist/esm/registry/default/example/cards/calendar.js +0 -1
- package/dist/esm/registry/default/example/cards/chat.js +0 -1
- package/dist/esm/registry/default/example/cards/cookie-settings.js +0 -1
- package/dist/esm/registry/default/example/cards/create-account.js +0 -1
- package/dist/esm/registry/default/example/cards/data-table.js +0 -1
- package/dist/esm/registry/default/example/cards/index.js +0 -1
- package/dist/esm/registry/default/example/cards/metric.js +0 -1
- package/dist/esm/registry/default/example/cards/payment-method.js +0 -1
- package/dist/esm/registry/default/example/cards/report-issue.js +0 -1
- package/dist/esm/registry/default/example/cards/share.js +0 -1
- package/dist/esm/registry/default/example/cards/stats.js +0 -1
- package/dist/esm/registry/default/example/cards/team-members.js +0 -1
- package/dist/esm/registry/default/example/carousel-api.js +0 -1
- package/dist/esm/registry/default/example/carousel-demo.js +0 -1
- package/dist/esm/registry/default/example/carousel-orientation.js +0 -1
- package/dist/esm/registry/default/example/carousel-plugin.js +0 -1
- package/dist/esm/registry/default/example/carousel-size.js +0 -1
- package/dist/esm/registry/default/example/carousel-spacing.js +0 -1
- package/dist/esm/registry/default/example/checkbox-demo.js +0 -1
- package/dist/esm/registry/default/example/checkbox-disabled.js +0 -1
- package/dist/esm/registry/default/example/checkbox-form-multiple.js +0 -1
- package/dist/esm/registry/default/example/checkbox-form-single.js +0 -1
- package/dist/esm/registry/default/example/checkbox-with-text.js +0 -1
- package/dist/esm/registry/default/example/collapsible-demo.js +0 -1
- package/dist/esm/registry/default/example/combobox-demo.js +0 -1
- package/dist/esm/registry/default/example/combobox-dropdown-menu.js +0 -1
- package/dist/esm/registry/default/example/combobox-form.js +0 -1
- package/dist/esm/registry/default/example/combobox-popover.js +0 -1
- package/dist/esm/registry/default/example/combobox-responsive.js +0 -1
- package/dist/esm/registry/default/example/command-demo.js +0 -1
- package/dist/esm/registry/default/example/command-dialog.js +0 -1
- package/dist/esm/registry/default/example/context-menu-demo.js +0 -1
- package/dist/esm/registry/default/example/data-table-demo.js +0 -1
- package/dist/esm/registry/default/example/date-picker-demo.js +0 -1
- package/dist/esm/registry/default/example/date-picker-form.js +0 -1
- package/dist/esm/registry/default/example/date-picker-with-presets.js +0 -1
- package/dist/esm/registry/default/example/date-picker-with-range.js +0 -1
- package/dist/esm/registry/default/example/dialog-close-button.js +0 -1
- package/dist/esm/registry/default/example/dialog-demo.js +0 -1
- package/dist/esm/registry/default/example/drawer-demo.js +0 -1
- package/dist/esm/registry/default/example/drawer-dialog.js +0 -1
- package/dist/esm/registry/default/example/dropdown-menu-checkboxes.js +0 -1
- package/dist/esm/registry/default/example/dropdown-menu-demo.js +0 -1
- package/dist/esm/registry/default/example/dropdown-menu-radio-group.js +0 -1
- package/dist/esm/registry/default/example/hover-card-demo.js +0 -1
- package/dist/esm/registry/default/example/input-demo.js +0 -1
- package/dist/esm/registry/default/example/input-disabled.js +0 -1
- package/dist/esm/registry/default/example/input-file.js +0 -1
- package/dist/esm/registry/default/example/input-form.js +0 -1
- package/dist/esm/registry/default/example/input-otp-controlled.js +0 -1
- package/dist/esm/registry/default/example/input-otp-demo.js +0 -1
- package/dist/esm/registry/default/example/input-otp-form.js +0 -1
- package/dist/esm/registry/default/example/input-otp-pattern.js +0 -1
- package/dist/esm/registry/default/example/input-otp-separator.js +0 -1
- package/dist/esm/registry/default/example/input-with-button.js +0 -1
- package/dist/esm/registry/default/example/input-with-label.js +0 -1
- package/dist/esm/registry/default/example/input-with-text.js +0 -1
- package/dist/esm/registry/default/example/label-demo.js +0 -1
- package/dist/esm/registry/default/example/menubar-demo.js +0 -1
- package/dist/esm/registry/default/example/mode-toggle.js +0 -1
- package/dist/esm/registry/default/example/navigation-menu-demo.js +0 -1
- package/dist/esm/registry/default/example/pagination-demo.js +0 -1
- package/dist/esm/registry/default/example/popover-demo.js +0 -1
- package/dist/esm/registry/default/example/progress-demo.js +0 -1
- package/dist/esm/registry/default/example/radio-group-demo.js +0 -1
- package/dist/esm/registry/default/example/radio-group-form.js +0 -1
- package/dist/esm/registry/default/example/resizable-demo-with-handle.js +0 -1
- package/dist/esm/registry/default/example/resizable-demo.js +0 -1
- package/dist/esm/registry/default/example/resizable-handle.js +0 -1
- package/dist/esm/registry/default/example/resizable-vertical.js +0 -1
- package/dist/esm/registry/default/example/scroll-area-demo.js +0 -1
- package/dist/esm/registry/default/example/scroll-area-horizontal-demo.js +0 -1
- package/dist/esm/registry/default/example/select-demo.js +0 -1
- package/dist/esm/registry/default/example/select-form.js +0 -1
- package/dist/esm/registry/default/example/select-scrollable.js +0 -1
- package/dist/esm/registry/default/example/separator-demo.js +0 -1
- package/dist/esm/registry/default/example/sheet-demo.js +0 -1
- package/dist/esm/registry/default/example/sheet-side.js +0 -1
- package/dist/esm/registry/default/example/skeleton-card.js +0 -1
- package/dist/esm/registry/default/example/skeleton-demo.js +0 -1
- package/dist/esm/registry/default/example/slider-demo.js +0 -1
- package/dist/esm/registry/default/example/sonner-demo.js +0 -1
- package/dist/esm/registry/default/example/switch-demo.js +0 -1
- package/dist/esm/registry/default/example/switch-form.js +0 -1
- package/dist/esm/registry/default/example/table-demo.js +0 -1
- package/dist/esm/registry/default/example/tabs-demo.js +0 -1
- package/dist/esm/registry/default/example/textarea-demo.js +0 -1
- package/dist/esm/registry/default/example/textarea-disabled.js +0 -1
- package/dist/esm/registry/default/example/textarea-form.js +0 -1
- package/dist/esm/registry/default/example/textarea-with-button.js +0 -1
- package/dist/esm/registry/default/example/textarea-with-label.js +0 -1
- package/dist/esm/registry/default/example/textarea-with-text.js +0 -1
- package/dist/esm/registry/default/example/toast-demo.js +0 -1
- package/dist/esm/registry/default/example/toast-destructive.js +0 -1
- package/dist/esm/registry/default/example/toast-simple.js +0 -1
- package/dist/esm/registry/default/example/toast-with-action.js +0 -1
- package/dist/esm/registry/default/example/toast-with-title.js +0 -1
- package/dist/esm/registry/default/example/toggle-demo.js +0 -1
- package/dist/esm/registry/default/example/toggle-disabled.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-demo.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-disabled.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-lg.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-outline.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-single.js +0 -1
- package/dist/esm/registry/default/example/toggle-group-sm.js +0 -1
- package/dist/esm/registry/default/example/toggle-lg.js +0 -1
- package/dist/esm/registry/default/example/toggle-outline.js +0 -1
- package/dist/esm/registry/default/example/toggle-sm.js +0 -1
- package/dist/esm/registry/default/example/toggle-with-text.js +0 -1
- package/dist/esm/registry/default/example/tooltip-demo.js +0 -1
- package/dist/esm/registry/default/example/typography-blockquote.js +0 -1
- package/dist/esm/registry/default/example/typography-demo.js +0 -1
- package/dist/esm/registry/default/example/typography-h1.js +0 -1
- package/dist/esm/registry/default/example/typography-h2.js +0 -1
- package/dist/esm/registry/default/example/typography-h3.js +0 -1
- package/dist/esm/registry/default/example/typography-h4.js +0 -1
- package/dist/esm/registry/default/example/typography-inline-code.js +0 -1
- package/dist/esm/registry/default/example/typography-large.js +0 -1
- package/dist/esm/registry/default/example/typography-lead.js +0 -1
- package/dist/esm/registry/default/example/typography-list.js +0 -1
- package/dist/esm/registry/default/example/typography-muted.js +0 -1
- package/dist/esm/registry/default/example/typography-p.js +0 -1
- package/dist/esm/registry/default/example/typography-small.js +0 -1
- package/dist/esm/registry/default/example/typography-table.js +0 -1
- package/dist/esm/registry/default/ui/accordion.js +0 -1
- package/dist/esm/registry/default/ui/alert-dialog.js +0 -1
- package/dist/esm/registry/default/ui/alert.js +0 -1
- package/dist/esm/registry/default/ui/aspect-ratio.js +0 -1
- package/dist/esm/registry/default/ui/avatar.js +0 -1
- package/dist/esm/registry/default/ui/badge.js +0 -1
- package/dist/esm/registry/default/ui/breadcrumb.js +0 -1
- package/dist/esm/registry/default/ui/button.js +0 -1
- package/dist/esm/registry/default/ui/calendar.js +0 -1
- package/dist/esm/registry/default/ui/card.js +0 -1
- package/dist/esm/registry/default/ui/carousel.js +0 -1
- package/dist/esm/registry/default/ui/checkbox.js +0 -1
- package/dist/esm/registry/default/ui/collapsible.js +0 -1
- package/dist/esm/registry/default/ui/command.js +0 -1
- package/dist/esm/registry/default/ui/context-menu.js +0 -1
- package/dist/esm/registry/default/ui/dialog.js +0 -1
- package/dist/esm/registry/default/ui/drawer.js +0 -1
- package/dist/esm/registry/default/ui/dropdown-menu.js +0 -1
- package/dist/esm/registry/default/ui/form.js +0 -1
- package/dist/esm/registry/default/ui/hover-card.js +0 -1
- package/dist/esm/registry/default/ui/input-otp.js +0 -1
- package/dist/esm/registry/default/ui/input.js +0 -1
- package/dist/esm/registry/default/ui/label.js +0 -1
- package/dist/esm/registry/default/ui/menubar.js +0 -1
- package/dist/esm/registry/default/ui/navigation-menu.js +0 -1
- package/dist/esm/registry/default/ui/pagination.js +0 -1
- package/dist/esm/registry/default/ui/popover.js +0 -1
- package/dist/esm/registry/default/ui/progress.js +0 -1
- package/dist/esm/registry/default/ui/radio-group.js +0 -1
- package/dist/esm/registry/default/ui/resizable.js +0 -1
- package/dist/esm/registry/default/ui/scroll-area.js +0 -1
- package/dist/esm/registry/default/ui/select.js +0 -1
- package/dist/esm/registry/default/ui/separator.js +0 -1
- package/dist/esm/registry/default/ui/sheet.js +0 -1
- package/dist/esm/registry/default/ui/skeleton.js +0 -1
- package/dist/esm/registry/default/ui/slider.js +0 -1
- package/dist/esm/registry/default/ui/sonner.js +0 -1
- package/dist/esm/registry/default/ui/switch.js +0 -1
- package/dist/esm/registry/default/ui/table.js +0 -1
- package/dist/esm/registry/default/ui/tabs.js +0 -1
- package/dist/esm/registry/default/ui/textarea.js +0 -1
- package/dist/esm/registry/default/ui/toast.js +0 -1
- package/dist/esm/registry/default/ui/toaster.js +0 -1
- package/dist/esm/registry/default/ui/toggle-group.js +0 -1
- package/dist/esm/registry/default/ui/toggle.js +0 -1
- package/dist/esm/registry/default/ui/tooltip.js +0 -1
- package/dist/esm/registry/default/ui/use-toast.js +0 -1
- package/dist/esm/registry/examples.js +0 -1
- package/dist/esm/registry/new-york/block/authentication-01.js +0 -1
- package/dist/esm/registry/new-york/block/authentication-02.js +0 -1
- package/dist/esm/registry/new-york/block/authentication-03.js +0 -1
- package/dist/esm/registry/new-york/block/authentication-04.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-01.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-02.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-03.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-04.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-05.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-06.js +0 -1
- package/dist/esm/registry/new-york/block/dashboard-07.js +0 -1
- package/dist/esm/registry/new-york/example/accordion-demo.js +0 -1
- package/dist/esm/registry/new-york/example/alert-demo.js +0 -1
- package/dist/esm/registry/new-york/example/alert-destructive.js +0 -1
- package/dist/esm/registry/new-york/example/alert-dialog-demo.js +0 -1
- package/dist/esm/registry/new-york/example/aspect-ratio-demo.js +0 -1
- package/dist/esm/registry/new-york/example/avatar-demo.js +0 -1
- package/dist/esm/registry/new-york/example/badge-demo.js +0 -1
- package/dist/esm/registry/new-york/example/badge-destructive.js +0 -1
- package/dist/esm/registry/new-york/example/badge-outline.js +0 -1
- package/dist/esm/registry/new-york/example/badge-secondary.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-demo.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-dropdown.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-ellipsis.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-link.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-responsive.js +0 -1
- package/dist/esm/registry/new-york/example/breadcrumb-separator.js +0 -1
- package/dist/esm/registry/new-york/example/button-as-child.js +0 -1
- package/dist/esm/registry/new-york/example/button-demo.js +0 -1
- package/dist/esm/registry/new-york/example/button-destructive.js +0 -1
- package/dist/esm/registry/new-york/example/button-ghost.js +0 -1
- package/dist/esm/registry/new-york/example/button-icon.js +0 -1
- package/dist/esm/registry/new-york/example/button-link.js +0 -1
- package/dist/esm/registry/new-york/example/button-loading.js +0 -1
- package/dist/esm/registry/new-york/example/button-outline.js +0 -1
- package/dist/esm/registry/new-york/example/button-secondary.js +0 -1
- package/dist/esm/registry/new-york/example/button-with-icon.js +0 -1
- package/dist/esm/registry/new-york/example/calendar-demo.js +0 -1
- package/dist/esm/registry/new-york/example/calendar-form.js +0 -1
- package/dist/esm/registry/new-york/example/card-demo.js +0 -1
- package/dist/esm/registry/new-york/example/card-with-form.js +0 -1
- package/dist/esm/registry/new-york/example/cards/activity-goal.js +0 -1
- package/dist/esm/registry/new-york/example/cards/calendar.js +0 -1
- package/dist/esm/registry/new-york/example/cards/chat.js +0 -1
- package/dist/esm/registry/new-york/example/cards/cookie-settings.js +0 -1
- package/dist/esm/registry/new-york/example/cards/create-account.js +0 -1
- package/dist/esm/registry/new-york/example/cards/data-table.js +0 -1
- package/dist/esm/registry/new-york/example/cards/index.js +0 -1
- package/dist/esm/registry/new-york/example/cards/metric.js +0 -1
- package/dist/esm/registry/new-york/example/cards/payment-method.js +0 -1
- package/dist/esm/registry/new-york/example/cards/report-issue.js +0 -1
- package/dist/esm/registry/new-york/example/cards/share.js +0 -1
- package/dist/esm/registry/new-york/example/cards/stats.js +0 -1
- package/dist/esm/registry/new-york/example/cards/team-members.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-api.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-demo.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-orientation.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-plugin.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-size.js +0 -1
- package/dist/esm/registry/new-york/example/carousel-spacing.js +0 -1
- package/dist/esm/registry/new-york/example/checkbox-demo.js +0 -1
- package/dist/esm/registry/new-york/example/checkbox-disabled.js +0 -1
- package/dist/esm/registry/new-york/example/checkbox-form-multiple.js +0 -1
- package/dist/esm/registry/new-york/example/checkbox-form-single.js +0 -1
- package/dist/esm/registry/new-york/example/checkbox-with-text.js +0 -1
- package/dist/esm/registry/new-york/example/collapsible-demo.js +0 -1
- package/dist/esm/registry/new-york/example/combobox-demo.js +0 -1
- package/dist/esm/registry/new-york/example/combobox-dropdown-menu.js +0 -1
- package/dist/esm/registry/new-york/example/combobox-form.js +0 -1
- package/dist/esm/registry/new-york/example/combobox-popover.js +0 -1
- package/dist/esm/registry/new-york/example/combobox-responsive.js +0 -1
- package/dist/esm/registry/new-york/example/command-demo.js +0 -1
- package/dist/esm/registry/new-york/example/command-dialog.js +0 -1
- package/dist/esm/registry/new-york/example/context-menu-demo.js +0 -1
- package/dist/esm/registry/new-york/example/data-table-demo.js +0 -1
- package/dist/esm/registry/new-york/example/date-picker-demo.js +0 -1
- package/dist/esm/registry/new-york/example/date-picker-form.js +0 -1
- package/dist/esm/registry/new-york/example/date-picker-with-presets.js +0 -1
- package/dist/esm/registry/new-york/example/date-picker-with-range.js +0 -1
- package/dist/esm/registry/new-york/example/dialog-close-button.js +0 -1
- package/dist/esm/registry/new-york/example/dialog-demo.js +0 -1
- package/dist/esm/registry/new-york/example/drawer-demo.js +0 -1
- package/dist/esm/registry/new-york/example/drawer-dialog.js +0 -1
- package/dist/esm/registry/new-york/example/dropdown-menu-checkboxes.js +0 -1
- package/dist/esm/registry/new-york/example/dropdown-menu-demo.js +0 -1
- package/dist/esm/registry/new-york/example/dropdown-menu-radio-group.js +0 -1
- package/dist/esm/registry/new-york/example/hover-card-demo.js +0 -1
- package/dist/esm/registry/new-york/example/input-demo.js +0 -1
- package/dist/esm/registry/new-york/example/input-disabled.js +0 -1
- package/dist/esm/registry/new-york/example/input-file.js +0 -1
- package/dist/esm/registry/new-york/example/input-form.js +0 -1
- package/dist/esm/registry/new-york/example/input-otp-controlled.js +0 -1
- package/dist/esm/registry/new-york/example/input-otp-demo.js +0 -1
- package/dist/esm/registry/new-york/example/input-otp-form.js +0 -1
- package/dist/esm/registry/new-york/example/input-otp-pattern.js +0 -1
- package/dist/esm/registry/new-york/example/input-otp-separator.js +0 -1
- package/dist/esm/registry/new-york/example/input-with-button.js +0 -1
- package/dist/esm/registry/new-york/example/input-with-label.js +0 -1
- package/dist/esm/registry/new-york/example/input-with-text.js +0 -1
- package/dist/esm/registry/new-york/example/label-demo.js +0 -1
- package/dist/esm/registry/new-york/example/menubar-demo.js +0 -1
- package/dist/esm/registry/new-york/example/mode-toggle.js +0 -1
- package/dist/esm/registry/new-york/example/navigation-menu-demo.js +0 -1
- package/dist/esm/registry/new-york/example/pagination-demo.js +0 -1
- package/dist/esm/registry/new-york/example/popover-demo.js +0 -1
- package/dist/esm/registry/new-york/example/progress-demo.js +0 -1
- package/dist/esm/registry/new-york/example/radio-group-demo.js +0 -1
- package/dist/esm/registry/new-york/example/radio-group-form.js +0 -1
- package/dist/esm/registry/new-york/example/resizable-demo-with-handle.js +0 -1
- package/dist/esm/registry/new-york/example/resizable-demo.js +0 -1
- package/dist/esm/registry/new-york/example/resizable-handle.js +0 -1
- package/dist/esm/registry/new-york/example/resizable-vertical.js +0 -1
- package/dist/esm/registry/new-york/example/scroll-area-demo.js +0 -1
- package/dist/esm/registry/new-york/example/scroll-area-horizontal-demo.js +0 -1
- package/dist/esm/registry/new-york/example/select-demo.js +0 -1
- package/dist/esm/registry/new-york/example/select-form.js +0 -1
- package/dist/esm/registry/new-york/example/select-scrollable.js +0 -1
- package/dist/esm/registry/new-york/example/separator-demo.js +0 -1
- package/dist/esm/registry/new-york/example/sheet-demo.js +0 -1
- package/dist/esm/registry/new-york/example/sheet-side.js +0 -1
- package/dist/esm/registry/new-york/example/skeleton-card.js +0 -1
- package/dist/esm/registry/new-york/example/skeleton-demo.js +0 -1
- package/dist/esm/registry/new-york/example/slider-demo.js +0 -1
- package/dist/esm/registry/new-york/example/sonner-demo.js +0 -1
- package/dist/esm/registry/new-york/example/switch-demo.js +0 -1
- package/dist/esm/registry/new-york/example/switch-form.js +0 -1
- package/dist/esm/registry/new-york/example/table-demo.js +0 -1
- package/dist/esm/registry/new-york/example/tabs-demo.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-demo.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-disabled.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-form.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-with-button.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-with-label.js +0 -1
- package/dist/esm/registry/new-york/example/textarea-with-text.js +0 -1
- package/dist/esm/registry/new-york/example/toast-demo.js +0 -1
- package/dist/esm/registry/new-york/example/toast-destructive.js +0 -1
- package/dist/esm/registry/new-york/example/toast-simple.js +0 -1
- package/dist/esm/registry/new-york/example/toast-with-action.js +0 -1
- package/dist/esm/registry/new-york/example/toast-with-title.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-demo.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-disabled.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-demo.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-disabled.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-lg.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-outline.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-single.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-group-sm.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-lg.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-outline.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-sm.js +0 -1
- package/dist/esm/registry/new-york/example/toggle-with-text.js +0 -1
- package/dist/esm/registry/new-york/example/tooltip-demo.js +0 -1
- package/dist/esm/registry/new-york/example/typography-blockquote.js +0 -1
- package/dist/esm/registry/new-york/example/typography-demo.js +0 -1
- package/dist/esm/registry/new-york/example/typography-h1.js +0 -1
- package/dist/esm/registry/new-york/example/typography-h2.js +0 -1
- package/dist/esm/registry/new-york/example/typography-h3.js +0 -1
- package/dist/esm/registry/new-york/example/typography-h4.js +0 -1
- package/dist/esm/registry/new-york/example/typography-inline-code.js +0 -1
- package/dist/esm/registry/new-york/example/typography-large.js +0 -1
- package/dist/esm/registry/new-york/example/typography-lead.js +0 -1
- package/dist/esm/registry/new-york/example/typography-list.js +0 -1
- package/dist/esm/registry/new-york/example/typography-muted.js +0 -1
- package/dist/esm/registry/new-york/example/typography-p.js +0 -1
- package/dist/esm/registry/new-york/example/typography-small.js +0 -1
- package/dist/esm/registry/new-york/example/typography-table.js +0 -1
- package/dist/esm/registry/new-york/ui/accordion.js +0 -1
- package/dist/esm/registry/new-york/ui/alert-dialog.js +0 -1
- package/dist/esm/registry/new-york/ui/alert.js +0 -1
- package/dist/esm/registry/new-york/ui/aspect-ratio.js +0 -1
- package/dist/esm/registry/new-york/ui/avatar.js +0 -1
- package/dist/esm/registry/new-york/ui/badge.js +0 -1
- package/dist/esm/registry/new-york/ui/breadcrumb.js +0 -1
- package/dist/esm/registry/new-york/ui/button.js +0 -1
- package/dist/esm/registry/new-york/ui/calendar.js +0 -1
- package/dist/esm/registry/new-york/ui/card.js +0 -1
- package/dist/esm/registry/new-york/ui/carousel.js +0 -1
- package/dist/esm/registry/new-york/ui/checkbox.js +0 -1
- package/dist/esm/registry/new-york/ui/collapsible.js +0 -1
- package/dist/esm/registry/new-york/ui/command.js +0 -1
- package/dist/esm/registry/new-york/ui/context-menu.js +0 -1
- package/dist/esm/registry/new-york/ui/dialog.js +0 -1
- package/dist/esm/registry/new-york/ui/drawer.js +0 -1
- package/dist/esm/registry/new-york/ui/dropdown-menu.js +0 -1
- package/dist/esm/registry/new-york/ui/form.js +0 -1
- package/dist/esm/registry/new-york/ui/hover-card.js +0 -1
- package/dist/esm/registry/new-york/ui/input-otp.js +0 -1
- package/dist/esm/registry/new-york/ui/input.js +0 -1
- package/dist/esm/registry/new-york/ui/label.js +0 -1
- package/dist/esm/registry/new-york/ui/menubar.js +0 -1
- package/dist/esm/registry/new-york/ui/navigation-menu.js +0 -1
- package/dist/esm/registry/new-york/ui/pagination.js +0 -1
- package/dist/esm/registry/new-york/ui/popover.js +0 -1
- package/dist/esm/registry/new-york/ui/progress.js +0 -1
- package/dist/esm/registry/new-york/ui/radio-group.js +0 -1
- package/dist/esm/registry/new-york/ui/resizable.js +0 -1
- package/dist/esm/registry/new-york/ui/scroll-area.js +0 -1
- package/dist/esm/registry/new-york/ui/select.js +0 -1
- package/dist/esm/registry/new-york/ui/separator.js +0 -1
- package/dist/esm/registry/new-york/ui/sheet.js +0 -1
- package/dist/esm/registry/new-york/ui/skeleton.js +0 -1
- package/dist/esm/registry/new-york/ui/slider.js +0 -1
- package/dist/esm/registry/new-york/ui/sonner.js +0 -1
- package/dist/esm/registry/new-york/ui/switch.js +0 -1
- package/dist/esm/registry/new-york/ui/table.js +0 -1
- package/dist/esm/registry/new-york/ui/tabs.js +0 -1
- package/dist/esm/registry/new-york/ui/textarea.js +0 -1
- package/dist/esm/registry/new-york/ui/toast.js +0 -1
- package/dist/esm/registry/new-york/ui/toaster.js +0 -1
- package/dist/esm/registry/new-york/ui/toggle-group.js +0 -1
- package/dist/esm/registry/new-york/ui/toggle.js +0 -1
- package/dist/esm/registry/new-york/ui/tooltip.js +0 -1
- package/dist/esm/registry/new-york/ui/use-toast.js +0 -1
- package/dist/esm/registry/registry.js +0 -1
- package/dist/esm/registry/schema.js +0 -1
- package/dist/esm/registry/styles.js +0 -1
- package/dist/esm/registry/themes.js +0 -1
- package/dist/esm/registry/ui.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o=[{name:"dashboard-05",type:"components:block",registryDependencies:["badge","breadcrumb","button","card","dropdown-menu","input","pagination","progress","separator","sheet","table","tabs","tooltip"],files:["block/dashboard-05.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-06",type:"components:block",registryDependencies:["badge","breadcrumb","button","card","dropdown-menu","input","sheet","table","tabs","tooltip"],files:["block/dashboard-06.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-07",type:"components:block",registryDependencies:["badge","breadcrumb","button","card","dropdown-menu","input","pagination","progress","separator","sheet","table","tabs","tooltip"],files:["block/dashboard-07.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-01",type:"components:block",registryDependencies:["button","dropdown-menu","input","sheet"],files:["block/dashboard-01.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-02",type:"components:block",registryDependencies:["badge","button","card","dropdown-menu","input"],files:["block/dashboard-02.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-03",type:"components:block",registryDependencies:["badge","button","drawer","input","label","select","textarea","tooltip"],files:["block/dashboard-03.tsx"],category:"Application",subcategory:"Dashboard"},{name:"dashboard-04",type:"components:block",registryDependencies:["button","card","dropdown-menu","input"],files:["block/dashboard-04.tsx"],category:"Application",subcategory:"Dashboard"},{name:"authentication-01",type:"components:block",registryDependencies:["button","card","input","label"],files:["block/authentication-01.tsx"],category:"Authentication",subcategory:"Login"},{name:"authentication-02",type:"components:block",registryDependencies:["button","card","input","label"],files:["block/authentication-02.tsx"],category:"Authentication",subcategory:"Login"},{name:"authentication-03",type:"components:block",registryDependencies:["button","card","input","label"],files:["block/authentication-03.tsx"],category:"Authentication",subcategory:"Login"},{name:"authentication-04",type:"components:block",registryDependencies:["button","card","input","label"],files:["block/authentication-04.tsx"],category:"Authentication",subcategory:"Login"}];export{o as blocks};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const s={inherit:"inherit",current:"currentColor",transparent:"transparent",black:{hex:"#000000",rgb:"rgb(0,0,0)",hsl:"hsl(0,0%,0%)"},white:{hex:"#ffffff",rgb:"rgb(255,255,255)",hsl:"hsl(0,0%,100%)"},slate:[{scale:50,hex:"#f8fafc",rgb:"rgb(248,250,252)",hsl:"hsl(210,40%,98%)"},{scale:100,hex:"#f1f5f9",rgb:"rgb(241,245,249)",hsl:"hsl(210,40%,96.1%)"},{scale:200,hex:"#e2e8f0",rgb:"rgb(226,232,240)",hsl:"hsl(214.3,31.8%,91.4%)"},{scale:300,hex:"#cbd5e1",rgb:"rgb(203,213,225)",hsl:"hsl(212.7,26.8%,83.9%)"},{scale:400,hex:"#94a3b8",rgb:"rgb(148,163,184)",hsl:"hsl(215,20.2%,65.1%)"},{scale:500,hex:"#64748b",rgb:"rgb(100,116,139)",hsl:"hsl(215.4,16.3%,46.9%)"},{scale:600,hex:"#475569",rgb:"rgb(71,85,105)",hsl:"hsl(215.3,19.3%,34.5%)"},{scale:700,hex:"#334155",rgb:"rgb(51,65,85)",hsl:"hsl(215.3,25%,26.7%)"},{scale:800,hex:"#1e293b",rgb:"rgb(30,41,59)",hsl:"hsl(217.2,32.6%,17.5%)"},{scale:900,hex:"#0f172a",rgb:"rgb(15,23,42)",hsl:"hsl(222.2,47.4%,11.2%)"},{scale:950,hex:"#020617",rgb:"rgb(2,6,23)",hsl:"hsl(222.2,84%,4.9%)"}],gray:[{scale:50,hex:"#f9fafb",rgb:"rgb(249,250,251)",hsl:"hsl(210,20%,98%)"},{scale:100,hex:"#f3f4f6",rgb:"rgb(243,244,246)",hsl:"hsl(220,14.3%,95.9%)"},{scale:200,hex:"#e5e7eb",rgb:"rgb(229,231,235)",hsl:"hsl(220,13%,91%)"},{scale:300,hex:"#d1d5db",rgb:"rgb(209,213,219)",hsl:"hsl(216,12.2%,83.9%)"},{scale:400,hex:"#9ca3af",rgb:"rgb(156,163,175)",hsl:"hsl(217.9,10.6%,64.9%)"},{scale:500,hex:"#6b7280",rgb:"rgb(107,114,128)",hsl:"hsl(220,8.9%,46.1%)"},{scale:600,hex:"#4b5563",rgb:"rgb(75,85,99)",hsl:"hsl(215,13.8%,34.1%)"},{scale:700,hex:"#374151",rgb:"rgb(55,65,81)",hsl:"hsl(216.9,19.1%,26.7%)"},{scale:800,hex:"#1f2937",rgb:"rgb(31,41,55)",hsl:"hsl(215,27.9%,16.9%)"},{scale:900,hex:"#111827",rgb:"rgb(17,24,39)",hsl:"hsl(220.9,39.3%,11%)"},{scale:950,hex:"#030712",rgb:"rgb(3,7,18)",hsl:"hsl(224,71.4%,4.1%)"}],zinc:[{scale:50,hex:"#fafafa",rgb:"rgb(250,250,250)",hsl:"hsl(0,0%,98%)"},{scale:100,hex:"#f4f4f5",rgb:"rgb(244,244,245)",hsl:"hsl(240,4.8%,95.9%)"},{scale:200,hex:"#e4e4e7",rgb:"rgb(228,228,231)",hsl:"hsl(240,5.9%,90%)"},{scale:300,hex:"#d4d4d8",rgb:"rgb(212,212,216)",hsl:"hsl(240,4.9%,83.9%)"},{scale:400,hex:"#a1a1aa",rgb:"rgb(161,161,170)",hsl:"hsl(240,5%,64.9%)"},{scale:500,hex:"#71717a",rgb:"rgb(113,113,122)",hsl:"hsl(240,3.8%,46.1%)"},{scale:600,hex:"#52525b",rgb:"rgb(82,82,91)",hsl:"hsl(240,5.2%,33.9%)"},{scale:700,hex:"#3f3f46",rgb:"rgb(63,63,70)",hsl:"hsl(240,5.3%,26.1%)"},{scale:800,hex:"#27272a",rgb:"rgb(39,39,42)",hsl:"hsl(240,3.7%,15.9%)"},{scale:900,hex:"#18181b",rgb:"rgb(24,24,27)",hsl:"hsl(240,5.9%,10%)"},{scale:950,hex:"#09090b",rgb:"rgb(9,9,11)",hsl:"hsl(240,10%,3.9%)"}],neutral:[{scale:50,hex:"#fafafa",rgb:"rgb(250,250,250)",hsl:"hsl(0,0%,98%)"},{scale:100,hex:"#f5f5f5",rgb:"rgb(245,245,245)",hsl:"hsl(0,0%,96.1%)"},{scale:200,hex:"#e5e5e5",rgb:"rgb(229,229,229)",hsl:"hsl(0,0%,89.8%)"},{scale:300,hex:"#d4d4d4",rgb:"rgb(212,212,212)",hsl:"hsl(0,0%,83.1%)"},{scale:400,hex:"#a3a3a3",rgb:"rgb(163,163,163)",hsl:"hsl(0,0%,63.9%)"},{scale:500,hex:"#737373",rgb:"rgb(115,115,115)",hsl:"hsl(0,0%,45.1%)"},{scale:600,hex:"#525252",rgb:"rgb(82,82,82)",hsl:"hsl(0,0%,32.2%)"},{scale:700,hex:"#404040",rgb:"rgb(64,64,64)",hsl:"hsl(0,0%,25.1%)"},{scale:800,hex:"#262626",rgb:"rgb(38,38,38)",hsl:"hsl(0,0%,14.9%)"},{scale:900,hex:"#171717",rgb:"rgb(23,23,23)",hsl:"hsl(0,0%,9%)"},{scale:950,hex:"#0a0a0a",rgb:"rgb(10,10,10)",hsl:"hsl(0,0%,3.9%)"}],stone:[{scale:50,hex:"#fafaf9",rgb:"rgb(250,250,249)",hsl:"hsl(60,9.1%,97.8%)"},{scale:100,hex:"#f5f5f4",rgb:"rgb(245,245,244)",hsl:"hsl(60,4.8%,95.9%)"},{scale:200,hex:"#e7e5e4",rgb:"rgb(231,229,228)",hsl:"hsl(20,5.9%,90%)"},{scale:300,hex:"#d6d3d1",rgb:"rgb(214,211,209)",hsl:"hsl(24,5.7%,82.9%)"},{scale:400,hex:"#a8a29e",rgb:"rgb(168,162,158)",hsl:"hsl(24,5.4%,63.9%)"},{scale:500,hex:"#78716c",rgb:"rgb(120,113,108)",hsl:"hsl(25,5.3%,44.7%)"},{scale:600,hex:"#57534e",rgb:"rgb(87,83,78)",hsl:"hsl(33.3,5.5%,32.4%)"},{scale:700,hex:"#44403c",rgb:"rgb(68,64,60)",hsl:"hsl(30,6.3%,25.1%)"},{scale:800,hex:"#292524",rgb:"rgb(41,37,36)",hsl:"hsl(12,6.5%,15.1%)"},{scale:900,hex:"#1c1917",rgb:"rgb(28,25,23)",hsl:"hsl(24,9.8%,10%)"},{scale:950,hex:"#0c0a09",rgb:"rgb(12,10,9)",hsl:"hsl(20,14.3%,4.1%)"}],red:[{scale:50,hex:"#fef2f2",rgb:"rgb(254,242,242)",hsl:"hsl(0,85.7%,97.3%)"},{scale:100,hex:"#fee2e2",rgb:"rgb(254,226,226)",hsl:"hsl(0,93.3%,94.1%)"},{scale:200,hex:"#fecaca",rgb:"rgb(254,202,202)",hsl:"hsl(0,96.3%,89.4%)"},{scale:300,hex:"#fca5a5",rgb:"rgb(252,165,165)",hsl:"hsl(0,93.5%,81.8%)"},{scale:400,hex:"#f87171",rgb:"rgb(248,113,113)",hsl:"hsl(0,90.6%,70.8%)"},{scale:500,hex:"#ef4444",rgb:"rgb(239,68,68)",hsl:"hsl(0,84.2%,60.2%)"},{scale:600,hex:"#dc2626",rgb:"rgb(220,38,38)",hsl:"hsl(0,72.2%,50.6%)"},{scale:700,hex:"#b91c1c",rgb:"rgb(185,28,28)",hsl:"hsl(0,73.7%,41.8%)"},{scale:800,hex:"#991b1b",rgb:"rgb(153,27,27)",hsl:"hsl(0,70%,35.3%)"},{scale:900,hex:"#7f1d1d",rgb:"rgb(127,29,29)",hsl:"hsl(0,62.8%,30.6%)"},{scale:950,hex:"#450a0a",rgb:"rgb(69,10,10)",hsl:"hsl(0,74.7%,15.5%)"}],orange:[{scale:50,hex:"#fff7ed",rgb:"rgb(255,247,237)",hsl:"hsl(33.3,100%,96.5%)"},{scale:100,hex:"#ffedd5",rgb:"rgb(255,237,213)",hsl:"hsl(34.3,100%,91.8%)"},{scale:200,hex:"#fed7aa",rgb:"rgb(254,215,170)",hsl:"hsl(32.1,97.7%,83.1%)"},{scale:300,hex:"#fdba74",rgb:"rgb(253,186,116)",hsl:"hsl(30.7,97.2%,72.4%)"},{scale:400,hex:"#fb923c",rgb:"rgb(251,146,60)",hsl:"hsl(27,96%,61%)"},{scale:500,hex:"#f97316",rgb:"rgb(249,115,22)",hsl:"hsl(24.6,95%,53.1%)"},{scale:600,hex:"#ea580c",rgb:"rgb(234,88,12)",hsl:"hsl(20.5,90.2%,48.2%)"},{scale:700,hex:"#c2410c",rgb:"rgb(194,65,12)",hsl:"hsl(17.5,88.3%,40.4%)"},{scale:800,hex:"#9a3412",rgb:"rgb(154,52,18)",hsl:"hsl(15,79.1%,33.7%)"},{scale:900,hex:"#7c2d12",rgb:"rgb(124,45,18)",hsl:"hsl(15.3,74.6%,27.8%)"},{scale:950,hex:"#431407",rgb:"rgb(67,20,7)",hsl:"hsl(13,81.1%,14.5%)"}],amber:[{scale:50,hex:"#fffbeb",rgb:"rgb(255,251,235)",hsl:"hsl(48,100%,96.1%)"},{scale:100,hex:"#fef3c7",rgb:"rgb(254,243,199)",hsl:"hsl(48,96.5%,88.8%)"},{scale:200,hex:"#fde68a",rgb:"rgb(253,230,138)",hsl:"hsl(48,96.6%,76.7%)"},{scale:300,hex:"#fcd34d",rgb:"rgb(252,211,77)",hsl:"hsl(45.9,96.7%,64.5%)"},{scale:400,hex:"#fbbf24",rgb:"rgb(251,191,36)",hsl:"hsl(43.3,96.4%,56.3%)"},{scale:500,hex:"#f59e0b",rgb:"rgb(245,158,11)",hsl:"hsl(37.7,92.1%,50.2%)"},{scale:600,hex:"#d97706",rgb:"rgb(217,119,6)",hsl:"hsl(32.1,94.6%,43.7%)"},{scale:700,hex:"#b45309",rgb:"rgb(180,83,9)",hsl:"hsl(26,90.5%,37.1%)"},{scale:800,hex:"#92400e",rgb:"rgb(146,64,14)",hsl:"hsl(22.7,82.5%,31.4%)"},{scale:900,hex:"#78350f",rgb:"rgb(120,53,15)",hsl:"hsl(21.7,77.8%,26.5%)"},{scale:950,hex:"#451a03",rgb:"rgb(69,26,3)",hsl:"hsl(20.9,91.7%,14.1%)"}],yellow:[{scale:50,hex:"#fefce8",rgb:"rgb(254,252,232)",hsl:"hsl(54.5,91.7%,95.3%)"},{scale:100,hex:"#fef9c3",rgb:"rgb(254,249,195)",hsl:"hsl(54.9,96.7%,88%)"},{scale:200,hex:"#fef08a",rgb:"rgb(254,240,138)",hsl:"hsl(52.8,98.3%,76.9%)"},{scale:300,hex:"#fde047",rgb:"rgb(253,224,71)",hsl:"hsl(50.4,97.8%,63.5%)"},{scale:400,hex:"#facc15",rgb:"rgb(250,204,21)",hsl:"hsl(47.9,95.8%,53.1%)"},{scale:500,hex:"#eab308",rgb:"rgb(234,179,8)",hsl:"hsl(45.4,93.4%,47.5%)"},{scale:600,hex:"#ca8a04",rgb:"rgb(202,138,4)",hsl:"hsl(40.6,96.1%,40.4%)"},{scale:700,hex:"#a16207",rgb:"rgb(161,98,7)",hsl:"hsl(35.5,91.7%,32.9%)"},{scale:800,hex:"#854d0e",rgb:"rgb(133,77,14)",hsl:"hsl(31.8,81%,28.8%)"},{scale:900,hex:"#713f12",rgb:"rgb(113,63,18)",hsl:"hsl(28.4,72.5%,25.7%)"},{scale:950,hex:"#422006",rgb:"rgb(66,32,6)",hsl:"hsl(26,83.3%,14.1%)"}],lime:[{scale:50,hex:"#f7fee7",rgb:"rgb(247,254,231)",hsl:"hsl(78.3,92%,95.1%)"},{scale:100,hex:"#ecfccb",rgb:"rgb(236,252,203)",hsl:"hsl(79.6,89.1%,89.2%)"},{scale:200,hex:"#d9f99d",rgb:"rgb(217,249,157)",hsl:"hsl(80.9,88.5%,79.6%)"},{scale:300,hex:"#bef264",rgb:"rgb(190,242,100)",hsl:"hsl(82,84.5%,67.1%)"},{scale:400,hex:"#a3e635",rgb:"rgb(163,230,53)",hsl:"hsl(82.7,78%,55.5%)"},{scale:500,hex:"#84cc16",rgb:"rgb(132,204,22)",hsl:"hsl(83.7,80.5%,44.3%)"},{scale:600,hex:"#65a30d",rgb:"rgb(101,163,13)",hsl:"hsl(84.8,85.2%,34.5%)"},{scale:700,hex:"#4d7c0f",rgb:"rgb(77,124,15)",hsl:"hsl(85.9,78.4%,27.3%)"},{scale:800,hex:"#3f6212",rgb:"rgb(63,98,18)",hsl:"hsl(86.3,69%,22.7%)"},{scale:900,hex:"#365314",rgb:"rgb(54,83,20)",hsl:"hsl(87.6,61.2%,20.2%)"},{scale:950,hex:"#1a2e05",rgb:"rgb(26,46,5)",hsl:"hsl(89.3,80.4%,10%)"}],green:[{scale:50,hex:"#f0fdf4",rgb:"rgb(240,253,244)",hsl:"hsl(138.5,76.5%,96.7%)"},{scale:100,hex:"#dcfce7",rgb:"rgb(220,252,231)",hsl:"hsl(140.6,84.2%,92.5%)"},{scale:200,hex:"#bbf7d0",rgb:"rgb(187,247,208)",hsl:"hsl(141,78.9%,85.1%)"},{scale:300,hex:"#86efac",rgb:"rgb(134,239,172)",hsl:"hsl(141.7,76.6%,73.1%)"},{scale:400,hex:"#4ade80",rgb:"rgb(74,222,128)",hsl:"hsl(141.9,69.2%,58%)"},{scale:500,hex:"#22c55e",rgb:"rgb(34,197,94)",hsl:"hsl(142.1,70.6%,45.3%)"},{scale:600,hex:"#16a34a",rgb:"rgb(22,163,74)",hsl:"hsl(142.1,76.2%,36.3%)"},{scale:700,hex:"#15803d",rgb:"rgb(21,128,61)",hsl:"hsl(142.4,71.8%,29.2%)"},{scale:800,hex:"#166534",rgb:"rgb(22,101,52)",hsl:"hsl(142.8,64.2%,24.1%)"},{scale:900,hex:"#14532d",rgb:"rgb(20,83,45)",hsl:"hsl(143.8,61.2%,20.2%)"},{scale:950,hex:"#052e16",rgb:"rgb(5,46,22)",hsl:"hsl(144.9,80.4%,10%)"}],emerald:[{scale:50,hex:"#ecfdf5",rgb:"rgb(236,253,245)",hsl:"hsl(151.8,81%,95.9%)"},{scale:100,hex:"#d1fae5",rgb:"rgb(209,250,229)",hsl:"hsl(149.3,80.4%,90%)"},{scale:200,hex:"#a7f3d0",rgb:"rgb(167,243,208)",hsl:"hsl(152.4,76%,80.4%)"},{scale:300,hex:"#6ee7b7",rgb:"rgb(110,231,183)",hsl:"hsl(156.2,71.6%,66.9%)"},{scale:400,hex:"#34d399",rgb:"rgb(52,211,153)",hsl:"hsl(158.1,64.4%,51.6%)"},{scale:500,hex:"#10b981",rgb:"rgb(16,185,129)",hsl:"hsl(160.1,84.1%,39.4%)"},{scale:600,hex:"#059669",rgb:"rgb(5,150,105)",hsl:"hsl(161.4,93.5%,30.4%)"},{scale:700,hex:"#047857",rgb:"rgb(4,120,87)",hsl:"hsl(162.9,93.5%,24.3%)"},{scale:800,hex:"#065f46",rgb:"rgb(6,95,70)",hsl:"hsl(163.1,88.1%,19.8%)"},{scale:900,hex:"#064e3b",rgb:"rgb(6,78,59)",hsl:"hsl(164.2,85.7%,16.5%)"},{scale:950,hex:"#022c22",rgb:"rgb(2,44,34)",hsl:"hsl(165.7,91.3%,9%)"}],teal:[{scale:50,hex:"#f0fdfa",rgb:"rgb(240,253,250)",hsl:"hsl(166.2,76.5%,96.7%)"},{scale:100,hex:"#ccfbf1",rgb:"rgb(204,251,241)",hsl:"hsl(167.2,85.5%,89.2%)"},{scale:200,hex:"#99f6e4",rgb:"rgb(153,246,228)",hsl:"hsl(168.4,83.8%,78.2%)"},{scale:300,hex:"#5eead4",rgb:"rgb(94,234,212)",hsl:"hsl(170.6,76.9%,64.3%)"},{scale:400,hex:"#2dd4bf",rgb:"rgb(45,212,191)",hsl:"hsl(172.5,66%,50.4%)"},{scale:500,hex:"#14b8a6",rgb:"rgb(20,184,166)",hsl:"hsl(173.4,80.4%,40%)"},{scale:600,hex:"#0d9488",rgb:"rgb(13,148,136)",hsl:"hsl(174.7,83.9%,31.6%)"},{scale:700,hex:"#0f766e",rgb:"rgb(15,118,110)",hsl:"hsl(175.3,77.4%,26.1%)"},{scale:800,hex:"#115e59",rgb:"rgb(17,94,89)",hsl:"hsl(176.1,69.4%,21.8%)"},{scale:900,hex:"#134e4a",rgb:"rgb(19,78,74)",hsl:"hsl(175.9,60.8%,19%)"},{scale:950,hex:"#042f2e",rgb:"rgb(4,47,46)",hsl:"hsl(178.6,84.3%,10%)"}],cyan:[{scale:50,hex:"#ecfeff",rgb:"rgb(236,254,255)",hsl:"hsl(183.2,100%,96.3%)"},{scale:100,hex:"#cffafe",rgb:"rgb(207,250,254)",hsl:"hsl(185.1,95.9%,90.4%)"},{scale:200,hex:"#a5f3fc",rgb:"rgb(165,243,252)",hsl:"hsl(186.2,93.5%,81.8%)"},{scale:300,hex:"#67e8f9",rgb:"rgb(103,232,249)",hsl:"hsl(187,92.4%,69%)"},{scale:400,hex:"#22d3ee",rgb:"rgb(34,211,238)",hsl:"hsl(187.9,85.7%,53.3%)"},{scale:500,hex:"#06b6d4",rgb:"rgb(6,182,212)",hsl:"hsl(188.7,94.5%,42.7%)"},{scale:600,hex:"#0891b2",rgb:"rgb(8,145,178)",hsl:"hsl(191.6,91.4%,36.5%)"},{scale:700,hex:"#0e7490",rgb:"rgb(14,116,144)",hsl:"hsl(192.9,82.3%,31%)"},{scale:800,hex:"#155e75",rgb:"rgb(21,94,117)",hsl:"hsl(194.4,69.6%,27.1%)"},{scale:900,hex:"#164e63",rgb:"rgb(22,78,99)",hsl:"hsl(196.4,63.6%,23.7%)"},{scale:950,hex:"#083344",rgb:"rgb(8,51,68)",hsl:"hsl(197,78.9%,14.9%)"}],sky:[{scale:50,hex:"#f0f9ff",rgb:"rgb(240,249,255)",hsl:"hsl(204,100%,97.1%)"},{scale:100,hex:"#e0f2fe",rgb:"rgb(224,242,254)",hsl:"hsl(204,93.8%,93.7%)"},{scale:200,hex:"#bae6fd",rgb:"rgb(186,230,253)",hsl:"hsl(200.6,94.4%,86.1%)"},{scale:300,hex:"#7dd3fc",rgb:"rgb(125,211,252)",hsl:"hsl(199.4,95.5%,73.9%)"},{scale:400,hex:"#38bdf8",rgb:"rgb(56,189,248)",hsl:"hsl(198.4,93.2%,59.6%)"},{scale:500,hex:"#0ea5e9",rgb:"rgb(14,165,233)",hsl:"hsl(198.6,88.7%,48.4%)"},{scale:600,hex:"#0284c7",rgb:"rgb(2,132,199)",hsl:"hsl(200.4,98%,39.4%)"},{scale:700,hex:"#0369a1",rgb:"rgb(3,105,161)",hsl:"hsl(201.3,96.3%,32.2%)"},{scale:800,hex:"#075985",rgb:"rgb(7,89,133)",hsl:"hsl(201,90%,27.5%)"},{scale:900,hex:"#0c4a6e",rgb:"rgb(12,74,110)",hsl:"hsl(202,80.3%,23.9%)"},{scale:950,hex:"#082f49",rgb:"rgb(8,47,73)",hsl:"hsl(204,80.2%,15.9%)"}],blue:[{scale:50,hex:"#eff6ff",rgb:"rgb(239,246,255)",hsl:"hsl(213.8,100%,96.9%)"},{scale:100,hex:"#dbeafe",rgb:"rgb(219,234,254)",hsl:"hsl(214.3,94.6%,92.7%)"},{scale:200,hex:"#bfdbfe",rgb:"rgb(191,219,254)",hsl:"hsl(213.3,96.9%,87.3%)"},{scale:300,hex:"#93c5fd",rgb:"rgb(147,197,253)",hsl:"hsl(211.7,96.4%,78.4%)"},{scale:400,hex:"#60a5fa",rgb:"rgb(96,165,250)",hsl:"hsl(213.1,93.9%,67.8%)"},{scale:500,hex:"#3b82f6",rgb:"rgb(59,130,246)",hsl:"hsl(217.2,91.2%,59.8%)"},{scale:600,hex:"#2563eb",rgb:"rgb(37,99,235)",hsl:"hsl(221.2,83.2%,53.3%)"},{scale:700,hex:"#1d4ed8",rgb:"rgb(29,78,216)",hsl:"hsl(224.3,76.3%,48%)"},{scale:800,hex:"#1e40af",rgb:"rgb(30,64,175)",hsl:"hsl(225.9,70.7%,40.2%)"},{scale:900,hex:"#1e3a8a",rgb:"rgb(30,58,138)",hsl:"hsl(224.4,64.3%,32.9%)"},{scale:950,hex:"#172554",rgb:"rgb(23,37,84)",hsl:"hsl(226.2,57%,21%)"}],indigo:[{scale:50,hex:"#eef2ff",rgb:"rgb(238,242,255)",hsl:"hsl(225.9,100%,96.7%)"},{scale:100,hex:"#e0e7ff",rgb:"rgb(224,231,255)",hsl:"hsl(226.5,100%,93.9%)"},{scale:200,hex:"#c7d2fe",rgb:"rgb(199,210,254)",hsl:"hsl(228,96.5%,88.8%)"},{scale:300,hex:"#a5b4fc",rgb:"rgb(165,180,252)",hsl:"hsl(229.7,93.5%,81.8%)"},{scale:400,hex:"#818cf8",rgb:"rgb(129,140,248)",hsl:"hsl(234.5,89.5%,73.9%)"},{scale:500,hex:"#6366f1",rgb:"rgb(99,102,241)",hsl:"hsl(238.7,83.5%,66.7%)"},{scale:600,hex:"#4f46e5",rgb:"rgb(79,70,229)",hsl:"hsl(243.4,75.4%,58.6%)"},{scale:700,hex:"#4338ca",rgb:"rgb(67,56,202)",hsl:"hsl(244.5,57.9%,50.6%)"},{scale:800,hex:"#3730a3",rgb:"rgb(55,48,163)",hsl:"hsl(243.7,54.5%,41.4%)"},{scale:900,hex:"#312e81",rgb:"rgb(49,46,129)",hsl:"hsl(242.2,47.4%,34.3%)"},{scale:950,hex:"#1e1b4b",rgb:"rgb(30,27,75)",hsl:"hsl(243.8,47.1%,20%)"}],violet:[{scale:50,hex:"#f5f3ff",rgb:"rgb(245,243,255)",hsl:"hsl(250,100%,97.6%)"},{scale:100,hex:"#ede9fe",rgb:"rgb(237,233,254)",hsl:"hsl(251.4,91.3%,95.5%)"},{scale:200,hex:"#ddd6fe",rgb:"rgb(221,214,254)",hsl:"hsl(250.5,95.2%,91.8%)"},{scale:300,hex:"#c4b5fd",rgb:"rgb(196,181,253)",hsl:"hsl(252.5,94.7%,85.1%)"},{scale:400,hex:"#a78bfa",rgb:"rgb(167,139,250)",hsl:"hsl(255.1,91.7%,76.3%)"},{scale:500,hex:"#8b5cf6",rgb:"rgb(139,92,246)",hsl:"hsl(258.3,89.5%,66.3%)"},{scale:600,hex:"#7c3aed",rgb:"rgb(124,58,237)",hsl:"hsl(262.1,83.3%,57.8%)"},{scale:700,hex:"#6d28d9",rgb:"rgb(109,40,217)",hsl:"hsl(263.4,70%,50.4%)"},{scale:800,hex:"#5b21b6",rgb:"rgb(91,33,182)",hsl:"hsl(263.4,69.3%,42.2%)"},{scale:900,hex:"#4c1d95",rgb:"rgb(76,29,149)",hsl:"hsl(263.5,67.4%,34.9%)"},{scale:950,hex:"#1e1b4b",rgb:"rgb(46,16,101)",hsl:"hsl(261.2,72.6%,22.9%)"}],purple:[{scale:50,hex:"#faf5ff",rgb:"rgb(250,245,255)",hsl:"hsl(270,100%,98%)"},{scale:100,hex:"#f3e8ff",rgb:"rgb(243,232,255)",hsl:"hsl(268.7,100%,95.5%)"},{scale:200,hex:"#e9d5ff",rgb:"rgb(233,213,255)",hsl:"hsl(268.6,100%,91.8%)"},{scale:300,hex:"#d8b4fe",rgb:"rgb(216,180,254)",hsl:"hsl(269.2,97.4%,85.1%)"},{scale:400,hex:"#c084fc",rgb:"rgb(192,132,252)",hsl:"hsl(270,95.2%,75.3%)"},{scale:500,hex:"#a855f7",rgb:"rgb(168,85,247)",hsl:"hsl(270.7,91%,65.1%)"},{scale:600,hex:"#9333ea",rgb:"rgb(147,51,234)",hsl:"hsl(271.5,81.3%,55.9%)"},{scale:700,hex:"#7e22ce",rgb:"rgb(126,34,206)",hsl:"hsl(272.1,71.7%,47.1%)"},{scale:800,hex:"#6b21a8",rgb:"rgb(107,33,168)",hsl:"hsl(272.9,67.2%,39.4%)"},{scale:900,hex:"#581c87",rgb:"rgb(88,28,135)",hsl:"hsl(273.6,65.6%,32%)"},{scale:950,hex:"#3b0764",rgb:"rgb(59,7,100)",hsl:"hsl(273.5,86.9%,21%)"}],fuchsia:[{scale:50,hex:"#fdf4ff",rgb:"rgb(253,244,255)",hsl:"hsl(289.1,100%,97.8%)"},{scale:100,hex:"#fae8ff",rgb:"rgb(250,232,255)",hsl:"hsl(287,100%,95.5%)"},{scale:200,hex:"#f5d0fe",rgb:"rgb(245,208,254)",hsl:"hsl(288.3,95.8%,90.6%)"},{scale:300,hex:"#f0abfc",rgb:"rgb(240,171,252)",hsl:"hsl(291.1,93.1%,82.9%)"},{scale:400,hex:"#e879f9",rgb:"rgb(232,121,249)",hsl:"hsl(292,91.4%,72.5%)"},{scale:500,hex:"#d946ef",rgb:"rgb(217,70,239)",hsl:"hsl(292.2,84.1%,60.6%)"},{scale:600,hex:"#c026d3",rgb:"rgb(192,38,211)",hsl:"hsl(293.4,69.5%,48.8%)"},{scale:700,hex:"#a21caf",rgb:"rgb(162,28,175)",hsl:"hsl(294.7,72.4%,39.8%)"},{scale:800,hex:"#86198f",rgb:"rgb(134,25,143)",hsl:"hsl(295.4,70.2%,32.9%)"},{scale:900,hex:"#701a75",rgb:"rgb(112,26,117)",hsl:"hsl(296.7,63.6%,28%)"},{scale:950,hex:"#4a044e",rgb:"rgb(74,4,78)",hsl:"hsl(296.8,90.2%,16.1%)"}],pink:[{scale:50,hex:"#fdf2f8",rgb:"rgb(253,242,248)",hsl:"hsl(327.3,73.3%,97.1%)"},{scale:100,hex:"#fce7f3",rgb:"rgb(252,231,243)",hsl:"hsl(325.7,77.8%,94.7%)"},{scale:200,hex:"#fbcfe8",rgb:"rgb(251,207,232)",hsl:"hsl(325.9,84.6%,89.8%)"},{scale:300,hex:"#f9a8d4",rgb:"rgb(249,168,212)",hsl:"hsl(327.4,87.1%,81.8%)"},{scale:400,hex:"#f472b6",rgb:"rgb(244,114,182)",hsl:"hsl(328.6,85.5%,70.2%)"},{scale:500,hex:"#ec4899",rgb:"rgb(236,72,153)",hsl:"hsl(330.4,81.2%,60.4%)"},{scale:600,hex:"#db2777",rgb:"rgb(219,39,119)",hsl:"hsl(333.3,71.4%,50.6%)"},{scale:700,hex:"#be185d",rgb:"rgb(190,24,93)",hsl:"hsl(335.1,77.6%,42%)"},{scale:800,hex:"#9d174d",rgb:"rgb(157,23,77)",hsl:"hsl(335.8,74.4%,35.3%)"},{scale:900,hex:"#831843",rgb:"rgb(131,24,67)",hsl:"hsl(335.9,69%,30.4%)"},{scale:950,hex:"#500724",rgb:"rgb(80,7,36)",hsl:"hsl(336.2,83.9%,17.1%)"}],rose:[{scale:50,hex:"#fff1f2",rgb:"rgb(255,241,242)",hsl:"hsl(355.7,100%,97.3%)"},{scale:100,hex:"#ffe4e6",rgb:"rgb(255,228,230)",hsl:"hsl(355.6,100%,94.7%)"},{scale:200,hex:"#fecdd3",rgb:"rgb(254,205,211)",hsl:"hsl(352.7,96.1%,90%)"},{scale:300,hex:"#fda4af",rgb:"rgb(253,164,175)",hsl:"hsl(352.6,95.7%,81.8%)"},{scale:400,hex:"#fb7185",rgb:"rgb(251,113,133)",hsl:"hsl(351.3,94.5%,71.4%)"},{scale:500,hex:"#f43f5e",rgb:"rgb(244,63,94)",hsl:"hsl(349.7,89.2%,60.2%)"},{scale:600,hex:"#e11d48",rgb:"rgb(225,29,72)",hsl:"hsl(346.8,77.2%,49.8%)"},{scale:700,hex:"#be123c",rgb:"rgb(190,18,60)",hsl:"hsl(345.3,82.7%,40.8%)"},{scale:800,hex:"#9f1239",rgb:"rgb(159,18,57)",hsl:"hsl(343.4,79.7%,34.7%)"},{scale:900,hex:"#881337",rgb:"rgb(136,19,55)",hsl:"hsl(341.5,75.5%,30.4%)"},{scale:950,hex:"#4c0519",rgb:"rgb(76,5,25)",hsl:"hsl(343.1,87.7%,15.9%)"}]},l={light:{background:"white",foreground:"{{base}}-950",card:"white","card-foreground":"{{base}}-950",popover:"white","popover-foreground":"{{base}}-950",primary:"{{base}}-900","primary-foreground":"{{base}}-50",secondary:"{{base}}-100","secondary-foreground":"{{base}}-900",muted:"{{base}}-100","muted-foreground":"{{base}}-500",accent:"{{base}}-100","accent-foreground":"{{base}}-900",destructive:"red-500","destructive-foreground":"{{base}}-50",border:"{{base}}-200",input:"{{base}}-200",ring:"{{base}}-950"},dark:{background:"{{base}}-950",foreground:"{{base}}-50",card:"{{base}}-950","card-foreground":"{{base}}-50",popover:"{{base}}-950","popover-foreground":"{{base}}-50",primary:"{{base}}-50","primary-foreground":"{{base}}-900",secondary:"{{base}}-800","secondary-foreground":"{{base}}-50",muted:"{{base}}-800","muted-foreground":"{{base}}-400",accent:"{{base}}-800","accent-foreground":"{{base}}-50",destructive:"red-900","destructive-foreground":"{{base}}-50",border:"{{base}}-800",input:"{{base}}-800",ring:"{{base}}-300"}};export{l as colorMapping,s as colors};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";import{Card as i,CardContent as s,CardDescription as l,CardFooter as d,CardHeader as m,CardTitle as n}from"@/registry/default/ui/card";import{Input as a}from"@/registry/default/ui/input";import{Label as o}from"@/registry/default/ui/label";const g="A simple login form with email and password. The submit button says 'Sign in'.",w="600px",x="w-full h-screen flex items-center justify-center px-4";function p(){return r(i,{className:"w-full max-w-sm",children:[r(m,{children:[e(n,{className:"text-2xl",children:"Login"}),e(l,{children:"Enter your email below to login to your account."})]}),r(s,{className:"grid gap-4",children:[r("div",{className:"grid gap-2",children:[e(o,{htmlFor:"email",children:"Email"}),e(a,{id:"email",type:"email",placeholder:"m@example.com",required:!0})]}),r("div",{className:"grid gap-2",children:[e(o,{htmlFor:"password",children:"Password"}),e(a,{id:"password",type:"password",required:!0})]})]}),e(d,{children:e(t,{className:"w-full",children:"Sign in"})})]})}export{x as containerClassName,p as default,g as description,w as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import o from"next/link";import{Button as t}from"@/registry/default/ui/button";import{Card as n,CardContent as s,CardDescription as l,CardHeader as m,CardTitle as d}from"@/registry/default/ui/card";import{Input as i}from"@/registry/default/ui/input";import{Label as r}from"@/registry/default/ui/label";const w="A login form with email and password. There's an option to login with Google and a link to sign up if you don't have an account.",h="600px",v="w-full h-screen flex items-center justify-center px-4";function c(){return a(n,{className:"mx-auto max-w-sm",children:[a(m,{children:[e(d,{className:"text-2xl",children:"Login"}),e(l,{children:"Enter your email below to login to your account"})]}),a(s,{children:[a("div",{className:"grid gap-4",children:[a("div",{className:"grid gap-2",children:[e(r,{htmlFor:"email",children:"Email"}),e(i,{id:"email",type:"email",placeholder:"m@example.com",required:!0})]}),a("div",{className:"grid gap-2",children:[a("div",{className:"flex items-center",children:[e(r,{htmlFor:"password",children:"Password"}),e(o,{href:"#",className:"ml-auto inline-block text-sm underline",children:"Forgot your password?"})]}),e(i,{id:"password",type:"password",required:!0})]}),e(t,{type:"submit",className:"w-full",children:"Login"}),e(t,{variant:"outline",className:"w-full",children:"Login with Google"})]}),a("div",{className:"mt-4 text-center text-sm",children:["Don't have an account?"," ",e(o,{href:"#",className:"underline",children:"Sign up"})]})]})]})}export{v as containerClassName,c as default,w as description,h as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as a,jsxs as e}from"react/jsx-runtime";import n from"next/link";import{Button as r}from"@/registry/default/ui/button";import{Card as o,CardContent as s,CardDescription as d,CardHeader as l,CardTitle as m}from"@/registry/default/ui/card";import{Input as i}from"@/registry/default/ui/input";import{Label as t}from"@/registry/default/ui/label";const h="A sign up form with first name, last name, email and password inside a card. There's an option to sign up with GitHub and a link to login if you already have an account",x="600px",C="w-full h-screen flex items-center justify-center px-4";function c(){return e(o,{className:"mx-auto max-w-sm",children:[e(l,{children:[a(m,{className:"text-xl",children:"Sign Up"}),a(d,{children:"Enter your information to create an account"})]}),e(s,{children:[e("div",{className:"grid gap-4",children:[e("div",{className:"grid grid-cols-2 gap-4",children:[e("div",{className:"grid gap-2",children:[a(t,{htmlFor:"first-name",children:"First name"}),a(i,{id:"first-name",placeholder:"Max",required:!0})]}),e("div",{className:"grid gap-2",children:[a(t,{htmlFor:"last-name",children:"Last name"}),a(i,{id:"last-name",placeholder:"Robinson",required:!0})]})]}),e("div",{className:"grid gap-2",children:[a(t,{htmlFor:"email",children:"Email"}),a(i,{id:"email",type:"email",placeholder:"m@example.com",required:!0})]}),e("div",{className:"grid gap-2",children:[a(t,{htmlFor:"password",children:"Password"}),a(i,{id:"password",type:"password"})]}),a(r,{type:"submit",className:"w-full",children:"Create an account"}),a(r,{variant:"outline",className:"w-full",children:"Sign up with GitHub"})]}),e("div",{className:"mt-4 text-center text-sm",children:["Already have an account?"," ",a(n,{href:"#",className:"underline",children:"Sign in"})]})]})]})}export{C as containerClassName,c as default,h as description,x as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import s from"next/image";import o from"next/link";import{Button as i}from"@/registry/default/ui/button";import{Input as t}from"@/registry/default/ui/input";import{Label as l}from"@/registry/default/ui/label";const g="A login page with two columns. The first column has the login form with email and password. There's a Forgot your passwork link and a link to sign up if you do not have an account. The second column has a cover image.",u="800px",h="w-full h-full p-4 lg:p-0";function r(){return a("div",{className:"w-full lg:grid lg:min-h-[600px] lg:grid-cols-2 xl:min-h-[800px]",children:[e("div",{className:"flex items-center justify-center py-12",children:a("div",{className:"mx-auto grid w-[350px] gap-6",children:[a("div",{className:"grid gap-2 text-center",children:[e("h1",{className:"text-3xl font-bold",children:"Login"}),e("p",{className:"text-balance text-muted-foreground",children:"Enter your email below to login to your account"})]}),a("div",{className:"grid gap-4",children:[a("div",{className:"grid gap-2",children:[e(l,{htmlFor:"email",children:"Email"}),e(t,{id:"email",type:"email",placeholder:"m@example.com",required:!0})]}),a("div",{className:"grid gap-2",children:[a("div",{className:"flex items-center",children:[e(l,{htmlFor:"password",children:"Password"}),e(o,{href:"/forgot-password",className:"ml-auto inline-block text-sm underline",children:"Forgot your password?"})]}),e(t,{id:"password",type:"password",required:!0})]}),e(i,{type:"submit",className:"w-full",children:"Login"}),e(i,{variant:"outline",className:"w-full",children:"Login with Google"})]}),a("div",{className:"mt-4 text-center text-sm",children:["Don't have an account?"," ",e(o,{href:"#",className:"underline",children:"Sign up"})]})]})}),e("div",{className:"hidden bg-muted lg:block",children:e(s,{src:"/placeholder.svg",alt:"Image",width:"1920",height:"1080",className:"h-full w-full object-cover dark:brightness-[0.2] dark:grayscale"})})]})}export{h as containerClassName,r as default,g as description,u as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import t from"next/link";import{Activity as v,ArrowUpRight as h,CircleUser as b,CreditCard as C,DollarSign as T,Menu as w,Package2 as g,Search as A,Users as k}from"lucide-react";import{Avatar as r,AvatarFallback as i,AvatarImage as c}from"@/registry/default/ui/avatar";import{Badge as u}from"@/registry/default/ui/badge";import{Button as p}from"@/registry/default/ui/button";import{Card as s,CardContent as d,CardDescription as y,CardHeader as m,CardTitle as n}from"@/registry/default/ui/card";import{DropdownMenu as D,DropdownMenuContent as S,DropdownMenuItem as f,DropdownMenuLabel as L,DropdownMenuSeparator as N,DropdownMenuTrigger as M}from"@/registry/default/ui/dropdown-menu";import{Input as H}from"@/registry/default/ui/input";import{Sheet as B,SheetContent as R,SheetTrigger as $}from"@/registry/default/ui/sheet";import{Table as I,TableBody as F,TableCell as l,TableHead as x,TableHeader as O,TableRow as o}from"@/registry/default/ui/table";const Q="An application shell with a header and main content area. The header has a navbar, a search input and and a user nav dropdown. The user nav is toggled by a button with an avatar image.",X="825px",Y="w-full h-full";function j(){return a("div",{className:"flex min-h-screen w-full flex-col",children:[a("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[a("nav",{className:"hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6",children:[a(t,{href:"#",className:"flex items-center gap-2 text-lg font-semibold md:text-base",children:[e(g,{className:"h-6 w-6"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),e(t,{href:"#",className:"text-foreground transition-colors hover:text-foreground",children:"Dashboard"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Orders"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Products"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Customers"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Analytics"})]}),a(B,{children:[e($,{asChild:!0,children:a(p,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[e(w,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),e(R,{side:"left",children:a("nav",{className:"grid gap-6 text-lg font-medium",children:[a(t,{href:"#",className:"flex items-center gap-2 text-lg font-semibold",children:[e(g,{className:"h-6 w-6"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),e(t,{href:"#",className:"hover:text-foreground",children:"Dashboard"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Orders"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Products"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Customers"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Analytics"})]})})]}),a("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[e("form",{className:"ml-auto flex-1 sm:flex-initial",children:a("div",{className:"relative",children:[e(A,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(H,{type:"search",placeholder:"Search products...",className:"pl-8 sm:w-[300px] md:w-[200px] lg:w-[300px]"})]})}),a(D,{children:[e(M,{asChild:!0,children:a(p,{variant:"secondary",size:"icon",className:"rounded-full",children:[e(b,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle user menu"})]})}),a(S,{align:"end",children:[e(L,{children:"My Account"}),e(N,{}),e(f,{children:"Settings"}),e(f,{children:"Support"}),e(N,{}),e(f,{children:"Logout"})]})]})]})]}),a("main",{className:"flex flex-1 flex-col gap-4 p-4 md:gap-8 md:p-8",children:[a("div",{className:"grid gap-4 md:grid-cols-2 md:gap-8 lg:grid-cols-4",children:[a(s,{children:[a(m,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(n,{className:"text-sm font-medium",children:"Total Revenue"}),e(T,{className:"h-4 w-4 text-muted-foreground"})]}),a(d,{children:[e("div",{className:"text-2xl font-bold",children:"$45,231.89"}),e("p",{className:"text-xs text-muted-foreground",children:"+20.1% from last month"})]})]}),a(s,{children:[a(m,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(n,{className:"text-sm font-medium",children:"Subscriptions"}),e(k,{className:"h-4 w-4 text-muted-foreground"})]}),a(d,{children:[e("div",{className:"text-2xl font-bold",children:"+2350"}),e("p",{className:"text-xs text-muted-foreground",children:"+180.1% from last month"})]})]}),a(s,{children:[a(m,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(n,{className:"text-sm font-medium",children:"Sales"}),e(C,{className:"h-4 w-4 text-muted-foreground"})]}),a(d,{children:[e("div",{className:"text-2xl font-bold",children:"+12,234"}),e("p",{className:"text-xs text-muted-foreground",children:"+19% from last month"})]})]}),a(s,{children:[a(m,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e(n,{className:"text-sm font-medium",children:"Active Now"}),e(v,{className:"h-4 w-4 text-muted-foreground"})]}),a(d,{children:[e("div",{className:"text-2xl font-bold",children:"+573"}),e("p",{className:"text-xs text-muted-foreground",children:"+201 since last hour"})]})]})]}),a("div",{className:"grid gap-4 md:gap-8 lg:grid-cols-2 xl:grid-cols-3",children:[a(s,{className:"xl:col-span-2",children:[a(m,{className:"flex flex-row items-center",children:[a("div",{className:"grid gap-2",children:[e(n,{children:"Transactions"}),e(y,{children:"Recent transactions from your store."})]}),e(p,{asChild:!0,size:"sm",className:"ml-auto gap-1",children:a(t,{href:"#",children:["View All",e(h,{className:"h-4 w-4"})]})})]}),e(d,{children:a(I,{children:[e(O,{children:a(o,{children:[e(x,{children:"Customer"}),e(x,{className:"hidden xl:table-column",children:"Type"}),e(x,{className:"hidden xl:table-column",children:"Status"}),e(x,{className:"hidden xl:table-column",children:"Date"}),e(x,{className:"text-right",children:"Amount"})]})}),a(F,{children:[a(o,{children:[a(l,{children:[e("div",{className:"font-medium",children:"Liam Johnson"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"liam@example.com"})]}),e(l,{className:"hidden xl:table-column",children:"Sale"}),e(l,{className:"hidden xl:table-column",children:e(u,{className:"text-xs",variant:"outline",children:"Approved"})}),e(l,{className:"hidden md:table-cell lg:hidden xl:table-column",children:"2023-06-23"}),e(l,{className:"text-right",children:"$250.00"})]}),a(o,{children:[a(l,{children:[e("div",{className:"font-medium",children:"Olivia Smith"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"olivia@example.com"})]}),e(l,{className:"hidden xl:table-column",children:"Refund"}),e(l,{className:"hidden xl:table-column",children:e(u,{className:"text-xs",variant:"outline",children:"Declined"})}),e(l,{className:"hidden md:table-cell lg:hidden xl:table-column",children:"2023-06-24"}),e(l,{className:"text-right",children:"$150.00"})]}),a(o,{children:[a(l,{children:[e("div",{className:"font-medium",children:"Noah Williams"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"noah@example.com"})]}),e(l,{className:"hidden xl:table-column",children:"Subscription"}),e(l,{className:"hidden xl:table-column",children:e(u,{className:"text-xs",variant:"outline",children:"Approved"})}),e(l,{className:"hidden md:table-cell lg:hidden xl:table-column",children:"2023-06-25"}),e(l,{className:"text-right",children:"$350.00"})]}),a(o,{children:[a(l,{children:[e("div",{className:"font-medium",children:"Emma Brown"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"emma@example.com"})]}),e(l,{className:"hidden xl:table-column",children:"Sale"}),e(l,{className:"hidden xl:table-column",children:e(u,{className:"text-xs",variant:"outline",children:"Approved"})}),e(l,{className:"hidden md:table-cell lg:hidden xl:table-column",children:"2023-06-26"}),e(l,{className:"text-right",children:"$450.00"})]}),a(o,{children:[a(l,{children:[e("div",{className:"font-medium",children:"Liam Johnson"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"liam@example.com"})]}),e(l,{className:"hidden xl:table-column",children:"Sale"}),e(l,{className:"hidden xl:table-column",children:e(u,{className:"text-xs",variant:"outline",children:"Approved"})}),e(l,{className:"hidden md:table-cell lg:hidden xl:table-column",children:"2023-06-27"}),e(l,{className:"text-right",children:"$550.00"})]})]})]})})]}),a(s,{children:[e(m,{children:e(n,{children:"Recent Sales"})}),a(d,{className:"grid gap-8",children:[a("div",{className:"flex items-center gap-4",children:[a(r,{className:"hidden h-9 w-9 sm:flex",children:[e(c,{src:"/avatars/01.png",alt:"Avatar"}),e(i,{children:"OM"})]}),a("div",{className:"grid gap-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"Olivia Martin"}),e("p",{className:"text-sm text-muted-foreground",children:"olivia.martin@email.com"})]}),e("div",{className:"ml-auto font-medium",children:"+$1,999.00"})]}),a("div",{className:"flex items-center gap-4",children:[a(r,{className:"hidden h-9 w-9 sm:flex",children:[e(c,{src:"/avatars/02.png",alt:"Avatar"}),e(i,{children:"JL"})]}),a("div",{className:"grid gap-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"Jackson Lee"}),e("p",{className:"text-sm text-muted-foreground",children:"jackson.lee@email.com"})]}),e("div",{className:"ml-auto font-medium",children:"+$39.00"})]}),a("div",{className:"flex items-center gap-4",children:[a(r,{className:"hidden h-9 w-9 sm:flex",children:[e(c,{src:"/avatars/03.png",alt:"Avatar"}),e(i,{children:"IN"})]}),a("div",{className:"grid gap-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"Isabella Nguyen"}),e("p",{className:"text-sm text-muted-foreground",children:"isabella.nguyen@email.com"})]}),e("div",{className:"ml-auto font-medium",children:"+$299.00"})]}),a("div",{className:"flex items-center gap-4",children:[a(r,{className:"hidden h-9 w-9 sm:flex",children:[e(c,{src:"/avatars/04.png",alt:"Avatar"}),e(i,{children:"WK"})]}),a("div",{className:"grid gap-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"William Kim"}),e("p",{className:"text-sm text-muted-foreground",children:"will@email.com"})]}),e("div",{className:"ml-auto font-medium",children:"+$99.00"})]}),a("div",{className:"flex items-center gap-4",children:[a(r,{className:"hidden h-9 w-9 sm:flex",children:[e(c,{src:"/avatars/05.png",alt:"Avatar"}),e(i,{children:"SD"})]}),a("div",{className:"grid gap-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"Sofia Davis"}),e("p",{className:"text-sm text-muted-foreground",children:"sofia.davis@email.com"})]}),e("div",{className:"ml-auto font-medium",children:"+$39.00"})]})]})]})]})]})]})}export{Y as containerClassName,j as default,Q as description,X as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import t from"next/link";import{Bell as N,CircleUser as v,Home as o,LineChart as n,Menu as w,Package as l,Package2 as d,Search as y,ShoppingCart as m,Users as i}from"lucide-react";import{Badge as c}from"@/registry/default/ui/badge";import{Button as r}from"@/registry/default/ui/button";import{Card as p,CardContent as u,CardDescription as f,CardHeader as g,CardTitle as x}from"@/registry/default/ui/card";import{DropdownMenu as C,DropdownMenuContent as b,DropdownMenuItem as s,DropdownMenuLabel as k,DropdownMenuSeparator as h,DropdownMenuTrigger as D}from"@/registry/default/ui/dropdown-menu";import{Input as L}from"@/registry/default/ui/input";import{Sheet as M,SheetContent as T,SheetTrigger as S}from"@/registry/default/ui/sheet";const Y="A products dashboard with a sidebar navigation and a main content area. The dashboard has a header with a search input and a user menu. The sidebar has a logo, navigation links, and a card with a call to action. The main content area shows an empty state with a call to action.",_="800px",q="w-full h-full";function B(){return a("div",{className:"grid min-h-screen w-full md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]",children:[e("div",{className:"hidden border-r bg-muted/40 md:block",children:a("div",{className:"flex h-full max-h-screen flex-col gap-2",children:[a("div",{className:"flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6",children:[a(t,{href:"/",className:"flex items-center gap-2 font-semibold",children:[e(d,{className:"h-6 w-6"}),e("span",{className:"",children:"Acme Inc"})]}),a(r,{variant:"outline",size:"icon",className:"ml-auto h-8 w-8",children:[e(N,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle notifications"})]})]}),e("div",{className:"flex-1",children:a("nav",{className:"grid items-start px-2 text-sm font-medium lg:px-4",children:[a(t,{href:"#",className:"flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary",children:[e(o,{className:"h-4 w-4"}),"Dashboard"]}),a(t,{href:"#",className:"flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary",children:[e(m,{className:"h-4 w-4"}),"Orders",e(c,{className:"ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full",children:"6"})]}),a(t,{href:"#",className:"flex items-center gap-3 rounded-lg bg-muted px-3 py-2 text-primary transition-all hover:text-primary",children:[e(l,{className:"h-4 w-4"}),"Products"," "]}),a(t,{href:"#",className:"flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary",children:[e(i,{className:"h-4 w-4"}),"Customers"]}),a(t,{href:"#",className:"flex items-center gap-3 rounded-lg px-3 py-2 text-muted-foreground transition-all hover:text-primary",children:[e(n,{className:"h-4 w-4"}),"Analytics"]})]})}),e("div",{className:"mt-auto p-4",children:a(p,{children:[a(g,{className:"p-2 pt-0 md:p-4",children:[e(x,{children:"Upgrade to Pro"}),e(f,{children:"Unlock all features and get unlimited access to our support team."})]}),e(u,{className:"p-2 pt-0 md:p-4 md:pt-0",children:e(r,{size:"sm",className:"w-full",children:"Upgrade"})})]})})]})}),a("div",{className:"flex flex-col",children:[a("header",{className:"flex h-14 items-center gap-4 border-b bg-muted/40 px-4 lg:h-[60px] lg:px-6",children:[a(M,{children:[e(S,{asChild:!0,children:a(r,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[e(w,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),a(T,{side:"left",className:"flex flex-col",children:[a("nav",{className:"grid gap-2 text-lg font-medium",children:[a(t,{href:"#",className:"flex items-center gap-2 text-lg font-semibold",children:[e(d,{className:"h-6 w-6"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),a(t,{href:"#",className:"mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 text-muted-foreground hover:text-foreground",children:[e(o,{className:"h-5 w-5"}),"Dashboard"]}),a(t,{href:"#",className:"mx-[-0.65rem] flex items-center gap-4 rounded-xl bg-muted px-3 py-2 text-foreground hover:text-foreground",children:[e(m,{className:"h-5 w-5"}),"Orders",e(c,{className:"ml-auto flex h-6 w-6 shrink-0 items-center justify-center rounded-full",children:"6"})]}),a(t,{href:"#",className:"mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 text-muted-foreground hover:text-foreground",children:[e(l,{className:"h-5 w-5"}),"Products"]}),a(t,{href:"#",className:"mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 text-muted-foreground hover:text-foreground",children:[e(i,{className:"h-5 w-5"}),"Customers"]}),a(t,{href:"#",className:"mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 text-muted-foreground hover:text-foreground",children:[e(n,{className:"h-5 w-5"}),"Analytics"]})]}),e("div",{className:"mt-auto",children:a(p,{children:[a(g,{children:[e(x,{children:"Upgrade to Pro"}),e(f,{children:"Unlock all features and get unlimited access to our support team."})]}),e(u,{children:e(r,{size:"sm",className:"w-full",children:"Upgrade"})})]})})]})]}),e("div",{className:"w-full flex-1",children:e("form",{children:a("div",{className:"relative",children:[e(y,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(L,{type:"search",placeholder:"Search products...",className:"w-full appearance-none bg-background pl-8 shadow-none md:w-2/3 lg:w-1/3"})]})})}),a(C,{children:[e(D,{asChild:!0,children:a(r,{variant:"secondary",size:"icon",className:"rounded-full",children:[e(v,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle user menu"})]})}),a(b,{align:"end",children:[e(k,{children:"My Account"}),e(h,{}),e(s,{children:"Settings"}),e(s,{children:"Support"}),e(h,{}),e(s,{children:"Logout"})]})]})]}),a("main",{className:"flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6",children:[e("div",{className:"flex items-center",children:e("h1",{className:"text-lg font-semibold md:text-2xl",children:"Inventory"})}),e("div",{className:"flex flex-1 items-center justify-center rounded-lg border border-dashed shadow-sm",children:a("div",{className:"flex flex-col items-center gap-1 text-center",children:[e("h3",{className:"text-2xl font-bold tracking-tight",children:"You have no products"}),e("p",{className:"text-sm text-muted-foreground",children:"You can start selling as soon as you add a product."}),e(r,{className:"mt-4",children:"Add Product"})]})})]})]})]})}export{q as containerClassName,B as default,Y as description,_ as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Bird as u,Book as v,Bot as h,Code2 as x,CornerDownLeft as T,LifeBuoy as b,Mic as S,Paperclip as z,Rabbit as f,Settings as C,Settings2 as w,Share as y,SquareTerminal as B,SquareUser as D,Triangle as I,Turtle as N}from"lucide-react";import{Badge as L}from"@/registry/default/ui/badge";import{Button as t}from"@/registry/default/ui/button";import{Drawer as F,DrawerContent as M,DrawerDescription as A,DrawerHeader as O,DrawerTitle as P,DrawerTrigger as k}from"@/registry/default/ui/drawer";import{Input as d}from"@/registry/default/ui/input";import{Label as s}from"@/registry/default/ui/label";import{Select as n,SelectContent as m,SelectItem as l,SelectTrigger as p,SelectValue as c}from"@/registry/default/ui/select";import{Textarea as g}from"@/registry/default/ui/textarea";import{Tooltip as i,TooltipContent as o,TooltipTrigger as r}from"@/registry/default/ui/tooltip";const _="An AI playground with a sidebar navigation and a main content area. The playground has a header with a settings drawer and a share button. The sidebar has navigation links and a user menu. The main content area shows a form to configure the model and messages.",J="740px",W="w-full h-full";function H(){return a("div",{className:"grid h-screen w-full pl-[56px]",children:[a("aside",{className:"inset-y fixed left-0 z-20 flex h-full flex-col border-r",children:[e("div",{className:"border-b p-2",children:e(t,{variant:"outline",size:"icon","aria-label":"Home",children:e(I,{className:"size-5 fill-foreground"})})}),a("nav",{className:"grid gap-1 p-2",children:[a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"rounded-lg bg-muted","aria-label":"Playground",children:e(B,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Playground"})]}),a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"rounded-lg","aria-label":"Models",children:e(h,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Models"})]}),a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"rounded-lg","aria-label":"API",children:e(x,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"API"})]}),a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"rounded-lg","aria-label":"Documentation",children:e(v,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Documentation"})]}),a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"rounded-lg","aria-label":"Settings",children:e(w,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Settings"})]})]}),a("nav",{className:"mt-auto grid gap-1 p-2",children:[a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"mt-auto rounded-lg","aria-label":"Help",children:e(b,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Help"})]}),a(i,{children:[e(r,{asChild:!0,children:e(t,{variant:"ghost",size:"icon",className:"mt-auto rounded-lg","aria-label":"Account",children:e(D,{className:"size-5"})})}),e(o,{side:"right",sideOffset:5,children:"Account"})]})]})]}),a("div",{className:"flex flex-col",children:[a("header",{className:"sticky top-0 z-10 flex h-[57px] items-center gap-1 border-b bg-background px-4",children:[e("h1",{className:"text-xl font-semibold",children:"Playground"}),a(F,{children:[e(k,{asChild:!0,children:a(t,{variant:"ghost",size:"icon",className:"md:hidden",children:[e(C,{className:"size-4"}),e("span",{className:"sr-only",children:"Settings"})]})}),a(M,{className:"max-h-[80vh]",children:[a(O,{children:[e(P,{children:"Configuration"}),e(A,{children:"Configure the settings for the model and messages."})]}),a("form",{className:"grid w-full items-start gap-6 overflow-auto p-4 pt-0",children:[a("fieldset",{className:"grid gap-6 rounded-lg border p-4",children:[e("legend",{className:"-ml-1 px-1 text-sm font-medium",children:"Settings"}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"model",children:"Model"}),a(n,{children:[e(p,{id:"model",className:"items-start [&_[data-description]]:hidden",children:e(c,{placeholder:"Select a model"})}),a(m,{children:[e(l,{value:"genesis",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(f,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Genesis"})]}),e("p",{className:"text-xs","data-description":!0,children:"Our fastest model for general use cases."})]})]})}),e(l,{value:"explorer",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(u,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Explorer"})]}),e("p",{className:"text-xs","data-description":!0,children:"Performance and speed for efficiency."})]})]})}),e(l,{value:"quantum",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(N,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Quantum"})]}),e("p",{className:"text-xs","data-description":!0,children:"The most powerful model for complex computations."})]})]})})]})]})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"temperature",children:"Temperature"}),e(d,{id:"temperature",type:"number",placeholder:"0.4"})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"top-p",children:"Top P"}),e(d,{id:"top-p",type:"number",placeholder:"0.7"})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"top-k",children:"Top K"}),e(d,{id:"top-k",type:"number",placeholder:"0.0"})]})]}),a("fieldset",{className:"grid gap-6 rounded-lg border p-4",children:[e("legend",{className:"-ml-1 px-1 text-sm font-medium",children:"Messages"}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"role",children:"Role"}),a(n,{defaultValue:"system",children:[e(p,{children:e(c,{placeholder:"Select a role"})}),a(m,{children:[e(l,{value:"system",children:"System"}),e(l,{value:"user",children:"User"}),e(l,{value:"assistant",children:"Assistant"})]})]})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"content",children:"Content"}),e(g,{id:"content",placeholder:"You are a..."})]})]})]})]})]}),a(t,{variant:"outline",size:"sm",className:"ml-auto gap-1.5 text-sm",children:[e(y,{className:"size-3.5"}),"Share"]})]}),a("main",{className:"grid flex-1 gap-4 overflow-auto p-4 md:grid-cols-2 lg:grid-cols-3",children:[e("div",{className:"relative hidden flex-col items-start gap-8 md:flex",children:a("form",{className:"grid w-full items-start gap-6",children:[a("fieldset",{className:"grid gap-6 rounded-lg border p-4",children:[e("legend",{className:"-ml-1 px-1 text-sm font-medium",children:"Settings"}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"model",children:"Model"}),a(n,{children:[e(p,{id:"model",className:"items-start [&_[data-description]]:hidden",children:e(c,{placeholder:"Select a model"})}),a(m,{children:[e(l,{value:"genesis",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(f,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Genesis"})]}),e("p",{className:"text-xs","data-description":!0,children:"Our fastest model for general use cases."})]})]})}),e(l,{value:"explorer",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(u,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Explorer"})]}),e("p",{className:"text-xs","data-description":!0,children:"Performance and speed for efficiency."})]})]})}),e(l,{value:"quantum",children:a("div",{className:"flex items-start gap-3 text-muted-foreground",children:[e(N,{className:"size-5"}),a("div",{className:"grid gap-0.5",children:[a("p",{children:["Neural"," ",e("span",{className:"font-medium text-foreground",children:"Quantum"})]}),e("p",{className:"text-xs","data-description":!0,children:"The most powerful model for complex computations."})]})]})})]})]})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"temperature",children:"Temperature"}),e(d,{id:"temperature",type:"number",placeholder:"0.4"})]}),a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"top-p",children:"Top P"}),e(d,{id:"top-p",type:"number",placeholder:"0.7"})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"top-k",children:"Top K"}),e(d,{id:"top-k",type:"number",placeholder:"0.0"})]})]})]}),a("fieldset",{className:"grid gap-6 rounded-lg border p-4",children:[e("legend",{className:"-ml-1 px-1 text-sm font-medium",children:"Messages"}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"role",children:"Role"}),a(n,{defaultValue:"system",children:[e(p,{children:e(c,{placeholder:"Select a role"})}),a(m,{children:[e(l,{value:"system",children:"System"}),e(l,{value:"user",children:"User"}),e(l,{value:"assistant",children:"Assistant"})]})]})]}),a("div",{className:"grid gap-3",children:[e(s,{htmlFor:"content",children:"Content"}),e(g,{id:"content",placeholder:"You are a...",className:"min-h-[9.5rem]"})]})]})]})}),a("div",{className:"relative flex h-full min-h-[50vh] flex-col rounded-xl bg-muted/50 p-4 lg:col-span-2",children:[e(L,{variant:"outline",className:"absolute right-3 top-3",children:"Output"}),e("div",{className:"flex-1"}),a("form",{className:"relative overflow-hidden rounded-lg border bg-background focus-within:ring-1 focus-within:ring-ring",children:[e(s,{htmlFor:"message",className:"sr-only",children:"Message"}),e(g,{id:"message",placeholder:"Type your message here...",className:"min-h-12 resize-none border-0 p-3 shadow-none focus-visible:ring-0"}),a("div",{className:"flex items-center p-3 pt-0",children:[a(i,{children:[e(r,{asChild:!0,children:a(t,{variant:"ghost",size:"icon",children:[e(z,{className:"size-4"}),e("span",{className:"sr-only",children:"Attach file"})]})}),e(o,{side:"top",children:"Attach File"})]}),a(i,{children:[e(r,{asChild:!0,children:a(t,{variant:"ghost",size:"icon",children:[e(S,{className:"size-4"}),e("span",{className:"sr-only",children:"Use Microphone"})]})}),e(o,{side:"top",children:"Use Microphone"})]}),a(t,{type:"submit",size:"sm",className:"ml-auto gap-1.5",children:["Send Message",e(T,{className:"size-3.5"})]})]})]})]})]})]})]})}export{W as containerClassName,H as default,_ as description,J as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r}from"react/jsx-runtime";import t from"next/link";import{CircleUser as f,Menu as g,Package2 as s,Search as h}from"lucide-react";import{Button as a}from"@/registry/default/ui/button";import{Card as d,CardContent as i,CardDescription as l,CardFooter as m,CardHeader as c,CardTitle as u}from"@/registry/default/ui/card";import{Checkbox as x}from"@/registry/default/ui/checkbox";import{DropdownMenu as N,DropdownMenuContent as v,DropdownMenuItem as o,DropdownMenuLabel as w,DropdownMenuSeparator as p,DropdownMenuTrigger as C}from"@/registry/default/ui/dropdown-menu";import{Input as n}from"@/registry/default/ui/input";import{Sheet as k,SheetContent as b,SheetTrigger as y}from"@/registry/default/ui/sheet";const z="A settings page. The settings page has a sidebar navigation and a main content area. The main content area has a form to update the store name and a form to update the plugins directory. The sidebar navigation has links to general, security, integrations, support, organizations, and advanced settings.",F="780px",H="w-full h-full";function L(){return r("div",{className:"flex min-h-screen w-full flex-col",children:[r("header",{className:"sticky top-0 flex h-16 items-center gap-4 border-b bg-background px-4 md:px-6",children:[r("nav",{className:"hidden flex-col gap-6 text-lg font-medium md:flex md:flex-row md:items-center md:gap-5 md:text-sm lg:gap-6",children:[r(t,{href:"#",className:"flex items-center gap-2 text-lg font-semibold md:text-base",children:[e(s,{className:"h-6 w-6"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Dashboard"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Orders"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Products"}),e(t,{href:"#",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Customers"}),e(t,{href:"#",className:"text-foreground transition-colors hover:text-foreground",children:"Settings"})]}),r(k,{children:[e(y,{asChild:!0,children:r(a,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[e(g,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),e(b,{side:"left",children:r("nav",{className:"grid gap-6 text-lg font-medium",children:[r(t,{href:"#",className:"flex items-center gap-2 text-lg font-semibold",children:[e(s,{className:"h-6 w-6"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Dashboard"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Orders"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Products"}),e(t,{href:"#",className:"text-muted-foreground hover:text-foreground",children:"Customers"}),e(t,{href:"#",className:"hover:text-foreground",children:"Settings"})]})})]}),r("div",{className:"flex w-full items-center gap-4 md:ml-auto md:gap-2 lg:gap-4",children:[e("form",{className:"ml-auto flex-1 sm:flex-initial",children:r("div",{className:"relative",children:[e(h,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(n,{type:"search",placeholder:"Search products...",className:"pl-8 sm:w-[300px] md:w-[200px] lg:w-[300px]"})]})}),r(N,{children:[e(C,{asChild:!0,children:r(a,{variant:"secondary",size:"icon",className:"rounded-full",children:[e(f,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle user menu"})]})}),r(v,{align:"end",children:[e(w,{children:"My Account"}),e(p,{}),e(o,{children:"Settings"}),e(o,{children:"Support"}),e(p,{}),e(o,{children:"Logout"})]})]})]})]}),r("main",{className:"flex min-h-[calc(100vh_-_theme(spacing.16))] flex-1 flex-col gap-4 bg-muted/40 p-4 md:gap-8 md:p-10",children:[e("div",{className:"mx-auto grid w-full max-w-6xl gap-2",children:e("h1",{className:"text-3xl font-semibold",children:"Settings"})}),r("div",{className:"mx-auto grid w-full max-w-6xl items-start gap-6 md:grid-cols-[180px_1fr] lg:grid-cols-[250px_1fr]",children:[r("nav",{className:"grid gap-4 text-sm text-muted-foreground",children:[e(t,{href:"#",className:"font-semibold text-primary",children:"General"}),e(t,{href:"#",children:"Security"}),e(t,{href:"#",children:"Integrations"}),e(t,{href:"#",children:"Support"}),e(t,{href:"#",children:"Organizations"}),e(t,{href:"#",children:"Advanced"})]}),r("div",{className:"grid gap-6",children:[r(d,{children:[r(c,{children:[e(u,{children:"Store Name"}),e(l,{children:"Used to identify your store in the marketplace."})]}),e(i,{children:e("form",{children:e(n,{placeholder:"Store Name"})})}),e(m,{className:"border-t px-6 py-4",children:e(a,{children:"Save"})})]}),r(d,{children:[r(c,{children:[e(u,{children:"Plugins Directory"}),e(l,{children:"The directory within your project, in which your plugins are located."})]}),e(i,{children:r("form",{className:"flex flex-col gap-4",children:[e(n,{placeholder:"Project Name",defaultValue:"/content/plugins"}),r("div",{className:"flex items-center space-x-2",children:[e(x,{id:"include",defaultChecked:!0}),e("label",{htmlFor:"include",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Allow administrators to change the directory."})]})]})}),e(m,{className:"border-t px-6 py-4",children:e(a,{children:"Save"})})]})]})]})]})]})}export{H as containerClassName,L as default,z as description,F as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import R from"next/image";import l from"next/link";import{ChevronLeft as $,ChevronRight as A,Copy as z,CreditCard as E,File as J,Home as k,LineChart as B,ListFilter as V,MoreVertical as W,Package as L,Package2 as M,PanelLeft as U,Search as Y,Settings as q,ShoppingCart as S,Truck as G,Users2 as I}from"lucide-react";import{Badge as n}from"@/registry/default/ui/badge";import{Breadcrumb as K,BreadcrumbItem as v,BreadcrumbLink as O,BreadcrumbList as Q,BreadcrumbPage as X,BreadcrumbSeparator as P}from"@/registry/default/ui/breadcrumb";import{Button as t}from"@/registry/default/ui/button";import{Card as c,CardContent as f,CardDescription as u,CardFooter as N,CardHeader as p,CardTitle as g}from"@/registry/default/ui/card";import{DropdownMenu as T,DropdownMenuCheckboxItem as C,DropdownMenuContent as w,DropdownMenuItem as i,DropdownMenuLabel as j,DropdownMenuSeparator as x,DropdownMenuTrigger as y}from"@/registry/default/ui/dropdown-menu";import{Input as Z}from"@/registry/default/ui/input";import{Pagination as _,PaginationContent as ee,PaginationItem as F}from"@/registry/default/ui/pagination";import{Progress as H}from"@/registry/default/ui/progress";import{Separator as b}from"@/registry/default/ui/separator";import{Sheet as ae,SheetContent as se,SheetTrigger as le}from"@/registry/default/ui/sheet";import{Table as te,TableBody as re,TableCell as s,TableHead as h,TableHeader as ne,TableRow as r}from"@/registry/default/ui/table";import{Tabs as ie,TabsContent as de,TabsList as oe,TabsTrigger as D}from"@/registry/default/ui/tabs";import{Tooltip as d,TooltipContent as o,TooltipTrigger as m}from"@/registry/default/ui/tooltip";const Be="An orders dashboard with a sidebar navigation. The sidebar has icon navigation. The content area has a breadcrumb and search in the header. The main area has a list of recent orders with a filter and export button. The main area also has a detailed view of a single order with order details, shipping information, billing information, customer information, and payment information.",Le="1112px",Me="w-full h-full";function me(){return a("div",{className:"flex min-h-screen w-full flex-col bg-muted/40",children:[a("aside",{className:"fixed inset-y-0 left-0 z-10 hidden w-14 flex-col border-r bg-background sm:flex",children:[a("nav",{className:"flex flex-col items-center gap-4 px-2 sm:py-5",children:[a(l,{href:"#",className:"group flex h-9 w-9 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:h-8 md:w-8 md:text-base",children:[e(M,{className:"h-4 w-4 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(k,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Dashboard"})]})}),e(o,{side:"right",children:"Dashboard"})]}),a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-accent text-accent-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(S,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Orders"})]})}),e(o,{side:"right",children:"Orders"})]}),a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(L,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Products"})]})}),e(o,{side:"right",children:"Products"})]}),a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(I,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Customers"})]})}),e(o,{side:"right",children:"Customers"})]}),a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(B,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Analytics"})]})}),e(o,{side:"right",children:"Analytics"})]})]}),e("nav",{className:"mt-auto flex flex-col items-center gap-4 px-2 sm:py-5",children:a(d,{children:[e(m,{asChild:!0,children:a(l,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(q,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Settings"})]})}),e(o,{side:"right",children:"Settings"})]})})]}),a("div",{className:"flex flex-col sm:gap-4 sm:py-4 sm:pl-14",children:[a("header",{className:"sticky top-0 z-30 flex h-14 items-center gap-4 border-b bg-background px-4 sm:static sm:h-auto sm:border-0 sm:bg-transparent sm:px-6",children:[a(ae,{children:[e(le,{asChild:!0,children:a(t,{size:"icon",variant:"outline",className:"sm:hidden",children:[e(U,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle Menu"})]})}),e(se,{side:"left",className:"sm:max-w-xs",children:a("nav",{className:"grid gap-6 text-lg font-medium",children:[a(l,{href:"#",className:"group flex h-10 w-10 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:text-base",children:[e(M,{className:"h-5 w-5 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),a(l,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(k,{className:"h-5 w-5"}),"Dashboard"]}),a(l,{href:"#",className:"flex items-center gap-4 px-2.5 text-foreground",children:[e(S,{className:"h-5 w-5"}),"Orders"]}),a(l,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(L,{className:"h-5 w-5"}),"Products"]}),a(l,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(I,{className:"h-5 w-5"}),"Customers"]}),a(l,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(B,{className:"h-5 w-5"}),"Settings"]})]})})]}),e(K,{className:"hidden md:flex",children:a(Q,{children:[e(v,{children:e(O,{asChild:!0,children:e(l,{href:"#",children:"Dashboard"})})}),e(P,{}),e(v,{children:e(O,{asChild:!0,children:e(l,{href:"#",children:"Orders"})})}),e(P,{}),e(v,{children:e(X,{children:"Recent Orders"})})]})}),a("div",{className:"relative ml-auto flex-1 md:grow-0",children:[e(Y,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(Z,{type:"search",placeholder:"Search...",className:"w-full rounded-lg bg-background pl-8 md:w-[200px] lg:w-[336px]"})]}),a(T,{children:[e(y,{asChild:!0,children:e(t,{variant:"outline",size:"icon",className:"overflow-hidden rounded-full",children:e(R,{src:"/placeholder-user.jpg",width:36,height:36,alt:"Avatar",className:"overflow-hidden"})})}),a(w,{align:"end",children:[e(j,{children:"My Account"}),e(x,{}),e(i,{children:"Settings"}),e(i,{children:"Support"}),e(x,{}),e(i,{children:"Logout"})]})]})]}),a("main",{className:"grid flex-1 items-start gap-4 p-4 sm:px-6 sm:py-0 md:gap-8 lg:grid-cols-3 xl:grid-cols-3",children:[a("div",{className:"grid auto-rows-max items-start gap-4 md:gap-8 lg:col-span-2",children:[a("div",{className:"grid gap-4 sm:grid-cols-2 md:grid-cols-4 lg:grid-cols-2 xl:grid-cols-4",children:[a(c,{className:"sm:col-span-2",children:[a(p,{className:"pb-3",children:[e(g,{children:"Your Orders"}),e(u,{className:"max-w-lg text-balance leading-relaxed",children:"Introducing Our Dynamic Orders Dashboard for Seamless Management and Insightful Analysis."})]}),e(N,{children:e(t,{children:"Create New Order"})})]}),a(c,{children:[a(p,{className:"pb-2",children:[e(u,{children:"This Week"}),e(g,{className:"text-4xl",children:"$1329"})]}),e(f,{children:e("div",{className:"text-xs text-muted-foreground",children:"+25% from last week"})}),e(N,{children:e(H,{value:25,"aria-label":"25% increase"})})]}),a(c,{children:[a(p,{className:"pb-2",children:[e(u,{children:"This Month"}),e(g,{className:"text-3xl",children:"$5,329"})]}),e(f,{children:e("div",{className:"text-xs text-muted-foreground",children:"+10% from last month"})}),e(N,{children:e(H,{value:12,"aria-label":"12% increase"})})]})]}),a(ie,{defaultValue:"week",children:[a("div",{className:"flex items-center",children:[a(oe,{children:[e(D,{value:"week",children:"Week"}),e(D,{value:"month",children:"Month"}),e(D,{value:"year",children:"Year"})]}),a("div",{className:"ml-auto flex items-center gap-2",children:[a(T,{children:[e(y,{asChild:!0,children:a(t,{variant:"outline",size:"sm",className:"h-7 gap-1 text-sm",children:[e(V,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only sm:not-sr-only",children:"Filter"})]})}),a(w,{align:"end",children:[e(j,{children:"Filter by"}),e(x,{}),e(C,{checked:!0,children:"Fulfilled"}),e(C,{children:"Declined"}),e(C,{children:"Refunded"})]})]}),a(t,{size:"sm",variant:"outline",className:"h-7 gap-1 text-sm",children:[e(J,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only sm:not-sr-only",children:"Export"})]})]})]}),e(de,{value:"week",children:a(c,{children:[a(p,{className:"px-7",children:[e(g,{children:"Orders"}),e(u,{children:"Recent orders from your store."})]}),e(f,{children:a(te,{children:[e(ne,{children:a(r,{children:[e(h,{children:"Customer"}),e(h,{className:"hidden sm:table-cell",children:"Type"}),e(h,{className:"hidden sm:table-cell",children:"Status"}),e(h,{className:"hidden md:table-cell",children:"Date"}),e(h,{className:"text-right",children:"Amount"})]})}),a(re,{children:[a(r,{className:"bg-accent",children:[a(s,{children:[e("div",{className:"font-medium",children:"Liam Johnson"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"liam@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Sale"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-23"}),e(s,{className:"text-right",children:"$250.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Olivia Smith"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"olivia@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Refund"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"outline",children:"Declined"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-24"}),e(s,{className:"text-right",children:"$150.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Noah Williams"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"noah@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Subscription"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-25"}),e(s,{className:"text-right",children:"$350.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Emma Brown"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"emma@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Sale"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-26"}),e(s,{className:"text-right",children:"$450.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Liam Johnson"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"liam@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Sale"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-23"}),e(s,{className:"text-right",children:"$250.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Liam Johnson"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"liam@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Sale"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-23"}),e(s,{className:"text-right",children:"$250.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Olivia Smith"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"olivia@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Refund"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"outline",children:"Declined"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-24"}),e(s,{className:"text-right",children:"$150.00"})]}),a(r,{children:[a(s,{children:[e("div",{className:"font-medium",children:"Emma Brown"}),e("div",{className:"hidden text-sm text-muted-foreground md:inline",children:"emma@example.com"})]}),e(s,{className:"hidden sm:table-cell",children:"Sale"}),e(s,{className:"hidden sm:table-cell",children:e(n,{className:"text-xs",variant:"secondary",children:"Fulfilled"})}),e(s,{className:"hidden md:table-cell",children:"2023-06-26"}),e(s,{className:"text-right",children:"$450.00"})]})]})]})})]})})]})]}),e("div",{children:a(c,{className:"overflow-hidden",children:[a(p,{className:"flex flex-row items-start bg-muted/50",children:[a("div",{className:"grid gap-0.5",children:[a(g,{className:"group flex items-center gap-2 text-lg",children:["Order ID: Oe31b70H",a(t,{size:"icon",variant:"outline",className:"h-6 w-6 opacity-0 transition-opacity group-hover:opacity-100",children:[e(z,{className:"h-3 w-3"}),e("span",{className:"sr-only",children:"Copy Order ID"})]})]}),e(u,{children:"Date: November 23, 2023"})]}),a("div",{className:"ml-auto flex items-center gap-1",children:[a(t,{size:"sm",variant:"outline",className:"h-8 gap-1",children:[e(G,{className:"h-3.5 w-3.5"}),e("span",{className:"lg:sr-only xl:not-sr-only xl:whitespace-nowrap",children:"Track Order"})]}),a(T,{children:[e(y,{asChild:!0,children:a(t,{size:"icon",variant:"outline",className:"h-8 w-8",children:[e(W,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only",children:"More"})]})}),a(w,{align:"end",children:[e(i,{children:"Edit"}),e(i,{children:"Export"}),e(x,{}),e(i,{children:"Trash"})]})]})]})]}),a(f,{className:"p-6 text-sm",children:[a("div",{className:"grid gap-3",children:[e("div",{className:"font-semibold",children:"Order Details"}),a("ul",{className:"grid gap-3",children:[a("li",{className:"flex items-center justify-between",children:[a("span",{className:"text-muted-foreground",children:["Glimmer Lamps x ",e("span",{children:"2"})]}),e("span",{children:"$250.00"})]}),a("li",{className:"flex items-center justify-between",children:[a("span",{className:"text-muted-foreground",children:["Aqua Filters x ",e("span",{children:"1"})]}),e("span",{children:"$49.00"})]})]}),e(b,{className:"my-2"}),a("ul",{className:"grid gap-3",children:[a("li",{className:"flex items-center justify-between",children:[e("span",{className:"text-muted-foreground",children:"Subtotal"}),e("span",{children:"$299.00"})]}),a("li",{className:"flex items-center justify-between",children:[e("span",{className:"text-muted-foreground",children:"Shipping"}),e("span",{children:"$5.00"})]}),a("li",{className:"flex items-center justify-between",children:[e("span",{className:"text-muted-foreground",children:"Tax"}),e("span",{children:"$25.00"})]}),a("li",{className:"flex items-center justify-between font-semibold",children:[e("span",{className:"text-muted-foreground",children:"Total"}),e("span",{children:"$329.00"})]})]})]}),e(b,{className:"my-4"}),a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"grid gap-3",children:[e("div",{className:"font-semibold",children:"Shipping Information"}),a("address",{className:"grid gap-0.5 not-italic text-muted-foreground",children:[e("span",{children:"Liam Johnson"}),e("span",{children:"1234 Main St."}),e("span",{children:"Anytown, CA 12345"})]})]}),a("div",{className:"grid auto-rows-max gap-3",children:[e("div",{className:"font-semibold",children:"Billing Information"}),e("div",{className:"text-muted-foreground",children:"Same as shipping address"})]})]}),e(b,{className:"my-4"}),a("div",{className:"grid gap-3",children:[e("div",{className:"font-semibold",children:"Customer Information"}),a("dl",{className:"grid gap-3",children:[a("div",{className:"flex items-center justify-between",children:[e("dt",{className:"text-muted-foreground",children:"Customer"}),e("dd",{children:"Liam Johnson"})]}),a("div",{className:"flex items-center justify-between",children:[e("dt",{className:"text-muted-foreground",children:"Email"}),e("dd",{children:e("a",{href:"mailto:",children:"liam@acme.com"})})]}),a("div",{className:"flex items-center justify-between",children:[e("dt",{className:"text-muted-foreground",children:"Phone"}),e("dd",{children:e("a",{href:"tel:",children:"+1 234 567 890"})})]})]})]}),e(b,{className:"my-4"}),a("div",{className:"grid gap-3",children:[e("div",{className:"font-semibold",children:"Payment Information"}),e("dl",{className:"grid gap-3",children:a("div",{className:"flex items-center justify-between",children:[a("dt",{className:"flex items-center gap-1 text-muted-foreground",children:[e(E,{className:"h-4 w-4"}),"Visa"]}),e("dd",{children:"**** **** **** 4532"})]})})]})]}),a(N,{className:"flex flex-row items-center border-t bg-muted/50 px-6 py-3",children:[a("div",{className:"text-xs text-muted-foreground",children:["Updated ",e("time",{dateTime:"2023-11-23",children:"November 23, 2023"})]}),e(_,{className:"ml-auto mr-0 w-auto",children:a(ee,{children:[e(F,{children:a(t,{size:"icon",variant:"outline",className:"h-6 w-6",children:[e($,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only",children:"Previous Order"})]})}),e(F,{children:a(t,{size:"icon",variant:"outline",className:"h-6 w-6",children:[e(A,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only",children:"Next Order"})]})})]})})]})]})})]})]})]})}export{Me as containerClassName,me as default,Be as description,Le as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as a}from"react/jsx-runtime";import m from"next/image";import s from"next/link";import{File as I,Home as x,LineChart as v,ListFilter as A,MoreHorizontal as u,Package as D,Package2 as M,PanelLeft as P,PlusCircle as S,Search as H,Settings as j,ShoppingCart as y,Users2 as L}from"lucide-react";import{Badge as h}from"@/registry/default/ui/badge";import{Breadcrumb as z,BreadcrumbItem as f,BreadcrumbLink as B,BreadcrumbList as R,BreadcrumbPage as E,BreadcrumbSeparator as k}from"@/registry/default/ui/breadcrumb";import{Button as o}from"@/registry/default/ui/button";import{Card as q,CardContent as F,CardDescription as $,CardFooter as G,CardHeader as O,CardTitle as V}from"@/registry/default/ui/card";import{DropdownMenu as r,DropdownMenuCheckboxItem as N,DropdownMenuContent as n,DropdownMenuItem as t,DropdownMenuLabel as d,DropdownMenuSeparator as C,DropdownMenuTrigger as i}from"@/registry/default/ui/dropdown-menu";import{Input as U}from"@/registry/default/ui/input";import{Sheet as J,SheetContent as K,SheetTrigger as Q}from"@/registry/default/ui/sheet";import{Table as W,TableBody as X,TableCell as l,TableHead as c,TableHeader as Y,TableRow as p}from"@/registry/default/ui/table";import{Tabs as Z,TabsContent as _,TabsList as ee,TabsTrigger as w}from"@/registry/default/ui/tabs";import{Tooltip as g,TooltipContent as b,TooltipTrigger as T}from"@/registry/default/ui/tooltip";const ge="An products dashboard with a sidebar navigation. The sidebar has icon navigation. The content area has a breadcrumb and search in the header. It displays a list of products in a table with actions.",be="938px",Te="w-full h-full";function ae(){return a("div",{className:"flex min-h-screen w-full flex-col bg-muted/40",children:[a("aside",{className:"fixed inset-y-0 left-0 z-10 hidden w-14 flex-col border-r bg-background sm:flex",children:[a("nav",{className:"flex flex-col items-center gap-4 px-2 sm:py-5",children:[a(s,{href:"#",className:"group flex h-9 w-9 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:h-8 md:w-8 md:text-base",children:[e(M,{className:"h-4 w-4 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(x,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Dashboard"})]})}),e(b,{side:"right",children:"Dashboard"})]}),a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-accent text-accent-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(y,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Orders"})]})}),e(b,{side:"right",children:"Orders"})]}),a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(D,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Products"})]})}),e(b,{side:"right",children:"Products"})]}),a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(L,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Customers"})]})}),e(b,{side:"right",children:"Customers"})]}),a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(v,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Analytics"})]})}),e(b,{side:"right",children:"Analytics"})]})]}),e("nav",{className:"mt-auto flex flex-col items-center gap-4 px-2 sm:py-5",children:a(g,{children:[e(T,{asChild:!0,children:a(s,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(j,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Settings"})]})}),e(b,{side:"right",children:"Settings"})]})})]}),a("div",{className:"flex flex-col sm:gap-4 sm:py-4 sm:pl-14",children:[a("header",{className:"sticky top-0 z-30 flex h-14 items-center gap-4 border-b bg-background px-4 sm:static sm:h-auto sm:border-0 sm:bg-transparent sm:px-6",children:[a(J,{children:[e(Q,{asChild:!0,children:a(o,{size:"icon",variant:"outline",className:"sm:hidden",children:[e(P,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle Menu"})]})}),e(K,{side:"left",className:"sm:max-w-xs",children:a("nav",{className:"grid gap-6 text-lg font-medium",children:[a(s,{href:"#",className:"group flex h-10 w-10 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:text-base",children:[e(M,{className:"h-5 w-5 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),a(s,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(x,{className:"h-5 w-5"}),"Dashboard"]}),a(s,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(y,{className:"h-5 w-5"}),"Orders"]}),a(s,{href:"#",className:"flex items-center gap-4 px-2.5 text-foreground",children:[e(D,{className:"h-5 w-5"}),"Products"]}),a(s,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(L,{className:"h-5 w-5"}),"Customers"]}),a(s,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(v,{className:"h-5 w-5"}),"Settings"]})]})})]}),e(z,{className:"hidden md:flex",children:a(R,{children:[e(f,{children:e(B,{asChild:!0,children:e(s,{href:"#",children:"Dashboard"})})}),e(k,{}),e(f,{children:e(B,{asChild:!0,children:e(s,{href:"#",children:"Products"})})}),e(k,{}),e(f,{children:e(E,{children:"All Products"})})]})}),a("div",{className:"relative ml-auto flex-1 md:grow-0",children:[e(H,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(U,{type:"search",placeholder:"Search...",className:"w-full rounded-lg bg-background pl-8 md:w-[200px] lg:w-[336px]"})]}),a(r,{children:[e(i,{asChild:!0,children:e(o,{variant:"outline",size:"icon",className:"overflow-hidden rounded-full",children:e(m,{src:"/placeholder-user.jpg",width:36,height:36,alt:"Avatar",className:"overflow-hidden"})})}),a(n,{align:"end",children:[e(d,{children:"My Account"}),e(C,{}),e(t,{children:"Settings"}),e(t,{children:"Support"}),e(C,{}),e(t,{children:"Logout"})]})]})]}),e("main",{className:"grid flex-1 items-start gap-4 p-4 sm:px-6 sm:py-0 md:gap-8",children:a(Z,{defaultValue:"all",children:[a("div",{className:"flex items-center",children:[a(ee,{children:[e(w,{value:"all",children:"All"}),e(w,{value:"active",children:"Active"}),e(w,{value:"draft",children:"Draft"}),e(w,{value:"archived",className:"hidden sm:flex",children:"Archived"})]}),a("div",{className:"ml-auto flex items-center gap-2",children:[a(r,{children:[e(i,{asChild:!0,children:a(o,{variant:"outline",size:"sm",className:"h-8 gap-1",children:[e(A,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only sm:not-sr-only sm:whitespace-nowrap",children:"Filter"})]})}),a(n,{align:"end",children:[e(d,{children:"Filter by"}),e(C,{}),e(N,{checked:!0,children:"Active"}),e(N,{children:"Draft"}),e(N,{children:"Archived"})]})]}),a(o,{size:"sm",variant:"outline",className:"h-8 gap-1",children:[e(I,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only sm:not-sr-only sm:whitespace-nowrap",children:"Export"})]}),a(o,{size:"sm",className:"h-8 gap-1",children:[e(S,{className:"h-3.5 w-3.5"}),e("span",{className:"sr-only sm:not-sr-only sm:whitespace-nowrap",children:"Add Product"})]})]})]}),e(_,{value:"all",children:a(q,{children:[a(O,{children:[e(V,{children:"Products"}),e($,{children:"Manage your products and view their sales performance."})]}),e(F,{children:a(W,{children:[e(Y,{children:a(p,{children:[e(c,{className:"hidden w-[100px] sm:table-cell",children:e("span",{className:"sr-only",children:"Image"})}),e(c,{children:"Name"}),e(c,{children:"Status"}),e(c,{className:"hidden md:table-cell",children:"Price"}),e(c,{className:"hidden md:table-cell",children:"Total Sales"}),e(c,{className:"hidden md:table-cell",children:"Created at"}),e(c,{children:e("span",{className:"sr-only",children:"Actions"})})]})}),a(X,{children:[a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"Laser Lemonade Machine"}),e(l,{children:e(h,{variant:"outline",children:"Draft"})}),e(l,{className:"hidden md:table-cell",children:"$499.99"}),e(l,{className:"hidden md:table-cell",children:"25"}),e(l,{className:"hidden md:table-cell",children:"2023-07-12 10:42 AM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]}),a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"Hypernova Headphones"}),e(l,{children:e(h,{variant:"outline",children:"Active"})}),e(l,{className:"hidden md:table-cell",children:"$129.99"}),e(l,{className:"hidden md:table-cell",children:"100"}),e(l,{className:"hidden md:table-cell",children:"2023-10-18 03:21 PM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]}),a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"AeroGlow Desk Lamp"}),e(l,{children:e(h,{variant:"outline",children:"Active"})}),e(l,{className:"hidden md:table-cell",children:"$39.99"}),e(l,{className:"hidden md:table-cell",children:"50"}),e(l,{className:"hidden md:table-cell",children:"2023-11-29 08:15 AM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]}),a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"TechTonic Energy Drink"}),e(l,{children:e(h,{variant:"secondary",children:"Draft"})}),e(l,{className:"hidden md:table-cell",children:"$2.99"}),e(l,{className:"hidden md:table-cell",children:"0"}),e(l,{className:"hidden md:table-cell",children:"2023-12-25 11:59 PM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]}),a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"Gamer Gear Pro Controller"}),e(l,{children:e(h,{variant:"outline",children:"Active"})}),e(l,{className:"hidden md:table-cell",children:"$59.99"}),e(l,{className:"hidden md:table-cell",children:"75"}),e(l,{className:"hidden md:table-cell",children:"2024-01-01 12:00 AM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]}),a(p,{children:[e(l,{className:"hidden sm:table-cell",children:e(m,{alt:"Product image",className:"aspect-square rounded-md object-cover",height:"64",src:"/placeholder.svg",width:"64"})}),e(l,{className:"font-medium",children:"Luminous VR Headset"}),e(l,{children:e(h,{variant:"outline",children:"Active"})}),e(l,{className:"hidden md:table-cell",children:"$199.99"}),e(l,{className:"hidden md:table-cell",children:"30"}),e(l,{className:"hidden md:table-cell",children:"2024-02-14 02:14 PM"}),e(l,{children:a(r,{children:[e(i,{asChild:!0,children:a(o,{"aria-haspopup":"true",size:"icon",variant:"ghost",children:[e(u,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]})}),a(n,{align:"end",children:[e(d,{children:"Actions"}),e(t,{children:"Edit"}),e(t,{children:"Delete"})]})]})})]})]})]})}),e(G,{children:a("div",{className:"text-xs text-muted-foreground",children:["Showing ",e("strong",{children:"1-10"})," of ",e("strong",{children:"32"})," ","products"]})})]})})]})})]})]})}export{Te as containerClassName,ae as default,ge as description,be as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import f from"next/image";import a from"next/link";import{ChevronLeft as A,Home as L,LineChart as I,Package as P,Package2 as B,PanelLeft as F,PlusCircle as V,Search as z,Settings as R,ShoppingCart as D,Upload as q,Users2 as G}from"lucide-react";import{Badge as U}from"@/registry/default/ui/badge";import{Breadcrumb as O,BreadcrumbItem as C,BreadcrumbLink as M,BreadcrumbList as E,BreadcrumbPage as K,BreadcrumbSeparator as H}from"@/registry/default/ui/breadcrumb";import{Button as s}from"@/registry/default/ui/button";import{Card as n,CardContent as c,CardDescription as b,CardFooter as _,CardHeader as m,CardTitle as u}from"@/registry/default/ui/card";import{DropdownMenu as J,DropdownMenuContent as Q,DropdownMenuItem as x,DropdownMenuLabel as W,DropdownMenuSeparator as j,DropdownMenuTrigger as X}from"@/registry/default/ui/dropdown-menu";import{Input as d}from"@/registry/default/ui/input";import{Label as o}from"@/registry/default/ui/label";import{Select as T,SelectContent as w,SelectItem as l,SelectTrigger as y,SelectValue as S}from"@/registry/default/ui/select";import{Sheet as Y,SheetContent as Z,SheetTrigger as $}from"@/registry/default/ui/sheet";import{Table as ee,TableBody as te,TableCell as r,TableHead as v,TableHeader as ae,TableRow as N}from"@/registry/default/ui/table";import{Textarea as re}from"@/registry/default/ui/textarea";import{ToggleGroup as k,ToggleGroupItem as i}from"@/registry/default/ui/toggle-group";import{Tooltip as g,TooltipContent as p,TooltipTrigger as h}from"@/registry/default/ui/tooltip";const xe="A product edit page. The product edit page has a form to edit the product details, stock, product category, product status, and product images. The product edit page has a sidebar navigation and a main content area. The main content area has a form to edit the product details, stock, product category, product status, and product images. The sidebar navigation has links to product details, stock, product category, product status, and product images.",Te="1200px",we="w-full h-full";function oe(){return t("div",{className:"flex min-h-screen w-full flex-col bg-muted/40",children:[t("aside",{className:"fixed inset-y-0 left-0 z-10 hidden w-14 flex-col border-r bg-background sm:flex",children:[t("nav",{className:"flex flex-col items-center gap-4 px-2 sm:py-5",children:[t(a,{href:"#",className:"group flex h-9 w-9 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:h-8 md:w-8 md:text-base",children:[e(B,{className:"h-4 w-4 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(L,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Dashboard"})]})}),e(p,{side:"right",children:"Dashboard"})]}),t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg bg-accent text-accent-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(D,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Orders"})]})}),e(p,{side:"right",children:"Orders"})]}),t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(P,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Products"})]})}),e(p,{side:"right",children:"Products"})]}),t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(G,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Customers"})]})}),e(p,{side:"right",children:"Customers"})]}),t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(I,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Analytics"})]})}),e(p,{side:"right",children:"Analytics"})]})]}),e("nav",{className:"mt-auto flex flex-col items-center gap-4 px-2 sm:py-5",children:t(g,{children:[e(h,{asChild:!0,children:t(a,{href:"#",className:"flex h-9 w-9 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:text-foreground md:h-8 md:w-8",children:[e(R,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Settings"})]})}),e(p,{side:"right",children:"Settings"})]})})]}),t("div",{className:"flex flex-col sm:gap-4 sm:py-4 sm:pl-14",children:[t("header",{className:"sticky top-0 z-30 flex h-14 items-center gap-4 border-b bg-background px-4 sm:static sm:h-auto sm:border-0 sm:bg-transparent sm:px-6",children:[t(Y,{children:[e($,{asChild:!0,children:t(s,{size:"icon",variant:"outline",className:"sm:hidden",children:[e(F,{className:"h-5 w-5"}),e("span",{className:"sr-only",children:"Toggle Menu"})]})}),e(Z,{side:"left",className:"sm:max-w-xs",children:t("nav",{className:"grid gap-6 text-lg font-medium",children:[t(a,{href:"#",className:"group flex h-10 w-10 shrink-0 items-center justify-center gap-2 rounded-full bg-primary text-lg font-semibold text-primary-foreground md:text-base",children:[e(B,{className:"h-5 w-5 transition-all group-hover:scale-110"}),e("span",{className:"sr-only",children:"Acme Inc"})]}),t(a,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(L,{className:"h-5 w-5"}),"Dashboard"]}),t(a,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(D,{className:"h-5 w-5"}),"Orders"]}),t(a,{href:"#",className:"flex items-center gap-4 px-2.5 text-foreground",children:[e(P,{className:"h-5 w-5"}),"Products"]}),t(a,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(G,{className:"h-5 w-5"}),"Customers"]}),t(a,{href:"#",className:"flex items-center gap-4 px-2.5 text-muted-foreground hover:text-foreground",children:[e(I,{className:"h-5 w-5"}),"Settings"]})]})})]}),e(O,{className:"hidden md:flex",children:t(E,{children:[e(C,{children:e(M,{asChild:!0,children:e(a,{href:"#",children:"Dashboard"})})}),e(H,{}),e(C,{children:e(M,{asChild:!0,children:e(a,{href:"#",children:"Products"})})}),e(H,{}),e(C,{children:e(K,{children:"Edit Product"})})]})}),t("div",{className:"relative ml-auto flex-1 md:grow-0",children:[e(z,{className:"absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground"}),e(d,{type:"search",placeholder:"Search...",className:"w-full rounded-lg bg-background pl-8 md:w-[200px] lg:w-[336px]"})]}),t(J,{children:[e(X,{asChild:!0,children:e(s,{variant:"outline",size:"icon",className:"overflow-hidden rounded-full",children:e(f,{src:"/placeholder-user.jpg",width:36,height:36,alt:"Avatar",className:"overflow-hidden"})})}),t(Q,{align:"end",children:[e(W,{children:"My Account"}),e(j,{}),e(x,{children:"Settings"}),e(x,{children:"Support"}),e(j,{}),e(x,{children:"Logout"})]})]})]}),e("main",{className:"grid flex-1 items-start gap-4 p-4 sm:px-6 sm:py-0 md:gap-8",children:t("div",{className:"mx-auto grid max-w-[59rem] flex-1 auto-rows-max gap-4",children:[t("div",{className:"flex items-center gap-4",children:[t(s,{variant:"outline",size:"icon",className:"h-7 w-7",children:[e(A,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Back"})]}),e("h1",{className:"flex-1 shrink-0 whitespace-nowrap text-xl font-semibold tracking-tight sm:grow-0",children:"Pro Controller"}),e(U,{variant:"outline",className:"ml-auto sm:ml-0",children:"In stock"}),t("div",{className:"hidden items-center gap-2 md:ml-auto md:flex",children:[e(s,{variant:"outline",size:"sm",children:"Discard"}),e(s,{size:"sm",children:"Save Product"})]})]}),t("div",{className:"grid gap-4 md:grid-cols-[1fr_250px] lg:grid-cols-3 lg:gap-8",children:[t("div",{className:"grid auto-rows-max items-start gap-4 lg:col-span-2 lg:gap-8",children:[t(n,{children:[t(m,{children:[e(u,{children:"Product Details"}),e(b,{children:"Lipsum dolor sit amet, consectetur adipiscing elit"})]}),e(c,{children:t("div",{className:"grid gap-6",children:[t("div",{className:"grid gap-3",children:[e(o,{htmlFor:"name",children:"Name"}),e(d,{id:"name",type:"text",className:"w-full",defaultValue:"Gamer Gear Pro Controller"})]}),t("div",{className:"grid gap-3",children:[e(o,{htmlFor:"description",children:"Description"}),e(re,{id:"description",defaultValue:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam auctor, nisl nec ultricies ultricies, nunc nisl ultricies nunc, nec ultricies nunc nisl nec nunc.",className:"min-h-32"})]})]})})]}),t(n,{children:[t(m,{children:[e(u,{children:"Stock"}),e(b,{children:"Lipsum dolor sit amet, consectetur adipiscing elit"})]}),e(c,{children:t(ee,{children:[e(ae,{children:t(N,{children:[e(v,{className:"w-[100px]",children:"SKU"}),e(v,{children:"Stock"}),e(v,{children:"Price"}),e(v,{className:"w-[100px]",children:"Size"})]})}),t(te,{children:[t(N,{children:[e(r,{className:"font-semibold",children:"GGPC-001"}),t(r,{children:[e(o,{htmlFor:"stock-1",className:"sr-only",children:"Stock"}),e(d,{id:"stock-1",type:"number",defaultValue:"100"})]}),t(r,{children:[e(o,{htmlFor:"price-1",className:"sr-only",children:"Price"}),e(d,{id:"price-1",type:"number",defaultValue:"99.99"})]}),e(r,{children:t(k,{type:"single",defaultValue:"s",variant:"outline",children:[e(i,{value:"s",children:"S"}),e(i,{value:"m",children:"M"}),e(i,{value:"l",children:"L"})]})})]}),t(N,{children:[e(r,{className:"font-semibold",children:"GGPC-002"}),t(r,{children:[e(o,{htmlFor:"stock-2",className:"sr-only",children:"Stock"}),e(d,{id:"stock-2",type:"number",defaultValue:"143"})]}),t(r,{children:[e(o,{htmlFor:"price-2",className:"sr-only",children:"Price"}),e(d,{id:"price-2",type:"number",defaultValue:"99.99"})]}),e(r,{children:t(k,{type:"single",defaultValue:"m",variant:"outline",children:[e(i,{value:"s",children:"S"}),e(i,{value:"m",children:"M"}),e(i,{value:"l",children:"L"})]})})]}),t(N,{children:[e(r,{className:"font-semibold",children:"GGPC-003"}),t(r,{children:[e(o,{htmlFor:"stock-3",className:"sr-only",children:"Stock"}),e(d,{id:"stock-3",type:"number",defaultValue:"32"})]}),t(r,{children:[e(o,{htmlFor:"price-3",className:"sr-only",children:"Stock"}),e(d,{id:"price-3",type:"number",defaultValue:"99.99"})]}),e(r,{children:t(k,{type:"single",defaultValue:"s",variant:"outline",children:[e(i,{value:"s",children:"S"}),e(i,{value:"m",children:"M"}),e(i,{value:"l",children:"L"})]})})]})]})]})}),e(_,{className:"justify-center border-t p-4",children:t(s,{size:"sm",variant:"ghost",className:"gap-1",children:[e(V,{className:"h-3.5 w-3.5"}),"Add Variant"]})})]}),t(n,{children:[e(m,{children:e(u,{children:"Product Category"})}),e(c,{children:t("div",{className:"grid gap-6 sm:grid-cols-3",children:[t("div",{className:"grid gap-3",children:[e(o,{htmlFor:"category",children:"Category"}),t(T,{children:[e(y,{id:"category","aria-label":"Select category",children:e(S,{placeholder:"Select category"})}),t(w,{children:[e(l,{value:"clothing",children:"Clothing"}),e(l,{value:"electronics",children:"Electronics"}),e(l,{value:"accessories",children:"Accessories"})]})]})]}),t("div",{className:"grid gap-3",children:[e(o,{htmlFor:"subcategory",children:"Subcategory (optional)"}),t(T,{children:[e(y,{id:"subcategory","aria-label":"Select subcategory",children:e(S,{placeholder:"Select subcategory"})}),t(w,{children:[e(l,{value:"t-shirts",children:"T-Shirts"}),e(l,{value:"hoodies",children:"Hoodies"}),e(l,{value:"sweatshirts",children:"Sweatshirts"})]})]})]})]})})]})]}),t("div",{className:"grid auto-rows-max items-start gap-4 lg:gap-8",children:[t(n,{children:[e(m,{children:e(u,{children:"Product Status"})}),e(c,{children:e("div",{className:"grid gap-6",children:t("div",{className:"grid gap-3",children:[e(o,{htmlFor:"status",children:"Status"}),t(T,{children:[e(y,{id:"status","aria-label":"Select status",children:e(S,{placeholder:"Select status"})}),t(w,{children:[e(l,{value:"draft",children:"Draft"}),e(l,{value:"published",children:"Active"}),e(l,{value:"archived",children:"Archived"})]})]})]})})})]}),t(n,{className:"overflow-hidden",children:[t(m,{children:[e(u,{children:"Product Images"}),e(b,{children:"Lipsum dolor sit amet, consectetur adipiscing elit"})]}),e(c,{children:t("div",{className:"grid gap-2",children:[e(f,{alt:"Product image",className:"aspect-square w-full rounded-md object-cover",height:"300",src:"/placeholder.svg",width:"300"}),t("div",{className:"grid grid-cols-3 gap-2",children:[e("button",{children:e(f,{alt:"Product image",className:"aspect-square w-full rounded-md object-cover",height:"84",src:"/placeholder.svg",width:"84"})}),e("button",{children:e(f,{alt:"Product image",className:"aspect-square w-full rounded-md object-cover",height:"84",src:"/placeholder.svg",width:"84"})}),t("button",{className:"flex aspect-square w-full items-center justify-center rounded-md border border-dashed",children:[e(q,{className:"h-4 w-4 text-muted-foreground"}),e("span",{className:"sr-only",children:"Upload"})]})]})]})})]}),t(n,{children:[t(m,{children:[e(u,{children:"Archive Product"}),e(b,{children:"Lipsum dolor sit amet, consectetur adipiscing elit."})]}),t(c,{children:[e("div",{}),e(s,{size:"sm",variant:"secondary",children:"Archive Product"})]})]})]})]}),t("div",{className:"flex items-center justify-center gap-2 md:hidden",children:[e(s,{variant:"outline",size:"sm",children:"Discard"}),e(s,{size:"sm",children:"Save Product"})]})]})})]})]})}export{we as containerClassName,oe as default,xe as description,Te as iframeHeight};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as o}from"react/jsx-runtime";import{Accordion as n,AccordionContent as t,AccordionItem as c,AccordionTrigger as i}from"@/registry/default/ui/accordion";function r(){return o(n,{type:"single",collapsible:!0,className:"w-full",children:[o(c,{value:"item-1",children:[e(i,{children:"Is it accessible?"}),e(t,{children:"Yes. It adheres to the WAI-ARIA design pattern."})]}),o(c,{value:"item-2",children:[e(i,{children:"Is it styled?"}),e(t,{children:"Yes. It comes with default styles that matches the other components' aesthetic."})]}),o(c,{value:"item-3",children:[e(i,{children:"Is it animated?"}),e(t,{children:"Yes. It's animated by default, but you can disable it if you prefer."})]})]})}export{r as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as n}from"react/jsx-runtime";import{Terminal as t}from"lucide-react";import{Alert as r,AlertDescription as o,AlertTitle as l}from"@/registry/default/ui/alert";function i(){return n(r,{children:[e(t,{className:"h-4 w-4"}),e(l,{children:"Heads up!"}),e(o,{children:"You can add components to your app using the cli."})]})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as s}from"react/jsx-runtime";import{AlertCircle as r}from"lucide-react";import{Alert as t,AlertDescription as i,AlertTitle as l}from"@/registry/default/ui/alert";function o(){return s(t,{variant:"destructive",children:[e(r,{className:"h-4 w-4"}),e(l,{children:"Error"}),e(i,{children:"Your session has expired. Please log in again."})]})}export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as l}from"react/jsx-runtime";import{AlertDialog as o,AlertDialogAction as t,AlertDialogCancel as r,AlertDialogContent as i,AlertDialogDescription as a,AlertDialogFooter as n,AlertDialogHeader as g,AlertDialogTitle as D,AlertDialogTrigger as A}from"@/registry/default/ui/alert-dialog";import{Button as u}from"@/registry/default/ui/button";function c(){return l(o,{children:[e(A,{asChild:!0,children:e(u,{variant:"outline",children:"Show Dialog"})}),l(i,{children:[l(g,{children:[e(D,{children:"Are you absolutely sure?"}),e(a,{children:"This action cannot be undone. This will permanently delete your account and remove your data from our servers."})]}),l(n,{children:[e(r,{children:"Cancel"}),e(t,{children:"Continue"})]})]})]})}export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import t from"next/image";import{AspectRatio as e}from"@/registry/default/ui/aspect-ratio";function a(){return o(e,{ratio:16/9,className:"bg-muted",children:o(t,{src:"https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80",alt:"Photo by Drew Beamer",fill:!0,className:"rounded-md object-cover"})})}export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as a,jsxs as o}from"react/jsx-runtime";import{Avatar as t,AvatarFallback as r,AvatarImage as c}from"@/registry/default/ui/avatar";function l(){return o(t,{children:[a(c,{src:"https://github.com/shadcn.png",alt:"@shadcn"}),a(r,{children:"CN"})]})}export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{Badge as e}from"@/registry/default/ui/badge";function d(){return o(e,{children:"Badge"})}export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";import{Badge as e}from"@/registry/default/ui/badge";function t(){return r(e,{variant:"destructive",children:"Destructive"})}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n}from"react/jsx-runtime";import{Badge as e}from"@/registry/default/ui/badge";function t(){return n(e,{variant:"outline",children:"Outline"})}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{Badge as a}from"@/registry/default/ui/badge";function d(){return e(a,{variant:"secondary",children:"Secondary"})}export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as m}from"react/jsx-runtime";import{Breadcrumb as u,BreadcrumbEllipsis as d,BreadcrumbItem as r,BreadcrumbLink as a,BreadcrumbList as t,BreadcrumbPage as c,BreadcrumbSeparator as n}from"@/registry/default/ui/breadcrumb";import{DropdownMenu as p,DropdownMenuContent as b,DropdownMenuItem as o,DropdownMenuTrigger as s}from"@/registry/default/ui/dropdown-menu";function B(){return e(u,{children:m(t,{children:[e(r,{children:e(a,{href:"/",children:"Home"})}),e(n,{}),e(r,{children:m(p,{children:[m(s,{className:"flex items-center gap-1",children:[e(d,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Toggle menu"})]}),m(b,{align:"start",children:[e(o,{children:"Documentation"}),e(o,{children:"Themes"}),e(o,{children:"GitHub"})]})]})}),e(n,{}),e(r,{children:e(a,{href:"/docs/components",children:"Components"})}),e(n,{}),e(r,{children:e(c,{children:"Breadcrumb"})})]})})}export{B as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r,jsxs as e}from"react/jsx-runtime";import{ChevronDown as t,Slash as n}from"lucide-react";import{Breadcrumb as u,BreadcrumbItem as o,BreadcrumbLink as d,BreadcrumbList as c,BreadcrumbPage as p,BreadcrumbSeparator as a}from"@/registry/default/ui/breadcrumb";import{DropdownMenu as b,DropdownMenuContent as B,DropdownMenuItem as m,DropdownMenuTrigger as i}from"@/registry/default/ui/dropdown-menu";function w(){return r(u,{children:e(c,{children:[r(o,{children:r(d,{href:"/",children:"Home"})}),r(a,{children:r(n,{})}),r(o,{children:e(b,{children:[e(i,{className:"flex items-center gap-1",children:["Components",r(t,{className:"h-4 w-4"})]}),e(B,{align:"start",children:[r(m,{children:"Documentation"}),r(m,{children:"Themes"}),r(m,{children:"GitHub"})]})]})}),r(a,{children:r(n,{})}),r(o,{children:r(p,{children:"Breadcrumb"})})]})})}export{w as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r,jsxs as o}from"react/jsx-runtime";import a from"next/link";import{Breadcrumb as c,BreadcrumbEllipsis as u,BreadcrumbItem as e,BreadcrumbLink as d,BreadcrumbList as b,BreadcrumbPage as B,BreadcrumbSeparator as m}from"@/registry/default/ui/breadcrumb";function i(){return r(c,{children:o(b,{children:[r(e,{children:r(d,{asChild:!0,children:r(a,{href:"/",children:"Home"})})}),r(m,{}),r(e,{children:r(u,{})}),r(m,{}),r(e,{children:r(d,{asChild:!0,children:r(a,{href:"/docs/components",children:"Components"})})}),r(m,{}),r(e,{children:r(B,{children:"Breadcrumb"})})]})})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r,jsxs as B}from"react/jsx-runtime";import m from"next/link";import{Breadcrumb as c,BreadcrumbItem as e,BreadcrumbLink as a,BreadcrumbList as d,BreadcrumbPage as b,BreadcrumbSeparator as u}from"@/registry/default/ui/breadcrumb";function t(){return r(c,{children:B(d,{children:[r(e,{children:r(a,{children:r(m,{href:"/",children:"Home"})})}),r(u,{}),r(e,{children:r(a,{children:r(m,{href:"/components",children:"Components"})})}),r(u,{}),r(e,{children:r(b,{children:"Breadcrumb"})})]})})}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{Fragment as d,jsx as e,jsxs as a}from"react/jsx-runtime";import*as D from"react";import t from"next/link";import{useMediaQuery as b}from"@/hooks/use-media-query";import{Breadcrumb as g,BreadcrumbEllipsis as c,BreadcrumbItem as l,BreadcrumbLink as u,BreadcrumbList as f,BreadcrumbPage as h,BreadcrumbSeparator as i}from"@/registry/default/ui/breadcrumb";import{Button as B}from"@/registry/default/ui/button";import{Drawer as C,DrawerClose as k,DrawerContent as M,DrawerDescription as L,DrawerFooter as N,DrawerHeader as T,DrawerTitle as x,DrawerTrigger as I}from"@/registry/default/ui/drawer";import{DropdownMenu as v,DropdownMenuContent as y,DropdownMenuItem as S,DropdownMenuTrigger as O}from"@/registry/default/ui/dropdown-menu";const n=[{href:"#",label:"Home"},{href:"#",label:"Documentation"},{href:"#",label:"Building Your Application"},{href:"#",label:"Data Fetching"},{label:"Caching and Revalidating"}],p=3;function F(){const[m,s]=D.useState(!1),w=b("(min-width: 768px)");return e(g,{children:a(f,{children:[e(l,{children:e(u,{href:n[0].href,children:n[0].label})}),e(i,{}),n.length>p?a(d,{children:[e(l,{children:w?a(v,{open:m,onOpenChange:s,children:[e(O,{className:"flex items-center gap-1","aria-label":"Toggle menu",children:e(c,{className:"h-4 w-4"})}),e(y,{align:"start",children:n.slice(1,-2).map((r,o)=>e(S,{children:e(t,{href:r.href?r.href:"#",children:r.label})},o))})]}):a(C,{open:m,onOpenChange:s,children:[e(I,{"aria-label":"Toggle Menu",children:e(c,{className:"h-4 w-4"})}),a(M,{children:[a(T,{className:"text-left",children:[e(x,{children:"Navigate to"}),e(L,{children:"Select a page to navigate to."})]}),e("div",{className:"grid gap-1 px-4",children:n.slice(1,-2).map((r,o)=>e(t,{href:r.href?r.href:"#",className:"py-1 text-sm",children:r.label},o))}),e(N,{className:"pt-4",children:e(k,{asChild:!0,children:e(B,{variant:"outline",children:"Close"})})})]})]})}),e(i,{})]}):null,n.slice(-p+1).map((r,o)=>e(l,{children:r.href?a(d,{children:[e(u,{asChild:!0,className:"max-w-20 truncate md:max-w-none",children:e(t,{href:r.href,children:r.label})}),e(i,{})]}):e(h,{className:"max-w-20 truncate md:max-w-none",children:r.label})},o))]})})}export{F as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r,jsxs as B}from"react/jsx-runtime";import{Slash as a}from"lucide-react";import{Breadcrumb as c,BreadcrumbItem as e,BreadcrumbLink as m,BreadcrumbList as d,BreadcrumbPage as b,BreadcrumbSeparator as u}from"@/registry/default/ui/breadcrumb";function t(){return r(c,{children:B(d,{children:[r(e,{children:r(m,{href:"/",children:"Home"})}),r(u,{children:r(a,{})}),r(e,{children:r(m,{href:"/components",children:"Components"})}),r(u,{children:r(a,{})}),r(e,{children:r(b,{children:"Breadcrumb"})})]})})}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import t from"next/link";import{Button as n}from"@/registry/default/ui/button";function i(){return o(n,{asChild:!0,children:o(t,{href:"/login",children:"Login"})})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";function o(){return n(t,{children:"Button"})}export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";function u(){return e(t,{variant:"destructive",children:"Destructive"})}export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";function o(){return n(t,{variant:"ghost",children:"Ghost"})}export{o as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{ChevronRight as t}from"lucide-react";import{Button as n}from"@/registry/default/ui/button";function i(){return o(n,{variant:"outline",size:"icon",children:o(t,{className:"h-4 w-4"})})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";function n(){return o(t,{variant:"link",children:"Link"})}export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n,jsxs as e}from"react/jsx-runtime";import{Loader2 as t}from"lucide-react";import{Button as o}from"@/registry/default/ui/button";function a(){return e(o,{disabled:!0,children:[n(t,{className:"mr-2 h-4 w-4 animate-spin"}),"Please wait"]})}export{a as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as o}from"react/jsx-runtime";import{Button as t}from"@/registry/default/ui/button";function n(){return o(t,{variant:"outline",children:"Outline"})}export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n}from"react/jsx-runtime";import{Button as o}from"@/registry/default/ui/button";function t(){return n(o,{variant:"secondary",children:"Secondary"})}export{t as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as n,jsxs as m}from"react/jsx-runtime";import{Mail as t}from"lucide-react";import{Button as o}from"@/registry/default/ui/button";function i(){return m(o,{children:[n(t,{className:"mr-2 h-4 w-4"})," Login with Email"]})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as o}from"react/jsx-runtime";import*as a from"react";import{Calendar as d}from"@/registry/default/ui/calendar";function n(){const[e,t]=a.useState(new Date);return o(d,{mode:"single",selected:e,onSelect:t,className:"rounded-md border"})}export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";var c=Object.defineProperty,f=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,o)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,l=(t,e)=>{for(var o in e||(e={}))F.call(e,o)&&i(t,o,e[o]);if(n)for(var o of n(e))b.call(e,o)&&i(t,o,e[o]);return t},s=(t,e)=>f(t,d(e));import{jsx as r,jsxs as m}from"react/jsx-runtime";import{zodResolver as v}from"@hookform/resolvers/zod";import{format as g}from"date-fns";import{CalendarIcon as h}from"lucide-react";import{useForm as P}from"react-hook-form";import{z as p}from"zod";import{cn as C}from"@/lib/utils";import{Button as u}from"@/registry/default/ui/button";import{Calendar as S}from"@/registry/default/ui/calendar";import{Form as w,FormControl as N,FormDescription as x,FormField as y,FormItem as D,FormLabel as z,FormMessage as B}from"@/registry/default/ui/form";import{Popover as I,PopoverContent as q,PopoverTrigger as L}from"@/registry/default/ui/popover";import{toast as T}from"@/registry/default/ui/use-toast";const Y=p.object({dob:p.date({required_error:"A date of birth is required."})});function k(){const t=P({resolver:v(Y)});function e(o){T({title:"You submitted the following values:",description:r("pre",{className:"mt-2 w-[340px] rounded-md bg-slate-950 p-4",children:r("code",{className:"text-white",children:JSON.stringify(o,null,2)})})})}return r(w,s(l({},t),{children:m("form",{onSubmit:t.handleSubmit(e),className:"space-y-8",children:[r(y,{control:t.control,name:"dob",render:({field:o})=>m(D,{className:"flex flex-col",children:[r(z,{children:"Date of birth"}),m(I,{children:[r(L,{asChild:!0,children:r(N,{children:m(u,{variant:"outline",className:C("w-[240px] pl-3 text-left font-normal",!o.value&&"text-muted-foreground"),children:[o.value?g(o.value,"PPP"):r("span",{children:"Pick a date"}),r(h,{className:"ml-auto h-4 w-4 opacity-50"})]})})}),r(q,{className:"w-auto p-0",align:"start",children:r(S,{mode:"single",selected:o.value,onSelect:o.onChange,disabled:a=>a>new Date||a<new Date("1900-01-01"),initialFocus:!0})})]}),r(x,{children:"Your date of birth is used to calculate your age."}),r(B,{})]})}),r(u,{type:"submit",children:"Submit"})]})}))}export{k as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";var c=Object.defineProperty,f=Object.defineProperties;var d=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,o)=>e in t?c(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,l=(t,e)=>{for(var o in e||(e={}))F.call(e,o)&&i(t,o,e[o]);if(n)for(var o of n(e))b.call(e,o)&&i(t,o,e[o]);return t},s=(t,e)=>f(t,d(e));import{jsx as r,jsxs as m}from"react/jsx-runtime";import{zodResolver as v}from"@hookform/resolvers/zod";import{format as g}from"date-fns";import{CalendarIcon as h}from"lucide-react";import{useForm as P}from"react-hook-form";import{z as p}from"zod";import{cn as C}from"@/lib/utils";import{Button as u}from"@/registry/default/ui/button";import{Calendar as S}from"@/registry/default/ui/calendar";import{Form as w,FormControl as N,FormDescription as x,FormField as y,FormItem as D,FormLabel as z,FormMessage as B}from"@/registry/default/ui/form";import{Popover as I,PopoverContent as q,PopoverTrigger as L}from"@/registry/default/ui/popover";import{toast as T}from"@/registry/default/ui/use-toast";const Y=p.object({dob:p.date({required_error:"A date of birth is required."})});function k(){const t=P({resolver:v(Y)});function e(o){T({title:"You submitted the following values:",description:r("pre",{className:"mt-2 w-[340px] rounded-md bg-slate-950 p-4",children:r("code",{className:"text-white",children:JSON.stringify(o,null,2)})})})}return r(w,s(l({},t),{children:m("form",{onSubmit:t.handleSubmit(e),className:"space-y-8",children:[r(y,{control:t.control,name:"dob",render:({field:o})=>m(D,{className:"flex flex-col",children:[r(z,{children:"Date of birth"}),m(I,{children:[r(L,{asChild:!0,children:r(N,{children:m(u,{variant:"outline",className:C("w-[240px] pl-3 text-left font-normal",!o.value&&"text-muted-foreground"),children:[o.value?g(o.value,"PPP"):r("span",{children:"Pick a date"}),r(h,{className:"ml-auto h-4 w-4 opacity-50"})]})})}),r(q,{className:"w-auto p-0",align:"start",children:r(S,{mode:"single",selected:o.value,onSelect:o.onChange,disabled:a=>a>new Date||a<new Date("1900-01-01"),initialFocus:!0})})]}),r(x,{children:"Your date of birth is used to calculate your age."}),r(B,{})]})}),r(u,{type:"submit",children:"Submit"})]})}))}export{k as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var C=Object.defineProperty,g=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var n=(e,a,t)=>a in e?C(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,p=(e,a)=>{for(var t in a||(a={}))m.call(a,t)&&n(e,t,a[t]);if(i)for(var t of i(a))l.call(a,t)&&n(e,t,a[t]);return e},c=(e,a)=>g(e,N(a));var u=(e,a)=>{var t={};for(var s in e)m.call(e,s)&&a.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&i)for(var s of i(e))a.indexOf(s)<0&&l.call(e,s)&&(t[s]=e[s]);return t};import{jsx as o,jsxs as r}from"react/jsx-runtime";import{BellRing as v,Check as x}from"lucide-react";import{cn as h}from"@/lib/utils";import{Button as b}from"@/registry/default/ui/button";import{Card as y,CardContent as w,CardDescription as k,CardFooter as P,CardHeader as Y,CardTitle as B}from"@/registry/default/ui/card";import{Switch as D}from"@/registry/default/ui/switch";const F=[{title:"Your call has been confirmed.",description:"1 hour ago"},{title:"You have a new message!",description:"1 hour ago"},{title:"Your subscription is expiring soon!",description:"2 hours ago"}];function H(t){var s=t,{className:e}=s,a=u(s,["className"]);return r(y,c(p({className:h("w-[380px]",e)},a),{children:[r(Y,{children:[o(B,{children:"Notifications"}),o(k,{children:"You have 3 unread messages."})]}),r(w,{className:"grid gap-4",children:[r("div",{className:" flex items-center space-x-4 rounded-md border p-4",children:[o(v,{}),r("div",{className:"flex-1 space-y-1",children:[o("p",{className:"text-sm font-medium leading-none",children:"Push Notifications"}),o("p",{className:"text-sm text-muted-foreground",children:"Send notifications to device."})]}),o(D,{})]}),o("div",{children:F.map((d,f)=>r("div",{className:"mb-4 grid grid-cols-[25px_1fr] items-start pb-4 last:mb-0 last:pb-0",children:[o("span",{className:"flex h-2 w-2 translate-y-1 rounded-full bg-sky-500"}),r("div",{className:"space-y-1",children:[o("p",{className:"text-sm font-medium leading-none",children:d.title}),o("p",{className:"text-sm text-muted-foreground",children:d.description})]})]},f))})]}),o(P,{children:r(b,{className:"w-full",children:[o(x,{className:"mr-2 h-4 w-4"})," Mark all as read"]})})]}))}export{H as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{Button as o}from"@/registry/default/ui/button";import{Card as l,CardContent as c,CardDescription as i,CardFooter as m,CardHeader as n,CardTitle as d}from"@/registry/default/ui/card";import{Input as p}from"@/registry/default/ui/input";import{Label as a}from"@/registry/default/ui/label";import{Select as s,SelectContent as f,SelectItem as r,SelectTrigger as C,SelectValue as u}from"@/registry/default/ui/select";function S(){return t(l,{className:"w-[350px]",children:[t(n,{children:[e(d,{children:"Create project"}),e(i,{children:"Deploy your new project in one-click."})]}),e(c,{children:e("form",{children:t("div",{className:"grid w-full items-center gap-4",children:[t("div",{className:"flex flex-col space-y-1.5",children:[e(a,{htmlFor:"name",children:"Name"}),e(p,{id:"name",placeholder:"Name of your project"})]}),t("div",{className:"flex flex-col space-y-1.5",children:[e(a,{htmlFor:"framework",children:"Framework"}),t(s,{children:[e(C,{id:"framework",children:e(u,{placeholder:"Select"})}),t(f,{position:"popper",children:[e(r,{value:"next",children:"Next.js"}),e(r,{value:"sveltekit",children:"SvelteKit"}),e(r,{value:"astro",children:"Astro"}),e(r,{value:"nuxt",children:"Nuxt.js"})]})]})]})]})})}),t(m,{className:"flex justify-between",children:[e(o,{variant:"outline",children:"Cancel"}),e(o,{children:"Deploy"})]})]})}export{S as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as a,jsxs as e}from"react/jsx-runtime";import*as d from"react";import{Minus as c,Plus as p}from"lucide-react";import{useTheme as u}from"next-themes";import{Bar as C,BarChart as g,ResponsiveContainer as f}from"recharts";import{useConfig as h}from"@/hooks/use-config";import{Button as s}from"@/registry/default/ui/button";import{Card as v,CardContent as y,CardDescription as N,CardFooter as x,CardHeader as k,CardTitle as b}from"@/registry/default/ui/card";import{themes as B}from"@/registry/themes";const w=[{goal:400},{goal:300},{goal:200},{goal:300},{goal:200},{goal:278},{goal:189},{goal:239},{goal:300},{goal:200},{goal:278},{goal:189},{goal:349}];function F(){const{theme:l}=u(),[n]=h(),o=B.find(r=>r.name===n.theme),[t,m]=d.useState(350);function i(r){m(Math.max(200,Math.min(400,t+r)))}return e(v,{children:[e(k,{className:"pb-4",children:[a(b,{className:"text-base",children:"Move Goal"}),a(N,{children:"Set your daily activity goal."})]}),e(y,{className:"pb-2",children:[e("div",{className:"flex items-center justify-center space-x-2",children:[e(s,{variant:"outline",size:"icon",className:"h-8 w-8 shrink-0 rounded-full",onClick:()=>i(-10),disabled:t<=200,children:[a(c,{className:"h-4 w-4"}),a("span",{className:"sr-only",children:"Decrease"})]}),e("div",{className:"flex-1 text-center",children:[a("div",{className:"text-5xl font-bold tracking-tighter",children:t}),a("div",{className:"text-[0.70rem] uppercase text-muted-foreground",children:"Calories/day"})]}),e(s,{variant:"outline",size:"icon",className:"h-8 w-8 shrink-0 rounded-full",onClick:()=>i(10),disabled:t>=400,children:[a(p,{className:"h-4 w-4"}),a("span",{className:"sr-only",children:"Increase"})]})]}),a("div",{className:"my-3 h-[60px]",children:a(f,{width:"100%",height:"100%",children:a(g,{data:w,children:a(C,{dataKey:"goal",style:{fill:"var(--theme-primary)",opacity:.2,"--theme-primary":`hsl(${o==null?void 0:o.cssVars[l==="dark"?"dark":"light"].primary})`}})})})})]}),a(x,{children:a(s,{className:"w-full",children:"Set Goal"})})]})}export{F as CardsActivityGoal};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as r}from"react/jsx-runtime";import{addDays as t}from"date-fns";import{Calendar as e}from"@/registry/default/ui/calendar";import{Card as o,CardContent as n}from"@/registry/default/ui/card";const a=new Date(2023,5,5);function C(){return r(o,{className:"max-w-[280px]",children:r(n,{className:"p-0",children:r(e,{numberOfMonths:1,mode:"range",defaultMonth:a,selected:{from:a,to:t(a,8)}})})})}export{C as CardsCalendar};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Fragment as R,jsx as e,jsxs as t}from"react/jsx-runtime";import*as l from"react";import{Check as N,Plus as h,Send as y}from"lucide-react";import{cn as b}from"@/lib/utils";import{Avatar as r,AvatarFallback as i,AvatarImage as p}from"@/registry/default/ui/avatar";import{Button as c}from"@/registry/default/ui/button";import{Card as w,CardContent as D,CardFooter as T,CardHeader as k}from"@/registry/default/ui/card";import{Command as I,CommandEmpty as S,CommandGroup as A,CommandInput as F,CommandItem as H,CommandList as O}from"@/registry/default/ui/command";import{Dialog as B,DialogContent as L,DialogDescription as U,DialogFooter as E,DialogHeader as M,DialogTitle as P}from"@/registry/default/ui/dialog";import{Input as W}from"@/registry/default/ui/input";import{Tooltip as z,TooltipContent as G,TooltipProvider as J,TooltipTrigger as K}from"@/registry/default/ui/tooltip";const v=[{name:"Olivia Martin",email:"m@example.com",avatar:"/avatars/01.png"},{name:"Isabella Nguyen",email:"isabella.nguyen@email.com",avatar:"/avatars/03.png"},{name:"Emma Wilson",email:"emma@example.com",avatar:"/avatars/05.png"},{name:"Jackson Lee",email:"lee@example.com",avatar:"/avatars/02.png"},{name:"William Kim",email:"will@email.com",avatar:"/avatars/04.png"}];function ee(){const[C,n]=l.useState(!1),[o,d]=l.useState([]),[u,x]=l.useState([{role:"agent",content:"Hi, how can I help you today?"},{role:"user",content:"Hey, I'm having trouble with my account."},{role:"agent",content:"What seems to be the problem?"},{role:"user",content:"I can't log in."}]),[s,g]=l.useState(""),f=s.trim().length;return t(R,{children:[t(w,{children:[t(k,{className:"flex flex-row items-center",children:[t("div",{className:"flex items-center space-x-4",children:[t(r,{children:[e(p,{src:"/avatars/01.png",alt:"Image"}),e(i,{children:"OM"})]}),t("div",{children:[e("p",{className:"text-sm font-medium leading-none",children:"Sofia Davis"}),e("p",{className:"text-sm text-muted-foreground",children:"m@example.com"})]})]}),e(J,{delayDuration:0,children:t(z,{children:[e(K,{asChild:!0,children:t(c,{size:"icon",variant:"outline",className:"ml-auto rounded-full",onClick:()=>n(!0),children:[e(h,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"New message"})]})}),e(G,{sideOffset:10,children:"New message"})]})})]}),e(D,{children:e("div",{className:"space-y-4",children:u.map((a,m)=>e("div",{className:b("flex w-max max-w-[75%] flex-col gap-2 rounded-lg px-3 py-2 text-sm",a.role==="user"?"ml-auto bg-primary text-primary-foreground":"bg-muted"),children:a.content},m))})}),e(T,{children:t("form",{onSubmit:a=>{a.preventDefault(),f!==0&&(x([...u,{role:"user",content:s}]),g(""))},className:"flex w-full items-center space-x-2",children:[e(W,{id:"message",placeholder:"Type your message...",className:"flex-1",autoComplete:"off",value:s,onChange:a=>g(a.target.value)}),t(c,{type:"submit",size:"icon",disabled:f===0,children:[e(y,{className:"h-4 w-4"}),e("span",{className:"sr-only",children:"Send"})]})]})})]}),e(B,{open:C,onOpenChange:n,children:t(L,{className:"gap-0 p-0 outline-none",children:[t(M,{className:"px-4 pb-4 pt-5",children:[e(P,{children:"New message"}),e(U,{children:"Invite a user to this thread. This will create a new group message."})]}),t(I,{className:"overflow-hidden rounded-t-none border-t",children:[e(F,{placeholder:"Search user..."}),t(O,{children:[e(S,{children:"No users found."}),e(A,{className:"p-2",children:v.map(a=>t(H,{className:"flex items-center px-2",onSelect:()=>o.includes(a)?d(o.filter(m=>m!==a)):d([...v].filter(m=>[...o,a].includes(m))),children:[t(r,{children:[e(p,{src:a.avatar,alt:"Image"}),e(i,{children:a.name[0]})]}),t("div",{className:"ml-2",children:[e("p",{className:"text-sm font-medium leading-none",children:a.name}),e("p",{className:"text-sm text-muted-foreground",children:a.email})]}),o.includes(a)?e(N,{className:"ml-auto flex h-5 w-5 text-primary"}):null]},a.email))})]})]}),t(E,{className:"flex items-center border-t p-4 sm:justify-between",children:[o.length>0?e("div",{className:"flex -space-x-2 overflow-hidden",children:o.map(a=>t(r,{className:"inline-block border-2 border-background",children:[e(p,{src:a.avatar}),e(i,{children:a.name[0]})]},a.email))}):e("p",{className:"text-sm text-muted-foreground",children:"Select users to add to this thread."}),e(c,{disabled:o.length<2,onClick:()=>{n(!1)},children:"Continue"})]})]})})]})}export{ee as CardsChat};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as e,jsxs as a}from"react/jsx-runtime";import{Button as o}from"@/registry/default/ui/button";import{Card as r,CardContent as n,CardDescription as i,CardFooter as l,CardHeader as c,CardTitle as d}from"@/registry/default/ui/card";import{Label as s}from"@/registry/default/ui/label";import{Switch as t}from"@/registry/default/ui/switch";function x(){return a(r,{children:[a(c,{children:[e(d,{children:"Cookie Settings"}),e(i,{children:"Manage your cookie settings here."})]}),a(n,{className:"grid gap-6",children:[a("div",{className:"flex items-center justify-between space-x-4",children:[a(s,{htmlFor:"necessary",className:"flex flex-col space-y-1",children:[e("span",{children:"Strictly Necessary"}),e("span",{className:"text-xs font-normal leading-snug text-muted-foreground",children:"These cookies are essential in order to use the website and use its features."})]}),e(t,{id:"necessary",defaultChecked:!0,"aria-label":"Necessary"})]}),a("div",{className:"flex items-center justify-between space-x-4",children:[a(s,{htmlFor:"functional",className:"flex flex-col space-y-1",children:[e("span",{children:"Functional Cookies"}),e("span",{className:"text-xs font-normal leading-snug text-muted-foreground",children:"These cookies allow the website to provide personalized functionality."})]}),e(t,{id:"functional","aria-label":"Functional"})]}),a("div",{className:"flex items-center justify-between space-x-4",children:[a(s,{htmlFor:"performance",className:"flex flex-col space-y-1",children:[e("span",{children:"Performance Cookies"}),e("span",{className:"text-xs font-normal leading-snug text-muted-foreground",children:"These cookies help to improve the performance of the website."})]}),e(t,{id:"performance","aria-label":"Performance"})]})]}),e(l,{children:e(o,{variant:"outline",className:"w-full",children:"Save preferences"})})]})}export{x as CardsCookieSettings};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use client";import{jsx as a,jsxs as e}from"react/jsx-runtime";import{Icons as t}from"@/components/icons";import{Button as r}from"@/registry/default/ui/button";import{Card as i,CardContent as l,CardDescription as d,CardFooter as m,CardHeader as c,CardTitle as n}from"@/registry/default/ui/card";import{Input as o}from"@/registry/default/ui/input";import{Label as s}from"@/registry/default/ui/label";function N(){return e(i,{children:[e(c,{className:"space-y-1",children:[a(n,{className:"text-2xl",children:"Create an account"}),a(d,{children:"Enter your email below to create your account"})]}),e(l,{className:"grid gap-4",children:[e("div",{className:"grid grid-cols-2 gap-6",children:[e(r,{variant:"outline",children:[a(t.gitHub,{className:"mr-2 h-4 w-4"}),"Github"]}),e(r,{variant:"outline",children:[a(t.google,{className:"mr-2 h-4 w-4"}),"Google"]})]}),e("div",{className:"relative",children:[a("div",{className:"absolute inset-0 flex items-center",children:a("span",{className:"w-full border-t"})}),a("div",{className:"relative flex justify-center text-xs uppercase",children:a("span",{className:"bg-background px-2 text-muted-foreground",children:"Or continue with"})})]}),e("div",{className:"grid gap-2",children:[a(s,{htmlFor:"email",children:"Email"}),a(o,{id:"email",type:"email",placeholder:"m@example.com"})]}),e("div",{className:"grid gap-2",children:[a(s,{htmlFor:"password",children:"Password"}),a(o,{id:"password",type:"password"})]})]}),a(m,{children:a(r,{className:"w-full",children:"Create account"})})]})}export{N as CardsCreateAccount};
|