diditui 0.0.7 → 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 CHANGED
@@ -66,7 +66,7 @@ declare const iconStyles: (props?: ({
66
66
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
67
67
  } & ClassProp) | undefined) => string;
68
68
 
69
- export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'close' | 'diditLogo' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'checkCircle';
69
+ export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'close' | 'diditLogo' | 'idCard' | 'car' | 'passport' | 'closeCircle' | 'closeCircleBold' | 'checkCircle' | 'checkCircleBold' | 'refresh';
70
70
 
71
71
  /**
72
72
  * Allows for inheriting the props from the specified element type so that
@@ -135,9 +135,9 @@ declare const textStyles: (props?: ({
135
135
  underline?: boolean | null | undefined;
136
136
  } & ClassProp) | undefined) => string;
137
137
 
138
- export declare function useLgMediaQuery(): boolean;
138
+ export declare function useLgMediaQuery(options?: UseMediaQueryOptions): boolean;
139
139
 
140
- export declare function useMdMediaQuery(): boolean;
140
+ export declare function useMdMediaQuery(options?: UseMediaQueryOptions): boolean;
141
141
 
142
142
  /**
143
143
  * Custom hook that tracks the state of a media query using the [`Match Media API`](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia).
@@ -155,7 +155,7 @@ export declare function useMdMediaQuery(): boolean;
155
155
  export declare function useMediaQuery(query: string, { defaultValue, initializeWithValue }?: UseMediaQueryOptions): boolean;
156
156
 
157
157
  /** Hook options. */
158
- declare type UseMediaQueryOptions = {
158
+ export declare type UseMediaQueryOptions = {
159
159
  /**
160
160
  * The default value to return if the hook is being run on the server.
161
161
  * @default false
@@ -168,22 +168,19 @@ declare type UseMediaQueryOptions = {
168
168
  initializeWithValue?: boolean;
169
169
  };
170
170
 
171
- export declare function UserCard({ name, label, avatar, size, className, ...props }: UserCardProps): JSX_2.Element;
171
+ export declare function UserCard({ name, label, avatar, radius, className, ...props }: UserCardProps): JSX_2.Element;
172
172
 
173
- declare type UserCardProps = ComponentProps<'div'> & VariantProps<typeof userCardStyles> & {
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
- export declare function useSmMediaQuery(): boolean;
180
+ export declare function useSmMediaQuery(options?: UseMediaQueryOptions): boolean;
184
181
 
185
- export declare function useXlMediaQuery(): boolean;
182
+ export declare function useXlMediaQuery(options?: UseMediaQueryOptions): boolean;
186
183
 
187
- export declare function useXxlMediaQuery(): boolean;
184
+ export declare function useXxlMediaQuery(options?: UseMediaQueryOptions): boolean;
188
185
 
189
186
  export { }