@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.
Files changed (117) hide show
  1. package/README.md +3 -0
  2. package/THEMING.md +9 -0
  3. package/dist/components/_internal/block-layout.d.ts +1 -2
  4. package/dist/components/_internal/block-layout.js +0 -2
  5. package/dist/components/_internal/classes.js +0 -2
  6. package/dist/components/_internal/jsx.js +0 -2
  7. package/dist/components/_internal/merge-props.js +0 -2
  8. package/dist/components/_internal/pathname.js +0 -2
  9. package/dist/components/_internal/style.js +0 -2
  10. package/dist/components/alert/alert.d.ts +1 -2
  11. package/dist/components/alert/alert.js +0 -2
  12. package/dist/components/alert/alert.types.d.ts +1 -2
  13. package/dist/components/aside/aside.d.ts +1 -2
  14. package/dist/components/aside/aside.js +0 -2
  15. package/dist/components/aside/aside.types.d.ts +1 -2
  16. package/dist/components/aspect-ratio/aspect-ratio.d.ts +1 -2
  17. package/dist/components/aspect-ratio/aspect-ratio.js +0 -2
  18. package/dist/components/aspect-ratio/aspect-ratio.types.d.ts +1 -2
  19. package/dist/components/badge/badge.d.ts +1 -2
  20. package/dist/components/badge/badge.js +0 -2
  21. package/dist/components/badge/badge.types.d.ts +1 -2
  22. package/dist/components/block/block.d.ts +1 -2
  23. package/dist/components/block/block.js +0 -2
  24. package/dist/components/block/block.types.d.ts +1 -2
  25. package/dist/components/brand/brand.d.ts +1 -2
  26. package/dist/components/brand/brand.js +0 -2
  27. package/dist/components/brand/brand.types.d.ts +1 -2
  28. package/dist/components/button-group/button-group.d.ts +1 -2
  29. package/dist/components/button-group/button-group.js +0 -2
  30. package/dist/components/button-group/button-group.types.d.ts +1 -2
  31. package/dist/components/card/card.d.ts +1 -2
  32. package/dist/components/card/card.js +2 -4
  33. package/dist/components/card/card.js.map +1 -1
  34. package/dist/components/card/card.types.d.ts +4 -2
  35. package/dist/components/card/index.d.ts +2 -2
  36. package/dist/components/catalog.d.ts +1 -2
  37. package/dist/components/catalog.js +0 -2
  38. package/dist/components/close/close.d.ts +1 -2
  39. package/dist/components/close/close.js +0 -2
  40. package/dist/components/close/close.types.d.ts +1 -2
  41. package/dist/components/container/container.d.ts +1 -2
  42. package/dist/components/container/container.js +0 -2
  43. package/dist/components/container/container.types.d.ts +1 -2
  44. package/dist/components/empty-state/empty-state.d.ts +1 -2
  45. package/dist/components/empty-state/empty-state.js +0 -2
  46. package/dist/components/empty-state/empty-state.types.d.ts +1 -2
  47. package/dist/components/field/field.d.ts +1 -2
  48. package/dist/components/field/field.js +0 -2
  49. package/dist/components/field/field.types.d.ts +1 -2
  50. package/dist/components/footer/footer.d.ts +1 -2
  51. package/dist/components/footer/footer.js +0 -2
  52. package/dist/components/footer/footer.types.d.ts +1 -2
  53. package/dist/components/grid/grid.d.ts +1 -2
  54. package/dist/components/grid/grid.js +0 -2
  55. package/dist/components/grid/grid.types.d.ts +1 -2
  56. package/dist/components/header/header.d.ts +1 -2
  57. package/dist/components/header/header.js +0 -2
  58. package/dist/components/header/header.types.d.ts +1 -2
  59. package/dist/components/input-group/input-group.d.ts +1 -2
  60. package/dist/components/input-group/input-group.js +0 -2
  61. package/dist/components/input-group/input-group.types.d.ts +1 -2
  62. package/dist/components/main/main.d.ts +1 -2
  63. package/dist/components/main/main.js +0 -2
  64. package/dist/components/main/main.types.d.ts +1 -2
  65. package/dist/components/nav/nav.d.ts +1 -2
  66. package/dist/components/nav/nav.js +0 -2
  67. package/dist/components/nav/nav.types.d.ts +1 -2
  68. package/dist/components/navbar/navbar.d.ts +1 -2
  69. package/dist/components/navbar/navbar.js +0 -2
  70. package/dist/components/navbar/navbar.types.d.ts +1 -2
  71. package/dist/components/overlays/dropdown-content.d.ts +1 -2
  72. package/dist/components/overlays/dropdown-content.js +0 -2
  73. package/dist/components/page/page.d.ts +1 -2
  74. package/dist/components/page/page.js +0 -2
  75. package/dist/components/page/page.types.d.ts +1 -2
  76. package/dist/components/page-header/page-header.d.ts +1 -2
  77. package/dist/components/page-header/page-header.js +0 -2
  78. package/dist/components/page-header/page-header.types.d.ts +1 -2
  79. package/dist/components/section/section.d.ts +1 -2
  80. package/dist/components/section/section.js +0 -2
  81. package/dist/components/section/section.types.d.ts +1 -2
  82. package/dist/components/separator/separator.d.ts +1 -2
  83. package/dist/components/separator/separator.js +0 -2
  84. package/dist/components/separator/separator.types.d.ts +1 -2
  85. package/dist/components/sidebar/sidebar.d.ts +1 -2
  86. package/dist/components/sidebar/sidebar.js +0 -2
  87. package/dist/components/sidebar/sidebar.types.d.ts +1 -2
  88. package/dist/components/skeleton/skeleton.d.ts +1 -2
  89. package/dist/components/skeleton/skeleton.js +0 -2
  90. package/dist/components/skeleton/skeleton.types.d.ts +1 -2
  91. package/dist/components/spinner/spinner.d.ts +1 -2
  92. package/dist/components/spinner/spinner.js +0 -2
  93. package/dist/components/spinner/spinner.types.d.ts +1 -2
  94. package/dist/components/stat/stat.d.ts +1 -2
  95. package/dist/components/stat/stat.js +0 -2
  96. package/dist/components/stat/stat.types.d.ts +1 -2
  97. package/dist/components/text/text.d.ts +1 -2
  98. package/dist/components/text/text.js +0 -2
  99. package/dist/components/text/text.types.d.ts +1 -2
  100. package/dist/components/theme/theme.d.ts +1 -2
  101. package/dist/components/theme/theme.js +0 -2
  102. package/dist/components/toolbar/toolbar.d.ts +1 -2
  103. package/dist/components/toolbar/toolbar.js +0 -2
  104. package/dist/components/toolbar/toolbar.types.d.ts +1 -2
  105. package/dist/components.d.ts +2 -2
  106. package/dist/surfaces.d.ts +2 -2
  107. package/package.json +24 -8
  108. package/src/components/card/card.tsx +2 -2
  109. package/src/components/card/card.types.ts +3 -0
  110. package/src/components/card/index.ts +1 -0
  111. package/src/components/badge/badge.a11y.ts +0 -15
  112. package/src/components/block/block.a11y.ts +0 -11
  113. package/src/components/container/container.a11y.ts +0 -11
  114. package/src/components/header/header.a11y.ts +0 -11
  115. package/src/components/section/section.a11y.ts +0 -11
  116. package/src/components/separator/separator.a11y.ts +0 -15
  117. 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 };
