Compare commits

..

2 Commits

2 changed files with 4 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
"dist/**/*", "dist/**/*",
"README.md" "README.md"
], ],
"version": "0.0.15", "version": "0.0.16",
"scripts": { "scripts": {
"prepare": "ts-patch install -s && bun .husky/install.ts", "prepare": "ts-patch install -s && bun .husky/install.ts",
"prepublishOnly": "bun run build", "prepublishOnly": "bun run build",

View File

@@ -189,8 +189,9 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
}, },
conditions: { conditions: {
extend: { extend: {
active: '&:is(:active, [data-active], [data-state="open"], [data-state="on"])', active: '&:is(:active, [data-active], [data-state="active"], [data-state="open"], [data-state="on"])',
inactive: '&:is(:not(:active), [data-inactive], [data-state="closed"], [data-state="off"])', inactive:
'&:is(:not(:active), [data-inactive], [data-state="inactive"], [data-state="closed"], [data-state="off"])',
checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"], [data-state="on"])', checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"], [data-state="on"])',
unchecked: unchecked:
'&:is(:not(:checked), [data-unchecked], [aria-checked=false], [data-state="unchecked"], [data-state="off"])', '&:is(:not(:checked), [data-unchecked], [aria-checked=false], [data-state="unchecked"], [data-state="off"])',