@medway-ui/core 1.3.0 → 1.4.1

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.
@@ -578,17 +578,17 @@ export const boxShadow = {
578
578
  };
579
579
 
580
580
  export const keyframes = {
581
- "accordion-down": {
581
+ "collapsible-down": {
582
582
  from: {
583
583
  height: "0",
584
584
  },
585
585
  to: {
586
- height: "var(--radix-accordion-content-height)",
586
+ height: "var(--radix-collapsible-content-height)",
587
587
  },
588
588
  },
589
- "accordion-up": {
589
+ "collapsible-up": {
590
590
  from: {
591
- height: "var(--radix-accordion-content-height)",
591
+ height: "var(--radix-collapsible-content-height)",
592
592
  },
593
593
  to: {
594
594
  height: "0",
@@ -597,6 +597,6 @@ export const keyframes = {
597
597
  };
598
598
 
599
599
  export const animation = {
600
- "accordion-down": "accordion-down 0.2s ease-out",
601
- "accordion-up": "accordion-up 0.2s ease-out",
600
+ "collapsible-down": "collapsible-down 0.2s ease-out",
601
+ "collapsible-up": "collapsible-up 0.2s ease-out",
602
602
  };
package/dist/index.d.mts CHANGED
@@ -75,9 +75,15 @@ declare const buttonVariants: (props?: ({
75
75
  } & class_variance_authority_types.ClassProp) | undefined) => string;
76
76
  declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
77
77
 
78
- declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
78
+ interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
79
+ animated?: boolean;
80
+ }
81
+ declare function Collapsible({ animated, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
79
82
  declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
80
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.Content>): react_jsx_runtime.JSX.Element;
83
+ interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
84
+ className?: string;
85
+ }
86
+ declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
81
87
 
82
88
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
83
89
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -75,9 +75,15 @@ declare const buttonVariants: (props?: ({
75
75
  } & class_variance_authority_types.ClassProp) | undefined) => string;
76
76
  declare function Button({ className, containerClassName, variant, size, asChild, iconRight, iconLeft, badge, loading, alert, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
77
77
 
78
- declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible$1.Root>): react_jsx_runtime.JSX.Element;
78
+ interface CollapsibleProps extends React.ComponentProps<typeof Collapsible$1.Root> {
79
+ animated?: boolean;
80
+ }
81
+ declare function Collapsible({ animated, ...props }: CollapsibleProps): react_jsx_runtime.JSX.Element;
79
82
  declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof Collapsible$1.Trigger>): react_jsx_runtime.JSX.Element;
80
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible$1.Content>): react_jsx_runtime.JSX.Element;
83
+ interface CollapsibleContentProps extends React.ComponentProps<typeof Collapsible$1.Content> {
84
+ className?: string;
85
+ }
86
+ declare function CollapsibleContent({ className, ...props }: CollapsibleContentProps): react_jsx_runtime.JSX.Element;
81
87
 
82
88
  declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Root>): react_jsx_runtime.JSX.Element;
83
89
  declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenu$1.Portal>): react_jsx_runtime.JSX.Element;