@@ -14,5 +14,3 @@ function DropdownContent$1(props) {
14
14
  }
15
15
  //#endregion
16
16
  export { DropdownContent$1 as DropdownContent };
17
-
18
- //# sourceMappingURL=dropdown-content.js.map
@@ -2,5 +2,4 @@ import { PageProps } from "./page.types.js";
2
2
  //#region src/components/page/page.d.ts
3
3
  declare function Page(props: PageProps): JSX.Element;
4
4
  //#endregion
5
- export { Page };
6
- //# sourceMappingURL=page.d.ts.map
5
+ export { Page };
@@ -18,5 +18,3 @@ function Page(props) {
18
18
  }
19
19
  //#endregion
20
20
  export { Page };
21
-
22
- //# sourceMappingURL=page.js.map
@@ -3,5 +3,4 @@ import "../main/index.js";
3
3
  //#region src/components/page/page.types.d.ts
4
4
  type PageProps = MainProps;
5
5
  //#endregion
6
- export { PageProps };
7
- //# sourceMappingURL=page.types.d.ts.map
6
+ export { PageProps };
@@ -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 };
@@ -33,5 +33,3 @@ function PageHeader(props) {
33
33
  }
34
34
  //#endregion
35
35
  export { PageHeader };
36
-
37
- //# sourceMappingURL=page-header.js.map
@@ -7,5 +7,4 @@ type PageHeaderProps = BlockDivProps & {
7
7
  actions?: unknown;
8
8
  };
9
9
  //#endregion
10
- export { PageHeaderProps };
11
- //# sourceMappingURL=page-header.types.d.ts.map
10
+ export { PageHeaderProps };
@@ -2,5 +2,4 @@ import { SectionProps } from "./section.types.js";
2
2
  //#region src/components/section/section.d.ts
3
3
  declare function Section(props: SectionProps): JSX.Element;
