@ng-cn/core 1.0.11 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/schematics/ng-add/index.js +8 -3
- package/schematics/ng-add/index.ts +11 -4
- package/src/app/lib/components/ui/accordion/accordion-content.component.ts +53 -0
- package/src/app/lib/components/ui/accordion/accordion-context.ts +33 -0
- package/src/app/lib/components/ui/accordion/accordion-item.component.ts +86 -0
- package/src/app/lib/components/ui/accordion/accordion-trigger.component.ts +73 -0
- package/src/app/lib/components/ui/accordion/accordion.component.ts +197 -0
- package/src/app/lib/components/ui/accordion/index.ts +15 -0
- package/src/app/lib/components/ui/alert/alert-description.component.ts +33 -0
- package/src/app/lib/components/ui/alert/alert-title.component.ts +30 -0
- package/src/app/lib/components/ui/alert/alert-variants.ts +23 -0
- package/src/app/lib/components/ui/alert/alert.component.ts +50 -0
- package/src/app/lib/components/ui/alert/index.ts +5 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-action.component.ts +44 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-cancel.component.ts +45 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-content.component.ts +146 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-context.ts +14 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-description.component.ts +37 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-footer.component.ts +35 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-header.component.ts +35 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-title.component.ts +37 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog-trigger.component.ts +44 -0
- package/src/app/lib/components/ui/alert-dialog/alert-dialog.component.ts +91 -0
- package/src/app/lib/components/ui/alert-dialog/index.ts +11 -0
- package/src/app/lib/components/ui/aspect-ratio/aspect-ratio.component.ts +63 -0
- package/src/app/lib/components/ui/aspect-ratio/index.ts +1 -0
- package/src/app/lib/components/ui/avatar/avatar-fallback.component.ts +34 -0
- package/src/app/lib/components/ui/avatar/avatar-image.component.ts +31 -0
- package/src/app/lib/components/ui/avatar/avatar.component.ts +37 -0
- package/src/app/lib/components/ui/avatar/index.ts +5 -0
- package/src/app/lib/components/ui/avatar/ui-avatar.component.ts +52 -0
- package/src/app/lib/components/ui/badge/badge-variants.ts +28 -0
- package/src/app/lib/components/ui/badge/badge.component.ts +50 -0
- package/src/app/lib/components/ui/badge/index.ts +3 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-ellipsis.component.ts +48 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-item.component.ts +28 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-link.component.ts +32 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-list.component.ts +31 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-page.component.ts +31 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb-separator.component.ts +47 -0
- package/src/app/lib/components/ui/breadcrumb/breadcrumb.component.ts +43 -0
- package/src/app/lib/components/ui/breadcrumb/index.ts +8 -0
- package/src/app/lib/components/ui/button/button-variants.ts +38 -0
- package/src/app/lib/components/ui/button/button.component.ts +103 -0
- package/src/app/lib/components/ui/button/index.ts +3 -0
- package/src/app/lib/components/ui/button-group/button-group-variants.ts +24 -0
- package/src/app/lib/components/ui/button-group/button-group.component.ts +57 -0
- package/src/app/lib/components/ui/button-group/index.ts +6 -0
- package/src/app/lib/components/ui/calendar/calendar.component.ts +368 -0
- package/src/app/lib/components/ui/calendar/index.ts +1 -0
- package/src/app/lib/components/ui/card/card-action.component.ts +39 -0
- package/src/app/lib/components/ui/card/card-content.component.ts +31 -0
- package/src/app/lib/components/ui/card/card-description.component.ts +31 -0
- package/src/app/lib/components/ui/card/card-footer.component.ts +34 -0
- package/src/app/lib/components/ui/card/card-header.component.ts +37 -0
- package/src/app/lib/components/ui/card/card-title.component.ts +31 -0
- package/src/app/lib/components/ui/card/card.component.ts +41 -0
- package/src/app/lib/components/ui/card/index.ts +8 -0
- package/src/app/lib/components/ui/carousel/carousel-content.component.ts +38 -0
- package/src/app/lib/components/ui/carousel/carousel-context.ts +18 -0
- package/src/app/lib/components/ui/carousel/carousel-item.component.ts +32 -0
- package/src/app/lib/components/ui/carousel/carousel-next.component.ts +54 -0
- package/src/app/lib/components/ui/carousel/carousel-previous.component.ts +54 -0
- package/src/app/lib/components/ui/carousel/carousel.component.ts +125 -0
- package/src/app/lib/components/ui/carousel/index.ts +7 -0
- package/src/app/lib/components/ui/chart/chart-container.component.ts +81 -0
- package/src/app/lib/components/ui/chart/chart-context.ts +38 -0
- package/src/app/lib/components/ui/chart/chart-legend-content.component.ts +51 -0
- package/src/app/lib/components/ui/chart/chart-legend.component.ts +28 -0
- package/src/app/lib/components/ui/chart/chart-tooltip-content.component.ts +37 -0
- package/src/app/lib/components/ui/chart/chart-tooltip.component.ts +28 -0
- package/src/app/lib/components/ui/chart/chart.component.ts +308 -0
- package/src/app/lib/components/ui/chart/index.ts +16 -0
- package/src/app/lib/components/ui/checkbox/checkbox.component.ts +203 -0
- package/src/app/lib/components/ui/checkbox/index.ts +1 -0
- package/src/app/lib/components/ui/collapsible/collapsible-content.component.ts +58 -0
- package/src/app/lib/components/ui/collapsible/collapsible-context.ts +17 -0
- package/src/app/lib/components/ui/collapsible/collapsible-trigger.component.ts +56 -0
- package/src/app/lib/components/ui/collapsible/collapsible.component.ts +102 -0
- package/src/app/lib/components/ui/collapsible/index.ts +5 -0
- package/src/app/lib/components/ui/combobox/combobox-content.component.ts +59 -0
- package/src/app/lib/components/ui/combobox/combobox-context.ts +49 -0
- package/src/app/lib/components/ui/combobox/combobox-empty.component.ts +35 -0
- package/src/app/lib/components/ui/combobox/combobox-group.component.ts +32 -0
- package/src/app/lib/components/ui/combobox/combobox-input.component.ts +89 -0
- package/src/app/lib/components/ui/combobox/combobox-item.component.ts +129 -0
- package/src/app/lib/components/ui/combobox/combobox-list.component.ts +40 -0
- package/src/app/lib/components/ui/combobox/combobox-trigger.component.ts +53 -0
- package/src/app/lib/components/ui/combobox/combobox-value.component.ts +47 -0
- package/src/app/lib/components/ui/combobox/combobox.component.ts +290 -0
- package/src/app/lib/components/ui/combobox/index.ts +15 -0
- package/src/app/lib/components/ui/command/command-context.ts +24 -0
- package/src/app/lib/components/ui/command/command-dialog.component.ts +69 -0
- package/src/app/lib/components/ui/command/command-empty.component.ts +23 -0
- package/src/app/lib/components/ui/command/command-group.component.ts +66 -0
- package/src/app/lib/components/ui/command/command-input.component.ts +137 -0
- package/src/app/lib/components/ui/command/command-item.component.ts +148 -0
- package/src/app/lib/components/ui/command/command-list.component.ts +30 -0
- package/src/app/lib/components/ui/command/command-separator.component.ts +23 -0
- package/src/app/lib/components/ui/command/command-shortcut.component.ts +23 -0
- package/src/app/lib/components/ui/command/command.component.ts +105 -0
- package/src/app/lib/components/ui/command/index.ts +11 -0
- package/src/app/lib/components/ui/context-menu/context-menu-checkbox-item.component.ts +68 -0
- package/src/app/lib/components/ui/context-menu/context-menu-content.component.ts +213 -0
- package/src/app/lib/components/ui/context-menu/context-menu-context.ts +17 -0
- package/src/app/lib/components/ui/context-menu/context-menu-item.component.ts +63 -0
- package/src/app/lib/components/ui/context-menu/context-menu-label.component.ts +30 -0
- package/src/app/lib/components/ui/context-menu/context-menu-radio-group.component.ts +36 -0
- package/src/app/lib/components/ui/context-menu/context-menu-radio-item.component.ts +71 -0
- package/src/app/lib/components/ui/context-menu/context-menu-separator.component.ts +24 -0
- package/src/app/lib/components/ui/context-menu/context-menu-shortcut.component.ts +23 -0
- package/src/app/lib/components/ui/context-menu/context-menu-sub-content.component.ts +51 -0
- package/src/app/lib/components/ui/context-menu/context-menu-sub-trigger.component.ts +50 -0
- package/src/app/lib/components/ui/context-menu/context-menu-sub.component.ts +31 -0
- package/src/app/lib/components/ui/context-menu/context-menu-trigger.component.ts +51 -0
- package/src/app/lib/components/ui/context-menu/context-menu.component.ts +27 -0
- package/src/app/lib/components/ui/context-menu/index.ts +15 -0
- package/src/app/lib/components/ui/data-table/data-table-content.component.ts +226 -0
- package/src/app/lib/components/ui/data-table/data-table-context.ts +49 -0
- package/src/app/lib/components/ui/data-table/data-table-pagination.component.ts +138 -0
- package/src/app/lib/components/ui/data-table/data-table-search.component.ts +52 -0
- package/src/app/lib/components/ui/data-table/data-table-toolbar.component.ts +27 -0
- package/src/app/lib/components/ui/data-table/data-table-view-options.component.ts +92 -0
- package/src/app/lib/components/ui/data-table/data-table.component.ts +131 -0
- package/src/app/lib/components/ui/data-table/index.ts +16 -0
- package/src/app/lib/components/ui/date-picker/date-picker.component.ts +94 -0
- package/src/app/lib/components/ui/date-picker/index.ts +1 -0
- package/src/app/lib/components/ui/dialog/dialog-close.component.ts +31 -0
- package/src/app/lib/components/ui/dialog/dialog-content.component.ts +177 -0
- package/src/app/lib/components/ui/dialog/dialog-context.ts +15 -0
- package/src/app/lib/components/ui/dialog/dialog-description.component.ts +34 -0
- package/src/app/lib/components/ui/dialog/dialog-footer.component.ts +28 -0
- package/src/app/lib/components/ui/dialog/dialog-header.component.ts +28 -0
- package/src/app/lib/components/ui/dialog/dialog-title.component.ts +34 -0
- package/src/app/lib/components/ui/dialog/dialog-trigger.component.ts +38 -0
- package/src/app/lib/components/ui/dialog/dialog.component.ts +87 -0
- package/src/app/lib/components/ui/dialog/index.ts +10 -0
- package/src/app/lib/components/ui/drawer/drawer-close.component.ts +31 -0
- package/src/app/lib/components/ui/drawer/drawer-content.component.ts +143 -0
- package/src/app/lib/components/ui/drawer/drawer-context.ts +17 -0
- package/src/app/lib/components/ui/drawer/drawer-description.component.ts +33 -0
- package/src/app/lib/components/ui/drawer/drawer-footer.component.ts +28 -0
- package/src/app/lib/components/ui/drawer/drawer-header.component.ts +28 -0
- package/src/app/lib/components/ui/drawer/drawer-title.component.ts +33 -0
- package/src/app/lib/components/ui/drawer/drawer-trigger.component.ts +38 -0
- package/src/app/lib/components/ui/drawer/drawer.component.ts +93 -0
- package/src/app/lib/components/ui/drawer/index.ts +10 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-checkbox-item.component.ts +68 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-content.component.ts +234 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-context.ts +15 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-group.component.ts +15 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-item.component.ts +56 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-label.component.ts +30 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-radio-group.component.ts +42 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-radio-item.component.ts +71 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-separator.component.ts +24 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.component.ts +23 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub-content.component.ts +51 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub-trigger.component.ts +53 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-sub.component.ts +31 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu-trigger.component.ts +45 -0
- package/src/app/lib/components/ui/dropdown-menu/dropdown-menu.component.ts +32 -0
- package/src/app/lib/components/ui/dropdown-menu/index.ts +16 -0
- package/src/app/lib/components/ui/empty/empty-action.component.ts +28 -0
- package/src/app/lib/components/ui/empty/empty-description.component.ts +31 -0
- package/src/app/lib/components/ui/empty/empty-icon.component.ts +31 -0
- package/src/app/lib/components/ui/empty/empty-title.component.ts +28 -0
- package/src/app/lib/components/ui/empty/empty.component.ts +53 -0
- package/src/app/lib/components/ui/empty/index.ts +6 -0
- package/src/app/lib/components/ui/form/form-context.ts +34 -0
- package/src/app/lib/components/ui/form/form-control.component.ts +137 -0
- package/src/app/lib/components/ui/form/form-description.component.ts +37 -0
- package/src/app/lib/components/ui/form/form-field.component.ts +84 -0
- package/src/app/lib/components/ui/form/form-item.component.ts +42 -0
- package/src/app/lib/components/ui/form/form-label.component.ts +58 -0
- package/src/app/lib/components/ui/form/form-message.component.ts +107 -0
- package/src/app/lib/components/ui/form/form.component.ts +123 -0
- package/src/app/lib/components/ui/form/index.ts +17 -0
- package/src/app/lib/components/ui/hover-card/hover-card-content.component.ts +203 -0
- package/src/app/lib/components/ui/hover-card/hover-card-context.ts +25 -0
- package/src/app/lib/components/ui/hover-card/hover-card-trigger.component.ts +160 -0
- package/src/app/lib/components/ui/hover-card/hover-card.component.ts +147 -0
- package/src/app/lib/components/ui/hover-card/index.ts +13 -0
- package/src/app/lib/components/ui/index.ts +551 -0
- package/src/app/lib/components/ui/input/index.ts +1 -0
- package/src/app/lib/components/ui/input/input.component.ts +165 -0
- package/src/app/lib/components/ui/input-group/index.ts +4 -0
- package/src/app/lib/components/ui/input-group/input-group-addon.component.ts +43 -0
- package/src/app/lib/components/ui/input-group/input-group-input.component.ts +33 -0
- package/src/app/lib/components/ui/input-group/input-group.component.ts +53 -0
- package/src/app/lib/components/ui/input-otp/index.ts +14 -0
- package/src/app/lib/components/ui/input-otp/input-otp-context.ts +31 -0
- package/src/app/lib/components/ui/input-otp/input-otp-group.component.ts +23 -0
- package/src/app/lib/components/ui/input-otp/input-otp-separator.component.ts +31 -0
- package/src/app/lib/components/ui/input-otp/input-otp-slot.component.ts +67 -0
- package/src/app/lib/components/ui/input-otp/input-otp.component.ts +240 -0
- package/src/app/lib/components/ui/kbd/index.ts +3 -0
- package/src/app/lib/components/ui/kbd/kbd-variants.ts +23 -0
- package/src/app/lib/components/ui/kbd/kbd.component.ts +50 -0
- package/src/app/lib/components/ui/label/index.ts +1 -0
- package/src/app/lib/components/ui/label/label.component.ts +139 -0
- package/src/app/lib/components/ui/menubar/index.ts +26 -0
- package/src/app/lib/components/ui/menubar/menubar-checkbox-item.component.ts +66 -0
- package/src/app/lib/components/ui/menubar/menubar-content.component.ts +236 -0
- package/src/app/lib/components/ui/menubar/menubar-context.ts +63 -0
- package/src/app/lib/components/ui/menubar/menubar-item.component.ts +60 -0
- package/src/app/lib/components/ui/menubar/menubar-label.component.ts +30 -0
- package/src/app/lib/components/ui/menubar/menubar-menu.component.ts +40 -0
- package/src/app/lib/components/ui/menubar/menubar-radio-group.component.ts +36 -0
- package/src/app/lib/components/ui/menubar/menubar-radio-item.component.ts +66 -0
- package/src/app/lib/components/ui/menubar/menubar-separator.component.ts +24 -0
- package/src/app/lib/components/ui/menubar/menubar-shortcut.component.ts +23 -0
- package/src/app/lib/components/ui/menubar/menubar-sub-content.component.ts +51 -0
- package/src/app/lib/components/ui/menubar/menubar-sub-trigger.component.ts +50 -0
- package/src/app/lib/components/ui/menubar/menubar-sub.component.ts +29 -0
- package/src/app/lib/components/ui/menubar/menubar-trigger.component.ts +132 -0
- package/src/app/lib/components/ui/menubar/menubar.component.ts +158 -0
- package/src/app/lib/components/ui/native-select/index.ts +6 -0
- package/src/app/lib/components/ui/native-select/native-select-variants.ts +23 -0
- package/src/app/lib/components/ui/native-select/native-select.component.ts +74 -0
- package/src/app/lib/components/ui/navigation-menu/index.ts +21 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-content.component.ts +66 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-context.ts +55 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-indicator.component.ts +28 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-item.component.ts +29 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-link.component.ts +43 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-list.component.ts +26 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-trigger-style.ts +7 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-trigger.component.ts +58 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu-viewport.component.ts +26 -0
- package/src/app/lib/components/ui/navigation-menu/navigation-menu.component.ts +149 -0
- package/src/app/lib/components/ui/pagination/index.ts +8 -0
- package/src/app/lib/components/ui/pagination/pagination-content.component.ts +28 -0
- package/src/app/lib/components/ui/pagination/pagination-ellipsis.component.ts +47 -0
- package/src/app/lib/components/ui/pagination/pagination-item.component.ts +28 -0
- package/src/app/lib/components/ui/pagination/pagination-link.component.ts +46 -0
- package/src/app/lib/components/ui/pagination/pagination-next.component.ts +54 -0
- package/src/app/lib/components/ui/pagination/pagination-previous.component.ts +54 -0
- package/src/app/lib/components/ui/pagination/pagination.component.ts +48 -0
- package/src/app/lib/components/ui/popover/index.ts +14 -0
- package/src/app/lib/components/ui/popover/popover-anchor.component.ts +64 -0
- package/src/app/lib/components/ui/popover/popover-content.component.ts +231 -0
- package/src/app/lib/components/ui/popover/popover-context.ts +29 -0
- package/src/app/lib/components/ui/popover/popover-trigger.component.ts +100 -0
- package/src/app/lib/components/ui/popover/popover.component.ts +163 -0
- package/src/app/lib/components/ui/progress/index.ts +6 -0
- package/src/app/lib/components/ui/progress/progress.component.ts +212 -0
- package/src/app/lib/components/ui/radio-group/index.ts +10 -0
- package/src/app/lib/components/ui/radio-group/radio-group-context.ts +38 -0
- package/src/app/lib/components/ui/radio-group/radio-group-item.component.ts +298 -0
- package/src/app/lib/components/ui/radio-group/radio-group.component.ts +275 -0
- package/src/app/lib/components/ui/resizable/index.ts +5 -0
- package/src/app/lib/components/ui/resizable/resizable-context.ts +14 -0
- package/src/app/lib/components/ui/resizable/resizable-handle.component.ts +232 -0
- package/src/app/lib/components/ui/resizable/resizable-panel-group.component.ts +140 -0
- package/src/app/lib/components/ui/resizable/resizable-panel.component.ts +77 -0
- package/src/app/lib/components/ui/scroll-area/index.ts +8 -0
- package/src/app/lib/components/ui/scroll-area/scroll-area.component.ts +126 -0
- package/src/app/lib/components/ui/scroll-area/scroll-bar.component.ts +93 -0
- package/src/app/lib/components/ui/segmented/index.ts +13 -0
- package/src/app/lib/components/ui/segmented/segmented-context.ts +11 -0
- package/src/app/lib/components/ui/segmented/segmented-item.component.ts +72 -0
- package/src/app/lib/components/ui/segmented/segmented-variants.ts +40 -0
- package/src/app/lib/components/ui/segmented/segmented.component.ts +99 -0
- package/src/app/lib/components/ui/select/index.ts +19 -0
- package/src/app/lib/components/ui/select/select-content.component.ts +97 -0
- package/src/app/lib/components/ui/select/select-context.ts +53 -0
- package/src/app/lib/components/ui/select/select-group.component.ts +56 -0
- package/src/app/lib/components/ui/select/select-item.component.ts +163 -0
- package/src/app/lib/components/ui/select/select-label.component.ts +32 -0
- package/src/app/lib/components/ui/select/select-separator.component.ts +34 -0
- package/src/app/lib/components/ui/select/select-trigger.component.ts +164 -0
- package/src/app/lib/components/ui/select/select-value.component.ts +49 -0
- package/src/app/lib/components/ui/select/select.component.ts +263 -0
- package/src/app/lib/components/ui/separator/index.ts +6 -0
- package/src/app/lib/components/ui/separator/separator.component.ts +128 -0
- package/src/app/lib/components/ui/sheet/index.ts +11 -0
- package/src/app/lib/components/ui/sheet/sheet-close.component.ts +32 -0
- package/src/app/lib/components/ui/sheet/sheet-content.component.ts +157 -0
- package/src/app/lib/components/ui/sheet/sheet-context.ts +15 -0
- package/src/app/lib/components/ui/sheet/sheet-description.component.ts +34 -0
- package/src/app/lib/components/ui/sheet/sheet-footer.component.ts +28 -0
- package/src/app/lib/components/ui/sheet/sheet-header.component.ts +28 -0
- package/src/app/lib/components/ui/sheet/sheet-title.component.ts +34 -0
- package/src/app/lib/components/ui/sheet/sheet-trigger.component.ts +38 -0
- package/src/app/lib/components/ui/sheet/sheet-variants.ts +22 -0
- package/src/app/lib/components/ui/sheet/sheet.component.ts +97 -0
- package/src/app/lib/components/ui/sidebar/index.ts +41 -0
- package/src/app/lib/components/ui/sidebar/sidebar-content.component.ts +31 -0
- package/src/app/lib/components/ui/sidebar/sidebar-context.ts +33 -0
- package/src/app/lib/components/ui/sidebar/sidebar-footer.component.ts +28 -0
- package/src/app/lib/components/ui/sidebar/sidebar-group-action.component.ts +33 -0
- package/src/app/lib/components/ui/sidebar/sidebar-group-content.component.ts +28 -0
- package/src/app/lib/components/ui/sidebar/sidebar-group-label.component.ts +32 -0
- package/src/app/lib/components/ui/sidebar/sidebar-group.component.ts +28 -0
- package/src/app/lib/components/ui/sidebar/sidebar-header.component.ts +28 -0
- package/src/app/lib/components/ui/sidebar/sidebar-input.component.ts +31 -0
- package/src/app/lib/components/ui/sidebar/sidebar-inset.component.ts +31 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-action.component.ts +56 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-badge.component.ts +42 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-button.component.ts +64 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-item.component.ts +32 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-skeleton.component.ts +39 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-sub-button.component.ts +59 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-sub-item.component.ts +25 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu-sub.component.ts +32 -0
- package/src/app/lib/components/ui/sidebar/sidebar-menu.component.ts +31 -0
- package/src/app/lib/components/ui/sidebar/sidebar-provider.component.ts +141 -0
- package/src/app/lib/components/ui/sidebar/sidebar-rail.component.ts +47 -0
- package/src/app/lib/components/ui/sidebar/sidebar-route-active.service.ts +124 -0
- package/src/app/lib/components/ui/sidebar/sidebar-separator.component.ts +28 -0
- package/src/app/lib/components/ui/sidebar/sidebar-trigger.component.ts +57 -0
- package/src/app/lib/components/ui/sidebar/sidebar.component.ts +130 -0
- package/src/app/lib/components/ui/skeleton/index.ts +1 -0
- package/src/app/lib/components/ui/skeleton/skeleton.component.ts +52 -0
- package/src/app/lib/components/ui/slider/index.ts +6 -0
- package/src/app/lib/components/ui/slider/slider.component.ts +477 -0
- package/src/app/lib/components/ui/spinner/index.ts +3 -0
- package/src/app/lib/components/ui/spinner/spinner-variants.ts +32 -0
- package/src/app/lib/components/ui/spinner/spinner.component.ts +77 -0
- package/src/app/lib/components/ui/switch/index.ts +6 -0
- package/src/app/lib/components/ui/switch/switch.component.ts +282 -0
- package/src/app/lib/components/ui/table/index.ts +9 -0
- package/src/app/lib/components/ui/table/table-body.component.ts +28 -0
- package/src/app/lib/components/ui/table/table-caption.component.ts +28 -0
- package/src/app/lib/components/ui/table/table-cell.component.ts +31 -0
- package/src/app/lib/components/ui/table/table-footer.component.ts +28 -0
- package/src/app/lib/components/ui/table/table-head.component.ts +36 -0
- package/src/app/lib/components/ui/table/table-header.component.ts +28 -0
- package/src/app/lib/components/ui/table/table-row.component.ts +34 -0
- package/src/app/lib/components/ui/table/table.component.ts +52 -0
- package/src/app/lib/components/ui/tabs/index.ts +14 -0
- package/src/app/lib/components/ui/tabs/tabs-content.component.ts +132 -0
- package/src/app/lib/components/ui/tabs/tabs-context.ts +33 -0
- package/src/app/lib/components/ui/tabs/tabs-list.component.ts +228 -0
- package/src/app/lib/components/ui/tabs/tabs-trigger.component.ts +167 -0
- package/src/app/lib/components/ui/tabs/tabs.component.ts +203 -0
- package/src/app/lib/components/ui/textarea/index.ts +1 -0
- package/src/app/lib/components/ui/textarea/textarea.component.ts +44 -0
- package/src/app/lib/components/ui/toast/index.ts +16 -0
- package/src/app/lib/components/ui/toast/toast-action.component.ts +77 -0
- package/src/app/lib/components/ui/toast/toast-description.component.ts +52 -0
- package/src/app/lib/components/ui/toast/toast-title.component.ts +52 -0
- package/src/app/lib/components/ui/toast/toast-variants.ts +24 -0
- package/src/app/lib/components/ui/toast/toast.component.ts +177 -0
- package/src/app/lib/components/ui/toast/toast.service.ts +202 -0
- package/src/app/lib/components/ui/toast/toaster.component.ts +128 -0
- package/src/app/lib/components/ui/toggle/index.ts +6 -0
- package/src/app/lib/components/ui/toggle/toggle-variants.ts +30 -0
- package/src/app/lib/components/ui/toggle/toggle.component.ts +199 -0
- package/src/app/lib/components/ui/toggle-group/index.ts +11 -0
- package/src/app/lib/components/ui/toggle-group/toggle-group-context.ts +48 -0
- package/src/app/lib/components/ui/toggle-group/toggle-group-item.component.ts +241 -0
- package/src/app/lib/components/ui/toggle-group/toggle-group.component.ts +288 -0
- package/src/app/lib/components/ui/tooltip/index.ts +14 -0
- package/src/app/lib/components/ui/tooltip/tooltip-content.component.ts +154 -0
- package/src/app/lib/components/ui/tooltip/tooltip-context.ts +29 -0
- package/src/app/lib/components/ui/tooltip/tooltip-provider.component.ts +95 -0
- package/src/app/lib/components/ui/tooltip/tooltip-trigger.component.ts +138 -0
- package/src/app/lib/components/ui/tooltip/tooltip.component.ts +159 -0
- package/src/app/lib/components/ui/typography/index.ts +13 -0
- package/src/app/lib/components/ui/typography/typography-blockquote.component.ts +31 -0
- package/src/app/lib/components/ui/typography/typography-h1.component.ts +32 -0
- package/src/app/lib/components/ui/typography/typography-h2.component.ts +32 -0
- package/src/app/lib/components/ui/typography/typography-h3.component.ts +29 -0
- package/src/app/lib/components/ui/typography/typography-h4.component.ts +29 -0
- package/src/app/lib/components/ui/typography/typography-inline-code.component.ts +31 -0
- package/src/app/lib/components/ui/typography/typography-large.component.ts +28 -0
- package/src/app/lib/components/ui/typography/typography-lead.component.ts +31 -0
- package/src/app/lib/components/ui/typography/typography-list.component.ts +31 -0
- package/src/app/lib/components/ui/typography/typography-muted.component.ts +28 -0
- package/src/app/lib/components/ui/typography/typography-p.component.ts +29 -0
- package/src/app/lib/components/ui/typography/typography-small.component.ts +28 -0
- package/src/app/lib/index.ts +7 -0
- package/src/app/lib/utils/accessibility/aria-id.service.ts +118 -0
- package/src/app/lib/utils/accessibility/click-outside.directive.ts +85 -0
- package/src/app/lib/utils/accessibility/focus-management.service.ts +231 -0
- package/src/app/lib/utils/accessibility/focus-trap.directive.ts +203 -0
- package/src/app/lib/utils/accessibility/index.ts +23 -0
- package/src/app/lib/utils/accessibility/keyboard-navigation.directive.ts +440 -0
- package/src/app/lib/utils/accessibility/live-region.directive.ts +260 -0
- package/src/app/lib/utils/accessibility/touch-target.directive.ts +81 -0
- package/src/app/lib/utils/accessibility/visually-hidden.component.ts +79 -0
- package/src/app/lib/utils/animation/animated.directive.ts +191 -0
- package/src/app/lib/utils/animation/animation-tokens.service.ts +88 -0
- package/src/app/lib/utils/animation/animation.types.ts +55 -0
- package/src/app/lib/utils/animation/animation.utils.ts +158 -0
- package/src/app/lib/utils/animation/index.ts +17 -0
- package/src/app/lib/utils/animation/presence.component.ts +168 -0
- package/src/app/lib/utils/animation/presence.directive.ts +169 -0
- package/src/app/lib/utils/cn.ts +15 -0
- package/src/app/lib/utils/index.ts +11 -0
- package/src/app/lib/utils/positioning/index.ts +218 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
forwardRef,
|
|
5
|
+
input,
|
|
6
|
+
output,
|
|
7
|
+
signal,
|
|
8
|
+
} from '@angular/core';
|
|
9
|
+
import { HOVER_CARD_CONTEXT, type HoverCardContextValue } from './hover-card-context';
|
|
10
|
+
|
|
11
|
+
// ============================================================================
|
|
12
|
+
// Types
|
|
13
|
+
// ============================================================================
|
|
14
|
+
|
|
15
|
+
export type HoverCardState = 'open' | 'closed';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Props for the HoverCard component
|
|
19
|
+
*/
|
|
20
|
+
export interface HoverCardProps {
|
|
21
|
+
/** The open state of the hover card when initially rendered.
|
|
22
|
+
* Use when you do not need to control its open state.
|
|
23
|
+
* @default false */
|
|
24
|
+
defaultOpen?: boolean;
|
|
25
|
+
/** The controlled open state of the hover card.
|
|
26
|
+
* Must be used in conjunction with onOpenChange. */
|
|
27
|
+
open?: boolean;
|
|
28
|
+
/** The duration from when the pointer enters the trigger until the hover card opens.
|
|
29
|
+
* @default 700 */
|
|
30
|
+
openDelay?: number;
|
|
31
|
+
/** The duration from when the pointer leaves the trigger/content until the hover card closes.
|
|
32
|
+
* @default 300 */
|
|
33
|
+
closeDelay?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// ============================================================================
|
|
37
|
+
// Component
|
|
38
|
+
// ============================================================================
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @component HoverCard
|
|
42
|
+
*
|
|
43
|
+
* For sighted users to preview content available behind a link.
|
|
44
|
+
*
|
|
45
|
+
* @description
|
|
46
|
+
* HoverCard provides a preview of content when the user hovers over a trigger,
|
|
47
|
+
* typically a link. It's useful for displaying additional information without
|
|
48
|
+
* navigating away from the current page.
|
|
49
|
+
*
|
|
50
|
+
* ## Features
|
|
51
|
+
* - Opens on hover with configurable delay
|
|
52
|
+
* - Stays open when hovering content
|
|
53
|
+
* - Keyboard accessible via focus
|
|
54
|
+
* - Configurable open/close delays
|
|
55
|
+
* - Controlled and uncontrolled usage
|
|
56
|
+
*
|
|
57
|
+
* ## Accessibility
|
|
58
|
+
* - Opens on focus for keyboard users
|
|
59
|
+
* - Escape key dismisses hover card
|
|
60
|
+
* - `aria-expanded` on trigger
|
|
61
|
+
* - `role="dialog"` on content
|
|
62
|
+
*
|
|
63
|
+
* ## Keyboard Navigation
|
|
64
|
+
* - `Tab` - Focus trigger opens hover card
|
|
65
|
+
* - `Escape` - Close hover card
|
|
66
|
+
* - `Enter` / `Space` - Toggle hover card (when focused)
|
|
67
|
+
*
|
|
68
|
+
* @example Basic usage
|
|
69
|
+
* ```html
|
|
70
|
+
* <HoverCard>
|
|
71
|
+
* <HoverCardTrigger>
|
|
72
|
+
* <a href="#">@username</a>
|
|
73
|
+
* </HoverCardTrigger>
|
|
74
|
+
* <HoverCardContent>
|
|
75
|
+
* <div class="flex gap-4">
|
|
76
|
+
* <Avatar>
|
|
77
|
+
* <AvatarImage src="/avatar.png" />
|
|
78
|
+
* </Avatar>
|
|
79
|
+
* <div>
|
|
80
|
+
* <h4 class="font-semibold">Username</h4>
|
|
81
|
+
* <p class="text-sm">Bio information here</p>
|
|
82
|
+
* </div>
|
|
83
|
+
* </div>
|
|
84
|
+
* </HoverCardContent>
|
|
85
|
+
* </HoverCard>
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @example With custom delays
|
|
89
|
+
* ```html
|
|
90
|
+
* <HoverCard [openDelay]="500" [closeDelay]="200">
|
|
91
|
+
* <HoverCardTrigger>Quick preview</HoverCardTrigger>
|
|
92
|
+
* <HoverCardContent>Preview content</HoverCardContent>
|
|
93
|
+
* </HoverCard>
|
|
94
|
+
* ```
|
|
95
|
+
*
|
|
96
|
+
* @data-attributes
|
|
97
|
+
* - `data-state` - 'open' | 'closed' (on trigger and content)
|
|
98
|
+
*/
|
|
99
|
+
@Component({
|
|
100
|
+
selector: 'HoverCard',
|
|
101
|
+
template: `<ng-content />`,
|
|
102
|
+
host: {
|
|
103
|
+
class: 'relative inline-block',
|
|
104
|
+
},
|
|
105
|
+
providers: [
|
|
106
|
+
{
|
|
107
|
+
provide: HOVER_CARD_CONTEXT,
|
|
108
|
+
useExisting: forwardRef(() => HoverCard),
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
112
|
+
})
|
|
113
|
+
export class HoverCard implements HoverCardContextValue {
|
|
114
|
+
/** The open state of the hover card when initially rendered */
|
|
115
|
+
readonly defaultOpen = input<boolean>(false);
|
|
116
|
+
|
|
117
|
+
/** The controlled open state of the hover card */
|
|
118
|
+
readonly controlledOpen = input<boolean | undefined>(undefined, { alias: 'open' });
|
|
119
|
+
|
|
120
|
+
/** The duration from when the pointer enters the trigger until the hover card opens (ms) */
|
|
121
|
+
readonly openDelay = 700;
|
|
122
|
+
|
|
123
|
+
/** The duration from when the pointer leaves the trigger/content until the hover card closes (ms) */
|
|
124
|
+
readonly closeDelay = 300;
|
|
125
|
+
|
|
126
|
+
/** Event handler called when the open state changes */
|
|
127
|
+
readonly openChange = output<boolean>();
|
|
128
|
+
|
|
129
|
+
readonly open = signal(false);
|
|
130
|
+
|
|
131
|
+
constructor() {
|
|
132
|
+
if (this.defaultOpen()) {
|
|
133
|
+
this.open.set(true);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
setOpen(open: boolean): void {
|
|
138
|
+
if (this.controlledOpen() === undefined) {
|
|
139
|
+
this.open.set(open);
|
|
140
|
+
}
|
|
141
|
+
this.openChange.emit(open);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
isOpen(): boolean {
|
|
145
|
+
return this.controlledOpen() !== undefined ? this.controlledOpen()! : this.open();
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Context and types
|
|
2
|
+
export {
|
|
3
|
+
HOVER_CARD_CONTEXT,
|
|
4
|
+
type HoverCardAlign,
|
|
5
|
+
type HoverCardContextValue,
|
|
6
|
+
type HoverCardSide
|
|
7
|
+
} from './hover-card-context';
|
|
8
|
+
|
|
9
|
+
// Components and their types
|
|
10
|
+
export { HoverCardContent, type HoverCardContentProps, type HoverCardContentState } from './hover-card-content.component';
|
|
11
|
+
export { HoverCardTrigger, type HoverCardTriggerProps } from './hover-card-trigger.component';
|
|
12
|
+
export { HoverCard, type HoverCardProps, type HoverCardState } from './hover-card.component';
|
|
13
|
+
|
|
@@ -0,0 +1,551 @@
|
|
|
1
|
+
// UI Components Public API
|
|
2
|
+
|
|
3
|
+
// Accordion
|
|
4
|
+
export {
|
|
5
|
+
ACCORDION_CONTEXT,
|
|
6
|
+
ACCORDION_ITEM_CONTEXT, Accordion, AccordionContent,
|
|
7
|
+
AccordionItem,
|
|
8
|
+
AccordionTrigger,
|
|
9
|
+
type AccordionContext,
|
|
10
|
+
type AccordionItemContext,
|
|
11
|
+
type AccordionType
|
|
12
|
+
} from './accordion';
|
|
13
|
+
|
|
14
|
+
// Alert
|
|
15
|
+
export { Alert, AlertDescription, AlertTitle, alertVariants, type AlertVariants } from './alert';
|
|
16
|
+
|
|
17
|
+
// AlertDialog
|
|
18
|
+
export {
|
|
19
|
+
ALERT_DIALOG_CONTEXT,
|
|
20
|
+
AlertDialog,
|
|
21
|
+
AlertDialogAction,
|
|
22
|
+
AlertDialogCancel,
|
|
23
|
+
AlertDialogContent,
|
|
24
|
+
AlertDialogDescription,
|
|
25
|
+
AlertDialogFooter,
|
|
26
|
+
AlertDialogHeader,
|
|
27
|
+
AlertDialogTitle,
|
|
28
|
+
AlertDialogTrigger,
|
|
29
|
+
type AlertDialogContextValue
|
|
30
|
+
} from './alert-dialog';
|
|
31
|
+
|
|
32
|
+
// Breadcrumb
|
|
33
|
+
export {
|
|
34
|
+
Breadcrumb,
|
|
35
|
+
BreadcrumbEllipsis,
|
|
36
|
+
BreadcrumbItem,
|
|
37
|
+
BreadcrumbLink,
|
|
38
|
+
BreadcrumbList,
|
|
39
|
+
BreadcrumbPage,
|
|
40
|
+
BreadcrumbSeparator
|
|
41
|
+
} from './breadcrumb';
|
|
42
|
+
|
|
43
|
+
// AspectRatio
|
|
44
|
+
export { AspectRatio } from './aspect-ratio';
|
|
45
|
+
|
|
46
|
+
// Avatar
|
|
47
|
+
export { Avatar, AvatarFallback, AvatarImage, UiAvatar } from './avatar';
|
|
48
|
+
|
|
49
|
+
// Badge
|
|
50
|
+
export { Badge, badgeVariants, type BadgeVariants } from './badge';
|
|
51
|
+
|
|
52
|
+
// Button
|
|
53
|
+
export { Button, buttonVariants, type ButtonVariants } from './button';
|
|
54
|
+
|
|
55
|
+
// Card
|
|
56
|
+
export {
|
|
57
|
+
Card,
|
|
58
|
+
CardAction,
|
|
59
|
+
CardContent,
|
|
60
|
+
CardDescription,
|
|
61
|
+
CardFooter,
|
|
62
|
+
CardHeader,
|
|
63
|
+
CardTitle
|
|
64
|
+
} from './card';
|
|
65
|
+
|
|
66
|
+
// Checkbox
|
|
67
|
+
export { Checkbox } from './checkbox';
|
|
68
|
+
|
|
69
|
+
// Collapsible
|
|
70
|
+
export {
|
|
71
|
+
COLLAPSIBLE_CONTEXT, Collapsible, CollapsibleContent,
|
|
72
|
+
CollapsibleTrigger,
|
|
73
|
+
type CollapsibleContext
|
|
74
|
+
} from './collapsible';
|
|
75
|
+
|
|
76
|
+
// Dialog
|
|
77
|
+
export {
|
|
78
|
+
DIALOG_CONTEXT, Dialog, DialogClose,
|
|
79
|
+
DialogContent,
|
|
80
|
+
DialogDescription,
|
|
81
|
+
DialogFooter,
|
|
82
|
+
DialogHeader,
|
|
83
|
+
DialogTitle,
|
|
84
|
+
DialogTrigger,
|
|
85
|
+
type DialogContextValue
|
|
86
|
+
} from './dialog';
|
|
87
|
+
|
|
88
|
+
// Drawer
|
|
89
|
+
export {
|
|
90
|
+
DRAWER_CONTEXT, Drawer, DrawerClose,
|
|
91
|
+
DrawerContent,
|
|
92
|
+
DrawerDescription,
|
|
93
|
+
DrawerFooter,
|
|
94
|
+
DrawerHeader,
|
|
95
|
+
DrawerTitle,
|
|
96
|
+
DrawerTrigger,
|
|
97
|
+
type DrawerContextValue
|
|
98
|
+
} from './drawer';
|
|
99
|
+
|
|
100
|
+
// Form
|
|
101
|
+
export {
|
|
102
|
+
FORM_CONTEXT,
|
|
103
|
+
FORM_FIELD_CONTEXT, Form, FormControl,
|
|
104
|
+
FormDescription,
|
|
105
|
+
FormField,
|
|
106
|
+
FormItem,
|
|
107
|
+
FormLabel,
|
|
108
|
+
FormMessage,
|
|
109
|
+
type FormContext,
|
|
110
|
+
type FormFieldContext
|
|
111
|
+
} from './form';
|
|
112
|
+
|
|
113
|
+
// HoverCard
|
|
114
|
+
export {
|
|
115
|
+
HOVER_CARD_CONTEXT,
|
|
116
|
+
HoverCard,
|
|
117
|
+
HoverCardContent,
|
|
118
|
+
HoverCardTrigger,
|
|
119
|
+
type HoverCardContextValue
|
|
120
|
+
} from './hover-card';
|
|
121
|
+
|
|
122
|
+
// Input
|
|
123
|
+
export { Input } from './input';
|
|
124
|
+
|
|
125
|
+
// Label
|
|
126
|
+
export { Label } from './label';
|
|
127
|
+
|
|
128
|
+
// Pagination
|
|
129
|
+
export {
|
|
130
|
+
Pagination,
|
|
131
|
+
PaginationContent,
|
|
132
|
+
PaginationEllipsis,
|
|
133
|
+
PaginationItem,
|
|
134
|
+
PaginationLink,
|
|
135
|
+
PaginationNext,
|
|
136
|
+
PaginationPrevious
|
|
137
|
+
} from './pagination';
|
|
138
|
+
|
|
139
|
+
// Popover
|
|
140
|
+
export {
|
|
141
|
+
POPOVER_CONTEXT, Popover, PopoverAnchor,
|
|
142
|
+
PopoverContent,
|
|
143
|
+
PopoverTrigger,
|
|
144
|
+
type PopoverContextValue
|
|
145
|
+
} from './popover';
|
|
146
|
+
|
|
147
|
+
// Progress
|
|
148
|
+
export { Progress } from './progress';
|
|
149
|
+
|
|
150
|
+
// RadioGroup
|
|
151
|
+
export {
|
|
152
|
+
RADIO_GROUP_CONTEXT,
|
|
153
|
+
RadioGroup,
|
|
154
|
+
RadioGroupItem,
|
|
155
|
+
type RadioGroupContext
|
|
156
|
+
} from './radio-group';
|
|
157
|
+
|
|
158
|
+
// Resizable
|
|
159
|
+
export {
|
|
160
|
+
RESIZABLE_CONTEXT,
|
|
161
|
+
ResizableHandle,
|
|
162
|
+
ResizablePanel,
|
|
163
|
+
ResizablePanelGroup,
|
|
164
|
+
type ResizableContextValue
|
|
165
|
+
} from './resizable';
|
|
166
|
+
|
|
167
|
+
// ScrollArea
|
|
168
|
+
export { ScrollArea, ScrollBar } from './scroll-area';
|
|
169
|
+
|
|
170
|
+
// Select
|
|
171
|
+
export {
|
|
172
|
+
SELECT_CONTEXT,
|
|
173
|
+
SELECT_GROUP_CONTEXT, Select, SelectContent,
|
|
174
|
+
SelectGroup,
|
|
175
|
+
SelectItem,
|
|
176
|
+
SelectLabel,
|
|
177
|
+
SelectSeparator,
|
|
178
|
+
SelectTrigger,
|
|
179
|
+
SelectValue,
|
|
180
|
+
type SelectContext,
|
|
181
|
+
type SelectGroupContext
|
|
182
|
+
} from './select';
|
|
183
|
+
|
|
184
|
+
// Separator
|
|
185
|
+
export { Separator } from './separator';
|
|
186
|
+
|
|
187
|
+
// Sheet
|
|
188
|
+
export {
|
|
189
|
+
SHEET_CONTEXT, Sheet, SheetClose,
|
|
190
|
+
SheetContent,
|
|
191
|
+
SheetDescription,
|
|
192
|
+
SheetFooter,
|
|
193
|
+
SheetHeader,
|
|
194
|
+
SheetTitle,
|
|
195
|
+
SheetTrigger,
|
|
196
|
+
sheetVariants,
|
|
197
|
+
type SheetContextValue,
|
|
198
|
+
type SheetVariants
|
|
199
|
+
} from './sheet';
|
|
200
|
+
|
|
201
|
+
// Skeleton
|
|
202
|
+
export { Skeleton } from './skeleton';
|
|
203
|
+
|
|
204
|
+
// Slider
|
|
205
|
+
export { Slider } from './slider';
|
|
206
|
+
|
|
207
|
+
// Switch
|
|
208
|
+
export { Switch } from './switch';
|
|
209
|
+
|
|
210
|
+
// Table
|
|
211
|
+
export {
|
|
212
|
+
Table,
|
|
213
|
+
TableBody,
|
|
214
|
+
TableCaption,
|
|
215
|
+
TableCell,
|
|
216
|
+
TableFooter,
|
|
217
|
+
TableHead,
|
|
218
|
+
TableHeader,
|
|
219
|
+
TableRow
|
|
220
|
+
} from './table';
|
|
221
|
+
|
|
222
|
+
// Tabs
|
|
223
|
+
export {
|
|
224
|
+
TABS_CONTEXT, Tabs, TabsContent,
|
|
225
|
+
TabsList,
|
|
226
|
+
TabsTrigger,
|
|
227
|
+
type TabsContext
|
|
228
|
+
} from './tabs';
|
|
229
|
+
|
|
230
|
+
// Textarea
|
|
231
|
+
export { Textarea } from './textarea';
|
|
232
|
+
|
|
233
|
+
// Toggle
|
|
234
|
+
export { Toggle, toggleVariants, type ToggleVariants } from './toggle';
|
|
235
|
+
|
|
236
|
+
// ToggleGroup
|
|
237
|
+
export {
|
|
238
|
+
TOGGLE_GROUP_CONTEXT,
|
|
239
|
+
ToggleGroup,
|
|
240
|
+
ToggleGroupItem,
|
|
241
|
+
type ToggleGroupContext
|
|
242
|
+
} from './toggle-group';
|
|
243
|
+
|
|
244
|
+
// Tooltip
|
|
245
|
+
export {
|
|
246
|
+
TOOLTIP_CONTEXT, Tooltip, TooltipContent,
|
|
247
|
+
TooltipProvider,
|
|
248
|
+
TooltipTrigger,
|
|
249
|
+
type TooltipContextValue
|
|
250
|
+
} from './tooltip';
|
|
251
|
+
|
|
252
|
+
// Calendar
|
|
253
|
+
export { Calendar } from './calendar';
|
|
254
|
+
|
|
255
|
+
// Carousel
|
|
256
|
+
export {
|
|
257
|
+
CAROUSEL_CONTEXT, Carousel, CarouselContent,
|
|
258
|
+
CarouselItem,
|
|
259
|
+
CarouselNext,
|
|
260
|
+
CarouselPrevious,
|
|
261
|
+
type CarouselContextValue,
|
|
262
|
+
type CarouselOrientation
|
|
263
|
+
} from './carousel';
|
|
264
|
+
|
|
265
|
+
// Command
|
|
266
|
+
export {
|
|
267
|
+
COMMAND_CONTEXT, Command, CommandDialog,
|
|
268
|
+
CommandEmpty,
|
|
269
|
+
CommandGroup,
|
|
270
|
+
CommandInput,
|
|
271
|
+
CommandItem,
|
|
272
|
+
CommandList,
|
|
273
|
+
CommandSeparator,
|
|
274
|
+
CommandShortcut,
|
|
275
|
+
type CommandContextValue
|
|
276
|
+
} from './command';
|
|
277
|
+
|
|
278
|
+
// ContextMenu
|
|
279
|
+
export {
|
|
280
|
+
CONTEXT_MENU_CONTEXT,
|
|
281
|
+
CONTEXT_MENU_RADIO_GROUP_CONTEXT,
|
|
282
|
+
CONTEXT_MENU_SUB_CONTEXT,
|
|
283
|
+
ContextMenu,
|
|
284
|
+
ContextMenuCheckboxItem,
|
|
285
|
+
ContextMenuContent,
|
|
286
|
+
ContextMenuItem,
|
|
287
|
+
ContextMenuLabel,
|
|
288
|
+
ContextMenuRadioGroup,
|
|
289
|
+
ContextMenuRadioItem,
|
|
290
|
+
ContextMenuSeparator,
|
|
291
|
+
ContextMenuShortcut,
|
|
292
|
+
ContextMenuSub,
|
|
293
|
+
ContextMenuSubContent,
|
|
294
|
+
ContextMenuSubTrigger,
|
|
295
|
+
ContextMenuTrigger,
|
|
296
|
+
type ContextMenuContextValue,
|
|
297
|
+
type ContextMenuPosition,
|
|
298
|
+
type ContextMenuRadioGroupContext,
|
|
299
|
+
type ContextMenuSubContext
|
|
300
|
+
} from './context-menu';
|
|
301
|
+
|
|
302
|
+
// DatePicker
|
|
303
|
+
export { DatePicker } from './date-picker';
|
|
304
|
+
|
|
305
|
+
// DropdownMenu
|
|
306
|
+
export {
|
|
307
|
+
DROPDOWN_MENU_CONTEXT,
|
|
308
|
+
DROPDOWN_MENU_RADIO_GROUP_CONTEXT,
|
|
309
|
+
DROPDOWN_MENU_SUB_CONTEXT,
|
|
310
|
+
DropdownMenu,
|
|
311
|
+
DropdownMenuCheckboxItem,
|
|
312
|
+
DropdownMenuContent,
|
|
313
|
+
DropdownMenuGroup,
|
|
314
|
+
DropdownMenuItem,
|
|
315
|
+
DropdownMenuLabel,
|
|
316
|
+
DropdownMenuRadioGroup,
|
|
317
|
+
DropdownMenuRadioItem,
|
|
318
|
+
DropdownMenuSeparator,
|
|
319
|
+
DropdownMenuShortcut,
|
|
320
|
+
DropdownMenuSub,
|
|
321
|
+
DropdownMenuSubContent,
|
|
322
|
+
DropdownMenuSubTrigger,
|
|
323
|
+
DropdownMenuTrigger,
|
|
324
|
+
type DropdownMenuContextValue,
|
|
325
|
+
type DropdownMenuRadioGroupContext,
|
|
326
|
+
type DropdownMenuSubContext
|
|
327
|
+
} from './dropdown-menu';
|
|
328
|
+
|
|
329
|
+
// InputOTP
|
|
330
|
+
export {
|
|
331
|
+
INPUT_OTP_CONTEXT,
|
|
332
|
+
InputOTP,
|
|
333
|
+
InputOTPGroup,
|
|
334
|
+
InputOTPSeparator,
|
|
335
|
+
InputOTPSlot,
|
|
336
|
+
type InputOTPContextValue
|
|
337
|
+
} from './input-otp';
|
|
338
|
+
|
|
339
|
+
// Menubar
|
|
340
|
+
export {
|
|
341
|
+
MENUBAR_CONTEXT,
|
|
342
|
+
MENUBAR_MENU_CONTEXT,
|
|
343
|
+
MENUBAR_RADIO_GROUP_CONTEXT,
|
|
344
|
+
MENUBAR_SUB_CONTEXT, Menubar, MenubarCheckboxItem,
|
|
345
|
+
MenubarContent,
|
|
346
|
+
MenubarItem,
|
|
347
|
+
MenubarLabel,
|
|
348
|
+
MenubarMenu,
|
|
349
|
+
MenubarRadioGroup,
|
|
350
|
+
MenubarRadioItem,
|
|
351
|
+
MenubarSeparator,
|
|
352
|
+
MenubarShortcut,
|
|
353
|
+
MenubarSub,
|
|
354
|
+
MenubarSubContent,
|
|
355
|
+
MenubarSubTrigger,
|
|
356
|
+
MenubarTrigger,
|
|
357
|
+
type MenubarContextValue,
|
|
358
|
+
type MenubarMenuContextValue,
|
|
359
|
+
type MenubarRadioGroupContext,
|
|
360
|
+
type MenubarSubContext
|
|
361
|
+
} from './menubar';
|
|
362
|
+
|
|
363
|
+
// NavigationMenu
|
|
364
|
+
export {
|
|
365
|
+
NAVIGATION_MENU_CONTEXT,
|
|
366
|
+
NAVIGATION_MENU_ITEM_CONTEXT,
|
|
367
|
+
NavigationMenu,
|
|
368
|
+
NavigationMenuContent,
|
|
369
|
+
NavigationMenuIndicator,
|
|
370
|
+
NavigationMenuItem,
|
|
371
|
+
NavigationMenuLink,
|
|
372
|
+
NavigationMenuList,
|
|
373
|
+
NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle, type NavigationMenuContextValue,
|
|
374
|
+
type NavigationMenuItemContextValue,
|
|
375
|
+
type NavigationMenuTriggerStyleProps
|
|
376
|
+
} from './navigation-menu';
|
|
377
|
+
|
|
378
|
+
// Toast
|
|
379
|
+
export {
|
|
380
|
+
Toast,
|
|
381
|
+
ToastAction,
|
|
382
|
+
ToastDescription, ToastService,
|
|
383
|
+
ToastTitle, Toaster, toastVariants,
|
|
384
|
+
type ToastData,
|
|
385
|
+
type ToastOptions,
|
|
386
|
+
type ToastType,
|
|
387
|
+
type ToastVariants
|
|
388
|
+
} from './toast';
|
|
389
|
+
|
|
390
|
+
// ============================================
|
|
391
|
+
// Phase 7: Extended Components
|
|
392
|
+
// ============================================
|
|
393
|
+
|
|
394
|
+
// Spinner
|
|
395
|
+
export { Spinner, spinnerVariants, type SpinnerVariants } from './spinner';
|
|
396
|
+
|
|
397
|
+
// Kbd
|
|
398
|
+
export { Kbd, kbdVariants, type KbdVariants } from './kbd';
|
|
399
|
+
|
|
400
|
+
// Empty
|
|
401
|
+
export {
|
|
402
|
+
Empty,
|
|
403
|
+
EmptyAction,
|
|
404
|
+
EmptyDescription,
|
|
405
|
+
EmptyIcon,
|
|
406
|
+
EmptyTitle
|
|
407
|
+
} from './empty';
|
|
408
|
+
|
|
409
|
+
// Typography
|
|
410
|
+
export {
|
|
411
|
+
TypographyBlockquote,
|
|
412
|
+
TypographyH1,
|
|
413
|
+
TypographyH2,
|
|
414
|
+
TypographyH3,
|
|
415
|
+
TypographyH4,
|
|
416
|
+
TypographyInlineCode,
|
|
417
|
+
TypographyLarge,
|
|
418
|
+
TypographyLead,
|
|
419
|
+
TypographyList,
|
|
420
|
+
TypographyMuted,
|
|
421
|
+
TypographyP,
|
|
422
|
+
TypographySmall
|
|
423
|
+
} from './typography';
|
|
424
|
+
|
|
425
|
+
// ButtonGroup
|
|
426
|
+
export {
|
|
427
|
+
ButtonGroup,
|
|
428
|
+
buttonGroupVariants,
|
|
429
|
+
type ButtonGroupVariants
|
|
430
|
+
} from './button-group';
|
|
431
|
+
|
|
432
|
+
// InputGroup
|
|
433
|
+
export {
|
|
434
|
+
InputGroup,
|
|
435
|
+
InputGroupAddon,
|
|
436
|
+
InputGroupInput
|
|
437
|
+
} from './input-group';
|
|
438
|
+
|
|
439
|
+
// NativeSelect
|
|
440
|
+
export {
|
|
441
|
+
NativeSelect,
|
|
442
|
+
nativeSelectVariants,
|
|
443
|
+
type NativeSelectVariants
|
|
444
|
+
} from './native-select';
|
|
445
|
+
|
|
446
|
+
// Segmented
|
|
447
|
+
export {
|
|
448
|
+
SEGMENTED_CONTEXT,
|
|
449
|
+
Segmented,
|
|
450
|
+
SegmentedItem,
|
|
451
|
+
segmentedItemVariants,
|
|
452
|
+
segmentedVariants,
|
|
453
|
+
type SegmentedContext,
|
|
454
|
+
type SegmentedItemVariants,
|
|
455
|
+
type SegmentedVariants
|
|
456
|
+
} from './segmented';
|
|
457
|
+
|
|
458
|
+
// Combobox
|
|
459
|
+
export {
|
|
460
|
+
COMBOBOX_CONTEXT,
|
|
461
|
+
Combobox,
|
|
462
|
+
ComboboxContent,
|
|
463
|
+
ComboboxEmpty,
|
|
464
|
+
ComboboxGroup,
|
|
465
|
+
ComboboxInput,
|
|
466
|
+
ComboboxItem,
|
|
467
|
+
ComboboxList,
|
|
468
|
+
ComboboxTrigger,
|
|
469
|
+
ComboboxValue,
|
|
470
|
+
type ComboboxContext,
|
|
471
|
+
type ComboboxOption
|
|
472
|
+
} from './combobox';
|
|
473
|
+
|
|
474
|
+
// ============================================
|
|
475
|
+
// Phase 8: Advanced Components
|
|
476
|
+
// ============================================
|
|
477
|
+
|
|
478
|
+
// Sidebar
|
|
479
|
+
export {
|
|
480
|
+
SIDEBAR_CONTEXT,
|
|
481
|
+
SIDEBAR_COOKIE_MAX_AGE,
|
|
482
|
+
SIDEBAR_COOKIE_NAME,
|
|
483
|
+
SIDEBAR_KEYBOARD_SHORTCUT,
|
|
484
|
+
SIDEBAR_MENU_CONTEXT,
|
|
485
|
+
SIDEBAR_WIDTH,
|
|
486
|
+
SIDEBAR_WIDTH_ICON,
|
|
487
|
+
SIDEBAR_WIDTH_MOBILE,
|
|
488
|
+
Sidebar,
|
|
489
|
+
SidebarContent,
|
|
490
|
+
SidebarFooter,
|
|
491
|
+
SidebarGroup,
|
|
492
|
+
SidebarGroupAction,
|
|
493
|
+
SidebarGroupContent,
|
|
494
|
+
SidebarGroupLabel,
|
|
495
|
+
SidebarHeader,
|
|
496
|
+
SidebarInput,
|
|
497
|
+
SidebarInset,
|
|
498
|
+
SidebarMenu,
|
|
499
|
+
SidebarMenuAction,
|
|
500
|
+
SidebarMenuBadge,
|
|
501
|
+
SidebarMenuButton,
|
|
502
|
+
SidebarMenuItem,
|
|
503
|
+
SidebarMenuSkeleton,
|
|
504
|
+
SidebarMenuSub,
|
|
505
|
+
SidebarMenuSubButton,
|
|
506
|
+
SidebarMenuSubItem,
|
|
507
|
+
SidebarProvider,
|
|
508
|
+
SidebarRail,
|
|
509
|
+
SidebarSeparator,
|
|
510
|
+
SidebarTrigger,
|
|
511
|
+
type SidebarCollapsible,
|
|
512
|
+
type SidebarContext,
|
|
513
|
+
type SidebarSide,
|
|
514
|
+
type SidebarState,
|
|
515
|
+
type SidebarVariant
|
|
516
|
+
} from './sidebar';
|
|
517
|
+
|
|
518
|
+
// DataTable
|
|
519
|
+
export {
|
|
520
|
+
DATA_TABLE_CONTEXT,
|
|
521
|
+
DataTable,
|
|
522
|
+
DataTableContent,
|
|
523
|
+
DataTablePagination,
|
|
524
|
+
DataTableSearch,
|
|
525
|
+
DataTableToolbar,
|
|
526
|
+
DataTableViewOptions,
|
|
527
|
+
type ColumnDef,
|
|
528
|
+
type ColumnVisibilityState,
|
|
529
|
+
type DataTableContext,
|
|
530
|
+
type RowSelectionState,
|
|
531
|
+
type SortDirection,
|
|
532
|
+
type SortingState
|
|
533
|
+
} from './data-table';
|
|
534
|
+
|
|
535
|
+
// Chart
|
|
536
|
+
export {
|
|
537
|
+
CHART_COLORS,
|
|
538
|
+
CHART_CONTEXT,
|
|
539
|
+
Chart,
|
|
540
|
+
ChartContainer,
|
|
541
|
+
ChartLegend,
|
|
542
|
+
ChartLegendContent,
|
|
543
|
+
ChartTooltip,
|
|
544
|
+
ChartTooltipContent,
|
|
545
|
+
type ChartConfig,
|
|
546
|
+
type ChartContext,
|
|
547
|
+
type ChartDataPoint,
|
|
548
|
+
type ChartSeries,
|
|
549
|
+
type ChartType
|
|
550
|
+
} from './chart';
|
|
551
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Input } from './input.component';
|