@lotte-innovate/ui-component-test 0.1.68 → 0.1.69-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +76 -6
- package/dist/globals.css +1 -1
- package/dist/lib/Typography/Header/index.d.ts +6 -4
- package/dist/lib/Typography/Header/index.js +5 -2
- package/dist/lib/Typography/Text/index.js +4 -1
- package/dist/lib/color/constants.d.ts +1 -0
- package/dist/lib/color/constants.js +1 -0
- package/dist/lib/components/Accordion/index.js +7 -4
- package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
- package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogRoot.js +5 -4
- package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
- package/dist/lib/components/AlertDialog/index.js +1 -1
- package/dist/lib/components/AspectRatio/index.js +2 -1
- package/dist/lib/components/Avatar/index.js +6 -5
- package/dist/lib/components/Badge/index.js +8 -6
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
- package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
- package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
- package/dist/lib/components/Breadcrumb/index.js +17 -0
- package/dist/lib/components/Button/index.js +8 -6
- package/dist/lib/components/Callout/CalloutIcon.js +1 -0
- package/dist/lib/components/Callout/CalloutRoot.js +2 -2
- package/dist/lib/components/Callout/CalloutText.js +1 -0
- package/dist/lib/components/Card/index.js +3 -2
- package/dist/lib/components/Checkbox/index.js +5 -4
- package/dist/lib/components/CheckboxCard/index.js +3 -2
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +5 -4
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.js +5 -4
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
- package/dist/lib/components/DataList/DataListItem.js +1 -0
- package/dist/lib/components/DataList/DataListLabel.js +1 -0
- package/dist/lib/components/DataList/DataListRoot.js +2 -2
- package/dist/lib/components/DataList/DataListValue.js +1 -0
- package/dist/lib/components/Dialog/DialogAction.js +3 -1
- package/dist/lib/components/Dialog/DialogCancel.js +1 -0
- package/dist/lib/components/Dialog/DialogContent.js +1 -0
- package/dist/lib/components/Dialog/DialogDescription.js +2 -1
- package/dist/lib/components/Dialog/DialogRoot.js +5 -4
- package/dist/lib/components/Dialog/DialogSlot.js +1 -0
- package/dist/lib/components/Dialog/DialogTitle.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +5 -4
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
- package/dist/lib/components/Footer/index.d.ts +11 -0
- package/dist/lib/components/Footer/index.js +50 -0
- package/dist/lib/components/Grid/index.d.ts +5 -0
- package/dist/lib/components/Grid/index.js +52 -0
- package/dist/lib/components/Grid/useGrid.d.ts +3 -0
- package/dist/lib/components/Grid/useGrid.js +67 -0
- package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
- package/dist/lib/components/HoverCard/HoverCardRoot.js +6 -5
- package/dist/lib/components/IconButton/index.js +7 -5
- package/dist/lib/components/Inset/index.js +3 -2
- package/dist/lib/components/Label/index.d.ts +4 -3
- package/dist/lib/components/Label/index.js +9 -6
- package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
- package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
- package/dist/lib/components/Menubar/MenubarRoot.js +7 -5
- package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
- package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
- package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +5 -4
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
- package/dist/lib/components/Popover/PopoverClose.js +1 -0
- package/dist/lib/components/Popover/PopoverContent.js +1 -0
- package/dist/lib/components/Popover/PopoverRoot.js +2 -2
- package/dist/lib/components/Progress/index.js +9 -8
- package/dist/lib/components/Radio/index.js +7 -6
- package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
- package/dist/lib/components/RadioCards/RadioCardsRoot.js +7 -7
- package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
- package/dist/lib/components/RadioGroup/RadioGroupRoot.js +6 -6
- package/dist/lib/components/ScrollArea/index.js +2 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +5 -3
- package/dist/lib/components/SegmentedControl/index.d.ts +1 -1
- package/dist/lib/components/SegmentedControl/index.js +1 -1
- package/dist/lib/components/Select/index.js +8 -5
- package/dist/lib/components/Separator/index.js +5 -3
- package/dist/lib/components/Skeleton/index.js +3 -2
- package/dist/lib/components/Slider/index.js +8 -9
- package/dist/lib/components/Spinner/index.js +2 -1
- package/dist/lib/components/TabNav/index.js +5 -4
- package/dist/lib/components/Table/index.js +4 -4
- package/dist/lib/components/Tabs/index.d.ts +2 -1
- package/dist/lib/components/Tabs/index.js +5 -2
- package/dist/lib/components/TextArea/index.js +8 -7
- package/dist/lib/components/TextField/index.js +8 -7
- package/dist/lib/components/Toast/ToastActionButton.js +1 -0
- package/dist/lib/components/Toast/ToastDescription.js +1 -0
- package/dist/lib/components/Toast/ToastRoot.js +2 -2
- package/dist/lib/components/Toast/ToastTitle.js +1 -0
- package/dist/lib/components/Toggle/ToggleWithText.js +7 -4
- package/dist/lib/components/Toggle/index.js +7 -4
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +5 -3
- package/dist/lib/components/ToggleSwitch/index.js +8 -9
- package/dist/lib/components/Tooltip/index.js +4 -4
- package/dist/lib/components/index.d.ts +2 -0
- package/dist/lib/components/index.js +2 -0
- package/dist/lib/constants.d.ts +5 -4
- package/dist/lib/constants.js +13 -1
- package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
- package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
- package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
- package/dist/lib/dist/lib/color/constants.mjs +2 -0
- package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/color/light.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogCancel.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogContent.mjs +2 -1
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogDescription.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/AspectRatio/index.mjs +2 -1
- package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
- package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Callout/CalloutIcon.mjs +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/Callout/CalloutText.mjs +1 -0
- package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Card/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Checkbox/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/CheckboxCard/index.mjs +2 -1
- package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuContent.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuLabel.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioItem.mjs +2 -1
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListItem.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListLabel.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs +1 -1
- package/dist/lib/{components → dist/lib/components}/DataList/DataListValue.mjs +1 -0
- package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
- package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogCancel.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogDescription.mjs +2 -1
- package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogSlot.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Dialog/DialogTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuContent.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuLable.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardContent.mjs +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
- package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Inset/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarItemIndicator.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSubContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Menubar/MenubarTrigger.mjs +2 -1
- package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuViewport.mjs +2 -1
- package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
- package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Popover/PopoverClose.mjs +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Popover/PopoverContent.mjs +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsItem.mjs +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupItem.mjs +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/ScrollArea/index.mjs +2 -1
- package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlRoot.mjs +2 -1
- package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
- package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Skeleton/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Spinner/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
- package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastActionButton.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastDescription.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs +1 -1
- package/dist/lib/{components → dist/lib/components}/Toast/ToastTitle.mjs +1 -0
- package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
- package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
- package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
- package/dist/lib/{components → dist/lib/components}/Tooltip/index.mjs +2 -1
- package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
- package/dist/lib/dist/lib/constants.mjs +2 -0
- package/dist/lib/dist/lib/constants.mjs.map +1 -0
- package/dist/lib/dist/lib/index.mjs +2 -0
- package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/chevron-right.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/icons/ellipsis.mjs.map +1 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +8 -0
- package/dist/lib/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +1 -0
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/lib/types.d.ts +3 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/dist/lib/Typography/Header/index.mjs +0 -2
- package/dist/lib/Typography/Header/index.mjs.map +0 -1
- package/dist/lib/Typography/Text/index.mjs +0 -2
- package/dist/lib/Typography/Text/index.mjs.map +0 -1
- package/dist/lib/color/alpha.mjs.map +0 -1
- package/dist/lib/color/constants.mjs +0 -2
- package/dist/lib/color/constants.mjs.map +0 -1
- package/dist/lib/color/light.mjs.map +0 -1
- package/dist/lib/components/Accordion/index.mjs +0 -2
- package/dist/lib/components/Accordion/index.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +0 -2
- package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +0 -3
- package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +0 -2
- package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +0 -1
- package/dist/lib/components/AlertDialog/index.mjs.map +0 -1
- package/dist/lib/components/AspectRatio/index.mjs.map +0 -1
- package/dist/lib/components/Avatar/index.mjs +0 -3
- package/dist/lib/components/Badge/index.mjs +0 -2
- package/dist/lib/components/Badge/index.mjs.map +0 -1
- package/dist/lib/components/BarChart/index.mjs.map +0 -1
- package/dist/lib/components/BubbleChart/index.mjs.map +0 -1
- package/dist/lib/components/Button/index.mjs +0 -2
- package/dist/lib/components/Button/index.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutIcon.mjs.map +0 -1
- package/dist/lib/components/Callout/CalloutRoot.mjs +0 -3
- package/dist/lib/components/Callout/CalloutText.mjs.map +0 -1
- package/dist/lib/components/Callout/index.mjs.map +0 -1
- package/dist/lib/components/Card/index.mjs.map +0 -1
- package/dist/lib/components/Checkbox/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxCard/index.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +0 -1
- package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +0 -3
- package/dist/lib/components/CheckboxGroup/index.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +0 -3
- package/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +0 -2
- package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/ContextMenu/index.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListItem.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListLabel.mjs.map +0 -1
- package/dist/lib/components/DataList/DataListValue.mjs.map +0 -1
- package/dist/lib/components/DataList/index.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogAction.mjs +0 -2
- package/dist/lib/components/Dialog/DialogAction.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogCancel.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogContent.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogDescription.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogRoot.mjs +0 -3
- package/dist/lib/components/Dialog/DialogSlot.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTitle.mjs.map +0 -1
- package/dist/lib/components/Dialog/DialogTrigger.mjs.map +0 -1
- package/dist/lib/components/Dialog/index.mjs.map +0 -1
- package/dist/lib/components/DoughnutChart/index.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +0 -3
- package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +0 -2
- package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/DropdownMenu/index.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +0 -1
- package/dist/lib/components/HoverCard/HoverCardRoot.mjs +0 -3
- package/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +0 -1
- package/dist/lib/components/HoverCard/index.mjs.map +0 -1
- package/dist/lib/components/IconButton/index.mjs +0 -2
- package/dist/lib/components/IconButton/index.mjs.map +0 -1
- package/dist/lib/components/Inset/index.mjs.map +0 -1
- package/dist/lib/components/Label/index.mjs +0 -2
- package/dist/lib/components/Label/index.mjs.map +0 -1
- package/dist/lib/components/LineChart/index.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarMenu.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarRoot.mjs +0 -3
- package/dist/lib/components/Menubar/MenubarSeparator.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSub.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +0 -2
- package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +0 -1
- package/dist/lib/components/Menubar/index.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +0 -3
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +0 -2
- package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +0 -1
- package/dist/lib/components/NavigationMenu/index.mjs.map +0 -1
- package/dist/lib/components/PieChart/index.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverClose.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverContent.mjs.map +0 -1
- package/dist/lib/components/Popover/PopoverRoot.mjs +0 -3
- package/dist/lib/components/Popover/PopoverTrigger.mjs.map +0 -1
- package/dist/lib/components/Popover/index.mjs.map +0 -1
- package/dist/lib/components/Progress/index.mjs +0 -2
- package/dist/lib/components/Progress/index.mjs.map +0 -1
- package/dist/lib/components/RadarChart/index.mjs.map +0 -1
- package/dist/lib/components/Radio/index.mjs +0 -2
- package/dist/lib/components/Radio/index.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +0 -1
- package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +0 -3
- package/dist/lib/components/RadioCards/index.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +0 -1
- package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +0 -3
- package/dist/lib/components/RadioGroup/index.mjs.map +0 -1
- package/dist/lib/components/ScrollArea/index.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +0 -1
- package/dist/lib/components/SegmentedControl/index.mjs.map +0 -1
- package/dist/lib/components/Select/index.mjs +0 -2
- package/dist/lib/components/Select/index.mjs.map +0 -1
- package/dist/lib/components/Separator/index.mjs +0 -2
- package/dist/lib/components/Separator/index.mjs.map +0 -1
- package/dist/lib/components/Skeleton/index.mjs.map +0 -1
- package/dist/lib/components/Slider/index.mjs +0 -2
- package/dist/lib/components/Slider/index.mjs.map +0 -1
- package/dist/lib/components/Spinner/index.mjs.map +0 -1
- package/dist/lib/components/TabNav/index.mjs +0 -2
- package/dist/lib/components/TabNav/index.mjs.map +0 -1
- package/dist/lib/components/Table/index.mjs +0 -2
- package/dist/lib/components/Table/index.mjs.map +0 -1
- package/dist/lib/components/Tabs/index.mjs +0 -2
- package/dist/lib/components/Tabs/index.mjs.map +0 -1
- package/dist/lib/components/TextArea/index.mjs +0 -2
- package/dist/lib/components/TextArea/index.mjs.map +0 -1
- package/dist/lib/components/TextField/index.mjs +0 -2
- package/dist/lib/components/TextField/index.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastActionButton.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastDescription.mjs.map +0 -1
- package/dist/lib/components/Toast/ToastTitle.mjs.map +0 -1
- package/dist/lib/components/Toast/index.mjs.map +0 -1
- package/dist/lib/components/Toggle/ToggleWithText.mjs +0 -2
- package/dist/lib/components/Toggle/ToggleWithText.mjs.map +0 -1
- package/dist/lib/components/Toggle/index.mjs +0 -2
- package/dist/lib/components/Toggle/index.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +0 -2
- package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +0 -1
- package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +0 -3
- package/dist/lib/components/ToggleGroup/index.mjs.map +0 -1
- package/dist/lib/components/ToggleSwitch/index.mjs +0 -2
- package/dist/lib/components/ToggleSwitch/index.mjs.map +0 -1
- package/dist/lib/components/Tooltip/index.mjs.map +0 -1
- package/dist/lib/constants.mjs +0 -2
- package/dist/lib/constants.mjs.map +0 -1
- package/dist/lib/index.mjs +0 -2
- package/dist/lib/utils/utils.mjs.map +0 -1
- /package/dist/lib/{components/Avatar → dist/lib/Typography/Header}/index.mjs.map +0 -0
- /package/dist/lib/{color → dist/lib/color}/alpha.mjs +0 -0
- /package/dist/lib/{color → dist/lib/color}/light.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/AlertDialog/AlertDialogRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/AlertDialog/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/BarChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/BubbleChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Callout/CalloutRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Callout/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/CheckboxGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/CheckboxGroup/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRadioGroup.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/ContextMenuTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ContextMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DataList/DataListRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/DataList/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/DialogRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/DialogTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Dialog/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DoughnutChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdonMenuRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/DropdownMenuSub.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/DropdownMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/HoverCardTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/HoverCard/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/LineChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarMenu.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRadioGroup.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSeparator.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/MenubarSub.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Menubar/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuItem.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/NavigationMenuRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/NavigationMenu/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/PieChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/PopoverRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/PopoverTrigger.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Popover/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadarChart/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioCards/RadioCardsRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioCards/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioGroup/RadioGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/RadioGroup/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/SegmentedControl/SegmentedControlItem.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/SegmentedControl/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/Toast/ToastRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/Toast/index.mjs +0 -0
- /package/dist/lib/{components → dist/lib/components}/ToggleGroup/ToggleGroupRoot.mjs.map +0 -0
- /package/dist/lib/{components → dist/lib/components}/ToggleGroup/index.mjs +0 -0
- /package/dist/lib/{index.mjs.map → dist/lib/index.mjs.map} +0 -0
- /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs +0 -0
- /package/dist/lib/{theme → dist/lib/theme}/ThemeProvider.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/useDarkMode.mjs.map +0 -0
- /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
@@ -1,13 +1,15 @@
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
2
1
|
import React from 'react';
|
3
|
-
import {
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
import { IColor, ITypoSize } from '../../../lib/types';
|
4
4
|
export interface HeaderProps extends VariantProps<typeof headerVariants> {
|
5
5
|
color?: IColor;
|
6
|
+
size?: ITypoSize;
|
7
|
+
align?: 'left' | 'center' | 'right';
|
6
8
|
}
|
7
9
|
declare let headerVariants: (props?: ({
|
8
10
|
weight?: "medium" | "regular" | "semibold" | "bold" | null | undefined;
|
9
|
-
headers?: "
|
11
|
+
headers?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
|
10
12
|
color?: string | null | undefined;
|
11
13
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
12
|
-
export declare const Header: React.ForwardRefExoticComponent<Omit<
|
14
|
+
export declare const Header: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
|
13
15
|
export default Header;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -21,11 +22,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
21
22
|
return t;
|
22
23
|
};
|
23
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
25
|
+
import React from 'react';
|
24
26
|
import { cn } from '../../../lib/utils/utils';
|
25
27
|
import { cva } from 'class-variance-authority';
|
26
28
|
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
27
29
|
import { Heading as HeadingTheme, Theme } from '@radix-ui/themes';
|
28
|
-
import
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
29
31
|
var weights = __assign({}, weightVariants);
|
30
32
|
var headers = {
|
31
33
|
h1: 'h1',
|
@@ -47,9 +49,10 @@ var headerVariants = cva('', {
|
|
47
49
|
});
|
48
50
|
export var Header = React.forwardRef(function (_a, ref) {
|
49
51
|
var className = _a.className, children = _a.children, size = _a.size, weight = _a.weight, color = _a.color, headers = _a.headers, align = _a.align, rootProps = __rest(_a, ["className", "children", "size", "weight", "color", "headers", "align"]);
|
52
|
+
var theme = useTheme().theme;
|
50
53
|
if (!headers)
|
51
54
|
headers = 'h1';
|
52
|
-
return (_jsx(Theme, { children: _jsx(HeadingTheme, __assign({ ref: ref, as: headers, size: size, align: align, className: cn('leading-normal', headerVariants({ weight: weight, color: color }), className) }, rootProps, { children: children })) }));
|
55
|
+
return (_jsx(Theme, { children: _jsx(HeadingTheme, __assign({ ref: ref, as: headers, size: size, align: align, className: cn('leading-normal', headerVariants({ weight: weight, color: color !== null && color !== void 0 ? color : theme.themeColor }), className) }, rootProps, { children: children })) }));
|
53
56
|
});
|
54
57
|
Header.displayName = 'Header';
|
55
58
|
export default Header;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -26,6 +27,7 @@ import { cva } from 'class-variance-authority';
|
|
26
27
|
import { Text as TextTheme, Theme } from '@radix-ui/themes';
|
27
28
|
import { textColorStyle, weightVariants } from '../../../lib/constants';
|
28
29
|
import { cn } from '../../../lib/utils/utils';
|
30
|
+
import { useTheme } from '../../../lib/theme';
|
29
31
|
var textVariants = cva('', {
|
30
32
|
variants: {
|
31
33
|
weight: __assign({ light: 'font-light' }, weightVariants),
|
@@ -38,7 +40,8 @@ var textVariants = cva('', {
|
|
38
40
|
});
|
39
41
|
export var Text = forwardRef(function (_a, ref) {
|
40
42
|
var className = _a.className, children = _a.children, as = _a.as, align = _a.align, weight = _a.weight, color = _a.color, size = _a.size, props = __rest(_a, ["className", "children", "as", "align", "weight", "color", "size"]);
|
41
|
-
|
43
|
+
var theme = useTheme().theme;
|
44
|
+
return (_jsx(Theme, { children: _jsx(TextTheme, __assign({ as: as, ref: ref, size: size, align: align, className: cn(textVariants({ weight: weight, color: color !== null && color !== void 0 ? color : theme.themeColor }), className) }, props, { children: children })) }));
|
42
45
|
});
|
43
46
|
Text.displayName = 'Text';
|
44
47
|
export default Text;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { blue, crimson, teal, orange, purple, amber, slate, cyan, red, grass, brown, indigo, plum, yellow, sky, lime, } from './light';
|
2
2
|
import { blueA, crimsonA, tealA, orangeA, purpleA, amberA, slateA, cyanA, redA, grassA, brownA, indigoA, plumA, yellowA, skyA, limeA, } from './alpha';
|
3
|
+
export var MAIN_COLOR = 'red';
|
3
4
|
export var colorOptions = [
|
4
5
|
// 'black',
|
5
6
|
'slate',
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -28,6 +29,7 @@ import { cn } from '../../../lib/utils/utils';
|
|
28
29
|
import { cva } from 'class-variance-authority';
|
29
30
|
import { scalingVariants } from '../../../lib/constants';
|
30
31
|
import { useTheme } from '../../../lib/theme';
|
32
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
33
|
var accoridanVariants = cva('', {
|
32
34
|
variants: {
|
33
35
|
scaling: __assign({}, scalingVariants),
|
@@ -38,17 +40,18 @@ var accoridanVariants = cva('', {
|
|
38
40
|
});
|
39
41
|
var AccordionContext = createContext({
|
40
42
|
scaling: '100%',
|
41
|
-
color:
|
43
|
+
color: MAIN_COLOR,
|
42
44
|
});
|
43
45
|
export var useAccordionContext = function () {
|
44
46
|
return useContext(AccordionContext);
|
45
47
|
};
|
46
48
|
export var Root = React.forwardRef(function (_a, forwardedRef) {
|
47
|
-
var
|
49
|
+
var _b;
|
50
|
+
var className = _a.className, children = _a.children, scaling = _a.scaling, color = _a.color, rootProps = __rest(_a, ["className", "children", "scaling", "color"]);
|
48
51
|
var theme = useTheme().theme;
|
49
52
|
var contextValue = {
|
50
|
-
scaling: theme.themeScaling
|
51
|
-
color: theme.themeColor
|
53
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
54
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
52
55
|
};
|
53
56
|
return (_jsx(AccordionContext.Provider, { value: contextValue, children: _jsx(AccordionPrimitive.Root, __assign({ className: cn('w-[280px] rounded-md border border-slateA-4 dark:border-slateDarkA-4', accoridanVariants({ scaling: contextValue.scaling }), className) }, rootProps, { ref: forwardedRef, children: children })) }));
|
54
57
|
});
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -27,6 +28,7 @@ import { cva } from 'class-variance-authority';
|
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { appearanceStyle, primaryColorStyle, weightVariants } from '../../../lib/constants';
|
29
30
|
import { useAlertDialogContext } from './AlertDialogRoot';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
30
32
|
export var alertDialogActionVariants = cva("inline-flex items-center justify-center px-[15px] outline-none focus:shadow-[0_0_0_2px] font-normal w-fit", {
|
31
33
|
variants: {
|
32
34
|
radius: {
|
@@ -49,12 +51,12 @@ export var alertDialogActionVariants = cva("inline-flex items-center justify-cen
|
|
49
51
|
radius: 'large',
|
50
52
|
weight: 'medium',
|
51
53
|
size: 'medium',
|
52
|
-
color:
|
54
|
+
color: MAIN_COLOR,
|
53
55
|
},
|
54
56
|
});
|
55
57
|
export var AlertDialogAction = forwardRef(function (_a, ref) {
|
56
58
|
var className = _a.className, children = _a.children, weight = _a.weight, props = __rest(_a, ["className", "children", "weight"]);
|
57
|
-
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ?
|
59
|
+
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, _c = _b.color, color = _c === void 0 ? MAIN_COLOR : _c, _d = _b.appearance, appearance = _d === void 0 ? 'solid' : _d;
|
58
60
|
var buttonClassName = cn(alertDialogActionVariants({ radius: radius, size: size, weight: weight, color: color }), appearanceStyle(appearance, color), className);
|
59
61
|
return (_jsx(AlertDialogPrimitive.Action, __assign({ ref: ref, className: buttonClassName }, props, { children: children })));
|
60
62
|
});
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -46,6 +47,6 @@ export var alertDialogContentVariants = cva("fixed max-h-[85vh] top-[50%] left-[
|
|
46
47
|
export var AlertDialogContent = forwardRef(function (_a, ref) {
|
47
48
|
var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
|
48
49
|
var _b = useAlertDialogContext(), radius = _b.radius, size = _b.size, scaling = _b.scaling;
|
49
|
-
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: "fixed data-[state=open]:animate-overlayShow
|
50
|
+
return (_jsxs(AlertDialogPrimitive.Portal, { children: [_jsx(AlertDialogPrimitive.Overlay, { className: "fixed inset-0 data-[state=open]:animate-overlayShow" }), _jsx(AlertDialogPrimitive.Content, __assign({ className: cn(alertDialogContentVariants({ radius: radius, size: size, scaling: scaling }), className), ref: ref }, props, { children: children }))] }));
|
50
51
|
});
|
51
52
|
AlertDialogContent.displayName = 'AlertDialog.Content';
|
@@ -25,10 +25,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
import { forwardRef, createContext, useContext, } from 'react';
|
26
26
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
27
27
|
import { useTheme } from '../../../lib/theme';
|
28
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
28
29
|
var AlertDialogContext = createContext({
|
29
30
|
size: 'medium',
|
30
31
|
scaling: '100%',
|
31
|
-
color:
|
32
|
+
color: MAIN_COLOR,
|
32
33
|
radius: 'medium',
|
33
34
|
appearance: 'solid',
|
34
35
|
});
|
@@ -39,9 +40,9 @@ export var AlertDialogRoot = forwardRef(function (_a, ref) {
|
|
39
40
|
var children = _a.children, radius = _a.radius, size = _a.size, scaling = _a.scaling, color = _a.color, props = __rest(_a, ["children", "radius", "size", "scaling", "color"]);
|
40
41
|
var theme = useTheme().theme;
|
41
42
|
var contextValue = {
|
42
|
-
radius: theme.themeRadius
|
43
|
-
scaling: theme.themeScaling
|
44
|
-
color: theme.themeColor
|
43
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
44
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
45
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
45
46
|
size: size,
|
46
47
|
};
|
47
48
|
return (_jsx(AlertDialogContext.Provider, { value: contextValue, children: _jsx("div", { ref: ref, children: _jsx(AlertDialogPrimitive.Root, __assign({}, props, { children: children })) }) }));
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -26,6 +27,8 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
26
27
|
import { cva } from 'class-variance-authority';
|
27
28
|
import { cn } from '../../../lib/utils/utils';
|
28
29
|
import { radiusVariants, scalingVariants, weightVariants, primaryColorStyle, appearanceStyle, } from '../../../lib/constants';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
|
+
import { useTheme } from '../../../lib/theme';
|
29
32
|
var buttonVariants = cva("inline-flex items-center transition-colors focus:outline-none hover:cursor-pointer\n disabled:cursor-not-allowed disabled:bg-slate-3 disabled:text-slate-8", {
|
30
33
|
variants: {
|
31
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -43,13 +46,22 @@ var buttonVariants = cva("inline-flex items-center transition-colors focus:outli
|
|
43
46
|
radius: 'large',
|
44
47
|
scaling: '100%',
|
45
48
|
weight: 'medium',
|
46
|
-
color:
|
49
|
+
color: MAIN_COLOR,
|
47
50
|
size: 'medium',
|
48
51
|
},
|
49
52
|
});
|
50
53
|
export var AlertDialogTrigger = forwardRef(function (_a, ref) {
|
51
|
-
var
|
52
|
-
var
|
54
|
+
var _b;
|
55
|
+
var children = _a.children, className = _a.className, radius = _a.radius, scaling = _a.scaling, size = _a.size, weight = _a.weight, color = _a.color, _c = _a.appearance, appearance = _c === void 0 ? 'solid' : _c, props = __rest(_a, ["children", "className", "radius", "scaling", "size", "weight", "color", "appearance"]);
|
56
|
+
var theme = useTheme().theme;
|
57
|
+
var buttonStyle = {
|
58
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
59
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
60
|
+
weight: weight !== null && weight !== void 0 ? weight : theme.themeWeight,
|
61
|
+
color: (_b = color !== null && color !== void 0 ? color : theme.themeColor) !== null && _b !== void 0 ? _b : MAIN_COLOR,
|
62
|
+
size: size,
|
63
|
+
};
|
64
|
+
var buttonClassName = cn(buttonVariants(buttonStyle), appearanceStyle(appearance, buttonStyle.color), className);
|
53
65
|
return (_jsx(AlertDialogPrimitive.Trigger, __assign({ asChild: true, ref: ref, className: buttonClassName }, props, { children: children })));
|
54
66
|
});
|
55
67
|
AlertDialogTrigger.displayName = 'AlertDialog.Trigger';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -38,7 +39,7 @@ export var aspectRatioVariants = cva('', {
|
|
38
39
|
var AspectRatio = forwardRef(function (_a, ref) {
|
39
40
|
var children = _a.children, className = _a.className, _b = _a.ratio, ratio = _b === void 0 ? 16 / 9 : _b, scaling = _a.scaling, props = __rest(_a, ["children", "className", "ratio", "scaling"]);
|
40
41
|
var theme = useTheme().theme;
|
41
|
-
return (_jsx(AspectRatioPrimitive.Root, __assign({ ratio: ratio, ref: ref }, props, { className: cn(aspectRatioVariants({ scaling: theme.themeScaling
|
42
|
+
return (_jsx(AspectRatioPrimitive.Root, __assign({ ratio: ratio, ref: ref }, props, { className: cn(aspectRatioVariants({ scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling }), className), children: children })));
|
42
43
|
});
|
43
44
|
AspectRatio.displayName = 'AspectRatio';
|
44
45
|
export default AspectRatio;
|
@@ -28,6 +28,7 @@ import { cva } from 'class-variance-authority';
|
|
28
28
|
import { cn } from '../../../lib/utils/utils';
|
29
29
|
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants } from '../../../lib/constants';
|
30
30
|
import { useTheme } from '../../../lib/theme/ThemeProvider';
|
31
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
31
32
|
var AvatarVariants = cva('font-medium', {
|
32
33
|
variants: {
|
33
34
|
radius: __assign({}, radiusVariants['base']),
|
@@ -47,17 +48,17 @@ var AvatarVariants = cva('font-medium', {
|
|
47
48
|
},
|
48
49
|
defaultVariants: {
|
49
50
|
radius: 'full',
|
50
|
-
color:
|
51
|
+
color: MAIN_COLOR,
|
51
52
|
size: '3',
|
52
53
|
},
|
53
54
|
});
|
54
55
|
var Avatar = forwardRef(function (_a, ref) {
|
55
|
-
var className = _a.className, fallbackClassName = _a.fallbackClassName, radius = _a.radius, scaling = _a.scaling, size = _a.size, fallbackText = _a.fallbackText, imagePath = _a.imagePath, alt = _a.alt, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b,
|
56
|
+
var className = _a.className, fallbackClassName = _a.fallbackClassName, radius = _a.radius, scaling = _a.scaling, size = _a.size, fallbackText = _a.fallbackText, imagePath = _a.imagePath, alt = _a.alt, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, color = _a.color, ariaLabel = _a.ariaLabel, ariaLabelledby = _a.ariaLabelledby, title = _a.title, _c = _a.delayMs, delayMs = _c === void 0 ? 300 : _c, props = __rest(_a, ["className", "fallbackClassName", "radius", "scaling", "size", "fallbackText", "imagePath", "alt", "appearance", "color", "ariaLabel", "ariaLabelledby", "title", "delayMs"]);
|
56
57
|
var theme = useTheme().theme;
|
57
58
|
var avatarStyle = {
|
58
|
-
radius: theme.themeRadius
|
59
|
-
scaling: theme.themeScaling
|
60
|
-
color: theme.themeColor
|
59
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
60
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
61
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
61
62
|
};
|
62
63
|
var imgAltText = alt || ariaLabel || fallbackText || 'Avatar Image';
|
63
64
|
return (_jsxs(AvatarPrimitive.Root, __assign({ className: cn("inline-flex select-none items-center justify-center overflow-hidden align-middle", AvatarVariants(avatarStyle), appearanceStyle(appearance, avatarStyle.color, false), className) }, props, { ref: ref, role: "img", "aria-label": ariaLabel || imgAltText, "aria-labelledby": ariaLabelledby, title: title || imgAltText, tabIndex: 0, children: [_jsx(AvatarPrimitive.Image, { className: "h-full w-full border-none object-cover", src: imagePath, alt: imgAltText, title: title || imgAltText }), _jsx(AvatarPrimitive.Fallback, { className: cn("leading-1 flex h-full w-full items-center justify-center", className), delayMs: delayMs, "aria-hidden": "true", children: fallbackText })] })));
|
@@ -1,3 +1,4 @@
|
|
1
|
+
'use client';
|
1
2
|
var __assign = (this && this.__assign) || function () {
|
2
3
|
__assign = Object.assign || function(t) {
|
3
4
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
@@ -26,6 +27,7 @@ import { cva } from 'class-variance-authority';
|
|
26
27
|
import { cn } from '../../../lib/utils/utils';
|
27
28
|
import { appearanceStyle, primaryColorStyle, radiusVariants, scalingVariants, weightVariants, } from '../../../lib/constants';
|
28
29
|
import { useTheme } from '../../../lib/theme';
|
30
|
+
import { MAIN_COLOR } from '../../../lib/color/constants';
|
29
31
|
var BadgeVariants = cva('inline-flex items-center transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 w-fit', {
|
30
32
|
variants: {
|
31
33
|
radius: __assign({}, radiusVariants['base']),
|
@@ -43,17 +45,17 @@ var BadgeVariants = cva('inline-flex items-center transition-colors focus:outlin
|
|
43
45
|
size: 'medium',
|
44
46
|
scaling: '100%',
|
45
47
|
weight: 'medium',
|
46
|
-
color:
|
48
|
+
color: MAIN_COLOR,
|
47
49
|
},
|
48
50
|
});
|
49
51
|
var Badge = forwardRef(function (_a, ref) {
|
50
|
-
var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, weight = _a.weight, size = _a.size,
|
52
|
+
var className = _a.className, children = _a.children, radius = _a.radius, scaling = _a.scaling, weight = _a.weight, size = _a.size, color = _a.color, _b = _a.appearance, appearance = _b === void 0 ? 'solid' : _b, props = __rest(_a, ["className", "children", "radius", "scaling", "weight", "size", "color", "appearance"]);
|
51
53
|
var theme = useTheme().theme;
|
52
54
|
var badgeStyle = {
|
53
|
-
radius: theme.themeRadius
|
54
|
-
scaling: theme.themeScaling
|
55
|
-
weight: theme.themeWeight
|
56
|
-
color: theme.themeColor
|
55
|
+
radius: radius !== null && radius !== void 0 ? radius : theme.themeRadius,
|
56
|
+
scaling: scaling !== null && scaling !== void 0 ? scaling : theme.themeScaling,
|
57
|
+
weight: weight !== null && weight !== void 0 ? weight : theme.themeWeight,
|
58
|
+
color: color !== null && color !== void 0 ? color : theme.themeColor,
|
57
59
|
size: size,
|
58
60
|
};
|
59
61
|
var badgeClassName = cn(BadgeVariants(badgeStyle), appearanceStyle(appearance, badgeStyle.color, false), className);
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ComponentProps } from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbEllipsisProps extends VariantProps<typeof breadcrumbEllipsisVariants> {
|
4
|
+
}
|
5
|
+
export declare const breadcrumbEllipsisVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
6
|
+
export declare const BreadcrumbEllipsis: {
|
7
|
+
({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
8
|
+
displayName: string;
|
9
|
+
};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
24
|
+
import { cva } from 'class-variance-authority';
|
25
|
+
import { MoreHorizontal } from 'lucide-react';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
export var breadcrumbEllipsisVariants = cva("flex h-9 w-9 items-center justify-center", {
|
28
|
+
variants: {},
|
29
|
+
});
|
30
|
+
export var BreadcrumbEllipsis = function (_a) {
|
31
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
32
|
+
return (_jsxs("span", __assign({ role: "presentation", "aria-hidden": "true", className: cn(breadcrumbEllipsisVariants({}), className) }, props, { children: [_jsx(MoreHorizontal, { className: "h-4 w-4" }), _jsx("span", { className: "sr-only", children: "More" })] })));
|
33
|
+
};
|
34
|
+
BreadcrumbEllipsis.displayName = 'Breadcrumb.Elipssis';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbItemProps extends VariantProps<typeof breadcrumbItemVariants> {
|
4
|
+
}
|
5
|
+
export declare const breadcrumbItemVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
6
|
+
export declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
export var breadcrumbItemVariants = cva("inline-flex items-center gap-1.5", { variants: {} });
|
28
|
+
export var BreadcrumbItem = forwardRef(function (_a, ref) {
|
29
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
30
|
+
return (_jsx("li", __assign({ ref: ref, className: cn(breadcrumbItemVariants({}), className) }, props)));
|
31
|
+
});
|
32
|
+
BreadcrumbItem.displayName = 'Breadcrumb.Item';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbLinkProps extends VariantProps<typeof breadcrumbLinkVariants> {
|
4
|
+
}
|
5
|
+
export declare const breadcrumbLinkVariants: (props?: ({
|
6
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
8
|
+
export declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
9
|
+
asChild?: boolean | undefined;
|
10
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef, useContext } from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { BreadCrumbContext } from './BreadcrumbRoot';
|
27
|
+
import { Slot } from '@radix-ui/themes';
|
28
|
+
import { cn } from '../../../lib/utils/utils';
|
29
|
+
export var breadcrumbLinkVariants = cva("hover:text-foreground transition-colors", {
|
30
|
+
variants: {
|
31
|
+
size: {
|
32
|
+
small: 'text-xs',
|
33
|
+
medium: 'text-sm',
|
34
|
+
large: 'text-base',
|
35
|
+
},
|
36
|
+
},
|
37
|
+
defaultVariants: {
|
38
|
+
size: 'medium',
|
39
|
+
},
|
40
|
+
});
|
41
|
+
export var BreadcrumbLink = forwardRef(function (_a, ref) {
|
42
|
+
var asChild = _a.asChild, className = _a.className, props = __rest(_a, ["asChild", "className"]);
|
43
|
+
var size = useContext(BreadCrumbContext).size;
|
44
|
+
var Comp = asChild ? Slot : 'a';
|
45
|
+
return _jsx(Comp, __assign({ ref: ref, className: cn(breadcrumbLinkVariants({ size: size }), className) }, props));
|
46
|
+
});
|
47
|
+
BreadcrumbLink.displayName = 'Breadcrumb.Link';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbListProps extends VariantProps<typeof breadcrumbListVariants> {
|
4
|
+
}
|
5
|
+
export declare const breadcrumbListVariants: (props?: ({} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
6
|
+
export declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
@@ -0,0 +1,34 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef } from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { cn } from '../../../lib/utils/utils';
|
27
|
+
export var breadcrumbListVariants = cva("text-muted-foreground flex flex-wrap items-center gap-1.5 break-words text-sm sm:gap-2.5", {
|
28
|
+
variants: {},
|
29
|
+
});
|
30
|
+
export var BreadcrumbList = forwardRef(function (_a, ref) {
|
31
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
32
|
+
return (_jsx("ol", __assign({ ref: ref, className: cn(breadcrumbListVariants({}), className) }, props)));
|
33
|
+
});
|
34
|
+
BreadcrumbList.displayName = 'Breadcrumb.List';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbPageProps extends VariantProps<typeof breadcrumbPageVariants> {
|
4
|
+
}
|
5
|
+
export declare const breadcrumbPageVariants: (props?: ({
|
6
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
7
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
8
|
+
export declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
2
|
+
__assign = Object.assign || function(t) {
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
4
|
+
s = arguments[i];
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
6
|
+
t[p] = s[p];
|
7
|
+
}
|
8
|
+
return t;
|
9
|
+
};
|
10
|
+
return __assign.apply(this, arguments);
|
11
|
+
};
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
13
|
+
var t = {};
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
15
|
+
t[p] = s[p];
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
19
|
+
t[p[i]] = s[p[i]];
|
20
|
+
}
|
21
|
+
return t;
|
22
|
+
};
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
24
|
+
import { forwardRef, useContext } from 'react';
|
25
|
+
import { cva } from 'class-variance-authority';
|
26
|
+
import { BreadCrumbContext } from './BreadcrumbRoot';
|
27
|
+
import { cn } from '../../../lib/utils/utils';
|
28
|
+
export var breadcrumbPageVariants = cva("text-foreground font-medium", {
|
29
|
+
variants: {
|
30
|
+
size: {
|
31
|
+
small: 'text-xs',
|
32
|
+
medium: 'text-sm',
|
33
|
+
large: 'text-base',
|
34
|
+
},
|
35
|
+
},
|
36
|
+
defaultVariants: {
|
37
|
+
size: 'medium',
|
38
|
+
},
|
39
|
+
});
|
40
|
+
export var BreadcrumbPage = forwardRef(function (_a, ref) {
|
41
|
+
var className = _a.className, props = __rest(_a, ["className"]);
|
42
|
+
var size = useContext(BreadCrumbContext).size;
|
43
|
+
return (_jsx("span", __assign({ ref: ref, role: "link", "aria-disabled": "true", "aria-current": "page", className: cn(breadcrumbPageVariants({ size: size }), className) }, props)));
|
44
|
+
});
|
45
|
+
BreadcrumbPage.displayName = 'Breadcrumb.Page';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React, { ReactNode } from 'react';
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
3
|
+
export interface BreadcrumbProps extends VariantProps<typeof breadcrumbVariants> {
|
4
|
+
}
|
5
|
+
declare const breadcrumbVariants: (props?: ({
|
6
|
+
scaling?: "90%" | "95%" | "100%" | "105%" | "110%" | null | undefined;
|
7
|
+
size?: "small" | "medium" | "large" | null | undefined;
|
8
|
+
color?: string | null | undefined;
|
9
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
10
|
+
export declare const BreadCrumbContext: React.Context<BreadcrumbProps>;
|
11
|
+
export declare const BreadcrumbRoot: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
12
|
+
separator?: ReactNode;
|
13
|
+
} & BreadcrumbProps & React.RefAttributes<HTMLElement>>;
|
14
|
+
export {};
|