@turystack/ui 0.0.11 → 0.0.12
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/index.d.ts +8 -4
- package/dist/index.js +452 -450
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,7 +27,9 @@ export declare type ButtonType = 'button' | 'submit' | 'reset';
|
|
|
27
27
|
|
|
28
28
|
export declare type ButtonVariant = 'default' | 'destructive' | 'outline' | 'dashed' | 'secondary' | 'ghost' | 'link';
|
|
29
29
|
|
|
30
|
-
declare type ComponentClassNameSlots<T extends string> = Record<T, string
|
|
30
|
+
declare type ComponentClassNameSlots<T extends string> = Partial<Record<T, string>>;
|
|
31
|
+
|
|
32
|
+
declare type ComponentDefaultProps<T extends object> = Partial<T>;
|
|
31
33
|
|
|
32
34
|
export declare const TuryStackContext: Context<TuryStackProviderProps | undefined>;
|
|
33
35
|
|
|
@@ -36,9 +38,11 @@ export declare function TuryStackProvider({ children, ...props }: TuryStackProvi
|
|
|
36
38
|
}): JSX.Element;
|
|
37
39
|
|
|
38
40
|
export declare type TuryStackProviderProps = {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
components?: {
|
|
42
|
+
button?: {
|
|
43
|
+
classNames?: ComponentClassNameSlots<ButtonSlots>;
|
|
44
|
+
defaultProps?: ComponentDefaultProps<ButtonProps>;
|
|
45
|
+
};
|
|
42
46
|
};
|
|
43
47
|
};
|
|
44
48
|
|