Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ const AccordionGroup = ({ children, className }: AccordionGroupProps) => {
};

export { AccordionGroup };
export type { AccordionGroupProps };
1 change: 1 addition & 0 deletions packages/components/src/components/accordion/accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,4 @@ const GenericAccordion = ({
};

export { Accordion };
export type { AccordionProps };
3 changes: 3 additions & 0 deletions packages/components/src/components/accordion/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ export const Accordion = Object.assign(AccordionBase, {
Group: AccordionGroup,
});

export type { AccordionProps } from "./accordion";
export type { AccordionGroupProps } from "./accordion-group";

export {
getInitialOpenState,
updateAndCopyUrl,
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/callout/callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,4 @@ const Danger = (props: BackwardCompatibleCalloutProps) => {
};

export { Callout, Info, Warning, Note, Tip, Check, Danger };
export type { CalloutProps, CalloutVariant };
1 change: 1 addition & 0 deletions packages/components/src/components/callout/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { CalloutProps, CalloutVariant } from "./callout";
export { Callout, Check, Danger, Info, Note, Tip, Warning } from "./callout";
6 changes: 6 additions & 0 deletions packages/components/src/components/card/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export type {
CardComponentProps,
CardIconProps,
CardProps,
CardPropsBase,
} from "./card";
export { Card } from "./card";
6 changes: 4 additions & 2 deletions packages/components/src/components/code-block/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export { BaseCodeBlock, type BaseCodeBlockProps } from "./base-code-block";
export { CodeBlock, type CodeBlockProps } from "./code-block";
export type { BaseCodeBlockProps } from "./base-code-block";
export { BaseCodeBlock } from "./base-code-block";
export type { CodeBlockProps } from "./code-block";
export { CodeBlock } from "./code-block";
3 changes: 2 additions & 1 deletion packages/components/src/components/code-group/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { CodeGroup, type CodeGroupProps } from "./code-group";
export type { CodeGroupProps } from "./code-group";
export { CodeGroup } from "./code-group";
1 change: 1 addition & 0 deletions packages/components/src/components/color/color.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,4 @@ Color.Row = ColorRow;
Color.Item = ColorItem;

export { Color };
export type { ColorItemProps, ColorProps, ColorRowProps };
2 changes: 2 additions & 0 deletions packages/components/src/components/color/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export type { ColorItemProps, ColorProps, ColorRowProps } from "./color";
export { Color } from "./color";
export type { ColorVariant } from "./constants";
1 change: 1 addition & 0 deletions packages/components/src/components/columns/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ const Columns = ({ children, className, cols = 2 }: ColumnsProps) => {
};

export { Columns };
export type { ColumnsProps };
1 change: 1 addition & 0 deletions packages/components/src/components/columns/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { ColumnsProps } from "./columns";
export { Columns } from "./columns";
3 changes: 2 additions & 1 deletion packages/components/src/components/expandable/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Expandable, type ExpandableProps } from "./expandable";
export type { ExpandableProps } from "./expandable";
export { Expandable } from "./expandable";
1 change: 1 addition & 0 deletions packages/components/src/components/icon/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { IconProps } from "./icon";
export { Icon } from "./icon";
1 change: 1 addition & 0 deletions packages/components/src/components/panel/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { PanelProps } from "./panel";
export { Panel } from "./panel";
1 change: 1 addition & 0 deletions packages/components/src/components/panel/panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ const Panel = ({ children, className, ...props }: PanelProps) => {
};

export { Panel };
export type { PanelProps };
1 change: 1 addition & 0 deletions packages/components/src/components/property/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { PropertyProps } from "./property";
export { Property } from "./property";
1 change: 1 addition & 0 deletions packages/components/src/components/tile/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { TileProps } from "./tile";
export { Tile } from "./tile";
1 change: 1 addition & 0 deletions packages/components/src/components/tile/tile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,4 @@ const Tile = ({ href, children, title, description, className }: TileProps) => {
};

export { Tile };
export type { TileProps };
4 changes: 4 additions & 0 deletions packages/components/src/components/tree/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { TreeFile } from "./file";
import { TreeFolder } from "./folder";
import { TreeRoot } from "./root";

export type { TreeFileProps } from "./file";
export type { TreeFolderProps } from "./folder";
export type { TreeProps } from "./root";

const Tree = Object.assign(TreeRoot, {
File: TreeFile,
Folder: TreeFolder,
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/components/update/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { UpdateProps } from "./update";
export { Update } from "./update";
1 change: 1 addition & 0 deletions packages/components/src/components/view/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export type { ViewProps } from "./view";
export { View } from "./view";
2 changes: 1 addition & 1 deletion packages/components/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({
"src/**/*.test.tsx",
],
outDir: "dist",
rollupTypes: true,
rollupTypes: false,
}),
],
resolve: {
Expand Down