@skunkworksai/ui-kit 0.1.18
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/AGENTS.md +250 -0
- package/README.md +429 -0
- package/dist/assets/Service-applets-apps/audience-measurement.png +0 -0
- package/dist/assets/Service-applets-apps/coatro-app.png +0 -0
- package/dist/assets/Service-applets-apps/content-effectiveness.png +0 -0
- package/dist/assets/Service-applets-apps/hop-tracking.png +0 -0
- package/dist/assets/Service-applets-apps/index.ts +13 -0
- package/dist/assets/Service-applets-apps/journeys-app.png +0 -0
- package/dist/assets/Service-applets-apps/people-counting.png +0 -0
- package/dist/assets/Service-applets-apps/petra.png +0 -0
- package/dist/assets/Service-applets-apps/sam-generic.png +0 -0
- package/dist/assets/Service-applets-apps/sami-for-environment.png +0 -0
- package/dist/assets/Service-applets-apps/shelf-engagement.png +0 -0
- package/dist/assets/Service-applets-apps/traffic-management.png +0 -0
- package/dist/assets/Service-applets-apps/viana.png +0 -0
- package/dist/assets/Service-applets-apps/zone-engagement.png +0 -0
- package/dist/assets/icons/Dashboard-active.svg +29 -0
- package/dist/assets/icons/Dashboard.svg +25 -0
- package/dist/assets/icons/DashboardActiveIcon.tsx +35 -0
- package/dist/assets/icons/DashboardIcon.tsx +31 -0
- package/dist/assets/icons/Devices-active.svg +27 -0
- package/dist/assets/icons/Devices.svg +20 -0
- package/dist/assets/icons/DevicesActiveIcon.tsx +33 -0
- package/dist/assets/icons/DevicesIcon.tsx +26 -0
- package/dist/assets/icons/Installer-active.svg +29 -0
- package/dist/assets/icons/Installer.svg +17 -0
- package/dist/assets/icons/InstallerActiveIcon.tsx +35 -0
- package/dist/assets/icons/InstallerIcon.tsx +23 -0
- package/dist/assets/icons/Manifest-active.svg +49 -0
- package/dist/assets/icons/Manifest.svg +49 -0
- package/dist/assets/icons/ManifestActiveIcon.tsx +55 -0
- package/dist/assets/icons/ManifestIcon.tsx +55 -0
- package/dist/assets/icons/Sensor-active.svg +15 -0
- package/dist/assets/icons/Sensor.svg +11 -0
- package/dist/assets/icons/SensorActiveIcon.tsx +21 -0
- package/dist/assets/icons/SensorIcon.tsx +17 -0
- package/dist/assets/icons/Site-active.svg +14 -0
- package/dist/assets/icons/Site.svg +10 -0
- package/dist/assets/icons/SiteActiveIcon.tsx +20 -0
- package/dist/assets/icons/SiteIcon.tsx +16 -0
- package/dist/assets/icons/X-ray-active.svg +199 -0
- package/dist/assets/icons/X-ray.svg +47 -0
- package/dist/assets/icons/XrayActiveIcon.tsx +205 -0
- package/dist/assets/icons/XrayIcon.tsx +53 -0
- package/dist/assets/icons/index.ts +14 -0
- package/dist/assets/logos/DarkLogo.tsx +28 -0
- package/dist/assets/logos/DarkSymbol.tsx +9 -0
- package/dist/assets/logos/PrimaryLogo.tsx +28 -0
- package/dist/assets/logos/PrimarySymbol.tsx +9 -0
- package/dist/assets/logos/WhiteLogo.tsx +28 -0
- package/dist/assets/logos/WhiteSymbol.tsx +9 -0
- package/dist/assets/logos/dark_logo.svg +22 -0
- package/dist/assets/logos/dark_symbol.svg +3 -0
- package/dist/assets/logos/index.ts +6 -0
- package/dist/assets/logos/primary-logo.svg +22 -0
- package/dist/assets/logos/primary_logo.svg +22 -0
- package/dist/assets/logos/primary_symbol.svg +3 -0
- package/dist/assets/logos/white_symbol.svg +3 -0
- package/dist/index.cjs +160 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +45276 -0
- package/dist/index.js.map +1 -0
- package/dist/tokens-source.css +121 -0
- package/dist/types/assets/Service-applets-apps/index.d.ts +13 -0
- package/dist/types/assets/icons/DashboardActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/DashboardIcon.d.ts +2 -0
- package/dist/types/assets/icons/DevicesActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/DevicesIcon.d.ts +2 -0
- package/dist/types/assets/icons/InstallerActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/InstallerIcon.d.ts +2 -0
- package/dist/types/assets/icons/ManifestActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/ManifestIcon.d.ts +2 -0
- package/dist/types/assets/icons/SensorActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/SensorIcon.d.ts +2 -0
- package/dist/types/assets/icons/SiteActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/SiteIcon.d.ts +2 -0
- package/dist/types/assets/icons/XrayActiveIcon.d.ts +2 -0
- package/dist/types/assets/icons/XrayIcon.d.ts +2 -0
- package/dist/types/assets/icons/index.d.ts +14 -0
- package/dist/types/assets/logos/DarkLogo.d.ts +2 -0
- package/dist/types/assets/logos/DarkSymbol.d.ts +2 -0
- package/dist/types/assets/logos/PrimaryLogo.d.ts +2 -0
- package/dist/types/assets/logos/PrimarySymbol.d.ts +2 -0
- package/dist/types/assets/logos/WhiteLogo.d.ts +2 -0
- package/dist/types/assets/logos/WhiteSymbol.d.ts +2 -0
- package/dist/types/assets/logos/index.d.ts +6 -0
- package/dist/types/components/blocks/AppBentoMenu.d.ts +31 -0
- package/dist/types/components/blocks/AppDashboard.d.ts +121 -0
- package/dist/types/components/blocks/AppHeader.d.ts +198 -0
- package/dist/types/components/blocks/AppLocationTreeFilter.d.ts +44 -0
- package/dist/types/components/blocks/AppNotificationsMenu.d.ts +50 -0
- package/dist/types/components/blocks/AppPageTitle.d.ts +86 -0
- package/dist/types/components/blocks/AppProfile.d.ts +53 -0
- package/dist/types/components/blocks/TableManager.d.ts +194 -0
- package/dist/types/components/blocks/backgrounds/AppDashboardBackgroundDots.d.ts +14 -0
- package/dist/types/components/blocks/backgrounds/AppDashboardBackgroundWave.d.ts +14 -0
- package/dist/types/components/blocks/backgrounds/index.d.ts +3 -0
- package/dist/types/components/blocks/backgrounds/types.d.ts +13 -0
- package/dist/types/components/blocks/index.d.ts +9 -0
- package/dist/types/components/primitives/AppAccordion.d.ts +22 -0
- package/dist/types/components/primitives/AppAlert.d.ts +33 -0
- package/dist/types/components/primitives/AppAlertDialog.d.ts +79 -0
- package/dist/types/components/primitives/AppAspectRatio.d.ts +7 -0
- package/dist/types/components/primitives/AppAvatar.d.ts +17 -0
- package/dist/types/components/primitives/AppBadge.d.ts +9 -0
- package/dist/types/components/primitives/AppBreadcrumb.d.ts +45 -0
- package/dist/types/components/primitives/AppButton.d.ts +24 -0
- package/dist/types/components/primitives/AppButtonGroup.d.ts +10 -0
- package/dist/types/components/primitives/AppCalendar.d.ts +51 -0
- package/dist/types/components/primitives/AppCard.d.ts +41 -0
- package/dist/types/components/primitives/AppCarousel.d.ts +26 -0
- package/dist/types/components/primitives/AppChart.d.ts +27 -0
- package/dist/types/components/primitives/AppCheckbox.d.ts +9 -0
- package/dist/types/components/primitives/AppCollapsible.d.ts +20 -0
- package/dist/types/components/primitives/AppCombobox.d.ts +37 -0
- package/dist/types/components/primitives/AppCommand.d.ts +47 -0
- package/dist/types/components/primitives/AppContextMenu.d.ts +82 -0
- package/dist/types/components/primitives/AppDataTable.d.ts +23 -0
- package/dist/types/components/primitives/AppDatePicker.d.ts +26 -0
- package/dist/types/components/primitives/AppDialog.d.ts +40 -0
- package/dist/types/components/primitives/AppDrawer.d.ts +58 -0
- package/dist/types/components/primitives/AppDropdownMenu.d.ts +85 -0
- package/dist/types/components/primitives/AppEmpty.d.ts +35 -0
- package/dist/types/components/primitives/AppField.d.ts +65 -0
- package/dist/types/components/primitives/AppForm.d.ts +58 -0
- package/dist/types/components/primitives/AppHoverCard.d.ts +19 -0
- package/dist/types/components/primitives/AppInput.d.ts +21 -0
- package/dist/types/components/primitives/AppKbd.d.ts +18 -0
- package/dist/types/components/primitives/AppLabel.d.ts +8 -0
- package/dist/types/components/primitives/AppMenubar.d.ts +83 -0
- package/dist/types/components/primitives/AppNavigationMenu.d.ts +51 -0
- package/dist/types/components/primitives/AppPagination.d.ts +46 -0
- package/dist/types/components/primitives/AppPopover.d.ts +20 -0
- package/dist/types/components/primitives/AppProgress.d.ts +9 -0
- package/dist/types/components/primitives/AppRadioGroup.d.ts +15 -0
- package/dist/types/components/primitives/AppScrollArea.d.ts +12 -0
- package/dist/types/components/primitives/AppScrollText.d.ts +7 -0
- package/dist/types/components/primitives/AppSelect.d.ts +46 -0
- package/dist/types/components/primitives/AppSeparator.d.ts +8 -0
- package/dist/types/components/primitives/AppSheet.d.ts +32 -0
- package/dist/types/components/primitives/AppSidebar.d.ts +59 -0
- package/dist/types/components/primitives/AppSkeleton.d.ts +6 -0
- package/dist/types/components/primitives/AppSpinner.d.ts +13 -0
- package/dist/types/components/primitives/AppSwitch.d.ts +8 -0
- package/dist/types/components/primitives/AppTable.d.ts +53 -0
- package/dist/types/components/primitives/AppTabs.d.ts +10 -0
- package/dist/types/components/primitives/AppTextarea.d.ts +9 -0
- package/dist/types/components/primitives/AppThemeProvider.d.ts +46 -0
- package/dist/types/components/primitives/AppToaster.d.ts +7 -0
- package/dist/types/components/primitives/AppToggle.d.ts +9 -0
- package/dist/types/components/primitives/AppToggleGroup.d.ts +18 -0
- package/dist/types/components/primitives/AppTooltip.d.ts +26 -0
- package/dist/types/components/primitives/AppTypography.d.ts +80 -0
- package/dist/types/components/primitives/index.d.ts +57 -0
- package/dist/types/components/ui/accordion.d.ts +7 -0
- package/dist/types/components/ui/alert-dialog.d.ts +20 -0
- package/dist/types/components/ui/alert.d.ts +8 -0
- package/dist/types/components/ui/aspect-ratio.d.ts +4 -0
- package/dist/types/components/ui/avatar.d.ts +6 -0
- package/dist/types/components/ui/badge.d.ts +9 -0
- package/dist/types/components/ui/breadcrumb.d.ts +19 -0
- package/dist/types/components/ui/button.d.ts +13 -0
- package/dist/types/components/ui/calendar.d.ts +8 -0
- package/dist/types/components/ui/card.d.ts +11 -0
- package/dist/types/components/ui/carousel.d.ts +28 -0
- package/dist/types/components/ui/chart.d.ts +48 -0
- package/dist/types/components/ui/checkbox.d.ts +4 -0
- package/dist/types/components/ui/collapsible.d.ts +6 -0
- package/dist/types/components/ui/combobox.d.ts +83 -0
- package/dist/types/components/ui/command.d.ts +82 -0
- package/dist/types/components/ui/context-menu.d.ts +27 -0
- package/dist/types/components/ui/dialog.d.ts +19 -0
- package/dist/types/components/ui/drawer.d.ts +23 -0
- package/dist/types/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/types/components/ui/empty.d.ts +14 -0
- package/dist/types/components/ui/field.d.ts +40 -0
- package/dist/types/components/ui/form.d.ts +22 -0
- package/dist/types/components/ui/hover-card.d.ts +6 -0
- package/dist/types/components/ui/input.d.ts +3 -0
- package/dist/types/components/ui/kbd.d.ts +4 -0
- package/dist/types/components/ui/label.d.ts +4 -0
- package/dist/types/components/ui/menubar.d.ts +30 -0
- package/dist/types/components/ui/navigation-menu.d.ts +12 -0
- package/dist/types/components/ui/pagination.d.ts +28 -0
- package/dist/types/components/ui/popover.d.ts +6 -0
- package/dist/types/components/ui/progress.d.ts +4 -0
- package/dist/types/components/ui/radio-group.d.ts +5 -0
- package/dist/types/components/ui/scroll-area.d.ts +5 -0
- package/dist/types/components/ui/scroll-text.d.ts +6 -0
- package/dist/types/components/ui/select.d.ts +13 -0
- package/dist/types/components/ui/separator.d.ts +4 -0
- package/dist/types/components/ui/sheet.d.ts +25 -0
- package/dist/types/components/ui/sidebar.d.ts +69 -0
- package/dist/types/components/ui/skeleton.d.ts +2 -0
- package/dist/types/components/ui/sonner.d.ts +2 -0
- package/dist/types/components/ui/switch.d.ts +4 -0
- package/dist/types/components/ui/table.d.ts +10 -0
- package/dist/types/components/ui/tabs.d.ts +19 -0
- package/dist/types/components/ui/textarea.d.ts +5 -0
- package/dist/types/components/ui/toggle-group.d.ts +15 -0
- package/dist/types/components/ui/toggle.d.ts +12 -0
- package/dist/types/components/ui/tooltip.d.ts +7 -0
- package/dist/types/hooks/use-mobile.d.ts +13 -0
- package/dist/types/hooks/use-page-title.d.ts +23 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/utils.d.ts +2 -0
- package/dist/ui-kit.css +1 -0
- package/package.json +117 -0
- package/rules/accordion.md +60 -0
- package/rules/alert-dialog.md +62 -0
- package/rules/alert.md +61 -0
- package/rules/aspect-ratio.md +47 -0
- package/rules/avatar.md +52 -0
- package/rules/badge.md +55 -0
- package/rules/bento-menu.md +86 -0
- package/rules/breadcrumb.md +80 -0
- package/rules/button-group.md +58 -0
- package/rules/button.md +66 -0
- package/rules/calendar.md +97 -0
- package/rules/card.md +84 -0
- package/rules/carousel.md +113 -0
- package/rules/chart.md +125 -0
- package/rules/checkbox.md +49 -0
- package/rules/collapsible.md +57 -0
- package/rules/combobox.md +133 -0
- package/rules/command.md +73 -0
- package/rules/context-menu.md +65 -0
- package/rules/dashboard.md +368 -0
- package/rules/data-table.md +91 -0
- package/rules/date-picker.md +65 -0
- package/rules/dialog.md +60 -0
- package/rules/drawer.md +65 -0
- package/rules/dropdown-menu.md +72 -0
- package/rules/empty.md +110 -0
- package/rules/field.md +149 -0
- package/rules/form.md +60 -0
- package/rules/header.md +245 -0
- package/rules/hover-card.md +53 -0
- package/rules/icons.md +141 -0
- package/rules/input.md +66 -0
- package/rules/kbd.md +58 -0
- package/rules/label.md +30 -0
- package/rules/location-tree-filter.md +165 -0
- package/rules/logo.md +58 -0
- package/rules/menubar.md +75 -0
- package/rules/navigation-menu.md +68 -0
- package/rules/notifications-menu.md +137 -0
- package/rules/pagetitle.md +160 -0
- package/rules/pagination.md +71 -0
- package/rules/popover.md +48 -0
- package/rules/profile.md +125 -0
- package/rules/progress.md +41 -0
- package/rules/radio-group.md +44 -0
- package/rules/scroll-area.md +32 -0
- package/rules/scroll-text.md +40 -0
- package/rules/select.md +86 -0
- package/rules/separator.md +43 -0
- package/rules/sheet.md +76 -0
- package/rules/sidebar.md +442 -0
- package/rules/skeleton.md +46 -0
- package/rules/spinner.md +43 -0
- package/rules/switch.md +46 -0
- package/rules/table-manager.md +306 -0
- package/rules/table.md +177 -0
- package/rules/tabs.md +82 -0
- package/rules/text.md +3 -0
- package/rules/textarea.md +38 -0
- package/rules/toaster.md +58 -0
- package/rules/toggle-group.md +50 -0
- package/rules/toggle.md +40 -0
- package/rules/tokens.md +88 -0
- package/rules/tooltip.md +78 -0
- package/rules/typography.md +81 -0
- package/scripts/scaffold.mjs +28 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Sheet, SheetContent, SheetDescription, SheetTitle, SheetTrigger } from "../ui/sheet";
|
|
2
|
+
/**
|
|
3
|
+
* AppSheet — Extends the Dialog component to display content that complements the main screen content.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare function AppSheet(props: React.ComponentProps<typeof Sheet>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* AppSheetTrigger — The trigger component for AppSheet.
|
|
9
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
10
|
+
*/
|
|
11
|
+
declare function AppSheetTrigger(props: React.ComponentProps<typeof SheetTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
/**
|
|
13
|
+
* AppSheetContent — The content component for AppSheet.
|
|
14
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
15
|
+
*/
|
|
16
|
+
declare function AppSheetContent({ className, ...props }: React.ComponentPropsWithoutRef<typeof SheetContent>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* AppSheetHeader — The header section of an AppSheet.
|
|
19
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
20
|
+
*/
|
|
21
|
+
declare function AppSheetHeader(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* AppSheetTitle — The title component for AppSheet.
|
|
24
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
25
|
+
*/
|
|
26
|
+
declare function AppSheetTitle(props: React.ComponentPropsWithoutRef<typeof SheetTitle>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* AppSheetDescription — The description component for AppSheet.
|
|
29
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
30
|
+
*/
|
|
31
|
+
declare function AppSheetDescription(props: React.ComponentPropsWithoutRef<typeof SheetDescription>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export { AppSheet, AppSheetTrigger, AppSheetContent, AppSheetHeader, AppSheetTitle, AppSheetDescription };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar } from "../ui/sidebar";
|
|
3
|
+
export type AppSidebarBrandDropdownItem = {
|
|
4
|
+
separator: true;
|
|
5
|
+
} | {
|
|
6
|
+
separator?: false;
|
|
7
|
+
label: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
icon?: React.ReactNode;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type AppSidebarBrandProps = {
|
|
13
|
+
logo?: string | {
|
|
14
|
+
src: string;
|
|
15
|
+
} | React.ReactNode;
|
|
16
|
+
collapsedLogo?: string | {
|
|
17
|
+
src: string;
|
|
18
|
+
} | React.ReactNode;
|
|
19
|
+
logoAlt?: string;
|
|
20
|
+
dropdown?: AppSidebarBrandDropdownItem[];
|
|
21
|
+
showChevron?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
declare function AppSidebarBrand({ logo, collapsedLogo, logoAlt, dropdown, showChevron, className, }: AppSidebarBrandProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export type AppSidebarDefaultNavItem = {
|
|
26
|
+
title: string;
|
|
27
|
+
icon: React.ElementType;
|
|
28
|
+
isActive?: boolean;
|
|
29
|
+
href?: string;
|
|
30
|
+
};
|
|
31
|
+
export type AppSidebarDefaultNavSection = {
|
|
32
|
+
label?: string;
|
|
33
|
+
items: AppSidebarDefaultNavItem[];
|
|
34
|
+
};
|
|
35
|
+
export declare const DEFAULT_NAV: AppSidebarDefaultNavSection[];
|
|
36
|
+
declare function AppSidebarProvider(props: React.ComponentProps<typeof SidebarProvider>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
declare function AppSidebar({ className, ...props }: React.ComponentProps<typeof Sidebar>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
declare function AppSidebarTrigger(props: React.ComponentProps<typeof SidebarTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function AppSidebarRail(props: React.ComponentProps<typeof SidebarRail>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function AppSidebarInset(props: React.ComponentProps<typeof SidebarInset>): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare function AppSidebarInput(props: React.ComponentProps<typeof SidebarInput>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
declare function AppSidebarHeader(props: React.ComponentProps<typeof SidebarHeader>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
declare function AppSidebarFooter(props: React.ComponentProps<typeof SidebarFooter>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
declare function AppSidebarSeparator(props: React.ComponentProps<typeof SidebarSeparator>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
declare function AppSidebarContent(props: React.ComponentProps<typeof SidebarContent>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
declare function AppSidebarGroup(props: React.ComponentProps<typeof SidebarGroup>): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
declare function AppSidebarGroupLabel(props: React.ComponentProps<typeof SidebarGroupLabel>): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
declare function AppSidebarGroupAction(props: React.ComponentProps<typeof SidebarGroupAction>): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
declare function AppSidebarGroupContent(props: React.ComponentProps<typeof SidebarGroupContent>): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
declare function AppSidebarMenu({ className, ...props }: React.ComponentProps<typeof SidebarMenu>): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
declare function AppSidebarMenuItem(props: React.ComponentProps<typeof SidebarMenuItem>): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
declare function AppSidebarMenuButton({ className, ...props }: React.ComponentProps<typeof SidebarMenuButton>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
declare function AppSidebarMenuAction(props: React.ComponentProps<typeof SidebarMenuAction>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
declare function AppSidebarMenuBadge(props: React.ComponentProps<typeof SidebarMenuBadge>): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
declare function AppSidebarMenuSkeleton(props: React.ComponentProps<typeof SidebarMenuSkeleton>): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
declare function AppSidebarMenuSub(props: React.ComponentProps<typeof SidebarMenuSub>): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
declare function AppSidebarMenuSubItem(props: React.ComponentProps<typeof SidebarMenuSubItem>): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
declare function AppSidebarMenuSubButton(props: React.ComponentProps<typeof SidebarMenuSubButton>): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export { AppSidebar, AppSidebarBrand, AppSidebarContent, AppSidebarFooter, AppSidebarGroup, AppSidebarGroupAction, AppSidebarGroupContent, AppSidebarGroupLabel, AppSidebarHeader, AppSidebarInput, AppSidebarInset, AppSidebarMenu, AppSidebarMenuAction, AppSidebarMenuBadge, AppSidebarMenuButton, AppSidebarMenuItem, AppSidebarMenuSkeleton, AppSidebarMenuSub, AppSidebarMenuSubButton, AppSidebarMenuSubItem, AppSidebarProvider, AppSidebarRail, AppSidebarSeparator, AppSidebarTrigger, useSidebar, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppSkeleton — Used to show a placeholder while content is loading.
|
|
3
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
4
|
+
*/
|
|
5
|
+
declare function AppSkeleton(props: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export { AppSkeleton };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
type AppSpinnerProps = React.SVGAttributes<SVGSVGElement> & {
|
|
3
|
+
label?: string;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* AppSpinner — A loading indicator component.
|
|
7
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
8
|
+
*/
|
|
9
|
+
declare const AppSpinner: React.ForwardRefExoticComponent<React.SVGAttributes<SVGSVGElement> & {
|
|
10
|
+
label?: string;
|
|
11
|
+
} & React.RefAttributes<SVGSVGElement>>;
|
|
12
|
+
export { AppSpinner };
|
|
13
|
+
export type { AppSpinnerProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Switch } from "../ui/switch";
|
|
2
|
+
type AppSwitchProps = React.ComponentPropsWithoutRef<typeof Switch>;
|
|
3
|
+
/**
|
|
4
|
+
* AppSwitch — A control that allows the user to toggle between checked and unchecked states.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppSwitch(props: AppSwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { AppSwitch };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "../ui/table";
|
|
3
|
+
/**
|
|
4
|
+
* AppTable — A responsive table component for displaying data in rows and columns.
|
|
5
|
+
* @note Never use the raw HTML equivalent. Use AppTable.
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
type AppTableProps = React.ComponentProps<typeof Table>;
|
|
9
|
+
declare function AppTable(props: AppTableProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* AppTableHeader — The header section of an AppTable.
|
|
12
|
+
* @note Never use the raw HTML equivalent. Use AppTableHeader.
|
|
13
|
+
*/
|
|
14
|
+
type AppTableHeaderProps = React.ComponentProps<typeof TableHeader>;
|
|
15
|
+
declare function AppTableHeader(props: AppTableHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* AppTableBody — The body section of an AppTable.
|
|
18
|
+
* @note Never use the raw HTML equivalent. Use AppTableBody.
|
|
19
|
+
*/
|
|
20
|
+
type AppTableBodyProps = React.ComponentProps<typeof TableBody>;
|
|
21
|
+
declare function AppTableBody(props: AppTableBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* AppTableFooter — The footer section of an AppTable.
|
|
24
|
+
* @note Never use the raw HTML equivalent. Use AppTableFooter.
|
|
25
|
+
*/
|
|
26
|
+
type AppTableFooterProps = React.ComponentProps<typeof TableFooter>;
|
|
27
|
+
declare function AppTableFooter(props: AppTableFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* AppTableHead — A header cell within an AppTable.
|
|
30
|
+
* @note Never use the raw HTML equivalent. Use AppTableHead.
|
|
31
|
+
*/
|
|
32
|
+
type AppTableHeadProps = React.ComponentProps<typeof TableHead>;
|
|
33
|
+
declare function AppTableHead(props: AppTableHeadProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* AppTableRow — A row within an AppTable.
|
|
36
|
+
* @note Never use the raw HTML equivalent. Use AppTableRow.
|
|
37
|
+
* @note Set data-state="selected" to apply the selection highlight.
|
|
38
|
+
*/
|
|
39
|
+
type AppTableRowProps = React.ComponentProps<typeof TableRow>;
|
|
40
|
+
declare function AppTableRow(props: AppTableRowProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* AppTableCell — A cell within an AppTable.
|
|
43
|
+
* @note Never use the raw HTML equivalent. Use AppTableCell.
|
|
44
|
+
*/
|
|
45
|
+
type AppTableCellProps = React.ComponentProps<typeof TableCell>;
|
|
46
|
+
declare function AppTableCell(props: AppTableCellProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* AppTableCaption — A caption for an AppTable. Place as the first child of AppTable.
|
|
49
|
+
* @note Never use the raw HTML equivalent. Use AppTableCaption.
|
|
50
|
+
*/
|
|
51
|
+
type AppTableCaptionProps = React.ComponentProps<typeof TableCaption>;
|
|
52
|
+
declare function AppTableCaption(props: AppTableCaptionProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export { AppTable, type AppTableProps, AppTableHeader, type AppTableHeaderProps, AppTableBody, type AppTableBodyProps, AppTableFooter, type AppTableFooterProps, AppTableHead, type AppTableHeadProps, AppTableRow, type AppTableRowProps, AppTableCell, type AppTableCellProps, AppTableCaption, type AppTableCaptionProps, };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant } from "../ui/tabs";
|
|
3
|
+
type AppTabsProps = React.ComponentProps<typeof Tabs> & {
|
|
4
|
+
variant?: TabsVariant;
|
|
5
|
+
};
|
|
6
|
+
declare function AppTabs({ variant, className, ...props }: AppTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AppTabsList({ className, ...props }: Omit<React.ComponentProps<typeof TabsList>, "variant">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AppTabsTrigger(props: Omit<React.ComponentProps<typeof TabsTrigger>, "variant">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AppTabsContent(props: React.ComponentProps<typeof TabsContent>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { AppTabs, AppTabsList, AppTabsTrigger, AppTabsContent, type AppTabsProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Textarea } from "../ui/textarea";
|
|
2
|
+
type AppTextareaProps = React.ComponentPropsWithoutRef<typeof Textarea>;
|
|
3
|
+
/**
|
|
4
|
+
* AppTextarea — A multi-line text input component.
|
|
5
|
+
* @note Never use the raw HTML equivalent. Use AppTextarea.
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
declare function AppTextarea(props: AppTextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { AppTextarea };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { AppButton } from "./AppButton";
|
|
3
|
+
export type AppTheme = "light" | "dark";
|
|
4
|
+
export type AppThemeContextValue = {
|
|
5
|
+
theme: AppTheme;
|
|
6
|
+
toggle: () => void;
|
|
7
|
+
};
|
|
8
|
+
export type AppThemeProviderProps = {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
/** localStorage key used to persist the theme preference. Default: "ui-kit-theme" */
|
|
11
|
+
storageKey?: string;
|
|
12
|
+
/** Theme to use when no stored preference exists. Default: "light" */
|
|
13
|
+
defaultTheme?: AppTheme;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* AppThemeProvider — Provides theme context and persists the user's light/dark
|
|
17
|
+
* preference to localStorage. Toggles the `dark` class on `<html>`.
|
|
18
|
+
*
|
|
19
|
+
* Place this near the root of your app (e.g. in layout.tsx):
|
|
20
|
+
* ```tsx
|
|
21
|
+
* <AppThemeProvider>
|
|
22
|
+
* {children}
|
|
23
|
+
* </AppThemeProvider>
|
|
24
|
+
* ```
|
|
25
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
26
|
+
*/
|
|
27
|
+
declare function AppThemeProvider({ children, storageKey, defaultTheme, }: AppThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare namespace AppThemeProvider {
|
|
29
|
+
var displayName: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* useAppTheme — Returns the current theme and a toggle function.
|
|
33
|
+
* Requires AppThemeProvider to be present in the tree.
|
|
34
|
+
* Falls back to `{ theme: "light", toggle: () => {} }` if no provider is found.
|
|
35
|
+
*/
|
|
36
|
+
declare function useAppTheme(): AppThemeContextValue;
|
|
37
|
+
/**
|
|
38
|
+
* AppThemeToggle — Ghost icon button that switches between Sun (light) and Moon (dark).
|
|
39
|
+
* Requires AppThemeProvider to be present in the tree.
|
|
40
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
41
|
+
*/
|
|
42
|
+
declare function AppThemeToggle({ ...props }: React.ComponentProps<typeof AppButton>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
declare namespace AppThemeToggle {
|
|
44
|
+
var displayName: string;
|
|
45
|
+
}
|
|
46
|
+
export { AppThemeProvider, useAppTheme, AppThemeToggle };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { toast as appToast } from "sonner";
|
|
2
|
+
/**
|
|
3
|
+
* AppToaster — A component that displays toast notifications.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare const AppToaster: () => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { AppToaster, appToast as toast };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Toggle, toggleVariants } from "../ui/toggle";
|
|
2
|
+
import type { VariantProps } from "class-variance-authority";
|
|
3
|
+
type AppToggleProps = React.ComponentProps<typeof Toggle> & VariantProps<typeof toggleVariants>;
|
|
4
|
+
/**
|
|
5
|
+
* AppToggle — A two-state button that can be either on or off.
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
declare function AppToggle(props: AppToggleProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { AppToggle };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppToggleGroup — A set of two-state buttons that can be toggled on or off.
|
|
3
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
4
|
+
*/
|
|
5
|
+
declare const AppToggleGroup: import("react").ForwardRefExoticComponent<((Omit<import("@radix-ui/react-toggle-group").ToggleGroupSingleProps & import("react").RefAttributes<HTMLDivElement>, "ref"> | Omit<import("@radix-ui/react-toggle-group").ToggleGroupMultipleProps & import("react").RefAttributes<HTMLDivElement>, "ref">) & import("class-variance-authority").VariantProps<(props?: ({
|
|
6
|
+
variant?: "default" | "outline" | null | undefined;
|
|
7
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
|
|
8
|
+
size?: "default" | "sm" | "lg";
|
|
9
|
+
}) & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
/**
|
|
11
|
+
* AppToggleGroupItem — An individual toggle button within AppToggleGroup.
|
|
12
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
13
|
+
*/
|
|
14
|
+
declare const AppToggleGroupItem: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-toggle-group").ToggleGroupItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("class-variance-authority").VariantProps<(props?: ({
|
|
15
|
+
variant?: "default" | "outline" | null | undefined;
|
|
16
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
17
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
18
|
+
export { AppToggleGroup, AppToggleGroupItem };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
|
|
2
|
+
/**
|
|
3
|
+
* AppTooltipProvider — Wraps components to provide tooltip context. Place at app root or layout level.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare function AppTooltipProvider({ children }: {
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* AppTooltip — A popup that displays information related to an element on hover or focus.
|
|
11
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
12
|
+
*/
|
|
13
|
+
declare function AppTooltip(props: React.ComponentProps<typeof Tooltip>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* AppTooltipTrigger — The element that triggers the tooltip.
|
|
16
|
+
* @note Use `asChild` when wrapping an existing interactive element (button, link).
|
|
17
|
+
* @note Wrap disabled buttons in a <span> so pointer events reach the trigger.
|
|
18
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
19
|
+
*/
|
|
20
|
+
declare function AppTooltipTrigger(props: React.ComponentProps<typeof TooltipTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* AppTooltipContent — The tooltip popup. Suppressed on mobile (no hover on touch).
|
|
23
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
24
|
+
*/
|
|
25
|
+
declare function AppTooltipContent(props: React.ComponentProps<typeof TooltipContent>): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
export { AppTooltip, AppTooltipProvider, AppTooltipTrigger, AppTooltipContent };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* AppTypography — the typography primitive for UI Kit.
|
|
4
|
+
*
|
|
5
|
+
* @prop variant - Controls the visual style and default HTML tag. Required.
|
|
6
|
+
* @prop as - Overrides the rendered HTML tag while keeping the variant's styles.
|
|
7
|
+
* Use when semantic HTML requires a different tag than the visual style.
|
|
8
|
+
*
|
|
9
|
+
* @note Never use raw heading or paragraph elements for styled text — use AppTypography.
|
|
10
|
+
* @note Never set font-size, font-weight, or color directly — use the variant prop.
|
|
11
|
+
* @note If a variant you need is missing, stop and inform the design team.
|
|
12
|
+
*/
|
|
13
|
+
declare const variantConfig: {
|
|
14
|
+
readonly display: {
|
|
15
|
+
readonly tag: "h1";
|
|
16
|
+
readonly classes: "scroll-m-20 text-4xl font-extrabold tracking-tight text-balance text-foreground";
|
|
17
|
+
};
|
|
18
|
+
readonly h1: {
|
|
19
|
+
readonly tag: "h1";
|
|
20
|
+
readonly classes: "scroll-m-20 text-4xl font-extrabold tracking-tight text-balance text-foreground";
|
|
21
|
+
};
|
|
22
|
+
readonly h2: {
|
|
23
|
+
readonly tag: "h2";
|
|
24
|
+
readonly classes: "scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0 text-foreground";
|
|
25
|
+
};
|
|
26
|
+
readonly h3: {
|
|
27
|
+
readonly tag: "h3";
|
|
28
|
+
readonly classes: "scroll-m-20 text-2xl font-semibold tracking-tight text-foreground";
|
|
29
|
+
};
|
|
30
|
+
readonly h4: {
|
|
31
|
+
readonly tag: "h4";
|
|
32
|
+
readonly classes: "scroll-m-20 text-xl font-semibold tracking-tight text-foreground";
|
|
33
|
+
};
|
|
34
|
+
readonly p: {
|
|
35
|
+
readonly tag: "p";
|
|
36
|
+
readonly classes: "leading-7 [&:not(:first-child)]:mt-6 text-foreground";
|
|
37
|
+
};
|
|
38
|
+
readonly lead: {
|
|
39
|
+
readonly tag: "p";
|
|
40
|
+
readonly classes: "text-xl text-muted-foreground";
|
|
41
|
+
};
|
|
42
|
+
readonly large: {
|
|
43
|
+
readonly tag: "div";
|
|
44
|
+
readonly classes: "text-lg font-semibold text-foreground";
|
|
45
|
+
};
|
|
46
|
+
readonly small: {
|
|
47
|
+
readonly tag: "small";
|
|
48
|
+
readonly classes: "text-sm font-medium leading-none";
|
|
49
|
+
};
|
|
50
|
+
readonly muted: {
|
|
51
|
+
readonly tag: "p";
|
|
52
|
+
readonly classes: "text-sm text-muted-foreground";
|
|
53
|
+
};
|
|
54
|
+
readonly mono: {
|
|
55
|
+
readonly tag: "p";
|
|
56
|
+
readonly classes: "text-sm font-mono text-foreground";
|
|
57
|
+
};
|
|
58
|
+
readonly blockquote: {
|
|
59
|
+
readonly tag: "blockquote";
|
|
60
|
+
readonly classes: "mt-6 border-l-2 pl-6 italic text-foreground";
|
|
61
|
+
};
|
|
62
|
+
readonly code: {
|
|
63
|
+
readonly tag: "code";
|
|
64
|
+
readonly classes: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold text-foreground";
|
|
65
|
+
};
|
|
66
|
+
readonly list: {
|
|
67
|
+
readonly tag: "ul";
|
|
68
|
+
readonly classes: "my-6 ml-6 list-disc [&>li]:mt-2 text-foreground";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
type AppTypographyVariant = keyof typeof variantConfig;
|
|
72
|
+
type AppTypographyProps = {
|
|
73
|
+
variant: AppTypographyVariant;
|
|
74
|
+
as?: React.ElementType;
|
|
75
|
+
className?: string;
|
|
76
|
+
children?: React.ReactNode;
|
|
77
|
+
} & Omit<React.HTMLAttributes<HTMLElement>, "className" | "children">;
|
|
78
|
+
declare function AppTypography({ variant, as, className, children, ...props }: AppTypographyProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
+
export { AppTypography };
|
|
80
|
+
export type { AppTypographyProps, AppTypographyVariant };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export * from "./AppAccordion";
|
|
2
|
+
export * from "./AppAlert";
|
|
3
|
+
export * from "./AppAlertDialog";
|
|
4
|
+
export * from "./AppAspectRatio";
|
|
5
|
+
export * from "./AppAvatar";
|
|
6
|
+
export * from "./AppBadge";
|
|
7
|
+
export * from "./AppBreadcrumb";
|
|
8
|
+
export * from "./AppButton";
|
|
9
|
+
export * from "./AppButtonGroup";
|
|
10
|
+
export * from "./AppCalendar";
|
|
11
|
+
export * from "./AppCard";
|
|
12
|
+
export * from "./AppCheckbox";
|
|
13
|
+
export * from "./AppCollapsible";
|
|
14
|
+
export * from "./AppCommand";
|
|
15
|
+
export * from "./AppContextMenu";
|
|
16
|
+
export * from "./AppDialog";
|
|
17
|
+
export * from "./AppDrawer";
|
|
18
|
+
export * from "./AppDropdownMenu";
|
|
19
|
+
export * from "./AppField";
|
|
20
|
+
export * from "./AppForm";
|
|
21
|
+
export * from "./AppHoverCard";
|
|
22
|
+
export * from "./AppInput";
|
|
23
|
+
export * from "./AppLabel";
|
|
24
|
+
export * from "./AppMenubar";
|
|
25
|
+
export * from "./AppNavigationMenu";
|
|
26
|
+
export * from "./AppPagination";
|
|
27
|
+
export * from "./AppPopover";
|
|
28
|
+
export * from "./AppProgress";
|
|
29
|
+
export * from "./AppRadioGroup";
|
|
30
|
+
export * from "./AppScrollArea";
|
|
31
|
+
export * from "./AppScrollText";
|
|
32
|
+
export * from "./AppSelect";
|
|
33
|
+
export * from "./AppSeparator";
|
|
34
|
+
export * from "./AppSheet";
|
|
35
|
+
export * from "./AppSidebar";
|
|
36
|
+
export * from "./AppSpinner";
|
|
37
|
+
export * from "./AppSkeleton";
|
|
38
|
+
export * from "./AppSwitch";
|
|
39
|
+
export * from "./AppTable";
|
|
40
|
+
export * from "./AppTabs";
|
|
41
|
+
export * from "./AppTypography";
|
|
42
|
+
export * from "./AppTextarea";
|
|
43
|
+
export * from "./AppToggle";
|
|
44
|
+
export * from "./AppToggleGroup";
|
|
45
|
+
export * from "./AppTooltip";
|
|
46
|
+
export * from "./AppCarousel";
|
|
47
|
+
export * from "./AppDatePicker";
|
|
48
|
+
export * from "./AppChart";
|
|
49
|
+
export * from "./AppDataTable";
|
|
50
|
+
export * from "./AppCombobox";
|
|
51
|
+
export * from "./AppEmpty";
|
|
52
|
+
export * from "./AppKbd";
|
|
53
|
+
export { AppToaster, toast as sonnerToast } from "./AppToaster";
|
|
54
|
+
export { AppThemeProvider, useAppTheme, AppThemeToggle, type AppTheme, type AppThemeProviderProps, type AppThemeContextValue } from "./AppThemeProvider";
|
|
55
|
+
export * from "../blocks";
|
|
56
|
+
export { usePageTitle } from "../../hooks/use-page-title";
|
|
57
|
+
export type { AppPageTitleProps } from "../blocks/AppPageTitle";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
3
|
+
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
3
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
4
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
4
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
8
|
+
export { Alert, AlertTitle, AlertDescription };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
|
|
3
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<Omit<AspectRatioPrimitive.AspectRatioProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
5
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
export { Avatar, AvatarImage, AvatarFallback };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const badgeVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | "warning" | null | undefined;
|
|
5
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
+
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: React.ReactNode;
|
|
4
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
|
|
5
|
+
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { Button, buttonVariants };
|
|
11
|
+
export type ButtonProps = React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
12
|
+
asChild?: boolean;
|
|
13
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DayPicker } from "react-day-picker";
|
|
3
|
+
export type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
4
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare namespace Calendar {
|
|
6
|
+
var displayName: string;
|
|
7
|
+
}
|
|
8
|
+
export { Calendar };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
|
|
3
|
+
size?: "default" | "sm";
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import useEmblaCarousel, { type UseEmblaCarouselType } from "embla-carousel-react";
|
|
3
|
+
import { Button } from "./button";
|
|
4
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
5
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
6
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
7
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
8
|
+
type CarouselProps = {
|
|
9
|
+
opts?: CarouselOptions;
|
|
10
|
+
plugins?: CarouselPlugin;
|
|
11
|
+
orientation?: "horizontal" | "vertical";
|
|
12
|
+
setApi?: (api: CarouselApi) => void;
|
|
13
|
+
};
|
|
14
|
+
type CarouselContextProps = {
|
|
15
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
16
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
17
|
+
scrollPrev: () => void;
|
|
18
|
+
scrollNext: () => void;
|
|
19
|
+
canScrollPrev: boolean;
|
|
20
|
+
canScrollNext: boolean;
|
|
21
|
+
} & CarouselProps;
|
|
22
|
+
declare function useCarousel(): CarouselContextProps;
|
|
23
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, useCarousel, };
|