- do not replace window and document for deno bundles (
5fd4bb08
)
-
create dedicated worker and deno bundles, and downgrade module to es2019 (fixes #426) (
02ea227a
) -
bump @twind/core peerDependency to latest (
a26657cf
)
- Updated dependencies [
8eb316c6
]:- @twind/[email protected]
- Updated dependencies [
0ba8cca0
,0ba8cca0
,0ba8cca0
]:- @twind/[email protected]
-
introduce new @twind/core package to prevent issue with existing code that imports from CDNs without a version (
4cab9d2f
) -
Updated dependencies [
4cab9d2f
,4cab9d2f
]:- @twind/[email protected]
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:
- Updated dependencies [
774e2bb4
,a3b1bcba
,0e2aa5c4
,9b5e3297
,0a63948e
,b2b7e40d
,bdc0a7a1
,f74163ba
]:
-
any variant with an ampersand (
&
) will be treated as selector and each underscore (_
) will be replace by a space (``) (811965f4
) -
Updated dependencies [
b212b52f
,782f93df
,fe88051d
,77954405
]:
- Updated dependencies [
08c66ee8
]:
- feat: add descendants selector using
_
eg&_span:underline
; can be combined with other selectors&_h1>span~a:underline
(cbd37a10
)
- chore: fix example (
f68b30db
)
-
fix: group/peer hocus named group regex (
8f1288a0
) -
Updated dependencies [
28cbaef5
,43d61076
,80ce410a
,39b45125
,2f8f69d2
,9fc5baec
,aaad7e44
,ae979d12
,fc9b0c27
,346efc4e
,8bbc2a42
,8dfd105b
]:
- Updated dependencies [
009594c6
]:
-
fix(short css): handle value like arbitrary values in tailwind (
e97dcc03
) -
Updated dependencies [
b56b7282
,a3191b5f
,b9da668c
,a3191b5f
]:
- Updated dependencies [
916e7fb9
]:
- Updated dependencies [
57405812
]:
- Updated dependencies [
39001d2a
]:
-
named groups (
group~{name}-{modifier}
) and peers (peer~{name}-{modifier}
) (2c823293
)<div class="group~project bg-white hover:bg-blue-500 ..."> <p class="text-gray-900 group~project-hover:text-white ...">New Project</p> <div class="group~create bg-gray-100 hover:bg-green-500 ..."> <p class="text-gray-500 group~create-hover:text-white ..."> Create a new project from a variety of starting templates. </p> </div> </div>
- use multiple selectors for group/peer hocus because browser support for
:is()
is not so good ATM (cdc9b7fe
)
-
merge multiple group and peer classes (
2c823293
)peer-disabled:peer-first-child:group-hover:group-focus:focus:hover:space-x-4
↓ ↓ ↓ ↓ ↓ ↓
.peer:first-child:disabled ~ .group:focus:hover .peer-disabled\\:peer-first-child\\:group-hover\\:group-focus\\:focus\\:hover\\:space-x-4:focus:hover > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse))); margin-right: calc(1rem * var(--tw-space-x-reverse)); }
-
Updated dependencies [
a15d2655
,b758c748
,e1d3433a
,2c823293
,a2a343cc
]:
-
fix: ensure sources are included in sourcemap (
bbbbd88e
)
-
short css: make the pattern less greedy so it can be used before preset-tailwind (
5c1934d9
) -
Updated dependencies [
bb288434
,063b002b
,966fcb93
,f1fe9a81
,2b91cf29
,49002cac
]:
- perf: optimize observe to only handle changes on element with class attribute (
88eeb077
)
-
revert: remove dom sheet (
6d50cf5f
)
- Updated dependencies [
1f578c9e
]:
- Updated dependencies [
d3728a92
]:
-
BREAKING(preset authors): removed
preset()
helper to simplify config merging — What needs to change? instead calling preset, return your preset (#244) -
Updated dependencies [
d45cdfd9
,6178fdc8
,01ac6b62
,599b903a
,30b374f6
,d9123489
,115a5b07
,a8a0bf49
,0614955f
,67f39048
]:- @twind/[email protected]
- Updated dependencies [
9bc26949
]:- @twind/[email protected]
- BREAKING: the match object passed to rules and variants is now a RegExpExecArray with one additional property (
dc778be0
)
- golf: short names within
context
; should not affect most users (#241)
-
presets: expose
rules
andvariants
as own entryPoint eg@twind/preset-tailwind/rules
(#241) -
Updated dependencies [
c595b348
,dc778be0
,2ba630a3
,f41e367f
,123fb7f8
]:- @twind/[email protected]
- BREAKING: a twind instance is now callable
tw('...')
instead oftw.inject('...')
(#239)
-
setup github actions for auto release (#239)
-
Updated dependencies [
56b9adef
,f618afd7
,bec4218d
,37164d82
,e284b0f4
]:- @twind/[email protected]
-
fix generated selector for peer-* variants (
cc3c4fee
) -
Updated dependencies [
7360f15a
,be5def30
]:- @twind/[email protected]
- Updated dependencies [
2a9f1685
,a7b25242
]:- @twind/[email protected]
-
fix selector generation (
a3d09cf4
) -
Updated dependencies [
184d96ff
,a3d09cf4
]:- @twind/[email protected]
- Updated dependencies [
d68ce341
,2c5792f9
]:- @twind/[email protected]
-
new
hocus
variant to combine:focus
and:hover
(3382dd0b
) -
Updated dependencies [
af822490
,bda8c19c
,230a57ba
]:- @twind/[email protected]
- Updated dependencies []:
- @twind/[email protected]
-
BREAKING: renamed umd bundles to global (
twind.global.js
) and there are plain IIFEs (79c63ef9
) -
Updated dependencies [
79c63ef9
]:- @twind/[email protected]
-
Initial publish of twind v1 preview (
179b9653
) -
Updated dependencies [
179b9653
]:- @twind/[email protected]