We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c70e03 commit 626f62bCopy full SHA for 626f62b
src/tasty/utils/styles.ts
@@ -906,7 +906,7 @@ export function styleMapToStyleMapStateList(
906
}
907
908
const STATES_REGEXP =
909
- /([&|!^])|([()])|([a-z][a-z0-9-]+)|(:[a-z][a-z0-9-]+\([:a-z0-9-]+\)|:[a-z][a-z0-9-]+)|(\.[a-z][a-z0-9-]+)|(\[[^\]]+])/gi;
+ /([&|!^])|([()])|([a-z][a-z0-9-]+)|(:[a-z][a-z0-9-]+\([^)]+\)|:[a-z][a-z0-9-]+)|(\.[a-z][a-z0-9-]+)|(\[[^\]]+])/gi;
910
export const STATE_OPERATORS = {
911
NOT: '!',
912
AND: '&',
0 commit comments