tailwind-variants 0.1.7 → 0.1.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/config.d.ts +1 -1
- package/dist/index.d.ts +4 -5
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type TWMConfig = {
|
|
|
14
14
|
* The config object for `tailwind-merge` library.
|
|
15
15
|
* @see https://github.com/dcastil/tailwind-merge/blob/v1.8.1/docs/configuration.md
|
|
16
16
|
*/
|
|
17
|
-
twMergeConfig?: TwMergeConfig
|
|
17
|
+
twMergeConfig?: Partial<TwMergeConfig>;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export type TVConfig<
|
package/dist/index.d.ts
CHANGED
|
@@ -275,8 +275,7 @@ export declare const tv: TV;
|
|
|
275
275
|
|
|
276
276
|
export declare const defaultConfig: TVConfig;
|
|
277
277
|
|
|
278
|
-
export type VariantProps<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
: never;
|
|
278
|
+
export type VariantProps<Component extends (...args: any) => any> = Omit<
|
|
279
|
+
OmitUndefined<Parameters<Component>[0]>,
|
|
280
|
+
"class" | "className"
|
|
281
|
+
>;
|