@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,85 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSubTrigger } from "../ui/dropdown-menu";
|
|
3
|
+
type AppDropdownMenuProps = React.ComponentProps<typeof DropdownMenu> & {
|
|
4
|
+
/** Force floating dropdown on mobile instead of the default drawer. */
|
|
5
|
+
forceDropdown?: boolean;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* AppDropdownMenu — Floating menu on desktop, bottom drawer on mobile (<768px).
|
|
9
|
+
* Pass `forceDropdown` to always render as a floating dropdown (e.g. when already inside a drawer).
|
|
10
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
11
|
+
*/
|
|
12
|
+
declare function AppDropdownMenu({ open, onOpenChange, children, forceDropdown, ...props }: AppDropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
/**
|
|
14
|
+
* AppDropdownMenuTrigger — The trigger component for AppDropdownMenu.
|
|
15
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
16
|
+
*/
|
|
17
|
+
declare function AppDropdownMenuTrigger(props: React.ComponentProps<typeof DropdownMenuTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* AppDropdownMenuContent — The content component for AppDropdownMenu.
|
|
20
|
+
* Renders as DropdownMenuContent on desktop, DrawerContent on mobile.
|
|
21
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
22
|
+
*/
|
|
23
|
+
declare function AppDropdownMenuContent({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuContent>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* AppDropdownMenuItem — An individual item within AppDropdownMenu.
|
|
26
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
27
|
+
*/
|
|
28
|
+
declare function AppDropdownMenuItem({ className, ...props }: React.ComponentProps<typeof DropdownMenuItem>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
/**
|
|
30
|
+
* AppDropdownMenuCheckboxItem — A checkbox item within AppDropdownMenu.
|
|
31
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
32
|
+
*/
|
|
33
|
+
declare function AppDropdownMenuCheckboxItem({ className, ...props }: React.ComponentProps<typeof DropdownMenuCheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* AppDropdownMenuRadioItem — A radio item within AppDropdownMenu.
|
|
36
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
37
|
+
*/
|
|
38
|
+
declare function AppDropdownMenuRadioItem({ className, ...props }: React.ComponentProps<typeof DropdownMenuRadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* AppDropdownMenuLabel — A label component for AppDropdownMenu sections.
|
|
41
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
42
|
+
*/
|
|
43
|
+
declare function AppDropdownMenuLabel({ className, ...props }: React.ComponentProps<typeof DropdownMenuLabel>): import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
/**
|
|
45
|
+
* AppDropdownMenuSeparator — A separator component for AppDropdownMenu items.
|
|
46
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
47
|
+
*/
|
|
48
|
+
declare function AppDropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuSeparator>): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
/**
|
|
50
|
+
* AppDropdownMenuShortcut — A keyboard shortcut indicator for AppDropdownMenu items.
|
|
51
|
+
* Hidden on mobile (no keyboard shortcuts on touch).
|
|
52
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
53
|
+
*/
|
|
54
|
+
declare function AppDropdownMenuShortcut({ className, ...props }: React.ComponentProps<typeof DropdownMenuShortcut>): import("react/jsx-runtime").JSX.Element | null;
|
|
55
|
+
/**
|
|
56
|
+
* AppDropdownMenuGroup — A grouping component for AppDropdownMenu items.
|
|
57
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
58
|
+
*/
|
|
59
|
+
declare const AppDropdownMenuGroup: React.ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
/**
|
|
61
|
+
* AppDropdownMenuPortal — The portal component for AppDropdownMenu.
|
|
62
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
63
|
+
*/
|
|
64
|
+
declare const AppDropdownMenuPortal: React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuPortalProps>;
|
|
65
|
+
/**
|
|
66
|
+
* AppDropdownMenuSub — A sub-menu within AppDropdownMenu.
|
|
67
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
68
|
+
*/
|
|
69
|
+
declare const AppDropdownMenuSub: React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuSubProps>;
|
|
70
|
+
/**
|
|
71
|
+
* AppDropdownMenuSubContent — The content component for an AppDropdownMenu sub-menu.
|
|
72
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
73
|
+
*/
|
|
74
|
+
declare const AppDropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-dropdown-menu").DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
75
|
+
/**
|
|
76
|
+
* AppDropdownMenuSubTrigger — The trigger component for an AppDropdownMenu sub-menu.
|
|
77
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
78
|
+
*/
|
|
79
|
+
declare function AppDropdownMenuSubTrigger({ className, ...props }: React.ComponentProps<typeof DropdownMenuSubTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
/**
|
|
81
|
+
* AppDropdownMenuRadioGroup — A radio group within AppDropdownMenu.
|
|
82
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
83
|
+
*/
|
|
84
|
+
declare const AppDropdownMenuRadioGroup: React.ForwardRefExoticComponent<import("@radix-ui/react-dropdown-menu").DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
85
|
+
export { AppDropdownMenu, AppDropdownMenuTrigger, AppDropdownMenuContent, AppDropdownMenuItem, AppDropdownMenuCheckboxItem, AppDropdownMenuRadioItem, AppDropdownMenuLabel, AppDropdownMenuSeparator, AppDropdownMenuShortcut, AppDropdownMenuGroup, AppDropdownMenuPortal, AppDropdownMenuSub, AppDropdownMenuSubContent, AppDropdownMenuSubTrigger, AppDropdownMenuRadioGroup, };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, type EmptyMediaProps } from "../ui/empty";
|
|
3
|
+
/**
|
|
4
|
+
* AppEmpty — root of the empty-state primitive. Composes with AppEmptyHeader,
|
|
5
|
+
* AppEmptyMedia, AppEmptyTitle, AppEmptyDescription, and AppEmptyContent.
|
|
6
|
+
*
|
|
7
|
+
* @note Use for zero-data states (no results, no items, first-time views).
|
|
8
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
9
|
+
*/
|
|
10
|
+
declare function AppEmpty(props: React.ComponentProps<typeof Empty>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* AppEmptyHeader — groups AppEmptyMedia and AppEmptyTitle/AppEmptyDescription
|
|
13
|
+
* into a centered column.
|
|
14
|
+
*/
|
|
15
|
+
declare function AppEmptyHeader(props: React.ComponentProps<typeof EmptyHeader>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* AppEmptyMedia — container for an illustration, icon, or image.
|
|
18
|
+
*
|
|
19
|
+
* @prop variant - "default" (bare container) | "icon" (rounded muted circle).
|
|
20
|
+
*/
|
|
21
|
+
declare function AppEmptyMedia(props: EmptyMediaProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* AppEmptyTitle — primary heading of the empty state.
|
|
24
|
+
*/
|
|
25
|
+
declare function AppEmptyTitle(props: React.ComponentProps<typeof EmptyTitle>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* AppEmptyDescription — supporting text below AppEmptyTitle.
|
|
28
|
+
*/
|
|
29
|
+
declare function AppEmptyDescription(props: React.ComponentProps<typeof EmptyDescription>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* AppEmptyContent — action area below the header (buttons, links).
|
|
32
|
+
*/
|
|
33
|
+
declare function AppEmptyContent(props: React.ComponentProps<typeof EmptyContent>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export { AppEmpty, AppEmptyHeader, AppEmptyMedia, AppEmptyTitle, AppEmptyDescription, AppEmptyContent, };
|
|
35
|
+
export type { EmptyMediaProps as AppEmptyMediaProps, };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { useField, FieldControl, FieldDescription, FieldError, FieldContent, FieldTitle, FieldGroup, type FieldOrientation, type FieldProps, type FieldLabelProps, type FieldSetProps, type FieldLegendProps } from "../ui/field";
|
|
3
|
+
/**
|
|
4
|
+
* AppField — root of the field primitive. Provides id + invalid context to
|
|
5
|
+
* all child field components. Composes with AppFieldLabel, AppFieldControl,
|
|
6
|
+
* AppFieldDescription, AppFieldError, AppFieldContent, AppFieldTitle,
|
|
7
|
+
* AppFieldGroup, AppFieldSet, and AppFieldLegend.
|
|
8
|
+
*
|
|
9
|
+
* @prop orientation - "vertical" (default) | "horizontal" | "responsive".
|
|
10
|
+
* @prop invalid - Marks field invalid; propagates to label and control.
|
|
11
|
+
*
|
|
12
|
+
* @note Never wire form state manually. Use AppFieldControl to bind the input.
|
|
13
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
14
|
+
*/
|
|
15
|
+
declare function AppField({ className, ...props }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
/**
|
|
17
|
+
* AppFieldLabel — label bound to AppFieldControl via FieldContext id.
|
|
18
|
+
*
|
|
19
|
+
* @prop required - Appends a red asterisk after the label text.
|
|
20
|
+
*/
|
|
21
|
+
declare function AppFieldLabel(props: FieldLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* AppFieldControl — Slot wrapper that injects id, aria-describedby, and
|
|
24
|
+
* aria-invalid onto the wrapped input.
|
|
25
|
+
*/
|
|
26
|
+
declare function AppFieldControl(props: React.ComponentProps<typeof FieldControl>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* AppFieldDescription — helper text below the input. Always rendered;
|
|
29
|
+
* referenced by aria-describedby on the control.
|
|
30
|
+
*/
|
|
31
|
+
declare function AppFieldDescription(props: React.ComponentProps<typeof FieldDescription>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* AppFieldError — validation error text. Renders nothing when children is
|
|
34
|
+
* empty. Referenced by aria-describedby when field is invalid.
|
|
35
|
+
*/
|
|
36
|
+
declare function AppFieldError(props: React.ComponentProps<typeof FieldError>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
/**
|
|
38
|
+
* AppFieldContent — vertical stack wrapper for AppFieldDescription and
|
|
39
|
+
* AppFieldError.
|
|
40
|
+
*/
|
|
41
|
+
declare function AppFieldContent(props: React.ComponentProps<typeof FieldContent>): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
/**
|
|
43
|
+
* AppFieldTitle — small semibold label above a group of fields (not bound
|
|
44
|
+
* to a control — use AppFieldLabel for that).
|
|
45
|
+
*/
|
|
46
|
+
declare function AppFieldTitle(props: React.ComponentProps<typeof FieldTitle>): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* AppFieldGroup — vertical stack of multiple AppField rows with consistent
|
|
49
|
+
* gap.
|
|
50
|
+
*/
|
|
51
|
+
declare function AppFieldGroup(props: React.ComponentProps<typeof FieldGroup>): import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
/**
|
|
53
|
+
* AppFieldSet — semantic <fieldset> wrapper with browser default styles
|
|
54
|
+
* stripped.
|
|
55
|
+
*/
|
|
56
|
+
declare function AppFieldSet(props: FieldSetProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
/**
|
|
58
|
+
* AppFieldLegend — legend for AppFieldSet.
|
|
59
|
+
*
|
|
60
|
+
* @prop variant - "legend" (visually hidden, sr-only) | "label" (visible,
|
|
61
|
+
* styled like AppFieldLabel).
|
|
62
|
+
*/
|
|
63
|
+
declare function AppFieldLegend(props: FieldLegendProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export { useField as useAppField, AppField, AppFieldLabel, AppFieldControl, AppFieldDescription, AppFieldError, AppFieldContent, AppFieldTitle, AppFieldGroup, AppFieldSet, AppFieldLegend, };
|
|
65
|
+
export type { FieldOrientation as AppFieldOrientation, FieldProps as AppFieldProps, FieldLabelProps as AppFieldLabelProps, FieldSetProps as AppFieldSetProps, FieldLegendProps as AppFieldLegendProps, };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AppForm — A component for building forms with validation.
|
|
3
|
+
* @note Never use the raw HTML equivalent. Use AppForm.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare const AppForm: <TFieldValues extends import("react-hook-form").FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: import("react-hook-form").FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* AppFormItem — A wrapper for form elements within AppForm.
|
|
9
|
+
* @note Never use the raw HTML equivalent. Use AppFormItem.
|
|
10
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
11
|
+
*/
|
|
12
|
+
declare const AppFormItem: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
13
|
+
/**
|
|
14
|
+
* AppFormLabel — The label component for AppForm items.
|
|
15
|
+
* @note Never use the raw HTML equivalent. Use AppFormLabel.
|
|
16
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
17
|
+
*/
|
|
18
|
+
declare const AppFormLabel: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-label").LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
|
|
19
|
+
/**
|
|
20
|
+
* AppFormControl — The control wrapper for AppForm items.
|
|
21
|
+
* @note Never use the raw HTML equivalent. Use AppFormControl.
|
|
22
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
23
|
+
*/
|
|
24
|
+
declare const AppFormControl: import("react").ForwardRefExoticComponent<Omit<import("@radix-ui/react-slot").SlotProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
25
|
+
/**
|
|
26
|
+
* AppFormDescription — The description component for AppForm items.
|
|
27
|
+
* @note Never use the raw HTML equivalent. Use AppFormDescription.
|
|
28
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
29
|
+
*/
|
|
30
|
+
declare const AppFormDescription: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
31
|
+
/**
|
|
32
|
+
* AppFormMessage — The validation message component for AppForm items.
|
|
33
|
+
* @note Never use the raw HTML equivalent. Use AppFormMessage.
|
|
34
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
35
|
+
*/
|
|
36
|
+
declare const AppFormMessage: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
37
|
+
/**
|
|
38
|
+
* AppFormField — A field component within AppForm.
|
|
39
|
+
* @note Never use the raw HTML equivalent. Use AppFormField.
|
|
40
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
41
|
+
*/
|
|
42
|
+
declare const AppFormField: <TFieldValues extends import("react-hook-form").FieldValues = import("react-hook-form").FieldValues, TName extends import("react-hook-form").FieldPath<TFieldValues> = import("react-hook-form").FieldPath<TFieldValues>>({ ...props }: import("react-hook-form").ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
/**
|
|
44
|
+
* useAppFormField — A hook for accessing form field state.
|
|
45
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
46
|
+
*/
|
|
47
|
+
declare const useAppFormField: () => {
|
|
48
|
+
invalid: boolean;
|
|
49
|
+
isDirty: boolean;
|
|
50
|
+
isTouched: any;
|
|
51
|
+
error: import("react-hook-form").FieldError | import("react-hook-form").Merge<import("react-hook-form").FieldError, import("react-hook-form").FieldErrorsImpl<any>> | undefined;
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
formItemId: string;
|
|
55
|
+
formDescriptionId: string;
|
|
56
|
+
formMessageId: string;
|
|
57
|
+
};
|
|
58
|
+
export { AppForm, AppFormItem, AppFormLabel, AppFormControl, AppFormDescription, AppFormMessage, AppFormField, useAppFormField, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HoverCard, HoverCardContent } from "../ui/hover-card";
|
|
2
|
+
/**
|
|
3
|
+
* AppHoverCard — For sighted users to preview content available behind a link.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare function AppHoverCard(props: React.ComponentProps<typeof HoverCard>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* AppHoverCardTrigger — The trigger component for AppHoverCard.
|
|
9
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
10
|
+
*/
|
|
11
|
+
declare function AppHoverCardTrigger({ children }: {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* AppHoverCardContent — The content component for AppHoverCard. Suppressed on mobile (no hover on touch).
|
|
16
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
17
|
+
*/
|
|
18
|
+
declare function AppHoverCardContent({ className, ...props }: React.ComponentPropsWithoutRef<typeof HoverCardContent>): import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
export { AppHoverCard, AppHoverCardTrigger, AppHoverCardContent };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Input } from "../ui/input";
|
|
3
|
+
/**
|
|
4
|
+
* AppInput — the primary text input primitive for UI Kit.
|
|
5
|
+
*
|
|
6
|
+
* @prop leftAdornment - Renders an icon or element inside the left edge of the input.
|
|
7
|
+
* Padding is adjusted automatically. Do not add padding or position it manually.
|
|
8
|
+
* @prop rightAdornment - Renders an icon or element inside the right edge of the input.
|
|
9
|
+
* Padding is adjusted automatically. Do not add padding or position it manually.
|
|
10
|
+
*
|
|
11
|
+
* @note Never use a raw <input> element. Use AppInput.
|
|
12
|
+
* @note Do not wrap AppInput in a relative div to position adornments — use these props instead.
|
|
13
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
14
|
+
*/
|
|
15
|
+
type AppInputProps = React.ComponentProps<typeof Input> & {
|
|
16
|
+
leftAdornment?: React.ReactNode;
|
|
17
|
+
rightAdornment?: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
declare function AppInput({ leftAdornment, rightAdornment, className, ...props }: AppInputProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { AppInput };
|
|
21
|
+
export type { AppInputProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Kbd, KbdGroup } from "../ui/kbd";
|
|
3
|
+
/**
|
|
4
|
+
* AppKbd — keyboard key badge. Renders a single key (e.g. ⌘, K, Shift).
|
|
5
|
+
*
|
|
6
|
+
* @note Wrap multiple keys in AppKbdGroup to render them inline with correct
|
|
7
|
+
* gap.
|
|
8
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
9
|
+
*/
|
|
10
|
+
declare function AppKbd(props: React.ComponentProps<typeof Kbd>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* AppKbdGroup — inline row of AppKbd keys with consistent gap.
|
|
13
|
+
*/
|
|
14
|
+
declare function AppKbdGroup(props: React.ComponentProps<typeof KbdGroup>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
type AppKbdProps = React.ComponentProps<typeof Kbd>;
|
|
16
|
+
type AppKbdGroupProps = React.ComponentProps<typeof KbdGroup>;
|
|
17
|
+
export { AppKbd, AppKbdGroup };
|
|
18
|
+
export type { AppKbdProps, AppKbdGroupProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Label } from "../ui/label";
|
|
2
|
+
/**
|
|
3
|
+
* AppLabel — Renders an accessible label associated with a form control.
|
|
4
|
+
* @note Never use the raw HTML equivalent. Use AppLabel.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppLabel(props: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { AppLabel };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarGroup, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarShortcut } from "../ui/menubar";
|
|
2
|
+
/**
|
|
3
|
+
* AppMenubar — A visually persistent menu common in desktop applications.
|
|
4
|
+
* Scrolls horizontally on mobile when items overflow.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppMenubar({ className, ...props }: React.ComponentProps<typeof Menubar>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* AppMenubarMenu — An individual menu within AppMenubar.
|
|
10
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
11
|
+
*/
|
|
12
|
+
declare const AppMenubarMenu: typeof MenubarMenu;
|
|
13
|
+
/**
|
|
14
|
+
* AppMenubarTrigger — The trigger component for an AppMenubar menu.
|
|
15
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
16
|
+
*/
|
|
17
|
+
declare function AppMenubarTrigger({ className, ...props }: React.ComponentProps<typeof MenubarTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* AppMenubarContent — The content component for an AppMenubar menu.
|
|
20
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
21
|
+
*/
|
|
22
|
+
declare const AppMenubarContent: typeof MenubarContent;
|
|
23
|
+
/**
|
|
24
|
+
* AppMenubarItem — An individual item within an AppMenubar menu.
|
|
25
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
26
|
+
*/
|
|
27
|
+
declare function AppMenubarItem({ className, ...props }: React.ComponentProps<typeof MenubarItem>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* AppMenubarSeparator — A separator component for AppMenubar menu items.
|
|
30
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
31
|
+
*/
|
|
32
|
+
declare const AppMenubarSeparator: typeof MenubarSeparator;
|
|
33
|
+
/**
|
|
34
|
+
* AppMenubarLabel — A label component for AppMenubar menu sections.
|
|
35
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
36
|
+
*/
|
|
37
|
+
declare const AppMenubarLabel: typeof MenubarLabel;
|
|
38
|
+
/**
|
|
39
|
+
* AppMenubarCheckboxItem — A checkbox item within an AppMenubar menu.
|
|
40
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
41
|
+
*/
|
|
42
|
+
declare function AppMenubarCheckboxItem({ className, ...props }: React.ComponentProps<typeof MenubarCheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
/**
|
|
44
|
+
* AppMenubarRadioGroup — A radio group within an AppMenubar menu.
|
|
45
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
46
|
+
*/
|
|
47
|
+
declare const AppMenubarRadioGroup: typeof MenubarRadioGroup;
|
|
48
|
+
/**
|
|
49
|
+
* AppMenubarRadioItem — A radio item within an AppMenubar menu.
|
|
50
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
51
|
+
*/
|
|
52
|
+
declare function AppMenubarRadioItem({ className, ...props }: React.ComponentProps<typeof MenubarRadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
/**
|
|
54
|
+
* AppMenubarPortal — The portal component for AppMenubar menu content.
|
|
55
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
56
|
+
*/
|
|
57
|
+
declare const AppMenubarPortal: typeof MenubarPortal;
|
|
58
|
+
/**
|
|
59
|
+
* AppMenubarGroup — A grouping component for AppMenubar menu items.
|
|
60
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
61
|
+
*/
|
|
62
|
+
declare const AppMenubarGroup: typeof MenubarGroup;
|
|
63
|
+
/**
|
|
64
|
+
* AppMenubarSub — A sub-menu within an AppMenubar menu.
|
|
65
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
66
|
+
*/
|
|
67
|
+
declare const AppMenubarSub: typeof MenubarSub;
|
|
68
|
+
/**
|
|
69
|
+
* AppMenubarSubContent — The content component for an AppMenubar sub-menu.
|
|
70
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
71
|
+
*/
|
|
72
|
+
declare const AppMenubarSubContent: typeof MenubarSubContent;
|
|
73
|
+
/**
|
|
74
|
+
* AppMenubarSubTrigger — The trigger component for an AppMenubar sub-menu.
|
|
75
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
76
|
+
*/
|
|
77
|
+
declare function AppMenubarSubTrigger({ className, ...props }: React.ComponentProps<typeof MenubarSubTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
/**
|
|
79
|
+
* AppMenubarShortcut — A keyboard shortcut indicator for AppMenubar menu items.
|
|
80
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
81
|
+
*/
|
|
82
|
+
declare const AppMenubarShortcut: typeof MenubarShortcut;
|
|
83
|
+
export { AppMenubar, AppMenubarMenu, AppMenubarTrigger, AppMenubarContent, AppMenubarItem, AppMenubarSeparator, AppMenubarLabel, AppMenubarCheckboxItem, AppMenubarRadioGroup, AppMenubarRadioItem, AppMenubarPortal, AppMenubarGroup, AppMenubarSub, AppMenubarSubContent, AppMenubarSubTrigger, AppMenubarShortcut, };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, navigationMenuTriggerStyle } from "../ui/navigation-menu";
|
|
2
|
+
/**
|
|
3
|
+
* AppNavigationMenu — A collection of links for navigating websites.
|
|
4
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenu.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppNavigationMenu(props: React.ComponentProps<typeof NavigationMenu>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* AppNavigationMenuList — The list container for AppNavigationMenu items.
|
|
10
|
+
* Scrolls horizontally on mobile when items overflow.
|
|
11
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuList.
|
|
12
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
13
|
+
*/
|
|
14
|
+
declare function AppNavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuList>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* AppNavigationMenuItem — An individual item within AppNavigationMenu.
|
|
17
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuItem.
|
|
18
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
19
|
+
*/
|
|
20
|
+
declare function AppNavigationMenuItem(props: React.ComponentProps<typeof NavigationMenuItem>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* AppNavigationMenuTrigger — The trigger component for AppNavigationMenu items with sub-content.
|
|
23
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuTrigger.
|
|
24
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
25
|
+
*/
|
|
26
|
+
declare function AppNavigationMenuTrigger({ className, ...props }: React.ComponentProps<typeof NavigationMenuTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* AppNavigationMenuContent — The sub-content component for AppNavigationMenu items.
|
|
29
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuContent.
|
|
30
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
31
|
+
*/
|
|
32
|
+
declare function AppNavigationMenuContent(props: React.ComponentProps<typeof NavigationMenuContent>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* AppNavigationMenuLink — A link component within AppNavigationMenu.
|
|
35
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuLink.
|
|
36
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
37
|
+
*/
|
|
38
|
+
declare function AppNavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuLink>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* AppNavigationMenuIndicator — An indicator for the active AppNavigationMenu item.
|
|
41
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuIndicator.
|
|
42
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
43
|
+
*/
|
|
44
|
+
declare function AppNavigationMenuIndicator(props: React.ComponentProps<typeof NavigationMenuIndicator>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
/**
|
|
46
|
+
* AppNavigationMenuViewport — The viewport component where sub-content is rendered in AppNavigationMenu.
|
|
47
|
+
* @note Never use the raw HTML equivalent. Use AppNavigationMenuViewport.
|
|
48
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
49
|
+
*/
|
|
50
|
+
declare function AppNavigationMenuViewport(props: React.ComponentProps<typeof NavigationMenuViewport>): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export { AppNavigationMenu, AppNavigationMenuList, AppNavigationMenuItem, AppNavigationMenuTrigger, AppNavigationMenuContent, AppNavigationMenuLink, AppNavigationMenuIndicator, AppNavigationMenuViewport, navigationMenuTriggerStyle, };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "../ui/pagination";
|
|
2
|
+
/**
|
|
3
|
+
* AppPagination — Displays pagination for navigating through multiple pages.
|
|
4
|
+
* @note Never use the raw HTML equivalent. Use AppPagination.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppPagination(props: React.ComponentProps<typeof Pagination>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* AppPaginationContent — The list container for AppPagination items.
|
|
10
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationContent.
|
|
11
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
12
|
+
*/
|
|
13
|
+
declare function AppPaginationContent(props: React.ComponentProps<typeof PaginationContent>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* AppPaginationItem — An individual item within AppPagination.
|
|
16
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationItem.
|
|
17
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
18
|
+
*/
|
|
19
|
+
declare function AppPaginationItem(props: React.ComponentProps<typeof PaginationItem>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* AppPaginationLink — A link component within AppPagination. Hidden on mobile (<640px) — prev/next always visible.
|
|
22
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationLink.
|
|
23
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
24
|
+
*/
|
|
25
|
+
declare function AppPaginationLink({ className, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
26
|
+
isActive?: boolean;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* AppPaginationPrevious — A button for navigating to the previous page in AppPagination.
|
|
30
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationPrevious.
|
|
31
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
32
|
+
*/
|
|
33
|
+
declare function AppPaginationPrevious(props: React.ComponentProps<typeof PaginationPrevious>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* AppPaginationNext — A button for navigating to the next page in AppPagination.
|
|
36
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationNext.
|
|
37
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
38
|
+
*/
|
|
39
|
+
declare function AppPaginationNext(props: React.ComponentProps<typeof PaginationNext>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
/**
|
|
41
|
+
* AppPaginationEllipsis — An ellipsis indicator for collapsed AppPagination items. Hidden on mobile (<640px).
|
|
42
|
+
* @note Never use the raw HTML equivalent. Use AppPaginationEllipsis.
|
|
43
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
44
|
+
*/
|
|
45
|
+
declare function AppPaginationEllipsis({ className, ...props }: React.ComponentProps<typeof PaginationEllipsis>): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export { AppPagination, AppPaginationContent, AppPaginationItem, AppPaginationLink, AppPaginationPrevious, AppPaginationNext, AppPaginationEllipsis, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
|
|
3
|
+
type AppPopoverProps = React.ComponentProps<typeof Popover>;
|
|
4
|
+
/**
|
|
5
|
+
* AppPopover — Floating popover on desktop, bottom drawer on mobile (<768px).
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
declare function AppPopover({ children, ...props }: AppPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* AppPopoverTrigger — The trigger component for AppPopover.
|
|
11
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
12
|
+
*/
|
|
13
|
+
declare function AppPopoverTrigger(props: React.ComponentProps<typeof PopoverTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* AppPopoverContent — The content component for AppPopover.
|
|
16
|
+
* Renders as PopoverContent on desktop, DrawerContent on mobile.
|
|
17
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
18
|
+
*/
|
|
19
|
+
declare function AppPopoverContent({ className, children, ...props }: React.ComponentPropsWithoutRef<typeof PopoverContent>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { AppPopover, AppPopoverTrigger, AppPopoverContent };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Progress } from "../ui/progress";
|
|
2
|
+
type AppProgressProps = React.ComponentPropsWithoutRef<typeof Progress>;
|
|
3
|
+
/**
|
|
4
|
+
* AppProgress — Displays an indicator showing the completion progress of a task.
|
|
5
|
+
* @note Never use the raw HTML equivalent. Use AppProgress.
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
declare function AppProgress({ className, ...props }: AppProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { AppProgress };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RadioGroup, RadioGroupItem } from "../ui/radio-group";
|
|
2
|
+
type AppRadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroup>;
|
|
3
|
+
/**
|
|
4
|
+
* AppRadioGroup — A set of checkable buttons—known as radio buttons—where no more than one button can be checked at a time.
|
|
5
|
+
* @note Never use the raw HTML equivalent. Use AppRadioGroup.
|
|
6
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
7
|
+
*/
|
|
8
|
+
declare function AppRadioGroup(props: AppRadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* AppRadioGroupItem — An individual radio button within AppRadioGroup.
|
|
11
|
+
* @note Never use the raw HTML equivalent. Use AppRadioGroupItem.
|
|
12
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
13
|
+
*/
|
|
14
|
+
declare function AppRadioGroupItem(props: React.ComponentPropsWithoutRef<typeof RadioGroupItem>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { AppRadioGroup, AppRadioGroupItem };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ScrollArea, ScrollBar } from "../ui/scroll-area";
|
|
2
|
+
/**
|
|
3
|
+
* AppScrollArea — Augments native scroll functionality for custom, cross-browser styling.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare function AppScrollArea({ className, ...props }: React.ComponentProps<typeof ScrollArea>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* AppScrollBar — The scrollbar component for AppScrollArea.
|
|
9
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
10
|
+
*/
|
|
11
|
+
declare function AppScrollBar(props: React.ComponentProps<typeof ScrollBar>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { AppScrollArea, AppScrollBar };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ScrollText } from "../ui/scroll-text";
|
|
2
|
+
/**
|
|
3
|
+
* AppScrollText — A component for rendering scrollable text content.
|
|
4
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
5
|
+
*/
|
|
6
|
+
declare const AppScrollText: typeof ScrollText;
|
|
7
|
+
export { AppScrollText };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue } from "../ui/select";
|
|
3
|
+
/**
|
|
4
|
+
* AppSelect — the root of the select primitive. Composes with AppSelectTrigger,
|
|
5
|
+
* AppSelectValue, AppSelectContent, AppSelectGroup, AppSelectLabel, and AppSelectItem.
|
|
6
|
+
*
|
|
7
|
+
* @note Never use a raw <select> element. Use AppSelect.
|
|
8
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
9
|
+
*/
|
|
10
|
+
declare function AppSelect(props: React.ComponentProps<typeof Select>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* AppSelectTrigger — the visible button that opens the select dropdown.
|
|
13
|
+
*
|
|
14
|
+
* @prop loading - Shows a spinner and disables the trigger while data is loading.
|
|
15
|
+
* Do not render an AppSpinner manually inside the trigger — use this prop instead.
|
|
16
|
+
*
|
|
17
|
+
* @note Gap and icon alignment are handled internally — do not add wrappers inside the trigger.
|
|
18
|
+
*/
|
|
19
|
+
type AppSelectTriggerProps = React.ComponentPropsWithoutRef<typeof SelectTrigger> & {
|
|
20
|
+
loading?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare function AppSelectTrigger({ className, loading, disabled, children, ...props }: AppSelectTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
/**
|
|
24
|
+
* AppSelectValue — displays the current selected value inside AppSelectTrigger.
|
|
25
|
+
*/
|
|
26
|
+
declare function AppSelectValue(props: React.ComponentPropsWithoutRef<typeof SelectValue>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* AppSelectContent — the dropdown panel containing AppSelectItem entries.
|
|
29
|
+
*/
|
|
30
|
+
declare function AppSelectContent(props: React.ComponentPropsWithoutRef<typeof SelectContent>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* AppSelectGroup — groups related AppSelectItems together. Required when using AppSelectLabel.
|
|
33
|
+
* @note Always wrap AppSelectLabel + its items inside AppSelectGroup.
|
|
34
|
+
*/
|
|
35
|
+
declare function AppSelectGroup(props: React.ComponentPropsWithoutRef<typeof SelectGroup>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
/**
|
|
37
|
+
* AppSelectItem — a single option inside AppSelectContent.
|
|
38
|
+
*/
|
|
39
|
+
declare function AppSelectItem(props: React.ComponentPropsWithoutRef<typeof SelectItem>): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
/**
|
|
41
|
+
* AppSelectLabel — a non-interactive label for grouping items inside AppSelectContent.
|
|
42
|
+
* @note Must be used inside AppSelectGroup.
|
|
43
|
+
*/
|
|
44
|
+
declare function AppSelectLabel(props: React.ComponentPropsWithoutRef<typeof SelectLabel>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export { AppSelect, AppSelectTrigger, AppSelectValue, AppSelectContent, AppSelectGroup, AppSelectItem, AppSelectLabel, };
|
|
46
|
+
export type { AppSelectTriggerProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Separator } from "../ui/separator";
|
|
2
|
+
/**
|
|
3
|
+
* AppSeparator — Visually or semantically separates content.
|
|
4
|
+
* @note Never use the raw HTML equivalent. Use AppSeparator.
|
|
5
|
+
* @note If a prop you need is missing, stop and inform the design team.
|
|
6
|
+
*/
|
|
7
|
+
declare function AppSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { AppSeparator };
|