4
4
  //#endregion
5
- export { Section };
6
- //# sourceMappingURL=section.d.ts.map
5
+ export { Section };
@@ -14,5 +14,3 @@ function Section(props) {
14
14
  }
15
15
  //#endregion
16
16
  export { Section };
17
-
18
- //# sourceMappingURL=section.js.map
@@ -3,5 +3,4 @@ import "../block/index.js";
3
3
  //#region src/components/section/section.types.d.ts
4
4
  type SectionProps = Omit<BlockElementProps<"section">, "as">;
5
5
  //#endregion
6
- export { SectionProps };
7
- //# sourceMappingURL=section.types.d.ts.map
6
+ export { SectionProps };
@@ -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 };
@@ -21,5 +21,3 @@ function Separator(props) {
21
21
  }
22
22
  //#endregion
23
23
  export { Separator };
24
-
25
- //# sourceMappingURL=separator.js.map
@@ -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 };
@@ -33,5 +33,3 @@ function Skeleton(props) {
33
33
  }
34
34
  //#endregion
35
35
  export { Skeleton };
36
-
37
- //# sourceMappingURL=skeleton.js.map
@@ -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 };
@@ -2,5 +2,4 @@ import { SpinnerProps } from "./spinner.types.js";
2
2
  //#region src/components/spinner/spinner.d.ts
3
3
  declare function Spinner(props: SpinnerProps): JSX.Element;
4
4
  //#endregion
5
- export { Spinner };
6
- //# sourceMappingURL=spinner.d.ts.map
5
+ export { Spinner };
@@ -15,5 +15,3 @@ function Spinner(props) {
15
15
  }
16
16
  //#endregion
17
17
  export { Spinner };
18
-
19
- //# sourceMappingURL=spinner.js.map
@@ -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 };
@@ -48,5 +48,3 @@ function StatDescription(props) {
48
48
  }
49
49
  //#endregion
50
50
  export { Stat, StatDescription, StatLabel, StatValue };
51
-
52
- //# sourceMappingURL=stat.js.map
@@ -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,3 @@ function Text(props) {
21
21
  }
22
22
  //#endregion
23
23
  export { Text };
24
-
25
- //# sourceMappingURL=text.js.map
@@ -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 };
@@ -310,5 +310,3 @@ function writeStoredTheme(storageKey, theme) {
310
310
  }
311
311
  //#endregion
312
312
  export { CAT_THEME_NAMES, CAT_THEME_OPTIONS, DEFAULT_THEME_OPTIONS, ThemePicker, ThemeScope, ThemeToggle, resolveThemeToggleIcon, theme };
313
-
314
- //# sourceMappingURL=theme.js.map
@@ -2,5 +2,4 @@ import { ToolbarProps } from "./toolbar.types.js";
2
2
  //#region src/components/toolbar/toolbar.d.ts
3
3
  declare function Toolbar(props: ToolbarProps): JSX.Element;
4
4
  //#endregion
5
- export { Toolbar };
6
- //# sourceMappingURL=toolbar.d.ts.map
5
+ export { Toolbar };
@@ -26,5 +26,3 @@ function Toolbar(props) {
26
26
  }
27
27
  //#endregion
28
28
  export { Toolbar };
29
-
30
- //# sourceMappingURL=toolbar.js.map
@@ -6,5 +6,4 @@ type ToolbarProps = BlockDivProps & {
6
6
  actions?: unknown;
7
7
  };
8
8
  //#endregion
9
- export { ToolbarProps };
10
- //# sourceMappingURL=toolbar.types.d.ts.map
9
+ export { ToolbarProps };
@@ -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 };
@@ -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.12",
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
- ".": "./src/index.css",
38
- "./default": "./src/themes/default/index.css",
39
- "./presets": "./src/themes/presets/index.css",
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": "./src/themes/default/tokens.css",
285
- "./templates/*": "./templates/*",
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": "npm pack --ignore-scripts --dry-run --json",
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 <h3 {...finalProps}>{children}</h3>;
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
 
@@ -16,5 +16,6 @@ export type {
16
16
  CardHeaderProps,
17
17
  CardProps,
18
18
  CardTitleProps,
19
+ CardTitleHeadingTag,
19
20
  CardVariant,
20
21
  } from "./card.types";
@@ -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 BLOCK_A11Y_CONTRACT = {
2
- DATA_ATTRIBUTES: {
3
- slot: "data-slot" as const,
4
- layout: "data-ak-layout" as const,
5
- },
6
- SLOT_VALUES: {
7
- root: "block" as const,
8
- },
9
- } as const;
10
-
11
- export type BlockA11yContract = typeof BLOCK_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;