Skip to content

Commit de17e86

Browse files
committed
release: @nativescript/tailwind 4.1.0
1 parent ea2c350 commit de17e86

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

‎CHANGELOG.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## 4.1.0 (2026-10-06)
2+
3+
### 🚀 Features
4+
5+
- Tailwind v4 parity with `@nativescript/core` 9.x ([#227](https://github.com/NativeScript/tailwind/pull/227)):
6+
- responsive and media variants (`sm:`–`2xl:`, `max-*:`, `portrait:`/`landscape:`, media-based `dark:`, arbitrary `[@media(...)]`) are rewritten into queries core evaluates instead of being dropped
7+
- `gap-*`, `max-w-*`/`max-h-*`, `whitespace-*`, `text-ellipsis`, `corner-shape`, and other core-supported properties are no longer stripped
8+
- `translate-*`/`scale-*` compose into `transform:`
9+
- logical spacing and border utilities (`ps-*`, `pe-*`, `ms-*`, `me-*`, `border-s/e`, `border-x/y`, `divide-*`) map to physical sides, flipping under `.ns-rtl` (core 9.0+)
10+
11+
### 🩹 Fixes
12+
13+
- `dark:` and other `:where()` variants no longer match every descendant of `.ns-dark` ([#227](https://github.com/NativeScript/tailwind/pull/227))
14+
- `space-*` and `divide-*` gaps sit between items ([#227](https://github.com/NativeScript/tailwind/pull/227))
15+
- rem values with a multi-digit integer part convert correctly (`12.5rem` → `200`) ([#227](https://github.com/NativeScript/tailwind/pull/227))
16+
17+
### ⚠️ Behavior changes
18+
19+
- Breakpoint, orientation, and media-based `dark:` variants now apply. Classes that were silently ignored before can change layouts.
20+
- `invisible` keeps the element's layout space (`visibility: hidden`), matching the web; use `collapse` to remove it from layout.
21+
22+
### ❤️ Thank You
23+
24+
- Alec Larson @aleclarson
25+
- Nathan Walker
26+
127
## 4.0.10 (2026-09-01)
228

329
### 🩹 Fixes

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nativescript/tailwind",
3-
"version": "4.0.10",
3+
"version": "4.1.0",
44
"description": "TailwindCSS for NativeScript",
55
"main": "src/index.js",
66
"files": [

0 commit comments

Comments
 (0)