Compare commits
3 Commits
d861f151d7
...
42d5fc940a
| Author | SHA1 | Date | |
|---|---|---|---|
| 42d5fc940a | |||
| 051086e9a9 | |||
| 993bad44cc |
@@ -6,7 +6,7 @@
|
|||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
"version": "0.0.12",
|
"version": "0.0.13",
|
||||||
"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",
|
||||||
|
|||||||
32
src/index.ts
32
src/index.ts
@@ -166,14 +166,7 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
|
|||||||
lg: { value: '1.5rem' },
|
lg: { value: '1.5rem' },
|
||||||
xl: { value: '2rem' },
|
xl: { value: '2rem' },
|
||||||
xxl: { value: '3rem' },
|
xxl: { value: '3rem' },
|
||||||
xxxl: { value: '4rem' },
|
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' }
|
|
||||||
},
|
},
|
||||||
zIndex: {}
|
zIndex: {}
|
||||||
},
|
},
|
||||||
@@ -192,11 +185,26 @@ const srJuggernautPandaPreset = (config?: ThemeConfig) => {
|
|||||||
},
|
},
|
||||||
conditions: {
|
conditions: {
|
||||||
extend: {
|
extend: {
|
||||||
active: '&:is(:active, [data-active], [data-state="active"], [data-state="open"])',
|
active: '&:is(:active, [data-active], [data-state="open"], [data-state="on"])',
|
||||||
checked: '&:is(:checked, [data-checked], [data-state="checked"])',
|
inactive: '&:is(:not(:active), [data-inactive], [data-state="closed"], [data-state="off"])',
|
||||||
disabled: '&:is(:disabled, [data-disabled], [data-state="disabled"])',
|
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"])',
|
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: {
|
globalCss: {
|
||||||
|
|||||||
Reference in New Issue
Block a user