@gusarov-studio/rubik-ui 28.2.0 → 29.0.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.
- package/dist/Alert/Alert.d.ts +2 -2
- package/dist/Alert/AlertDescription.d.ts +1 -1
- package/dist/Alert/AlertTitle.d.ts +1 -1
- package/dist/List/ListItem.d.ts +4 -0
- package/dist/List/ListItemButton.d.ts +4 -0
- package/dist/List/ListRoot.d.ts +7 -0
- package/dist/List/ListSubHeader.d.ts +4 -0
- package/dist/List/index.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.declarations.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/Alert/Alert.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import "./Alert.scss";
|
|
3
3
|
interface AlertProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
appearance?: "
|
|
5
|
-
variant?: "success" | "danger" | "warning" | "
|
|
4
|
+
appearance?: "solid" | "subtle" | "soft";
|
|
5
|
+
variant?: "primary" | "secondary" | "accent" | "success" | "danger" | "warning" | "white" | "black";
|
|
6
6
|
onClose?: (event: React.MouseEvent) => void;
|
|
7
7
|
icon?: React.ReactNode;
|
|
8
8
|
}
|
|
@@ -3,4 +3,4 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLParagraphElemen
|
|
|
3
3
|
asChild?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare const AlertDescription: React.ForwardRefExoticComponent<AlertDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
-
export { AlertDescription };
|
|
6
|
+
export { AlertDescription, type AlertDescriptionProps };
|
|
@@ -3,4 +3,4 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
|
3
3
|
asChild?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare const AlertTitle: React.ForwardRefExoticComponent<AlertTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
6
|
-
export { AlertTitle };
|
|
6
|
+
export { AlertTitle, type AlertTitleProps };
|
|
@@ -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,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