Skip to content

Commit

Permalink
fix: heroui name and storybook welcome page
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev committed Jan 16, 2025
1 parent f780b76 commit 6773e80
Show file tree
Hide file tree
Showing 81 changed files with 95 additions and 98 deletions.
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/vite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ the following code to your `tailwind.config.js` file:

```js {2,8,13-14}
// tailwind.config.js
const { heorui } = require("@heroui/react");
const { heroui } = require("@heroui/react");

/** @type {import('tailwindcss').Config} */
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/accordion/src/accordion-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,6 @@ const AccordionItem = forwardRef<"button", AccordionItemProps>((props, ref) => {
);
});

AccordionItem.displayName = "HeorUI.AccordionItem";
AccordionItem.displayName = "HeroUI.AccordionItem";

export default AccordionItem;
2 changes: 1 addition & 1 deletion packages/components/accordion/src/accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ const AccordionGroup = forwardRef<"div", AccordionProps>((props, ref) => {
);
});

AccordionGroup.displayName = "HeorUI.Accordion";
AccordionGroup.displayName = "HeroUI.Accordion";

export default AccordionGroup;
2 changes: 1 addition & 1 deletion packages/components/alert/src/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ const Alert = forwardRef<"div", AlertProps>((props, ref) => {
);
});

Alert.displayName = "HeorUI.Alert";
Alert.displayName = "HeroUI.Alert";

export default Alert;
2 changes: 1 addition & 1 deletion packages/components/avatar/src/avatar-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ const AvatarGroup = forwardRef<"div", AvatarGroupProps>((props, ref) => {
);
});

AvatarGroup.displayName = "HeorUI.AvatarGroup";
AvatarGroup.displayName = "HeroUI.AvatarGroup";

export default AvatarGroup;
2 changes: 1 addition & 1 deletion packages/components/avatar/src/avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ const Avatar = forwardRef<"span", AvatarProps>((props, ref) => {
);
});

Avatar.displayName = "HeorUI.Avatar";
Avatar.displayName = "HeroUI.Avatar";

export default Avatar;
2 changes: 1 addition & 1 deletion packages/components/badge/src/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ const Badge = forwardRef<"span", BadgeProps>((props, ref) => {
);
});

Badge.displayName = "HeorUI.Badge";
Badge.displayName = "HeroUI.Badge";

export default Badge;
2 changes: 1 addition & 1 deletion packages/components/breadcrumbs/src/breadcrumb-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ const Breadcrumbs = forwardRef<"li", BreadcrumbItemProps>((props, ref) => {
);
});

Breadcrumbs.displayName = "HeorUI.Breadcrumbs";
Breadcrumbs.displayName = "HeroUI.Breadcrumbs";

export default Breadcrumbs;
2 changes: 1 addition & 1 deletion packages/components/breadcrumbs/src/breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ const Breadcrumbs = forwardRef<"div", BreadcrumbsProps>((props, ref) => {
);
});

Breadcrumbs.displayName = "HeorUI.Breadcrumbs";
Breadcrumbs.displayName = "HeroUI.Breadcrumbs";

export default Breadcrumbs;
2 changes: 1 addition & 1 deletion packages/components/button/src/button-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ const ButtonGroup = forwardRef<"div", ButtonGroupProps>((props, ref) => {
);
});

ButtonGroup.displayName = "HeorUI.ButtonGroup";
ButtonGroup.displayName = "HeroUI.ButtonGroup";

export default ButtonGroup;
2 changes: 1 addition & 1 deletion packages/components/button/src/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ const Button = forwardRef<"button", ButtonProps>((props, ref) => {
);
});

Button.displayName = "HeorUI.Button";
Button.displayName = "HeroUI.Button";

export default Button;
2 changes: 1 addition & 1 deletion packages/components/card/src/card-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ const CardBody = forwardRef<"div", HTMLHeroUIProps<"div">>((props, ref) => {
);
});

CardBody.displayName = "HeorUI.CardBody";
CardBody.displayName = "HeroUI.CardBody";

export default CardBody;
2 changes: 1 addition & 1 deletion packages/components/card/src/card-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ const CardFooter = forwardRef<"div", CardFooterProps>((props, ref) => {
);
});

CardFooter.displayName = "HeorUI.CardFooter";
CardFooter.displayName = "HeroUI.CardFooter";

export default CardFooter;
2 changes: 1 addition & 1 deletion packages/components/card/src/card-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ const CardHeader = forwardRef<"div", HTMLHeroUIProps<"div">>((props, ref) => {
);
});

CardHeader.displayName = "HeorUI.CardHeader";
CardHeader.displayName = "HeroUI.CardHeader";

export default CardHeader;
2 changes: 1 addition & 1 deletion packages/components/card/src/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ const Card = forwardRef<"div", CardProps>((props, ref) => {
);
});

Card.displayName = "HeorUI.Card";
Card.displayName = "HeroUI.Card";

export default Card;
2 changes: 1 addition & 1 deletion packages/components/checkbox/src/checkbox-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ const CheckboxGroup = forwardRef<"div", CheckboxGroupProps>((props, ref) => {
);
});

CheckboxGroup.displayName = "HeorUI.CheckboxGroup";
CheckboxGroup.displayName = "HeroUI.CheckboxGroup";

export default CheckboxGroup;
2 changes: 1 addition & 1 deletion packages/components/checkbox/src/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ const Checkbox = forwardRef<"input", CheckboxProps>((props, ref) => {
);
});

Checkbox.displayName = "HeorUI.Checkbox";
Checkbox.displayName = "HeroUI.Checkbox";

export default Checkbox;
2 changes: 1 addition & 1 deletion packages/components/chip/src/chip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ const Chip = forwardRef<"div", ChipProps>((props, ref) => {
);
});

Chip.displayName = "HeorUI.Chip";
Chip.displayName = "HeroUI.Chip";

export default Chip;
2 changes: 1 addition & 1 deletion packages/components/code/src/code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ const Code = forwardRef<"div", CodeProps>((props, ref) => {
);
});

Code.displayName = "HeorUI.Code";
Code.displayName = "HeroUI.Code";

export default Code;
2 changes: 1 addition & 1 deletion packages/components/date-input/src/date-input-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ export const DateInputField = forwardRef<"div", DateInputFieldProps>((props, ref
);
});

DateInputField.displayName = "HeorUI.DateInputField";
DateInputField.displayName = "HeroUI.DateInputField";
2 changes: 1 addition & 1 deletion packages/components/date-input/src/date-input-group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ export const DateInputGroup = forwardRef<"div", DateInputGroupProps>((props, ref
);
});

DateInputGroup.displayName = "HeorUI.DateInputGroup";
DateInputGroup.displayName = "HeroUI.DateInputGroup";
2 changes: 1 addition & 1 deletion packages/components/divider/src/divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ const Divider = forwardRef<"div", DividerProps>((props, ref) => {
return <Component ref={ref} {...getDividerProps()} />;
});

Divider.displayName = "HeorUI.Divider";
Divider.displayName = "HeroUI.Divider";

export default Divider;
2 changes: 1 addition & 1 deletion packages/components/drawer/src/drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ const Drawer = forwardRef<"div", DrawerProps>(({children, ...props}, ref) => {
);
});

Drawer.displayName = "HeorUI.Drawer";
Drawer.displayName = "HeroUI.Drawer";

export default Drawer;
2 changes: 1 addition & 1 deletion packages/components/dropdown/src/dropdown-trigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ const DropdownTrigger = (props: DropdownTriggerProps) => {
return <PopoverTrigger {...getMenuTriggerProps(otherProps)}>{children}</PopoverTrigger>;
};

DropdownTrigger.displayName = "HeorUI.DropdownTrigger";
DropdownTrigger.displayName = "HeroUI.DropdownTrigger";

export default DropdownTrigger;
2 changes: 1 addition & 1 deletion packages/components/dropdown/src/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ const Dropdown = (props: DropdownProps) => {
);
};

Dropdown.displayName = "HeorUI.Dropdown";
Dropdown.displayName = "HeroUI.Dropdown";

export default Dropdown;
2 changes: 1 addition & 1 deletion packages/components/image/src/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ const Image = forwardRef<"img", ImageProps>((props, ref) => {
return img;
});

Image.displayName = "HeorUI.Image";
Image.displayName = "HeroUI.Image";

export default Image;
2 changes: 1 addition & 1 deletion packages/components/input-otp/src/input-otp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ const InputOtp = forwardRef<"input", InputOtpProps>((props, ref) => {
);
});

InputOtp.displayName = "HeorUI.InputOtp";
InputOtp.displayName = "HeroUI.InputOtp";

export default InputOtp;
2 changes: 1 addition & 1 deletion packages/components/input/src/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ const Input = forwardRef<"input", InputProps>((props, ref) => {
);
});

Input.displayName = "HeorUI.Input";
Input.displayName = "HeroUI.Input";

export default Input;
2 changes: 1 addition & 1 deletion packages/components/input/src/textarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ const Textarea = forwardRef<"textarea", TextAreaProps>(
},
);

Textarea.displayName = "HeorUI.Textarea";
Textarea.displayName = "HeroUI.Textarea";

export default Textarea;
2 changes: 1 addition & 1 deletion packages/components/kbd/src/kbd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ const Kbd = forwardRef<"kbd", KbdProps>((props, ref) => {
);
});

Kbd.displayName = "HeorUI.Kbd";
Kbd.displayName = "HeroUI.Kbd";

export default Kbd;
2 changes: 1 addition & 1 deletion packages/components/link/src/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ const Link = forwardRef<"a", LinkProps>((props, ref) => {
);
});

Link.displayName = "HeorUI.Link";
Link.displayName = "HeroUI.Link";

export default Link;
2 changes: 1 addition & 1 deletion packages/components/listbox/src/listbox-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ const ListboxItem = (props: ListboxItemProps) => {
);
};

ListboxItem.displayName = "HeorUI.ListboxItem";
ListboxItem.displayName = "HeroUI.ListboxItem";

export default ListboxItem;
2 changes: 1 addition & 1 deletion packages/components/listbox/src/listbox-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ const ListboxSection = forwardRef<"li", ListboxSectionProps>(
},
);

ListboxSection.displayName = "HeorUI.ListboxSection";
ListboxSection.displayName = "HeroUI.ListboxSection";

export default ListboxSection;
2 changes: 1 addition & 1 deletion packages/components/menu/src/menu-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ const MenuItem = (props: MenuItemProps) => {
);
};

MenuItem.displayName = "HeorUI.MenuItem";
MenuItem.displayName = "HeroUI.MenuItem";

export default MenuItem;
2 changes: 1 addition & 1 deletion packages/components/menu/src/menu-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ const MenuSection = forwardRef<"li", MenuSectionProps>(
},
);

MenuSection.displayName = "HeorUI.MenuSection";
MenuSection.displayName = "HeroUI.MenuSection";

export default MenuSection;
2 changes: 1 addition & 1 deletion packages/components/modal/src/modal-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const ModalBody = forwardRef<"div", ModalBodyProps>((props, ref) => {
);
});

ModalBody.displayName = "HeorUI.ModalBody";
ModalBody.displayName = "HeroUI.ModalBody";

export default ModalBody;
2 changes: 1 addition & 1 deletion packages/components/modal/src/modal-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,6 @@ const ModalContent = (props: ModalContentProps) => {
);
};

ModalContent.displayName = "HeorUI.ModalContent";
ModalContent.displayName = "HeroUI.ModalContent";

export default ModalContent;
2 changes: 1 addition & 1 deletion packages/components/modal/src/modal-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ const ModalFooter = forwardRef<"footer", ModalFooterProps>((props, ref) => {
);
});

ModalFooter.displayName = "HeorUI.ModalFooter";
ModalFooter.displayName = "HeroUI.ModalFooter";

export default ModalFooter;
2 changes: 1 addition & 1 deletion packages/components/modal/src/modal-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ const ModalHeader = forwardRef<"header", ModalHeaderProps>((props, ref) => {
);
});

ModalHeader.displayName = "HeorUI.ModalHeader";
ModalHeader.displayName = "HeroUI.ModalHeader";

export default ModalHeader;
2 changes: 1 addition & 1 deletion packages/components/modal/src/modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ const Modal = forwardRef<"div", ModalProps>((props, ref) => {
);
});

Modal.displayName = "HeorUI.Modal";
Modal.displayName = "HeroUI.Modal";

export default Modal;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-brand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ const NavbarBrand = forwardRef<"div", NavbarBrandProps>((props, ref) => {
);
});

NavbarBrand.displayName = "HeorUI.NavbarBrand";
NavbarBrand.displayName = "HeroUI.NavbarBrand";

export default NavbarBrand;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const NavbarContent = forwardRef<"ul", NavbarContentProps>((props, ref) => {
);
});

NavbarContent.displayName = "HeorUI.NavbarContent";
NavbarContent.displayName = "HeroUI.NavbarContent";

export default NavbarContent;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ const NavbarItem = forwardRef<"li", NavbarItemProps>((props, ref) => {
);
});

NavbarItem.displayName = "HeorUI.NavbarItem";
NavbarItem.displayName = "HeroUI.NavbarItem";

export default NavbarItem;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-menu-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ const NavbarMenuItem = forwardRef<"li", NavbarMenuItemProps>((props, ref) => {
);
});

NavbarMenuItem.displayName = "HeorUI.NavbarMenuItem";
NavbarMenuItem.displayName = "HeroUI.NavbarMenuItem";

export default NavbarMenuItem;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-menu-toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ const NavbarMenuToggle = forwardRef<"button", NavbarMenuToggleProps>((props, ref
);
});

NavbarMenuToggle.displayName = "HeorUI.NavbarMenuToggle";
NavbarMenuToggle.displayName = "HeroUI.NavbarMenuToggle";

export default NavbarMenuToggle;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ const NavbarMenu = forwardRef<"ul", NavbarMenuProps>((props, ref) => {
return contents;
});

NavbarMenu.displayName = "HeorUI.NavbarMenu";
NavbarMenu.displayName = "HeroUI.NavbarMenu";

export default NavbarMenu;
2 changes: 1 addition & 1 deletion packages/components/navbar/src/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ const Navbar = forwardRef<"div", NavbarProps>((props, ref) => {
);
});

Navbar.displayName = "HeorUI.Navbar";
Navbar.displayName = "HeroUI.Navbar";

export default Navbar;
2 changes: 1 addition & 1 deletion packages/components/pagination/src/pagination-cursor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ const PaginationCursor = forwardRef<"span", PaginationCursorProps>((props, ref)
);
});

PaginationCursor.displayName = "HeorUI.PaginationCursor";
PaginationCursor.displayName = "HeroUI.PaginationCursor";

export default PaginationCursor;
2 changes: 1 addition & 1 deletion packages/components/pagination/src/pagination-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ const PaginationItem = forwardRef<"li", PaginationItemProps>((props, ref) => {
return <Component {...getItemProps()}>{children}</Component>;
});

PaginationItem.displayName = "HeorUI.PaginationItem";
PaginationItem.displayName = "HeroUI.PaginationItem";

export default PaginationItem;
2 changes: 1 addition & 1 deletion packages/components/pagination/src/pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,6 @@ const Pagination = forwardRef<"nav", PaginationProps>((props, ref) => {
);
});

Pagination.displayName = "HeorUI.Pagination";
Pagination.displayName = "HeroUI.Pagination";

export default Pagination;
Loading

0 comments on commit 6773e80

Please sign in to comment.