Releases
@twind/cdn@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
BREAKING: use
install
instead ofsetup
for cdn configuration to align with other integrations (d481948b
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-tailwind@1.0.0
@twind/intellisense@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
initial intellisense support (
2ac8e695
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/preset-autoprefix@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/preset-ext@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/preset-line-clamp@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/preset-tailwind@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
support arbitrary variants in
group:
andpeer:
(2ac8e695
) -
fix:
underline-offset-*
classes (9cff65de
)closes #389
-
ensure to re-use defined variants in peer and group classes (
c5294b03
) -
add
[hidden]
to preflight (f1c81c9f
) -
initial intellisense support (
2ac8e695
) -
add overflow rule tests (
e404e844
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/preset-tailwind-forms@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
only import used colors (
eeb8049a
) -
Generate both global styles and classes by default (
edc16da4
) -
fix rule regexp generation (
abb35f5c
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-tailwind@1.0.0
@twind/preset-typography@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
update to @tailwindcss/typography@0.5.7 (
089b8977
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
twind@1.0.0
Patch Changes
-
helpful error message during dev when no active twind instance is found (
fe891f9c
) -
big documentation update (
a63ca2cb
) -
allow for
cssom
anddom
to accept a selector string to find the server rendered stylesheet (e2c17a2e
) -
BREAKING: use
install
instead ofsetup
for cdn configuration to align with other integrations (d481948b
) -
handle hex encoded ampersand (
a61e0d1d
) -
warn about invalid classes and invalid css during development (
e6acbea2
)When run in development mode, which is determined by the export condition
development
, twind notifies about invalid classes and invalid css.Further reading:
In the the browser a
warning
event is emitted on thewindow
object and, in case there is no event listener or the event listener did not callevent.preventDefault()
, a warning is logged to the console.addEventListener('warning', (event) => { // prevent default console.warn(`[<code>] <message>: <detail>`) logging event.preventDefault() const warning = event.detail // { message: '...', code: 'TWIND_INVALID_CLASS', detail: '<className>'} // { message: '...', code: 'TWIND_INVALID_CSS', detail: '<css>'} console.warn(warning) })
In Node.js a warning is emitted using
process.emitWarning
.If there is no
warning
event listener, the warning is printed tostderr
.(node:56338) [TWIND_INVALID_CLASS] Warning: ...
Alternatively, you can use the
process.on('warning', ...)
to handle warnings.import process from 'node:process' process.on('warning', (warning) => { console.warn(warning.message) // Print the warning message console.warn(warning.code) // 'TWIND_INVALID_CLASS' | 'TWIND_INVALID_CSS' console.warn(warning.detail) // '<className>' | '<css>' })
-
initial intellisense support (
2ac8e695
) -
stringify in user config always wins (
0705e419
)
gatsby-plugin-twind@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/with-next@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/with-remix@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@twind/with-sveltekit@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,e2c17a2e
,d481948b
,a61e0d1d
,e6acbea2
,2ac8e695
,0705e419
]:- twind@1.0.0
@example/basic@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-tailwind@1.0.0
@example/playground@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,eeb8049a
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
,edc16da4
,abb35f5c
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-ext@1.0.0
- @twind/preset-line-clamp@1.0.0
- @twind/preset-tailwind@1.0.0
- @twind/preset-tailwind-forms@1.0.0
@example/using-tailwind-forms@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,eeb8049a
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
,edc16da4
,abb35f5c
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-tailwind@1.0.0
- @twind/preset-tailwind-forms@1.0.0
@example/using-twind-cdn@1.0.0
Patch Changes
- big documentation update (
a63ca2cb
)
@example/with-gatsby@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-tailwind@1.0.0
- gatsby-plugin-twind@1.0.0
@example/with-next@1.0.0
Patch Changes
- big documentation update (
a63ca2cb
)
@example/with-remix@0.0.1
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-tailwind@1.0.0
- @twind/with-remix@1.0.0
@example/with-sveltekit@1.0.0
Patch Changes
- big documentation update (
a63ca2cb
)
@sites/cdn.twind.style@1.0.0
Patch Changes
- create cdn.twind.style worker as proxy to jsdelivr (
a7ca73ec
)
@sites/twind.run@1.0.0
Patch Changes
- big documentation update (
a63ca2cb
)
@sites/twind.style@1.0.0
Patch Changes
-
big documentation update (
a63ca2cb
) -
Updated dependencies [
fe891f9c
,a63ca2cb
,089b8977
,2ac8e695
,e2c17a2e
,d481948b
,a61e0d1d
,9cff65de
,c5294b03
,e6acbea2
,f1c81c9f
,2ac8e695
,0705e419
,e404e844
]:- twind@1.0.0
- @twind/preset-autoprefix@1.0.0
- @twind/preset-ext@1.0.0
- @twind/preset-tailwind@1.0.0
- @twind/preset-typography@1.0.0
- @twind/with-sveltekit@1.0.0