diditui 0.0.7 → 0.0.8
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 +7 -7
- package/dist/diditui.js +807 -792
- package/dist/diditui.umd.cjs +23 -23
- package/package.json +2 -2
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
|
|
@@ -180,10 +180,10 @@ declare const userCardStyles: (props?: ({
|
|
|
180
180
|
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
181
181
|
} & ClassProp) | undefined) => string;
|
|
182
182
|
|
|
183
|
-
export declare function useSmMediaQuery(): boolean;
|
|
183
|
+
export declare function useSmMediaQuery(options?: UseMediaQueryOptions): boolean;
|
|
184
184
|
|
|
185
|
-
export declare function useXlMediaQuery(): boolean;
|
|
185
|
+
export declare function useXlMediaQuery(options?: UseMediaQueryOptions): boolean;
|
|
186
186
|
|
|
187
|
-
export declare function useXxlMediaQuery(): boolean;
|
|
187
|
+
export declare function useXxlMediaQuery(options?: UseMediaQueryOptions): boolean;
|
|
188
188
|
|
|
189
189
|
export { }
|