@babylonlabs-io/core-ui 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.
@@ -2,8 +2,7 @@ import { PropsWithChildren, ReactElement } from 'react';
2
2
  import { ListItemProps, ListItem } from './components/ListItem';
3
3
  export interface ListProps {
4
4
  className?: string;
5
- newDesign?: boolean;
6
5
  orientation: "adaptive" | "horizontal" | "vertical";
7
6
  children: ReactElement<ListItemProps, typeof ListItem> | ReactElement<ListItemProps, typeof ListItem>[];
8
7
  }
9
- export declare function List({ newDesign, className, orientation, children, }: PropsWithChildren<ListProps>): import("react/jsx-runtime").JSX.Element;
8
+ export declare function List({ className, orientation, children }: PropsWithChildren<ListProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,8 @@
1
1
  export interface ListItemProps {
2
- newDesign?: boolean;
3
2
  className?: string;
4
3
  orientation?: "adaptive" | "horizontal" | "vertical";
5
4
  title: string | JSX.Element;
6
5
  value: string | JSX.Element;
7
6
  suffix?: JSX.Element;
8
7
  }
9
- export declare function ListItem({ newDesign, className, orientation, title, value, suffix }: ListItemProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ListItem({ className, orientation, title, value, suffix }: ListItemProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren, ReactElement } from 'react';
2
+ import { ListItemLegacyProps, ListItemLegacy } from './components/ListItemLegacy';
3
+ export interface ListLegacyProps {
4
+ className?: string;
5
+ orientation: "adaptive" | "horizontal" | "vertical";
6
+ children: ReactElement<ListItemLegacyProps, typeof ListItemLegacy> | ReactElement<ListItemLegacyProps, typeof ListItemLegacy>[];
7
+ }
8
+ export declare function ListLegacy({ className, orientation, children }: PropsWithChildren<ListLegacyProps>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface ListItemLegacyProps {
2
+ className?: string;
3
+ orientation?: "adaptive" | "horizontal" | "vertical";
4
+ title: string | JSX.Element;
5
+ value: string | JSX.Element;
6
+ suffix?: JSX.Element;
7
+ }
8
+ export declare function ListItemLegacy({ className, orientation, title, value, suffix }: ListItemLegacyProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './ListLegacy';
2
+ export * from './components/ListItemLegacy';