@nuka-ui/core 1.1.2 → 1.1.3
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 +8 -8
- package/dist/components/Alert/Alert.cjs +1 -1
- package/dist/components/Alert/Alert.cjs.map +1 -1
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Alert/Alert.js +1 -0
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/AppShell/AppShell.cjs +1 -1
- package/dist/components/AppShell/AppShell.cjs.map +1 -1
- package/dist/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/components/AppShell/AppShell.js +1 -0
- package/dist/components/AppShell/AppShell.js.map +1 -1
- package/dist/components/AppShell/AppShellBody.cjs +1 -1
- package/dist/components/AppShell/AppShellBody.cjs.map +1 -1
- package/dist/components/AppShell/AppShellBody.d.ts.map +1 -1
- package/dist/components/AppShell/AppShellBody.js +1 -0
- package/dist/components/AppShell/AppShellBody.js.map +1 -1
- package/dist/components/AppShell/AppShellHeader.cjs +1 -1
- package/dist/components/AppShell/AppShellHeader.cjs.map +1 -1
- package/dist/components/AppShell/AppShellHeader.d.ts.map +1 -1
- package/dist/components/AppShell/AppShellHeader.js +1 -0
- package/dist/components/AppShell/AppShellHeader.js.map +1 -1
- package/dist/components/AppShell/AppShellMain.cjs +1 -1
- package/dist/components/AppShell/AppShellMain.cjs.map +1 -1
- package/dist/components/AppShell/AppShellMain.d.ts.map +1 -1
- package/dist/components/AppShell/AppShellMain.js +1 -0
- package/dist/components/AppShell/AppShellMain.js.map +1 -1
- package/dist/components/AspectRatio/AspectRatio.cjs +1 -1
- package/dist/components/AspectRatio/AspectRatio.cjs.map +1 -1
- package/dist/components/AspectRatio/AspectRatio.d.ts.map +1 -1
- package/dist/components/AspectRatio/AspectRatio.js +1 -0
- package/dist/components/AspectRatio/AspectRatio.js.map +1 -1
- package/dist/components/Badge/Badge.cjs +1 -1
- package/dist/components/Badge/Badge.cjs.map +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +1 -0
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Banner/Banner.cjs +1 -1
- package/dist/components/Banner/Banner.cjs.map +1 -1
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/Banner.js +1 -0
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.cjs +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.cjs.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbEllipsis.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbLink.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbList.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbList.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbList.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbList.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbPage.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbPage.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbPage.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbPage.js +1 -0
- package/dist/components/Breadcrumb/BreadcrumbPage.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbSeparator.cjs +1 -1
- package/dist/components/Breadcrumb/BreadcrumbSeparator.cjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbSeparator.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbSeparator.js +2 -1
- package/dist/components/Breadcrumb/BreadcrumbSeparator.js.map +1 -1
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Card/Card.cjs +1 -1
- package/dist/components/Card/Card.cjs.map +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.js +1 -0
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Chip/Chip.cjs +1 -1
- package/dist/components/Chip/Chip.cjs.map +1 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +1 -0
- package/dist/components/Chip/Chip.js.map +1 -1
- package/dist/components/Code/Code.cjs +1 -1
- package/dist/components/Code/Code.cjs.map +1 -1
- package/dist/components/Code/Code.d.ts.map +1 -1
- package/dist/components/Code/Code.js +1 -0
- package/dist/components/Code/Code.js.map +1 -1
- package/dist/components/CommandMenu/CommandMenuShortcut.cjs +1 -1
- package/dist/components/CommandMenu/CommandMenuShortcut.cjs.map +1 -1
- package/dist/components/CommandMenu/CommandMenuShortcut.d.ts.map +1 -1
- package/dist/components/CommandMenu/CommandMenuShortcut.js +1 -0
- package/dist/components/CommandMenu/CommandMenuShortcut.js.map +1 -1
- package/dist/components/Container/Container.cjs +1 -1
- package/dist/components/Container/Container.cjs.map +1 -1
- package/dist/components/Container/Container.d.ts.map +1 -1
- package/dist/components/Container/Container.js +1 -0
- package/dist/components/Container/Container.js.map +1 -1
- package/dist/components/Divider/Divider.cjs +1 -1
- package/dist/components/Divider/Divider.cjs.map +1 -1
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Divider/Divider.js +1 -0
- package/dist/components/Divider/Divider.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.cjs +1 -1
- package/dist/components/EmptyState/EmptyState.cjs.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.js +1 -0
- package/dist/components/EmptyState/EmptyState.js.map +1 -1
- package/dist/components/Eyebrow/Eyebrow.cjs +1 -1
- package/dist/components/Eyebrow/Eyebrow.cjs.map +1 -1
- package/dist/components/Eyebrow/Eyebrow.d.ts.map +1 -1
- package/dist/components/Eyebrow/Eyebrow.js +1 -0
- package/dist/components/Eyebrow/Eyebrow.js.map +1 -1
- package/dist/components/Grid/Grid.cjs +1 -1
- package/dist/components/Grid/Grid.cjs.map +1 -1
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Grid/Grid.js +1 -0
- package/dist/components/Grid/Grid.js.map +1 -1
- package/dist/components/Heading/Heading.cjs +1 -1
- package/dist/components/Heading/Heading.cjs.map +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/Heading/Heading.js +1 -0
- package/dist/components/Heading/Heading.js.map +1 -1
- package/dist/components/Icon/Icon.cjs +1 -1
- package/dist/components/Icon/Icon.cjs.map +1 -1
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/Kbd/Kbd.cjs +1 -1
- package/dist/components/Kbd/Kbd.cjs.map +1 -1
- package/dist/components/Kbd/Kbd.d.ts.map +1 -1
- package/dist/components/Kbd/Kbd.js +1 -0
- package/dist/components/Kbd/Kbd.js.map +1 -1
- package/dist/components/Menu/MenuCheckboxItemBase.cjs +1 -1
- package/dist/components/Menu/MenuCheckboxItemBase.cjs.map +1 -1
- package/dist/components/Menu/MenuCheckboxItemBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuCheckboxItemBase.js +1 -0
- package/dist/components/Menu/MenuCheckboxItemBase.js.map +1 -1
- package/dist/components/Menu/MenuContentBase.cjs +1 -1
- package/dist/components/Menu/MenuContentBase.cjs.map +1 -1
- package/dist/components/Menu/MenuContentBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuContentBase.js +1 -0
- package/dist/components/Menu/MenuContentBase.js.map +1 -1
- package/dist/components/Menu/MenuItemBase.cjs +1 -1
- package/dist/components/Menu/MenuItemBase.cjs.map +1 -1
- package/dist/components/Menu/MenuItemBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuItemBase.js +1 -0
- package/dist/components/Menu/MenuItemBase.js.map +1 -1
- package/dist/components/Menu/MenuLabelBase.cjs +1 -1
- package/dist/components/Menu/MenuLabelBase.cjs.map +1 -1
- package/dist/components/Menu/MenuLabelBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuLabelBase.js +1 -0
- package/dist/components/Menu/MenuLabelBase.js.map +1 -1
- package/dist/components/Menu/MenuRadioGroupBase.cjs +1 -1
- package/dist/components/Menu/MenuRadioGroupBase.cjs.map +1 -1
- package/dist/components/Menu/MenuRadioGroupBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuRadioGroupBase.js +1 -0
- package/dist/components/Menu/MenuRadioGroupBase.js.map +1 -1
- package/dist/components/Menu/MenuRadioItemBase.cjs +1 -1
- package/dist/components/Menu/MenuRadioItemBase.cjs.map +1 -1
- package/dist/components/Menu/MenuRadioItemBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuRadioItemBase.js +1 -0
- package/dist/components/Menu/MenuRadioItemBase.js.map +1 -1
- package/dist/components/Menu/MenuSeparatorBase.cjs +1 -1
- package/dist/components/Menu/MenuSeparatorBase.cjs.map +1 -1
- package/dist/components/Menu/MenuSeparatorBase.d.ts.map +1 -1
- package/dist/components/Menu/MenuSeparatorBase.js +1 -0
- package/dist/components/Menu/MenuSeparatorBase.js.map +1 -1
- package/dist/components/Nav/Nav.cjs +1 -1
- package/dist/components/Nav/Nav.cjs.map +1 -1
- package/dist/components/Nav/Nav.d.ts.map +1 -1
- package/dist/components/Nav/Nav.js +1 -0
- package/dist/components/Nav/Nav.js.map +1 -1
- package/dist/components/Nav/NavItem.cjs +1 -1
- package/dist/components/Nav/NavItem.cjs.map +1 -1
- package/dist/components/Nav/NavItem.d.ts.map +1 -1
- package/dist/components/Nav/NavItem.js +1 -0
- package/dist/components/Nav/NavItem.js.map +1 -1
- package/dist/components/Nav/NavLink.cjs +1 -1
- package/dist/components/Nav/NavLink.cjs.map +1 -1
- package/dist/components/Nav/NavLink.d.ts.map +1 -1
- package/dist/components/Nav/NavLink.js +1 -0
- package/dist/components/Nav/NavLink.js.map +1 -1
- package/dist/components/Nav/NavList.cjs +1 -1
- package/dist/components/Nav/NavList.cjs.map +1 -1
- package/dist/components/Nav/NavList.d.ts.map +1 -1
- package/dist/components/Nav/NavList.js +1 -0
- package/dist/components/Nav/NavList.js.map +1 -1
- package/dist/components/Nav/NavSubmenu.cjs +1 -1
- package/dist/components/Nav/NavSubmenu.cjs.map +1 -1
- package/dist/components/Nav/NavSubmenu.d.ts.map +1 -1
- package/dist/components/Nav/NavSubmenu.js +1 -0
- package/dist/components/Nav/NavSubmenu.js.map +1 -1
- package/dist/components/Nav/NavTrigger.cjs +1 -1
- package/dist/components/Nav/NavTrigger.cjs.map +1 -1
- package/dist/components/Nav/NavTrigger.d.ts.map +1 -1
- package/dist/components/Nav/NavTrigger.js +1 -0
- package/dist/components/Nav/NavTrigger.js.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenuList.cjs +1 -1
- package/dist/components/NavigationMenu/NavigationMenuList.cjs.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenuList.d.ts.map +1 -1
- package/dist/components/NavigationMenu/NavigationMenuList.js +1 -0
- package/dist/components/NavigationMenu/NavigationMenuList.js.map +1 -1
- package/dist/components/Pagination/Pagination.cjs +1 -1
- package/dist/components/Pagination/Pagination.cjs.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.js +1 -0
- package/dist/components/Pagination/Pagination.js.map +1 -1
- package/dist/components/Pagination/PaginationContent.cjs +1 -1
- package/dist/components/Pagination/PaginationContent.cjs.map +1 -1
- package/dist/components/Pagination/PaginationContent.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationContent.js +1 -0
- package/dist/components/Pagination/PaginationContent.js.map +1 -1
- package/dist/components/Pagination/PaginationEllipsis.cjs +1 -1
- package/dist/components/Pagination/PaginationEllipsis.cjs.map +1 -1
- package/dist/components/Pagination/PaginationEllipsis.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationEllipsis.js +1 -0
- package/dist/components/Pagination/PaginationEllipsis.js.map +1 -1
- package/dist/components/Pagination/PaginationItem.cjs +1 -1
- package/dist/components/Pagination/PaginationItem.cjs.map +1 -1
- package/dist/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationItem.js +1 -0
- package/dist/components/Pagination/PaginationItem.js.map +1 -1
- package/dist/components/Pagination/PaginationLink.cjs +1 -1
- package/dist/components/Pagination/PaginationLink.cjs.map +1 -1
- package/dist/components/Pagination/PaginationLink.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationLink.js +1 -0
- package/dist/components/Pagination/PaginationLink.js.map +1 -1
- package/dist/components/Pagination/PaginationNext.cjs +1 -1
- package/dist/components/Pagination/PaginationNext.cjs.map +1 -1
- package/dist/components/Pagination/PaginationNext.d.ts +8 -1
- package/dist/components/Pagination/PaginationNext.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationNext.js +18 -18
- package/dist/components/Pagination/PaginationNext.js.map +1 -1
- package/dist/components/Pagination/PaginationPrevious.cjs +1 -1
- package/dist/components/Pagination/PaginationPrevious.cjs.map +1 -1
- package/dist/components/Pagination/PaginationPrevious.d.ts +8 -1
- package/dist/components/Pagination/PaginationPrevious.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationPrevious.js +18 -18
- package/dist/components/Pagination/PaginationPrevious.js.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.cjs +1 -1
- package/dist/components/ScrollArea/ScrollArea.cjs.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/components/ScrollArea/ScrollArea.js +1 -0
- package/dist/components/ScrollArea/ScrollArea.js.map +1 -1
- package/dist/components/Section/Section.cjs +1 -1
- package/dist/components/Section/Section.cjs.map +1 -1
- package/dist/components/Section/Section.d.ts.map +1 -1
- package/dist/components/Section/Section.js +1 -0
- package/dist/components/Section/Section.js.map +1 -1
- package/dist/components/Skeleton/Skeleton.cjs +1 -1
- package/dist/components/Skeleton/Skeleton.cjs.map +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -0
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/SkipLink/SkipLink.cjs +1 -1
- package/dist/components/SkipLink/SkipLink.cjs.map +1 -1
- package/dist/components/SkipLink/SkipLink.d.ts.map +1 -1
- package/dist/components/SkipLink/SkipLink.js +1 -0
- package/dist/components/SkipLink/SkipLink.js.map +1 -1
- package/dist/components/Spinner/Spinner.cjs +1 -1
- package/dist/components/Spinner/Spinner.cjs.map +1 -1
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.js +1 -0
- package/dist/components/Spinner/Spinner.js.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.cjs +1 -1
- package/dist/components/SplitLayout/SplitLayout.cjs.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.d.ts.map +1 -1
- package/dist/components/SplitLayout/SplitLayout.js +1 -0
- package/dist/components/SplitLayout/SplitLayout.js.map +1 -1
- package/dist/components/Stack/Stack.cjs +1 -1
- package/dist/components/Stack/Stack.cjs.map +1 -1
- package/dist/components/Stack/Stack.d.ts.map +1 -1
- package/dist/components/Stack/Stack.js +1 -0
- package/dist/components/Stack/Stack.js.map +1 -1
- package/dist/components/Table/TableBody.cjs +1 -1
- package/dist/components/Table/TableBody.cjs.map +1 -1
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableBody.js +1 -0
- package/dist/components/Table/TableBody.js.map +1 -1
- package/dist/components/Table/TableFooter.cjs +1 -1
- package/dist/components/Table/TableFooter.cjs.map +1 -1
- package/dist/components/Table/TableFooter.d.ts.map +1 -1
- package/dist/components/Table/TableFooter.js +1 -0
- package/dist/components/Table/TableFooter.js.map +1 -1
- package/dist/components/Table/TableHeader.cjs +1 -1
- package/dist/components/Table/TableHeader.cjs.map +1 -1
- package/dist/components/Table/TableHeader.d.ts.map +1 -1
- package/dist/components/Table/TableHeader.js +1 -0
- package/dist/components/Table/TableHeader.js.map +1 -1
- package/dist/components/Table/TableRow.cjs +1 -1
- package/dist/components/Table/TableRow.cjs.map +1 -1
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Table/TableRow.js +1 -0
- package/dist/components/Table/TableRow.js.map +1 -1
- package/dist/components/Tag/Tag.cjs +1 -1
- package/dist/components/Tag/Tag.cjs.map +1 -1
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +1 -0
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Text/Text.cjs +1 -1
- package/dist/components/Text/Text.cjs.map +1 -1
- package/dist/components/Text/Text.d.ts.map +1 -1
- package/dist/components/Text/Text.js +1 -0
- package/dist/components/Text/Text.js.map +1 -1
- package/dist/components/Textarea/Textarea.cjs +1 -1
- package/dist/components/Textarea/Textarea.cjs.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +1 -0
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/components/Timeline/Timeline.cjs +1 -1
- package/dist/components/Timeline/Timeline.cjs.map +1 -1
- package/dist/components/Timeline/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.js +1 -0
- package/dist/components/Timeline/Timeline.js.map +1 -1
- package/dist/components/Timeline/TimelineItem.cjs +1 -1
- package/dist/components/Timeline/TimelineItem.cjs.map +1 -1
- package/dist/components/Timeline/TimelineItem.d.ts.map +1 -1
- package/dist/components/Timeline/TimelineItem.js +1 -0
- package/dist/components/Timeline/TimelineItem.js.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +1 -0
- package/dist/components/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/dist/styles-root.css +1 -0
- package/dist/utils/dismiss-button.cjs +1 -1
- package/dist/utils/dismiss-button.cjs.map +1 -1
- package/dist/utils/dismiss-button.d.ts.map +1 -1
- package/dist/utils/dismiss-button.js +1 -0
- package/dist/utils/dismiss-button.js.map +1 -1
- package/dist/utils/slot.cjs +1 -1
- package/dist/utils/slot.cjs.map +1 -1
- package/dist/utils/slot.d.ts.map +1 -1
- package/dist/utils/slot.js +1 -0
- package/dist/utils/slot.js.map +1 -1
- package/package.json +8 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`./menuItemVariants.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,className:r,...a}){return(0,i.jsx)(`div`,{ref:e,role:`separator`,className:t.cn(n.menuSeparatorVariants(),r),...a})}a.displayName=`MenuSeparatorBase`,exports.MenuSeparatorBase=a;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`./menuItemVariants.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,className:r,...a}){return(0,i.jsx)(`div`,{ref:e,role:`separator`,className:t.cn(n.menuSeparatorVariants(),r),...a})}a.displayName=`MenuSeparatorBase`,exports.MenuSeparatorBase=a;
|
|
2
2
|
//# sourceMappingURL=MenuSeparatorBase.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSeparatorBase.cjs","names":[],"sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"MenuSeparatorBase.cjs","names":[],"sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\nimport { menuSeparatorVariants } from \"@nuka/components/Menu/menuItemVariants\";\n\ninterface MenuSeparatorBaseProps extends React.HTMLAttributes<HTMLDivElement> {\n ref?: React.Ref<HTMLDivElement> | undefined;\n}\n\nfunction MenuSeparatorBase({\n ref,\n className,\n ...props\n}: MenuSeparatorBaseProps) {\n return (\n <div\n ref={ref}\n role=\"separator\"\n className={cn(menuSeparatorVariants(), className)}\n {...props}\n />\n );\n}\n\nMenuSeparatorBase.displayName = \"MenuSeparatorBase\";\n\nexport { MenuSeparatorBase };\n"],"mappings":"oNAUA,SAAS,EAAkB,CACzB,MACA,YACA,GAAG,GACsB,CACzB,OACE,EAAA,EAAA,KAAC,MAAD,CACO,MACL,KAAK,YACL,UAAW,EAAA,GAAG,EAAA,uBAAuB,CAAE,EAAU,CACjD,GAAI,EACJ,CAAA,CAIN,EAAkB,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSeparatorBase.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MenuSeparatorBase.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC3E,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;CAC7C;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CASxB;kBAbQ,iBAAiB;;;AAiB1B,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuSeparatorBase.js","names":[],"sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"MenuSeparatorBase.js","names":[],"sources":["../../../src/components/Menu/MenuSeparatorBase.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\nimport { menuSeparatorVariants } from \"@nuka/components/Menu/menuItemVariants\";\n\ninterface MenuSeparatorBaseProps extends React.HTMLAttributes<HTMLDivElement> {\n ref?: React.Ref<HTMLDivElement> | undefined;\n}\n\nfunction MenuSeparatorBase({\n ref,\n className,\n ...props\n}: MenuSeparatorBaseProps) {\n return (\n <div\n ref={ref}\n role=\"separator\"\n className={cn(menuSeparatorVariants(), className)}\n {...props}\n />\n );\n}\n\nMenuSeparatorBase.displayName = \"MenuSeparatorBase\";\n\nexport { MenuSeparatorBase };\n"],"mappings":";;;;;;AAUA,SAAS,EAAkB,EACzB,QACA,cACA,GAAG,KACsB;AACzB,QACE,kBAAC,OAAD;EACO;EACL,MAAK;EACL,WAAW,EAAG,GAAuB,EAAE,EAAU;EACjD,GAAI;EACJ,CAAA;;AAIN,EAAkB,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`react`);t=e.__toESM(t,1);let n=require(`react/jsx-runtime`);function r({ref:e,"aria-label":t=`Main navigation`,...r}){return(0,n.jsx)(`nav`,{ref:e,"aria-label":t,...r})}r.displayName=`Nav`,exports.Nav=r;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`react`);t=e.__toESM(t,1);let n=require(`react/jsx-runtime`);function r({ref:e,"aria-label":t=`Main navigation`,...r}){return(0,n.jsx)(`nav`,{ref:e,"aria-label":t,...r})}r.displayName=`Nav`,exports.Nav=r;
|
|
2
2
|
//# sourceMappingURL=Nav.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.cjs","names":[],"sources":["../../../src/components/Nav/Nav.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Nav.cjs","names":[],"sources":["../../../src/components/Nav/Nav.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nexport interface NavProps extends React.HTMLAttributes<HTMLElement> {\n ref?: React.Ref<HTMLElement> | undefined;\n \"aria-label\"?: string;\n}\n\nfunction Nav({\n ref,\n \"aria-label\": ariaLabel = \"Main navigation\",\n ...props\n}: NavProps) {\n return <nav ref={ref} aria-label={ariaLabel} {...props} />;\n}\n\nNav.displayName = \"Nav\";\n\nexport { Nav };\n"],"mappings":"gJASA,SAAS,EAAI,CACX,MACA,aAAc,EAAY,kBAC1B,GAAG,GACQ,CACX,OAAO,EAAA,EAAA,KAAC,MAAD,CAAU,MAAK,aAAY,EAAW,GAAI,EAAS,CAAA,CAG5D,EAAI,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/Nav.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/Nav.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACjE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,GAAG,CAAC,EACX,GAAG,EACH,YAAY,EAAE,SAA6B,EAC3C,GAAG,KAAK,EACT,EAAE,QAAQ,2CAEV;kBANQ,GAAG;;;AAUZ,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.js","names":[],"sources":["../../../src/components/Nav/Nav.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Nav.js","names":[],"sources":["../../../src/components/Nav/Nav.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nexport interface NavProps extends React.HTMLAttributes<HTMLElement> {\n ref?: React.Ref<HTMLElement> | undefined;\n \"aria-label\"?: string;\n}\n\nfunction Nav({\n ref,\n \"aria-label\": ariaLabel = \"Main navigation\",\n ...props\n}: NavProps) {\n return <nav ref={ref} aria-label={ariaLabel} {...props} />;\n}\n\nNav.displayName = \"Nav\";\n\nexport { Nav };\n"],"mappings":";;;;AASA,SAAS,EAAI,EACX,QACA,cAAc,IAAY,mBAC1B,GAAG,KACQ;AACX,QAAO,kBAAC,OAAD;EAAU;EAAK,cAAY;EAAW,GAAI;EAAS,CAAA;;AAG5D,EAAI,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,hasSubmenu:n,className:i,...a}){return(0,r.jsx)(`li`,{ref:e,className:t.cn(`relative group list-none`,i),...a})}i.displayName=`NavItem`,exports.NavItem=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,hasSubmenu:n,className:i,...a}){return(0,r.jsx)(`li`,{ref:e,className:t.cn(`relative group list-none`,i),...a})}i.displayName=`NavItem`,exports.NavItem=i;
|
|
2
2
|
//# sourceMappingURL=NavItem.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.cjs","names":[],"sources":["../../../src/components/Nav/NavItem.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavItem.cjs","names":[],"sources":["../../../src/components/Nav/NavItem.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n ref?: React.Ref<HTMLLIElement> | undefined;\n hasSubmenu?: boolean;\n}\n\nfunction NavItem({\n ref,\n hasSubmenu: _hasSubmenu,\n className,\n ...props\n}: NavItemProps) {\n return (\n <li\n ref={ref}\n className={cn(\"relative group list-none\", className)}\n {...props}\n />\n );\n}\n\nNavItem.displayName = \"NavItem\";\n\nexport { NavItem };\n"],"mappings":"gLAUA,SAAS,EAAQ,CACf,MACA,WAAY,EACZ,YACA,GAAG,GACY,CACf,OACE,EAAA,EAAA,KAAC,KAAD,CACO,MACL,UAAW,EAAA,GAAG,2BAA4B,EAAU,CACpD,GAAI,EACJ,CAAA,CAIN,EAAQ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavItem.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IACzE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,EACH,UAAU,EAAE,WAAW,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CAQd;kBAbQ,OAAO;;;AAiBhB,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavItem.js","names":[],"sources":["../../../src/components/Nav/NavItem.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavItem.js","names":[],"sources":["../../../src/components/Nav/NavItem.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n ref?: React.Ref<HTMLLIElement> | undefined;\n hasSubmenu?: boolean;\n}\n\nfunction NavItem({\n ref,\n hasSubmenu: _hasSubmenu,\n className,\n ...props\n}: NavItemProps) {\n return (\n <li\n ref={ref}\n className={cn(\"relative group list-none\", className)}\n {...props}\n />\n );\n}\n\nNavItem.displayName = \"NavItem\";\n\nexport { NavItem };\n"],"mappings":";;;;;AAUA,SAAS,EAAQ,EACf,QACA,YAAY,GACZ,cACA,GAAG,KACY;AACf,QACE,kBAAC,MAAD;EACO;EACL,WAAW,EAAG,4BAA4B,EAAU;EACpD,GAAI;EACJ,CAAA;;AAIN,EAAQ,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`../../utils/slot.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,asChild:r=!1,active:a=!1,className:o,...s}){return(0,i.jsx)(r?n.Slot:`a`,{ref:e,"aria-current":a?`page`:void 0,className:t.cn(`flex items-center`,`rounded-(--radius-md) px-(--space-3) py-(--space-2)`,`text-sm font-medium`,`text-(--nuka-text-base)`,`select-none`,`hover:bg-(--nuka-bg-muted)`,`focus-visible:outline-2 focus-visible:outline-offset-2`,`focus-visible:outline-(--nuka-border-focus)`,a&&`text-(--nuka-accent-text)`,o),...s})}a.displayName=`NavLink`,exports.NavLink=a;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`../../utils/slot.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,asChild:r=!1,active:a=!1,className:o,...s}){return(0,i.jsx)(r?n.Slot:`a`,{ref:e,"aria-current":a?`page`:void 0,className:t.cn(`flex items-center`,`rounded-(--radius-md) px-(--space-3) py-(--space-2)`,`text-sm font-medium`,`text-(--nuka-text-base)`,`select-none`,`hover:bg-(--nuka-bg-muted)`,`focus-visible:outline-2 focus-visible:outline-offset-2`,`focus-visible:outline-(--nuka-border-focus)`,a&&`text-(--nuka-accent-text)`,o),...s})}a.displayName=`NavLink`,exports.NavLink=a;
|
|
2
2
|
//# sourceMappingURL=NavLink.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLink.cjs","names":[],"sources":["../../../src/components/Nav/NavLink.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavLink.cjs","names":[],"sources":["../../../src/components/Nav/NavLink.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n ref?: React.Ref<HTMLAnchorElement> | undefined;\n asChild?: boolean;\n active?: boolean;\n}\n\nfunction NavLink({\n ref,\n asChild = false,\n active = false,\n className,\n ...props\n}: NavLinkProps) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n ref={ref}\n aria-current={active ? \"page\" : undefined}\n className={cn(\n \"flex items-center\",\n \"rounded-(--radius-md) px-(--space-3) py-(--space-2)\",\n \"text-sm font-medium\",\n \"text-(--nuka-text-base)\",\n \"select-none\",\n \"hover:bg-(--nuka-bg-muted)\",\n \"focus-visible:outline-2 focus-visible:outline-offset-2\",\n \"focus-visible:outline-(--nuka-border-focus)\",\n active && \"text-(--nuka-accent-text)\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavLink.displayName = \"NavLink\";\n\nexport { NavLink };\n"],"mappings":"kNAYA,SAAS,EAAQ,CACf,MACA,UAAU,GACV,SAAS,GACT,YACA,GAAG,GACY,CAGf,OACE,EAAA,EAAA,KAHW,EAAU,EAAA,KAAO,IAG5B,CACO,MACL,eAAc,EAAS,OAAS,IAAA,GAChC,UAAW,EAAA,GACT,oBACA,sDACA,sBACA,0BACA,cACA,6BACA,yDACA,8CACA,GAAU,4BACV,EACD,CACD,GAAI,EACJ,CAAA,CAIN,EAAQ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLink.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavLink.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavLink.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACjF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,EACH,OAAe,EACf,MAAc,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,2CAsBd;kBA5BQ,OAAO;;;AAgChB,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLink.js","names":[],"sources":["../../../src/components/Nav/NavLink.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavLink.js","names":[],"sources":["../../../src/components/Nav/NavLink.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n ref?: React.Ref<HTMLAnchorElement> | undefined;\n asChild?: boolean;\n active?: boolean;\n}\n\nfunction NavLink({\n ref,\n asChild = false,\n active = false,\n className,\n ...props\n}: NavLinkProps) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Comp\n ref={ref}\n aria-current={active ? \"page\" : undefined}\n className={cn(\n \"flex items-center\",\n \"rounded-(--radius-md) px-(--space-3) py-(--space-2)\",\n \"text-sm font-medium\",\n \"text-(--nuka-text-base)\",\n \"select-none\",\n \"hover:bg-(--nuka-bg-muted)\",\n \"focus-visible:outline-2 focus-visible:outline-offset-2\",\n \"focus-visible:outline-(--nuka-border-focus)\",\n active && \"text-(--nuka-accent-text)\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavLink.displayName = \"NavLink\";\n\nexport { NavLink };\n"],"mappings":";;;;;;AAYA,SAAS,EAAQ,EACf,QACA,aAAU,IACV,YAAS,IACT,cACA,GAAG,KACY;AAGf,QACE,kBAHW,IAAU,IAAO,KAG5B;EACO;EACL,gBAAc,IAAS,SAAS,KAAA;EAChC,WAAW,EACT,qBACA,uDACA,uBACA,2BACA,eACA,8BACA,0DACA,+CACA,KAAU,6BACV,EACD;EACD,GAAI;EACJ,CAAA;;AAIN,EAAQ,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center list-none gap-(--space-1)`,n),...i})}i.displayName=`NavList`,exports.NavList=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center list-none gap-(--space-1)`,n),...i})}i.displayName=`NavList`,exports.NavList=i;
|
|
2
2
|
//# sourceMappingURL=NavList.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavList.cjs","names":[],"sources":["../../../src/components/Nav/NavList.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavList.cjs","names":[],"sources":["../../../src/components/Nav/NavList.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavListProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction NavList({ ref, className, ...props }: NavListProps) {\n return (\n <ul\n ref={ref}\n className={cn(\"flex items-center list-none gap-(--space-1)\", className)}\n {...props}\n />\n );\n}\n\nNavList.displayName = \"NavList\";\n\nexport { NavList };\n"],"mappings":"gLASA,SAAS,EAAQ,CAAE,MAAK,YAAW,GAAG,GAAuB,CAC3D,OACE,EAAA,EAAA,KAAC,KAAD,CACO,MACL,UAAW,EAAA,GAAG,8CAA+C,EAAU,CACvE,GAAI,EACJ,CAAA,CAIN,EAAQ,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavList.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAC1E,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC/C;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAQ1D;kBARQ,OAAO;;;AAYhB,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavList.js","names":[],"sources":["../../../src/components/Nav/NavList.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavList.js","names":[],"sources":["../../../src/components/Nav/NavList.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavListProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction NavList({ ref, className, ...props }: NavListProps) {\n return (\n <ul\n ref={ref}\n className={cn(\"flex items-center list-none gap-(--space-1)\", className)}\n {...props}\n />\n );\n}\n\nNavList.displayName = \"NavList\";\n\nexport { NavList };\n"],"mappings":";;;;;AASA,SAAS,EAAQ,EAAE,QAAK,cAAW,GAAG,KAAuB;AAC3D,QACE,kBAAC,MAAD;EACO;EACL,WAAW,EAAG,+CAA+C,EAAU;EACvE,GAAI;EACJ,CAAA;;AAIN,EAAQ,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,align:n=`start`,className:i,...a}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`absolute top-10`,n===`start`?`left-0`:`right-0`,`hidden group-hover:block group-focus-within:block`,`min-w-48`,`rounded-(--radius-md) border border-(--nuka-border-base)`,`bg-(--nuka-bg-base) shadow-(--nuka-shadow-overlay)`,`z-(--nuka-z-dropdown)`,`list-none`,`py-(--space-1)`,i),...a})}i.displayName=`NavSubmenu`,exports.NavSubmenu=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,align:n=`start`,className:i,...a}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`absolute top-10`,n===`start`?`left-0`:`right-0`,`hidden group-hover:block group-focus-within:block`,`min-w-48`,`rounded-(--radius-md) border border-(--nuka-border-base)`,`bg-(--nuka-bg-base) shadow-(--nuka-shadow-overlay)`,`z-(--nuka-z-dropdown)`,`list-none`,`py-(--space-1)`,i),...a})}i.displayName=`NavSubmenu`,exports.NavSubmenu=i;
|
|
2
2
|
//# sourceMappingURL=NavSubmenu.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavSubmenu.cjs","names":[],"sources":["../../../src/components/Nav/NavSubmenu.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavSubmenu.cjs","names":[],"sources":["../../../src/components/Nav/NavSubmenu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavSubmenuProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n align?: \"start\" | \"end\";\n}\n\nfunction NavSubmenu({\n ref,\n align = \"start\",\n className,\n ...props\n}: NavSubmenuProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"absolute top-10\",\n align === \"start\" ? \"left-0\" : \"right-0\",\n \"hidden group-hover:block group-focus-within:block\",\n \"min-w-48\",\n \"rounded-(--radius-md) border border-(--nuka-border-base)\",\n \"bg-(--nuka-bg-base) shadow-(--nuka-shadow-overlay)\",\n \"z-(--nuka-z-dropdown)\",\n \"list-none\",\n \"py-(--space-1)\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavSubmenu.displayName = \"NavSubmenu\";\n\nexport { NavSubmenu };\n"],"mappings":"gLAUA,SAAS,EAAW,CAClB,MACA,QAAQ,QACR,YACA,GAAG,GACe,CAClB,OACE,EAAA,EAAA,KAAC,KAAD,CACO,MACL,UAAW,EAAA,GACT,kBACA,IAAU,QAAU,SAAW,UAC/B,oDACA,WACA,2DACA,qDACA,wBACA,YACA,iBACA,EACD,CACD,GAAI,EACJ,CAAA,CAIN,EAAW,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavSubmenu.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavSubmenu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavSubmenu.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavSubmenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAC7E,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IAC9C,KAAK,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;CACzB;AAED,iBAAS,UAAU,CAAC,EAClB,GAAG,EACH,KAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAmBjB;kBAxBQ,UAAU;;;AA4BnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavSubmenu.js","names":[],"sources":["../../../src/components/Nav/NavSubmenu.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavSubmenu.js","names":[],"sources":["../../../src/components/Nav/NavSubmenu.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavSubmenuProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n align?: \"start\" | \"end\";\n}\n\nfunction NavSubmenu({\n ref,\n align = \"start\",\n className,\n ...props\n}: NavSubmenuProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"absolute top-10\",\n align === \"start\" ? \"left-0\" : \"right-0\",\n \"hidden group-hover:block group-focus-within:block\",\n \"min-w-48\",\n \"rounded-(--radius-md) border border-(--nuka-border-base)\",\n \"bg-(--nuka-bg-base) shadow-(--nuka-shadow-overlay)\",\n \"z-(--nuka-z-dropdown)\",\n \"list-none\",\n \"py-(--space-1)\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavSubmenu.displayName = \"NavSubmenu\";\n\nexport { NavSubmenu };\n"],"mappings":";;;;;AAUA,SAAS,EAAW,EAClB,QACA,WAAQ,SACR,cACA,GAAG,KACe;AAClB,QACE,kBAAC,MAAD;EACO;EACL,WAAW,EACT,mBACA,MAAU,UAAU,WAAW,WAC/B,qDACA,YACA,4DACA,sDACA,yBACA,aACA,kBACA,EACD;EACD,GAAI;EACJ,CAAA;;AAIN,EAAW,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`../../utils/slot.cjs`),r=require(`../Icon/Icon.cjs`);let i=require(`react`);i=e.__toESM(i,1);let a=require(`react/jsx-runtime`);var o=(0,a.jsx)(r.Icon,{size:`sm`,children:(0,a.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m6 9 6 6 6-6`})})}),s=[`inline-flex items-center gap-(--space-1)`,`rounded-(--radius-md) px-(--space-3) py-(--space-2)`,`text-sm font-medium`,`text-(--nuka-text-base)`,`select-none`,`hover:bg-(--nuka-bg-muted)`,`focus-visible:outline-2 focus-visible:outline-offset-2`,`focus-visible:outline-(--nuka-border-focus)`];function c({ref:e,asChild:r=!1,className:i,children:c,...l}){return r?(0,a.jsx)(n.Slot,{ref:e,type:`button`,"aria-haspopup":`true`,className:t.cn(...s,i),...l,children:c}):(0,a.jsxs)(`button`,{ref:e,type:`button`,"aria-haspopup":`true`,className:t.cn(...s,i),...l,children:[c,o]})}c.displayName=`NavTrigger`,exports.NavTrigger=c;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`),n=require(`../../utils/slot.cjs`),r=require(`../Icon/Icon.cjs`);let i=require(`react`);i=e.__toESM(i,1);let a=require(`react/jsx-runtime`);var o=(0,a.jsx)(r.Icon,{size:`sm`,children:(0,a.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m6 9 6 6 6-6`})})}),s=[`inline-flex items-center gap-(--space-1)`,`rounded-(--radius-md) px-(--space-3) py-(--space-2)`,`text-sm font-medium`,`text-(--nuka-text-base)`,`select-none`,`hover:bg-(--nuka-bg-muted)`,`focus-visible:outline-2 focus-visible:outline-offset-2`,`focus-visible:outline-(--nuka-border-focus)`];function c({ref:e,asChild:r=!1,className:i,children:c,...l}){return r?(0,a.jsx)(n.Slot,{ref:e,type:`button`,"aria-haspopup":`true`,className:t.cn(...s,i),...l,children:c}):(0,a.jsxs)(`button`,{ref:e,type:`button`,"aria-haspopup":`true`,className:t.cn(...s,i),...l,children:[c,o]})}c.displayName=`NavTrigger`,exports.NavTrigger=c;
|
|
2
2
|
//# sourceMappingURL=NavTrigger.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTrigger.cjs","names":[],"sources":["../../../src/components/Nav/NavTrigger.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavTrigger.cjs","names":[],"sources":["../../../src/components/Nav/NavTrigger.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { cn } from \"@nuka/utils/cn\";\nimport { Icon } from \"@nuka/components/Icon\";\n\nexport interface NavTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n ref?: React.Ref<HTMLButtonElement> | undefined;\n asChild?: boolean;\n}\n\nconst chevron = (\n <Icon size=\"sm\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </Icon>\n);\n\nconst triggerClasses = [\n \"inline-flex items-center gap-(--space-1)\",\n \"rounded-(--radius-md) px-(--space-3) py-(--space-2)\",\n \"text-sm font-medium\",\n \"text-(--nuka-text-base)\",\n \"select-none\",\n \"hover:bg-(--nuka-bg-muted)\",\n \"focus-visible:outline-2 focus-visible:outline-offset-2\",\n \"focus-visible:outline-(--nuka-border-focus)\",\n] as const;\n\nfunction NavTrigger({\n ref,\n asChild = false,\n className,\n children,\n ...props\n}: NavTriggerProps) {\n if (asChild) {\n return (\n <Slot\n ref={ref}\n type=\"button\"\n aria-haspopup=\"true\"\n className={cn(...triggerClasses, className)}\n {...props}\n >\n {children}\n </Slot>\n );\n }\n\n return (\n <button\n ref={ref}\n type=\"button\"\n aria-haspopup=\"true\"\n className={cn(...triggerClasses, className)}\n {...props}\n >\n {children}\n {chevron}\n </button>\n );\n}\n\nNavTrigger.displayName = \"NavTrigger\";\n\nexport { NavTrigger };\n"],"mappings":"gPAYA,IAAM,GACJ,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,eACT,EAAA,EAAA,KAAC,MAAD,CACE,MAAM,6BACN,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAY,IACZ,cAAc,QACd,eAAe,kBAEf,EAAA,EAAA,KAAC,OAAD,CAAM,EAAE,eAAiB,CAAA,CACrB,CAAA,CACD,CAAA,CAGH,EAAiB,CACrB,2CACA,sDACA,sBACA,0BACA,cACA,6BACA,yDACA,8CACD,CAED,SAAS,EAAW,CAClB,MACA,UAAU,GACV,YACA,WACA,GAAG,GACe,CAelB,OAdI,GAEA,EAAA,EAAA,KAAC,EAAA,KAAD,CACO,MACL,KAAK,SACL,gBAAc,OACd,UAAW,EAAA,GAAG,GAAG,EAAgB,EAAU,CAC3C,GAAI,EAEH,WACI,CAAA,EAKT,EAAA,EAAA,MAAC,SAAD,CACO,MACL,KAAK,SACL,gBAAc,OACd,UAAW,EAAA,GAAG,GAAG,EAAgB,EAAU,CAC3C,GAAI,WALN,CAOG,EACA,EACM,GAIb,EAAW,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Nav/NavTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACpF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA6BD,iBAAS,UAAU,CAAC,EAClB,GAAG,EACH,OAAe,EACf,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,2CA2BjB;kBAjCQ,UAAU;;;AAqCnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTrigger.js","names":[],"sources":["../../../src/components/Nav/NavTrigger.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavTrigger.js","names":[],"sources":["../../../src/components/Nav/NavTrigger.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { cn } from \"@nuka/utils/cn\";\nimport { Icon } from \"@nuka/components/Icon\";\n\nexport interface NavTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {\n ref?: React.Ref<HTMLButtonElement> | undefined;\n asChild?: boolean;\n}\n\nconst chevron = (\n <Icon size=\"sm\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"m6 9 6 6 6-6\" />\n </svg>\n </Icon>\n);\n\nconst triggerClasses = [\n \"inline-flex items-center gap-(--space-1)\",\n \"rounded-(--radius-md) px-(--space-3) py-(--space-2)\",\n \"text-sm font-medium\",\n \"text-(--nuka-text-base)\",\n \"select-none\",\n \"hover:bg-(--nuka-bg-muted)\",\n \"focus-visible:outline-2 focus-visible:outline-offset-2\",\n \"focus-visible:outline-(--nuka-border-focus)\",\n] as const;\n\nfunction NavTrigger({\n ref,\n asChild = false,\n className,\n children,\n ...props\n}: NavTriggerProps) {\n if (asChild) {\n return (\n <Slot\n ref={ref}\n type=\"button\"\n aria-haspopup=\"true\"\n className={cn(...triggerClasses, className)}\n {...props}\n >\n {children}\n </Slot>\n );\n }\n\n return (\n <button\n ref={ref}\n type=\"button\"\n aria-haspopup=\"true\"\n className={cn(...triggerClasses, className)}\n {...props}\n >\n {children}\n {chevron}\n </button>\n );\n}\n\nNavTrigger.displayName = \"NavTrigger\";\n\nexport { NavTrigger };\n"],"mappings":";;;;;;;AAYA,IAAM,IACJ,kBAAC,GAAD;CAAM,MAAK;WACT,kBAAC,OAAD;EACE,OAAM;EACN,SAAQ;EACR,MAAK;EACL,QAAO;EACP,aAAY;EACZ,eAAc;EACd,gBAAe;YAEf,kBAAC,QAAD,EAAM,GAAE,gBAAiB,CAAA;EACrB,CAAA;CACD,CAAA,EAGH,IAAiB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,SAAS,EAAW,EAClB,QACA,aAAU,IACV,cACA,aACA,GAAG,KACe;AAelB,QAdI,IAEA,kBAAC,GAAD;EACO;EACL,MAAK;EACL,iBAAc;EACd,WAAW,EAAG,GAAG,GAAgB,EAAU;EAC3C,GAAI;EAEH;EACI,CAAA,GAKT,kBAAC,UAAD;EACO;EACL,MAAK;EACL,iBAAc;EACd,WAAW,EAAG,GAAG,GAAgB,EAAU;EAC3C,GAAI;YALN,CAOG,GACA,EACM;;;AAIb,EAAW,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center gap-(--space-1)`,`list-none`,n),...i})}i.displayName=`NavigationMenuList`,exports.NavigationMenuList=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center gap-(--space-1)`,`list-none`,n),...i})}i.displayName=`NavigationMenuList`,exports.NavigationMenuList=i;
|
|
2
2
|
//# sourceMappingURL=NavigationMenuList.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenuList.cjs","names":[],"sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavigationMenuList.cjs","names":[],"sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavigationMenuListProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction NavigationMenuList({\n ref,\n className,\n ...props\n}: NavigationMenuListProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"flex items-center gap-(--space-1)\",\n \"list-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavigationMenuList.displayName = \"NavigationMenuList\";\n\nexport { NavigationMenuList };\n"],"mappings":"gLASA,SAAS,EAAmB,CAC1B,MACA,YACA,GAAG,GACuB,CAC1B,OACE,EAAA,EAAA,KAAC,KAAD,CACO,MACL,UAAW,EAAA,GACT,oCACA,YACA,EACD,CACD,GAAI,EACJ,CAAA,CAIN,EAAmB,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenuList.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationMenuList.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IACrF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC/C;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAYzB;kBAhBQ,kBAAkB;;;AAoB3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationMenuList.js","names":[],"sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"NavigationMenuList.js","names":[],"sources":["../../../src/components/NavigationMenu/NavigationMenuList.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface NavigationMenuListProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction NavigationMenuList({\n ref,\n className,\n ...props\n}: NavigationMenuListProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"flex items-center gap-(--space-1)\",\n \"list-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nNavigationMenuList.displayName = \"NavigationMenuList\";\n\nexport { NavigationMenuList };\n"],"mappings":";;;;;AASA,SAAS,EAAmB,EAC1B,QACA,cACA,GAAG,KACuB;AAC1B,QACE,kBAAC,MAAD;EACO;EACL,WAAW,EACT,qCACA,aACA,EACD;EACD,GAAI;EACJ,CAAA;;AAIN,EAAmB,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,"aria-label":n=`Pagination`,className:i,...a}){return(0,r.jsx)(`nav`,{ref:e,"aria-label":n,className:t.cn(`mx-auto flex w-full justify-center`,i),...a})}i.displayName=`Pagination`,exports.Pagination=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,"aria-label":n=`Pagination`,className:i,...a}){return(0,r.jsx)(`nav`,{ref:e,"aria-label":n,className:t.cn(`mx-auto flex w-full justify-center`,i),...a})}i.displayName=`Pagination`,exports.Pagination=i;
|
|
2
2
|
//# sourceMappingURL=Pagination.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.cjs","names":[],"sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Pagination.cjs","names":[],"sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationProps extends React.HTMLAttributes<HTMLElement> {\n ref?: React.Ref<HTMLElement> | undefined;\n \"aria-label\"?: string;\n}\n\nfunction Pagination({\n ref,\n \"aria-label\": ariaLabel = \"Pagination\",\n className,\n ...props\n}: PaginationProps) {\n return (\n <nav\n ref={ref}\n aria-label={ariaLabel}\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n );\n}\n\nPagination.displayName = \"Pagination\";\n\nexport { Pagination };\n"],"mappings":"gLAUA,SAAS,EAAW,CAClB,MACA,aAAc,EAAY,aAC1B,YACA,GAAG,GACe,CAClB,OACE,EAAA,EAAA,KAAC,MAAD,CACO,MACL,aAAY,EACZ,UAAW,EAAA,GAAG,qCAAsC,EAAU,CAC9D,GAAI,EACJ,CAAA,CAIN,EAAW,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IACxE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,UAAU,CAAC,EAClB,GAAG,EACH,YAAY,EAAE,SAAwB,EACtC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CASjB;kBAdQ,UAAU;;;AAkBnB,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","names":[],"sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"Pagination.js","names":[],"sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationProps extends React.HTMLAttributes<HTMLElement> {\n ref?: React.Ref<HTMLElement> | undefined;\n \"aria-label\"?: string;\n}\n\nfunction Pagination({\n ref,\n \"aria-label\": ariaLabel = \"Pagination\",\n className,\n ...props\n}: PaginationProps) {\n return (\n <nav\n ref={ref}\n aria-label={ariaLabel}\n className={cn(\"mx-auto flex w-full justify-center\", className)}\n {...props}\n />\n );\n}\n\nPagination.displayName = \"Pagination\";\n\nexport { Pagination };\n"],"mappings":";;;;;AAUA,SAAS,EAAW,EAClB,QACA,cAAc,IAAY,cAC1B,cACA,GAAG,KACe;AAClB,QACE,kBAAC,OAAD;EACO;EACL,cAAY;EACZ,WAAW,EAAG,sCAAsC,EAAU;EAC9D,GAAI;EACJ,CAAA;;AAIN,EAAW,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center gap-(--space-1)`,`list-none`,n),...i})}i.displayName=`PaginationContent`,exports.PaginationContent=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsx)(`ul`,{ref:e,className:t.cn(`flex items-center gap-(--space-1)`,`list-none`,n),...i})}i.displayName=`PaginationContent`,exports.PaginationContent=i;
|
|
2
2
|
//# sourceMappingURL=PaginationContent.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationContent.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationContent.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationContent.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationContent.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationContentProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction PaginationContent({\n ref,\n className,\n ...props\n}: PaginationContentProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"flex items-center gap-(--space-1)\",\n \"list-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nPaginationContent.displayName = \"PaginationContent\";\n\nexport { PaginationContent };\n"],"mappings":"gLASA,SAAS,EAAkB,CACzB,MACA,YACA,GAAG,GACsB,CACzB,OACE,EAAA,EAAA,KAAC,KAAD,CACO,MACL,UAAW,EAAA,GACT,oCACA,YACA,EACD,CACD,GAAI,EACJ,CAAA,CAIN,EAAkB,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationContent.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationContent.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,sBAAuB,SAAQ,KAAK,CAAC,cAAc,CAAC,gBAAgB,CAAC;IACpF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CAC/C;AAED,iBAAS,iBAAiB,CAAC,EACzB,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAYxB;kBAhBQ,iBAAiB;;;AAoB1B,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationContent.js","names":[],"sources":["../../../src/components/Pagination/PaginationContent.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationContent.js","names":[],"sources":["../../../src/components/Pagination/PaginationContent.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationContentProps extends React.HTMLAttributes<HTMLUListElement> {\n ref?: React.Ref<HTMLUListElement> | undefined;\n}\n\nfunction PaginationContent({\n ref,\n className,\n ...props\n}: PaginationContentProps) {\n return (\n <ul\n ref={ref}\n className={cn(\n \"flex items-center gap-(--space-1)\",\n \"list-none\",\n className,\n )}\n {...props}\n />\n );\n}\n\nPaginationContent.displayName = \"PaginationContent\";\n\nexport { PaginationContent };\n"],"mappings":";;;;;AASA,SAAS,EAAkB,EACzB,QACA,cACA,GAAG,KACsB;AACzB,QACE,kBAAC,MAAD;EACO;EACL,WAAW,EACT,qCACA,aACA,EACD;EACD,GAAI;EACJ,CAAA;;AAIN,EAAkB,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`span`,{ref:e,"aria-hidden":`true`,className:t.cn(`flex items-center justify-center size-8`,`text-(--nuka-text-muted)`,n),...i,children:`...`}),(0,r.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}i.displayName=`PaginationEllipsis`,exports.PaginationEllipsis=i;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/cn.cjs`);let n=require(`react`);n=e.__toESM(n,1);let r=require(`react/jsx-runtime`);function i({ref:e,className:n,...i}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(`span`,{ref:e,"aria-hidden":`true`,className:t.cn(`flex items-center justify-center size-8`,`text-(--nuka-text-muted)`,n),...i,children:`...`}),(0,r.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}i.displayName=`PaginationEllipsis`,exports.PaginationEllipsis=i;
|
|
2
2
|
//# sourceMappingURL=PaginationEllipsis.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationEllipsis.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationEllipsis.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationEllipsisProps extends React.HTMLAttributes<HTMLSpanElement> {\n ref?: React.Ref<HTMLSpanElement> | undefined;\n}\n\nfunction PaginationEllipsis({\n ref,\n className,\n ...props\n}: PaginationEllipsisProps) {\n return (\n <>\n <span\n ref={ref}\n aria-hidden=\"true\"\n className={cn(\n \"flex items-center justify-center size-8\",\n \"text-(--nuka-text-muted)\",\n className,\n )}\n {...props}\n >\n ...\n </span>\n <span className=\"sr-only\">More pages</span>\n </>\n );\n}\n\nPaginationEllipsis.displayName = \"PaginationEllipsis\";\n\nexport { PaginationEllipsis };\n"],"mappings":"gLASA,SAAS,EAAmB,CAC1B,MACA,YACA,GAAG,GACuB,CAC1B,OACE,EAAA,EAAA,MAAA,EAAA,SAAA,CAAA,SAAA,EACE,EAAA,EAAA,KAAC,OAAD,CACO,MACL,cAAY,OACZ,UAAW,EAAA,GACT,0CACA,2BACA,EACD,CACD,GAAI,WACL,MAEM,CAAA,EACP,EAAA,EAAA,KAAC,OAAD,CAAM,UAAU,mBAAU,aAAiB,CAAA,CAC1C,CAAA,CAAA,CAIP,EAAmB,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationEllipsis.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationEllipsis.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,uBAAwB,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;IACpF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC;CAC9C;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAkBzB;kBAtBQ,kBAAkB;;;AA0B3B,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationEllipsis.js","names":[],"sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationEllipsis.js","names":[],"sources":["../../../src/components/Pagination/PaginationEllipsis.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { cn } from \"@nuka/utils/cn\";\n\nexport interface PaginationEllipsisProps extends React.HTMLAttributes<HTMLSpanElement> {\n ref?: React.Ref<HTMLSpanElement> | undefined;\n}\n\nfunction PaginationEllipsis({\n ref,\n className,\n ...props\n}: PaginationEllipsisProps) {\n return (\n <>\n <span\n ref={ref}\n aria-hidden=\"true\"\n className={cn(\n \"flex items-center justify-center size-8\",\n \"text-(--nuka-text-muted)\",\n className,\n )}\n {...props}\n >\n ...\n </span>\n <span className=\"sr-only\">More pages</span>\n </>\n );\n}\n\nPaginationEllipsis.displayName = \"PaginationEllipsis\";\n\nexport { PaginationEllipsis };\n"],"mappings":";;;;;AASA,SAAS,EAAmB,EAC1B,QACA,cACA,GAAG,KACuB;AAC1B,QACE,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,QAAD;EACO;EACL,eAAY;EACZ,WAAW,EACT,2CACA,4BACA,EACD;EACD,GAAI;YACL;EAEM,CAAA,EACP,kBAAC,QAAD;EAAM,WAAU;YAAU;EAAiB,CAAA,CAC1C,EAAA,CAAA;;AAIP,EAAmB,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`react`);t=e.__toESM(t,1);let n=require(`react/jsx-runtime`);function r({ref:e,...t}){return(0,n.jsx)(`li`,{ref:e,...t})}r.displayName=`PaginationItem`,exports.PaginationItem=r;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`);let t=require(`react`);t=e.__toESM(t,1);let n=require(`react/jsx-runtime`);function r({ref:e,...t}){return(0,n.jsx)(`li`,{ref:e,...t})}r.displayName=`PaginationItem`,exports.PaginationItem=r;
|
|
2
2
|
//# sourceMappingURL=PaginationItem.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationItem.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationItem.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationItem.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationItem.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nexport interface PaginationItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n ref?: React.Ref<HTMLLIElement> | undefined;\n}\n\nfunction PaginationItem({ ref, ...props }: PaginationItemProps) {\n return <li ref={ref} {...props} />;\n}\n\nPaginationItem.displayName = \"PaginationItem\";\n\nexport { PaginationItem };\n"],"mappings":"gJAQA,SAAS,EAAe,CAAE,MAAK,GAAG,GAA8B,CAC9D,OAAO,EAAA,EAAA,KAAC,KAAD,CAAS,MAAK,GAAI,EAAS,CAAA,CAGpC,EAAe,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationItem.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,gBAAgB,CAAC,aAAa,CAAC;IAChF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;CAC5C;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAE7D;kBAFQ,cAAc;;;AAMvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationItem.js","names":[],"sources":["../../../src/components/Pagination/PaginationItem.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationItem.js","names":[],"sources":["../../../src/components/Pagination/PaginationItem.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\n\nexport interface PaginationItemProps extends React.LiHTMLAttributes<HTMLLIElement> {\n ref?: React.Ref<HTMLLIElement> | undefined;\n}\n\nfunction PaginationItem({ ref, ...props }: PaginationItemProps) {\n return <li ref={ref} {...props} />;\n}\n\nPaginationItem.displayName = \"PaginationItem\";\n\nexport { PaginationItem };\n"],"mappings":";;;;AAQA,SAAS,EAAe,EAAE,QAAK,GAAG,KAA8B;AAC9D,QAAO,kBAAC,MAAD;EAAS;EAAK,GAAI;EAAS,CAAA;;AAGpC,EAAe,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/slot.cjs`),n=require(`../Button/Button.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,isActive:r=!1,asChild:a=!1,className:o,...s}){return(0,i.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:`sm`,className:o,children:(0,i.jsx)(a?t.Slot:`a`,{ref:e,"aria-current":r?`page`:void 0,...s})})}a.displayName=`PaginationLink`,exports.PaginationLink=a;
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/slot.cjs`),n=require(`../Button/Button.cjs`);let r=require(`react`);r=e.__toESM(r,1);let i=require(`react/jsx-runtime`);function a({ref:e,isActive:r=!1,asChild:a=!1,className:o,...s}){return(0,i.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:`sm`,className:o,children:(0,i.jsx)(a?t.Slot:`a`,{ref:e,"aria-current":r?`page`:void 0,...s})})}a.displayName=`PaginationLink`,exports.PaginationLink=a;
|
|
2
2
|
//# sourceMappingURL=PaginationLink.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationLink.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationLink.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationLink.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationLink.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { Button } from \"@nuka/components/Button\";\n\nexport interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n ref?: React.Ref<HTMLAnchorElement> | undefined;\n isActive?: boolean;\n asChild?: boolean;\n}\n\nfunction PaginationLink({\n ref,\n isActive = false,\n asChild = false,\n className,\n ...props\n}: PaginationLinkProps) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Button\n asChild\n variant={isActive ? \"outline\" : \"ghost\"}\n size=\"sm\"\n className={className}\n >\n <Comp ref={ref} aria-current={isActive ? \"page\" : undefined} {...props} />\n </Button>\n );\n}\n\nPaginationLink.displayName = \"PaginationLink\";\n\nexport { PaginationLink };\n"],"mappings":"oNAYA,SAAS,EAAe,CACtB,MACA,WAAW,GACX,UAAU,GACV,YACA,GAAG,GACmB,CAGtB,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CACE,QAAA,GACA,QAAS,EAAW,UAAY,QAChC,KAAK,KACM,sBAEX,EAAA,EAAA,KATS,EAAU,EAAA,KAAO,IAS1B,CAAW,MAAK,eAAc,EAAW,OAAS,IAAA,GAAW,GAAI,EAAS,CAAA,CACnE,CAAA,CAIb,EAAe,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationLink.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationLink.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PaginationLink.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/PaginationLink.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACxF,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,EACH,QAAgB,EAChB,OAAe,EACf,SAAS,EACT,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAarB;kBAnBQ,cAAc;;;AAuBvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationLink.js","names":[],"sources":["../../../src/components/Pagination/PaginationLink.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationLink.js","names":[],"sources":["../../../src/components/Pagination/PaginationLink.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { Slot } from \"@nuka/utils/slot\";\nimport { Button } from \"@nuka/components/Button\";\n\nexport interface PaginationLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n ref?: React.Ref<HTMLAnchorElement> | undefined;\n isActive?: boolean;\n asChild?: boolean;\n}\n\nfunction PaginationLink({\n ref,\n isActive = false,\n asChild = false,\n className,\n ...props\n}: PaginationLinkProps) {\n const Comp = asChild ? Slot : \"a\";\n\n return (\n <Button\n asChild\n variant={isActive ? \"outline\" : \"ghost\"}\n size=\"sm\"\n className={className}\n >\n <Comp ref={ref} aria-current={isActive ? \"page\" : undefined} {...props} />\n </Button>\n );\n}\n\nPaginationLink.displayName = \"PaginationLink\";\n\nexport { PaginationLink };\n"],"mappings":";;;;;;AAYA,SAAS,EAAe,EACtB,QACA,cAAW,IACX,aAAU,IACV,cACA,GAAG,KACmB;AAGtB,QACE,kBAAC,GAAD;EACE,SAAA;EACA,SAAS,IAAW,YAAY;EAChC,MAAK;EACM;YAEX,kBATS,IAAU,IAAO,KAS1B;GAAW;GAAK,gBAAc,IAAW,SAAS,KAAA;GAAW,GAAI;GAAS,CAAA;EACnE,CAAA;;AAIb,EAAe,cAAc"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/slot.cjs`),n=require(`../Icon/Icon.cjs`),r=require(`../Button/Button.cjs`);let i=require(`react`);i=e.__toESM(i,1);let a=require(`react/jsx-runtime`);var o=()=>(0,a.jsx)(n.Icon,{size:`sm`,children:(0,a.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m9 18 6-6-6-6`})})});function s({ref:e,disabled:n=!1,asChild:s=!1,className:c,children:l,onClick:u
|
|
1
|
+
"use client";const e=require(`../../_virtual/_rolldown/runtime.cjs`),t=require(`../../utils/slot.cjs`),n=require(`../Icon/Icon.cjs`),r=require(`../Button/Button.cjs`);let i=require(`react`);i=e.__toESM(i,1);let a=require(`react/jsx-runtime`);var o=()=>(0,a.jsx)(n.Icon,{size:`sm`,children:(0,a.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,a.jsx)(`path`,{d:`m9 18 6-6-6-6`})})});function s({ref:e,disabled:n=!1,asChild:s=!1,className:c,children:l,onClick:u,"aria-label":d=`Go to next page`,...f}){if(n)return(0,a.jsxs)(r.Button,{variant:`ghost`,size:`sm`,className:c,disabled:!0,"aria-label":d,children:[l??`Next`,(0,a.jsx)(o,{})]});if(s&&i.isValidElement(l)){let n=l,s=n.props.children??`Next`;return(0,a.jsx)(r.Button,{asChild:!0,variant:`ghost`,size:`sm`,className:c,children:i.cloneElement(n,{ref:t.composeRefs(e,n.props.ref),"aria-label":d,...f},s,(0,a.jsx)(o,{}))})}return(0,a.jsx)(r.Button,{asChild:!0,variant:`ghost`,size:`sm`,className:c,children:(0,a.jsxs)(`a`,{ref:e,"aria-label":d,onClick:u,...f,children:[l??`Next`,(0,a.jsx)(o,{})]})})}s.displayName=`PaginationNext`,exports.PaginationNext=s;
|
|
2
2
|
//# sourceMappingURL=PaginationNext.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationNext.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationNext.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"PaginationNext.cjs","names":[],"sources":["../../../src/components/Pagination/PaginationNext.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport { composeRefs } from \"@nuka/utils/slot\";\nimport { Button } from \"@nuka/components/Button\";\nimport { Icon } from \"@nuka/components/Icon\";\n\ninterface PaginationChildProps {\n ref?: React.Ref<HTMLElement>;\n children?: React.ReactNode;\n [key: string]: unknown;\n}\n\nexport interface PaginationNextProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {\n ref?: React.Ref<HTMLAnchorElement> | undefined;\n disabled?: boolean;\n /**\n * When true, merges into the child element instead of rendering an `<a>`.\n * The child's children are replaced with the built-in chevron icon and a\n * text label. Pass a single-element child (e.g. `<Link />`) with plain text\n * children; rich JSX children will be replaced by the label fallback.\n * For custom icon or label arrangements, use `PaginationLink` directly.\n */\n asChild?: boolean;\n}\n\nconst NextIcon = () => (\n <Icon size=\"sm\">\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </Icon>\n);\n\nfunction PaginationNext({\n ref,\n disabled = false,\n asChild = false,\n className,\n children,\n onClick,\n \"aria-label\": ariaLabel = \"Go to next page\",\n ...props\n}: PaginationNextProps) {\n if (disabled) {\n return (\n <Button\n variant=\"ghost\"\n size=\"sm\"\n className={className}\n disabled\n aria-label={ariaLabel}\n >\n {children ?? \"Next\"}\n <NextIcon />\n </Button>\n );\n }\n\n if (asChild && React.isValidElement<PaginationChildProps>(children)) {\n const child = children;\n const label = child.props.children ?? \"Next\";\n\n return (\n <Button asChild variant=\"ghost\" size=\"sm\" className={className}>\n {React.cloneElement(\n child,\n {\n ref: composeRefs(ref as React.Ref<HTMLElement>, child.props.ref),\n \"aria-label\": ariaLabel,\n ...props,\n },\n label,\n <NextIcon />,\n )}\n </Button>\n );\n }\n\n return (\n <Button asChild variant=\"ghost\" size=\"sm\" className={className}>\n <a ref={ref} aria-label={ariaLabel} onClick={onClick} {...props}>\n {children ?? \"Next\"}\n <NextIcon />\n </a>\n </Button>\n );\n}\n\nPaginationNext.displayName = \"PaginationNext\";\n\nexport { PaginationNext };\n"],"mappings":"kPA0BA,IAAM,OACJ,EAAA,EAAA,KAAC,EAAA,KAAD,CAAM,KAAK,eACT,EAAA,EAAA,KAAC,MAAD,CACE,MAAM,6BACN,QAAQ,YACR,KAAK,OACL,OAAO,eACP,YAAY,IACZ,cAAc,QACd,eAAe,kBAEf,EAAA,EAAA,KAAC,OAAD,CAAM,EAAE,gBAAkB,CAAA,CACtB,CAAA,CACD,CAAA,CAGT,SAAS,EAAe,CACtB,MACA,WAAW,GACX,UAAU,GACV,YACA,WACA,UACA,aAAc,EAAY,kBAC1B,GAAG,GACmB,CACtB,GAAI,EACF,OACE,EAAA,EAAA,MAAC,EAAA,OAAD,CACE,QAAQ,QACR,KAAK,KACM,YACX,SAAA,GACA,aAAY,WALd,CAOG,GAAY,QACb,EAAA,EAAA,KAAC,EAAD,EAAY,CAAA,CACL,GAIb,GAAI,GAAW,EAAM,eAAqC,EAAS,CAAE,CACnE,IAAM,EAAQ,EACR,EAAQ,EAAM,MAAM,UAAY,OAEtC,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAQ,QAAQ,KAAK,KAAgB,qBAClD,EAAM,aACL,EACA,CACE,IAAK,EAAA,YAAY,EAA+B,EAAM,MAAM,IAAI,CAChE,aAAc,EACd,GAAG,EACJ,CACD,GACA,EAAA,EAAA,KAAC,EAAD,EAAY,CAAA,CACb,CACM,CAAA,CAIb,OACE,EAAA,EAAA,KAAC,EAAA,OAAD,CAAQ,QAAA,GAAQ,QAAQ,QAAQ,KAAK,KAAgB,sBACnD,EAAA,EAAA,MAAC,IAAD,CAAQ,MAAK,aAAY,EAAoB,UAAS,GAAI,WAA1D,CACG,GAAY,QACb,EAAA,EAAA,KAAC,EAAD,EAAY,CAAA,CACV,GACG,CAAA,CAIb,EAAe,YAAc"}
|