@askrjs/themes 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/THEMING.md +9 -0
- package/dist/components/_internal/block-layout.d.ts +1 -2
- package/dist/components/_internal/block-layout.js +0 -2
- package/dist/components/_internal/classes.js +0 -2
- package/dist/components/_internal/jsx.js +0 -2
- package/dist/components/_internal/merge-props.js +0 -2
- package/dist/components/_internal/pathname.js +0 -2
- package/dist/components/_internal/style.js +0 -2
- package/dist/components/alert/alert.d.ts +1 -2
- package/dist/components/alert/alert.js +0 -2
- package/dist/components/alert/alert.types.d.ts +1 -2
- package/dist/components/aside/aside.d.ts +1 -2
- package/dist/components/aside/aside.js +0 -2
- package/dist/components/aside/aside.types.d.ts +1 -2
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +1 -2
- package/dist/components/aspect-ratio/aspect-ratio.js +0 -2
- package/dist/components/aspect-ratio/aspect-ratio.types.d.ts +1 -2
- package/dist/components/badge/badge.d.ts +1 -2
- package/dist/components/badge/badge.js +0 -2
- package/dist/components/badge/badge.types.d.ts +1 -2
- package/dist/components/block/block.d.ts +1 -2
- package/dist/components/block/block.js +0 -2
- package/dist/components/block/block.types.d.ts +1 -2
- package/dist/components/brand/brand.d.ts +1 -2
- package/dist/components/brand/brand.js +0 -2
- package/dist/components/brand/brand.types.d.ts +1 -2
- package/dist/components/button-group/button-group.d.ts +1 -2
- package/dist/components/button-group/button-group.js +0 -2
- package/dist/components/button-group/button-group.types.d.ts +1 -2
- package/dist/components/card/card.d.ts +1 -2
- package/dist/components/card/card.js +2 -4
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/card/card.types.d.ts +4 -2
- package/dist/components/card/index.d.ts +2 -2
- package/dist/components/catalog.d.ts +1 -2
- package/dist/components/catalog.js +0 -2
- package/dist/components/close/close.d.ts +1 -2
- package/dist/components/close/close.js +0 -2
- package/dist/components/close/close.types.d.ts +1 -2
- package/dist/components/container/container.d.ts +1 -2
- package/dist/components/container/container.js +0 -2
- package/dist/components/container/container.types.d.ts +1 -2
- package/dist/components/empty-state/empty-state.d.ts +1 -2
- package/dist/components/empty-state/empty-state.js +0 -2
- package/dist/components/empty-state/empty-state.types.d.ts +1 -2
- package/dist/components/field/field.d.ts +1 -2
- package/dist/components/field/field.js +0 -2
- package/dist/components/field/field.types.d.ts +1 -2
- package/dist/components/footer/footer.d.ts +1 -2
- package/dist/components/footer/footer.js +0 -2
- package/dist/components/footer/footer.types.d.ts +1 -2
- package/dist/components/grid/grid.d.ts +1 -2
- package/dist/components/grid/grid.js +0 -2
- package/dist/components/grid/grid.types.d.ts +1 -2
- package/dist/components/header/header.d.ts +1 -2
- package/dist/components/header/header.js +0 -2
- package/dist/components/header/header.types.d.ts +1 -2
- package/dist/components/input-group/input-group.d.ts +1 -2
- package/dist/components/input-group/input-group.js +0 -2
- package/dist/components/input-group/input-group.types.d.ts +1 -2
- package/dist/components/main/main.d.ts +1 -2
- package/dist/components/main/main.js +0 -2
- package/dist/components/main/main.types.d.ts +1 -2
- package/dist/components/nav/nav.d.ts +1 -2
- package/dist/components/nav/nav.js +0 -2
- package/dist/components/nav/nav.types.d.ts +1 -2
- package/dist/components/navbar/navbar.d.ts +1 -2
- package/dist/components/navbar/navbar.js +0 -2
- package/dist/components/navbar/navbar.types.d.ts +1 -2
- package/dist/components/overlays/dropdown-content.d.ts +1 -2
- package/dist/components/overlays/dropdown-content.js +0 -2
- package/dist/components/page/page.d.ts +1 -2
- package/dist/components/page/page.js +0 -2
- package/dist/components/page/page.types.d.ts +1 -2
- package/dist/components/page-header/page-header.d.ts +1 -2
- package/dist/components/page-header/page-header.js +0 -2
- package/dist/components/page-header/page-header.types.d.ts +1 -2
- package/dist/components/section/section.d.ts +1 -2
- package/dist/components/section/section.js +0 -2
- package/dist/components/section/section.types.d.ts +1 -2
- package/dist/components/separator/separator.d.ts +1 -2
- package/dist/components/separator/separator.js +0 -2
- package/dist/components/separator/separator.types.d.ts +1 -2
- package/dist/components/sidebar/sidebar.d.ts +1 -2
- package/dist/components/sidebar/sidebar.js +0 -2
- package/dist/components/sidebar/sidebar.types.d.ts +1 -2
- package/dist/components/skeleton/skeleton.d.ts +1 -2
- package/dist/components/skeleton/skeleton.js +0 -2
- package/dist/components/skeleton/skeleton.types.d.ts +1 -2
- package/dist/components/spinner/spinner.d.ts +1 -2
- package/dist/components/spinner/spinner.js +0 -2
- package/dist/components/spinner/spinner.types.d.ts +1 -2
- package/dist/components/stat/stat.d.ts +1 -2
- package/dist/components/stat/stat.js +0 -2
- package/dist/components/stat/stat.types.d.ts +1 -2
- package/dist/components/text/text.d.ts +1 -2
- package/dist/components/text/text.js +0 -2
- package/dist/components/text/text.types.d.ts +1 -2
- package/dist/components/theme/theme.d.ts +1 -2
- package/dist/components/theme/theme.js +0 -2
- package/dist/components/toolbar/toolbar.d.ts +1 -2
- package/dist/components/toolbar/toolbar.js +0 -2
- package/dist/components/toolbar/toolbar.types.d.ts +1 -2
- package/dist/components.d.ts +2 -2
- package/dist/surfaces.d.ts +2 -2
- package/package.json +24 -8
- package/src/components/card/card.tsx +2 -2
- package/src/components/card/card.types.ts +3 -0
- package/src/components/card/index.ts +1 -0
- package/src/components/badge/badge.a11y.ts +0 -15
- package/src/components/block/block.a11y.ts +0 -11
- package/src/components/container/container.a11y.ts +0 -11
- package/src/components/header/header.a11y.ts +0 -11
- package/src/components/section/section.a11y.ts +0 -11
- package/src/components/separator/separator.a11y.ts +0 -15
- package/src/components/skeleton/skeleton.a11y.ts +0 -14
|
@@ -3,5 +3,4 @@ import { DropdownContentAsChildProps, DropdownContentProps } from "@askrjs/ui";
|
|
|
3
3
|
declare function DropdownContent$1(props: DropdownContentProps): JSX.Element | null;
|
|
4
4
|
declare function DropdownContent$1(props: DropdownContentAsChildProps): JSX.Element | null;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { DropdownContent$1 as DropdownContent };
|
|
7
|
-
//# sourceMappingURL=dropdown-content.d.ts.map
|
|
6
|
+
export { DropdownContent$1 as DropdownContent };
|
|
@@ -2,5 +2,4 @@ import { PageHeaderProps } from "./page-header.types.js";
|
|
|
2
2
|
//#region src/components/page-header/page-header.d.ts
|
|
3
3
|
declare function PageHeader(props: PageHeaderProps): JSX.Element;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { PageHeader };
|
|
6
|
-
//# sourceMappingURL=page-header.d.ts.map
|
|
5
|
+
export { PageHeader };
|
|
@@ -3,5 +3,4 @@ import { SeparatorAsChildProps, SeparatorNativeProps } from "./separator.types.j
|
|
|
3
3
|
declare function Separator(props: SeparatorNativeProps): JSX.Element;
|
|
4
4
|
declare function Separator(props: SeparatorAsChildProps): JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { Separator };
|
|
7
|
-
//# sourceMappingURL=separator.d.ts.map
|
|
6
|
+
export { Separator };
|
|
@@ -17,5 +17,4 @@ type SeparatorAsChildProps = SeparatorOwnProps & {
|
|
|
17
17
|
};
|
|
18
18
|
type SeparatorProps = SeparatorNativeProps | SeparatorAsChildProps;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { SeparatorAsChildProps, SeparatorNativeProps, SeparatorOwnProps, SeparatorProps };
|
|
21
|
-
//# sourceMappingURL=separator.types.d.ts.map
|
|
20
|
+
export { SeparatorAsChildProps, SeparatorNativeProps, SeparatorOwnProps, SeparatorProps };
|
|
@@ -17,5 +17,4 @@ declare function SidebarMenuBadge(props: SidebarPartProps): JSX.Element;
|
|
|
17
17
|
declare function SidebarRail(props: SidebarPartProps): JSX.Element;
|
|
18
18
|
declare function SidebarTrigger(props: SidebarButtonProps): JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarRail, SidebarScope, SidebarTrigger };
|
|
21
|
-
//# sourceMappingURL=sidebar.d.ts.map
|
|
20
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarRail, SidebarScope, SidebarTrigger };
|
|
@@ -125,5 +125,3 @@ function SidebarTrigger(props) {
|
|
|
125
125
|
}
|
|
126
126
|
//#endregion
|
|
127
127
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarRail, SidebarScope, SidebarTrigger };
|
|
128
|
-
|
|
129
|
-
//# sourceMappingURL=sidebar.js.map
|
|
@@ -25,5 +25,4 @@ type SidebarButtonProps = JSX.IntrinsicElements["button"] & {
|
|
|
25
25
|
variant?: "default" | "outline";
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
|
-
export { SidebarButtonProps, SidebarCollapsible, SidebarPartProps, SidebarProps, SidebarSide, SidebarTooltipSide, SidebarVariant };
|
|
29
|
-
//# sourceMappingURL=sidebar.types.d.ts.map
|
|
28
|
+
export { SidebarButtonProps, SidebarCollapsible, SidebarPartProps, SidebarProps, SidebarSide, SidebarTooltipSide, SidebarVariant };
|
|
@@ -3,5 +3,4 @@ import { SkeletonAsChildProps, SkeletonProps } from "./skeleton.types.js";
|
|
|
3
3
|
declare function Skeleton(props: SkeletonProps): JSX.Element;
|
|
4
4
|
declare function Skeleton(props: SkeletonAsChildProps): JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { Skeleton };
|
|
7
|
-
//# sourceMappingURL=skeleton.d.ts.map
|
|
6
|
+
export { Skeleton };
|
|
@@ -16,5 +16,4 @@ type SkeletonAsChildProps = SkeletonOwnProps & {
|
|
|
16
16
|
ref?: Ref<unknown>;
|
|
17
17
|
};
|
|
18
18
|
//#endregion
|
|
19
|
-
export { SkeletonAsChildProps, SkeletonOwnProps, SkeletonProps };
|
|
20
|
-
//# sourceMappingURL=skeleton.types.d.ts.map
|
|
19
|
+
export { SkeletonAsChildProps, SkeletonOwnProps, SkeletonProps };
|
|
@@ -7,5 +7,4 @@ type SpinnerOwnProps = Omit<ProgressCircleProps, "value" | "getValueLabel"> & {
|
|
|
7
7
|
};
|
|
8
8
|
type SpinnerProps = SpinnerOwnProps;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { SpinnerOwnProps, SpinnerProps, SpinnerSize };
|
|
11
|
-
//# sourceMappingURL=spinner.types.d.ts.map
|
|
10
|
+
export { SpinnerOwnProps, SpinnerProps, SpinnerSize };
|
|
@@ -5,5 +5,4 @@ declare function StatLabel(props: StatLabelProps): JSX.Element;
|
|
|
5
5
|
declare function StatValue(props: StatValueProps): JSX.Element;
|
|
6
6
|
declare function StatDescription(props: StatDescriptionProps): JSX.Element;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { Stat, StatDescription, StatLabel, StatValue };
|
|
9
|
-
//# sourceMappingURL=stat.d.ts.map
|
|
8
|
+
export { Stat, StatDescription, StatLabel, StatValue };
|
|
@@ -19,5 +19,4 @@ type StatDescriptionProps = ParagraphProps & {
|
|
|
19
19
|
ref?: Ref<HTMLParagraphElement>;
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
22
|
-
export { StatDescriptionProps, StatLabelProps, StatProps, StatValueProps };
|
|
23
|
-
//# sourceMappingURL=stat.types.d.ts.map
|
|
22
|
+
export { StatDescriptionProps, StatLabelProps, StatProps, StatValueProps };
|
|
@@ -2,5 +2,4 @@ import { TextElement, TextProps } from "./text.types.js";
|
|
|
2
2
|
//#region src/components/text/text.d.ts
|
|
3
3
|
declare function Text<TElement extends TextElement = "p">(props: TextProps<TElement>): JSX.Element;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { Text };
|
|
6
|
-
//# sourceMappingURL=text.d.ts.map
|
|
5
|
+
export { Text };
|
|
@@ -21,5 +21,4 @@ type TextProps<TElement extends TextElement = "p"> = TextIntrinsicProps<TElement
|
|
|
21
21
|
ref?: Ref<HTMLElement>;
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
|
-
export { TextElement, TextFont, TextNumeric, TextProps, TextSize, TextTone, TextWeight, TextWrap };
|
|
25
|
-
//# sourceMappingURL=text.types.d.ts.map
|
|
24
|
+
export { TextElement, TextFont, TextNumeric, TextProps, TextSize, TextTone, TextWeight, TextWrap };
|
|
@@ -42,5 +42,4 @@ declare function ThemeScope(props: ThemeScopeProps): JSX.Element;
|
|
|
42
42
|
declare function ThemePicker(props: ThemePickerProps): JSX.Element;
|
|
43
43
|
declare function ThemeToggle(props: ThemeToggleProps): JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
|
-
export { CAT_THEME_NAMES, CAT_THEME_OPTIONS, CatThemeName, DEFAULT_THEME_OPTIONS, ThemeName, ThemeOption, ThemePicker, ThemePickerProps, ThemeScope, ThemeScopeProps, ThemeScopeValue, ThemeToggle, ThemeToggleProps, ThemeToggleRenderContext, theme };
|
|
46
|
-
//# sourceMappingURL=theme.d.ts.map
|
|
45
|
+
export { CAT_THEME_NAMES, CAT_THEME_OPTIONS, CatThemeName, DEFAULT_THEME_OPTIONS, ThemeName, ThemeOption, ThemePicker, ThemePickerProps, ThemeScope, ThemeScopeProps, ThemeScopeValue, ThemeToggle, ThemeToggleProps, ThemeToggleRenderContext, theme };
|
package/dist/components.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import "./components/brand/index.js";
|
|
|
16
16
|
import { ButtonGroupOrientation, ButtonGroupProps } from "./components/button-group/button-group.types.js";
|
|
17
17
|
import { ButtonGroup } from "./components/button-group/button-group.js";
|
|
18
18
|
import "./components/button-group/index.js";
|
|
19
|
-
import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CardVariant } from "./components/card/card.types.js";
|
|
19
|
+
import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleHeadingTag, CardTitleProps, CardVariant } from "./components/card/card.types.js";
|
|
20
20
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/card/card.js";
|
|
21
21
|
import "./components/card/index.js";
|
|
22
22
|
import { CloseNativeProps, CloseOwnProps } from "./components/close/close.types.js";
|
|
@@ -87,4 +87,4 @@ import { CAT_THEME_NAMES, CAT_THEME_OPTIONS, CatThemeName, DEFAULT_THEME_OPTIONS
|
|
|
87
87
|
import "./components/theme/index.js";
|
|
88
88
|
import { AlertDescription, AlertTitle, Box, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CatalogComponentProps, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DataTable, DatePicker, DatePickerInput, Direction, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Inline, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, NativeSelect, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ResizableHandle, ResizablePanel, ResizablePanelGroup, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, Shell, ShellMain, ShellNav, Sonner, Stack, TabsContent, TabsList, TabsTrigger, Toaster, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP } from "./components/catalog.js";
|
|
89
89
|
import { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Button, ButtonAsChildElement, ButtonAsChildProps, ButtonNativeProps, ButtonProps, ButtonSize, ButtonVariant, ButtonWidth, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, DebouncedInput, Dialog, Dialog as Drawer, Dialog as Sheet, DialogClose, DialogClose as DrawerClose, DialogClose as SheetClose, DialogContent, DialogContent as DrawerContent, DialogDescription, DialogDescription as DrawerDescription, DialogOverlay, DialogOverlay as DrawerOverlay, DialogOverlay as SheetOverlay, DialogPortal, DialogPortal as DrawerPortal, DialogPortal as SheetPortal, DialogTitle, DialogTitle as DrawerTitle, DialogTrigger, DialogTrigger as DrawerTrigger, DialogTrigger as SheetTrigger, Dropdown, Dropdown as ContextMenu, Dropdown as DropdownMenu, DropdownGroup, DropdownGroup as ContextMenuGroup, DropdownGroup as DropdownMenuGroup, DropdownItem, DropdownItem as ContextMenuItem, DropdownItem as DropdownMenuItem, DropdownItemVariant, DropdownLabel, DropdownLabel as ContextMenuLabel, DropdownLabel as DropdownMenuLabel, DropdownPortal, DropdownPortal as ContextMenuPortal, DropdownPortal as DropdownMenuPortal, DropdownSeparator, DropdownSeparator as ContextMenuSeparator, DropdownSeparator as DropdownMenuSeparator, DropdownTrigger, DropdownTrigger as ContextMenuTrigger, DropdownTrigger as DropdownMenuTrigger, DropdownTriggerSize, DropdownTriggerVariant, Form, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Input, Label, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Popover, PopoverClose, PopoverContent, PopoverContentWidth, PopoverPortal, PopoverTrigger, Progress, ProgressCircle, ProgressCircleIndicator, ProgressIndicator, RadioGroup, RadioGroupItem, ScrollArea, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, Select, SelectContent, SelectGroup, SelectItem, SelectItemText, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, SelectTriggerSize, SelectValue, Slider, SliderRange, SliderThumb, SliderTrack, Switch, Table, TableBody, TableCaption, TableCell, TableFoot, TableHead, TableHeaderCell, TableRow, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastHost, ToastTitle, ToastViewport, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipPortal, TooltipTrigger, VirtualList, VirtualListApi, VirtualListAsChildProps, VirtualListProps, VirtualListRowComponent, VirtualListRowComponentProps, VirtualListRowElement, VirtualListState, VirtualListViewport, VirtualTable, VirtualTableApi, VirtualTableAsChildProps, VirtualTableCellComponent, VirtualTableCellComponentProps, VirtualTableCellElement, VirtualTableColumn, VirtualTableProps, VirtualTableState, VirtualTableViewport, VirtualTableWidth, VisuallyHidden } from "@askrjs/ui";
|
|
90
|
-
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertHeadingTag, type AlertProps, AlertTitle, type AlertVariant, Aside, type AsideProps, AspectRatio, type AspectRatioAsChildProps, type AspectRatioProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeAsChildProps, type BadgeOwnProps, type BadgeProps, Block, type BlockAlign, type BlockAsChildProps, type BlockBackground, type BlockDirection, type BlockDivProps, type BlockElement, type BlockElementProps, type BlockJustify, type BlockMargin, type BlockNativeProps, type BlockOwnProps, type BlockProps, type BlockRadius, type ResponsiveValue as BlockResponsiveValue, type BlockRowFrom, type BlockShadow, type BlockSize, type BlockSpace, type BlockSpanProps, type BlockZIndex, Box, Brand, BrandLabel, BrandMark, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonAsChildElement, type ButtonAsChildProps, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonNativeProps, type ButtonProps, type ButtonSize, type ButtonVariant, type ButtonWidth, CAT_THEME_NAMES, CAT_THEME_OPTIONS, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type CardVariant, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CatThemeName, CatalogComponentProps, Checkbox, Close, type CloseNativeProps, type CloseOwnProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, type ContainerProps, ContextMenu, DropdownContent as ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, DEFAULT_THEME_OPTIONS, DataTable, DatePicker, DatePickerInput, DebouncedInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Direction, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, DropdownContent, DropdownGroup, DropdownItem, type DropdownItemVariant, DropdownLabel, DropdownMenu, DropdownContent as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuTrigger, DropdownPortal, DropdownSeparator, DropdownTrigger, type DropdownTriggerSize, type DropdownTriggerVariant, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateHeadingTag, type EmptyStateProps, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldHint, type FieldHintProps, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, Footer, FooterContent, type FooterContentProps, FooterDescription, type FooterDescriptionProps, FooterLink, type FooterLinkProps, FooterLinks, type FooterLinksProps, type FooterProps, FooterSection, type FooterSectionProps, FooterTitle, type FooterTitleProps, Form, Grid, Header, type HeaderProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Inline, Input, InputGroup, type InputGroupOrientation, type InputGroupProps, InputGroupText, type InputGroupTextAsChildProps, type InputGroupTextProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, Label, Main, type MainProps, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, Navbar as Nav, NavBrand, type NavBrandProps, NavDropdown, type NavDropdownProps, NavGroup, type NavGroupProps, NavItem, type NavItemAsChildProps, type NavItemProps, NavLink, type NavLinkProps, Navbar, type NavbarCollapseBreakpoint, type NavbarProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Page, PageHeader, type PageHeaderProps, type PageProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pill, type PillProps, Pills, type PillsAsChildProps, type PillsProps, Popover, PopoverClose, PopoverContent, type PopoverContentWidth, PopoverPortal, PopoverTrigger, Progress, ProgressCircle, ProgressCircleIndicator, ProgressIndicator, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, Section, type SectionProps, Select, SelectContent, SelectGroup, SelectItem, SelectItemText, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, type SelectTriggerSize, SelectValue, Separator, type SeparatorAsChildProps, type SeparatorNativeProps, type SeparatorOwnProps, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, ShellMain, ShellNav, Sidebar, type SidebarButtonProps, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarPartProps, type SidebarProps, SidebarRail, SidebarScope, type SidebarSide, type SidebarTooltipSide, SidebarTrigger, type SidebarVariant, Skeleton, type SkeletonAsChildProps, type SkeletonOwnProps, type SkeletonProps, Slider, SliderRange, SliderThumb, SliderTrack, Sonner, Spinner, type SpinnerOwnProps, type SpinnerProps, type SpinnerSize, Stack, Stat, StatDescription, StatLabel, StatValue, Switch, Tab, type TabProps, Table, TableBody, TableCaption, TableCell, TableFoot, TableHead, TableHeaderCell, TableRow, Tabs, type TabsAsChildProps, TabsContent, TabsList, type TabsProps, TabsTrigger, Text, Textarea, type ThemeName, type ThemeOption, ThemePicker, type ThemePickerProps, ThemeScope, type ThemeScopeProps, type ThemeScopeValue, ThemeToggle, type ThemeToggleProps, type ThemeToggleRenderContext, Toast, ToastAction, ToastClose, ToastDescription, ToastHost, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipPortal, TooltipTrigger, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP, VirtualList, type VirtualListApi, type VirtualListAsChildProps, type VirtualListProps, type VirtualListRowComponent, type VirtualListRowComponentProps, type VirtualListRowElement, type VirtualListState, type VirtualListViewport, VirtualTable, type VirtualTableApi, type VirtualTableAsChildProps, type VirtualTableCellComponent, type VirtualTableCellComponentProps, type VirtualTableCellElement, type VirtualTableColumn, type VirtualTableProps, type VirtualTableState, type VirtualTableViewport, type VirtualTableWidth, VisuallyHidden, theme };
|
|
90
|
+
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertHeadingTag, type AlertProps, AlertTitle, type AlertVariant, Aside, type AsideProps, AspectRatio, type AspectRatioAsChildProps, type AspectRatioProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeAsChildProps, type BadgeOwnProps, type BadgeProps, Block, type BlockAlign, type BlockAsChildProps, type BlockBackground, type BlockDirection, type BlockDivProps, type BlockElement, type BlockElementProps, type BlockJustify, type BlockMargin, type BlockNativeProps, type BlockOwnProps, type BlockProps, type BlockRadius, type ResponsiveValue as BlockResponsiveValue, type BlockRowFrom, type BlockShadow, type BlockSize, type BlockSpace, type BlockSpanProps, type BlockZIndex, Box, Brand, BrandLabel, BrandMark, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonAsChildElement, type ButtonAsChildProps, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonNativeProps, type ButtonProps, type ButtonSize, type ButtonVariant, type ButtonWidth, CAT_THEME_NAMES, CAT_THEME_OPTIONS, Calendar, CalendarBody, CalendarCaption, CalendarCell, CalendarDay, CalendarGrid, CalendarHead, CalendarHeader, CalendarNav, CalendarNextButton, CalendarPreviousButton, CalendarRow, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleHeadingTag, type CardTitleProps, type CardVariant, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CatThemeName, CatalogComponentProps, Checkbox, Close, type CloseNativeProps, type CloseOwnProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxInput, ComboboxList, ComboboxOption, Command, CommandDialog, CommandEmpty, CommandGroup, CommandGroupHeading, CommandHeader, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Container, type ContainerProps, ContextMenu, DropdownContent as ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, DEFAULT_THEME_OPTIONS, DataTable, DatePicker, DatePickerInput, DebouncedInput, Dialog, DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Direction, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Dropdown, DropdownContent, DropdownGroup, DropdownItem, type DropdownItemVariant, DropdownLabel, DropdownMenu, DropdownContent as DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuTrigger, DropdownPortal, DropdownSeparator, DropdownTrigger, type DropdownTriggerSize, type DropdownTriggerVariant, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateHeadingTag, type EmptyStateProps, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, type FieldErrorProps, FieldGroup, FieldHint, type FieldHintProps, FieldLabel, FieldLegend, type FieldProps, FieldSeparator, FieldSet, FieldTitle, Footer, FooterContent, type FooterContentProps, FooterDescription, type FooterDescriptionProps, FooterLink, type FooterLinkProps, FooterLinks, type FooterLinksProps, type FooterProps, FooterSection, type FooterSectionProps, FooterTitle, type FooterTitleProps, Form, Grid, Header, type HeaderProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Inline, Input, InputGroup, type InputGroupOrientation, type InputGroupProps, InputGroupText, type InputGroupTextAsChildProps, type InputGroupTextProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemTitle, Kbd, Label, Main, type MainProps, Menubar, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarSeparator, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NativeSelect, Navbar as Nav, NavBrand, type NavBrandProps, NavDropdown, type NavDropdownProps, NavGroup, type NavGroupProps, NavItem, type NavItemAsChildProps, type NavItemProps, NavLink, type NavLinkProps, Navbar, type NavbarCollapseBreakpoint, type NavbarProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Page, PageHeader, type PageHeaderProps, type PageProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pill, type PillProps, Pills, type PillsAsChildProps, type PillsProps, Popover, PopoverClose, PopoverContent, type PopoverContentWidth, PopoverPortal, PopoverTrigger, Progress, ProgressCircle, ProgressCircleIndicator, ProgressIndicator, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollAreaCorner, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, Section, type SectionProps, Select, SelectContent, SelectGroup, SelectItem, SelectItemText, SelectLabel, SelectPortal, SelectSeparator, SelectTrigger, type SelectTriggerSize, SelectValue, Separator, type SeparatorAsChildProps, type SeparatorNativeProps, type SeparatorOwnProps, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Shell, ShellMain, ShellNav, Sidebar, type SidebarButtonProps, type SidebarCollapsible, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarPartProps, type SidebarProps, SidebarRail, SidebarScope, type SidebarSide, type SidebarTooltipSide, SidebarTrigger, type SidebarVariant, Skeleton, type SkeletonAsChildProps, type SkeletonOwnProps, type SkeletonProps, Slider, SliderRange, SliderThumb, SliderTrack, Sonner, Spinner, type SpinnerOwnProps, type SpinnerProps, type SpinnerSize, Stack, Stat, StatDescription, StatLabel, StatValue, Switch, Tab, type TabProps, Table, TableBody, TableCaption, TableCell, TableFoot, TableHead, TableHeaderCell, TableRow, Tabs, type TabsAsChildProps, TabsContent, TabsList, type TabsProps, TabsTrigger, Text, Textarea, type ThemeName, type ThemeOption, ThemePicker, type ThemePickerProps, ThemeScope, type ThemeScopeProps, type ThemeScopeValue, ThemeToggle, type ThemeToggleProps, type ThemeToggleRenderContext, Toast, ToastAction, ToastClose, ToastDescription, ToastHost, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, type ToolbarProps, Tooltip, TooltipContent, TooltipPortal, TooltipTrigger, Typography, TypographyBlockquote, TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyLead, TypographyList, TypographyMuted, TypographyP, VirtualList, type VirtualListApi, type VirtualListAsChildProps, type VirtualListProps, type VirtualListRowComponent, type VirtualListRowComponentProps, type VirtualListRowElement, type VirtualListState, type VirtualListViewport, VirtualTable, type VirtualTableApi, type VirtualTableAsChildProps, type VirtualTableCellComponent, type VirtualTableCellComponentProps, type VirtualTableCellElement, type VirtualTableColumn, type VirtualTableProps, type VirtualTableState, type VirtualTableViewport, type VirtualTableWidth, VisuallyHidden, theme };
|
package/dist/surfaces.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import "./components/aspect-ratio/index.js";
|
|
|
7
7
|
import { BadgeAsChildProps, BadgeOwnProps, BadgeProps } from "./components/badge/badge.types.js";
|
|
8
8
|
import { Badge } from "./components/badge/badge.js";
|
|
9
9
|
import "./components/badge/index.js";
|
|
10
|
-
import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CardVariant } from "./components/card/card.types.js";
|
|
10
|
+
import { CardActionProps, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleHeadingTag, CardTitleProps, CardVariant } from "./components/card/card.types.js";
|
|
11
11
|
import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/card/card.js";
|
|
12
12
|
import "./components/card/index.js";
|
|
13
13
|
import { SeparatorAsChildProps, SeparatorNativeProps, SeparatorOwnProps, SeparatorProps } from "./components/separator/separator.types.js";
|
|
@@ -23,4 +23,4 @@ import { StatDescriptionProps, StatLabelProps, StatProps, StatValueProps } from
|
|
|
23
23
|
import { Stat, StatDescription, StatLabel, StatValue } from "./components/stat/stat.js";
|
|
24
24
|
import "./components/stat/index.js";
|
|
25
25
|
import { Avatar, AvatarAsChildProps, AvatarFallback, AvatarFallbackAsChildProps, AvatarFallbackOwnProps, AvatarFallbackProps, AvatarImage, AvatarImageOwnProps, AvatarImageProps, AvatarLoadingStatus, AvatarOwnProps, AvatarProps, Progress, ProgressCircle, ProgressCircleIndicator, ProgressCircleIndicatorAsChildProps, ProgressCircleIndicatorProps, ProgressCircleOwnProps, ProgressCircleProps, ProgressIndicator, ProgressIndicatorAsChildProps, ProgressIndicatorProps, ProgressOwnProps, ProgressProps, Table, TableAsChildProps, TableBody, TableBodyAsChildProps, TableBodyProps, TableCaption, TableCaptionAsChildProps, TableCaptionProps, TableCell, TableCellAsChildProps, TableCellProps, TableFoot, TableFootAsChildProps, TableFootProps, TableHead, TableHeadAsChildProps, TableHeadProps, TableHeaderCell, TableHeaderCellAsChildProps, TableHeaderCellProps, TableProps, TableRow, TableRowAsChildProps, TableRowProps } from "@askrjs/ui";
|
|
26
|
-
export { Alert, type AlertHeadingTag, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioAsChildProps, type AspectRatioProps, Avatar, type AvatarAsChildProps, AvatarFallback, type AvatarFallbackAsChildProps, type AvatarFallbackOwnProps, type AvatarFallbackProps, AvatarImage, type AvatarImageOwnProps, type AvatarImageProps, type AvatarLoadingStatus, type AvatarOwnProps, type AvatarProps, Badge, type BadgeAsChildProps, type BadgeOwnProps, type BadgeProps, Card, type CardAction, type CardActionProps, type CardContent, type CardContentProps, type CardDescription, type CardDescriptionProps, type CardFooter, type CardFooterProps, type CardHeader, type CardHeaderProps, type CardProps, type CardTitle, type CardTitleProps, type CardVariant, Progress, ProgressCircle, ProgressCircleIndicator, type ProgressCircleIndicatorAsChildProps, type ProgressCircleIndicatorProps, type ProgressCircleOwnProps, type ProgressCircleProps, ProgressIndicator, type ProgressIndicatorAsChildProps, type ProgressIndicatorProps, type ProgressOwnProps, type ProgressProps, Separator, type SeparatorAsChildProps, type SeparatorNativeProps, type SeparatorOwnProps, type SeparatorProps, Skeleton, type SkeletonAsChildProps, type SkeletonOwnProps, type SkeletonProps, Spinner, type SpinnerOwnProps, type SpinnerProps, type SpinnerSize, Stat, StatDescription, type StatDescriptionProps, StatLabel, type StatLabelProps, type StatProps, StatValue, type StatValueProps, Table, type TableAsChildProps, TableBody, type TableBodyAsChildProps, type TableBodyProps, TableCaption, type TableCaptionAsChildProps, type TableCaptionProps, TableCell, type TableCellAsChildProps, type TableCellProps, TableFoot, type TableFootAsChildProps, type TableFootProps, TableHead, type TableHeadAsChildProps, type TableHeadProps, TableHeaderCell, type TableHeaderCellAsChildProps, type TableHeaderCellProps, type TableProps, TableRow, type TableRowAsChildProps, type TableRowProps };
|
|
26
|
+
export { Alert, type AlertHeadingTag, type AlertProps, type AlertVariant, AspectRatio, type AspectRatioAsChildProps, type AspectRatioProps, Avatar, type AvatarAsChildProps, AvatarFallback, type AvatarFallbackAsChildProps, type AvatarFallbackOwnProps, type AvatarFallbackProps, AvatarImage, type AvatarImageOwnProps, type AvatarImageProps, type AvatarLoadingStatus, type AvatarOwnProps, type AvatarProps, Badge, type BadgeAsChildProps, type BadgeOwnProps, type BadgeProps, Card, type CardAction, type CardActionProps, type CardContent, type CardContentProps, type CardDescription, type CardDescriptionProps, type CardFooter, type CardFooterProps, type CardHeader, type CardHeaderProps, type CardProps, type CardTitle, type CardTitleHeadingTag, type CardTitleProps, type CardVariant, Progress, ProgressCircle, ProgressCircleIndicator, type ProgressCircleIndicatorAsChildProps, type ProgressCircleIndicatorProps, type ProgressCircleOwnProps, type ProgressCircleProps, ProgressIndicator, type ProgressIndicatorAsChildProps, type ProgressIndicatorProps, type ProgressOwnProps, type ProgressProps, Separator, type SeparatorAsChildProps, type SeparatorNativeProps, type SeparatorOwnProps, type SeparatorProps, Skeleton, type SkeletonAsChildProps, type SkeletonOwnProps, type SkeletonProps, Spinner, type SpinnerOwnProps, type SpinnerProps, type SpinnerSize, Stat, StatDescription, type StatDescriptionProps, StatLabel, type StatLabelProps, type StatProps, StatValue, type StatValueProps, Table, type TableAsChildProps, TableBody, type TableBodyAsChildProps, type TableBodyProps, TableCaption, type TableCaptionAsChildProps, type TableCaptionProps, TableCell, type TableCellAsChildProps, type TableCellProps, TableFoot, type TableFootAsChildProps, type TableFootProps, TableHead, type TableHeadAsChildProps, type TableHeadProps, TableHeaderCell, type TableHeaderCellAsChildProps, type TableHeaderCellProps, type TableProps, TableRow, type TableRowAsChildProps, type TableRowProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@askrjs/themes",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "Default theme tokens, styles, and component presets for Askr apps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"askr",
|
|
@@ -34,9 +34,18 @@
|
|
|
34
34
|
"**/*.css"
|
|
35
35
|
],
|
|
36
36
|
"exports": {
|
|
37
|
-
".":
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
".": {
|
|
38
|
+
"types": "./src/css.d.ts",
|
|
39
|
+
"default": "./src/index.css"
|
|
40
|
+
},
|
|
41
|
+
"./default": {
|
|
42
|
+
"types": "./src/css.d.ts",
|
|
43
|
+
"default": "./src/themes/default/index.css"
|
|
44
|
+
},
|
|
45
|
+
"./presets": {
|
|
46
|
+
"types": "./src/css.d.ts",
|
|
47
|
+
"default": "./src/themes/presets/index.css"
|
|
48
|
+
},
|
|
40
49
|
"./components": {
|
|
41
50
|
"types": "./dist/components.d.ts",
|
|
42
51
|
"import": "./dist/components.js"
|
|
@@ -281,8 +290,14 @@
|
|
|
281
290
|
"types": "./dist/components.d.ts",
|
|
282
291
|
"import": "./dist/components.js"
|
|
283
292
|
},
|
|
284
|
-
"./default/tokens.css":
|
|
285
|
-
|
|
293
|
+
"./default/tokens.css": {
|
|
294
|
+
"types": "./src/css.d.ts",
|
|
295
|
+
"default": "./src/themes/default/tokens.css"
|
|
296
|
+
},
|
|
297
|
+
"./templates/*": {
|
|
298
|
+
"types": "./src/css.d.ts",
|
|
299
|
+
"default": "./templates/*"
|
|
300
|
+
},
|
|
286
301
|
"./package.json": "./package.json"
|
|
287
302
|
},
|
|
288
303
|
"publishConfig": {
|
|
@@ -301,12 +316,13 @@
|
|
|
301
316
|
"test:jsdom": "cross-env NODE_ENV=production vp test run -c vitest.test.jsdom.config.ts",
|
|
302
317
|
"test:browser": "vp test run -c vitest.test.browser.config.ts --mode production",
|
|
303
318
|
"test:publint": "publint",
|
|
319
|
+
"test:installed": "node tests/installed-types.js",
|
|
304
320
|
"fmt": "vp fmt .",
|
|
305
321
|
"lint": "vp lint .",
|
|
306
322
|
"typecheck": "tsc -p tsconfig.pack.json --noEmit",
|
|
307
323
|
"build": "vp pack",
|
|
308
|
-
"pack:check": "
|
|
309
|
-
"check": "npm run lint && npm run typecheck && npm test && npm run build && npm run test:publint && npm run pack:check",
|
|
324
|
+
"pack:check": "node tests/package-artifacts.js",
|
|
325
|
+
"check": "npm run lint && npm run typecheck && npm test && npm run build && npm run test:installed && npm run test:publint && npm run pack:check",
|
|
310
326
|
"prepack": "npm run build",
|
|
311
327
|
"prepublishOnly": "npm run check",
|
|
312
328
|
"test:checks": "vp test run -c vitest.test.checks.config.ts"
|
|
@@ -41,14 +41,14 @@ export function CardHeader(props: CardHeaderProps): JSX.Element {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export function CardTitle(props: CardTitleProps): JSX.Element {
|
|
44
|
-
const { children, class: className, ref, ...rest } = props;
|
|
44
|
+
const { children, class: className, ref, titleAs: TitleTag = "h3", ...rest } = props;
|
|
45
45
|
const finalProps = mergeProps(rest, {
|
|
46
46
|
ref,
|
|
47
47
|
class: classes("card-title", className),
|
|
48
48
|
"data-slot": "card-title",
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
return <
|
|
51
|
+
return <TitleTag {...finalProps}>{children}</TitleTag>;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export function CardDescription(props: CardDescriptionProps): JSX.Element {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Ref } from "@askrjs/askr/foundations/utilities";
|
|
2
2
|
|
|
3
3
|
export type CardVariant = "default" | "raised";
|
|
4
|
+
export type CardTitleHeadingTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
4
5
|
|
|
5
6
|
type DivProps = Omit<JSX.IntrinsicElements["div"], "children" | "ref">;
|
|
6
7
|
type HeadingProps = Omit<JSX.IntrinsicElements["h3"], "children" | "ref">;
|
|
@@ -19,6 +20,8 @@ export type CardHeaderProps = DivProps & {
|
|
|
19
20
|
|
|
20
21
|
export type CardTitleProps = HeadingProps & {
|
|
21
22
|
children?: unknown;
|
|
23
|
+
/** Choose the level that follows the surrounding document hierarchy. */
|
|
24
|
+
titleAs?: CardTitleHeadingTag;
|
|
22
25
|
ref?: Ref<HTMLHeadingElement>;
|
|
23
26
|
};
|
|
24
27
|
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Accessibility contract for Badge.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export const BADGE_A11Y_CONTRACT = {
|
|
6
|
-
DATA_ATTRIBUTES: {
|
|
7
|
-
slot: "data-slot" as const,
|
|
8
|
-
},
|
|
9
|
-
MARKER: "data-badge" as const,
|
|
10
|
-
CONTENT: {
|
|
11
|
-
textAllowed: true,
|
|
12
|
-
},
|
|
13
|
-
} as const;
|
|
14
|
-
|
|
15
|
-
export type BadgeA11yContract = typeof BADGE_A11Y_CONTRACT;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const CONTAINER_A11Y_CONTRACT = {
|
|
2
|
-
DATA_ATTRIBUTES: {
|
|
3
|
-
slot: "data-slot" as const,
|
|
4
|
-
layout: "data-ak-layout" as const,
|
|
5
|
-
},
|
|
6
|
-
SLOT_VALUES: {
|
|
7
|
-
root: "container" as const,
|
|
8
|
-
},
|
|
9
|
-
} as const;
|
|
10
|
-
|
|
11
|
-
export type ContainerA11yContract = typeof CONTAINER_A11Y_CONTRACT;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const HEADER_A11Y_CONTRACT = {
|
|
2
|
-
DATA_ATTRIBUTES: {
|
|
3
|
-
slot: "data-slot" as const,
|
|
4
|
-
position: "data-position" as const,
|
|
5
|
-
},
|
|
6
|
-
SLOT_VALUES: {
|
|
7
|
-
root: "header" as const,
|
|
8
|
-
},
|
|
9
|
-
} as const;
|
|
10
|
-
|
|
11
|
-
export type HeaderA11yContract = typeof HEADER_A11Y_CONTRACT;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const SECTION_A11Y_CONTRACT = {
|
|
2
|
-
DATA_ATTRIBUTES: {
|
|
3
|
-
slot: "data-slot" as const,
|
|
4
|
-
layout: "data-ak-layout" as const,
|
|
5
|
-
},
|
|
6
|
-
SLOT_VALUES: {
|
|
7
|
-
root: "section" as const,
|
|
8
|
-
},
|
|
9
|
-
} as const;
|
|
10
|
-
|
|
11
|
-
export type SectionA11yContract = typeof SECTION_A11Y_CONTRACT;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WAI-ARIA Separator Pattern.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export const SEPARATOR_A11Y_CONTRACT = {
|
|
6
|
-
ROLE: "separator" as const,
|
|
7
|
-
DECORATIVE_ROLE: "presentation" as const,
|
|
8
|
-
ORIENTATION_ATTRIBUTE: "aria-orientation" as const,
|
|
9
|
-
DATA_ATTRIBUTES: {
|
|
10
|
-
orientation: "data-orientation" as const,
|
|
11
|
-
},
|
|
12
|
-
DEFAULT_ORIENTATION: "horizontal" as const,
|
|
13
|
-
} as const;
|
|
14
|
-
|
|
15
|
-
export type SeparatorA11yContract = typeof SEPARATOR_A11Y_CONTRACT;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Accessibility contract for Skeleton.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
export const SKELETON_A11Y_CONTRACT = {
|
|
6
|
-
DATA_ATTRIBUTES: {
|
|
7
|
-
slot: "data-slot" as const,
|
|
8
|
-
},
|
|
9
|
-
MARKER: "data-skeleton" as const,
|
|
10
|
-
DECORATIVE_ATTRIBUTE: "aria-hidden" as const,
|
|
11
|
-
DECORATIVE_VALUE: "true" as const,
|
|
12
|
-
} as const;
|
|
13
|
-
|
|
14
|
-
export type SkeletonA11yContract = typeof SKELETON_A11Y_CONTRACT;
|