@gusarov-studio/rubik-ui 3.4.0 → 3.5.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/Avatar/Avatar.d.ts +9 -0
- package/dist/Avatar/AvatarContext.d.ts +7 -0
- package/dist/Avatar/AvatarFallback.d.ts +4 -0
- package/dist/Avatar/AvatarImage.d.ts +4 -0
- package/dist/Avatar/AvatarIndicator.d.ts +3 -0
- package/dist/Avatar/AvatarInfo.d.ts +3 -0
- package/dist/Avatar/constants/index.d.ts +7 -0
- package/dist/Avatar/index.d.ts +5 -0
- package/dist/Avatar/types.d.ts +3 -0
- package/dist/Tabs/types.d.ts +2 -1
- 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/dist/types/TextSize.d.ts +1 -0
- package/dist/types/ValueOf.d.ts +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
import "./Avatar.scss";
|
|
4
|
+
interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> {
|
|
5
|
+
size?: "32" | "40" | "48" | "56";
|
|
6
|
+
indicator?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
|
|
9
|
+
export { Avatar, type AvatarProps };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
interface AvatarContextValue {
|
|
3
|
+
indicator?: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
declare const AvatarContext: React.Context<AvatarContextValue | undefined>;
|
|
6
|
+
declare const useAvatarContext: () => AvatarContextValue;
|
|
7
|
+
export { AvatarContext, type AvatarContextValue, useAvatarContext };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
export { AvatarFallback };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
4
|
+
export { AvatarImage };
|
package/dist/Tabs/types.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { ScrollDirections } from "./constants/scrollDirections";
|
|
2
|
-
|
|
2
|
+
import type { ValueOf } from "../types/ValueOf";
|
|
3
|
+
export type ScrollDirectionsType = ValueOf<typeof ScrollDirections>;
|