@barocss/kit 0.0.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -4
- package/dist/index.cjs +8330 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +78 -20
- package/dist/index.js +1687 -1295
- package/dist/index.js.map +1 -1
- package/dist/theme/default.cjs +606 -0
- package/dist/theme/default.cjs.map +1 -0
- package/dist/theme/default.d.ts +7 -2
- package/dist/theme/default.js +20 -15
- package/dist/theme/default.js.map +1 -1
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -8,15 +8,17 @@
|
|
|
8
8
|
|
|
9
9
|
@barocss/kit is the core CSS engine that parses Tailwind CSS syntax and generates CSS. It provides the fundamental parsing, AST processing, and CSS generation capabilities used by BaroCSS runtimes.
|
|
10
10
|
|
|
11
|
+
**Browser support:** Chrome/Edge 85+, Safari/iOS 16.4+, Firefox 128+. The runtime needs CSS `@property`; composite utilities (shadows, rings, transforms, filters) may not render on older engines.
|
|
12
|
+
|
|
11
13
|
## ✨ Key Features
|
|
12
14
|
|
|
13
15
|
- **🚀 JIT Parsing** - Parse Tailwind syntax and generate CSS instantly
|
|
14
16
|
- **🔍 AST Processing** - Advanced Abstract Syntax Tree manipulation
|
|
15
17
|
- **⚡ Incremental Parsing** - Efficient parsing with caching
|
|
16
|
-
- **🎯 Tailwind
|
|
18
|
+
- **🎯 Tailwind-style syntax** - See the [versioned compatibility baseline](docs/tailwind-compatibility.md)
|
|
17
19
|
- **🌐 Universal** - Works in browsers, Node.js, and any JavaScript environment
|
|
18
|
-
- **🎨
|
|
19
|
-
- **📱 Responsive &
|
|
20
|
+
- **🎨 Utility presets** - Layout, spacing, colors, typography, and more
|
|
21
|
+
- **📱 Responsive & interactive variants** - See the measured examples below
|
|
20
22
|
- **🧠 Smart Caching** - Caching system for performance optimization
|
|
21
23
|
|
|
22
24
|
## 🚀 Quick Start
|
|
@@ -234,7 +236,7 @@ const stats = parser.getStats();
|
|
|
234
236
|
|
|
235
237
|
## 📱 Supported Utilities
|
|
236
238
|
|
|
237
|
-
BaroCSS supports
|
|
239
|
+
BaroCSS supports the utilities listed below. See the [compatibility baseline](docs/tailwind-compatibility.md) for measured examples.
|
|
238
240
|
|
|
239
241
|
### Layout
|
|
240
242
|
- `container`, `columns`, `break-after`, `break-before`
|