fulldev-ui 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +1 -0
- package/package.json +10 -6
- package/public/r/accordion-examples.json +49 -0
- package/public/r/alert-dialog-examples.json +51 -0
- package/public/r/alert-examples.json +47 -0
- package/public/r/aspect-ratio-examples.json +33 -0
- package/public/r/attachment-examples.json +48 -0
- package/public/r/avatar-examples.json +68 -0
- package/public/r/badge-examples.json +52 -0
- package/public/r/breadcrumb-examples.json +53 -0
- package/public/r/button-examples.json +87 -0
- package/public/r/button-group-examples.json +75 -0
- package/public/r/card-examples.json +51 -0
- package/public/r/carousel-examples.json +49 -0
- package/public/r/checkbox-examples.json +56 -0
- package/public/r/collapsible-examples.json +46 -0
- package/public/r/collapsible.json +1 -1
- package/public/r/combobox-examples.json +69 -0
- package/public/r/command-examples.json +47 -0
- package/public/r/dialog-examples.json +47 -0
- package/public/r/drawer-examples.json +54 -0
- package/public/r/drawer.json +1 -1
- package/public/r/dropdown-menu-examples.json +63 -0
- package/public/r/dropdown-menu.json +1 -1
- package/public/r/empty-examples.json +55 -0
- package/public/r/field-examples.json +86 -0
- package/public/r/field.json +6 -6
- package/public/r/hover-card-examples.json +29 -0
- package/public/r/input-examples.json +97 -0
- package/public/r/input-group-examples.json +91 -0
- package/public/r/item-examples.json +74 -0
- package/public/r/kbd-examples.json +50 -0
- package/public/r/label-examples.json +24 -0
- package/public/r/native-select-examples.json +38 -0
- package/public/r/navigation-menu-examples.json +26 -0
- package/public/r/pagination-examples.json +35 -0
- package/public/r/popover-examples.json +42 -0
- package/public/r/radio-group-examples.json +50 -0
- package/public/r/radio-group.json +1 -1
- package/public/r/registry.json +2067 -1
- package/public/r/resizable-examples.json +33 -0
- package/public/r/select-examples.json +53 -0
- package/public/r/separator-examples.json +38 -0
- package/public/r/sheet-examples.json +37 -0
- package/public/r/sidebar-1.json +1 -1
- package/public/r/sidebar-examples.json +24 -0
- package/public/r/sidebar.json +1 -1
- package/public/r/skeleton-examples.json +49 -0
- package/public/r/slider-examples.json +44 -0
- package/public/r/spinner-examples.json +61 -0
- package/public/r/styles/base-luma/accordion-examples.json +49 -0
- package/public/r/styles/base-luma/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-luma/alert-examples.json +47 -0
- package/public/r/styles/base-luma/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-luma/attachment-examples.json +48 -0
- package/public/r/styles/base-luma/avatar-examples.json +68 -0
- package/public/r/styles/base-luma/badge-examples.json +52 -0
- package/public/r/styles/base-luma/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-luma/button-examples.json +87 -0
- package/public/r/styles/base-luma/button-group-examples.json +75 -0
- package/public/r/styles/base-luma/card-examples.json +51 -0
- package/public/r/styles/base-luma/carousel-examples.json +49 -0
- package/public/r/styles/base-luma/checkbox-examples.json +56 -0
- package/public/r/styles/base-luma/collapsible-examples.json +46 -0
- package/public/r/styles/base-luma/collapsible.json +1 -1
- package/public/r/styles/base-luma/combobox-examples.json +69 -0
- package/public/r/styles/base-luma/command-examples.json +47 -0
- package/public/r/styles/base-luma/dialog-examples.json +47 -0
- package/public/r/styles/base-luma/drawer-examples.json +54 -0
- package/public/r/styles/base-luma/drawer.json +1 -1
- package/public/r/styles/base-luma/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-luma/dropdown-menu.json +1 -1
- package/public/r/styles/base-luma/empty-examples.json +55 -0
- package/public/r/styles/base-luma/field-examples.json +86 -0
- package/public/r/styles/base-luma/field.json +6 -6
- package/public/r/styles/base-luma/hover-card-examples.json +29 -0
- package/public/r/styles/base-luma/input-examples.json +97 -0
- package/public/r/styles/base-luma/input-group-examples.json +91 -0
- package/public/r/styles/base-luma/item-examples.json +74 -0
- package/public/r/styles/base-luma/kbd-examples.json +50 -0
- package/public/r/styles/base-luma/label-examples.json +24 -0
- package/public/r/styles/base-luma/native-select-examples.json +38 -0
- package/public/r/styles/base-luma/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-luma/pagination-examples.json +35 -0
- package/public/r/styles/base-luma/popover-examples.json +42 -0
- package/public/r/styles/base-luma/radio-group-examples.json +50 -0
- package/public/r/styles/base-luma/radio-group.json +1 -1
- package/public/r/styles/base-luma/registry.json +2067 -1
- package/public/r/styles/base-luma/resizable-examples.json +33 -0
- package/public/r/styles/base-luma/select-examples.json +53 -0
- package/public/r/styles/base-luma/separator-examples.json +38 -0
- package/public/r/styles/base-luma/sheet-examples.json +37 -0
- package/public/r/styles/base-luma/sidebar-1.json +1 -1
- package/public/r/styles/base-luma/sidebar-examples.json +24 -0
- package/public/r/styles/base-luma/sidebar.json +1 -1
- package/public/r/styles/base-luma/skeleton-examples.json +49 -0
- package/public/r/styles/base-luma/slider-examples.json +44 -0
- package/public/r/styles/base-luma/spinner-examples.json +61 -0
- package/public/r/styles/base-luma/switch-examples.json +50 -0
- package/public/r/styles/base-luma/switch.json +1 -1
- package/public/r/styles/base-luma/table-examples.json +38 -0
- package/public/r/styles/base-luma/tabs-examples.json +47 -0
- package/public/r/styles/base-luma/textarea-examples.json +45 -0
- package/public/r/styles/base-luma/theme-toggle.json +1 -1
- package/public/r/styles/base-luma/toast-examples.json +29 -0
- package/public/r/styles/base-luma/toggle-examples.json +46 -0
- package/public/r/styles/base-luma/toggle-group-examples.json +57 -0
- package/public/r/styles/base-luma/tooltip-examples.json +43 -0
- package/public/r/styles/base-lyra/accordion-examples.json +49 -0
- package/public/r/styles/base-lyra/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-lyra/alert-examples.json +47 -0
- package/public/r/styles/base-lyra/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-lyra/attachment-examples.json +48 -0
- package/public/r/styles/base-lyra/avatar-examples.json +68 -0
- package/public/r/styles/base-lyra/badge-examples.json +52 -0
- package/public/r/styles/base-lyra/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-lyra/button-examples.json +87 -0
- package/public/r/styles/base-lyra/button-group-examples.json +75 -0
- package/public/r/styles/base-lyra/card-examples.json +51 -0
- package/public/r/styles/base-lyra/carousel-examples.json +49 -0
- package/public/r/styles/base-lyra/checkbox-examples.json +56 -0
- package/public/r/styles/base-lyra/collapsible-examples.json +46 -0
- package/public/r/styles/base-lyra/collapsible.json +1 -1
- package/public/r/styles/base-lyra/combobox-examples.json +69 -0
- package/public/r/styles/base-lyra/command-examples.json +47 -0
- package/public/r/styles/base-lyra/dialog-examples.json +47 -0
- package/public/r/styles/base-lyra/drawer-examples.json +54 -0
- package/public/r/styles/base-lyra/drawer.json +1 -1
- package/public/r/styles/base-lyra/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-lyra/dropdown-menu.json +1 -1
- package/public/r/styles/base-lyra/empty-examples.json +55 -0
- package/public/r/styles/base-lyra/field-examples.json +86 -0
- package/public/r/styles/base-lyra/field.json +6 -6
- package/public/r/styles/base-lyra/hover-card-examples.json +29 -0
- package/public/r/styles/base-lyra/input-examples.json +97 -0
- package/public/r/styles/base-lyra/input-group-examples.json +91 -0
- package/public/r/styles/base-lyra/item-examples.json +74 -0
- package/public/r/styles/base-lyra/kbd-examples.json +50 -0
- package/public/r/styles/base-lyra/label-examples.json +24 -0
- package/public/r/styles/base-lyra/native-select-examples.json +38 -0
- package/public/r/styles/base-lyra/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-lyra/pagination-examples.json +35 -0
- package/public/r/styles/base-lyra/popover-examples.json +42 -0
- package/public/r/styles/base-lyra/radio-group-examples.json +50 -0
- package/public/r/styles/base-lyra/radio-group.json +1 -1
- package/public/r/styles/base-lyra/registry.json +2067 -1
- package/public/r/styles/base-lyra/resizable-examples.json +33 -0
- package/public/r/styles/base-lyra/select-examples.json +53 -0
- package/public/r/styles/base-lyra/separator-examples.json +38 -0
- package/public/r/styles/base-lyra/sheet-examples.json +37 -0
- package/public/r/styles/base-lyra/sidebar-1.json +1 -1
- package/public/r/styles/base-lyra/sidebar-examples.json +24 -0
- package/public/r/styles/base-lyra/sidebar.json +1 -1
- package/public/r/styles/base-lyra/skeleton-examples.json +49 -0
- package/public/r/styles/base-lyra/slider-examples.json +44 -0
- package/public/r/styles/base-lyra/spinner-examples.json +61 -0
- package/public/r/styles/base-lyra/switch-examples.json +50 -0
- package/public/r/styles/base-lyra/switch.json +1 -1
- package/public/r/styles/base-lyra/table-examples.json +38 -0
- package/public/r/styles/base-lyra/tabs-examples.json +47 -0
- package/public/r/styles/base-lyra/textarea-examples.json +45 -0
- package/public/r/styles/base-lyra/theme-toggle.json +1 -1
- package/public/r/styles/base-lyra/toast-examples.json +29 -0
- package/public/r/styles/base-lyra/toggle-examples.json +46 -0
- package/public/r/styles/base-lyra/toggle-group-examples.json +57 -0
- package/public/r/styles/base-lyra/tooltip-examples.json +43 -0
- package/public/r/styles/base-maia/accordion-examples.json +49 -0
- package/public/r/styles/base-maia/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-maia/alert-examples.json +47 -0
- package/public/r/styles/base-maia/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-maia/attachment-examples.json +48 -0
- package/public/r/styles/base-maia/avatar-examples.json +68 -0
- package/public/r/styles/base-maia/badge-examples.json +52 -0
- package/public/r/styles/base-maia/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-maia/button-examples.json +87 -0
- package/public/r/styles/base-maia/button-group-examples.json +75 -0
- package/public/r/styles/base-maia/card-examples.json +51 -0
- package/public/r/styles/base-maia/carousel-examples.json +49 -0
- package/public/r/styles/base-maia/checkbox-examples.json +56 -0
- package/public/r/styles/base-maia/collapsible-examples.json +46 -0
- package/public/r/styles/base-maia/collapsible.json +1 -1
- package/public/r/styles/base-maia/combobox-examples.json +69 -0
- package/public/r/styles/base-maia/command-examples.json +47 -0
- package/public/r/styles/base-maia/dialog-examples.json +47 -0
- package/public/r/styles/base-maia/drawer-examples.json +54 -0
- package/public/r/styles/base-maia/drawer.json +1 -1
- package/public/r/styles/base-maia/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-maia/dropdown-menu.json +1 -1
- package/public/r/styles/base-maia/empty-examples.json +55 -0
- package/public/r/styles/base-maia/field-examples.json +86 -0
- package/public/r/styles/base-maia/field.json +6 -6
- package/public/r/styles/base-maia/hover-card-examples.json +29 -0
- package/public/r/styles/base-maia/input-examples.json +97 -0
- package/public/r/styles/base-maia/input-group-examples.json +91 -0
- package/public/r/styles/base-maia/item-examples.json +74 -0
- package/public/r/styles/base-maia/kbd-examples.json +50 -0
- package/public/r/styles/base-maia/label-examples.json +24 -0
- package/public/r/styles/base-maia/native-select-examples.json +38 -0
- package/public/r/styles/base-maia/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-maia/pagination-examples.json +35 -0
- package/public/r/styles/base-maia/popover-examples.json +42 -0
- package/public/r/styles/base-maia/radio-group-examples.json +50 -0
- package/public/r/styles/base-maia/radio-group.json +1 -1
- package/public/r/styles/base-maia/registry.json +2067 -1
- package/public/r/styles/base-maia/resizable-examples.json +33 -0
- package/public/r/styles/base-maia/select-examples.json +53 -0
- package/public/r/styles/base-maia/separator-examples.json +38 -0
- package/public/r/styles/base-maia/sheet-examples.json +37 -0
- package/public/r/styles/base-maia/sidebar-1.json +1 -1
- package/public/r/styles/base-maia/sidebar-examples.json +24 -0
- package/public/r/styles/base-maia/sidebar.json +1 -1
- package/public/r/styles/base-maia/skeleton-examples.json +49 -0
- package/public/r/styles/base-maia/slider-examples.json +44 -0
- package/public/r/styles/base-maia/spinner-examples.json +61 -0
- package/public/r/styles/base-maia/switch-examples.json +50 -0
- package/public/r/styles/base-maia/switch.json +1 -1
- package/public/r/styles/base-maia/table-examples.json +38 -0
- package/public/r/styles/base-maia/tabs-examples.json +47 -0
- package/public/r/styles/base-maia/textarea-examples.json +45 -0
- package/public/r/styles/base-maia/theme-toggle.json +1 -1
- package/public/r/styles/base-maia/toast-examples.json +29 -0
- package/public/r/styles/base-maia/toggle-examples.json +46 -0
- package/public/r/styles/base-maia/toggle-group-examples.json +57 -0
- package/public/r/styles/base-maia/tooltip-examples.json +43 -0
- package/public/r/styles/base-mira/accordion-examples.json +49 -0
- package/public/r/styles/base-mira/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-mira/alert-examples.json +47 -0
- package/public/r/styles/base-mira/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-mira/attachment-examples.json +48 -0
- package/public/r/styles/base-mira/avatar-examples.json +68 -0
- package/public/r/styles/base-mira/badge-examples.json +52 -0
- package/public/r/styles/base-mira/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-mira/button-examples.json +87 -0
- package/public/r/styles/base-mira/button-group-examples.json +75 -0
- package/public/r/styles/base-mira/card-examples.json +51 -0
- package/public/r/styles/base-mira/carousel-examples.json +49 -0
- package/public/r/styles/base-mira/checkbox-examples.json +56 -0
- package/public/r/styles/base-mira/collapsible-examples.json +46 -0
- package/public/r/styles/base-mira/collapsible.json +1 -1
- package/public/r/styles/base-mira/combobox-examples.json +69 -0
- package/public/r/styles/base-mira/command-examples.json +47 -0
- package/public/r/styles/base-mira/dialog-examples.json +47 -0
- package/public/r/styles/base-mira/drawer-examples.json +54 -0
- package/public/r/styles/base-mira/drawer.json +1 -1
- package/public/r/styles/base-mira/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-mira/dropdown-menu.json +1 -1
- package/public/r/styles/base-mira/empty-examples.json +55 -0
- package/public/r/styles/base-mira/field-examples.json +86 -0
- package/public/r/styles/base-mira/field.json +6 -6
- package/public/r/styles/base-mira/hover-card-examples.json +29 -0
- package/public/r/styles/base-mira/input-examples.json +97 -0
- package/public/r/styles/base-mira/input-group-examples.json +91 -0
- package/public/r/styles/base-mira/item-examples.json +74 -0
- package/public/r/styles/base-mira/kbd-examples.json +50 -0
- package/public/r/styles/base-mira/label-examples.json +24 -0
- package/public/r/styles/base-mira/native-select-examples.json +38 -0
- package/public/r/styles/base-mira/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-mira/pagination-examples.json +35 -0
- package/public/r/styles/base-mira/popover-examples.json +42 -0
- package/public/r/styles/base-mira/radio-group-examples.json +50 -0
- package/public/r/styles/base-mira/radio-group.json +1 -1
- package/public/r/styles/base-mira/registry.json +2067 -1
- package/public/r/styles/base-mira/resizable-examples.json +33 -0
- package/public/r/styles/base-mira/select-examples.json +53 -0
- package/public/r/styles/base-mira/separator-examples.json +38 -0
- package/public/r/styles/base-mira/sheet-examples.json +37 -0
- package/public/r/styles/base-mira/sidebar-1.json +1 -1
- package/public/r/styles/base-mira/sidebar-examples.json +24 -0
- package/public/r/styles/base-mira/sidebar.json +1 -1
- package/public/r/styles/base-mira/skeleton-examples.json +49 -0
- package/public/r/styles/base-mira/slider-examples.json +44 -0
- package/public/r/styles/base-mira/spinner-examples.json +61 -0
- package/public/r/styles/base-mira/switch-examples.json +50 -0
- package/public/r/styles/base-mira/switch.json +1 -1
- package/public/r/styles/base-mira/table-examples.json +38 -0
- package/public/r/styles/base-mira/tabs-examples.json +47 -0
- package/public/r/styles/base-mira/textarea-examples.json +45 -0
- package/public/r/styles/base-mira/theme-toggle.json +1 -1
- package/public/r/styles/base-mira/toast-examples.json +29 -0
- package/public/r/styles/base-mira/toggle-examples.json +46 -0
- package/public/r/styles/base-mira/toggle-group-examples.json +57 -0
- package/public/r/styles/base-mira/tooltip-examples.json +43 -0
- package/public/r/styles/base-nova/accordion-examples.json +49 -0
- package/public/r/styles/base-nova/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-nova/alert-examples.json +47 -0
- package/public/r/styles/base-nova/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-nova/attachment-examples.json +48 -0
- package/public/r/styles/base-nova/avatar-examples.json +68 -0
- package/public/r/styles/base-nova/badge-examples.json +52 -0
- package/public/r/styles/base-nova/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-nova/button-examples.json +87 -0
- package/public/r/styles/base-nova/button-group-examples.json +75 -0
- package/public/r/styles/base-nova/card-examples.json +51 -0
- package/public/r/styles/base-nova/carousel-examples.json +49 -0
- package/public/r/styles/base-nova/checkbox-examples.json +56 -0
- package/public/r/styles/base-nova/collapsible-examples.json +46 -0
- package/public/r/styles/base-nova/collapsible.json +1 -1
- package/public/r/styles/base-nova/combobox-examples.json +69 -0
- package/public/r/styles/base-nova/command-examples.json +47 -0
- package/public/r/styles/base-nova/dialog-examples.json +47 -0
- package/public/r/styles/base-nova/drawer-examples.json +54 -0
- package/public/r/styles/base-nova/drawer.json +1 -1
- package/public/r/styles/base-nova/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-nova/dropdown-menu.json +1 -1
- package/public/r/styles/base-nova/empty-examples.json +55 -0
- package/public/r/styles/base-nova/field-examples.json +86 -0
- package/public/r/styles/base-nova/field.json +6 -6
- package/public/r/styles/base-nova/hover-card-examples.json +29 -0
- package/public/r/styles/base-nova/input-examples.json +97 -0
- package/public/r/styles/base-nova/input-group-examples.json +91 -0
- package/public/r/styles/base-nova/item-examples.json +74 -0
- package/public/r/styles/base-nova/kbd-examples.json +50 -0
- package/public/r/styles/base-nova/label-examples.json +24 -0
- package/public/r/styles/base-nova/native-select-examples.json +38 -0
- package/public/r/styles/base-nova/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-nova/pagination-examples.json +35 -0
- package/public/r/styles/base-nova/popover-examples.json +42 -0
- package/public/r/styles/base-nova/radio-group-examples.json +50 -0
- package/public/r/styles/base-nova/radio-group.json +1 -1
- package/public/r/styles/base-nova/registry.json +2067 -1
- package/public/r/styles/base-nova/resizable-examples.json +33 -0
- package/public/r/styles/base-nova/select-examples.json +53 -0
- package/public/r/styles/base-nova/separator-examples.json +38 -0
- package/public/r/styles/base-nova/sheet-examples.json +37 -0
- package/public/r/styles/base-nova/sidebar-1.json +1 -1
- package/public/r/styles/base-nova/sidebar-examples.json +24 -0
- package/public/r/styles/base-nova/sidebar.json +1 -1
- package/public/r/styles/base-nova/skeleton-examples.json +49 -0
- package/public/r/styles/base-nova/slider-examples.json +44 -0
- package/public/r/styles/base-nova/spinner-examples.json +61 -0
- package/public/r/styles/base-nova/switch-examples.json +50 -0
- package/public/r/styles/base-nova/switch.json +1 -1
- package/public/r/styles/base-nova/table-examples.json +38 -0
- package/public/r/styles/base-nova/tabs-examples.json +47 -0
- package/public/r/styles/base-nova/textarea-examples.json +45 -0
- package/public/r/styles/base-nova/theme-toggle.json +1 -1
- package/public/r/styles/base-nova/toast-examples.json +29 -0
- package/public/r/styles/base-nova/toggle-examples.json +46 -0
- package/public/r/styles/base-nova/toggle-group-examples.json +57 -0
- package/public/r/styles/base-nova/tooltip-examples.json +43 -0
- package/public/r/styles/base-rhea/accordion-examples.json +49 -0
- package/public/r/styles/base-rhea/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-rhea/alert-examples.json +47 -0
- package/public/r/styles/base-rhea/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-rhea/attachment-examples.json +48 -0
- package/public/r/styles/base-rhea/avatar-examples.json +68 -0
- package/public/r/styles/base-rhea/badge-examples.json +52 -0
- package/public/r/styles/base-rhea/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-rhea/button-examples.json +87 -0
- package/public/r/styles/base-rhea/button-group-examples.json +75 -0
- package/public/r/styles/base-rhea/card-examples.json +51 -0
- package/public/r/styles/base-rhea/carousel-examples.json +49 -0
- package/public/r/styles/base-rhea/checkbox-examples.json +56 -0
- package/public/r/styles/base-rhea/collapsible-examples.json +46 -0
- package/public/r/styles/base-rhea/collapsible.json +1 -1
- package/public/r/styles/base-rhea/combobox-examples.json +69 -0
- package/public/r/styles/base-rhea/command-examples.json +47 -0
- package/public/r/styles/base-rhea/dialog-examples.json +47 -0
- package/public/r/styles/base-rhea/drawer-examples.json +54 -0
- package/public/r/styles/base-rhea/drawer.json +1 -1
- package/public/r/styles/base-rhea/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-rhea/dropdown-menu.json +1 -1
- package/public/r/styles/base-rhea/empty-examples.json +55 -0
- package/public/r/styles/base-rhea/field-examples.json +86 -0
- package/public/r/styles/base-rhea/field.json +6 -6
- package/public/r/styles/base-rhea/hover-card-examples.json +29 -0
- package/public/r/styles/base-rhea/input-examples.json +97 -0
- package/public/r/styles/base-rhea/input-group-examples.json +91 -0
- package/public/r/styles/base-rhea/item-examples.json +74 -0
- package/public/r/styles/base-rhea/kbd-examples.json +50 -0
- package/public/r/styles/base-rhea/label-examples.json +24 -0
- package/public/r/styles/base-rhea/native-select-examples.json +38 -0
- package/public/r/styles/base-rhea/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-rhea/pagination-examples.json +35 -0
- package/public/r/styles/base-rhea/popover-examples.json +42 -0
- package/public/r/styles/base-rhea/radio-group-examples.json +50 -0
- package/public/r/styles/base-rhea/radio-group.json +1 -1
- package/public/r/styles/base-rhea/registry.json +2067 -1
- package/public/r/styles/base-rhea/resizable-examples.json +33 -0
- package/public/r/styles/base-rhea/select-examples.json +53 -0
- package/public/r/styles/base-rhea/separator-examples.json +38 -0
- package/public/r/styles/base-rhea/sheet-examples.json +37 -0
- package/public/r/styles/base-rhea/sidebar-1.json +1 -1
- package/public/r/styles/base-rhea/sidebar-examples.json +24 -0
- package/public/r/styles/base-rhea/sidebar.json +1 -1
- package/public/r/styles/base-rhea/skeleton-examples.json +49 -0
- package/public/r/styles/base-rhea/slider-examples.json +44 -0
- package/public/r/styles/base-rhea/spinner-examples.json +61 -0
- package/public/r/styles/base-rhea/switch-examples.json +50 -0
- package/public/r/styles/base-rhea/switch.json +1 -1
- package/public/r/styles/base-rhea/table-examples.json +38 -0
- package/public/r/styles/base-rhea/tabs-examples.json +47 -0
- package/public/r/styles/base-rhea/textarea-examples.json +45 -0
- package/public/r/styles/base-rhea/theme-toggle.json +1 -1
- package/public/r/styles/base-rhea/toast-examples.json +29 -0
- package/public/r/styles/base-rhea/toggle-examples.json +46 -0
- package/public/r/styles/base-rhea/toggle-group-examples.json +57 -0
- package/public/r/styles/base-rhea/tooltip-examples.json +43 -0
- package/public/r/styles/base-sera/accordion-examples.json +49 -0
- package/public/r/styles/base-sera/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-sera/alert-examples.json +47 -0
- package/public/r/styles/base-sera/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-sera/attachment-examples.json +48 -0
- package/public/r/styles/base-sera/avatar-examples.json +68 -0
- package/public/r/styles/base-sera/badge-examples.json +52 -0
- package/public/r/styles/base-sera/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-sera/button-examples.json +87 -0
- package/public/r/styles/base-sera/button-group-examples.json +75 -0
- package/public/r/styles/base-sera/card-examples.json +51 -0
- package/public/r/styles/base-sera/carousel-examples.json +49 -0
- package/public/r/styles/base-sera/checkbox-examples.json +56 -0
- package/public/r/styles/base-sera/collapsible-examples.json +46 -0
- package/public/r/styles/base-sera/collapsible.json +1 -1
- package/public/r/styles/base-sera/combobox-examples.json +69 -0
- package/public/r/styles/base-sera/command-examples.json +47 -0
- package/public/r/styles/base-sera/dialog-examples.json +47 -0
- package/public/r/styles/base-sera/drawer-examples.json +54 -0
- package/public/r/styles/base-sera/drawer.json +1 -1
- package/public/r/styles/base-sera/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-sera/dropdown-menu.json +1 -1
- package/public/r/styles/base-sera/empty-examples.json +55 -0
- package/public/r/styles/base-sera/field-examples.json +86 -0
- package/public/r/styles/base-sera/field.json +6 -6
- package/public/r/styles/base-sera/hover-card-examples.json +29 -0
- package/public/r/styles/base-sera/input-examples.json +97 -0
- package/public/r/styles/base-sera/input-group-examples.json +91 -0
- package/public/r/styles/base-sera/item-examples.json +74 -0
- package/public/r/styles/base-sera/kbd-examples.json +50 -0
- package/public/r/styles/base-sera/label-examples.json +24 -0
- package/public/r/styles/base-sera/native-select-examples.json +38 -0
- package/public/r/styles/base-sera/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-sera/pagination-examples.json +35 -0
- package/public/r/styles/base-sera/popover-examples.json +42 -0
- package/public/r/styles/base-sera/radio-group-examples.json +50 -0
- package/public/r/styles/base-sera/radio-group.json +1 -1
- package/public/r/styles/base-sera/registry.json +2067 -1
- package/public/r/styles/base-sera/resizable-examples.json +33 -0
- package/public/r/styles/base-sera/select-examples.json +53 -0
- package/public/r/styles/base-sera/separator-examples.json +38 -0
- package/public/r/styles/base-sera/sheet-examples.json +37 -0
- package/public/r/styles/base-sera/sidebar-1.json +1 -1
- package/public/r/styles/base-sera/sidebar-examples.json +24 -0
- package/public/r/styles/base-sera/sidebar.json +1 -1
- package/public/r/styles/base-sera/skeleton-examples.json +49 -0
- package/public/r/styles/base-sera/slider-examples.json +44 -0
- package/public/r/styles/base-sera/spinner-examples.json +61 -0
- package/public/r/styles/base-sera/switch-examples.json +50 -0
- package/public/r/styles/base-sera/switch.json +1 -1
- package/public/r/styles/base-sera/table-examples.json +38 -0
- package/public/r/styles/base-sera/tabs-examples.json +47 -0
- package/public/r/styles/base-sera/textarea-examples.json +45 -0
- package/public/r/styles/base-sera/theme-toggle.json +1 -1
- package/public/r/styles/base-sera/toast-examples.json +29 -0
- package/public/r/styles/base-sera/toggle-examples.json +46 -0
- package/public/r/styles/base-sera/toggle-group-examples.json +57 -0
- package/public/r/styles/base-sera/tooltip-examples.json +43 -0
- package/public/r/styles/base-vega/accordion-examples.json +49 -0
- package/public/r/styles/base-vega/alert-dialog-examples.json +51 -0
- package/public/r/styles/base-vega/alert-examples.json +47 -0
- package/public/r/styles/base-vega/aspect-ratio-examples.json +33 -0
- package/public/r/styles/base-vega/attachment-examples.json +48 -0
- package/public/r/styles/base-vega/avatar-examples.json +68 -0
- package/public/r/styles/base-vega/badge-examples.json +52 -0
- package/public/r/styles/base-vega/breadcrumb-examples.json +53 -0
- package/public/r/styles/base-vega/button-examples.json +87 -0
- package/public/r/styles/base-vega/button-group-examples.json +75 -0
- package/public/r/styles/base-vega/card-examples.json +51 -0
- package/public/r/styles/base-vega/carousel-examples.json +49 -0
- package/public/r/styles/base-vega/checkbox-examples.json +56 -0
- package/public/r/styles/base-vega/collapsible-examples.json +46 -0
- package/public/r/styles/base-vega/collapsible.json +1 -1
- package/public/r/styles/base-vega/combobox-examples.json +69 -0
- package/public/r/styles/base-vega/command-examples.json +47 -0
- package/public/r/styles/base-vega/dialog-examples.json +47 -0
- package/public/r/styles/base-vega/drawer-examples.json +54 -0
- package/public/r/styles/base-vega/drawer.json +1 -1
- package/public/r/styles/base-vega/dropdown-menu-examples.json +63 -0
- package/public/r/styles/base-vega/dropdown-menu.json +1 -1
- package/public/r/styles/base-vega/empty-examples.json +55 -0
- package/public/r/styles/base-vega/field-examples.json +86 -0
- package/public/r/styles/base-vega/field.json +6 -6
- package/public/r/styles/base-vega/hover-card-examples.json +29 -0
- package/public/r/styles/base-vega/input-examples.json +97 -0
- package/public/r/styles/base-vega/input-group-examples.json +91 -0
- package/public/r/styles/base-vega/item-examples.json +74 -0
- package/public/r/styles/base-vega/kbd-examples.json +50 -0
- package/public/r/styles/base-vega/label-examples.json +24 -0
- package/public/r/styles/base-vega/native-select-examples.json +38 -0
- package/public/r/styles/base-vega/navigation-menu-examples.json +26 -0
- package/public/r/styles/base-vega/pagination-examples.json +35 -0
- package/public/r/styles/base-vega/popover-examples.json +42 -0
- package/public/r/styles/base-vega/radio-group-examples.json +50 -0
- package/public/r/styles/base-vega/radio-group.json +1 -1
- package/public/r/styles/base-vega/registry.json +2067 -1
- package/public/r/styles/base-vega/resizable-examples.json +33 -0
- package/public/r/styles/base-vega/select-examples.json +53 -0
- package/public/r/styles/base-vega/separator-examples.json +38 -0
- package/public/r/styles/base-vega/sheet-examples.json +37 -0
- package/public/r/styles/base-vega/sidebar-1.json +1 -1
- package/public/r/styles/base-vega/sidebar-examples.json +24 -0
- package/public/r/styles/base-vega/sidebar.json +1 -1
- package/public/r/styles/base-vega/skeleton-examples.json +49 -0
- package/public/r/styles/base-vega/slider-examples.json +44 -0
- package/public/r/styles/base-vega/spinner-examples.json +61 -0
- package/public/r/styles/base-vega/switch-examples.json +50 -0
- package/public/r/styles/base-vega/switch.json +1 -1
- package/public/r/styles/base-vega/table-examples.json +38 -0
- package/public/r/styles/base-vega/tabs-examples.json +47 -0
- package/public/r/styles/base-vega/textarea-examples.json +45 -0
- package/public/r/styles/base-vega/theme-toggle.json +1 -1
- package/public/r/styles/base-vega/toast-examples.json +29 -0
- package/public/r/styles/base-vega/toggle-examples.json +46 -0
- package/public/r/styles/base-vega/toggle-group-examples.json +57 -0
- package/public/r/styles/base-vega/tooltip-examples.json +43 -0
- package/public/r/switch-examples.json +50 -0
- package/public/r/switch.json +1 -1
- package/public/r/table-examples.json +38 -0
- package/public/r/tabs-examples.json +47 -0
- package/public/r/textarea-examples.json +45 -0
- package/public/r/theme-toggle.json +1 -1
- package/public/r/toast-examples.json +29 -0
- package/public/r/toggle-examples.json +46 -0
- package/public/r/toggle-group-examples.json +57 -0
- package/public/r/tooltip-examples.json +43 -0
- package/registry.json +1958 -1
- package/src/components/blocks/sidebar-1.astro +1 -0
- package/src/components/examples/accordion/accordion-basic.astro +38 -0
- package/src/components/examples/accordion/accordion-borders.astro +38 -0
- package/src/components/examples/accordion/accordion-card.astro +55 -0
- package/src/components/examples/accordion/accordion-demo.astro +32 -0
- package/src/components/examples/accordion/accordion-disabled.astro +33 -0
- package/src/components/examples/accordion/accordion-multiple.astro +38 -0
- package/src/components/examples/accordion/accordion-rtl.astro +69 -0
- package/src/components/examples/alert/alert-action.astro +21 -0
- package/src/components/examples/alert/alert-basic.astro +14 -0
- package/src/components/examples/alert/alert-colors.astro +14 -0
- package/src/components/examples/alert/alert-demo.astro +24 -0
- package/src/components/examples/alert/alert-destructive.astro +14 -0
- package/src/components/examples/alert/alert-rtl.astro +70 -0
- package/src/components/examples/alert-dialog/alert-dialog-basic.astro +30 -0
- package/src/components/examples/alert-dialog/alert-dialog-demo.astro +30 -0
- package/src/components/examples/alert-dialog/alert-dialog-destructive.astro +36 -0
- package/src/components/examples/alert-dialog/alert-dialog-media.astro +35 -0
- package/src/components/examples/alert-dialog/alert-dialog-rtl.astro +103 -0
- package/src/components/examples/alert-dialog/alert-dialog-small-media.astro +35 -0
- package/src/components/examples/alert-dialog/alert-dialog-small.astro +29 -0
- package/src/components/examples/aspect-ratio/aspect-ratio-demo.astro +11 -0
- package/src/components/examples/aspect-ratio/aspect-ratio-portrait.astro +11 -0
- package/src/components/examples/aspect-ratio/aspect-ratio-rtl.astro +39 -0
- package/src/components/examples/aspect-ratio/aspect-ratio-square.astro +11 -0
- package/src/components/examples/attachment/attachment-demo.astro +81 -0
- package/src/components/examples/attachment/attachment-group.astro +66 -0
- package/src/components/examples/attachment/attachment-image.astro +64 -0
- package/src/components/examples/attachment/attachment-sizes.astro +40 -0
- package/src/components/examples/attachment/attachment-states.astro +95 -0
- package/src/components/examples/attachment/attachment-trigger.astro +58 -0
- package/src/components/examples/avatar/avatar-badge-icon.astro +18 -0
- package/src/components/examples/avatar/avatar-badge.astro +14 -0
- package/src/components/examples/avatar/avatar-basic.astro +12 -0
- package/src/components/examples/avatar/avatar-demo.astro +41 -0
- package/src/components/examples/avatar/avatar-dropdown.astro +38 -0
- package/src/components/examples/avatar/avatar-group-count-icon.astro +29 -0
- package/src/components/examples/avatar/avatar-group-count.astro +25 -0
- package/src/components/examples/avatar/avatar-group.astro +23 -0
- package/src/components/examples/avatar/avatar-rtl.astro +64 -0
- package/src/components/examples/avatar/avatar-size.astro +18 -0
- package/src/components/examples/badge/badge-colors.astro +21 -0
- package/src/components/examples/badge/badge-demo.astro +10 -0
- package/src/components/examples/badge/badge-icon.astro +17 -0
- package/src/components/examples/badge/badge-link.astro +9 -0
- package/src/components/examples/badge/badge-rtl.astro +59 -0
- package/src/components/examples/badge/badge-spinner.astro +15 -0
- package/src/components/examples/badge/badge-variants.astro +11 -0
- package/src/components/examples/breadcrumb/breadcrumb-basic.astro +26 -0
- package/src/components/examples/breadcrumb/breadcrumb-demo.astro +53 -0
- package/src/components/examples/breadcrumb/breadcrumb-dropdown.astro +52 -0
- package/src/components/examples/breadcrumb/breadcrumb-ellipsis.astro +33 -0
- package/src/components/examples/breadcrumb/breadcrumb-link.astro +26 -0
- package/src/components/examples/breadcrumb/breadcrumb-rtl.astro +95 -0
- package/src/components/examples/breadcrumb/breadcrumb-separator.astro +32 -0
- package/src/components/examples/button/button-default.astro +5 -0
- package/src/components/examples/button/button-demo.astro +12 -0
- package/src/components/examples/button/button-destructive.astro +5 -0
- package/src/components/examples/button/button-ghost.astro +5 -0
- package/src/components/examples/button/button-icon.astro +9 -0
- package/src/components/examples/button/button-link.astro +5 -0
- package/src/components/examples/button/button-outline.astro +5 -0
- package/src/components/examples/button/button-render.astro +7 -0
- package/src/components/examples/button/button-rounded.astro +12 -0
- package/src/components/examples/button/button-rtl.astro +54 -0
- package/src/components/examples/button/button-secondary.astro +5 -0
- package/src/components/examples/button/button-size.astro +38 -0
- package/src/components/examples/button/button-spinner.astro +15 -0
- package/src/components/examples/button/button-with-icon.astro +16 -0
- package/src/components/examples/button-group/button-group-dropdown.astro +70 -0
- package/src/components/examples/button-group/button-group-input-group.astro +70 -0
- package/src/components/examples/button-group/button-group-input.astro +14 -0
- package/src/components/examples/button-group/button-group-nested.astro +38 -0
- package/src/components/examples/button-group/button-group-orientation.astro +16 -0
- package/src/components/examples/button-group/button-group-popover.astro +52 -0
- package/src/components/examples/button-group/button-group-select.astro +47 -0
- package/src/components/examples/button-group/button-group-separator.astro +14 -0
- package/src/components/examples/button-group/button-group-size.astro +45 -0
- package/src/components/examples/button-group/button-group-split.astro +26 -0
- package/src/components/examples/card/card-demo.astro +56 -0
- package/src/components/examples/card/card-edge-to-edge.astro +45 -0
- package/src/components/examples/card/card-image.astro +33 -0
- package/src/components/examples/card/card-rtl.astro +106 -0
- package/src/components/examples/card/card-small.astro +46 -0
- package/src/components/examples/card/card-spacing.astro +141 -0
- package/src/components/examples/carousel/carousel-api.astro +64 -0
- package/src/components/examples/carousel/carousel-demo.astro +28 -0
- package/src/components/examples/carousel/carousel-orientation.astro +34 -0
- package/src/components/examples/carousel/carousel-plugin.astro +90 -0
- package/src/components/examples/carousel/carousel-rtl.astro +70 -0
- package/src/components/examples/carousel/carousel-size.astro +33 -0
- package/src/components/examples/carousel/carousel-spacing.astro +28 -0
- package/src/components/examples/checkbox/checkbox-basic.astro +13 -0
- package/src/components/examples/checkbox/checkbox-demo.astro +45 -0
- package/src/components/examples/checkbox/checkbox-description.astro +24 -0
- package/src/components/examples/checkbox/checkbox-disabled.astro +15 -0
- package/src/components/examples/checkbox/checkbox-group.astro +70 -0
- package/src/components/examples/checkbox/checkbox-invalid.astro +17 -0
- package/src/components/examples/checkbox/checkbox-rtl.astro +78 -0
- package/src/components/examples/checkbox/checkbox-table.astro +104 -0
- package/src/components/examples/collapsible/collapsible-basic.astro +30 -0
- package/src/components/examples/collapsible/collapsible-demo.astro +40 -0
- package/src/components/examples/collapsible/collapsible-file-tree.astro +118 -0
- package/src/components/examples/collapsible/collapsible-rtl.astro +81 -0
- package/src/components/examples/collapsible/collapsible-settings.astro +65 -0
- package/src/components/examples/combobox/combobox-auto-highlight.astro +24 -0
- package/src/components/examples/combobox/combobox-basic.astro +24 -0
- package/src/components/examples/combobox/combobox-clear.astro +24 -0
- package/src/components/examples/combobox/combobox-custom.astro +92 -0
- package/src/components/examples/combobox/combobox-demo.astro +24 -0
- package/src/components/examples/combobox/combobox-disabled.astro +24 -0
- package/src/components/examples/combobox/combobox-groups.astro +69 -0
- package/src/components/examples/combobox/combobox-input-group.astro +72 -0
- package/src/components/examples/combobox/combobox-invalid.astro +24 -0
- package/src/components/examples/combobox/combobox-popup.astro +87 -0
- package/src/components/examples/command/command-basic.astro +31 -0
- package/src/components/examples/command/command-demo.astro +58 -0
- package/src/components/examples/command/command-groups.astro +67 -0
- package/src/components/examples/command/command-rtl.astro +105 -0
- package/src/components/examples/command/command-scrollable.astro +173 -0
- package/src/components/examples/command/command-shortcuts.astro +48 -0
- package/src/components/examples/dialog/dialog-close-button.astro +41 -0
- package/src/components/examples/dialog/dialog-demo.astro +44 -0
- package/src/components/examples/dialog/dialog-no-close-button.astro +22 -0
- package/src/components/examples/dialog/dialog-rtl.astro +90 -0
- package/src/components/examples/dialog/dialog-scrollable-content.astro +35 -0
- package/src/components/examples/dialog/dialog-sticky-footer.astro +41 -0
- package/src/components/examples/drawer/drawer-demo.astro +184 -0
- package/src/components/examples/drawer/drawer-dialog.astro +68 -0
- package/src/components/examples/drawer/drawer-nested.astro +136 -0
- package/src/components/examples/drawer/drawer-non-modal.astro +26 -0
- package/src/components/examples/drawer/drawer-sides.astro +28 -0
- package/src/components/examples/drawer/drawer-swipe-handle.astro +28 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-avatar.astro +53 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-basic.astro +30 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-checkboxes-icons.astro +38 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-checkboxes.astro +29 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-destructive.astro +40 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-icons.astro +40 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-radio-group.astro +25 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-radio-icons.astro +38 -0
- package/src/components/examples/dropdown-menu/dropdown-menu-shortcuts.astro +41 -0
- package/src/components/examples/empty/empty-avatar-group.astro +51 -0
- package/src/components/examples/empty/empty-avatar.astro +31 -0
- package/src/components/examples/empty/empty-background.astro +45 -0
- package/src/components/examples/empty/empty-demo.astro +54 -0
- package/src/components/examples/empty/empty-input-group.astro +41 -0
- package/src/components/examples/empty/empty-outline.astro +41 -0
- package/src/components/examples/empty/empty-rtl.astro +89 -0
- package/src/components/examples/field/field-checkbox.astro +67 -0
- package/src/components/examples/field/field-choice-card.astro +46 -0
- package/src/components/examples/field/field-demo.astro +163 -0
- package/src/components/examples/field/field-fieldset.astro +34 -0
- package/src/components/examples/field/field-group.astro +51 -0
- package/src/components/examples/field/field-input.astro +27 -0
- package/src/components/examples/field/field-radio.astro +37 -0
- package/src/components/examples/field/field-responsive.astro +39 -0
- package/src/components/examples/field/field-rtl.astro +277 -0
- package/src/components/examples/field/field-select.astro +40 -0
- package/src/components/examples/field/field-slider.astro +58 -0
- package/src/components/examples/field/field-switch.astro +9 -0
- package/src/components/examples/field/field-textarea.astro +26 -0
- package/src/components/examples/hover-card/hover-card-demo.astro +19 -0
- package/src/components/examples/hover-card/hover-card-rtl.astro +99 -0
- package/src/components/examples/hover-card/hover-card-sides.astro +28 -0
- package/src/components/examples/input/input-badge.astro +19 -0
- package/src/components/examples/input/input-basic.astro +5 -0
- package/src/components/examples/input/input-button-group.astro +14 -0
- package/src/components/examples/input/input-demo.astro +12 -0
- package/src/components/examples/input/input-disabled.astro +10 -0
- package/src/components/examples/input/input-field.astro +16 -0
- package/src/components/examples/input/input-fieldgroup.astro +30 -0
- package/src/components/examples/input/input-file.astro +10 -0
- package/src/components/examples/input/input-form.astro +71 -0
- package/src/components/examples/input/input-grid.astro +15 -0
- package/src/components/examples/input/input-inline.astro +10 -0
- package/src/components/examples/input/input-input-group.astro +24 -0
- package/src/components/examples/input/input-invalid.astro +10 -0
- package/src/components/examples/input/input-required.astro +12 -0
- package/src/components/examples/input/input-rtl.astro +44 -0
- package/src/components/examples/input-group/input-group-block-end.astro +45 -0
- package/src/components/examples/input-group/input-group-block-start.astro +51 -0
- package/src/components/examples/input-group/input-group-button.astro +158 -0
- package/src/components/examples/input-group/input-group-custom.astro +22 -0
- package/src/components/examples/input-group/input-group-demo.astro +17 -0
- package/src/components/examples/input-group/input-group-dropdown.astro +63 -0
- package/src/components/examples/input-group/input-group-icon.astro +45 -0
- package/src/components/examples/input-group/input-group-inline-end.astro +25 -0
- package/src/components/examples/input-group/input-group-inline-start.astro +21 -0
- package/src/components/examples/input-group/input-group-kbd.astro +20 -0
- package/src/components/examples/input-group/input-group-rtl.astro +110 -0
- package/src/components/examples/input-group/input-group-spinner.astro +44 -0
- package/src/components/examples/input-group/input-group-text.astro +44 -0
- package/src/components/examples/input-group/input-group-textarea.astro +94 -0
- package/src/components/examples/item/item-avatar.astro +74 -0
- package/src/components/examples/item/item-demo.astro +41 -0
- package/src/components/examples/item/item-dropdown.astro +66 -0
- package/src/components/examples/item/item-group.astro +55 -0
- package/src/components/examples/item/item-header.astro +56 -0
- package/src/components/examples/item/item-icon.astro +30 -0
- package/src/components/examples/item/item-image.astro +59 -0
- package/src/components/examples/item/item-link.astro +37 -0
- package/src/components/examples/item/item-rtl.astro +71 -0
- package/src/components/examples/item/item-size.astro +41 -0
- package/src/components/examples/item/item-variant.astro +41 -0
- package/src/components/examples/kbd/kbd-button.astro +11 -0
- package/src/components/examples/kbd/kbd-demo.astro +17 -0
- package/src/components/examples/kbd/kbd-group.astro +14 -0
- package/src/components/examples/kbd/kbd-input-group.astro +23 -0
- package/src/components/examples/kbd/kbd-rtl.astro +34 -0
- package/src/components/examples/kbd/kbd-tooltip.astro +42 -0
- package/src/components/examples/label/label-demo.astro +9 -0
- package/src/components/examples/label/label-rtl.astro +34 -0
- package/src/components/examples/native-select/native-select-demo.astro +11 -0
- package/src/components/examples/native-select/native-select-disabled.astro +10 -0
- package/src/components/examples/native-select/native-select-groups.astro +34 -0
- package/src/components/examples/native-select/native-select-invalid.astro +10 -0
- package/src/components/examples/native-select/native-select-rtl.astro +46 -0
- package/src/components/examples/navigation-menu/navigation-menu-demo.astro +140 -0
- package/src/components/examples/navigation-menu/navigation-menu-rtl.astro +255 -0
- package/src/components/examples/pagination/pagination-demo.astro +36 -0
- package/src/components/examples/pagination/pagination-icons-only.astro +47 -0
- package/src/components/examples/pagination/pagination-rtl.astro +79 -0
- package/src/components/examples/pagination/pagination-simple.astro +30 -0
- package/src/components/examples/popover/popover-alignments.astro +35 -0
- package/src/components/examples/popover/popover-basic.astro +25 -0
- package/src/components/examples/popover/popover-demo.astro +44 -0
- package/src/components/examples/popover/popover-form.astro +39 -0
- package/src/components/examples/popover/popover-rtl.astro +97 -0
- package/src/components/examples/radio-group/radio-group-choice-card.astro +44 -0
- package/src/components/examples/radio-group/radio-group-demo.astro +19 -0
- package/src/components/examples/radio-group/radio-group-description.astro +33 -0
- package/src/components/examples/radio-group/radio-group-disabled.astro +25 -0
- package/src/components/examples/radio-group/radio-group-fieldset.astro +37 -0
- package/src/components/examples/radio-group/radio-group-invalid.astro +37 -0
- package/src/components/examples/radio-group/radio-group-rtl.astro +77 -0
- package/src/components/examples/resizable/resizable-demo.astro +31 -0
- package/src/components/examples/resizable/resizable-handle.astro +24 -0
- package/src/components/examples/resizable/resizable-rtl.astro +64 -0
- package/src/components/examples/resizable/resizable-vertical.astro +24 -0
- package/src/components/examples/select/select-align-item.astro +83 -0
- package/src/components/examples/select/select-demo.astro +34 -0
- package/src/components/examples/select/select-disabled.astro +34 -0
- package/src/components/examples/select/select-groups.astro +44 -0
- package/src/components/examples/select/select-invalid.astro +35 -0
- package/src/components/examples/select/select-rtl.astro +101 -0
- package/src/components/examples/select/select-scrollable.astro +91 -0
- package/src/components/examples/separator/separator-demo.astro +17 -0
- package/src/components/examples/separator/separator-list.astro +20 -0
- package/src/components/examples/separator/separator-menu.astro +20 -0
- package/src/components/examples/separator/separator-rtl.astro +44 -0
- package/src/components/examples/separator/separator-vertical.astro +11 -0
- package/src/components/examples/sheet/sheet-demo.astro +41 -0
- package/src/components/examples/sheet/sheet-no-close-button.astro +23 -0
- package/src/components/examples/sheet/sheet-rtl.astro +87 -0
- package/src/components/examples/sheet/sheet-side.astro +53 -0
- package/src/components/examples/sidebar/sidebar-demo.astro +450 -0
- package/src/components/examples/skeleton/skeleton-avatar.astro +11 -0
- package/src/components/examples/skeleton/skeleton-card.astro +14 -0
- package/src/components/examples/skeleton/skeleton-demo.astro +11 -0
- package/src/components/examples/skeleton/skeleton-form.astro +15 -0
- package/src/components/examples/skeleton/skeleton-rtl.astro +28 -0
- package/src/components/examples/skeleton/skeleton-table.astro +13 -0
- package/src/components/examples/skeleton/skeleton-text.astro +9 -0
- package/src/components/examples/slider/slider-controlled.astro +50 -0
- package/src/components/examples/slider/slider-demo.astro +5 -0
- package/src/components/examples/slider/slider-disabled.astro +11 -0
- package/src/components/examples/slider/slider-range.astro +10 -0
- package/src/components/examples/slider/slider-rtl.astro +28 -0
- package/src/components/examples/slider/slider-vertical.astro +20 -0
- package/src/components/examples/spinner/spinner-badge.astro +19 -0
- package/src/components/examples/spinner/spinner-button.astro +19 -0
- package/src/components/examples/spinner/spinner-custom.astro +7 -0
- package/src/components/examples/spinner/spinner-demo.astro +18 -0
- package/src/components/examples/spinner/spinner-empty.astro +29 -0
- package/src/components/examples/spinner/spinner-input-group.astro +31 -0
- package/src/components/examples/spinner/spinner-rtl.astro +44 -0
- package/src/components/examples/spinner/spinner-size.astro +10 -0
- package/src/components/examples/switch/switch-choice-card.astro +36 -0
- package/src/components/examples/switch/switch-demo.astro +9 -0
- package/src/components/examples/switch/switch-description.astro +19 -0
- package/src/components/examples/switch/switch-disabled.astro +9 -0
- package/src/components/examples/switch/switch-invalid.astro +19 -0
- package/src/components/examples/switch/switch-rtl.astro +47 -0
- package/src/components/examples/switch/switch-sizes.astro +15 -0
- package/src/components/examples/table/table-actions.astro +64 -0
- package/src/components/examples/table/table-demo.astro +85 -0
- package/src/components/examples/table/table-footer.astro +85 -0
- package/src/components/examples/table/table-rtl.astro +141 -0
- package/src/components/examples/tabs/tabs-demo.astro +62 -0
- package/src/components/examples/tabs/tabs-disabled.astro +12 -0
- package/src/components/examples/tabs/tabs-icons.astro +19 -0
- package/src/components/examples/tabs/tabs-line.astro +11 -0
- package/src/components/examples/tabs/tabs-rtl.astro +142 -0
- package/src/components/examples/tabs/tabs-vertical.astro +11 -0
- package/src/components/examples/textarea/textarea-button.astro +9 -0
- package/src/components/examples/textarea/textarea-demo.astro +5 -0
- package/src/components/examples/textarea/textarea-disabled.astro +13 -0
- package/src/components/examples/textarea/textarea-field.astro +10 -0
- package/src/components/examples/textarea/textarea-invalid.astro +14 -0
- package/src/components/examples/textarea/textarea-rtl.astro +41 -0
- package/src/components/examples/toast/toast-demo.astro +36 -0
- package/src/components/examples/toast/toast-promise.astro +56 -0
- package/src/components/examples/toast/toast-types.astro +67 -0
- package/src/components/examples/toggle/toggle-demo.astro +10 -0
- package/src/components/examples/toggle/toggle-disabled.astro +12 -0
- package/src/components/examples/toggle/toggle-outline.astro +17 -0
- package/src/components/examples/toggle/toggle-rtl.astro +33 -0
- package/src/components/examples/toggle/toggle-sizes.astro +15 -0
- package/src/components/examples/toggle/toggle-text.astro +10 -0
- package/src/components/examples/toggle-group/toggle-group-demo.astro +19 -0
- package/src/components/examples/toggle-group/toggle-group-disabled.astro +19 -0
- package/src/components/examples/toggle-group/toggle-group-font-weight-selector.astro +80 -0
- package/src/components/examples/toggle-group/toggle-group-outline.astro +12 -0
- package/src/components/examples/toggle-group/toggle-group-rtl.astro +44 -0
- package/src/components/examples/toggle-group/toggle-group-sizes.astro +34 -0
- package/src/components/examples/toggle-group/toggle-group-spacing.astro +18 -0
- package/src/components/examples/toggle-group/toggle-group-vertical.astro +24 -0
- package/src/components/examples/tooltip/tooltip-demo.astro +17 -0
- package/src/components/examples/tooltip/tooltip-disabled.astro +19 -0
- package/src/components/examples/tooltip/tooltip-keyboard.astro +22 -0
- package/src/components/examples/tooltip/tooltip-rtl.astro +79 -0
- package/src/components/examples/tooltip/tooltip-sides.astro +26 -0
- package/src/components/ui/collapsible/collapsible.astro +5 -2
- package/src/components/ui/dropdown-menu/dropdown-menu-item.astro +2 -1
- package/src/components/ui/field/field-content.astro +6 -4
- package/src/components/ui/field/field-description.astro +6 -4
- package/src/components/ui/field/field-group.astro +6 -2
- package/src/components/ui/field/field-set.astro +6 -4
- package/src/components/ui/field/field-title.astro +6 -4
- package/src/components/ui/field/field.astro +12 -4
- package/src/components/ui/radio-group/radio-group-item.astro +5 -3
- package/src/components/ui/sidebar/sidebar-provider.astro +74 -37
- package/src/components/ui/switch/switch.astro +5 -3
- package/src/components/ui/theme-toggle/theme-provider.astro +38 -11
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "accordion-examples",
|
|
4
|
+
"title": "Accordion examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Accordion docs.",
|
|
6
|
+
"registryDependencies": [
|
|
7
|
+
"@fulldev/accordion",
|
|
8
|
+
"@fulldev/card"
|
|
9
|
+
],
|
|
10
|
+
"files": [
|
|
11
|
+
{
|
|
12
|
+
"path": "src/components/examples/accordion/accordion-basic.astro",
|
|
13
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n\nconst items = [\n {\n value: \"item-1\",\n trigger: \"How do I reset my password?\",\n content:\n \"Click on 'Forgot Password' on the login page, enter your email address, and we'll send you a link to reset your password. The link will expire in 24 hours.\",\n },\n {\n value: \"item-2\",\n trigger: \"Can I change my subscription plan?\",\n content:\n \"Yes, you can upgrade or downgrade your plan at any time from your account settings. Changes will be reflected in your next billing cycle.\",\n },\n {\n value: \"item-3\",\n trigger: \"What payment methods do you accept?\",\n content:\n \"We accept all major credit cards, PayPal, and bank transfers. All payments are processed securely through our payment partners.\",\n },\n]\n---\n\n<Accordion defaultValue={[\"item-1\"]} class=\"max-w-lg\">\n {items.map((item) => (\n <AccordionItem value={item.value}>\n <AccordionTrigger>{item.trigger}</AccordionTrigger>\n <AccordionContent>{item.content}</AccordionContent>\n </AccordionItem>\n ))}\n</Accordion>\n",
|
|
14
|
+
"type": "registry:component"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"path": "src/components/examples/accordion/accordion-borders.astro",
|
|
18
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n\nconst items = [\n {\n value: \"billing\",\n trigger: \"How does billing work?\",\n content:\n \"We offer monthly and annual subscription plans. Billing is charged at the beginning of each cycle, and you can cancel anytime. All plans include automatic backups, 24/7 support, and unlimited team members.\",\n },\n {\n value: \"security\",\n trigger: \"Is my data secure?\",\n content:\n \"Yes. We use end-to-end encryption, SOC 2 Type II compliance, and regular third-party security audits. All data is encrypted at rest and in transit using industry-standard protocols.\",\n },\n {\n value: \"integration\",\n trigger: \"What integrations do you support?\",\n content:\n \"We integrate with 500+ popular tools including Slack, Zapier, Salesforce, HubSpot, and more. You can also build custom integrations using our REST API and webhooks.\",\n },\n]\n---\n\n<Accordion class=\"max-w-lg rounded-lg border\" defaultValue={[\"billing\"]}>\n {items.map((item) => (\n <AccordionItem value={item.value} class=\"border-b px-4 last:border-b-0\">\n <AccordionTrigger>{item.trigger}</AccordionTrigger>\n <AccordionContent>{item.content}</AccordionContent>\n </AccordionItem>\n ))}\n</Accordion>\n",
|
|
19
|
+
"type": "registry:component"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"path": "src/components/examples/accordion/accordion-card.astro",
|
|
23
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\nimport {\n Card,\n CardContent,\n CardDescription,\n CardHeader,\n CardTitle,\n} from \"@/components/ui/card\"\n\nconst items = [\n {\n value: \"plans\",\n trigger: \"What subscription plans do you offer?\",\n content:\n \"We offer three subscription tiers: Starter ($9/month), Professional ($29/month), and Enterprise ($99/month). Each plan includes increasing storage limits, API access, priority support, and team collaboration features.\",\n },\n {\n value: \"billing\",\n trigger: \"How does billing work?\",\n content:\n \"Billing occurs automatically at the start of each billing cycle. We accept all major credit cards, PayPal, and ACH transfers for enterprise customers. You'll receive an invoice via email after each payment.\",\n },\n {\n value: \"cancel\",\n trigger: \"How do I cancel my subscription?\",\n content:\n \"You can cancel your subscription anytime from your account settings. There are no cancellation fees or penalties. Your access will continue until the end of your current billing period.\",\n },\n]\n---\n\n<Card class=\"w-full max-w-sm\">\n <CardHeader>\n <CardTitle>Subscription & Billing</CardTitle>\n <CardDescription>\n Common questions about your account, plans, payments and cancellations.\n </CardDescription>\n </CardHeader>\n <CardContent>\n <Accordion defaultValue={[\"plans\"]}>\n {items.map((item) => (\n <AccordionItem value={item.value}>\n <AccordionTrigger>{item.trigger}</AccordionTrigger>\n <AccordionContent>{item.content}</AccordionContent>\n </AccordionItem>\n ))}\n </Accordion>\n </CardContent>\n</Card>\n",
|
|
24
|
+
"type": "registry:component"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "src/components/examples/accordion/accordion-demo.astro",
|
|
28
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n---\n\n<Accordion defaultValue={[\"shipping\"]} class=\"max-w-lg\">\n <AccordionItem value=\"shipping\">\n <AccordionTrigger>What are your shipping options?</AccordionTrigger>\n <AccordionContent>\n We offer standard (5-7 days), express (2-3 days), and overnight shipping.\n Free shipping on international orders.\n </AccordionContent>\n </AccordionItem>\n <AccordionItem value=\"returns\">\n <AccordionTrigger>What is your return policy?</AccordionTrigger>\n <AccordionContent>\n Returns accepted within 30 days. Items must be unused and in original\n packaging. Refunds processed within 5-7 business days.\n </AccordionContent>\n </AccordionItem>\n <AccordionItem value=\"support\">\n <AccordionTrigger>How can I contact customer support?</AccordionTrigger>\n <AccordionContent>\n Reach us via email, live chat, or phone. We respond within 24 hours during\n business days.\n </AccordionContent>\n </AccordionItem>\n</Accordion>\n",
|
|
29
|
+
"type": "registry:component"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": "src/components/examples/accordion/accordion-disabled.astro",
|
|
33
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n---\n\n<Accordion class=\"w-full\">\n <AccordionItem value=\"item-1\">\n <AccordionTrigger>Can I access my account history?</AccordionTrigger>\n <AccordionContent>\n Yes, you can view your complete account history including all\n transactions, plan changes, and support tickets in the Account History\n section of your dashboard.\n </AccordionContent>\n </AccordionItem>\n <AccordionItem value=\"item-2\" disabled>\n <AccordionTrigger>Premium feature information</AccordionTrigger>\n <AccordionContent>\n This section contains information about premium features. Upgrade your\n plan to access this content.\n </AccordionContent>\n </AccordionItem>\n <AccordionItem value=\"item-3\">\n <AccordionTrigger>How do I update my email address?</AccordionTrigger>\n <AccordionContent>\n You can update your email address in your account settings. You'll receive\n a verification email at your new address to confirm the change.\n </AccordionContent>\n </AccordionItem>\n</Accordion>\n",
|
|
34
|
+
"type": "registry:component"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "src/components/examples/accordion/accordion-multiple.astro",
|
|
38
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n\nconst items = [\n {\n value: \"notifications\",\n trigger: \"Notification Settings\",\n content:\n \"Manage how you receive notifications. You can enable email alerts for updates or push notifications for mobile devices.\",\n },\n {\n value: \"privacy\",\n trigger: \"Privacy & Security\",\n content:\n \"Control your privacy settings and security preferences. Enable two-factor authentication, manage connected devices, review active sessions, and configure data sharing preferences. You can also download your data or delete your account.\",\n },\n {\n value: \"billing\",\n trigger: \"Billing & Subscription\",\n content:\n \"View your current plan, payment history, and upcoming invoices. Update your payment method, change your subscription tier, or cancel your subscription.\",\n },\n]\n---\n\n<Accordion multiple class=\"max-w-lg\" defaultValue={[\"notifications\"]}>\n {items.map((item) => (\n <AccordionItem value={item.value}>\n <AccordionTrigger>{item.trigger}</AccordionTrigger>\n <AccordionContent>{item.content}</AccordionContent>\n </AccordionItem>\n ))}\n</Accordion>\n",
|
|
39
|
+
"type": "registry:component"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "src/components/examples/accordion/accordion-rtl.astro",
|
|
43
|
+
"content": "---\nimport {\n Accordion,\n AccordionContent,\n AccordionItem,\n AccordionTrigger,\n} from \"@/components/ui/accordion\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n question1: \"How do I reset my password?\",\n answer1:\n \"Click on 'Forgot Password' on the login page, enter your email address, and we'll send you a link to reset your password.\",\n question2: \"Can I change my subscription plan?\",\n answer2:\n \"Yes, you can upgrade or downgrade your plan at any time from your account settings. Changes will be reflected in your next billing cycle.\",\n question3: \"What payment methods do you accept?\",\n answer3:\n \"We accept all major credit cards, PayPal, and bank transfers. All payments are processed securely through our payment partners.\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n question1: \"كيف يمكنني إعادة تعيين كلمة المرور؟\",\n answer1:\n \"انقر على 'نسيت كلمة المرور' في صفحة تسجيل الدخول، أدخل عنوان بريدك الإلكتروني، وسنرسل لك رابطًا لإعادة تعيين كلمة المرور. سينتهي صلاحية الرابط خلال 24 ساعة.\",\n question2: \"هل يمكنني تغيير خطة الاشتراك الخاصة بي؟\",\n answer2:\n \"نعم، يمكنك ترقية أو تخفيض خطتك في أي وقت من إعدادات حسابك. ستظهر التغييرات في دورة الفوترة التالية.\",\n question3: \"ما هي طرق الدفع التي تقبلونها؟\",\n answer3:\n \"نقبل جميع بطاقات الائتمان الرئيسية و PayPal والتحويلات المصرفية. تتم معالجة جميع المدفوعات بأمان من خلال شركاء الدفع لدينا.\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n question1: \"איך אני מאפס את הסיסמה שלי?\",\n answer1:\n \"לחץ על 'שכחתי סיסמה' בעמוד ההתחברות, הזן את כתובת האימייל שלך, ונשלח לך קישור לאיפוס הסיסמה. הקישור יפוג תוך 24 שעות.\",\n question2: \"האם אני יכול לשנות את תוכנית המנוי שלי?\",\n answer2:\n \"כן, אתה יכול לשדרג או להוריד את התוכנית שלך בכל עת מההגדרות של החשבון שלך. השינויים יבואו לידי ביטוי במחזור החיוב הבא.\",\n question3: \"אילו אמצעי תשלום אתם מקבלים?\",\n answer3: \"אנו מקבלים כרטיסי אשראי, PayPal והעברות בנקאיות.\",\n },\n },\n} as const\n\nconst items = [\n { value: \"item-1\", questionKey: \"question1\", answerKey: \"answer1\" },\n { value: \"item-2\", questionKey: \"question2\", answerKey: \"answer2\" },\n { value: \"item-3\", questionKey: \"question3\", answerKey: \"answer3\" },\n] as const\n\nconst { dir, values: t } = translations.ar\n---\n\n<Accordion defaultValue={[\"item-1\"]} class=\"max-w-md\" dir={dir}>\n {items.map((item) => (\n <AccordionItem value={item.value}>\n <AccordionTrigger>{t[item.questionKey]}</AccordionTrigger>\n <AccordionContent>{t[item.answerKey]}</AccordionContent>\n </AccordionItem>\n ))}\n</Accordion>\n",
|
|
44
|
+
"type": "registry:component"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"docs": "https://ui.full.dev/components/accordion/",
|
|
48
|
+
"type": "registry:example"
|
|
49
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "alert-dialog-examples",
|
|
4
|
+
"title": "Alert Dialog examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Alert Dialog docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/alert-dialog"
|
|
11
|
+
],
|
|
12
|
+
"files": [
|
|
13
|
+
{
|
|
14
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-basic.astro",
|
|
15
|
+
"content": "---\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"outline\">Show Dialog</AlertDialogTrigger>\n <AlertDialogContent>\n <AlertDialogHeader>\n <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>\n <AlertDialogDescription>\n This action cannot be undone. This will permanently delete your account\n and remove your data from our servers.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Cancel</AlertDialogCancel>\n <AlertDialogAction>Continue</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
16
|
+
"type": "registry:component"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-demo.astro",
|
|
20
|
+
"content": "---\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"outline\">Show Dialog</AlertDialogTrigger>\n <AlertDialogContent>\n <AlertDialogHeader>\n <AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>\n <AlertDialogDescription>\n This action cannot be undone. This will permanently delete your account\n from our servers.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Cancel</AlertDialogCancel>\n <AlertDialogAction>Continue</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
21
|
+
"type": "registry:component"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-destructive.astro",
|
|
25
|
+
"content": "---\nimport Trash2Icon from \"@lucide/astro/icons/trash\"\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"destructive\">Delete Chat</AlertDialogTrigger>\n <AlertDialogContent size=\"sm\">\n <AlertDialogHeader>\n <AlertDialogMedia class=\"bg-destructive/10 text-destructive dark:bg-destructive/20 dark:text-destructive\">\n <Trash2Icon />\n </AlertDialogMedia>\n <AlertDialogTitle>Delete chat?</AlertDialogTitle>\n <AlertDialogDescription>\n This will permanently delete this chat conversation. View\n <a href=\"#\">Settings</a> delete any memories saved during this chat.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel variant=\"outline\">Cancel</AlertDialogCancel>\n <AlertDialogAction variant=\"destructive\">Delete</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
26
|
+
"type": "registry:component"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-media.astro",
|
|
30
|
+
"content": "---\nimport CircleFadingPlusIcon from \"@lucide/astro/icons/circle-fading-plus\"\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"outline\">Share Project</AlertDialogTrigger>\n <AlertDialogContent>\n <AlertDialogHeader>\n <AlertDialogMedia>\n <CircleFadingPlusIcon />\n </AlertDialogMedia>\n <AlertDialogTitle>Share this project?</AlertDialogTitle>\n <AlertDialogDescription>\n Anyone with the link will be able to view and edit this project.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Cancel</AlertDialogCancel>\n <AlertDialogAction>Share</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
31
|
+
"type": "registry:component"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-rtl.astro",
|
|
35
|
+
"content": "---\nimport BluetoothIcon from \"@lucide/astro/icons/bluetooth\"\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n showDialog: \"Show Dialog\",\n showDialogSm: \"Show Dialog (sm)\",\n title: \"Are you absolutely sure?\",\n description:\n \"This action cannot be undone. This will permanently delete your account from our servers.\",\n cancel: \"Cancel\",\n continue: \"Continue\",\n smallTitle: \"Allow accessory to connect?\",\n smallDescription:\n \"Do you want to allow the USB accessory to connect to this device?\",\n dontAllow: \"Don't allow\",\n allow: \"Allow\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n showDialog: \"إظهار الحوار\",\n showDialogSm: \"إظهار الحوار (صغير)\",\n title: \"هل أنت متأكد تمامًا؟\",\n description:\n \"لا يمكن التراجع عن هذا الإجراء. سيؤدي هذا إلى حذف حسابك نهائيًا من خوادمنا.\",\n cancel: \"إلغاء\",\n continue: \"متابعة\",\n smallTitle: \"السماح للملحق بالاتصال؟\",\n smallDescription: \"هل تريد السماح لملحق USB بالاتصال بهذا الجهاز؟\",\n dontAllow: \"عدم السماح\",\n allow: \"السماح\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n showDialog: \"הצג דיאלוג\",\n showDialogSm: \"הצג דיאלוג (קטן)\",\n title: \"האם אתה בטוח לחלוטין?\",\n description:\n \"פעולה זו לא ניתנת לביטול. זה ימחק לצמיתות את החשבון שלך מהשרתים שלנו.\",\n cancel: \"ביטול\",\n continue: \"המשך\",\n smallTitle: \"לאפשר להתקן להתחבר?\",\n smallDescription: \"האם אתה רוצה לאפשר להתקן USB להתחבר למכשיר זה?\",\n dontAllow: \"אל תאפשר\",\n allow: \"אפשר\",\n },\n },\n} as const\n\nconst language = \"ar\"\nconst { dir, values: t } = translations[language]\n---\n\n<div class=\"flex gap-4\" dir={dir}>\n <AlertDialog>\n <AlertDialogTrigger variant=\"outline\">{t.showDialog}</AlertDialogTrigger>\n <AlertDialogContent dir={dir} data-lang={language}>\n <AlertDialogHeader>\n <AlertDialogTitle>{t.title}</AlertDialogTitle>\n <AlertDialogDescription>{t.description}</AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>{t.cancel}</AlertDialogCancel>\n <AlertDialogAction>{t.continue}</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n <AlertDialog>\n <AlertDialogTrigger variant=\"outline\">{t.showDialogSm}</AlertDialogTrigger>\n <AlertDialogContent size=\"sm\" dir={dir} data-lang={language}>\n <AlertDialogHeader>\n <AlertDialogMedia>\n <BluetoothIcon />\n </AlertDialogMedia>\n <AlertDialogTitle>{t.smallTitle}</AlertDialogTitle>\n <AlertDialogDescription>{t.smallDescription}</AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>{t.dontAllow}</AlertDialogCancel>\n <AlertDialogAction>{t.allow}</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n</div>\n",
|
|
36
|
+
"type": "registry:component"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-small-media.astro",
|
|
40
|
+
"content": "---\nimport BluetoothIcon from \"@lucide/astro/icons/bluetooth\"\n\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogMedia,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"outline\">Show Dialog</AlertDialogTrigger>\n <AlertDialogContent size=\"sm\">\n <AlertDialogHeader>\n <AlertDialogMedia>\n <BluetoothIcon />\n </AlertDialogMedia>\n <AlertDialogTitle>Allow accessory to connect?</AlertDialogTitle>\n <AlertDialogDescription>\n Do you want to allow the USB accessory to connect to this device?\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Don't allow</AlertDialogCancel>\n <AlertDialogAction>Allow</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
41
|
+
"type": "registry:component"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "src/components/examples/alert-dialog/alert-dialog-small.astro",
|
|
45
|
+
"content": "---\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n AlertDialogTrigger,\n} from \"@/components/ui/alert-dialog\"\n---\n\n<AlertDialog>\n <AlertDialogTrigger variant=\"outline\">Show Dialog</AlertDialogTrigger>\n <AlertDialogContent size=\"sm\">\n <AlertDialogHeader>\n <AlertDialogTitle>Allow accessory to connect?</AlertDialogTitle>\n <AlertDialogDescription>\n Do you want to allow the USB accessory to connect to this device?\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel>Don't allow</AlertDialogCancel>\n <AlertDialogAction>Allow</AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n</AlertDialog>\n",
|
|
46
|
+
"type": "registry:component"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"docs": "https://ui.full.dev/components/alert-dialog/",
|
|
50
|
+
"type": "registry:example"
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "alert-examples",
|
|
4
|
+
"title": "Alert examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Alert docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/alert",
|
|
11
|
+
"@fulldev/button"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
{
|
|
15
|
+
"path": "src/components/examples/alert/alert-action.astro",
|
|
16
|
+
"content": "---\nimport {\n Alert,\n AlertAction,\n AlertDescription,\n AlertTitle,\n} from \"@/components/ui/alert\"\nimport { Button } from \"@/components/ui/button\"\n---\n\n<Alert class=\"max-w-md\">\n <AlertTitle>Dark mode is now available</AlertTitle>\n <AlertDescription>\n Enable it under your profile settings to get started.\n </AlertDescription>\n <AlertAction>\n <Button size=\"xs\" variant=\"default\">\n Enable\n </Button>\n </AlertAction>\n</Alert>\n",
|
|
17
|
+
"type": "registry:component"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"path": "src/components/examples/alert/alert-basic.astro",
|
|
21
|
+
"content": "---\nimport CheckCircle2Icon from \"@lucide/astro/icons/circle-check\"\n\nimport { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\"\n---\n\n<Alert class=\"max-w-md\">\n <CheckCircle2Icon />\n <AlertTitle>Account updated successfully</AlertTitle>\n <AlertDescription>\n Your profile information has been saved. Changes will be reflected\n immediately.\n </AlertDescription>\n</Alert>\n",
|
|
22
|
+
"type": "registry:component"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "src/components/examples/alert/alert-colors.astro",
|
|
26
|
+
"content": "---\nimport AlertTriangleIcon from \"@lucide/astro/icons/triangle-alert\"\n\nimport { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\"\n---\n\n<Alert class=\"max-w-md border-amber-200 bg-amber-50 text-amber-900 dark:border-amber-900 dark:bg-amber-950 dark:text-amber-50\">\n <AlertTriangleIcon />\n <AlertTitle>Your subscription will expire in 3 days.</AlertTitle>\n <AlertDescription>\n Renew now to avoid service interruption or upgrade to a paid plan to\n continue using the service.\n </AlertDescription>\n</Alert>\n",
|
|
27
|
+
"type": "registry:component"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "src/components/examples/alert/alert-demo.astro",
|
|
31
|
+
"content": "---\nimport CheckCircle2Icon from \"@lucide/astro/icons/circle-check\"\nimport InfoIcon from \"@lucide/astro/icons/info\"\n\nimport { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\"\n---\n\n<div class=\"grid w-full max-w-md items-start gap-4\">\n <Alert>\n <CheckCircle2Icon />\n <AlertTitle>Payment successful</AlertTitle>\n <AlertDescription>\n Your payment of $29.99 has been processed. A receipt has been sent to your\n email address.\n </AlertDescription>\n </Alert>\n <Alert>\n <InfoIcon />\n <AlertTitle>New feature available</AlertTitle>\n <AlertDescription>\n We've added dark mode support. You can enable it in your account settings.\n </AlertDescription>\n </Alert>\n</div>\n",
|
|
32
|
+
"type": "registry:component"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "src/components/examples/alert/alert-destructive.astro",
|
|
36
|
+
"content": "---\nimport AlertCircleIcon from \"@lucide/astro/icons/circle-alert\"\n\nimport { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\"\n---\n\n<Alert variant=\"destructive\" class=\"max-w-md\">\n <AlertCircleIcon />\n <AlertTitle>Payment failed</AlertTitle>\n <AlertDescription>\n Your payment could not be processed. Please check your payment method and\n try again.\n </AlertDescription>\n</Alert>\n",
|
|
37
|
+
"type": "registry:component"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "src/components/examples/alert/alert-rtl.astro",
|
|
41
|
+
"content": "---\nimport CheckCircle2Icon from \"@lucide/astro/icons/circle-check\"\nimport InfoIcon from \"@lucide/astro/icons/info\"\n\nimport { Alert, AlertDescription, AlertTitle } from \"@/components/ui/alert\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n paymentTitle: \"Payment successful\",\n paymentDescription:\n \"Your payment of $29.99 has been processed. A receipt has been sent to your email address.\",\n featureTitle: \"New feature available\",\n featureDescription:\n \"We've added dark mode support. You can enable it in your account settings.\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n paymentTitle: \"تم الدفع بنجاح\",\n paymentDescription:\n \"تمت معالجة دفعتك البالغة 29.99 دولارًا. تم إرسال إيصال إلى عنوان بريدك الإلكتروني.\",\n featureTitle: \"ميزة جديدة متاحة\",\n featureDescription:\n \"لقد أضفنا دعم الوضع الداكن. يمكنك تفعيله في إعدادات حسابك.\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n paymentTitle: \"התשלום בוצע בהצלחה\",\n paymentDescription:\n \"התשלום שלך בסך 29.99 דולר עובד. קבלה נשלחה לכתובת האימייל שלך.\",\n featureTitle: \"תכונה חדשה זמינה\",\n featureDescription:\n \"הוספנו תמיכה במצב כהה. אתה יכול להפעיל אותו בהגדרות החשבון שלך.\",\n },\n },\n} as const\n\nconst alerts = [\n {\n icon: CheckCircle2Icon,\n titleKey: \"paymentTitle\",\n descriptionKey: \"paymentDescription\",\n },\n {\n icon: InfoIcon,\n titleKey: \"featureTitle\",\n descriptionKey: \"featureDescription\",\n },\n] as const\n\nconst { dir, values: t } = translations.ar\n---\n\n<div class=\"grid w-full max-w-md items-start gap-4\" dir={dir}>\n {alerts.map((alert) => {\n const Icon = alert.icon\n return (\n <Alert>\n <Icon />\n <AlertTitle>{t[alert.titleKey]}</AlertTitle>\n <AlertDescription>{t[alert.descriptionKey]}</AlertDescription>\n </Alert>\n )\n })}\n</div>\n",
|
|
42
|
+
"type": "registry:component"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"docs": "https://ui.full.dev/components/alert/",
|
|
46
|
+
"type": "registry:example"
|
|
47
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "aspect-ratio-examples",
|
|
4
|
+
"title": "Aspect Ratio examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Aspect Ratio docs.",
|
|
6
|
+
"registryDependencies": [
|
|
7
|
+
"@fulldev/aspect-ratio"
|
|
8
|
+
],
|
|
9
|
+
"files": [
|
|
10
|
+
{
|
|
11
|
+
"path": "src/components/examples/aspect-ratio/aspect-ratio-demo.astro",
|
|
12
|
+
"content": "---\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\"\n---\n\n<AspectRatio ratio={16 / 9} class=\"bg-muted w-full max-w-sm rounded-lg\">\n <img\n src=\"https://avatar.vercel.sh/shadcn1\"\n alt=\"Photo\"\n class=\"absolute inset-0 size-full rounded-lg object-cover grayscale dark:brightness-20\"\n />\n</AspectRatio>\n",
|
|
13
|
+
"type": "registry:component"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"path": "src/components/examples/aspect-ratio/aspect-ratio-portrait.astro",
|
|
17
|
+
"content": "---\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\"\n---\n\n<AspectRatio ratio={9 / 16} class=\"bg-muted w-full max-w-[10rem] rounded-lg\">\n <img\n src=\"https://avatar.vercel.sh/shadcn1\"\n alt=\"Photo\"\n class=\"absolute inset-0 size-full rounded-lg object-cover grayscale dark:brightness-20\"\n />\n</AspectRatio>\n",
|
|
18
|
+
"type": "registry:component"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "src/components/examples/aspect-ratio/aspect-ratio-rtl.astro",
|
|
22
|
+
"content": "---\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n caption: \"Beautiful landscape\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n caption: \"منظر طبيعي جميل\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n caption: \"נוף יפה\",\n },\n },\n} as const\n\nconst { dir, values: t } = translations.ar\n---\n\n<figure class=\"w-full max-w-sm\" dir={dir}>\n <AspectRatio ratio={16 / 9} class=\"bg-muted rounded-lg\">\n <img\n src=\"https://avatar.vercel.sh/shadcn1\"\n alt=\"Photo\"\n class=\"absolute inset-0 size-full rounded-lg object-cover grayscale dark:brightness-20\"\n />\n </AspectRatio>\n <figcaption class=\"text-muted-foreground mt-2 text-center text-sm\">\n {t.caption}\n </figcaption>\n</figure>\n",
|
|
23
|
+
"type": "registry:component"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "src/components/examples/aspect-ratio/aspect-ratio-square.astro",
|
|
27
|
+
"content": "---\nimport { AspectRatio } from \"@/components/ui/aspect-ratio\"\n---\n\n<AspectRatio ratio={1 / 1} class=\"bg-muted w-full max-w-[12rem] rounded-lg\">\n <img\n src=\"https://avatar.vercel.sh/shadcn1\"\n alt=\"Photo\"\n class=\"absolute inset-0 size-full rounded-lg object-cover grayscale dark:brightness-20\"\n />\n</AspectRatio>\n",
|
|
28
|
+
"type": "registry:component"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"docs": "https://ui.full.dev/components/aspect-ratio/",
|
|
32
|
+
"type": "registry:example"
|
|
33
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "attachment-examples",
|
|
4
|
+
"title": "Attachment examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Attachment docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/attachment",
|
|
11
|
+
"@fulldev/dialog",
|
|
12
|
+
"@fulldev/spinner"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
{
|
|
16
|
+
"path": "src/components/examples/attachment/attachment-demo.astro",
|
|
17
|
+
"content": "---\nimport FileCodeIcon from \"@lucide/astro/icons/file-code\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport {\n Attachment,\n AttachmentAction,\n AttachmentActions,\n AttachmentContent,\n AttachmentDescription,\n AttachmentGroup,\n AttachmentMedia,\n AttachmentTitle,\n} from \"@/components/ui/attachment\"\nimport { Spinner } from \"@/components/ui/spinner\"\n\nconst images = [\n {\n name: \"workspace.png\",\n meta: \"PNG · 820 KB\",\n src: \"https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=900&auto=format&fit=crop&q=80\",\n alt: \"Workspace\",\n },\n {\n name: \"desk-reference.jpg\",\n meta: \"JPG · 1.1 MB\",\n src: \"https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=900&auto=format&fit=crop&q=80\",\n alt: \"Desk\",\n },\n {\n name: \"office-reference.jpg\",\n meta: \"JPG · 940 KB\",\n src: \"https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=900&auto=format&fit=crop&q=80\",\n alt: \"Office\",\n },\n]\n---\n\n<div class=\"mx-auto flex w-full max-w-sm flex-col gap-3 py-12\">\n <AttachmentGroup>\n {images.map((image) => (\n <Attachment orientation=\"vertical\">\n <AttachmentMedia variant=\"image\">\n <img src={image.src} alt={image.alt} />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>{image.name}</AttachmentTitle>\n <AttachmentDescription>{image.meta}</AttachmentDescription>\n </AttachmentContent>\n </Attachment>\n ))}\n </AttachmentGroup>\n <Attachment state=\"uploading\" class=\"w-full\">\n <AttachmentMedia>\n <Spinner />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>sales-dashboard.pdf</AttachmentTitle>\n <AttachmentDescription>Uploading · 64%</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Cancel upload\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n <Attachment class=\"w-full\">\n <AttachmentMedia>\n <FileCodeIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>message-renderer.tsx</AttachmentTitle>\n <AttachmentDescription>TypeScript · 12 KB</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Remove message-renderer.tsx\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n</div>\n",
|
|
18
|
+
"type": "registry:component"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "src/components/examples/attachment/attachment-group.astro",
|
|
22
|
+
"content": "---\nimport FileCodeIcon from \"@lucide/astro/icons/file-code\"\nimport FileTextIcon from \"@lucide/astro/icons/file-text\"\nimport TableIcon from \"@lucide/astro/icons/table\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport {\n Attachment,\n AttachmentAction,\n AttachmentActions,\n AttachmentContent,\n AttachmentDescription,\n AttachmentGroup,\n AttachmentMedia,\n AttachmentTitle,\n} from \"@/components/ui/attachment\"\n\ntype Item = {\n name: string\n meta: string\n icon?: typeof FileTextIcon\n src?: string\n}\n\nconst items: Item[] = [\n { name: \"briefing-notes.pdf\", meta: \"PDF · 1.4 MB\", icon: FileTextIcon },\n {\n name: \"workspace.png\",\n meta: \"PNG · 820 KB\",\n src: \"https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=900&auto=format&fit=crop&q=80\",\n },\n { name: \"customers.csv\", meta: \"CSV · 18 KB\", icon: TableIcon },\n { name: \"renderer.tsx\", meta: \"TSX · 12 KB\", icon: FileCodeIcon },\n]\n---\n\n<div class=\"mx-auto w-full max-w-sm py-12\">\n <AttachmentGroup class=\"w-full\">\n {items.map((item) => {\n const Icon = item.icon\n\n return (\n <Attachment class=\"w-64\">\n {item.src ? (\n <AttachmentMedia variant=\"image\">\n <img src={item.src} alt={item.name} />\n </AttachmentMedia>\n ) : Icon ? (\n <AttachmentMedia>\n <Icon />\n </AttachmentMedia>\n ) : null}\n <AttachmentContent>\n <AttachmentTitle>{item.name}</AttachmentTitle>\n <AttachmentDescription>{item.meta}</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label={`Remove ${item.name}`}>\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n )\n })}\n </AttachmentGroup>\n</div>\n",
|
|
23
|
+
"type": "registry:component"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "src/components/examples/attachment/attachment-image.astro",
|
|
27
|
+
"content": "---\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport {\n Attachment,\n AttachmentAction,\n AttachmentActions,\n AttachmentContent,\n AttachmentDescription,\n AttachmentGroup,\n AttachmentMedia,\n AttachmentTitle,\n AttachmentTrigger,\n} from \"@/components/ui/attachment\"\n\nconst images = [\n {\n name: \"workspace.png\",\n meta: \"PNG · 820 KB\",\n src: \"https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=900&auto=format&fit=crop&q=80\",\n alt: \"Workspace\",\n },\n {\n name: \"desk-reference.jpg\",\n meta: \"JPG · 1.1 MB\",\n src: \"https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=900&auto=format&fit=crop&q=80\",\n alt: \"Desk\",\n },\n {\n name: \"office-reference.jpg\",\n meta: \"JPG · 940 KB\",\n src: \"https://images.unsplash.com/photo-1497366811353-6870744d04b2?w=900&auto=format&fit=crop&q=80\",\n alt: \"Office\",\n },\n]\n---\n\n<div class=\"mx-auto w-full max-w-sm py-12\">\n <AttachmentGroup class=\"w-full\">\n {images.map((image) => (\n <Attachment orientation=\"vertical\">\n <AttachmentMedia variant=\"image\">\n <img src={image.src} alt={image.alt} />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>{image.name}</AttachmentTitle>\n <AttachmentDescription>{image.meta}</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label={`Remove ${image.name}`}>\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n <AttachmentTrigger\n as=\"a\"\n href={image.src}\n target=\"_blank\"\n rel=\"noreferrer\"\n aria-label={`Open ${image.name}`}\n />\n </Attachment>\n ))}\n </AttachmentGroup>\n</div>\n",
|
|
28
|
+
"type": "registry:component"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "src/components/examples/attachment/attachment-sizes.astro",
|
|
32
|
+
"content": "---\nimport FileTextIcon from \"@lucide/astro/icons/file-text\"\n\nimport {\n Attachment,\n AttachmentContent,\n AttachmentDescription,\n AttachmentMedia,\n AttachmentTitle,\n} from \"@/components/ui/attachment\"\n---\n\n<div class=\"mx-auto flex w-full max-w-sm flex-col gap-3 py-12\">\n <Attachment size=\"default\" class=\"w-full\">\n <AttachmentMedia>\n <FileTextIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>Default attachment</AttachmentTitle>\n <AttachmentDescription>PDF · 2.4 MB</AttachmentDescription>\n </AttachmentContent>\n </Attachment>\n <Attachment size=\"sm\" class=\"w-full\">\n <AttachmentMedia>\n <FileTextIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>Small attachment</AttachmentTitle>\n <AttachmentDescription>PDF · 2.4 MB</AttachmentDescription>\n </AttachmentContent>\n </Attachment>\n <Attachment size=\"xs\" class=\"w-full\">\n <AttachmentMedia>\n <FileTextIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>Extra small attachment</AttachmentTitle>\n </AttachmentContent>\n </Attachment>\n</div>\n",
|
|
33
|
+
"type": "registry:component"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "src/components/examples/attachment/attachment-states.astro",
|
|
37
|
+
"content": "---\nimport CheckIcon from \"@lucide/astro/icons/check\"\nimport ClockIcon from \"@lucide/astro/icons/clock\"\nimport FileWarningIcon from \"@lucide/astro/icons/file-exclamation-point\"\nimport FileTextIcon from \"@lucide/astro/icons/file-text\"\nimport RefreshCwIcon from \"@lucide/astro/icons/refresh-cw\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport {\n Attachment,\n AttachmentAction,\n AttachmentActions,\n AttachmentContent,\n AttachmentDescription,\n AttachmentMedia,\n AttachmentTitle,\n} from \"@/components/ui/attachment\"\nimport { Spinner } from \"@/components/ui/spinner\"\n---\n\n<div class=\"mx-auto flex w-full max-w-sm flex-col gap-2 py-12\">\n <Attachment state=\"idle\" class=\"w-full\">\n <AttachmentMedia>\n <ClockIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>selected-file.pdf</AttachmentTitle>\n <AttachmentDescription>Ready to upload</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Remove selected-file.pdf\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n <Attachment state=\"uploading\" class=\"w-full\">\n <AttachmentMedia>\n <Spinner />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>design-system.zip</AttachmentTitle>\n <AttachmentDescription>Uploading · 64%</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Cancel upload\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n <Attachment state=\"processing\" class=\"w-full\">\n <AttachmentMedia>\n <FileTextIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>market-research.pdf</AttachmentTitle>\n <AttachmentDescription>Processing document</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Remove market-research.pdf\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n <Attachment state=\"error\" class=\"w-full\">\n <AttachmentMedia>\n <FileWarningIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>financial-model.xlsx</AttachmentTitle>\n <AttachmentDescription>Upload failed. Try again.</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Retry upload\">\n <RefreshCwIcon />\n </AttachmentAction>\n <AttachmentAction aria-label=\"Remove financial-model.xlsx\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n <Attachment state=\"done\" class=\"w-full\">\n <AttachmentMedia>\n <CheckIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>uploaded-report.pdf</AttachmentTitle>\n <AttachmentDescription>Uploaded · 1.8 MB</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Remove uploaded-report.pdf\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n </Attachment>\n</div>\n",
|
|
38
|
+
"type": "registry:component"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "src/components/examples/attachment/attachment-trigger.astro",
|
|
42
|
+
"content": "---\nimport CopyIcon from \"@lucide/astro/icons/copy\"\nimport FileSearchIcon from \"@lucide/astro/icons/file-search\"\nimport XIcon from \"@lucide/astro/icons/x\"\n\nimport {\n Attachment,\n AttachmentAction,\n AttachmentActions,\n AttachmentContent,\n AttachmentDescription,\n AttachmentMedia,\n AttachmentTitle,\n AttachmentTrigger,\n} from \"@/components/ui/attachment\"\nimport {\n Dialog,\n DialogContent,\n DialogDescription,\n DialogHeader,\n DialogTitle,\n} from \"@/components/ui/dialog\"\n---\n\n<div class=\"mx-auto w-full max-w-sm py-12\">\n <Dialog>\n <Attachment class=\"w-full\">\n <AttachmentMedia>\n <FileSearchIcon />\n </AttachmentMedia>\n <AttachmentContent>\n <AttachmentTitle>research-summary.pdf</AttachmentTitle>\n <AttachmentDescription>Open preview dialog</AttachmentDescription>\n </AttachmentContent>\n <AttachmentActions>\n <AttachmentAction aria-label=\"Copy link\">\n <CopyIcon />\n </AttachmentAction>\n <AttachmentAction aria-label=\"Remove research-summary.pdf\">\n <XIcon />\n </AttachmentAction>\n </AttachmentActions>\n <AttachmentTrigger\n data-slot=\"dialog-trigger\"\n aria-label=\"Preview research-summary.pdf\"\n />\n </Attachment>\n <DialogContent class=\"sm:max-w-md\">\n <DialogHeader>\n <DialogTitle>research-summary.pdf</DialogTitle>\n <DialogDescription>\n The attachment trigger fills the card and opens the dialog, while the\n actions stay independently clickable above it.\n </DialogDescription>\n </DialogHeader>\n </DialogContent>\n </Dialog>\n</div>\n",
|
|
43
|
+
"type": "registry:component"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"docs": "https://ui.full.dev/components/attachment/",
|
|
47
|
+
"type": "registry:example"
|
|
48
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "avatar-examples",
|
|
4
|
+
"title": "Avatar examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Avatar docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/avatar",
|
|
11
|
+
"@fulldev/button",
|
|
12
|
+
"@fulldev/dropdown-menu"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
{
|
|
16
|
+
"path": "src/components/examples/avatar/avatar-badge-icon.astro",
|
|
17
|
+
"content": "---\nimport PlusIcon from \"@lucide/astro/icons/plus\"\n\nimport {\n Avatar,\n AvatarBadge,\n AvatarFallback,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<Avatar class=\"grayscale\">\n <AvatarImage src=\"https://github.com/pranathip.png\" alt=\"@pranathip\" />\n <AvatarFallback>PP</AvatarFallback>\n <AvatarBadge>\n <PlusIcon />\n </AvatarBadge>\n</Avatar>\n",
|
|
18
|
+
"type": "registry:component"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "src/components/examples/avatar/avatar-badge.astro",
|
|
22
|
+
"content": "---\nimport {\n Avatar,\n AvatarBadge,\n AvatarFallback,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n <AvatarBadge class=\"bg-green-600 dark:bg-green-800\" />\n</Avatar>\n",
|
|
23
|
+
"type": "registry:component"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "src/components/examples/avatar/avatar-basic.astro",
|
|
27
|
+
"content": "---\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\n---\n\n<Avatar>\n <AvatarImage\n src=\"https://github.com/shadcn.png\"\n alt=\"@shadcn\"\n class=\"grayscale\"\n />\n <AvatarFallback>CN</AvatarFallback>\n</Avatar>\n",
|
|
28
|
+
"type": "registry:component"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "src/components/examples/avatar/avatar-demo.astro",
|
|
32
|
+
"content": "---\nimport {\n Avatar,\n AvatarBadge,\n AvatarFallback,\n AvatarGroup,\n AvatarGroupCount,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<div class=\"flex flex-row flex-wrap items-center gap-6 md:gap-12\">\n <Avatar>\n <AvatarImage\n src=\"https://github.com/shadcn.png\"\n alt=\"@shadcn\"\n class=\"grayscale\"\n />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n <AvatarBadge class=\"bg-green-600 dark:bg-green-800\" />\n </Avatar>\n <AvatarGroup class=\"grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/maxleiter.png\" alt=\"@maxleiter\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n <AvatarGroupCount>+3</AvatarGroupCount>\n </AvatarGroup>\n</div>\n",
|
|
33
|
+
"type": "registry:component"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "src/components/examples/avatar/avatar-dropdown.astro",
|
|
37
|
+
"content": "---\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<DropdownMenu>\n <DropdownMenuTrigger\n class={buttonVariants({\n variant: \"ghost\",\n size: \"icon\",\n class: \"rounded-full\",\n })}\n >\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n </DropdownMenuTrigger>\n <DropdownMenuContent class=\"w-32\">\n <DropdownMenuGroup>\n <DropdownMenuItem>Profile</DropdownMenuItem>\n <DropdownMenuItem>Billing</DropdownMenuItem>\n <DropdownMenuItem>Settings</DropdownMenuItem>\n </DropdownMenuGroup>\n <DropdownMenuSeparator />\n <DropdownMenuGroup>\n <DropdownMenuItem variant=\"destructive\">Log out</DropdownMenuItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n</DropdownMenu>\n",
|
|
38
|
+
"type": "registry:component"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "src/components/examples/avatar/avatar-group-count-icon.astro",
|
|
42
|
+
"content": "---\nimport PlusIcon from \"@lucide/astro/icons/plus\"\n\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarGroupCount,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<AvatarGroup class=\"grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/maxleiter.png\" alt=\"@maxleiter\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n <AvatarGroupCount>\n <PlusIcon />\n </AvatarGroupCount>\n</AvatarGroup>\n",
|
|
43
|
+
"type": "registry:component"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "src/components/examples/avatar/avatar-group-count.astro",
|
|
47
|
+
"content": "---\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarGroupCount,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<AvatarGroup class=\"grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/maxleiter.png\" alt=\"@maxleiter\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n <AvatarGroupCount>+3</AvatarGroupCount>\n</AvatarGroup>\n",
|
|
48
|
+
"type": "registry:component"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "src/components/examples/avatar/avatar-group.astro",
|
|
52
|
+
"content": "---\nimport {\n Avatar,\n AvatarFallback,\n AvatarGroup,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n---\n\n<AvatarGroup class=\"grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/maxleiter.png\" alt=\"@maxleiter\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n</AvatarGroup>\n",
|
|
53
|
+
"type": "registry:component"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"path": "src/components/examples/avatar/avatar-rtl.astro",
|
|
57
|
+
"content": "---\nimport {\n Avatar,\n AvatarBadge,\n AvatarFallback,\n AvatarGroup,\n AvatarGroupCount,\n AvatarImage,\n} from \"@/components/ui/avatar\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n moreUsers: \"+3\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n moreUsers: \"+٣\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n moreUsers: \"+3\",\n },\n },\n}\n\nconst { dir, values: t } = translations.ar\n---\n\n<div class=\"flex flex-row flex-wrap items-center gap-6 md:gap-12\" dir={dir}>\n <Avatar>\n <AvatarImage\n src=\"https://github.com/shadcn.png\"\n alt=\"@shadcn\"\n class=\"grayscale\"\n />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n <AvatarBadge class=\"bg-green-600 dark:bg-green-800\" />\n </Avatar>\n <AvatarGroup class=\"grayscale\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/maxleiter.png\" alt=\"@maxleiter\" />\n <AvatarFallback>LR</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/evilrabbit.png\" alt=\"@evilrabbit\" />\n <AvatarFallback>ER</AvatarFallback>\n </Avatar>\n <AvatarGroupCount>{t.moreUsers}</AvatarGroupCount>\n </AvatarGroup>\n</div>\n",
|
|
58
|
+
"type": "registry:component"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"path": "src/components/examples/avatar/avatar-size.astro",
|
|
62
|
+
"content": "---\nimport { Avatar, AvatarFallback, AvatarImage } from \"@/components/ui/avatar\"\n---\n\n<div class=\"flex flex-wrap items-center gap-2 grayscale\">\n <Avatar size=\"sm\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar size=\"lg\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n</div>\n",
|
|
63
|
+
"type": "registry:component"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"docs": "https://ui.full.dev/components/avatar/",
|
|
67
|
+
"type": "registry:example"
|
|
68
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "badge-examples",
|
|
4
|
+
"title": "Badge examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Badge docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/badge",
|
|
11
|
+
"@fulldev/spinner"
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
{
|
|
15
|
+
"path": "src/components/examples/badge/badge-colors.astro",
|
|
16
|
+
"content": "---\nimport { Badge } from \"@/components/ui/badge\"\n---\n\n<div class=\"flex flex-wrap gap-2\">\n <Badge class=\"bg-blue-50 text-blue-700 dark:bg-blue-950 dark:text-blue-300\">\n Blue\n </Badge>\n <Badge class=\"bg-green-50 text-green-700 dark:bg-green-950 dark:text-green-300\">\n Green\n </Badge>\n <Badge class=\"bg-sky-50 text-sky-700 dark:bg-sky-950 dark:text-sky-300\">\n Sky\n </Badge>\n <Badge class=\"bg-purple-50 text-purple-700 dark:bg-purple-950 dark:text-purple-300\">\n Purple\n </Badge>\n <Badge class=\"bg-red-50 text-red-700 dark:bg-red-950 dark:text-red-300\">\n Red\n </Badge>\n</div>\n",
|
|
17
|
+
"type": "registry:component"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"path": "src/components/examples/badge/badge-demo.astro",
|
|
21
|
+
"content": "---\nimport { Badge } from \"@/components/ui/badge\"\n---\n\n<div class=\"flex w-full flex-wrap justify-center gap-2\">\n <Badge>Badge</Badge>\n <Badge variant=\"secondary\">Secondary</Badge>\n <Badge variant=\"destructive\">Destructive</Badge>\n <Badge variant=\"outline\">Outline</Badge>\n</div>\n",
|
|
22
|
+
"type": "registry:component"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "src/components/examples/badge/badge-icon.astro",
|
|
26
|
+
"content": "---\nimport BadgeCheck from \"@lucide/astro/icons/badge-check\"\nimport BookmarkIcon from \"@lucide/astro/icons/bookmark\"\n\nimport { Badge } from \"@/components/ui/badge\"\n---\n\n<div class=\"flex flex-wrap gap-2\">\n <Badge variant=\"secondary\">\n <BadgeCheck data-icon=\"inline-start\" />\n Verified\n </Badge>\n <Badge variant=\"outline\">\n Bookmark\n <BookmarkIcon data-icon=\"inline-end\" />\n </Badge>\n</div>\n",
|
|
27
|
+
"type": "registry:component"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "src/components/examples/badge/badge-link.astro",
|
|
31
|
+
"content": "---\nimport ArrowUpRightIcon from \"@lucide/astro/icons/arrow-up-right\"\n\nimport { Badge } from \"@/components/ui/badge\"\n---\n\n<Badge as=\"a\" href=\"#link\">\n Open Link <ArrowUpRightIcon data-icon=\"inline-end\" />\n</Badge>\n",
|
|
32
|
+
"type": "registry:component"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "src/components/examples/badge/badge-rtl.astro",
|
|
36
|
+
"content": "---\nimport BadgeCheck from \"@lucide/astro/icons/badge-check\"\nimport BookmarkIcon from \"@lucide/astro/icons/bookmark\"\n\nimport { Badge } from \"@/components/ui/badge\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n badge: \"Badge\",\n secondary: \"Secondary\",\n destructive: \"Destructive\",\n outline: \"Outline\",\n verified: \"Verified\",\n bookmark: \"Bookmark\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n badge: \"شارة\",\n secondary: \"ثانوي\",\n destructive: \"مدمر\",\n outline: \"مخطط\",\n verified: \"متحقق\",\n bookmark: \"إشارة مرجعية\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n badge: \"תג\",\n secondary: \"משני\",\n destructive: \"הרסני\",\n outline: \"קווי מתאר\",\n verified: \"מאומת\",\n bookmark: \"סימנייה\",\n },\n },\n}\n\nconst { dir, values: t } = translations.ar\n---\n\n<div class=\"flex w-full flex-wrap justify-center gap-2\" dir={dir}>\n <Badge>{t.badge}</Badge>\n <Badge variant=\"secondary\">{t.secondary}</Badge>\n <Badge variant=\"destructive\">{t.destructive}</Badge>\n <Badge variant=\"outline\">{t.outline}</Badge>\n <Badge variant=\"secondary\">\n <BadgeCheck data-icon=\"inline-start\" />\n {t.verified}\n </Badge>\n <Badge variant=\"outline\">\n {t.bookmark}\n <BookmarkIcon data-icon=\"inline-end\" />\n </Badge>\n</div>\n",
|
|
37
|
+
"type": "registry:component"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"path": "src/components/examples/badge/badge-spinner.astro",
|
|
41
|
+
"content": "---\nimport { Badge } from \"@/components/ui/badge\"\nimport { Spinner } from \"@/components/ui/spinner\"\n---\n\n<div class=\"flex flex-wrap gap-2\">\n <Badge variant=\"destructive\">\n <Spinner data-icon=\"inline-start\" />\n Deleting\n </Badge>\n <Badge variant=\"secondary\">\n Generating\n <Spinner data-icon=\"inline-end\" />\n </Badge>\n</div>\n",
|
|
42
|
+
"type": "registry:component"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "src/components/examples/badge/badge-variants.astro",
|
|
46
|
+
"content": "---\nimport { Badge } from \"@/components/ui/badge\"\n---\n\n<div class=\"flex flex-wrap gap-2\">\n <Badge>Default</Badge>\n <Badge variant=\"secondary\">Secondary</Badge>\n <Badge variant=\"destructive\">Destructive</Badge>\n <Badge variant=\"outline\">Outline</Badge>\n <Badge variant=\"ghost\">Ghost</Badge>\n</div>\n",
|
|
47
|
+
"type": "registry:component"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"docs": "https://ui.full.dev/components/badge/",
|
|
51
|
+
"type": "registry:example"
|
|
52
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "breadcrumb-examples",
|
|
4
|
+
"title": "Breadcrumb examples",
|
|
5
|
+
"description": "The examples from the shadcn/ui Breadcrumb docs.",
|
|
6
|
+
"dependencies": [
|
|
7
|
+
"@lucide/astro"
|
|
8
|
+
],
|
|
9
|
+
"registryDependencies": [
|
|
10
|
+
"@fulldev/breadcrumb",
|
|
11
|
+
"@fulldev/button",
|
|
12
|
+
"@fulldev/dropdown-menu"
|
|
13
|
+
],
|
|
14
|
+
"files": [
|
|
15
|
+
{
|
|
16
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-basic.astro",
|
|
17
|
+
"content": "---\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
18
|
+
"type": "registry:component"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-demo.astro",
|
|
22
|
+
"content": "---\nimport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\nimport { buttonVariants } from \"@/components/ui/button\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <DropdownMenu>\n <DropdownMenuTrigger\n class={buttonVariants({ size: \"icon-sm\", variant: \"ghost\" })}\n >\n <BreadcrumbEllipsis />\n <span class=\"sr-only\">Toggle menu</span>\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"start\">\n <DropdownMenuGroup>\n <DropdownMenuItem>Documentation</DropdownMenuItem>\n <DropdownMenuItem>Themes</DropdownMenuItem>\n <DropdownMenuItem>GitHub</DropdownMenuItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n </DropdownMenu>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
23
|
+
"type": "registry:component"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-dropdown.astro",
|
|
27
|
+
"content": "---\nimport ChevronDownIcon from \"@lucide/astro/icons/chevron-down\"\nimport DotIcon from \"@lucide/astro/icons/dot\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"/\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <DropdownMenu>\n <DropdownMenuTrigger class=\"flex items-center gap-1\">\n Components\n <ChevronDownIcon data-icon=\"inline-end\" class=\"size-3.5\" />\n </DropdownMenuTrigger>\n <DropdownMenuContent align=\"start\">\n <DropdownMenuGroup>\n <DropdownMenuItem>Documentation</DropdownMenuItem>\n <DropdownMenuItem>Themes</DropdownMenuItem>\n <DropdownMenuItem>GitHub</DropdownMenuItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n </DropdownMenu>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
28
|
+
"type": "registry:component"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-ellipsis.astro",
|
|
32
|
+
"content": "---\nimport {\n Breadcrumb,\n BreadcrumbEllipsis,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"/\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbEllipsis />\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink href=\"https://ui.shadcn.com/docs/components\">\n Components\n </BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
33
|
+
"type": "registry:component"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-link.astro",
|
|
37
|
+
"content": "---\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#link-component\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbLink href=\"#link-component\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator />\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
38
|
+
"type": "registry:component"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-rtl.astro",
|
|
42
|
+
"content": "---\nimport ChevronDownIcon from \"@lucide/astro/icons/chevron-down\"\nimport DotIcon from \"@lucide/astro/icons/dot\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\nimport {\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuTrigger,\n} from \"@/components/ui/dropdown-menu\"\n\nconst translations = {\n en: {\n dir: \"ltr\",\n values: {\n home: \"Home\",\n components: \"Components\",\n documentation: \"Documentation\",\n themes: \"Themes\",\n github: \"GitHub\",\n breadcrumb: \"Breadcrumb\",\n },\n },\n ar: {\n dir: \"rtl\",\n values: {\n home: \"الرئيسية\",\n components: \"المكونات\",\n documentation: \"التوثيق\",\n themes: \"السمات\",\n github: \"جيت هاب\",\n breadcrumb: \"مسار التنقل\",\n },\n },\n he: {\n dir: \"rtl\",\n values: {\n home: \"בית\",\n components: \"רכיבים\",\n documentation: \"תיעוד\",\n themes: \"ערכות נושא\",\n github: \"גיטהאב\",\n breadcrumb: \"פירורי לחם\",\n },\n },\n}\n\nconst language = \"ar\"\nconst { dir, values: t } = translations[language]\n---\n\n<Breadcrumb dir={dir}>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"/\">{t.home}</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <DropdownMenu>\n <DropdownMenuTrigger class=\"flex items-center gap-1\">\n {t.components}\n <ChevronDownIcon data-icon=\"inline-end\" class=\"size-3.5\" />\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align={dir === \"rtl\" ? \"end\" : \"start\"}\n data-lang={dir === \"rtl\" ? language : undefined}\n dir={dir}\n >\n <DropdownMenuGroup>\n <DropdownMenuItem>{t.documentation}</DropdownMenuItem>\n <DropdownMenuItem>{t.themes}</DropdownMenuItem>\n <DropdownMenuItem>{t.github}</DropdownMenuItem>\n </DropdownMenuGroup>\n </DropdownMenuContent>\n </DropdownMenu>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbPage>{t.breadcrumb}</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
43
|
+
"type": "registry:component"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"path": "src/components/examples/breadcrumb/breadcrumb-separator.astro",
|
|
47
|
+
"content": "---\nimport DotIcon from \"@lucide/astro/icons/dot\"\n\nimport {\n Breadcrumb,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbPage,\n BreadcrumbSeparator,\n} from \"@/components/ui/breadcrumb\"\n---\n\n<Breadcrumb>\n <BreadcrumbList>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"/\">Home</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbLink href=\"/components\">Components</BreadcrumbLink>\n </BreadcrumbItem>\n <BreadcrumbSeparator>\n <DotIcon />\n </BreadcrumbSeparator>\n <BreadcrumbItem>\n <BreadcrumbPage>Breadcrumb</BreadcrumbPage>\n </BreadcrumbItem>\n </BreadcrumbList>\n</Breadcrumb>\n",
|
|
48
|
+
"type": "registry:component"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"docs": "https://ui.full.dev/components/breadcrumb/",
|
|
52
|
+
"type": "registry:example"
|
|
53
|
+
}
|