From 2259126d3ea3f26ad0c6ef48d1027bbb27c03f86 Mon Sep 17 00:00:00 2001 From: Vamsi Punna Reddy Date: Wed, 18 Feb 2026 04:56:57 +0530 Subject: [PATCH] fix: ClassDictionary type not working when using with base-ui --- packages/css-variants/package.json | 2 +- packages/css-variants/src/cx.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/css-variants/package.json b/packages/css-variants/package.json index ea02ae1..b9a6d8f 100644 --- a/packages/css-variants/package.json +++ b/packages/css-variants/package.json @@ -1,6 +1,6 @@ { "name": "css-variants", - "version": "2.3.4", + "version": "2.3.5", "description": "Lightweight helpers to compose class names and inline styles using variants. Zero runtime deps, small bundle, and first-class TypeScript support.", "homepage": "https://css-variants.vercel.app", "type": "module", diff --git a/packages/css-variants/src/cx.ts b/packages/css-variants/src/cx.ts index 2dafd75..7f67449 100644 --- a/packages/css-variants/src/cx.ts +++ b/packages/css-variants/src/cx.ts @@ -1,6 +1,6 @@ // credit: https://github.com/lukeed/clsx -export type ClassDictionary = Record +export type ClassDictionary = Record export type ClassValue = ClassValue[] | string | number | bigint | ClassDictionary | null | boolean | undefined export type ClassArray = ClassValue[]