@theroutingcompany/components 0.0.24-alpha.2 → 0.0.24-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/README.md +5 -4
- package/dist/trc-components.es.js +7873 -7265
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +942 -803
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Drawer/Drawer.d.ts +3 -3
- package/types/components/index.d.ts +1 -0
package/package.json
CHANGED
|
@@ -14,9 +14,9 @@ declare const widths: {
|
|
|
14
14
|
export type DrawerSize = keyof typeof widths;
|
|
15
15
|
type DrawerProps = PropsWithChildren<{
|
|
16
16
|
size?: DrawerSize;
|
|
17
|
-
}
|
|
18
|
-
export declare function Drawer({ children, size }: DrawerProps): JSX.Element;
|
|
19
|
-
export declare const DrawerAccordionRoot: (
|
|
17
|
+
}> & Dialog.DialogPortalProps;
|
|
18
|
+
export declare function Drawer({ children, size, ...props }: DrawerProps): JSX.Element;
|
|
19
|
+
export declare const DrawerAccordionRoot: import("react").ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
20
|
export type DrawerSectionProps = AccordionPrimitive.AccordionItemProps;
|
|
21
21
|
/** CSS Variables to control child styles of section closed/open state
|
|
22
22
|
* | Name | Description |
|
|
@@ -5,6 +5,7 @@ export * from './Box/Box';
|
|
|
5
5
|
export * from './Breadcrumbs/Breadcrumbs';
|
|
6
6
|
export * from './Button/Button';
|
|
7
7
|
export * from './Calendar';
|
|
8
|
+
export * from './Drawer/Drawer';
|
|
8
9
|
export * from './Button/ButtonBase';
|
|
9
10
|
export * from './Checkbox/Checkbox';
|
|
10
11
|
export * from './Dialog/Dialog';
|