@harpercollins/harpercollins-design-system 0.0.9 → 0.0.10

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.
@@ -3,5 +3,5 @@ interface BadgeInternalProps extends React.HTMLAttributes<HTMLElement> {
3
3
  size?: "small" | "medium" | "xsmall" | "xxsmall";
4
4
  kind?: "default" | "danger" | "warning" | "grey";
5
5
  }
6
- export declare function Badge({ children, ...props }: React.PropsWithChildren<BadgeInternalProps>): React.ReactElement;
7
- export {};
6
+ declare function Badge({ children, ...props }: React.PropsWithChildren<BadgeInternalProps>): React.ReactElement;
7
+ export default Badge;
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryObj } from "@storybook/react";
2
- import { Badge } from "./Badge";
2
+ import Badge from "./Badge";
3
3
  declare const meta: Meta<typeof Badge>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Badge>;
@@ -1 +1,2 @@
1
- export {};
1
+ import Badge from "./Badge";
2
+ export default Badge;
@@ -1,18 +1,2 @@
1
- export * as Accordion from "./Accordion";
2
- export * as Badge from "./Badge";
3
- export * as Breadcrumb from "./Breadcrumb";
4
- export * as Button from "./Button";
5
- export * as Header from "./global/Header";
6
- export * as Heading from "./Heading";
7
- export * as Icon from "./Icon";
8
- export * as LoadingSpinner from "./LoadingSpinner";
9
- export * as Logo from "./Logo";
10
- export * as ReadMore from "./ReadMore";
11
- export * as ProgressBar from "./ProgressBar";
12
- export * as ProgressCircle from "./ProgressCircle";
13
- export * as StatusIcon from "./StatusIcon";
14
- export * as Table from "./Table";
15
- export * as Tabs from "./Tabs";
16
- export * as TextField from "./TextField";
17
- export * as ToastMessage from "./ToastMessage";
18
- export * as Tooltip from "./Tooltip";
1
+ import Badge from "./Badge";
2
+ export { Badge };