@gusarov-studio/rubik-ui 28.2.0 → 28.3.0

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.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ type ListItemProps = React.HTMLAttributes<HTMLLIElement>;
3
+ declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<HTMLLIElement>>;
4
+ export { ListItem, type ListItemProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ type ListItemButtonProps = React.HTMLAttributes<HTMLLIElement>;
3
+ declare const ListItemButton: React.ForwardRefExoticComponent<ListItemButtonProps & React.RefAttributes<HTMLLIElement>>;
4
+ export { ListItemButton, type ListItemButtonProps };
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import "./List.scss";
3
+ interface ListRootProps extends React.HTMLAttributes<HTMLUListElement> {
4
+ sticky?: boolean;
5
+ }
6
+ declare const ListRoot: React.ForwardRefExoticComponent<ListRootProps & React.RefAttributes<HTMLUListElement>>;
7
+ export { ListRoot, type ListRootProps };
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ type ListSubHeaderProps = React.HTMLAttributes<HTMLLIElement>;
3
+ declare const ListSubHeader: React.ForwardRefExoticComponent<ListSubHeaderProps & React.RefAttributes<HTMLLIElement>>;
4
+ export { ListSubHeader, type ListSubHeaderProps };
@@ -0,0 +1,11 @@
1
+ import { type ListRootProps } from "./ListRoot";
2
+ import { type ListItemProps } from "./ListItem";
3
+ import { type ListItemButtonProps } from "./ListItemButton";
4
+ import { type ListSubHeaderProps } from "./ListSubHeader";
5
+ declare const List: {
6
+ Root: import("react").ForwardRefExoticComponent<ListRootProps & import("react").RefAttributes<HTMLUListElement>>;
7
+ Item: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<HTMLLIElement>>;
8
+ ItemButton: import("react").ForwardRefExoticComponent<ListItemButtonProps & import("react").RefAttributes<HTMLLIElement>>;
9
+ SubHeader: import("react").ForwardRefExoticComponent<ListSubHeaderProps & import("react").RefAttributes<HTMLLIElement>>;
10
+ };
11
+ export { List, type ListRootProps, type ListItemProps, type ListItemButtonProps, type ListSubHeaderProps, };
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from "./FileTabs";
16
16
  export * from "./Icon";
17
17
  export * from "./InputSlider";
18
18
  export * from "./InputText";
19
+ export * from "./List";
19
20
  export * from "./LoadingIndicator";
20
21
  export * from "./ModalsManager";
21
22
  export * from "./Popover";