@campxdev/react-blueprint 3.0.0-alpha.3 → 3.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -437,7 +437,7 @@ interface CardProps extends Omit<React$1.ComponentProps<typeof Card$1>, 'title'
437
437
  declare const Card: React$1.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
438
438
 
439
439
  declare const badgeVariants: (props?: ({
440
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
440
+ variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
441
441
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
442
442
  declare function Badge({ className, variant, asChild, ...props }: React$1.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
443
443
  asChild?: boolean;
@@ -615,8 +615,8 @@ type TooltipProps = {
615
615
  declare const Tooltip: ({ children, title, placement, open, defaultOpen, onOpenChange, delayDuration, }: TooltipProps) => react_jsx_runtime.JSX.Element;
616
616
 
617
617
  declare const buttonVariants: (props?: ({
618
- variant?: "input" | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
619
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
618
+ variant?: "input" | "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
619
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
620
620
  } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
621
621
 
622
622
  type ButtonProps = React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/react-blueprint",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "React UI component library for CampX applications",
5
5
  "author": "CampX",
6
6
  "license": "MIT",
@@ -113,7 +113,7 @@ export const MenuItem: React.FC<MenuItemProps> = ({
113
113
  if (subMenu && subMenu.length > 0) {
114
114
  const content = (
115
115
  <>
116
- <MenuItemContainer>
116
+ <MenuItemContainer style={{ marginBottom: 1 }}>
117
117
  <SubMenuContainer
118
118
  match={!!match}
119
119
  onClick={handleSubMenuToggle}
@@ -135,7 +135,7 @@ export const MenuItem: React.FC<MenuItemProps> = ({
135
135
  <Typography variant={'small'}>{name}</Typography>
136
136
  </div>
137
137
  <div className="flex flex-col">
138
- {expanded ? <ChevronDown /> : <ChevronUp />}
138
+ {expanded ? <ChevronUp /> : <ChevronDown />}
139
139
  </div>
140
140
  </div>
141
141
  )}
@@ -121,7 +121,7 @@ export const Breadcrumbs = ({
121
121
  >
122
122
  <div
123
123
  className={cn(
124
- 'flex w-full flex-row items-center gap-1 md:px-3',
124
+ 'flex w-full flex-row items-center gap-1',
125
125
  containerClassName,
126
126
  )}
127
127
  >