diditui 0.0.8 → 0.0.9
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/diditui.d.ts +3 -6
- package/dist/diditui.js +245 -252
- package/dist/diditui.umd.cjs +19 -19
- package/package.json +1 -1
package/dist/diditui.d.ts
CHANGED
|
@@ -168,18 +168,15 @@ export declare type UseMediaQueryOptions = {
|
|
|
168
168
|
initializeWithValue?: boolean;
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
-
export declare function UserCard({ name, label, avatar,
|
|
171
|
+
export declare function UserCard({ name, label, avatar, radius, className, ...props }: UserCardProps): JSX_2.Element;
|
|
172
172
|
|
|
173
|
-
declare type UserCardProps = ComponentProps<'div'> &
|
|
173
|
+
declare type UserCardProps = ComponentProps<'div'> & {
|
|
174
174
|
name: string;
|
|
175
175
|
label?: string;
|
|
176
176
|
avatar?: string;
|
|
177
|
+
radius?: 'full' | 'md' | 'sm' | 'none';
|
|
177
178
|
};
|
|
178
179
|
|
|
179
|
-
declare const userCardStyles: (props?: ({
|
|
180
|
-
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
181
|
-
} & ClassProp) | undefined) => string;
|
|
182
|
-
|
|
183
180
|
export declare function useSmMediaQuery(options?: UseMediaQueryOptions): boolean;
|
|
184
181
|
|
|
185
182
|
export declare function useXlMediaQuery(options?: UseMediaQueryOptions): boolean;
|