diditui 0.0.2 → 0.0.4
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 +12 -1
- package/dist/diditui.js +482 -475
- package/dist/diditui.umd.cjs +22 -22
- package/package.json +1 -1
package/dist/diditui.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
2
3
|
import { ComponentProps } from 'react';
|
|
3
4
|
import { Config } from 'tailwindcss';
|
|
4
5
|
import { default as default_2 } from 'react';
|
|
@@ -33,6 +34,8 @@ declare const cardStyles: (props?: ({
|
|
|
33
34
|
shadow?: boolean | null | undefined;
|
|
34
35
|
} & ClassProp) | undefined) => string;
|
|
35
36
|
|
|
37
|
+
export declare function cn(...classes: ClassValue[]): string;
|
|
38
|
+
|
|
36
39
|
export declare const didituiConfig: Config;
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -63,7 +66,7 @@ declare const iconStyles: (props?: ({
|
|
|
63
66
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
64
67
|
} & ClassProp) | undefined) => string;
|
|
65
68
|
|
|
66
|
-
export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'close';
|
|
69
|
+
export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'warning' | 'check' | 'copy' | 'connect' | 'passKey' | 'didit' | 'close' | 'diditLogo';
|
|
67
70
|
|
|
68
71
|
/**
|
|
69
72
|
* Allows for inheriting the props from the specified element type so that
|
|
@@ -72,6 +75,14 @@ export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'wa
|
|
|
72
75
|
*/
|
|
73
76
|
declare type InheritableElementProps<C extends default_2.ElementType, Props = {}> = ExtendableProps<PropsOf<C>, Props>;
|
|
74
77
|
|
|
78
|
+
export declare const MediaQuery: {
|
|
79
|
+
SM: number;
|
|
80
|
+
MD: number;
|
|
81
|
+
LG: number;
|
|
82
|
+
XL: number;
|
|
83
|
+
XXL: number;
|
|
84
|
+
};
|
|
85
|
+
|
|
75
86
|
export declare function Modal({ children, contentLabel, overlayClassName, className, onRequestClose, ...props }: Props): JSX_2.Element;
|
|
76
87
|
|
|
77
88
|
/**
|