@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.
- package/dist/assets/js/tokens.ts +6 -6
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/assets/js/tokens.ts
CHANGED
|
@@ -578,17 +578,17 @@ export const boxShadow = {
|
|
|
578
578
|
};
|
|
579
579
|
|
|
580
580
|
export const keyframes = {
|
|
581
|
-
"
|
|
581
|
+
"collapsible-down": {
|
|
582
582
|
from: {
|
|
583
583
|
height: "0",
|
|
584
584
|
},
|
|
585
585
|
to: {
|
|
586
|
-
height: "var(--radix-
|
|
586
|
+
height: "var(--radix-collapsible-content-height)",
|
|
587
587
|
},
|
|
588
588
|
},
|
|
589
|
-
"
|
|
589
|
+
"collapsible-up": {
|
|
590
590
|
from: {
|
|
591
|
-
height: "var(--radix-
|
|
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
|
-
"
|
|
601
|
-
"
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|