Compare commits
3 Commits
d861f151d7
...
42d5fc940a
| Author | SHA1 | Date | |
|---|---|---|---|
| 42d5fc940a | |||
| 051086e9a9 | |||
| 993bad44cc |
@@ -6,7 +6,7 @@
|
||||
"dist/**/*",
|
||||
"README.md"
|
||||
],
|
||||
"version": "0.0.12",
|
||||
"version": "0.0.13",
|
||||
"scripts": {
|
||||
"prepare": "ts-patch install -s && bun .husky/install.ts",
|
||||
"prepublishOnly": "bun run build",
|
||||
|
||||
32
src/index.ts
32
src/index.ts
@@ -166,14 +166,7 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
|
||||
lg: { value: '1.5rem' },
|
||||
xl: { value: '2rem' },
|
||||
xxl: { value: '3rem' },
|
||||
xxxl: { value: '4rem' },
|
||||
'-xs': { value: '-0.25rem' },
|
||||
'-sm': { value: '-0.5rem' },
|
||||
'-md': { value: '-1rem' },
|
||||
'-lg': { value: '-1.5rem' },
|
||||
'-xl': { value: '-2rem' },
|
||||
'-xxl': { value: '-3rem' },
|
||||
'-xxxl': { value: '-4rem' }
|
||||
xxxl: { value: '4rem' }
|
||||
},
|
||||
zIndex: {}
|
||||
},
|
||||
@@ -192,11 +185,26 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
|
||||
},
|
||||
conditions: {
|
||||
extend: {
|
||||
active: '&:is(:active, [data-active], [data-state="active"], [data-state="open"])',
|
||||
checked: '&:is(:checked, [data-checked], [data-state="checked"])',
|
||||
disabled: '&:is(:disabled, [data-disabled], [data-state="disabled"])',
|
||||
active: '&:is(:active, [data-active], [data-state="open"], [data-state="on"])',
|
||||
inactive: '&:is(:not(:active), [data-inactive], [data-state="closed"], [data-state="off"])',
|
||||
checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"], [data-state="on"])',
|
||||
unchecked:
|
||||
'&:is(:not(:checked), [data-unchecked], [aria-checked=false], [data-state="unchecked"], [data-state="off"])',
|
||||
expanded: '&:is([aria-expanded=true], [data-expanded], [data-state="open"])',
|
||||
indeterminate: '&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])',
|
||||
open: '&:is(:open, [open], [data-open], [data-state="open"])'
|
||||
selected: '&:is([aria-selected=true], [data-selected], [data-state="checked"])',
|
||||
open: '&:is([open], [data-state="open"])',
|
||||
complete: '&:is([data-state="complete"])',
|
||||
loading: '&:is([data-loading], [aria-busy=true], [data-state="loading"])',
|
||||
visible: '&:is([data-visible], [data-state="visible"])',
|
||||
closed: '&:is([data-state="closed"])',
|
||||
sideLeft: '&:is([data-side="left"])',
|
||||
sideRight: '&:is([data-side="right"])',
|
||||
sideTop: '&:is([data-side="top"])',
|
||||
sideBottom: '&:is([data-side="bottom"])',
|
||||
alignStart: '&:is([data-align="start"])',
|
||||
alignCenter: '&:is([data-align="center"])',
|
||||
alignEnd: '&:is([data-align="end"])'
|
||||
}
|
||||
},
|
||||
globalCss: {
|
||||
|
||||
Reference in New Issue
Block a user